]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
localize date/time
[lyx.git] / src / ChangeLog
1 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2
3         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
4         formatted_time methods in support/lyxtime.
5
6 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7
8         * toc.[Ch]: new method getGuiName, which is used by the frontends 
9         to set the toc combo (fixes bug 1870). Make TOC string translatable.
10
11 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12
13         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
14         StableDocIterator const &)
15         * undo.C (recordUndo): use the above instead of cell.size() comparison
16         (fixes bug 1808; instructed by André).
17
18 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
19
20         * cursor_slice.h: 
21         * dociterator.h: Fix the assert when copying rows/cols in math
22
23 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
24
25         * BufferView_pimpl.C:
26         * LyXAction.C:
27         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
28
29         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
30         (findInset): new functions, refactored from goto Inset that return 
31         the position of a certain inset without setting the buffer's cursor
32         (by Jean-Marc); 
33         (gotoInset): rewrite to call findInset and then set the cursor
34         (by Jean-Marc).
35
36 2005-06-16  Angus Leeming  <leeming@lyx.org>
37
38         * lyxrc.C (output, read): wrap all input and output of paths with
39         calls to os::internal_path and os::external_path, respectively.
40         (output): wrap bind_file inside quotes.
41
42         * format.C (view): enable the viewer to use the '$$s' placeholder.
43
44 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
45
46         * LColor.[Ch] (getFromLaTeXName): new
47
48 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
49
50         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
51
52 2005-06-14  Angus Leeming  <leeming@lyx.org>
53
54         * lyx_main.C (init): ensure that the LyX binary dir is the first
55         element in the PATH on non-POSIX builds.
56
57 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
58
59         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
60
61 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
62
63         * rowpainter.C (paintInset, paintHebrewComposeChar)
64         (paintArabicComposeChar, paintChars): add a LyXFont argument.
65         (paintChars): use getFontSpan to reduce calls to getFont to a
66         minimum; use Paragraph::lookupChange instead of isXXXText.
67         (paintForeignMark): rename LyXFont argument.
68         (paintFromPos): pass a LyXFont object to the various paintXXX
69         methods.
70
71         * FontIterator.C (FontIterator, operator++): use
72         Paragraph::getFontSpan
73
74         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
75         version that returns the font span as a pair.
76
77 2005-06-09  Angus Leeming  <leeming@lyx.org>
78
79         * converter.C (convert): Don't forget "outfile = real_outfile" as
80         the final step in a conversion where the input and output file names
81         are the same. Otherwise, future conversion steps won't work...
82
83 2005-06-09  Angus Leeming  <leeming@lyx.org>
84
85         * lyxsocket.C: remove stub code as it isn't needed by
86         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
87
88 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
89
90         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
91         effectively disabled -x
92
93 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
94
95         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
96         when it actually makes sense.
97
98 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
99
100         * BufferView_pimpl.C: revert to showCursor in connection with
101         Lars's front-end stack
102
103 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
104
105         * text.C (redoParagraph): move cursor right after a bibitem
106         has been inserted.
107
108         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
109
110 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
111
112         * buffer_funcs.C (bufferErrors): fix computation of the end of an
113         error range.
114
115 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
116
117         * BufferView.[Ch] (update):
118         * BufferView_pimpl.[Ch] (update, metrics):
119         * dimension.h (operator==):
120         * lyxfunc.C (dispatch):
121         * metricsinfo.h (ViewMetricsInfo):
122         * rowpainter.C (paintText):
123         * lyxtext.h:
124         * text.C (redoParagraph):
125         * text3.C (dispatch): Make LyX only repaint current paragraph in
126         case of character insert --> speedup. Also fix cursor draw
127         artifacts
128
129 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
130
131         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
132         avoid a crash (bug 1891)
133
134 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
135
136         Fix bug 1892:
137
138         * text2.C (getStringToIndex): constify cur argument.
139
140         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
141         argument has been given
142         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
143         try to invoke LFUN_INSET_APPLY).
144
145         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
146         if no inset was created by doInsertInset
147         (doInsertInset): return true if an inset has been inserted.
148
149 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
150
151         * vspace.C (asGUIName): new method. A version of the space
152         suitable for showing on screen.
153
154 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
155
156         * MenuBackend.C:
157         * lyxrc.C: rename "ASCII" to "Plain Text"
158
159 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
160
161         * buffer_funcs.C (expandLabel): take a Buffer as argument;
162         translate the labelstring.
163         (setCounter): translate labelstring as needed.
164
165         * output_docbook.C (makeCommand): fix expandLabel invokation
166
167 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
168
169         * BufferView.C: fix dialog title
170
171 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
172
173         * lyx_main.C (priv_exec): fix logic error with help from Angus
174         * lyx_main.C (parse_execute): set is_gui = false and remove now
175         obsolete comment about a segfault
176
177 2005-05-18  Angus Leeming  <leeming@lyx.org>
178
179         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
180
181 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
182
183         * tabular.[hC]: added setCellInset to fix tabular paste.
184
185 2005-05-11  Lars Gullik Bjonnes  <larsbj@gullik.net>
186
187         * buffer.C (save): check if destination is writable before trying
188         to copy a file
189
190 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
191
192         * BufferView_pimpl.C (update): fix processEvents -caused update
193         recursion bug
194
195 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
196
197         * buffer_funcs.C (setCounter): fix test for numbering of
198         environments.
199
200         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
201         depth correctly; use optional argument when it exists
202
203         * lyxtextclass.C: remove unused MaxCounterTags enum
204         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
205         (max_toclevel, min_toclevel): new methods.
206
207         * MenuBackend.C (expandToc2): fix case where depth is smaller than
208         the smallest depth in toc.
209
210         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
211         layouts that should not appear in a table of contents.
212
213 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
214
215         * cursor.h (undispatched, noUpdate): add comments from André
216
217 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
218
219         * lfuns.h:
220         * LyXAction.C:
221         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
222
223 2005-05-07  André Pönitz  <poenitz@gmx.net>
224
225         * cursor.[Ch] (leaveInset): new function
226
227 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
228
229         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
230
231 2005-05-04  Angus Leeming  <leeming@lyx.org>
232
233         * lyxfunc.C (getStatus): disable the spell checker dialog if
234         none of USE_[AIP]SPELL are defined.
235
236 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
237
238         * tabular.C (setWidthOfCell): remove obsolete comment
239
240 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
241
242         * paragraph.C (bibitem):
243         * buffer_funcs.C (setCounter):
244         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
245
246 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
247
248         * text3.C (getStatus): immediately return after setOnOff
249
250         * rowpainter.C: fix drawing of appendix start
251
252 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
253
254         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
255         SwitchBetweenClasses and remove the unused return value.
256         Handle character styles, too
257
258 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
259
260         * factory.C (createInset): handle undefined character styles
261
262 2005-05-02  Angus Leeming  <leeming@lyx.org>
263
264         * buffer.C: protect the #include of utime.h with a preprocessor
265         guard.
266
267 2005-05-02  Angus Leeming  <leeming@lyx.org>
268
269         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
270         function so that auto-saving works, albeit in a blocking manner.
271
272         * Makefile.am: make compilation of the client sub directory, of
273         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
274         on conditionals set at configure time.
275
276         * SpellBase.[Ch]: no longer an abstract base class. Instead,
277         it can be compiled in its own right but has no-op functionality.
278
279         * aspell.C, pspell.C: remove preprocessor guards. The files should
280         be compiled only if the necessary functionality exists.
281
282         * lyxserver.C, lyxsocket.C: disable on Windows.
283
284 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
285
286         * text.C (leftMargin): Fix the parindent use bug (1764)
287         by dirty trick
288
289 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
290
291         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
292         argument.
293
294 2005-04-25  Angus Leeming  <leeming@lyx.org>
295
296         * Bidi.[Ch]:
297         * coordcache.[Ch]:
298         * ispell.C:
299         * lyxserver.C:
300         * mover.C:
301         * pch.h:
302         include <config.h> in .C files, not .h ones.
303         add licence blurb.
304         protect headers inside preprocessor guards.
305
306 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
307
308         * FuncStatus.h (StatusCodes): document
309
310 2005-04-21  André Pönitz  <poenitz@gmx.net>
311
312         * FuncStatus.h (enabled, onoff): document
313
314 2005-04-19  Angus Leeming  <leeming@lyx.org>
315
316         * BufferView_pimpl.C (cursorToggle): no longer test whether
317         any child processes have been reaped before calling
318         handleCompletedProcesses().
319
320 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
321
322         * text3.C (dispatch): fix, finally fix, the language problem in
323         new lyxtexts, without disabling on-the-fly font changes (Helge's
324         bug report)
325
326 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
327
328         * text3.C (dispatch): set cursor on double/triple click events
329         (bug 1811)
330
331 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
332
333         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
334         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
335
336         * rowpainter.C (paintFirst): simplify the code a little bit. In
337         particular, remove the test for secnumdepth.
338         * text.C (setHeightOfRow): only allocate space for chapter number
339         when updateCounters provided an actual label, instead of looking
340         at secnumdepth directly.
341
342         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
343
344         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
345         paragraphs when secnumdepth is large enough or, for environments,
346         when they are not the first in a sequence.
347
348 2005-04-17  Angus Leeming  <leeming@lyx.org>
349
350         * buffer.C (makeLaTeXFile): replace code to manipulate a path
351         containing space and '~' characters with a call to latex_path().
352
353 2005-04-17  Angus Leeming  <leeming@lyx.org>
354
355         * converter.C (convert): protect all args of convertDefault.sh
356         script with quotes.
357
358 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
359
360         * text3.C (dispatch): change the layout to "Caption" after inserting
361         a float.
362
363 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
364
365         * text3.C (dispatch): fix language problem in newly created
366         textinsets (and main text) in non-english docs
367
368 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
369
370         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
371         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
372         * text3.C (getStatus): disable LFUN_INSET_MODIFY
373
374 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
375
376         * lyxtext.h:
377         * text.C (metrics):
378         * text2.C (getFont):
379         * rowpainter.C (getFont): Fix metrics bug introduced by inset
380         fonts fix
381
382 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
383
384         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
385         output of \item arguments without trailing text.
386
387 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
388
389         * FontIterator.C (operator*): avoid a copy of the font.
390
391 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
392
393         * rowpainter.C (getFont): fix language bug from previous fix
394
395 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
396
397         * rowpainter.C (RowPainter, getFont): fix font inside inset
398         (bugs 1766, 1809)
399
400 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
401
402         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
403         preventing inserted font, deco, delim insets jumping to start of
404         surrounding inset.
405
406 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
407
408         * lyxfunc.C (dispatch): translate message before sending it to the
409         minibuffer.
410
411 2005-03-29  Angus Leeming  <leeming@lyx.org>
412
413         * lyx_main.C (priv_exec): call os::internal_path on each file passed
414         to LyX on the command line.
415
416 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
417
418         * vc-backend.C: use QuoteName to protect file names wherever
419         necessary.
420
421 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
422
423         * buffer.[Ch]:
424         * BranchList.h: fix bugs 1844,1845: document settings don't
425         stick
426
427 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
428
429         * lyxrc.C (setDefaults, read, output, getDescription): add support
430         for tex_allows_spaces.
431
432         * exporter.C (Export): allows files in directory containing spaces
433         if tex_allows_spaces is true.
434
435         * buffer.C (makeLaTeXFile): if the document path contains spaces,
436         output it in double quotes.
437
438 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
439
440         * rowpainter.C: use default text height for drawing change tracker
441         strikeout lines.
442
443 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
444
445         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
446
447 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
448
449         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
450         directory is missing.
451
452 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
453
454         * text2.C: fixed the fix, extended to other case.
455
456 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
457
458         * text2.C: fix for cursor up/down stuck in math [bug 1792]
459
460 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
461
462         * text2.C (cursorUp): get rid of a crash
463         * text.C (x2pos): add an assert
464
465 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
466
467         * lyxfunc.C (getStatus): fix warning when assertions are disabled
468
469         * text3.C:
470         * lyxfunc.C:
471         * dociterator.C: include <boost/current_function.hpp>, which is
472         needed when assertions are disabled.
473
474 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
475
476         * text2.C: fix for stuck cursor when traversing two
477         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
478
479 2005-02-25  Andreas Vox  <avox@arcor.de>
480
481         * output_docbook.C (makeParagraph): suppress trailing newline
482         after a run of paragraphs
483
484 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
485
486         * paragraph.C: fix for confused change tracker when pasting
487         text that begins with a lineseparator. [bug 1827]
488         (setChange(0, Change::INSERTED);)
489
490         * paragraph_funcs.C: fix for lost changes on triple-paste
491         in change tracking mode [bug 1827] (par.setChange()).
492
493 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
494
495         * text2.C (updateCounters, setCounter, expandLabel): move to
496         buffer_funcs.
497
498         * buffer_funcs.C (updateCounters): turn into a free standing
499         function and add a buffer parameter. Remove dead code for tracking
500         labelstring change.
501         (setCounter): change into a free-standing function which gets a
502         dociterator as argument. Use this iterator to fix captions in a
503         simple way. When no float is found above the caption, use the
504         labelstring of the caption layout as default.
505
506         * text.C (breakParagraph, backspace):
507         * text2.C (init, setLayout, changeDepth):
508         * text3.C (dispatch):
509         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
510         updateCounters.
511
512         * dociterator.C (forwardPar): make it much faster by calling
513         forwardPos() only when really necessary.
514
515         * output_docbook.C (makeCommand): adapt to expandLabel move.
516
517         * cursor.C: remove unused variable
518
519 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
520
521         * paragraph_funcs.C: fix crash when pasting insets in change
522         tracking mode [bug 1277] (honour change type in moveItem).
523
524 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
525
526         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
527
528 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
529
530         * BufferView.C (setCursor): change to use a DocIterator.
531         (gotoLabel): use BufferView::setCursor (other part of bug 781).
532         (putSelectionAt): adapt to BufferView::setCursor change.
533
534         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
535         moved here from LyXText and rewritten to use proper cursor
536         methods. Fixes bug 1787, 616 and 835.
537
538         * BufferView_pimpl.C (restorePosition): set the cursor correctly
539         when inside an inset (part of bug 781).
540         (dispatch): adapt to change of BufferView::setCursor.
541         (getStatus, dispatch): handle LFUN_GOTOERROR,
542         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
543
544         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
545         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
546         * text3.C (gotoNextInset, gotoInset): removed.
547
548 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
549
550         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
551
552 2005-02-15  Angus Leeming  <leeming@lyx.org>
553
554         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
555         can be used meaningfully in a comparison.
556
557 2005-02-13  André Pönitz  <poenitz@gmx.net>
558
559         * bufferview_funcs.C (coordOffset): improve cursor drawing
560
561 2005-02-13  André Pönitz  <poenitz@gmx.net>
562
563         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
564         * Cursor.C (dispatch): use fixIfBroken
565         * lyxfunc.C (getStatus): use fixIfBroken
566
567 2005-02-15  Angus Leeming  <leeming@lyx.org>
568
569         * lyx_main.C (error_handler):
570         * lyxfunc.C:
571         * lyxrc.C (setDefaults):
572         s/GetEnv/getEnv/.
573         #include "environment.h".
574
575         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
576
577 2005-02-15  Angus Leeming  <leeming@lyx.org>
578
579         * lyxserver.C (startPipe): squash MSVC warning "local variable
580         'fd' used without having been initialized".
581
582 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
583
584         * BufferView_pimpl.C: revert accidental commit.
585
586 2005-02-14  André Pönitz  <poenitz@gmx.net>
587
588         * dociterator.[Ch]: new member forwardPosNoDescent(),
589         which doesn't enter nested insets.
590         * text2.C (setFont): use forwardPosNoDescent() instead
591         of ForwardPos() (fixes crash on font change).
592
593 2005-02-13  Angus Leeming  <leeming@lyx.org>
594
595         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
596         only if lyxrc.path_prefix is not empty.
597
598 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
599
600         * bufferparams.C (readGraphicsDriver): prevent crash
601
602 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
603
604         * text2.C (setCounter): check for inInset() == 0
605
606 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
607
608         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
609         but use update() to get correct screen display; use convert
610         instead of istringstream.
611         (getStatus): handle LFUN_GOTO_PARAGRAPH
612
613         * lyxfunc.C (dispatch, getStatus): do not handle
614         LFUN_GOTO_PARAGRAPH here.
615
616 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
617
618         * text3.C (dispatch): size() -> depth()
619
620         * text2.C: remove some debug output
621
622         * paragraph.C: ws changes only
623
624         * lyxfunc.C (getStatus): size() -> depth()
625
626         * dociterator.h (clear, push_back, pop_back, internalData,
627         operator[], resize, empty): new functions
628         Make StableDocIterator and operator== be friends. Don't inherit
629         from std::vector use a privat class variable slices_ instead.
630         Modify to fit.
631
632         * dociterator.C: update because of not inheriting from std::vector
633         anymore. Call explictly to slices_ instead. Use depth() instead of
634         size() and top() instead of back()
635
636         * cursor.C: chagne size() -> depth and back() -> top(). Also
637         remove some direct operator[](i) calls in favour of foo[i]
638         (getFont): remove some dead code
639
640         * bufferview_funcs.C (coordOffset): size() -> depth()
641
642         * buffer.C: ws changes only
643
644         * CutAndPaste.C (eraseSelection): back() -> top()
645
646         * BufferView_pimpl.C (selectionRequested): back() -> top()
647
648         * BufferView.C (setCursor): size() -> depth()
649
650 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
651
652         * text3.C (cursorPrevious): return true if depm changed something
653         (cursorNext): ditto
654         (dispatch): rename sl to oldTopSlice, remove moving use the new
655         NoUpdate func attrib instead. Make sure that needsUpdate is set
656         for function that have NoUpdate, but where depm might have changed
657         the buffer anyway.
658
659         * text2.C (cursorLeft): make us return true if depm changed
660         something
661         (cursorRight): ditto
662         (cursorUpParagraph): ditto
663         (curosrDownParagraph): ditto
664         (cursorUp, cursorDown): ditto, make sure to read comments in code
665         (deleteEmptyParagraphMechanism): remove an assert, also return
666         true if just a single char was deleted.
667
668         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
669         cursor that we modify, to avoid modifying an active cursor before
670         we call setCursor. This allows depm to run. Also return true if
671         depm deleted something.
672
673         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
674         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
675         cursorDownParagraph, cursorPrevious and cursorNext, return true if
676         something was changed in the buffer because of them (ie. depm run)
677
678         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
679         debug messages. Make update by default be false. Make sure that
680         the result of update is retained throught several calls down to
681         dispatch.
682
683         * LyXAction.h: add a new func_attrib: NoUpdate
684
685         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
686         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
687         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
688         and LFUN_WORDLEFT
689         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
690
691 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
692
693         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
694         bv_->owner(), bv_->buffer() by direct references to the private
695         members.
696         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
697         (getStatus): isSavedPosition() is in BufferView::Pimpl.
698         (fitCursor): center() is in BufferView::Pimpl.
699         (getStatus, trackChanges, dispatch): no need for a temporary buf
700         variable
701         (fitCursor, workAreaDispatch): use workarea().workheight()
702
703 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
704
705         * CutAndPaste.C (pasteSelectionHelper): fix a crash
706
707 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
708
709         * buffer.C: format up to 241.
710         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
711         break if pasting into ERT
712         * lyxfunc.C (getStatus): suppress mathpanel and
713         LFUN_DIALOG_SHOW_NEW_INSET in ERT
714
715 2005-02-01  Angus Leeming  <leeming@lyx.org>
716
717         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
718
719 2005-02-01  Angus Leeming  <leeming@lyx.org>
720
721         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
722         calling fs::is_directory().
723
724 2005-01-31  Angus Leeming  <leeming@lyx.org>
725
726         * lyx_main.C (priv_exec): specify explicitly the relative location
727         of the top level build directory when run in-place.
728
729 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
730
731         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
732         LyXText containing the cursor, not the top-level one.
733
734         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
735         true.
736         (insertStringAsLines): rename par to pit; use temporary variable
737         par to hold a Paragraph; do not store par.layout() in a variable,
738         since the pointer may die when breaking paragraphs; pass pars to
739         breakParagraph() instead of Buffer::paragraphs().
740
741 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
742
743         * lyxlex_pimpl.h: #include <fstream>.
744
745         * BufferView.[Ch] (getLyXText): add a const version.
746
747         * BufferView_pimpl.C: add debug aids.
748
749         * RowList_fwd.h:
750         * buffer.h:
751         * lyxrow.h:
752         * paragraph_funcs.h: add commentary explaining what the class does.
753
754
755         * coordcache.[Ch]: add lots of commentary.
756         (startUpdating, doneUpdating): debug aids.
757         (arrays, insets, parPos, getParPos): accessors to private data.
758
759         * cursor_slice.[Ch] (text): add a const version.
760         * dociterator.[Ch] (text, innerText): add const versions.
761
762         * lyxtext.h (breakParagraph): change the keep_layout arg to a
763         bool.
764
765         * paragraph.C (getRow, pos2ros): add asserts.
766
767         * paragraph.h: add commentary. Lots of.
768
769         * paragraph.[Ch] (metrucs, draw): removed.
770
771         * cursor.C:
772         * rowpainter.[Ch]: const-correct changes.
773
774         * text.C: various obvious clean-ups. Removal of ancient cruft.
775         Bug fixes, even.
776
777 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
778
779         * vc-backend.C (find_file): rewrite to use boost.filesystem
780         (scanMaster): ditto
781
782         * main.C (main): set default name check for boost.filesystem to
783         no check
784
785         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
786         (open): ditto
787         (doImport): ditto
788         (actOnUpdatedPrefs): ditto
789
790         * lyx_main.C (init): rewrite to use boost.filesystem
791         (queryUserLyXDir): ditto
792
793         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
794         (getContentsOfAsciiFile): ditto
795
796         * lastfiles.C (readFile): rewrite to use boost.filesystem
797
798         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
799
800         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
801         (loadLyXFile): ditto
802
803         * buffer.C (Buffer): adjust for destroydir
804         (getLogName): rewrite to use boost.filesystem
805         (setFileName): ditto
806         (save): use fs::copy_file (from fs_extras)
807
808         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
809
810         * LaTeX.C (run): rewrite to use boost.filesystem
811         (scanAuxFiles): ditto
812         (handleFoundFile): ditto
813
814 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
815
816         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
817
818         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
819
820 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
821
822         * lyxlayout.[Ch]: change some vars from float to double
823
824         * buffer.C (readFile): make a local var const
825
826         * Several files: use convert<> instead of atoi,strToXXX and friends
827
828 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
829
830         * LaTeXFeatures.[Ch]: Add a static list packages_ that
831         holds the contents of packages.lst. New functions getAvailable
832         and isAvailable to parse and check that list, resp.
833
834         * LyXAction.C:
835         * lfuns.h:
836         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
837
838         * bufferparams.[Ch]: new param output_changes.
839
840         * Buffer.C: increase file format to 240.
841         Use output_changes and isVailable.
842
843         * changes.[Ch]:
844         * paragraph.C:
845         * paragraph_pimpl.C: Use output_changes and isVailable.
846
847 2005-01-23  Angus Leeming  <leeming@lyx.org>
848
849         * output_latex.C: #include "insetbibitem.h", rather than
850         forward declare function bibitemWidest.
851
852 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
853
854         * lyx_main.C (init): make it compile on the Mac.
855
856 2005-01-20  Angus Leeming  <leeming@lyx.org>
857
858         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
859         (setLyXMisc): (char string literal) != (char string literal) is
860         performing a comparison on the addresses. Convert one operand
861         explicitly to string to guarantee expected behaviour.
862         From MSVC warning.
863
864 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
865
866         * buffer.C:
867         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
868
869         * output_plaintext.C: remove unneeded #include gzstream.h.
870
871 2005-01-20  Angus Leeming  <leeming@lyx.org>
872
873         * SpellBase.h: rename some of the elements of the Result enum.
874
875         * aspell_local.h:
876         * ispell.h:
877         * pspell.h:
878         * aspell.C (check):
879         * ispell.C (check):
880         * pspell.C (check): ditto
881
882 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
883
884         * buffer.C: add #include <fstream>.
885
886         * lyx_main.C (init): Compile fix.
887
888         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
889
890 2005-01-20  Angus Leeming  <leeming@lyx.org>
891
892         * mover.h: change commentary to reflect the changed meaning of
893         the $$s placeholder.
894
895 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
896
897         * output_linuxdoc.C (linuxdocParagraphs): silence warning
898
899         * lyxfind.C (MatchString::operator()): remove bogus semicolon
900
901 2005-01-20  Angus Leeming  <leeming@lyx.org>
902
903         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
904         printing diagnostic data by not dereferecing an iterator past the
905         end.
906
907 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
908
909         * buffer.C (readHeader): use "&&" rather than "and".
910
911         * lyxserver.h (inPipeName, outPipeName): make these const.
912
913 2005-01-19  Angus Leeming  <leeming@lyx.org>
914
915         * lyx_main.C (error_handler, init): protect SIGHUP with
916         #ifdef SIGHUP guards.
917
918 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
919
920         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
921
922 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
923
924         * text.C (setHeightOfRow): add a margin at the top and bottom of
925         the document (bug 1761)
926
927 2005-01-17  Angus Leeming  <leeming@lyx.org>
928
929         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
930         with "python ". Workaround for a brain-dead Windows.
931
932 2005-01-16  Angus Leeming  <leeming@lyx.org>
933
934         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
935         for MacOSX and Windows to use prependEnvPath.
936         Strip out the hard-coded block to add elements to the PATH for
937         MacOSX and replace it with a call to prependEnvPath using the
938         contents of LyXRC::path_prefix.
939         (queryUserLyXDir): strip out the code to run reconfigure, instead
940         returning a boolean indicating the necessity to do so.
941         (reconfigureUserLyXDir): contains the code to reconfigure the
942         user support directory. Is now called after the various LyXRC data
943         files have been read.
944
945         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
946
947 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
948
949         * converter.[Ch] (convert): take a new parameter try_default. Use
950         a default converter (imagemagick) if try_default is true.
951
952 2005-01-13  Angus Leeming  <leeming@lyx.org>
953
954         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
955         os::cygwin_path_fix.
956         (write): output LyXRC::cygwin_path_fix as necessary.
957
958 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
959
960         * lyxrc.h:
961         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
962
963 2005-01-12  Angus Leeming  <leeming@lyx.org>
964
965         * lyx_main.C (init): set the PATH variable to include the
966         directory containing the LyX binary when running on Mac or Windows.
967
968 2005-01-12  Angus Leeming  <leeming@lyx.org>
969
970         * lyx_main.C (init): remove cruft that purports to set the locale
971         dir. It doesn't and is not needed anyway.
972
973 2005-01-10  Angus Leeming  <leeming@lyx.org>
974
975         * Makefile.am: remove the lyx_main.C special casing.
976
977         * BufferView_pimpl.C:
978         * bufferlist.C:
979         * exporter.C:
980         * lyx_cb.C:
981         * lyx_main.C:
982         * lyxfunc.C:
983         * messages.C: use support/package.h to provide the paths to the
984         various directories used by LyX.
985
986 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
987
988         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
989         layout if pasting into an empty paragraph)
990
991 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
992
993         * tex-accent.C: add <string>
994
995 2005-01-06  José Matos  <jamatos@lyx.org>
996
997         * ParagraphParameters.C (write): put every parameter in its own line.
998         * paragraph.C (write): reduce number of consecutive empty lines exported.
999         * buffer.C (LYX_FORMAT): increase file format to 239.
1000
1001 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1002
1003         * everywhere: change support/tostr.h -> support/convert.h
1004
1005         * tabular.C: make all write_attributes templates, tostr -> convert
1006
1007         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1008         (emptyTag): and -> &&, and fix type for ret from getChar
1009         (getFirstWord): fix type for ret from getChar
1010         (onlyText): and -> &&
1011         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1012         getChar
1013
1014         * toc.C (goTo, action):
1015         * text3.C (dispatch):
1016         * text.C (currentState):
1017         * tex-accent.C (DoAccent):
1018         * sgml.C:
1019         * lyxrc.C:
1020         * lyxfunc.C (menuNew):
1021         * lyxfinc.C (replace):
1022         * counters.C (laberItem):
1023         * bufferview_funcs.C (font2string):
1024         * bufferparams.C (writeFile):
1025         * buffer.C (readFile):
1026         * Spacing.C (set):
1027         * MenuBackend.C: tostr -> convert
1028
1029         * LaTeX.C (runMessage): fix format
1030         (scanAuxFiles): tostr -> convert
1031
1032         * BufferView_pimpl.C (savePosition): fix format
1033         (restorePosition): ditto
1034         (dispatch): ditto
1035
1036 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1037
1038         * Spacing.[Ch]: New method getValueAsString().
1039
1040         * Spacing.[Ch]:
1041         * bufferparams.C:
1042         * ParagraphParameters.C:
1043         * lyxlayout.C:
1044         * text.C:
1045         * text3.C: store/read spacing value as string.
1046
1047         * rowpainter.C: change float value (spacing_val) to double.
1048
1049         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1050         broken custom document spacing).
1051
1052 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1053
1054         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1055         namespace, also more use of temp references and const
1056
1057         * cursor.[Ch] (getStatus): move to lyxfunc.C
1058
1059         * bufferparams.C: reformat slightly
1060
1061         * bufferview_funcs.C (font2string): constify arg
1062
1063         * changes.C:
1064         * converter.C:
1065         * counters.C:
1066         * bufferlist.C:
1067         * buffer_funcs.C: (many funcs): constify arg on function
1068         definitions, also make more local vars const, also add ASSERTS on
1069         pointer args.
1070
1071         * buffer.C (LYX_FORMAT): put const in correct place
1072         (many funcs): constify arg on function definitions, also make
1073         more local vars const
1074
1075         * aspell_local.h: remove "struct" from typdef setup
1076
1077         * aspell.C (check): make word_ok const
1078         (nextMiss): simplify slightly
1079         (error): ditto
1080
1081 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1082
1083         * lyxrc.[Ch]: store all float values as strings.
1084         use int (not float) for lyxrc.dpi.
1085
1086 2005-01-04  Angus Leeming  <leeming@lyx.org>
1087
1088         * lyx_cb.C (Reconfigure):
1089         * lyx_main.C (queryUserLyXDir):
1090         to run the <system_lyxdir>/configure correctly on Windows, prefix
1091         the path to the script with "sh " when generating the string that
1092         is passed to system().
1093
1094 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1095
1096         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1097
1098 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1099
1100         * lyxlength.C (asLatexString): get rid of setprecision
1101
1102 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1103
1104         * text2.C (setLayout): remove unused variable endpit.
1105         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1106
1107         * paragraph.C (onlyText): remove unused variable style.
1108
1109         * cursor.C (bruteFind): remove unused variables beg and end.
1110
1111         * Makefile.am (dist_noinset_DATA): not needed anymore
1112
1113         * cheaders/*: remove.
1114
1115 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1116
1117         * text3.C: fix LFUN_MATH_MODE.
1118
1119 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1120
1121         * buffer_funcs.C (countWords): new function. Counts words between
1122         two iterators.
1123
1124         * BufferView_pimpl.C (getStatus, dispatch): handle
1125         LFUN_WORDS_COUNT.
1126
1127         * LyXAction.C (init):
1128         * lfuns.h: add LFUN_WORDS_COUNT.
1129
1130 2004-12-19  Angus Leeming  <leeming@lyx.org>
1131
1132         * buffer.C (save): s/slashify_path/internal_path/.
1133
1134 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1135
1136         * lyxfind.C (findChange): do not search for end of pars, because
1137         the change tracker cannot handle this (fixes bug 1719).
1138
1139 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1140
1141         * paragraph.[Ch] (autoBreakRows): remove
1142
1143         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1144
1145         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1146         avoid using the paragraph one
1147
1148         * text2.C (LyXText, insertStringAsLines): adjust
1149
1150 2004-12-16  Angus Leeming  <leeming@lyx.org>
1151
1152         * bufferlist.C:
1153         * lyx_main.C:
1154         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1155
1156 2004-12-14  Angus Leeming  <leeming@lyx.org>
1157
1158         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1159
1160         * bufferlist.C (emergencyWrite):
1161         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1162         GetEnvPath("HOME").
1163
1164 2004-12-14  Angus Leeming  <leeming@lyx.org>
1165
1166         * main.C: (main): no longer pass pointers to os::init.
1167
1168 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1169
1170         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1171         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1172
1173 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1174
1175         * lyxfunc.C:
1176         * text3.C: remove selection_possible global flag
1177
1178 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1179
1180         * text2.C (getSelectionSpan): remove
1181         (changeDepth, changeDepthAllowed): adjust
1182
1183 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1184
1185         * Makefile.am (BOOST_LIBS): use boost variables
1186
1187 2004-12-03  José Matos  <jamatos@lyx.org>
1188
1189         * buffer.C: format up to 238.
1190
1191 2004-12-03  José Matos  <jamatos@lyx.org>
1192
1193         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1194
1195 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
1196
1197         * cursor.C (goUpDown): remove call to idxUpDown2
1198
1199 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1200
1201         * tabular.[Ch]: use size_t-like types for cell, row and column
1202         indices
1203
1204 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1205
1206         * lyxfunc.C (getStatus): do not lose previous information when
1207         calling BufferView::getStatus; do not set a default "Command
1208         disabled" message at the beginning, but just before returning.
1209
1210 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1211
1212         * cursor.h (getStatus): add better comment from src/cursor.C
1213
1214 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1215
1216         * text3.C (getStatus): return false when the lfun is not handled
1217
1218 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1219
1220         * broken_headers.h: remove
1221
1222         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1223
1224 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1225
1226         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1227         offset_ref accessors
1228
1229         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1230         top_y_, merge fitcursor with update
1231         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1232         coord scheme
1233         (metrics): introduce
1234         (workAreaDispatch): adapt to new coord scheme
1235         (redoCurrentBuffer): remove
1236
1237         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1238
1239         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1240         CurStatus enum.
1241
1242         * coordcache.[Ch]: add paragraph cache and helpers
1243
1244         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1245         adjust everywhere
1246
1247         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1248         (targetX, setTargetX): introduce
1249
1250         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1251         baseline -> ascent, as the rest of lyx
1252
1253         * lyxtext.h: remove redoParagraphs, updateParPositions,
1254         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1255         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1256         have ascent/descent (ascent is ascent of first par)
1257
1258         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1259         step of BufferView
1260
1261         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1262
1263         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1264
1265         * pariterator.C: fix infinite loop introduced in par->pit renaming
1266
1267         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1268         in insets and LyXText, draw two off-screen paragraphs using
1269         NullPainter, and adapt to new coord scheme
1270
1271         * text.C:
1272         * text2.C:
1273         * text3.C: adapt lfun handlers to the new coord scheme, which
1274         means: there's only guaranteed coord information for onscreen pars
1275         plus one above and one below. This implies that one can do search
1276         from y coordinates in the range [-1,workHeight]
1277
1278 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1279
1280         * rename a lot of InsetOld to InsetBase
1281
1282 2004-11-25  Angus Leeming  <leeming@lyx.org>
1283
1284         * BufferView_pimpl.C:
1285         * lyx_cb.C:
1286         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1287
1288 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1289
1290         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1291         call BufferView::getStatus if LCursor::getStatus did nothing
1292         (setStatusMessage, getStatusMessage): removed.
1293
1294         * FuncStatus.C (message): new methods. Used to provide an error
1295         message indicating why a command is disabled.
1296         (clear, |=, FuncStatus): update for message.
1297
1298 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1299
1300         * lyxfunc.C (dispatch): always call sendDispatchMessage
1301
1302 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1303
1304         * BufferView.C:
1305         * BufferView_pimpl.C:
1306         * CutAndPaste.C:
1307         * FontIterator.C:
1308         * buffer.C:
1309         * cursor.C:
1310         * cursor_slice.[Ch]:
1311         * dociterator.[Ch]:
1312         * lyxfind.C:
1313         * paragraph_funcs.C:
1314         * pariterator.C:
1315         * rowpainter.C:
1316         * text.C:
1317         * text2.C:
1318         * text3.C:
1319         * undo.C: par->pit renaming
1320
1321 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1322
1323         * tabular.C (cellstruct): use initialization, store a shared_ptr
1324         to insettext instead of the insettext directly, adjust to fit.
1325         (operator=):  new function
1326         (swap): new function
1327         (rowstruct): use initialization
1328         (columnstruct): use initialization
1329         (ltType): use initialization
1330
1331
1332         * lyxlength.h (swap): new function
1333
1334         * LColor.[Ch] (operator=): use the common semantics
1335
1336 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1337
1338         * lyxfind.C (findNextChange): update the bufferview after setting
1339         the selection.
1340
1341 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1342
1343         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1344         number of InsetOptArgs has already been inserted.
1345
1346         * output_latex.C (latexOptArgInsets): new method. This outputs all
1347         the optarg insets, up to the limit defined in the layout file.
1348         (optArgInset): removed
1349         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1350
1351 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1352
1353         * paragraph.C (isLetter): remove special spellchecker-related
1354         code; return true also for digits
1355         (isWord, isKomma): remove
1356
1357         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1358         * lyxfind.C (MatchString()): use isLetter instead of isWord
1359
1360 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1361
1362         * pariterator.h (operatir=): comment out un-implemented member
1363         function.
1364
1365         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1366         static cast.
1367
1368 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1369
1370         * lyxfont.h: include LColor.h to satisfy concept checks.
1371
1372 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1373
1374         * pariterator.h: add typdefs for value_type, difference_type,
1375         pointer and reference to satisfy concept checks. Also add default
1376         constructor for same reason.
1377
1378         * pariterator.C (operator++): add post-increment operator to
1379         satisfy concept checks.
1380
1381         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1382         checks.
1383
1384         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1385
1386         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1387         checks. Also rename base_type to BaseType to follow naming
1388         standard better.
1389
1390         * FloatList.h: include Floating.h to satisfy concept checks.
1391
1392 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1393
1394         * lyxfunc.C (getStatus): when the origin of the request is menu or
1395         toolbar, and the LyXView does not have focus, do as if there was
1396         no buffer (bug 1720)
1397
1398         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1399         FuncRequest to individual entries of LFUN_SEQUENCE
1400
1401 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1402
1403         * output_latex.C (TeXOnePar): override runparams.moving_arg
1404         according to the needprotect value of the current paragraph (bug
1405         1739)
1406
1407         * paragraph.C (simpleTeXOnePar): no need to override
1408         runparams.moving_args here
1409
1410 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1411
1412         * vspace.C: fix off-by-one-error, related to fix #1682
1413
1414 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1415
1416         * lengthcommon.C: a more general fix for bug 1682
1417
1418 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1419
1420         * text.C (backspace): fix crash
1421
1422 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1423
1424         * format.[Ch] (getFormatFromFile): new method
1425         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1426
1427 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1428
1429         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1430
1431 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1432
1433         * lyxfunc.C (dispatch): remove the verbose argument
1434         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1435         instead
1436
1437         * kbmap.C (defkey): set the origin of func to KEYBOARD
1438
1439         * MenuBackend.C (MenuItem):
1440         * ToolbarBackend.C (add): set the origin of func to UI
1441
1442         * funcrequest.[Ch]: add origin member, which indicates which part
1443         of LyX requests an action
1444
1445 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1446
1447         * converter.C (move): don't lie in the error message
1448         * converter.h (isReachable, move): document
1449
1450 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1451
1452         * buffer.C: remove unused using lyx::support::atoi
1453         * paragraph_funcs.C: ditto
1454
1455 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1456
1457         * bufferlist.C (exists): use bind and equal_to instead of
1458         compare_memfun
1459         (getBuffer): ditto
1460         * lyxtextclasslist.C (NumberOfClass): ditto
1461
1462         * cursor.C (insert): use for_each instead of explicit for loop
1463
1464         * bufferlist.C (getFileNames): use std::transform and
1465         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1466
1467         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1468         for loop
1469
1470         * buffer.C (changeLanguage): use for_each instead of explicit for
1471         loop
1472         (hasParWithID): implement using getParFromID
1473
1474         * LaTeXFeatures.C: ws change only
1475
1476         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1477         to cleanup a bit.
1478
1479         * BufferView_pimpl.C (trackChanges): use for_each instead of
1480         expilicit for loop
1481
1482 2004-11-04  André Pönitz  <poenitz@gmx.net>
1483
1484         * undo.h:
1485         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1486
1487         * dociterator.C (asDocIterator): use hard assert again.
1488
1489 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1490
1491         * lyxlength.C (asLatexString): rewrite so that it does not use
1492         snprintf anymore
1493
1494 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1495
1496         * text3.C (specialChar, dispatch): make sure cursor moves to the
1497         right after inserting an inset
1498
1499 2004-11-02  José Matos  <jamatos@lyx.org>
1500
1501         * output_docbook.C (docbook):
1502         * paragraph.C (getID):
1503         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1504         garantee that the output is always legal.
1505
1506         * tabular.C (docbook):
1507         * outputprams.[Ch]: remove mixed contents.
1508
1509 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1510
1511         * text2.C (setCounter): prevent endless loop
1512
1513 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1514
1515         * exporter.C (copyFile): use the mover instead of support::copy()
1516         * exporter.C (Export): pass format and latex name to copyFile()
1517         * exporter.h (addExternalFile): document
1518         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1519
1520 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1521
1522         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1523
1524 2004-10-30  José Matos  <jamatos@lyx.org>
1525
1526         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1527         text and no inset or font change. This allows to use CDATA
1528         sections just for the whole paragraph.
1529
1530 2004-10-30  José Matos  <jamatos@lyx.org>
1531
1532         * paragraph.C (getFirstWord): remove unused variable.
1533
1534 2004-10-30  José Matos  <jamatos@lyx.org>
1535
1536         * paragraph.C (getFirstWord): the content should always be escaped
1537         there.
1538         (simpleDocBookOnePar):
1539         * output_docbook.C (makeEnvironment): replace reference to CDATA
1540         to style pass_thru.
1541
1542 2004-10-30  José Matos  <jamatos@lyx.org>
1543
1544         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1545
1546 2004-10-30  José Matos  <jamatos@lyx.org>
1547
1548         * output_docbook.C (makeParagraphs):
1549         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1550         standard paragraph has only a given type of content drop the wrapper.
1551
1552 2004-10-29  José Matos  <jamatos@lyx.org>
1553
1554         * output_docbook.C (makeEnvironment):
1555         * sgml.C (openTag):
1556         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1557
1558 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1559
1560         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1561         (cleanID): sanitize any id.
1562
1563 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1564
1565         * buffer.C, lyxlex_pimpl.C:
1566         * lyxlex_pimpl.C (setFile):
1567         s/getExtFromContents/getFormatFromContents/
1568
1569 2004-10-28  José Matos  <jamatos@lyx.org>
1570
1571         * output_docbook.C (makeEnvironment): move id to broadest possible
1572         scope.
1573
1574         * sgml.C (openTag): apply substitution of <> for all attributes.
1575
1576 2004-10-28  José Matos  <jamatos@lyx.org>
1577
1578         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1579         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1580         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1581
1582         * sgml.[Ch]: new version for open and closeTag for paragraph and
1583         for strings. Now they handle the ids of paragraphs.
1584
1585 2004-10-26  Angus Leeming  <leeming@lyx.org>
1586
1587         * Makefile.am: add mover.[Ch].
1588
1589         * converter.C (convert, move): use the new Movers to move external
1590         files to the temp directory.
1591
1592         * lyx_main.C (init): ensure that the global system_movers data
1593         is initialised.
1594
1595         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1596         preferences file.
1597
1598         * mover.[Ch]: new files, defining a Mover as a utility to move an
1599         external file between directories and, if necessary, manipulate this
1600         file using a helper script.
1601
1602 2004-10-25  José Matos  <jamatos@lyx.org>
1603
1604         * output_docbook.C (makeCommand): merge two if's that tested the
1605         same condition.
1606
1607 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1608
1609         * sgml.C (escapeString): fix warning in a better way
1610
1611 2004-10-25  José Matos  <jamatos@lyx.org>
1612
1613         * sgml.C (escapeString): import the require boosts header file for
1614         tie, and avoid a signed unsigned comparison.
1615
1616 2004-10-25  José Matos  <jamatos@lyx.org>
1617
1618         * sgml.h: add #include <string>
1619
1620 2004-10-25  José Matos  <jamatos@lyx.org>
1621
1622         * sgml.[Ch] (escapeString): new function to escape all the string.
1623
1624 2004-10-24  José Matos  <jamatos@lyx.org>
1625
1626         * paragraph.[Ch] (getFirstWord): new function to get the first
1627         word. Useful for description.
1628         (simpleDocBookOnePar): remove depth argument, add another that
1629         says where to start the paragraph.
1630
1631         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1632         use the new functions to fix cleanly the support for descriptions.
1633
1634 2004-10-24  José Matos  <jamatos@lyx.org>
1635
1636         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1637         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1638         * output_linuxdoc.C (linuxdocParagraphs):
1639         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1640         add buffer as argument.
1641
1642 2004-10-24  José Matos  <jamatos@lyx.org>
1643
1644         * output_docbook.C (makeEnvironment, searchEnvironment): place
1645         CDATA inside paragraphs and fix scope for listitems.
1646
1647 2004-10-24  José Matos  <jamatos@lyx.org>
1648
1649         * output_docbook.C: remove using statement for stack.
1650
1651 2004-10-23  José Matos  <jamatos@lyx.org>
1652
1653         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1654         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1655         docbook. The new scheme is recursive and makes use of iterators, the
1656         same as latex export works.
1657         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1658         directly with the paragraph contents. This code was moved up to
1659         output_docbook.C (docbookParagraphs).
1660         * sgml.C (openTag, closeTag): removed unneeded newlines.
1661         (closeEnvTags) removed.
1662
1663 2004-10-23  André Pönitz  <poenitz@gmx.net>
1664
1665         * undo.C (textUndoOrRedo):
1666         * dociterator.C (asDocIterator): work around crash
1667
1668         * cursor.C (getStatus): replace ASSERT by more verbose error message
1669           and manual correction of the problem. Should increase stability
1670           while providing more sensible information.
1671
1672 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1673
1674         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1675
1676         * bufferlist.C (previous, next): new methods
1677
1678         * lfuns.h:
1679         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1680
1681 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1682
1683         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1684         entities to preamble.
1685
1686 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1687
1688         * messages.C (Pimpl): strip off translation context information
1689
1690 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1691
1692         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1693         the cursor is correct (bug 1694)
1694
1695 2004-10-13  José Matos  <jamatos@lyx.org>
1696
1697         * output_docbook.C (docbookParagraphs): fix closing tags in the
1698         end of the document.
1699
1700 2004-10-09  José Matos  <jamatos@lyx.org>
1701
1702         * buffer.C: format up to 237.
1703         * bufferparams.C (write): use tostr to convert booleans to strings.
1704
1705 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1706
1707         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1708
1709 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1710
1711         * LaTeX.C: implement use of babel language in xindy.
1712
1713 2004-10-05  José Matos  <jamatos@lyx.org>
1714
1715         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1716         Add new translators to help reading and writing the lyx file.
1717
1718 2004-10-05  José Matos  <jamatos@lyx.org>
1719
1720         * ParagraphParameters.C (read):
1721         * text.C (readParToken): replace nexToken by more appropriate lex
1722         methods.
1723
1724 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1725
1726         * LaTeX.C (runMakeIndex):
1727         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1728         (usually 'makeindex') configurable.
1729
1730         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1731         with a variable rather than with a number.
1732
1733 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1734
1735         * output_latex.C (TeXOnePar): make sure font setting is the first
1736         thing that gets output (and the last at the end). Should fix bug
1737         1404.
1738
1739 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1740
1741         * pch.h: use proper signal include
1742
1743         * LaTeX.h: Use preferred calling of Boost.Signal
1744         * buffer.h: ditto
1745
1746 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1747
1748         * pch.h: dont include <boost/function/function0.hpp>
1749
1750         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1751
1752         * paragraph_pimpl.h: remove usage of ShareContainer
1753
1754         * paragraph_pimpl.C: remove initialization of ShareContainer.
1755
1756 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1757
1758         Fix bug #1666
1759
1760         * BufferView.C (putSelectionAt): change the semantics when
1761         backwards == true: now, this just swaps cursor and anchor wrt the
1762         forward case
1763
1764         * BufferView.h (putSelectionAt): add some documentation
1765
1766         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1767         make sure backwardChar is done at least once (to avoid getting
1768         stuck)
1769         (findNextChange): use putSelectionAt in the forward direction
1770         (operator()): use Paragraph::isWord
1771
1772 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1773
1774         * Spacing.C (set): c_str fix
1775
1776 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1777
1778         * lyx_cb.C (Reconfigure): quote the name of configure script in
1779         case it contains spaces
1780
1781 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1782
1783         * client: new dir
1784
1785         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1786         (BOOST_LIBS): use top_buildir when looking for the file
1787
1788 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1789
1790         * pch.h: do not use include boost/format.hpp, multiple symbols
1791                 will result (gcc bug)
1792
1793
1794 2004-08-23  José Matos  <jamatos@lyx.org>
1795
1796         * bufferparams.C (readToken): fix reading of the author field.
1797
1798 2004-08-20  José Matos  <jamatos@lyx.org>
1799
1800         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1801
1802 2004-08-20  José Matos  <jamatos@lyx.org>
1803
1804         * lyxlex.[Ch] (findToken): remove function.
1805
1806         * ParagraphParameters.C (findToken):
1807         * bufferparams.C (findToken): replace call for previous function
1808         with local copy. This local function has one more argument, the
1809         read string argument.
1810
1811 2004-08-16  José Matos  <jamatos@lyx.org>
1812
1813         * ParagraphParameters.C (write):
1814         * Spacing.C (writeFile):
1815         * bufferparams.C (writeLaTeX):
1816         * lyx_cb.C (Reconfigure):
1817         * paragraph.C (write):
1818         * tabular.C (write): remove unnecessary space at end of line.
1819
1820
1821 2004-08-16  José Matos  <jamatos@lyx.org>
1822
1823         * text.C (readParagraph): remove debug message.
1824
1825 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1826
1827         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1828         crash
1829
1830         * output_plaintext.C (asciiParagraph): set depth correctly
1831
1832         * outputparams.h: add member depth
1833
1834         * paragraph_funcs.C (ownerPar): remove.
1835
1836         * text2.C (setCounter): remove first_pit; comment out some
1837         non-working code that uses ownerPar
1838
1839         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1840         uses ownerPar
1841
1842 2004-08-16  José Matos  <jamatos@lyx.org>
1843
1844         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1845         For the same level of importance use the same chanel to report problems.
1846         (read): add code to deal with \begin_body and \end_body.
1847
1848
1849 2004-08-15  José Matos  <jamatos@lyx.org>
1850
1851         * lyxlex.C (getString): fix comment, buffer::readBody is now
1852         buffer:readDocument.
1853
1854         * tex-strings.C (string_papersize): Default -> default,
1855         Custom -> custom, for consistency with other options.
1856
1857 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1858
1859         * pch.h: new file
1860
1861         * Makefile.am: support pch
1862
1863 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1864
1865         * text.C (readParToken): remove the static LyXFont variable and
1866         pass it as a parameter instead. This fixes a nasty bug where an
1867         inset will be inserted with a bad font in some situations
1868         (readParagraph): adapt
1869
1870         * text2.C (setCounter): reduce number of calls to pars_[pit]
1871
1872         * text.C (singleWidth): add an assert, fix a test
1873
1874         * rowpainter.C (paintText): reduce number of calls to singleWidth
1875
1876         * paragraph.C (isHfill):
1877         (isNewline): ws only
1878
1879 2004-08-14  André Pönitz  <poenitz@gmx.net>
1880
1881         * text.C:
1882         * text2.C:
1883         * rowpainter.C:
1884         * lyxtext.h (several functions): use a Paragraph & argument
1885         instead of par_type
1886
1887 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1888
1889         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1890
1891         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1892
1893         * text.C (singleWidth): remove useless test
1894
1895 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1896
1897         * tabular.h: remove bogus comments
1898
1899         * tabular.C (getDescentOfRow):
1900         (isPartOfMultiColumn): add assertions
1901
1902         * lyxlength.C (inPixels): remove #warning
1903
1904 2004-08-14  André Pönitz  <poenitz@gmx.net>
1905
1906         * paragraph.h: inline getChar()
1907
1908         * BufferView.h: remove unused declarations
1909
1910 2004-08-14  José Matos  <jamatos@lyx.org>
1911
1912         * Buffer.[Ch] (readDocument): new name for old readBody.
1913         * Buffer.C: new file format, new keywords: \begin_document,
1914         \begin_header, \begin_body, \end_body.
1915
1916         * bufferparams.C (readToken): replace all calls to lex.nextToken
1917         by lex.next(). Do the same to eatLine except where really needed.
1918
1919         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1920         line when writing to the lyx file.
1921
1922         * output_plaintext.C (asciiParagraph): fix Bibliography style
1923         handling.
1924
1925         * text.C (read): fix end of file handling.
1926
1927 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1928
1929         * MenuBackend.C (Menu::operator[]): new method to access
1930         individual menu items
1931         (Menu::hasFunc): new method. search for an item that corresponds
1932         to a given func
1933         (MenuBackend::specialMenu): new method
1934         (MenuBackend::expand): if a special menu has been set, skip
1935         entries whose func() appears in this menu
1936
1937 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1938
1939         * text3.C: use Debug::DEBUG a bit more
1940
1941         * text.C (leftMargin): try to simplify a tiny bit change var x to
1942         l_margin. Dont output the wide margins always.
1943         (rightMargin): no margin in inner texts
1944
1945         * rowpainter.h (nestMargin): new func
1946         (changebarMargin): new func
1947         (rightMargin): new func
1948
1949         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1950         now functions.
1951         (paintLast): ditto
1952
1953         * factory.C (createInset): modify setDrawFrame
1954
1955         * cursor.C: use Debug::DEBUG a bit more
1956
1957 2004-08-14  André Pönitz  <poenitz@gmx.net>
1958
1959         * coordcache.[Ch]:
1960         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1961         cache for all insets in (at least partially) visible (top-level)
1962         paragraphs.
1963
1964         * BufferView_pimpl.C: reset external coord cache before every update.
1965         This means the coord cache only contains valid entries.
1966
1967 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1968
1969         bug 1096
1970         * BufferView_pimpl.C (getInsetByCode): move function out of class
1971         and change in to a template in anon namespace. Also fix to do what
1972         suits us better.
1973
1974 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1975
1976         bug 1305
1977         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1978         of char
1979         (breakParagraph): rename par to par_offset and use a local
1980         reference. Add code to keep the language over a rebreak.
1981         (breakParagraphConservative): rename par to par_offset, use a
1982         local reference
1983         (mergeParagraph): ditto
1984         (outerHook): ditto
1985         (isFirstInSequence): ditto
1986         (outerFont): rename pit to par_offset
1987
1988         * paragraph.C: ws change
1989         * paragraph.h: ditto
1990         * text3.C: ditto
1991         * text.C: ditto
1992
1993 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1994
1995         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1996         treatment for ']'
1997
1998         * paragraph.C (simpleTeXOnePar): when we have a \item with
1999         optional argument, enclose the argument with curly brackets (in
2000         case it contains a closing square bracket)
2001
2002         * text2.C (editXY):
2003         * text2.C (editXY):
2004         * text3.C (checkInsetHit): constify
2005
2006 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2007
2008         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2009         documents (bug 1629)
2010
2011 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2012
2013         Fix toggling of collapsable insets with the mouse (bug 1558)
2014
2015         * lyxfunc.C (dispatch): adapt to LCursor changes
2016
2017         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2018         make sure that dispatch is not invoked twice
2019
2020         * cursor.C (needsUpdate): new method
2021         (dispatch): return void
2022         (result): new method, to access the DispatchResult of the cursor.
2023
2024 2004-08-13  José Matos  <jamatos@lyx.org>
2025
2026         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2027
2028 2004-08-13  André Pönitz  <poenitz@gmx.net>
2029
2030         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2031
2032         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2033           multiple cells
2034
2035 2004-08-12  André Pönitz  <poenitz@gmx.net>
2036
2037         * text3.C: take out the 'cursor right' form insertInset and only
2038         do it in those places when it is really needed. Fixes crash on
2039         C-m...
2040
2041 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2042
2043         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2044
2045         * BufferView_pimpl.C (setBuffer): initialize the current font of
2046         the underlying LyXText
2047
2048 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2049
2050         * kbsequence.C (print): use UI native formatting for menu
2051         shortcuts
2052
2053         * text.C (insertChar): call Paragraph::insertChar with a font
2054         argument (cosmetic)
2055
2056         * paragraph.C (insertInset, insertChar): the version that takes a
2057         LyXFont argument is now a wrapper around the other one (the
2058         opposite used to be true).
2059
2060         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2061         argument. Font setting is done in Paragraph now.
2062
2063 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2064
2065         * outputparams.h: add new members intitle and lang.
2066
2067         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2068         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2069
2070 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2071
2072         * text3.C (dispatch): remove special handling of button 4 and 5,
2073         it is now taken care of in the frontend code.
2074
2075 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2076
2077         * Spacing.h: add <string> (STLPort compile fix)
2078
2079 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2080
2081         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2082
2083 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
2084
2085         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2086         to bool.
2087
2088         * converter.C (showMessage): inherit from unary_function, make
2089         operator() const.
2090
2091         * buffer.C (writeFile): initialize retval
2092
2093         * InsetList.h: rename private variable list to list_
2094         * InsetList.[Ch]: adjust accordingly.
2095
2096 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
2097
2098         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2099         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2100         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2101         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2102         * ParagraphParameters.C, LaTeXFeatures.C: replace
2103         "support/std_sstream.h" with <sstream>
2104
2105 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
2106
2107         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2108         * lyxsocket.C (LyXServerSocket): ditto
2109         (serverCallback): ditto
2110
2111 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2112
2113         * LaTeXFeatures.C: check release date when loading jurabib.
2114
2115 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2116
2117         * lyxserver.C (startPipe): call register_socket_callback
2118         (endPipe): call unregister_socket_callback
2119
2120 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
2121
2122         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2123         (LyXServerSocket): register the callback
2124         (LyXServerSocket): unregister the callback
2125         (fd): delete function
2126         (serverCallback): improve error checking and setup the callbacks.
2127         (dataCallback): change arg to fd.
2128         (writeln): new func (copied fro the client socket) used for server
2129         write to client.
2130         (LyXDataSocket): simplify
2131         (~LyXDataSocket): close ann unregiser callback
2132         (server): delete function
2133         (fd): delete function
2134         (readln): small changes, improve some std::string usage
2135         (writeln): constify a bit
2136
2137 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2138
2139         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2140         Qt frontend
2141
2142 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2143
2144         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2145         after it has been populated
2146
2147 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2148
2149         * text2.C (insertInset): move cursor when inserting inset.
2150
2151 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2152
2153         * kbmap.C (findbindings): a couple of new methods. returns a
2154         container of kb_sequence objects. The real work is done by the
2155         private recursive version
2156         (printbindings): uses findbindings to print out a bracketed list
2157         of bindings (renamed from findbinding).
2158
2159         * MenuBackend.C (binding): use kb_keymap::findbindings
2160
2161         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2162
2163 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2164
2165         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2166
2167 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2168
2169         * paragraph.C (isWord): return true on insets that report
2170         isLetter().
2171
2172         * text.C (getWord): use Paragraph::isWord to decide what is in a
2173         word and what is not; fix bug 1609.
2174
2175 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2176
2177         * tex-strings.C: add "none" to string_paperpackages[], fixes
2178         off-by-one-error in the paperpackage selection.
2179
2180         * lyxlex.[Ch]:
2181         * tex-strings.[Ch]: char const * string[n]
2182         -> char const * const string[]
2183
2184 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2185
2186         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2187         command, return early.
2188
2189 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
2190
2191         * debug.h: add DEBUG to enum and fix size of ANY.
2192
2193         * debug.C: add support for Debug::DEBUG
2194         (showTags): cast errorTags.level to unsigned int
2195
2196         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2197         (redoCurrentBuffer): ditto
2198         (updateScrollbar): ditto
2199         * cursor.C (dispatch): ditto
2200         * text2.C (setLayout): ditto
2201         (setFont): ditto
2202         (updateCounters): ditto
2203         (editXY): ditto
2204         (deleteEmptyParagraphMechanism): ditto
2205
2206 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
2207
2208         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2209         annotations to cleanup the Makefile slightly.
2210
2211 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2212
2213         * lyxrc.C: do not set user_email to a default value but use empty
2214         instead. The entry used to be translated, which does not work
2215         since at the point where lyxrc is constructed there is no
2216         translation service available
2217
2218         * messages.C (getLocaleDir): remove and use directly
2219         lyx_localedir() instead
2220
2221 2004-06-02  Angus Leeming  <leeming@lyx.org>
2222
2223         Fix crash caused by dereferencing null pointer 'exportdata' in
2224         OutputParams by creating a new ExportData variable on the heap,
2225         storing it in a boost::shared_ptr.
2226         The crash was triggered when generating an Instant Preview
2227         of an external inset.
2228
2229         * Makefile.am: add outputparams.C
2230
2231         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2232         (c-tor): allocate memory to it.
2233
2234         * exporter.C (c-tor): associated changes.
2235
2236 2004-06-01  Angus Leeming  <leeming@lyx.org>
2237
2238         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2239         contains data before calling isInset(0). (Bug 1513.)
2240
2241 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2242
2243         * exporter.C (checkOverwrite): new method
2244         * exporter.C (copyFile): new method
2245         * exporter.C (Export): copy referenced files to the document dir
2246         * exporter.[Ch]: new class ExportedFile
2247         * exporter.[Ch]: new class ExportData. Contains currently the
2248         names of referenced external files
2249         * outputparams.h: add exportdata member.
2250
2251 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2252
2253         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2254         version.C-tmp
2255
2256 2004-05-19  Angus Leeming  <leeming@lyx.org>
2257
2258         * LaTeXFeatures.C:
2259         * ToolbarBackend.C:
2260         * bufferparams.C:
2261         * lyxfunc.C: small changes due to the introduction of namespace
2262         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2263
2264 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2265
2266         * text3.C (dispatch): supress update when only moving the cursor
2267         * cursor.C (selHandle): remove commented code
2268
2269 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2270
2271         * paragraph.C (startTeXParParams): correct column count
2272         * CutAndPaste.C (pasteSelection): remove const_cast
2273         * output_docbook.C (docbookParagraphs): remove const_cast
2274         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2275         const_cast and return ParagraphList::const_iterator
2276         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2277         * output_plaintext.C (writeFileAscii): remove const_cast
2278         * paragraph.[Ch] (simpleTeXOnePar): make const
2279         * paragraph_funcs.C (outerPar): use const iterators
2280         * paragraph_pimpl.C (validate): use const iterators
2281         * text.C (setHeightOfRow): use const iterators
2282
2283 2004-05-17  Angus Leeming  <leeming@lyx.org>
2284
2285         * lfuns.h:
2286         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2287
2288         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2289         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2290         if the citation engine has changed.
2291
2292 2004-05-14  José Matos  <jamatos@lyx.org>
2293
2294         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2295         if the textclass does not provide it. Have it different for sgml and
2296         xml.
2297         support the language of document.
2298         * output_docbook.C (docbookParagraphs):
2299         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2300         first anchor as the id of the paragraph, remove special case code.
2301         * sgml.C (escapeChar): escape only < & >.
2302
2303 2004-05-14  Angus Leeming  <leeming@lyx.org>
2304
2305         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2306         dependencies on src/frontends/controllers/biblio.h. Define a
2307         CiteEngine_enum wrapper class to enable the enum to be forward
2308         declared.
2309
2310 2004-05-12  Angus Leeming  <leeming@lyx.org>
2311
2312         * buffer.C: up LYX_FORMAT to 234.
2313         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2314         use_numerical_citations with a single biblio::CiteEngine cite_engine
2315         variable.
2316         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2317
2318 2004-05-13  José Matos  <jamatos@lyx.org>
2319
2320         * converter.h:
2321         * converter.C (Converter, readFlags): add xml member.
2322         * outputparams.h: add XML flavor.
2323         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2324
2325 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2326
2327         * lyxfunc.C (dispatch):
2328         (getStatus): fix handling of LFUN_SEQUENCE
2329
2330 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2331
2332         * debug.C (showLevel): do not forget the end-of-line marker
2333
2334 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2335
2336         * kbmap.C (read): do not stop parsing a bind file when an error
2337         occurs (bug 1575)
2338
2339 2004-04-29  Angus Leeming  <leeming@lyx.org>
2340
2341         * cursor.C:
2342         * factory.C:
2343         * pariterator.C:
2344         * text2.C: wrap a bunch of #warning statements
2345         inside #ifdef WITH_WARNINGS blocks.
2346
2347 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2348
2349         * buffer.C: increment format to 233.
2350
2351 2004-04-28  Angus Leeming  <leeming@lyx.org>
2352
2353         * BufferView_pimpl.C:
2354         * lyxfunc.C:
2355         * text3.C:
2356         s/updateToolbar()/updateToolbars()/
2357         s/Toolbar.h/Toolbars.h/
2358
2359 2004-04-28  Angus Leeming  <leeming@lyx.org>
2360
2361         * BufferView.[Ch] (c-tor):
2362         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2363         No longer passes these data to the WorkArea generator.
2364
2365 2004-04-28  Angus Leeming  <leeming@lyx.org>
2366
2367         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2368
2369 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2370
2371         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2372
2373 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2374
2375         * output_latex.C (TeXEnvironment): make sure that there is a line
2376         break before \end{foo} for the last paragraph of a document
2377         (TeXOnePar): if the paragraph is at the end of the document (or
2378         inset) and the language has to be reset, then make sure that the
2379         line break is _before_ the language command, not after (fixes bug
2380         1225); also make sure that the language reset command is the first
2381         thing after the paragraph (to ensure proper nesting of
2382         environments and thus fix bug 1404)
2383
2384 2004-04-21  John Levon  <levon@movementarian.org>
2385
2386         * ToolbarBackend.h:
2387         * ToolbarBackend.C: make "name" be a programmatic name
2388         and a gui_name field.
2389
2390         * lyxfunc.C: display the minibuffer on M-x
2391
2392 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2393
2394         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2395         (bug 1526)
2396
2397 2004-04-19  Angus Leeming  <leeming@lyx.org>
2398
2399         * BufferView_pimpl.C (setBuffer): changed preview interface.
2400
2401         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2402         possible values.
2403
2404 2004-04-19  John Levon  <levon@movementarian.org>
2405
2406         * BufferView_pimpl.C:
2407         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2408
2409 2004-04-05  Angus Leeming  <leeming@lyx.org>
2410
2411         * text.C (redoParagraphs): add call to updateCounters(), thereby
2412         fixing the missing "Figure #:" label from the caption of a
2413         figure float.
2414
2415 2004-04-13  Angus Leeming  <leeming@lyx.org>
2416
2417         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2418         cursor is clicked out of an inset.
2419
2420 2004-04-13  Angus Leeming  <leeming@lyx.org>
2421
2422         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2423         than an InsetOld one.
2424
2425 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2426
2427         * format.[Ch]: add editor to Format
2428         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2429         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2430
2431 2004-04-08  André Pönitz  <poenitz@gmx.net>
2432
2433         * metricsinfo.h: remove PainterInfo::width member
2434
2435 2004-04-08  Angus Leeming  <leeming@lyx.org>
2436
2437         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2438         "\providecommand" rather than "\newcommand", thereby preventing
2439         clashes with packages that define "\boldsymbol" themselves.
2440         Eg, beamer.
2441
2442 2004-04-08  Angus Leeming  <leeming@lyx.org>
2443
2444         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2445         thereby squashing an unnecessary warning.
2446
2447 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2448
2449         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2450         setBuffer()
2451
2452 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2453
2454         * BufferView.C (setCursor): call redoParagraph (some insets could
2455         have been opened)
2456         (putSelectionAt): remove the 'double update' trick
2457
2458         * BufferView_pimpl.C (fitCursor): call refreshPar
2459         (workAreaDispatch): remove an uneeded update call
2460         (dispatch): remove some manual update calls
2461
2462         * cursor.[Ch]: remove cached_y_, updatePos
2463         (selHandle): set noUpdate when appropriate
2464
2465         * lyxfunc.C (dispatch): track if we need an update
2466
2467         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2468
2469         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2470         (paintSelection): cheap optimization, do not call cursorX when not
2471         needed
2472         (paintPars): change signature
2473         (refreshPar): add
2474         (paintText): adjust
2475         (paintTextInset): adjust
2476
2477         * text.C: adjust
2478
2479 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2480
2481         * lengthcommon.C: compilation fix: remove explicit array size from
2482         unit_name[] and friends
2483
2484 2004-04-05  Angus Leeming  <leeming@lyx.org>
2485
2486         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2487
2488         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2489         present only for the preferences dialog.
2490         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2491
2492 2004-04-05  Angus Leeming  <leeming@lyx.org>
2493
2494         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2495         to enable the frontends to export changes to lyxrc correctly.
2496
2497         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2498
2499 2004-04-07  André Pönitz  <poenitz@gmx.net>
2500
2501         * cursor.[Ch] (selClear, adjust): remove math
2502
2503         * cursor_slice.C: more agressive assert
2504
2505         * lyxfunc.C:
2506         * BufferView_pimpl.C: rework mouse event dispatch
2507
2508         * dociterator.C:
2509         * paragraph.C:
2510         * text2.C:
2511         * text3.C: adjust
2512
2513 2004-04-05  André Pönitz  <poenitz@gmx.net>
2514
2515         * cursor.[Ch] (valign, halign...): remove unneeded functions
2516
2517 2004-04-05  Angus Leeming  <leeming@lyx.org>
2518
2519         * lyxlength.[Ch] (unit_name et al.): const-correct.
2520
2521 2004-04-05  Angus Leeming  <leeming@lyx.org>
2522
2523         * BufferView_pimpl.C:
2524         * buffer.C:
2525         * counters.C:
2526         * cursor.C:
2527         * lyxfunc.C
2528         * paragraph.C:
2529         * pariterator.C:
2530         * text.C:
2531         * text2.C:
2532         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2533
2534 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2535
2536         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2537
2538 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2539
2540         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2541         * BufferView_pimpl.[Ch] (getStatus)
2542         * BufferView.[Ch] (getStatus): add
2543         * lyxfunc.C (getStatus): move lfuns handled in
2544         BufferView::dispatch to te function above
2545         * Cursor.C (setSelection): set selection() = true
2546
2547 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2548
2549         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2550
2551 2004-03-31  Angus Leeming  <leeming@lyx.org>
2552
2553         * lyxfunc.C (dispatch): Fall through to the generic
2554         Dialogs::show("preamble").
2555
2556 2004-03-31  Angus Leeming  <leeming@lyx.org>
2557
2558         * lyxfunc.C (dispatch): Fall through to the generic
2559         Dialogs::show("spellchecker").
2560
2561 2004-03-31  Angus Leeming  <leeming@lyx.org>
2562
2563         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2564         preferences dialog.
2565
2566 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2567
2568         * BufferView.C
2569         * cursor.[Ch]
2570         * dociterator.[Ch]:
2571         * insetiterator.[Ch]:
2572         * lyxfind.C:
2573         * lyxfunc.C:
2574         * pariterator.[Ch]:
2575         * text2.C:
2576         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2577
2578 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2579
2580         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2581         insets where we are putting the cursor.
2582
2583 2004-03-31  Angus Leeming  <leeming@lyx.org>
2584
2585         * lfuns.h:
2586         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2587
2588         * lyxrc.[Ch] (read, write): overloaded member functions taking
2589         a std::[io]stream arguments.
2590
2591         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2592
2593 2004-03-31  Angus Leeming  <leeming@lyx.org>
2594
2595         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2596         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2597
2598         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2599         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2600
2601 2004-03-31  Angus Leeming  <leeming@lyx.org>
2602
2603         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2604         the LFUN_ALL_INSETS_TOGGLE code.
2605
2606 2004-03-30  Angus Leeming  <leeming@lyx.org>
2607
2608         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2609         has died. Fall through to the generic Dialogs::show("document").
2610
2611 2004-03-30  Angus Leeming  <leeming@lyx.org>
2612
2613         * lfuns.h:
2614         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2615         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2616
2617         * lyxfunc.C (getStatus, dispatch): define the actions for these
2618         lfuns. Little more than a cut and pste job from ControlDocument.C
2619
2620         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2621
2622 2004-03-30  Angus Leeming  <leeming@lyx.org>
2623
2624         * lfuns.h:
2625         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2626         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2627
2628         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2629         open/closed state of ollapsable insets. Usage:
2630
2631         all-inset-toggle <state> <name>, where
2632         <state> == "open" || "closed" || "toggle" and
2633         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2634
2635         * lyxtext.h, text2.C (toggleInset): removed.
2636
2637         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2638         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2639         now passes LFUN_INSET_TOGGLE to the found inset.
2640
2641         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2642         is now invoked as "all-insets-toggle toggle branch".
2643
2644 2004-03-30  Angus Leeming  <leeming@lyx.org>
2645
2646         * dociterator.C:
2647         * insetiterator.C:
2648         * pariterator.[Ch]: added/corrected header blurb.
2649
2650 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2651
2652         * dociterator.[Ch]: add an inset_ member
2653         (backwardPos): implemented
2654         (backwardPos, forwardPos): use inset_ when the stack is empty.
2655         (doc_iterator_begin, doc_iterator_end): implemented
2656         * pariterator.[Ch]: adjust, add begin, end
2657         * insetiterator.[Ch]: adjust, add begin, end
2658         * cursor.C:
2659         * document.C:
2660         * BufferView.C:
2661         * BufferView_pimpl.C:
2662         * CutAndPaste.C: adjust
2663
2664 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2665
2666         * buffer.C: increment file format to 232.
2667         * LaTeXFeatures.C: add bibtopic package.
2668         * bufferparams.[Ch]: param \use_bibtopic.
2669
2670         * lyxrc.[Ch]: add lyxrc bibtex_command
2671         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2672
2673         * buffer.C: increment file format to 231.
2674
2675 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2676
2677         * dociterator.C: implement forwardPar
2678         * iterators.[Ch]: remove, replaced by
2679         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2680         * BufferView.C:
2681         * BufferView_pimpl.C:
2682         * CutAndPaste.C:
2683         * buffer.C:
2684         * bufferview_funcs.C:
2685         * cursor.C:
2686         * lyxfind.C
2687         * lyxfunc.C
2688         * paragraph_funcs.C
2689         * toc.C:
2690         * Makefile.am: adjust
2691
2692 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2693
2694         * CutAndPaste.C (pasteSelection): fix 2 crashes
2695         (eraseSelection): fix a crash
2696         * paragraph_funcs.C: remove a warning
2697
2698 2004-03-28  Angus Leeming  <leeming@lyx.org>
2699
2700         * lfuns.h:
2701         * LyXAction.C (init): new LFUN_PRINT.
2702
2703         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2704
2705 2004-03-27  Angus Leeming  <leeming@lyx.org>
2706
2707         * lfuns.h:
2708         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2709
2710         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2711
2712 2004-03-27  Angus Leeming  <leeming@lyx.org>
2713
2714         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2715         insetlist always contains non-null pointers to insets.
2716
2717 2004-03-26  Angus Leeming  <leeming@lyx.org>
2718
2719         * src/BufferView_pimpl.C:
2720         * src/CutAndPaste.C:
2721         * src/buffer.C:
2722         * src/iterators.C:
2723         * src/output_plaintext.C:
2724         * src/outputparams.h:
2725         * src/paragraph_funcs.C:
2726         * src/rowpainter.C:
2727         * src/text.C:
2728         * src/text2.C:
2729         * src/frontends/controllers/ControlErrorList.C:
2730         * src/frontends/gtk/FileDialogPrivate.C:
2731         * src/frontends/gtk/GPainter.C:
2732         * src/frontends/gtk/GToolbar.C:
2733         * src/frontends/qt2/QRef.C:
2734         * src/mathed/math_scriptinset.C: squash compiler warnings.
2735
2736 2004-03-26  Angus Leeming  <leeming@lyx.org>
2737
2738         * ispell.C (LaunchIspell::start):
2739         * lyx_cb.C (AutoSaveBuffer::start):
2740         invoke run(DontWait) rather than runNonBlocking().
2741
2742 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2743
2744         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2745
2746 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2747
2748         * kbsequence.C (print): adjust
2749
2750         * kbmap.C (printKeySym): rename and change signature
2751         (printKey): use LyXKeySym::print()
2752
2753 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2754
2755         * undo.C: add using std::advance to compile for stlport
2756
2757 2004-03-24  Angus Leeming  <leeming@lyx.org>
2758
2759         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2760         it leads to a crash when no buffer is present.
2761
2762 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2763             Martin Vermeer  <martin.vermeer@hut.fi>
2764
2765         * lyxfunc.C (dispatch):
2766         * bufferparams.C (readToken): use the new LColor::setColor
2767
2768         * LColor.[Ch] (setColor): new version that takes two strings as
2769         argument and creates a new color entry if necessary
2770
2771 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2772
2773         * buffer.C (makeLaTeXFile): if the main latex file that is
2774         processed is usually a subdocument of some master, then pretend
2775         for a while that it is actually the master
2776
2777 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2778
2779         * buffer.C (getLabelList):
2780         (getBibkeyList): use getMasterBuffer()
2781         (getMasterBuffer): new method. Returns the main document in the
2782         case where one is using included documents.
2783
2784 2004-03-25  André Pönitz  <poenitz@gmx.net>
2785
2786         * Makefile.am:
2787         * iterators.[Ch]:
2788         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2789
2790         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2791
2792         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2793         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2794
2795         * ParameterStruct.h: merge with ParagraphParameters
2796
2797         * lyxtext.h: remove LyXText::parOffset() and getPar()
2798
2799         * text3.C: Remove all 'manual' update calls. We do now one per user
2800         interaction which is completely sufficient.
2801
2802         * Bidi.C:
2803         * BufferView.[Ch]:
2804         * BufferView_pimpl.C:
2805         * FontIterator.[Ch]:
2806         * MenuBackend.C:
2807         * ParagraphParameters.[Ch]:
2808         * buffer.C:
2809         * buffer.h:
2810         * bufferlist.C:
2811         * cursor.[Ch]:
2812         * cursor_slice.[Ch]:
2813         * dociterator.[Ch]:
2814         * errorlist.[Ch]:
2815         * factory.C:
2816         * lfuns.h:
2817         * lyxfind.C:
2818         * lyxfunc.C:
2819         * output_docbook.[Ch]:
2820         * output_latex.[Ch]:
2821         * output_linuxdoc.[Ch]:
2822         * output_plaintext.[Ch]:
2823         * paragraph.[Ch]:
2824         * paragraph_funcs.[Ch]:
2825         * paragraph_pimpl.[Ch]:
2826         * rowpainter.C:
2827         * tabular.[Ch]:
2828         * text.C:
2829         * text2.C:
2830         * toc.C:
2831         * undo.[Ch]: adjust
2832
2833         * frontends/controllers/ControlDocument.C:
2834         * frontends/controllers/ControlErrorList.C:
2835         * frontends/controllers/ControlSpellchecker.C:
2836         * insets/inset.C:
2837         * insets/inset.h:
2838         * insets/insetbase.h:
2839         * insets/insetbibitem.C:
2840         * insets/insetbox.C:
2841         * insets/insetbranch.C:
2842         * insets/insetcaption.C:
2843         * insets/insetcharstyle.C:
2844         * insets/insetcharstyle.h:
2845         * insets/insetcollapsable.C:
2846         * insets/insetcollapsable.h:
2847         * insets/insetert.C:
2848         * insets/insetfloat.C:
2849         * insets/insetfoot.C:
2850         * insets/insetmarginal.C:
2851         * insets/insetnote.C:
2852         * insets/insetoptarg.C:
2853         * insets/insettabular.C:
2854         * insets/insettext.C:
2855         * insets/insettext.h:
2856         * insets/insetwrap.C:
2857         * mathed/math_mboxinset.C:
2858         * mathed/math_nestinset.C:
2859         * mathed/math_scriptinset.C:
2860         * mathed/math_scriptinset.h:
2861         * support/types.h:
2862
2863 2004-03-24  Angus Leeming  <leeming@lyx.org>
2864
2865         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2866         deal with any child processes that have finished but are waiting to
2867         communicate this fact to the rest of LyX.
2868
2869 2004-03-24  Angus Leeming  <leeming@lyx.org>
2870
2871         64-bit compile fixes.
2872
2873         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2874         (c-tor): pass lyx::pos_types rather than ints.
2875
2876         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2877         lyx::pos_type.
2878
2879         * text.C (Delete): compile fix.
2880         (getPar): ensure that function declaration is the same as that in
2881         the header file.
2882
2883 2004-03-23  Angus Leeming  <leeming@lyx.org>
2884
2885         * ispell.C (LaunchIspell):
2886         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2887         a boost::shred_ptr rather than a std::auto_ptr.
2888
2889 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2890
2891         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2892         handle LFUN_FILE_INSERT_*
2893
2894         * lyxrc.C (setDefaults, getDescription, output, read):
2895         * lyxrc.h: remove ps_command
2896
2897 2004-03-22  Angus Leeming  <leeming@lyx.org>
2898
2899         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2900         Ensure that error_handler is processed once only and that all data
2901         is saved before attempting to output any warning messages.
2902
2903         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2904
2905 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2906
2907         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2908
2909 2004-03-19  André Pönitz  <poenitz@gmx.net>
2910
2911         * cursor.[Ch] (reset): take main text inset as argument
2912
2913         * BufferView: adjust
2914         * BufferView_pimpl.C: adjust
2915
2916         * paragraph.[Ch]: fix completely broken operator=()
2917
2918 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2919
2920         * LColor.C (getFromLyXName): make sure that the color name is used
2921         as lowercase.
2922
2923 2004-03-17  Angus Leeming  <leeming@lyx.org>
2924
2925         * lfuns.h:
2926         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2927
2928         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2929         dialog and to kill a forked process.
2930
2931 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2932
2933         * text2.C (setCursorFromCoordinates): fix font problem
2934
2935 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2936
2937         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2938         bogus "rebuild cursor" code
2939
2940 2004-03-11  André Pönitz  <poenitz@gmx.net>
2941
2942         * buffer.[Ch]: use InsetText instead of LyXText as container for
2943         the main lyx text.
2944
2945         * dociterator.[Ch]: drop the BufferView * member which is not needed
2946         anymore after the change to buffer.C
2947
2948         * paragraph_funcs.C:
2949         * text.C:
2950         * text2.C:
2951         * BufferView.[Ch]:
2952         * BufferView_pimpl.[Ch]:
2953         * cursor.[Ch]:
2954         * cursor_slice.[Ch]: adjust
2955
2956         * text3.C: fix bug in mathDispatch
2957
2958 2004-03-08  André Pönitz  <poenitz@gmx.net>
2959
2960         * undo.[Ch]: use 'StableDocumentIterator' as base for
2961         the Undo struct.
2962
2963 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2964
2965         * LaTeXFeatures.C:
2966         * bufferparams.[Ch]: add jurabib support and param.
2967
2968         * LaTeX.C: add FIXME/comment.
2969
2970 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2971
2972         * buffer.C: increment file format to 230.
2973
2974 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2975
2976         * cursor.C (dispatch): avoid infinite loops
2977
2978 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2979
2980         * rowpainter.C (paintSelection): fix x coordinates
2981
2982 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2983
2984         * text.C (rowBreakPoint): fix breaking before displayed insets
2985
2986 2004-03-01  André Pönitz  <poenitz@gmx.net>
2987
2988         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2989
2990         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2991
2992         * Makefile.am:
2993         * BufferView.C:
2994         * BufferView_pimpl.C:
2995         * buffer.C:
2996         * lyxfind.C:
2997         * lyxfunc.C:
2998         * text.C:
2999         * text2.C:
3000         * text3.C: adjust
3001
3002 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3003
3004         * lyxtext.h:
3005         * text.C:
3006         * text2.C:
3007         * rowpainter.C:
3008         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3009         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3010
3011 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3012
3013         * Bidi.[Ch] (computeTables): const correctness
3014         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3015         fill_hfill, fill_label_hfill and x from Row
3016         * lyxtext.h: prepareToPrint returns a RowMetrics
3017         * rowPainter.C: adjust
3018         * text.C (prepareToPrint): use width, not textWidth. adjust
3019         (redoParagraphInternal, cursorX): adjust
3020         * text2.C (getColumnNearX): adjust
3021         (init): put a default value to the top LyXText::width
3022
3023 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3024
3025         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3026
3027 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3028
3029         * lyxtext.h: add FontIterator class
3030
3031         * text.C (FontIterator, operator*, operator->, operator++): add
3032         (rowBreakPoint, setRowWidth): adjust (fixing a
3033         rebreaking bug)
3034
3035 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3036
3037         * BufferView_pimpl.C (workAreaDispatch): allow also
3038         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3039
3040 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3041
3042         * text.C (rowBreakPoint): fix a bug showing with very large insets
3043
3044 2004-02-25  André Pönitz  <poenitz@gmx.net>
3045
3046         * text3.C:
3047         * cursor.[Ch]: move some mathed specific code to mathed
3048
3049 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3050
3051         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3052         use_tempdir in preferences
3053         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3054         tempfile creation
3055         * lyx_main.C: ensure that tempdir is valid
3056         * lyxlex.h: correct typo
3057         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3058         * paragraph.[Ch] (isMultiLingual): make const
3059         * cursor.[Ch] (openable): make const
3060
3061 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3062
3063         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3064
3065 2004-02-20  André Pönitz  <poenitz@gmx.net>
3066
3067         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3068
3069         * cursor.[Ch]: prepare for localized getStatus()
3070
3071         * lyxtext.h:
3072         * tabular.C:
3073         * text.C:
3074         * text2.C:
3075         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3076
3077 2004-02-20  André Pönitz  <poenitz@gmx.net>
3078
3079         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3080
3081 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3082
3083         * text2.C (setCursorFromCoordinates): switch to absolute coords
3084         (cursorUp): adjust
3085         (cursorDown): adjust
3086         * text3.C (dispatch): adjust
3087
3088 2004-02-16  André Pönitz  <poenitz@gmx.net>
3089
3090         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3091           insets/ChangeLog)
3092
3093         * cursor_slice.[Ch]: remove unneeded acessor function
3094
3095         * lyxtext.h: rename rtl() to isRTL()
3096
3097         * rowpainter.C:
3098         * tabular.C:
3099         * text.C:
3100         * text2.C:
3101         * text3.C: adjust
3102
3103 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3104
3105         * rowpainter.C (paintSelection): coord fix
3106
3107 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3108
3109         * Spacing.C: compile fix
3110
3111 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3112
3113         * cursor.C (dispatch): restore current_ before returning
3114
3115 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3116
3117         * text2.C (cursorUp, cursorDown): fix coords
3118         (moveUp): fix crash
3119
3120 2004-02-12  André Pönitz  <poenitz@gmx.net>
3121
3122         * lyxtext.h:
3123         * text.C:
3124         * text2.C:
3125         * text3.C: add LCursor & parameter to most cursor movement functions
3126           remove usage of LyXText::cursorRow() and cursorPar()
3127
3128         * cursor.[Ch]: add textRow() needed members
3129
3130         * BufferView.C:
3131         * BufferView_pimpl.C:
3132         * paragraph.[Ch]:
3133         * BufferView.C:
3134         * BufferView_pimpl.C: adjust
3135
3136 2004-02-11  André Pönitz  <poenitz@gmx.net>
3137
3138         * lyxfunc.C:
3139         * BufferView.[Ch]:
3140         * BufferView_pimpl.C: shift undo/redo handling
3141
3142         * cursor.[Ch]: fix mathed crash
3143
3144         * lyxfind.C:
3145         * lyxtext.h: move selectionAsText to LCursor
3146
3147         * output_latex.C:
3148         * paragraph.C:
3149         * text.C:
3150         * text2.C:
3151         * text3.C: adjust
3152
3153         * rowpainter.C: fix excessive drawing
3154
3155 2004-02-06  André Pönitz  <poenitz@gmx.net>
3156
3157         * BufferView.[Ch]:
3158         * BufferView_pimpl.[Ch]:
3159         * text3.C: move some text specific LFUN handling
3160
3161 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3162
3163         * text3.C (checkInsetHit): adjust coords
3164         * text2.C (getColumnNearX): adjust coords
3165         (edit): adjust coords
3166         * text.C (getRowNearY): add two asserts
3167
3168 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3169
3170         * converter.C:
3171         * format.C: add using std::distance to compile on gcc 2.95/stlport
3172
3173 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3174
3175         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3176
3177 2004-02-04  André Pönitz  <poenitz@gmx.net>
3178
3179         * BufferView.[Ch] (insertInset):
3180         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3181
3182         * text2.C:
3183         * text3.C: adjust
3184
3185 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3186
3187         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3188         on the default clause of the switch
3189         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3190         wasn't catched by LCursor::dispatch
3191
3192 2004-02-03  André Pönitz  <poenitz@gmx.net>
3193
3194         * BufferView.C:
3195         * cursor.[Ch]: some additional asserts
3196
3197         * undo.[Ch]: remove LyXText dependency in interface
3198
3199         * lyxfunc.C: adjust
3200
3201         * lyxtext.h (firstPar, lastPar): remove dead functions
3202
3203         * text.C:
3204         * text2.C:
3205         * text3.C:
3206         * paragraph.[Ch]: adjust
3207
3208 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3209
3210         * lyxfind.C (find): fix argument order in call to ::find
3211
3212 2004-02-02  André Pönitz  <poenitz@gmx.net>
3213
3214         * cursor.[Ch]: remove direct access to anchor
3215
3216         * text.C: remove findText() hack
3217
3218 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3219
3220         * iterators.[Ch] (lockPath): remove in favour of...
3221         * BufferView.[Ch] (setCursor): this addition
3222         * BufferView.C (putSelectionAt): adjust
3223         * undo.C (performUndoOrRedo): adjust
3224         * lyxfunc.C (dispatch): adjust
3225
3226 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3227
3228         * iterators.C (lockPath): add a missing slice
3229         * undo.C (performUndoOrRedo): remove redundant positioning code
3230
3231 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
3232
3233         * vc-backend.C (scanMaster): ";" -> ';'
3234
3235 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
3236
3237         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3238         std::binary_function
3239
3240         * lyxtextclass.C (compare_name): rename to...
3241         (LayoutNamesEqual): ...this
3242
3243         * lyxlex_pimpl.C (compare_tags): inherit from
3244         std::binary_function, put back into anon namespace
3245
3246         * lyxfind.C (MatchString): inherig from std::binary_function
3247         (findChange): use empty() istead of !size()
3248
3249         * format.C (FormatNamesEqual): new functor
3250         (getFormat): use it
3251         (getNumber): use it
3252         (add): use it
3253         (erase): use it
3254         (setViewer): use it
3255
3256         * converter.C (compare_Converter): rename to...
3257         (ConverterEqual): ...this, and fixup a bit.
3258         (getConverter): use it, and make function const
3259         (getNumber): use it, and make function const
3260         (add): use it
3261         (erase): use it:
3262
3263         * bufferlist.C: add using boost::bind
3264
3265         * MenuBackend.C (MenuNamesEqual): new functor
3266         (hasMenu): use it, and make function const
3267         (hasSubmenu): use nested bind to get rid of compare_memfun.
3268
3269 2004-01-30  André Pönitz  <poenitz@gmx.net>
3270
3271         * BufferView_pimpl.C:
3272         * cursor.C:
3273         * cursor.h:
3274         * cursor_slice.[Ch]:
3275         * lyxfunc.C:
3276         * lyxtext.h:
3277         * paragraph_funcs.C:
3278         * paragraph_funcs.h:
3279         * rowpainter.C:
3280         * text.C:
3281         * text2.C:
3282         * text3.C: move some of the edit(x,y) handling to the insets
3283         some coordinate changes.
3284
3285 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
3286
3287         * text.C: add using statements for std::advance and std::distance
3288
3289         * paragraph.C: add using statement for std::distance
3290
3291         * lyxfind.C: add using statement for std::advance
3292
3293         * cursor.C (region): remove std:: from swap
3294         (openable): use nucleus in stead of operator->
3295
3296         * BufferView.C: add using statements for std::distance and std::swap
3297
3298 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
3299
3300         * iterators.C: Remove the pimple, move the needed structures to
3301         the header file. Create accessor for the positions stack.
3302         (asPosIterator): remove function
3303
3304         * PosIterator.C (PosIterator): move constructors to top of file
3305         (PosIterator): reimplement the constructor taking a ParIterator in
3306         terms of setFrom.
3307         (setFrom): new function
3308         (operator!=): inline it
3309
3310 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
3311
3312         * lyxfind.C (replaceAll): use std::advance
3313
3314         * iterators.h: inherit from std::iterator.
3315
3316         * PosIterator.C (advance, distance): remove
3317         * PosIterator.h: interit from std::iterator.
3318
3319 2004-01-26  André Pönitz  <poenitz@gmx.net>
3320
3321         * BufferView.[Ch]:
3322         * BufferView_pimpl.[Ch]:
3323         * InsetList.[Ch]:
3324         * PosIterator.[Ch]:
3325         * buffer.h:
3326         * bufferview_funcs.C:
3327         * cursor.[Ch]:
3328         * cursor_slice.h:
3329         * factory.[Ch]:
3330         * iterators.[Ch]:
3331         * lyxfind.C:
3332         * lyxfunc.C:
3333         * lyxtext.h:
3334         * output_docbook.C:
3335         * output_latex.C:
3336         * output_linuxdoc.C:
3337         * output_plaintext.C:
3338         * paragraph.[Ch]:
3339         * paragraph_funcs.[Ch]:
3340         * paragraph_pimpl.[Ch]:
3341         * rowpainter.C:
3342         * tabular.C:
3343         * tabular.h:
3344         * text.C:
3345         * text2.C:
3346         * text3.C: more IU:  dumps most of the rest of the mathcursor
3347     implementation into cursor.[Ch]; "globalize" a bit of it.
3348
3349 2004-01-25  Angus Leeming  <leeming@lyx.org>
3350
3351         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3352
3353 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3354
3355         * LaTeXFeatures.h: add nice_ and nice() const
3356         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3357
3358 2004-01-20  André Pönitz  <poenitz@gmx.net>
3359
3360         * BufferView.[Ch]:
3361         * BufferView_pimpl.C:
3362         * PosIterator.C:
3363         * bufferview_funcs.C:
3364         * cursor.[Ch]:
3365         * cursor_slice.[Ch]:
3366         * factory.C:
3367         * iterators.C:
3368         * lyx_cb.C:
3369         * lyxfind.C:
3370         * lyxfunc.C:
3371         * lyxtext.h:
3372         * rowpainter.C:
3373         * text.C:
3374         * text2.C:
3375         * text3.C:
3376         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3377           LCursor and mathcursor parts to LCursor and InsetBase.
3378
3379 2004-01-15  André Pönitz  <poenitz@gmx.net>
3380
3381         * cursor_slice.[Ch]: add a few covienience functions
3382
3383         * funcrequest.[Ch]: remove BufferView * member
3384
3385         * BufferView_pimpl.C:
3386         * cursor.C:
3387         * factory.[Ch]:
3388         * lyxfind.[Ch]:
3389         * lyxfunc.C:
3390         * lyxtext.h:
3391         * text3.C:
3392         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3393
3394 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3395
3396         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3397         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3398
3399 2004-01-13  André Pönitz  <poenitz@gmx.net>
3400
3401         * textcursor.[Ch]:
3402         * lyxtext.h: hide cursor and selection anchor behind accessor function
3403
3404         * BufferView.C:
3405         * BufferView_pimpl.[Ch]:
3406         * PosIterator.C:
3407         * bufferview_funcs.C:
3408         * cursor.h:
3409         * lyxfind.C:
3410         * lyxfunc.C:
3411         * text.C:
3412         * text2.C:
3413         * text3.C:
3414         * undo.C: adjust
3415
3416         * cursor.h:
3417         * cursor_slice.[Ch]: some integer type changes for inset unification
3418
3419         * lyxcursor.[hC]: remove, it's CursorSlice now.
3420
3421         * Makefile.am:
3422         * BufferView_pimpl.[Ch]:
3423         * bufferview_funcs.C:
3424         * cursor_slice.C:
3425         * lyxtext.h:
3426         * text.C:
3427         * text2.C:
3428         * text3.C:
3429         * textcursor.[Ch]: adjust
3430
3431 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3432
3433         * text2.C (undoSpan): add and use
3434         * text.C (breakParagraph): use undoSpan (fix bug 578)
3435         * lyxtext.h: adjust
3436
3437 2004-01-08  Angus Leeming  <leeming@lyx.org>
3438
3439         * BufferView_pimpl.C (MenuInsertLyXFile):
3440         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3441         * lyxfunc.C (menuNew, open, doImport):
3442         FileFilterList change to the FileDialog open and save functions.
3443
3444 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
3445
3446         * ShareContainer.h: make isEqual and isUnique adaptable
3447
3448         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3449
3450 2004-01-07  Angus Leeming  <leeming@lyx.org>
3451
3452         * LyXAction.C:
3453         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3454
3455         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3456
3457         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3458         functions replacing find, replace and replaceAll.
3459
3460         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3461         LFUN_WORDFIND(FORWARD|BACKWARD).
3462
3463 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3464
3465         * text.C (breakParagraph): remove an outdated #warning
3466
3467 2004-01-07  André Pönitz  <poenitz@gmx.net>
3468
3469         * lyxfind.C: somewhat clearer logic
3470
3471         * text.C: prevent crash in cursorX on unitialized row cache
3472
3473 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3474
3475         * lyxcursor.[Ch] (operator>): add
3476         * textcursor.C (selStart, selEnd): use std::min and std::max
3477
3478 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
3479
3480         * Chktex.C: include boost/format.hpp
3481
3482 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
3483
3484         * InsetList.C: replace functor MathcIt with adaptable functor
3485         InsetTablePosLess
3486         (insetIterator): modify accordingly
3487
3488         * BranchList.h: move the BranchNamesEqual functor here from...
3489         * BranchList.C: ... to here
3490
3491         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3492         SameName and match.
3493         (add): replace a finding loop with std::find_if.
3494
3495 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3496
3497         * output_docbook.C: moving LatexParam functionality into
3498         .layout files
3499
3500 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3501
3502         * buffer.C: increment format to 229.
3503
3504 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3505
3506         * LaTeXFeatures.C:
3507         * lyx_sty.[Ch]: remove minipageindent_def
3508
3509         * LyXAction.C:
3510         * factory.C:
3511         * lfuns.h:
3512         * lyxfunc.C:
3513         * text3.C: remove LFUN_INSET_MINIPAGE
3514
3515 2003-12-28  Angus Leeming  <leeming@lyx.org>
3516
3517         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3518
3519 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3520
3521         * text2.C (setParagraph): fix off-by-one crash
3522
3523 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3524
3525         * output_docbook.C: header stuff for AGU
3526
3527 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3528
3529         * text2.C (redoCursor): remove
3530         * text.C:
3531         * text3.C:
3532         * BufferView_pimpl.C: remove calls to redoCursor and
3533         setCursor(cursor.par(), cursor.pos()) all around
3534
3535 2003-12-15  Angus Leeming  <leeming@lyx.org>
3536
3537         * buffer.C: up the format to 228.
3538
3539 2003-12-15  André Pönitz  <poenitz@gmx.net>
3540
3541         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3542         slices
3543
3544         * Makefile.am:
3545
3546         * BufferView_pimpl.C:
3547         * cursor.[Ch]:
3548         * lyxcursor.[Ch]:
3549         * rowpainter.[Ch]:
3550         * lyxtext.h:
3551         * text.C:
3552         * text2.C:
3553         * text3.C: adjust
3554
3555 2003-12-15  Angus Leeming  <leeming@lyx.org>
3556
3557         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3558         than getFromGUIName to manipulate the color.
3559
3560 2003-12-14  Angus Leeming  <leeming@lyx.org>
3561
3562         * BranchList.[Ch]: minimize the API.
3563         (Branch::getBranch, getColor): now return a 'const &'.
3564         (Branch::setSelected) now returns a bool set to true if the
3565         selection status changes.
3566         (BranchList::clear, size, getColor, setColor, setSelected,
3567         allBranches, allSelected, separator): removed.
3568         (BranchList::find): new functions, returning the Branch with
3569         the given name.
3570         (BranchList::add, remove): return a bool indicating that
3571         the operation was successful.
3572
3573         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3574         new InsetBranch::isBranchSlected member function.
3575
3576         * LColor.[Ch]: mimimize the API.
3577         (fill): renamed as addColor and made private.
3578         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3579         versions of these functions taking a string arg have been removed.
3580
3581         * bufferparams.C (readToken):
3582         * lyxfunc.C (dispatch):
3583         * lyxrc.C (read): changes due to the altered BranchList and
3584         LColor APIs.
3585
3586         * factory.C (createInset, readInset): changes due to altered
3587         InsetBranch c-tor.
3588
3589 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3590
3591         * factory.C:
3592         * lyxfunc.C: remove insetminipage. "minipage-insert"
3593         now produces a frameless minipage box inset.
3594
3595 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3596
3597         * textcursor.[Ch] (selStart,selEnd): add new methods
3598         remove selection::start, end, use LyXCursor::operator<
3599         * lyxcursor.[Ch] (operator<): add
3600         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3601         * BufferView.[Ch] (unsetXSel): add
3602         * text2.C (clearSelection): use unsetXSel,adjust
3603         * text.C: adjust
3604         * text3.C: adjust
3605         * rowpainter.C: adjust
3606         * bufferview_funcs.C (put_selection_at): adjust
3607
3608 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3609
3610         * BufferView_pimpl.C: small coord. correction
3611
3612 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3613
3614         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3615         dragging over the splash screen.
3616
3617 2003-12-11  Angus Leeming  <leeming@lyx.org>
3618
3619         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3620         as it is now handled in LyXText::dispatch.
3621
3622         * text3.C (doInsertInset): remove a level of nesting.
3623
3624 2003-12-11  Angus Leeming  <leeming@lyx.org>
3625
3626         * factory.C (createInset): changes due to the changed interface to
3627         InsetCommandMailer::string2params.
3628
3629 2003-12-10  Angus Leeming  <leeming@lyx.org>
3630
3631         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3632         'dialog-show-new-inset <inset name>'
3633
3634 2003-12-10  Angus Leeming  <leeming@lyx.org>
3635
3636         * buffer.C: up the format to 227.
3637
3638         * factory.C: the box inset is now identified simply by 'Box'.
3639
3640 2003-12-10  Angus Leeming  <leeming@lyx.org>
3641
3642         * buffer.C: up the format to 226.
3643
3644         * factory.C: the note inset is now identified simply by 'Note'.
3645
3646 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3647
3648         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3649         when a pit is enough. Standarize a couple of loops.
3650
3651 2003-12-05  Angus Leeming  <leeming@lyx.org>
3652
3653         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3654         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3655         data to the re-worked "log" dialog.
3656
3657 2003-12-03  André Pönitz  <poenitz@gmx.net>
3658
3659         * PosIterator.C:
3660         * iterators.C:
3661         * lyxtext.h:
3662         * output_latex.C:
3663         * paragraph_funcs.C:
3664         * text.C:
3665         * text2.C: use Inset::getText instead of Inset::getParagraph
3666
3667 2003-12-03  André Pönitz  <poenitz@gmx.net>
3668
3669         * buffer.[Ch]:
3670         * lyxtext.h:
3671         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3672         InsetText::read() as LyXText::read()
3673
3674 2003-12-02  Angus Leeming  <leeming@lyx.org>
3675
3676         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3677         type. Add a comment in the implementation that the function uses
3678         the stream's bad() function rather than fail() as the std::streams
3679         would do.
3680
3681 2003-12-02  André Pönitz  <poenitz@gmx.net>
3682
3683         * lyxlex.[Ch]: make interface more similar to std::stream
3684
3685         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3686
3687 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3688
3689         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3690
3691 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3692
3693         * vspace.[Ch]: remove VSpace::NONE
3694
3695 2003-12-01  André Pönitz  <poenitz@gmx.net>
3696
3697         * buffer.[Ch]:
3698         * lyxtext.h: move ParagraphList member to LyXText
3699         rename LyXText::ownerParagraphs to LyXText::paragraph
3700
3701         * CutAndPaste.C:
3702         * bufferview_funcs.C:
3703         * iterators.[Ch]:
3704         * lyx_cb.C:
3705         * paragraph.C:
3706         * rowpainter.C:
3707         * tabular.C:
3708         * text.C:
3709         * text2.C:
3710         * text3.C: adjust
3711
3712         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3713
3714         * undo.C: fix cursor positioning
3715
3716 2003-12-01  John Levon  <levon@movementarian.org>
3717
3718         * BufferView_pimpl.C: fix a crash on exit with
3719         a buffer open
3720
3721 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3722
3723         * BranchList.C: fix setSelected() method.
3724
3725 2003-11-28  André Pönitz  <poenitz@gmx.net>
3726
3727         * ParagraphParameters.[Ch]:
3728         * ParameterStruct.h: remove space above/below from Paragraph to
3729          InsetVSpace
3730
3731         * BufferView_pimpl.C:
3732         * factory.C:
3733         * lyxfunc.C:
3734         * lyxtext.h:
3735         * output_latex.C:
3736         * paragraph.C:
3737         * paragraph_funcs.C:
3738         * rowpainter.[Ch]:
3739         * text.C:
3740         * text2.C:
3741         * text3.C: adjust
3742
3743 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3744
3745         * factory.C: Syntax change for CharStyles
3746
3747 2003-11-28  André Pönitz  <poenitz@gmx.net>
3748
3749         * BufferView.[Ch]:
3750         * BufferView.[Ch]:
3751         * buffer.[Ch]:
3752         * buffer.[Ch]: move LyXText member
3753
3754 2003-11-28  André Pönitz  <poenitz@gmx.net>
3755
3756         * BufferView.[Ch]: make LyXText * text a private member
3757
3758         * BufferView_pimpl.C:
3759         * cursor.C:
3760         * iterators.C:
3761         * lyx_cb.C:
3762         * lyxfind.C:
3763         * lyxtext.h:
3764         * rowpainter.[Ch]:
3765         * text.C:
3766         * text2.C:
3767         * undo.C: adjust
3768
3769         * output_plaintext.C: cleanup
3770
3771 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3772
3773         * buffer.C:
3774         * lyxtextclass.[Ch]: parametrize SGML document header
3775
3776 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3777
3778         * converter.[Ch]:
3779         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3780         getFlavor().
3781
3782 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3783
3784         * text2.C (setFont): rework using PosIterator (no more recursive)
3785         (setCharFont): no more needed
3786         (setLayout): no more selection cursors fiddling (done by redoCursor)
3787         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3788         destroy remaining ones)
3789
3790 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3791
3792         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3793         * lyxtext.h: ditto
3794         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3795         selection cursors
3796         * lyxfunc.C: adjust
3797         * text3.C: adjust + re-allow multi par depth changes
3798         * textcursor.C: simplify a bit
3799
3800 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3801
3802         * src/buffer.C:
3803         * src/lyxlayout.C:
3804         * src/lyxlayout.h:
3805         * src/lyxtext.h:
3806         * src/output_docbook.C:
3807         * src/output_latex.C:
3808         * src/paragraph.C:
3809         * src/paragraph.h:
3810         * src/sgml.C:
3811         * src/sgml.h:
3812         * src/text2.C: Introducing a number of tags parametrizing various
3813         XML formats that we may want to support
3814
3815 2003-11-25  André Pönitz  <poenitz@gmx.net>
3816
3817         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3818
3819         * lyxtext.h (leftMargin/rightMargin): simplify interface
3820
3821         * rowpainter.C:
3822         * text.C:
3823         * text2.C:
3824         * text3.C: adjust
3825
3826 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3827
3828         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3829         master file to any child files. Fixes bug 546.
3830
3831 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3832
3833         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3834
3835 2003-11-24  André Pönitz  <poenitz@gmx.net>
3836
3837         * rowpainter.C: simplification
3838
3839         * text2.C (updateCounters): remove call to redoParagraph on
3840         changed labels as this is far too expensive.
3841
3842 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3843
3844         * converter.C (convert): fix a crash: this function gets
3845         called with buffer == 0 from importer code.
3846
3847 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3848
3849         * text3.C (cursorPrevious): make sure that we do not compare
3850         iterators form different containers.
3851         (cursorNext): ditto
3852
3853         * rowpainter.C (paintSelection): make sure that we do not compare
3854         iterators from different containers.
3855
3856         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3857         iterators from different ParagraphList containers.
3858         [NEXT] ditto
3859
3860         * text2.C (LyXText): change order of initialization slightly
3861         (operator=): new function. copy all variables except cache_par_
3862         (moveUp): make sure that we do not compare iterators from
3863         different ParagraphList constainers.
3864         (moveDown): ditto
3865
3866         * text.C (firstPar): new function
3867         (lastPar): new function
3868         (endPar): new function
3869
3870         * lyxtext.h: move things around and group public functions, public
3871         variables, private functions, private variables
3872
3873 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3874
3875         * factory.C: change call to InsetERT constructor to avoid
3876         additional invocation of method status
3877         * text2.C (toggleInset): remove redundant update() call
3878         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3879         instead of a Bufferview pointer
3880
3881 2003-11-21  André Pönitz  <poenitz@gmx.net>
3882
3883         * rowpainter.C: simplification
3884
3885 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3886
3887         * text3.C (dispatch): make possible to extend a word/row selection
3888         with the mouse
3889
3890 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3891
3892         * lyxtext.h: x0_,y0_ -> xo_,yo_
3893         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3894         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3895         * rowpainter.C (paintRows): paint full paragraphs
3896
3897 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3898
3899         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3900         screen coordinates)
3901
3902 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3903
3904         * lyxtext.h: add x0_, y0_
3905         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3906         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3907
3908 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3909
3910         * text2.C (setCursorIntern): move the x_target update here *
3911         * text3.C: change some bv() to true/false in calls to
3912         cursorUp/Down/Right/Left
3913         * cursor.C: use helper function.
3914
3915 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3916
3917         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3918         * paragraph_funcs.[Ch]: correct comment
3919         * rowpainter.C: do not paint selections away from bv->cursor()
3920         Fix a long standing selection painting bug.
3921         * text3.C: generalize mouse-selection code to LyXTexts other that
3922         top one
3923         * textcursor.C: do not use y coords if we can use par offsets
3924
3925 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3926
3927         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3928         cursor position after e.g. inset insert)
3929
3930 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3931
3932         * lyxfind.C (replace): adjust to locking removal + some
3933         code simplification
3934
3935 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3936
3937         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3938         of the path
3939
3940 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3941
3942         * lyxlayout.[Ch]:
3943         * output_docbook.C: XML sanitation: new layout
3944         parameters InnerTag and CommandDepth
3945
3946 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3947
3948         * BufferView_pimpl.C:
3949         * factory.C:
3950         * text3.C: Fix the insertion and modification of button-style
3951         insets
3952
3953 2003-11-13  André Pönitz  <poenitz@gmx.net>
3954
3955         * InsetList.[Ch]: remove deleteLyXText
3956
3957         * paragraph.[Ch]: cache beginOfBody position
3958
3959         * Bidi.C:
3960         * text.C:
3961         * text2.C:
3962         * text3.C: remove superfluous update() calls
3963
3964         * vspace.C: cleanup
3965
3966 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3967
3968         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3969         * BufferView.C (fitLockedInsetCursor): remove
3970         * cursor.[Ch] (getDim): add
3971         * text.C (getRowNearY): add faster version
3972         * text3.C: remove some update calls
3973
3974 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3975
3976         * LaTeXFeatures.C:
3977         * LyXAction.C:
3978         * MenuBackend.C:
3979         * MenuBackend.h:
3980         * dispatchresult.h:
3981         * factory.C:
3982         * lfuns.h:
3983         * lyxfunc.C:
3984         * lyxtextclass.C:
3985         * lyxtextclass.h:
3986         * text3.C: The Character Style /XML short element patch.
3987
3988 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3989
3990         * text3.C:
3991         * factory.C: Small step to solving 'unable to insert some insets'
3992         problem
3993
3994 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3995
3996         * cursor.[Ch] (updatePos): new function for updating the y
3997         position of the tip inset
3998         * bufferview_funcs.C (put_selection_at):
3999         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4000
4001 2003-11-11  André Pönitz  <poenitz@gmx.net>
4002
4003         * text.C: remove big comment on invalid Paragraph pointers as it is
4004         not valid anymore
4005
4006 2003-11-11  André Pönitz  <poenitz@gmx.net>
4007
4008         * text_funcs.[Ch]: merge with ...
4009
4010         * text.C: ... this
4011
4012         * lyxtext.h:
4013         * text2.C:
4014         * text3.C: adjust
4015
4016         * Makefile.am: remove text_funcs.[Ch]
4017
4018 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4019
4020         * cursor.C (getPos): return absolute cached y coord
4021
4022         * BufferView_pimpl.C (fitCursor): new simplistic code
4023         (workAreaDispatch): add a fitCursor call
4024
4025 2003-11-10  André Pönitz  <poenitz@gmx.net>
4026
4027         * BufferView.[Ch]:
4028         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4029
4030 2003-11-10  André Pönitz  <poenitz@gmx.net>
4031
4032         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4033         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4034         indicate that the cursor needs to leave an inset
4035
4036         * lyxtext.h: remove inset locking
4037
4038         * cursor.[Ch]: re-implement functionality provided by inset locking
4039
4040         * BufferView.[Ch]:
4041         * BufferView_pimpl.[Ch]:
4042         * LyXAction.C:
4043         * bufferview_funcs.[Ch]:
4044         * factory.C:
4045         * funcrequest.[Ch]:
4046         * iterators.C:
4047         * lyx_cb.C:
4048         * lyxfind.C:
4049         * lyxfunc.C:
4050         * text.C:
4051         * text2.C:
4052         * text3.C:
4053         * undo.C: adjust
4054
4055 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4056
4057         * PosIterator.[Ch]: replace the stack with a vector, add inset
4058         accesor
4059         * iterators.[C]: adjust
4060
4061 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4062
4063         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4064         replaced
4065         * paragraph_funcs.C (readParToken): put the correct id in the
4066         error item, not the id of the top paragraph
4067
4068 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4069
4070         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4071         * bufferview_funcs.C (put_selection_at): use the above
4072
4073 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4074
4075         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4076
4077 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4078
4079         * output_linuxdoc.h:
4080         * output_plaintext.h:
4081         * output.h:
4082         * output_docbook.h: add #include statements
4083
4084 2003-11-05  José Matos  <jamatos@lyx.org>
4085
4086         * output_docbook.[Ch]:
4087         * output_latex.[Ch]:
4088         * output_linuxdoc.[Ch]:
4089         * output_plaintext.[Ch]: New files for output formats.
4090         * output.[Ch]: New file for helper functions.
4091
4092         * buffer.[Ch]:
4093         * paragraph_funcs.[Ch]: output functions moved to new files.
4094
4095         * outputparams.h: rename of latexrunparams.h
4096
4097         * LaTeX.[Ch]:
4098         * buffer.[Ch]:
4099         * bufferlist.[Ch]:
4100         * converter.[Ch]:
4101         * exporter.C:
4102         * paragraph.[Ch]:
4103         * paragraph_funcs.[Ch]:
4104         * paragraph_pimpl.[Ch]:
4105         * tabular.[Ch]: rename ascii to plaintext
4106         and LatexRunParams to OutputParams.
4107
4108 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4109
4110         * iterators.[Ch] (text): require bv argument
4111         * undo.C (recordUndo):
4112         * lyxfunc.C (dispatch):
4113         * bufferview_funcs.C (put_selection_at): adjust
4114
4115 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
4116
4117         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4118
4119 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4120
4121         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4122         nestings
4123
4124 2003-11-04  André Pönitz  <poenitz@gmx.net>
4125
4126         * cursor.[Ch]: restructure
4127
4128         * BufferView.[Ch]:
4129         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4130
4131         * iterators.[Ch] (asCursor): remove
4132
4133         * lfuns.h: remove LFUN_INSET_EDIT
4134
4135         * lyxfunc.C:
4136         * tabular.C:
4137         * text.C:
4138         * text2.C:
4139         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4140
4141 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4142
4143         * lyxfind.[Ch]: complete overhaul
4144         * BufferView_pimpl.C:
4145         * lyxfunc.C: adjust
4146         * paragraph.[Ch] (insert): add
4147
4148 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4149
4150         * BufferView.[Ch]:
4151         * lyxtext.h:
4152         * text.C: remove dead spellcheck code
4153
4154 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4155
4156         * dispatchresult.h: add a val setter
4157
4158         * cursor.C (dispatch): use a tempvar for data_[i]
4159
4160 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4161
4162         * PosIterator.[Ch]: compile fix
4163
4164 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4165
4166         * text.C (cursorPar): deactivate the cursor cache
4167
4168 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4169
4170         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4171
4172 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4173
4174         * text3.C (dispatch): adjust for new DisptchResult semantics.
4175
4176         * lyxfunc.C (dispatch): handle update when return from
4177         Cursor::dispatch, adjust for new DispatchResult semantics.
4178
4179         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4180         DispatchResult(true) mean to not update. Add class functions for
4181         setting dispatched and update, as well as reading.
4182
4183         * cursor.C (dispatch): don't handle update here
4184
4185 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4186
4187         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4188         * trans_mgr.C: adjust
4189
4190         * paragraph_funcs.C (readParToken): exception safety
4191
4192         * lyxvc.h: store the vcs pointer in a scoped_ptr
4193         * lyxvc.C: adjust
4194
4195         * lyxsocket.C (serverCallback): exception safety
4196
4197         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4198
4199         * ispell.C (clone): make it return a auto_ptr
4200
4201         * factory.C (createInset): exception safety
4202         (readInset): exception safety
4203
4204         * bufferlist.C (newBuffer): exception safety
4205
4206         * Thesaurus.C (Thesaurus): use initialization for aik_
4207
4208         * MenuBackend.C (expandToc): exception safety.
4209
4210 2003-11-03  André Pönitz  <poenitz@gmx.net>
4211
4212         * buffer.C:
4213         * buffer.h:
4214         * bufferview_funcs.C: remove getInsetFromId()
4215
4216         * lyxcursor.[Ch]:
4217         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4218
4219         * lyxfunc.C:
4220         * text2.C:
4221         * text3.C: adjust
4222
4223 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4224
4225         * PosIterator.C (distance, advance): new
4226         * bufferview_funcs.[Ch] (put_selection_at): new
4227         * iterators.[Ch] (lockPath): new
4228
4229 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4230
4231         * iterators.[Ch] (asPosIterator): added
4232         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4233         * PosIterator.[Ch]: added
4234
4235 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4236
4237         * text3.C:
4238         * lyxfunc.C:
4239         * cursor.C (dispatch):
4240         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4241
4242         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4243         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4244         contructor, add a class function dispatched. Remove operator>=
4245
4246 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4247
4248         * debug.C: only use the default constructor for debugstream
4249         (lyxerr) here.
4250
4251         * main.C (main): include debug.h and setup the lyxerr streambuf
4252         here.
4253
4254 2003-10-31  José Matos  <jamatos@lyx.org>
4255
4256         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4257
4258         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4259         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4260         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4261         * paragraph_pimpl.C (simpleTeXSpecialC):
4262         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4263         add LatexRunParams argument.
4264
4265         * exporter.C (Export): change call accordingly.
4266
4267         * latexrunparams.h: add new member to take care of the other backends.
4268 2003-10-30  José Matos  <jamatos@lyx.org>
4269
4270         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4271         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4272         factorise code for paragraph output.
4273         * buffer.[Ch]:
4274         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4275         move functions.
4276
4277 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4278
4279         * text3.C (dispatch):
4280         * lyxfunc.C (dispatch):
4281         * cursor.C (dispatch):
4282         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4283
4284         * dispatchresult.h: make the dispatch_result_t ctor explicit
4285
4286 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4287
4288         * sgml.[Ch]:
4289         * buffer.C: small refactoring of docbook stuff
4290
4291 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4292
4293         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4294         meaning.
4295
4296 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4297
4298         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4299         operator dispatch_result_t, and operators for == != and >=
4300
4301         * cursor.C (dispatch): adjust for operator dispatch_result_t
4302         removal. comment out call to update
4303
4304         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4305
4306 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4307
4308         * text3.C:
4309         * text2.C:
4310         * text.C:
4311         * lyxtext.h:
4312         * lyxfunc.C:
4313         * cursor.C:
4314         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4315         (dispatch):
4316
4317         * dispatchresult.h: new file, DispatchResult broken out of
4318         insets/insetbase.h
4319
4320         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4321
4322 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4323
4324         * text.C (rowBreakPoint): put a hack inside #if 0
4325
4326 2003-10-28  André Pönitz  <poenitz@gmx.net>
4327
4328         * lyxtext.h:
4329         * metricsinfo.C:
4330         * paragraph_funcs.C:
4331         * rowpainter.C:
4332         * text.C:
4333         * text2.C: general cleanup (lots of small stuff)
4334
4335 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4336
4337         * text2.C (cursorEnd): simple fix to the "end key goes to one
4338         before the end on last row" bug
4339
4340 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4341
4342         * text.C (backspace): fix the "zombie characters"
4343
4344 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4345
4346         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4347
4348 2003-10-27  André Pönitz  <poenitz@gmx.net>
4349
4350         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4351
4352         * factory.C: handle new InsetPagebreak, InsetLine
4353
4354         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4355         and move handling into new InsetPagebreak, InsetLine
4356
4357         * BufferView_pimpl.C:
4358         * LyXAction.C:
4359         * ParagraphParameters.C:
4360         * ParameterStruct.h:
4361         * lyxfunc.C:
4362         * lyxtext.h:
4363         * paragraph.C:
4364         * paragraph.h:
4365         * paragraph_funcs.C:
4366         * paragraph_pimpl.C:
4367         * rowpainter.C:
4368         * text.C:
4369         * text2.C:
4370         * text3.C: adjust
4371
4372 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4373
4374         * text.C:
4375         * lyxrow_funcs.[Ch]:
4376         * Bidi.C:
4377         * paragraph.C:
4378         * lyxtext.h:
4379         * rowpainter.C:
4380         * text2.C:
4381         * text3.C: remove lastPos uses in favour of Row::endpos
4382
4383 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4384
4385         * undo.C (performUndoOrRedo): fix two crashes by setting a
4386         cursor by hand and reordering some calls. Use bv->lockInset instead
4387         of inset->edit because the latter loses cursor information
4388
4389 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4390
4391         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4392         by Martin
4393         (rowBreakPoint): fix width. change point to point + 1.
4394         Add a missing check.
4395
4396 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4397
4398         * MenuBackend.C:
4399         * lyxfunc.C: fix (at least partly) the problems
4400         with the Nav menu and headers inside branch insets
4401         reported by Kayvan
4402
4403 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4404
4405         * paragraph.C (getChar): add strong asserts
4406
4407         * lyxrow_funcs.C (lastPos): remove hideous hack
4408
4409         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4410         (fill): adjust to that (avoid an infinite loop)
4411
4412 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4413
4414         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4415
4416 2003-10-23  André Pönitz  <poenitz@gmx.net>
4417
4418         * RowList_fwd.h: change list<> to vector<> to gain speed
4419         after suggestion from Alfredo
4420
4421 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4422
4423         * lyxtext.h: move the bidi stuff from here...
4424         * text.C: and here
4425         * text2.C: and here
4426         * Bidi.[Ch]: ... to here
4427
4428 2003-10-23  André Pönitz  <poenitz@gmx.net>
4429
4430         * lyxtext.h:
4431         * text.C (isLastRow, isFirstRow): new functions
4432
4433         * paragraph.h: new width cache member
4434
4435         * rowpainter.C: replace RowList::iterator with Row & where possible
4436
4437         * lyxfunc.C: replace several view()->text with a single call
4438
4439         * toc.C: fix 'unused' warning
4440
4441 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4442
4443         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4444         when woring with stream::pos_type
4445         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4446
4447 2003-10-22  André Pönitz  <poenitz@gmx.net>
4448
4449         * lyxtext.h:
4450         * text.C: use Row & instead of RowList::iterator
4451
4452         * lyxrow.h: rename end() to endpos()
4453
4454         * rowpainter.C:
4455         * text.C:
4456         * text2.C: adjust
4457
4458 2003-10-22  Angus Leeming  <leeming@lyx.org>
4459
4460         * buffer.[Ch] (fully_loaded): new member function, returning true
4461         only when the file has been loaded fully.
4462         Used to prevent the premature generation of previews and by the
4463         citation inset to prevent computation of the natbib-style label.
4464
4465         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4466         templates are all set up.
4467
4468         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4469
4470 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4471
4472         * text.C: fixed an "oops" in the "is a bit silly"
4473         bug fix
4474
4475 2003-10-21  André Pönitz  <poenitz@gmx.net>
4476
4477         * FuncStatus.[Ch]: small stuff, whitespace
4478
4479         * lyxfont.[Ch]: operator<<() for debug reasons
4480
4481         * lyxfunc.C:
4482         * lyxrow_funcs.C:
4483         * lyxtext.h: whitespace, spelling
4484
4485         * paragraph.C: naming of variables
4486
4487         * text.C:
4488         * text2.C: small stuff
4489
4490
4491 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4492
4493         * text.C: (1) finish off the inset display() work;
4494         (2) fix the "is a bit silly" bug (accessing char
4495         past end of par).
4496
4497 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4498
4499         * text.C: re-introduce display() for insets, fixing the
4500         various bugs (stretch of line above, math inset
4501         positioning, ...)
4502
4503 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4504
4505         * text.C (rightMargin): remove spurious semicolon
4506
4507         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4508         1415)
4509
4510 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4511
4512         * text3.C: fix one crash due to wrong cursor def
4513
4514 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4515
4516         * vc-backend.C (scanMaster): make the regex static
4517
4518         * LaTeX.C (scanAuxFile): make the regexs static
4519
4520         * text3.C (doInsertInset, dispatch, dispatch):
4521         * text2.C (cursorUp, cursorDown):
4522         * text.C (selectNextWordToSpellcheck):
4523         * BufferView_pimpl.C (dispatch):
4524         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4525
4526 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4527
4528         * lyxsocket.C: include <cerrno>
4529
4530 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4531
4532         * lyxfunc.C (dispatch): remove textcache stuff
4533
4534         * bufferlist.C (release): remove textcache stuff
4535         (closeAll): ditto
4536
4537         * TextCache.C: delete file
4538         * TextCache.h: delete file
4539
4540         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4541
4542         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4543         delete of the bv_->text.
4544         (resizeCurrentBuffer): remove texcache stuff
4545         (workAreaResize): ditto
4546
4547 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4548
4549         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4550         action.
4551
4552 2003-10-16  André Pönitz  <poenitz@gmx.net>
4553
4554         * lyxrow.[Ch]:
4555         * paragraph.h:
4556         * rowpainter.C:
4557         * text.C:
4558         * text2.C:
4559         * text3.C: speed up by storing y positions per paragraph plus per-row
4560         offset instead of having a 'full' y position in the row.
4561
4562 2003-10-15  André Pönitz  <poenitz@gmx.net>
4563
4564         * iterators.[Ch]:
4565         * iterators.[Ch]:
4566         * undo.[Ch]: make undo aware of inner insets
4567
4568 2003-10-14  Angus Leeming  <leeming@lyx.org>
4569
4570         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4571         static member functions LyX::ref() and LyX::cref.
4572         (lastfiles): new accessor functions for the new lastfiles_ member var.
4573         (addLyXView, views_): add a new LyXView to the list of views_.
4574         (updateInset): loop over all LyXViews to call their own updateInset
4575         member function, returning a pointer to the Buffer owning the inset.
4576
4577         * BufferView_pimpl.C (loadLyXFile):
4578         * MenuBackend.C (expandLastfiles):
4579         * bufferlist.C (MenuWrite, QuitLyX):
4580         lastfiles is no longer a global variable.
4581         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4582
4583         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4584         static function. Access through LyX::cref().emergencyCleanup().
4585
4586 2003-10-14  André Pönitz  <poenitz@gmx.net>
4587
4588         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4589
4590         * undo.[Ch]: restoring part of 'undo in insets'
4591
4592         * Makefile.am:
4593         * undo_funcs.[Ch]: merge with undo.[Ch]
4594
4595         * tabular.C: small cleansing stuff
4596
4597 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4598
4599         * paragraph_funcs.C (readParToken): report unknown insets as error
4600         boxes. Use the outer paragraph as location (also for unknown
4601         tokens).
4602
4603         * factory.C (readInset): do not abort on reading an unknown inset.
4604         Eat it and return 0.
4605
4606 2003-10-13  Angus Leeming  <leeming@lyx.org>
4607
4608         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4609
4610         * lyxrc.C: displayTranslator is now a function,
4611         declared in GraphicsTypes.h.
4612
4613 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4614
4615         * format.C: new placeholder $$a to pass the socket address.
4616
4617         * bufferlist.[Ch]: new function getBufferFromTmp.
4618
4619         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4620           files in the temporary dir.
4621
4622 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4623
4624         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4625
4626         * Makefile.am: add lyxsocket.[Ch].
4627
4628         * lyx_main.C (error_handler): handle SIGPIPE.
4629
4630 2003-10-13  André Pönitz  <poenitz@gmx.net>
4631
4632         * BufferView_pimpl.C:
4633         * lyxtext.h:
4634         * text.C:
4635         * text2.C:
4636         * text3.C:
4637         * undo_funcs.[Ch]: use paroffset_type instead of
4638           ParagraphList::iterators to prevent multiple conversion
4639           (and get a more robust interface)
4640
4641 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4642
4643         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4644         * lyxtext.h: ditto
4645         * text3.C (dispatch): ditto
4646
4647 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4648
4649         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4650         move the onlyfile, use onlyfile instead of foundfile in a couple
4651         of places.
4652
4653         * DepTable.C (update): flush the error stream a bit more
4654
4655 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4656
4657         * lyxserver.C (callback): adjust
4658
4659         * lyxfunc.C (getStatus): add a missing brace in commented code
4660         (ensureBufferClean): reindent
4661         (dispatch): delete version taking a string
4662
4663 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4664
4665         * LaTeX.C (deplog): move found file handlig from here...
4666         (handleFoundFile): .. to new function here.
4667         (deplog): make sure to discover several files mentioned on the
4668         same log line.
4669
4670 2003-10-10  André Pönitz  <poenitz@gmx.net>
4671
4672         * lyxfunc.C:
4673         * lyxtext.h:
4674         * tabular.C:
4675         * text.C:
4676         * text2.C:
4677         * text3.C: fix some of the tabular crashes
4678
4679 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4680
4681         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4682
4683         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4684
4685 2003-10-09  André Pönitz  <poenitz@gmx.net>
4686
4687         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4688
4689         * BufferView.C:
4690         * BufferView_pimpl.C:
4691         * bufferview_funcs.C:
4692         * lyx_cb.C:
4693         * lyxcursor.C:
4694         * lyxfind.C:
4695         * lyxfunc.C:
4696         * lyxtext.h:
4697         * text.C:
4698         * text2.C:
4699         * text3.C:
4700         * text_funcs.[Ch]:
4701         * textcursor.[Ch]:
4702         * undo_funcs.C: adjust
4703
4704 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4705
4706         * text2.C (incrementItemDepth): new function, use a backtracking
4707         algorithm to discover the correct item depth.
4708         (resetEnumCounterIfNeeded): new function, use a backtracking
4709         algorithm to discover if counter reset is needed.
4710         (setCounter): use them. Simplify a bit. Add different labels for
4711         different item depths for itemize.
4712
4713         * paragraph.C (Paragraph): remove initialization of enumdepth
4714         (operator=): ditto
4715
4716         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4717         enumerate and itemize. Change the type of itemdepth to signed char.
4718
4719 2003-10-08  André Pönitz  <poenitz@gmx.net>
4720
4721         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4722           thing assignable.
4723         * text.C:
4724         * text2.C: adjust
4725
4726         * tabular.[Ch]: fix crash after 'row-insert'
4727
4728 2003-10-08  Angus Leeming  <leeming@lyx.org>
4729
4730         Fix doxygen warnings.
4731
4732         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4733         Remove CutAndPaste:: prefix from header file declaration.
4734
4735         * LColor.h (fill): remove LColor:: prefix from declaration.
4736
4737         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4738         use lyx::depth_type rather than Paragraph::depth_type so that
4739         header file and .C file match.
4740
4741         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4742
4743         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4744         * aspell.C: \file aspell_local.C -> \file aspell.C
4745         * gettext.C: \file gettext.C -> \file src/gettext.C
4746         * gettext.h: \file gettext.h -> \file src/gettext.h
4747         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4748         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4749         * text.C: \file text.C -> \file src/text.C
4750
4751         * toc.C: move comment so that doxygen is not confused.
4752
4753 2003-10-07  Angus Leeming  <leeming@lyx.org>
4754
4755         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4756
4757 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4758
4759         * aspell.C:
4760         * aspell_local.h: add forgotten std::string's.
4761
4762 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4763
4764         * LaTeXFeatures.C:
4765         * LyXAction.C:
4766         * factory.C:
4767         * lfuns.h:
4768         * lyxfunc.C:
4769         * text3.C: The Box patch. Fancybox support, minipage, parbox
4770
4771 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4772
4773         * CutAndPaste.h:
4774         * DepTable.h:
4775         * FloatList.h:
4776         * LaTeXFeatures.h:
4777         * ParagraphParameters.h:
4778         * TextCache.h:
4779         * Thesaurus.h:
4780         * bufferlist.h:
4781         * exporter.h:
4782         * importer.h:
4783         * lastfiles.h:
4784         * lyxfind.h:
4785         * lyxfont.h:
4786         * lyxlex.h:
4787         * lyxtextclasslist.h:
4788         * messages.h:
4789         * paragraph.h:
4790         * paragraph_pimpl.C:
4791         * textcursor.h: add <string> and other small fixes to make Lars'
4792         std::string patch compile with STLport.
4793
4794 2003-10-06  Angus Leeming  <leeming@lyx.org>
4795
4796         * LColor.h: Add missing #include <string>.
4797
4798 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4799
4800         * All most all file in all subdirs: Make <string> be the prefered
4801         way of getting to std::string, add using declarations.
4802
4803 2003-10-06  André Pönitz  <poenitz@gmx.net>
4804
4805         * metricsinfo.C: initialize LyXFont before changing attribute.
4806         (fixes the 'math in \emph is upright' bug)
4807
4808 2003-10-06  André Pönitz  <poenitz@gmx.net>
4809
4810         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4811
4812 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4813
4814         * graph.C:
4815         * paragraph_pimpl.C: Small fixes to build using STLport
4816
4817 2003-10-02  André Pönitz  <poenitz@gmx.net>
4818
4819         * lyxfunc.C:
4820         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4821
4822 2003-10-01  André Pönitz  <poenitz@gmx.net>
4823
4824         * factory.C: assert early
4825
4826 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4827
4828         * lyx_main.C: remove the global debug object
4829
4830         * debug.h: adjust for new debugstream
4831
4832         * debug.C: adjust for new debugstream and keep the global debug
4833         object here.
4834
4835 2003-09-22  Angus Leeming  <leeming@lyx.org>
4836
4837         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4838         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4839         an incomplete class LyXFont.
4840
4841 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4842
4843         * factory.C: bug fix in branches
4844
4845 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4846
4847         * lyxfunc.C (processKeySym): adjust
4848         (dispatch): adjust
4849         (dispatch): change arg name from ev to func, adjust
4850         (sendDispatchMessage): ditto
4851
4852         * lyx_main.C (defaultKeyBindings): adjust keybindings
4853         (deadKeyBindings): ditto
4854
4855         * kbsequence.C (addkey): return a FuncRequest
4856
4857         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4858
4859         * kbmap.C (bind): take a FuncRequest as arg, adjust
4860         (read): adjust
4861         (lookup): adjust
4862         (defkey): change to take a FuncRequest as arg, adjust
4863         (findbinding): take a FuncRequest as arg, adjust.
4864
4865         * funcrequest.h (operator=): added
4866
4867         * funcrequest.C (FuncRequest): default kb_action changed from
4868         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4869
4870         * buffer.C (dispatch): simplify
4871         (dispatch): adjust to take a FuncRequest as arg, adjust
4872
4873         * boost.C (assertion_failed): change assertion message slightly
4874
4875         * ToolbarBackend.C (read): simplify
4876
4877         * MenuBackend.C (binding): adjust call to findbinding, add a
4878         message if no binding is found.
4879         (read): simplify
4880         (expandToc): correct by adding a empty FuncRequest
4881
4882         * LyXAction.C: include <boost/assert.hpp>
4883         (isPseudoAction): delete function
4884         (LookupFunc): change name to...
4885         (lookupFunc): this. change return type to FuncRequest.
4886         (getActionName): take kb_action as arg, simplify
4887         (funcHasFlag): add an assert, simplify.
4888
4889 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4890
4891         * toc.C (action): return a FuncRequest, simplify
4892
4893         * lyxfunc.C (processKeySym): adjust
4894         (getStatus): delete version that takes an int.
4895         (getStatus): adjust
4896         (dispatch): delete version that takes action as int
4897         (dispatch): adjust
4898         (sendDispatchMessage): simplify and adjust
4899
4900         * funcrequest.C (getArg): take unsigned int as arg
4901
4902         * ToolbarBackend.C (read): adjust
4903         (add): delete version that takes func as a string.
4904         (getIton): take a FuncRequest as arg
4905
4906         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4907         action.
4908
4909         * MenuBackend.C (MenuItem): add a new construct that only takes a
4910         Kind, simplify the constructor use for submenus.
4911         (add): adjust
4912         (expandLastfiles): adjust
4913         (expandDocuments): adjust
4914         (expandFormats): adjust
4915         (expandFloatListInsert): adjust
4916         (expandFloatInsert): adjust
4917         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4918
4919         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4920         Remove class variables lyx_pseudo_map and lyx_arg_map
4921
4922         * LyXAction.C (searchActionArg): delete function
4923         (getPseudoAction): delete function
4924         (retrieveActionArg): delete function
4925         (LookupFunc): make it return kb_action, simplify.
4926         (getActionName): simplify
4927
4928         * factory.C (createInset): fix new bug
4929
4930 2003-09-19  Angus Leeming  <leeming@lyx.org>
4931
4932         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4933         masterFilename_ parameter in the include inset.
4934
4935         * factory.C (createInset): changes due to the changes to InsetInclude.
4936
4937 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4938
4939         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4940
4941 2003-09-18  Angus Leeming  <leeming@lyx.org>
4942
4943         * buffer.C:
4944         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4945         Inset::fillWithBibKeys.
4946         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4947
4948 2003-09-18  Angus Leeming  <leeming@lyx.org>
4949
4950         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4951         variables.
4952         (ctor): pass and store a 'Buffer const &'
4953         (buffer): new member function.
4954
4955         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4956         '*this' to the LaTeXFeatures ctor.
4957
4958 2003-09-18  Angus Leeming  <leeming@lyx.org>
4959
4960         * LColor.h:
4961         * lyxfont.C:
4962         * lyxfont.h:
4963         * lyxtext.h:
4964         * text.C: rename EnumLColor as LColor_color.
4965
4966 2003-09-18  Angus Leeming  <leeming@lyx.org>
4967
4968         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4969         remove #include "insets/insetbase.h" from cursor.h.
4970
4971 2003-09-18  Angus Leeming  <leeming@lyx.org>
4972
4973         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4974         InsetOld_code to remove #include "inset.h".
4975
4976         * iterators.C: add #include "insets/inset.h"
4977
4978 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4979
4980         * BufferView.C: remove more locking stuff that apparently doesn't
4981         do anything sensible.
4982
4983 2003-09-16  André Pönitz  <poenitz@gmx.net>
4984
4985         * paragraph.[Ch]:
4986         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4987           performance boost.
4988
4989 2003-09-16  Angus Leeming  <leeming@lyx.org>
4990
4991         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4992
4993         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4994         arg/return type.
4995
4996         * paragraph.h: remove #include "lyxfont.h". Forward declare
4997         LyXFont_size.
4998
4999 2003-09-16  Angus Leeming  <leeming@lyx.org>
5000
5001         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5002         of support/textutils.h.
5003         (isWord): move the contents of support/textutils.h's IsWordChar here.
5004
5005         * buffer.C:
5006         * lyxfind.C:
5007         * rowpainter.C:
5008         * text.C:
5009         * text2.C: add #include "paragraph.h".
5010
5011         * rowpainter.C:
5012         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5013
5014 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5015
5016         * main.C:
5017         * lyx_main.C:
5018         * lyx_cb.C:
5019         * buffer.C:
5020         * LaTeX.C: use namespace alias for lyx::support::os
5021
5022 2003-09-16  Angus Leeming  <leeming@lyx.org>
5023
5024         * bufferparams.C:
5025         * bufferview_funcs.C:
5026         * factory.C:
5027         * lyxfunc.C:
5028         * paragraph_pimpl.C:
5029         * rowpainter.C:
5030         * text.C: add #include "LColor.h".
5031
5032 2003-09-16  Angus Leeming  <leeming@lyx.org>
5033
5034         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5035         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5036         return LyXFont &.
5037         Store the FontBits::color variable as an int rather than as an
5038         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5039         file.
5040
5041         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5042         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5043         string calls together.
5044
5045         * lyxrc.C: add #include "LColor.h".
5046
5047 2003-09-15  Angus Leeming  <leeming@lyx.org>
5048
5049         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5050         a cow_ptr.
5051
5052 2003-09-15  Angus Leeming  <leeming@lyx.org>
5053
5054         * LColor.h: add an EnumLColor wrapper for LColor::color.
5055
5056         * lyxfont.[Ch] (color, setColor, realColor):
5057         * lyxtext.h, text.C (backgroundColor):
5058         pass EnumLColor args to/from the functions, rather than LColor::color
5059         ones.
5060
5061         * lyxfont.h:
5062         * lyxtext.h: forward declare EnumLColor.
5063
5064         * lyx_main.C: add #include "LColor.h".
5065
5066 2003-09-15  Angus Leeming  <leeming@lyx.org>
5067
5068         * .cvsignore: add lyx-gtk.
5069
5070 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5071
5072         * Chktex.C
5073         * LaTeX.C
5074         * LaTeXFeatures.C
5075         * ParagraphParameters.C
5076         * Spacing.C
5077         * buffer.C
5078         * bufferparams.C
5079         * bufferview_funcs.C
5080         * chset.C
5081         * counters.C
5082         * funcrequest.C
5083         * lyxfont.C
5084         * lyxgluelength.C
5085         * lyxlength.C
5086         * paragraph.C
5087         * paragraph_funcs.C
5088         * text3.C
5089         * vc-backend.C: remove usage of STRCONV
5090
5091 2003-09-15  Angus Leeming  <leeming@lyx.org>
5092
5093         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5094         explicitly define the color passed to the painter.
5095
5096 2003-09-15  Angus Leeming  <leeming@lyx.org>
5097
5098         * bufferparams.C (BufferParams): reorder member initializers to avoid
5099         compiler warning.
5100
5101 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5102
5103         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5104         * text.C (updateRowPositions): remove an unusual nop
5105
5106 2003-09-12  André Pönitz  <poenitz@gmx.net>
5107
5108         * BufferView_pimpl.C:
5109         * Bullet.C:
5110         * layout.h:
5111         * lyxfunc.C:
5112         * lyxlayout.[Ch]:
5113         * lyxtextclass.C:
5114         * rowpainter.C:
5115         * text.C:
5116         * text2.C:
5117         * Counters.[Ch]: finish the 'automatic counters' job
5118
5119 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5120
5121         * aspell.C: include <boost/assert.cpp> (compile fix)
5122
5123 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5124
5125         * boost.C (assertion_failed): use lyx::support::abort instead of
5126         assert.
5127
5128 2003-09-10  Angus Leeming  <leeming@lyx.org>
5129
5130         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5131         with their _fwd progeny.
5132
5133 2003-09-09  Angus Leeming  <leeming@lyx.org>
5134
5135         134 files throughtout the source tree: replace 'using namespace abc;'
5136         directives with the appropriate 'using abc::xyz;' declarations.
5137
5138 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5139
5140         * boost.C (emergencyCleanup): moved here from LAssert.c
5141         (assertion_failed): new function, called by BOOST_ASSERT
5142
5143         * several files: change Assert to BOOST_ASSERT
5144
5145 2003-09-09  Angus Leeming  <leeming@lyx.org>
5146
5147         * buffer.[Ch]: Add an Impl class and move Buffer's member
5148         variables into it. As a result move several header files out of
5149         buffer.h.
5150
5151         Add header files to lots of .C files all over the tree as a result.
5152
5153 2003-09-09  Angus Leeming  <leeming@lyx.org>
5154
5155         * buffer.[Ch]: make Buffer's member variables private. Add
5156         accessor functions.
5157
5158         Lots of changes all over the tree as a result.
5159
5160 2003-09-08  Angus Leeming  <leeming@lyx.org>
5161
5162         * graph.C: #include <config.h>.
5163
5164 2003-09-08  Angus Leeming  <leeming@lyx.org>
5165
5166         * BranchList.C:
5167         * BufferView.C:
5168         * BufferView_pimpl.C:
5169         * CutAndPaste.C:
5170         * DepTable.C:
5171         * LaTeX.C:
5172         * LaTeXFeatures.C:
5173         * LyXAction.C:
5174         * MenuBackend.C:
5175         * TextCache.C:
5176         * aspell.C:
5177         * buffer.C:
5178         * bufferlist.C:
5179         * changes.C:
5180         * chset.C:
5181         * converter.C:
5182         * counters.C:
5183         * debug.C:
5184         * graph.C:
5185         * ispell.C:
5186         * lyx_cb.C:
5187         * lyxfind.C:
5188         * lyxfunc.C:
5189         * lyxlex_pimpl.C:
5190         * lyxrc.C:
5191         * lyxrow.C:
5192         * paragraph.C:
5193         * rowpainter.C:
5194         * texrow.C:
5195         * text.C:
5196         * text2.C:
5197         * toc.C: remove redundant using directives.
5198
5199 2003-09-07  Angus Leeming  <leeming@lyx.org>
5200
5201         * LaTeXFeatures.h: remove #include "support/types.h".
5202         * ToolbarBackend.h: remove #include <algorithm>.
5203         * changes.h: remove #include <ctime>.
5204         * debug.h: remove #include <iosfwd>.
5205         * graph.h: remove #include "support/std_string.h".
5206         * lyx_main.h: remove #include <csignal>.
5207         * lyxlex_pimpl.h: remove #include <fstream>.
5208         * sgml.h: remove #include <algorithm>, <utility>.
5209         * toc.h: remove #include "support/std_ostream.h".
5210         Add #include <iosfwd>.
5211
5212 2003-09-07  Angus Leeming  <leeming@lyx.org>
5213
5214         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5215
5216         * converter.h: forward declare LatexRunParams.
5217         * encoding.h: remove #include "lyxrc.h".
5218         * lyxtext.h: remove #include "LColor.h".
5219         * lyxtextclass.h: remove #include "support/types.h".
5220         * trans.h: remove #include "tex-accent.h".
5221         * trans_mgr.h: remove #include "tex-accent.h".
5222         * insets/inset.h: remove #include "support/types.h", <vector>.
5223         * insets/insetcollapsable.h: remove #include "LColor.h".
5224         * insets/insetinclude.h: remove #include "dimension.h".
5225         * insets/insetlatexaccent.h: remove #include "dimension.h".
5226         * insets/insetoptarg.h:: remove #include "insettext.h".
5227         * insets/insettext.h: remove #include "dimension.h",
5228         <boost/shared_ptr.hpp>
5229
5230         * insets/renderers.h: add #include "dimension.h".
5231         * insets/updatableinset.h: add #include "support/types.h".
5232
5233         * many .C files: Associated changes.
5234
5235 2003-09-06  Angus Leeming  <leeming@lyx.org>
5236
5237         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5238         one, inside testInvariant.
5239
5240         * PrinterParams.C: new file.
5241         * PrinterParams.[Ch]: move the function bodies out of line.
5242
5243 2003-09-06  Angus Leeming  <leeming@lyx.org>
5244
5245         * ParagraphParameters.h: forward declare ParameterStruct rather than
5246         including its header file.
5247         (depth): moved out-of-line.
5248
5249 2003-09-06  Angus Leeming  <leeming@lyx.org>
5250
5251         * BufferView_pimpl.h:
5252         * kbmap.h:
5253         * kbsequence.h:
5254         * lyxfunc.h: forward declare LyXKeySym rather than
5255         #include "frontends/LyXKeySym.h".
5256
5257         * BufferView_pimpl.C:
5258         * kbmap.C:
5259         * kbsequence.C:
5260         * lyxfunc.C: associated changes.
5261
5262 2003-09-06  Angus Leeming  <leeming@lyx.org>
5263
5264         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5265         As a result, can remove the #include "insets/inset.h" from BufferView.h
5266
5267 2003-09-06  Angus Leeming  <leeming@lyx.org>
5268
5269         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5270         As a result, can remove the #include "insets/inset.h" from BufferView.h
5271
5272 2003-09-06  Angus Leeming  <leeming@lyx.org>
5273
5274         * buffer_funcs.C:
5275         * buffer.h:
5276         * bufferlist.C:
5277         * BufferView.C:
5278         * bufferview_funcs.C:
5279         * BufferView_pimpl.C:
5280         * CutAndPaste.C:
5281         * lyx_cb.C:
5282         * lyxfunc.C:
5283         * paragraph.h:
5284         * ParagraphParameters.C:
5285         * tabular.C:
5286         * text3.C:
5287         * toc.C:
5288         * undo_funcs.C:
5289         * frontends/controllers/ControlDocument.C:
5290         * insets/insetcaption.C: rearrange the #includes into some sort of
5291         coherent order.
5292
5293         * buffer.h: remove #includes ErrorList.h, undo.h
5294
5295 2003-09-06  Angus Leeming  <leeming@lyx.org>
5296
5297         * support/types.h: add a 'depth_type' typedef, used to store the
5298         nesting depth of a paragraph.
5299
5300         * paragraph.h:
5301         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5302         defining explicitly.
5303
5304         * buffer.h:
5305         * paragraph_funcs.h:
5306         * ParagraphParameters.h:
5307         * sgml.h: use lyx::depth_type rather than Paragraph or
5308         ParameterStruct's depth_type.
5309
5310         * buffer.h
5311         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5312
5313         * BufferView.C:
5314         * BufferView_pimpl.C:
5315         * CutAndPaste.C:
5316         * ParagraphParameters.C:
5317         * buffer_funcs.C:
5318         * bufferlist.C:
5319         * bufferview_funcs.C:
5320         * lyx_cb.C:
5321         * lyxfunc.C:
5322         * tabular.C:
5323         * text3.C:
5324         * toc.C:
5325         * undo_funcs.C:
5326         * frontends/LyXView.C:
5327         * frontends/controllers/ControlDocument.C:
5328         * frontends/controllers/ControlErrorList.C:
5329         * insets/insetbibitem.C:
5330         * insets/insetbranch.C:
5331         * insets/insetcaption.C:
5332         * insets/insetcollapsable.C:
5333         * insets/insetenv.C:
5334         * insets/insetert.C:
5335         * insets/insetfloat.C:
5336         * insets/insetfoot.C:
5337         * insets/insetfootlike.C:
5338         * insets/insetnewline.C:
5339         * insets/insetquotes.C:
5340         * insets/insettabular.C:
5341         * insets/insettext.C:
5342         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5343
5344         * frontends/controllers/ControlChanges.C: #include "changes.h".
5345
5346 2003-09-06  Angus Leeming  <leeming@lyx.org>
5347
5348         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5349         than #including paragraph.h.
5350
5351         * ParagraphList.h:
5352         * RowList.h: deleted. Superfluous.
5353
5354         * CutAndPaste.h:
5355         * iterators.h:
5356         * lyxcursor.h:
5357         * lyxtext.h:
5358         * text_funcs.h:
5359         * undo.h:
5360         * undo_funcs.h:
5361         * insets/inset.h:
5362         * insets/insettext.h: use ParagraphList_fwd.h rather than
5363         ParagraphList.h.
5364
5365         * paragraph.h: don't forward declare ParagraphList.
5366
5367         * buffer.h:
5368         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5369         rather than ParagraphList.h. paragraph.h is still needed for the
5370         Paragraph::depth_type parameters.
5371
5372         * textcursor.h: enable it to compile stand-alone in light of the
5373         above changes.
5374
5375         * bufferview_funcs.C:
5376         * iterators.C:
5377         * lyxfunc.C:
5378         * lyxrow_funcs.C:
5379         * paragraph.C:
5380         * rowpainter.C:
5381         * text.C:
5382         * text2.C:
5383         * text3.C:
5384         * text_funcs.C:
5385         * textcursor.C:
5386         * undo.C:
5387         * frontends/controllers/ControlParagraph.C:
5388         * frontends/controllers/ControlTabular.C:
5389         * insets/insetmarginal.C:
5390         * insets/insetminipage.C:
5391         * insets/insetnote.C:
5392         * insets/insetoptarg.C: add header files needed to compile again.
5393
5394 2003-09-06  Angus Leeming  <leeming@lyx.org>
5395
5396         * RowList_fwd.h: new file, forward-declaring Row rather than
5397         #including lyxrow.h.
5398
5399         * lyxrow_funcs.h:
5400         * lyxtext.h:
5401         * paragraph.h:
5402         * insets/insettext.h: use it instead of RowList.h
5403
5404         * bufferview_funcs.C:
5405         * lyxfunc.C:
5406         * lyxrow_funcs.C:
5407         * paragraph.C:
5408         * rowpainter.C:
5409         * text.C:
5410         * text2.C:
5411         * text3.C: #include "RowList.h".
5412
5413 2003-09-05  Angus Leeming  <leeming@lyx.org>
5414
5415         * factory.C (createInset):
5416         * vspace.C (c-tor): replace sscanf call with an istringstream.
5417         * ispell.C: re-add missing HP/UX headers.
5418         * lyxserver.C: re-add missing  os2 headers.
5419
5420 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5421
5422         * BranchList.C:
5423         * graph.C:
5424         * ispell.C:
5425         * lastfiles.C:
5426         * lyx_cb.C:
5427         * lyxserver.C:
5428         * texrow.C:
5429         * text3.C: re-add missing system headers, needed for 2.95.2.
5430
5431 2003-09-05  Angus Leeming  <leeming@lyx.org>
5432
5433         Changes most place everywhere due to the removal of using directives
5434         from support/std_sstream.h.
5435
5436 2003-09-05  Angus Leeming  <leeming@lyx.org>
5437
5438         Replace LString.h with support/std_string.h,
5439         Lsstream.h with support/std_sstream.h,
5440         support/LIstream.h with support/std_istream.h,
5441         support/LOstream.h with support/std_ostream.h.
5442
5443         Changes resulting throughout the tree.
5444
5445 2003-09-05  Angus Leeming  <leeming@lyx.org>
5446
5447         * sgml.h: ensure that the header file can be compiled stand-alone.
5448         * *.C: strip out redundant #includes. (320 in total.)
5449
5450 2003-09-04  Angus Leeming  <leeming@lyx.org>
5451
5452         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5453         here (from getPackages).
5454
5455         * debug.[Ch]: add a new EXTERNAL tag.
5456
5457 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5458
5459         * text2.C (cursorEnd): simplify
5460         (setCursor): adjust
5461         (getColumnNearX): adjust
5462
5463         * text.C (computeBidiTables): adjust
5464         (fill): adjust
5465
5466         * rowpainter.C (paintChars): adjust
5467         (paintSelection): adjust
5468         (paintChangeBar): adjust
5469         (paintText): adjust
5470
5471         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5472         lastPos instead.
5473         (numberOfSeparators): adjust
5474
5475 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5476
5477         * LyXAction.C:
5478         * box.[Ch]:
5479         * lfuns.h:
5480         * lyxfunc.C:
5481         * text3.C: Restricts the mouse click functionality
5482         of insets like bibtex, include, toc and floatlist to the visible
5483         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5484         up the dialogs. Cursor has to be in front of the inset (i.e.
5485         start of row) for this to function.
5486
5487 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5488
5489         * bufferview_funcs.C (currentState): output row information
5490
5491 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5492
5493         * bufferview_funcs.C (currentState): output paragraph position
5494
5495 2003-09-04  Angus Leeming  <leeming@lyx.org>
5496
5497         * FloatList.h: move out #include "Floating.h".
5498         * LaTeX.h: move out #include "DepTable.h".
5499         * LyXAction.h: move out #include "funcrequest.h".
5500         * buffer.h: move out #include "author.h", "iterators.h".
5501         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5502         * lyx_main.h: move out #include "errorlist.h".
5503         * lyxfunc.h: move out #include "FuncStatus.h".
5504         * lyxtext: move out #include "lyxcursor.h".
5505         * paragraph_pimpl.h: move out #include "counters.h".
5506
5507 2003-09-03  Angus Leeming  <leeming@lyx.org>
5508
5509         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5510         preamble_snippets list, enabling us to add snippets to the preamble
5511         only if the snippet was not there already.
5512
5513 2003-09-04  Angus Leeming  <leeming@lyx.org>
5514
5515         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5516
5517 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5518
5519         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5520         update
5521
5522 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5523
5524         * BranchList.C: point fix, earlier forgotten
5525
5526 2003-09-02  Angus Leeming  <leeming@lyx.org>
5527
5528         * box.C (contains): renamed from 'contained' after a fantastic
5529         amount of hot air.
5530
5531 2003-09-02  John Levon  <levon@movementarian.org>
5532
5533         * BufferView.C:
5534         * lyxcursor.h:
5535         * lyxcursor.C:
5536         * lyxfunc.C:
5537         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5538
5539 2003-09-02  John Levon  <levon@movementarian.org>
5540
5541         * text2.C: simplification of cursorEnd(), including partial
5542         fix for bug 1376
5543
5544 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5545
5546         * buffer.C (readFile): add a space
5547
5548 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5549
5550         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5551
5552 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5553
5554         * buffer.C (readFile): new function, take a filename and a
5555         ParagraphList::iterator
5556         (readFile): adjust
5557         (readFile): adjust, make it private. don't use setStream, make
5558         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5559         always contain the filename.
5560
5561         * BufferView.C (insertLyXFile): simplify and make it work for
5562         gzipped files.
5563
5564 2003-08-30  John Levon  <levon@movementarian.org>
5565
5566         * Makefile.am: fix dist (from Kayvan)
5567
5568 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5569
5570         * most files: change to use const Buffer refs
5571
5572 2003-08-27  André Pönitz  <poenitz@gmx.net>
5573
5574         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5575         on top of ownerPar().
5576
5577 2003-08-27  John Levon  <levon@movementarian.org>
5578
5579         * funcrequest.C: properly initialise POD members
5580
5581 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5582
5583         * lyxtext.h (top_y): move top_y from here
5584         * text.C:
5585         * text2.C:
5586         * text3.C:
5587         * BufferView.[Ch]:
5588         * BufferView_pimpl.[Ch]: to here
5589         * frontends/screen.C:
5590         * insets/insettabular.C:
5591         * insets/insettext.C: adjust
5592         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5593
5594 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5595
5596         * BufferView.[Ch]:
5597         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5598
5599 2003-08-26  André Pönitz  <poenitz@gmx.net>
5600
5601         * paragraph_func.[Ch] (outerPar): new function
5602
5603         * paragraph.C:
5604         * paragraph_funcs.C:
5605         * paragraph_funcs.h:
5606         * paragraph_pimpl.C:
5607         * text2.C: remove Inset::par_owner
5608
5609 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5610
5611         * lyxrow_funcs.C:
5612         * lyxtext.h:
5613         * text.C:
5614         * text2.C: eliminates the needFullRow/display() stuff
5615         altogether, putting the logic in metrics/draw in the insets.
5616
5617 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5618
5619         * text2.C (redoParagraphInternal, redoParagraphs):
5620         * text.C (redoParagraph): add a call to updateRowPositions at the
5621         end of each 'metrics-like' call. Remove all others.
5622         (getRow): remove the 'y-computing' version.
5623         (getRowNearY): do not compute nor return the real y. Solve the
5624         'y < 0' problem and simplify.
5625
5626 2003-08-22  Angus Leeming  <leeming@lyx.org>
5627
5628         * *.[Ch]: clean-up of licence and author blurbs.
5629         Also move config.h out of a few .h files and into a few .C files.
5630
5631 2003-08-22  André Pönitz  <poenitz@gmx.net>
5632
5633         * lyxrow.[Ch]: add x_ and *fill_ members
5634
5635         * lyxtext.h:
5636         * text.C:
5637         * rowpainter.C:
5638         * text2.C: adjust/remove prepareToPrint() calls
5639
5640 2003-08-22  André Pönitz  <poenitz@gmx.net>
5641
5642         * lyxrow.[Ch]: add  end_ member
5643
5644         * lyxrow_funcs.C: use LyXRow::end_
5645
5646         * lyxtext.h (singleWidth): add LyXFont parameter
5647
5648         * rowpainter.C:
5649         * text2.C: adjust LyXText::singleWidth() calls
5650
5651         * text.C (redoParagraph): simplify row breaking logic
5652
5653
5654 2003-08-19  André Pönitz  <poenitz@gmx.net>
5655
5656         * funcrequest.C: initialize button_ member
5657
5658         * text3.C:
5659         * rowpainter.[Ch]: interface consolidation
5660
5661 2003-08-18  André Pönitz  <poenitz@gmx.net>
5662
5663         * BufferView.C:
5664         * BufferView_pimpl.C:
5665         * lyxfind.C:
5666         * paragraph_funcs.C:
5667         * rowpainter.C:
5668         * text3.C: remove LyXScreen::draw() and fitCursor calls
5669
5670         * BranchList.h: remove spurious semicolons
5671
5672         * MenuBackend.C: fix branchlist related crash
5673
5674 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5675
5676         * BranchList.[Ch]:
5677         * InsetList.[Ch]:
5678         * LColor.[Ch]:
5679         * LyXAction.C:
5680         * Makefile.am:
5681         * MenuBackend.[Ch]:
5682         * bufferparams.[Ch]:
5683         * factory.C:
5684         * lfuns.h:
5685         * lyxfunc.C:
5686         * text3.C: implements the 'branch inset'
5687         idea. This allows the output of various versions of a document
5688         from a single source version, selectively outputing or suppressing
5689         output of parts of the text.
5690         This implementation contains a 'branch list editor' in a separate
5691         tab of the document settings dialog. Branches are user definable
5692         and have a "display colour" to distinguish them on-screen.
5693
5694         ColorHandler was somewhat cleaned up.
5695         (1) make possible a dynamically growing LColor list by allowing
5696         the graphic context cache to grow along (vector);
5697         (2) eliminate an IMHO unnecessary step in colour allocation.
5698
5699 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5700
5701         * BufferView_pimpl.C: compile fix
5702
5703 2003-08-15  André Pönitz  <poenitz@gmx.net>
5704
5705         * rowpainter.C: remove extra metrics calls
5706
5707         * lyxtext.h: merge the two constructors into a single one,
5708           pass reference to owner's par list
5709
5710         * BufferView_pimpl.C:
5711         * text.C:
5712         * text2.C: adjust
5713
5714 2003-08-15  André Pönitz  <poenitz@gmx.net>
5715
5716         * lyxrow_funcs.[Ch]:
5717         * lyxtext.h:
5718         * paragraph.h:
5719         * paragraph_funcs.C:
5720         * rowpainter.C:
5721         * text.C:
5722         * text2.C:
5723         * text3.C:
5724         * text_funcs.C: split LyXText::rowlist_ into individual
5725         Paragraph::rows_ chunks
5726
5727         * BufferView.[Ch]:
5728         * BufferView_pimpl.[Ch]:
5729         * lyxfind.C:
5730         * lyxtext.h:
5731         * text3.C: remove toggleSelection()
5732
5733 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5734
5735         * bufferlist.C: beautify two alerts (shorter text of buttons)
5736         * buffer.C: Remove redundant ' ' from message
5737         * tabular.h:
5738         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5739         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5740         rename VALIGN_CENTER to VALIGN_MIDDLE
5741
5742 2003-08-11  André Pönitz  <poenitz@gmx.net>
5743
5744         * lyxtext.h (getPar):
5745         * text.C: new function
5746
5747 2003-08-11  André Pönitz  <poenitz@gmx.net>
5748
5749         * Makefile.am:
5750         * tracer.[Ch]: remove unneeded files
5751
5752         * InsetList.[Ch]: remove resizeInsetsLyXText()
5753
5754         * lyxtext.h:
5755         * text.C:
5756         * text2.C:
5757         * text3.C: merge insertParagraphs() and appendParagraph()
5758         remove breakAgain(), update()
5759
5760         * BufferView_pimpl.[Ch]:
5761         * bufferview_funcs.[Ch]:
5762         * lyxfunc.C:
5763         * paragraph.[Ch]:
5764         * rowpainter.C:
5765         * tabular.C: adjust after text & InsetList changes.
5766
5767 2003-08-08  André Pönitz  <poenitz@gmx.net>
5768
5769         * text.C (insertChar, backspace): replace rowlist fiddling
5770         with rebreak of full par
5771
5772         * lyxtext.h:
5773         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5774         checkParagraph, updateInset): removed
5775
5776 2003-08-07  André Pönitz  <poenitz@gmx.net>
5777
5778         * paragraph.C:
5779         * text3.C: merge some LFUN handlers, remove dead code
5780
5781 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5782
5783         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5784
5785 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5786
5787         * text2.C (DEPM): fix part of bug 1255 and 1256
5788
5789 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5790
5791         * BufferView_pimpl.C (workAreaDispatch): change to use
5792         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5793         that are no mouse related.
5794
5795 2003-08-05  André Pönitz  <poenitz@gmx.net>
5796
5797         * BufferView.[Ch]:
5798         * BufferView_pimpl.[Ch]:
5799         * bufferview_funcs.C:
5800         * text2.C:
5801         * text3.C: rip out "deep update"
5802
5803         * textcursor.[Ch] (last_sel_cursor): remove unused member
5804
5805 2003-08-04  André Pönitz  <poenitz@gmx.net>
5806
5807         * BufferView.[Ch]:
5808         * BufferView_pimpl.[Ch]:
5809         * ParagraphParameters.C:
5810         * bufferview_funcs.C:
5811         * lyx_cb.C:
5812         * lyxfind.C:
5813         * lyxfunc.C:
5814         * text.C:
5815         * text2.C:
5816         * text3.C: replace "complicated" BufferView::update(...) calls with
5817         simpler ones.
5818
5819         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5820
5821 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5822
5823         * Makefile.am (lyx_SOURCES): add paper.h
5824
5825 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5826
5827         * Makefile.am: move things around so that both lyx-qt and
5828         lyx-xforms can be built (according to --with-frontend). Then lyx
5829         is a symbolic link to lyx-[firstfrontend]
5830
5831 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5832
5833         * Always use std::endl with lyxerr
5834
5835 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5836
5837         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5838
5839 2003-08-01  André Pönitz  <poenitz@gmx.net>
5840
5841         * BufferView.[Ch]:
5842         * BufferView_pimpl.[Ch]:
5843         * lyxfunc.C:
5844         * text3.C: merge BufferView::repaint() and BufferView::update()
5845
5846 2003-08-01  José Matos  <jamatos@lyx.org>
5847
5848         * buffer.[Ch]: file_format is no longer a buffer data element.
5849
5850 2003-08-01  André Pönitz  <poenitz@gmx.net>
5851
5852         * BufferView.C:
5853         * lyxtext.h:
5854         * text.C:
5855         * text2.C: make redoParagraph more independent of current cursor
5856
5857         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5858         * text.C:
5859         * text2.C: remove unneeded members
5860
5861 2003-07-30  André Pönitz  <poenitz@gmx.net>
5862
5863         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5864
5865         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5866           create a single function...
5867
5868         * paragraph_funcs.C (moveItem): ... here.
5869
5870         * text.C:
5871           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5872
5873 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5874
5875         * LColor.[Ch]: Add comment and greyedout logical colors.
5876
5877 2003-07-30  André Pönitz  <poenitz@gmx.net>
5878
5879         * tabular.C: don't use Assert too heavily. This crashes where it
5880           shouldn't
5881
5882 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5883
5884         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5885         is disabled (bug 1232)
5886
5887 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5888
5889         * factory.C: limited 'arg' scope
5890
5891 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5892
5893         * factory.C: fixed Note submenu issues
5894
5895 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5896
5897         * factory.C: submenu for Note/Comment/Greyedout
5898
5899 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5900
5901         * lyx_main.C (LyX):
5902         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5903
5904 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5905
5906         * LaTeXFeatures.C:
5907         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5908         greyedout. Patch provided by Jürgen Spitzmüller.
5909
5910 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5911
5912         * kbmap.C (read): fix error message when reading bind files
5913
5914 2003-07-29  Angus Leeming  <leeming@lyx.org>
5915
5916         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5917         certainly does not do what it purports to do. I am doing it, and
5918         us, a favour by killing it.
5919
5920 2003-07-28  José Matos  <jamatos@lyx.org>
5921
5922         * buffer.C (readBody, do_writeFile):
5923         * paragraph.C(readParagraph): \end_document replaces \the_end.
5924
5925 2003-07-29  André Pönitz  <poenitz@gmx.net>
5926
5927         * BufferView.[Ch]:
5928         * BufferView_pimpl.[Ch]:
5929         * lyxfunc.C:
5930         * text2.C:
5931         * text3.C:
5932         * textcursor.[Ch]: remove toggleToggle & Co
5933
5934 2003-07-28  José Matos  <jamatos@fep.up.pt>
5935
5936         * buffer.C (readParagraph):
5937         * params_func (readParToken, readParagraph):
5938         * paragraph.C (write): \layout -> \begin_layout.
5939
5940 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5941
5942         * lyxlex_pimpl.C (setFile): clean up slightly.
5943
5944         * bufferparams.h: add compressed var
5945
5946         * buffer_funcs.C (readFile): adjust for LyXLex change
5947         (newFile): ditto + simplify
5948
5949         * buffer.C (writeFile): handle writing of compressed files
5950
5951         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5952         Check if the file is compressed and set a bufferparm if so.
5953
5954         * Makefile.am (lyx_LDADD): remove explicit -lz
5955
5956 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5957
5958         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5959         makeDocBookFile): put the real LyX version in the first line of
5960         the file
5961
5962         * version.h:
5963         * version.C.in: remove lyx_docversion
5964
5965         * tabular.C (write_attribute): add a template-based version to
5966         write enums properly
5967
5968 2003-07-28  André Pönitz  <poenitz@gmx.net>
5969
5970         * lyxtext.h:
5971         * text.C:
5972         * text2.C:
5973         * text3.C: use doubles again for x-coordinates. They are needed.
5974
5975 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5976
5977         * messages.C (getLocaleDir): use lyx_localedir()
5978
5979         * lyxlex_pimpl.C (setFile): compress stuff
5980
5981         * buffer.C (writeFile): add some compression stuff
5982         (do_writeFile): new func, dont call expliti close... will this
5983         breake anything?
5984
5985         * Makefile.am (lyx_LDADD): add -lz
5986
5987 2003-07-28  José Matos  <jamatos@fep.up.pt>
5988
5989         * buffer.C: increment file format.
5990         * paragraph_funcs (readParagraph, readParToken):
5991         * paragraph.C (readParagraph): add \end_layout.
5992
5993 2003-07-27  Angus Leeming  <leeming@lyx.org>
5994
5995         * Makefile.am: remove special casing for configure-time setting of
5996         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5997
5998         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5999         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6000
6001 2003-07-26  André Pönitz  <poenitz@gmx.net>
6002
6003         * paragraph_func.[Ch]:
6004         * paragraph.C (realizeFont): inline it whereever it is used
6005
6006         * rowpainter.C:
6007         * text.C:
6008         * text2.C:
6009         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6010
6011
6012 2003-07-26  André Pönitz  <poenitz@gmx.net>
6013
6014         *       lyxtext.h:
6015         * text.C:
6016         * text2.C: get rid of LyXText::need_break_row
6017
6018 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6019
6020         * toc.[Ch]: put namespace toc inside namespace lyx
6021
6022         * MenuBackend.C (expandToc2): adjust for lyx::toc
6023         (expandToc): ditto
6024
6025         * lyxfunc.C (dispatch): adjust for lyx::find
6026
6027         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6028         lyx::find instead. Reorganize a bit.
6029         (LyXReplace): rename to replace
6030         (LyXFind): rename to find
6031
6032         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6033         (dispatch): ditto
6034
6035 2003-07-26  André Pönitz  <poenitz@gmx.net>
6036
6037         * text.C (setHeightOfRow): restrict scope of temporary variable
6038
6039         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6040           code (never has been used?)
6041
6042 2003-07-27  Asger Alstrup  <alstrup@local>
6043
6044         * text.C (fill): Optimise algorithm to exploit that we can reuse
6045         the LyXFont for many characters.
6046         (setHeightOfRow): Same thing.
6047         (rowBreakPoint): Same thing.
6048
6049 2003-07-26  Asger Alstrup  <alstrup@local>
6050
6051         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6052
6053         * text.C (singleWidth): Spurious font copying in hot-spot
6054         singleWidth avoided. Reorder tests for arabic for efficiency.
6055
6056         * text.C (fill): handle empty paragraphs better.
6057
6058 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6059
6060         * ispell.C:
6061         * encoding.h: add includes
6062
6063         * lyxrc.C: remove reading of bind files
6064
6065         * lyx_main.C (init): setup bindings and menus only if we have a
6066         gui.
6067
6068         * kbmap.C (read): new method. Do the actual reading of bind
6069         files.
6070
6071         * converter.C (dvipdfm_options):
6072         * bufferparams.C:
6073         * lyxrc.C (read):
6074         (output): adapt PAPER_* enums.
6075
6076         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6077
6078         * bufferparams.h: remove paper-related enums from there
6079
6080         * paper.h: New file. A trivial header file to hold paper-related
6081         enums. It should later expand to contain many paper-related
6082         horrors access.
6083
6084         * lyxrc.C: declare extern displayTranslator
6085
6086 2003-07-27  José Matos  <jamatos@fep.up.pt>
6087
6088         * tabular.[Ch] (linuxdoc): add support for tables and figures
6089         (linuxdoc).
6090
6091 2003-07-27  José Matos  <jamatos@fep.up.pt>
6092
6093         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6094         consistency in both functions.
6095         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6096
6097 2003-07-26  Asger Alstrup  <alstrup@local>
6098
6099         * rowpainter.C (paintRows): Change algorithm to work directly on
6100         the insets rather than asking every character in the document
6101         whether its an inset.
6102
6103 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6104
6105         * buffer.C (openFileWrite): factorize some code
6106
6107 2003-07-26  Angus Leeming  <leeming@lyx.org>
6108
6109         * lyx_cb.C:
6110         * lyx_main.[Ch]: replace occurances of system_tempdir with
6111         os::getTmpDir().
6112
6113 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6114
6115         * rename Inset to InsetOld
6116
6117 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6118
6119         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6120         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6121         which I think is a bit clearer. EDIT is gone, since it was
6122         premature optimisation, and broken for mathed anyway.
6123         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6124         with cursor positioning in insets as well (math insets still do not
6125         work, but that's a different story anyway.) It mysteriously
6126         crashes sometimes with undo in the first paragraph, but I'm fairly
6127         confident that this is a compiler bug.
6128
6129 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6130
6131         * paragraph.C (Paragraph): adjust for new clone return type
6132         (operator==): ditto
6133         (copyIntoMinibuffer): ditto
6134
6135 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6136
6137         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6138         by not having a special case, and always doing a full rebreak of
6139         the document after undo.
6140
6141 2003-07-23  Angus Leeming  <leeming@lyx.org>
6142
6143         * factory.C (createInset): InsetExternal::setParams now takes a
6144         Buffer const * arg.
6145
6146 2003-07-23  Angus Leeming  <leeming@lyx.org>
6147
6148         * factory.C (createInset): changed interface to the external and
6149         graphics mailers' string2params functions.
6150
6151 2003-07-23  Angus Leeming  <leeming@lyx.org>
6152
6153         * factory.C (createInset): pass a
6154         Buffer const * parameter to InsetExternalMailer's string2params.
6155
6156 2003-07-22  John Levon  <levon@movementarian.org>
6157
6158         * Thesaurus.h: include the right aiksaurus header
6159
6160 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6161
6162         * MenuBackend.C (expand): check menu shortcuts unconditionally
6163
6164 2003-07-21  Angus Leeming  <leeming@lyx.org>
6165
6166         * factory.C (createInset): pass a
6167         buffer_path parameter to InsetGraphicsMailer's string2params.
6168
6169 2003-07-21  Angus Leeming  <leeming@lyx.org>
6170
6171         * BufferView_pimpl.C (buffer):
6172         * buffer.C (d-tor):
6173         * lyx_main.C (LyX):
6174         * lyxfunc.C (dispatch):
6175         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6176         rather than the grfx shortcut.
6177
6178 2003-07-21  André Pönitz  <poenitz@gmx.net>
6179
6180         * rowpainter.C: remove unused variables
6181
6182         * tabular_funcs.C:
6183         * tabular_funcs.h: move to tabular.C
6184         * Makefile.am: adjust
6185
6186         * tabular.[Ch]: basic optical cleaning
6187
6188         * author.h: pass references, not values
6189
6190 2003-07-18  André Pönitz  <poenitz@gmx.net>
6191
6192         * lyxtext.h:
6193         * metricsinfo.C:
6194         * metricsinfo.h:
6195         * rowpainter.C:
6196         * text.C:
6197         * text2.C:
6198         * text3.C: two-phase drawing for InsetText and InsetTabular
6199         some float -> int changes.
6200
6201 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6202
6203         * lyx_main.C: fix the fix
6204
6205 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6206
6207         * lyx_main.C: fix a crash in batch mode if no files specified
6208         * converter.C: ws
6209
6210 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6211
6212         * format.[Ch] (papersize): moved to BufferParams
6213         * converter.[Ch] (dvips_options): moved to BufferParams
6214         (dvipdfm_options): moved to anon namespace
6215         * bufferparams.[Ch]: added above functions.
6216
6217 2003-07-17  André Pönitz  <poenitz@gmx.net>
6218
6219         * lyxtext.h:
6220         * rowpainter.C:
6221         * text2.C: don't call inset->update() anymore
6222
6223         * metricsinfo.[Ch]: add convenience constructor
6224
6225 2003-07-16  André Pönitz  <poenitz@gmx.net>
6226
6227         * lyxcursor.[Ch]:
6228         * lyxfunc.[Ch]:
6229         * text.C:
6230         * text2.C: replace the LyXCursor::irow_ member with
6231          on-demand computation of the value
6232
6233 2003-07-16  John Levon  <levon@movementarian.org>
6234
6235         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6236
6237 2003-07-15  André Pönitz  <poenitz@gmx.net>
6238
6239         * text.C:
6240         * text2.C: remove no more needed refresh_row
6241
6242 2003-07-15  André Pönitz  <poenitz@gmx.net>
6243
6244         * lyxtext.h:
6245         * rowpainter.C:
6246         * text2.C:
6247         * text3.C: refresh_status tristate -> need_update bool
6248
6249 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6250
6251         * lyxtext.h (init): remove reinit argument (act as if always true)
6252         * text2.C: adjust to that
6253
6254 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6255
6256         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6257         * text3.C: use it to delete selections in some cases
6258         (bugs 441, 673, 702, 954).
6259
6260 2003-07-14  André Pönitz  <poenitz@gmx.net>
6261
6262         * rowpainter.[Ch]: reduce interface
6263
6264 2003-07-14  André Pönitz  <poenitz@gmx.net>
6265
6266         * BufferView_pimpl.C:
6267         * text2.C: adjust after removing unused BufferView * argument
6268
6269 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6270
6271         * text2.C (init): fix a crash fired on resize
6272
6273 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6274
6275         * buffer.[Ch]: added new closing signal
6276         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6277         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6278         BufferView::Pimpl via the closing the signal
6279
6280 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6281
6282         * buffer.[Ch]: take out all bv-related from buffer
6283         * BufferView.C:
6284         * BufferView_pimpl.[Ch]: connect to new signals
6285         * CutAndPaste.C: removed useless asserts
6286         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6287         * lyxvc.[Ch]:
6288         * vc-backend.[Ch]:
6289         * lyxfunc.C: moved view-related funciontality from vc here
6290         * paragraph.C: removed outdated comments
6291         * text.C: ws
6292
6293 2003-07-10  André Pönitz  <poenitz@gmx.net>
6294
6295         * BufferView_pimpl.C:
6296         * tabular.h:
6297         * tabular_funcs.C:
6298         * text.C:
6299         * text2.C: remove InsetText::InnerCache, clean up consequences
6300
6301 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6302
6303         * ispell.C: fix two typos in error messages
6304
6305 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6306
6307         * Extend Note inset to other forms of annotation like Comment
6308         and Greyedout. Right button click gives dialog.
6309
6310         Files modified or added (+):
6311
6312         * insetnote.[Ch]
6313         * FormNote.[Ch]      +
6314         * ControlNote.[Ch]   +
6315         * form_note.fd       +
6316         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6317         frontends/controllers
6318         * xforms/Dialogs.C
6319         * factory.C
6320
6321 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6322
6323         * aspell.C: add missing namespace lyx::support
6324
6325 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6326
6327         * BufferView.[Ch] (newFile): Add
6328         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6329         * LaTeX.[Ch] (message): added this signal and use it
6330         * buffer.[Ch] (busy, message): added these signals and use them
6331         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6332         * converter.C:
6333         * exporter.C:
6334         * format.C:
6335         * importer.C: use buffer signals instead of direct bv calling
6336         * lyx_cb.[Ch] (ShowMessage): removed
6337         * lyx_main.C:
6338         * lyxfunc.C:
6339         * paragraph_funcs.C:
6340         * text2.C: use buffer signals
6341
6342 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6343
6344         * introduce namespace lyx::graphics
6345
6346 2003-07-02  André Pönitz  <poenitz@gmx.net>
6347
6348         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6349
6350 2003-07-01  André Pönitz  <poenitz@gmx.net>
6351
6352         * text.C:
6353         * text2.C:
6354         * text3.C:
6355         * text_funcs.[Ch]:
6356         * textcursor.h:
6357         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6358           text*.C to text_func.C
6359
6360 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6361
6362         * introduce namespace lyx::support
6363
6364 2003-06-30  André Pönitz  <poenitz@gmx.net>
6365
6366         * Chktex.C:
6367         * funcrequest.C:
6368         * lyxtext.h:
6369         * text.C: re-enable --with-included-string
6370
6371 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6372
6373         * textcursor.C: add <config.h>
6374
6375         * text.C (getWord): remove const from word_location arg
6376
6377         * lyxvc.C (getLogFile): fix const type order
6378
6379         * lyxtext.h: remove const from word_location arg, add arg name
6380
6381         * lyxlayout.h: currect type on labeltype.
6382
6383         * importer.C: correct \file
6384
6385         * converter.C (intToFormat): use std:: on ret val, ws changes
6386
6387         * bufferlist.h: correct \file
6388
6389         * buffer.C (makeLinuxDocFile): fix const type order
6390         (makeDocBookFile): ditto
6391         (fillWithBibKeys): use std:: on stdlib args.
6392
6393         * CutAndPaste.C: fix authors.
6394         (availableSelections): use std:: on return vector
6395
6396 2003-06-27  André Pönitz  <poenitz@gmx.net>
6397
6398         * BufferView_pimpl.C:
6399         * bufferview_funcs.C:
6400         * lyxcursor.C:
6401         * lyxcursor.h:
6402         * lyxfunc.C:
6403         * lyxtext.h:
6404         * rowpainter.C:
6405         * text.C:
6406         * text2.C:
6407         * text3.C: remove LyXCursor::row_ member
6408
6409         * lyxtext.h:
6410         * text.C: rename fullRebreak() to partialRebreak() and implement
6411           a fullRebreak() that really bereks fully
6412
6413         * textcursor.h: new struct for cursor-related data
6414
6415 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6416
6417         * lyx_main.C (LyX): get full path of document loaded on the
6418         command line
6419
6420 2003-06-26  André Pönitz  <poenitz@gmx.net>
6421
6422         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6423           remove unused/broken operator>,<,>=.
6424
6425         *       text.C: remove only use of broken operator<= in an Assert().
6426
6427 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6428
6429         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6430         moved errorlist_.clear to showErrorList
6431
6432 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6433
6434         * converter.C (scanLog, runLaTeX):
6435         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6436         move the bv->showErrorList call to the callers
6437         * lyxfunc.C: i.e. here...
6438         * text2.C: and here
6439         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6440         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6441         namespace, the second to...
6442         * buffer_funcs (BufferFormat, parseErrors): added
6443         * errorlist.C (ErrorList(TeXErrors const &)): removed
6444
6445 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6446
6447         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6448
6449 2003-06-24  "Garst R. Reese" <reese@isn.net>
6450
6451         * debug.C: fix typo
6452
6453 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6454
6455         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6456
6457         * version.C.in: change docversion to 1.4
6458
6459 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6460
6461         * buffer.C: fix a bug just introduced
6462
6463 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6464
6465         * buffer.[Ch]: added the parseError signal and use it, removed
6466         sgmlError
6467         * BufferView.[Ch] (addError): moved to ...
6468         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6469         to the Buffer::parseError signal to catch (guess what) parse errors
6470         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6471
6472 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6473
6474         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6475         ability to create a buffer and to return an existing one from
6476         the list. Moved these functions to...
6477         * buffer_funcs.[Ch]: added
6478         * BufferView.[Ch] (loadLyXFile): added
6479         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6480         job removed from bufferlist::loadLyXFile.
6481         * buffer.C (setReadOnly): make it work without view
6482         (i.e added an if (users))
6483
6484 2003-06-19  Angus Leeming  <leeming@lyx.org>
6485
6486         * lfuns.h:
6487         * LyXAction.C (init):
6488         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6489         with LFUN_DIALOG_SHOW <name> <data>.
6490
6491 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6492
6493         * CutAndPaste.C (availableSelections): small compilation fix for
6494         ancient (gcc 2.9x) compilers
6495
6496 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6497
6498         * text3.C (cursorNext): add tmp var
6499
6500         * text2.C (updateCounters): for function calling out of for clause
6501         (replaceSelectionWithString): ditto
6502         (insertStringAsParagraphs): ditto
6503         (getColumnNearX): add tmp var
6504         (setCursorFromCoordinates): add tmp var
6505         (cursorDownParagraph): add tmp var
6506         (deleteEmptyParagraphMechanism): add tmp var
6507
6508         * text.C (insertChar): add tmp var
6509
6510         * rowpainter.C (paintDepthBar): add tmp var
6511
6512         * CutAndPaste.C (availableSelections): potentially check all
6513         paragraphs in a cut to fill the shown strings.
6514
6515 2003-06-18  André Pönitz  <poenitz@gmx.net>
6516
6517         * kbmap.[Ch]: use vector<> instead of list<>
6518
6519 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6520
6521         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6522         pasteSelection with index
6523
6524         * text2.C (pasteSelection): modify, call pasteSelection with index
6525
6526         * paragraph.C (asString): reimplement version with no interval to
6527         call the one with interval.
6528
6529         * lyxtext.h: add index arg to pasteSelection
6530
6531         * MenuBackend.C (MenuItem): handle PasteRecent
6532         (Menu::read::Menutags): add md_pasterecent
6533         (read): handle it
6534         (expandPasteRecent): new function
6535         (expand): use it
6536
6537         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6538
6539         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6540         the limited stack
6541         (availableSelections): new function
6542
6543 2003-06-17  Angus Leeming  <leeming@lyx.org>
6544
6545         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6546
6547 2003-06-17  Angus Leeming  <leeming@lyx.org>
6548
6549         * lfuns.h:
6550         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6551
6552         * lyxfunc.C (dispatch): invoke it.
6553
6554 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6555
6556         * iterators.C (operator++, ParPosition): reintroduce some
6557         const_cast for the benefit of older compilers.
6558
6559 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6560
6561         * text3.C (dispatch): do not modify clipboard when doing
6562         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6563         LFUN_DELETE_SKIP on a selection selection
6564
6565 2003-06-16  André Pönitz  <poenitz@gmx.net>
6566
6567         * BufferView.C:
6568         * buffer.C:
6569         * buffer.h:
6570         * paragraph.C:
6571         * tabular.[Ch]: IU of clone() and getLabelList();
6572
6573 2003-06-13  André Pönitz  <poenitz@gmx.net>
6574
6575         * tabular.h: compactification
6576
6577 2003-06-12  André Pönitz  <poenitz@gmx.net>
6578
6579         * tabular.C:
6580         * tabular.h:
6581         * tabular_funcs.h: some renaming plus whitespace
6582
6583 2003-06-12  André Pönitz  <poenitz@gmx.net>
6584
6585         * BufferView.C:
6586         * BufferView_pimpl.C:
6587         * CutAndPaste.C:
6588         * buffer.C:
6589         * iterators.[Ch]:
6590         * lyxfunc.C:
6591         * text.C:
6592         * toc.C: Return a Paragraph & for ParIterator::operator*()
6593
6594 2003-06-11  John Levon  <levon@movementarian.org>
6595
6596         * lyx_main.C:
6597         * ToolbarBackend.h:
6598         * ToolbarBackend.C: add "Toolbars" section and
6599         put the flags there
6600
6601 2003-06-10  Angus Leeming  <leeming@lyx.org>
6602
6603         * lfuns.h:
6604         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6605
6606         * lyxfunc.C (dispatch): invoke it.
6607
6608 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6609
6610         * main.C: protect <ios> with HAVE_IOS
6611         (main): protect sync_with_stdio with HAVE_IOS
6612
6613 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6614
6615         * text2.C (cutSelection): adjust
6616         (pasteSelection): adjust
6617
6618         * messages.C: handle get of empty string
6619
6620         * main.C (main): use sync_with_stdio(false)
6621
6622         * lyxfunc.C (dispatch): adjust
6623
6624         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6625         (WriteAs): remove unneeded BufferView arg.
6626
6627         * bufferparams.h: use correct types on papersize, papersize2 and
6628         paperpackage.
6629
6630         * bufferparams.C (readToken): adjust for type
6631         (writeLaTeX): add missing cases to switch.
6632
6633         * bufferlist.C (quitWriteBuffer): adjust
6634         (close): adjust
6635
6636         * buffer.C (asciiParagraph): remove some commented code.
6637
6638         * CutAndPaste.C: remove current_view extern variable.
6639         (cutSelection): add BufferParams arg.
6640         (eraseSelection): add BufferParams arg.
6641         (pasteSelection): add Buffer const & arg
6642
6643 2003-06-07  John Levon  <levon@movementarian.org>
6644
6645         * buffer.C:
6646         * paragraph_funcs.C:
6647         * paragraph_pimpl.C:
6648         * text.C:
6649         * text2.C:
6650         * paragraph.h:
6651         * paragraph.C: allow InsetERT to freely space lines,
6652         and some consolidation of code
6653
6654 2003-06-06  José Matos  <jamatos@fep.up.pt>
6655
6656         * buffer.C (makeDocBookFile): fix bug #821
6657
6658 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6659
6660         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6661
6662 2003-06-04  Angus Leeming  <leeming@lyx.org>
6663
6664         * buffer.C: bump format to 224.
6665
6666 2003-06-05  André Pönitz  <poenitz@gmx.net>
6667
6668         * text2.C (redoParagraphs): remove two const_cast<>
6669
6670 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6671
6672         * ParagraphList.h: remove last remnants of NO_STD_LIST
6673
6674 2003-06-03  Angus Leeming  <leeming@lyx.org>
6675
6676         * factory.C (createInset): small change to the way InsetExternal's params
6677         are set.
6678
6679 2003-06-04  André Pönitz  <poenitz@gmx.net>
6680
6681         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6682
6683         * paragraph_pimpl.h:
6684         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6685
6686         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6687
6688         * undo_funcs.C: make some simple cases of undo work again
6689
6690 2003-06-03  John Levon  <levon@movementarian.org>
6691
6692         * ispell.C: HPUX doesn't have sys/select.h
6693         (from Albert Chin)
6694
6695 2003-06-03  John Levon  <levon@movementarian.org>
6696
6697         * CutAndPaste.C: update tabular and include inset
6698         buffer references
6699
6700         * buffer.h:
6701         * paragraph.h:
6702         * paragraph.C: remove owningBuffer(), don't pass Buffer
6703         to clone()
6704
6705         * factory.C: insetGraphicsParams changed
6706
6707 2003-06-02  John Levon  <levon@movementarian.org>
6708
6709         * LyXAction.C:
6710         * factory.C:
6711         * lfuns.h:
6712         * lyxfunc.C:
6713         * text3.C: remove insetparent
6714
6715 2003-06-02  John Levon  <levon@movementarian.org>
6716
6717         * buffer.h:
6718         * buffer.C: fix inset_iterator.end(), move out of line
6719         (bug 1149)
6720
6721 2003-06-01  John Levon  <levon@movementarian.org>
6722
6723         * text3.C: use a proper cut/paste when doing inset
6724         insert (from Jürgen Spitzmüller)
6725
6726 2003-06-01  John Levon  <levon@movementarian.org>
6727
6728         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6729
6730 2003-05-30  André Pönitz  <poenitz@gmx.net>
6731
6732         * rowpainter.C: unify second drawing phase
6733
6734 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6735
6736         * trans_mgr.C: remove one case of current_view
6737
6738         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6739
6740         * paragraph_funcs.h: remove paragraph.h include
6741
6742         * paragraph.h: delete NO_STD_LIST stuff
6743
6744         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6745
6746         * buffer.h: remove paragraph.h include
6747
6748         * ParagraphList.C: delete file
6749
6750         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6751
6752         * toc.C (getTocList): adjust
6753
6754         * paragraph_pimpl.C (validate): adjust
6755
6756         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6757
6758         * paragraph.C (Paragraph): adjust
6759         (getPositionOfInset): use const_iterator, adjust
6760         (bibitem): use const_iterator, adjust
6761         (setInsetOwner): adjust
6762
6763         * iterators.C (operator++): adjust
6764
6765         * InsetList.[Ch]: Replace selfmade iterator with standard
6766         vector::iterator also introduce const_iterator. Remove getPos,
6767         getInset and setInset from InsetTable. Adjust accordingly.
6768
6769         * BufferView.C (lockInset): adjust
6770         (ChangeInsets): adjust
6771
6772         * tabular.[Ch]: delete commented same_id functions
6773
6774 2003-05-28  John Levon  <levon@movementarian.org>
6775
6776         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6777
6778 2003-05-28  André Pönitz  <poenitz@gmx.net>
6779
6780         * metricsinfo.[Ch]: remove 'fullredraw' member
6781
6782 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6783
6784         * lyxtextclass.C (operator): remove caching.
6785
6786 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6787
6788         * text3.C: adjust
6789
6790         * text2.C (cursorBottom): adjust
6791         (setCounter): use ParagraphList::find, adjust
6792
6793         * text.C (workWidth): use ParagraphList::find, adjust
6794
6795         * lyxcursor.C (LyXCursor): adjust
6796
6797         * buffer.C (inset_iterator): adjust
6798
6799         * ParagraphList.h: make iterator(value_type) private, make
6800         ParagraphList a friend of iterator.
6801
6802         * ParagraphList.C (find): new function
6803
6804         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6805
6806 2003-05-27  André Pönitz  <poenitz@gmx.net>
6807
6808         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6809
6810 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6811
6812         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6813
6814 2003-05-26  John Levon  <levon@movementarian.org>
6815
6816         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6817
6818 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6819
6820         * remove same_id from function signatures, adjust.
6821
6822 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6823
6824         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6825
6826         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6827
6828         * paragraph.C (Paragraph): get rid of same_ids parameter
6829
6830         * ParagraphList.C (insert): adjust
6831         (push_back): adjust
6832
6833 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6834
6835         * paragraph_funcs.C (breakParagraph): adjust
6836         (breakParagraphConservative): adjust
6837
6838         * buffer.C (readParagraph): adjust
6839
6840         * ParagraphList.C (insert): take a reference instead of a pointer
6841         (insert): adjust
6842
6843         * paragraph.[Ch] (id): new function
6844
6845         * bufferlist.C (newFile): adjust
6846
6847         * ParagraphList.C (ParagraphList): adjust
6848         (assign): adjust
6849         (push_back): take a reference instead of a pointer.
6850
6851         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6852
6853         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6854         instead.
6855
6856         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6857         set else use old code.
6858
6859         * ParagraphList.C: remove all NO_NEXT code and only compile this
6860         code of NO_STD_LIST is set.
6861
6862 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6863
6864         * BufferView_pimpl.C:
6865         * TextCache.C:
6866         * TextCache.h:
6867         * bufferlist.C:
6868         * errorlist.h:
6869         * format.C:
6870         * format.h:
6871         * graph.C:
6872         * lyxfunc.C:
6873         * lyxrc.C:
6874         * graphics/GraphicsConverter.C:
6875         * graphics/PreviewLoader.C: header adjustment
6876
6877 2003-05-23  Angus Leeming  <leeming@lyx.org>
6878
6879         * LaTeXFeatures.[Ch] (useBabel): new method.
6880         * bufferparams.C (writeLaTeX): use it.
6881
6882 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6883
6884         * ParagraphList.h (set): remove unused function.
6885
6886 2003-05-23  André Pönitz  <poenitz@gmx.net>
6887
6888         * BufferView.C:
6889         * BufferView_pimpl.C:
6890         * buffer.C:
6891         * buffer.h:
6892         * lyxfunc.C:
6893         * undo_funcs.C: setUndo reworked
6894
6895         * iterators.[Ch]: add access to topmost ParagraphList
6896
6897         * lyxtext.[Ch] (workWidth): add a const
6898
6899 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6900
6901         * texrow.[Ch] (increasePos): remove function
6902         * exporter.C (export): removed unused var and outdated comment
6903
6904 2003-05-23  Angus Leeming  <leeming@lyx.org>
6905
6906         * latexrunparams.h: rename fragile as moving_arg.
6907         * paragraph.C (simpleTeXOnePar): ditto.
6908         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6909
6910 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6911
6912         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6913         (createUndo): ditto
6914         (textUndoOrRedo): comment out a currently unused var.
6915
6916         * paragraph.h (NO_NEXT): enable NO_NEXT
6917
6918         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6919
6920         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6921
6922         * exporter.C (Export): adjust for removeAutoInsets removal.
6923
6924         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6925
6926         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6927
6928         * BufferView.[Ch] (removeAutoInsets): delete function
6929
6930 2003-05-22  Angus Leeming  <leeming@lyx.org>
6931
6932         * latexrunparams.h: add a free_spacing variable.
6933
6934         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6935         to pass moving_arg, as the data is stored in runparams.fragile.
6936
6937         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6938         to Inset::latexOptional or to simpleTeXOnePar.
6939
6940         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6941         free_spacing arg to Inset::latexOptional.
6942
6943         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6944         free_spacing arg.
6945
6946 2003-05-22  Angus Leeming  <leeming@lyx.org>
6947
6948         * latexrunparams.h: add fragile and use_babel variables.
6949
6950         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6951         * buffer.C (makeLaTeXFile): store this returned value in
6952         runparams.use_babel, thus passing it to the inset::latex methods.
6953
6954         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6955         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6956
6957         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6958         longer has a fragile arg, as it is stored in runparams.fragile.
6959
6960         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6961         moving_arg parameter as the data is stored in runparams.fragile.
6962
6963         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6964         a fragile parameter as the data is stored in runparams.fragile.
6965
6966 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6967
6968         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6969
6970 2003-05-22  Angus Leeming  <leeming@lyx.org>
6971
6972         * latexrunparams.h: add a 'bool nice' which defaults to false.
6973
6974         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6975         now encapsulated within runparams.
6976
6977         * bufferlist.C (updateIncludedTeXfiles):
6978         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6979
6980 2003-05-22  Angus Leeming  <leeming@lyx.org>
6981
6982         * latexrunparams.h: new file containing struct LatexRunParams.
6983         * Makefile.am: add new file.
6984
6985         * LaTeX.[Ch] (c-tor, run):
6986         * buffer.[Ch] (makeLaTeXFile):
6987         * bufferlist.[Ch] (updateIncludedTeXfiles):
6988         * converter.C (convert, scanLog):
6989         * converter.[Ch] (runLaTeX):
6990         * exporter.C (Export):
6991         * paragraph.[Ch] (simpleTeXOnePar):
6992         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6993         * paragraph_funcs.[Ch] (latexParagraphs):
6994         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6995         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6996         pass around a LatexRunParams parameter.
6997
6998 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6999
7000         * paragraph.[Ch]: remove unused constructor
7001
7002         * ParagraphList.C (erase): new function, taking two iterators
7003
7004 2003-05-22  André Pönitz  <poenitz@gmx.net>
7005
7006         * undo_funcs.C: remove duplicated code
7007
7008         * iterator.[Ch]: operator=
7009
7010 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7011
7012         * tabular.C (SetMultiColumn): ws changes
7013
7014         * rowpainter.C (paintFirst): get rid of a ->previous
7015
7016         * lyx_cb.C (getPossibleLabel): parlist simplification
7017
7018         * BufferView.C (ChangeInsets): simplify slightly.
7019
7020 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7021
7022         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7023         * lfuns.h: new LFUN_SPACE
7024         * lyxfunc.C: protected space has a new lfun
7025         * paragraph_funcs.C: read new space insets
7026         * text3.C:
7027         * factory.C: handle new space insets
7028
7029 2003-05-22  André Pönitz  <poenitz@gmx.net>
7030
7031         * BufferView.C:
7032         * BufferView_pimpl.C:
7033         * buffer.[Ch]:
7034         * lyxfunc.C:
7035         * undo_funcs.C: return a ParIterator from getParFromID.
7036
7037         * iterators.[Ch]: add two const's
7038
7039 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7040
7041         * toc.C (getTocList): adjust
7042
7043         * iterators.[Ch]: rework for parlist
7044
7045         * buffer.C (par_iterator_begin): adjust
7046         (par_iterator_end): adjust
7047
7048         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7049
7050         * BufferView.C (removeAutoInsets): adjust
7051         (ChangeInsets): adjust
7052
7053 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7054
7055         * text.C (top_y): fix bug 1110
7056
7057 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7058
7059         * errorlist.[Ch]: added
7060         * buffer.C:
7061         * BufferView.[Ch]:
7062         * BufferView_pimpl.C:
7063         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7064         instead
7065
7066 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7067
7068         * Makefile.am: ensure that lyx is relinked upon changes to the
7069         various "convenience" libs.
7070
7071 2003-05-20  Angus Leeming  <leeming@lyx.org>
7072
7073         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7074         files are compiled in alphabetical order again.
7075
7076         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7077
7078 2003-05-19  Angus Leeming  <leeming@lyx.org>
7079
7080         * gettext.[Ch]: remove "char const * _(char const *)".
7081
7082 2003-05-19  André Pönitz  <poenitz@gmx.net>
7083
7084         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7085
7086         * Makefile.am:
7087         * BufferView.C:
7088         * DepTable.h:
7089         * LaTeXFeatures.C:
7090         * buffer.C:
7091         * lyxfont.C:
7092         * lyxlex.h:
7093         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7094
7095 2003-05-19  André Pönitz  <poenitz@gmx.net>
7096
7097         * buffer.C:
7098         * lyxlayout.[Ch]:
7099         * lyxtextclass.[Ch]:
7100         * paragraph.C:
7101         * paragraph_funcs.[Ch]:
7102         * text2.C:
7103         * text3.C: more insetenv work
7104
7105 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7106
7107         * ParagraphParameters.C (params2string): small bug fixed
7108
7109 2003-05-16  André Pönitz  <poenitz@gmx.net>
7110
7111         * debug.C:
7112         * bufferview_funcs.C: patch from Kornel Benko to prevent
7113           crash when _(...) is called twice in a statement
7114
7115 2003-05-16  André Pönitz  <poenitz@gmx.net>
7116
7117         * BufferView.C:
7118         * lyxfunc.C:
7119         * text.C:
7120         * text2.C:
7121         * text3.C:
7122         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7123
7124 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7125
7126         * lyx_main.C (init): remove spurious static_cast
7127
7128 2003-05-14  André Pönitz  <poenitz@gmx.net>
7129
7130         * BufferView.C: fix format string
7131
7132 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7133
7134         * BufferView.[Ch] (insertErrors): removed
7135         * BufferView.[Ch] (showErrorList): added
7136         * buffer.C (runChkTeX):
7137         * converter.C (scanLog): call showErrorList instead of inserterrors
7138
7139 2003-05-13  André Pönitz  <poenitz@gmx.net>
7140
7141         * BufferView_pimpl.C:
7142         * buffer.C:
7143         * bufferview_func.C:
7144         * MenuBackend.C:
7145         * lyxfunc.C:
7146         * lyxrc.C:
7147         * tex-accent.C:
7148         * text3.C:
7149         * toc.C:
7150         * tabular_funcs.h: tostr() from its own header
7151
7152         * ParagraphParameters.C:
7153         * ToolbarBackend.C:
7154         * bufferparams.C:
7155         * format.C:
7156         * lyxlex_pimpl.C:
7157         * text3.C: STRCONV()
7158
7159 2003-05-12  André Pönitz  <poenitz@gmx.net>
7160
7161         * BufferView.C:
7162         * BufferView_pimpl.C:
7163         * CutAndPaste.C:
7164         * LaTeX.C:
7165         * LaTeXFeatures.C:
7166         * ParagraphParameters.C:
7167         * buffer.C:
7168         * bufferlist.C:
7169         * bufferparams.C:
7170         * bufferview_funcs.C:
7171         * converter.C:
7172         * counters.C:
7173         * debug.C:
7174         * exporter.C:
7175         * format.C:
7176         * importer.C:
7177         * lyx_cb.C:
7178         * lyx_main.C:
7179         * lyxfont.C:
7180         * lyxfunc.C:
7181         * lyxvc.C:
7182         * paragraph.C:
7183         * paragraph_funcs.C:
7184         * tabular.C:
7185         * tabular_funcs.C:
7186         * text2.C:
7187         * text3.C:  boost::format -> bformat  all over the place
7188
7189
7190 2003-05-09  André Pönitz  <poenitz@gmx.net>
7191
7192         * LColor.[Ch]: Pimpl the #include <map> away
7193
7194 2003-05-09  John Levon  <levon@movementarian.org>
7195
7196         * bufferlist.C: never remove emergency saves
7197
7198 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7199
7200         * Makefile.am: better lib building
7201
7202 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7203
7204         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7205         instead.
7206         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7207         (simpleTeXSpecialChars): adjust
7208         (simpleTeXSpecialChars): adjust
7209         * paragraph.C (simpleTeXOnePar): adjust
7210         * buffer.C (makeLaTeXFile): adjust
7211
7212         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7213
7214         * text2.C (changeDepth): parlist cleanup
7215         (getColumnNearX): ditto
7216
7217         * rowpainter.C (getLabelFont): parlist cleanup
7218
7219         * bufferlist.C (newFile): parlist cleanup
7220
7221         * CutAndPaste.C (eraseSelection): parlist cleanup
7222
7223         * BufferView_pimpl.C (trackChanges): parlist cleanup
7224         (dispatch): ditto
7225
7226         * BufferView.C (lockInset): parlist cleanup.
7227         (ChangeInsets): ditto
7228
7229 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7230
7231         * CutAndPaste.h: Update file header.
7232
7233         * CutAndPaste.C: Update file header.
7234         Store the parts cut out of the Document in a limited_stack.
7235         (copySelection): adjust
7236         (pasteSelection): new function, takes the index in the limited stack.
7237         (nrOfParagraphs): adjust
7238         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7239         simplify error inset insertion.
7240         (checkPastePossible): adjust
7241
7242 2003-05-06  John Levon  <levon@movementarian.org>
7243
7244         * text2.C: don't cast wrap inset to float
7245
7246 2003-05-05  André Pönitz  <poenitz@gmx.net>
7247
7248         * iterator.C:
7249         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7250
7251         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7252           few naked Paragraph *.
7253
7254 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7255
7256         * bufferparams.C: Output warning if a document with missing
7257         TeX document class is loaded
7258         * exporter.C: Disable TeX exports if the document class is missing
7259         * lyxtextclass.C:
7260         * lyxtextclass.h:
7261         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7262         isTeXClassAvailable()
7263
7264 2003-05-03  John Levon  <levon@movementarian.org>
7265
7266         * BufferView.h:
7267         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7268         explicit cursor show/hide
7269
7270         * BufferView_pimpl.h:
7271         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7272         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7273
7274         * lyxfunc.C: hide cursor before dispatching.
7275
7276         * lyx_cb.C:
7277         * lyxfind.C:
7278         * text.C:
7279         * text3.C: remove explicit cursor hides
7280
7281 2003-05-02  André Pönitz  <poenitz@gmx.net>
7282
7283         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7284
7285         * undo_funcs.C:
7286         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7287           linked lists
7288
7289         * text2.C: tiny whitespace
7290
7291 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7292
7293         * undo_funcs.C: almost only ws changes.
7294
7295         * ParagraphList.C (splice): just return if pl is empty.
7296
7297 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7298
7299         * ParagraphList.C (splice): new function.
7300
7301         * CutAndPaste.C (pasteSelection): use it
7302
7303 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7304
7305         * CutAndPaste.C (pasteSelection): remove the last next and
7306         previous from this file.
7307
7308 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7309
7310         * CutAndPaste.C (pasteSelection): more clean up, user proper
7311         ParagraphList functions for pasteing.
7312
7313         * ParagraphList.C (insert): new function, three arg insert
7314
7315 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7316
7317         * ParagraphList.C (insert): new function, three arg insert
7318
7319         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7320         not on paragraphs.
7321
7322 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7323
7324         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7325
7326 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7327
7328         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7329
7330 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7331
7332         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7333         (copySelection): clean up a bit.
7334         (pasteSelection): use make_pair
7335
7336         * ParagraphList.C (ParagraphList): implement copy constructor
7337         (operator=): implement, base on copy constructor.
7338         (assign): new func
7339
7340         * paragraph.C (erase): return a bool
7341
7342         * paragraph_pimpl.C (erasePos): remove function, move contents...
7343         (erase): ... here. Return a bool.
7344         (erase): call erase instead of erasePos.
7345
7346 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7347
7348         * ParagraphList.h: define PitPosPair
7349         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7350         ParagraphList, fix a bug on pasting multiple pars
7351         * text2.C: change interface to C&P
7352
7353 2003-04-30  André Pönitz  <poenitz@gmx.net>
7354
7355         * undo_func.C: revert part of yesterday's patch 2
7356
7357 2003-04-30  John Levon  <levon@movementarian.org>
7358
7359         * LColor.C: s/tabular/table/
7360
7361 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7362
7363         * text3.C (dispatch): do not convert iterator -> pointer
7364         * undo_funcs.C (setCursorParUndo): ditto
7365         * text_funcs.C (transposeChars): ditto
7366
7367         * text2.C (setLayout): ws changes only
7368
7369         * text.C (breakParagraph): do not convert iterator -> pointer
7370         (insertChar): ditto
7371         (acceptChange): ditto
7372         (rejectChange): ditto
7373         (changeCase): ditto
7374         (Delete): ditto
7375         (backspace): ditto
7376
7377         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7378         pointer
7379
7380 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7381
7382         * text3.C (gotoInset): YABG (yet another bad getChar)
7383
7384 2003-04-29  André Pönitz  <poenitz@gmx.net>
7385
7386         * paragraph.h: make operator= private unimplemented as long as
7387           it is unusable
7388
7389         * ParagraphList.C: whitespace
7390
7391         * paragraph.[Ch]:
7392         * paragraph_pimpl.[Ch]:
7393         * paragraph_funcs.C:
7394         * CutAndPaste.C:
7395         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7396
7397         * text2.C:
7398           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7399
7400 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7401
7402         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7403         * paragraph.[Ch] (erase):
7404         * paragraph_pimpl.[Ch] (erase): change return type and value
7405         * text2.C (cutSelection): some rework
7406
7407 2003-04-28  John Levon  <levon@movementarian.org>
7408
7409         * bufferlist.C: changes for unsaved changes dialog
7410
7411 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7412
7413         * bufferlist.C (newFile): set language (messages_) for new
7414         documents also.
7415
7416         * buffer.C (readFile): ws changes only.
7417
7418 2003-04-28  André Pönitz  <poenitz@gmx.net>
7419
7420         * undo_funcs.C:
7421         * lyxfunc.C:
7422         * buffer.[Ch]:
7423         * BufferView_pimpl.C:
7424         * BufferView.C: getParFromID related ParagraphList::iterator changes
7425
7426 2003-04-28  André Pönitz  <poenitz@gmx.net>
7427
7428         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7429           Changes
7430
7431 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7432
7433         * messages.C: remove one more localedir class variable.
7434
7435 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7436
7437         * messages.C (getLocaleDir): singleton generation function
7438         (Pimpl): use it.
7439         (Messages): add a default constructor.
7440
7441         * main.C (main): do not setup localedir here, do not call
7442         gettext_init.
7443
7444         * gettext.C (_): use it.
7445         (gettext_init): delete funciton
7446
7447 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7448
7449         * gettext.C (getLyXMessages): new singleton generating function.
7450
7451         * buffer.C (updateDocLang): adjust
7452
7453         * Makefile.am (messages.o): add target
7454         (main.o): remove target
7455
7456 2003-04-27  John Levon  <levon@movementarian.org>
7457
7458         * bufferlist.C:
7459         * lyx_cb.C:
7460         * lyxfunc.C:
7461         * lyxvc.C: specify cancel button in Alert::prompt
7462
7463 2003-04-26  John Levon  <levon@movementarian.org>
7464
7465         * text3.C:
7466         * lyxfunc.C:
7467         * lfuns.h:
7468         * LyXAction.C: add LFUN_INSET_SETTINGS
7469
7470         * lyxfunc.C: don't enable tabular-feature when there's
7471         just any locking inset
7472
7473 2003-04-26  John Levon  <levon@movementarian.org>
7474
7475         * bufferlist.C: re-add Cancel to buffer close question
7476
7477         * lyxfunc.C: fix import UI a bit
7478
7479 2003-04-25  John Levon  <levon@movementarian.org>
7480
7481         * gettext.C: remove the broken asserts for now
7482
7483 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7484
7485         * messages.C: make case where setlocale cannot comply work better.
7486
7487         * buffer.C (updateDocLang): new function
7488         (changeLanguage): use it
7489         (readFile): use it
7490
7491         * text2.C (setCounter): use B_ a bit.
7492
7493         * lyxlayout.C (Read): be sure to trim the label strings.
7494
7495         * messages.C (Messages): fix typo in comment
7496
7497         * buffer.C (readFile): set message_ after file is loaded.
7498         (makeDocBookFile): remove double return
7499         (changeLanguage): reset message_ upon language change.
7500         (B_): new func, use this to get translated buffer strings.
7501
7502         * main.C: add myself and Jean Marc as authors.
7503
7504 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7505
7506         * messages.[hC]: pimplify Messages, and three different pimpls to be
7507         used in different circumstances.
7508
7509         * gettext.[Ch]: change for use with new message code.
7510
7511 2003-04-24 André Pönitz <poenitz@gmx.net>
7512
7513         * factory.C: support for eqref
7514
7515 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7516
7517         * messages.[Ch]: add missing char
7518
7519         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7520
7521         * messages.[Ch]: New files
7522
7523 2003-04-18  John Levon  <levon@movementarian.org>
7524
7525         * BufferView.h:
7526         * BufferView.C:
7527         * BufferView_pimpl.C:
7528         * lfuns.h:
7529         * LyXAction.C:
7530         * lyxtext.h:
7531         * text2.C: remove layout-copy/paste (bug 778)
7532
7533 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7534
7535         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7536
7537 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7538
7539         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7540         if they succeed. Act accordingly.
7541
7542 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7543
7544         * text2.C (setCharFont): adjust
7545         (setCounter): adjust
7546         (insertStringAsLines): adjust
7547
7548         * text.C (leftMargin): adjust
7549         (setHeightOfRow): adjust
7550
7551         * rowpainter.C (paintFirst): adjust
7552         (paintLast): adjust
7553
7554         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7555         (outerHook): ditto
7556         (isFirstInSequence): ditto
7557         (getEndLabel): ditto
7558         (outerFont): adjust
7559
7560         * paragraph.C (getParLanguage): comment out some hard stuff.
7561
7562         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7563         (sgmlError): ditto
7564         (simpleDocBookOnePar): ditto
7565         (makeDocBookFile): use ParagraphList::iterator
7566
7567         * CutAndPaste.C (pasteSelection): adjust
7568
7569 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7570
7571         * text2.C (getFont): adjust
7572         (getLayoutFont): adjust
7573         (getLabelFont): adjust
7574
7575         * paragraph_funcs.C (TeXOnePar): adjust
7576
7577         * buffer.C (simpleLinuxDocOnePar): adjust
7578         (simpleDocBookOnePar): adjust
7579
7580         * CutAndPaste.C (pasteSelection): adjust
7581
7582         * BufferView.C (getEncoding): adjust
7583
7584         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7585
7586 2003-04-16  John Levon  <levon@movementarian.org>
7587
7588         * lyxfind.C: use parlist stuff for search/changes
7589
7590 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7591
7592         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7593
7594         * text2.C (deleteEmptyParagraphMechanism): adjust
7595
7596         * text2.[Ch] (ownerParagraph): delete func (both of them
7597
7598 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7599
7600         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7601
7602 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7603
7604         * ParagraphList.C: prepare for NO_NEXT
7605
7606 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7607
7608         * text2.C (getFont): adjust
7609         (getLayoutFont): adjust
7610         (getLabelFont): adjust
7611
7612         * paragraph.C (getFont): adjust
7613         (getLabelFont): adjust
7614         (getLayoutFont): adjust
7615
7616         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7617
7618 2003-04-15  John Levon  <levon@movementarian.org>
7619
7620         From Angus Leeming
7621
7622         * lyx_main.C: handle Include in .ui files
7623
7624 2003-04-15  John Levon  <levon@movementarian.org>
7625
7626         * MenuBackend.C: make the doc files length shorter
7627
7628         * ToolbarBackend.h:
7629         * ToolbarBackend.C: handle toolbar placement flags,
7630         Minibuffer
7631
7632 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7633
7634         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7635         adjust
7636
7637         * paragraph_funcs.C (TeXOnePar): adjust
7638
7639         * paragraph.C (getLabelFont): add outerfont arg, adjust
7640         (getLayoutFont): ditto
7641         (simpleTeXOnePar): adjust
7642
7643         * paragraph_pimpl.C (realizeFont): delete func
7644
7645 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7646
7647         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7648         row argument, constify cur argument.
7649
7650 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7651
7652         * text2.C (getFont): adjust
7653         (getLayoutFont): adjust
7654         (getLabelFont): adjust
7655
7656         * paragraph_funcs.C (TeXOnePar): adjust
7657         (outerFont): new func...
7658         (realizeFont): ...moved out from here, changed this to facilitate
7659         transition
7660
7661         * paragraph.C (getFont): take outerfont as arg, adjust
7662         (simpleTeXOnePar): add outerfont arg, adjust
7663
7664         * buffer.C (simpleLinuxDocOnePar): adjust
7665         (simpleDocBookOnePar): adjust
7666
7667         * CutAndPaste.C (pasteSelection): adjust
7668
7669         * BufferView.C (getEncoding): adjust
7670
7671 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7672
7673         * text2.C (setCharFont): adjust
7674         (setCounter): adjust
7675
7676         * text.C (leftMargin): adjust
7677         (setHeightOfRow): adjust
7678
7679         * rowpainter.C (paintFirst): adjust
7680         (paintLast): adjust
7681
7682         * paragraph_pimpl.C (realizeFont): adjust
7683
7684         * paragraph.C (isFirstInSequence): move from here...
7685         * paragraph_funcs.C (isFirstInSequence): ...to here
7686
7687         * paragraph.C (outerHook): move from here...
7688         * paragraph_funcs.C (outerHook): ...to here
7689
7690         * paragraph.C (depthHook): move from here...
7691         * paragraph_funcs.C (depthHook): ...to here
7692
7693         * paragraph.C (getEndLabel): move from here...
7694         * paragraph_funcs.C (getEndLabel): ...to here
7695
7696         * text2.C (realizeFont): move from here...
7697         * paragraph_funcs.C (realizeFont): ...to here
7698
7699 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7700
7701         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7702
7703 2003-04-14  Angus Leeming  <leeming@lyx.org>
7704
7705         * LColor.[Ch]: scrap LColor mathcursor.
7706
7707 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7708
7709         * lyxlex.[Ch] (text): delete function
7710         * trans.C (Load): adjust
7711         * paragraph_funcs.C (readParToken): adjust
7712
7713 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7714
7715         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7716         vector<char> instead of a char[].
7717
7718         * lyxlex_pimpl.C (getString): adjust
7719         (next): adjust
7720         (lex): use getString
7721         (eatLine): adjust
7722         (nextToken): adjust
7723
7724         * lyxlex.C (text): use pimpl_->getString()
7725         (getBool): ditto
7726         (findToken): ditto
7727
7728 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7729
7730         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7731         (makeFontEntriesLayoutSpecific): temp var for par.size()
7732         (setLayout): temp var for ownerParagraphs().end()
7733         (fullRebreak): temp var for rows().end()
7734         (selectionAsString): temp var for boost::next(startpit), realize
7735         that the while really is a regular for loop.
7736         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7737         setCursor in one place.
7738         (setParagraph): temp vr for ownerParagraphs().end()
7739         (updateCounters): make the while loop a for loop
7740         (cutSelection): temp var for ownerParagraphs().end()
7741         (updateInset): make the do {} while() a regular for loop
7742         (getCursorX): use temp vars
7743         (setCurrentFont): use temp vars
7744         (getColumnNearX): use temp vars
7745
7746 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7747
7748         * text.C (transformChar): use temp var for getChar
7749         (computeBidiTables): use temp var for row->par()
7750         (fill): move temp vars for row->par() and pit->layout() earlier in
7751         the function.
7752         (labelFill): use temp var for row->par()
7753         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7754         asc and desc, realize that pit never changes and that firstpit is
7755         just a duplicate and not needed. Exchange rit->par() with pit in a
7756         lot of places.
7757         (breakAgain): use a temp var for boost::next(rit)
7758         (breakAgainOneRow): ditto
7759         (breakParagraph): use a temp var for rows().begin()
7760         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7761         (cursorRightOneWord): use temp var for cursor.par() and
7762         cursor.pos(), remove usage of tmpcursor.
7763         (cursorLeftOneWord): use temp var for cursor.par() and
7764         cursor.pos() only set cur at end of function.
7765
7766 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7767
7768         * text.C, text2.C: exchange all usage of Paragraph::next with
7769         boost::next(ParagraphList::iterator)
7770
7771         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7772
7773         * text2.C (cursorTop): simplify implementation
7774         (cursorBottom): ditto
7775         (setParagraph): use ParagraphList::iterator
7776         (setCurrentFont): adjust
7777         (getColumnNearX): adjust
7778         (cursorRight): adjust
7779         (cursorLeft): remove usage of Paragraph::previous
7780         (cursorUpParagraph): ditto
7781         (deleteEmptyParagraphMechanism): slight cleanup
7782
7783         * text.C (isBoundary): take a Paragraph const & instead of a
7784         pointer as arg.
7785         (addressBreakPoint): ditto
7786         (leftMargin): remove usage of Paragraph::previous.
7787         (setHeightOfRow): ditto
7788         (cursorLeftOneWord): ditto
7789         (selectNextWordToSpellcheck): ditto
7790         (Delete): ditto
7791         (backspace): ditto
7792         (breakParagraph): remove one usage of Paragraph::next
7793         (redoParagraph): ditto
7794         (acceptChange): ditto
7795         (insertChar): adjust
7796         (rowBreakPoint): adjust
7797
7798         * bufferview_funcs.C (toggleAndShow): adjust
7799
7800 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7801
7802         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7803         methods to access it.
7804         * lyxtext.h:
7805         * text.C: Added updateRowPositions to compute all row positions.
7806         Make top_y and getRowNearY() to use the cached y position
7807
7808 2003-04-11  John Levon  <levon@movementarian.org>
7809
7810         * text.C (rowBreakPoint): reintroduce the labelEnd
7811         checks, code copied from the row fill stuff. Deep voodoo.
7812
7813         * text.C (fill): add a comment and debugging for the
7814         next poor soul.
7815
7816 2003-04-11  John Levon  <levon@movementarian.org>
7817
7818         * text.C: make sure fullrow insets get wrapped to the next line,
7819         even when they're in a manual label
7820
7821 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7822
7823         * text2.C (insertParagraph): make it take ParagraphList::iterator
7824         as arg.
7825         (setLayout): make it return ParagraphList::iterator
7826         (redoParagraphs): ditto
7827         (setCounter): ditto
7828         (checkParagraph): ditto
7829
7830         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7831
7832         * text2.C: adjust several funcs.
7833         (realizeFont): take a ParagraphList::iterator as arg.
7834         (getLayoutFont): ditto
7835         (getLabelFont): ditto
7836         (setCharFont): ditto
7837
7838         * text.C: adjust several funcs.
7839
7840 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7841
7842         * text.C (selectNextWordToSpellcheck): don't accidentally
7843         skip insets
7844
7845 2003-04-10  John Levon  <levon@movementarian.org>
7846
7847         * ToolbarBackend.C (getIcon): special handling for
7848         LFUN_MATH_DELIM
7849
7850 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7851
7852         * text2.C (cursorRight): a getChar assert fixed
7853
7854 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7855
7856         * text2.C (getFont): change to take a ParagraphList::iterator
7857         instead of Paragraph*
7858         Adjust several functions.
7859
7860         * text.C (transformChar): change to take a ParagraphList::iterator
7861         instead of Paragraph*
7862         (singleWidth): ditto
7863         Adjust several functions.
7864
7865         * rowpainter.C: adjust several functions
7866         * rowpainter.h:store a ParagraphList::iterator and not a
7867         Paragraph&.
7868
7869
7870 2003-04-09  John Levon  <levon@movementarian.org>
7871
7872         * lyxfunc.C:
7873         * lfuns.h:
7874         * LyXAction.h:
7875         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7876         and the "help" bits as well
7877
7878 2003-04-09  John Levon  <levon@movementarian.org>
7879
7880         * ToolbarBackend.h:
7881         * ToolbarBackend.C: allow multiple toolbars
7882
7883 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7884
7885         * undo_funcs.C (setCursorParUndo): adjust
7886
7887         * text_funcs.C (transposeChars): adjust
7888
7889         * text3.C (gotoNextInset): adjust
7890         (dispatch): adjust
7891
7892         * text2.C (setLayout): adjust
7893         (changeDepth): adjust
7894         (setFont): adjust
7895         (redoParagraphs): adjust
7896         (selectionAsString): adjust
7897         (setParagraph): adjust
7898         (insertInset): adjust
7899         (cutSelection): adjust
7900         (copySelection): adjust
7901         (pasteSelection): adjust
7902         (insertStringAsLines): adjust
7903         (updateInset): adjust
7904         (setCursor): change to take a ParagraphList::iterator parameter
7905         (setCursorIntern): change to take a ParagraphList::iterator parameter
7906         (setCurrentFont): adjust
7907         (cursorLeft): adjust
7908         (cursorRight): adjust
7909         (deleteEmptyParagraphMechanism): adjust
7910
7911         * text.C (breakParagraph): adjust
7912         (insertChar): adjust
7913         (acceptChange): adjust
7914         (rejectChange): adjust
7915         (selectNextWordToSpellcheck): adjust
7916         (changeCase): adjust
7917         (Delete): adjust
7918         (backspace): adjust
7919
7920         * lyxfind.C (SearchForward): adjust
7921         (SearchBackward): adjust
7922         (nextChange): adjust
7923
7924         * lyxcursor.C (par): adjust
7925
7926         * lyxcursor.h: store a ParagraphList::iterator instead of a
7927         Paragraph*
7928
7929         * lyx_cb.C (getPossibleLabel): adjust
7930
7931         * bufferview_funcs.C (toggleAndShow): adjust
7932
7933         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7934         (dispatch): adjust
7935
7936         * BufferView.C (removeAutoInsets): adjust
7937         (lockedInsetStoreUndo): adjust
7938
7939 2003-04-09  John Levon  <levon@movementarian.org>
7940
7941         * ToolbarBackend.C: try icon without argument
7942         if with argument fails
7943
7944 2003-04-08  John Levon  <levon@movementarian.org>
7945
7946         * ToolbarBackend.h:
7947         * ToolbarBackend.C: add getIcon(), handle tooltip,
7948         and change from "Icon" to "Item".
7949
7950 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7951
7952         * BufferView.C (lockInset): another bad getchar crunched
7953
7954 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7955
7956         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7957         again)
7958
7959 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7960
7961         * lyxfind.C (searchForward, searchBackwards): bug 782
7962
7963 2003-04-07  John Levon  <levon@movementarian.org>
7964
7965         * paragraph.C: remove dead comment
7966
7967         * text.C: remove troublesome depth-fiddling code
7968         in leftMargin() and rightMargin() (bug 1017)
7969
7970         * text.C: fix breaking of rows in nested lists
7971         (bug 1004)
7972
7973         * text2.C (updateCounters): fix up depth values
7974         (bug 1013)
7975
7976 2003-04-07  John Levon  <levon@movementarian.org>
7977
7978         * BufferView_pimpl.C: clear message when doc finishes resizing,
7979         and after a mouse event
7980
7981         * lyxfunc.C: clear message after exiting inset
7982
7983 2003-04-07  John Levon  <levon@movementarian.org>
7984
7985         * bufferview_funcs.C: show math status not outside
7986         status in the statusbar
7987
7988 2003-04-07  John Levon  <levon@movementarian.org>
7989
7990         * lyxfunc.C: note status changed after a depth change
7991
7992 2003-04-04  Angus Leeming  <leeming@lyx.org>
7993
7994         * LaTeX.h: move AuxInfo operator==, != out of line.
7995         Remove LaTeX virtual destructor; nothing derives from it.
7996         Move operator()() out of public area and rename it startscript().
7997         Change protected for private.
7998
7999 2003-04-04  Angus Leeming  <leeming@lyx.org>
8000
8001         * lyxfunc.C:
8002         * text2.C: remove unneeded #includes.
8003
8004 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8005
8006         * text2.C (dEPM): fix the heigth of the next row
8007
8008 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8009
8010         * text.C: squashed an invalid getChar requester + some ws changes
8011
8012 2003-04-03  John Levon  <levon@movementarian.org>
8013
8014         * bufferview_funcs.h:
8015         * bufferview_funcs.C:
8016         * lyxfunc.C:
8017         * lyxtext.h:
8018         * text2.C: make getStatus work for the env depth lfuns
8019
8020 2003-04-03  John Levon  <levon@movementarian.org>
8021
8022         * bufferview_funcs.h:
8023         * bufferview_funcs.C:
8024         * lyxfunc.C:
8025         * lyxtext.h:
8026         * text2.C: parlistize decDepth(), by merging it with incDepth()
8027
8028 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8029
8030         * lyxrow.h: store a ParagraphList::iterator instead of a
8031         Paragraph* and adjust other class functions to suit.
8032
8033         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8034         above.
8035
8036 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8037
8038         * text2.C (setCursor): do not anchor to cursor row for the time being
8039
8040 2003-04-02  John Levon  <levon@movementarian.org>
8041
8042         * LyXAction.C:
8043         * lfuns.h:
8044         * lyx_main.C:
8045         * lyxtext.h:
8046         * text.C:
8047         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8048
8049 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8050
8051         * paragraph.h: make ParagraphList and ParagraphList::iterator
8052         friends of Paragraph.
8053
8054         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8055
8056         * ParagraphList.C: Use the private next_ and previous_ from
8057         Paragraph.
8058
8059 2003-04-01  John Levon  <levon@movementarian.org>
8060
8061         * ToolbarBackend.h:
8062         * ToolbarBackend.C:
8063         * Makefile.am: rename, remove defaults gunk
8064
8065         * MenuBackend.h:
8066         * MenuBackend.C: remove defaults gunk
8067
8068         * Languages.h:
8069         * Languages.C: remove defaults gunk
8070
8071         * lyx_main.h:
8072         * lyx_main.C: error out if files couldn't be found.
8073
8074 2003-04-02  John Levon  <levon@movementarian.org>
8075
8076         * text2.C: make incDepth() use parlist
8077
8078 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8079
8080         * undo_funcs.C (firstUndoParagraph): adjust
8081
8082         * text3.C (gotoInset): adjust
8083         (dispatch): adjust, and rewrite loop.
8084
8085         * text2.C (init): adjust, and rewrite loop.
8086         (redoParagraphs): adjust
8087         (updateInset): adjust, and rewrite loop.
8088         (deleteEmptyParagraphMechanism): adjust
8089
8090         * tabular.C (LyXTabular): adjust
8091         (SetMultiColumn): adjust
8092         (TeXRow): adjust
8093
8094         * lyxtext.[Ch] (ownerParagraph): delete function
8095         (ownerParagraphs): new function returns a ParagraphList.
8096
8097         * BufferView.C (removeAutoInsets): adjust
8098         (insertErrors): adjust
8099         (setCursorFromRow): adjust
8100
8101 2003-04-01  Angus Leeming  <leeming@lyx.org>
8102
8103         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8104         in the frontends.
8105
8106 2003-04-02  John Levon  <levon@movementarian.org>
8107
8108         * lyxtext.h:
8109         * text.C:
8110         * Makefile.am:
8111         * text_funcs.h:
8112         * text_funcs.C: make transposeChars a free function
8113
8114         * lyxrow_funcs.C: remove wrong comment
8115
8116 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8117
8118         * lyxtext.h: adjust
8119         * rowpainter.C: adjust
8120         * text.C: adjust
8121         * text2.C: adjust
8122         * text3.C: adjust
8123
8124         * lyxrow_funcs. [Ch]: new files
8125
8126         * lyxrow.[Ch]: remove next and previous pointers
8127         (next,previous): remove accessor functions
8128         (isParEnd): move to lyxrow_funcs
8129         (lastPos): move to lyxrow_funcs
8130         (nextRowIsAllInset): move to lyxrow_funcs
8131         (lastPrintablePos): move to lyxrow_funcs
8132         (numberOfSeparators): move to lyxrow_funcs
8133         (numberOfHfills): move to lyxrow_funcs
8134         (numberOfLabelHfills): move to lyxrow_funcs
8135         (hfillExpansion): move to lyxrow_funcs
8136
8137         * lyxfunc.C: adjust
8138
8139         * bufferview_funcs.C (toggleAndShow): adjust
8140
8141         * RowList.h: Remove class RowList from file leave just a
8142         std::list<Row>.
8143
8144         * RowList.C: delete file
8145
8146         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8147         and lyxrow_funcs.h
8148
8149 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8150
8151         * text3.C (cursorPrevious): adjust
8152         (cursorNext): adjust
8153         (dispatch): adjust
8154
8155         * text2.C (redoHeightOfParagraph): adjust
8156         (redoDrawingOfParagraph): adjust
8157         (setCursor): adjust
8158
8159         * text.C (breakParagraph): adjust
8160         (insertChar): adjust
8161         (backspace): adjust
8162
8163         * rowpainter.C (RowPainter): adjust
8164         (leftMargin): simplify and adjust
8165         (most rowpainter functions): adjust.
8166
8167         * rowpainter.h: store the row as RowList::iterator not as Row*
8168
8169         * lyxcursor.C (row): taka RowList::iterator as arg
8170         (irow): ditto
8171
8172         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8173         of Row*.
8174
8175 2003-04-01  Angus Leeming  <leeming@lyx.org>
8176
8177         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8178         stuff like bool Bool.
8179
8180 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8181
8182         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8183         rewrite a loop
8184
8185 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8186
8187         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8188         RowList::iterator.
8189
8190         * lyxtext.h (rows): drop one version and leve a const variant that
8191         returns a RowList::iterator.
8192
8193 2003-03-31  Angus Leeming  <leeming@lyx.org>
8194
8195         * text.C (fill): ensure that the signature is the same as that in the
8196         header file.
8197
8198 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8199
8200         * text2.C (redoParagraphs): adjust
8201         (updateCounters): adjust
8202         (checkParagraph): adjust
8203         (getColumnNearX): adjust and reformat a bit.
8204
8205         * text.C (top_y): adjust
8206         (workWidth): adjust
8207         (leftMargin): adjust
8208         (prepareToPrint): adjust
8209         (getRow): adjust
8210         (getRowNearY): adjust
8211
8212         * lyxtext.h: make rowlist_ mutable.
8213
8214         * RowList.h: add const_iterator
8215         * RowList.C: adjust for RowList::const_iterator.
8216
8217         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8218         adjust.
8219
8220 2003-03-31  John Levon  <levon@movementarian.org>
8221
8222         * lyxrc.h:
8223         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8224
8225         * lyx_main.C: set default fonts from using lyx_gui funcs
8226
8227         * exporter.C: pdf_mode moved from lyxrc
8228
8229         * lyx_cb.C:
8230         * lyxfunc.C: changes from above
8231
8232 2003-03-31  John Levon  <levon@movementarian.org>
8233
8234         * lyx_main.C: fix to the last fix
8235
8236 2003-03-31  John Levon  <levon@movementarian.org>
8237
8238         * bufferlist.C: "Load original" -> "Load Original"
8239
8240         * converter.C:
8241         * exporter.C:
8242         * importer.C:
8243         * lyx_main.C:
8244         * format.C: more Alert cleanups
8245
8246 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8247
8248         * text2.C (removeParagraph): make it take a RowList::iterator as
8249         arg, adjust.
8250         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8251         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8252
8253         * text.C (anchor_row): make it take a RowList::iterator as arg,
8254         adjust.
8255         (computeBidiTables): make it take a const reference to Row instead
8256         of Row pointer, adjust.
8257         (leftMargin): make it take a RowList::iterator as arg, adjust.
8258         (rowBreakPoint): adjust
8259         (breakAgainOneRow): make it take a RowList::iterator as arg,
8260         adjust.
8261         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8262
8263         * bufferview_funcs.C (toggleAndShow): adjust
8264
8265 2003-03-30  John Levon  <levon@movementarian.org>
8266
8267         * Makefile.am:
8268         * BoostFormat.h:
8269         * boost-inst.C: moved to support
8270
8271         * several files: changes as a result
8272
8273 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8274
8275         * text2.C (LyXText): adjust.
8276         (init): adjust
8277         (removeRow): make it take a RowList::iterator as arg, adjust.
8278         (fullRebreak): adjust
8279         (deleteEmptyParagraphMechanism): adjust
8280         (clearPaint): adjust
8281         (postPaint): adjust
8282
8283         * text.C (top_y): adjust
8284         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8285         (breakAgain): make it take a RowList::iterator as arg, adjust.
8286         (breakParagraph): adjust
8287         (insertChar): adjust
8288         (backspace): adjust
8289
8290         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8291         need_break_row, and refresh_row.
8292
8293         * text3.C (dispatch): adjust
8294
8295         * text2.C (checkParagraph): adjust
8296         (setCursor): adjust
8297         (setCursorFromCoordinates): adjust
8298
8299         * text.C (top_y): adjust
8300         (workWidth): adjust
8301         (getRow): make it return a RowList::iterator, adjust
8302         (getRowNearY): make it return a RowList::iterator, adjust
8303
8304         * text2.C (init): adjust
8305         (insertRow): remove function
8306         (insertParagraph): adjust
8307         (redoParagraphs): adjust
8308         (fullRebreak): adjust
8309         (updateCounters): adjust
8310
8311         * text.C (top_y): rewrite to use RowList iterators.
8312         (top_y): adjust
8313         (setHeightOfRow): rewrite to sue RowList iterators.
8314         (appendParagraph): adjust
8315         (breakAgain): adjust
8316         (breakAgainOneRow): adjust
8317         (breakParagraph): adjust
8318         (getRow): adjust
8319         (getRowNearY): adjust, and remove commented code.
8320
8321         * lyxtext.h (firstRow): delete function
8322         (lastRow): delete function
8323         (rows): new function (const and non-const versions.)
8324         (insertRow): delete function
8325
8326         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8327
8328 2003-03-29  John Levon  <levon@movementarian.org>
8329
8330         * BufferView_pimpl.C: always update scrollbar top
8331         because pasting text when we're anchored could mean we
8332         miss an update altogether
8333
8334 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8335
8336         * text2.C (init): use rowlist_.end() and not 0.
8337         (insertRow): change to take a RowList::iterator as arg, adjust
8338         for this.
8339         (insertParagraph): change to take a RowList::iterator as arg,
8340         adjust for this.
8341         (redoParagraphs): remove some debug msgs.
8342
8343         * text.C (appendParagraph): change to take a RowList::iterator
8344         arg, adjust for this.
8345         (breakAgain): add an assert
8346         (breakAgainOneRow): ditto
8347
8348 2003-03-29  John Levon  <levon@movementarian.org>
8349
8350         * text2.C: do not clear selection after inc/decDepth
8351         (bug 550)
8352
8353 2003-03-29  John Levon  <levon@movementarian.org>
8354
8355         * BufferView.C:
8356         * buffer.C: fix broken strerrors according to Lars
8357
8358 2003-03-29  John Levon  <levon@movementarian.org>
8359
8360         * converters.C: more Alert cleanups
8361
8362 2003-03-29  John Levon  <levon@movementarian.org>
8363
8364         * bufferview_funcs.C: remove pointless Alert
8365
8366         * buffer.C: fix confusing error message when
8367         a template is chmoded 000
8368
8369 2003-03-29  John Levon  <levon@movementarian.org>
8370
8371         * BufferView.C:
8372         * BufferView.h:
8373         * BufferView_pimpl.C: Alert fixes
8374
8375         * Makefile.am:
8376         * tabular.C:
8377         * tabular-old.C: remove unused table compat reading
8378
8379 2003-03-29  John Levon  <levon@movementarian.org>
8380
8381         * BufferView.C:
8382         * buffer.C:
8383         * lyx_cb.h:
8384         * lyx_cb.C: more Alert cleanups
8385
8386         * lyxfunc.C: don't allow chktex if not latex document
8387
8388 2003-03-29  John Levon  <levon@movementarian.org>
8389
8390         * lyx_cb.C:
8391         * BufferView.C:
8392         * buffer.C: warnings pushed down from support/,
8393         kill err_alert
8394
8395 2003-03-29  John Levon  <levon@movementarian.org>
8396
8397         * lyxfunc.C: safety check for C-r (revert)
8398
8399 2003-03-29  John Levon  <levon@movementarian.org>
8400
8401         * bufferlist.h:
8402         * bufferlist.C: several UI fixes using Alert::prompt.
8403         Fix the pointless looping quit code. Fix stupid revert
8404         behaviour (bug 938)
8405
8406         * lyxvc.h:
8407         * lyxvc.C:
8408         * lyx_cb.C: use Alert::prompt
8409
8410         * lyx_main.C: remove a silly question
8411
8412         * lyxfunc.C: remove a couple of silly questions,
8413         use Alert::prompt
8414
8415 2003-03-28  John Levon  <levon@movementarian.org>
8416
8417         * text2.C: fix bug 974 (End on empty par)
8418
8419 2003-03-28  John Levon  <levon@movementarian.org>
8420
8421         * BufferView_pimpl.C:
8422         * LyXAction.C:
8423         * lfuns.h: remove do-nothing math greek lfuns
8424
8425 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8426
8427         * lyxgluelength.h (isValidGlueLength): add default arg on
8428         parameter 2. Remove default arg from friend in class.
8429
8430         * lyxlength.h (isValidLength): add default arg on parameter 2.
8431         Remove default arg from friend in class.
8432
8433         * text2.C (LyXText): adjust, initialize refresh_row.
8434         (init): adjust
8435         (removeRow): adjust
8436         (insertRow): adjust
8437         (insertParagraph): adjst
8438         (redoParagraphs): adjust
8439         (fullRebreak): adjust
8440         (updateCounters): adjust
8441         (deleteEmptyParagraphMechanism): first attempt at fixing a
8442         crashing bug.
8443
8444         * text.C (top_y): adjust
8445         (setHeightOfRow): adjust
8446         (getRow): adjust
8447         (getRowNearY): adjust
8448
8449         * lyxtext.h: include RowList.h
8450         (~LyXText): not needed anymore, deleted.
8451         (firstRow): modify for RowList
8452         (lastRow): new function
8453         Delete firstrow and lastrow class variables, add a Rowlist
8454         rowlist_ class variable.
8455
8456         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8457         paragraph is empty.
8458
8459         * RowList.C (insert): fix case where it == begin().
8460
8461 2003-03-26  Angus Leeming  <leeming@lyx.org>
8462
8463         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8464         the thesaurus dialog.
8465
8466 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8467
8468         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8469
8470         * RowList.[Ch]: new files
8471
8472         * ParagraphList.C (erase): handle the case where it == begin
8473         correctly.
8474
8475 2003-03-25  John Levon  <levon@movementarian.org>
8476
8477         * Makefile.am:
8478         * aspell_local.h:
8479         * aspell.C: add new aspell support
8480
8481         * lyxrc.h:
8482         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8483         have it accessible.
8484
8485 2003-03-25  Angus Leeming  <leeming@lyx.org>
8486
8487         * lfuns.h:
8488         * LyXAction.C (init): new LFUN_INSET_INSERT.
8489
8490         * BufferView_pimpl.C (dispatch): split out part of the
8491         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8492
8493         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8494         LFUN_INSET_APPLY.
8495
8496 2003-03-25  Angus Leeming  <leeming@lyx.org>
8497
8498         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8499
8500 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8501
8502         * text2.C:
8503         * text3.C: remove useless row->height(0)
8504
8505 2003-03-25  John Levon  <levon@movementarian.org>
8506
8507         * lyxtext.h:
8508         * text2.C:
8509         * text3.C: rename the refreshing stuff to better names
8510
8511 2003-03-24  John Levon  <levon@movementarian.org>
8512
8513         * BufferView_pimpl.h:
8514         * BufferView_pimpl.C: update layout choice on a mouse
8515         press/release
8516
8517 2003-03-23  John Levon  <levon@movementarian.org>
8518
8519         * Makefile.am: fix commandtags.h reference
8520
8521 2003-03-22  John Levon  <levon@movementarian.org>
8522
8523         * BufferView_pimpl.C:
8524         * lyxtext.h:
8525         * rowpainter.C:
8526         * rowpainter.h:
8527         * text.C:
8528         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8529
8530 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8531
8532         * lyxtext.h:
8533         * text.C: take the rtl methods out of line
8534
8535 2003-03-21 André Pönitz <poenitz@gmx.net>
8536
8537         * metricsinfo.[Ch]: new files containing structures to be passed around
8538         during the two-phase-drawing...
8539
8540 2003-03-21 André Pönitz <poenitz@gmx.net>
8541
8542         * lyxtextclass.C: read 'environment' tag.
8543
8544 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8545
8546         * text2.C (removeRow): fix bug 964
8547
8548 2003-03-20  John Levon  <levon@movementarian.org>
8549
8550         * rowpainter.C:
8551         * text.C:
8552         * text2.C: paint cleanups. Inset::update() dropped font
8553         parameter
8554
8555 2003-03-19  John Levon  <levon@movementarian.org>
8556
8557         * lyxfunc.C: only fitcursor/markDirty if available()
8558
8559 2003-03-19  John Levon  <levon@movementarian.org>
8560
8561         * commandtags.h: rename to ...
8562
8563         * lfuns.h: ... this, and renumber / cleanup
8564
8565 2003-03-19  John Levon  <levon@movementarian.org>
8566
8567         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8568         fit the cursor after an lfun
8569
8570         * BufferView.h:
8571         * BufferView.C:
8572         * BufferView_pimpl.h:
8573         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8574
8575         * LyXAction.C: layout-character should have ReadOnly
8576
8577         * ParagraphParameters.C:
8578         * buffer.C:
8579         * bufferview_funcs.C:
8580         * lyx_cb.C:
8581         * lyxfind.C:
8582         * lyxtext.h:
8583         * text.C:
8584         * text2.C:
8585         * text3.C:
8586         * undo_funcs.C: changes from above
8587
8588 2003-03-18  John Levon  <levon@movementarian.org>
8589
8590         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8591         remove it from update()
8592
8593         * lyxfunc.C: update layout choice after an lfun
8594
8595         * text3.C: remove extra updateLayoutChoice()s
8596
8597 2003-03-18  John Levon  <levon@movementarian.org>
8598
8599         * text.C: top_y change means full repaint, fix
8600         a drawing bug with cursor movement
8601
8602 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8603
8604         * lyxtext.h:
8605         * text.C:
8606         * text2.C: anchor row on setCursor
8607
8608 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8609
8610         * lyxtext.h: remove almost all mutable keywords
8611         * text.C:
8612         * text2.C:
8613         * text3.C: remove const keywords accordingly
8614
8615 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8616
8617         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8618         anon namespace
8619         (TeXEnvironment): ditto
8620         (TeXOnePar): ditto
8621
8622 2003-03-17  John Levon  <levon@movementarian.org>
8623
8624         * text.C (rowBreakPoint): remove attempt to fix displayed
8625         math insets inside a manual label
8626
8627 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8628
8629         * lyxtext.h: remove BufferView* as first arg from almost all class
8630         functions.
8631         * other files: adjust.
8632
8633 2003-03-17  John Levon  <levon@movementarian.org>
8634
8635         * lyxtext.h:
8636         * undo_funcs.C:
8637         * text2.C: more paint cleanups
8638
8639         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8640
8641         * rowpainter.h:
8642         * rowpainter.C: remove "smart" background painting code
8643
8644 2003-03-16  John Levon  <levon@movementarian.org>
8645
8646         * lyxtext.h:
8647         * text.C:
8648         * text2.C:
8649         * text3.C: add helper functions for setting refresh_row/y
8650
8651 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8652
8653         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8654         newline inset which *can* get inserted in the pass_thru layouts.
8655         This is primarily for literate documents.
8656
8657 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8658
8659         * buffer.C: increment LYX_FORMAT to 223
8660
8661 2003-03-14 André Pönitz <poenitz@gmx.net>
8662
8663         * textclass.h: prepare for environment handling, ws changes
8664         * lyxlayout.C: read latexheader and latexfooter tags
8665
8666 2003-03-14  John Levon  <levon@movementarian.org>
8667
8668         * text2.C: rewrite ::status() a bit
8669
8670 2003-03-13  John Levon  <levon@movementarian.org>
8671
8672         * lyxtext.h: add some docs
8673
8674 2003-03-13  John Levon  <levon@movementarian.org>
8675
8676         * lyxtext.h:
8677         * text.C:
8678         * text2.C:
8679         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8680
8681 2003-03-13  John Levon  <levon@movementarian.org>
8682
8683         * text3.C: fix appendix redrawing
8684
8685 2003-03-13  John Levon  <levon@movementarian.org>
8686
8687         * text.C (setHeightOfRow):
8688         * rowpainter.h:
8689         * rowpainter.C: make appendix mark have the text
8690           "Appendix" so the user knows what it is
8691
8692         * LColor.h:
8693         * LColor.C: s/appendixline/appendix/ from above
8694
8695 2003-03-13  John Levon  <levon@movementarian.org>
8696
8697         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8698
8699         * text.C: fix a getChar(pos) bug properly
8700
8701 2003-03-13  Angus Leeming  <leeming@lyx.org>
8702
8703         * commandtags.h:
8704         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8705         Probably only temporary. Let's see how things pan out.
8706
8707         * BufferView.C (unlockInset):
8708         * BufferView_pimpl.C (fitCursor):
8709         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8710
8711         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8712         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8713
8714         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8715         new functions that convert ParagraphParameters to and from a string.
8716
8717         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8718         BufferView::Pimpl's dispatch.
8719         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8720
8721 2003-03-13 André Pönitz <poenitz@gmx.net>
8722
8723         * lyxfunc.C:
8724         * text3.C:
8725         * factory.C: make it aware of InsetEnv
8726
8727 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8728
8729         * text2.C (setCursor): never ask for one past last
8730         (setCursor): add some debugging messages.
8731
8732         * text.C (singleWidth): never ask for one past last
8733         (singleWidth): ditto
8734         (leftMargin): ditto
8735         (rightMargin): ditto
8736         (rowBreakPoint): ditto
8737         (setHeightOfRow): ditto
8738         (prepareToPrint): ditto
8739
8740         * rowpainter.C (paintBackground): never ask for one past last
8741         (paintText): never ask for one past last
8742
8743         * paragraph_pimpl.C (getChar): make the assert stricter, never
8744         allow the one past last pos to be taken
8745
8746         * paragraph.C (getChar): ws changes only
8747
8748         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8749         (numberOfSeparators): ditto
8750         (numberOfHfills): ditto
8751
8752 2003-03-12  John Levon  <levon@movementarian.org>
8753
8754         * author.h:
8755         * author.C:
8756         * bufferparams.h:
8757         * bufferparams.C:
8758         * paragraph_funcs.C: fix per-buffer authorlists
8759
8760 2003-03-12  John Levon  <levon@movementarian.org>
8761
8762         * text.C: fix newline in right address
8763
8764 2003-03-12  Angus Leeming  <leeming@lyx.org>
8765
8766         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8767         duplicate those in LyXFunc::dispatch.
8768
8769         * commandtags.h:
8770         * LyXAction.C:
8771         * ToolbarDefaults.C:
8772         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8773         Add LFUN_FONTFREE_UPDATE.
8774
8775         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8776         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8777
8778         * bufferview_func.[Ch]: several new functions to facilliate
8779         transfer of data to and from the character dialog.
8780
8781 2003-03-12  John Levon  <levon@movementarian.org>
8782
8783         * buffer.C:
8784         * paragraph.h:
8785         * paragraph.C:
8786         * paragraph_funcs.C:
8787         * paragraph_pimpl.C:
8788         * sgml.C:
8789         * tabular.C:
8790         * text.C:
8791         * text3.C: remove META_NEWLINE in favour of an inset
8792
8793         * rowpainter.h:
8794         * rowpainter.C: remove paintNewline (done by inset)
8795
8796 2003-03-12  John Levon  <levon@movementarian.org>
8797
8798         * paragraph_pimpl.C: complain about bad getChar()s
8799         for a while at least
8800
8801 2003-03-12  John Levon  <levon@movementarian.org>
8802
8803         * buffer.h:
8804         * buffer.C: move paragraph read into a separate function,
8805         a little renaming to reflect that.
8806
8807         * bufferparams.h:
8808         * bufferparams.C: remove the author_ids map, not necessary now
8809
8810         * factory.h:
8811         * factory.C: moved Buffer::readInset to here
8812
8813         * paragraph_funcs.h:
8814         * paragraph_funcs.C: readParagraph free function moved from
8815         buffer.C
8816
8817         * tabular.C: name change
8818
8819 2003-03-12  John Levon  <levon@movementarian.org>
8820
8821         * buffer.C:
8822         * ParagraphParameters.C: move par params input to
8823         a read() method
8824
8825         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8826         behave like a normal read from the stream wrt reading
8827         a line vs. a \\token
8828
8829 2003-03-12  John Levon  <levon@movementarian.org>
8830
8831         * paragraph.C:
8832         * ParagraphParameters.h:
8833         * ParagraphParameters.C: move output code to a
8834         ::write() method
8835
8836 2003-03-12  John Levon  <levon@movementarian.org>
8837
8838         * BufferView.C (insertLyXFile):
8839         * buffer.h:
8840         * buffer.C:
8841         * tabular.C: use a parlist iterator for creating the
8842           document.
8843
8844 2003-03-12  John Levon  <levon@movementarian.org>
8845
8846         * buffer.C: make current_change static local not
8847           static file-scope
8848
8849 2003-03-12  John Levon  <levon@movementarian.org>
8850
8851         * buffer.C: fix insertStringAsLines for change tracking
8852
8853 2003-03-12  John Levon  <levon@movementarian.org>
8854
8855         * BufferView.C:
8856         * tabular.C:
8857         * buffer.h:
8858         * buffer.C:
8859         * bufferparams.h:
8860         * bufferparams.C: move author list into params. Rename some
8861           functions. Move the header reading into a separate token
8862           loop. Move the header token reading into BufferParams.
8863
8864 2003-03-12  John Levon  <levon@movementarian.org>
8865
8866         * changes.C: put debug inside lyxerr.debugging() checks
8867
8868 2003-03-11 André Pönitz <poenitz@gmx.net>
8869
8870         * factory.C: make it aware of InsetHFill
8871
8872 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8873
8874         * buffer.C (latexParagraphs): move function from here...
8875         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8876         args.
8877
8878 2003-03-10  Angus Leeming  <leeming@lyx.org>
8879
8880         * LyXAction.C (init): fix bug in poplating array with multiple entries
8881         with the same LFUN (spotted by JMarc).
8882
8883 2003-03-10  John Levon  <levon@movementarian.org>
8884
8885         * text.C:
8886         * text2.C: move getColumnNearX() near its
8887         only call site
8888
8889 2003-03-10  John Levon  <levon@movementarian.org>
8890
8891         * text.C: fix break before a minipage
8892
8893 2003-03-10  John Levon  <levon@movementarian.org>
8894
8895         * text.C: fix the last commit
8896
8897 2003-03-09  John Levon  <levon@movementarian.org>
8898
8899         * lyxtext.h:
8900         * text.C:
8901         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8902         bug 365 (don't break before insets unless needed). Don't
8903         return a value > last under any circumstances.
8904
8905 2003-03-09  Angus Leeming  <leeming@lyx.org>
8906
8907         * BufferView_pimpl.C (trackChanges, dispatch): call
8908         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8909
8910 2003-03-09  Angus Leeming  <leeming@lyx.org>
8911
8912         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8913         than Dialogs::showAboutlyx().
8914
8915 2003-03-09  Angus Leeming  <leeming@lyx.org>
8916
8917         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8918         than Dialogs::showTabularCreate().
8919
8920 2003-03-09  John Levon  <levon@movementarian.org>
8921
8922         * lyxtext.h:
8923         * text.C:
8924         * text2.C: 3rd arg to nextBreakPoint was always the same.
8925           Use references.
8926
8927 2003-03-08  John Levon  <levon@movementarian.org>
8928
8929         * lyxrow.C:
8930         * paragraph.C:
8931         * paragraph.h:
8932         * rowpainter.C:
8933         * text.C:
8934         * text2.C: Remove the "main" bit from the "main body"
8935           notion.
8936
8937 2003-03-08  John Levon  <levon@movementarian.org>
8938
8939         * text.C (leftMargin): The left margin of an empty
8940         manual label paragraph should not include the label width
8941         string length.
8942
8943         * text.C (prepareToPrint): don't attempt to measure hfills
8944         for empty manual label paragraphs - the answer should be 0
8945
8946 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8947
8948         * CutAndPaste.C: remove commented code and reindent.
8949
8950 2003-03-08  John Levon  <levon@movementarian.org>
8951
8952         * lyxfunc.h:
8953         * lyxfunc.C: move reloadBuffer()
8954
8955         * BufferView.h:
8956         * BufferView.C: to here
8957
8958         * lyxvc.C: add comment
8959
8960         * vc-backend.h:
8961         * vc-backend.C: call bv->reload() to avoid
8962           getStatus() check on MENURELOAD
8963
8964 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8965
8966         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8967         to an old format .dep file.
8968
8969 2003-03-07  Angus Leeming  <leeming@lyx.org>
8970
8971         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8972         when the LFUN_MOUSE_RELEASE should have been handled by
8973         inset->localDispatch.
8974
8975 2003-03-07  Angus Leeming  <leeming@lyx.org>
8976
8977         * BufferView_pimpl.C (dispatch):
8978         * LyXAction.C (init):
8979         * ToolbarDefaults.C (init):
8980         * commandtags.h:
8981         * lyxfunc.C (getStatus):
8982         remove LFUN_INSET_GRAPHICS.
8983
8984         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8985
8986 2003-03-07  Angus Leeming  <leeming@lyx.org>
8987
8988         * commandtags.h:
8989         * LyXAction.C (init):
8990         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8991
8992         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8993
8994         * commandtags.h:
8995         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8996
8997         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8998         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8999
9000 2003-03-07  Angus Leeming  <leeming@lyx.org>
9001
9002         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9003         remove "ert".
9004
9005 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9006
9007         * ParagraphList.C (front): new function
9008         (back): implement
9009
9010 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9011
9012         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9013         and top_row_offset_. removed var first_y.
9014         * text.C (top_y):
9015         * text2.C (LyXText, removeRow):
9016         * text3.C:
9017         * BufferView_pimpl.C:
9018         use these methods instead of using first_y
9019
9020 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9021
9022         * text2.C (pasteSelection): adjust for checkPastePossible
9023
9024         * CutAndPaste.C: remove Paragraph * buf and replace with
9025         ParagraphList paragraphs.
9026         (DeleteBuffer): delete
9027         (cutSelection): change the tc type to textclass_type
9028         (copySelection): change the tc type to textclass_type
9029         (copySelection): adjust for ParagraphList
9030         (pasteSelection): change the tc type to textclass_type
9031         (pasteSelection): adjust for Paragraphlist
9032         (nrOfParagraphs): simplify for ParagraphList
9033         (checkPastePossible): simplify for ParagraphList
9034         (checkPastePossible): remove unused arg
9035
9036         * ParagraphList.C (insert): handle the case where there are no
9037         paragraphs yet.
9038
9039         * CutAndPaste.h: make CutAndPaste a namespace.
9040
9041         * text3.C (dispatch): adjust
9042
9043         * text.C (breakParagraph): add a ParagraphList as arg
9044
9045         * paragraph_funcs.C (breakParagraph): change to take a
9046         BufferParams and a ParagraphList as args.
9047         (breakParagraphConservative): ditto
9048         (mergeParagraph): ditto
9049         (TeXDeeper): add a ParagraphList arg
9050         (TeXEnvironment): ditto
9051         (TeXOnePar): ditto
9052
9053         * buffer.C (readLyXformat2): adjust
9054         (insertStringAsLines): adjust
9055         (latexParagraphs): adjust
9056
9057         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9058         (cutSelection): adjust
9059         (pasteSelection): adjust
9060
9061         * BufferView_pimpl.C (insertInset): adjust
9062
9063 2003-03-05  Angus Leeming  <leeming@lyx.org>
9064
9065         * commandtags.h:
9066         * LyXAction.C (init):
9067         * BufferView_pimpl.C (dispatch):
9068         * lyxfunc.C (getStatus):
9069         remove LFUN_CHILD_INSERT.
9070
9071         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9072
9073 2003-03-05  Angus Leeming  <leeming@lyx.org>
9074
9075         * commandtags.h:
9076         * LyXAction.C (init):
9077         * src/factory.C (createInset):
9078         * lyxfunc.C (getStatus):
9079         * text3.C (dispatch):
9080         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9081
9082         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9083
9084 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9085
9086         * ParagraphList.C (insert): handle insert right before end()
9087         (erase): fix cases where it can be first or last paragraph.
9088
9089 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9090
9091         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9092         Paragraph::next and Paragraph::previous
9093         (TeXOnePar): ditto
9094
9095         * text.C (breakParagraph): adjust
9096
9097         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9098         BufferParams& as arg.
9099         (breakParagraph): use ParagraphList::insert
9100         (breakParagraphConservative): take a Buffer* instead of a
9101         BufferParams& as arg.
9102         (breakParagraphConservative): use ParagraphList::insert.
9103
9104         * buffer.C (insertStringAsLines): un-const it
9105         (insertStringAsLines): adjust
9106
9107         * ParagraphList.C (insert): new function
9108
9109         * CutAndPaste.C (pasteSelection): adjust
9110
9111         * text.C (backspace): adjust
9112
9113         * tabular.C (SetMultiColumn): adjust
9114
9115         * CutAndPaste.C (cutSelection): adjust
9116         (pasteSelection): adjust
9117
9118         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9119         Buffer const * as arg
9120
9121         * ParagraphList.C (erase): new function
9122         * paragraph_funcs.C (mergeParagraph): use it
9123         (mergeParagraph): make it take a Buffer* instead of a
9124         BufferParams* as arg
9125
9126         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9127         as arg
9128         (breakParagraphConservative): ditto
9129
9130         * paragraph.h: remove the breakParagraph friend
9131
9132         * paragraph.C (eraseIntern): new function
9133         (setChange): new function
9134
9135         * paragraph_funcs.C (mergeParagraph): make it take a
9136         ParagraphList::iterator instead of a Paragraph *, adjust
9137         accordingly.
9138
9139         * paragraph.h: move an #endif so that the change tracking stuff
9140         also works in the NO_NEXT case.
9141
9142 2003-03-04  Angus Leeming  <leeming@lyx.org>
9143
9144         * commandtags.h:
9145         * LyXAction.C: new LFUN_INSET_MODIFY.
9146
9147         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9148         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9149
9150 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9151
9152         * several files: ws changes only
9153
9154         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9155         (TeXEnvironment): ditto
9156         (TeXDeeper): ditto
9157
9158         * buffer.C (makeLaTeXFile): adjust
9159         (latexParagraphs): make it take ParagraphList::iterator as args
9160
9161 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9162
9163         * buffer.C (latexParagraphs): adjust
9164
9165         * paragraph.C (TeXOnePar): move function...
9166         (optArgInset): move function...
9167         (TeXEnvironment): move function...
9168         * paragraph_pimpl.C (TeXDeeper): move function...
9169         * paragraph_funcs.C: ...here
9170
9171         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9172
9173 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9174
9175         * buffer.C (readInset): remove compability code for old Figure and
9176         InsetInfo insets
9177
9178 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9179
9180         * buffer.C: ws changes
9181         (readInset):
9182
9183         * BufferView_pimpl.C: ditto
9184         * author.C: ditto
9185         * buffer.h: ditto
9186         * bufferlist.h: ditto
9187         * changes.h: ditto
9188         * lyxfunc.C: ditto
9189
9190 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9191
9192         * converter.[Ch]: split into itself +
9193         * graph.[Ch]
9194         * format.[Ch]
9195         * Makefile.am: += graph.[Ch] + format.[Ch]
9196         * MenuBackend.C
9197         * buffer.C
9198         * exporter.C
9199         * importer.C
9200         * lyx_main.C
9201         * lyxfunc.C
9202         * lyxrc.C: added #include "format.h"
9203
9204 2003-02-27  Angus Leeming  <leeming@lyx.org>
9205
9206         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9207           a label.
9208
9209         * factory.C (createInset): add "label" to the factory.
9210
9211         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9212           string and do no more.
9213
9214 2003-02-27  Angus Leeming  <leeming@lyx.org>
9215
9216         * commandtags.h:
9217         * LyXAction.C (init):
9218         * factory.C (createInset):
9219         * BufferView_pimpl.C (dispatch):
9220           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9221
9222         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9223
9224         * lyxfunc.C (dispatch):
9225         * text3.C (dispatch): pass name to params2string.
9226
9227 2003-02-26  Angus Leeming  <leeming@lyx.org>
9228
9229         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9230           blocks together.
9231           Rearrange the ~includes. Strip out the unnecessary ones.
9232
9233         * factory.C (createInset): reformat.
9234           create new insets for the various LFUN_XYZ_APPLY lfuns.
9235
9236 2003-02-26  John Levon  <levon@movementarian.org>
9237
9238         * lyxrow.h:
9239         * lyxrow.C: add isParStart,isParEnd helpers
9240
9241         * paragraph.h: make isInserted/DeletedText take refs
9242
9243         * paragraph_funcs.h:
9244         * paragraph_funcs.C: remove #if 0'd code
9245
9246         * lyxtext.h:
9247         * text3.C:
9248         * text2.C:
9249         * text.C: use lyxrow helpers above.
9250           Move draw and paint routines to RowPainter.
9251           Make several methods use refs not pointers.
9252           Make backgroundColor() const.
9253           Add markChangeInDraw(), isInInset().
9254           Merge changeRegionCase into changeCase.
9255           Make workWidth() shouldn't-happen code into an Assert.
9256
9257         * rowpainter.h:
9258         * rowpainter.C: new class for painting a row.
9259
9260         * vspace.h:
9261         * vspace.C: make inPixels take a ref
9262
9263 2003-02-26  Angus Leeming  <leeming@lyx.org>
9264
9265         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9266         LFUN_REF_APPLY.
9267
9268 2003-02-25  John Levon  <levon@movementarian.org>
9269
9270         * ispell.C: give the forked command a more accurate name
9271
9272 2003-02-22  John Levon  <levon@movementarian.org>
9273
9274         * toc.h:
9275         * toc.C: make TocItem store an id not a Paragraph *
9276           (bug #913)
9277
9278 2003-02-21  Angus Leeming  <leeming@lyx.org>
9279
9280         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9281           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9282           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9283           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9284           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9285           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9286
9287         * BufferView_pimpl.C (dispatch):
9288         * LyXAction.C (init):
9289         * factory.C (createInset):
9290         * lyxfunc.C (getStatus, dispatch):
9291         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9292
9293 2003-02-21  Angus Leeming  <leeming@lyx.org>
9294
9295         * BufferView_pimpl.C (MenuInsertLyXFile):
9296         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9297         * lyxfunc.C (menuNew, open, doImport):
9298           no longer pass a LyXView & to fileDlg.
9299
9300 2003-02-21  Angus Leeming  <leeming@lyx.org>
9301
9302         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9303         * LyXAction.C: change, BIBKEY to BIBITEM.
9304         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9305         Change InsetBibKey to InsetBibitem.
9306         Change BIBKEY_CODE to BIBITEM_CODE.
9307         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9308         * factory.C: replace insetbib.h with insetbibitem.h.
9309         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9310         * paragraph.C: replace insetbib.h with insetbibitem.h.
9311         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9312         Change bibkey() to bibitem().
9313         * text.C: remove insetbib.h.
9314         * text2.C: replace insetbib.h with insetbibitem.h.
9315         change bibkey() to bibitem().
9316         * text3.C: remove insetbib.h.
9317         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9318
9319 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9320
9321         * lyxrc.C (output): enclose user email in quotes (in case there are
9322         several words)
9323
9324 2003-02-18  John Levon  <levon@movementarian.org>
9325
9326         * buffer.h: add std::
9327
9328 2003-02-17  John Levon  <levon@movementarian.org>
9329
9330         * SpellBase.h:
9331         * ispell.h:
9332         * ispell.C:
9333         * pspell.h:
9334         * pspell.C: reworking. Especially in ispell, a large
9335           number of clean ups and bug fixes.
9336
9337         * lyxfunc.C: fix revert to behave sensibly
9338
9339 2003-02-17 André Pönitz <poenitz@gmx.net>
9340
9341         * LyXAction.C:
9342         * commandtags.h: new LFUN_INSERT_BIBKEY
9343
9344         * layout.h:
9345         * lyxlayout.C:
9346         * buffer.C:
9347         * factory.C:
9348         * text.C:
9349         * text2.C:
9350         * text3.C:
9351         * paragraph.[Ch]:
9352         * paragraph_func.C: remove special bibkey handling
9353
9354 2003-02-17  John Levon  <levon@movementarian.org>
9355
9356         * text.C (Delete): fix case where delete at the end of
9357           the very first paragraph would not merge the pars
9358
9359 2003-02-17  John Levon  <levon@movementarian.org>
9360
9361         * lyxrow.C: fix lastPrintablePos()
9362
9363 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9364
9365         * bufferparams.C (writeLaTeX): add a std:here
9366
9367         * buffer.C: and remove a using directive there
9368
9369 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9370
9371         * buffer.C (makeLaTeXFile): move the code that generates the
9372           preamble...
9373
9374         * bufferparams.C (writeLaTeX): ... in this new method
9375
9376         * LaTeXFeatures.C (getEncodingSet): make const
9377           (getLanguages): make const
9378
9379         * MenuBackend.C (binding): returns the binding associated to this
9380           action
9381           (add): sets the status of each item by calling getStatus. Adds
9382           some intelligence.
9383           (read): add support for OptSubMenu
9384           (expand): remove extra separator at the end of expanded menu
9385
9386 2003-02-15  John Levon  <levon@movementarian.org>
9387
9388         * BufferView.C:
9389         * BufferView_pimpl.C:
9390         * bufferlist.h:
9391         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9392           inset code that had no actual effect. Remove unneeded status
9393           code.
9394
9395 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9396
9397         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9398           in preamble
9399
9400 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9401
9402         * text.C (drawLengthMarker): also draw an arrow marker for
9403           symbolic lengths (medskip...)
9404
9405 2003-02-14  John Levon  <levon@movementarian.org>
9406
9407         * tabular.h:
9408         * tabular.C: better method names
9409
9410 2003-02-14  John Levon  <levon@movementarian.org>
9411
9412         * BufferView_pimpl.C:
9413         * bufferlist.C:
9414         * buffer.C:
9415         * converter.C:
9416         * lyx_cb.C:
9417         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9418           it's a more accurate name. Remove some pointless uses.
9419
9420 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9421
9422         * text2.C (LyXText): change order of initilizers to shut off
9423           warnings
9424
9425 2003-02-14  John Levon  <levon@movementarian.org>
9426
9427         * buffer.C: use ParIterator for getParFromID()
9428
9429         * paragraph.h:
9430         * paragraph.C:
9431         * paragraph_pimpl.h:
9432         * paragraph_pimpl.C: remove unused getParFromID()
9433
9434 2003-02-14  John Levon  <levon@movementarian.org>
9435
9436         * buffer.C: remove some very old #if 0'd parse code
9437
9438 2003-02-13  John Levon  <levon@movementarian.org>
9439
9440         * text.h:
9441         * text.C:
9442         * text2.C: move hfillExpansion(), numberOfSeparators(),
9443           rowLast(), rowLastPrintable(), numberofHfills(),
9444           numberOfLabelHfills() ...
9445
9446         * lyxrow.h:
9447         * lyxrow.C: ... to member functions here.
9448
9449         * paragraph.h:
9450         * paragraph.C:
9451         * lyxtext.h:
9452         * text.C: remove LyXText::beginningOfMainBody(), and call
9453           p->beginningOfMainBody() directly. Move the check for
9454           LABEL_MANUAL into the latter.
9455
9456         * text.h:
9457         * text.C:
9458         * text2.C:
9459         * vspace.C:
9460         * BufferView.h:
9461         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9462
9463         * text.h:
9464         * text.C:
9465         * text2.C:
9466         * text3.C:
9467         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9468           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9469
9470 2003-02-13  John Levon  <levon@movementarian.org>
9471
9472         * CutAndPaste.C: remove debug
9473
9474 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9475
9476         * paragraph.C (asString): remove two unused variables
9477
9478         * lyxtextclass.C (readTitleType):
9479           (Read):
9480           (LyXTextClass): handle new members titletype_ and titlename_
9481
9482         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9483
9484 2003-02-09  John Levon  <levon@movementarian.org>
9485
9486         * buffer.h:
9487         * buffer.C: replace hand-coded list with a map for the dep clean
9488
9489 2003-02-08  John Levon  <levon@movementarian.org>
9490
9491         * LaTeX.C: consolidate code into showRunMessage() helper
9492
9493 2003-02-08  John Levon  <levon@movementarian.org>
9494
9495         * lyxfind.C:
9496         * lyxtext.h:
9497         * text2.C:
9498         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9499           and pass the size in explicitly
9500
9501         * BufferView_pimpl.h:
9502         * BufferView_pimpl.C:
9503         * BufferView.h:
9504         * BufferView.C: add getCurrentChange()
9505
9506         * BufferView_pimpl.h:
9507         * BufferView_pimpl.C: handle change lfuns
9508
9509         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9510           for changes. Mark pasted paragraphs as new.
9511
9512         * support/lyxtime.h:
9513         * support/lyxtime.C:
9514         * DepTable.C: abstract time_t as lyx::time_type
9515
9516         * LColor.h:
9517         * LColor.C: add colours for new text, deleted text, changebars
9518
9519         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9520           package use "usenames" option.
9521
9522         * commandtags.h:
9523         * lyxfunc.C:
9524         * LyXAction.C: add change lfuns
9525
9526         * Makefile.am:
9527         * author.h:
9528         * author.C: author handling
9529
9530         * buffer.h:
9531         * buffer.C: add a per-buffer author list, with first entry as
9532           current author. Handle new .lyx tokens for change tracking. Output
9533           author list to .lyx file. Output dvipost stuff to .tex preamble.
9534           Bump lyx format to 222.
9535
9536         * bufferlist.h:
9537         * bufferlist.C: add setCurrentAuthor() to reset current author details
9538           in all buffers.
9539
9540         * bufferparams.h:
9541         * bufferparams.C: add param for tracking
9542
9543         * bufferview_funcs.C: output change info in minibuffer
9544
9545         * Makefile.am:
9546         * changes.h:
9547         * changes.C: add change-tracking structure
9548
9549         * debug.h:
9550         * debug.C: add CHANGES debug flag
9551
9552         * lyxfind.h:
9553         * lyxfind.C: add code for finding the next change piece
9554
9555         * lyxrc.h:
9556         * lyxrc.C: add user_name and user_email
9557
9558         * lyxrow.h:
9559         * lyxrow.C: add a metric for the top of the text line
9560
9561         * lyxtext.h:
9562         * text.C: implement accept/rejectChange()
9563
9564         * lyxtext.h:
9565         * text.C: paint changebars. Paint new/deleted text in the chosen
9566         colours. Strike through deleted text.
9567
9568         * paragraph.h:
9569         * paragraph.C:
9570         * paragraph_pimpl.h:
9571         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9572           in the current change to the insert functions. Rework erase to
9573           mark text as deleted, adding an eraseIntern() and a range-based
9574           erase(). Implement per-paragraph change lookup and
9575           accept/reject.
9576
9577         * paragraph_funcs.C: Fixup paste for change tracking.
9578
9579         * tabular.C: mark added row/columns as new.
9580
9581         * text.C: fix rowLast() to never return -1. Don't allow
9582           spellchecking of deleted text. Track transpose changes. Don't
9583           allow paragraph break or merge where appropriate.
9584
9585         * text2.C: leave cursor at end of selection after a cut.
9586
9587 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9588
9589         * text.C (getLengthMarkerHeight):
9590         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9591         visible on screen too.
9592
9593 2003-02-07  John Levon  <levon@movementarian.org>
9594
9595         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9596
9597 2003-02-05  Angus Leeming  <leeming@lyx.org>
9598
9599         * lyxserver.C (read_ready): revert my patch of 11 September last year
9600         as it sends PC cpu through the roof. Presumably this means that
9601         the lyxserver will no longer run on an Alpha...
9602
9603 2003-01-30  Angus Leeming  <leeming@lyx.org>
9604
9605         * factory.C (createInset): create an InsetCommandParam of type "index"
9606         and use it to 'do the right thing'.
9607
9608         * text2.C (getStringToIndex): ensure that cursor position is always
9609         reset to the reset_cursor position.
9610
9611 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9612
9613         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9614         disabled.
9615
9616 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9617
9618         * bufferview.C:
9619         * lyxcb.C:
9620         * lyxfunc.C: Output messages with identical spelling, punctuation,
9621         and spaces
9622
9623 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9624
9625         * MenuBackend.C (expandFormats): List only viewable export formats
9626         in "View" menu
9627
9628         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9629         message
9630
9631         * lyxfunc.C (getStatus): Make sure that formats other than
9632         "fax" can also be disabled
9633
9634 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9635
9636         * text3.C (dispatch): put the lfuns that insert insets in 3
9637         groups, and call doInsertInset with appropriate arguments.
9638         (doInsertInset): new function, that creates an inset and inserts
9639         it according to some boolean parameters.
9640
9641 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9642
9643         * buffer.C (readFile): remember to pass on 'par' when calling
9644         readFile recursively.
9645
9646 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9647
9648         * MenuBackend.C (expandFormats): add "..." to import formats.
9649
9650 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9651
9652         * paragraph.C (asString): Remove XForms RTL hacks.
9653
9654 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9655         * buffer.C: fix typo
9656
9657 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9658
9659         * Makefile.am (LIBS): delete var
9660         (lyx_LDADD): add @LIBS@ here instead.
9661
9662 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9663
9664         * Clarify the meaning of "wheel mouse jump"
9665
9666 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9667
9668         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9669         tabular in a float
9670
9671 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9672
9673         * importer.C (Loaders): do not preallocate 3 elements in the
9674         vector, since one ends up with 6 elements otherwise
9675
9676 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9677
9678         * DepTable.C (write): write the file name as last element of the
9679         .dep file (because it may contain spaces)
9680         (read): read info in the right order
9681
9682 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9683
9684         * paragraph_pimpl.C (simpleTeXBlanks):
9685         (simpleTeXSpecialChars):
9686         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9687
9688         * tabular.C (latex): add some missing case statements. Reindent.
9689
9690         * MenuBackend.C (expandToc): remove unused variable.
9691
9692 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9693
9694         * LColor.C:
9695         * LaTeX.C:
9696         * LyXAction.C:
9697         * MenuBackend.C:
9698         * buffer.C:
9699         * exporter.C:
9700         * lyxfunc.C:
9701         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9702         and the like.
9703
9704 2003-01-05  John Levon  <levon@movementarian.org>
9705
9706         * BufferView.h:
9707         * BufferView.C: add getEncoding()
9708
9709         * kbsequence.h:
9710         * kbsequence.C: do not store last keypress
9711
9712         * lyxfunc.h:
9713         * lyxfunc.C: store last keypress here instead. Pass encoding
9714           to getISOEncoded()
9715
9716 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9717
9718         * lyx_main.C (init): remove annoying error message when following
9719         symbolic links (bug #780)
9720
9721 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9722
9723         * text.C (insertChar):
9724         * lyxrc.C (getDescription): remove extra spaces
9725
9726 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9727
9728         * lyxrc.C (getDescription): remove extra spaces
9729
9730 2002-12-20  John Levon  <levon@movementarian.org>
9731
9732         * text3.C: hack fix for page up/down across tall rows
9733
9734 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9735
9736         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9737         not been invoked
9738
9739 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9740
9741         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9742         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9743         thesaurus is not compiled in
9744
9745 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9746
9747         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9748
9749 2002-12-16  Angus Leeming  <leeming@lyx.org>
9750
9751         * lyxrc.[Ch]:
9752         * lyx_main.C (init): remove override_x_deadkeys stuff.
9753
9754 2002-12-12  John Levon  <levon@movementarian.org>
9755
9756         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9757           insert. Only remove shift modifier under strict
9758           circumstances.
9759
9760 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9761
9762         * MenuBackend.C (expandToc): fix crash.
9763
9764 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9765
9766         * MenuBackend.C (expandToc): gettext on float names.
9767
9768 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9769
9770         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9771         implement bool empty() [bug 490]
9772
9773 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9774
9775         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9776
9777 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9778
9779         * several files: ws changes
9780
9781 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9782
9783         * text2.C (setCounter): clean up a bit, use boost.format.
9784         (updateCounters): initialize par upon declaration.
9785
9786         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9787         if the layout exists. We do not just store the layout any more.
9788         (SwitchLayoutsBetweenClasses): use boost.format
9789
9790 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9791
9792         * converter.C (convert): if from and to files are the same, use a
9793         temporary files as intermediary
9794
9795 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9796
9797         * commandtags.h:
9798         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9799
9800 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9801
9802         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9803
9804 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9805
9806         * tabular.C (asciiPrintCell): use string(size, char) instead of
9807         explicit loop.
9808
9809         * sgml.C (openTag): fix order of arguments to string constructor
9810         (closeTag): ditto
9811
9812         * lyxfunc.C (dispatch): use boost.format
9813
9814         * lots of files: change "c" -> 'c'
9815
9816 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9817
9818         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9819
9820 2002-11-25  Angus Leeming  <leeming@lyx.org>
9821
9822         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9823
9824         * lyx_main.C (init): compile fix.
9825
9826 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9827
9828         * lyx_cb.C (start): boost.formatify
9829         do not include <iostream>
9830
9831         * lengthcommon.C: ws only
9832
9833         * boost-inst.C,BoostFormat.h: add more explict instantations
9834
9835 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9836
9837         * lots of files: handle USE_BOOST_FORMAT
9838
9839 2002-11-21  John Levon  <levon@movementarian.org>
9840
9841         * pspell.C: fix compile
9842
9843 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9844
9845         * lyxfunc.C (dispatch): use boost::format
9846         (open): ditto
9847         (doImport): ditto
9848
9849         * lyxfont.C (stateText): use boost::format
9850
9851         * lyx_main.C (LyX): use boost::format
9852         (init): ditto
9853         (queryUserLyXDir): ditto
9854         (readRcFile): ditto
9855         (parse_dbg): ditto
9856         (typedef boost::function): use the recommened syntax.
9857
9858         * importer.C (Import): use boost::format
9859
9860         * debug.C (showLevel): use boost::format
9861
9862         * converter.C (view): use boost::format
9863         (convert): ditto
9864         (move): ditto
9865         (scanLog): ditto
9866
9867         * bufferview_funcs.C (currentState): use boost::format
9868
9869         * bufferlist.C (emergencyWrite): use boost::format
9870
9871         * buffer.C (readLyXformat2): use boost::format
9872         (parseSingleLyXformat2Token): ditto
9873
9874         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9875
9876         * LaTeX.C (run): use boost::format
9877
9878         * Chktex.C (scanLogFile): use boost::format
9879
9880         * BufferView_pimpl.C (savePosition): use boost::format
9881         (restorePosition): ditto
9882         (MenuInsertLyXFile): ditto
9883
9884         * BoostFormat.h: help file for explicit instation.
9885
9886 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9887
9888         * tabular.C (latex): Support for block alignment in fixed width
9889         columns.
9890
9891 2002-11-17  John Levon  <levon@movementarian.org>
9892
9893         * BufferView_pimpl.C:
9894         * lyx_cb.C:
9895         * lyxfunc.C: split filedialog into open/save
9896
9897 2002-11-08  Juergen Vigna  <jug@sad.it>
9898
9899         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9900         by my last patch (hopefully).
9901
9902 2002-11-08  John Levon  <levon@movementarian.org>
9903
9904         * iterators.h:
9905         * iterators.C:
9906         * buffer.h:
9907         * buffer.C:
9908         * paragraph.h:
9909         * paragraph.C:
9910         * toc.h:
9911         * toc.C: ParConstIterator, and use it (from Lars)
9912
9913 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9914
9915         * lyxtextclass.[Ch]: revise and add doxygen comments
9916
9917 2002-11-07  John Levon  <levon@movementarian.org>
9918
9919         * text.C: fix progress value for spellchecker
9920
9921         * toc.C: fix navigate menu for insetwrap inside minipage
9922
9923         * paragraph_funcs.C: added FIXME for suspect code
9924
9925 2002-11-07  John Levon  <levon@movementarian.org>
9926
9927         * BufferView_pimpl.C: fix redrawing of insets
9928           on buffer switch
9929
9930 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9931
9932         * text2.C (updateCounters): fix bug 668
9933
9934 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9935
9936         * text3.C (dispatch): Do not make the buffer dirty when moving the
9937         cursor.
9938
9939 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9940
9941         * vc-backend.C: STRCONV
9942         (scanMaster): ditto
9943
9944         * text2.C (setCounter): STRCONV
9945
9946         * paragraph.C (asString): STRCONV
9947
9948         * lyxlength.C (asString): STRCONV
9949         (asLatexString): ditto
9950
9951         * lyxgluelength.C (asString): STRCONV
9952         (asLatexString): ditto
9953
9954         * lyxfunc.C (dispatch): STRCONV
9955         (open): ditto
9956
9957         * lyxfont.C (stateText): STRCONV
9958
9959         * importer.C (Import): STRCONV
9960
9961         * counters.C (labelItem): STRCONV
9962         (numberLabel): ditto
9963         (numberLabel): remove unused ostringstream o
9964
9965         * chset.C: STRCONV
9966         (loadFile): ditto
9967
9968         * bufferview_funcs.C (currentState): STRCONV
9969
9970         * buffer.C (readFile): STRCONV
9971         (asciiParagraph): ditto
9972         (makeLaTeXFile): ditto
9973
9974         * Spacing.C (writeEnvirBegin): STRCONV
9975
9976         * LaTeXFeatures.C (getLanguages): STRCONV
9977         (getPackages): ditto
9978         (getMacros): ditto
9979         (getBabelOptions): ditto
9980         (getTClassPreamble): ditto
9981         (getLyXSGMLEntities): ditto
9982         (getIncludedFiles): ditto
9983
9984         * LaTeX.C: STRCONV
9985         (run): ditto
9986         (scanAuxFile): ditto
9987         (deplog): ditto
9988
9989         * LString.h: add the STRCONV macros
9990
9991         * BufferView_pimpl.C (savePosition): STRCONV
9992         (restorePosition): ditto
9993         (MenuInsertLyXFile): ditto
9994
9995         * vc-backend.C (scanMaster): change from submatch[...] to
9996         submatch.str(...)
9997
9998         * funcrequest.C: include config.h
9999
10000         * factory.C: include config.h
10001
10002         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10003
10004         * box.C: include config.h
10005
10006         * LaTeX.C (scanAuxFile): change from submatch[...] to
10007         submatch.str(...)
10008         (deplog): ditto
10009
10010 2002-10-25  Angus Leeming  <leeming@lyx.org>
10011
10012         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10013
10014         * ispell.[Ch] (setError): new method.
10015         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10016         Use setError() insetead of goto END.
10017
10018         * lyx_cb.C (AutoSave): move out child process into new class
10019         AutoSaveBuffer.
10020
10021 2002-10-30  John Levon  <levon@movementarian.org>
10022
10023         * text3.C: make start appendix undoable
10024
10025 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10026
10027         * lyxlength.C (inPixels): Fix returned value.
10028
10029         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10030         environment.
10031
10032 2002-10-24  Angus Leeming  <leeming@lyx.org>
10033
10034         * lyxgluelength.h: no need to forward declare BufferParams
10035         or BufferView, so don't.
10036
10037 2002-10-21  John Levon  <levon@movementarian.org>
10038
10039         * BufferView.C: menuUndo ->undo, redo
10040
10041         * BufferView.h: document, remove dead, make some methods private
10042
10043         * paragraph_funcs.h:
10044         * paragraph_funcs.C:
10045         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10046
10047         * buffer.h:
10048         * buffer.C:
10049         * sgml.h:
10050         * sgml.C: move sgml open/close tag into sgml.C
10051
10052         * bufferview_funcs.h: unused prototype
10053
10054         * lyxfunc.h:
10055         * lyxfunc.C: remove unused
10056
10057         * lyxtext.h:
10058         * text.C: remove unused
10059
10060 2002-10-21  John Levon  <levon@movementarian.org>
10061
10062         * BufferView.h:
10063         * BufferView.C:
10064         * BufferView_pimpl.h:
10065         * BufferView_pimpl.C: fix mouse wheel handling based on
10066           patch from Darren Freeman
10067
10068 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10069
10070         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10071
10072 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10073
10074         * lyxlength.C (inPixels): Fix hanfling of negative length.
10075         Fix LyXLength::MU case.
10076
10077 2002-10-16  John Levon  <levon@movementarian.org>
10078
10079         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10080
10081 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10082
10083         * converter.C (view): add support for $$i (file name) and $$p
10084         (file path) for the viewer command. If $$i is not specified, then
10085         it is appended to the command (for compatibility with old syntax)
10086
10087 2002-10-14  Juergen Vigna  <jug@sad.it>
10088
10089         * undo_funcs.C (textHandleUndo): alter the order in which the
10090         new undopar is added to the LyXText, as we have to set first
10091         the right prev/next and then add it as otherwise the rebuild of
10092         LyXText is not correct. Also reset the cursor to the right paragraph,
10093         with this IMO we could remove the hack in "redoParagraphs()".
10094
10095 2002-10-09  Angus Leeming  <leeming@lyx.org>
10096
10097         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10098         to turn off an optimisation if a new inset is to be inserted.
10099
10100 2002-10-11 André Pönitz <poenitz@gmx.net>
10101
10102         * lyxtext.h: make some functions public to allow access
10103         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10104
10105 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10106
10107         * text3.C (dispatch): when changing layout, avoid an infinite loop
10108         [bug #652]
10109
10110 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10111
10112         * lyxrc.C (read): treat a viewer or converter command of "none" as
10113         if it were empty.
10114
10115         * MenuBackend.C (expandFormats): for an update, also allow the
10116         formats that are not viewable
10117
10118         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10119         script if it is newer than the lyxrc.defaults in user directory
10120
10121 2002-10-07 André Pönitz <poenitz@gmx.net>
10122
10123         * text.C: Vitaly Lipatov's small i18n fix
10124
10125 2002-09-25  Angus Leeming  <leeming@lyx.org>
10126
10127         * ispell.h: doxygen fix.
10128
10129 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10130
10131         * buffer.h (readFile): Add a new argument to the method, to allow
10132         reading of old-format templates.
10133
10134 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10135
10136         * toc.C (getTocList): Get TOC from InsetWrap.
10137
10138 2002-09-16  John Levon  <levon@movementarian.org>
10139
10140         * lyxfunc.C: check tabular for cut/copy too
10141
10142 2002-09-12  John Levon  <levon@movementarian.org>
10143
10144         * LyXAction.C: tidy
10145
10146         * factory.h:
10147         * factory.C: add header
10148
10149         * paragraph_funcs.h:
10150         * paragraph_funcs.C: cleanup
10151
10152 2002-09-11  John Levon  <levon@movementarian.org>
10153
10154         * PrinterParams.h: odd/even default to true
10155
10156 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10157
10158         * PrinterParams.h: update printer parameters for new xforms dialog
10159
10160 2002-09-11  Angus Leeming  <leeming@lyx.org>
10161
10162         * lyxserver.C (read_ready): re-write to make it more transparent
10163         and to make it work in coherent fashion under Tru64 Unix.
10164
10165 2002-09-11  André Pönitz <poenitz@gmx.net>
10166
10167         * commandtags.h:
10168         * LyXAction.C:
10169         * text3.C: implement LFUN_WORDSEL
10170
10171 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10172
10173         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10174         make floatlist_ a boost::shared_ptr<FloatList>
10175
10176         * lyxtextclass.C: include FloatList.h
10177         (LyXTextClass): initialize floatlist_
10178         (TextClassTags): add TC_NOFLOAT
10179         (Read): match "nofloat" to TC_NOFLOAT and use it.
10180         (readFloat): modify call to floatlist_
10181         (floats): ditto
10182         (floats): ditto
10183
10184         * FloatList.[Ch] (FloatList): remove commented out float
10185         initialization.
10186         (erase): new function
10187
10188 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10189
10190         * MenuBackend.C (expandToc): fix crash when there is no document
10191         open
10192
10193 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10194
10195         * many files: Add insetwrap.
10196
10197 2002-09-09  John Levon  <levon@movementarian.org>
10198
10199         * text2.C: remove confusing and awkward depth wraparound
10200
10201 2002-09-09  John Levon  <levon@movementarian.org>
10202
10203         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10204
10205         * buffer.h:
10206         * buffer.C: remove getIncludeonlyList()
10207
10208         * paragraph.C:
10209         * lyxfunc.C: remove headers
10210
10211 2002-09-09  Juergen Vigna  <jug@sad.it>
10212
10213         * text.C (getColumnNearX): fix form Michael this is most
10214         probably a cut&paste bug.
10215
10216 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10217
10218         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10219
10220         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10221         references, ws changes.
10222
10223         * text2.C (init): update counters after init
10224         (insertParagraph): no need to set counter on idividual paragraphs.
10225         (setCounter): access the counters object in the textclass object
10226         on in the buffer object.
10227         (updateCounters): ditto
10228
10229         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10230         shared_ptr<Counters> to avoid loading counters.h in all
10231         compilation units.
10232         (LyXTextClass): initialize ctrs_
10233         (TextClassTags): add TC_COUNTER, and ...
10234         (Read): use it here.
10235         (CounterTags): new tags
10236         (readCounter): new function
10237         (counters): new funtion
10238         (defaultLayoutName): return a const reference
10239
10240         * counters.C (Counters): remove contructor
10241         (newCounter): remove a couple of unneeded statements.
10242         (newCounter): simplify a bit.
10243         (numberLabel): some small formatting changes.
10244
10245         * buffer.[Ch]: remove all traces of counters, move the Counters
10246         object to the LyXTextClass.
10247
10248 2002-09-06  Alain Castera  <castera@in2p3.fr>
10249
10250         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10251         package to set the horizontal alignment on fixed width columns.
10252
10253         * lyx_sty.C:
10254         * lyx_sty.h: added tabularnewline macro def.
10255
10256         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10257
10258 2002-09-06  John Levon  <levon@movementarian.org>
10259
10260         * LyXAction.C: tooltips for sub/superscript
10261
10262         * MenuBackend.C: a bit more verbose
10263
10264         * lyxfunc.C: tiny clean
10265
10266         * undo_funcs.C: document undo_frozen
10267
10268 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10269
10270         * counters.C (Counters): add missing algorithm counter.
10271
10272         * text2.C (setCounter): lookup the counter with layouts latexname
10273         instead of by section number.
10274         (setCounter): use a hackish way to lookup the correct enum
10275         counter.
10276         a float name->type change
10277         reset enum couners with counter name directly instead of depth value.
10278
10279         * counters.C (Counters): remove the push_backs, change to use the
10280         float type not the float name.
10281         (labelItem): remove unused string, float name->type change
10282
10283         * counters.h: don't include vector, loose the enums and sects vectors
10284
10285 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10286
10287         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10288         (Read): add float->TC_FLOAT to textclassTags
10289         (Read): and handle it in the switch
10290         (readFloat): new function
10291
10292         * FloatList.C (FloatList): comment out the hardcoded float
10293         definitions.
10294
10295         * lyxlayout.h: ws change.
10296
10297 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10298
10299         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10300
10301 2002-09-03  Angus Leeming  <leeming@lyx.org>
10302
10303         * BufferView_pimpl.h: qualified name is not allowed in member
10304         declaration: WorkArea & Pimpl::workarea() const;
10305
10306         * factory.C: added using std::endl directive.
10307
10308         * text3.C: added using std::find and std::vector directives.
10309
10310 2002-08-29  André Pönitz <poenitz@gmx.net>
10311
10312         * lyxtext.h:
10313         * text2.C: remove unused member number_of_rows
10314
10315         * Makefile.am:
10316         * BufferView2.C: remove file, move contents to...
10317         * BufferView.C: ... here
10318
10319         * BufferView_pimpl.C:
10320         * factory.C: move more inset creation to factory
10321
10322         * vspace.C: avoid direct usage of LyXText, ws changes
10323
10324         * BufferView.[Ch]:
10325                 don't provide direct access to WorkArea, use two simple
10326                 acessors haveSelction() and workHeight() instead
10327
10328
10329 2002-08-29  John Levon  <levon@movementarian.org>
10330
10331         * BufferView_pimpl.C (dispatch): do not continue when
10332           no buffer
10333
10334 2002-08-28  André Pönitz <poenitz@gmx.net>
10335
10336         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10337
10338         * BufferView.h:
10339         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10340
10341 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10342
10343         * buffer.C: increment LYX_FORMAT to 221
10344
10345         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10346         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10347
10348         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10349
10350         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10351
10352 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10353
10354         * factory.C (createInset): use LyXTextClass::floats
10355
10356         * MenuBackend.C (expandFloatListInsert):
10357         (expandFloatInsert):
10358         (expandToc):
10359
10360         * text2.C (setCounter):
10361
10362         * LaTeXFeatures.C (useFloat):
10363         (getFloatDefinitions):
10364
10365         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10366
10367         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10368         floatlist_, with accessor floats().
10369
10370         * FloatList.h: remove global FloatList
10371
10372 2002-08-26  André Pönitz <poenitz@gmx.net>
10373
10374         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10375
10376         * BufferView.h:
10377         * BufferView2.C:
10378         * BufferView_pimpl.C:
10379         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10380
10381 2002-08-25  John Levon  <levon@movementarian.org>
10382
10383         * LyXAction.C: fix margin note description
10384
10385 2002-08-24  John Levon  <levon@movementarian.org>
10386
10387         * buffer.C:
10388         * bufferlist.C:
10389         * bufferview_funcs.C:
10390         * lyxfont.C:
10391         * undo_funcs.C: cleanups
10392
10393         * lyxfunc.C: disable CUT/COPY when no selection
10394
10395 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10396
10397         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10398         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10399
10400         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10401         Add backward compatibility to "mono", "gray" and "no".
10402
10403 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10404
10405         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10406         (and file_format >= 200).
10407
10408 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10409
10410         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10411
10412 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10413
10414         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10415
10416 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10417
10418         * BufferView_pimpl.C:
10419         * LyXAction.C:
10420         * buffer.C:
10421         * commandtags.h:
10422         * lyxfunc.C:
10423         * paragraph.[Ch]:
10424         * text2.C:
10425         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10426         inset and code to make it  work with the paragraph code. The inset
10427         can be anywhere in the paragraph, but will only do the expected
10428         thing in LaTeX if the layout file contains the parameter line
10429                         OptionalArgs    1
10430         (or more generally, a nonzero value) for that layout.
10431
10432 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10433
10434         * paragraph.h: remove the declaration of undefined counters class
10435         function.
10436
10437 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10438
10439         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10440         Dr. Richard Hawkins.
10441
10442 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10443
10444         * paragraph_funcs.h: remove some unneeded includes
10445
10446         * text.C (backspace): pasteParagraph now in global scipe
10447
10448         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10449         (pasteSelection): ditto
10450
10451         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10452         * paragraph_funcs.C (pasteParagraph): ... here
10453
10454 2002-08-20  André Pönitz <poenitz@gmx.net>
10455
10456         * commandtags.h: new LFUNs for swapping/copying table row/colums
10457
10458         * LyXAction.C:
10459         * lyxfunc.C: support for new lfuns
10460
10461 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10462
10463         * tabular.C:
10464         * buffer.[Ch]: remove NO_COMPABILITY stuff
10465
10466 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10467
10468         * boost.C (throw_exception): new file, with helper function for
10469         boost compiled without exceptions.
10470
10471         * paragraph.h:
10472         * lyxlength.C:
10473         * buffer.C:
10474         * ParameterStruct.h:
10475         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10476
10477         * bufferlist.C (emergencyWriteAll): use boost bind
10478
10479         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10480
10481         * text.C: include paragraph_funcs.h
10482         (breakParagraph): breakParagraph is now in global scope
10483
10484         * paragraph_funcs.[Ch]: new files
10485
10486         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10487         global scope
10488
10489         * buffer.C: include paragraph_funcs.h
10490         (insertStringAsLines): breakParagraph is now in global scope
10491
10492         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10493         paragraph_funcs.C
10494
10495         * CutAndPaste.C: include paragraph_funcs.h
10496         (cutSelection): breakParagraphConservative is now in global scope
10497         (pasteSelection): ditto
10498
10499         * buffer.h: declare oprator== and operator!= for
10500         Buffer::inset_iterator
10501
10502         * bufferlist.C (emergencyWrite): don't use fmt(...)
10503
10504         * text3.C: add using std::endl
10505
10506         * BufferView.C (moveCursorUpdate): remove default arg
10507
10508 2002-08-20  André Pönitz <poenitz@gmx.net>
10509
10510         * buffer.[Ch]: move inline functions to .C
10511
10512         * BufferView2.C:
10513         * BufferView_pimpl.C:
10514         * text.C:
10515         * buffer.[Ch]: use improved inset_iterator
10516
10517         * buffer.C:
10518         * paragraph.[Ch]: write one paragraph at a time
10519
10520 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10521
10522         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10523         style if style is not specified.
10524
10525 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10526
10527         * text2.C (setCounter): when searching for right label for a
10528         caption, make sure to recurse to parent insets (so that a caption
10529         in a minipage in a figure float works) (bug #568)
10530
10531 2002-08-20  André Pönitz <poenitz@gmx.net>
10532
10533         * text3.C: new file for LyXText::dispatch() and helpers
10534
10535         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10536
10537         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10538
10539 2002-08-19  André Pönitz <poenitz@gmx.net>
10540
10541         * lyxtext.h:
10542         * text.C: new LyXText::dispatch()
10543
10544         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10545
10546 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10547
10548         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10549
10550         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10551         Hebrew text.
10552
10553 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10554
10555         * Makefile.am: use $(variables) instead of @substitutions@
10556
10557 2002-08-15  André Pönitz <poenitz@gmx.net>
10558
10559         * lyxfunc.C:
10560         * BufferView_pimpl.C: streamlining mathed <-> outer world
10561         interaction
10562
10563         * commandtags.h:
10564         * LyXAction.C: remove unused LFUN_MATH
10565
10566 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10567
10568         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10569
10570 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10571
10572         * paragraph.C (Paragraph): reformat a bit
10573         (cutIntoMinibuffer): use builtin InsetList function instad of
10574         doing it manually.
10575         (getInset): ditto
10576
10577         * buffer.C: include boost/bind.hpp, add using std::for_each
10578         (writeFileAscii): use ParagraphList iterators
10579         (validate): use for_each for validate traversal of paragraphs
10580         (getBibkeyList): use ParagraphList iterators
10581         (resizeInsets): use for_each to resizeInsetsLyXText for all
10582         paragraphs.
10583         (getParFromID): use ParagraphList iterators
10584
10585         * BufferView2.C (lockInset): use paragraph list and iterators
10586
10587 2002-08-14  John Levon  <levon@movementarian.org>
10588
10589         * lyxserver.C: remove spurious xforms include
10590
10591 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10592
10593         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10594
10595 2002-08-13  André Pönitz <poenitz@gmx.net>
10596
10597         * LyXAction.[Ch]:
10598         * lyxfunc.C: further cleaning
10599
10600 2002-08-13  André Pönitz <poenitz@gmx.net>
10601
10602         * funcrequest.h: new constructor
10603
10604         * funcrequest.C: move stuff here from .h
10605
10606         * Makefile.am:
10607         * BufferView_pimpl.C:
10608         * LyXAction.C:
10609         * toc.C:
10610         * lyxfunc.C: subsequent changes
10611
10612         * lyxfunc.h: new view() member function
10613
10614         * lyxfunc.C: subsequent changes
10615
10616 2002-08-13  Angus Leeming  <leeming@lyx.org>
10617
10618         * BufferView2.C:
10619         * BufferView_pimpl.C:
10620         * buffer.C:
10621         * converter.C:
10622         * importer.C:
10623         * lyxfunc.C:
10624         * lyxvc.C:
10625         * toc.C:
10626         * vc-backend.C:
10627         changes due to the changed LyXView interface that now returns references
10628         to member variables not pointers.
10629
10630 2002-08-13  Angus Leeming  <leeming@lyx.org>
10631
10632         * WordLangTuple (word, lang_code): return references to strings,
10633         not strings.
10634
10635         * BufferView.h:
10636         * SpellBase.h:
10637         * lyxtext.h: forward-declare WordLangTuple.
10638
10639         * BufferView2.C:
10640         * ispell.C:
10641         * pspell.C:
10642         * text.C: #include "WordLangTuple.h".
10643
10644         * lyxtext.h:
10645         * text.C: (selectNextWordToSpellcheck): constify return type.
10646
10647 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10648
10649         * buffer.C:
10650         * buffer.h:
10651         * lyxtext.h:
10652         * paragraph.C:
10653         * paragraph_pimpl.h:
10654         * text.C:
10655         * text2.C:
10656         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10657         suggested by Angus.
10658         Made updateCounter always count from start of buffer, and removed
10659         second argument (par).
10660         Reverted floats number display to '#'. Perhaps I'll try again when the
10661         code base is sanitized a bit.
10662
10663 2002-08-12  Angus Leeming  <leeming@lyx.org>
10664
10665         * buffer.[Ch] (getLabelList): constify.
10666
10667 2002-08-07  André Pönitz <poenitz@gmx.net>
10668
10669         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10670
10671         * funcrequest.h: extension to keep mouse (x,y) position
10672
10673 2002-08-12  Juergen Vigna  <jug@sad.it>
10674
10675         * BufferView2.C (insertErrors): forbid undo when inserting error
10676         insets.
10677
10678         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10679
10680 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10681
10682         * ParagraphList.[Ch]: new files
10683
10684         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10685
10686         * BufferView2.C (lockInset): ParagraphList changes
10687         * toc.C: ditto
10688         * text2.C: ditto
10689         * bufferlist.C: ditto
10690         * buffer.h: ditto
10691         * buffer.C: ditto
10692
10693 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10694
10695         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10696         unused class variable counter_,
10697
10698         * paragraph.[Ch] (getFirstCounter): delete unused function
10699
10700         * counters.C: include LAssert.h
10701         (reset): add a new function with no arg, change other version to
10702         not have def. arg and to not allow empty arg.
10703
10704         * text2.C (setCounter): remove empty arg from call to Counters::reset
10705
10706 2002-08-11  John Levon  <levon@movementarian.org>
10707
10708         * Makefile.am: add WordLangTuple.h
10709
10710 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10711
10712         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10713         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10714
10715         * insets/insettext.C: InsetList changes
10716
10717         * graphics/GraphicsSupport.C (operator()): InsetList changes
10718
10719         * toc.C (getTocList): InsetList changes
10720
10721         * paragraph_pimpl.[Ch]: InsetList changes
10722
10723         * paragraph.[Ch]: InsetList changes
10724
10725         * buffer.C (inset_iterator): InsetList changes
10726         (setParagraph): ditto
10727         * buffer.h (inset_iterator): ditto
10728         * iterators.C (operator++): ditto
10729         * iterators.h: ditto
10730
10731         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10732
10733         * InsetList.[Ch]: new files, most InsetList handling moved out of
10734         paragraph.C.
10735
10736         * BufferView2.C (removeAutoInsets): InsetList changes
10737         (lockInset): ditto
10738         (ChangeInsets): ditto
10739
10740 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10741
10742         * paragraph_pimpl.h (empty): new function
10743
10744         * paragraph.[Ch] (empty): new function
10745
10746         * other files: use the new Paragraph::empty function
10747
10748 2002-08-09  John Levon  <levon@movementarian.org>
10749
10750         * lyxtext.h: remove unused refresh_height
10751
10752 2002-08-09  John Levon  <levon@movementarian.org>
10753
10754         * Makefile.am:
10755         * sgml.h:
10756         * sgml.C:
10757         * buffer.C:
10758         * paragraph.h:
10759         * paragraph.C: move sgml char escaping out of paragraph
10760
10761         * paragraph.h:
10762         * paragraph.C: remove id setter
10763
10764         * buffer.C:
10765         * paragraph.C:
10766         * paragraph_pimpl.C: remove dead tex_code_break_column
10767
10768         * bufferview_funcs.C: small cleanup
10769
10770         * lyxfunc.C: remove dead proto
10771
10772         * lyxtext.h: make some stuff private. Remove some dead stuff.
10773
10774         * lyxgluelength.C: make as[LyX]String() readable
10775
10776 2002-08-08  John Levon  <levon@movementarian.org>
10777
10778         * LyXAction.h:
10779         * LyXAction.C:
10780         * MenuBackend.C:
10781         * ToolbarDefaults.C:
10782         * lyxfunc.C:
10783         * lyxrc.C:
10784         * toc.C: lyxaction cleanup
10785
10786 2002-08-08  John Levon  <levon@movementarian.org>
10787
10788         * BufferView2.C: small cleanup
10789
10790         * lyxfind.h:
10791         * lyxfind.C: move unnecessary header into the .C
10792
10793 2002-08-08  John Levon  <levon@movementarian.org>
10794
10795         * funcrequest.h: just tedious nonsense
10796
10797         * lyx_main.h:
10798         * lyx_main.C: cleanups
10799
10800         * buffer.C:
10801         * vspace.C: remove dead header lyx_main.h
10802
10803 2002-08-07  Angus Leeming  <leeming@lyx.org>
10804
10805         * Paragraph.[Ch]:
10806         * paragraph_pimpl.h:
10807         Forward declare class Counters in paragraph.h by moving the ctrs member
10808         variable into Paragraph::Pimpl.
10809         (counters): new method, returning a reference to pimpl_->ctrs.
10810
10811         * text2.C: ensuing changes.
10812
10813 2002-08-07  John Levon  <levon@movementarian.org>
10814
10815         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10816
10817         * BufferView_pimpl.C: announce X selection on double/triple
10818           click
10819
10820         * lyx_main.C: use correct bool in batch dispatch
10821
10822         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10823
10824 2002-08-07  André Pönitz <poenitz@gmx.net>
10825
10826         * funcrequest.h: new class to wrap a kb_action and its argument
10827
10828         * BufferView.[Ch]:
10829         * BufferView_pimpl[Ch]:
10830         * LaTeX.C:
10831         * LyXAction.[Ch]:
10832         * lyxfunc.[Ch]:
10833         * lyxrc.C: subsequent changes
10834
10835
10836 2002-08-07  John Levon  <levon@movementarian.org>
10837
10838         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10839           document options change.
10840
10841 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10842
10843         * counters.[Ch]
10844         * text2.C
10845         * paragraph.[Ch]
10846         * makefile.am: move counters functionality over from
10847         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10848
10849 2002-08-06  John Levon  <levon@movementarian.org>
10850
10851         * WordLangTuple.h: new file for word + language code tuple
10852
10853         * SpellBase.h:
10854         * pspell.h:
10855         * pspell.C:
10856         * ispell.h:
10857         * ispell.C:
10858         * lyxtext.h:
10859         * text.C:
10860         * text2.C:
10861         * BufferView.h:
10862         * BufferView2.C: use WordLangTuple
10863
10864         * layout.h:
10865         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10866
10867 2002-08-06  John Levon  <levon@movementarian.org>
10868
10869         * lyx_main.C: fix cmdline batch handling
10870
10871 2002-08-06  André Pönitz <poenitz@gmx.net>
10872
10873         * lyxrc.C: set default for show_banner to true
10874
10875 2002-08-06  John Levon  <levon@movementarian.org>
10876
10877         * pspell.C: fix a crash, and allow new aspell to work
10878
10879 2002-08-06  John Levon  <levon@movementarian.org>
10880
10881         * lyxfunc.C:
10882         * kbmap.C: small cleanup
10883
10884         * vspace.h:
10885         * vspace.C: add const
10886
10887 2002-08-05  John Levon  <levon@movementarian.org>
10888
10889         * LyXAction.C: back to tabular-insert
10890
10891 2002-08-04  John Levon  <levon@movementarian.org>
10892
10893         * BufferView.h:
10894         * BufferView.C: cosmetic change
10895
10896         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10897
10898         * bufferlist.C:
10899         * buffer.h:
10900         * buffer.C:
10901         * lyxcb.h:
10902         * lyxcb.C:
10903         * lyxserver.C:
10904         * lyxvc.C:
10905         * vc-backend.C:
10906         * BufferView2.C: purge all "Lyx" not "LyX" strings
10907
10908         * lyxcursor.h:
10909         * lyxcursor.C: attempt to add some documentation
10910
10911         * lyxfunc.C:
10912         * commandtags.h:
10913         * LyXAction.C:
10914         * ToolbarDefaults.C:
10915         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10916           merge with LFUN_TABULAR_INSERT
10917
10918         * Makefile.am:
10919         * SpellBase.h:
10920         * ispell.h:
10921         * ispell.C:
10922         * pspell.h:
10923         * pspell.C: split up i/pspell implementations into separate
10924           files, many cleanups
10925
10926         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10927
10928         * text2.C: some cleanup
10929
10930         * lyxfunc.C: don't check for isp_command == "none" any more, it
10931           didn't make any sense
10932
10933 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10934
10935         * counters.[Ch]
10936         * text2.C
10937         * paragraph.[Ch]
10938         * makefile.am: move counters functionality over
10939         from text2.C/paragraph.[Ch] to counters.[Ch], and
10940         make proper C++.
10941 2002-08-02  John Levon  <levon@movementarian.org>
10942
10943         * buffer.C: s/lyxconvert/lyx2lyx/
10944
10945 2002-08-02  Angus Leeming  <leeming@lyx.org>
10946
10947         * lyxlex.C: revert John's change as it breaks reading of the user
10948         preamble.
10949
10950 2002-08-02  Angus Leeming  <leeming@lyx.org>
10951
10952         * importer.C (Import):
10953         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10954         changes due to LyXView::view() now returning a boost::shared_ptr.
10955
10956 2002-08-02  John Levon  <levon@movementarian.org>
10957
10958         * lyxlex.C: small cleanup
10959
10960 2002-08-02  John Levon  <levon@movementarian.org>
10961
10962         * text2.C (status): small cleanup, no logic change
10963
10964 2002-08-01  John Levon  <levon@movementarian.org>
10965
10966         * buffer.h:
10967         * buffer.C (writeFile): don't output alerts, caller
10968           handles this
10969
10970         * bufferlist.C:
10971         * lyx_cb.C: from above
10972
10973         * lyxfunc.C: allow to open non-existent files
10974
10975 2002-07-31  John Levon  <levon@movementarian.org>
10976
10977         * lyxserver.C: don't let incidental errors get
10978           in the way (errno)
10979
10980 2002-07-30  John Levon  <levon@movementarian.org>
10981
10982         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10983
10984 2002-07-30  John Levon  <levon@movementarian.org>
10985
10986         * lyxserver.h:
10987         * lyxserver.C: remove I/O callback too
10988
10989 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10990
10991         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10992         log.
10993
10994 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10995
10996         * many files: strip,frontStrip -> trim,ltrim,rtrim
10997
10998 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10999
11000         * PrinterParams.h: remove extern containsOnly, and include
11001         support/lstrings.h instead.
11002
11003         * LaTeX.C (scanAuxFile): modify because of strip changes
11004         (deplog): ditto
11005         * buffer.C (makeLaTeXFile): ditto
11006         * bufferparams.C (writeFile): ditt
11007         * lyxfont.C (stateText): ditto
11008         * lyxserver.C (read_ready): ditto
11009         * vc-backend.C (scanMaster): ditto
11010
11011         * BufferView_pimpl.h: ws changes
11012
11013         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11014
11015 2002-07-26  André Pönitz <poenitz@gmx.net>
11016
11017         * kb_sequence.C: remove unnedred usings
11018
11019 2002-07-26  Juergen Vigna  <jug@sad.it>
11020
11021         * lyxfind.C (LyXReplace): we have to check better if the returned
11022         text is not of theLockingInset()->getLockingInset().
11023
11024 2002-07-25  Juergen Vigna  <jug@sad.it>
11025
11026         * lyxfind.C (LyXReplace): don't replace if we don't get the
11027         right LyXText.
11028
11029         * undo_funcs.C (createUndo): remove debugging code.
11030
11031 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11032
11033         * buffer.C (parseSingleLyXformat2Token): Use default placement
11034         when reading old floats.
11035
11036         * FloatList.C (FloatList): Change the default placement of figure
11037         and tables to "tbp".
11038
11039 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11040
11041         * MenuBackend.C: using std::max
11042
11043 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11044
11045         * MenuBackend.C (expandToc):
11046         (expandToc2): code moved from xforms menu frontend. It is now
11047         generic and TOCs are transparent to menu frontends.
11048
11049 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11050
11051         * toc.C (getTocList): protect against buf=0
11052
11053         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11054         Menu as first parameter. Now, this calls itself recursively to
11055         expand a whole tree (this will be useful for TOC handling)
11056         (expandFloatInsert): remove 'wide' version of floats
11057
11058         * MenuBackend.h (submenuname): returns the name of the submenu.
11059         (submenu): returns the submenu itself, provided it has been
11060         created by MenuBackend::expand
11061
11062 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11063
11064         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11065         insets which have noFontChange == true. (bug #172)
11066
11067 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11068
11069         * BufferView_pimpl.C: add connection objects and use them...
11070         (Pimpl): here.
11071
11072 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11073
11074         * MenuBackend.C (expandLastfiles):
11075         (expandDocuments):
11076         (expandFormats):
11077         (expandFloatListInsert):
11078         (expandFloatInsert):
11079         (expand): split expand in parts
11080
11081 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11082
11083         * lyx_gui.C: use lyx_gui::exit()
11084
11085 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11086
11087         * LyXAction.C: show the failing pseudo action
11088
11089 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11090
11091         * buffer.C (readFile): Run the lyxconvert script in order to read
11092         old files.
11093
11094 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11095
11096         * LyXAction.C:
11097         * commandtags.h:
11098         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11099
11100 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11101
11102         * LyXAction.C:
11103         * commandtags.h:
11104         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11105
11106 2002-07-22  Herbert Voss  <voss@lyx.org>
11107
11108         * lengthcommon.C:
11109         * lyxlength.[Ch]: add support for the vertical lengths
11110
11111 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11112
11113         * toc.[Ch]: std:: fixes
11114
11115 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11116
11117         * lyxrc.C: do not include lyx_main.h
11118
11119         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11120         for layouts
11121
11122         * lyxrc.C:
11123         * encoding.C:
11124         * bufferlist.C:
11125         * BufferView2.C: include "lyxlex.h"
11126
11127         * tabular.h:
11128         * bufferparams.h: do not #include "lyxlex.h"
11129
11130         * lyxtextclasslist.C (Add): remove method
11131         (classlist): renamed to classlist_
11132
11133         * paragraph_pimpl.C:
11134         * paragraph.C:
11135         * text2.C:
11136         * CutAndPaste.C:
11137         * bufferview_funcs.C:
11138         * bufferlist.C:
11139         * text.C:
11140         * LaTeXFeatures.C:
11141         * buffer.C:
11142         * toc.C (getTocList): use BufferParams::getLyXTextClass
11143
11144         * toc.C (getTocList): use InsetFloat::addToToc
11145
11146         * toc.[Ch]: new files, containing helper functions to handle table
11147         of contents
11148
11149         * lyxfunc.C (dispatch): no need to remove spaces around command
11150         given as a string
11151         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11152         first command of the sequence; it is not very clever, but I do not
11153         have a better idea, actually
11154
11155         * LyXAction.C (LookupFunc): make sure to remove space at the
11156         beginning and end of the command
11157
11158 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11159
11160         * MenuBackend.C (getMenubar): new method: return the menubar of
11161         this menu set
11162         (read): treat differently reading of menu and menubar (in
11163         particular, the menubar has no name now)
11164         (Menu::menubar): remove
11165
11166         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11167         saving is finished
11168
11169 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11170
11171         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11172         a bibitem inset in a RTL paragraph.
11173
11174 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11175
11176         * paragraph_pimpl.C: constify
11177
11178         * BufferView_pimpl.C:
11179         * LaTeX.C:
11180         * lyxfunc.C: fix dispatch in a nicer way
11181
11182 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11183
11184         * lyxfunc.C (dispatch):
11185         * BufferView_pimpl.C:
11186         * BufferView_pimpl.h:
11187         * BufferView.C:
11188         * BufferView.h: rename Dispatch() to dispatch()
11189
11190         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11191
11192         * lyxlayout.C (Read): honor DependsOn tag
11193
11194         * lyxlayout.[Ch] (depends_on): new method
11195
11196         * version.C.in: update lyx_docversion
11197
11198         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11199
11200         * paragraph.C (validate): remove from here...
11201         * paragraph_pimpl.C (validate): ... and move here
11202         (isTextAt): make it const
11203
11204         * buffer.C (getLists): ws cleanup
11205
11206 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11207
11208         * language.C (read): Use iso8859-1 encoding in latex_lang
11209         (this prevents LyX from crashing when using iso10646-1 encoding).
11210
11211 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11212
11213         * text2.C (toggleInset): if cursor is inside an inset, close the
11214         inset and leave cursor _after_ it
11215
11216 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11217
11218         * lyxfunc.C: move minibuffer completion handling out of here
11219
11220 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11221
11222         * BufferView_pimpl.C:
11223         * LaTeX.C: fix dispatch calls
11224
11225 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11226
11227         * text.C (drawChars): Fix Arabic text rendering.
11228
11229 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11230
11231         * LyXAction.C:
11232         * commandtags.h:
11233         * lyxfunc.C: remove message-push/pop
11234
11235         * lyxserver.C:
11236         * lyxfunc.h:
11237         * lyxfunc.C: rationalise some code by removing verboseDispatch
11238           in favour of a bool argument to dispatch()
11239
11240 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11241
11242         * lyx_main.C (init): make sure to read symlinks as absolute paths
11243
11244 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11245
11246         * lyxfunc.h:
11247         * lyxfunc.C: no need for commandshortcut to be a member
11248
11249 2002-07-15  André Pönitz <poenitz@gmx.net>
11250
11251         * converter.C: add support for $$s (scripts from lib/scripts dir)
11252         * lyx_main.C: white space
11253
11254 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11255
11256         * bufferlist.C:
11257         * lyxrc.h:
11258         * lyxrc.C: remove second exit confirmation
11259
11260 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11261
11262         * BufferView.h:
11263         * BufferView.C:
11264         * BufferView2.C:
11265         * BufferView_pimpl.h:
11266         * BufferView_pimpl.C:
11267         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11268
11269 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11270
11271         * MenuBackend.C (expand): add numeric shortcuts to document menu
11272
11273         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11274
11275 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11276
11277         * lyxfont.C (setLyXFamily):
11278         (setLyXSeries):
11279         (setLyXShape):
11280         (setLyXSize):
11281         (setLyXMisc):
11282         (lyxRead):
11283         * debug.C (value):
11284         * buffer.C (asciiParagraph): use ascii_lowercase
11285
11286 2002-07-15  Mike Fabian  <mfabian@suse.de>
11287
11288         * lyxlex_pimpl.C (search_kw):
11289         * lyxlex.C (getLongString):
11290         * converter.h (operator<):
11291         * converter.C (operator<):
11292         * buffer.C (parseSingleLyXformat2Token):
11293         (asciiParagraph):
11294         * ToolbarDefaults.C (read):
11295         * MenuBackend.C (checkShortcuts):
11296         (read):
11297         * LColor.C (getFromGUIName):
11298         (getFromLyXName): use the compare_ascii_no_case instead of
11299         compare_no_case, because in turkish, 'i' is not the lowercase
11300         version of 'I', and thus turkish locale breaks parsing of tags.
11301
11302 2002-07-16  Angus Leeming  <leeming@lyx.org>
11303
11304         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11305         now takes a Buffer const & argument.
11306
11307 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11308
11309         * BufferView.C (resize): check there's a buffer to resize
11310
11311 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11312
11313         * lyxfunc.C: remove dead code
11314
11315         * lyxserver.h:
11316         * lyxserver.C: use lyx_guii::set_read_callback
11317
11318 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11319
11320         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11321         an inset in a RTL paragraph.
11322
11323 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11324
11325         * lyxfunc.C: repaint after a font size update
11326
11327 2002-07-15  André Pönitz <poenitz@gmx.net>
11328
11329         * lyxlength.C: inBP should be able to return negative values
11330
11331 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11332
11333         * lyxfunc.C: use lyx_gui::update_fonts()
11334
11335 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11336
11337         * lyxfunc.C: use lyx_gui::update_color()
11338
11339 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11340
11341         * bufferlist.C:
11342         * lyxfunc.h:
11343         * lyxfunc.C:
11344         * lyxrc.h:
11345         * lyxrc.C: remove file->new asks for name option, and let
11346           buffer-new take an argument
11347
11348 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11349
11350         * BufferView_pimpl.C: remove unneeded extra repaint()
11351
11352 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11353
11354         * LyXAction.C: allow command-sequence with NoBuffer
11355
11356         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11357
11358 2002-07-10  Angus Leeming  <leeming@lyx.org>
11359
11360         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11361
11362 2002-07-09  Angus Leeming  <leeming@lyx.org>
11363
11364         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11365
11366 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11367
11368         * lengthcommon.h: whitespace
11369
11370         * lyxfunc.C: update scrollbar after goto paragraph
11371
11372         * lyxtext.h: factor out page break drawing, and fix it so
11373           page break/added space paints as selected nicely
11374
11375 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11376
11377         * BufferView_pimpl.C: add FIXMEs, clean up a little
11378
11379 2002-07-09  André Pönitz <poenitz@gmx.net>
11380
11381         * lyxfont.[Ch]: support for wasy symbols
11382
11383 2002-07-08  André Pönitz <poenitz@gmx.net>
11384
11385         * BufferView_pimpl.C: apply John's patch for #93.
11386
11387 2002-07-05  Angus Leeming  <leeming@lyx.org>
11388
11389         * BufferView_pimpl.C (buffer): generate previews if desired.
11390
11391         * LColor.h: add "preview" to the color enum.
11392
11393         * LColor.C (LColor): add a corresponding entry to the items array.
11394
11395         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11396         with this buffer.
11397
11398 2002-07-05  Angus Leeming  <leeming@lyx.org>
11399
11400         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11401         The body of the code is now in the method that is passed an ostream &
11402         rather than a file name.
11403         Pass an additional only_preamble parameter, useful for the forthcoming
11404         preview stuff.
11405
11406 2002-07-03  André Pönitz <poenitz@gmx.net>
11407
11408         * lyxfunc.C: simplify getStatus() a bit for math stuff
11409
11410 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11411
11412         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11413
11414 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11415
11416         * text.C (changeRegionCase): do not change case of all the
11417         document when region ends at paragraph end (bug #461)
11418
11419 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11420
11421         * paragraph.C (startTeXParParams):
11422         (endTeXParParams): add \protect when necessary
11423
11424 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11425
11426         * BufferView_pimpl.C (workAreaExpose): remove warning
11427
11428 2002-06-27  Angus Leeming  <leeming@lyx.org>
11429
11430         * Makefile.am: add lyxlayout_ptr_fwd.h.
11431
11432 2002-06-26  André Pönitz <poenitz@gmx.net>
11433
11434         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11435
11436 2002-06-25  Angus Leeming  <leeming@lyx.org>
11437
11438         * lyxfunc.C (dispatch): Comment out the call to
11439         grfx::GCache::changeDisplay. The method no longer exists now that the
11440         pixmap generation part of the graphics loader has been moved into
11441         InsetGraphics.
11442
11443 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11444
11445         * text2.C: layout as layout
11446
11447         * text.C: layout as layout
11448
11449         * tabular.C (OldFormatRead): layout as layout
11450
11451         * paragraph_pimpl.C (TeXDeeper): layout as layout
11452         (realizeFont): layout as layout
11453
11454         * paragraph.C (writeFile): layout as layout
11455         (validate): layout as layout
11456         (getFont): layout as layout
11457         (getLabelFont): layout as layout
11458         (getLayoutFont): layout as layout
11459         (breakParagraph): layout as layout
11460         (stripLeadingSpaces): layout as layout
11461         (getEndLabel): layout as layout
11462         (getMaxDepthAfter): layout as layout
11463         (applyLayout): layout as layout
11464         (TeXOnePar): layout as layout
11465         (simpleTeXOnePar): layout as layout
11466         (TeXEnvironment): layout as layout
11467         (layout): layout as layout
11468         (layout): layout as layout
11469
11470         * lyxtextclass.C (compare_name): new functor to work with
11471         shared_ptr, layout as layout
11472         (Read): layout as layout
11473         (hasLayout): layout as layout
11474         (operator): layout as layout
11475         (delete_layout): layout as layout
11476         (defaultLayout): layout as layout
11477
11478         * lyxlayout_ptr_fwd.h: new file
11479
11480         * lyxlayout.C (Read): layout as layout
11481
11482         * lyx_cb.C (MenuInsertLabel): layout as layout
11483
11484         * bufferlist.C (newFile): layout as layout
11485
11486         * buffer.C (readLyXformat2): layout as layout
11487         (parseSingleLyXformat2Token): layout as layout
11488         (insertStringAsLines): layout as layout
11489         (asciiParagraph): layout as layout
11490         (latexParagraphs): layout as layout
11491         (makeLinuxDocFile): layout as layout
11492         (simpleLinuxDocOnePar): layout as layout
11493         (makeDocBookFile): layout as layout
11494         (simpleDocBookOnePar): layout as layout
11495         (getLists): layout as layout
11496
11497         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11498
11499         * CutAndPaste.C (cutSelection): layout as layout
11500         (pasteSelection): layout as layout
11501         (SwitchLayoutsBetweenClasses): layout as layout
11502
11503         * BufferView_pimpl.C (Dispatch): layout as layout
11504         (smartQuote): layout as layout
11505
11506         * BufferView2.C (unlockInset): layout as layout
11507
11508 2002-06-24  André Pönitz <poenitz@gmx.net>
11509
11510         * lyxfunc.C: fix #487
11511
11512 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11513
11514         * lyxrc.h:
11515         * lyxrc.C:
11516         * lyxfunc.C: remove display_shortcuts, show_banner
11517
11518 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11519
11520         * Buffer_pimpl.C: oops, update on resize
11521
11522 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11523
11524         * buffer.C:
11525         * converter.C:
11526         * exporter.C:
11527         * lyxfunc.C:
11528         * BufferView.h:
11529         * BufferView.C: use repaint()
11530
11531         * BufferView_pimpl.h:
11532         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11533           as it's a clearer description. Remove superfluous
11534           redraws.
11535
11536 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11537
11538         * text.C: fix bug 488. Not ideal, but getting
11539           getWord() to work properly for the insets that
11540           matter is more difficult ...
11541
11542 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11543
11544         * BufferView_pimpl.C:
11545         * LyXAction.C:
11546         * commandtags.h:
11547         * lyxfunc.C: remove the six million index lyxfuncs to just
11548           one, and DTRT (bug 458)
11549
11550 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11551
11552         * BufferView.h:
11553         * BufferView.C:
11554         * BufferView_pimpl.h:
11555         * BufferView_pimpl.C: clean up resize() stuff,
11556           and unnecessary updateScreen()s
11557
11558 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11559
11560         * BufferView.h:
11561         * BufferView.C:
11562         * BufferView_pimpl.h:
11563         * BufferView_pimpl.C:
11564         * lyxfind.h:
11565         * lyxfind.C:
11566         * minibuffer.C: remove focus management of workarea,
11567           not needed. Use screen's greyOut()
11568
11569 2002-06-17  Herbert Voss  <voss@lyx.org>
11570
11571         * converter.C: (convert) do not post a message, when converting
11572         fails, let the calling function decide what to do in this case
11573
11574 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11575
11576         * lyxfunc.C: tidy up a little
11577
11578 2002-06-16    <alstrup@diku.dk>
11579
11580         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11581         Got rid of FORMS_H_LOCATION include. Now we are
11582         GUII.
11583
11584 2002-06-15  LyX Development team  <lyx@rilke>
11585
11586         * buffer.[Ch] (sgmlOpenTag):
11587         (sgmlCloseTag): Added support for avoiding pernicious mixed
11588         content. Return number of lines written.
11589
11590         (makeLinuxDocFile):
11591         (makeDocBookFile): Fixed calls to sgml*Tag.
11592         Simple white space clean.
11593
11594         (simpleDocBookOnePar): Simple white space clean.
11595
11596         * tabular.[Ch] (docBook): Renamed to docbook and got another
11597         argument to related with the pernicious mixed content.
11598
11599         (docbookRow): Fixed calls for docbook inset method.
11600
11601 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11602
11603         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11604         so it's X11 independent.
11605
11606         * kb*.[Ch]: ditto.
11607
11608         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11609
11610 2002-06-15  Lyx Development team  <lyx@electronia>
11611
11612         * intl.h: Renamed getTrans to getTransManager.
11613
11614 2002-06-14  Angus Leeming  <leeming@lyx.org>
11615
11616         * Makefile.am: nuke forgotten stl_string_fwd.h.
11617
11618 2002-06-12  Angus Leeming  <leeming@lyx.org>
11619
11620         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11621
11622 2002-06-13  Angus Leeming  <leeming@lyx.org>
11623
11624         * LaTeX.C:
11625         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11626
11627 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11628
11629         * kbmap.C (getiso): add support for cyrillic and greek
11630
11631 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11632
11633         * BufferView.h:
11634         * BufferView.C:
11635         * BufferView_pimpl.h:
11636         * BufferView_pimpl.C: move bogus scrolling logic
11637           to xforms
11638
11639 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11640
11641         * lyxfunc.C:
11642         * BufferView_pimpl.C: view->resize() change
11643
11644 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11645
11646         * BufferView_pimpl.C: topCursorVisible
11647           prototype change
11648
11649 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11650
11651         * Makefile.am:
11652         * lyx_gui.h:
11653         * lyx_gui.C: move to frontends/
11654
11655         * main.C:
11656         * lyx_main.h:
11657         * lyx_main.C: changes from above
11658
11659 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11660
11661         * intl.C:
11662         * intl.h:
11663         * kbmap.C:
11664         * kbsequence.C:
11665         * lyx_cb.C:
11666         * lyx_main.C: minor tidy
11667
11668 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11669
11670         * BufferView_pimpl.h:
11671         * BufferView_pimpl.C:
11672         * BufferView.h:
11673         * BufferView.C: make painter() const,
11674           remove dead code
11675
11676         * BufferView2.C: use screen() accessor
11677
11678         * lyx_main.h:
11679         * lyx_main.C: some minor cleanup
11680
11681 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11682
11683         * BufferView_pimpl.h:
11684         * BufferView_pimpl.C: remove enter/leaveView,
11685           use workHeight()
11686
11687 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11688
11689         * BufferView.h:
11690         * BufferView.C:
11691         * BufferView2.C:
11692         * BufferView_pimpl.h:
11693         * BufferView_pimpl.C: only construct screen once,
11694           rename
11695
11696         * lyxrc.C: remove pointless comment
11697
11698 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11699
11700         * BufferView.h:
11701         * BufferView.C: remove active() and belowMouse()
11702
11703         * BufferView_pimpl.h:
11704         * BufferView_pimpl.C: use workarea() not workarea_,
11705           and make it use a scoped_ptr instead
11706
11707 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11708
11709         * lyx_gui.C: add debug message on BadWindow
11710
11711 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11712
11713         * sp_spell.C: fdopen is not part of the C++ standard.
11714
11715         * paragraph.C (InsetIterator): use >= instead of ==
11716
11717 2002-06-07  Angus Leeming  <leeming@lyx.org>
11718
11719         Fixes needed to compile with Compaq cxx 6.5.
11720         * BufferView_pimpl.C:
11721         * DepTable.C:
11722         * buffer.C:
11723         * converter.C:
11724         * encoding.C:
11725         * lyx_gui.C:
11726         * lyx_main.C:
11727         * lyxtextclasslist.C:
11728         * minibuffer.C:
11729         * sp_spell.C:
11730         * tabular_funcs.C:
11731         * vc-backend.C:
11732         all c-library variables have been moved into namespace std. Wrap
11733         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11734
11735         * lyxlength.C:
11736         * tabular-old.C:
11737         * tabular.C:
11738         Add a using std::abs declaration.
11739
11740         * kbmap.h (modifier_pair):
11741         * paragraph.h (InsetTable, InsetList):
11742         * lyxfont.h (FontBits):
11743         type definition made public.
11744
11745         * bufferlist.C (emergencyWriteAll): the compiler complains that
11746         there is more than one possible lyx::class_fun template to choose from.
11747         I re-named the void specialisation as lyx::void_class_fun.
11748
11749         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11750
11751         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11752         the compiler is is unable to find tostr in write_attribute.
11753
11754 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11755
11756         * buffer.C (sgmlError): hide #warning
11757
11758 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11759
11760         * xtl/*: get rid of xtl, which is not in use anyway
11761
11762         * LyXAction.C (init):
11763         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11764         were unimplemented xtl experimentation
11765
11766 2002-06-04  André Pönitz <poenitz@gmx.net>
11767
11768         * lyxfunc.C: disable array operation on simple formulae
11769
11770 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11771
11772         * converter.C: constify a bit
11773
11774 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11775
11776         * lyx_gui.C: check xforms version correctly
11777
11778 2002-04-30  Herbert Voss  <voss@lyx.org>
11779
11780         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11781         "keep" option
11782
11783 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11784
11785         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11786           attempt to register it with a VCS)
11787
11788 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11789
11790         * lyx_main.C (init): honor variables LYX_DIR_13x and
11791         LYX_USERDIR_13x
11792
11793 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11794
11795         * buffer.h:
11796         * buffer.C:
11797         * lyx_main.C: fix a crash on bad command line,
11798           and give a useful exit status on error
11799
11800         * lyxfunc.C (doImport): allow -i lyx to work
11801
11802 2002-03-30  André Pönitz <poenitz@gmx.net>
11803
11804         * lyxfunc.C: mathed font changes
11805
11806 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11807
11808         * LaTeX.C:
11809         * importer.h:
11810         * importer.C:
11811         * lyx_sty.h:
11812         * lyx_sty.C:
11813         * lyxlex.C:
11814         * lyxrow.h:
11815         * lyxtext.h:
11816         * paragraph.h:
11817         * paragraph.C:
11818         * texrow.h:
11819         * texrow.C:
11820         * text.C:
11821         * trans_mgr.h: srcdocs, and some minor cleanups
11822
11823 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11824
11825         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11826         call getFont all the time)
11827
11828 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11829
11830         * switch from SigC signals to boost::signals
11831
11832 2002-05-29  André Pönitz <poenitz@gmx.net>
11833
11834         * paragraph_pimpl.C (getChar): don't call size() too often...
11835
11836 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11837
11838         * paragraph_pimpl.C (insertChar): do not try to update tables when
11839         appending (pos == size())
11840
11841         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11842         in order to reduce drastically the number of comparisons needed to
11843         parse a large document
11844
11845 2002-05-29  André Pönitz <poenitz@gmx.net>
11846
11847         * text.C:
11848         * text2.C:
11849         * lyxtextclass.C:
11850         * sp_pspell.h:
11851         * textclasslist.[Ch]:
11852         * sp_ispell.h: whitespace change
11853
11854 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11855
11856         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11857         lyxaction directly now.
11858
11859 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11860
11861         * trans.C:
11862         * lyxfont.C:
11863         * lyxvc.C: remove unused headers
11864
11865 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11866
11867         * Makefile.am:
11868         * buffer.h:
11869         * undostack.h:
11870         * undostack.C:
11871         * undo_funcs.h:
11872         * undo_funcs.C: some cleanups. Use shared_ptr
11873           and a template for the undo stacks.
11874
11875 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11876
11877         * BufferView_pimpl.h:
11878         * BufferView_pimpl.C:
11879         * kbmap.h:
11880         * kbmap.C:
11881         * kbsequence.h:
11882         * kbsequence.C:
11883         * lyxfunc.h:
11884         * lyxfunc.C:
11885         * text2.C: use key_state/mouse_state
11886
11887 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11888
11889         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11890         and LSubstring
11891
11892         * chset.C: change include order
11893         (loadFile): use boost regex and get rid of LRegex and LSubstring
11894
11895         * Makefile.am (BOOST_LIBS): new variable
11896         (lyx_LDADD): use it
11897
11898         * LaTeX.C: change include order.
11899         (scanAuxFile): use boost regex and get rid of LRegex and
11900         LSubstring
11901         (deplog): ditto
11902
11903 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11904
11905         * ColorHandler.h:
11906         * ColorHandler.C:
11907         * FontInfo.h:
11908         * FontInfo.C: moved to frontends/xforms/
11909
11910         * FontLoader.h:
11911         * FontLoader.C: moved into frontends for GUIIzation
11912
11913         * Makefile.am:
11914         * lyx_gui.C:
11915         * lyxfont.C:
11916         * lyxfunc.C: changes from above
11917
11918 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11919
11920         * LColor.C: remove spurious X include
11921
11922         * BufferView_pimpl.C:
11923         * Makefile.am:
11924         * font.h:
11925         * font.C:
11926         * text.C:
11927         * text2.C: move font metrics to frontends/
11928
11929 2002-05-24  Juergen Vigna  <jug@sad.it>
11930
11931         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11932         setting the undo_cursor.
11933
11934         * ParagraphParameters.h: include local includes first.
11935
11936 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11937
11938         * BufferView_pimpl.C:
11939         * BufferView_pimpl.h:
11940         * Makefile.am:
11941         * WorkArea.h:
11942         * WorkArea.C:
11943         * screen.C: move WorkArea into frontends/
11944
11945         * lyxscreen.h:
11946         * screen.C:
11947         * text.C:
11948         * BufferView.C:
11949         * BufferView2.C: move LyXScreen into frontends/
11950
11951         * lyxlookup.h:
11952         * lyxlookup.C:
11953         * lyx_gui.C: move lyxlookup into frontends/xforms/
11954
11955 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11956
11957         * BufferView2.C:
11958         * BufferView_pimpl.C:
11959         * FontLoader.C:
11960         * LyXView.h:
11961         * LyXView.C:
11962         * Makefile.am:
11963         * WorkArea.C:
11964         * XFormsView.h:
11965         * XFormsView.C:
11966         * buffer.C:
11967         * bufferlist.C:
11968         * bufferview_funcs.C:
11969         * converter.C:
11970         * importer.C:
11971         * lyx_cb.C:
11972         * lyx_gui.C:
11973         * lyx_main.C:
11974         * lyx_find.C:
11975         * lyxfunc.C:
11976         * lyxvc.C:
11977         * minibuffer.C:
11978         * text.C:
11979         * text2.C:
11980         * trans.C:
11981         * vc-backend.C: move LyX/XFormsView into frontends/
11982
11983 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11984
11985         * Makefile.am:
11986         * PainterBase.C:
11987         * PainterBase.h:
11988         * Painter.C:
11989         * Painter.h:
11990         * WorkArea.C:
11991         * WorkArea.h:
11992         * screen.C:
11993         * tabular.C:
11994         * text.C:
11995         * text2.C: move Painter to frontends/
11996
11997 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11998
11999         * buffer.C: comment out some some code that depend upon lyx_format
12000         < 220
12001
12002         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12003         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12004
12005         * buffer.h (NO_COMPABILITY): turn off compability
12006
12007         * ColorHandler.C: include scoped_array.hpp
12008
12009         * font.C: Use more specific smart_ptr header.
12010         * Painter.C: ditto
12011         * gettext.C: ditto
12012         * ShareContainer.h: ditto
12013         * lyx_main.h: ditto
12014         * kbmap.h: ditto
12015         * FontInfo.h: ditto
12016         * BufferView_pimpl.h: ditto
12017         * ColorHandler.h: ditto
12018
12019         * kbmap.C (defkey): change call to shared_ptr::reset
12020
12021 2002-05-21  Juergen Vigna  <jug@sad.it>
12022
12023         * buffer.C (insertErtContents): fix to insert ert asis if it is
12024         non empty. Skip it completely if it contains only whitespaces.
12025
12026 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12027
12028         * BufferView_pimpl.C:
12029         * BufferView2.C: clear selection on paste (bug 393)
12030
12031 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12032
12033         * DepTable.C: include ctime
12034
12035 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12036
12037         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12038
12039 2002-05-14  Juergen Vigna  <jug@sad.it>
12040
12041         * text.C (breakParagraph): fixed function to honor the keepempty
12042         layout in the right maner and also to permit the right breaking
12043         algorithm on empty or non empyt keepempty paragraphs.
12044
12045         * paragraph.C (breakParagraph): we have to check also if the par
12046         is really empty (!size()) for isempty otherwise we do the wrong
12047         paragraph break.
12048
12049 2002-05-10  Juergen Vigna  <jug@sad.it>
12050
12051         * buffer.[Ch] : The following are only changes to the ert
12052         compatibility read reading old LaTeX layout and font stuff and
12053         convert it to ERTInsets.
12054
12055         * buffer.h: added isErtInset().
12056
12057         * buffer.C (struct ErtComp): add a fromlayout bool to check
12058         if we're inside a LaTeX layout.
12059         (isErtInset): new helper function.
12060         (insertErtContents): look for other ert insets before this one
12061         and insert the contents there, so that we don't have subsequent
12062         ERT insets with nothing between them. This way we create only one
12063         inset with multiple paragraphs. Also check if we don't insert only
12064         spaces ' ' as they are ignored anyway afterwards in the .tex file
12065         so if we have only spaces we will ignore this latex part in the
12066         new file.
12067         (parseSingleLyXformat2Token \\layout): better compatibility when
12068         reading layout-latex stuff.
12069         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12070         language tag.
12071         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12072         stuff after reading the inset only get the information back from
12073         the stack.
12074
12075 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12076
12077         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12078
12079         * LaTeXFeatures.C (getBabelOptions): New method.
12080
12081 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12082
12083         * BufferView_pimpl.C (Dispatch): work around missing argument for
12084         'layout'
12085
12086 2002-05-08  Juergen Vigna  <jug@sad.it>
12087
12088         * text.C (leftMargin): handle paragraph leftindent.
12089
12090         * paragraph.C (writeFile): write the new \\leftindent tag.
12091         (validate): handle leftindent code.
12092         (TeXEnvironment): handle paragraphleftindent code again.
12093
12094         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12095
12096         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12097         for paragrap_extra indent code and new token \\leftindent.
12098         (latexParagraphs): handle the leftindent as environment.
12099
12100         * ParameterStruct.h: added leftindent support.
12101
12102         * ParagraphParameters.C (leftIndent): added support functions for
12103         the paragraph left indent.
12104
12105         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12106         more appropriate.
12107
12108 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12109
12110         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12111         inside insetERT.
12112
12113         * text.C (computeBidiTables): No bidi in insetERT.
12114
12115         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12116         in RTL documents.
12117
12118 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12119
12120         * version.C.in: pre 5
12121
12122 2002-05-02  José Matos  <jamatos@fep.up.pt>
12123         * buffer.C (makeDocBookFile): white space changes, add newline to
12124         command styles.
12125         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12126
12127         * tabular.C (docBook): fix typo.
12128
12129 2002-05-03  Juergen Vigna  <jug@sad.it>
12130
12131         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12132         change in LyXText as we can not be sure it was not freed.
12133         (drawOneRow): remove unused code.
12134
12135         * text.C (drawInset): redo the calculation of the need_break_row as
12136         it could have a row which was already freed.
12137         (draw): look at the return value of drawInset and return false if
12138         it also returned false.
12139         (paintRowText): look at the return value of draw and return false if
12140         it also returned false.
12141
12142         * lyxtext.h: added bool return type to drawInset() and draw() so that
12143         if we have a change in the row so that the rowbreak has to be redone
12144         we abort drawing as it will be called again.
12145
12146 2002-05-02  Juergen Vigna  <jug@sad.it>
12147
12148         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12149         a change in the maintext also if we're inside an inset.
12150         (Dispatch): set the cursor again after a break line and after the
12151         screen has been updated as it could be we're in a different row.
12152
12153         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12154         to set the cursor behind the pargraph with > size().
12155         (setCursor): check also for the same paragraph when checking where
12156         to put the cursor if we have a NFR inset.
12157
12158         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12159         parts of layout read further up as it still was in the wrong
12160         position.
12161
12162 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12163
12164         * screen.C (drawFromTo): change sine fullRebreak always return
12165         true.
12166
12167         * buffer.C (parseSingleLyXformat2Token): reindent some
12168
12169         * BufferView_pimpl.C (update): change since fullRebreak always
12170         return true.
12171         (Dispatch): git rid of the last hardcoded "Standard"s.
12172
12173 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12174
12175         * text2.[Ch] (fullRebreak): make it return void now that we always
12176         returned true.
12177
12178 2002-04-30  Juergen Vigna  <jug@sad.it>
12179
12180         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12181         ert compatibility check for "latex" layout.
12182
12183 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12184
12185         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12186         minipages: use col% instead of p%, and also use the current font.
12187         (makeLaTeXFile): Fix use babel condition.
12188         (parseSingleLyXformat2Token): Correct font when reading old floats.
12189
12190 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12191
12192         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12193         inserting list of floats.
12194
12195 2002-04-25  Herbert Voss  <voss@lyx.org>
12196
12197         * MenuBackend.C (expand): don't add the graphics extensions to the
12198         export menu
12199
12200 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12201
12202         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12203         non-existing layout, do not complain if it was the default layout
12204         of the original class (bug #342)
12205
12206 2002-04-24  Juergen Vigna  <jug@sad.it>
12207
12208         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12209         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12210
12211 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12212
12213         * buffer.C (getBibkeyList): If using \bibliography, return the
12214         option field with the reference itself. Enables us to provide natbib
12215         support when using \bibliography.
12216
12217 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12218
12219         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12220
12221         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12222         natbib is provided by the LaTeX class.
12223
12224 2002-04-23  Juergen Vigna  <jug@sad.it>
12225
12226         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12227         Wakeup functions.
12228
12229         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12230
12231 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12232
12233         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12234
12235         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12236         ensuremath around textordmasculine, textordfeminine and
12237         textdegree.
12238
12239 2002-04-19  Juergen Vigna  <jug@sad.it>
12240
12241         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12242         reinitializing the buffer otherwise row-dimensions may be wrong.
12243         (update): reset also the selection cursors if they do exits otherwise
12244         their x/y positions may be wrong.
12245
12246         * text2.C (cursorDown): don't enter the inset if we came from a row
12247         above and are one row over the inset.
12248
12249         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12250         really leaving an inset.
12251
12252 2002-04-18  Juergen Vigna  <jug@sad.it>
12253
12254         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12255         of the selected paragraph does not have the selected layout also if
12256         the last one had!
12257
12258         * text2.C (setLayout): fixed bug which did not change last selected
12259         paragraph.
12260
12261         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12262         changed the read and substituted \\end_float with \\end_inset!
12263
12264         * BufferView_pimpl.C (cursorPrevious):
12265         (cursorNext): fixed to make it work with rows heigher than the work
12266         area without moving the cursor only the draw of the row.
12267         (workAreaMotionNotify): fix jumping over high rows.
12268
12269 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12270
12271         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12272         Ressler.
12273
12274 2002-04-16  Juergen Vigna  <jug@sad.it>
12275
12276         * text2.C (setCursor): set also the irow().
12277         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12278         (cursorUp):
12279         (cursorDown): support for locking an inset if the x_fix value goes
12280         inside it. That way I can transverse insets too with cursor up/down.
12281
12282         * lyxrow.h: added irow helper function same as other (i) functions.
12283
12284         * BufferView_pimpl.C (cursorPrevious):
12285         (cursorNext): fixed for insets!
12286
12287 2002-04-15  Juergen Vigna  <jug@sad.it>
12288
12289         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12290         position otherwise it is wrong in some cases.
12291
12292         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12293         inside the inset before the call.
12294
12295 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12296
12297         * buffer.[Ch] (getBibkeyList): make it const.
12298
12299 2002-04-12  Juergen Vigna  <jug@sad.it>
12300
12301         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12302
12303         * text2.C (getCursorX): new helper function
12304         (setCursor): compute also ix_
12305         (setCursorFromCoordinates): set also ix.
12306
12307         * lyxcursor.h: added ix_ and helper functions.
12308
12309         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12310
12311         * buffer.C (insertStringAsLines): dont break paragraph if the this
12312         paragraph is inside an inset which does not permit it!
12313
12314         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12315         also with no chars on this paragraph.
12316         (paintRowText): only paint stuff if it's inside the workarea!
12317
12318         * paragraph.C (breakParagraph): honor keepempty flag and break the
12319         paragraph always below not above.
12320
12321         * BufferView2.C (unlockInset): update the paragraph layout on inset
12322         unlock as we changed paragraph in such a case.
12323
12324         * lyxfind.C (LyXFind): clear the former selection if not found!
12325
12326         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12327         again called in insertChar().
12328
12329         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12330         an inset which uses the whole row!
12331         (rightMargin): ditto.
12332         (insertChar): force a rebreak if we inserted an inset!
12333
12334 2002-03-28  Herbert Voss  <voss@lyx.org>
12335
12336         * lyxlength.[Ch]: add inBP() to get the right PS-point
12337         units (BigPoint). With inPixels we have rounding errors
12338
12339 2002-04-11  Juergen Vigna  <jug@sad.it>
12340
12341         * text2.C (setCursorFromCoordinates): set iy to the right value.
12342         (setCursor): add check if row->previous exists!
12343
12344         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12345         an old float_type as this was the case in the old code!
12346
12347         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12348
12349         * BufferView2.C (showLockedInsetCursor): use iy
12350         (fitLockedInsetCursor): ditto
12351
12352         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12353         locked insets as there we have the right value now.
12354
12355         * lyxcursor.C: added iy_ variable and iy functions to set to the
12356         baseline of cursor-y of the locked inset.
12357
12358         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12359         (setCursor): fixed for insets which need a full row.
12360
12361         * text.C (rowLastPrintable): don't ignore the last space when before
12362         an inset which needs a full row.
12363         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12364         as last character of a row when before a inset which needs a full row.
12365
12366 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12367
12368         * version.C.in: update date
12369
12370         * text2.C (fullRebreak): try to always return true and see what
12371         happens...
12372
12373 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12374
12375         * MenuBackend.C (expand): use Floating::listName
12376
12377         * FloatList.C (FloatList): add listName argument to the built-in
12378         floats
12379
12380         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12381         text associated with the float.
12382
12383 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12384
12385         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12386
12387 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12388
12389         * ShareContainer.h: add a couple of missing typenames.
12390
12391 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12392
12393         * lyxrc.C (getDescription): use _() correctly rather than N_().
12394
12395 2002-03-28  Herbert Voss  <voss@lyx.org>
12396
12397         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12398         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12399
12400 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12401
12402         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12403         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12404
12405 2002-03-29  Juergen Vigna  <jug@sad.it>
12406
12407         * lyxfunc.C (dispatch): add a missing fitCursor call.
12408
12409         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12410         it was scrolled by a cursor move, so return the bool status.
12411
12412         * BufferView.C (fitCursor): return the bool flag also to the outside
12413         world as this is needed.
12414
12415         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12416
12417         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12418         call the edit() as it is not needed (and wrong) IMO.
12419         (workAreaButtonPress): set the screen_first variable before evt.
12420         unlock the inset as this may change screen_first and then we have
12421         a wrong y position for the click!
12422
12423 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12424
12425         * MenuBackend.C (expand): another translation that I missed
12426
12427 2002-03-28  Juergen Vigna  <jug@sad.it>
12428
12429         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12430
12431         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12432
12433 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12434
12435         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12436
12437         * MenuBackend.C (expand): fix export/view/update when there is no
12438         document open.
12439
12440 2002-03-27  Herbert Voss  <voss@lyx.org>
12441
12442         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12443         and text%
12444
12445 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12446
12447         * bufferview_funcs.C (currentState): only show paragraph number
12448         for is DEVEL_VERSION is set.
12449
12450         * lyxfunc.C (dispatch): put warning in INFO channel
12451
12452         * MenuBackend.C (expand): translate the name of floats
12453
12454         * FloatList.C (FloatList): mark the float names for translation
12455
12456         * converter.C (convert): use LibScriptSearch
12457
12458 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12459
12460         * MenuBackend.C (defaults): fix default menu (we might as well get
12461         rid of it...)
12462
12463 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12464
12465         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12466         directory.
12467
12468 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12469
12470         * lyxvc.C: reorder includes.
12471
12472 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12473
12474         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12475           properly
12476
12477 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12478
12479         * CutAndPaste.C: change layouts earlier on paste
12480           to avoid crashing when calling getFont()
12481
12482 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12483
12484         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12485         irritating #error.
12486
12487 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12488
12489         * WorkArea.C: remove 'Pending' debug message.
12490
12491         * most files: ws cleanup
12492
12493         * buffer.[Ch]: ws changes
12494
12495         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12496
12497 2002-03-21  Juergen Vigna  <jug@sad.it>
12498
12499         * tabular.C (SetMultiColumn): collapse also the contents of the
12500         cells and set the last border right. Added a Buffer const * param.
12501
12502 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12503
12504         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12505         linking or not.
12506
12507 2002-03-19  Juergen Vigna  <jug@sad.it>
12508
12509         * text2.C (clearSelection): reset also xsel_cache.
12510
12511         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12512         where it needs to be called (John tells us to do so too :)
12513         (selectionLost): reset sel_cache.
12514
12515         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12516
12517 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12518
12519         * text2.C (setCursorIntern): put debuging code in INSETS channel
12520
12521 2002-03-19  André Pönitz <poenitz@gmx.net>
12522
12523         * lyxfunc.C: tiny whitespace change
12524
12525 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12526
12527         * ToolbarDefaults.C (init):
12528         * LyXAction.C (init):
12529         * commandtags.h:
12530         * BufferView_pimpl.C (Dispatch):
12531         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12532
12533 2002-03-19  Allan Rae  <rae@lyx.org>
12534
12535         * exporter.C (Export): removeAutoInsets before doing anything else.
12536         While I've just introduced a dependency on BufferView this really is
12537         the best place to clean the buffer otherwise you need to cleanup in
12538         a dozen places before calling export or cleanup in a dozen functions
12539         that export calls.
12540
12541         * converter.C (runLaTeX):
12542         (scanLog): Better handling of removeAutoInsets and screen updates.
12543
12544         * lyxfunc.C (dispatch): small whitespace changes
12545
12546 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12547
12548         * WorkArea.C (C_WorkAreaEvent): return a value.
12549         (event_cb): return 1 if we handled the event, 0 otherwise.
12550
12551         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12552
12553 2002-03-18  Juergen Vigna  <jug@sad.it>
12554
12555         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12556         (GetAdditionalWidth): ditto.
12557         (RightLine): ditto.
12558         (LeftLine): ditto.
12559
12560         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12561         inset if we're there actually (probably not used right now but this
12562         is the direction to go for unifying code).
12563         (paste): disable code to clear the selection.
12564
12565         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12566         inside an InsetText and move the check further up as it is in the
12567         wrong place.
12568
12569         * text2.C (pasteSelection): set a selection over the pasted text.
12570
12571 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12572
12573         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12574         and libgraphics to build on Cygwin.
12575
12576 2002-03-15  Juergen Vigna  <jug@sad.it>
12577
12578         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12579         inserting an Inset into the paragraph. I know this is not the best
12580         fix but we already use current_view in CutAndPaste so we will remove
12581         all of it's using at the same time.
12582
12583         * buffer.C (sgmlError): deactivated function till it is rewritten in
12584         the right mode, now it can create problems.
12585
12586         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12587         before accessing it.
12588
12589 2002-03-14  Juergen Vigna  <jug@sad.it>
12590
12591         * undo_funcs.C (textHandleUndo): do the right thing when updating
12592         the inset after the undo/redo.
12593
12594         * text2.C (setCursor): just some testcode for #44 not ready yet.
12595
12596         * undo_funcs.C (textHandleUndo): set the next() and previous()
12597         pointers of the paragraph to 0 before deleting otherwise we have
12598         problems with the Paragraph::[destructor].
12599
12600         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12601         on a paragraph insertion.
12602
12603 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12604
12605         * buffer.C (asciiParagraph): use += operator for char append to
12606         string.
12607
12608         * paragraph.C (getFontSettings): compare >= not just >
12609         (highestFontInRange): ditto
12610         (setFont): ditto
12611
12612 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12613
12614         * paragraph.C: change several algorithm to be more appripriate for
12615         the problem domain. This is lookip in FontList and in the InsetList.
12616
12617 2002-03-13  André Pönitz <poenitz@gmx.net>
12618
12619         * commandtags.h:
12620         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12621
12622 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12623
12624         * commandtags.h:
12625         * LyXAction.C:
12626         * lyxfunc.C:
12627         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12628
12629 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12630
12631         * Painter.C (display): anon helper function, adjust code for this
12632         change.
12633         (pixmap): remove function.
12634
12635         * Painter.h: remove private display variable.
12636
12637         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12638
12639 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12640
12641         * WorkArea.[Ch]: remove figinset_canvas cruft.
12642
12643 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12644
12645         * lyxtextclass.C (operator): add one item cache optimization.
12646
12647         * bufferlist.h: doxy changes
12648
12649         * bufferlist.C: ws changes
12650
12651         * DepTable.[Ch] (ext_exist): place const in the right spot.
12652
12653         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12654         call resizeInsets.
12655         (workAreaExpose): call resizeInsets when the with BufferView changes.
12656         (Dispatch): adjust for protectedBlank removal
12657         (specialChar): call updateInset if the insert went ok.
12658
12659         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12660         specialChar instead.
12661
12662         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12663
12664         * BufferView.h: doxy change
12665
12666         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12667
12668         * lyxtextclass.C (operator[]): remove non-const version
12669         (defaultLayout): remove non-const version
12670
12671 2002-03-12  Juergen Vigna  <jug@sad.it>
12672
12673         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12674         did resize the LyXText too.
12675
12676         * buffer.C (readLyXformat2): set layout information on newly allocated
12677         paragraphs.
12678
12679         * tabular.C (OldFormatRead): set layout information on the paragraph.
12680
12681 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12682
12683         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12684
12685 2002-03-11  Juergen Vigna  <jug@sad.it>
12686
12687         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12688         plainly wrong.
12689         (resizeCurrentBuffer): force also the insets to resize themselfes.
12690         (moveCursorUpdate): fixed up for InsetText.
12691
12692 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12693
12694         * commandtags.h:
12695         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12696         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12697         value of Dialogs::tooltipsEnabled().
12698         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12699
12700 2002-03-08  Juergen Vigna  <jug@sad.it>
12701
12702         * BufferView_pimpl.C (updateInset): update inset inside inset also
12703         if it isn't inside theLockingInset().
12704
12705 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12706
12707         * buffer.C (asciiParagraph): redo some of the word and line length
12708         handling.
12709         (getLists): look for Caption instead of caption.
12710
12711 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12712
12713         * buffer.C (Buffer): initialize niceFile to true
12714         (makeLaTeXFile):
12715         (makeLinuxDocFile):
12716         (makeDocBookFile): make sure niceFile is true on exit
12717
12718 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12719
12720         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12721
12722 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12723
12724         * LyXSendto.C: remove.
12725         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12726         * lyx_gui.C: remove now-redundant comment.
12727         * ColorHandler.h: remove forward declaration of class WorkArea.
12728         * lyxfunc.C: remove #include "WorkArea.h".
12729
12730 2002-03-07  Juergen Vigna  <jug@sad.it>
12731
12732         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12733         got moved away with the DEPM and also set the inset_owner always
12734         right which before could have been omitted.
12735
12736 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12737
12738         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12739         wanted layout is not found.
12740
12741 2002-03-07  Juergen Vigna  <jug@sad.it>
12742
12743         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12744
12745 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12746
12747         * paragraph.C (breakParagraph): use default layout not layout of
12748         prev paragraph.
12749         (Paragraph): clear ParagraphParameters.
12750
12751 2002-03-06  Juergen Vigna  <jug@sad.it>
12752
12753         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12754         otherwise it would not be a valid lenght. Fixed a special case in
12755         the minipage compatibility read where we end the document with a
12756         minipage.
12757
12758         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12759         was set as it could be 0 for InsetTexts first entry.
12760
12761 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12762
12763         * paragraph.C (writeFile): if layout is empty write out
12764         defaultLayoutName().
12765
12766         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12767         file without named layout we set layout to defaultLayoutName().
12768
12769 2002-03-06  Juergen Vigna  <jug@sad.it>
12770
12771         * CutAndPaste.C (copySelection): set layout for new paragraph.
12772
12773         * text.C (prepareToPrint): leave ERT inset left aligned
12774         (leftMargin): don't indent paragraphs inside ERT insets
12775
12776 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12777
12778         * paragraph.C (breakParagraph): dont call clear do the work manually
12779
12780         * paragraph.[Ch] (clear): remove function
12781
12782 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12783
12784         * paragraph.C (Paragraph): dont call clear, the work has already
12785         been done.
12786
12787         * lyxtextclass.C (operator): assert if n is empty
12788
12789         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12790         work manually instead.
12791
12792 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12793
12794         * BufferView_pimpl.C: protect selectionLost against text == 0
12795
12796 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12797
12798         * text.C (breakParagraph): fix a setting layout to '0' problem.
12799
12800 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12801
12802         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12803         final location of file, for the included files, and graphics.
12804
12805 2002-03-05  Juergen Vigna  <jug@sad.it>
12806
12807         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12808
12809 2002-03-04  Juergen Vigna  <jug@sad.it>
12810
12811         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12812
12813         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12814         last column of multicolumn cells.
12815         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12816
12817 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12818
12819         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12820         file if it doesn't go to a temporary file.
12821
12822         * buffer.C (sgmlOpenTag):
12823         (sgmlCloseTag):  remove extra newline insertion.
12824
12825 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12826
12827         * text.C (getRowNearY): comment out debug msg
12828
12829 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12830
12831         * text2.C: first -> first_y
12832
12833         * text.C (getRowNearY): add some attemts at a possible
12834         optimization, not working.
12835
12836         * tabular.[Ch]: add BufferParams to several function so that newly
12837         created paragraph can be initialized to he default layotu for the
12838         buffers textclass.
12839
12840         * tabular-old.C (ReadOld): add buf->params to call of Init
12841
12842         * screen.C: rename text->first to text->first_y
12843
12844         * paragraph.C (breakParagraph): always set layout in the broken
12845         paragraph
12846
12847         * lyxtextclass.C (Read): remove lowercase
12848         (hasLayout): ditto
12849         (operator): ditto
12850         (delete_layout): ditto
12851
12852         * lyxtext.h: rename first -> first_y
12853
12854         * lyxlayout.C (Read): remove lowercase
12855         (name): ditto
12856         (setName): ditto
12857         (obsoleted_by): ditto
12858
12859         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12860
12861         * buffer.C (insertErtContents): add params are to InsetERT
12862         (parseSingleLyXformat2Token): add code to check if a paragraphs
12863         layout really exist.
12864         (parseSingleLyXformat2Token): add params to several inset
12865         constructors
12866         (asciiParagraph): remove lowercase, do the layout comparisons with
12867         no_case
12868
12869         * BufferView_pimpl.C (cursorNext): first -> first_y
12870         (resizeCurrentBuffer): first -> first_y
12871         (updateScrollbar): first -> first_y
12872         (scrollCB): first -> first_y
12873         (workAreaMotionNotify): first -> first_y
12874         (workAreaButtonPress): first -> first_y
12875         (checkInsetHit): first -> first_y
12876         (cursorPrevious): first -> first_y
12877         (cursorNext): first -> first_y
12878         (Dispatch): add buffer_->params to severl inset contructors
12879
12880 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12881
12882         * lyxlayout.C (Read): remove some debug info that I forgot.
12883
12884         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12885         clean up the code slightly.
12886         (makeLinuxDocFile): ditto
12887         (makeDocBookFile): ditto
12888
12889         * text2.C: layout as string
12890
12891         * text.C: layout as string
12892
12893         * paragraph_pimpl.C: layout as string
12894
12895         * paragraph.[Ch]: layout as string
12896
12897         * lyxtextclasslist.[Ch]: layout as string
12898
12899         * lyxtextclass.[Ch]: layout as string
12900
12901         * lyxtext.h: layout as string
12902
12903         * lyxlayout.[Ch]: layout as string
12904
12905         * lyx_cb.C: layout as string
12906
12907         * bufferview_funcs.C: layout as string
12908
12909         * bufferparams.C: layout as string
12910
12911         * buffer.C: layout as string
12912
12913         * LyXView.[Ch]: layout as string
12914
12915         * LaTeXFeatures.[Ch]: layout as string
12916
12917         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12918
12919         * BufferView_pimpl.C: change current_layout to string, remove
12920         lyx::layout_type.
12921         (Dispatch):
12922         (smartQuote):
12923         (insertInset):
12924         (workAreaButtonRelease): layout as string
12925
12926         * BufferView2.C (unlockInset): adjust
12927
12928         * vspace.C (asLatexCommand): use an explict temp variable.
12929
12930 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12931
12932         * Makefile.am: use FRONTEND_*
12933
12934 2002-03-01  Juergen Vigna  <jug@sad.it>
12935
12936         * tabular.C (SetWidthOfMulticolCell): changed to something better
12937         I hope but still work in progress.
12938         (recalculateMulticolumnsOfColumn): renamed function from
12939         recalculateMulticolCells as it is more appropriate now.
12940         (SetWidthOfCell): calculate multicols better.
12941
12942 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12943
12944         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12945
12946         * lyxfunc.C (processKeySym): print sequence also if it is
12947         `deleted' (complete)
12948
12949         * kbsequence.C (print): print sequence even if it is deleted
12950         (complete would be a better word, actually).
12951
12952         * lyxfunc.C (dispatch): print complete options after a prefix key
12953
12954         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12955
12956 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12957
12958         * text2.C (setCharFont): eliminate setCharFont code duplication.
12959
12960 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12961
12962         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12963         LFUN_TABULAR_FEATURE (bug #177)
12964
12965 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12966
12967         * Makefile.am: remove figure.h
12968
12969 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12970
12971         * Bufferview_pimpl.C:
12972         * CutAndPasteC:
12973         * LaTeX.C:
12974         * LyXSendto.C:
12975         * buffer.C:
12976         * bufferlist.C:
12977         * converter.C:
12978         * language.C:
12979         * lyxfunc.C:
12980         * lyxvc.C:
12981         * paragraph.C:
12982         * text.C:
12983         * text2.C: remove #include "lyx_gui_misc.h".
12984
12985         * LaTeX.C: added #include <cstdio>
12986
12987 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12988
12989         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12990         that the paragraph following this one can have.
12991
12992         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12993
12994         * vspace.C (asLatexCommand): fix bogus gcc warning
12995
12996         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12997
12998 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12999
13000         * text2.C (setLayout): get rid of redundant code
13001
13002 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13003
13004         * text2.C (incDepth): make sure depth cannot be increased beyond
13005         reasonable values.
13006
13007 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13008
13009         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13010         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13011
13012         * PainterBase.h (image):
13013         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13014         a LyXImage const *.
13015
13016 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13017
13018         * BufferView.C:
13019         * BufferView.h:
13020         * BufferView_pimpl.C:
13021         * BufferView_pimpl.h:
13022         * LaTeXFeatures.C:
13023         * LyXAction.C:
13024         * LyXView.C:
13025         * Makefile.am:
13026         * UpdateList.h:
13027         * UpdateList.C:
13028         * buffer.C:
13029         * figure.h:
13030         * figureForm.C:
13031         * figureForm.h:
13032         * figure_form.C:
13033         * figure_form.h:
13034         * lyx_cb.C:
13035         * lyx_gui.C:
13036         * lyx_gui_misc.C:
13037         * lyxfunc.C:
13038         * sp_base.h:
13039         * sp_ispell.h:
13040         * sp_pspell.h:
13041         * sp_spell.C: remove fig inset, and the crap house of
13042           cards that follows it
13043
13044 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13045
13046         * Makefile.am:
13047         * lyxserver.C:
13048         * os2_defines.h:
13049         * os2_errortable.h:
13050         * nt_defines.h: move .h into support/
13051
13052         * vms_defines.h: remove
13053
13054         * WorkArea.C: add space in debug output
13055
13056         * text2.C:
13057         * paragraph.C:
13058         * buffer.C: add WITH_WARNINGS
13059
13060         * vc-backend.h:
13061         * vc-backend.C:
13062         * bufferlist.C: s/retrive/retrieve/, add docs
13063
13064         * vspace.h:
13065         * vspace.C:
13066         * kbmap.h:
13067         * lyxlength.h:
13068         * lyxgluelength.h:
13069         * length_common.h:
13070         * chset.h:
13071         * chset.C: add docs
13072
13073         * lyxgui.C: add ID to X error handler
13074
13075         * lyxtestclass.c: fix typo
13076
13077 2002-02-26  Juergen Vigna  <jug@sad.it>
13078
13079         * tabular_funcs.C (write_attribute): changed so that some default
13080         attributes are not written at all.
13081         (getTokenValue): set default values before trying to read the
13082         value so we have the return value always set as default if we don't
13083         find the token we search for.
13084
13085         * tabular.C (Write): write bools as bools not as strings!
13086
13087 2002-02-22  Juergen Vigna  <jug@sad.it>
13088
13089         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13090         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13091
13092         * text.C (leftMargin): don't add an indent for paragraphs inside
13093         tabular cells (fix #208).
13094
13095 2002-02-21  José Matos  <jamatos@fep.up.pt>
13096
13097         * tabular.C (docBook): fixed support for long tables.
13098
13099 2002-02-20  Juergen Vigna  <jug@sad.it>
13100
13101         * text2.C (getFont): get the drawing font of the Inset if this
13102         paragraph is inside an inset (only important for InsetERT for now).
13103
13104         * buffer.C (insertErtContents): use new lanugage params in ERT
13105         constructor.
13106
13107         * CutAndPaste.C: commenting out seemingly uneeded code.
13108
13109 2002-02-19  Allan Rae  <rae@lyx.org>
13110
13111         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13112         Iterators might be simple to use but they also get invalidated.
13113         (removeAutoInsets): renamed saved cursor tracking variables and added
13114         some comments to clarify what everything does.
13115
13116 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13117
13118         * Chktex.C:
13119         * LaTeX.C:
13120         * LyXSendto.C:
13121         * converter.C:
13122         * lyx_cb.C:
13123         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13124         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13125
13126         * lyxfunc.C:
13127         * vc-backend.h: remove #include "support/syscall.h"
13128
13129         * LaTeX.C:
13130         * LyXSendto.C:
13131         * converter.C: rearrange #includes in Lars' approved fashion.
13132
13133         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13134         forward declare class Timeout in the header file.
13135
13136         * XFormsView.C: changes due to the above.
13137
13138         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13139         similar to LyXView.
13140
13141         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13142         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13143
13144 2002-02-18  José Matos  <jamatos@fep.up.pt>
13145
13146         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13147         insets contents.
13148
13149 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13150
13151         * a lot of small ws changes
13152         * add a lot of using std::XXX
13153         * use std construcs some places where approp.
13154         * use some exisint stuff from lyxfunctional where approp.
13155         * Make file changes to use partial linking (lets test this now...)
13156
13157 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13158
13159         * Chktex.C:
13160         * buffer.C:
13161         remove #include "support/syscontr.h" as it's redundant. Always has been.
13162
13163         * Chktex.C:
13164         * LaTeX.C:
13165         * LyXSendto.C:
13166         * converter.C:
13167         * lyx_cb.C:
13168         * vc-backend.C:
13169         change Systemcalls::System to Systemcalls::Wait and
13170         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13171         No change of functionality, just reflects the stripped down Systemcalls
13172         class.
13173
13174 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13175
13176         * debug.[Ch]: add a GRAPHICS type to the enum.
13177
13178 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13179
13180         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13181
13182         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13183         there is an inset.
13184
13185 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13186
13187         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13188         match the changes below.
13189
13190         * text2.C (toggleInset): if there is not editable inset at cursor
13191         position, try to see if cursor is _inside_ a collapsable inset
13192         and close it.
13193
13194 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13195
13196         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13197         document menu has a nice checkbox
13198
13199 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13200
13201         * lyxlength.C (asLatexString): change PW to output as percent of
13202         \textwidth.
13203
13204         * lengthcommon.C: change '%' to 't%'
13205
13206         * lyxfunc.C (dispatch): a few comments from Martin
13207
13208 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13209
13210         * WorkArea.h:
13211         * WorkArea.C:
13212         * BufferView_pimpl.h:
13213         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13214           the X selection.
13215
13216 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13217
13218         * vspace.C (inPixels): fix compiler warning
13219
13220 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13221
13222         * lyxfunc.C (getStatus): fix status message for disabled commands.
13223
13224 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13225
13226         * BufferView_pimpl.C: fix crash on close buffer
13227         during selection (#227)
13228
13229 2002-01-27  Herbert Voss  <voss@lyx.org>
13230
13231         * buffer.C: link old Figure to new graphic inset
13232
13233 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13234
13235         * FontLoader.C (getFontinfo): Change the latex font names in order
13236         to match the names of type1inst.
13237
13238 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13239
13240         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13241
13242         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13243         (extchanged): ditto
13244         (ext_exist): ditto
13245         (remove_files_with_extension): ditto
13246         (remove_file): ditto
13247         (write): ditto
13248
13249         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13250         document is smaller than the work area height. Do not initialize
13251         static variables to 0.
13252
13253 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13254
13255         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13256
13257         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13258         LFUN_LAYOUT_PARAGRAPHS.
13259
13260         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13261         tabular. It is possible to provide a possible cell, which will
13262         typically be the actcell from the corresponding insettabular
13263
13264         * lyxfunc.C (getStatus): small cleanup; disable
13265         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13266         true
13267
13268 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13269
13270         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13271
13272         * paragraph.C (startTeXParParams):
13273         (endTeXParParams): new methods. The LaTeX code to
13274         start/end paragraph formatting
13275         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13276         empty (fixes bug #200)
13277
13278         * vspace.C (inPixels): adapt to the change below
13279         (inPixels): [later] more cleanups (remove unused variables)
13280
13281         * lyxlength.C (inPixels): change to use a width and a height as
13282         parameter.
13283
13284 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13285
13286         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13287         Replaced with \paperwidth
13288
13289         * DepTable.C (insert): add std:: qualifier
13290
13291 2002-01-18  Allan Rae  <rae@lyx.org>
13292
13293         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13294         updated also?
13295
13296         * text.C (drawInset): Turned out I didn't know enough about how
13297         rebreaking worked.  This fixes most of the redraw problems.  I see
13298         an occasional cursor trail when a line is broken now and the cursor
13299         placement can seem out by a few pixels also after a rebreak.
13300
13301 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13302
13303         * buffer.C (parseSingleLyXformat2Token): update because minipage
13304         width is now a LyXLength
13305
13306         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13307
13308         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13309         math insets
13310
13311 2002-01-17  Juergen Vigna  <jug@sad.it>
13312
13313         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13314
13315         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13316         is set correctly and the inset is updated correctly.
13317
13318 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13319
13320         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13321         the beginning of the loop.
13322
13323 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13324
13325         * lyxrc.C: improve help for use_scalable_fonts
13326
13327 2002-01-17  Allan Rae  <rae@lyx.org>
13328
13329         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13330
13331 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13332
13333         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13334         make sure to set their inset_owner to the right value (bug #171)
13335
13336 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13337
13338         * DepTable.h
13339         * DepTable.C: Implement mtime checking to reduce time spent doing
13340         CRCs.
13341
13342 2002-01-16  Juergen Vigna  <jug@sad.it>
13343
13344         * tabular.C (GetAdditionalHeight): one of error fixed.
13345
13346         * lyxrc.C (output): small fix in writing use_pspell.
13347
13348 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13349
13350         * sp_base.h: #include LString.h
13351
13352 2002-01-16  Allan Rae  <rae@lyx.org>
13353
13354         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13355         Can someone check this please?
13356
13357         * text.C (drawInset): It was possible that p.row would be removed by
13358         breakAgainOneRow upsetting a few other settings.  There may be another
13359         small tweak possible by setting need_break_row = 0 when p.row has been
13360         removed but I don't know enough about the logic here.
13361
13362 2002-01-15  Allan Rae  <rae@lyx.org>
13363
13364         * text.C (insertChar): removed conditional truism.
13365
13366         * BufferView2.C (removeAutoInsets): More tweaks.
13367         cur_par_prev could be a stray pointer.  Check for trailing empty line
13368         in case last line was cur_par and only had an error inset on it.
13369
13370 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13371
13372         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13373         absolute
13374
13375         * vc-backend.C (most methods):
13376         * exporter.C (Export):
13377         * converter.C (convert):
13378         (runLaTeX):
13379         * LyXSendto.C (SendtoApplyCB):
13380         * lyxfunc.C (dispatch):
13381         (menuNew):
13382         (open):
13383         (doImport):
13384         * lyx_cb.C (AutoSave):
13385         (InsertAsciiFile):
13386         * BufferView_pimpl.C (MenuInsertLyXFile):
13387         * buffer.C (runChktex): use Buffer::filePath().
13388
13389         * buffer.h: rename filename to filename_; rename filepath to
13390         filepath_ and make it private
13391         (filePath): new method
13392
13393         * buffer.C (writeFile): use fileName()
13394         (getLatexName):
13395
13396         * lyx_main.C (init): fix starting  of LyX when the binary is a
13397         link from so,ewhere else.
13398
13399         * minibuffer.C: include <cctype> for isprint
13400
13401 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13402
13403         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13404         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13405         name clash with InsetCollapsable's width function.
13406
13407 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13408
13409         * lastfiles.C: include <iterator>
13410
13411 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13412
13413         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13414         std::count.
13415
13416         * buffer.C (makeLaTeXFile): ditto.
13417         Also make loop operation more transparent.
13418
13419 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13420
13421         * ToolbarDefaults.C: remove trailing comma closing namespace.
13422
13423         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13424
13425         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13426         as in WorkArea.
13427
13428         * trans.C (Load): comment out unused variable, allowed.
13429
13430 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13431
13432         * minibuffer.[Ch] (append_char): new method to recieve input from the
13433         drop-down completion browser. If a key was pressed, then recieve this
13434         char and append it to the existing string.
13435         (peek_event): modify the positioning data passed to the completion
13436         browser so that it can be placed above the minibuffer rather than below.
13437 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13438
13439         * LyXAction.C (init): alloe error-next for readonly documents.
13440
13441         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13442         count.
13443
13444 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13445
13446         * bufferlist.C (readFile): create the buffer _after_ checking that
13447         the file exists.
13448
13449         * lyxfunc.C (verboseDispatch): fix handling of arguments
13450
13451         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13452
13453         * lyxrc.C: use string::erase() instead of initializing to "".
13454
13455
13456 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13457
13458         * BufferView_pimpl.h:
13459         * BufferView_pimpl.C:
13460         * WorkArea.h:
13461         * WorkArea.C:
13462         * text2.C: tell X when we have made a selection for copying
13463
13464 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13465
13466         * BufferView_pimpl.C (MenuInsertLyXFile):
13467         * lyxfunc.C (menuNew):
13468         (open):
13469         (doImport): add shortcuts to directory buttons
13470
13471         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13472         open a float)
13473
13474         * lyxfunc.C (setStatusMessage):
13475         (getStatusMessage): new methods
13476         (getStatus):use setStatusMessage instead of setErrorMessage
13477         (dispatch): when function is disabled, set error message here
13478         [instead of in getStatus previously]
13479
13480         * BufferView_pimpl.C (workAreaButtonRelease): update
13481         toolbar/menubar here too.
13482
13483 2002-01-13  Allan Rae  <rae@lyx.org>
13484
13485         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13486         Now seems indestructible.  Remaining task is to audit all other
13487         code affected by deleteEmptyParagraphMechanism.  One small quirk
13488         left is that an empty document with an error in the preamble can
13489         be made to report an error but no error box appears.  I don't know
13490         where it goes.
13491         (removeAutoInsets): Improved comments.
13492
13493 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13494
13495         * Thesaurus.h:
13496         * Thesaurus.C: update for Aiksaurus 0.14
13497
13498 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13499
13500         * text2.C (firstParagraph): removed member function, all uses
13501         replaces with ownerParagraph
13502         (redoParagraphs): here
13503         (updateInset): here
13504         (toggleAppendix): here
13505         * BufferView2.C (insertErrors): here
13506         (setCursorFromRow): here
13507
13508 2002-01-13  Allan Rae  <rae@lyx.org>
13509
13510         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13511         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13512         There is still a way to segfault this although you may have to do this
13513         multiple times: Have an InsetERT with an unknown command in it.
13514         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13515         <down-arrow>, <Enter> again, View->DVI, BANG!
13516
13517         * text2.C (setCursor):
13518         (deleteEmptyParagraphMechanism):
13519         * lyxtext.h (setCursor):
13520         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13521         Making use of the return value may help fix other bugs.
13522
13523 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13524
13525         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13526
13527         * LyXView.C (updateMenubar): call MenuBar::update here
13528         (updateToolbar): but not here
13529         (showState): do not update toolbar/menubar
13530
13531         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13532         should need to care about that.
13533
13534         * lyxfunc.C (verboseDispatch): simplify a bit
13535         (getStatus): have a version which takes a pseudoaction, and
13536         another which requires a (kb_action,string).
13537
13538         * LyXAction.C (retrieveActionArg): make it work also when action
13539         is not a pseudo-action.
13540         (getActionName): simplify a bit
13541         (helpText):
13542
13543 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13544
13545         * lyxfunc.C (verboseDispatch): new families of methods with
13546         several ways to specify a command and a bool to indicate whether
13547         the command name and shortcut should be displayed in minibuffer
13548         (eventually, we could extend that to a finer bitmask like
13549         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13550         (dispatch): the pristine dispatch command which just, well,
13551         dispatchs! Note it still sets its result to minibuffer; I'm not
13552         sure we want that.
13553
13554         * lyxfunc.h: remove setHintMessage
13555
13556         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13557
13558 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13559
13560         * BufferView_pimpl.C (specialChar): delete new inset if we have
13561         not been able to insert it.
13562
13563         * kbmap.C: revert to using int instead of kb_action, since all we
13564         are dealing with is pseudo-actions.
13565
13566         * LyXAction.C (searchActionArg): change to return int instead of
13567         kb_action, since the result is a pseudoaction.
13568
13569 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13570
13571         * buffer.C (insertErtContents): Fix (partially) the font bug.
13572
13573 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13574
13575         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13576         as the other one is broken on my machine!
13577
13578 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13579
13580         * commandtags.h:
13581         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13582
13583 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13584
13585         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13586         reflect their actual use. Provide compatibility code for older lyxrc
13587         files.
13588
13589         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13590         FL_NORMAL_STYLE.
13591         change names of popup font variables in line with the changes to lyxrc.C
13592
13593 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13594
13595         * buffer.C (asciiParagraph): avoid outputing a word twice after
13596         an inset.
13597
13598         * lyxrc.C (getDescription): document that document_path and
13599         template_path can be empty.
13600
13601 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13602
13603         * LaTeXFeatures.C (getMacros):
13604         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13605
13606         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13607
13608         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13609         getPackages.
13610         (getPackages): rename feature "floats" to "float". Use an array to
13611         iterate over 'simple' features (i.e. just a \usepackage). Add
13612         handling of "amsmath" (renamed from "amsstyle").
13613
13614 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13615
13616         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13617         features list.
13618
13619 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13620
13621         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13622         FuncStaus::FuncStatus & FuncStaus::some_method().
13623
13624 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13625
13626         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13627         of the func_satus stuff. Edited and massaged in various ways by
13628         JMarc.
13629
13630         * lyxfunc.C (getStatus): use FuncStatus
13631
13632 2002-01-08  Juergen Vigna  <jug@sad.it>
13633
13634         * text.C (nextBreakPoint): use function Inset::isChar().
13635
13636         * paragraph.C (TeXOnePar): use function
13637         Inset::forceDefaultParagraphs.
13638
13639         * buffer.C (latexParagraphs): use function
13640         Inset::forceDefaultParagraphs.
13641
13642 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13643
13644         * lyx_gui.C (init): set the style of the menu popups to
13645         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13646
13647 2002-01-07  Juergen Vigna  <jug@sad.it>
13648
13649         * text.C (setHeightOfRow): small fix
13650         (prepareToPrint): don't look at alignment if we don't have the place
13651         for doing it.
13652
13653 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13654
13655         * box.C: New file. Move the Box methods and functions out of box.h,
13656         following Lars' suggestion.
13657
13658 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13659
13660         * box.h: #include "support/LOstream.h", needed for inlined function.
13661
13662         * lyxtextclass.C:
13663         * lyxtextclasslist.C: added some using std declarations.
13664
13665 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13666
13667         * box.h: make signed dimensions to allow insets wider than
13668           the screen (bug #162)
13669
13670         * BufferView_pimpl.C: add some insetHit debug
13671
13672 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13673
13674         * vc-backend.C: add FIXME
13675
13676 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13677
13678         * lyxfunc.C (getStatus): enable code for showing math font status
13679         in toolbar/menu.
13680
13681 2002-01-07  Juergen Vigna  <jug@sad.it>
13682
13683         * text.C (nextBreakPoint): removed debug output not needed anymore.
13684
13685 2002-01-06  Juergen Vigna  <jug@sad.it>
13686
13687         * text.C (nextBreakPoint): fixed up this function we had this bug
13688         since ever but now hopefully we break row better.
13689         (insertChar): we have to check if an inset is the next char as it
13690         could now happen that a large inset is causing a break.
13691
13692 2002-01-05  Juergen Vigna  <jug@sad.it>
13693
13694         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13695         if it doesn't like to be drawed.
13696
13697 2002-01-04  Juergen Vigna  <jug@sad.it>
13698
13699         * BufferView2.C (lockInset): forgot to set a cursor.
13700
13701         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13702
13703 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13704
13705         * FormMathsPanel.C:
13706         * FormMathsPanel.h
13707         * MathsSymbols.C:
13708         * form_maths_panel.C:
13709         * form_maths_panel.h:
13710         * form_maths_panel.fd: implemented sub- and super- buttons in math
13711         panel.
13712
13713         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13714         (or ^ space) to be used as in TeX (req'd by André).
13715
13716         * lyxfunc.C: Allow ^ and _ again to be used both as
13717         super/subscript (mathed) and as themselves (in text).
13718
13719 2002-01-03  Allan Rae  <rae@lyx.org>
13720
13721         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13722         "LyX" or the filename of the current buffer if it has one.  This is a
13723         modified form of John Levon's patch.
13724
13725         * XFormsView.C (setWindowTitle): also set icon title.
13726
13727         * LyXView.h (setWindowTitle): signature changed.
13728         * XFormsView.h (setWindowTitle): ditto.
13729
13730 2002-01-02  Juergen Vigna  <jug@sad.it>
13731
13732         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13733
13734 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13735
13736         * screen.C (topCursorVisible): introduce a temp var for
13737         text->cursor.row(), handle the case where this row is null. (kindo
13738         hachish)
13739
13740         * text2.C (setCursor): add a couple of asserts.
13741
13742         * paragraph.h (inset_iterator): add -> operator
13743
13744         * paragraph.[Ch] (autoDeleteInsets): remove member function
13745
13746         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13747         cursor pos correctly and handle inset deletion by itself.
13748         (insertErrors): move iterator declaration out of for expression
13749
13750         * lyxtextclass.C: add <algorithm>
13751
13752         * Makefile.am: added the new files to sources, removed layout.C
13753
13754         * layout.C: removed file
13755
13756         * layout.h: remove LYX_DUMMY_LAYOUT
13757
13758         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13759         layout.
13760
13761         * lyxlayout.[Ch]:
13762         * lyxtextclass.[Ch]:
13763         * lyxtextclasslist.[Ch]: new files
13764
13765         * include order changes to a lot of files, also changes because of
13766         the six new files.
13767
13768 2001-12-27  Juergen Vigna  <jug@sad.it>
13769
13770         * buffer.C (asciiParagraph): more fixes.
13771
13772         * tabular.C (ascii): make ascii export support export of only the
13773         data separated by a column-delimiter.
13774         (ascii): better support for ascii export.
13775
13776         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13777
13778 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13779
13780         * tabular_funcs.C: use a "using std::getline" instead of the
13781         previous fix from Angus (necessary for cxx + lyxstring)
13782
13783 2001-12-24  Juergen Vigna  <jug@sad.it>
13784
13785         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13786
13787         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13788         problems. First check a minipage also if we have some ert-contents
13789         (not only on par->size(), second set the right depth of the paragraph
13790         on the relink to the root-paragraph-list!
13791
13792         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13793         which then did not anymore update the main paragraphs on undo/redo!
13794
13795 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13796
13797         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13798         code. Support all font-changing funcs (even those which are not in
13799         menu currently). Support for reporting font settings in
13800         mathed (disabled until Andre provides a function on mathed's side).
13801
13802         * func_status.h (toggle): small helper function to set toggle
13803         state on a flag.
13804
13805 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13806
13807         * tabular_funcs.C: getline -> std::getline
13808
13809 2001-12-21  Juergen Vigna  <jug@sad.it>
13810
13811         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13812         accessed and could be 0 (I couldn't generate this but it seems
13813         Michael could!).
13814
13815 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13816
13817         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13818         * tabular_funcs.h: here and include iosfwd
13819
13820 2001-12-20  Juergen Vigna  <jug@sad.it>
13821
13822         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13823         inside inset but undo_par was.
13824
13825 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13826
13827         * Thesaurus.C: always include <config.h> in sources.
13828
13829         * Painter.h:
13830         * lyxlookup.h:
13831         * box.h: do not include <config.h> in header files
13832
13833         * text.C (paintLastRow): remove unused variable
13834
13835         * text.C (transformChar):
13836         (insertChar):
13837         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13838
13839         * Painter.C (text):
13840         * font.C (width): rewrite to use uppercase() instead of
13841         islower/toupper.
13842
13843         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13844
13845 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13846
13847         * lyxfind.C: clean up of find failure position change
13848
13849 2001-12-20  Juergen Vigna  <jug@sad.it>
13850
13851         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13852
13853         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13854         (TeXRow): added to LaTeX a single tabular row.
13855         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13856         (Latex): simplified and finally good LT-h/f support.
13857         (various_functions): just small adaptions for LT-h/f support.
13858
13859         * tabular_funcs.[hC]: added and moved here all not classfunctions
13860         of LyXTabular.
13861
13862 2001-12-19  Juergen Vigna  <jug@sad.it>
13863
13864         * tabular.[Ch]: better support for longtabular options (not finished
13865         yet!)
13866
13867 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13868
13869         * text.C (paintLastRow): use the label font instead of the font of
13870         the last character to compute the size of *_BOX. This makes more
13871         sense and avoids a crash with empty paragraphs.
13872         Use Painter::rectangle to draw EMPTY_BOX.
13873
13874 2001-12-19  Juergen Vigna  <jug@sad.it>
13875
13876         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13877         the paragraphs if the replaced paragraph is not the first one!
13878         Tried to delete not used paragraphs but does not work yet so for
13879         now it's inside #ifdef's and by default off!
13880
13881 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13882
13883         * MenuBackend.C: include "lyx_main.h" instead of declaring
13884         lastfiles (actually was declared as LastFiles* instead of a
13885         scoped_ptr).
13886
13887 2001-12-17  Juergen Vigna  <jug@sad.it>
13888
13889         * tabular.C (AppendColumn): applied John's fix
13890
13891 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13892
13893         * BufferView.h:
13894         * BufferView.C:
13895         * BufferView_pimpl.h:
13896         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13897
13898         * Makefile.am:
13899         * box.h: new start of class for above
13900
13901         * lyxfunc.C: ignore space-only minibuffer dispatches.
13902           Show the command name when it doesn't exist
13903
13904         * minibuffer.C: don't add empty lines to the history
13905
13906         * minibuffer.C: add a space on dropdown completion
13907
13908 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13909
13910         * text.C: fix line above/below drawing in insets
13911
13912 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13913
13914         * lyxlength.C (LyXLength): Initialize private variables.
13915
13916 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13917
13918         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13919         when inserting error insets.
13920
13921 2001-12-13  Juergen Vigna  <jug@sad.it>
13922
13923         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13924         actually sometimes the before-paragraph.
13925         (setUndo): don't clear the redostack if we're not actually undoing!
13926
13927 2001-12-06  Juergen Vigna  <jug@sad.it>
13928
13929         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13930         and fixed redoing of main paragraph, so we can use it now ;)
13931
13932         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13933
13934 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13935
13936         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13937         Juergen's request
13938
13939 2001-12-13  André Pönitz <poenitz@gmx.net>
13940
13941         * undostack.[Ch]:
13942         * undo_func.C: minor cleanup
13943
13944 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13945
13946         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13947         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13948         font in urw-fonts package which is marked as -urw-fontspecific and
13949         does not work (incidentally, changing the encoding in the
13950         fonts.dir of this package to -adobe-fontspecific fixes the
13951         problem).
13952
13953         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13954         is a crash when undoing first paragraph (Juergen, please take a
13955         look). THis does not mean the undo fix is wrong, just that it
13956         uncovers problems.
13957
13958         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13959         the (Paragraph*) version when needed instead of duplicating the
13960         code.
13961
13962         * text.C (workWidth): use Inset::parOwner to find out where the
13963         inset has been inserted. This is a huge performance gain for large
13964         documents with lots of insets. If Inset::parOwner is not set, fall
13965         back on the brute force method
13966
13967         * paragraph_pimpl.C (insertInset):
13968         * paragraph.C (Paragraph):
13969         (cutIntoMinibuffer): set parOwner of insets when
13970         inserting/removing them
13971
13972         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13973
13974 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13975
13976         * commandtags.h:
13977         * LyXAction.C:
13978         * lyx_main.C:
13979         * lyxfunc.C:
13980         * mathed/formulabase.C:
13981         * mathed/math_cursor.[Ch]:
13982         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13983
13984
13985 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13986
13987         * lyxlength.[Ch] (operator!=): new function
13988
13989 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13990
13991         * text.C (workWidth): use Inset::parOwner to find out where the
13992         inset has been inserted. This is a huge performance gain for large
13993         documents with lots of insets. If Inset::parOwner is not set, fall
13994         back on the brute force method
13995
13996         * paragraph_pimpl.C (insertInset):
13997         * paragraph.C (Paragraph):
13998         (cutIntoMinibuffer): set parOwner of insets when
13999         inserting/removing them
14000
14001         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14002
14003 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14004
14005         * tabular-old.C (getTokenValue):
14006         * tabular.C (getTokenValue):
14007         (write_attribute): new versions for LyXLength
14008         (everywhere): adjust the use of widths
14009
14010         * tabular.h: change the type of widths from string to LyXLength
14011
14012 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14013
14014         * paragraph.C: fixed missing line number count when exporting
14015         Environments to LaTeX file
14016
14017         * buffer.C: added informational message for checking line numbers.
14018
14019 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14020
14021         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14022         paragraph, do the 'double space' part, but not the 'empty
14023         paragraph' one.
14024
14025         * text.C (workWidth): small optimization
14026         (getLengthMarkerHeight): use minimal size for negative lengths.
14027
14028 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14029
14030         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14031
14032         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14033
14034 2001-12-11  André Pönitz <poenitz@gmx.net>
14035
14036         * FontLoader.C:
14037         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14038
14039 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14040
14041         * text2.C: keep selection on a setFont()
14042
14043 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14044
14045         * lyx_cb.C: another bv->text misuse, from insert label
14046
14047 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14048
14049         * kbsequence.h:
14050         * kbsequence.C: re-instate nmodifier mask
14051
14052 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14053
14054         * lyx_main.h: make lyxGUI private.
14055
14056 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14057
14058         * lyxfind.C: place the cursor correctly on failed search
14059
14060 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14061
14062         * text.C (getLengthMarkerHeight): for small heights, the arrows
14063         are not always on top/bottom of the text
14064         (drawLengthMarker): smaller arrows; take the left margin in
14065         account; draw also vfills.
14066         (paintFirstRow):
14067         (paintLastRow): remove special code for vfill and standard spaces,
14068         since everything is handled in drawLengthMarker now.
14069
14070 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14071
14072         * buffer.C (insertErtContents): try to handle font and language
14073         interaction a bit better.g
14074
14075         * ColorHandler.C (updateColor): change the hash to cover the whole
14076         LColor enum, ws cleanup
14077         (getGCLinepars): ditto
14078         (getGCLinepars): only lookup in the linecache once.
14079
14080 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14081
14082         * iterators.C (operator++): Make the iterator more robust
14083
14084         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14085         (John's patch)
14086         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14087
14088 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14089
14090         * lyxtext.h:
14091         * text.C: better added space drawing
14092
14093 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14094
14095         * LyXView.C:
14096         * BufferView2.C: fix layout combo update on inset unlock
14097
14098 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14099
14100         * Makefile.am: don't compile unused files
14101
14102 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14103
14104         * lyxfunc.C:
14105         * commandtags.h:
14106         * LyXAction.C: remove old LFUN_LAYOUTNO
14107
14108 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14109
14110         * paragraph_pimpl.h:
14111         * paragraph_pimpl.C: isTextAt() doesn't need font param
14112
14113 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14114
14115         * lyxlex.h:
14116         * lyxlex.C: little cleanup
14117
14118 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14119
14120         * BufferView_pimpl.C: fix insertAscii for insets
14121
14122 2001-12-05  Juergen Vigna  <jug@sad.it>
14123
14124         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14125         set the right font on the "multi" paragraph paste!
14126
14127 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14128
14129         * trans_decl.h:
14130         * trans_mgr.[Ch]:
14131         * trans.[Ch]:
14132         * lyxgluelength.C:
14133         * lyxlength.C: remove out-commented code.
14134
14135         * BufferView_pimpl:
14136         * CutAndPaste.C:
14137         * DepTable.C:
14138         * buffer.C:
14139         * chset.C:
14140         * lastfiles.C:
14141         * lyxlex.C:
14142         * lyxlex_pimpl.C:
14143         * lyxserver.C:
14144         * screen.C:
14145         * tabular-old.C:
14146         * tabular.C:
14147         * text.C:
14148         * trans_mgr.C:
14149         * vc-backend.C: change "while(" to "while ("
14150
14151         * lyxlength.[Ch]: add zero function to check if length is zero or
14152         not
14153         * lyxgluelength.C: use it
14154
14155 2001-12-05  Allan Rae  <rae@lyx.org>
14156
14157         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14158         Works for 2.95.3, from what I understand of Garst's reports this should
14159         work for other g++ versions.  We're screwed if the abs(int) definition
14160         changed between bugfix releases of gcc.
14161
14162 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14163
14164         * text.C: fix chapter label offset !
14165
14166 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14167
14168         * lyxtext.h:
14169         * text.C: fix hfill at end of line, clean up
14170
14171 2001-12-04  Juergen Vigna  <jug@sad.it>
14172
14173         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14174         that we force an update of the inset and it's owners if neccessary.
14175
14176 2001-12-03  Juergen Vigna  <jug@sad.it>
14177
14178         * text.C (rowLast): simplified code
14179
14180 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14181
14182         * lyxfunc.C: fix show options on timeout
14183
14184 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14185
14186         * screen.C (topCursorVisible): scroll half a page when the cursor
14187         reached top of bottom of screen
14188
14189 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14190
14191         * minibuffer.C: deactivate on loss of focus
14192
14193 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14194
14195         * vspace.[Ch] (operator!=): add operator.
14196
14197 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14198
14199         * BufferView_pimpl.C: refuse to open an inset when
14200         there's a selection.
14201
14202 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14203
14204         * BufferView_pimpl.C: allow to click on RHS of full row insets
14205
14206 2001-11-30  Juergen Vigna  <jug@sad.it>
14207
14208         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14209         insets for undo reasons.
14210
14211 2001-11-28  André Pönitz <poenitz@gmx.net>
14212
14213         * vspace.[Ch]: cosmetical changes
14214
14215 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14216
14217         * LyXAction.h:
14218         * LyXAction.C:
14219         * lyxfunc.h:
14220         * lyxfunc.C:
14221         * kbmap.h:
14222         * kbmap.C:
14223         * lyxrc.C:
14224         * kbsequence.h:
14225         * kbsequence.C: part re-write of old kb code
14226
14227         * Painter.C:
14228         * WorkArea.C: remove Lgb_bug_find_hack
14229
14230 2001-11-30  José Matos <jamatos@fep.up.pt>
14231
14232         * buffer.C (makeDocBookFile): add a comment to point a hack.
14233         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14234         Fixed a double write of labels.
14235
14236 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14237
14238         * LaTeX.C:
14239         * LaTeX.h Fixed bug in LaTeX class where it would not
14240         re-run latex if no depfiles were changed, but the .dvi was removed.
14241
14242 2001-11-28  André Pönitz <poenitz@gmx.net>
14243
14244         * all the files from the change on 2001/11/26:
14245         use lyx::layout_type instead of LyXTextClass::size_type
14246         use lyx::textclass_type instead of LyXTextClassList::size_type
14247
14248 2001-11-29  Juergen Vigna  <jug@sad.it>
14249
14250         * text.C: added support for paragraph::isFreeSpacing()
14251
14252         * buffer.C: same as above
14253
14254         * paragraph.h: inserted isFreeSpacing() function to enable
14255         FreeSpacing inside InsetERT.
14256
14257         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14258         of the paragraph's in the cut/copy buffer to 0!
14259
14260         * text2.C (removeRow): remove the assert as it can!
14261
14262         * lyxtext.h: added helper function firstRow returning firstrow and
14263         made firstrow private again.
14264
14265         * BufferView2.C (lockInset): don't relock if we're already locked!
14266
14267         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14268         the only paragraph.
14269         (removeRow): added Assert::(firstrow)
14270
14271         * debug.C: forgot to add INSETTEXT here.
14272
14273 2001-11-28  Juergen Vigna  <jug@sad.it>
14274
14275         * sp_spell.C (initialize): changed error text to more general
14276         spellchecker command use (not only ispell!)
14277
14278         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14279
14280         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14281
14282 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14283
14284         * vspace.C: initialise lyxgluelength on failure
14285
14286 2001-11-28  Allan Rae  <rae@lyx.org>
14287
14288         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14289         declaration & definition that looks like a function declaration.
14290
14291 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14292
14293         * BufferView2.C (copy):
14294         (copyEnvironment): do not clear the selection when doing a copy.
14295
14296         * text.C (paintFirstRow): compilation fix
14297
14298 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14299
14300         * tabular.C (Latex): correct line count when writing latex.
14301
14302 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14303
14304         * paragraph_pimpl.h:
14305         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14306           bug a bit
14307
14308 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14309
14310         * text.C:
14311         * LColor.h:
14312         * LColor.C: change vfillline->added_space
14313
14314         * text.C: add markers and text for added space
14315
14316         * vspace.C: fix comment
14317
14318 2001-11-28  André Pönitz <poenitz@gmx.net>
14319
14320         * paragraph.C: whitespace changes
14321         * all the other files from the change on 2001/11/26:
14322         change *::pos_type into lyx::pos_type
14323
14324 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14325
14326         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14327         language of the document when inserting error insets.
14328
14329 2001-11-26  André Pönitz <poenitz@gmx.net>
14330
14331         * BufferView_pimpl.[Ch]:
14332         *       CutAndPaste.C:
14333         * buffer.[Ch]:
14334         * lyxcursor.[Ch]:
14335         * lyxfind.C:
14336         * lyxfunc.C:
14337         * lyxrow.[Ch]:
14338         * paragraph.[Ch]:
14339         * paragraph_pimpl.[Ch]:
14340         * sp_spell.C:
14341         * text.C:
14342         * text2.C: reduce header dependencies, introduce type for positions
14343
14344 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14345
14346         * <various>: change to use Alert.h
14347
14348 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14349
14350         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14351         when encountering an unknown token.
14352         (readLyXformat2): Show an error message if there were unknown tokens.
14353
14354 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14355
14356         * BufferView2.C:
14357         * BufferView_pimpl.C:
14358         * buffer.C:
14359         * paragraph.h:
14360         * text.C:
14361         * text2.C: use par->isInset()
14362
14363 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14364
14365         * paragraph_pimpl.h:
14366         * paragraph_pimpl.C: cleanup
14367
14368 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14369
14370         * text2.C (removeRow):
14371         * text.C (setHeightOfRow): remove useless (and costly) call to
14372         getRow.
14373
14374 2001-11-20  Allan Rae  <rae@lyx.org>
14375
14376         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14377         Now need Inset*::checkInsertChar() to return true for appropriate
14378         cases so that the characters in the minibuffer will actually be
14379         inserted.
14380
14381 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14382
14383         * text.C: change the order of the includes.
14384         (workWidth): initialize it at once.
14385         (workWidth): make maxw unsigned
14386         (setHeightOfRow): remove unused variable (inset)
14387         (selectSelectedWord): remove unused variable (inset)
14388         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14389
14390 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14391
14392         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14393         server is not running.
14394         (openConnection):
14395         (closeConnection): add debug info when server is disabled.
14396
14397         * ColorHandler.C (getGCForeground): send debug message to GUI
14398         channel.
14399
14400         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14401
14402         * kbmap.C (bind): modify because return conventions of
14403         kb_sequence::parse have changed.
14404
14405         * kbsequence.C (parse): only ignore spaces and not any stupid
14406         control character. This avoids tests like s[i] <= ' ', which are
14407         guaranteed to fail with 8bit characters and signed chars.
14408         Change return code to string::npos when there have been no error
14409         (0 was a bad idea when error is at first character)
14410
14411 2001-11-14  José Matos  <jamatos@fep.up.pt>
14412
14413         * buffer.h:
14414         * buffer.C (simpleDocBookOnePar): removed unused argument.
14415
14416 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14417
14418         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14419         insets which are part of a word. Paragraph::isLetter takes care of
14420         that now. Use Paragraph::isInset to identify insets.
14421         (selectSelectedWord): do not test for hyphenation break.
14422
14423         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14424         that protected spaces are considered as spaces.
14425
14426         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14427         Inset::isLetter.
14428
14429 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14430
14431         * lyxserver.h:
14432         * lyxserver.C: fix it. and small cleanup.
14433
14434 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14435
14436         * BufferView_pimpl.C: use inline helpers
14437
14438         * LaTeXFeatures.h:
14439         * LaTeXFeatures.C: fix typos
14440
14441         * Spacing.h:
14442         * Spacing.C: move spacing_string into class
14443
14444         * ToolbarDefaults.C: move stuff into namespace anon
14445
14446         * layout.h: update enum
14447
14448         * lyxfunc.C: use better debug
14449
14450         * minibuffer.h: fix typo
14451
14452         * debug.h:
14453         * debug.C:
14454         * WorkArea.C: add and use Debug::WORKAREA
14455
14456         * lyxtext.h:
14457         * text.C:
14458         * text2.C: code re-organisation, inline helpers
14459
14460 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14461
14462         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14463         std::vector.empty().
14464
14465 2001-11-09  Allan Rae  <rae@lyx.org>
14466
14467         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14468         '\n's after tables.  Tabular and ERT inset work now makes this no
14469         longer necessary.
14470
14471 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14472
14473         * minibuffer.h:
14474         * minibuffer.C: fix crash, improve drop-down completion
14475
14476 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14477
14478         * lyxserver.h:
14479         * lyxserver.C: invalidate fd's when doing endPipe()
14480
14481 2001-11-08  José Matos  <jamatos@fep.up.pt>
14482
14483         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14484         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14485
14486         * paragraph.h:
14487         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14488
14489 2001-11-07  José Matos  <jamatos@fep.up.pt>
14490
14491         * buffer.h:
14492         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14493         const qualifier.
14494
14495         * buffer.C (sgmlOpenTag):
14496         * buffer.C (sgmlCloseTag): removed debug info.
14497
14498         * buffer.h (sgmlOpenTag):
14499         * buffer.h (sgmlCloseTag): made public.
14500
14501 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14502
14503         * buffer.C (saveParamsAsDefaults):
14504         * lyx_cb.C (MenuLayoutSave): remove
14505
14506         * LyXAction.C (init):
14507         * commandtags.h:
14508         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14509
14510 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14511
14512         * buffer.C (setPaperStuff): removed from here...
14513
14514         * bufferparams.C (setPaperStuff): ... and moved there.
14515
14516 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14517
14518         * minibuffer.h:
14519         * minibuffer.C:
14520         * XFormsView.C: add support for drop-down completion
14521
14522 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14523
14524         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14525         commands.
14526
14527 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14528
14529         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14530         disabled.
14531
14532 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14533
14534         * lyx_main.C: change ref to known bugs
14535
14536 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14537
14538         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14539         to work around older babel problems.
14540
14541 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14542
14543         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14544
14545 2001-10-24  Juergen Vigna  <jug@sad.it>
14546
14547         * tabular-old.C (ReadOld): below variable changes reflected.
14548
14549         * tabular.[Ch]: added ltType struct for longtable header/footer
14550         defines and changed all instances where they are used. Added
14551         future support for double top/bottom rows.
14552
14553 2001-10-24  José Matos  <jamatos@fep.up.pt>
14554
14555         * buffer.h (docbookHandleCaption):
14556         * buffer.C (docbookHandleCaption): removed unused function.
14557         (makeDocBookFile): moved docbook supported version to v4.1.
14558
14559 2001-10-24  José Matos  <jamatos@fep.up.pt>
14560
14561         * tabular.h:
14562         * tabular.C (docbookRow): new function to export docbook code of a row.
14563         (DocBook): now honors the longtable flags.
14564
14565 2001-10-23  José Matos  <jamatos@fep.up.pt>
14566
14567         * LaTeXFeatures.h:
14568         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14569         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14570
14571         * buffer.C (makeLinuxDocFile):
14572         (makeDocBookFile): reworked the preamble, more clean, and with
14573         support for lyx defined entities. Changed the document declaration
14574         to be more XML friendly.
14575
14576         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14577         if we need to output XML that should be done with a filter.
14578
14579 2001-10-22  Juergen Vigna  <jug@sad.it>
14580
14581         * sp_pspell.h (class PSpell): add alive function needed in the
14582         controller to see if the spellchecker could be started.
14583
14584 2001-10-22  Juergen Vigna  <jug@sad.it>
14585
14586         * buffer.C (insertStringAsLines): modify the font for inserting
14587         chars in certain conditions by calling checkInsertChar(font).
14588
14589 2001-10-19  Juergen Vigna  <jug@sad.it>
14590
14591         * text.C (workWidth): use getRow instead of wrong algorithm.
14592         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14593
14594 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14595
14596         * lyxserver.h:
14597         * lyxserver.C:
14598         * lyx_main.h:
14599         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14600
14601 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14602
14603         * text.C (workWidth): do not search for the exact row when
14604         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14605         optimization for big documents.
14606
14607 2001-10-18  Juergen Vigna  <jug@sad.it>
14608
14609         * text.C (workWidth): new function with added Inset * parameter.
14610
14611 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14612
14613         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14614
14615         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14616         change return type of getColumnNearX.
14617
14618
14619         * text.C (changeRegionCase): use uppercase/lowercase instead of
14620         toupper/tolower.
14621         (leftMargin):
14622         (rightMargin): simplify code by factoring out the uses of
14623         textclasslist.
14624         (labelFill):
14625         (numberOfHfills):
14626         (setHeightOfRow):
14627         (appendParagraph): use Paragraph::size_type
14628
14629 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14630
14631         * vspace.C (asLatexString): add a missing break
14632
14633 2001-10-15  Herbert Voss  <voss@perce.de>
14634
14635         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14636
14637 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14638
14639         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14640         is not available.
14641
14642 2001-10-10  André Pönitz <poenitz@gmx.net>
14643
14644         * lyxfunc.C: removed greek_kb_flag.
14645
14646 2001-10-10  Herbert Voss  <voss@perce.de>
14647
14648         * lyx_main.C: delete global string help_lyxdir.
14649
14650 2001-10-09  Herbert Voss  <voss@perce.de>
14651
14652         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14653
14654         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14655
14656         * lyx_main.C: added global string help_lyxdir.
14657
14658         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14659
14660 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14661
14662         * lyxrc.C (set_font_norm_type): support iso8859-4
14663
14664 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14665
14666         * LaTeX.C (deplog): add another regex for MikTeX
14667
14668 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14669
14670         * lyxrc.C (set_font_norm_type): support iso8859-3
14671
14672 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14673
14674         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14675
14676         * LaTeXFeatures.C: remove special case of french and index
14677
14678         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14679         before \begin{document}). This solves several incompatibilities.
14680
14681 2001-10-03  Garst Reese  <reese@isn.net>
14682
14683         * lyx_cb.C: change CheckTex error msg.
14684
14685 2001-10-03  José Matos  <jamatos@fep.up.pt>
14686
14687         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14688
14689 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14690
14691         * .cvsignore: update
14692
14693         * lyx_main.C (commandLineVersionInfo): use new style version info.
14694
14695         * buffer.C (writeFile):
14696         (makeLaTeXFile):
14697         (makeLinuxDocFile):
14698         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14699
14700         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14701
14702         * version.h: update to use stuff in version.C
14703
14704         * version.C.in: new file. Contains version information determined
14705         at compile time. This is a merging of version.h and
14706         version_info.h.in.
14707
14708 2001-10-03  Juergen Vigna  <jug@sad.it>
14709
14710         * BufferView_pimpl.C (update): don't change "dirty" status in
14711         updateInset call.
14712
14713 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14714
14715         * WorkArea.C (c-tor): re-position version string slightly.
14716
14717 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14718
14719         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14720         revert to previous code.
14721
14722         WorkArea.[Ch]: (show, destroySplash): methods removed.
14723
14724         WorkArea.C: rework code so that it's an amalgam of the codes before and
14725         after the splash screen was moved to WorkArea.
14726
14727 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14728
14729         * lyxrc.C (read):
14730         * vspace.C (inPixels):
14731         (lyx_advance):
14732         * kbmap.C (bind):
14733         * buffer.C (insertStringAsLines):
14734         (asciiParagraph): fix types to be large enough
14735
14736         * lyxlex_pimpl.h: change member status from short to int
14737
14738         * layout.h: fix type of endlabeltype
14739
14740         * kbmap.C (bind):
14741         * kbsequence.C (parse): change return type to string::size_type
14742
14743         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14744         variable
14745
14746         * Bullet.C (bulletSize):
14747         (bulletEntry): do not use short ints as parameters
14748
14749         * BufferView2.C (insertLyXFile): change a char to an int.
14750
14751         * WorkArea.C (WorkArea): remove unneeded floats in computation
14752
14753 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14754
14755         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14756
14757         * paragraph.C (asString): Do not ignore newline/hfill chars when
14758         copying to the clipboard.
14759
14760 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14761
14762         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14763         after a multi-line inset.
14764
14765 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14766
14767         * paragraph.C (validate): Set NeedLyXFootnoteCode
14768
14769 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14770
14771         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14772         and decrease-error to decrease.
14773
14774 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14775
14776         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14777         it more readable (should be equivalent)
14778
14779 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14780
14781         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14782
14783 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14784
14785         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14786         of a cursor (row, etc.) after a character has been deleted
14787         (deleteEmptyParagraphMechanism): call the method above on _all_
14788         cursors held by the LyXText when a double space has been
14789         detected/deleted.
14790
14791 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14792
14793         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14794         pixmap.
14795         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14796
14797         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14798         background. Use greyOut() and the new show() methods to toggle between
14799         the foreground and background. Add code to remove the splash after
14800         its initial showing.
14801
14802         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14803         (create_forms): no longer call Dialogs::showSplash.
14804
14805 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14806
14807         * .cvsignore: add version_info.h
14808
14809 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14810
14811         * version_info.h.in: new file
14812
14813         * Makefile.am: add version_info.h.in
14814
14815         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14816         version_info.h instead of VERSION_INFO
14817
14818 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14819
14820         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14821         The ERT inset now returns string().
14822
14823 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14824
14825         * lyxtext.h, text.C (selectNextWord): renamed as
14826         selectNextWordToSpellcheck.
14827
14828         * text.C (selectNextWordToSpellcheck): Modified to not select
14829         words inside an ERT inset.
14830
14831 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14832
14833         * lyx_cb.C (MenuLayoutSave): change a bit the question
14834
14835         * sp_base.h: include <sys/types.h>
14836
14837 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14838
14839         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14840
14841 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14842
14843         * several files: fix typos in user-visible strings
14844
14845 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14846
14847         * text2.C (pasteSelection): do not set the selection, since it
14848         will be cleared later. Actually, the intent was to fix the way the
14849         selection was set, but I figured rmoving the code was just as good.
14850
14851 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14852
14853         * FontLoader.C (available): Check if font is available without
14854         loading the font.
14855
14856 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14857
14858         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14859
14860 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14861
14862         * lyxrc.[Ch]: added display_graphics variable and associated code.
14863
14864 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14865
14866         * bufferparams.C (hasClassDefaults): new method. Returns true if
14867         the buffer parameters correspond to known class defaults
14868
14869 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14870
14871         * XFormsView.C (show): set minimum size to the main window.
14872
14873 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14874
14875         * text2.C (copySelection):
14876         (cutSelection):
14877         * lyxfind.C (LyXReplace):
14878         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14879         LyXText::selectionAsString.
14880
14881         * paragraph.C (asString): add "label" argument to the second form
14882
14883         * text2.C (selectionAsString): add "label" argument and pass it to
14884         Paragraph::asString.
14885
14886 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14887
14888         * lyx_main.C (commandLineHelp): remove version information
14889
14890 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14891
14892         * lyx_main.C: add -version commandline option
14893
14894 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14895
14896         * paragraph.h: make the optional constructor arg required instead.
14897         some modifications to other files because of this.
14898
14899         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14900
14901         * lyxserver.C (C_LyXComm_callback): make it static
14902
14903         * lyx_main.C (error_handler): make it static
14904
14905         * lyx_gui.C (LyX_XErrHandler): make it static
14906
14907         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14908
14909         * WorkArea.C: make the extern "C" methods static.
14910
14911         * Makefile.am (lyx_LDADD): simplify
14912
14913 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14914
14915         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14916         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14917
14918         * LyXAction.C (init):
14919         * lyxfunc.C (dispatch): associated code removal.
14920
14921 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14922
14923         * lyxfont.h (isSymbolFont): shut off warning
14924
14925         * text.C (setHeightOfRow):
14926         (getVisibleRow): fix crash with empty paragraphs which have a
14927         bottom line
14928
14929 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14930
14931         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14932         code.
14933
14934 2001-09-04  José Matos  <jamatos@fep.up.pt>
14935         * buffer.C
14936         * buffer.h
14937         * tabular.C (docbook): rename docBook method to docbook.
14938
14939 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14940
14941         * Makefile.am: add dependencies to main.o.
14942
14943 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14944
14945         * FontLoader.C (available): Return false if !lyxrc.use_gui
14946
14947 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14948
14949         * FontInfo.C (query):
14950         * converter.C (view):
14951         * importer.C (Import):
14952         * exporter.C (Export): Can not -> cannot.
14953
14954 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14955
14956         * BufferView_pimpl.C: allow to create index inset even if
14957           string is empty
14958
14959 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14960
14961         * buffer.C (getLists): replace boost::tie code with an explicit pair
14962         as boost::tie can break some compilers.
14963
14964         * iterators.h: Added a std:: declaration to the return type of
14965         ParIterator::size.
14966
14967 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14968
14969         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14970           case.
14971
14972 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14973
14974         * iterators.[Ch]: New files. Provide paragraph iterators.
14975
14976         * buffer.C (changeLanguage): Use paragraph iterators.
14977         (isMultiLingual): ditto
14978
14979         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14980
14981 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14982
14983         * FontLoader.C: Support for cmr font.
14984
14985 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14986
14987         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14988         (available): New method.
14989
14990         * FontInfo.C (getFontname): Use scalable fonts even when
14991         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14992         found.
14993
14994 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14995
14996         * converter.C (Formats::view): reverted! Incorrect fix.
14997
14998 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14999
15000         * converter.C (Formats::view): only output the -paper option
15001         if the dvi viewer is xdvi, thereby fixing bug #233429.
15002
15003 2001-08-23  Herbert Voss  <voss@perce>
15004
15005         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15006
15007 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15008
15009         * Spacing.h (Spacing): Set space to Default on in the default
15010         constructor.
15011
15012 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15013
15014         * vc-backend.h (RCS::versionString): add RCS to version
15015         (CVS::versionString): add CVS to version
15016
15017         * vc-backend.C (scanMaster): do not add CVS to version.
15018         (scanMaster): do not add RCS to version
15019
15020         * lyxvc.C (versionString): new method
15021
15022         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15023
15024 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15025
15026         * Spacing.C (set): initialize fval
15027
15028 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15029
15030         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15031         " or \.
15032
15033 2001-08-16  Juergen Vigna  <jug@sad.it>
15034
15035         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15036
15037 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15038
15039         * BufferView_pimpl.C:
15040         * figureForm.C:
15041         * lyxtext.h:
15042         * text2.C: setParagraph takes linespacing now
15043
15044 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15045
15046         * LyxAction.C: add internal LFUN_CITATION_INSERT
15047
15048         * LyXView.C: actually apply fix
15049
15050         * bufferlist.C: fix open non-existent file
15051
15052         * lyxfind.C: fix indentation
15053
15054         * lyxfunc.C: remove unneeded assert, fix typo
15055
15056 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15057
15058         * MenuBackend.C: use "Floatname List"
15059
15060 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15061
15062         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15063         when converting LaTeX layout to insetERT.
15064         Generate a non-collapsed float when reading old float
15065
15066 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15067
15068         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15069         ERT insets.
15070
15071 2001-08-13  Juergen Vigna  <jug@sad.it>
15072
15073         * text.C (fill): return 0 instead of 20 as this seems to be the more
15074         correct value.
15075
15076 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15077
15078         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15079         lyxrc.font_norm.
15080
15081 2001-08-13  Juergen Vigna  <jug@sad.it>
15082
15083         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15084         casesensitive off.
15085         (SearchBackward): comment out the unlocking of the inset_owner this
15086         should not be needed!
15087
15088 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15089
15090         * Many files: Remove inherit_language, and add latex_language
15091
15092         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15093         collapsible insets.
15094
15095 2001-08-10  Juergen Vigna  <jug@sad.it>
15096
15097         * text.C (prepareToPrint): fixed hfill-width in draw!
15098
15099         * BufferView2.C (selectLastWord): save the selection cursor as this
15100         now is cleared in the function LyXText::clearSelection!
15101
15102 2001-08-08  Juergen Vigna  <jug@sad.it>
15103
15104         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15105         BACKSPACE type functions.
15106
15107         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15108         is only cutted from the document but not put in the cut-buffer, where
15109         still the old stuff should be.
15110
15111         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15112
15113         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15114
15115         * tabular.C (SetWidthOfCell): fixed special case where the width
15116         was not updated!
15117         (LeftLine): handle '|' in align_special.
15118         (RightLine): ditto
15119         (LeftAlreadyDrawed): ditto
15120         (SetWidthOfCell): ditto
15121
15122 2001-08-07  Juergen Vigna  <jug@sad.it>
15123
15124         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15125
15126 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15127
15128         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15129         * lyxlex.[hC]: ditto
15130
15131 2001-08-06  Juergen Vigna  <jug@sad.it>
15132
15133         * text.C (getVisibleRow): fix up row clearing a bit.
15134
15135 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15136
15137         * minibuffer.C: make sure the X server sees the changes in the input.
15138
15139 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15140
15141         * paragraph.C (getFont): split into...
15142         (getLabelFont): this
15143         (getLayoutFont): and this
15144         * paragraph_pimpl.C (realizeFont): calling this
15145
15146         * text2.C (getFont): split into...
15147         (getLayoutFont): this
15148         (getLabelFont): and this
15149         (realizeFont): all three calling this
15150
15151         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15152         files where used.
15153
15154 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15155
15156         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15157
15158 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15159
15160         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15161         layouts from the Quote inset insertion.
15162
15163 2001-08-03  Juergen Vigna  <jug@sad.it>
15164
15165         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15166
15167         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15168         only if status not is already CHANGED_IN_DRAW (second level).
15169
15170         * text.C (draw): don't set the need_break_row when inside an
15171         InsetText LyXText.
15172
15173 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15174
15175         * buffer.C (parseSingleLyXformat2Token): handle more latex
15176         conversion cases.
15177
15178         * bufferview_funcs.[hC]: change function names to
15179         begin with small char, adjust other files.
15180
15181 2001-08-02  André Pönitz <poenitz@gmx.net>
15182
15183         * lyxfunc.C:
15184         BufferView_pimpl.C: remove broken special code for math-greek
15185
15186 2001-08-02  Juergen Vigna  <jug@sad.it>
15187
15188         * BufferView_pimpl.C (update): redone this function so that we
15189         update the text again if there was a CHANGE_IN_DRAW.
15190
15191         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15192         (drawFromTo): added a new internal bool which is used by draw() and
15193         redraw() function.
15194         (general): some cursor drawing problems fixed.
15195
15196 2001-08-01  Juergen Vigna  <jug@sad.it>
15197
15198         * lyxfind.C (LyXFind): fixed
15199         (SearchForward): ditto
15200         (SearchBackward): ditto
15201
15202         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15203         spurius drawing of the cursor in the main area.
15204
15205         * text2.C (status): small fix which could lead to a segfault!
15206         (clearSelection): remove unneeded BufferView param.
15207
15208 2001-08-01  André Pönitz <poenitz@gmx.net>
15209
15210         * lyxfunc.C: small change due to changed mathed interface
15211
15212 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15213
15214         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15215
15216 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15217
15218         * lyxfunc.c: fail gracefully if file doesn't exist
15219
15220         * LyXSendto.C:
15221         * buffer.C:
15222         * lyxfunc.C:
15223         * BufferView_pimpl.C: IsDirWriteable() proto changed
15224
15225         * LyXView.C: fix updateWindowTitle() to store the last title
15226
15227 2001-07-31  Juergen Vigna  <jug@sad.it>
15228
15229         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15230         the font (wrong since using of Paragraph::highestFontInRange).
15231
15232         * paragraph.C (highestFontInRange): added a default_size parameter.
15233
15234         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15235         (setHeightOfRow): reformat
15236
15237 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15238
15239         * converter.[hC] + affected files: move to (inital-char)lowercase
15240         function names.
15241
15242         * ParagraphParameters.C (ParagraphParameters): remove commented code
15243
15244         * PainterBase.[Ch]: remove commented code
15245
15246         * LaTeXFeatures.h: add "bool floats" for float.sty
15247
15248         * LaTeXFeatures.C (LaTeXFeatures): init floats
15249         (require): handle float
15250         (getPackages): do it with floats
15251
15252 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15253
15254         * BufferView_pimpl.C (Dispatch): improve handling of
15255         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15256
15257         * commandtags.h: #include lyxfont.h here temporarily to avoid
15258         keybinding bug.
15259
15260         * bufferlist.h: include LString.h here.
15261
15262 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15263
15264         * text2.C (getStringToIndex): new method.
15265
15266 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15267
15268         * *: Reduced header file dependencies all over.
15269
15270 2001-07-30  Baruch Even  <baruch@lyx.org>
15271
15272         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15273
15274 2001-07-29  Baruch Even  <baruch@lyx.org>
15275
15276         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15277
15278 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15279
15280         * ParameterStruct.h (endif): add a default constructor to make
15281         sure that all variables is initialized.
15282
15283         * ParagraphParameters.C (ParagraphParameters): adjust
15284
15285 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15286
15287         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15288         index; also, check that there is something to index, and that it
15289         does not span over several paragraphs.
15290         (doubleClick): use WHOLE_WORD_STRICT for double click.
15291
15292         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15293
15294         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15295         scheme.
15296
15297 2001-07-26  Baruch Even  <baruch@lyx.org>
15298
15299         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15300         an InsetFig figure, backwards compatible reading of old figure code.
15301
15302 2001-07-27  Juergen Vigna  <jug@sad.it>
15303
15304         * text2.C: font.realize function adaption.
15305
15306         * text.C (draw): add a warnings lyxerr text if needed.
15307
15308         * layout.C: font.realize function adaption.
15309
15310         * language.C: add inherit_language and implement it's handlings
15311
15312         * bufferview_funcs.C (StyleReset): remove language parameter from
15313         font creation (should be language_inherit now).
15314
15315         * bufferparams.C (writeFile): handle ignore_language.
15316
15317         * paragraph.C (getFontSettings): the language has to be resolved
15318         otherwise we have problems in LyXFont!
15319
15320         * lyxfont.C (lyxWriteChanges): added document_language parameter
15321         (update): removed unneeded language parameter
15322
15323         * paragraph.C (validate): fixed wrong output of color-package when
15324         using interface colors for certain fonts in certain environments,
15325         which should not seen as that on the final output.
15326
15327 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15328
15329         * BufferView_pimpl.C:
15330         * Thesaurus.h:
15331         * Thesaurus.C:
15332         * Makefile.am:
15333         * commandtags.h:
15334         * LyXAction.C: add thesaurus support
15335
15336         * lyxfind.h:
15337         * lyxfind.C: add "once" parameter, for thesaurus, to not
15338           move to the next match
15339
15340 2001-07-26  Juergen Vigna  <jug@sad.it>
15341
15342         * lyxfont.C (realize): honor ignore_language too!
15343         (resolved): ditto.
15344
15345         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15346
15347         * text.C (draw): one place more for ignore_language to not draw
15348         itself!
15349
15350 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15351
15352         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15353
15354 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15355
15356         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15357         the minipage conversion problem.
15358
15359 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15360
15361         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15362         insert an inset.
15363
15364 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15365
15366         * BufferView.h: don't forward declare WorkArea
15367
15368         * BufferView.C: don't include WorkArea.h
15369
15370 2001-07-25  André Pönitz <poenitz@gmx.net>
15371
15372         * commandtags.h:
15373         * LyXAction.C:
15374         * lyxfunc.C:  new LFUN 'math-space'
15375
15376         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15377
15378 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15379
15380         * text2.C (toggleInset): call open/close
15381
15382 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15383
15384         * lyxfunc.C (dispatch): add debug for the disabled case
15385
15386         * font.C (buttonText): make similar to rectText
15387
15388         * buffer.C (readInset): comment out parsing of insetlist and
15389         insttheorem
15390
15391         * PainterBase.C (rectText): small correction
15392
15393         * BufferView_pimpl.C: comment out insettheorem and insetlist
15394         * LyXAction.C: ditto
15395         * commandtags.h: ditto
15396
15397 2001-07-24  Juergen Vigna  <jug@sad.it>
15398
15399         * text.C (draw): honor the ignore_language.
15400
15401         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15402
15403 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15404
15405         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15406         char inset.
15407
15408 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15409
15410         * lyxtext.h: remove unused (and unimplemented) methods
15411
15412 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15413
15414         * text.C (getVisibleRow): honor background color
15415
15416         * PainterBase.h:
15417         * Painter.h: remove default color argument for fillRectangle
15418
15419         * text.C (backgroundColor): new method
15420
15421 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15422
15423         * text.C (getVisibleRow): adjust
15424
15425         * font.[Ch] (rectText): new method, metrics
15426         (buttonText): new method, metrics
15427
15428         * PainterBase.[hC]: make rectText and buttonText always draw and take
15429         fewer paramteres.
15430
15431 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15432
15433         * ToolbarDefaults.C (read):
15434         * MenuBackend.C (read): allow escaping in all strings
15435
15436         * BufferView_pimpl.C (insertAndEditInset): new method.
15437         (Dispatch): use insertAndEditInset whenever appropriate.
15438
15439         * BufferView_pimpl.C (insertNote): removed
15440
15441         * BufferView_pimpl.C (smartQuote): new method, moved from
15442         BufferView; if an insetquote cannot be inserted, insert a '"'
15443         character instead.
15444
15445         * BufferView2.C: remove insertCorrectQuote();
15446
15447         * lyxfunc.C (getStatus): Add support for all remaingin
15448         inset-insert lfuns.
15449
15450         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15451
15452         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15453         command (necessary to pass " as parameter of self-insert.
15454
15455         * text.C (selectWordWhenUnderCursor):
15456         (selectWord): add word_location parameter
15457         (selectWordWhenUnderCursor): same + remove special code for word
15458         boundary.
15459         (selectNextWord): use kind() to guess type of insetspecialchar,
15460         not latex().
15461
15462         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15463         (insertErtContents): create ert insets as collapsed.
15464         (readInset): better compatibility code for Info inset.
15465
15466 2001-07-20  Juergen Vigna  <jug@sad.it>
15467
15468         * lyxfunc.C (dispatch): use always LyXFind now!
15469
15470         * text2.C (init): add a reinit flag so that the LyXText can be
15471         reinited instead of deleted and reallocated (used in InsetText).
15472
15473         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15474
15475         * text.C: ditto
15476
15477         * text2.C: ditto
15478
15479 2001-07-18  Juergen Vigna  <jug@sad.it>
15480
15481         * text.C (selectNextWord): handle insets inside inset by calling
15482         always the bv->text functions so that we can go up the_locking_inset!
15483
15484         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15485         in strange locations when inside an inset!
15486
15487         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15488         handling to include insets.
15489
15490         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15491
15492 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15493
15494         * LyXAction.C (init):
15495         * commandtags.h:
15496         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15497         LIGATURE_BREAK, since the name is so stupid.
15498
15499 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15500
15501         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15502         InsetInfos.
15503
15504         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15505
15506         * sp_form.[Ch]: remove.
15507
15508         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15509
15510         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15511         InsetInfo.
15512
15513         * src/buffer.C (readInset): ditto.
15514
15515 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15516
15517         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15518         menuSeparator(), endOfSentenceDot(), ldots() and
15519         hyphenationPoint(), which are therefore removed.
15520         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15521
15522         * LyXAction.C (init):
15523         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15524
15525         * paragraph.C (getWord): removed.
15526
15527         * BufferView_pimpl.C (Dispatch): use last word or selection for
15528         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15529
15530         * lyx_main.C (queryUserLyXDir): do not ask before creating
15531         user_dir, except if it has been named explicitely.
15532
15533 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15534
15535         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15536         a document of zero size.
15537
15538 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15539
15540         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15541         approriately in the c-tor and in require().
15542         (getPackages): output the appropriate LaTeX for natbib support.
15543
15544         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15545         variables "use_natbib" and "use_numerical_citations" when reading the
15546         LyX file.
15547         (readInset): read the various natbib cite commands.
15548         (validate): white-space change.
15549
15550         * bufferparams.[Ch]: new variables "bool use_natbib" and
15551         "bool use_numerical_citations".
15552         (writeFile): output them in the LyX file.
15553
15554 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15555
15556         * lyxfunc.C (getStatus): add support for all the inset insertion
15557         commands.
15558
15559         * text2.C (insertInset):
15560         * paragraph.C (insetAllowed):
15561         * BufferView_pimpl.C (insertInset): update to take in account the
15562         renaming of insertInsetAllowed
15563
15564         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15565
15566         * text2.C (getInset): new method. returns inset at cursor position.
15567
15568         * BufferView_pimpl.C (Dispatch): changes because of this.
15569
15570         * LyXAction.C (init): rename open-stuff to inset-toggle.
15571
15572         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15573
15574         * text2.C (toggleInset): renamed from openStuff; use
15575         Inset::open().
15576
15577 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15578
15579         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15580
15581         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15582
15583 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15584
15585         * buffer.C (readLyXformat2): Add filename to the error dialog
15586
15587 2001-07-18  Juergen Vigna  <jug@sad.it>
15588
15589         * tabular.C (GetCellNumber): put an assert here instead of the check!
15590
15591 2001-07-17  Juergen Vigna  <jug@sad.it>
15592
15593         * BufferView_pimpl.C (toggleSelection): adapted too.
15594
15595         * text.C (selectNextWord): adapted for use with insets.
15596         (selectSelectedWord): ditto
15597
15598 2001-07-17  Juergen Vigna  <jug@sad.it>
15599
15600         * sp_spell.C (PSpell): fix initialitation order.
15601
15602 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15603
15604         * paragraph.C: spacing
15605
15606 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15607
15608         * sp_spell.C: repair language selection for pspell
15609
15610 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15611
15612         * lyxfunc.h: change more methods to begin with lower char.
15613
15614 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15615
15616         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15617         for unknown layouts.
15618
15619 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15620
15621         * buffer.C (readLyXformat2): Generate an error dialog if there are
15622         unknown layouts.
15623
15624 2001-07-16  Juergen Vigna  <jug@sad.it>
15625
15626         * sp_spell.C: always compile ISpell part.
15627
15628         * lyxrc.C: added use_pspell entry and it's handling.
15629
15630 2001-07-13  Juergen Vigna  <jug@sad.it>
15631
15632         * sp_spell.C: removed double includes.
15633
15634 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15635
15636         Consistent use of Lsstream.h:
15637         * Lsstream.h: added using std::stringstream for consistencies sake.
15638
15639         * buffer.C: removed using std::stringstream
15640
15641         * lyxfont.C (stateText):
15642         * paragraph.C (asString):
15643         * text.C (selectNextWord, selectSelectedWord):
15644         * text2.C (setCounter):
15645         * vspace.C (asString, asLatexString):
15646         std::ostringstream -> ostringstream.
15647
15648 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15649
15650         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15651         * commandtags.h: add LFUN_HELP_ABOUTLYX
15652         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15653
15654 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15655
15656         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15657         cursorToggle()
15658         * lyx_gui_misc.C: remove spellchecker
15659         * lyxfunc.C: showSpellchecker
15660         * sp_base.h: added
15661         * sp_ispell.h: added
15662         * sp_pspell.h: added
15663         * sp_spell.C: added
15664         * sp_form.[Ch]: removed
15665         * spellchecker.[Ch]: removed
15666
15667 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15668
15669         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15670         is set.
15671         (simpleTeXSpecialChars): Simply print the input character without
15672         any special translation if pass_thru is set.
15673
15674         * layout.h: Added bool pass_thru to layout class for being able to
15675         implement pass through of a paragraph for Literate Programming.
15676
15677         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15678         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15679         * layout.C (Read): add "passthru" to list of layout tags and add
15680         code to set the pass_thru boolean when it is read.
15681
15682 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15683
15684         * trans_decl.h: remove allowed from KmodInfo
15685
15686         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15687         remove allowed code
15688         (Load): adjust
15689
15690         * paragraph_pimpl.C (erase): use boost::prior
15691
15692         * Painter.C (text): use data() instead of c_str() when length is
15693         also provided.
15694         * WorkArea.C (putClipboard): ditto
15695         * font.h (width): ditto
15696
15697         * BufferView2.C: use it-> instead of (*it). for iterators
15698         * texrow.C: ditto
15699         * paragraph_pimpl.C: ditto
15700         * paragraph.C: ditto
15701         * minibuffer.C: ditto
15702         * language.C: ditto
15703         * kbmap.C: ditto
15704         * encoding.C: ditto
15705         * counters.C: ditto
15706         * converter.C: ditto
15707         * chset.C: ditto
15708         * Variables.C: ditto
15709         * TextCache.C: ditto
15710         * MenuBackend.C: ditto
15711         * LyXAction.C: ditto
15712         * LColor.C: ditto
15713         * FloatList.C: ditto
15714         * DepTable.C: ditto
15715         * ColorHandler.C (LyXColorHandler): ditto
15716
15717 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15718
15719         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15720
15721         * text2.C (openStuff): reintroduce this method (which had been
15722         nuked in NEW_INSETS frenzy).
15723
15724         * lyxfunc.C (Dispatch): when an action has not been handled, use
15725         its name in the error message, not its number.
15726
15727         * paragraph.C (inInset): change method name to begin with lowercase.
15728
15729         * undo_funcs.C:
15730         * text2.C: updates because of this.
15731
15732 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15733
15734         * ToolbarDefaults.C (add): add spaces in error message
15735
15736 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15737
15738         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15739         (readLyXformat2): rename return_par to first_par, use lyxlex's
15740         pushToken and remove the manual push handling.
15741         (parseSingleLyXformat2Token): add another ert comp. variable:
15742         in_tabular, rename return_par to first_par. handle newlines better
15743
15744 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15745
15746         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15747
15748 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15749
15750         * text2.C (getParFromID): removed
15751
15752         * buffer.C (getParFromID): new method moved form lyxtext.
15753         * BufferView2.C (insertErrors): adjust
15754         (setCursorFromRow): adjust
15755         * BufferView_pimpl.C (restorePosition): adjust
15756         * lyxfunc.C (Dispatch): adjust
15757         * undo_funcs.C (textUndo): adjust
15758         (textRedo): adjust
15759         (textHandleUndo): adjust
15760         (textHandleUndo): adjust
15761
15762 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15763
15764         * buffer.C: up' the LYX_FORMAT
15765
15766         * lyxfont.h: turn NO_LATEX on as default
15767
15768         * buffer.C (insertErtContents): new methods of tex style compability.
15769         (parseSingleLyXformat2Token): use it several places.
15770         * tabular.C (OldFormatRead): and here
15771
15772 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15773
15774         * text2.C: remove some commented code.
15775         reindent file.
15776
15777         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15778         * trans.C: changes because of the above.
15779
15780 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15781
15782         * text2.C (setCounter): Fix counters bug with bibliography layout.
15783
15784 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15785
15786         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15787         own member functions
15788         (simpleTeXSpecialChars): ditto
15789
15790 2001-07-06  Juergen Vigna  <jug@sad.it>
15791
15792         * a lot of files: changed the access to LyXText::status and the
15793         call of undo-functions.
15794
15795         * undo.[Ch]: added a inset_id to the undo informations.
15796
15797         * undo_funcs.[Ch]: added and moved here all undo functions.
15798
15799         * lyxtext.h: give the status enum a weight, made status_ a private
15800         variable and made accessor functions for it, removed the whole bunch
15801         of undo-functions as they are now in their own file, make some
15802         functions publically available. Added function ownerParagraph with
15803         int parameter.
15804
15805         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15806         made InInset() a const function, added getParFromID() function.
15807
15808         * buffer.[Ch]: added const version for inset_iterator functions,
15809         added getInsetFromID() function.
15810
15811         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15812         changed undo functions for new version.
15813
15814 2001-07-05  Juergen Vigna  <jug@sad.it>
15815
15816         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15817         unknow mechanism does not call the proper constructor but only this
15818         one also if I request the other!?
15819
15820 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15821
15822         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15823
15824         * text2.C (LyXText): use initialization lists.
15825
15826         * lyxtext.h (Selection): initialize set_ and mark_
15827         (init): remove method
15828
15829 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15830
15831         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15832
15833 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15834
15835         * screen.[Ch]: change method names to begin with lowercase
15836
15837         * BufferView_pimpl.C (updateScrollbar): simplify further and
15838         hopefully make it a bit faster.
15839
15840 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15841
15842         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15843         calling directly xforms functions.
15844
15845         * Painter.C (Painter):
15846         * lyx_cb.C (MenuWrite):
15847         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15848         fl_display.
15849
15850         * lyx_gui.C: remove bogus guiruntime extern declaration.
15851
15852 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15853
15854         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15855         in NEW_INSETS
15856         (redoDrawingOfParagraph): ditto
15857         (redoParagraphs): ditto
15858         (cutSelection): don't create a object for CutAndPaste use the
15859         static method directly
15860         (pasteSelection): ditto
15861
15862         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15863         LyXview (+ rename)
15864
15865 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15866
15867         * modifications to some other files because of this.
15868
15869         * Makefile.am (lyx_SOURCES): add XFormsView
15870
15871         * XFormsView.[Ch]: new files
15872
15873         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15874         the main window. Move the gui dependent stuff to XFormsView
15875
15876 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15877
15878         * tabular.C (GetCellInset): update cur_cell also in the row/col
15879         version of this function.
15880
15881         * lyxfunc.C: no need to include figure_form.h here.
15882
15883         * FontLoader.h:
15884         * lyxfunc.h:
15885         * lyxscreen.h:
15886         * text2.C:
15887         * lyxvc.C: no need to include forms.h here.
15888
15889 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15890
15891         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15892
15893         * lyxfunc.C (Dispatch):
15894         * Spacing.C (set):
15895         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15896         constructor argument.
15897
15898 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15899
15900         * paragraph.C (Paragraph): dont't clear, and just set layout.
15901         (makeSameLayout): use params's copy contructor.
15902
15903         * ParagraphParameters.[Ch] (makeSame): delete method
15904
15905 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15906
15907         * Variables.[Ch]: fix indentation, rename set to isSet
15908
15909 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15910
15911         * lyxfunc.C (Dispatch): fix typo
15912
15913 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15914
15915         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15916         upper_bound.
15917
15918         * bufferlist.C: include assert.h for emergencyWrite().
15919
15920 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15921
15922         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15923           give up at last (bug #425202) !
15924
15925 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15926
15927         * lyx_gui_misc.C:
15928         * sp_form.h:
15929         * sp_form.C:
15930         * spellchecker.h:
15931         * spellchecker.C: strip spellchecker options and bring up
15932           preferences tab instead
15933
15934 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15935
15936         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15937         the istringstream constructor
15938
15939 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15940
15941         * paragraph.C (getLayout): fix return value
15942
15943         * paragraph.h: do not declare getLayout as inline.
15944
15945         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15946
15947 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15948
15949         * lyxcursor.h (operator<): new func
15950         (operator>): new func
15951         (operator>=): new func
15952         (operator<=): new func
15953
15954         * text.C (changeCase): use selection.start and selection.end
15955         (changeRegionCase): require from to be <= to. Require par to be a
15956         valid paragraph.
15957
15958         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15959
15960 2001-06-27  Juergen Vigna  <jug@sad.it>
15961
15962         * text.C (cursorLeftOneWord): changed to return the cursor and added
15963         overlay with BufferView * parameter which calls this one.
15964         (getWord): added
15965         (selectWord): use new getWord function.
15966         (changeCase): renamed from changeWordCase as and extended to work
15967         also on selections.
15968
15969         * lyxtext.h: added enum word_location
15970
15971         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15972         changeCase as this operates now also on selections.
15973
15974 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15975
15976         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15977
15978         * many files: send debug output to Debug::INFO instead of
15979         Debug::ANY.
15980
15981         * converter.C (View):
15982         (Convert):
15983         (Move): send debug output to Debug::FILES instead of console.
15984
15985 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15986
15987         * lyxfunc.C (getStatus): use func_status
15988
15989         * func_status.h: new header, describing the results of
15990         LyXFunc::getStatus;
15991
15992         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15993         LFUN_MATH_HALIGN.
15994
15995 2001-06-25  The LyX Project  <jug@sad.it>
15996
15997         * buffer.C (sgmlOpenTag):
15998         (sgmlCloseTag):
15999         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16000
16001 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16002
16003         * text2.C: remove some dead code
16004
16005         * tabular.C (GetCellInset): store the last cell checked (gotten)
16006
16007         * tabular.h: add the helper for the speedup
16008
16009         * lyxtext.h: remove some dead code
16010
16011 2001-06-26  The LyX Project  <Asger>
16012
16013         * paragraph.C: Change export to LaTeX of alignment to
16014         \begin{center} and family for better roundtrip work with reLyX.
16015
16016         * Tune the math drawing a bit.
16017
16018 2001-06-25  The LyX Project  <Asger>
16019
16020         * LColor.C (LColor): New color for math background. New color
16021         for buttons.
16022
16023 2001-06-25  The LyX Project  <jug@sad.it>
16024
16025         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16026
16027         * lyxfunc.C (Open):
16028         * bufferlist.C (newFile): do not restrict to files ending with
16029         .lyx
16030
16031         * BufferView_pimpl.C (MenuInsertLyXFile):
16032
16033 2001-06-24  The LyX Project  <jug@sad.it>
16034
16035         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16036         of compare_no_case
16037
16038 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16039
16040         * lyxtext.h: rename most methods to begin with a small char.
16041         Lots of changes because of this.
16042
16043         * paragraph.C (Paragraph): do not call fitToSize
16044         (erase): call Pimpl::erase
16045         (insertChar): call Pimpl::insertChar
16046         (insertInset): call Pipl::insertInset
16047         (breakParagraph): do not call fitToSize
16048         (breakParagraphConservative): do not call fitToSize
16049         (fitToSize): remove method
16050
16051         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16052
16053 2001-06-24  The LyX Project  <Asger>
16054
16055         * Fix Qt compilation^2
16056
16057 2001-06-24  The LyX Project  <jug@sad.it>
16058
16059         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16060         depthHook(getDepth()-1).
16061
16062         * paragraph.h:
16063         * ParagraphParameters.h:
16064         * ParameterStruct.h: change type of depth to unsigned int ==
16065         depth_type. Many adaptations to other files before of that.
16066
16067 2001-06-24  The LyX Project  <Asger>
16068
16069         * Fix Qt compilation.
16070
16071 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16072
16073         * paragraph.h: renamed several methods to begin with small letter.
16074         several changes to many parts of the code because of this.
16075
16076 2001-06-23  The LyX Project  <jug@sad.it>
16077
16078         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16079         rewritten to discard all double spaces when KeepEmpty is off
16080         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16081         to only handle newlines but not fiddle with spaces and friends.
16082
16083         * lyxfunc.C (MenuNew): when doing 'new from template', use
16084         template_path as default directory
16085
16086 2001-06-23  The LyX Project  <Asger>
16087
16088         * Clean-up of header file includes all over
16089         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16090
16091 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16092
16093         * paragraph.h: renamed from lyxparagraph.h
16094
16095 2001-06-23  Asger  <lyx@violet.home.sad.it>
16096
16097         * Buffer.h: Removed Buffer::resize
16098         * BufferList.h: Removed BufferList::resize
16099         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16100         the document lazily when we change the width, or the font settings.
16101
16102 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16103
16104         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16105
16106 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16107
16108         * buffer.h: remove out of date comment
16109
16110 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16111
16112         * lyxscreen.h:
16113         * screen.C: fix "theoretical" GC leak
16114
16115 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16116
16117         * LaTeX.C (scanAuxFile):
16118         (deplog): remove trailing \r when reading stream (useful under
16119         win32)
16120
16121 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16122
16123         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16124         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16125         and BufferView::theLockingInset(Inset*), so should use them and not
16126         access bv_->text->the_locking_inset directly.
16127
16128         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16129
16130 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16131
16132         * Makefile.am:
16133         * tex-defs.h: remove old unused file
16134
16135 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16136
16137         * BufferView_pimpl.C: fix typo, remove minibuffer message
16138           when buffer has loaded
16139
16140 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16141
16142         * lyxfunc.C (Dispatch): use stringstream
16143         (MenuNew): use stringstream
16144         (Open): use stringstream
16145
16146         * importer.C (Import): use stringstream
16147
16148         * bufferview_funcs.C (CurrentState): use stringstream
16149
16150         * LaTeX.C (run): use stringstream
16151
16152         * BufferView_pimpl.C (savePosition): use stringstream
16153         (restorePosition): use stringstream
16154         (MenuInsertLyXFile): use stringstream
16155
16156 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16157
16158         * BufferView.C:
16159         * Bullet.C:
16160         * ColorHandler.C:
16161         * FontInfo.C:
16162         * FontLoader.C:
16163         * LColor.C:
16164         * LaTeXFeatures.C:
16165         * Painter.C:
16166         * gettext.C:
16167         * lyx_gui_misc.C:
16168         * lyxserver.C:
16169         * vspace.C: removed // -*- C++ -*- as first line.
16170
16171         * lyxfind.h:
16172         * version.h: added // -*- C++ -*- as first line.
16173
16174 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16175
16176         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16177
16178         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16179         of string
16180
16181 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16182
16183         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16184         of floats.
16185
16186 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16187
16188         * gettext.C: include LString.h even when --disable-nls is on.
16189
16190 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16191
16192         * converter.h (Get): changed argument type from int to
16193         FormatList::size_type to avoid unnecessary conversion.
16194
16195         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16196         before using it.
16197
16198 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16199
16200         * gettext.h: include LString.h even when --disable-nls is on.
16201
16202 2001-06-07  Juergen Vigna  <jug@sad.it>
16203
16204         * text.C (BreakAgain): subst spaces with tabs.
16205
16206         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16207         (resizeInsetsLyXText): set force on resizeLyXText.
16208
16209 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16210
16211         * gettext.h (gettext_init):
16212         (locale_init): use a real definition instead of a macro
16213
16214 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16215
16216         * Bufferview_pimpl.C:
16217         * LColor.h:
16218         * LColor.C: further lcolor tidies
16219
16220 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16221
16222         * BufferView_pimpl.C (updateScrollbar): simplify.
16223
16224         * BufferView2.C: don't include insets/insetinfo.h, change
16225         prototype for insertInset and call the Pimpl version. let
16226         updateInset call Pimpl version.
16227
16228         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16229         gotoInset to BufferView::Pimpl
16230
16231 2001-06-01  Juergen Vigna  <jug@sad.it>
16232
16233         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16234         inside a LockingInset (is the update needed at all?).
16235
16236 2001-05-31  Juergen Vigna  <jug@sad.it>
16237
16238         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16239         here not the old one otherwise how should we compare it afterwards
16240         if it's the same!
16241
16242 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16243
16244         * lyxfont.C:
16245         * tabular.C:
16246         * tabular-old.C:
16247         * FontInfo.C: bring C functions into global namespace when
16248         necessary
16249
16250 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16251
16252         * LString.h: make sure config.h has been loaded before LString.h.
16253
16254         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16255         (one for each char read by EatLine!).
16256
16257         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16258         variables.
16259
16260 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16261
16262         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16263         to the same as the par we break from
16264
16265 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16266
16267         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16268
16269         * MenuBackend.C (expand): also create menu entries for wide
16270         versions of the floats.
16271
16272         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16273
16274         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16275
16276         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16277         frontends/Makefile.am
16278
16279         * text2.C: adjust
16280         * text.C: adjust
16281
16282
16283         * tabular.C (getTokenValue): add std::
16284
16285         * tabular-old.C (getTokenValue): add std::
16286         (getTokenValue): ditto
16287         (getTokenValue): ditto
16288
16289         * screen.C (ToggleSelection): adjust
16290
16291         * lyxtext.h: put selection cursors inside a Selection struct.
16292
16293         * lyxfunc.C (moveCursorUpdate): adjust
16294
16295         * lyxfont.C (latexWriteStartChanges): add std::
16296
16297         * lyxfind.C: adjust
16298
16299         * font.h: delete with(char const *, LyXFont const &)
16300
16301         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16302
16303         * FontInfo.C (getFontname): add std::
16304
16305         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16306         (workAreaButtonPress): adjust
16307         (tripleClick): adjust
16308         (update): adjust
16309         (moveCursorUpdate): adjust
16310         (Dispatch): adjust
16311
16312         * BufferView2.C (gotoInset): adjust
16313
16314 2001-05-30  Juergen Vigna  <jug@sad.it>
16315
16316         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16317         to check pspell I add this as default as I now have new pspell
16318         libraries and they seem to use this.
16319
16320 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16321
16322         * text2.C (CutSelection): make the cursor valid before the call to
16323         ClearSelection.
16324
16325 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16326
16327         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16328         relied on 0 terminated strings and other horrors. Bug found due to
16329         the new assert in lyxstring!
16330
16331         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16332         KP_ keys.
16333
16334 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16335
16336         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16337         to latinkeys.bind.
16338
16339         * lyxfunc.C (processKeySym): change method of getting to the
16340         self-insert char.
16341
16342         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16343         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16344         * BufferView_pimpl.[Ch]: here as private methods.
16345
16346 2001-05-28  Juergen Vigna  <jug@sad.it>
16347
16348         * text.C (SetHeightOfRow): added the update() call again as it is
16349         needed to initialize inset dimensions!
16350
16351 2001-05-16  Juergen Vigna  <jug@sad.it>
16352
16353         * text2.C (SetCharFont): Add new function with BufferView * and
16354         bool toggleall parameters for setting insets internal fonts.
16355         (SetFont): Freeze the undo as we may change fonts in Insets and
16356         all this change should be inside only one Undo!
16357
16358         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16359         setting font's in insets as for them we have the SetFont function!
16360
16361 2001-05-15  Juergen Vigna  <jug@sad.it>
16362
16363         * text2.C (ClearSelection): to be sure we REALLY don't have any
16364         selection anymore!
16365
16366         * tabular.C (TeXCellPreamble): fixed the left border problem for
16367         multicolumn cells.
16368
16369 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16370
16371         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16372         dependancy file
16373
16374 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16375
16376         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16377         LFUN_BREAKPARAGRAPH.
16378
16379         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16380         help test to "internal only", similar for LFUN_INSERT_URL
16381
16382         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16383         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16384         auto_region_delete and deadkeys.
16385
16386 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16387
16388         * LColor.h:
16389         * LColor.C: remove some dead entries, tidy a little
16390
16391 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16392
16393         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16394         commented code.
16395         (Dispatch): implement LFUN_ESCAPE
16396
16397         * commandtags.h: add LFUN_ESCAPE
16398
16399         * LyXAction.C (init): add entry for LFUN_ESCAPE
16400
16401         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16402         Remove commented code.
16403         (insertNote): moved here
16404         (open_new_inset): moved here
16405
16406         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16407         BufferView_pimpl
16408
16409 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16410
16411         * kbmap.C (findbinding): clean it up and make it work correctly.
16412
16413         * lyx_main.C (init): do not pass argc and argv as parameters
16414
16415 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16416
16417         * buffer.C: fix path for OS/2 & Win32
16418
16419         * lyx_gui.C:
16420         * lyx_main:
16421         * lyx_main.C: Added os:: class.
16422
16423         * os2_defines.h: update
16424
16425 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16426
16427         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16428         better by trying again with reduced state.
16429
16430 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16431
16432         * lyxrc.C (read): print error about invalid key sequence only when
16433         debugging (because not all latinX keysyms are known to some X
16434         servers)
16435
16436         * kbsequence.C (getiso): add a few std:: qualifiers
16437         (getiso): comment out extra return statement.
16438
16439 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16440
16441         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16442         handling.
16443         (Dispatch): enhance the accent inset a bit. (not perfect)
16444
16445 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16446
16447         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16448
16449 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16450
16451         * bufferlist.C (emergencyWrite): fix assert() call
16452
16453 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16454
16455         * text.C (InsertChar): Added trivial patch to only send the "you
16456         can not do multiple spaces this way" message once during a
16457         session.
16458
16459 2001-05-08  Baruch Even  <baruch@lyx.org>
16460
16461         * Makefile.am: Changed order of libraries to get LyX to link properly
16462         with the gnome frontend.
16463
16464 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16465
16466         * LaTeXFeatures.h: add a std:: qualifier
16467
16468 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16469
16470         * paragraph.C (String): use stringstream
16471
16472 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16473
16474         * paragraph.C (writeFile): remove footflag arg
16475
16476         * buffer.C (makeLaTeXFile): use stringstream
16477         (latexParagraphs): remove footnot gurba
16478
16479         * LaTeXFeatures.C (getPackages): use stringstream
16480         (getMacros): likewise
16481         (getTClassPreamble): likewise
16482         (getFloatDefinitions): new method
16483
16484         * paragraph.C (writeFile): reindent
16485         (Erase): reindent
16486
16487         * WorkArea.h: revert the xpos + etc changes.
16488
16489         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16490
16491         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16492
16493         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16494         (pasteSelection): likewise
16495         * text2.C (CreateUndo): likewise
16496
16497 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16498
16499         * minibuffer.C (peek_event): temporarily reduce the functionality
16500         of the minibuffer (to allow args on lfuns)
16501
16502         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16503         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16504
16505         * buffer.C (readInset): add compability reading of old float
16506         lists, add reading of new style float list.
16507         (readInset): avoid reevaluation of inscmd.getCmdName()
16508         (getLists): reindent
16509
16510         * MenuBackend.C (MenuItem): implement parsing of
16511         md_floatlistinsert and md_floatinsert.
16512         (expand::LastFiles): move initalizaton of iterators out of loop,
16513         avoid reevaluation.
16514         (expand::Documents): introduce typdedef vector<string> Strings,
16515         and use it.
16516         (expand::ExportFormats): introduce typedef vector<Format const *>
16517         Formats, and use it.
16518         (expand): implement FloatListInsert and FloatInsert.
16519
16520         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16521         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16522         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16523
16524         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16525         handling.
16526         (Dispatch::LFUN_FLOAT_LIST): implement
16527
16528 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16529
16530         * LaTeX.C (run): Fix problem with --export code.
16531
16532 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16533
16534         * BufferView.[Ch] (workarea): removed.
16535         (getClipboard) new method; wrapper for workarea()->getClipboard()
16536
16537         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16538         bug.
16539
16540         * WorkArea.h (width, height, xpos, ypos): These methods all
16541         returned the dimensions of the work_area sub-area of WorkArea,
16542         resulting in a position error if the WorkArea were resized. Now
16543         return the dimensions of the entire WorkArea.
16544
16545         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16546
16547 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16548
16549         * LaTeX.C (deplog): correct the syntax of regex reg1
16550
16551 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16552
16553         * undo.C: remove !NEW_INSETS cruft
16554
16555 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16556
16557         * text2.C: remove !NEW_INSETS cruft
16558
16559         * text.C: remove !NEW_INSETS cruft
16560
16561         * tabular.C: remove !NEW_INSETS cruft
16562
16563         * spellchecker.C: remove !NEW_INSETS cruft
16564
16565         * lyxtext.h: remove !NEW_INSETS cruft
16566
16567         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16568
16569         * lyxfunc.C: remove !NEW_INSETS cruft
16570
16571         * lyxfind.C: remove !NEW_INSETS cruft
16572
16573         * lyx_cb.C: remove !NEW_INSETS cruft
16574
16575         * figureForm.C: remove  !NEW_INSETS cruft
16576
16577         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16578
16579         * buffer.[Ch]: remove !NEW_INSETS cruft
16580
16581         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16582
16583         * CutAndPaste.C: remove !NEW_INSETS cruft
16584
16585         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16586
16587         * BufferView2.C: remove !NEW_INSETS cruft
16588
16589         * BufferView.h: remove !NEW_INSETS cruft
16590
16591 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16592
16593         * Lsstream.h: include LString.h before the sstream headers to
16594         fix problem with gcc 2.95.3 and lyxstring
16595
16596 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16597
16598         * lyx_main.C: add using directives when needed for C functions
16599         declared in std:: namespace.
16600
16601 2001-04-27  Juergen Vigna  <jug@sad.it>
16602
16603         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16604         (SetHeightOfRow): comment out the update call should not be needed!
16605
16606 2001-04-13  Juergen Vigna  <jug@sad.it>
16607
16608         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16609         (LyXTabular): tried to minimize operator= operations (and realized
16610         hopfully Lars wish).
16611
16612 2001-04-27  Juergen Vigna  <jug@sad.it>
16613
16614         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16615
16616 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16617
16618         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16619
16620         * buffer.C (readInset): hack to make listof algorithm work
16621
16622         * BufferView_pimpl.C: hack to make listof algorithm work
16623
16624 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16625
16626         * LyXAction.C: removed all !NEW_INSETS cruft
16627         (init): moved lfun_item in method
16628
16629         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16630
16631 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16632
16633         * BufferView2.C (theLockingInset): white space.
16634
16635 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16636
16637         * minibuffer.C: include <iostream>
16638
16639         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16640
16641         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16642
16643         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16644
16645         * text.[Ch] (TransposeChars): new method
16646
16647 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16648
16649         * call message directly through LyXView instead of through LyXFunc
16650         * BufferView2.C: adjust
16651         * BufferView_pimpl.C: adjust
16652         * FontLoader.C: adjust
16653         * buffer.C: adjust
16654         * bufferview_funcs.C: adjust
16655         * converter.C: adjust
16656         * figureForm.C: adjust
16657         * importer.C: adjust
16658         * lyx_cb.C: adjust
16659         * lyx_gui_misc.C: adjust
16660         * lyxfunc.C: adjust
16661         * lyxvc.C: adjust
16662         * text2.C: adjust
16663         + more files in subdirs
16664
16665         * lyxparagraph.h (size): move up int file
16666         (GetLayout): ditto
16667
16668         * adjust all uses of Assert to lyx::Assert.
16669
16670         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16671         lyxfunctional in namespace lyx
16672         * layout.C (hasLayout): ditto
16673         (GetLayout): ditto
16674         (GetLayout): ditto
16675         (delete_layout): ditto
16676         (NumberOfClass): ditto
16677         * converter.C (GetFormat): ditto
16678         (GetNumber): ditto
16679         (Add): ditto
16680         (Delete): ditto
16681         (SetViewer): ditto
16682         * bufferlist.C (getFileNames): ditto
16683         (emergencyWriteAll): ditto
16684         (exists): ditto
16685         (getBuffer): ditto
16686         * MenuBackend.C (hasSubmenu): ditto
16687         (hasMenu): ditto
16688         (getMenu): ditto
16689         * BufferView_pimpl.C (getInsetByCode): ditto
16690
16691 2001-04-18  Juergen Vigna  <jug@sad.it>
16692
16693         * vspace.C (asLatexString): fixed the 100% problem.
16694
16695 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16696
16697         * lyxfunc.C (Dispatch):
16698         * minibuffer.C:
16699         * minibuffer.h: add a few std:: qualifiers
16700
16701 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16702
16703         * minibuffer.[Ch]: reimplement so that commands is initiated and
16704         run from lyxfunc, simplified som handling, and made the completion
16705         and history code for complete. wip.
16706
16707         * lyxfunc.C (processKeySym): call message
16708         (miniDispatch): new temporary method
16709         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16710         (LFUN_MESSAGE): implement
16711         (LFUN_MESSAGE_PUSH): implement
16712         (LFUN_MESSAGE_POP): implement
16713         (initMiniBuffer): the initial/defualt minibuffer message.
16714
16715         * lyxfont.[Ch]: inline some more getters
16716
16717         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16718
16719         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16720
16721         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16722         (AutoSave): use LFUN_MESSAGE
16723         (Reconfigure): ditto
16724
16725         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16726
16727         * figureForm.C: use LFUN_MESSAGE
16728
16729         * converter.C (runLaTeX): use LFUN_MESSAGE
16730
16731         * bufferview_funcs.C: use LFUN_MESSAGE
16732         (Melt): ditto
16733         (changeDepth): ditto
16734
16735         * bufferparams.h: use boost::
16736
16737         * bufferlist.h: inherit privately from noncopyable
16738
16739         * bufferlist.C (loadLyXFile): remove some commented code.
16740
16741         * buffer.C (runChktex): use LFUN_MESSAGE
16742
16743         * ShareContainer.h: inherit privately from noncopyable
16744
16745         * ParagraphParameters.[hC] (depth): inline it.
16746
16747         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16748         methods.
16749         (message): new method
16750         (messagePush): ditto
16751         (messagePop): ditto
16752         (show): init minibuffer
16753         (showState): direct call
16754
16755         * LaTeX.[Ch]: inherit privately from noncopyable
16756         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16757         instead of WriteStatus.
16758
16759         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16760
16761         * BufferView_pimpl.C (buffer): don't init minibuffer
16762         (workAreaButtonPress): use LFUN_MESSAGE
16763         (workAreaButtonRelease): ditto
16764         (savePosition): ditto
16765         (restorePosition): ditto
16766         (MenuInsertLyXFile): ditto
16767         (workAreaExpose): don't init minibuffer
16768         (update): remove commented code, simplify
16769
16770         * BufferView2.C (openStuff): use LFUN_MESSAGE
16771         (toggleFloat): ditto
16772         (menuUndo): ditto
16773         (menuRedo): ditto
16774         (copyEnvironment): ditto
16775         (pasteEnvironment): ditto
16776         (copy): ditto
16777         (cut): ditto
16778         (paste): ditto
16779         (gotoInset): ditto
16780         (updateInset): remove some commented code
16781
16782         * lastfiles.h: inherit privately from noncopyable
16783         * layout.h: ditto
16784         * lyx_gui.h: ditto
16785         * lyx_main.h: ditto
16786         * lyxlex.h: ditto
16787         * lyxlex_pimpl.h: ditto
16788
16789         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16790         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16791         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16792
16793         * LyXAction.h: inherit privately from noncopyable, add methods
16794         func_begin, func_end, returning iterators to the func map.
16795
16796         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16797         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16798         (func_begin): new method
16799         (func_end): new method
16800
16801         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16802         and not)
16803         (copySelection): ditto
16804         (pasteSelection): ditto
16805
16806         * BufferView.C: whitespace change
16807         * BufferView.h: inherit privately from noncopyable
16808
16809 2001-04-16  Allan Rae  <rae@lyx.org>
16810
16811         * tabular-old.C (l_getline):
16812         * spellchecker.C (sc_check_word):
16813         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16814         an unrecognised preprocessor directive.  So ensure they're wrapped.
16815
16816 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16817
16818         * src/exporter.C (Export): Give an error message when path to file
16819         contains spaces.
16820
16821 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16822
16823         * LaTeX.C (deplog): Always check that foundfile exists.
16824
16825 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16826
16827         * lyx_main.h:
16828         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16829
16830 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16831
16832         * tabular.[Ch] (getLabelList): implement new method
16833
16834         * minibuffer.h: comment ouf setTiimer
16835
16836         * minibuffer.C (ExecutingCB): constify res
16837         (peek_event): constify s
16838         (Set): constify ntext
16839         (Init): constify nicename
16840
16841         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16842
16843         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16844         (savePosition): use two params to Minibuffer::Set
16845         (restorePosition): ditto
16846
16847 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16848
16849         * lyx_main.C: include language.h
16850
16851         * Makefile.am (lyx_main.o): add language.h
16852
16853 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16854
16855         * exporter.C:
16856         * paragraph.C:
16857         * screen.C:
16858         * tabular.C:
16859         * CutAndPaste.C: include gettext.h
16860
16861         * lyxfont.h: remove old hack with ON and OFF.
16862
16863         * lyxparagraph.h:
16864         * lyxfont.h: do not include language.h...
16865
16866         * BufferView2.C:
16867         * LaTeXFeatures.C:
16868         * Painter.C:
16869         * bufferview_funcs.C:
16870         * font.C:
16871         * lyxfont.C:
16872         * text.C:
16873         * text2.C:
16874         * trans_mgr.C:
16875         * paragraph.C: ... but do it here instead
16876
16877 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16878
16879         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16880
16881         * tabular.C: small reformat
16882
16883         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16884         NEW_INSETS version
16885         (GetChar): ditto
16886         (BreakParagraph): ditto
16887         (SetOnlyLayout): ditto
16888         (SetLayout): ditto
16889
16890         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16891         with one arg less.
16892
16893         * lastfiles.C: removed most using decl, add std:: where needed
16894
16895         * buffer.C: ws changes
16896
16897         * MenuBackend.C (class compare_format): put into anon namespace
16898         (expand): constify label, names, action, action2
16899         (expand):
16900
16901         * text.C (SingleWidth): constify font
16902         (IsBoundary): constify rtl2
16903         (GetVisibleRow): constify ww
16904
16905         * LaTeX.C (deplog): constify logfile
16906
16907         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16908         start_x, end_x
16909         (workAreaExpose): constify widthChange, heightChange
16910
16911         * lyxrow.C (par): moved
16912         (height): moved
16913         (next): moved
16914         * lyxrow.h: as inlines here
16915
16916         * lyxfont.h (shape): moved from lyxfont.C
16917         (emph): moved from lyxfont.C
16918
16919         * lyxfont.C (LyXFont): use initialization list for all
16920         constructors
16921         (shape): move to lyxfont.h as inline
16922         (emph): move to lyxfont.h as inline
16923
16924
16925 2001-04-04  Juergen Vigna  <jug@sad.it>
16926
16927         * vspace.C: had to include stdio.h for use of sscanf
16928
16929 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16930
16931         * BufferView.h:
16932         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16933         independent of xforms.
16934
16935 2001-04-02  Juergen Vigna  <jug@sad.it>
16936
16937         * spellchecker.C: fixed namespace placing!
16938
16939 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16940
16941         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16942         the LyXParagraph * is 0.
16943
16944 2001-03-29  Juergen Vigna  <jug@sad.it>
16945
16946         * vspace.C: added support for %, c%, p%, l%.
16947         (stringFromUnit): added helper function.
16948         (asLatexString): changed to give right results for the %-values.
16949
16950         * buffer.C: convert the widthp in a width%.
16951
16952 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16953
16954         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16955         figureForm.[Ch].
16956
16957         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16958         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16959
16960         * lyx_cb.[Ch]: see above.
16961
16962         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16963         form1.[Ch].
16964
16965         * form1.[Ch]:
16966         * lyx.[Ch]: replaced by figure_form.[Ch].
16967
16968         * lyx_gui.C:
16969         * lyx_gui_misc.C:
16970         * lyxfunc.C: changed headers associated with above changes.
16971
16972 2001-03-27  Juergen Vigna  <jug@sad.it>
16973
16974         * BufferView_pimpl.C: set the temporary cursor right!
16975
16976 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16977
16978         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16979
16980 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16981
16982         * LString.h: removed "using std::getline"!
16983
16984         * BufferView_pimpl.C (Dispatch): changes due to changes in
16985         InsetInclude::Params.
16986
16987         * buffer.C (tag_name): removed redundant break statements as they were
16988         producing lots of warnings with my compiler.
16989
16990 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16991
16992         * LString.h: add "using std::getline" when using the real <string>.
16993
16994 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16995
16996         * buffer.C: removed bitset usage.
16997         PAR_TAG moved to an anonymous name space.
16998         (tag_name): new funtion, also in the anonymous namespace.
16999         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17000         (makeDocBookFile): clean code. Completed transition from string arrays
17001         to string vectors.
17002         (SimpleDocBookOnePar): code clean.
17003
17004 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17005
17006         * tabular.C: add some comments.
17007
17008 2001-03-22  Juergen Vigna  <jug@sad.it>
17009
17010         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17011         compatibility read a bit and fixed bug with minipage in different
17012         depth.
17013
17014 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
17015
17016         * buffer.C (pop_tag): removed.
17017         (push_tag): removed.
17018         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17019         array replaced with vector. Added support for CDATA sections.
17020         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17021         at any nest level.
17022         (makeDocBookFile): XML conformant declaration of CDATA section,
17023         fixed bug related to <emphasis> in the first paragraph char.
17024         (sgmlOpenTag): exclude empty tags.
17025         (sgmlCloseTag): ditto.
17026
17027         * buffer.h (pop_tag): removed.
17028         (push_tag): removed.
17029
17030 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17031
17032         * language.h (Languages): added size_type and size().
17033
17034 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17035
17036         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17037         response on compability reading of minipages. One probliem is that
17038         the old usage of minipages was «flertydig»
17039
17040         * several files here and in subdirs: don't use static at file
17041         scope use anon namespaces instead.
17042
17043 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17044
17045         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17046         LaTeX output. This is necessary for Literate document
17047         processing.
17048
17049 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17050
17051         * buffer.C: insert hfill when needed.
17052
17053         * tabular.C (l_getline): use string::erase, small whitespace change.
17054
17055         * BufferView_pimpl.C: try the anon namespace.
17056         * WorkArea.C: ditto
17057
17058 2001-03-16  Juergen Vigna  <jug@sad.it>
17059
17060         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17061         otherwise it won't open options-dialogs.
17062
17063         * buffer.C: honor pextraWidth(p) on converting minipages.
17064
17065         * tabular.C (l_getline): changed the functions to strip trailing \r.
17066
17067 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17068
17069         * BufferView_pimpl.C:
17070         * minibuffer..C: added "using SigC::slot" declaration.
17071
17072 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17073
17074         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17075
17076         * text2.C: ditto
17077
17078         * text.C: ditto
17079
17080         * paragraph.C: ditto
17081
17082         * lyxtext.h: NO_PEXTRA
17083
17084         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17085
17086         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17087         * ParameterStruct.h: ditto
17088         * ParagraphParameters.h: ditto
17089         * lyxparagraph.h: ditto
17090
17091 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17092
17093         * buffer.C: add compability for minipage alignment.
17094         (latexParagraphs): remove unwanted pextra check.
17095
17096         * several files: remove CXX_WORKING_NAMESPACES
17097
17098         * buffer.C (pop_tag): tie is in namespace boost
17099
17100         * BufferView.h: noncopyable is in namespace boost
17101         * lyxlex.h: ditto
17102         * lyx_main.h: ditto
17103         * lyx_gui.h: ditto
17104         * layout.h: ditto
17105         * lastfiles.h: ditto
17106         * bufferlist.h: ditto
17107         * ShareContainer.h: ditto
17108         * LyXView.h: ditto
17109         * LyXAction.h: ditto
17110         * LaTeX.h: ditto
17111
17112 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17113
17114         * Merging changes from BRANCH_MVC back into HEAD.
17115
17116         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17117
17118 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17119
17120         * BufferView_pimpl.C: change from intl.C
17121
17122         * combox.h:
17123         * combox.C:
17124         * Makefile.am: move combox.*
17125
17126         * form1.h:
17127         * form1.C:
17128         * lyx_gui.C:
17129         * intl.h:
17130         * intl.C: remove dialog (covered by prefs)
17131
17132 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17133
17134         * lyxfunc.C (Dispatch): removed redundant break statement.
17135
17136 2001-03-14  Juergen Vigna  <jug@sad.it>
17137
17138         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17139
17140 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17141
17142         * buffer.C: add hack to fix compability reading of minipages.
17143
17144 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17145
17146         * buffer.C (getLists): Cleanup.
17147
17148 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17149
17150         * lyxfont.C (update): don't honor toggleall on font size.
17151
17152 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17153
17154         * bmtable.c:
17155         * bmtable.h:
17156         * Makefile.am: moved to frontends/xforms/
17157
17158         * lyx_gui_misc.C:
17159         * lyxfunc.C:
17160         * BufferView_pimpl.C: changes for moved mathpanel
17161
17162 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17163
17164         * gettext.h: fix gettext_init() in --disable-nls
17165
17166 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17167
17168         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17169
17170 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17171
17172         * lyx.C:
17173         * lyx.h: strip external form
17174
17175 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17176
17177         * BufferView_pimpl.C: add comment, destroySplash()
17178
17179 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17180
17181         * BufferView_pimpl.C:
17182         * LyXAction.C:
17183         * buffer.C:
17184         * commandtags.h:
17185         * lyxfunc.C: use re-worked insetinclude
17186
17187 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17188
17189         * buffer.C: add using std::stringstream.
17190
17191         * lyx_cb.C: readd using std::ios.
17192
17193         * buffer.C: add using std::map.
17194
17195         * BufferView_pimpl.C: add using std::vector.
17196
17197         * ShareContainer.h: add std:: to swap.
17198
17199         * buffer.h: add some typedefs
17200         * buffer.C (getLists): use them
17201         (getLists): renamed from getTocList.
17202         add a counter for the different float types and use it in the
17203         generated string.
17204         (getLists): use the same counter for the NEW_INSETS and the "non"
17205         NEW_INSETS
17206
17207         * lyx_cb.h: remove unused items, includes, using etc.
17208
17209         * ShareContainer.h: remove some commented code, add more comments
17210         and "documentation".
17211
17212 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17213
17214         * buffer.C (getTocList): make the list also when NEW_INSETS is
17215         defined.
17216
17217         * buffer.h: remove TocType
17218
17219         * buffer.C (getTocList): change to return a map<string,
17220         vector<TocItem> >, implement for dynamic number of list.
17221
17222         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17223         * text2.C (PasteSelection): adjust
17224         * CutAndPaste.C (pasteSelection): adjust
17225
17226         * FloatList.C (FloatList): update from the new_insets branch.
17227         * Floating.[Ch]: ditto
17228         * LaTeXFeatures.C: ditto
17229         * buffer.C: ditto
17230         * lyxlex_pimpl.C: ditto
17231
17232         * paragraph.C (Last): remove when NEW_INSETS is defined.
17233
17234         * other file: changes because of the above.
17235
17236 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17237
17238         * lyxparagraph.h: rename next to next_, previous to previous_,
17239         make them private for NEW_INSETS. Rename Next() to next(),
17240         Previous() to previous().
17241
17242         * other files: changes because of the above.
17243
17244 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17245
17246         * BufferView.h:
17247         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17248         problem.
17249
17250 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17251
17252         * main.C (main): pass lyx_localedir to gettext_init().
17253
17254         * gettext.h: remove locale_init and gettext_init macros
17255
17256         * gettext.C (locale_init): new function
17257         (gettext_init): new function
17258
17259         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17260         setlocale().
17261
17262 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17263
17264         * Moved credits to frontends:
17265         * credits.[Ch]: removed
17266         * credits_form.[Ch]: removed
17267         * lyx_gui_misc.C: remove credits stuff
17268         * Makefile.am:
17269
17270 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17271
17272         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17273
17274         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17275         unneeded destructor.
17276
17277         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17278         a standalone pointer again.
17279
17280         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17281
17282 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17283
17284         * Makefile.am:
17285         * filedlg.h:
17286         * filedlg.C:
17287         * LyXAction.C:
17288         * ToolbarDefaults.C:
17289         * bufferlist.C:
17290         * commandtags.h:
17291         * form1.C:
17292         * form1.h:
17293         * lyx_cb.C:
17294         * lyx_cb.h:
17295         * lyxfunc.h:
17296         * lyxfunc.C:
17297         * BufferView_pimpl.C: use new file dialog in GUII
17298
17299         * lyx_cb.h:
17300         * lyx_cb.C: remove LayoutsCB to Toolbar
17301
17302 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17303
17304         * ShareContainer.h (get): add std:: qualifier
17305
17306 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17307
17308         * ShareContainer.h: define a proper ShareContainer::value_type
17309         type (and use typename to please compaq cxx)
17310
17311 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17312
17313         * lyxparagraph.h: move serveral local vars to
17314         ParameterStruct/ParagraphParameters., use ShareContainer in
17315         FontTable., make vars in FontTable private and add getter and
17316         setter.
17317
17318         * paragraph.C: changes because of the above.
17319
17320         * lyxfont.h: remove copy constructor and copy assignment. (the
17321         default ones is ok), move number inside FontBits. move inlines to
17322         lyxfont.C
17323
17324         * lyxfont.C: add number to initializaton of statics, move several
17325         inlines here. constify several local vars. some whitespace
17326         cleanup. Dont hide outerscope variables.
17327
17328         * Spacing.h: add two new constructors to match the set methods.
17329
17330         * ShareContainer.h: new file, will perhaps be moved to support
17331
17332         * ParameterStruct.h: new file
17333
17334         * ParagraphParameters.h: new file
17335
17336         * ParagraphParameters.C: new file
17337
17338         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17339         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17340
17341         * BufferView_pimpl.C: ParagraphParameter changes.
17342         * buffer.C: Likewise.
17343         * bufferview_funcs.C: Likewise.
17344         * text.C: Likewise.
17345         * text2.C: Likewise.
17346
17347 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17348
17349         * lyxfind.C (LyXReplace): do not redefine default argument in
17350         implementation.
17351         (IsStringInText): ditto
17352         (SearchForward): ditto
17353         (SearchBackward): ditto
17354
17355 2001-03-06  Juergen Vigna  <jug@sad.it>
17356
17357         * lyxfind.C (IsStringInText): put parentes around expressions.
17358
17359 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17360
17361         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17362
17363 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17364
17365         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17366
17367         * stl_string_fwd.h: add comment
17368
17369         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17370
17371         * tabular.h:
17372         * tabular.C: remove unused DocBook methods
17373
17374         * intl.C:
17375         * language.C:
17376         * paragraph.C:
17377         * buffer.C:
17378         killed DO_USE_DEFAULT_LANGUAGE
17379
17380 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17381
17382         * lyx_gui.C: do not include language.h.
17383
17384         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17385         arguments in function implementation.
17386
17387 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17388
17389         * BufferView_pimpl.C: add <ctime>
17390
17391 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17392
17393         * BufferView_pimpl.C: add using std::find_if
17394
17395 2001-02-27  José Matos  <jamatos@fep.up.pt>
17396
17397         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17398         by OnlyPath.
17399
17400 2001-02-11  José Matos  <jamatos@fep.up.pt>
17401
17402         * buffer.C (makeDocBookFile): command styles now have a parameter as
17403         "title" by default.
17404
17405 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17406
17407         * layout_forms.[Ch]: removed
17408         * lyx_cb.[Ch]: out character
17409         * lyx_gui.C: out character
17410         * lyx_gui_misc.C: out character
17411         * bufferview_funcs.C: : out character,
17412         added toggleall as parameter in ToggleAndShow
17413
17414 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17415
17416         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17417
17418         * text2.C (SetCurrentFont): Disable number property at boundary.
17419
17420 2001-02-26  Juergen Vigna  <jug@sad.it>
17421
17422         * lyxfunc.C (getStatus): added a string argument override function so
17423         that this is correctly called from LyXFunc::Dispatch if it contains a
17424         do_not_use_argument which is used!
17425         (Dispatch): added check for "custom" export and call appropriate func.
17426
17427 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17428
17429         * lyxrc.C: Add language_command_local, language_use_babel and
17430         language_global_options.
17431
17432         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17433
17434         * buffer.C (makeLaTeXFile): Use language_use_babel and
17435         language_global_options.
17436
17437 2001-02-23  Juergen Vigna  <jug@sad.it>
17438
17439         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17440         which works with LyXText and putted it inside BufferView. Here now we
17441         only call for that part the BufferView::Dispatch() function.
17442
17443         * BufferView.C (Dispatch): added.
17444
17445         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17446         functions which needs to use a LyXText over from LyXFunc.
17447         (MenuInsertLyXFile): added
17448         (getInsetByCode): added
17449         (moveCursorUpdate): added
17450         (static TEXT): added
17451
17452 2001-02-22  Juergen Vigna  <jug@sad.it>
17453
17454         * BufferView_pimpl.C (update): call a status update to see if LyXText
17455         needs it.
17456
17457 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17458
17459         * vc-backend.C (revert): implement for CVS
17460         (getLog): implement for CVS
17461
17462 2001-02-20  Juergen Vigna  <jug@sad.it>
17463
17464         * text2.C (ClearSelection): added BufferView param for inset_owner call
17465
17466         * lyxfunc.C (TEXT): added this function and use it instead of
17467         directly owner->view()-text of getLyXText().
17468
17469 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17470
17471         * src/layout_forms.C: out preamble
17472         * src/layout_forms.h: out preamble
17473         * src/lyx_cb.C: out preamble
17474         * src/lyx_cb.h: out preamble
17475         * src/lyx_gui.C: out preamble
17476         * src/lyx_gui_misc.C: out preamble
17477         * src/lyxfunc.C: connect with guii preamble
17478
17479 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17480
17481         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17482
17483 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17484
17485         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17486         whether to run bibtex.
17487
17488 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17489
17490         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17491
17492 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17493
17494         * Makefile.am (lyx_SOURCES): removed bibforms.h
17495
17496         * vspace.h: doxygen
17497
17498         * text.C (GetVisibleRow): make several local vars const
17499
17500         * tabular.C: small cleanup.
17501
17502         * lyxserver.C (callback): use compare instead of strncmp
17503
17504         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17505         inlines to after class or to paragraph.C
17506
17507         * lyxfont.h: remove friend operator!=
17508
17509         * converter.h: move friend bool operator< to non friend and after
17510         class def.
17511
17512         * combox.h: small cleanup
17513
17514         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17515         to inlines after class def.
17516
17517         * buffer.C (pop_tag): use string operations instead of strcmp
17518
17519         * bmtable.c: doxygen, small cleanup
17520
17521         * LaTeX.h: remove friend operator==
17522
17523 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17524
17525         * screen.C:
17526         * lyxrc.[Ch]:
17527         * lyxfunc.C:
17528         * lyxfont.[Ch]:
17529         * lyx_cb.C:
17530         * intl.[Ch]:
17531         * commandtags.h:
17532         * buffer.C:
17533         * WorkArea.[Ch]:
17534         * LyXAction.C:
17535         * BufferView_pimpl.C:
17536         * BufferView.[Ch]: remove cruft
17537
17538 2001-02-14  Juergen Vigna  <jug@sad.it>
17539
17540         * lyxfunc.C: removed #if 0 unused code
17541
17542         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17543
17544         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17545
17546         * text2.C (SetSelection): added a BufferView * parameter
17547
17548 2001-02-13  Juergen Vigna  <jug@sad.it>
17549
17550         * lyxfunc.C (Dispatch): fixed protected blank problem.
17551         * BufferView2.C (protectedBlank): added LyxText * parameter.
17552
17553         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17554         (AppendColumn): same as above for column_info.
17555
17556         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17557         (moveCursorUpdate): use a LyXText param for support of InsetText.
17558
17559         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17560         (tripleClick): ditto
17561
17562         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17563
17564         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17565
17566         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17567
17568         * text2.C (SetSelection): set correct update status if inset_owner
17569         (ToggleFree): ditto
17570
17571 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17572
17573         * tabular.C: remove some commented code.
17574
17575 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17576
17577         * BufferView_pimpl.C: call hideSplash()
17578
17579         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17580
17581         * include_form.h:
17582         * bibforms.h: remove
17583
17584         * lyxfunc.C:
17585         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17586           add LFUN_CHILD_CREATE
17587
17588         * counters.h: fix tiny typo
17589
17590         * lyx_cb.C:
17591         * lyx.h:
17592         * lyx_gui.C:
17593         * lyx.C: move splash to frontends/xforms/
17594
17595         * lyx_gui_misc.C: move Include and Bibform to frontends
17596
17597         * lyxvc.h: clarify comment
17598
17599         * vspace.C: tiny housekeeping
17600
17601 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17602
17603         * text.C (PrepareToPrint): RTL Fix.
17604
17605         * paragraph.C (GetUChar): New method.
17606         (String):  Use GetUChar.
17607
17608         * buffer.C (asciiParagraph): Use GetUChar.
17609
17610 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17611
17612         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17613
17614 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17615
17616         * buffer.h:
17617         * buffer.C: rename to getLogName(), handle
17618           build log / latex log nicely
17619
17620 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17621
17622         * MenuBackend.C:
17623         * MenuBackend.h: remove support for reference menuitem type.
17624
17625 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17626
17627         * BufferView_pimpl.C: housekeeping
17628         * BufferView_pimpl.h:
17629         * LyXView.h:
17630         * Makefile.am:
17631         * Timeout.C:
17632         * Timeout.h:
17633         * minibuffer.h: move Timeout GUI-I
17634
17635 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17636
17637         * lyxrc.C (read): Update converters data-structures.
17638
17639 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17640
17641         * LaTeX.h (operator!=): add operator != for Aux_Info
17642
17643 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17644
17645         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17646
17647         * LaTeXLog.C: deleted, useful code moved to Buffer
17648
17649         * buffer.h:
17650         * buffer.C: new function getLatexLogName()
17651
17652         * lyx_gui_misc.C:
17653         * lyx_gui.C:
17654         * lyxvc.C:
17655         * lyxvc.h:
17656         * lyxfunc.C: use frontends for LaTeX and VC logs
17657
17658 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17659
17660         * LaTeX.h: yet another std:: that Allan forgot.
17661
17662         * Variables.C (set): renamed from isset(), because this clashes
17663         with some HP-UX macros (grr).
17664
17665 2001-02-06  Allan Rae  <rae@lyx.org>
17666
17667         * LaTeX.h: Another bug fix.  Missing std:: this time.
17668
17669 2001-02-04  Allan Rae  <rae@lyx.org>
17670
17671         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17672         floats problem. I've left it commented out because it's not quite
17673         correct.  It should also test that the current object is a table or
17674         figure inset.  But I haven't gotten around to figuring out how to do
17675         that.  I *think* it'll be something like: "table" == inset.type()
17676
17677         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17678         bool.
17679
17680 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17681
17682         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17683         all the citation/databases/styles in the auxilary file.
17684         (run): Rerun latex if there was a babel language error.
17685
17686 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17687
17688         * text.C (Backspace): Preserve the font when changing newline char
17689         with a space.
17690         (BreakParagraph): If the cursor is before a space, delete the space.
17691
17692         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17693
17694 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17695
17696         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17697         new argument (code).
17698         (ChangeCitationsIfUnique): New method.
17699
17700         * paragraph.C (GetPositionOfInset): Handle bibkey.
17701
17702 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17703
17704         * BufferView_pimpl.h: change type of Position::par_pos to
17705         LyXParagraph::size_type.
17706
17707 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17708
17709         * BufferView_pimpl.C (savePosition, restorePosition): Write
17710         messages to minibuffer.
17711
17712 2001-01-28  José Matos  <jamatos@fep.up.pt>
17713
17714         * buffer.C (makeDocBookFile): adds support for document language.
17715         A silly restriction on the name of LatexCommand types where removed.
17716         Added support for CDATA sections, allows to chars unescaped, used
17717         among others in code, to avoid escape < and >.
17718
17719 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17720
17721         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17722         saved positions instrad of a stack. Furthermore, a position is
17723         stored using paragraph id/paragraph position.
17724
17725         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17726         Remove LFUN_REF_BACK.
17727
17728 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17729
17730         * converter.C (dvipdfm_options): New method.
17731
17732 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17733
17734         * vspace.C (isValidLength): Fix for empty input string.
17735
17736 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17737
17738         * LyXAction.C (init): change description of LFUN_FIGURE to
17739         "Insert Graphics"
17740
17741 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17742
17743         * LaTeX.C: add using directive
17744
17745 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17746
17747         * MenuBackend.C (expand): Fix the sorting of the formats.
17748
17749 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17750
17751         * lyx_main.C: tiny error message fix
17752
17753 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17754
17755         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17756         calling fl_initialize(). This fixes the problem with ',' as
17757         decimal separator in text files.
17758
17759 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17760
17761         * trans.C (process): Fix the keymap bug.
17762
17763 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17764
17765         * LaTeX.C (scanAuxFiles): New method. Provides support for
17766         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17767         (scanLogFile) Scan for "run BibTeX" messages.
17768
17769         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17770         OT1 font encoding. Also, load the aecompl package if the ae
17771         package is loaded.
17772
17773         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17774
17775 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17776
17777         * texrow.C (increasePos): turn two error messages into debug
17778         messages.
17779
17780 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17781
17782         * LaTeX.C (scanAux): Handle the \@input macro.
17783         (runBibTeX): Use scanAux().
17784
17785         * language.C (latex_options_): New field.
17786
17787         * LaTeXFeatures.C (getMacros): Add language macros.
17788
17789         * buffer.C (makeLaTeXFile): Small fix.
17790
17791 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17792
17793         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17794
17795         * text2.C: add a using directive.
17796
17797 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17798
17799         * BufferView2.C:
17800         * lyx_gui_misc.h:
17801         * lyxfr1.C:
17802         * lyxfunc.C: kill LyXBell.
17803
17804 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17805
17806         * text.C (IsBoundary): Remove the error message
17807
17808         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17809
17810         * lyxrc.C (setDefaults): Correct initialization value for
17811         font_norm_type.
17812
17813 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17814
17815         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17816         gotoError().
17817
17818         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17819         and GotoNextNote().
17820
17821         * src/LyXAction.C: Added reference-next.
17822
17823         * text.C (InsertChar): Use contains instead of strchr.
17824
17825         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17826
17827 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17828
17829         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17830         alignment commands (when needed).
17831
17832         * text.C (InsertChar): Add ':' to number separator chars.