]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
ae5b5be7929030d2c13e4a9292be7f2e86d8bdc6
[lyx.git] / src / ChangeLog
1 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2
3         * text.C (leftMargin): do not add identation to display() style
4         insets, because they are always centered (bug 1293).
5
6 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7
8         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
9         formatted_time methods in support/lyxtime.
10
11 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12
13         * toc.[Ch]: new method getGuiName, which is used by the frontends 
14         to set the toc combo (fixes bug 1870). Make TOC string translatable.
15
16 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
17
18         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
19         StableDocIterator const &)
20         * undo.C (recordUndo): use the above instead of cell.size() comparison
21         (fixes bug 1808; instructed by André).
22
23 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
24
25         * cursor_slice.h: 
26         * dociterator.h: Fix the assert when copying rows/cols in math
27
28 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
29
30         * BufferView_pimpl.C:
31         * LyXAction.C:
32         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
33
34         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
35         (findInset): new functions, refactored from goto Inset that return 
36         the position of a certain inset without setting the buffer's cursor
37         (by Jean-Marc); 
38         (gotoInset): rewrite to call findInset and then set the cursor
39         (by Jean-Marc).
40
41 2005-06-16  Angus Leeming  <leeming@lyx.org>
42
43         * lyxrc.C (output, read): wrap all input and output of paths with
44         calls to os::internal_path and os::external_path, respectively.
45         (output): wrap bind_file inside quotes.
46
47         * format.C (view): enable the viewer to use the '$$s' placeholder.
48
49 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
50
51         * LColor.[Ch] (getFromLaTeXName): new
52
53 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
54
55         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
56
57 2005-06-14  Angus Leeming  <leeming@lyx.org>
58
59         * lyx_main.C (init): ensure that the LyX binary dir is the first
60         element in the PATH on non-POSIX builds.
61
62 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
63
64         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
65
66 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
67
68         * rowpainter.C (paintInset, paintHebrewComposeChar)
69         (paintArabicComposeChar, paintChars): add a LyXFont argument.
70         (paintChars): use getFontSpan to reduce calls to getFont to a
71         minimum; use Paragraph::lookupChange instead of isXXXText.
72         (paintForeignMark): rename LyXFont argument.
73         (paintFromPos): pass a LyXFont object to the various paintXXX
74         methods.
75
76         * FontIterator.C (FontIterator, operator++): use
77         Paragraph::getFontSpan
78
79         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
80         version that returns the font span as a pair.
81
82 2005-06-09  Angus Leeming  <leeming@lyx.org>
83
84         * converter.C (convert): Don't forget "outfile = real_outfile" as
85         the final step in a conversion where the input and output file names
86         are the same. Otherwise, future conversion steps won't work...
87
88 2005-06-09  Angus Leeming  <leeming@lyx.org>
89
90         * lyxsocket.C: remove stub code as it isn't needed by
91         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
92
93 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
94
95         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
96         effectively disabled -x
97
98 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
99
100         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
101         when it actually makes sense.
102
103 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
104
105         * BufferView_pimpl.C: revert to showCursor in connection with
106         Lars's front-end stack
107
108 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
109
110         * text.C (redoParagraph): move cursor right after a bibitem
111         has been inserted.
112
113         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
114
115 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
116
117         * buffer_funcs.C (bufferErrors): fix computation of the end of an
118         error range.
119
120 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
121
122         * BufferView.[Ch] (update):
123         * BufferView_pimpl.[Ch] (update, metrics):
124         * dimension.h (operator==):
125         * lyxfunc.C (dispatch):
126         * metricsinfo.h (ViewMetricsInfo):
127         * rowpainter.C (paintText):
128         * lyxtext.h:
129         * text.C (redoParagraph):
130         * text3.C (dispatch): Make LyX only repaint current paragraph in
131         case of character insert --> speedup. Also fix cursor draw
132         artifacts
133
134 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
135
136         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
137         avoid a crash (bug 1891)
138
139 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
140
141         Fix bug 1892:
142
143         * text2.C (getStringToIndex): constify cur argument.
144
145         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
146         argument has been given
147         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
148         try to invoke LFUN_INSET_APPLY).
149
150         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
151         if no inset was created by doInsertInset
152         (doInsertInset): return true if an inset has been inserted.
153
154 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
155
156         * vspace.C (asGUIName): new method. A version of the space
157         suitable for showing on screen.
158
159 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
160
161         * MenuBackend.C:
162         * lyxrc.C: rename "ASCII" to "Plain Text"
163
164 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
165
166         * buffer_funcs.C (expandLabel): take a Buffer as argument;
167         translate the labelstring.
168         (setCounter): translate labelstring as needed.
169
170         * output_docbook.C (makeCommand): fix expandLabel invokation
171
172 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
173
174         * BufferView.C: fix dialog title
175
176 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
177
178         * lyx_main.C (priv_exec): fix logic error with help from Angus
179         * lyx_main.C (parse_execute): set is_gui = false and remove now
180         obsolete comment about a segfault
181
182 2005-05-18  Angus Leeming  <leeming@lyx.org>
183
184         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
185
186 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
187
188         * tabular.[hC]: added setCellInset to fix tabular paste.
189
190 2005-05-11  Lars Gullik Bjonnes  <larsbj@gullik.net>
191
192         * buffer.C (save): check if destination is writable before trying
193         to copy a file
194
195 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
196
197         * BufferView_pimpl.C (update): fix processEvents -caused update
198         recursion bug
199
200 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
201
202         * buffer_funcs.C (setCounter): fix test for numbering of
203         environments.
204
205         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
206         depth correctly; use optional argument when it exists
207
208         * lyxtextclass.C: remove unused MaxCounterTags enum
209         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
210         (max_toclevel, min_toclevel): new methods.
211
212         * MenuBackend.C (expandToc2): fix case where depth is smaller than
213         the smallest depth in toc.
214
215         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
216         layouts that should not appear in a table of contents.
217
218 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
219
220         * cursor.h (undispatched, noUpdate): add comments from André
221
222 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
223
224         * lfuns.h:
225         * LyXAction.C:
226         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
227
228 2005-05-07  André Pönitz  <poenitz@gmx.net>
229
230         * cursor.[Ch] (leaveInset): new function
231
232 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
233
234         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
235
236 2005-05-04  Angus Leeming  <leeming@lyx.org>
237
238         * lyxfunc.C (getStatus): disable the spell checker dialog if
239         none of USE_[AIP]SPELL are defined.
240
241 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
242
243         * tabular.C (setWidthOfCell): remove obsolete comment
244
245 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
246
247         * paragraph.C (bibitem):
248         * buffer_funcs.C (setCounter):
249         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
250
251 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
252
253         * text3.C (getStatus): immediately return after setOnOff
254
255         * rowpainter.C: fix drawing of appendix start
256
257 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
258
259         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
260         SwitchBetweenClasses and remove the unused return value.
261         Handle character styles, too
262
263 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
264
265         * factory.C (createInset): handle undefined character styles
266
267 2005-05-02  Angus Leeming  <leeming@lyx.org>
268
269         * buffer.C: protect the #include of utime.h with a preprocessor
270         guard.
271
272 2005-05-02  Angus Leeming  <leeming@lyx.org>
273
274         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
275         function so that auto-saving works, albeit in a blocking manner.
276
277         * Makefile.am: make compilation of the client sub directory, of
278         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
279         on conditionals set at configure time.
280
281         * SpellBase.[Ch]: no longer an abstract base class. Instead,
282         it can be compiled in its own right but has no-op functionality.
283
284         * aspell.C, pspell.C: remove preprocessor guards. The files should
285         be compiled only if the necessary functionality exists.
286
287         * lyxserver.C, lyxsocket.C: disable on Windows.
288
289 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
290
291         * text.C (leftMargin): Fix the parindent use bug (1764)
292         by dirty trick
293
294 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
295
296         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
297         argument.
298
299 2005-04-25  Angus Leeming  <leeming@lyx.org>
300
301         * Bidi.[Ch]:
302         * coordcache.[Ch]:
303         * ispell.C:
304         * lyxserver.C:
305         * mover.C:
306         * pch.h:
307         include <config.h> in .C files, not .h ones.
308         add licence blurb.
309         protect headers inside preprocessor guards.
310
311 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
312
313         * FuncStatus.h (StatusCodes): document
314
315 2005-04-21  André Pönitz  <poenitz@gmx.net>
316
317         * FuncStatus.h (enabled, onoff): document
318
319 2005-04-19  Angus Leeming  <leeming@lyx.org>
320
321         * BufferView_pimpl.C (cursorToggle): no longer test whether
322         any child processes have been reaped before calling
323         handleCompletedProcesses().
324
325 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
326
327         * text3.C (dispatch): fix, finally fix, the language problem in
328         new lyxtexts, without disabling on-the-fly font changes (Helge's
329         bug report)
330
331 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
332
333         * text3.C (dispatch): set cursor on double/triple click events
334         (bug 1811)
335
336 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
337
338         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
339         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
340
341         * rowpainter.C (paintFirst): simplify the code a little bit. In
342         particular, remove the test for secnumdepth.
343         * text.C (setHeightOfRow): only allocate space for chapter number
344         when updateCounters provided an actual label, instead of looking
345         at secnumdepth directly.
346
347         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
348
349         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
350         paragraphs when secnumdepth is large enough or, for environments,
351         when they are not the first in a sequence.
352
353 2005-04-17  Angus Leeming  <leeming@lyx.org>
354
355         * buffer.C (makeLaTeXFile): replace code to manipulate a path
356         containing space and '~' characters with a call to latex_path().
357
358 2005-04-17  Angus Leeming  <leeming@lyx.org>
359
360         * converter.C (convert): protect all args of convertDefault.sh
361         script with quotes.
362
363 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
364
365         * text3.C (dispatch): change the layout to "Caption" after inserting
366         a float.
367
368 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
369
370         * text3.C (dispatch): fix language problem in newly created
371         textinsets (and main text) in non-english docs
372
373 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
374
375         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
376         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
377         * text3.C (getStatus): disable LFUN_INSET_MODIFY
378
379 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
380
381         * lyxtext.h:
382         * text.C (metrics):
383         * text2.C (getFont):
384         * rowpainter.C (getFont): Fix metrics bug introduced by inset
385         fonts fix
386
387 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
388
389         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
390         output of \item arguments without trailing text.
391
392 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
393
394         * FontIterator.C (operator*): avoid a copy of the font.
395
396 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
397
398         * rowpainter.C (getFont): fix language bug from previous fix
399
400 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
401
402         * rowpainter.C (RowPainter, getFont): fix font inside inset
403         (bugs 1766, 1809)
404
405 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
406
407         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
408         preventing inserted font, deco, delim insets jumping to start of
409         surrounding inset.
410
411 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
412
413         * lyxfunc.C (dispatch): translate message before sending it to the
414         minibuffer.
415
416 2005-03-29  Angus Leeming  <leeming@lyx.org>
417
418         * lyx_main.C (priv_exec): call os::internal_path on each file passed
419         to LyX on the command line.
420
421 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
422
423         * vc-backend.C: use QuoteName to protect file names wherever
424         necessary.
425
426 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
427
428         * buffer.[Ch]:
429         * BranchList.h: fix bugs 1844,1845: document settings don't
430         stick
431
432 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
433
434         * lyxrc.C (setDefaults, read, output, getDescription): add support
435         for tex_allows_spaces.
436
437         * exporter.C (Export): allows files in directory containing spaces
438         if tex_allows_spaces is true.
439
440         * buffer.C (makeLaTeXFile): if the document path contains spaces,
441         output it in double quotes.
442
443 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
444
445         * rowpainter.C: use default text height for drawing change tracker
446         strikeout lines.
447
448 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
449
450         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
451
452 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
453
454         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
455         directory is missing.
456
457 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
458
459         * text2.C: fixed the fix, extended to other case.
460
461 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
462
463         * text2.C: fix for cursor up/down stuck in math [bug 1792]
464
465 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
466
467         * text2.C (cursorUp): get rid of a crash
468         * text.C (x2pos): add an assert
469
470 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
471
472         * lyxfunc.C (getStatus): fix warning when assertions are disabled
473
474         * text3.C:
475         * lyxfunc.C:
476         * dociterator.C: include <boost/current_function.hpp>, which is
477         needed when assertions are disabled.
478
479 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
480
481         * text2.C: fix for stuck cursor when traversing two
482         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
483
484 2005-02-25  Andreas Vox  <avox@arcor.de>
485
486         * output_docbook.C (makeParagraph): suppress trailing newline
487         after a run of paragraphs
488
489 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
490
491         * paragraph.C: fix for confused change tracker when pasting
492         text that begins with a lineseparator. [bug 1827]
493         (setChange(0, Change::INSERTED);)
494
495         * paragraph_funcs.C: fix for lost changes on triple-paste
496         in change tracking mode [bug 1827] (par.setChange()).
497
498 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
499
500         * text2.C (updateCounters, setCounter, expandLabel): move to
501         buffer_funcs.
502
503         * buffer_funcs.C (updateCounters): turn into a free standing
504         function and add a buffer parameter. Remove dead code for tracking
505         labelstring change.
506         (setCounter): change into a free-standing function which gets a
507         dociterator as argument. Use this iterator to fix captions in a
508         simple way. When no float is found above the caption, use the
509         labelstring of the caption layout as default.
510
511         * text.C (breakParagraph, backspace):
512         * text2.C (init, setLayout, changeDepth):
513         * text3.C (dispatch):
514         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
515         updateCounters.
516
517         * dociterator.C (forwardPar): make it much faster by calling
518         forwardPos() only when really necessary.
519
520         * output_docbook.C (makeCommand): adapt to expandLabel move.
521
522         * cursor.C: remove unused variable
523
524 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
525
526         * paragraph_funcs.C: fix crash when pasting insets in change
527         tracking mode [bug 1277] (honour change type in moveItem).
528
529 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
530
531         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
532
533 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
534
535         * BufferView.C (setCursor): change to use a DocIterator.
536         (gotoLabel): use BufferView::setCursor (other part of bug 781).
537         (putSelectionAt): adapt to BufferView::setCursor change.
538
539         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
540         moved here from LyXText and rewritten to use proper cursor
541         methods. Fixes bug 1787, 616 and 835.
542
543         * BufferView_pimpl.C (restorePosition): set the cursor correctly
544         when inside an inset (part of bug 781).
545         (dispatch): adapt to change of BufferView::setCursor.
546         (getStatus, dispatch): handle LFUN_GOTOERROR,
547         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
548
549         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
550         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
551         * text3.C (gotoNextInset, gotoInset): removed.
552
553 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
554
555         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
556
557 2005-02-15  Angus Leeming  <leeming@lyx.org>
558
559         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
560         can be used meaningfully in a comparison.
561
562 2005-02-13  André Pönitz  <poenitz@gmx.net>
563
564         * bufferview_funcs.C (coordOffset): improve cursor drawing
565
566 2005-02-13  André Pönitz  <poenitz@gmx.net>
567
568         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
569         * Cursor.C (dispatch): use fixIfBroken
570         * lyxfunc.C (getStatus): use fixIfBroken
571
572 2005-02-15  Angus Leeming  <leeming@lyx.org>
573
574         * lyx_main.C (error_handler):
575         * lyxfunc.C:
576         * lyxrc.C (setDefaults):
577         s/GetEnv/getEnv/.
578         #include "environment.h".
579
580         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
581
582 2005-02-15  Angus Leeming  <leeming@lyx.org>
583
584         * lyxserver.C (startPipe): squash MSVC warning "local variable
585         'fd' used without having been initialized".
586
587 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
588
589         * BufferView_pimpl.C: revert accidental commit.
590
591 2005-02-14  André Pönitz  <poenitz@gmx.net>
592
593         * dociterator.[Ch]: new member forwardPosNoDescent(),
594         which doesn't enter nested insets.
595         * text2.C (setFont): use forwardPosNoDescent() instead
596         of ForwardPos() (fixes crash on font change).
597
598 2005-02-13  Angus Leeming  <leeming@lyx.org>
599
600         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
601         only if lyxrc.path_prefix is not empty.
602
603 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
604
605         * bufferparams.C (readGraphicsDriver): prevent crash
606
607 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
608
609         * text2.C (setCounter): check for inInset() == 0
610
611 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
612
613         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
614         but use update() to get correct screen display; use convert
615         instead of istringstream.
616         (getStatus): handle LFUN_GOTO_PARAGRAPH
617
618         * lyxfunc.C (dispatch, getStatus): do not handle
619         LFUN_GOTO_PARAGRAPH here.
620
621 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
622
623         * text3.C (dispatch): size() -> depth()
624
625         * text2.C: remove some debug output
626
627         * paragraph.C: ws changes only
628
629         * lyxfunc.C (getStatus): size() -> depth()
630
631         * dociterator.h (clear, push_back, pop_back, internalData,
632         operator[], resize, empty): new functions
633         Make StableDocIterator and operator== be friends. Don't inherit
634         from std::vector use a privat class variable slices_ instead.
635         Modify to fit.
636
637         * dociterator.C: update because of not inheriting from std::vector
638         anymore. Call explictly to slices_ instead. Use depth() instead of
639         size() and top() instead of back()
640
641         * cursor.C: chagne size() -> depth and back() -> top(). Also
642         remove some direct operator[](i) calls in favour of foo[i]
643         (getFont): remove some dead code
644
645         * bufferview_funcs.C (coordOffset): size() -> depth()
646
647         * buffer.C: ws changes only
648
649         * CutAndPaste.C (eraseSelection): back() -> top()
650
651         * BufferView_pimpl.C (selectionRequested): back() -> top()
652
653         * BufferView.C (setCursor): size() -> depth()
654
655 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
656
657         * text3.C (cursorPrevious): return true if depm changed something
658         (cursorNext): ditto
659         (dispatch): rename sl to oldTopSlice, remove moving use the new
660         NoUpdate func attrib instead. Make sure that needsUpdate is set
661         for function that have NoUpdate, but where depm might have changed
662         the buffer anyway.
663
664         * text2.C (cursorLeft): make us return true if depm changed
665         something
666         (cursorRight): ditto
667         (cursorUpParagraph): ditto
668         (curosrDownParagraph): ditto
669         (cursorUp, cursorDown): ditto, make sure to read comments in code
670         (deleteEmptyParagraphMechanism): remove an assert, also return
671         true if just a single char was deleted.
672
673         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
674         cursor that we modify, to avoid modifying an active cursor before
675         we call setCursor. This allows depm to run. Also return true if
676         depm deleted something.
677
678         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
679         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
680         cursorDownParagraph, cursorPrevious and cursorNext, return true if
681         something was changed in the buffer because of them (ie. depm run)
682
683         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
684         debug messages. Make update by default be false. Make sure that
685         the result of update is retained throught several calls down to
686         dispatch.
687
688         * LyXAction.h: add a new func_attrib: NoUpdate
689
690         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
691         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
692         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
693         and LFUN_WORDLEFT
694         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
695
696 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
697
698         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
699         bv_->owner(), bv_->buffer() by direct references to the private
700         members.
701         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
702         (getStatus): isSavedPosition() is in BufferView::Pimpl.
703         (fitCursor): center() is in BufferView::Pimpl.
704         (getStatus, trackChanges, dispatch): no need for a temporary buf
705         variable
706         (fitCursor, workAreaDispatch): use workarea().workheight()
707
708 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
709
710         * CutAndPaste.C (pasteSelectionHelper): fix a crash
711
712 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
713
714         * buffer.C: format up to 241.
715         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
716         break if pasting into ERT
717         * lyxfunc.C (getStatus): suppress mathpanel and
718         LFUN_DIALOG_SHOW_NEW_INSET in ERT
719
720 2005-02-01  Angus Leeming  <leeming@lyx.org>
721
722         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
723
724 2005-02-01  Angus Leeming  <leeming@lyx.org>
725
726         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
727         calling fs::is_directory().
728
729 2005-01-31  Angus Leeming  <leeming@lyx.org>
730
731         * lyx_main.C (priv_exec): specify explicitly the relative location
732         of the top level build directory when run in-place.
733
734 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
735
736         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
737         LyXText containing the cursor, not the top-level one.
738
739         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
740         true.
741         (insertStringAsLines): rename par to pit; use temporary variable
742         par to hold a Paragraph; do not store par.layout() in a variable,
743         since the pointer may die when breaking paragraphs; pass pars to
744         breakParagraph() instead of Buffer::paragraphs().
745
746 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
747
748         * lyxlex_pimpl.h: #include <fstream>.
749
750         * BufferView.[Ch] (getLyXText): add a const version.
751
752         * BufferView_pimpl.C: add debug aids.
753
754         * RowList_fwd.h:
755         * buffer.h:
756         * lyxrow.h:
757         * paragraph_funcs.h: add commentary explaining what the class does.
758
759
760         * coordcache.[Ch]: add lots of commentary.
761         (startUpdating, doneUpdating): debug aids.
762         (arrays, insets, parPos, getParPos): accessors to private data.
763
764         * cursor_slice.[Ch] (text): add a const version.
765         * dociterator.[Ch] (text, innerText): add const versions.
766
767         * lyxtext.h (breakParagraph): change the keep_layout arg to a
768         bool.
769
770         * paragraph.C (getRow, pos2ros): add asserts.
771
772         * paragraph.h: add commentary. Lots of.
773
774         * paragraph.[Ch] (metrucs, draw): removed.
775
776         * cursor.C:
777         * rowpainter.[Ch]: const-correct changes.
778
779         * text.C: various obvious clean-ups. Removal of ancient cruft.
780         Bug fixes, even.
781
782 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
783
784         * vc-backend.C (find_file): rewrite to use boost.filesystem
785         (scanMaster): ditto
786
787         * main.C (main): set default name check for boost.filesystem to
788         no check
789
790         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
791         (open): ditto
792         (doImport): ditto
793         (actOnUpdatedPrefs): ditto
794
795         * lyx_main.C (init): rewrite to use boost.filesystem
796         (queryUserLyXDir): ditto
797
798         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
799         (getContentsOfAsciiFile): ditto
800
801         * lastfiles.C (readFile): rewrite to use boost.filesystem
802
803         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
804
805         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
806         (loadLyXFile): ditto
807
808         * buffer.C (Buffer): adjust for destroydir
809         (getLogName): rewrite to use boost.filesystem
810         (setFileName): ditto
811         (save): use fs::copy_file (from fs_extras)
812
813         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
814
815         * LaTeX.C (run): rewrite to use boost.filesystem
816         (scanAuxFiles): ditto
817         (handleFoundFile): ditto
818
819 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
820
821         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
822
823         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
824
825 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
826
827         * lyxlayout.[Ch]: change some vars from float to double
828
829         * buffer.C (readFile): make a local var const
830
831         * Several files: use convert<> instead of atoi,strToXXX and friends
832
833 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
834
835         * LaTeXFeatures.[Ch]: Add a static list packages_ that
836         holds the contents of packages.lst. New functions getAvailable
837         and isAvailable to parse and check that list, resp.
838
839         * LyXAction.C:
840         * lfuns.h:
841         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
842
843         * bufferparams.[Ch]: new param output_changes.
844
845         * Buffer.C: increase file format to 240.
846         Use output_changes and isVailable.
847
848         * changes.[Ch]:
849         * paragraph.C:
850         * paragraph_pimpl.C: Use output_changes and isVailable.
851
852 2005-01-23  Angus Leeming  <leeming@lyx.org>
853
854         * output_latex.C: #include "insetbibitem.h", rather than
855         forward declare function bibitemWidest.
856
857 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
858
859         * lyx_main.C (init): make it compile on the Mac.
860
861 2005-01-20  Angus Leeming  <leeming@lyx.org>
862
863         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
864         (setLyXMisc): (char string literal) != (char string literal) is
865         performing a comparison on the addresses. Convert one operand
866         explicitly to string to guarantee expected behaviour.
867         From MSVC warning.
868
869 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
870
871         * buffer.C:
872         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
873
874         * output_plaintext.C: remove unneeded #include gzstream.h.
875
876 2005-01-20  Angus Leeming  <leeming@lyx.org>
877
878         * SpellBase.h: rename some of the elements of the Result enum.
879
880         * aspell_local.h:
881         * ispell.h:
882         * pspell.h:
883         * aspell.C (check):
884         * ispell.C (check):
885         * pspell.C (check): ditto
886
887 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
888
889         * buffer.C: add #include <fstream>.
890
891         * lyx_main.C (init): Compile fix.
892
893         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
894
895 2005-01-20  Angus Leeming  <leeming@lyx.org>
896
897         * mover.h: change commentary to reflect the changed meaning of
898         the $$s placeholder.
899
900 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
901
902         * output_linuxdoc.C (linuxdocParagraphs): silence warning
903
904         * lyxfind.C (MatchString::operator()): remove bogus semicolon
905
906 2005-01-20  Angus Leeming  <leeming@lyx.org>
907
908         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
909         printing diagnostic data by not dereferecing an iterator past the
910         end.
911
912 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
913
914         * buffer.C (readHeader): use "&&" rather than "and".
915
916         * lyxserver.h (inPipeName, outPipeName): make these const.
917
918 2005-01-19  Angus Leeming  <leeming@lyx.org>
919
920         * lyx_main.C (error_handler, init): protect SIGHUP with
921         #ifdef SIGHUP guards.
922
923 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
924
925         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
926
927 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
928
929         * text.C (setHeightOfRow): add a margin at the top and bottom of
930         the document (bug 1761)
931
932 2005-01-17  Angus Leeming  <leeming@lyx.org>
933
934         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
935         with "python ". Workaround for a brain-dead Windows.
936
937 2005-01-16  Angus Leeming  <leeming@lyx.org>
938
939         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
940         for MacOSX and Windows to use prependEnvPath.
941         Strip out the hard-coded block to add elements to the PATH for
942         MacOSX and replace it with a call to prependEnvPath using the
943         contents of LyXRC::path_prefix.
944         (queryUserLyXDir): strip out the code to run reconfigure, instead
945         returning a boolean indicating the necessity to do so.
946         (reconfigureUserLyXDir): contains the code to reconfigure the
947         user support directory. Is now called after the various LyXRC data
948         files have been read.
949
950         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
951
952 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
953
954         * converter.[Ch] (convert): take a new parameter try_default. Use
955         a default converter (imagemagick) if try_default is true.
956
957 2005-01-13  Angus Leeming  <leeming@lyx.org>
958
959         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
960         os::cygwin_path_fix.
961         (write): output LyXRC::cygwin_path_fix as necessary.
962
963 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
964
965         * lyxrc.h:
966         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
967
968 2005-01-12  Angus Leeming  <leeming@lyx.org>
969
970         * lyx_main.C (init): set the PATH variable to include the
971         directory containing the LyX binary when running on Mac or Windows.
972
973 2005-01-12  Angus Leeming  <leeming@lyx.org>
974
975         * lyx_main.C (init): remove cruft that purports to set the locale
976         dir. It doesn't and is not needed anyway.
977
978 2005-01-10  Angus Leeming  <leeming@lyx.org>
979
980         * Makefile.am: remove the lyx_main.C special casing.
981
982         * BufferView_pimpl.C:
983         * bufferlist.C:
984         * exporter.C:
985         * lyx_cb.C:
986         * lyx_main.C:
987         * lyxfunc.C:
988         * messages.C: use support/package.h to provide the paths to the
989         various directories used by LyX.
990
991 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
992
993         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
994         layout if pasting into an empty paragraph)
995
996 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
997
998         * tex-accent.C: add <string>
999
1000 2005-01-06  José Matos  <jamatos@lyx.org>
1001
1002         * ParagraphParameters.C (write): put every parameter in its own line.
1003         * paragraph.C (write): reduce number of consecutive empty lines exported.
1004         * buffer.C (LYX_FORMAT): increase file format to 239.
1005
1006 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1007
1008         * everywhere: change support/tostr.h -> support/convert.h
1009
1010         * tabular.C: make all write_attributes templates, tostr -> convert
1011
1012         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1013         (emptyTag): and -> &&, and fix type for ret from getChar
1014         (getFirstWord): fix type for ret from getChar
1015         (onlyText): and -> &&
1016         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1017         getChar
1018
1019         * toc.C (goTo, action):
1020         * text3.C (dispatch):
1021         * text.C (currentState):
1022         * tex-accent.C (DoAccent):
1023         * sgml.C:
1024         * lyxrc.C:
1025         * lyxfunc.C (menuNew):
1026         * lyxfinc.C (replace):
1027         * counters.C (laberItem):
1028         * bufferview_funcs.C (font2string):
1029         * bufferparams.C (writeFile):
1030         * buffer.C (readFile):
1031         * Spacing.C (set):
1032         * MenuBackend.C: tostr -> convert
1033
1034         * LaTeX.C (runMessage): fix format
1035         (scanAuxFiles): tostr -> convert
1036
1037         * BufferView_pimpl.C (savePosition): fix format
1038         (restorePosition): ditto
1039         (dispatch): ditto
1040
1041 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1042
1043         * Spacing.[Ch]: New method getValueAsString().
1044
1045         * Spacing.[Ch]:
1046         * bufferparams.C:
1047         * ParagraphParameters.C:
1048         * lyxlayout.C:
1049         * text.C:
1050         * text3.C: store/read spacing value as string.
1051
1052         * rowpainter.C: change float value (spacing_val) to double.
1053
1054         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1055         broken custom document spacing).
1056
1057 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1058
1059         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1060         namespace, also more use of temp references and const
1061
1062         * cursor.[Ch] (getStatus): move to lyxfunc.C
1063
1064         * bufferparams.C: reformat slightly
1065
1066         * bufferview_funcs.C (font2string): constify arg
1067
1068         * changes.C:
1069         * converter.C:
1070         * counters.C:
1071         * bufferlist.C:
1072         * buffer_funcs.C: (many funcs): constify arg on function
1073         definitions, also make more local vars const, also add ASSERTS on
1074         pointer args.
1075
1076         * buffer.C (LYX_FORMAT): put const in correct place
1077         (many funcs): constify arg on function definitions, also make
1078         more local vars const
1079
1080         * aspell_local.h: remove "struct" from typdef setup
1081
1082         * aspell.C (check): make word_ok const
1083         (nextMiss): simplify slightly
1084         (error): ditto
1085
1086 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1087
1088         * lyxrc.[Ch]: store all float values as strings.
1089         use int (not float) for lyxrc.dpi.
1090
1091 2005-01-04  Angus Leeming  <leeming@lyx.org>
1092
1093         * lyx_cb.C (Reconfigure):
1094         * lyx_main.C (queryUserLyXDir):
1095         to run the <system_lyxdir>/configure correctly on Windows, prefix
1096         the path to the script with "sh " when generating the string that
1097         is passed to system().
1098
1099 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1100
1101         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1102
1103 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1104
1105         * lyxlength.C (asLatexString): get rid of setprecision
1106
1107 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1108
1109         * text2.C (setLayout): remove unused variable endpit.
1110         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1111
1112         * paragraph.C (onlyText): remove unused variable style.
1113
1114         * cursor.C (bruteFind): remove unused variables beg and end.
1115
1116         * Makefile.am (dist_noinset_DATA): not needed anymore
1117
1118         * cheaders/*: remove.
1119
1120 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1121
1122         * text3.C: fix LFUN_MATH_MODE.
1123
1124 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1125
1126         * buffer_funcs.C (countWords): new function. Counts words between
1127         two iterators.
1128
1129         * BufferView_pimpl.C (getStatus, dispatch): handle
1130         LFUN_WORDS_COUNT.
1131
1132         * LyXAction.C (init):
1133         * lfuns.h: add LFUN_WORDS_COUNT.
1134
1135 2004-12-19  Angus Leeming  <leeming@lyx.org>
1136
1137         * buffer.C (save): s/slashify_path/internal_path/.
1138
1139 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1140
1141         * lyxfind.C (findChange): do not search for end of pars, because
1142         the change tracker cannot handle this (fixes bug 1719).
1143
1144 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1145
1146         * paragraph.[Ch] (autoBreakRows): remove
1147
1148         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1149
1150         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1151         avoid using the paragraph one
1152
1153         * text2.C (LyXText, insertStringAsLines): adjust
1154
1155 2004-12-16  Angus Leeming  <leeming@lyx.org>
1156
1157         * bufferlist.C:
1158         * lyx_main.C:
1159         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1160
1161 2004-12-14  Angus Leeming  <leeming@lyx.org>
1162
1163         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1164
1165         * bufferlist.C (emergencyWrite):
1166         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1167         GetEnvPath("HOME").
1168
1169 2004-12-14  Angus Leeming  <leeming@lyx.org>
1170
1171         * main.C: (main): no longer pass pointers to os::init.
1172
1173 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1174
1175         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1176         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1177
1178 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1179
1180         * lyxfunc.C:
1181         * text3.C: remove selection_possible global flag
1182
1183 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1184
1185         * text2.C (getSelectionSpan): remove
1186         (changeDepth, changeDepthAllowed): adjust
1187
1188 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1189
1190         * Makefile.am (BOOST_LIBS): use boost variables
1191
1192 2004-12-03  José Matos  <jamatos@lyx.org>
1193
1194         * buffer.C: format up to 238.
1195
1196 2004-12-03  José Matos  <jamatos@lyx.org>
1197
1198         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1199
1200 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
1201
1202         * cursor.C (goUpDown): remove call to idxUpDown2
1203
1204 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1205
1206         * tabular.[Ch]: use size_t-like types for cell, row and column
1207         indices
1208
1209 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1210
1211         * lyxfunc.C (getStatus): do not lose previous information when
1212         calling BufferView::getStatus; do not set a default "Command
1213         disabled" message at the beginning, but just before returning.
1214
1215 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1216
1217         * cursor.h (getStatus): add better comment from src/cursor.C
1218
1219 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1220
1221         * text3.C (getStatus): return false when the lfun is not handled
1222
1223 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1224
1225         * broken_headers.h: remove
1226
1227         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1228
1229 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1230
1231         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1232         offset_ref accessors
1233
1234         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1235         top_y_, merge fitcursor with update
1236         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1237         coord scheme
1238         (metrics): introduce
1239         (workAreaDispatch): adapt to new coord scheme
1240         (redoCurrentBuffer): remove
1241
1242         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1243
1244         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1245         CurStatus enum.
1246
1247         * coordcache.[Ch]: add paragraph cache and helpers
1248
1249         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1250         adjust everywhere
1251
1252         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1253         (targetX, setTargetX): introduce
1254
1255         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1256         baseline -> ascent, as the rest of lyx
1257
1258         * lyxtext.h: remove redoParagraphs, updateParPositions,
1259         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1260         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1261         have ascent/descent (ascent is ascent of first par)
1262
1263         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1264         step of BufferView
1265
1266         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1267
1268         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1269
1270         * pariterator.C: fix infinite loop introduced in par->pit renaming
1271
1272         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1273         in insets and LyXText, draw two off-screen paragraphs using
1274         NullPainter, and adapt to new coord scheme
1275
1276         * text.C:
1277         * text2.C:
1278         * text3.C: adapt lfun handlers to the new coord scheme, which
1279         means: there's only guaranteed coord information for onscreen pars
1280         plus one above and one below. This implies that one can do search
1281         from y coordinates in the range [-1,workHeight]
1282
1283 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1284
1285         * rename a lot of InsetOld to InsetBase
1286
1287 2004-11-25  Angus Leeming  <leeming@lyx.org>
1288
1289         * BufferView_pimpl.C:
1290         * lyx_cb.C:
1291         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1292
1293 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1294
1295         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1296         call BufferView::getStatus if LCursor::getStatus did nothing
1297         (setStatusMessage, getStatusMessage): removed.
1298
1299         * FuncStatus.C (message): new methods. Used to provide an error
1300         message indicating why a command is disabled.
1301         (clear, |=, FuncStatus): update for message.
1302
1303 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1304
1305         * lyxfunc.C (dispatch): always call sendDispatchMessage
1306
1307 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1308
1309         * BufferView.C:
1310         * BufferView_pimpl.C:
1311         * CutAndPaste.C:
1312         * FontIterator.C:
1313         * buffer.C:
1314         * cursor.C:
1315         * cursor_slice.[Ch]:
1316         * dociterator.[Ch]:
1317         * lyxfind.C:
1318         * paragraph_funcs.C:
1319         * pariterator.C:
1320         * rowpainter.C:
1321         * text.C:
1322         * text2.C:
1323         * text3.C:
1324         * undo.C: par->pit renaming
1325
1326 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1327
1328         * tabular.C (cellstruct): use initialization, store a shared_ptr
1329         to insettext instead of the insettext directly, adjust to fit.
1330         (operator=):  new function
1331         (swap): new function
1332         (rowstruct): use initialization
1333         (columnstruct): use initialization
1334         (ltType): use initialization
1335
1336
1337         * lyxlength.h (swap): new function
1338
1339         * LColor.[Ch] (operator=): use the common semantics
1340
1341 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1342
1343         * lyxfind.C (findNextChange): update the bufferview after setting
1344         the selection.
1345
1346 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1347
1348         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1349         number of InsetOptArgs has already been inserted.
1350
1351         * output_latex.C (latexOptArgInsets): new method. This outputs all
1352         the optarg insets, up to the limit defined in the layout file.
1353         (optArgInset): removed
1354         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1355
1356 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1357
1358         * paragraph.C (isLetter): remove special spellchecker-related
1359         code; return true also for digits
1360         (isWord, isKomma): remove
1361
1362         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1363         * lyxfind.C (MatchString()): use isLetter instead of isWord
1364
1365 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1366
1367         * pariterator.h (operatir=): comment out un-implemented member
1368         function.
1369
1370         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1371         static cast.
1372
1373 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1374
1375         * lyxfont.h: include LColor.h to satisfy concept checks.
1376
1377 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1378
1379         * pariterator.h: add typdefs for value_type, difference_type,
1380         pointer and reference to satisfy concept checks. Also add default
1381         constructor for same reason.
1382
1383         * pariterator.C (operator++): add post-increment operator to
1384         satisfy concept checks.
1385
1386         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1387         checks.
1388
1389         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1390
1391         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1392         checks. Also rename base_type to BaseType to follow naming
1393         standard better.
1394
1395         * FloatList.h: include Floating.h to satisfy concept checks.
1396
1397 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1398
1399         * lyxfunc.C (getStatus): when the origin of the request is menu or
1400         toolbar, and the LyXView does not have focus, do as if there was
1401         no buffer (bug 1720)
1402
1403         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1404         FuncRequest to individual entries of LFUN_SEQUENCE
1405
1406 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1407
1408         * output_latex.C (TeXOnePar): override runparams.moving_arg
1409         according to the needprotect value of the current paragraph (bug
1410         1739)
1411
1412         * paragraph.C (simpleTeXOnePar): no need to override
1413         runparams.moving_args here
1414
1415 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1416
1417         * vspace.C: fix off-by-one-error, related to fix #1682
1418
1419 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1420
1421         * lengthcommon.C: a more general fix for bug 1682
1422
1423 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1424
1425         * text.C (backspace): fix crash
1426
1427 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1428
1429         * format.[Ch] (getFormatFromFile): new method
1430         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1431
1432 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1433
1434         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1435
1436 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1437
1438         * lyxfunc.C (dispatch): remove the verbose argument
1439         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1440         instead
1441
1442         * kbmap.C (defkey): set the origin of func to KEYBOARD
1443
1444         * MenuBackend.C (MenuItem):
1445         * ToolbarBackend.C (add): set the origin of func to UI
1446
1447         * funcrequest.[Ch]: add origin member, which indicates which part
1448         of LyX requests an action
1449
1450 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1451
1452         * converter.C (move): don't lie in the error message
1453         * converter.h (isReachable, move): document
1454
1455 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1456
1457         * buffer.C: remove unused using lyx::support::atoi
1458         * paragraph_funcs.C: ditto
1459
1460 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1461
1462         * bufferlist.C (exists): use bind and equal_to instead of
1463         compare_memfun
1464         (getBuffer): ditto
1465         * lyxtextclasslist.C (NumberOfClass): ditto
1466
1467         * cursor.C (insert): use for_each instead of explicit for loop
1468
1469         * bufferlist.C (getFileNames): use std::transform and
1470         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1471
1472         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1473         for loop
1474
1475         * buffer.C (changeLanguage): use for_each instead of explicit for
1476         loop
1477         (hasParWithID): implement using getParFromID
1478
1479         * LaTeXFeatures.C: ws change only
1480
1481         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1482         to cleanup a bit.
1483
1484         * BufferView_pimpl.C (trackChanges): use for_each instead of
1485         expilicit for loop
1486
1487 2004-11-04  André Pönitz  <poenitz@gmx.net>
1488
1489         * undo.h:
1490         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1491
1492         * dociterator.C (asDocIterator): use hard assert again.
1493
1494 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1495
1496         * lyxlength.C (asLatexString): rewrite so that it does not use
1497         snprintf anymore
1498
1499 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1500
1501         * text3.C (specialChar, dispatch): make sure cursor moves to the
1502         right after inserting an inset
1503
1504 2004-11-02  José Matos  <jamatos@lyx.org>
1505
1506         * output_docbook.C (docbook):
1507         * paragraph.C (getID):
1508         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1509         garantee that the output is always legal.
1510
1511         * tabular.C (docbook):
1512         * outputprams.[Ch]: remove mixed contents.
1513
1514 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1515
1516         * text2.C (setCounter): prevent endless loop
1517
1518 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1519
1520         * exporter.C (copyFile): use the mover instead of support::copy()
1521         * exporter.C (Export): pass format and latex name to copyFile()
1522         * exporter.h (addExternalFile): document
1523         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1524
1525 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1526
1527         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1528
1529 2004-10-30  José Matos  <jamatos@lyx.org>
1530
1531         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1532         text and no inset or font change. This allows to use CDATA
1533         sections just for the whole paragraph.
1534
1535 2004-10-30  José Matos  <jamatos@lyx.org>
1536
1537         * paragraph.C (getFirstWord): remove unused variable.
1538
1539 2004-10-30  José Matos  <jamatos@lyx.org>
1540
1541         * paragraph.C (getFirstWord): the content should always be escaped
1542         there.
1543         (simpleDocBookOnePar):
1544         * output_docbook.C (makeEnvironment): replace reference to CDATA
1545         to style pass_thru.
1546
1547 2004-10-30  José Matos  <jamatos@lyx.org>
1548
1549         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1550
1551 2004-10-30  José Matos  <jamatos@lyx.org>
1552
1553         * output_docbook.C (makeParagraphs):
1554         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1555         standard paragraph has only a given type of content drop the wrapper.
1556
1557 2004-10-29  José Matos  <jamatos@lyx.org>
1558
1559         * output_docbook.C (makeEnvironment):
1560         * sgml.C (openTag):
1561         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1562
1563 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1564
1565         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1566         (cleanID): sanitize any id.
1567
1568 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1569
1570         * buffer.C, lyxlex_pimpl.C:
1571         * lyxlex_pimpl.C (setFile):
1572         s/getExtFromContents/getFormatFromContents/
1573
1574 2004-10-28  José Matos  <jamatos@lyx.org>
1575
1576         * output_docbook.C (makeEnvironment): move id to broadest possible
1577         scope.
1578
1579         * sgml.C (openTag): apply substitution of <> for all attributes.
1580
1581 2004-10-28  José Matos  <jamatos@lyx.org>
1582
1583         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1584         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1585         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1586
1587         * sgml.[Ch]: new version for open and closeTag for paragraph and
1588         for strings. Now they handle the ids of paragraphs.
1589
1590 2004-10-26  Angus Leeming  <leeming@lyx.org>
1591
1592         * Makefile.am: add mover.[Ch].
1593
1594         * converter.C (convert, move): use the new Movers to move external
1595         files to the temp directory.
1596
1597         * lyx_main.C (init): ensure that the global system_movers data
1598         is initialised.
1599
1600         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1601         preferences file.
1602
1603         * mover.[Ch]: new files, defining a Mover as a utility to move an
1604         external file between directories and, if necessary, manipulate this
1605         file using a helper script.
1606
1607 2004-10-25  José Matos  <jamatos@lyx.org>
1608
1609         * output_docbook.C (makeCommand): merge two if's that tested the
1610         same condition.
1611
1612 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1613
1614         * sgml.C (escapeString): fix warning in a better way
1615
1616 2004-10-25  José Matos  <jamatos@lyx.org>
1617
1618         * sgml.C (escapeString): import the require boosts header file for
1619         tie, and avoid a signed unsigned comparison.
1620
1621 2004-10-25  José Matos  <jamatos@lyx.org>
1622
1623         * sgml.h: add #include <string>
1624
1625 2004-10-25  José Matos  <jamatos@lyx.org>
1626
1627         * sgml.[Ch] (escapeString): new function to escape all the string.
1628
1629 2004-10-24  José Matos  <jamatos@lyx.org>
1630
1631         * paragraph.[Ch] (getFirstWord): new function to get the first
1632         word. Useful for description.
1633         (simpleDocBookOnePar): remove depth argument, add another that
1634         says where to start the paragraph.
1635
1636         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1637         use the new functions to fix cleanly the support for descriptions.
1638
1639 2004-10-24  José Matos  <jamatos@lyx.org>
1640
1641         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1642         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1643         * output_linuxdoc.C (linuxdocParagraphs):
1644         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1645         add buffer as argument.
1646
1647 2004-10-24  José Matos  <jamatos@lyx.org>
1648
1649         * output_docbook.C (makeEnvironment, searchEnvironment): place
1650         CDATA inside paragraphs and fix scope for listitems.
1651
1652 2004-10-24  José Matos  <jamatos@lyx.org>
1653
1654         * output_docbook.C: remove using statement for stack.
1655
1656 2004-10-23  José Matos  <jamatos@lyx.org>
1657
1658         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1659         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1660         docbook. The new scheme is recursive and makes use of iterators, the
1661         same as latex export works.
1662         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1663         directly with the paragraph contents. This code was moved up to
1664         output_docbook.C (docbookParagraphs).
1665         * sgml.C (openTag, closeTag): removed unneeded newlines.
1666         (closeEnvTags) removed.
1667
1668 2004-10-23  André Pönitz  <poenitz@gmx.net>
1669
1670         * undo.C (textUndoOrRedo):
1671         * dociterator.C (asDocIterator): work around crash
1672
1673         * cursor.C (getStatus): replace ASSERT by more verbose error message
1674           and manual correction of the problem. Should increase stability
1675           while providing more sensible information.
1676
1677 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1678
1679         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1680
1681         * bufferlist.C (previous, next): new methods
1682
1683         * lfuns.h:
1684         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1685
1686 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1687
1688         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1689         entities to preamble.
1690
1691 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1692
1693         * messages.C (Pimpl): strip off translation context information
1694
1695 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1696
1697         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1698         the cursor is correct (bug 1694)
1699
1700 2004-10-13  José Matos  <jamatos@lyx.org>
1701
1702         * output_docbook.C (docbookParagraphs): fix closing tags in the
1703         end of the document.
1704
1705 2004-10-09  José Matos  <jamatos@lyx.org>
1706
1707         * buffer.C: format up to 237.
1708         * bufferparams.C (write): use tostr to convert booleans to strings.
1709
1710 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1711
1712         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1713
1714 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1715
1716         * LaTeX.C: implement use of babel language in xindy.
1717
1718 2004-10-05  José Matos  <jamatos@lyx.org>
1719
1720         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1721         Add new translators to help reading and writing the lyx file.
1722
1723 2004-10-05  José Matos  <jamatos@lyx.org>
1724
1725         * ParagraphParameters.C (read):
1726         * text.C (readParToken): replace nexToken by more appropriate lex
1727         methods.
1728
1729 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1730
1731         * LaTeX.C (runMakeIndex):
1732         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1733         (usually 'makeindex') configurable.
1734
1735         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1736         with a variable rather than with a number.
1737
1738 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1739
1740         * output_latex.C (TeXOnePar): make sure font setting is the first
1741         thing that gets output (and the last at the end). Should fix bug
1742         1404.
1743
1744 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1745
1746         * pch.h: use proper signal include
1747
1748         * LaTeX.h: Use preferred calling of Boost.Signal
1749         * buffer.h: ditto
1750
1751 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1752
1753         * pch.h: dont include <boost/function/function0.hpp>
1754
1755         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1756
1757         * paragraph_pimpl.h: remove usage of ShareContainer
1758
1759         * paragraph_pimpl.C: remove initialization of ShareContainer.
1760
1761 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1762
1763         Fix bug #1666
1764
1765         * BufferView.C (putSelectionAt): change the semantics when
1766         backwards == true: now, this just swaps cursor and anchor wrt the
1767         forward case
1768
1769         * BufferView.h (putSelectionAt): add some documentation
1770
1771         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1772         make sure backwardChar is done at least once (to avoid getting
1773         stuck)
1774         (findNextChange): use putSelectionAt in the forward direction
1775         (operator()): use Paragraph::isWord
1776
1777 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1778
1779         * Spacing.C (set): c_str fix
1780
1781 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1782
1783         * lyx_cb.C (Reconfigure): quote the name of configure script in
1784         case it contains spaces
1785
1786 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1787
1788         * client: new dir
1789
1790         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1791         (BOOST_LIBS): use top_buildir when looking for the file
1792
1793 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1794
1795         * pch.h: do not use include boost/format.hpp, multiple symbols
1796                 will result (gcc bug)
1797
1798
1799 2004-08-23  José Matos  <jamatos@lyx.org>
1800
1801         * bufferparams.C (readToken): fix reading of the author field.
1802
1803 2004-08-20  José Matos  <jamatos@lyx.org>
1804
1805         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1806
1807 2004-08-20  José Matos  <jamatos@lyx.org>
1808
1809         * lyxlex.[Ch] (findToken): remove function.
1810
1811         * ParagraphParameters.C (findToken):
1812         * bufferparams.C (findToken): replace call for previous function
1813         with local copy. This local function has one more argument, the
1814         read string argument.
1815
1816 2004-08-16  José Matos  <jamatos@lyx.org>
1817
1818         * ParagraphParameters.C (write):
1819         * Spacing.C (writeFile):
1820         * bufferparams.C (writeLaTeX):
1821         * lyx_cb.C (Reconfigure):
1822         * paragraph.C (write):
1823         * tabular.C (write): remove unnecessary space at end of line.
1824
1825
1826 2004-08-16  José Matos  <jamatos@lyx.org>
1827
1828         * text.C (readParagraph): remove debug message.
1829
1830 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1831
1832         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1833         crash
1834
1835         * output_plaintext.C (asciiParagraph): set depth correctly
1836
1837         * outputparams.h: add member depth
1838
1839         * paragraph_funcs.C (ownerPar): remove.
1840
1841         * text2.C (setCounter): remove first_pit; comment out some
1842         non-working code that uses ownerPar
1843
1844         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1845         uses ownerPar
1846
1847 2004-08-16  José Matos  <jamatos@lyx.org>
1848
1849         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1850         For the same level of importance use the same chanel to report problems.
1851         (read): add code to deal with \begin_body and \end_body.
1852
1853
1854 2004-08-15  José Matos  <jamatos@lyx.org>
1855
1856         * lyxlex.C (getString): fix comment, buffer::readBody is now
1857         buffer:readDocument.
1858
1859         * tex-strings.C (string_papersize): Default -> default,
1860         Custom -> custom, for consistency with other options.
1861
1862 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1863
1864         * pch.h: new file
1865
1866         * Makefile.am: support pch
1867
1868 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1869
1870         * text.C (readParToken): remove the static LyXFont variable and
1871         pass it as a parameter instead. This fixes a nasty bug where an
1872         inset will be inserted with a bad font in some situations
1873         (readParagraph): adapt
1874
1875         * text2.C (setCounter): reduce number of calls to pars_[pit]
1876
1877         * text.C (singleWidth): add an assert, fix a test
1878
1879         * rowpainter.C (paintText): reduce number of calls to singleWidth
1880
1881         * paragraph.C (isHfill):
1882         (isNewline): ws only
1883
1884 2004-08-14  André Pönitz  <poenitz@gmx.net>
1885
1886         * text.C:
1887         * text2.C:
1888         * rowpainter.C:
1889         * lyxtext.h (several functions): use a Paragraph & argument
1890         instead of par_type
1891
1892 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1893
1894         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1895
1896         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1897
1898         * text.C (singleWidth): remove useless test
1899
1900 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1901
1902         * tabular.h: remove bogus comments
1903
1904         * tabular.C (getDescentOfRow):
1905         (isPartOfMultiColumn): add assertions
1906
1907         * lyxlength.C (inPixels): remove #warning
1908
1909 2004-08-14  André Pönitz  <poenitz@gmx.net>
1910
1911         * paragraph.h: inline getChar()
1912
1913         * BufferView.h: remove unused declarations
1914
1915 2004-08-14  José Matos  <jamatos@lyx.org>
1916
1917         * Buffer.[Ch] (readDocument): new name for old readBody.
1918         * Buffer.C: new file format, new keywords: \begin_document,
1919         \begin_header, \begin_body, \end_body.
1920
1921         * bufferparams.C (readToken): replace all calls to lex.nextToken
1922         by lex.next(). Do the same to eatLine except where really needed.
1923
1924         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1925         line when writing to the lyx file.
1926
1927         * output_plaintext.C (asciiParagraph): fix Bibliography style
1928         handling.
1929
1930         * text.C (read): fix end of file handling.
1931
1932 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1933
1934         * MenuBackend.C (Menu::operator[]): new method to access
1935         individual menu items
1936         (Menu::hasFunc): new method. search for an item that corresponds
1937         to a given func
1938         (MenuBackend::specialMenu): new method
1939         (MenuBackend::expand): if a special menu has been set, skip
1940         entries whose func() appears in this menu
1941
1942 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1943
1944         * text3.C: use Debug::DEBUG a bit more
1945
1946         * text.C (leftMargin): try to simplify a tiny bit change var x to
1947         l_margin. Dont output the wide margins always.
1948         (rightMargin): no margin in inner texts
1949
1950         * rowpainter.h (nestMargin): new func
1951         (changebarMargin): new func
1952         (rightMargin): new func
1953
1954         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1955         now functions.
1956         (paintLast): ditto
1957
1958         * factory.C (createInset): modify setDrawFrame
1959
1960         * cursor.C: use Debug::DEBUG a bit more
1961
1962 2004-08-14  André Pönitz  <poenitz@gmx.net>
1963
1964         * coordcache.[Ch]:
1965         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1966         cache for all insets in (at least partially) visible (top-level)
1967         paragraphs.
1968
1969         * BufferView_pimpl.C: reset external coord cache before every update.
1970         This means the coord cache only contains valid entries.
1971
1972 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1973
1974         bug 1096
1975         * BufferView_pimpl.C (getInsetByCode): move function out of class
1976         and change in to a template in anon namespace. Also fix to do what
1977         suits us better.
1978
1979 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1980
1981         bug 1305
1982         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1983         of char
1984         (breakParagraph): rename par to par_offset and use a local
1985         reference. Add code to keep the language over a rebreak.
1986         (breakParagraphConservative): rename par to par_offset, use a
1987         local reference
1988         (mergeParagraph): ditto
1989         (outerHook): ditto
1990         (isFirstInSequence): ditto
1991         (outerFont): rename pit to par_offset
1992
1993         * paragraph.C: ws change
1994         * paragraph.h: ditto
1995         * text3.C: ditto
1996         * text.C: ditto
1997
1998 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1999
2000         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2001         treatment for ']'
2002
2003         * paragraph.C (simpleTeXOnePar): when we have a \item with
2004         optional argument, enclose the argument with curly brackets (in
2005         case it contains a closing square bracket)
2006
2007         * text2.C (editXY):
2008         * text2.C (editXY):
2009         * text3.C (checkInsetHit): constify
2010
2011 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2012
2013         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2014         documents (bug 1629)
2015
2016 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2017
2018         Fix toggling of collapsable insets with the mouse (bug 1558)
2019
2020         * lyxfunc.C (dispatch): adapt to LCursor changes
2021
2022         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2023         make sure that dispatch is not invoked twice
2024
2025         * cursor.C (needsUpdate): new method
2026         (dispatch): return void
2027         (result): new method, to access the DispatchResult of the cursor.
2028
2029 2004-08-13  José Matos  <jamatos@lyx.org>
2030
2031         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2032
2033 2004-08-13  André Pönitz  <poenitz@gmx.net>
2034
2035         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2036
2037         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2038           multiple cells
2039
2040 2004-08-12  André Pönitz  <poenitz@gmx.net>
2041
2042         * text3.C: take out the 'cursor right' form insertInset and only
2043         do it in those places when it is really needed. Fixes crash on
2044         C-m...
2045
2046 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2047
2048         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2049
2050         * BufferView_pimpl.C (setBuffer): initialize the current font of
2051         the underlying LyXText
2052
2053 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2054
2055         * kbsequence.C (print): use UI native formatting for menu
2056         shortcuts
2057
2058         * text.C (insertChar): call Paragraph::insertChar with a font
2059         argument (cosmetic)
2060
2061         * paragraph.C (insertInset, insertChar): the version that takes a
2062         LyXFont argument is now a wrapper around the other one (the
2063         opposite used to be true).
2064
2065         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2066         argument. Font setting is done in Paragraph now.
2067
2068 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2069
2070         * outputparams.h: add new members intitle and lang.
2071
2072         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2073         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2074
2075 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2076
2077         * text3.C (dispatch): remove special handling of button 4 and 5,
2078         it is now taken care of in the frontend code.
2079
2080 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2081
2082         * Spacing.h: add <string> (STLPort compile fix)
2083
2084 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2085
2086         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2087
2088 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
2089
2090         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2091         to bool.
2092
2093         * converter.C (showMessage): inherit from unary_function, make
2094         operator() const.
2095
2096         * buffer.C (writeFile): initialize retval
2097
2098         * InsetList.h: rename private variable list to list_
2099         * InsetList.[Ch]: adjust accordingly.
2100
2101 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
2102
2103         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2104         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2105         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2106         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2107         * ParagraphParameters.C, LaTeXFeatures.C: replace
2108         "support/std_sstream.h" with <sstream>
2109
2110 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
2111
2112         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2113         * lyxsocket.C (LyXServerSocket): ditto
2114         (serverCallback): ditto
2115
2116 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2117
2118         * LaTeXFeatures.C: check release date when loading jurabib.
2119
2120 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2121
2122         * lyxserver.C (startPipe): call register_socket_callback
2123         (endPipe): call unregister_socket_callback
2124
2125 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
2126
2127         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2128         (LyXServerSocket): register the callback
2129         (LyXServerSocket): unregister the callback
2130         (fd): delete function
2131         (serverCallback): improve error checking and setup the callbacks.
2132         (dataCallback): change arg to fd.
2133         (writeln): new func (copied fro the client socket) used for server
2134         write to client.
2135         (LyXDataSocket): simplify
2136         (~LyXDataSocket): close ann unregiser callback
2137         (server): delete function
2138         (fd): delete function
2139         (readln): small changes, improve some std::string usage
2140         (writeln): constify a bit
2141
2142 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2143
2144         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2145         Qt frontend
2146
2147 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2148
2149         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2150         after it has been populated
2151
2152 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2153
2154         * text2.C (insertInset): move cursor when inserting inset.
2155
2156 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2157
2158         * kbmap.C (findbindings): a couple of new methods. returns a
2159         container of kb_sequence objects. The real work is done by the
2160         private recursive version
2161         (printbindings): uses findbindings to print out a bracketed list
2162         of bindings (renamed from findbinding).
2163
2164         * MenuBackend.C (binding): use kb_keymap::findbindings
2165
2166         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2167
2168 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2169
2170         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2171
2172 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2173
2174         * paragraph.C (isWord): return true on insets that report
2175         isLetter().
2176
2177         * text.C (getWord): use Paragraph::isWord to decide what is in a
2178         word and what is not; fix bug 1609.
2179
2180 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2181
2182         * tex-strings.C: add "none" to string_paperpackages[], fixes
2183         off-by-one-error in the paperpackage selection.
2184
2185         * lyxlex.[Ch]:
2186         * tex-strings.[Ch]: char const * string[n]
2187         -> char const * const string[]
2188
2189 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2190
2191         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2192         command, return early.
2193
2194 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
2195
2196         * debug.h: add DEBUG to enum and fix size of ANY.
2197
2198         * debug.C: add support for Debug::DEBUG
2199         (showTags): cast errorTags.level to unsigned int
2200
2201         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2202         (redoCurrentBuffer): ditto
2203         (updateScrollbar): ditto
2204         * cursor.C (dispatch): ditto
2205         * text2.C (setLayout): ditto
2206         (setFont): ditto
2207         (updateCounters): ditto
2208         (editXY): ditto
2209         (deleteEmptyParagraphMechanism): ditto
2210
2211 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
2212
2213         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2214         annotations to cleanup the Makefile slightly.
2215
2216 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2217
2218         * lyxrc.C: do not set user_email to a default value but use empty
2219         instead. The entry used to be translated, which does not work
2220         since at the point where lyxrc is constructed there is no
2221         translation service available
2222
2223         * messages.C (getLocaleDir): remove and use directly
2224         lyx_localedir() instead
2225
2226 2004-06-02  Angus Leeming  <leeming@lyx.org>
2227
2228         Fix crash caused by dereferencing null pointer 'exportdata' in
2229         OutputParams by creating a new ExportData variable on the heap,
2230         storing it in a boost::shared_ptr.
2231         The crash was triggered when generating an Instant Preview
2232         of an external inset.
2233
2234         * Makefile.am: add outputparams.C
2235
2236         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2237         (c-tor): allocate memory to it.
2238
2239         * exporter.C (c-tor): associated changes.
2240
2241 2004-06-01  Angus Leeming  <leeming@lyx.org>
2242
2243         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2244         contains data before calling isInset(0). (Bug 1513.)
2245
2246 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2247
2248         * exporter.C (checkOverwrite): new method
2249         * exporter.C (copyFile): new method
2250         * exporter.C (Export): copy referenced files to the document dir
2251         * exporter.[Ch]: new class ExportedFile
2252         * exporter.[Ch]: new class ExportData. Contains currently the
2253         names of referenced external files
2254         * outputparams.h: add exportdata member.
2255
2256 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2257
2258         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2259         version.C-tmp
2260
2261 2004-05-19  Angus Leeming  <leeming@lyx.org>
2262
2263         * LaTeXFeatures.C:
2264         * ToolbarBackend.C:
2265         * bufferparams.C:
2266         * lyxfunc.C: small changes due to the introduction of namespace
2267         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2268
2269 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2270
2271         * text3.C (dispatch): supress update when only moving the cursor
2272         * cursor.C (selHandle): remove commented code
2273
2274 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2275
2276         * paragraph.C (startTeXParParams): correct column count
2277         * CutAndPaste.C (pasteSelection): remove const_cast
2278         * output_docbook.C (docbookParagraphs): remove const_cast
2279         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2280         const_cast and return ParagraphList::const_iterator
2281         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2282         * output_plaintext.C (writeFileAscii): remove const_cast
2283         * paragraph.[Ch] (simpleTeXOnePar): make const
2284         * paragraph_funcs.C (outerPar): use const iterators
2285         * paragraph_pimpl.C (validate): use const iterators
2286         * text.C (setHeightOfRow): use const iterators
2287
2288 2004-05-17  Angus Leeming  <leeming@lyx.org>
2289
2290         * lfuns.h:
2291         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2292
2293         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2294         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2295         if the citation engine has changed.
2296
2297 2004-05-14  José Matos  <jamatos@lyx.org>
2298
2299         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2300         if the textclass does not provide it. Have it different for sgml and
2301         xml.
2302         support the language of document.
2303         * output_docbook.C (docbookParagraphs):
2304         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2305         first anchor as the id of the paragraph, remove special case code.
2306         * sgml.C (escapeChar): escape only < & >.
2307
2308 2004-05-14  Angus Leeming  <leeming@lyx.org>
2309
2310         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2311         dependencies on src/frontends/controllers/biblio.h. Define a
2312         CiteEngine_enum wrapper class to enable the enum to be forward
2313         declared.
2314
2315 2004-05-12  Angus Leeming  <leeming@lyx.org>
2316
2317         * buffer.C: up LYX_FORMAT to 234.
2318         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2319         use_numerical_citations with a single biblio::CiteEngine cite_engine
2320         variable.
2321         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2322
2323 2004-05-13  José Matos  <jamatos@lyx.org>
2324
2325         * converter.h:
2326         * converter.C (Converter, readFlags): add xml member.
2327         * outputparams.h: add XML flavor.
2328         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2329
2330 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2331
2332         * lyxfunc.C (dispatch):
2333         (getStatus): fix handling of LFUN_SEQUENCE
2334
2335 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2336
2337         * debug.C (showLevel): do not forget the end-of-line marker
2338
2339 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2340
2341         * kbmap.C (read): do not stop parsing a bind file when an error
2342         occurs (bug 1575)
2343
2344 2004-04-29  Angus Leeming  <leeming@lyx.org>
2345
2346         * cursor.C:
2347         * factory.C:
2348         * pariterator.C:
2349         * text2.C: wrap a bunch of #warning statements
2350         inside #ifdef WITH_WARNINGS blocks.
2351
2352 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2353
2354         * buffer.C: increment format to 233.
2355
2356 2004-04-28  Angus Leeming  <leeming@lyx.org>
2357
2358         * BufferView_pimpl.C:
2359         * lyxfunc.C:
2360         * text3.C:
2361         s/updateToolbar()/updateToolbars()/
2362         s/Toolbar.h/Toolbars.h/
2363
2364 2004-04-28  Angus Leeming  <leeming@lyx.org>
2365
2366         * BufferView.[Ch] (c-tor):
2367         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2368         No longer passes these data to the WorkArea generator.
2369
2370 2004-04-28  Angus Leeming  <leeming@lyx.org>
2371
2372         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2373
2374 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2375
2376         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2377
2378 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2379
2380         * output_latex.C (TeXEnvironment): make sure that there is a line
2381         break before \end{foo} for the last paragraph of a document
2382         (TeXOnePar): if the paragraph is at the end of the document (or
2383         inset) and the language has to be reset, then make sure that the
2384         line break is _before_ the language command, not after (fixes bug
2385         1225); also make sure that the language reset command is the first
2386         thing after the paragraph (to ensure proper nesting of
2387         environments and thus fix bug 1404)
2388
2389 2004-04-21  John Levon  <levon@movementarian.org>
2390
2391         * ToolbarBackend.h:
2392         * ToolbarBackend.C: make "name" be a programmatic name
2393         and a gui_name field.
2394
2395         * lyxfunc.C: display the minibuffer on M-x
2396
2397 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2398
2399         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2400         (bug 1526)
2401
2402 2004-04-19  Angus Leeming  <leeming@lyx.org>
2403
2404         * BufferView_pimpl.C (setBuffer): changed preview interface.
2405
2406         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2407         possible values.
2408
2409 2004-04-19  John Levon  <levon@movementarian.org>
2410
2411         * BufferView_pimpl.C:
2412         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2413
2414 2004-04-05  Angus Leeming  <leeming@lyx.org>
2415
2416         * text.C (redoParagraphs): add call to updateCounters(), thereby
2417         fixing the missing "Figure #:" label from the caption of a
2418         figure float.
2419
2420 2004-04-13  Angus Leeming  <leeming@lyx.org>
2421
2422         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2423         cursor is clicked out of an inset.
2424
2425 2004-04-13  Angus Leeming  <leeming@lyx.org>
2426
2427         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2428         than an InsetOld one.
2429
2430 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2431
2432         * format.[Ch]: add editor to Format
2433         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2434         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2435
2436 2004-04-08  André Pönitz  <poenitz@gmx.net>
2437
2438         * metricsinfo.h: remove PainterInfo::width member
2439
2440 2004-04-08  Angus Leeming  <leeming@lyx.org>
2441
2442         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2443         "\providecommand" rather than "\newcommand", thereby preventing
2444         clashes with packages that define "\boldsymbol" themselves.
2445         Eg, beamer.
2446
2447 2004-04-08  Angus Leeming  <leeming@lyx.org>
2448
2449         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2450         thereby squashing an unnecessary warning.
2451
2452 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2453
2454         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2455         setBuffer()
2456
2457 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2458
2459         * BufferView.C (setCursor): call redoParagraph (some insets could
2460         have been opened)
2461         (putSelectionAt): remove the 'double update' trick
2462
2463         * BufferView_pimpl.C (fitCursor): call refreshPar
2464         (workAreaDispatch): remove an uneeded update call
2465         (dispatch): remove some manual update calls
2466
2467         * cursor.[Ch]: remove cached_y_, updatePos
2468         (selHandle): set noUpdate when appropriate
2469
2470         * lyxfunc.C (dispatch): track if we need an update
2471
2472         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2473
2474         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2475         (paintSelection): cheap optimization, do not call cursorX when not
2476         needed
2477         (paintPars): change signature
2478         (refreshPar): add
2479         (paintText): adjust
2480         (paintTextInset): adjust
2481
2482         * text.C: adjust
2483
2484 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2485
2486         * lengthcommon.C: compilation fix: remove explicit array size from
2487         unit_name[] and friends
2488
2489 2004-04-05  Angus Leeming  <leeming@lyx.org>
2490
2491         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2492
2493         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2494         present only for the preferences dialog.
2495         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2496
2497 2004-04-05  Angus Leeming  <leeming@lyx.org>
2498
2499         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2500         to enable the frontends to export changes to lyxrc correctly.
2501
2502         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2503
2504 2004-04-07  André Pönitz  <poenitz@gmx.net>
2505
2506         * cursor.[Ch] (selClear, adjust): remove math
2507
2508         * cursor_slice.C: more agressive assert
2509
2510         * lyxfunc.C:
2511         * BufferView_pimpl.C: rework mouse event dispatch
2512
2513         * dociterator.C:
2514         * paragraph.C:
2515         * text2.C:
2516         * text3.C: adjust
2517
2518 2004-04-05  André Pönitz  <poenitz@gmx.net>
2519
2520         * cursor.[Ch] (valign, halign...): remove unneeded functions
2521
2522 2004-04-05  Angus Leeming  <leeming@lyx.org>
2523
2524         * lyxlength.[Ch] (unit_name et al.): const-correct.
2525
2526 2004-04-05  Angus Leeming  <leeming@lyx.org>
2527
2528         * BufferView_pimpl.C:
2529         * buffer.C:
2530         * counters.C:
2531         * cursor.C:
2532         * lyxfunc.C
2533         * paragraph.C:
2534         * pariterator.C:
2535         * text.C:
2536         * text2.C:
2537         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2538
2539 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2540
2541         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2542
2543 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2544
2545         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2546         * BufferView_pimpl.[Ch] (getStatus)
2547         * BufferView.[Ch] (getStatus): add
2548         * lyxfunc.C (getStatus): move lfuns handled in
2549         BufferView::dispatch to te function above
2550         * Cursor.C (setSelection): set selection() = true
2551
2552 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2553
2554         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2555
2556 2004-03-31  Angus Leeming  <leeming@lyx.org>
2557
2558         * lyxfunc.C (dispatch): Fall through to the generic
2559         Dialogs::show("preamble").
2560
2561 2004-03-31  Angus Leeming  <leeming@lyx.org>
2562
2563         * lyxfunc.C (dispatch): Fall through to the generic
2564         Dialogs::show("spellchecker").
2565
2566 2004-03-31  Angus Leeming  <leeming@lyx.org>
2567
2568         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2569         preferences dialog.
2570
2571 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2572
2573         * BufferView.C
2574         * cursor.[Ch]
2575         * dociterator.[Ch]:
2576         * insetiterator.[Ch]:
2577         * lyxfind.C:
2578         * lyxfunc.C:
2579         * pariterator.[Ch]:
2580         * text2.C:
2581         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2582
2583 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2584
2585         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2586         insets where we are putting the cursor.
2587
2588 2004-03-31  Angus Leeming  <leeming@lyx.org>
2589
2590         * lfuns.h:
2591         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2592
2593         * lyxrc.[Ch] (read, write): overloaded member functions taking
2594         a std::[io]stream arguments.
2595
2596         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2597
2598 2004-03-31  Angus Leeming  <leeming@lyx.org>
2599
2600         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2601         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2602
2603         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2604         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2605
2606 2004-03-31  Angus Leeming  <leeming@lyx.org>
2607
2608         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2609         the LFUN_ALL_INSETS_TOGGLE code.
2610
2611 2004-03-30  Angus Leeming  <leeming@lyx.org>
2612
2613         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2614         has died. Fall through to the generic Dialogs::show("document").
2615
2616 2004-03-30  Angus Leeming  <leeming@lyx.org>
2617
2618         * lfuns.h:
2619         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2620         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2621
2622         * lyxfunc.C (getStatus, dispatch): define the actions for these
2623         lfuns. Little more than a cut and pste job from ControlDocument.C
2624
2625         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2626
2627 2004-03-30  Angus Leeming  <leeming@lyx.org>
2628
2629         * lfuns.h:
2630         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2631         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2632
2633         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2634         open/closed state of ollapsable insets. Usage:
2635
2636         all-inset-toggle <state> <name>, where
2637         <state> == "open" || "closed" || "toggle" and
2638         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2639
2640         * lyxtext.h, text2.C (toggleInset): removed.
2641
2642         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2643         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2644         now passes LFUN_INSET_TOGGLE to the found inset.
2645
2646         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2647         is now invoked as "all-insets-toggle toggle branch".
2648
2649 2004-03-30  Angus Leeming  <leeming@lyx.org>
2650
2651         * dociterator.C:
2652         * insetiterator.C:
2653         * pariterator.[Ch]: added/corrected header blurb.
2654
2655 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2656
2657         * dociterator.[Ch]: add an inset_ member
2658         (backwardPos): implemented
2659         (backwardPos, forwardPos): use inset_ when the stack is empty.
2660         (doc_iterator_begin, doc_iterator_end): implemented
2661         * pariterator.[Ch]: adjust, add begin, end
2662         * insetiterator.[Ch]: adjust, add begin, end
2663         * cursor.C:
2664         * document.C:
2665         * BufferView.C:
2666         * BufferView_pimpl.C:
2667         * CutAndPaste.C: adjust
2668
2669 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2670
2671         * buffer.C: increment file format to 232.
2672         * LaTeXFeatures.C: add bibtopic package.
2673         * bufferparams.[Ch]: param \use_bibtopic.
2674
2675         * lyxrc.[Ch]: add lyxrc bibtex_command
2676         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2677
2678         * buffer.C: increment file format to 231.
2679
2680 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2681
2682         * dociterator.C: implement forwardPar
2683         * iterators.[Ch]: remove, replaced by
2684         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2685         * BufferView.C:
2686         * BufferView_pimpl.C:
2687         * CutAndPaste.C:
2688         * buffer.C:
2689         * bufferview_funcs.C:
2690         * cursor.C:
2691         * lyxfind.C
2692         * lyxfunc.C
2693         * paragraph_funcs.C
2694         * toc.C:
2695         * Makefile.am: adjust
2696
2697 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2698
2699         * CutAndPaste.C (pasteSelection): fix 2 crashes
2700         (eraseSelection): fix a crash
2701         * paragraph_funcs.C: remove a warning
2702
2703 2004-03-28  Angus Leeming  <leeming@lyx.org>
2704
2705         * lfuns.h:
2706         * LyXAction.C (init): new LFUN_PRINT.
2707
2708         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2709
2710 2004-03-27  Angus Leeming  <leeming@lyx.org>
2711
2712         * lfuns.h:
2713         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2714
2715         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2716
2717 2004-03-27  Angus Leeming  <leeming@lyx.org>
2718
2719         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2720         insetlist always contains non-null pointers to insets.
2721
2722 2004-03-26  Angus Leeming  <leeming@lyx.org>
2723
2724         * src/BufferView_pimpl.C:
2725         * src/CutAndPaste.C:
2726         * src/buffer.C:
2727         * src/iterators.C:
2728         * src/output_plaintext.C:
2729         * src/outputparams.h:
2730         * src/paragraph_funcs.C:
2731         * src/rowpainter.C:
2732         * src/text.C:
2733         * src/text2.C:
2734         * src/frontends/controllers/ControlErrorList.C:
2735         * src/frontends/gtk/FileDialogPrivate.C:
2736         * src/frontends/gtk/GPainter.C:
2737         * src/frontends/gtk/GToolbar.C:
2738         * src/frontends/qt2/QRef.C:
2739         * src/mathed/math_scriptinset.C: squash compiler warnings.
2740
2741 2004-03-26  Angus Leeming  <leeming@lyx.org>
2742
2743         * ispell.C (LaunchIspell::start):
2744         * lyx_cb.C (AutoSaveBuffer::start):
2745         invoke run(DontWait) rather than runNonBlocking().
2746
2747 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2748
2749         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2750
2751 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2752
2753         * kbsequence.C (print): adjust
2754
2755         * kbmap.C (printKeySym): rename and change signature
2756         (printKey): use LyXKeySym::print()
2757
2758 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2759
2760         * undo.C: add using std::advance to compile for stlport
2761
2762 2004-03-24  Angus Leeming  <leeming@lyx.org>
2763
2764         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2765         it leads to a crash when no buffer is present.
2766
2767 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2768             Martin Vermeer  <martin.vermeer@hut.fi>
2769
2770         * lyxfunc.C (dispatch):
2771         * bufferparams.C (readToken): use the new LColor::setColor
2772
2773         * LColor.[Ch] (setColor): new version that takes two strings as
2774         argument and creates a new color entry if necessary
2775
2776 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2777
2778         * buffer.C (makeLaTeXFile): if the main latex file that is
2779         processed is usually a subdocument of some master, then pretend
2780         for a while that it is actually the master
2781
2782 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2783
2784         * buffer.C (getLabelList):
2785         (getBibkeyList): use getMasterBuffer()
2786         (getMasterBuffer): new method. Returns the main document in the
2787         case where one is using included documents.
2788
2789 2004-03-25  André Pönitz  <poenitz@gmx.net>
2790
2791         * Makefile.am:
2792         * iterators.[Ch]:
2793         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2794
2795         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2796
2797         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2798         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2799
2800         * ParameterStruct.h: merge with ParagraphParameters
2801
2802         * lyxtext.h: remove LyXText::parOffset() and getPar()
2803
2804         * text3.C: Remove all 'manual' update calls. We do now one per user
2805         interaction which is completely sufficient.
2806
2807         * Bidi.C:
2808         * BufferView.[Ch]:
2809         * BufferView_pimpl.C:
2810         * FontIterator.[Ch]:
2811         * MenuBackend.C:
2812         * ParagraphParameters.[Ch]:
2813         * buffer.C:
2814         * buffer.h:
2815         * bufferlist.C:
2816         * cursor.[Ch]:
2817         * cursor_slice.[Ch]:
2818         * dociterator.[Ch]:
2819         * errorlist.[Ch]:
2820         * factory.C:
2821         * lfuns.h:
2822         * lyxfind.C:
2823         * lyxfunc.C:
2824         * output_docbook.[Ch]:
2825         * output_latex.[Ch]:
2826         * output_linuxdoc.[Ch]:
2827         * output_plaintext.[Ch]:
2828         * paragraph.[Ch]:
2829         * paragraph_funcs.[Ch]:
2830         * paragraph_pimpl.[Ch]:
2831         * rowpainter.C:
2832         * tabular.[Ch]:
2833         * text.C:
2834         * text2.C:
2835         * toc.C:
2836         * undo.[Ch]: adjust
2837
2838         * frontends/controllers/ControlDocument.C:
2839         * frontends/controllers/ControlErrorList.C:
2840         * frontends/controllers/ControlSpellchecker.C:
2841         * insets/inset.C:
2842         * insets/inset.h:
2843         * insets/insetbase.h:
2844         * insets/insetbibitem.C:
2845         * insets/insetbox.C:
2846         * insets/insetbranch.C:
2847         * insets/insetcaption.C:
2848         * insets/insetcharstyle.C:
2849         * insets/insetcharstyle.h:
2850         * insets/insetcollapsable.C:
2851         * insets/insetcollapsable.h:
2852         * insets/insetert.C:
2853         * insets/insetfloat.C:
2854         * insets/insetfoot.C:
2855         * insets/insetmarginal.C:
2856         * insets/insetnote.C:
2857         * insets/insetoptarg.C:
2858         * insets/insettabular.C:
2859         * insets/insettext.C:
2860         * insets/insettext.h:
2861         * insets/insetwrap.C:
2862         * mathed/math_mboxinset.C:
2863         * mathed/math_nestinset.C:
2864         * mathed/math_scriptinset.C:
2865         * mathed/math_scriptinset.h:
2866         * support/types.h:
2867
2868 2004-03-24  Angus Leeming  <leeming@lyx.org>
2869
2870         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2871         deal with any child processes that have finished but are waiting to
2872         communicate this fact to the rest of LyX.
2873
2874 2004-03-24  Angus Leeming  <leeming@lyx.org>
2875
2876         64-bit compile fixes.
2877
2878         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2879         (c-tor): pass lyx::pos_types rather than ints.
2880
2881         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2882         lyx::pos_type.
2883
2884         * text.C (Delete): compile fix.
2885         (getPar): ensure that function declaration is the same as that in
2886         the header file.
2887
2888 2004-03-23  Angus Leeming  <leeming@lyx.org>
2889
2890         * ispell.C (LaunchIspell):
2891         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2892         a boost::shred_ptr rather than a std::auto_ptr.
2893
2894 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2895
2896         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2897         handle LFUN_FILE_INSERT_*
2898
2899         * lyxrc.C (setDefaults, getDescription, output, read):
2900         * lyxrc.h: remove ps_command
2901
2902 2004-03-22  Angus Leeming  <leeming@lyx.org>
2903
2904         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2905         Ensure that error_handler is processed once only and that all data
2906         is saved before attempting to output any warning messages.
2907
2908         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2909
2910 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2911
2912         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2913
2914 2004-03-19  André Pönitz  <poenitz@gmx.net>
2915
2916         * cursor.[Ch] (reset): take main text inset as argument
2917
2918         * BufferView: adjust
2919         * BufferView_pimpl.C: adjust
2920
2921         * paragraph.[Ch]: fix completely broken operator=()
2922
2923 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2924
2925         * LColor.C (getFromLyXName): make sure that the color name is used
2926         as lowercase.
2927
2928 2004-03-17  Angus Leeming  <leeming@lyx.org>
2929
2930         * lfuns.h:
2931         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2932
2933         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2934         dialog and to kill a forked process.
2935
2936 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2937
2938         * text2.C (setCursorFromCoordinates): fix font problem
2939
2940 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2941
2942         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2943         bogus "rebuild cursor" code
2944
2945 2004-03-11  André Pönitz  <poenitz@gmx.net>
2946
2947         * buffer.[Ch]: use InsetText instead of LyXText as container for
2948         the main lyx text.
2949
2950         * dociterator.[Ch]: drop the BufferView * member which is not needed
2951         anymore after the change to buffer.C
2952
2953         * paragraph_funcs.C:
2954         * text.C:
2955         * text2.C:
2956         * BufferView.[Ch]:
2957         * BufferView_pimpl.[Ch]:
2958         * cursor.[Ch]:
2959         * cursor_slice.[Ch]: adjust
2960
2961         * text3.C: fix bug in mathDispatch
2962
2963 2004-03-08  André Pönitz  <poenitz@gmx.net>
2964
2965         * undo.[Ch]: use 'StableDocumentIterator' as base for
2966         the Undo struct.
2967
2968 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2969
2970         * LaTeXFeatures.C:
2971         * bufferparams.[Ch]: add jurabib support and param.
2972
2973         * LaTeX.C: add FIXME/comment.
2974
2975 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2976
2977         * buffer.C: increment file format to 230.
2978
2979 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2980
2981         * cursor.C (dispatch): avoid infinite loops
2982
2983 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2984
2985         * rowpainter.C (paintSelection): fix x coordinates
2986
2987 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2988
2989         * text.C (rowBreakPoint): fix breaking before displayed insets
2990
2991 2004-03-01  André Pönitz  <poenitz@gmx.net>
2992
2993         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2994
2995         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2996
2997         * Makefile.am:
2998         * BufferView.C:
2999         * BufferView_pimpl.C:
3000         * buffer.C:
3001         * lyxfind.C:
3002         * lyxfunc.C:
3003         * text.C:
3004         * text2.C:
3005         * text3.C: adjust
3006
3007 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3008
3009         * lyxtext.h:
3010         * text.C:
3011         * text2.C:
3012         * rowpainter.C:
3013         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3014         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3015
3016 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3017
3018         * Bidi.[Ch] (computeTables): const correctness
3019         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3020         fill_hfill, fill_label_hfill and x from Row
3021         * lyxtext.h: prepareToPrint returns a RowMetrics
3022         * rowPainter.C: adjust
3023         * text.C (prepareToPrint): use width, not textWidth. adjust
3024         (redoParagraphInternal, cursorX): adjust
3025         * text2.C (getColumnNearX): adjust
3026         (init): put a default value to the top LyXText::width
3027
3028 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3029
3030         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3031
3032 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3033
3034         * lyxtext.h: add FontIterator class
3035
3036         * text.C (FontIterator, operator*, operator->, operator++): add
3037         (rowBreakPoint, setRowWidth): adjust (fixing a
3038         rebreaking bug)
3039
3040 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3041
3042         * BufferView_pimpl.C (workAreaDispatch): allow also
3043         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3044
3045 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3046
3047         * text.C (rowBreakPoint): fix a bug showing with very large insets
3048
3049 2004-02-25  André Pönitz  <poenitz@gmx.net>
3050
3051         * text3.C:
3052         * cursor.[Ch]: move some mathed specific code to mathed
3053
3054 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3055
3056         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3057         use_tempdir in preferences
3058         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3059         tempfile creation
3060         * lyx_main.C: ensure that tempdir is valid
3061         * lyxlex.h: correct typo
3062         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3063         * paragraph.[Ch] (isMultiLingual): make const
3064         * cursor.[Ch] (openable): make const
3065
3066 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3067
3068         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3069
3070 2004-02-20  André Pönitz  <poenitz@gmx.net>
3071
3072         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3073
3074         * cursor.[Ch]: prepare for localized getStatus()
3075
3076         * lyxtext.h:
3077         * tabular.C:
3078         * text.C:
3079         * text2.C:
3080         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3081
3082 2004-02-20  André Pönitz  <poenitz@gmx.net>
3083
3084         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3085
3086 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3087
3088         * text2.C (setCursorFromCoordinates): switch to absolute coords
3089         (cursorUp): adjust
3090         (cursorDown): adjust
3091         * text3.C (dispatch): adjust
3092
3093 2004-02-16  André Pönitz  <poenitz@gmx.net>
3094
3095         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3096           insets/ChangeLog)
3097
3098         * cursor_slice.[Ch]: remove unneeded acessor function
3099
3100         * lyxtext.h: rename rtl() to isRTL()
3101
3102         * rowpainter.C:
3103         * tabular.C:
3104         * text.C:
3105         * text2.C:
3106         * text3.C: adjust
3107
3108 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3109
3110         * rowpainter.C (paintSelection): coord fix
3111
3112 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3113
3114         * Spacing.C: compile fix
3115
3116 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3117
3118         * cursor.C (dispatch): restore current_ before returning
3119
3120 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3121
3122         * text2.C (cursorUp, cursorDown): fix coords
3123         (moveUp): fix crash
3124
3125 2004-02-12  André Pönitz  <poenitz@gmx.net>
3126
3127         * lyxtext.h:
3128         * text.C:
3129         * text2.C:
3130         * text3.C: add LCursor & parameter to most cursor movement functions
3131           remove usage of LyXText::cursorRow() and cursorPar()
3132
3133         * cursor.[Ch]: add textRow() needed members
3134
3135         * BufferView.C:
3136         * BufferView_pimpl.C:
3137         * paragraph.[Ch]:
3138         * BufferView.C:
3139         * BufferView_pimpl.C: adjust
3140
3141 2004-02-11  André Pönitz  <poenitz@gmx.net>
3142
3143         * lyxfunc.C:
3144         * BufferView.[Ch]:
3145         * BufferView_pimpl.C: shift undo/redo handling
3146
3147         * cursor.[Ch]: fix mathed crash
3148
3149         * lyxfind.C:
3150         * lyxtext.h: move selectionAsText to LCursor
3151
3152         * output_latex.C:
3153         * paragraph.C:
3154         * text.C:
3155         * text2.C:
3156         * text3.C: adjust
3157
3158         * rowpainter.C: fix excessive drawing
3159
3160 2004-02-06  André Pönitz  <poenitz@gmx.net>
3161
3162         * BufferView.[Ch]:
3163         * BufferView_pimpl.[Ch]:
3164         * text3.C: move some text specific LFUN handling
3165
3166 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3167
3168         * text3.C (checkInsetHit): adjust coords
3169         * text2.C (getColumnNearX): adjust coords
3170         (edit): adjust coords
3171         * text.C (getRowNearY): add two asserts
3172
3173 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3174
3175         * converter.C:
3176         * format.C: add using std::distance to compile on gcc 2.95/stlport
3177
3178 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3179
3180         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3181
3182 2004-02-04  André Pönitz  <poenitz@gmx.net>
3183
3184         * BufferView.[Ch] (insertInset):
3185         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3186
3187         * text2.C:
3188         * text3.C: adjust
3189
3190 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3191
3192         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3193         on the default clause of the switch
3194         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3195         wasn't catched by LCursor::dispatch
3196
3197 2004-02-03  André Pönitz  <poenitz@gmx.net>
3198
3199         * BufferView.C:
3200         * cursor.[Ch]: some additional asserts
3201
3202         * undo.[Ch]: remove LyXText dependency in interface
3203
3204         * lyxfunc.C: adjust
3205
3206         * lyxtext.h (firstPar, lastPar): remove dead functions
3207
3208         * text.C:
3209         * text2.C:
3210         * text3.C:
3211         * paragraph.[Ch]: adjust
3212
3213 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3214
3215         * lyxfind.C (find): fix argument order in call to ::find
3216
3217 2004-02-02  André Pönitz  <poenitz@gmx.net>
3218
3219         * cursor.[Ch]: remove direct access to anchor
3220
3221         * text.C: remove findText() hack
3222
3223 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3224
3225         * iterators.[Ch] (lockPath): remove in favour of...
3226         * BufferView.[Ch] (setCursor): this addition
3227         * BufferView.C (putSelectionAt): adjust
3228         * undo.C (performUndoOrRedo): adjust
3229         * lyxfunc.C (dispatch): adjust
3230
3231 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3232
3233         * iterators.C (lockPath): add a missing slice
3234         * undo.C (performUndoOrRedo): remove redundant positioning code
3235
3236 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
3237
3238         * vc-backend.C (scanMaster): ";" -> ';'
3239
3240 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
3241
3242         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3243         std::binary_function
3244
3245         * lyxtextclass.C (compare_name): rename to...
3246         (LayoutNamesEqual): ...this
3247
3248         * lyxlex_pimpl.C (compare_tags): inherit from
3249         std::binary_function, put back into anon namespace
3250
3251         * lyxfind.C (MatchString): inherig from std::binary_function
3252         (findChange): use empty() istead of !size()
3253
3254         * format.C (FormatNamesEqual): new functor
3255         (getFormat): use it
3256         (getNumber): use it
3257         (add): use it
3258         (erase): use it
3259         (setViewer): use it
3260
3261         * converter.C (compare_Converter): rename to...
3262         (ConverterEqual): ...this, and fixup a bit.
3263         (getConverter): use it, and make function const
3264         (getNumber): use it, and make function const
3265         (add): use it
3266         (erase): use it:
3267
3268         * bufferlist.C: add using boost::bind
3269
3270         * MenuBackend.C (MenuNamesEqual): new functor
3271         (hasMenu): use it, and make function const
3272         (hasSubmenu): use nested bind to get rid of compare_memfun.
3273
3274 2004-01-30  André Pönitz  <poenitz@gmx.net>
3275
3276         * BufferView_pimpl.C:
3277         * cursor.C:
3278         * cursor.h:
3279         * cursor_slice.[Ch]:
3280         * lyxfunc.C:
3281         * lyxtext.h:
3282         * paragraph_funcs.C:
3283         * paragraph_funcs.h:
3284         * rowpainter.C:
3285         * text.C:
3286         * text2.C:
3287         * text3.C: move some of the edit(x,y) handling to the insets
3288         some coordinate changes.
3289
3290 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
3291
3292         * text.C: add using statements for std::advance and std::distance
3293
3294         * paragraph.C: add using statement for std::distance
3295
3296         * lyxfind.C: add using statement for std::advance
3297
3298         * cursor.C (region): remove std:: from swap
3299         (openable): use nucleus in stead of operator->
3300
3301         * BufferView.C: add using statements for std::distance and std::swap
3302
3303 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
3304
3305         * iterators.C: Remove the pimple, move the needed structures to
3306         the header file. Create accessor for the positions stack.
3307         (asPosIterator): remove function
3308
3309         * PosIterator.C (PosIterator): move constructors to top of file
3310         (PosIterator): reimplement the constructor taking a ParIterator in
3311         terms of setFrom.
3312         (setFrom): new function
3313         (operator!=): inline it
3314
3315 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
3316
3317         * lyxfind.C (replaceAll): use std::advance
3318
3319         * iterators.h: inherit from std::iterator.
3320
3321         * PosIterator.C (advance, distance): remove
3322         * PosIterator.h: interit from std::iterator.
3323
3324 2004-01-26  André Pönitz  <poenitz@gmx.net>
3325
3326         * BufferView.[Ch]:
3327         * BufferView_pimpl.[Ch]:
3328         * InsetList.[Ch]:
3329         * PosIterator.[Ch]:
3330         * buffer.h:
3331         * bufferview_funcs.C:
3332         * cursor.[Ch]:
3333         * cursor_slice.h:
3334         * factory.[Ch]:
3335         * iterators.[Ch]:
3336         * lyxfind.C:
3337         * lyxfunc.C:
3338         * lyxtext.h:
3339         * output_docbook.C:
3340         * output_latex.C:
3341         * output_linuxdoc.C:
3342         * output_plaintext.C:
3343         * paragraph.[Ch]:
3344         * paragraph_funcs.[Ch]:
3345         * paragraph_pimpl.[Ch]:
3346         * rowpainter.C:
3347         * tabular.C:
3348         * tabular.h:
3349         * text.C:
3350         * text2.C:
3351         * text3.C: more IU:  dumps most of the rest of the mathcursor
3352     implementation into cursor.[Ch]; "globalize" a bit of it.
3353
3354 2004-01-25  Angus Leeming  <leeming@lyx.org>
3355
3356         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3357
3358 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3359
3360         * LaTeXFeatures.h: add nice_ and nice() const
3361         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3362
3363 2004-01-20  André Pönitz  <poenitz@gmx.net>
3364
3365         * BufferView.[Ch]:
3366         * BufferView_pimpl.C:
3367         * PosIterator.C:
3368         * bufferview_funcs.C:
3369         * cursor.[Ch]:
3370         * cursor_slice.[Ch]:
3371         * factory.C:
3372         * iterators.C:
3373         * lyx_cb.C:
3374         * lyxfind.C:
3375         * lyxfunc.C:
3376         * lyxtext.h:
3377         * rowpainter.C:
3378         * text.C:
3379         * text2.C:
3380         * text3.C:
3381         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3382           LCursor and mathcursor parts to LCursor and InsetBase.
3383
3384 2004-01-15  André Pönitz  <poenitz@gmx.net>
3385
3386         * cursor_slice.[Ch]: add a few covienience functions
3387
3388         * funcrequest.[Ch]: remove BufferView * member
3389
3390         * BufferView_pimpl.C:
3391         * cursor.C:
3392         * factory.[Ch]:
3393         * lyxfind.[Ch]:
3394         * lyxfunc.C:
3395         * lyxtext.h:
3396         * text3.C:
3397         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3398
3399 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3400
3401         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3402         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3403
3404 2004-01-13  André Pönitz  <poenitz@gmx.net>
3405
3406         * textcursor.[Ch]:
3407         * lyxtext.h: hide cursor and selection anchor behind accessor function
3408
3409         * BufferView.C:
3410         * BufferView_pimpl.[Ch]:
3411         * PosIterator.C:
3412         * bufferview_funcs.C:
3413         * cursor.h:
3414         * lyxfind.C:
3415         * lyxfunc.C:
3416         * text.C:
3417         * text2.C:
3418         * text3.C:
3419         * undo.C: adjust
3420
3421         * cursor.h:
3422         * cursor_slice.[Ch]: some integer type changes for inset unification
3423
3424         * lyxcursor.[hC]: remove, it's CursorSlice now.
3425
3426         * Makefile.am:
3427         * BufferView_pimpl.[Ch]:
3428         * bufferview_funcs.C:
3429         * cursor_slice.C:
3430         * lyxtext.h:
3431         * text.C:
3432         * text2.C:
3433         * text3.C:
3434         * textcursor.[Ch]: adjust
3435
3436 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3437
3438         * text2.C (undoSpan): add and use
3439         * text.C (breakParagraph): use undoSpan (fix bug 578)
3440         * lyxtext.h: adjust
3441
3442 2004-01-08  Angus Leeming  <leeming@lyx.org>
3443
3444         * BufferView_pimpl.C (MenuInsertLyXFile):
3445         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3446         * lyxfunc.C (menuNew, open, doImport):
3447         FileFilterList change to the FileDialog open and save functions.
3448
3449 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
3450
3451         * ShareContainer.h: make isEqual and isUnique adaptable
3452
3453         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3454
3455 2004-01-07  Angus Leeming  <leeming@lyx.org>
3456
3457         * LyXAction.C:
3458         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3459
3460         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3461
3462         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3463         functions replacing find, replace and replaceAll.
3464
3465         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3466         LFUN_WORDFIND(FORWARD|BACKWARD).
3467
3468 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3469
3470         * text.C (breakParagraph): remove an outdated #warning
3471
3472 2004-01-07  André Pönitz  <poenitz@gmx.net>
3473
3474         * lyxfind.C: somewhat clearer logic
3475
3476         * text.C: prevent crash in cursorX on unitialized row cache
3477
3478 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3479
3480         * lyxcursor.[Ch] (operator>): add
3481         * textcursor.C (selStart, selEnd): use std::min and std::max
3482
3483 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
3484
3485         * Chktex.C: include boost/format.hpp
3486
3487 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
3488
3489         * InsetList.C: replace functor MathcIt with adaptable functor
3490         InsetTablePosLess
3491         (insetIterator): modify accordingly
3492
3493         * BranchList.h: move the BranchNamesEqual functor here from...
3494         * BranchList.C: ... to here
3495
3496         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3497         SameName and match.
3498         (add): replace a finding loop with std::find_if.
3499
3500 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3501
3502         * output_docbook.C: moving LatexParam functionality into
3503         .layout files
3504
3505 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3506
3507         * buffer.C: increment format to 229.
3508
3509 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3510
3511         * LaTeXFeatures.C:
3512         * lyx_sty.[Ch]: remove minipageindent_def
3513
3514         * LyXAction.C:
3515         * factory.C:
3516         * lfuns.h:
3517         * lyxfunc.C:
3518         * text3.C: remove LFUN_INSET_MINIPAGE
3519
3520 2003-12-28  Angus Leeming  <leeming@lyx.org>
3521
3522         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3523
3524 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3525
3526         * text2.C (setParagraph): fix off-by-one crash
3527
3528 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3529
3530         * output_docbook.C: header stuff for AGU
3531
3532 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3533
3534         * text2.C (redoCursor): remove
3535         * text.C:
3536         * text3.C:
3537         * BufferView_pimpl.C: remove calls to redoCursor and
3538         setCursor(cursor.par(), cursor.pos()) all around
3539
3540 2003-12-15  Angus Leeming  <leeming@lyx.org>
3541
3542         * buffer.C: up the format to 228.
3543
3544 2003-12-15  André Pönitz  <poenitz@gmx.net>
3545
3546         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3547         slices
3548
3549         * Makefile.am:
3550
3551         * BufferView_pimpl.C:
3552         * cursor.[Ch]:
3553         * lyxcursor.[Ch]:
3554         * rowpainter.[Ch]:
3555         * lyxtext.h:
3556         * text.C:
3557         * text2.C:
3558         * text3.C: adjust
3559
3560 2003-12-15  Angus Leeming  <leeming@lyx.org>
3561
3562         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3563         than getFromGUIName to manipulate the color.
3564
3565 2003-12-14  Angus Leeming  <leeming@lyx.org>
3566
3567         * BranchList.[Ch]: minimize the API.
3568         (Branch::getBranch, getColor): now return a 'const &'.
3569         (Branch::setSelected) now returns a bool set to true if the
3570         selection status changes.
3571         (BranchList::clear, size, getColor, setColor, setSelected,
3572         allBranches, allSelected, separator): removed.
3573         (BranchList::find): new functions, returning the Branch with
3574         the given name.
3575         (BranchList::add, remove): return a bool indicating that
3576         the operation was successful.
3577
3578         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3579         new InsetBranch::isBranchSlected member function.
3580
3581         * LColor.[Ch]: mimimize the API.
3582         (fill): renamed as addColor and made private.
3583         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3584         versions of these functions taking a string arg have been removed.
3585
3586         * bufferparams.C (readToken):
3587         * lyxfunc.C (dispatch):
3588         * lyxrc.C (read): changes due to the altered BranchList and
3589         LColor APIs.
3590
3591         * factory.C (createInset, readInset): changes due to altered
3592         InsetBranch c-tor.
3593
3594 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3595
3596         * factory.C:
3597         * lyxfunc.C: remove insetminipage. "minipage-insert"
3598         now produces a frameless minipage box inset.
3599
3600 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3601
3602         * textcursor.[Ch] (selStart,selEnd): add new methods
3603         remove selection::start, end, use LyXCursor::operator<
3604         * lyxcursor.[Ch] (operator<): add
3605         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3606         * BufferView.[Ch] (unsetXSel): add
3607         * text2.C (clearSelection): use unsetXSel,adjust
3608         * text.C: adjust
3609         * text3.C: adjust
3610         * rowpainter.C: adjust
3611         * bufferview_funcs.C (put_selection_at): adjust
3612
3613 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3614
3615         * BufferView_pimpl.C: small coord. correction
3616
3617 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3618
3619         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3620         dragging over the splash screen.
3621
3622 2003-12-11  Angus Leeming  <leeming@lyx.org>
3623
3624         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3625         as it is now handled in LyXText::dispatch.
3626
3627         * text3.C (doInsertInset): remove a level of nesting.
3628
3629 2003-12-11  Angus Leeming  <leeming@lyx.org>
3630
3631         * factory.C (createInset): changes due to the changed interface to
3632         InsetCommandMailer::string2params.
3633
3634 2003-12-10  Angus Leeming  <leeming@lyx.org>
3635
3636         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3637         'dialog-show-new-inset <inset name>'
3638
3639 2003-12-10  Angus Leeming  <leeming@lyx.org>
3640
3641         * buffer.C: up the format to 227.
3642
3643         * factory.C: the box inset is now identified simply by 'Box'.
3644
3645 2003-12-10  Angus Leeming  <leeming@lyx.org>
3646
3647         * buffer.C: up the format to 226.
3648
3649         * factory.C: the note inset is now identified simply by 'Note'.
3650
3651 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3652
3653         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3654         when a pit is enough. Standarize a couple of loops.
3655
3656 2003-12-05  Angus Leeming  <leeming@lyx.org>
3657
3658         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3659         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3660         data to the re-worked "log" dialog.
3661
3662 2003-12-03  André Pönitz  <poenitz@gmx.net>
3663
3664         * PosIterator.C:
3665         * iterators.C:
3666         * lyxtext.h:
3667         * output_latex.C:
3668         * paragraph_funcs.C:
3669         * text.C:
3670         * text2.C: use Inset::getText instead of Inset::getParagraph
3671
3672 2003-12-03  André Pönitz  <poenitz@gmx.net>
3673
3674         * buffer.[Ch]:
3675         * lyxtext.h:
3676         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3677         InsetText::read() as LyXText::read()
3678
3679 2003-12-02  Angus Leeming  <leeming@lyx.org>
3680
3681         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3682         type. Add a comment in the implementation that the function uses
3683         the stream's bad() function rather than fail() as the std::streams
3684         would do.
3685
3686 2003-12-02  André Pönitz  <poenitz@gmx.net>
3687
3688         * lyxlex.[Ch]: make interface more similar to std::stream
3689
3690         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3691
3692 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3693
3694         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3695
3696 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3697
3698         * vspace.[Ch]: remove VSpace::NONE
3699
3700 2003-12-01  André Pönitz  <poenitz@gmx.net>
3701
3702         * buffer.[Ch]:
3703         * lyxtext.h: move ParagraphList member to LyXText
3704         rename LyXText::ownerParagraphs to LyXText::paragraph
3705
3706         * CutAndPaste.C:
3707         * bufferview_funcs.C:
3708         * iterators.[Ch]:
3709         * lyx_cb.C:
3710         * paragraph.C:
3711         * rowpainter.C:
3712         * tabular.C:
3713         * text.C:
3714         * text2.C:
3715         * text3.C: adjust
3716
3717         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3718
3719         * undo.C: fix cursor positioning
3720
3721 2003-12-01  John Levon  <levon@movementarian.org>
3722
3723         * BufferView_pimpl.C: fix a crash on exit with
3724         a buffer open
3725
3726 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3727
3728         * BranchList.C: fix setSelected() method.
3729
3730 2003-11-28  André Pönitz  <poenitz@gmx.net>
3731
3732         * ParagraphParameters.[Ch]:
3733         * ParameterStruct.h: remove space above/below from Paragraph to
3734          InsetVSpace
3735
3736         * BufferView_pimpl.C:
3737         * factory.C:
3738         * lyxfunc.C:
3739         * lyxtext.h:
3740         * output_latex.C:
3741         * paragraph.C:
3742         * paragraph_funcs.C:
3743         * rowpainter.[Ch]:
3744         * text.C:
3745         * text2.C:
3746         * text3.C: adjust
3747
3748 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3749
3750         * factory.C: Syntax change for CharStyles
3751
3752 2003-11-28  André Pönitz  <poenitz@gmx.net>
3753
3754         * BufferView.[Ch]:
3755         * BufferView.[Ch]:
3756         * buffer.[Ch]:
3757         * buffer.[Ch]: move LyXText member
3758
3759 2003-11-28  André Pönitz  <poenitz@gmx.net>
3760
3761         * BufferView.[Ch]: make LyXText * text a private member
3762
3763         * BufferView_pimpl.C:
3764         * cursor.C:
3765         * iterators.C:
3766         * lyx_cb.C:
3767         * lyxfind.C:
3768         * lyxtext.h:
3769         * rowpainter.[Ch]:
3770         * text.C:
3771         * text2.C:
3772         * undo.C: adjust
3773
3774         * output_plaintext.C: cleanup
3775
3776 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3777
3778         * buffer.C:
3779         * lyxtextclass.[Ch]: parametrize SGML document header
3780
3781 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3782
3783         * converter.[Ch]:
3784         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3785         getFlavor().
3786
3787 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3788
3789         * text2.C (setFont): rework using PosIterator (no more recursive)
3790         (setCharFont): no more needed
3791         (setLayout): no more selection cursors fiddling (done by redoCursor)
3792         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3793         destroy remaining ones)
3794
3795 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3796
3797         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3798         * lyxtext.h: ditto
3799         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3800         selection cursors
3801         * lyxfunc.C: adjust
3802         * text3.C: adjust + re-allow multi par depth changes
3803         * textcursor.C: simplify a bit
3804
3805 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3806
3807         * src/buffer.C:
3808         * src/lyxlayout.C:
3809         * src/lyxlayout.h:
3810         * src/lyxtext.h:
3811         * src/output_docbook.C:
3812         * src/output_latex.C:
3813         * src/paragraph.C:
3814         * src/paragraph.h:
3815         * src/sgml.C:
3816         * src/sgml.h:
3817         * src/text2.C: Introducing a number of tags parametrizing various
3818         XML formats that we may want to support
3819
3820 2003-11-25  André Pönitz  <poenitz@gmx.net>
3821
3822         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3823
3824         * lyxtext.h (leftMargin/rightMargin): simplify interface
3825
3826         * rowpainter.C:
3827         * text.C:
3828         * text2.C:
3829         * text3.C: adjust
3830
3831 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3832
3833         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3834         master file to any child files. Fixes bug 546.
3835
3836 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3837
3838         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3839
3840 2003-11-24  André Pönitz  <poenitz@gmx.net>
3841
3842         * rowpainter.C: simplification
3843
3844         * text2.C (updateCounters): remove call to redoParagraph on
3845         changed labels as this is far too expensive.
3846
3847 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3848
3849         * converter.C (convert): fix a crash: this function gets
3850         called with buffer == 0 from importer code.
3851
3852 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3853
3854         * text3.C (cursorPrevious): make sure that we do not compare
3855         iterators form different containers.
3856         (cursorNext): ditto
3857
3858         * rowpainter.C (paintSelection): make sure that we do not compare
3859         iterators from different containers.
3860
3861         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3862         iterators from different ParagraphList containers.
3863         [NEXT] ditto
3864
3865         * text2.C (LyXText): change order of initialization slightly
3866         (operator=): new function. copy all variables except cache_par_
3867         (moveUp): make sure that we do not compare iterators from
3868         different ParagraphList constainers.
3869         (moveDown): ditto
3870
3871         * text.C (firstPar): new function
3872         (lastPar): new function
3873         (endPar): new function
3874
3875         * lyxtext.h: move things around and group public functions, public
3876         variables, private functions, private variables
3877
3878 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3879
3880         * factory.C: change call to InsetERT constructor to avoid
3881         additional invocation of method status
3882         * text2.C (toggleInset): remove redundant update() call
3883         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3884         instead of a Bufferview pointer
3885
3886 2003-11-21  André Pönitz  <poenitz@gmx.net>
3887
3888         * rowpainter.C: simplification
3889
3890 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3891
3892         * text3.C (dispatch): make possible to extend a word/row selection
3893         with the mouse
3894
3895 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3896
3897         * lyxtext.h: x0_,y0_ -> xo_,yo_
3898         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3899         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3900         * rowpainter.C (paintRows): paint full paragraphs
3901
3902 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3903
3904         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3905         screen coordinates)
3906
3907 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3908
3909         * lyxtext.h: add x0_, y0_
3910         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3911         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3912
3913 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3914
3915         * text2.C (setCursorIntern): move the x_target update here *
3916         * text3.C: change some bv() to true/false in calls to
3917         cursorUp/Down/Right/Left
3918         * cursor.C: use helper function.
3919
3920 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3921
3922         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3923         * paragraph_funcs.[Ch]: correct comment
3924         * rowpainter.C: do not paint selections away from bv->cursor()
3925         Fix a long standing selection painting bug.
3926         * text3.C: generalize mouse-selection code to LyXTexts other that
3927         top one
3928         * textcursor.C: do not use y coords if we can use par offsets
3929
3930 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3931
3932         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3933         cursor position after e.g. inset insert)
3934
3935 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3936
3937         * lyxfind.C (replace): adjust to locking removal + some
3938         code simplification
3939
3940 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3941
3942         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3943         of the path
3944
3945 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3946
3947         * lyxlayout.[Ch]:
3948         * output_docbook.C: XML sanitation: new layout
3949         parameters InnerTag and CommandDepth
3950
3951 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3952
3953         * BufferView_pimpl.C:
3954         * factory.C:
3955         * text3.C: Fix the insertion and modification of button-style
3956         insets
3957
3958 2003-11-13  André Pönitz  <poenitz@gmx.net>
3959
3960         * InsetList.[Ch]: remove deleteLyXText
3961
3962         * paragraph.[Ch]: cache beginOfBody position
3963
3964         * Bidi.C:
3965         * text.C:
3966         * text2.C:
3967         * text3.C: remove superfluous update() calls
3968
3969         * vspace.C: cleanup
3970
3971 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3972
3973         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3974         * BufferView.C (fitLockedInsetCursor): remove
3975         * cursor.[Ch] (getDim): add
3976         * text.C (getRowNearY): add faster version
3977         * text3.C: remove some update calls
3978
3979 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3980
3981         * LaTeXFeatures.C:
3982         * LyXAction.C:
3983         * MenuBackend.C:
3984         * MenuBackend.h:
3985         * dispatchresult.h:
3986         * factory.C:
3987         * lfuns.h:
3988         * lyxfunc.C:
3989         * lyxtextclass.C:
3990         * lyxtextclass.h:
3991         * text3.C: The Character Style /XML short element patch.
3992
3993 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3994
3995         * text3.C:
3996         * factory.C: Small step to solving 'unable to insert some insets'
3997         problem
3998
3999 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4000
4001         * cursor.[Ch] (updatePos): new function for updating the y
4002         position of the tip inset
4003         * bufferview_funcs.C (put_selection_at):
4004         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4005
4006 2003-11-11  André Pönitz  <poenitz@gmx.net>
4007
4008         * text.C: remove big comment on invalid Paragraph pointers as it is
4009         not valid anymore
4010
4011 2003-11-11  André Pönitz  <poenitz@gmx.net>
4012
4013         * text_funcs.[Ch]: merge with ...
4014
4015         * text.C: ... this
4016
4017         * lyxtext.h:
4018         * text2.C:
4019         * text3.C: adjust
4020
4021         * Makefile.am: remove text_funcs.[Ch]
4022
4023 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4024
4025         * cursor.C (getPos): return absolute cached y coord
4026
4027         * BufferView_pimpl.C (fitCursor): new simplistic code
4028         (workAreaDispatch): add a fitCursor call
4029
4030 2003-11-10  André Pönitz  <poenitz@gmx.net>
4031
4032         * BufferView.[Ch]:
4033         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4034
4035 2003-11-10  André Pönitz  <poenitz@gmx.net>
4036
4037         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4038         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4039         indicate that the cursor needs to leave an inset
4040
4041         * lyxtext.h: remove inset locking
4042
4043         * cursor.[Ch]: re-implement functionality provided by inset locking
4044
4045         * BufferView.[Ch]:
4046         * BufferView_pimpl.[Ch]:
4047         * LyXAction.C:
4048         * bufferview_funcs.[Ch]:
4049         * factory.C:
4050         * funcrequest.[Ch]:
4051         * iterators.C:
4052         * lyx_cb.C:
4053         * lyxfind.C:
4054         * lyxfunc.C:
4055         * text.C:
4056         * text2.C:
4057         * text3.C:
4058         * undo.C: adjust
4059
4060 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4061
4062         * PosIterator.[Ch]: replace the stack with a vector, add inset
4063         accesor
4064         * iterators.[C]: adjust
4065
4066 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4067
4068         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4069         replaced
4070         * paragraph_funcs.C (readParToken): put the correct id in the
4071         error item, not the id of the top paragraph
4072
4073 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4074
4075         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4076         * bufferview_funcs.C (put_selection_at): use the above
4077
4078 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4079
4080         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4081
4082 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4083
4084         * output_linuxdoc.h:
4085         * output_plaintext.h:
4086         * output.h:
4087         * output_docbook.h: add #include statements
4088
4089 2003-11-05  José Matos  <jamatos@lyx.org>
4090
4091         * output_docbook.[Ch]:
4092         * output_latex.[Ch]:
4093         * output_linuxdoc.[Ch]:
4094         * output_plaintext.[Ch]: New files for output formats.
4095         * output.[Ch]: New file for helper functions.
4096
4097         * buffer.[Ch]:
4098         * paragraph_funcs.[Ch]: output functions moved to new files.
4099
4100         * outputparams.h: rename of latexrunparams.h
4101
4102         * LaTeX.[Ch]:
4103         * buffer.[Ch]:
4104         * bufferlist.[Ch]:
4105         * converter.[Ch]:
4106         * exporter.C:
4107         * paragraph.[Ch]:
4108         * paragraph_funcs.[Ch]:
4109         * paragraph_pimpl.[Ch]:
4110         * tabular.[Ch]: rename ascii to plaintext
4111         and LatexRunParams to OutputParams.
4112
4113 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4114
4115         * iterators.[Ch] (text): require bv argument
4116         * undo.C (recordUndo):
4117         * lyxfunc.C (dispatch):
4118         * bufferview_funcs.C (put_selection_at): adjust
4119
4120 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
4121
4122         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4123
4124 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4125
4126         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4127         nestings
4128
4129 2003-11-04  André Pönitz  <poenitz@gmx.net>
4130
4131         * cursor.[Ch]: restructure
4132
4133         * BufferView.[Ch]:
4134         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4135
4136         * iterators.[Ch] (asCursor): remove
4137
4138         * lfuns.h: remove LFUN_INSET_EDIT
4139
4140         * lyxfunc.C:
4141         * tabular.C:
4142         * text.C:
4143         * text2.C:
4144         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4145
4146 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4147
4148         * lyxfind.[Ch]: complete overhaul
4149         * BufferView_pimpl.C:
4150         * lyxfunc.C: adjust
4151         * paragraph.[Ch] (insert): add
4152
4153 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4154
4155         * BufferView.[Ch]:
4156         * lyxtext.h:
4157         * text.C: remove dead spellcheck code
4158
4159 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4160
4161         * dispatchresult.h: add a val setter
4162
4163         * cursor.C (dispatch): use a tempvar for data_[i]
4164
4165 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4166
4167         * PosIterator.[Ch]: compile fix
4168
4169 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4170
4171         * text.C (cursorPar): deactivate the cursor cache
4172
4173 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4174
4175         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4176
4177 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4178
4179         * text3.C (dispatch): adjust for new DisptchResult semantics.
4180
4181         * lyxfunc.C (dispatch): handle update when return from
4182         Cursor::dispatch, adjust for new DispatchResult semantics.
4183
4184         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4185         DispatchResult(true) mean to not update. Add class functions for
4186         setting dispatched and update, as well as reading.
4187
4188         * cursor.C (dispatch): don't handle update here
4189
4190 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4191
4192         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4193         * trans_mgr.C: adjust
4194
4195         * paragraph_funcs.C (readParToken): exception safety
4196
4197         * lyxvc.h: store the vcs pointer in a scoped_ptr
4198         * lyxvc.C: adjust
4199
4200         * lyxsocket.C (serverCallback): exception safety
4201
4202         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4203
4204         * ispell.C (clone): make it return a auto_ptr
4205
4206         * factory.C (createInset): exception safety
4207         (readInset): exception safety
4208
4209         * bufferlist.C (newBuffer): exception safety
4210
4211         * Thesaurus.C (Thesaurus): use initialization for aik_
4212
4213         * MenuBackend.C (expandToc): exception safety.
4214
4215 2003-11-03  André Pönitz  <poenitz@gmx.net>
4216
4217         * buffer.C:
4218         * buffer.h:
4219         * bufferview_funcs.C: remove getInsetFromId()
4220
4221         * lyxcursor.[Ch]:
4222         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4223
4224         * lyxfunc.C:
4225         * text2.C:
4226         * text3.C: adjust
4227
4228 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4229
4230         * PosIterator.C (distance, advance): new
4231         * bufferview_funcs.[Ch] (put_selection_at): new
4232         * iterators.[Ch] (lockPath): new
4233
4234 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4235
4236         * iterators.[Ch] (asPosIterator): added
4237         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4238         * PosIterator.[Ch]: added
4239
4240 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4241
4242         * text3.C:
4243         * lyxfunc.C:
4244         * cursor.C (dispatch):
4245         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4246
4247         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4248         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4249         contructor, add a class function dispatched. Remove operator>=
4250
4251 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4252
4253         * debug.C: only use the default constructor for debugstream
4254         (lyxerr) here.
4255
4256         * main.C (main): include debug.h and setup the lyxerr streambuf
4257         here.
4258
4259 2003-10-31  José Matos  <jamatos@lyx.org>
4260
4261         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4262
4263         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4264         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4265         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4266         * paragraph_pimpl.C (simpleTeXSpecialC):
4267         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4268         add LatexRunParams argument.
4269
4270         * exporter.C (Export): change call accordingly.
4271
4272         * latexrunparams.h: add new member to take care of the other backends.
4273 2003-10-30  José Matos  <jamatos@lyx.org>
4274
4275         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4276         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4277         factorise code for paragraph output.
4278         * buffer.[Ch]:
4279         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4280         move functions.
4281
4282 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4283
4284         * text3.C (dispatch):
4285         * lyxfunc.C (dispatch):
4286         * cursor.C (dispatch):
4287         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4288
4289         * dispatchresult.h: make the dispatch_result_t ctor explicit
4290
4291 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4292
4293         * sgml.[Ch]:
4294         * buffer.C: small refactoring of docbook stuff
4295
4296 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4297
4298         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4299         meaning.
4300
4301 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4302
4303         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4304         operator dispatch_result_t, and operators for == != and >=
4305
4306         * cursor.C (dispatch): adjust for operator dispatch_result_t
4307         removal. comment out call to update
4308
4309         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4310
4311 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4312
4313         * text3.C:
4314         * text2.C:
4315         * text.C:
4316         * lyxtext.h:
4317         * lyxfunc.C:
4318         * cursor.C:
4319         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4320         (dispatch):
4321
4322         * dispatchresult.h: new file, DispatchResult broken out of
4323         insets/insetbase.h
4324
4325         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4326
4327 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4328
4329         * text.C (rowBreakPoint): put a hack inside #if 0
4330
4331 2003-10-28  André Pönitz  <poenitz@gmx.net>
4332
4333         * lyxtext.h:
4334         * metricsinfo.C:
4335         * paragraph_funcs.C:
4336         * rowpainter.C:
4337         * text.C:
4338         * text2.C: general cleanup (lots of small stuff)
4339
4340 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4341
4342         * text2.C (cursorEnd): simple fix to the "end key goes to one
4343         before the end on last row" bug
4344
4345 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4346
4347         * text.C (backspace): fix the "zombie characters"
4348
4349 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4350
4351         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4352
4353 2003-10-27  André Pönitz  <poenitz@gmx.net>
4354
4355         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4356
4357         * factory.C: handle new InsetPagebreak, InsetLine
4358
4359         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4360         and move handling into new InsetPagebreak, InsetLine
4361
4362         * BufferView_pimpl.C:
4363         * LyXAction.C:
4364         * ParagraphParameters.C:
4365         * ParameterStruct.h:
4366         * lyxfunc.C:
4367         * lyxtext.h:
4368         * paragraph.C:
4369         * paragraph.h:
4370         * paragraph_funcs.C:
4371         * paragraph_pimpl.C:
4372         * rowpainter.C:
4373         * text.C:
4374         * text2.C:
4375         * text3.C: adjust
4376
4377 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4378
4379         * text.C:
4380         * lyxrow_funcs.[Ch]:
4381         * Bidi.C:
4382         * paragraph.C:
4383         * lyxtext.h:
4384         * rowpainter.C:
4385         * text2.C:
4386         * text3.C: remove lastPos uses in favour of Row::endpos
4387
4388 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4389
4390         * undo.C (performUndoOrRedo): fix two crashes by setting a
4391         cursor by hand and reordering some calls. Use bv->lockInset instead
4392         of inset->edit because the latter loses cursor information
4393
4394 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4395
4396         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4397         by Martin
4398         (rowBreakPoint): fix width. change point to point + 1.
4399         Add a missing check.
4400
4401 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4402
4403         * MenuBackend.C:
4404         * lyxfunc.C: fix (at least partly) the problems
4405         with the Nav menu and headers inside branch insets
4406         reported by Kayvan
4407
4408 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4409
4410         * paragraph.C (getChar): add strong asserts
4411
4412         * lyxrow_funcs.C (lastPos): remove hideous hack
4413
4414         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4415         (fill): adjust to that (avoid an infinite loop)
4416
4417 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4418
4419         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4420
4421 2003-10-23  André Pönitz  <poenitz@gmx.net>
4422
4423         * RowList_fwd.h: change list<> to vector<> to gain speed
4424         after suggestion from Alfredo
4425
4426 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4427
4428         * lyxtext.h: move the bidi stuff from here...
4429         * text.C: and here
4430         * text2.C: and here
4431         * Bidi.[Ch]: ... to here
4432
4433 2003-10-23  André Pönitz  <poenitz@gmx.net>
4434
4435         * lyxtext.h:
4436         * text.C (isLastRow, isFirstRow): new functions
4437
4438         * paragraph.h: new width cache member
4439
4440         * rowpainter.C: replace RowList::iterator with Row & where possible
4441
4442         * lyxfunc.C: replace several view()->text with a single call
4443
4444         * toc.C: fix 'unused' warning
4445
4446 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4447
4448         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4449         when woring with stream::pos_type
4450         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4451
4452 2003-10-22  André Pönitz  <poenitz@gmx.net>
4453
4454         * lyxtext.h:
4455         * text.C: use Row & instead of RowList::iterator
4456
4457         * lyxrow.h: rename end() to endpos()
4458
4459         * rowpainter.C:
4460         * text.C:
4461         * text2.C: adjust
4462
4463 2003-10-22  Angus Leeming  <leeming@lyx.org>
4464
4465         * buffer.[Ch] (fully_loaded): new member function, returning true
4466         only when the file has been loaded fully.
4467         Used to prevent the premature generation of previews and by the
4468         citation inset to prevent computation of the natbib-style label.
4469
4470         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4471         templates are all set up.
4472
4473         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4474
4475 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4476
4477         * text.C: fixed an "oops" in the "is a bit silly"
4478         bug fix
4479
4480 2003-10-21  André Pönitz  <poenitz@gmx.net>
4481
4482         * FuncStatus.[Ch]: small stuff, whitespace
4483
4484         * lyxfont.[Ch]: operator<<() for debug reasons
4485
4486         * lyxfunc.C:
4487         * lyxrow_funcs.C:
4488         * lyxtext.h: whitespace, spelling
4489
4490         * paragraph.C: naming of variables
4491
4492         * text.C:
4493         * text2.C: small stuff
4494
4495
4496 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4497
4498         * text.C: (1) finish off the inset display() work;
4499         (2) fix the "is a bit silly" bug (accessing char
4500         past end of par).
4501
4502 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4503
4504         * text.C: re-introduce display() for insets, fixing the
4505         various bugs (stretch of line above, math inset
4506         positioning, ...)
4507
4508 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4509
4510         * text.C (rightMargin): remove spurious semicolon
4511
4512         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4513         1415)
4514
4515 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4516
4517         * text3.C: fix one crash due to wrong cursor def
4518
4519 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4520
4521         * vc-backend.C (scanMaster): make the regex static
4522
4523         * LaTeX.C (scanAuxFile): make the regexs static
4524
4525         * text3.C (doInsertInset, dispatch, dispatch):
4526         * text2.C (cursorUp, cursorDown):
4527         * text.C (selectNextWordToSpellcheck):
4528         * BufferView_pimpl.C (dispatch):
4529         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4530
4531 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4532
4533         * lyxsocket.C: include <cerrno>
4534
4535 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4536
4537         * lyxfunc.C (dispatch): remove textcache stuff
4538
4539         * bufferlist.C (release): remove textcache stuff
4540         (closeAll): ditto
4541
4542         * TextCache.C: delete file
4543         * TextCache.h: delete file
4544
4545         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4546
4547         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4548         delete of the bv_->text.
4549         (resizeCurrentBuffer): remove texcache stuff
4550         (workAreaResize): ditto
4551
4552 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4553
4554         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4555         action.
4556
4557 2003-10-16  André Pönitz  <poenitz@gmx.net>
4558
4559         * lyxrow.[Ch]:
4560         * paragraph.h:
4561         * rowpainter.C:
4562         * text.C:
4563         * text2.C:
4564         * text3.C: speed up by storing y positions per paragraph plus per-row
4565         offset instead of having a 'full' y position in the row.
4566
4567 2003-10-15  André Pönitz  <poenitz@gmx.net>
4568
4569         * iterators.[Ch]:
4570         * iterators.[Ch]:
4571         * undo.[Ch]: make undo aware of inner insets
4572
4573 2003-10-14  Angus Leeming  <leeming@lyx.org>
4574
4575         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4576         static member functions LyX::ref() and LyX::cref.
4577         (lastfiles): new accessor functions for the new lastfiles_ member var.
4578         (addLyXView, views_): add a new LyXView to the list of views_.
4579         (updateInset): loop over all LyXViews to call their own updateInset
4580         member function, returning a pointer to the Buffer owning the inset.
4581
4582         * BufferView_pimpl.C (loadLyXFile):
4583         * MenuBackend.C (expandLastfiles):
4584         * bufferlist.C (MenuWrite, QuitLyX):
4585         lastfiles is no longer a global variable.
4586         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4587
4588         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4589         static function. Access through LyX::cref().emergencyCleanup().
4590
4591 2003-10-14  André Pönitz  <poenitz@gmx.net>
4592
4593         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4594
4595         * undo.[Ch]: restoring part of 'undo in insets'
4596
4597         * Makefile.am:
4598         * undo_funcs.[Ch]: merge with undo.[Ch]
4599
4600         * tabular.C: small cleansing stuff
4601
4602 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4603
4604         * paragraph_funcs.C (readParToken): report unknown insets as error
4605         boxes. Use the outer paragraph as location (also for unknown
4606         tokens).
4607
4608         * factory.C (readInset): do not abort on reading an unknown inset.
4609         Eat it and return 0.
4610
4611 2003-10-13  Angus Leeming  <leeming@lyx.org>
4612
4613         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4614
4615         * lyxrc.C: displayTranslator is now a function,
4616         declared in GraphicsTypes.h.
4617
4618 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4619
4620         * format.C: new placeholder $$a to pass the socket address.
4621
4622         * bufferlist.[Ch]: new function getBufferFromTmp.
4623
4624         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4625           files in the temporary dir.
4626
4627 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4628
4629         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4630
4631         * Makefile.am: add lyxsocket.[Ch].
4632
4633         * lyx_main.C (error_handler): handle SIGPIPE.
4634
4635 2003-10-13  André Pönitz  <poenitz@gmx.net>
4636
4637         * BufferView_pimpl.C:
4638         * lyxtext.h:
4639         * text.C:
4640         * text2.C:
4641         * text3.C:
4642         * undo_funcs.[Ch]: use paroffset_type instead of
4643           ParagraphList::iterators to prevent multiple conversion
4644           (and get a more robust interface)
4645
4646 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4647
4648         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4649         * lyxtext.h: ditto
4650         * text3.C (dispatch): ditto
4651
4652 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4653
4654         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4655         move the onlyfile, use onlyfile instead of foundfile in a couple
4656         of places.
4657
4658         * DepTable.C (update): flush the error stream a bit more
4659
4660 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4661
4662         * lyxserver.C (callback): adjust
4663
4664         * lyxfunc.C (getStatus): add a missing brace in commented code
4665         (ensureBufferClean): reindent
4666         (dispatch): delete version taking a string
4667
4668 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4669
4670         * LaTeX.C (deplog): move found file handlig from here...
4671         (handleFoundFile): .. to new function here.
4672         (deplog): make sure to discover several files mentioned on the
4673         same log line.
4674
4675 2003-10-10  André Pönitz  <poenitz@gmx.net>
4676
4677         * lyxfunc.C:
4678         * lyxtext.h:
4679         * tabular.C:
4680         * text.C:
4681         * text2.C:
4682         * text3.C: fix some of the tabular crashes
4683
4684 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4685
4686         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4687
4688         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4689
4690 2003-10-09  André Pönitz  <poenitz@gmx.net>
4691
4692         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4693
4694         * BufferView.C:
4695         * BufferView_pimpl.C:
4696         * bufferview_funcs.C:
4697         * lyx_cb.C:
4698         * lyxcursor.C:
4699         * lyxfind.C:
4700         * lyxfunc.C:
4701         * lyxtext.h:
4702         * text.C:
4703         * text2.C:
4704         * text3.C:
4705         * text_funcs.[Ch]:
4706         * textcursor.[Ch]:
4707         * undo_funcs.C: adjust
4708
4709 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4710
4711         * text2.C (incrementItemDepth): new function, use a backtracking
4712         algorithm to discover the correct item depth.
4713         (resetEnumCounterIfNeeded): new function, use a backtracking
4714         algorithm to discover if counter reset is needed.
4715         (setCounter): use them. Simplify a bit. Add different labels for
4716         different item depths for itemize.
4717
4718         * paragraph.C (Paragraph): remove initialization of enumdepth
4719         (operator=): ditto
4720
4721         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4722         enumerate and itemize. Change the type of itemdepth to signed char.
4723
4724 2003-10-08  André Pönitz  <poenitz@gmx.net>
4725
4726         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4727           thing assignable.
4728         * text.C:
4729         * text2.C: adjust
4730
4731         * tabular.[Ch]: fix crash after 'row-insert'
4732
4733 2003-10-08  Angus Leeming  <leeming@lyx.org>
4734
4735         Fix doxygen warnings.
4736
4737         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4738         Remove CutAndPaste:: prefix from header file declaration.
4739
4740         * LColor.h (fill): remove LColor:: prefix from declaration.
4741
4742         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4743         use lyx::depth_type rather than Paragraph::depth_type so that
4744         header file and .C file match.
4745
4746         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4747
4748         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4749         * aspell.C: \file aspell_local.C -> \file aspell.C
4750         * gettext.C: \file gettext.C -> \file src/gettext.C
4751         * gettext.h: \file gettext.h -> \file src/gettext.h
4752         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4753         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4754         * text.C: \file text.C -> \file src/text.C
4755
4756         * toc.C: move comment so that doxygen is not confused.
4757
4758 2003-10-07  Angus Leeming  <leeming@lyx.org>
4759
4760         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4761
4762 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4763
4764         * aspell.C:
4765         * aspell_local.h: add forgotten std::string's.
4766
4767 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4768
4769         * LaTeXFeatures.C:
4770         * LyXAction.C:
4771         * factory.C:
4772         * lfuns.h:
4773         * lyxfunc.C:
4774         * text3.C: The Box patch. Fancybox support, minipage, parbox
4775
4776 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4777
4778         * CutAndPaste.h:
4779         * DepTable.h:
4780         * FloatList.h:
4781         * LaTeXFeatures.h:
4782         * ParagraphParameters.h:
4783         * TextCache.h:
4784         * Thesaurus.h:
4785         * bufferlist.h:
4786         * exporter.h:
4787         * importer.h:
4788         * lastfiles.h:
4789         * lyxfind.h:
4790         * lyxfont.h:
4791         * lyxlex.h:
4792         * lyxtextclasslist.h:
4793         * messages.h:
4794         * paragraph.h:
4795         * paragraph_pimpl.C:
4796         * textcursor.h: add <string> and other small fixes to make Lars'
4797         std::string patch compile with STLport.
4798
4799 2003-10-06  Angus Leeming  <leeming@lyx.org>
4800
4801         * LColor.h: Add missing #include <string>.
4802
4803 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4804
4805         * All most all file in all subdirs: Make <string> be the prefered
4806         way of getting to std::string, add using declarations.
4807
4808 2003-10-06  André Pönitz  <poenitz@gmx.net>
4809
4810         * metricsinfo.C: initialize LyXFont before changing attribute.
4811         (fixes the 'math in \emph is upright' bug)
4812
4813 2003-10-06  André Pönitz  <poenitz@gmx.net>
4814
4815         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4816
4817 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4818
4819         * graph.C:
4820         * paragraph_pimpl.C: Small fixes to build using STLport
4821
4822 2003-10-02  André Pönitz  <poenitz@gmx.net>
4823
4824         * lyxfunc.C:
4825         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4826
4827 2003-10-01  André Pönitz  <poenitz@gmx.net>
4828
4829         * factory.C: assert early
4830
4831 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4832
4833         * lyx_main.C: remove the global debug object
4834
4835         * debug.h: adjust for new debugstream
4836
4837         * debug.C: adjust for new debugstream and keep the global debug
4838         object here.
4839
4840 2003-09-22  Angus Leeming  <leeming@lyx.org>
4841
4842         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4843         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4844         an incomplete class LyXFont.
4845
4846 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4847
4848         * factory.C: bug fix in branches
4849
4850 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4851
4852         * lyxfunc.C (processKeySym): adjust
4853         (dispatch): adjust
4854         (dispatch): change arg name from ev to func, adjust
4855         (sendDispatchMessage): ditto
4856
4857         * lyx_main.C (defaultKeyBindings): adjust keybindings
4858         (deadKeyBindings): ditto
4859
4860         * kbsequence.C (addkey): return a FuncRequest
4861
4862         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4863
4864         * kbmap.C (bind): take a FuncRequest as arg, adjust
4865         (read): adjust
4866         (lookup): adjust
4867         (defkey): change to take a FuncRequest as arg, adjust
4868         (findbinding): take a FuncRequest as arg, adjust.
4869
4870         * funcrequest.h (operator=): added
4871
4872         * funcrequest.C (FuncRequest): default kb_action changed from
4873         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4874
4875         * buffer.C (dispatch): simplify
4876         (dispatch): adjust to take a FuncRequest as arg, adjust
4877
4878         * boost.C (assertion_failed): change assertion message slightly
4879
4880         * ToolbarBackend.C (read): simplify
4881
4882         * MenuBackend.C (binding): adjust call to findbinding, add a
4883         message if no binding is found.
4884         (read): simplify
4885         (expandToc): correct by adding a empty FuncRequest
4886
4887         * LyXAction.C: include <boost/assert.hpp>
4888         (isPseudoAction): delete function
4889         (LookupFunc): change name to...
4890         (lookupFunc): this. change return type to FuncRequest.
4891         (getActionName): take kb_action as arg, simplify
4892         (funcHasFlag): add an assert, simplify.
4893
4894 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4895
4896         * toc.C (action): return a FuncRequest, simplify
4897
4898         * lyxfunc.C (processKeySym): adjust
4899         (getStatus): delete version that takes an int.
4900         (getStatus): adjust
4901         (dispatch): delete version that takes action as int
4902         (dispatch): adjust
4903         (sendDispatchMessage): simplify and adjust
4904
4905         * funcrequest.C (getArg): take unsigned int as arg
4906
4907         * ToolbarBackend.C (read): adjust
4908         (add): delete version that takes func as a string.
4909         (getIton): take a FuncRequest as arg
4910
4911         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4912         action.
4913
4914         * MenuBackend.C (MenuItem): add a new construct that only takes a
4915         Kind, simplify the constructor use for submenus.
4916         (add): adjust
4917         (expandLastfiles): adjust
4918         (expandDocuments): adjust
4919         (expandFormats): adjust
4920         (expandFloatListInsert): adjust
4921         (expandFloatInsert): adjust
4922         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4923
4924         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4925         Remove class variables lyx_pseudo_map and lyx_arg_map
4926
4927         * LyXAction.C (searchActionArg): delete function
4928         (getPseudoAction): delete function
4929         (retrieveActionArg): delete function
4930         (LookupFunc): make it return kb_action, simplify.
4931         (getActionName): simplify
4932
4933         * factory.C (createInset): fix new bug
4934
4935 2003-09-19  Angus Leeming  <leeming@lyx.org>
4936
4937         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4938         masterFilename_ parameter in the include inset.
4939
4940         * factory.C (createInset): changes due to the changes to InsetInclude.
4941
4942 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4943
4944         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4945
4946 2003-09-18  Angus Leeming  <leeming@lyx.org>
4947
4948         * buffer.C:
4949         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4950         Inset::fillWithBibKeys.
4951         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4952
4953 2003-09-18  Angus Leeming  <leeming@lyx.org>
4954
4955         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4956         variables.
4957         (ctor): pass and store a 'Buffer const &'
4958         (buffer): new member function.
4959
4960         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4961         '*this' to the LaTeXFeatures ctor.
4962
4963 2003-09-18  Angus Leeming  <leeming@lyx.org>
4964
4965         * LColor.h:
4966         * lyxfont.C:
4967         * lyxfont.h:
4968         * lyxtext.h:
4969         * text.C: rename EnumLColor as LColor_color.
4970
4971 2003-09-18  Angus Leeming  <leeming@lyx.org>
4972
4973         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4974         remove #include "insets/insetbase.h" from cursor.h.
4975
4976 2003-09-18  Angus Leeming  <leeming@lyx.org>
4977
4978         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4979         InsetOld_code to remove #include "inset.h".
4980
4981         * iterators.C: add #include "insets/inset.h"
4982
4983 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4984
4985         * BufferView.C: remove more locking stuff that apparently doesn't
4986         do anything sensible.
4987
4988 2003-09-16  André Pönitz  <poenitz@gmx.net>
4989
4990         * paragraph.[Ch]:
4991         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4992           performance boost.
4993
4994 2003-09-16  Angus Leeming  <leeming@lyx.org>
4995
4996         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4997
4998         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4999         arg/return type.
5000
5001         * paragraph.h: remove #include "lyxfont.h". Forward declare
5002         LyXFont_size.
5003
5004 2003-09-16  Angus Leeming  <leeming@lyx.org>
5005
5006         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5007         of support/textutils.h.
5008         (isWord): move the contents of support/textutils.h's IsWordChar here.
5009
5010         * buffer.C:
5011         * lyxfind.C:
5012         * rowpainter.C:
5013         * text.C:
5014         * text2.C: add #include "paragraph.h".
5015
5016         * rowpainter.C:
5017         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5018
5019 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5020
5021         * main.C:
5022         * lyx_main.C:
5023         * lyx_cb.C:
5024         * buffer.C:
5025         * LaTeX.C: use namespace alias for lyx::support::os
5026
5027 2003-09-16  Angus Leeming  <leeming@lyx.org>
5028
5029         * bufferparams.C:
5030         * bufferview_funcs.C:
5031         * factory.C:
5032         * lyxfunc.C:
5033         * paragraph_pimpl.C:
5034         * rowpainter.C:
5035         * text.C: add #include "LColor.h".
5036
5037 2003-09-16  Angus Leeming  <leeming@lyx.org>
5038
5039         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5040         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5041         return LyXFont &.
5042         Store the FontBits::color variable as an int rather than as an
5043         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5044         file.
5045
5046         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5047         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5048         string calls together.
5049
5050         * lyxrc.C: add #include "LColor.h".
5051
5052 2003-09-15  Angus Leeming  <leeming@lyx.org>
5053
5054         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5055         a cow_ptr.
5056
5057 2003-09-15  Angus Leeming  <leeming@lyx.org>
5058
5059         * LColor.h: add an EnumLColor wrapper for LColor::color.
5060
5061         * lyxfont.[Ch] (color, setColor, realColor):
5062         * lyxtext.h, text.C (backgroundColor):
5063         pass EnumLColor args to/from the functions, rather than LColor::color
5064         ones.
5065
5066         * lyxfont.h:
5067         * lyxtext.h: forward declare EnumLColor.
5068
5069         * lyx_main.C: add #include "LColor.h".
5070
5071 2003-09-15  Angus Leeming  <leeming@lyx.org>
5072
5073         * .cvsignore: add lyx-gtk.
5074
5075 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5076
5077         * Chktex.C
5078         * LaTeX.C
5079         * LaTeXFeatures.C
5080         * ParagraphParameters.C
5081         * Spacing.C
5082         * buffer.C
5083         * bufferparams.C
5084         * bufferview_funcs.C
5085         * chset.C
5086         * counters.C
5087         * funcrequest.C
5088         * lyxfont.C
5089         * lyxgluelength.C
5090         * lyxlength.C
5091         * paragraph.C
5092         * paragraph_funcs.C
5093         * text3.C
5094         * vc-backend.C: remove usage of STRCONV
5095
5096 2003-09-15  Angus Leeming  <leeming@lyx.org>
5097
5098         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5099         explicitly define the color passed to the painter.
5100
5101 2003-09-15  Angus Leeming  <leeming@lyx.org>
5102
5103         * bufferparams.C (BufferParams): reorder member initializers to avoid
5104         compiler warning.
5105
5106 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5107
5108         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5109         * text.C (updateRowPositions): remove an unusual nop
5110
5111 2003-09-12  André Pönitz  <poenitz@gmx.net>
5112
5113         * BufferView_pimpl.C:
5114         * Bullet.C:
5115         * layout.h:
5116         * lyxfunc.C:
5117         * lyxlayout.[Ch]:
5118         * lyxtextclass.C:
5119         * rowpainter.C:
5120         * text.C:
5121         * text2.C:
5122         * Counters.[Ch]: finish the 'automatic counters' job
5123
5124 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5125
5126         * aspell.C: include <boost/assert.cpp> (compile fix)
5127
5128 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5129
5130         * boost.C (assertion_failed): use lyx::support::abort instead of
5131         assert.
5132
5133 2003-09-10  Angus Leeming  <leeming@lyx.org>
5134
5135         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5136         with their _fwd progeny.
5137
5138 2003-09-09  Angus Leeming  <leeming@lyx.org>
5139
5140         134 files throughtout the source tree: replace 'using namespace abc;'
5141         directives with the appropriate 'using abc::xyz;' declarations.
5142
5143 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5144
5145         * boost.C (emergencyCleanup): moved here from LAssert.c
5146         (assertion_failed): new function, called by BOOST_ASSERT
5147
5148         * several files: change Assert to BOOST_ASSERT
5149
5150 2003-09-09  Angus Leeming  <leeming@lyx.org>
5151
5152         * buffer.[Ch]: Add an Impl class and move Buffer's member
5153         variables into it. As a result move several header files out of
5154         buffer.h.
5155
5156         Add header files to lots of .C files all over the tree as a result.
5157
5158 2003-09-09  Angus Leeming  <leeming@lyx.org>
5159
5160         * buffer.[Ch]: make Buffer's member variables private. Add
5161         accessor functions.
5162
5163         Lots of changes all over the tree as a result.
5164
5165 2003-09-08  Angus Leeming  <leeming@lyx.org>
5166
5167         * graph.C: #include <config.h>.
5168
5169 2003-09-08  Angus Leeming  <leeming@lyx.org>
5170
5171         * BranchList.C:
5172         * BufferView.C:
5173         * BufferView_pimpl.C:
5174         * CutAndPaste.C:
5175         * DepTable.C:
5176         * LaTeX.C:
5177         * LaTeXFeatures.C:
5178         * LyXAction.C:
5179         * MenuBackend.C:
5180         * TextCache.C:
5181         * aspell.C:
5182         * buffer.C:
5183         * bufferlist.C:
5184         * changes.C:
5185         * chset.C:
5186         * converter.C:
5187         * counters.C:
5188         * debug.C:
5189         * graph.C:
5190         * ispell.C:
5191         * lyx_cb.C:
5192         * lyxfind.C:
5193         * lyxfunc.C:
5194         * lyxlex_pimpl.C:
5195         * lyxrc.C:
5196         * lyxrow.C:
5197         * paragraph.C:
5198         * rowpainter.C:
5199         * texrow.C:
5200         * text.C:
5201         * text2.C:
5202         * toc.C: remove redundant using directives.
5203
5204 2003-09-07  Angus Leeming  <leeming@lyx.org>
5205
5206         * LaTeXFeatures.h: remove #include "support/types.h".
5207         * ToolbarBackend.h: remove #include <algorithm>.
5208         * changes.h: remove #include <ctime>.
5209         * debug.h: remove #include <iosfwd>.
5210         * graph.h: remove #include "support/std_string.h".
5211         * lyx_main.h: remove #include <csignal>.
5212         * lyxlex_pimpl.h: remove #include <fstream>.
5213         * sgml.h: remove #include <algorithm>, <utility>.
5214         * toc.h: remove #include "support/std_ostream.h".
5215         Add #include <iosfwd>.
5216
5217 2003-09-07  Angus Leeming  <leeming@lyx.org>
5218
5219         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5220
5221         * converter.h: forward declare LatexRunParams.
5222         * encoding.h: remove #include "lyxrc.h".
5223         * lyxtext.h: remove #include "LColor.h".
5224         * lyxtextclass.h: remove #include "support/types.h".
5225         * trans.h: remove #include "tex-accent.h".
5226         * trans_mgr.h: remove #include "tex-accent.h".
5227         * insets/inset.h: remove #include "support/types.h", <vector>.
5228         * insets/insetcollapsable.h: remove #include "LColor.h".
5229         * insets/insetinclude.h: remove #include "dimension.h".
5230         * insets/insetlatexaccent.h: remove #include "dimension.h".
5231         * insets/insetoptarg.h:: remove #include "insettext.h".
5232         * insets/insettext.h: remove #include "dimension.h",
5233         <boost/shared_ptr.hpp>
5234
5235         * insets/renderers.h: add #include "dimension.h".
5236         * insets/updatableinset.h: add #include "support/types.h".
5237
5238         * many .C files: Associated changes.
5239
5240 2003-09-06  Angus Leeming  <leeming@lyx.org>
5241
5242         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5243         one, inside testInvariant.
5244
5245         * PrinterParams.C: new file.
5246         * PrinterParams.[Ch]: move the function bodies out of line.
5247
5248 2003-09-06  Angus Leeming  <leeming@lyx.org>
5249
5250         * ParagraphParameters.h: forward declare ParameterStruct rather than
5251         including its header file.
5252         (depth): moved out-of-line.
5253
5254 2003-09-06  Angus Leeming  <leeming@lyx.org>
5255
5256         * BufferView_pimpl.h:
5257         * kbmap.h:
5258         * kbsequence.h:
5259         * lyxfunc.h: forward declare LyXKeySym rather than
5260         #include "frontends/LyXKeySym.h".
5261
5262         * BufferView_pimpl.C:
5263         * kbmap.C:
5264         * kbsequence.C:
5265         * lyxfunc.C: associated changes.
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         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5275         As a result, can remove the #include "insets/inset.h" from BufferView.h
5276
5277 2003-09-06  Angus Leeming  <leeming@lyx.org>
5278
5279         * buffer_funcs.C:
5280         * buffer.h:
5281         * bufferlist.C:
5282         * BufferView.C:
5283         * bufferview_funcs.C:
5284         * BufferView_pimpl.C:
5285         * CutAndPaste.C:
5286         * lyx_cb.C:
5287         * lyxfunc.C:
5288         * paragraph.h:
5289         * ParagraphParameters.C:
5290         * tabular.C:
5291         * text3.C:
5292         * toc.C:
5293         * undo_funcs.C:
5294         * frontends/controllers/ControlDocument.C:
5295         * insets/insetcaption.C: rearrange the #includes into some sort of
5296         coherent order.
5297
5298         * buffer.h: remove #includes ErrorList.h, undo.h
5299
5300 2003-09-06  Angus Leeming  <leeming@lyx.org>
5301
5302         * support/types.h: add a 'depth_type' typedef, used to store the
5303         nesting depth of a paragraph.
5304
5305         * paragraph.h:
5306         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5307         defining explicitly.
5308
5309         * buffer.h:
5310         * paragraph_funcs.h:
5311         * ParagraphParameters.h:
5312         * sgml.h: use lyx::depth_type rather than Paragraph or
5313         ParameterStruct's depth_type.
5314
5315         * buffer.h
5316         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5317
5318         * BufferView.C:
5319         * BufferView_pimpl.C:
5320         * CutAndPaste.C:
5321         * ParagraphParameters.C:
5322         * buffer_funcs.C:
5323         * bufferlist.C:
5324         * bufferview_funcs.C:
5325         * lyx_cb.C:
5326         * lyxfunc.C:
5327         * tabular.C:
5328         * text3.C:
5329         * toc.C:
5330         * undo_funcs.C:
5331         * frontends/LyXView.C:
5332         * frontends/controllers/ControlDocument.C:
5333         * frontends/controllers/ControlErrorList.C:
5334         * insets/insetbibitem.C:
5335         * insets/insetbranch.C:
5336         * insets/insetcaption.C:
5337         * insets/insetcollapsable.C:
5338         * insets/insetenv.C:
5339         * insets/insetert.C:
5340         * insets/insetfloat.C:
5341         * insets/insetfoot.C:
5342         * insets/insetfootlike.C:
5343         * insets/insetnewline.C:
5344         * insets/insetquotes.C:
5345         * insets/insettabular.C:
5346         * insets/insettext.C:
5347         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5348
5349         * frontends/controllers/ControlChanges.C: #include "changes.h".
5350
5351 2003-09-06  Angus Leeming  <leeming@lyx.org>
5352
5353         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5354         than #including paragraph.h.
5355
5356         * ParagraphList.h:
5357         * RowList.h: deleted. Superfluous.
5358
5359         * CutAndPaste.h:
5360         * iterators.h:
5361         * lyxcursor.h:
5362         * lyxtext.h:
5363         * text_funcs.h:
5364         * undo.h:
5365         * undo_funcs.h:
5366         * insets/inset.h:
5367         * insets/insettext.h: use ParagraphList_fwd.h rather than
5368         ParagraphList.h.
5369
5370         * paragraph.h: don't forward declare ParagraphList.
5371
5372         * buffer.h:
5373         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5374         rather than ParagraphList.h. paragraph.h is still needed for the
5375         Paragraph::depth_type parameters.
5376
5377         * textcursor.h: enable it to compile stand-alone in light of the
5378         above changes.
5379
5380         * bufferview_funcs.C:
5381         * iterators.C:
5382         * lyxfunc.C:
5383         * lyxrow_funcs.C:
5384         * paragraph.C:
5385         * rowpainter.C:
5386         * text.C:
5387         * text2.C:
5388         * text3.C:
5389         * text_funcs.C:
5390         * textcursor.C:
5391         * undo.C:
5392         * frontends/controllers/ControlParagraph.C:
5393         * frontends/controllers/ControlTabular.C:
5394         * insets/insetmarginal.C:
5395         * insets/insetminipage.C:
5396         * insets/insetnote.C:
5397         * insets/insetoptarg.C: add header files needed to compile again.
5398
5399 2003-09-06  Angus Leeming  <leeming@lyx.org>
5400
5401         * RowList_fwd.h: new file, forward-declaring Row rather than
5402         #including lyxrow.h.
5403
5404         * lyxrow_funcs.h:
5405         * lyxtext.h:
5406         * paragraph.h:
5407         * insets/insettext.h: use it instead of RowList.h
5408
5409         * bufferview_funcs.C:
5410         * lyxfunc.C:
5411         * lyxrow_funcs.C:
5412         * paragraph.C:
5413         * rowpainter.C:
5414         * text.C:
5415         * text2.C:
5416         * text3.C: #include "RowList.h".
5417
5418 2003-09-05  Angus Leeming  <leeming@lyx.org>
5419
5420         * factory.C (createInset):
5421         * vspace.C (c-tor): replace sscanf call with an istringstream.
5422         * ispell.C: re-add missing HP/UX headers.
5423         * lyxserver.C: re-add missing  os2 headers.
5424
5425 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5426
5427         * BranchList.C:
5428         * graph.C:
5429         * ispell.C:
5430         * lastfiles.C:
5431         * lyx_cb.C:
5432         * lyxserver.C:
5433         * texrow.C:
5434         * text3.C: re-add missing system headers, needed for 2.95.2.
5435
5436 2003-09-05  Angus Leeming  <leeming@lyx.org>
5437
5438         Changes most place everywhere due to the removal of using directives
5439         from support/std_sstream.h.
5440
5441 2003-09-05  Angus Leeming  <leeming@lyx.org>
5442
5443         Replace LString.h with support/std_string.h,
5444         Lsstream.h with support/std_sstream.h,
5445         support/LIstream.h with support/std_istream.h,
5446         support/LOstream.h with support/std_ostream.h.
5447
5448         Changes resulting throughout the tree.
5449
5450 2003-09-05  Angus Leeming  <leeming@lyx.org>
5451
5452         * sgml.h: ensure that the header file can be compiled stand-alone.
5453         * *.C: strip out redundant #includes. (320 in total.)
5454
5455 2003-09-04  Angus Leeming  <leeming@lyx.org>
5456
5457         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5458         here (from getPackages).
5459
5460         * debug.[Ch]: add a new EXTERNAL tag.
5461
5462 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5463
5464         * text2.C (cursorEnd): simplify
5465         (setCursor): adjust
5466         (getColumnNearX): adjust
5467
5468         * text.C (computeBidiTables): adjust
5469         (fill): adjust
5470
5471         * rowpainter.C (paintChars): adjust
5472         (paintSelection): adjust
5473         (paintChangeBar): adjust
5474         (paintText): adjust
5475
5476         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5477         lastPos instead.
5478         (numberOfSeparators): adjust
5479
5480 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5481
5482         * LyXAction.C:
5483         * box.[Ch]:
5484         * lfuns.h:
5485         * lyxfunc.C:
5486         * text3.C: Restricts the mouse click functionality
5487         of insets like bibtex, include, toc and floatlist to the visible
5488         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5489         up the dialogs. Cursor has to be in front of the inset (i.e.
5490         start of row) for this to function.
5491
5492 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5493
5494         * bufferview_funcs.C (currentState): output row information
5495
5496 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5497
5498         * bufferview_funcs.C (currentState): output paragraph position
5499
5500 2003-09-04  Angus Leeming  <leeming@lyx.org>
5501
5502         * FloatList.h: move out #include "Floating.h".
5503         * LaTeX.h: move out #include "DepTable.h".
5504         * LyXAction.h: move out #include "funcrequest.h".
5505         * buffer.h: move out #include "author.h", "iterators.h".
5506         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5507         * lyx_main.h: move out #include "errorlist.h".
5508         * lyxfunc.h: move out #include "FuncStatus.h".
5509         * lyxtext: move out #include "lyxcursor.h".
5510         * paragraph_pimpl.h: move out #include "counters.h".
5511
5512 2003-09-03  Angus Leeming  <leeming@lyx.org>
5513
5514         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5515         preamble_snippets list, enabling us to add snippets to the preamble
5516         only if the snippet was not there already.
5517
5518 2003-09-04  Angus Leeming  <leeming@lyx.org>
5519
5520         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5521
5522 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5523
5524         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5525         update
5526
5527 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5528
5529         * BranchList.C: point fix, earlier forgotten
5530
5531 2003-09-02  Angus Leeming  <leeming@lyx.org>
5532
5533         * box.C (contains): renamed from 'contained' after a fantastic
5534         amount of hot air.
5535
5536 2003-09-02  John Levon  <levon@movementarian.org>
5537
5538         * BufferView.C:
5539         * lyxcursor.h:
5540         * lyxcursor.C:
5541         * lyxfunc.C:
5542         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5543
5544 2003-09-02  John Levon  <levon@movementarian.org>
5545
5546         * text2.C: simplification of cursorEnd(), including partial
5547         fix for bug 1376
5548
5549 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5550
5551         * buffer.C (readFile): add a space
5552
5553 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5554
5555         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5556
5557 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5558
5559         * buffer.C (readFile): new function, take a filename and a
5560         ParagraphList::iterator
5561         (readFile): adjust
5562         (readFile): adjust, make it private. don't use setStream, make
5563         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5564         always contain the filename.
5565
5566         * BufferView.C (insertLyXFile): simplify and make it work for
5567         gzipped files.
5568
5569 2003-08-30  John Levon  <levon@movementarian.org>
5570
5571         * Makefile.am: fix dist (from Kayvan)
5572
5573 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5574
5575         * most files: change to use const Buffer refs
5576
5577 2003-08-27  André Pönitz  <poenitz@gmx.net>
5578
5579         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5580         on top of ownerPar().
5581
5582 2003-08-27  John Levon  <levon@movementarian.org>
5583
5584         * funcrequest.C: properly initialise POD members
5585
5586 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5587
5588         * lyxtext.h (top_y): move top_y from here
5589         * text.C:
5590         * text2.C:
5591         * text3.C:
5592         * BufferView.[Ch]:
5593         * BufferView_pimpl.[Ch]: to here
5594         * frontends/screen.C:
5595         * insets/insettabular.C:
5596         * insets/insettext.C: adjust
5597         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5598
5599 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5600
5601         * BufferView.[Ch]:
5602         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5603
5604 2003-08-26  André Pönitz  <poenitz@gmx.net>
5605
5606         * paragraph_func.[Ch] (outerPar): new function
5607
5608         * paragraph.C:
5609         * paragraph_funcs.C:
5610         * paragraph_funcs.h:
5611         * paragraph_pimpl.C:
5612         * text2.C: remove Inset::par_owner
5613
5614 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5615
5616         * lyxrow_funcs.C:
5617         * lyxtext.h:
5618         * text.C:
5619         * text2.C: eliminates the needFullRow/display() stuff
5620         altogether, putting the logic in metrics/draw in the insets.
5621
5622 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5623
5624         * text2.C (redoParagraphInternal, redoParagraphs):
5625         * text.C (redoParagraph): add a call to updateRowPositions at the
5626         end of each 'metrics-like' call. Remove all others.
5627         (getRow): remove the 'y-computing' version.
5628         (getRowNearY): do not compute nor return the real y. Solve the
5629         'y < 0' problem and simplify.
5630
5631 2003-08-22  Angus Leeming  <leeming@lyx.org>
5632
5633         * *.[Ch]: clean-up of licence and author blurbs.
5634         Also move config.h out of a few .h files and into a few .C files.
5635
5636 2003-08-22  André Pönitz  <poenitz@gmx.net>
5637
5638         * lyxrow.[Ch]: add x_ and *fill_ members
5639
5640         * lyxtext.h:
5641         * text.C:
5642         * rowpainter.C:
5643         * text2.C: adjust/remove prepareToPrint() calls
5644
5645 2003-08-22  André Pönitz  <poenitz@gmx.net>
5646
5647         * lyxrow.[Ch]: add  end_ member
5648
5649         * lyxrow_funcs.C: use LyXRow::end_
5650
5651         * lyxtext.h (singleWidth): add LyXFont parameter
5652
5653         * rowpainter.C:
5654         * text2.C: adjust LyXText::singleWidth() calls
5655
5656         * text.C (redoParagraph): simplify row breaking logic
5657
5658
5659 2003-08-19  André Pönitz  <poenitz@gmx.net>
5660
5661         * funcrequest.C: initialize button_ member
5662
5663         * text3.C:
5664         * rowpainter.[Ch]: interface consolidation
5665
5666 2003-08-18  André Pönitz  <poenitz@gmx.net>
5667
5668         * BufferView.C:
5669         * BufferView_pimpl.C:
5670         * lyxfind.C:
5671         * paragraph_funcs.C:
5672         * rowpainter.C:
5673         * text3.C: remove LyXScreen::draw() and fitCursor calls
5674
5675         * BranchList.h: remove spurious semicolons
5676
5677         * MenuBackend.C: fix branchlist related crash
5678
5679 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5680
5681         * BranchList.[Ch]:
5682         * InsetList.[Ch]:
5683         * LColor.[Ch]:
5684         * LyXAction.C:
5685         * Makefile.am:
5686         * MenuBackend.[Ch]:
5687         * bufferparams.[Ch]:
5688         * factory.C:
5689         * lfuns.h:
5690         * lyxfunc.C:
5691         * text3.C: implements the 'branch inset'
5692         idea. This allows the output of various versions of a document
5693         from a single source version, selectively outputing or suppressing
5694         output of parts of the text.
5695         This implementation contains a 'branch list editor' in a separate
5696         tab of the document settings dialog. Branches are user definable
5697         and have a "display colour" to distinguish them on-screen.
5698
5699         ColorHandler was somewhat cleaned up.
5700         (1) make possible a dynamically growing LColor list by allowing
5701         the graphic context cache to grow along (vector);
5702         (2) eliminate an IMHO unnecessary step in colour allocation.
5703
5704 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5705
5706         * BufferView_pimpl.C: compile fix
5707
5708 2003-08-15  André Pönitz  <poenitz@gmx.net>
5709
5710         * rowpainter.C: remove extra metrics calls
5711
5712         * lyxtext.h: merge the two constructors into a single one,
5713           pass reference to owner's par list
5714
5715         * BufferView_pimpl.C:
5716         * text.C:
5717         * text2.C: adjust
5718
5719 2003-08-15  André Pönitz  <poenitz@gmx.net>
5720
5721         * lyxrow_funcs.[Ch]:
5722         * lyxtext.h:
5723         * paragraph.h:
5724         * paragraph_funcs.C:
5725         * rowpainter.C:
5726         * text.C:
5727         * text2.C:
5728         * text3.C:
5729         * text_funcs.C: split LyXText::rowlist_ into individual
5730         Paragraph::rows_ chunks
5731
5732         * BufferView.[Ch]:
5733         * BufferView_pimpl.[Ch]:
5734         * lyxfind.C:
5735         * lyxtext.h:
5736         * text3.C: remove toggleSelection()
5737
5738 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5739
5740         * bufferlist.C: beautify two alerts (shorter text of buttons)
5741         * buffer.C: Remove redundant ' ' from message
5742         * tabular.h:
5743         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5744         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5745         rename VALIGN_CENTER to VALIGN_MIDDLE
5746
5747 2003-08-11  André Pönitz  <poenitz@gmx.net>
5748
5749         * lyxtext.h (getPar):
5750         * text.C: new function
5751
5752 2003-08-11  André Pönitz  <poenitz@gmx.net>
5753
5754         * Makefile.am:
5755         * tracer.[Ch]: remove unneeded files
5756
5757         * InsetList.[Ch]: remove resizeInsetsLyXText()
5758
5759         * lyxtext.h:
5760         * text.C:
5761         * text2.C:
5762         * text3.C: merge insertParagraphs() and appendParagraph()
5763         remove breakAgain(), update()
5764
5765         * BufferView_pimpl.[Ch]:
5766         * bufferview_funcs.[Ch]:
5767         * lyxfunc.C:
5768         * paragraph.[Ch]:
5769         * rowpainter.C:
5770         * tabular.C: adjust after text & InsetList changes.
5771
5772 2003-08-08  André Pönitz  <poenitz@gmx.net>
5773
5774         * text.C (insertChar, backspace): replace rowlist fiddling
5775         with rebreak of full par
5776
5777         * lyxtext.h:
5778         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5779         checkParagraph, updateInset): removed
5780
5781 2003-08-07  André Pönitz  <poenitz@gmx.net>
5782
5783         * paragraph.C:
5784         * text3.C: merge some LFUN handlers, remove dead code
5785
5786 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5787
5788         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5789
5790 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5791
5792         * text2.C (DEPM): fix part of bug 1255 and 1256
5793
5794 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5795
5796         * BufferView_pimpl.C (workAreaDispatch): change to use
5797         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5798         that are no mouse related.
5799
5800 2003-08-05  André Pönitz  <poenitz@gmx.net>
5801
5802         * BufferView.[Ch]:
5803         * BufferView_pimpl.[Ch]:
5804         * bufferview_funcs.C:
5805         * text2.C:
5806         * text3.C: rip out "deep update"
5807
5808         * textcursor.[Ch] (last_sel_cursor): remove unused member
5809
5810 2003-08-04  André Pönitz  <poenitz@gmx.net>
5811
5812         * BufferView.[Ch]:
5813         * BufferView_pimpl.[Ch]:
5814         * ParagraphParameters.C:
5815         * bufferview_funcs.C:
5816         * lyx_cb.C:
5817         * lyxfind.C:
5818         * lyxfunc.C:
5819         * text.C:
5820         * text2.C:
5821         * text3.C: replace "complicated" BufferView::update(...) calls with
5822         simpler ones.
5823
5824         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5825
5826 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5827
5828         * Makefile.am (lyx_SOURCES): add paper.h
5829
5830 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5831
5832         * Makefile.am: move things around so that both lyx-qt and
5833         lyx-xforms can be built (according to --with-frontend). Then lyx
5834         is a symbolic link to lyx-[firstfrontend]
5835
5836 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5837
5838         * Always use std::endl with lyxerr
5839
5840 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5841
5842         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5843
5844 2003-08-01  André Pönitz  <poenitz@gmx.net>
5845
5846         * BufferView.[Ch]:
5847         * BufferView_pimpl.[Ch]:
5848         * lyxfunc.C:
5849         * text3.C: merge BufferView::repaint() and BufferView::update()
5850
5851 2003-08-01  José Matos  <jamatos@lyx.org>
5852
5853         * buffer.[Ch]: file_format is no longer a buffer data element.
5854
5855 2003-08-01  André Pönitz  <poenitz@gmx.net>
5856
5857         * BufferView.C:
5858         * lyxtext.h:
5859         * text.C:
5860         * text2.C: make redoParagraph more independent of current cursor
5861
5862         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5863         * text.C:
5864         * text2.C: remove unneeded members
5865
5866 2003-07-30  André Pönitz  <poenitz@gmx.net>
5867
5868         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5869
5870         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5871           create a single function...
5872
5873         * paragraph_funcs.C (moveItem): ... here.
5874
5875         * text.C:
5876           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5877
5878 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5879
5880         * LColor.[Ch]: Add comment and greyedout logical colors.
5881
5882 2003-07-30  André Pönitz  <poenitz@gmx.net>
5883
5884         * tabular.C: don't use Assert too heavily. This crashes where it
5885           shouldn't
5886
5887 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5888
5889         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5890         is disabled (bug 1232)
5891
5892 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5893
5894         * factory.C: limited 'arg' scope
5895
5896 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5897
5898         * factory.C: fixed Note submenu issues
5899
5900 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5901
5902         * factory.C: submenu for Note/Comment/Greyedout
5903
5904 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5905
5906         * lyx_main.C (LyX):
5907         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5908
5909 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5910
5911         * LaTeXFeatures.C:
5912         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5913         greyedout. Patch provided by Jürgen Spitzmüller.
5914
5915 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5916
5917         * kbmap.C (read): fix error message when reading bind files
5918
5919 2003-07-29  Angus Leeming  <leeming@lyx.org>
5920
5921         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5922         certainly does not do what it purports to do. I am doing it, and
5923         us, a favour by killing it.
5924
5925 2003-07-28  José Matos  <jamatos@lyx.org>
5926
5927         * buffer.C (readBody, do_writeFile):
5928         * paragraph.C(readParagraph): \end_document replaces \the_end.
5929
5930 2003-07-29  André Pönitz  <poenitz@gmx.net>
5931
5932         * BufferView.[Ch]:
5933         * BufferView_pimpl.[Ch]:
5934         * lyxfunc.C:
5935         * text2.C:
5936         * text3.C:
5937         * textcursor.[Ch]: remove toggleToggle & Co
5938
5939 2003-07-28  José Matos  <jamatos@fep.up.pt>
5940
5941         * buffer.C (readParagraph):
5942         * params_func (readParToken, readParagraph):
5943         * paragraph.C (write): \layout -> \begin_layout.
5944
5945 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5946
5947         * lyxlex_pimpl.C (setFile): clean up slightly.
5948
5949         * bufferparams.h: add compressed var
5950
5951         * buffer_funcs.C (readFile): adjust for LyXLex change
5952         (newFile): ditto + simplify
5953
5954         * buffer.C (writeFile): handle writing of compressed files
5955
5956         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5957         Check if the file is compressed and set a bufferparm if so.
5958
5959         * Makefile.am (lyx_LDADD): remove explicit -lz
5960
5961 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5962
5963         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5964         makeDocBookFile): put the real LyX version in the first line of
5965         the file
5966
5967         * version.h:
5968         * version.C.in: remove lyx_docversion
5969
5970         * tabular.C (write_attribute): add a template-based version to
5971         write enums properly
5972
5973 2003-07-28  André Pönitz  <poenitz@gmx.net>
5974
5975         * lyxtext.h:
5976         * text.C:
5977         * text2.C:
5978         * text3.C: use doubles again for x-coordinates. They are needed.
5979
5980 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5981
5982         * messages.C (getLocaleDir): use lyx_localedir()
5983
5984         * lyxlex_pimpl.C (setFile): compress stuff
5985
5986         * buffer.C (writeFile): add some compression stuff
5987         (do_writeFile): new func, dont call expliti close... will this
5988         breake anything?
5989
5990         * Makefile.am (lyx_LDADD): add -lz
5991
5992 2003-07-28  José Matos  <jamatos@fep.up.pt>
5993
5994         * buffer.C: increment file format.
5995         * paragraph_funcs (readParagraph, readParToken):
5996         * paragraph.C (readParagraph): add \end_layout.
5997
5998 2003-07-27  Angus Leeming  <leeming@lyx.org>
5999
6000         * Makefile.am: remove special casing for configure-time setting of
6001         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6002
6003         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6004         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6005
6006 2003-07-26  André Pönitz  <poenitz@gmx.net>
6007
6008         * paragraph_func.[Ch]:
6009         * paragraph.C (realizeFont): inline it whereever it is used
6010
6011         * rowpainter.C:
6012         * text.C:
6013         * text2.C:
6014         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6015
6016
6017 2003-07-26  André Pönitz  <poenitz@gmx.net>
6018
6019         *       lyxtext.h:
6020         * text.C:
6021         * text2.C: get rid of LyXText::need_break_row
6022
6023 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6024
6025         * toc.[Ch]: put namespace toc inside namespace lyx
6026
6027         * MenuBackend.C (expandToc2): adjust for lyx::toc
6028         (expandToc): ditto
6029
6030         * lyxfunc.C (dispatch): adjust for lyx::find
6031
6032         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6033         lyx::find instead. Reorganize a bit.
6034         (LyXReplace): rename to replace
6035         (LyXFind): rename to find
6036
6037         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6038         (dispatch): ditto
6039
6040 2003-07-26  André Pönitz  <poenitz@gmx.net>
6041
6042         * text.C (setHeightOfRow): restrict scope of temporary variable
6043
6044         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6045           code (never has been used?)
6046
6047 2003-07-27  Asger Alstrup  <alstrup@local>
6048
6049         * text.C (fill): Optimise algorithm to exploit that we can reuse
6050         the LyXFont for many characters.
6051         (setHeightOfRow): Same thing.
6052         (rowBreakPoint): Same thing.
6053
6054 2003-07-26  Asger Alstrup  <alstrup@local>
6055
6056         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6057
6058         * text.C (singleWidth): Spurious font copying in hot-spot
6059         singleWidth avoided. Reorder tests for arabic for efficiency.
6060
6061         * text.C (fill): handle empty paragraphs better.
6062
6063 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6064
6065         * ispell.C:
6066         * encoding.h: add includes
6067
6068         * lyxrc.C: remove reading of bind files
6069
6070         * lyx_main.C (init): setup bindings and menus only if we have a
6071         gui.
6072
6073         * kbmap.C (read): new method. Do the actual reading of bind
6074         files.
6075
6076         * converter.C (dvipdfm_options):
6077         * bufferparams.C:
6078         * lyxrc.C (read):
6079         (output): adapt PAPER_* enums.
6080
6081         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6082
6083         * bufferparams.h: remove paper-related enums from there
6084
6085         * paper.h: New file. A trivial header file to hold paper-related
6086         enums. It should later expand to contain many paper-related
6087         horrors access.
6088
6089         * lyxrc.C: declare extern displayTranslator
6090
6091 2003-07-27  José Matos  <jamatos@fep.up.pt>
6092
6093         * tabular.[Ch] (linuxdoc): add support for tables and figures
6094         (linuxdoc).
6095
6096 2003-07-27  José Matos  <jamatos@fep.up.pt>
6097
6098         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6099         consistency in both functions.
6100         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6101
6102 2003-07-26  Asger Alstrup  <alstrup@local>
6103
6104         * rowpainter.C (paintRows): Change algorithm to work directly on
6105         the insets rather than asking every character in the document
6106         whether its an inset.
6107
6108 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6109
6110         * buffer.C (openFileWrite): factorize some code
6111
6112 2003-07-26  Angus Leeming  <leeming@lyx.org>
6113
6114         * lyx_cb.C:
6115         * lyx_main.[Ch]: replace occurances of system_tempdir with
6116         os::getTmpDir().
6117
6118 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6119
6120         * rename Inset to InsetOld
6121
6122 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6123
6124         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6125         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6126         which I think is a bit clearer. EDIT is gone, since it was
6127         premature optimisation, and broken for mathed anyway.
6128         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6129         with cursor positioning in insets as well (math insets still do not
6130         work, but that's a different story anyway.) It mysteriously
6131         crashes sometimes with undo in the first paragraph, but I'm fairly
6132         confident that this is a compiler bug.
6133
6134 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6135
6136         * paragraph.C (Paragraph): adjust for new clone return type
6137         (operator==): ditto
6138         (copyIntoMinibuffer): ditto
6139
6140 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6141
6142         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6143         by not having a special case, and always doing a full rebreak of
6144         the document after undo.
6145
6146 2003-07-23  Angus Leeming  <leeming@lyx.org>
6147
6148         * factory.C (createInset): InsetExternal::setParams now takes a
6149         Buffer const * arg.
6150
6151 2003-07-23  Angus Leeming  <leeming@lyx.org>
6152
6153         * factory.C (createInset): changed interface to the external and
6154         graphics mailers' string2params functions.
6155
6156 2003-07-23  Angus Leeming  <leeming@lyx.org>
6157
6158         * factory.C (createInset): pass a
6159         Buffer const * parameter to InsetExternalMailer's string2params.
6160
6161 2003-07-22  John Levon  <levon@movementarian.org>
6162
6163         * Thesaurus.h: include the right aiksaurus header
6164
6165 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6166
6167         * MenuBackend.C (expand): check menu shortcuts unconditionally
6168
6169 2003-07-21  Angus Leeming  <leeming@lyx.org>
6170
6171         * factory.C (createInset): pass a
6172         buffer_path parameter to InsetGraphicsMailer's string2params.
6173
6174 2003-07-21  Angus Leeming  <leeming@lyx.org>
6175
6176         * BufferView_pimpl.C (buffer):
6177         * buffer.C (d-tor):
6178         * lyx_main.C (LyX):
6179         * lyxfunc.C (dispatch):
6180         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6181         rather than the grfx shortcut.
6182
6183 2003-07-21  André Pönitz  <poenitz@gmx.net>
6184
6185         * rowpainter.C: remove unused variables
6186
6187         * tabular_funcs.C:
6188         * tabular_funcs.h: move to tabular.C
6189         * Makefile.am: adjust
6190
6191         * tabular.[Ch]: basic optical cleaning
6192
6193         * author.h: pass references, not values
6194
6195 2003-07-18  André Pönitz  <poenitz@gmx.net>
6196
6197         * lyxtext.h:
6198         * metricsinfo.C:
6199         * metricsinfo.h:
6200         * rowpainter.C:
6201         * text.C:
6202         * text2.C:
6203         * text3.C: two-phase drawing for InsetText and InsetTabular
6204         some float -> int changes.
6205
6206 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6207
6208         * lyx_main.C: fix the fix
6209
6210 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6211
6212         * lyx_main.C: fix a crash in batch mode if no files specified
6213         * converter.C: ws
6214
6215 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6216
6217         * format.[Ch] (papersize): moved to BufferParams
6218         * converter.[Ch] (dvips_options): moved to BufferParams
6219         (dvipdfm_options): moved to anon namespace
6220         * bufferparams.[Ch]: added above functions.
6221
6222 2003-07-17  André Pönitz  <poenitz@gmx.net>
6223
6224         * lyxtext.h:
6225         * rowpainter.C:
6226         * text2.C: don't call inset->update() anymore
6227
6228         * metricsinfo.[Ch]: add convenience constructor
6229
6230 2003-07-16  André Pönitz  <poenitz@gmx.net>
6231
6232         * lyxcursor.[Ch]:
6233         * lyxfunc.[Ch]:
6234         * text.C:
6235         * text2.C: replace the LyXCursor::irow_ member with
6236          on-demand computation of the value
6237
6238 2003-07-16  John Levon  <levon@movementarian.org>
6239
6240         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6241
6242 2003-07-15  André Pönitz  <poenitz@gmx.net>
6243
6244         * text.C:
6245         * text2.C: remove no more needed refresh_row
6246
6247 2003-07-15  André Pönitz  <poenitz@gmx.net>
6248
6249         * lyxtext.h:
6250         * rowpainter.C:
6251         * text2.C:
6252         * text3.C: refresh_status tristate -> need_update bool
6253
6254 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6255
6256         * lyxtext.h (init): remove reinit argument (act as if always true)
6257         * text2.C: adjust to that
6258
6259 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6260
6261         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6262         * text3.C: use it to delete selections in some cases
6263         (bugs 441, 673, 702, 954).
6264
6265 2003-07-14  André Pönitz  <poenitz@gmx.net>
6266
6267         * rowpainter.[Ch]: reduce interface
6268
6269 2003-07-14  André Pönitz  <poenitz@gmx.net>
6270
6271         * BufferView_pimpl.C:
6272         * text2.C: adjust after removing unused BufferView * argument
6273
6274 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6275
6276         * text2.C (init): fix a crash fired on resize
6277
6278 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6279
6280         * buffer.[Ch]: added new closing signal
6281         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6282         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6283         BufferView::Pimpl via the closing the signal
6284
6285 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6286
6287         * buffer.[Ch]: take out all bv-related from buffer
6288         * BufferView.C:
6289         * BufferView_pimpl.[Ch]: connect to new signals
6290         * CutAndPaste.C: removed useless asserts
6291         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6292         * lyxvc.[Ch]:
6293         * vc-backend.[Ch]:
6294         * lyxfunc.C: moved view-related funciontality from vc here
6295         * paragraph.C: removed outdated comments
6296         * text.C: ws
6297
6298 2003-07-10  André Pönitz  <poenitz@gmx.net>
6299
6300         * BufferView_pimpl.C:
6301         * tabular.h:
6302         * tabular_funcs.C:
6303         * text.C:
6304         * text2.C: remove InsetText::InnerCache, clean up consequences
6305
6306 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6307
6308         * ispell.C: fix two typos in error messages
6309
6310 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6311
6312         * Extend Note inset to other forms of annotation like Comment
6313         and Greyedout. Right button click gives dialog.
6314
6315         Files modified or added (+):
6316
6317         * insetnote.[Ch]
6318         * FormNote.[Ch]      +
6319         * ControlNote.[Ch]   +
6320         * form_note.fd       +
6321         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6322         frontends/controllers
6323         * xforms/Dialogs.C
6324         * factory.C
6325
6326 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6327
6328         * aspell.C: add missing namespace lyx::support
6329
6330 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6331
6332         * BufferView.[Ch] (newFile): Add
6333         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6334         * LaTeX.[Ch] (message): added this signal and use it
6335         * buffer.[Ch] (busy, message): added these signals and use them
6336         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6337         * converter.C:
6338         * exporter.C:
6339         * format.C:
6340         * importer.C: use buffer signals instead of direct bv calling
6341         * lyx_cb.[Ch] (ShowMessage): removed
6342         * lyx_main.C:
6343         * lyxfunc.C:
6344         * paragraph_funcs.C:
6345         * text2.C: use buffer signals
6346
6347 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6348
6349         * introduce namespace lyx::graphics
6350
6351 2003-07-02  André Pönitz  <poenitz@gmx.net>
6352
6353         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6354
6355 2003-07-01  André Pönitz  <poenitz@gmx.net>
6356
6357         * text.C:
6358         * text2.C:
6359         * text3.C:
6360         * text_funcs.[Ch]:
6361         * textcursor.h:
6362         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6363           text*.C to text_func.C
6364
6365 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6366
6367         * introduce namespace lyx::support
6368
6369 2003-06-30  André Pönitz  <poenitz@gmx.net>
6370
6371         * Chktex.C:
6372         * funcrequest.C:
6373         * lyxtext.h:
6374         * text.C: re-enable --with-included-string
6375
6376 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6377
6378         * textcursor.C: add <config.h>
6379
6380         * text.C (getWord): remove const from word_location arg
6381
6382         * lyxvc.C (getLogFile): fix const type order
6383
6384         * lyxtext.h: remove const from word_location arg, add arg name
6385
6386         * lyxlayout.h: currect type on labeltype.
6387
6388         * importer.C: correct \file
6389
6390         * converter.C (intToFormat): use std:: on ret val, ws changes
6391
6392         * bufferlist.h: correct \file
6393
6394         * buffer.C (makeLinuxDocFile): fix const type order
6395         (makeDocBookFile): ditto
6396         (fillWithBibKeys): use std:: on stdlib args.
6397
6398         * CutAndPaste.C: fix authors.
6399         (availableSelections): use std:: on return vector
6400
6401 2003-06-27  André Pönitz  <poenitz@gmx.net>
6402
6403         * BufferView_pimpl.C:
6404         * bufferview_funcs.C:
6405         * lyxcursor.C:
6406         * lyxcursor.h:
6407         * lyxfunc.C:
6408         * lyxtext.h:
6409         * rowpainter.C:
6410         * text.C:
6411         * text2.C:
6412         * text3.C: remove LyXCursor::row_ member
6413
6414         * lyxtext.h:
6415         * text.C: rename fullRebreak() to partialRebreak() and implement
6416           a fullRebreak() that really bereks fully
6417
6418         * textcursor.h: new struct for cursor-related data
6419
6420 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6421
6422         * lyx_main.C (LyX): get full path of document loaded on the
6423         command line
6424
6425 2003-06-26  André Pönitz  <poenitz@gmx.net>
6426
6427         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6428           remove unused/broken operator>,<,>=.
6429
6430         *       text.C: remove only use of broken operator<= in an Assert().
6431
6432 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6433
6434         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6435         moved errorlist_.clear to showErrorList
6436
6437 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6438
6439         * converter.C (scanLog, runLaTeX):
6440         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6441         move the bv->showErrorList call to the callers
6442         * lyxfunc.C: i.e. here...
6443         * text2.C: and here
6444         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6445         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6446         namespace, the second to...
6447         * buffer_funcs (BufferFormat, parseErrors): added
6448         * errorlist.C (ErrorList(TeXErrors const &)): removed
6449
6450 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6451
6452         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6453
6454 2003-06-24  "Garst R. Reese" <reese@isn.net>
6455
6456         * debug.C: fix typo
6457
6458 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6459
6460         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6461
6462         * version.C.in: change docversion to 1.4
6463
6464 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6465
6466         * buffer.C: fix a bug just introduced
6467
6468 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6469
6470         * buffer.[Ch]: added the parseError signal and use it, removed
6471         sgmlError
6472         * BufferView.[Ch] (addError): moved to ...
6473         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6474         to the Buffer::parseError signal to catch (guess what) parse errors
6475         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6476
6477 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6478
6479         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6480         ability to create a buffer and to return an existing one from
6481         the list. Moved these functions to...
6482         * buffer_funcs.[Ch]: added
6483         * BufferView.[Ch] (loadLyXFile): added
6484         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6485         job removed from bufferlist::loadLyXFile.
6486         * buffer.C (setReadOnly): make it work without view
6487         (i.e added an if (users))
6488
6489 2003-06-19  Angus Leeming  <leeming@lyx.org>
6490
6491         * lfuns.h:
6492         * LyXAction.C (init):
6493         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6494         with LFUN_DIALOG_SHOW <name> <data>.
6495
6496 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6497
6498         * CutAndPaste.C (availableSelections): small compilation fix for
6499         ancient (gcc 2.9x) compilers
6500
6501 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6502
6503         * text3.C (cursorNext): add tmp var
6504
6505         * text2.C (updateCounters): for function calling out of for clause
6506         (replaceSelectionWithString): ditto
6507         (insertStringAsParagraphs): ditto
6508         (getColumnNearX): add tmp var
6509         (setCursorFromCoordinates): add tmp var
6510         (cursorDownParagraph): add tmp var
6511         (deleteEmptyParagraphMechanism): add tmp var
6512
6513         * text.C (insertChar): add tmp var
6514
6515         * rowpainter.C (paintDepthBar): add tmp var
6516
6517         * CutAndPaste.C (availableSelections): potentially check all
6518         paragraphs in a cut to fill the shown strings.
6519
6520 2003-06-18  André Pönitz  <poenitz@gmx.net>
6521
6522         * kbmap.[Ch]: use vector<> instead of list<>
6523
6524 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6525
6526         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6527         pasteSelection with index
6528
6529         * text2.C (pasteSelection): modify, call pasteSelection with index
6530
6531         * paragraph.C (asString): reimplement version with no interval to
6532         call the one with interval.
6533
6534         * lyxtext.h: add index arg to pasteSelection
6535
6536         * MenuBackend.C (MenuItem): handle PasteRecent
6537         (Menu::read::Menutags): add md_pasterecent
6538         (read): handle it
6539         (expandPasteRecent): new function
6540         (expand): use it
6541
6542         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6543
6544         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6545         the limited stack
6546         (availableSelections): new function
6547
6548 2003-06-17  Angus Leeming  <leeming@lyx.org>
6549
6550         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6551
6552 2003-06-17  Angus Leeming  <leeming@lyx.org>
6553
6554         * lfuns.h:
6555         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6556
6557         * lyxfunc.C (dispatch): invoke it.
6558
6559 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6560
6561         * iterators.C (operator++, ParPosition): reintroduce some
6562         const_cast for the benefit of older compilers.
6563
6564 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6565
6566         * text3.C (dispatch): do not modify clipboard when doing
6567         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6568         LFUN_DELETE_SKIP on a selection selection
6569
6570 2003-06-16  André Pönitz  <poenitz@gmx.net>
6571
6572         * BufferView.C:
6573         * buffer.C:
6574         * buffer.h:
6575         * paragraph.C:
6576         * tabular.[Ch]: IU of clone() and getLabelList();
6577
6578 2003-06-13  André Pönitz  <poenitz@gmx.net>
6579
6580         * tabular.h: compactification
6581
6582 2003-06-12  André Pönitz  <poenitz@gmx.net>
6583
6584         * tabular.C:
6585         * tabular.h:
6586         * tabular_funcs.h: some renaming plus whitespace
6587
6588 2003-06-12  André Pönitz  <poenitz@gmx.net>
6589
6590         * BufferView.C:
6591         * BufferView_pimpl.C:
6592         * CutAndPaste.C:
6593         * buffer.C:
6594         * iterators.[Ch]:
6595         * lyxfunc.C:
6596         * text.C:
6597         * toc.C: Return a Paragraph & for ParIterator::operator*()
6598
6599 2003-06-11  John Levon  <levon@movementarian.org>
6600
6601         * lyx_main.C:
6602         * ToolbarBackend.h:
6603         * ToolbarBackend.C: add "Toolbars" section and
6604         put the flags there
6605
6606 2003-06-10  Angus Leeming  <leeming@lyx.org>
6607
6608         * lfuns.h:
6609         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6610
6611         * lyxfunc.C (dispatch): invoke it.
6612
6613 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6614
6615         * main.C: protect <ios> with HAVE_IOS
6616         (main): protect sync_with_stdio with HAVE_IOS
6617
6618 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6619
6620         * text2.C (cutSelection): adjust
6621         (pasteSelection): adjust
6622
6623         * messages.C: handle get of empty string
6624
6625         * main.C (main): use sync_with_stdio(false)
6626
6627         * lyxfunc.C (dispatch): adjust
6628
6629         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6630         (WriteAs): remove unneeded BufferView arg.
6631
6632         * bufferparams.h: use correct types on papersize, papersize2 and
6633         paperpackage.
6634
6635         * bufferparams.C (readToken): adjust for type
6636         (writeLaTeX): add missing cases to switch.
6637
6638         * bufferlist.C (quitWriteBuffer): adjust
6639         (close): adjust
6640
6641         * buffer.C (asciiParagraph): remove some commented code.
6642
6643         * CutAndPaste.C: remove current_view extern variable.
6644         (cutSelection): add BufferParams arg.
6645         (eraseSelection): add BufferParams arg.
6646         (pasteSelection): add Buffer const & arg
6647
6648 2003-06-07  John Levon  <levon@movementarian.org>
6649
6650         * buffer.C:
6651         * paragraph_funcs.C:
6652         * paragraph_pimpl.C:
6653         * text.C:
6654         * text2.C:
6655         * paragraph.h:
6656         * paragraph.C: allow InsetERT to freely space lines,
6657         and some consolidation of code
6658
6659 2003-06-06  José Matos  <jamatos@fep.up.pt>
6660
6661         * buffer.C (makeDocBookFile): fix bug #821
6662
6663 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6664
6665         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6666
6667 2003-06-04  Angus Leeming  <leeming@lyx.org>
6668
6669         * buffer.C: bump format to 224.
6670
6671 2003-06-05  André Pönitz  <poenitz@gmx.net>
6672
6673         * text2.C (redoParagraphs): remove two const_cast<>
6674
6675 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6676
6677         * ParagraphList.h: remove last remnants of NO_STD_LIST
6678
6679 2003-06-03  Angus Leeming  <leeming@lyx.org>
6680
6681         * factory.C (createInset): small change to the way InsetExternal's params
6682         are set.
6683
6684 2003-06-04  André Pönitz  <poenitz@gmx.net>
6685
6686         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6687
6688         * paragraph_pimpl.h:
6689         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6690
6691         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6692
6693         * undo_funcs.C: make some simple cases of undo work again
6694
6695 2003-06-03  John Levon  <levon@movementarian.org>
6696
6697         * ispell.C: HPUX doesn't have sys/select.h
6698         (from Albert Chin)
6699
6700 2003-06-03  John Levon  <levon@movementarian.org>
6701
6702         * CutAndPaste.C: update tabular and include inset
6703         buffer references
6704
6705         * buffer.h:
6706         * paragraph.h:
6707         * paragraph.C: remove owningBuffer(), don't pass Buffer
6708         to clone()
6709
6710         * factory.C: insetGraphicsParams changed
6711
6712 2003-06-02  John Levon  <levon@movementarian.org>
6713
6714         * LyXAction.C:
6715         * factory.C:
6716         * lfuns.h:
6717         * lyxfunc.C:
6718         * text3.C: remove insetparent
6719
6720 2003-06-02  John Levon  <levon@movementarian.org>
6721
6722         * buffer.h:
6723         * buffer.C: fix inset_iterator.end(), move out of line
6724         (bug 1149)
6725
6726 2003-06-01  John Levon  <levon@movementarian.org>
6727
6728         * text3.C: use a proper cut/paste when doing inset
6729         insert (from Jürgen Spitzmüller)
6730
6731 2003-06-01  John Levon  <levon@movementarian.org>
6732
6733         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6734
6735 2003-05-30  André Pönitz  <poenitz@gmx.net>
6736
6737         * rowpainter.C: unify second drawing phase
6738
6739 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6740
6741         * trans_mgr.C: remove one case of current_view
6742
6743         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6744
6745         * paragraph_funcs.h: remove paragraph.h include
6746
6747         * paragraph.h: delete NO_STD_LIST stuff
6748
6749         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6750
6751         * buffer.h: remove paragraph.h include
6752
6753         * ParagraphList.C: delete file
6754
6755         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6756
6757         * toc.C (getTocList): adjust
6758
6759         * paragraph_pimpl.C (validate): adjust
6760
6761         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6762
6763         * paragraph.C (Paragraph): adjust
6764         (getPositionOfInset): use const_iterator, adjust
6765         (bibitem): use const_iterator, adjust
6766         (setInsetOwner): adjust
6767
6768         * iterators.C (operator++): adjust
6769
6770         * InsetList.[Ch]: Replace selfmade iterator with standard
6771         vector::iterator also introduce const_iterator. Remove getPos,
6772         getInset and setInset from InsetTable. Adjust accordingly.
6773
6774         * BufferView.C (lockInset): adjust
6775         (ChangeInsets): adjust
6776
6777         * tabular.[Ch]: delete commented same_id functions
6778
6779 2003-05-28  John Levon  <levon@movementarian.org>
6780
6781         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6782
6783 2003-05-28  André Pönitz  <poenitz@gmx.net>
6784
6785         * metricsinfo.[Ch]: remove 'fullredraw' member
6786
6787 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6788
6789         * lyxtextclass.C (operator): remove caching.
6790
6791 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6792
6793         * text3.C: adjust
6794
6795         * text2.C (cursorBottom): adjust
6796         (setCounter): use ParagraphList::find, adjust
6797
6798         * text.C (workWidth): use ParagraphList::find, adjust
6799
6800         * lyxcursor.C (LyXCursor): adjust
6801
6802         * buffer.C (inset_iterator): adjust
6803
6804         * ParagraphList.h: make iterator(value_type) private, make
6805         ParagraphList a friend of iterator.
6806
6807         * ParagraphList.C (find): new function
6808
6809         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6810
6811 2003-05-27  André Pönitz  <poenitz@gmx.net>
6812
6813         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6814
6815 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6816
6817         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6818
6819 2003-05-26  John Levon  <levon@movementarian.org>
6820
6821         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6822
6823 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6824
6825         * remove same_id from function signatures, adjust.
6826
6827 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6828
6829         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6830
6831         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6832
6833         * paragraph.C (Paragraph): get rid of same_ids parameter
6834
6835         * ParagraphList.C (insert): adjust
6836         (push_back): adjust
6837
6838 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6839
6840         * paragraph_funcs.C (breakParagraph): adjust
6841         (breakParagraphConservative): adjust
6842
6843         * buffer.C (readParagraph): adjust
6844
6845         * ParagraphList.C (insert): take a reference instead of a pointer
6846         (insert): adjust
6847
6848         * paragraph.[Ch] (id): new function
6849
6850         * bufferlist.C (newFile): adjust
6851
6852         * ParagraphList.C (ParagraphList): adjust
6853         (assign): adjust
6854         (push_back): take a reference instead of a pointer.
6855
6856         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6857
6858         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6859         instead.
6860
6861         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6862         set else use old code.
6863
6864         * ParagraphList.C: remove all NO_NEXT code and only compile this
6865         code of NO_STD_LIST is set.
6866
6867 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6868
6869         * BufferView_pimpl.C:
6870         * TextCache.C:
6871         * TextCache.h:
6872         * bufferlist.C:
6873         * errorlist.h:
6874         * format.C:
6875         * format.h:
6876         * graph.C:
6877         * lyxfunc.C:
6878         * lyxrc.C:
6879         * graphics/GraphicsConverter.C:
6880         * graphics/PreviewLoader.C: header adjustment
6881
6882 2003-05-23  Angus Leeming  <leeming@lyx.org>
6883
6884         * LaTeXFeatures.[Ch] (useBabel): new method.
6885         * bufferparams.C (writeLaTeX): use it.
6886
6887 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6888
6889         * ParagraphList.h (set): remove unused function.
6890
6891 2003-05-23  André Pönitz  <poenitz@gmx.net>
6892
6893         * BufferView.C:
6894         * BufferView_pimpl.C:
6895         * buffer.C:
6896         * buffer.h:
6897         * lyxfunc.C:
6898         * undo_funcs.C: setUndo reworked
6899
6900         * iterators.[Ch]: add access to topmost ParagraphList
6901
6902         * lyxtext.[Ch] (workWidth): add a const
6903
6904 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6905
6906         * texrow.[Ch] (increasePos): remove function
6907         * exporter.C (export): removed unused var and outdated comment
6908
6909 2003-05-23  Angus Leeming  <leeming@lyx.org>
6910
6911         * latexrunparams.h: rename fragile as moving_arg.
6912         * paragraph.C (simpleTeXOnePar): ditto.
6913         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6914
6915 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6916
6917         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6918         (createUndo): ditto
6919         (textUndoOrRedo): comment out a currently unused var.
6920
6921         * paragraph.h (NO_NEXT): enable NO_NEXT
6922
6923         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6924
6925         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6926
6927         * exporter.C (Export): adjust for removeAutoInsets removal.
6928
6929         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6930
6931         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6932
6933         * BufferView.[Ch] (removeAutoInsets): delete function
6934
6935 2003-05-22  Angus Leeming  <leeming@lyx.org>
6936
6937         * latexrunparams.h: add a free_spacing variable.
6938
6939         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6940         to pass moving_arg, as the data is stored in runparams.fragile.
6941
6942         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6943         to Inset::latexOptional or to simpleTeXOnePar.
6944
6945         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6946         free_spacing arg to Inset::latexOptional.
6947
6948         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6949         free_spacing arg.
6950
6951 2003-05-22  Angus Leeming  <leeming@lyx.org>
6952
6953         * latexrunparams.h: add fragile and use_babel variables.
6954
6955         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6956         * buffer.C (makeLaTeXFile): store this returned value in
6957         runparams.use_babel, thus passing it to the inset::latex methods.
6958
6959         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6960         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6961
6962         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6963         longer has a fragile arg, as it is stored in runparams.fragile.
6964
6965         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6966         moving_arg parameter as the data is stored in runparams.fragile.
6967
6968         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6969         a fragile parameter as the data is stored in runparams.fragile.
6970
6971 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6972
6973         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6974
6975 2003-05-22  Angus Leeming  <leeming@lyx.org>
6976
6977         * latexrunparams.h: add a 'bool nice' which defaults to false.
6978
6979         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6980         now encapsulated within runparams.
6981
6982         * bufferlist.C (updateIncludedTeXfiles):
6983         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6984
6985 2003-05-22  Angus Leeming  <leeming@lyx.org>
6986
6987         * latexrunparams.h: new file containing struct LatexRunParams.
6988         * Makefile.am: add new file.
6989
6990         * LaTeX.[Ch] (c-tor, run):
6991         * buffer.[Ch] (makeLaTeXFile):
6992         * bufferlist.[Ch] (updateIncludedTeXfiles):
6993         * converter.C (convert, scanLog):
6994         * converter.[Ch] (runLaTeX):
6995         * exporter.C (Export):
6996         * paragraph.[Ch] (simpleTeXOnePar):
6997         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6998         * paragraph_funcs.[Ch] (latexParagraphs):
6999         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7000         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7001         pass around a LatexRunParams parameter.
7002
7003 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7004
7005         * paragraph.[Ch]: remove unused constructor
7006
7007         * ParagraphList.C (erase): new function, taking two iterators
7008
7009 2003-05-22  André Pönitz  <poenitz@gmx.net>
7010
7011         * undo_funcs.C: remove duplicated code
7012
7013         * iterator.[Ch]: operator=
7014
7015 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7016
7017         * tabular.C (SetMultiColumn): ws changes
7018
7019         * rowpainter.C (paintFirst): get rid of a ->previous
7020
7021         * lyx_cb.C (getPossibleLabel): parlist simplification
7022
7023         * BufferView.C (ChangeInsets): simplify slightly.
7024
7025 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7026
7027         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7028         * lfuns.h: new LFUN_SPACE
7029         * lyxfunc.C: protected space has a new lfun
7030         * paragraph_funcs.C: read new space insets
7031         * text3.C:
7032         * factory.C: handle new space insets
7033
7034 2003-05-22  André Pönitz  <poenitz@gmx.net>
7035
7036         * BufferView.C:
7037         * BufferView_pimpl.C:
7038         * buffer.[Ch]:
7039         * lyxfunc.C:
7040         * undo_funcs.C: return a ParIterator from getParFromID.
7041
7042         * iterators.[Ch]: add two const's
7043
7044 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7045
7046         * toc.C (getTocList): adjust
7047
7048         * iterators.[Ch]: rework for parlist
7049
7050         * buffer.C (par_iterator_begin): adjust
7051         (par_iterator_end): adjust
7052
7053         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7054
7055         * BufferView.C (removeAutoInsets): adjust
7056         (ChangeInsets): adjust
7057
7058 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7059
7060         * text.C (top_y): fix bug 1110
7061
7062 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7063
7064         * errorlist.[Ch]: added
7065         * buffer.C:
7066         * BufferView.[Ch]:
7067         * BufferView_pimpl.C:
7068         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7069         instead
7070
7071 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7072
7073         * Makefile.am: ensure that lyx is relinked upon changes to the
7074         various "convenience" libs.
7075
7076 2003-05-20  Angus Leeming  <leeming@lyx.org>
7077
7078         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7079         files are compiled in alphabetical order again.
7080
7081         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7082
7083 2003-05-19  Angus Leeming  <leeming@lyx.org>
7084
7085         * gettext.[Ch]: remove "char const * _(char const *)".
7086
7087 2003-05-19  André Pönitz  <poenitz@gmx.net>
7088
7089         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7090
7091         * Makefile.am:
7092         * BufferView.C:
7093         * DepTable.h:
7094         * LaTeXFeatures.C:
7095         * buffer.C:
7096         * lyxfont.C:
7097         * lyxlex.h:
7098         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7099
7100 2003-05-19  André Pönitz  <poenitz@gmx.net>
7101
7102         * buffer.C:
7103         * lyxlayout.[Ch]:
7104         * lyxtextclass.[Ch]:
7105         * paragraph.C:
7106         * paragraph_funcs.[Ch]:
7107         * text2.C:
7108         * text3.C: more insetenv work
7109
7110 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7111
7112         * ParagraphParameters.C (params2string): small bug fixed
7113
7114 2003-05-16  André Pönitz  <poenitz@gmx.net>
7115
7116         * debug.C:
7117         * bufferview_funcs.C: patch from Kornel Benko to prevent
7118           crash when _(...) is called twice in a statement
7119
7120 2003-05-16  André Pönitz  <poenitz@gmx.net>
7121
7122         * BufferView.C:
7123         * lyxfunc.C:
7124         * text.C:
7125         * text2.C:
7126         * text3.C:
7127         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7128
7129 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7130
7131         * lyx_main.C (init): remove spurious static_cast
7132
7133 2003-05-14  André Pönitz  <poenitz@gmx.net>
7134
7135         * BufferView.C: fix format string
7136
7137 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7138
7139         * BufferView.[Ch] (insertErrors): removed
7140         * BufferView.[Ch] (showErrorList): added
7141         * buffer.C (runChkTeX):
7142         * converter.C (scanLog): call showErrorList instead of inserterrors
7143
7144 2003-05-13  André Pönitz  <poenitz@gmx.net>
7145
7146         * BufferView_pimpl.C:
7147         * buffer.C:
7148         * bufferview_func.C:
7149         * MenuBackend.C:
7150         * lyxfunc.C:
7151         * lyxrc.C:
7152         * tex-accent.C:
7153         * text3.C:
7154         * toc.C:
7155         * tabular_funcs.h: tostr() from its own header
7156
7157         * ParagraphParameters.C:
7158         * ToolbarBackend.C:
7159         * bufferparams.C:
7160         * format.C:
7161         * lyxlex_pimpl.C:
7162         * text3.C: STRCONV()
7163
7164 2003-05-12  André Pönitz  <poenitz@gmx.net>
7165
7166         * BufferView.C:
7167         * BufferView_pimpl.C:
7168         * CutAndPaste.C:
7169         * LaTeX.C:
7170         * LaTeXFeatures.C:
7171         * ParagraphParameters.C:
7172         * buffer.C:
7173         * bufferlist.C:
7174         * bufferparams.C:
7175         * bufferview_funcs.C:
7176         * converter.C:
7177         * counters.C:
7178         * debug.C:
7179         * exporter.C:
7180         * format.C:
7181         * importer.C:
7182         * lyx_cb.C:
7183         * lyx_main.C:
7184         * lyxfont.C:
7185         * lyxfunc.C:
7186         * lyxvc.C:
7187         * paragraph.C:
7188         * paragraph_funcs.C:
7189         * tabular.C:
7190         * tabular_funcs.C:
7191         * text2.C:
7192         * text3.C:  boost::format -> bformat  all over the place
7193
7194
7195 2003-05-09  André Pönitz  <poenitz@gmx.net>
7196
7197         * LColor.[Ch]: Pimpl the #include <map> away
7198
7199 2003-05-09  John Levon  <levon@movementarian.org>
7200
7201         * bufferlist.C: never remove emergency saves
7202
7203 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7204
7205         * Makefile.am: better lib building
7206
7207 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7208
7209         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7210         instead.
7211         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7212         (simpleTeXSpecialChars): adjust
7213         (simpleTeXSpecialChars): adjust
7214         * paragraph.C (simpleTeXOnePar): adjust
7215         * buffer.C (makeLaTeXFile): adjust
7216
7217         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7218
7219         * text2.C (changeDepth): parlist cleanup
7220         (getColumnNearX): ditto
7221
7222         * rowpainter.C (getLabelFont): parlist cleanup
7223
7224         * bufferlist.C (newFile): parlist cleanup
7225
7226         * CutAndPaste.C (eraseSelection): parlist cleanup
7227
7228         * BufferView_pimpl.C (trackChanges): parlist cleanup
7229         (dispatch): ditto
7230
7231         * BufferView.C (lockInset): parlist cleanup.
7232         (ChangeInsets): ditto
7233
7234 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7235
7236         * CutAndPaste.h: Update file header.
7237
7238         * CutAndPaste.C: Update file header.
7239         Store the parts cut out of the Document in a limited_stack.
7240         (copySelection): adjust
7241         (pasteSelection): new function, takes the index in the limited stack.
7242         (nrOfParagraphs): adjust
7243         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7244         simplify error inset insertion.
7245         (checkPastePossible): adjust
7246
7247 2003-05-06  John Levon  <levon@movementarian.org>
7248
7249         * text2.C: don't cast wrap inset to float
7250
7251 2003-05-05  André Pönitz  <poenitz@gmx.net>
7252
7253         * iterator.C:
7254         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7255
7256         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7257           few naked Paragraph *.
7258
7259 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7260
7261         * bufferparams.C: Output warning if a document with missing
7262         TeX document class is loaded
7263         * exporter.C: Disable TeX exports if the document class is missing
7264         * lyxtextclass.C:
7265         * lyxtextclass.h:
7266         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7267         isTeXClassAvailable()
7268
7269 2003-05-03  John Levon  <levon@movementarian.org>
7270
7271         * BufferView.h:
7272         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7273         explicit cursor show/hide
7274
7275         * BufferView_pimpl.h:
7276         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7277         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7278
7279         * lyxfunc.C: hide cursor before dispatching.
7280
7281         * lyx_cb.C:
7282         * lyxfind.C:
7283         * text.C:
7284         * text3.C: remove explicit cursor hides
7285
7286 2003-05-02  André Pönitz  <poenitz@gmx.net>
7287
7288         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7289
7290         * undo_funcs.C:
7291         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7292           linked lists
7293
7294         * text2.C: tiny whitespace
7295
7296 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7297
7298         * undo_funcs.C: almost only ws changes.
7299
7300         * ParagraphList.C (splice): just return if pl is empty.
7301
7302 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7303
7304         * ParagraphList.C (splice): new function.
7305
7306         * CutAndPaste.C (pasteSelection): use it
7307
7308 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7309
7310         * CutAndPaste.C (pasteSelection): remove the last next and
7311         previous from this file.
7312
7313 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7314
7315         * CutAndPaste.C (pasteSelection): more clean up, user proper
7316         ParagraphList functions for pasteing.
7317
7318         * ParagraphList.C (insert): new function, three arg insert
7319
7320 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7321
7322         * ParagraphList.C (insert): new function, three arg insert
7323
7324         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7325         not on paragraphs.
7326
7327 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7328
7329         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7330
7331 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7332
7333         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7334
7335 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7336
7337         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7338         (copySelection): clean up a bit.
7339         (pasteSelection): use make_pair
7340
7341         * ParagraphList.C (ParagraphList): implement copy constructor
7342         (operator=): implement, base on copy constructor.
7343         (assign): new func
7344
7345         * paragraph.C (erase): return a bool
7346
7347         * paragraph_pimpl.C (erasePos): remove function, move contents...
7348         (erase): ... here. Return a bool.
7349         (erase): call erase instead of erasePos.
7350
7351 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7352
7353         * ParagraphList.h: define PitPosPair
7354         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7355         ParagraphList, fix a bug on pasting multiple pars
7356         * text2.C: change interface to C&P
7357
7358 2003-04-30  André Pönitz  <poenitz@gmx.net>
7359
7360         * undo_func.C: revert part of yesterday's patch 2
7361
7362 2003-04-30  John Levon  <levon@movementarian.org>
7363
7364         * LColor.C: s/tabular/table/
7365
7366 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7367
7368         * text3.C (dispatch): do not convert iterator -> pointer
7369         * undo_funcs.C (setCursorParUndo): ditto
7370         * text_funcs.C (transposeChars): ditto
7371
7372         * text2.C (setLayout): ws changes only
7373
7374         * text.C (breakParagraph): do not convert iterator -> pointer
7375         (insertChar): ditto
7376         (acceptChange): ditto
7377         (rejectChange): ditto
7378         (changeCase): ditto
7379         (Delete): ditto
7380         (backspace): ditto
7381
7382         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7383         pointer
7384
7385 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7386
7387         * text3.C (gotoInset): YABG (yet another bad getChar)
7388
7389 2003-04-29  André Pönitz  <poenitz@gmx.net>
7390
7391         * paragraph.h: make operator= private unimplemented as long as
7392           it is unusable
7393
7394         * ParagraphList.C: whitespace
7395
7396         * paragraph.[Ch]:
7397         * paragraph_pimpl.[Ch]:
7398         * paragraph_funcs.C:
7399         * CutAndPaste.C:
7400         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7401
7402         * text2.C:
7403           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7404
7405 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7406
7407         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7408         * paragraph.[Ch] (erase):
7409         * paragraph_pimpl.[Ch] (erase): change return type and value
7410         * text2.C (cutSelection): some rework
7411
7412 2003-04-28  John Levon  <levon@movementarian.org>
7413
7414         * bufferlist.C: changes for unsaved changes dialog
7415
7416 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7417
7418         * bufferlist.C (newFile): set language (messages_) for new
7419         documents also.
7420
7421         * buffer.C (readFile): ws changes only.
7422
7423 2003-04-28  André Pönitz  <poenitz@gmx.net>
7424
7425         * undo_funcs.C:
7426         * lyxfunc.C:
7427         * buffer.[Ch]:
7428         * BufferView_pimpl.C:
7429         * BufferView.C: getParFromID related ParagraphList::iterator changes
7430
7431 2003-04-28  André Pönitz  <poenitz@gmx.net>
7432
7433         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7434           Changes
7435
7436 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7437
7438         * messages.C: remove one more localedir class variable.
7439
7440 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7441
7442         * messages.C (getLocaleDir): singleton generation function
7443         (Pimpl): use it.
7444         (Messages): add a default constructor.
7445
7446         * main.C (main): do not setup localedir here, do not call
7447         gettext_init.
7448
7449         * gettext.C (_): use it.
7450         (gettext_init): delete funciton
7451
7452 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7453
7454         * gettext.C (getLyXMessages): new singleton generating function.
7455
7456         * buffer.C (updateDocLang): adjust
7457
7458         * Makefile.am (messages.o): add target
7459         (main.o): remove target
7460
7461 2003-04-27  John Levon  <levon@movementarian.org>
7462
7463         * bufferlist.C:
7464         * lyx_cb.C:
7465         * lyxfunc.C:
7466         * lyxvc.C: specify cancel button in Alert::prompt
7467
7468 2003-04-26  John Levon  <levon@movementarian.org>
7469
7470         * text3.C:
7471         * lyxfunc.C:
7472         * lfuns.h:
7473         * LyXAction.C: add LFUN_INSET_SETTINGS
7474
7475         * lyxfunc.C: don't enable tabular-feature when there's
7476         just any locking inset
7477
7478 2003-04-26  John Levon  <levon@movementarian.org>
7479
7480         * bufferlist.C: re-add Cancel to buffer close question
7481
7482         * lyxfunc.C: fix import UI a bit
7483
7484 2003-04-25  John Levon  <levon@movementarian.org>
7485
7486         * gettext.C: remove the broken asserts for now
7487
7488 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7489
7490         * messages.C: make case where setlocale cannot comply work better.
7491
7492         * buffer.C (updateDocLang): new function
7493         (changeLanguage): use it
7494         (readFile): use it
7495
7496         * text2.C (setCounter): use B_ a bit.
7497
7498         * lyxlayout.C (Read): be sure to trim the label strings.
7499
7500         * messages.C (Messages): fix typo in comment
7501
7502         * buffer.C (readFile): set message_ after file is loaded.
7503         (makeDocBookFile): remove double return
7504         (changeLanguage): reset message_ upon language change.
7505         (B_): new func, use this to get translated buffer strings.
7506
7507         * main.C: add myself and Jean Marc as authors.
7508
7509 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7510
7511         * messages.[hC]: pimplify Messages, and three different pimpls to be
7512         used in different circumstances.
7513
7514         * gettext.[Ch]: change for use with new message code.
7515
7516 2003-04-24 André Pönitz <poenitz@gmx.net>
7517
7518         * factory.C: support for eqref
7519
7520 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7521
7522         * messages.[Ch]: add missing char
7523
7524         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7525
7526         * messages.[Ch]: New files
7527
7528 2003-04-18  John Levon  <levon@movementarian.org>
7529
7530         * BufferView.h:
7531         * BufferView.C:
7532         * BufferView_pimpl.C:
7533         * lfuns.h:
7534         * LyXAction.C:
7535         * lyxtext.h:
7536         * text2.C: remove layout-copy/paste (bug 778)
7537
7538 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7539
7540         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7541
7542 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7543
7544         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7545         if they succeed. Act accordingly.
7546
7547 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7548
7549         * text2.C (setCharFont): adjust
7550         (setCounter): adjust
7551         (insertStringAsLines): adjust
7552
7553         * text.C (leftMargin): adjust
7554         (setHeightOfRow): adjust
7555
7556         * rowpainter.C (paintFirst): adjust
7557         (paintLast): adjust
7558
7559         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7560         (outerHook): ditto
7561         (isFirstInSequence): ditto
7562         (getEndLabel): ditto
7563         (outerFont): adjust
7564
7565         * paragraph.C (getParLanguage): comment out some hard stuff.
7566
7567         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7568         (sgmlError): ditto
7569         (simpleDocBookOnePar): ditto
7570         (makeDocBookFile): use ParagraphList::iterator
7571
7572         * CutAndPaste.C (pasteSelection): adjust
7573
7574 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7575
7576         * text2.C (getFont): adjust
7577         (getLayoutFont): adjust
7578         (getLabelFont): adjust
7579
7580         * paragraph_funcs.C (TeXOnePar): adjust
7581
7582         * buffer.C (simpleLinuxDocOnePar): adjust
7583         (simpleDocBookOnePar): adjust
7584
7585         * CutAndPaste.C (pasteSelection): adjust
7586
7587         * BufferView.C (getEncoding): adjust
7588
7589         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7590
7591 2003-04-16  John Levon  <levon@movementarian.org>
7592
7593         * lyxfind.C: use parlist stuff for search/changes
7594
7595 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7596
7597         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7598
7599         * text2.C (deleteEmptyParagraphMechanism): adjust
7600
7601         * text2.[Ch] (ownerParagraph): delete func (both of them
7602
7603 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7604
7605         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7606
7607 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7608
7609         * ParagraphList.C: prepare for NO_NEXT
7610
7611 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7612
7613         * text2.C (getFont): adjust
7614         (getLayoutFont): adjust
7615         (getLabelFont): adjust
7616
7617         * paragraph.C (getFont): adjust
7618         (getLabelFont): adjust
7619         (getLayoutFont): adjust
7620
7621         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7622
7623 2003-04-15  John Levon  <levon@movementarian.org>
7624
7625         From Angus Leeming
7626
7627         * lyx_main.C: handle Include in .ui files
7628
7629 2003-04-15  John Levon  <levon@movementarian.org>
7630
7631         * MenuBackend.C: make the doc files length shorter
7632
7633         * ToolbarBackend.h:
7634         * ToolbarBackend.C: handle toolbar placement flags,
7635         Minibuffer
7636
7637 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7638
7639         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7640         adjust
7641
7642         * paragraph_funcs.C (TeXOnePar): adjust
7643
7644         * paragraph.C (getLabelFont): add outerfont arg, adjust
7645         (getLayoutFont): ditto
7646         (simpleTeXOnePar): adjust
7647
7648         * paragraph_pimpl.C (realizeFont): delete func
7649
7650 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7651
7652         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7653         row argument, constify cur argument.
7654
7655 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7656
7657         * text2.C (getFont): adjust
7658         (getLayoutFont): adjust
7659         (getLabelFont): adjust
7660
7661         * paragraph_funcs.C (TeXOnePar): adjust
7662         (outerFont): new func...
7663         (realizeFont): ...moved out from here, changed this to facilitate
7664         transition
7665
7666         * paragraph.C (getFont): take outerfont as arg, adjust
7667         (simpleTeXOnePar): add outerfont arg, adjust
7668
7669         * buffer.C (simpleLinuxDocOnePar): adjust
7670         (simpleDocBookOnePar): adjust
7671
7672         * CutAndPaste.C (pasteSelection): adjust
7673
7674         * BufferView.C (getEncoding): adjust
7675
7676 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7677
7678         * text2.C (setCharFont): adjust
7679         (setCounter): adjust
7680
7681         * text.C (leftMargin): adjust
7682         (setHeightOfRow): adjust
7683
7684         * rowpainter.C (paintFirst): adjust
7685         (paintLast): adjust
7686
7687         * paragraph_pimpl.C (realizeFont): adjust
7688
7689         * paragraph.C (isFirstInSequence): move from here...
7690         * paragraph_funcs.C (isFirstInSequence): ...to here
7691
7692         * paragraph.C (outerHook): move from here...
7693         * paragraph_funcs.C (outerHook): ...to here
7694
7695         * paragraph.C (depthHook): move from here...
7696         * paragraph_funcs.C (depthHook): ...to here
7697
7698         * paragraph.C (getEndLabel): move from here...
7699         * paragraph_funcs.C (getEndLabel): ...to here
7700
7701         * text2.C (realizeFont): move from here...
7702         * paragraph_funcs.C (realizeFont): ...to here
7703
7704 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7705
7706         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7707
7708 2003-04-14  Angus Leeming  <leeming@lyx.org>
7709
7710         * LColor.[Ch]: scrap LColor mathcursor.
7711
7712 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7713
7714         * lyxlex.[Ch] (text): delete function
7715         * trans.C (Load): adjust
7716         * paragraph_funcs.C (readParToken): adjust
7717
7718 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7719
7720         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7721         vector<char> instead of a char[].
7722
7723         * lyxlex_pimpl.C (getString): adjust
7724         (next): adjust
7725         (lex): use getString
7726         (eatLine): adjust
7727         (nextToken): adjust
7728
7729         * lyxlex.C (text): use pimpl_->getString()
7730         (getBool): ditto
7731         (findToken): ditto
7732
7733 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7734
7735         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7736         (makeFontEntriesLayoutSpecific): temp var for par.size()
7737         (setLayout): temp var for ownerParagraphs().end()
7738         (fullRebreak): temp var for rows().end()
7739         (selectionAsString): temp var for boost::next(startpit), realize
7740         that the while really is a regular for loop.
7741         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7742         setCursor in one place.
7743         (setParagraph): temp vr for ownerParagraphs().end()
7744         (updateCounters): make the while loop a for loop
7745         (cutSelection): temp var for ownerParagraphs().end()
7746         (updateInset): make the do {} while() a regular for loop
7747         (getCursorX): use temp vars
7748         (setCurrentFont): use temp vars
7749         (getColumnNearX): use temp vars
7750
7751 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7752
7753         * text.C (transformChar): use temp var for getChar
7754         (computeBidiTables): use temp var for row->par()
7755         (fill): move temp vars for row->par() and pit->layout() earlier in
7756         the function.
7757         (labelFill): use temp var for row->par()
7758         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7759         asc and desc, realize that pit never changes and that firstpit is
7760         just a duplicate and not needed. Exchange rit->par() with pit in a
7761         lot of places.
7762         (breakAgain): use a temp var for boost::next(rit)
7763         (breakAgainOneRow): ditto
7764         (breakParagraph): use a temp var for rows().begin()
7765         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7766         (cursorRightOneWord): use temp var for cursor.par() and
7767         cursor.pos(), remove usage of tmpcursor.
7768         (cursorLeftOneWord): use temp var for cursor.par() and
7769         cursor.pos() only set cur at end of function.
7770
7771 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7772
7773         * text.C, text2.C: exchange all usage of Paragraph::next with
7774         boost::next(ParagraphList::iterator)
7775
7776         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7777
7778         * text2.C (cursorTop): simplify implementation
7779         (cursorBottom): ditto
7780         (setParagraph): use ParagraphList::iterator
7781         (setCurrentFont): adjust
7782         (getColumnNearX): adjust
7783         (cursorRight): adjust
7784         (cursorLeft): remove usage of Paragraph::previous
7785         (cursorUpParagraph): ditto
7786         (deleteEmptyParagraphMechanism): slight cleanup
7787
7788         * text.C (isBoundary): take a Paragraph const & instead of a
7789         pointer as arg.
7790         (addressBreakPoint): ditto
7791         (leftMargin): remove usage of Paragraph::previous.
7792         (setHeightOfRow): ditto
7793         (cursorLeftOneWord): ditto
7794         (selectNextWordToSpellcheck): ditto
7795         (Delete): ditto
7796         (backspace): ditto
7797         (breakParagraph): remove one usage of Paragraph::next
7798         (redoParagraph): ditto
7799         (acceptChange): ditto
7800         (insertChar): adjust
7801         (rowBreakPoint): adjust
7802
7803         * bufferview_funcs.C (toggleAndShow): adjust
7804
7805 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7806
7807         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7808         methods to access it.
7809         * lyxtext.h:
7810         * text.C: Added updateRowPositions to compute all row positions.
7811         Make top_y and getRowNearY() to use the cached y position
7812
7813 2003-04-11  John Levon  <levon@movementarian.org>
7814
7815         * text.C (rowBreakPoint): reintroduce the labelEnd
7816         checks, code copied from the row fill stuff. Deep voodoo.
7817
7818         * text.C (fill): add a comment and debugging for the
7819         next poor soul.
7820
7821 2003-04-11  John Levon  <levon@movementarian.org>
7822
7823         * text.C: make sure fullrow insets get wrapped to the next line,
7824         even when they're in a manual label
7825
7826 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7827
7828         * text2.C (insertParagraph): make it take ParagraphList::iterator
7829         as arg.
7830         (setLayout): make it return ParagraphList::iterator
7831         (redoParagraphs): ditto
7832         (setCounter): ditto
7833         (checkParagraph): ditto
7834
7835         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7836
7837         * text2.C: adjust several funcs.
7838         (realizeFont): take a ParagraphList::iterator as arg.
7839         (getLayoutFont): ditto
7840         (getLabelFont): ditto
7841         (setCharFont): ditto
7842
7843         * text.C: adjust several funcs.
7844
7845 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7846
7847         * text.C (selectNextWordToSpellcheck): don't accidentally
7848         skip insets
7849
7850 2003-04-10  John Levon  <levon@movementarian.org>
7851
7852         * ToolbarBackend.C (getIcon): special handling for
7853         LFUN_MATH_DELIM
7854
7855 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7856
7857         * text2.C (cursorRight): a getChar assert fixed
7858
7859 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7860
7861         * text2.C (getFont): change to take a ParagraphList::iterator
7862         instead of Paragraph*
7863         Adjust several functions.
7864
7865         * text.C (transformChar): change to take a ParagraphList::iterator
7866         instead of Paragraph*
7867         (singleWidth): ditto
7868         Adjust several functions.
7869
7870         * rowpainter.C: adjust several functions
7871         * rowpainter.h:store a ParagraphList::iterator and not a
7872         Paragraph&.
7873
7874
7875 2003-04-09  John Levon  <levon@movementarian.org>
7876
7877         * lyxfunc.C:
7878         * lfuns.h:
7879         * LyXAction.h:
7880         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7881         and the "help" bits as well
7882
7883 2003-04-09  John Levon  <levon@movementarian.org>
7884
7885         * ToolbarBackend.h:
7886         * ToolbarBackend.C: allow multiple toolbars
7887
7888 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7889
7890         * undo_funcs.C (setCursorParUndo): adjust
7891
7892         * text_funcs.C (transposeChars): adjust
7893
7894         * text3.C (gotoNextInset): adjust
7895         (dispatch): adjust
7896
7897         * text2.C (setLayout): adjust
7898         (changeDepth): adjust
7899         (setFont): adjust
7900         (redoParagraphs): adjust
7901         (selectionAsString): adjust
7902         (setParagraph): adjust
7903         (insertInset): adjust
7904         (cutSelection): adjust
7905         (copySelection): adjust
7906         (pasteSelection): adjust
7907         (insertStringAsLines): adjust
7908         (updateInset): adjust
7909         (setCursor): change to take a ParagraphList::iterator parameter
7910         (setCursorIntern): change to take a ParagraphList::iterator parameter
7911         (setCurrentFont): adjust
7912         (cursorLeft): adjust
7913         (cursorRight): adjust
7914         (deleteEmptyParagraphMechanism): adjust
7915
7916         * text.C (breakParagraph): adjust
7917         (insertChar): adjust
7918         (acceptChange): adjust
7919         (rejectChange): adjust
7920         (selectNextWordToSpellcheck): adjust
7921         (changeCase): adjust
7922         (Delete): adjust
7923         (backspace): adjust
7924
7925         * lyxfind.C (SearchForward): adjust
7926         (SearchBackward): adjust
7927         (nextChange): adjust
7928
7929         * lyxcursor.C (par): adjust
7930
7931         * lyxcursor.h: store a ParagraphList::iterator instead of a
7932         Paragraph*
7933
7934         * lyx_cb.C (getPossibleLabel): adjust
7935
7936         * bufferview_funcs.C (toggleAndShow): adjust
7937
7938         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7939         (dispatch): adjust
7940
7941         * BufferView.C (removeAutoInsets): adjust
7942         (lockedInsetStoreUndo): adjust
7943
7944 2003-04-09  John Levon  <levon@movementarian.org>
7945
7946         * ToolbarBackend.C: try icon without argument
7947         if with argument fails
7948
7949 2003-04-08  John Levon  <levon@movementarian.org>
7950
7951         * ToolbarBackend.h:
7952         * ToolbarBackend.C: add getIcon(), handle tooltip,
7953         and change from "Icon" to "Item".
7954
7955 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7956
7957         * BufferView.C (lockInset): another bad getchar crunched
7958
7959 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7960
7961         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7962         again)
7963
7964 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7965
7966         * lyxfind.C (searchForward, searchBackwards): bug 782
7967
7968 2003-04-07  John Levon  <levon@movementarian.org>
7969
7970         * paragraph.C: remove dead comment
7971
7972         * text.C: remove troublesome depth-fiddling code
7973         in leftMargin() and rightMargin() (bug 1017)
7974
7975         * text.C: fix breaking of rows in nested lists
7976         (bug 1004)
7977
7978         * text2.C (updateCounters): fix up depth values
7979         (bug 1013)
7980
7981 2003-04-07  John Levon  <levon@movementarian.org>
7982
7983         * BufferView_pimpl.C: clear message when doc finishes resizing,
7984         and after a mouse event
7985
7986         * lyxfunc.C: clear message after exiting inset
7987
7988 2003-04-07  John Levon  <levon@movementarian.org>
7989
7990         * bufferview_funcs.C: show math status not outside
7991         status in the statusbar
7992
7993 2003-04-07  John Levon  <levon@movementarian.org>
7994
7995         * lyxfunc.C: note status changed after a depth change
7996
7997 2003-04-04  Angus Leeming  <leeming@lyx.org>
7998
7999         * LaTeX.h: move AuxInfo operator==, != out of line.
8000         Remove LaTeX virtual destructor; nothing derives from it.
8001         Move operator()() out of public area and rename it startscript().
8002         Change protected for private.
8003
8004 2003-04-04  Angus Leeming  <leeming@lyx.org>
8005
8006         * lyxfunc.C:
8007         * text2.C: remove unneeded #includes.
8008
8009 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8010
8011         * text2.C (dEPM): fix the heigth of the next row
8012
8013 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8014
8015         * text.C: squashed an invalid getChar requester + some ws changes
8016
8017 2003-04-03  John Levon  <levon@movementarian.org>
8018
8019         * bufferview_funcs.h:
8020         * bufferview_funcs.C:
8021         * lyxfunc.C:
8022         * lyxtext.h:
8023         * text2.C: make getStatus work for the env depth lfuns
8024
8025 2003-04-03  John Levon  <levon@movementarian.org>
8026
8027         * bufferview_funcs.h:
8028         * bufferview_funcs.C:
8029         * lyxfunc.C:
8030         * lyxtext.h:
8031         * text2.C: parlistize decDepth(), by merging it with incDepth()
8032
8033 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8034
8035         * lyxrow.h: store a ParagraphList::iterator instead of a
8036         Paragraph* and adjust other class functions to suit.
8037
8038         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8039         above.
8040
8041 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8042
8043         * text2.C (setCursor): do not anchor to cursor row for the time being
8044
8045 2003-04-02  John Levon  <levon@movementarian.org>
8046
8047         * LyXAction.C:
8048         * lfuns.h:
8049         * lyx_main.C:
8050         * lyxtext.h:
8051         * text.C:
8052         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8053
8054 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8055
8056         * paragraph.h: make ParagraphList and ParagraphList::iterator
8057         friends of Paragraph.
8058
8059         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8060
8061         * ParagraphList.C: Use the private next_ and previous_ from
8062         Paragraph.
8063
8064 2003-04-01  John Levon  <levon@movementarian.org>
8065
8066         * ToolbarBackend.h:
8067         * ToolbarBackend.C:
8068         * Makefile.am: rename, remove defaults gunk
8069
8070         * MenuBackend.h:
8071         * MenuBackend.C: remove defaults gunk
8072
8073         * Languages.h:
8074         * Languages.C: remove defaults gunk
8075
8076         * lyx_main.h:
8077         * lyx_main.C: error out if files couldn't be found.
8078
8079 2003-04-02  John Levon  <levon@movementarian.org>
8080
8081         * text2.C: make incDepth() use parlist
8082
8083 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8084
8085         * undo_funcs.C (firstUndoParagraph): adjust
8086
8087         * text3.C (gotoInset): adjust
8088         (dispatch): adjust, and rewrite loop.
8089
8090         * text2.C (init): adjust, and rewrite loop.
8091         (redoParagraphs): adjust
8092         (updateInset): adjust, and rewrite loop.
8093         (deleteEmptyParagraphMechanism): adjust
8094
8095         * tabular.C (LyXTabular): adjust
8096         (SetMultiColumn): adjust
8097         (TeXRow): adjust
8098
8099         * lyxtext.[Ch] (ownerParagraph): delete function
8100         (ownerParagraphs): new function returns a ParagraphList.
8101
8102         * BufferView.C (removeAutoInsets): adjust
8103         (insertErrors): adjust
8104         (setCursorFromRow): adjust
8105
8106 2003-04-01  Angus Leeming  <leeming@lyx.org>
8107
8108         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8109         in the frontends.
8110
8111 2003-04-02  John Levon  <levon@movementarian.org>
8112
8113         * lyxtext.h:
8114         * text.C:
8115         * Makefile.am:
8116         * text_funcs.h:
8117         * text_funcs.C: make transposeChars a free function
8118
8119         * lyxrow_funcs.C: remove wrong comment
8120
8121 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8122
8123         * lyxtext.h: adjust
8124         * rowpainter.C: adjust
8125         * text.C: adjust
8126         * text2.C: adjust
8127         * text3.C: adjust
8128
8129         * lyxrow_funcs. [Ch]: new files
8130
8131         * lyxrow.[Ch]: remove next and previous pointers
8132         (next,previous): remove accessor functions
8133         (isParEnd): move to lyxrow_funcs
8134         (lastPos): move to lyxrow_funcs
8135         (nextRowIsAllInset): move to lyxrow_funcs
8136         (lastPrintablePos): move to lyxrow_funcs
8137         (numberOfSeparators): move to lyxrow_funcs
8138         (numberOfHfills): move to lyxrow_funcs
8139         (numberOfLabelHfills): move to lyxrow_funcs
8140         (hfillExpansion): move to lyxrow_funcs
8141
8142         * lyxfunc.C: adjust
8143
8144         * bufferview_funcs.C (toggleAndShow): adjust
8145
8146         * RowList.h: Remove class RowList from file leave just a
8147         std::list<Row>.
8148
8149         * RowList.C: delete file
8150
8151         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8152         and lyxrow_funcs.h
8153
8154 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8155
8156         * text3.C (cursorPrevious): adjust
8157         (cursorNext): adjust
8158         (dispatch): adjust
8159
8160         * text2.C (redoHeightOfParagraph): adjust
8161         (redoDrawingOfParagraph): adjust
8162         (setCursor): adjust
8163
8164         * text.C (breakParagraph): adjust
8165         (insertChar): adjust
8166         (backspace): adjust
8167
8168         * rowpainter.C (RowPainter): adjust
8169         (leftMargin): simplify and adjust
8170         (most rowpainter functions): adjust.
8171
8172         * rowpainter.h: store the row as RowList::iterator not as Row*
8173
8174         * lyxcursor.C (row): taka RowList::iterator as arg
8175         (irow): ditto
8176
8177         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8178         of Row*.
8179
8180 2003-04-01  Angus Leeming  <leeming@lyx.org>
8181
8182         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8183         stuff like bool Bool.
8184
8185 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8186
8187         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8188         rewrite a loop
8189
8190 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8191
8192         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8193         RowList::iterator.
8194
8195         * lyxtext.h (rows): drop one version and leve a const variant that
8196         returns a RowList::iterator.
8197
8198 2003-03-31  Angus Leeming  <leeming@lyx.org>
8199
8200         * text.C (fill): ensure that the signature is the same as that in the
8201         header file.
8202
8203 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8204
8205         * text2.C (redoParagraphs): adjust
8206         (updateCounters): adjust
8207         (checkParagraph): adjust
8208         (getColumnNearX): adjust and reformat a bit.
8209
8210         * text.C (top_y): adjust
8211         (workWidth): adjust
8212         (leftMargin): adjust
8213         (prepareToPrint): adjust
8214         (getRow): adjust
8215         (getRowNearY): adjust
8216
8217         * lyxtext.h: make rowlist_ mutable.
8218
8219         * RowList.h: add const_iterator
8220         * RowList.C: adjust for RowList::const_iterator.
8221
8222         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8223         adjust.
8224
8225 2003-03-31  John Levon  <levon@movementarian.org>
8226
8227         * lyxrc.h:
8228         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8229
8230         * lyx_main.C: set default fonts from using lyx_gui funcs
8231
8232         * exporter.C: pdf_mode moved from lyxrc
8233
8234         * lyx_cb.C:
8235         * lyxfunc.C: changes from above
8236
8237 2003-03-31  John Levon  <levon@movementarian.org>
8238
8239         * lyx_main.C: fix to the last fix
8240
8241 2003-03-31  John Levon  <levon@movementarian.org>
8242
8243         * bufferlist.C: "Load original" -> "Load Original"
8244
8245         * converter.C:
8246         * exporter.C:
8247         * importer.C:
8248         * lyx_main.C:
8249         * format.C: more Alert cleanups
8250
8251 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8252
8253         * text2.C (removeParagraph): make it take a RowList::iterator as
8254         arg, adjust.
8255         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8256         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8257
8258         * text.C (anchor_row): make it take a RowList::iterator as arg,
8259         adjust.
8260         (computeBidiTables): make it take a const reference to Row instead
8261         of Row pointer, adjust.
8262         (leftMargin): make it take a RowList::iterator as arg, adjust.
8263         (rowBreakPoint): adjust
8264         (breakAgainOneRow): make it take a RowList::iterator as arg,
8265         adjust.
8266         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8267
8268         * bufferview_funcs.C (toggleAndShow): adjust
8269
8270 2003-03-30  John Levon  <levon@movementarian.org>
8271
8272         * Makefile.am:
8273         * BoostFormat.h:
8274         * boost-inst.C: moved to support
8275
8276         * several files: changes as a result
8277
8278 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8279
8280         * text2.C (LyXText): adjust.
8281         (init): adjust
8282         (removeRow): make it take a RowList::iterator as arg, adjust.
8283         (fullRebreak): adjust
8284         (deleteEmptyParagraphMechanism): adjust
8285         (clearPaint): adjust
8286         (postPaint): adjust
8287
8288         * text.C (top_y): adjust
8289         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8290         (breakAgain): make it take a RowList::iterator as arg, adjust.
8291         (breakParagraph): adjust
8292         (insertChar): adjust
8293         (backspace): adjust
8294
8295         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8296         need_break_row, and refresh_row.
8297
8298         * text3.C (dispatch): adjust
8299
8300         * text2.C (checkParagraph): adjust
8301         (setCursor): adjust
8302         (setCursorFromCoordinates): adjust
8303
8304         * text.C (top_y): adjust
8305         (workWidth): adjust
8306         (getRow): make it return a RowList::iterator, adjust
8307         (getRowNearY): make it return a RowList::iterator, adjust
8308
8309         * text2.C (init): adjust
8310         (insertRow): remove function
8311         (insertParagraph): adjust
8312         (redoParagraphs): adjust
8313         (fullRebreak): adjust
8314         (updateCounters): adjust
8315
8316         * text.C (top_y): rewrite to use RowList iterators.
8317         (top_y): adjust
8318         (setHeightOfRow): rewrite to sue RowList iterators.
8319         (appendParagraph): adjust
8320         (breakAgain): adjust
8321         (breakAgainOneRow): adjust
8322         (breakParagraph): adjust
8323         (getRow): adjust
8324         (getRowNearY): adjust, and remove commented code.
8325
8326         * lyxtext.h (firstRow): delete function
8327         (lastRow): delete function
8328         (rows): new function (const and non-const versions.)
8329         (insertRow): delete function
8330
8331         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8332
8333 2003-03-29  John Levon  <levon@movementarian.org>
8334
8335         * BufferView_pimpl.C: always update scrollbar top
8336         because pasting text when we're anchored could mean we
8337         miss an update altogether
8338
8339 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8340
8341         * text2.C (init): use rowlist_.end() and not 0.
8342         (insertRow): change to take a RowList::iterator as arg, adjust
8343         for this.
8344         (insertParagraph): change to take a RowList::iterator as arg,
8345         adjust for this.
8346         (redoParagraphs): remove some debug msgs.
8347
8348         * text.C (appendParagraph): change to take a RowList::iterator
8349         arg, adjust for this.
8350         (breakAgain): add an assert
8351         (breakAgainOneRow): ditto
8352
8353 2003-03-29  John Levon  <levon@movementarian.org>
8354
8355         * text2.C: do not clear selection after inc/decDepth
8356         (bug 550)
8357
8358 2003-03-29  John Levon  <levon@movementarian.org>
8359
8360         * BufferView.C:
8361         * buffer.C: fix broken strerrors according to Lars
8362
8363 2003-03-29  John Levon  <levon@movementarian.org>
8364
8365         * converters.C: more Alert cleanups
8366
8367 2003-03-29  John Levon  <levon@movementarian.org>
8368
8369         * bufferview_funcs.C: remove pointless Alert
8370
8371         * buffer.C: fix confusing error message when
8372         a template is chmoded 000
8373
8374 2003-03-29  John Levon  <levon@movementarian.org>
8375
8376         * BufferView.C:
8377         * BufferView.h:
8378         * BufferView_pimpl.C: Alert fixes
8379
8380         * Makefile.am:
8381         * tabular.C:
8382         * tabular-old.C: remove unused table compat reading
8383
8384 2003-03-29  John Levon  <levon@movementarian.org>
8385
8386         * BufferView.C:
8387         * buffer.C:
8388         * lyx_cb.h:
8389         * lyx_cb.C: more Alert cleanups
8390
8391         * lyxfunc.C: don't allow chktex if not latex document
8392
8393 2003-03-29  John Levon  <levon@movementarian.org>
8394
8395         * lyx_cb.C:
8396         * BufferView.C:
8397         * buffer.C: warnings pushed down from support/,
8398         kill err_alert
8399
8400 2003-03-29  John Levon  <levon@movementarian.org>
8401
8402         * lyxfunc.C: safety check for C-r (revert)
8403
8404 2003-03-29  John Levon  <levon@movementarian.org>
8405
8406         * bufferlist.h:
8407         * bufferlist.C: several UI fixes using Alert::prompt.
8408         Fix the pointless looping quit code. Fix stupid revert
8409         behaviour (bug 938)
8410
8411         * lyxvc.h:
8412         * lyxvc.C:
8413         * lyx_cb.C: use Alert::prompt
8414
8415         * lyx_main.C: remove a silly question
8416
8417         * lyxfunc.C: remove a couple of silly questions,
8418         use Alert::prompt
8419
8420 2003-03-28  John Levon  <levon@movementarian.org>
8421
8422         * text2.C: fix bug 974 (End on empty par)
8423
8424 2003-03-28  John Levon  <levon@movementarian.org>
8425
8426         * BufferView_pimpl.C:
8427         * LyXAction.C:
8428         * lfuns.h: remove do-nothing math greek lfuns
8429
8430 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8431
8432         * lyxgluelength.h (isValidGlueLength): add default arg on
8433         parameter 2. Remove default arg from friend in class.
8434
8435         * lyxlength.h (isValidLength): add default arg on parameter 2.
8436         Remove default arg from friend in class.
8437
8438         * text2.C (LyXText): adjust, initialize refresh_row.
8439         (init): adjust
8440         (removeRow): adjust
8441         (insertRow): adjust
8442         (insertParagraph): adjst
8443         (redoParagraphs): adjust
8444         (fullRebreak): adjust
8445         (updateCounters): adjust
8446         (deleteEmptyParagraphMechanism): first attempt at fixing a
8447         crashing bug.
8448
8449         * text.C (top_y): adjust
8450         (setHeightOfRow): adjust
8451         (getRow): adjust
8452         (getRowNearY): adjust
8453
8454         * lyxtext.h: include RowList.h
8455         (~LyXText): not needed anymore, deleted.
8456         (firstRow): modify for RowList
8457         (lastRow): new function
8458         Delete firstrow and lastrow class variables, add a Rowlist
8459         rowlist_ class variable.
8460
8461         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8462         paragraph is empty.
8463
8464         * RowList.C (insert): fix case where it == begin().
8465
8466 2003-03-26  Angus Leeming  <leeming@lyx.org>
8467
8468         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8469         the thesaurus dialog.
8470
8471 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8472
8473         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8474
8475         * RowList.[Ch]: new files
8476
8477         * ParagraphList.C (erase): handle the case where it == begin
8478         correctly.
8479
8480 2003-03-25  John Levon  <levon@movementarian.org>
8481
8482         * Makefile.am:
8483         * aspell_local.h:
8484         * aspell.C: add new aspell support
8485
8486         * lyxrc.h:
8487         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8488         have it accessible.
8489
8490 2003-03-25  Angus Leeming  <leeming@lyx.org>
8491
8492         * lfuns.h:
8493         * LyXAction.C (init): new LFUN_INSET_INSERT.
8494
8495         * BufferView_pimpl.C (dispatch): split out part of the
8496         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8497
8498         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8499         LFUN_INSET_APPLY.
8500
8501 2003-03-25  Angus Leeming  <leeming@lyx.org>
8502
8503         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8504
8505 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8506
8507         * text2.C:
8508         * text3.C: remove useless row->height(0)
8509
8510 2003-03-25  John Levon  <levon@movementarian.org>
8511
8512         * lyxtext.h:
8513         * text2.C:
8514         * text3.C: rename the refreshing stuff to better names
8515
8516 2003-03-24  John Levon  <levon@movementarian.org>
8517
8518         * BufferView_pimpl.h:
8519         * BufferView_pimpl.C: update layout choice on a mouse
8520         press/release
8521
8522 2003-03-23  John Levon  <levon@movementarian.org>
8523
8524         * Makefile.am: fix commandtags.h reference
8525
8526 2003-03-22  John Levon  <levon@movementarian.org>
8527
8528         * BufferView_pimpl.C:
8529         * lyxtext.h:
8530         * rowpainter.C:
8531         * rowpainter.h:
8532         * text.C:
8533         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8534
8535 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8536
8537         * lyxtext.h:
8538         * text.C: take the rtl methods out of line
8539
8540 2003-03-21 André Pönitz <poenitz@gmx.net>
8541
8542         * metricsinfo.[Ch]: new files containing structures to be passed around
8543         during the two-phase-drawing...
8544
8545 2003-03-21 André Pönitz <poenitz@gmx.net>
8546
8547         * lyxtextclass.C: read 'environment' tag.
8548
8549 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8550
8551         * text2.C (removeRow): fix bug 964
8552
8553 2003-03-20  John Levon  <levon@movementarian.org>
8554
8555         * rowpainter.C:
8556         * text.C:
8557         * text2.C: paint cleanups. Inset::update() dropped font
8558         parameter
8559
8560 2003-03-19  John Levon  <levon@movementarian.org>
8561
8562         * lyxfunc.C: only fitcursor/markDirty if available()
8563
8564 2003-03-19  John Levon  <levon@movementarian.org>
8565
8566         * commandtags.h: rename to ...
8567
8568         * lfuns.h: ... this, and renumber / cleanup
8569
8570 2003-03-19  John Levon  <levon@movementarian.org>
8571
8572         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8573         fit the cursor after an lfun
8574
8575         * BufferView.h:
8576         * BufferView.C:
8577         * BufferView_pimpl.h:
8578         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8579
8580         * LyXAction.C: layout-character should have ReadOnly
8581
8582         * ParagraphParameters.C:
8583         * buffer.C:
8584         * bufferview_funcs.C:
8585         * lyx_cb.C:
8586         * lyxfind.C:
8587         * lyxtext.h:
8588         * text.C:
8589         * text2.C:
8590         * text3.C:
8591         * undo_funcs.C: changes from above
8592
8593 2003-03-18  John Levon  <levon@movementarian.org>
8594
8595         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8596         remove it from update()
8597
8598         * lyxfunc.C: update layout choice after an lfun
8599
8600         * text3.C: remove extra updateLayoutChoice()s
8601
8602 2003-03-18  John Levon  <levon@movementarian.org>
8603
8604         * text.C: top_y change means full repaint, fix
8605         a drawing bug with cursor movement
8606
8607 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8608
8609         * lyxtext.h:
8610         * text.C:
8611         * text2.C: anchor row on setCursor
8612
8613 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8614
8615         * lyxtext.h: remove almost all mutable keywords
8616         * text.C:
8617         * text2.C:
8618         * text3.C: remove const keywords accordingly
8619
8620 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8621
8622         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8623         anon namespace
8624         (TeXEnvironment): ditto
8625         (TeXOnePar): ditto
8626
8627 2003-03-17  John Levon  <levon@movementarian.org>
8628
8629         * text.C (rowBreakPoint): remove attempt to fix displayed
8630         math insets inside a manual label
8631
8632 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8633
8634         * lyxtext.h: remove BufferView* as first arg from almost all class
8635         functions.
8636         * other files: adjust.
8637
8638 2003-03-17  John Levon  <levon@movementarian.org>
8639
8640         * lyxtext.h:
8641         * undo_funcs.C:
8642         * text2.C: more paint cleanups
8643
8644         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8645
8646         * rowpainter.h:
8647         * rowpainter.C: remove "smart" background painting code
8648
8649 2003-03-16  John Levon  <levon@movementarian.org>
8650
8651         * lyxtext.h:
8652         * text.C:
8653         * text2.C:
8654         * text3.C: add helper functions for setting refresh_row/y
8655
8656 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8657
8658         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8659         newline inset which *can* get inserted in the pass_thru layouts.
8660         This is primarily for literate documents.
8661
8662 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8663
8664         * buffer.C: increment LYX_FORMAT to 223
8665
8666 2003-03-14 André Pönitz <poenitz@gmx.net>
8667
8668         * textclass.h: prepare for environment handling, ws changes
8669         * lyxlayout.C: read latexheader and latexfooter tags
8670
8671 2003-03-14  John Levon  <levon@movementarian.org>
8672
8673         * text2.C: rewrite ::status() a bit
8674
8675 2003-03-13  John Levon  <levon@movementarian.org>
8676
8677         * lyxtext.h: add some docs
8678
8679 2003-03-13  John Levon  <levon@movementarian.org>
8680
8681         * lyxtext.h:
8682         * text.C:
8683         * text2.C:
8684         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8685
8686 2003-03-13  John Levon  <levon@movementarian.org>
8687
8688         * text3.C: fix appendix redrawing
8689
8690 2003-03-13  John Levon  <levon@movementarian.org>
8691
8692         * text.C (setHeightOfRow):
8693         * rowpainter.h:
8694         * rowpainter.C: make appendix mark have the text
8695           "Appendix" so the user knows what it is
8696
8697         * LColor.h:
8698         * LColor.C: s/appendixline/appendix/ from above
8699
8700 2003-03-13  John Levon  <levon@movementarian.org>
8701
8702         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8703
8704         * text.C: fix a getChar(pos) bug properly
8705
8706 2003-03-13  Angus Leeming  <leeming@lyx.org>
8707
8708         * commandtags.h:
8709         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8710         Probably only temporary. Let's see how things pan out.
8711
8712         * BufferView.C (unlockInset):
8713         * BufferView_pimpl.C (fitCursor):
8714         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8715
8716         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8717         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8718
8719         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8720         new functions that convert ParagraphParameters to and from a string.
8721
8722         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8723         BufferView::Pimpl's dispatch.
8724         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8725
8726 2003-03-13 André Pönitz <poenitz@gmx.net>
8727
8728         * lyxfunc.C:
8729         * text3.C:
8730         * factory.C: make it aware of InsetEnv
8731
8732 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8733
8734         * text2.C (setCursor): never ask for one past last
8735         (setCursor): add some debugging messages.
8736
8737         * text.C (singleWidth): never ask for one past last
8738         (singleWidth): ditto
8739         (leftMargin): ditto
8740         (rightMargin): ditto
8741         (rowBreakPoint): ditto
8742         (setHeightOfRow): ditto
8743         (prepareToPrint): ditto
8744
8745         * rowpainter.C (paintBackground): never ask for one past last
8746         (paintText): never ask for one past last
8747
8748         * paragraph_pimpl.C (getChar): make the assert stricter, never
8749         allow the one past last pos to be taken
8750
8751         * paragraph.C (getChar): ws changes only
8752
8753         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8754         (numberOfSeparators): ditto
8755         (numberOfHfills): ditto
8756
8757 2003-03-12  John Levon  <levon@movementarian.org>
8758
8759         * author.h:
8760         * author.C:
8761         * bufferparams.h:
8762         * bufferparams.C:
8763         * paragraph_funcs.C: fix per-buffer authorlists
8764
8765 2003-03-12  John Levon  <levon@movementarian.org>
8766
8767         * text.C: fix newline in right address
8768
8769 2003-03-12  Angus Leeming  <leeming@lyx.org>
8770
8771         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8772         duplicate those in LyXFunc::dispatch.
8773
8774         * commandtags.h:
8775         * LyXAction.C:
8776         * ToolbarDefaults.C:
8777         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8778         Add LFUN_FONTFREE_UPDATE.
8779
8780         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8781         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8782
8783         * bufferview_func.[Ch]: several new functions to facilliate
8784         transfer of data to and from the character dialog.
8785
8786 2003-03-12  John Levon  <levon@movementarian.org>
8787
8788         * buffer.C:
8789         * paragraph.h:
8790         * paragraph.C:
8791         * paragraph_funcs.C:
8792         * paragraph_pimpl.C:
8793         * sgml.C:
8794         * tabular.C:
8795         * text.C:
8796         * text3.C: remove META_NEWLINE in favour of an inset
8797
8798         * rowpainter.h:
8799         * rowpainter.C: remove paintNewline (done by inset)
8800
8801 2003-03-12  John Levon  <levon@movementarian.org>
8802
8803         * paragraph_pimpl.C: complain about bad getChar()s
8804         for a while at least
8805
8806 2003-03-12  John Levon  <levon@movementarian.org>
8807
8808         * buffer.h:
8809         * buffer.C: move paragraph read into a separate function,
8810         a little renaming to reflect that.
8811
8812         * bufferparams.h:
8813         * bufferparams.C: remove the author_ids map, not necessary now
8814
8815         * factory.h:
8816         * factory.C: moved Buffer::readInset to here
8817
8818         * paragraph_funcs.h:
8819         * paragraph_funcs.C: readParagraph free function moved from
8820         buffer.C
8821
8822         * tabular.C: name change
8823
8824 2003-03-12  John Levon  <levon@movementarian.org>
8825
8826         * buffer.C:
8827         * ParagraphParameters.C: move par params input to
8828         a read() method
8829
8830         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8831         behave like a normal read from the stream wrt reading
8832         a line vs. a \\token
8833
8834 2003-03-12  John Levon  <levon@movementarian.org>
8835
8836         * paragraph.C:
8837         * ParagraphParameters.h:
8838         * ParagraphParameters.C: move output code to a
8839         ::write() method
8840
8841 2003-03-12  John Levon  <levon@movementarian.org>
8842
8843         * BufferView.C (insertLyXFile):
8844         * buffer.h:
8845         * buffer.C:
8846         * tabular.C: use a parlist iterator for creating the
8847           document.
8848
8849 2003-03-12  John Levon  <levon@movementarian.org>
8850
8851         * buffer.C: make current_change static local not
8852           static file-scope
8853
8854 2003-03-12  John Levon  <levon@movementarian.org>
8855
8856         * buffer.C: fix insertStringAsLines for change tracking
8857
8858 2003-03-12  John Levon  <levon@movementarian.org>
8859
8860         * BufferView.C:
8861         * tabular.C:
8862         * buffer.h:
8863         * buffer.C:
8864         * bufferparams.h:
8865         * bufferparams.C: move author list into params. Rename some
8866           functions. Move the header reading into a separate token
8867           loop. Move the header token reading into BufferParams.
8868
8869 2003-03-12  John Levon  <levon@movementarian.org>
8870
8871         * changes.C: put debug inside lyxerr.debugging() checks
8872
8873 2003-03-11 André Pönitz <poenitz@gmx.net>
8874
8875         * factory.C: make it aware of InsetHFill
8876
8877 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8878
8879         * buffer.C (latexParagraphs): move function from here...
8880         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8881         args.
8882
8883 2003-03-10  Angus Leeming  <leeming@lyx.org>
8884
8885         * LyXAction.C (init): fix bug in poplating array with multiple entries
8886         with the same LFUN (spotted by JMarc).
8887
8888 2003-03-10  John Levon  <levon@movementarian.org>
8889
8890         * text.C:
8891         * text2.C: move getColumnNearX() near its
8892         only call site
8893
8894 2003-03-10  John Levon  <levon@movementarian.org>
8895
8896         * text.C: fix break before a minipage
8897
8898 2003-03-10  John Levon  <levon@movementarian.org>
8899
8900         * text.C: fix the last commit
8901
8902 2003-03-09  John Levon  <levon@movementarian.org>
8903
8904         * lyxtext.h:
8905         * text.C:
8906         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8907         bug 365 (don't break before insets unless needed). Don't
8908         return a value > last under any circumstances.
8909
8910 2003-03-09  Angus Leeming  <leeming@lyx.org>
8911
8912         * BufferView_pimpl.C (trackChanges, dispatch): call
8913         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8914
8915 2003-03-09  Angus Leeming  <leeming@lyx.org>
8916
8917         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8918         than Dialogs::showAboutlyx().
8919
8920 2003-03-09  Angus Leeming  <leeming@lyx.org>
8921
8922         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8923         than Dialogs::showTabularCreate().
8924
8925 2003-03-09  John Levon  <levon@movementarian.org>
8926
8927         * lyxtext.h:
8928         * text.C:
8929         * text2.C: 3rd arg to nextBreakPoint was always the same.
8930           Use references.
8931
8932 2003-03-08  John Levon  <levon@movementarian.org>
8933
8934         * lyxrow.C:
8935         * paragraph.C:
8936         * paragraph.h:
8937         * rowpainter.C:
8938         * text.C:
8939         * text2.C: Remove the "main" bit from the "main body"
8940           notion.
8941
8942 2003-03-08  John Levon  <levon@movementarian.org>
8943
8944         * text.C (leftMargin): The left margin of an empty
8945         manual label paragraph should not include the label width
8946         string length.
8947
8948         * text.C (prepareToPrint): don't attempt to measure hfills
8949         for empty manual label paragraphs - the answer should be 0
8950
8951 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8952
8953         * CutAndPaste.C: remove commented code and reindent.
8954
8955 2003-03-08  John Levon  <levon@movementarian.org>
8956
8957         * lyxfunc.h:
8958         * lyxfunc.C: move reloadBuffer()
8959
8960         * BufferView.h:
8961         * BufferView.C: to here
8962
8963         * lyxvc.C: add comment
8964
8965         * vc-backend.h:
8966         * vc-backend.C: call bv->reload() to avoid
8967           getStatus() check on MENURELOAD
8968
8969 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8970
8971         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8972         to an old format .dep file.
8973
8974 2003-03-07  Angus Leeming  <leeming@lyx.org>
8975
8976         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8977         when the LFUN_MOUSE_RELEASE should have been handled by
8978         inset->localDispatch.
8979
8980 2003-03-07  Angus Leeming  <leeming@lyx.org>
8981
8982         * BufferView_pimpl.C (dispatch):
8983         * LyXAction.C (init):
8984         * ToolbarDefaults.C (init):
8985         * commandtags.h:
8986         * lyxfunc.C (getStatus):
8987         remove LFUN_INSET_GRAPHICS.
8988
8989         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8990
8991 2003-03-07  Angus Leeming  <leeming@lyx.org>
8992
8993         * commandtags.h:
8994         * LyXAction.C (init):
8995         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8996
8997         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8998
8999         * commandtags.h:
9000         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9001
9002         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9003         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9004
9005 2003-03-07  Angus Leeming  <leeming@lyx.org>
9006
9007         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9008         remove "ert".
9009
9010 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9011
9012         * ParagraphList.C (front): new function
9013         (back): implement
9014
9015 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9016
9017         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9018         and top_row_offset_. removed var first_y.
9019         * text.C (top_y):
9020         * text2.C (LyXText, removeRow):
9021         * text3.C:
9022         * BufferView_pimpl.C:
9023         use these methods instead of using first_y
9024
9025 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9026
9027         * text2.C (pasteSelection): adjust for checkPastePossible
9028
9029         * CutAndPaste.C: remove Paragraph * buf and replace with
9030         ParagraphList paragraphs.
9031         (DeleteBuffer): delete
9032         (cutSelection): change the tc type to textclass_type
9033         (copySelection): change the tc type to textclass_type
9034         (copySelection): adjust for ParagraphList
9035         (pasteSelection): change the tc type to textclass_type
9036         (pasteSelection): adjust for Paragraphlist
9037         (nrOfParagraphs): simplify for ParagraphList
9038         (checkPastePossible): simplify for ParagraphList
9039         (checkPastePossible): remove unused arg
9040
9041         * ParagraphList.C (insert): handle the case where there are no
9042         paragraphs yet.
9043
9044         * CutAndPaste.h: make CutAndPaste a namespace.
9045
9046         * text3.C (dispatch): adjust
9047
9048         * text.C (breakParagraph): add a ParagraphList as arg
9049
9050         * paragraph_funcs.C (breakParagraph): change to take a
9051         BufferParams and a ParagraphList as args.
9052         (breakParagraphConservative): ditto
9053         (mergeParagraph): ditto
9054         (TeXDeeper): add a ParagraphList arg
9055         (TeXEnvironment): ditto
9056         (TeXOnePar): ditto
9057
9058         * buffer.C (readLyXformat2): adjust
9059         (insertStringAsLines): adjust
9060         (latexParagraphs): adjust
9061
9062         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9063         (cutSelection): adjust
9064         (pasteSelection): adjust
9065
9066         * BufferView_pimpl.C (insertInset): adjust
9067
9068 2003-03-05  Angus Leeming  <leeming@lyx.org>
9069
9070         * commandtags.h:
9071         * LyXAction.C (init):
9072         * BufferView_pimpl.C (dispatch):
9073         * lyxfunc.C (getStatus):
9074         remove LFUN_CHILD_INSERT.
9075
9076         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9077
9078 2003-03-05  Angus Leeming  <leeming@lyx.org>
9079
9080         * commandtags.h:
9081         * LyXAction.C (init):
9082         * src/factory.C (createInset):
9083         * lyxfunc.C (getStatus):
9084         * text3.C (dispatch):
9085         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9086
9087         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9088
9089 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9090
9091         * ParagraphList.C (insert): handle insert right before end()
9092         (erase): fix cases where it can be first or last paragraph.
9093
9094 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9095
9096         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9097         Paragraph::next and Paragraph::previous
9098         (TeXOnePar): ditto
9099
9100         * text.C (breakParagraph): adjust
9101
9102         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9103         BufferParams& as arg.
9104         (breakParagraph): use ParagraphList::insert
9105         (breakParagraphConservative): take a Buffer* instead of a
9106         BufferParams& as arg.
9107         (breakParagraphConservative): use ParagraphList::insert.
9108
9109         * buffer.C (insertStringAsLines): un-const it
9110         (insertStringAsLines): adjust
9111
9112         * ParagraphList.C (insert): new function
9113
9114         * CutAndPaste.C (pasteSelection): adjust
9115
9116         * text.C (backspace): adjust
9117
9118         * tabular.C (SetMultiColumn): adjust
9119
9120         * CutAndPaste.C (cutSelection): adjust
9121         (pasteSelection): adjust
9122
9123         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9124         Buffer const * as arg
9125
9126         * ParagraphList.C (erase): new function
9127         * paragraph_funcs.C (mergeParagraph): use it
9128         (mergeParagraph): make it take a Buffer* instead of a
9129         BufferParams* as arg
9130
9131         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9132         as arg
9133         (breakParagraphConservative): ditto
9134
9135         * paragraph.h: remove the breakParagraph friend
9136
9137         * paragraph.C (eraseIntern): new function
9138         (setChange): new function
9139
9140         * paragraph_funcs.C (mergeParagraph): make it take a
9141         ParagraphList::iterator instead of a Paragraph *, adjust
9142         accordingly.
9143
9144         * paragraph.h: move an #endif so that the change tracking stuff
9145         also works in the NO_NEXT case.
9146
9147 2003-03-04  Angus Leeming  <leeming@lyx.org>
9148
9149         * commandtags.h:
9150         * LyXAction.C: new LFUN_INSET_MODIFY.
9151
9152         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9153         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9154
9155 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9156
9157         * several files: ws changes only
9158
9159         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9160         (TeXEnvironment): ditto
9161         (TeXDeeper): ditto
9162
9163         * buffer.C (makeLaTeXFile): adjust
9164         (latexParagraphs): make it take ParagraphList::iterator as args
9165
9166 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9167
9168         * buffer.C (latexParagraphs): adjust
9169
9170         * paragraph.C (TeXOnePar): move function...
9171         (optArgInset): move function...
9172         (TeXEnvironment): move function...
9173         * paragraph_pimpl.C (TeXDeeper): move function...
9174         * paragraph_funcs.C: ...here
9175
9176         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9177
9178 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9179
9180         * buffer.C (readInset): remove compability code for old Figure and
9181         InsetInfo insets
9182
9183 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9184
9185         * buffer.C: ws changes
9186         (readInset):
9187
9188         * BufferView_pimpl.C: ditto
9189         * author.C: ditto
9190         * buffer.h: ditto
9191         * bufferlist.h: ditto
9192         * changes.h: ditto
9193         * lyxfunc.C: ditto
9194
9195 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9196
9197         * converter.[Ch]: split into itself +
9198         * graph.[Ch]
9199         * format.[Ch]
9200         * Makefile.am: += graph.[Ch] + format.[Ch]
9201         * MenuBackend.C
9202         * buffer.C
9203         * exporter.C
9204         * importer.C
9205         * lyx_main.C
9206         * lyxfunc.C
9207         * lyxrc.C: added #include "format.h"
9208
9209 2003-02-27  Angus Leeming  <leeming@lyx.org>
9210
9211         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9212           a label.
9213
9214         * factory.C (createInset): add "label" to the factory.
9215
9216         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9217           string and do no more.
9218
9219 2003-02-27  Angus Leeming  <leeming@lyx.org>
9220
9221         * commandtags.h:
9222         * LyXAction.C (init):
9223         * factory.C (createInset):
9224         * BufferView_pimpl.C (dispatch):
9225           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9226
9227         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9228
9229         * lyxfunc.C (dispatch):
9230         * text3.C (dispatch): pass name to params2string.
9231
9232 2003-02-26  Angus Leeming  <leeming@lyx.org>
9233
9234         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9235           blocks together.
9236           Rearrange the ~includes. Strip out the unnecessary ones.
9237
9238         * factory.C (createInset): reformat.
9239           create new insets for the various LFUN_XYZ_APPLY lfuns.
9240
9241 2003-02-26  John Levon  <levon@movementarian.org>
9242
9243         * lyxrow.h:
9244         * lyxrow.C: add isParStart,isParEnd helpers
9245
9246         * paragraph.h: make isInserted/DeletedText take refs
9247
9248         * paragraph_funcs.h:
9249         * paragraph_funcs.C: remove #if 0'd code
9250
9251         * lyxtext.h:
9252         * text3.C:
9253         * text2.C:
9254         * text.C: use lyxrow helpers above.
9255           Move draw and paint routines to RowPainter.
9256           Make several methods use refs not pointers.
9257           Make backgroundColor() const.
9258           Add markChangeInDraw(), isInInset().
9259           Merge changeRegionCase into changeCase.
9260           Make workWidth() shouldn't-happen code into an Assert.
9261
9262         * rowpainter.h:
9263         * rowpainter.C: new class for painting a row.
9264
9265         * vspace.h:
9266         * vspace.C: make inPixels take a ref
9267
9268 2003-02-26  Angus Leeming  <leeming@lyx.org>
9269
9270         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9271         LFUN_REF_APPLY.
9272
9273 2003-02-25  John Levon  <levon@movementarian.org>
9274
9275         * ispell.C: give the forked command a more accurate name
9276
9277 2003-02-22  John Levon  <levon@movementarian.org>
9278
9279         * toc.h:
9280         * toc.C: make TocItem store an id not a Paragraph *
9281           (bug #913)
9282
9283 2003-02-21  Angus Leeming  <leeming@lyx.org>
9284
9285         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9286           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9287           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9288           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9289           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9290           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9291
9292         * BufferView_pimpl.C (dispatch):
9293         * LyXAction.C (init):
9294         * factory.C (createInset):
9295         * lyxfunc.C (getStatus, dispatch):
9296         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9297
9298 2003-02-21  Angus Leeming  <leeming@lyx.org>
9299
9300         * BufferView_pimpl.C (MenuInsertLyXFile):
9301         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9302         * lyxfunc.C (menuNew, open, doImport):
9303           no longer pass a LyXView & to fileDlg.
9304
9305 2003-02-21  Angus Leeming  <leeming@lyx.org>
9306
9307         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9308         * LyXAction.C: change, BIBKEY to BIBITEM.
9309         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9310         Change InsetBibKey to InsetBibitem.
9311         Change BIBKEY_CODE to BIBITEM_CODE.
9312         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9313         * factory.C: replace insetbib.h with insetbibitem.h.
9314         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9315         * paragraph.C: replace insetbib.h with insetbibitem.h.
9316         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9317         Change bibkey() to bibitem().
9318         * text.C: remove insetbib.h.
9319         * text2.C: replace insetbib.h with insetbibitem.h.
9320         change bibkey() to bibitem().
9321         * text3.C: remove insetbib.h.
9322         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9323
9324 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9325
9326         * lyxrc.C (output): enclose user email in quotes (in case there are
9327         several words)
9328
9329 2003-02-18  John Levon  <levon@movementarian.org>
9330
9331         * buffer.h: add std::
9332
9333 2003-02-17  John Levon  <levon@movementarian.org>
9334
9335         * SpellBase.h:
9336         * ispell.h:
9337         * ispell.C:
9338         * pspell.h:
9339         * pspell.C: reworking. Especially in ispell, a large
9340           number of clean ups and bug fixes.
9341
9342         * lyxfunc.C: fix revert to behave sensibly
9343
9344 2003-02-17 André Pönitz <poenitz@gmx.net>
9345
9346         * LyXAction.C:
9347         * commandtags.h: new LFUN_INSERT_BIBKEY
9348
9349         * layout.h:
9350         * lyxlayout.C:
9351         * buffer.C:
9352         * factory.C:
9353         * text.C:
9354         * text2.C:
9355         * text3.C:
9356         * paragraph.[Ch]:
9357         * paragraph_func.C: remove special bibkey handling
9358
9359 2003-02-17  John Levon  <levon@movementarian.org>
9360
9361         * text.C (Delete): fix case where delete at the end of
9362           the very first paragraph would not merge the pars
9363
9364 2003-02-17  John Levon  <levon@movementarian.org>
9365
9366         * lyxrow.C: fix lastPrintablePos()
9367
9368 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9369
9370         * bufferparams.C (writeLaTeX): add a std:here
9371
9372         * buffer.C: and remove a using directive there
9373
9374 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9375
9376         * buffer.C (makeLaTeXFile): move the code that generates the
9377           preamble...
9378
9379         * bufferparams.C (writeLaTeX): ... in this new method
9380
9381         * LaTeXFeatures.C (getEncodingSet): make const
9382           (getLanguages): make const
9383
9384         * MenuBackend.C (binding): returns the binding associated to this
9385           action
9386           (add): sets the status of each item by calling getStatus. Adds
9387           some intelligence.
9388           (read): add support for OptSubMenu
9389           (expand): remove extra separator at the end of expanded menu
9390
9391 2003-02-15  John Levon  <levon@movementarian.org>
9392
9393         * BufferView.C:
9394         * BufferView_pimpl.C:
9395         * bufferlist.h:
9396         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9397           inset code that had no actual effect. Remove unneeded status
9398           code.
9399
9400 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9401
9402         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9403           in preamble
9404
9405 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9406
9407         * text.C (drawLengthMarker): also draw an arrow marker for
9408           symbolic lengths (medskip...)
9409
9410 2003-02-14  John Levon  <levon@movementarian.org>
9411
9412         * tabular.h:
9413         * tabular.C: better method names
9414
9415 2003-02-14  John Levon  <levon@movementarian.org>
9416
9417         * BufferView_pimpl.C:
9418         * bufferlist.C:
9419         * buffer.C:
9420         * converter.C:
9421         * lyx_cb.C:
9422         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9423           it's a more accurate name. Remove some pointless uses.
9424
9425 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9426
9427         * text2.C (LyXText): change order of initilizers to shut off
9428           warnings
9429
9430 2003-02-14  John Levon  <levon@movementarian.org>
9431
9432         * buffer.C: use ParIterator for getParFromID()
9433
9434         * paragraph.h:
9435         * paragraph.C:
9436         * paragraph_pimpl.h:
9437         * paragraph_pimpl.C: remove unused getParFromID()
9438
9439 2003-02-14  John Levon  <levon@movementarian.org>
9440
9441         * buffer.C: remove some very old #if 0'd parse code
9442
9443 2003-02-13  John Levon  <levon@movementarian.org>
9444
9445         * text.h:
9446         * text.C:
9447         * text2.C: move hfillExpansion(), numberOfSeparators(),
9448           rowLast(), rowLastPrintable(), numberofHfills(),
9449           numberOfLabelHfills() ...
9450
9451         * lyxrow.h:
9452         * lyxrow.C: ... to member functions here.
9453
9454         * paragraph.h:
9455         * paragraph.C:
9456         * lyxtext.h:
9457         * text.C: remove LyXText::beginningOfMainBody(), and call
9458           p->beginningOfMainBody() directly. Move the check for
9459           LABEL_MANUAL into the latter.
9460
9461         * text.h:
9462         * text.C:
9463         * text2.C:
9464         * vspace.C:
9465         * BufferView.h:
9466         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9467
9468         * text.h:
9469         * text.C:
9470         * text2.C:
9471         * text3.C:
9472         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9473           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9474
9475 2003-02-13  John Levon  <levon@movementarian.org>
9476
9477         * CutAndPaste.C: remove debug
9478
9479 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9480
9481         * paragraph.C (asString): remove two unused variables
9482
9483         * lyxtextclass.C (readTitleType):
9484           (Read):
9485           (LyXTextClass): handle new members titletype_ and titlename_
9486
9487         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9488
9489 2003-02-09  John Levon  <levon@movementarian.org>
9490
9491         * buffer.h:
9492         * buffer.C: replace hand-coded list with a map for the dep clean
9493
9494 2003-02-08  John Levon  <levon@movementarian.org>
9495
9496         * LaTeX.C: consolidate code into showRunMessage() helper
9497
9498 2003-02-08  John Levon  <levon@movementarian.org>
9499
9500         * lyxfind.C:
9501         * lyxtext.h:
9502         * text2.C:
9503         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9504           and pass the size in explicitly
9505
9506         * BufferView_pimpl.h:
9507         * BufferView_pimpl.C:
9508         * BufferView.h:
9509         * BufferView.C: add getCurrentChange()
9510
9511         * BufferView_pimpl.h:
9512         * BufferView_pimpl.C: handle change lfuns
9513
9514         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9515           for changes. Mark pasted paragraphs as new.
9516
9517         * support/lyxtime.h:
9518         * support/lyxtime.C:
9519         * DepTable.C: abstract time_t as lyx::time_type
9520
9521         * LColor.h:
9522         * LColor.C: add colours for new text, deleted text, changebars
9523
9524         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9525           package use "usenames" option.
9526
9527         * commandtags.h:
9528         * lyxfunc.C:
9529         * LyXAction.C: add change lfuns
9530
9531         * Makefile.am:
9532         * author.h:
9533         * author.C: author handling
9534
9535         * buffer.h:
9536         * buffer.C: add a per-buffer author list, with first entry as
9537           current author. Handle new .lyx tokens for change tracking. Output
9538           author list to .lyx file. Output dvipost stuff to .tex preamble.
9539           Bump lyx format to 222.
9540
9541         * bufferlist.h:
9542         * bufferlist.C: add setCurrentAuthor() to reset current author details
9543           in all buffers.
9544
9545         * bufferparams.h:
9546         * bufferparams.C: add param for tracking
9547
9548         * bufferview_funcs.C: output change info in minibuffer
9549
9550         * Makefile.am:
9551         * changes.h:
9552         * changes.C: add change-tracking structure
9553
9554         * debug.h:
9555         * debug.C: add CHANGES debug flag
9556
9557         * lyxfind.h:
9558         * lyxfind.C: add code for finding the next change piece
9559
9560         * lyxrc.h:
9561         * lyxrc.C: add user_name and user_email
9562
9563         * lyxrow.h:
9564         * lyxrow.C: add a metric for the top of the text line
9565
9566         * lyxtext.h:
9567         * text.C: implement accept/rejectChange()
9568
9569         * lyxtext.h:
9570         * text.C: paint changebars. Paint new/deleted text in the chosen
9571         colours. Strike through deleted text.
9572
9573         * paragraph.h:
9574         * paragraph.C:
9575         * paragraph_pimpl.h:
9576         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9577           in the current change to the insert functions. Rework erase to
9578           mark text as deleted, adding an eraseIntern() and a range-based
9579           erase(). Implement per-paragraph change lookup and
9580           accept/reject.
9581
9582         * paragraph_funcs.C: Fixup paste for change tracking.
9583
9584         * tabular.C: mark added row/columns as new.
9585
9586         * text.C: fix rowLast() to never return -1. Don't allow
9587           spellchecking of deleted text. Track transpose changes. Don't
9588           allow paragraph break or merge where appropriate.
9589
9590         * text2.C: leave cursor at end of selection after a cut.
9591
9592 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9593
9594         * text.C (getLengthMarkerHeight):
9595         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9596         visible on screen too.
9597
9598 2003-02-07  John Levon  <levon@movementarian.org>
9599
9600         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9601
9602 2003-02-05  Angus Leeming  <leeming@lyx.org>
9603
9604         * lyxserver.C (read_ready): revert my patch of 11 September last year
9605         as it sends PC cpu through the roof. Presumably this means that
9606         the lyxserver will no longer run on an Alpha...
9607
9608 2003-01-30  Angus Leeming  <leeming@lyx.org>
9609
9610         * factory.C (createInset): create an InsetCommandParam of type "index"
9611         and use it to 'do the right thing'.
9612
9613         * text2.C (getStringToIndex): ensure that cursor position is always
9614         reset to the reset_cursor position.
9615
9616 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9617
9618         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9619         disabled.
9620
9621 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9622
9623         * bufferview.C:
9624         * lyxcb.C:
9625         * lyxfunc.C: Output messages with identical spelling, punctuation,
9626         and spaces
9627
9628 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9629
9630         * MenuBackend.C (expandFormats): List only viewable export formats
9631         in "View" menu
9632
9633         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9634         message
9635
9636         * lyxfunc.C (getStatus): Make sure that formats other than
9637         "fax" can also be disabled
9638
9639 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9640
9641         * text3.C (dispatch): put the lfuns that insert insets in 3
9642         groups, and call doInsertInset with appropriate arguments.
9643         (doInsertInset): new function, that creates an inset and inserts
9644         it according to some boolean parameters.
9645
9646 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9647
9648         * buffer.C (readFile): remember to pass on 'par' when calling
9649         readFile recursively.
9650
9651 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9652
9653         * MenuBackend.C (expandFormats): add "..." to import formats.
9654
9655 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9656
9657         * paragraph.C (asString): Remove XForms RTL hacks.
9658
9659 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9660         * buffer.C: fix typo
9661
9662 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9663
9664         * Makefile.am (LIBS): delete var
9665         (lyx_LDADD): add @LIBS@ here instead.
9666
9667 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9668
9669         * Clarify the meaning of "wheel mouse jump"
9670
9671 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9672
9673         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9674         tabular in a float
9675
9676 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9677
9678         * importer.C (Loaders): do not preallocate 3 elements in the
9679         vector, since one ends up with 6 elements otherwise
9680
9681 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9682
9683         * DepTable.C (write): write the file name as last element of the
9684         .dep file (because it may contain spaces)
9685         (read): read info in the right order
9686
9687 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9688
9689         * paragraph_pimpl.C (simpleTeXBlanks):
9690         (simpleTeXSpecialChars):
9691         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9692
9693         * tabular.C (latex): add some missing case statements. Reindent.
9694
9695         * MenuBackend.C (expandToc): remove unused variable.
9696
9697 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9698
9699         * LColor.C:
9700         * LaTeX.C:
9701         * LyXAction.C:
9702         * MenuBackend.C:
9703         * buffer.C:
9704         * exporter.C:
9705         * lyxfunc.C:
9706         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9707         and the like.
9708
9709 2003-01-05  John Levon  <levon@movementarian.org>
9710
9711         * BufferView.h:
9712         * BufferView.C: add getEncoding()
9713
9714         * kbsequence.h:
9715         * kbsequence.C: do not store last keypress
9716
9717         * lyxfunc.h:
9718         * lyxfunc.C: store last keypress here instead. Pass encoding
9719           to getISOEncoded()
9720
9721 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9722
9723         * lyx_main.C (init): remove annoying error message when following
9724         symbolic links (bug #780)
9725
9726 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9727
9728         * text.C (insertChar):
9729         * lyxrc.C (getDescription): remove extra spaces
9730
9731 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9732
9733         * lyxrc.C (getDescription): remove extra spaces
9734
9735 2002-12-20  John Levon  <levon@movementarian.org>
9736
9737         * text3.C: hack fix for page up/down across tall rows
9738
9739 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9740
9741         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9742         not been invoked
9743
9744 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9745
9746         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9747         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9748         thesaurus is not compiled in
9749
9750 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9751
9752         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9753
9754 2002-12-16  Angus Leeming  <leeming@lyx.org>
9755
9756         * lyxrc.[Ch]:
9757         * lyx_main.C (init): remove override_x_deadkeys stuff.
9758
9759 2002-12-12  John Levon  <levon@movementarian.org>
9760
9761         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9762           insert. Only remove shift modifier under strict
9763           circumstances.
9764
9765 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9766
9767         * MenuBackend.C (expandToc): fix crash.
9768
9769 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9770
9771         * MenuBackend.C (expandToc): gettext on float names.
9772
9773 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9774
9775         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9776         implement bool empty() [bug 490]
9777
9778 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9779
9780         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9781
9782 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9783
9784         * several files: ws changes
9785
9786 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9787
9788         * text2.C (setCounter): clean up a bit, use boost.format.
9789         (updateCounters): initialize par upon declaration.
9790
9791         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9792         if the layout exists. We do not just store the layout any more.
9793         (SwitchLayoutsBetweenClasses): use boost.format
9794
9795 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9796
9797         * converter.C (convert): if from and to files are the same, use a
9798         temporary files as intermediary
9799
9800 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9801
9802         * commandtags.h:
9803         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9804
9805 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9806
9807         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9808
9809 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9810
9811         * tabular.C (asciiPrintCell): use string(size, char) instead of
9812         explicit loop.
9813
9814         * sgml.C (openTag): fix order of arguments to string constructor
9815         (closeTag): ditto
9816
9817         * lyxfunc.C (dispatch): use boost.format
9818
9819         * lots of files: change "c" -> 'c'
9820
9821 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9822
9823         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9824
9825 2002-11-25  Angus Leeming  <leeming@lyx.org>
9826
9827         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9828
9829         * lyx_main.C (init): compile fix.
9830
9831 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9832
9833         * lyx_cb.C (start): boost.formatify
9834         do not include <iostream>
9835
9836         * lengthcommon.C: ws only
9837
9838         * boost-inst.C,BoostFormat.h: add more explict instantations
9839
9840 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9841
9842         * lots of files: handle USE_BOOST_FORMAT
9843
9844 2002-11-21  John Levon  <levon@movementarian.org>
9845
9846         * pspell.C: fix compile
9847
9848 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9849
9850         * lyxfunc.C (dispatch): use boost::format
9851         (open): ditto
9852         (doImport): ditto
9853
9854         * lyxfont.C (stateText): use boost::format
9855
9856         * lyx_main.C (LyX): use boost::format
9857         (init): ditto
9858         (queryUserLyXDir): ditto
9859         (readRcFile): ditto
9860         (parse_dbg): ditto
9861         (typedef boost::function): use the recommened syntax.
9862
9863         * importer.C (Import): use boost::format
9864
9865         * debug.C (showLevel): use boost::format
9866
9867         * converter.C (view): use boost::format
9868         (convert): ditto
9869         (move): ditto
9870         (scanLog): ditto
9871
9872         * bufferview_funcs.C (currentState): use boost::format
9873
9874         * bufferlist.C (emergencyWrite): use boost::format
9875
9876         * buffer.C (readLyXformat2): use boost::format
9877         (parseSingleLyXformat2Token): ditto
9878
9879         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9880
9881         * LaTeX.C (run): use boost::format
9882
9883         * Chktex.C (scanLogFile): use boost::format
9884
9885         * BufferView_pimpl.C (savePosition): use boost::format
9886         (restorePosition): ditto
9887         (MenuInsertLyXFile): ditto
9888
9889         * BoostFormat.h: help file for explicit instation.
9890
9891 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9892
9893         * tabular.C (latex): Support for block alignment in fixed width
9894         columns.
9895
9896 2002-11-17  John Levon  <levon@movementarian.org>
9897
9898         * BufferView_pimpl.C:
9899         * lyx_cb.C:
9900         * lyxfunc.C: split filedialog into open/save
9901
9902 2002-11-08  Juergen Vigna  <jug@sad.it>
9903
9904         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9905         by my last patch (hopefully).
9906
9907 2002-11-08  John Levon  <levon@movementarian.org>
9908
9909         * iterators.h:
9910         * iterators.C:
9911         * buffer.h:
9912         * buffer.C:
9913         * paragraph.h:
9914         * paragraph.C:
9915         * toc.h:
9916         * toc.C: ParConstIterator, and use it (from Lars)
9917
9918 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9919
9920         * lyxtextclass.[Ch]: revise and add doxygen comments
9921
9922 2002-11-07  John Levon  <levon@movementarian.org>
9923
9924         * text.C: fix progress value for spellchecker
9925
9926         * toc.C: fix navigate menu for insetwrap inside minipage
9927
9928         * paragraph_funcs.C: added FIXME for suspect code
9929
9930 2002-11-07  John Levon  <levon@movementarian.org>
9931
9932         * BufferView_pimpl.C: fix redrawing of insets
9933           on buffer switch
9934
9935 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9936
9937         * text2.C (updateCounters): fix bug 668
9938
9939 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9940
9941         * text3.C (dispatch): Do not make the buffer dirty when moving the
9942         cursor.
9943
9944 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9945
9946         * vc-backend.C: STRCONV
9947         (scanMaster): ditto
9948
9949         * text2.C (setCounter): STRCONV
9950
9951         * paragraph.C (asString): STRCONV
9952
9953         * lyxlength.C (asString): STRCONV
9954         (asLatexString): ditto
9955
9956         * lyxgluelength.C (asString): STRCONV
9957         (asLatexString): ditto
9958
9959         * lyxfunc.C (dispatch): STRCONV
9960         (open): ditto
9961
9962         * lyxfont.C (stateText): STRCONV
9963
9964         * importer.C (Import): STRCONV
9965
9966         * counters.C (labelItem): STRCONV
9967         (numberLabel): ditto
9968         (numberLabel): remove unused ostringstream o
9969
9970         * chset.C: STRCONV
9971         (loadFile): ditto
9972
9973         * bufferview_funcs.C (currentState): STRCONV
9974
9975         * buffer.C (readFile): STRCONV
9976         (asciiParagraph): ditto
9977         (makeLaTeXFile): ditto
9978
9979         * Spacing.C (writeEnvirBegin): STRCONV
9980
9981         * LaTeXFeatures.C (getLanguages): STRCONV
9982         (getPackages): ditto
9983         (getMacros): ditto
9984         (getBabelOptions): ditto
9985         (getTClassPreamble): ditto
9986         (getLyXSGMLEntities): ditto
9987         (getIncludedFiles): ditto
9988
9989         * LaTeX.C: STRCONV
9990         (run): ditto
9991         (scanAuxFile): ditto
9992         (deplog): ditto
9993
9994         * LString.h: add the STRCONV macros
9995
9996         * BufferView_pimpl.C (savePosition): STRCONV
9997         (restorePosition): ditto
9998         (MenuInsertLyXFile): ditto
9999
10000         * vc-backend.C (scanMaster): change from submatch[...] to
10001         submatch.str(...)
10002
10003         * funcrequest.C: include config.h
10004
10005         * factory.C: include config.h
10006
10007         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10008
10009         * box.C: include config.h
10010
10011         * LaTeX.C (scanAuxFile): change from submatch[...] to
10012         submatch.str(...)
10013         (deplog): ditto
10014
10015 2002-10-25  Angus Leeming  <leeming@lyx.org>
10016
10017         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10018
10019         * ispell.[Ch] (setError): new method.
10020         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10021         Use setError() insetead of goto END.
10022
10023         * lyx_cb.C (AutoSave): move out child process into new class
10024         AutoSaveBuffer.
10025
10026 2002-10-30  John Levon  <levon@movementarian.org>
10027
10028         * text3.C: make start appendix undoable
10029
10030 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10031
10032         * lyxlength.C (inPixels): Fix returned value.
10033
10034         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10035         environment.
10036
10037 2002-10-24  Angus Leeming  <leeming@lyx.org>
10038
10039         * lyxgluelength.h: no need to forward declare BufferParams
10040         or BufferView, so don't.
10041
10042 2002-10-21  John Levon  <levon@movementarian.org>
10043
10044         * BufferView.C: menuUndo ->undo, redo
10045
10046         * BufferView.h: document, remove dead, make some methods private
10047
10048         * paragraph_funcs.h:
10049         * paragraph_funcs.C:
10050         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10051
10052         * buffer.h:
10053         * buffer.C:
10054         * sgml.h:
10055         * sgml.C: move sgml open/close tag into sgml.C
10056
10057         * bufferview_funcs.h: unused prototype
10058
10059         * lyxfunc.h:
10060         * lyxfunc.C: remove unused
10061
10062         * lyxtext.h:
10063         * text.C: remove unused
10064
10065 2002-10-21  John Levon  <levon@movementarian.org>
10066
10067         * BufferView.h:
10068         * BufferView.C:
10069         * BufferView_pimpl.h:
10070         * BufferView_pimpl.C: fix mouse wheel handling based on
10071           patch from Darren Freeman
10072
10073 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10074
10075         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10076
10077 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10078
10079         * lyxlength.C (inPixels): Fix hanfling of negative length.
10080         Fix LyXLength::MU case.
10081
10082 2002-10-16  John Levon  <levon@movementarian.org>
10083
10084         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10085
10086 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10087
10088         * converter.C (view): add support for $$i (file name) and $$p
10089         (file path) for the viewer command. If $$i is not specified, then
10090         it is appended to the command (for compatibility with old syntax)
10091
10092 2002-10-14  Juergen Vigna  <jug@sad.it>
10093
10094         * undo_funcs.C (textHandleUndo): alter the order in which the
10095         new undopar is added to the LyXText, as we have to set first
10096         the right prev/next and then add it as otherwise the rebuild of
10097         LyXText is not correct. Also reset the cursor to the right paragraph,
10098         with this IMO we could remove the hack in "redoParagraphs()".
10099
10100 2002-10-09  Angus Leeming  <leeming@lyx.org>
10101
10102         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10103         to turn off an optimisation if a new inset is to be inserted.
10104
10105 2002-10-11 André Pönitz <poenitz@gmx.net>
10106
10107         * lyxtext.h: make some functions public to allow access
10108         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10109
10110 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10111
10112         * text3.C (dispatch): when changing layout, avoid an infinite loop
10113         [bug #652]
10114
10115 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10116
10117         * lyxrc.C (read): treat a viewer or converter command of "none" as
10118         if it were empty.
10119
10120         * MenuBackend.C (expandFormats): for an update, also allow the
10121         formats that are not viewable
10122
10123         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10124         script if it is newer than the lyxrc.defaults in user directory
10125
10126 2002-10-07 André Pönitz <poenitz@gmx.net>
10127
10128         * text.C: Vitaly Lipatov's small i18n fix
10129
10130 2002-09-25  Angus Leeming  <leeming@lyx.org>
10131
10132         * ispell.h: doxygen fix.
10133
10134 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10135
10136         * buffer.h (readFile): Add a new argument to the method, to allow
10137         reading of old-format templates.
10138
10139 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10140
10141         * toc.C (getTocList): Get TOC from InsetWrap.
10142
10143 2002-09-16  John Levon  <levon@movementarian.org>
10144
10145         * lyxfunc.C: check tabular for cut/copy too
10146
10147 2002-09-12  John Levon  <levon@movementarian.org>
10148
10149         * LyXAction.C: tidy
10150
10151         * factory.h:
10152         * factory.C: add header
10153
10154         * paragraph_funcs.h:
10155         * paragraph_funcs.C: cleanup
10156
10157 2002-09-11  John Levon  <levon@movementarian.org>
10158
10159         * PrinterParams.h: odd/even default to true
10160
10161 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10162
10163         * PrinterParams.h: update printer parameters for new xforms dialog
10164
10165 2002-09-11  Angus Leeming  <leeming@lyx.org>
10166
10167         * lyxserver.C (read_ready): re-write to make it more transparent
10168         and to make it work in coherent fashion under Tru64 Unix.
10169
10170 2002-09-11  André Pönitz <poenitz@gmx.net>
10171
10172         * commandtags.h:
10173         * LyXAction.C:
10174         * text3.C: implement LFUN_WORDSEL
10175
10176 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10177
10178         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10179         make floatlist_ a boost::shared_ptr<FloatList>
10180
10181         * lyxtextclass.C: include FloatList.h
10182         (LyXTextClass): initialize floatlist_
10183         (TextClassTags): add TC_NOFLOAT
10184         (Read): match "nofloat" to TC_NOFLOAT and use it.
10185         (readFloat): modify call to floatlist_
10186         (floats): ditto
10187         (floats): ditto
10188
10189         * FloatList.[Ch] (FloatList): remove commented out float
10190         initialization.
10191         (erase): new function
10192
10193 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10194
10195         * MenuBackend.C (expandToc): fix crash when there is no document
10196         open
10197
10198 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10199
10200         * many files: Add insetwrap.
10201
10202 2002-09-09  John Levon  <levon@movementarian.org>
10203
10204         * text2.C: remove confusing and awkward depth wraparound
10205
10206 2002-09-09  John Levon  <levon@movementarian.org>
10207
10208         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10209
10210         * buffer.h:
10211         * buffer.C: remove getIncludeonlyList()
10212
10213         * paragraph.C:
10214         * lyxfunc.C: remove headers
10215
10216 2002-09-09  Juergen Vigna  <jug@sad.it>
10217
10218         * text.C (getColumnNearX): fix form Michael this is most
10219         probably a cut&paste bug.
10220
10221 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10222
10223         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10224
10225         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10226         references, ws changes.
10227
10228         * text2.C (init): update counters after init
10229         (insertParagraph): no need to set counter on idividual paragraphs.
10230         (setCounter): access the counters object in the textclass object
10231         on in the buffer object.
10232         (updateCounters): ditto
10233
10234         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10235         shared_ptr<Counters> to avoid loading counters.h in all
10236         compilation units.
10237         (LyXTextClass): initialize ctrs_
10238         (TextClassTags): add TC_COUNTER, and ...
10239         (Read): use it here.
10240         (CounterTags): new tags
10241         (readCounter): new function
10242         (counters): new funtion
10243         (defaultLayoutName): return a const reference
10244
10245         * counters.C (Counters): remove contructor
10246         (newCounter): remove a couple of unneeded statements.
10247         (newCounter): simplify a bit.
10248         (numberLabel): some small formatting changes.
10249
10250         * buffer.[Ch]: remove all traces of counters, move the Counters
10251         object to the LyXTextClass.
10252
10253 2002-09-06  Alain Castera  <castera@in2p3.fr>
10254
10255         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10256         package to set the horizontal alignment on fixed width columns.
10257
10258         * lyx_sty.C:
10259         * lyx_sty.h: added tabularnewline macro def.
10260
10261         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10262
10263 2002-09-06  John Levon  <levon@movementarian.org>
10264
10265         * LyXAction.C: tooltips for sub/superscript
10266
10267         * MenuBackend.C: a bit more verbose
10268
10269         * lyxfunc.C: tiny clean
10270
10271         * undo_funcs.C: document undo_frozen
10272
10273 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10274
10275         * counters.C (Counters): add missing algorithm counter.
10276
10277         * text2.C (setCounter): lookup the counter with layouts latexname
10278         instead of by section number.
10279         (setCounter): use a hackish way to lookup the correct enum
10280         counter.
10281         a float name->type change
10282         reset enum couners with counter name directly instead of depth value.
10283
10284         * counters.C (Counters): remove the push_backs, change to use the
10285         float type not the float name.
10286         (labelItem): remove unused string, float name->type change
10287
10288         * counters.h: don't include vector, loose the enums and sects vectors
10289
10290 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10291
10292         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10293         (Read): add float->TC_FLOAT to textclassTags
10294         (Read): and handle it in the switch
10295         (readFloat): new function
10296
10297         * FloatList.C (FloatList): comment out the hardcoded float
10298         definitions.
10299
10300         * lyxlayout.h: ws change.
10301
10302 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10303
10304         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10305
10306 2002-09-03  Angus Leeming  <leeming@lyx.org>
10307
10308         * BufferView_pimpl.h: qualified name is not allowed in member
10309         declaration: WorkArea & Pimpl::workarea() const;
10310
10311         * factory.C: added using std::endl directive.
10312
10313         * text3.C: added using std::find and std::vector directives.
10314
10315 2002-08-29  André Pönitz <poenitz@gmx.net>
10316
10317         * lyxtext.h:
10318         * text2.C: remove unused member number_of_rows
10319
10320         * Makefile.am:
10321         * BufferView2.C: remove file, move contents to...
10322         * BufferView.C: ... here
10323
10324         * BufferView_pimpl.C:
10325         * factory.C: move more inset creation to factory
10326
10327         * vspace.C: avoid direct usage of LyXText, ws changes
10328
10329         * BufferView.[Ch]:
10330                 don't provide direct access to WorkArea, use two simple
10331                 acessors haveSelction() and workHeight() instead
10332
10333
10334 2002-08-29  John Levon  <levon@movementarian.org>
10335
10336         * BufferView_pimpl.C (dispatch): do not continue when
10337           no buffer
10338
10339 2002-08-28  André Pönitz <poenitz@gmx.net>
10340
10341         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10342
10343         * BufferView.h:
10344         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10345
10346 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10347
10348         * buffer.C: increment LYX_FORMAT to 221
10349
10350         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10351         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10352
10353         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10354
10355         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10356
10357 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10358
10359         * factory.C (createInset): use LyXTextClass::floats
10360
10361         * MenuBackend.C (expandFloatListInsert):
10362         (expandFloatInsert):
10363         (expandToc):
10364
10365         * text2.C (setCounter):
10366
10367         * LaTeXFeatures.C (useFloat):
10368         (getFloatDefinitions):
10369
10370         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10371
10372         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10373         floatlist_, with accessor floats().
10374
10375         * FloatList.h: remove global FloatList
10376
10377 2002-08-26  André Pönitz <poenitz@gmx.net>
10378
10379         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10380
10381         * BufferView.h:
10382         * BufferView2.C:
10383         * BufferView_pimpl.C:
10384         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10385
10386 2002-08-25  John Levon  <levon@movementarian.org>
10387
10388         * LyXAction.C: fix margin note description
10389
10390 2002-08-24  John Levon  <levon@movementarian.org>
10391
10392         * buffer.C:
10393         * bufferlist.C:
10394         * bufferview_funcs.C:
10395         * lyxfont.C:
10396         * undo_funcs.C: cleanups
10397
10398         * lyxfunc.C: disable CUT/COPY when no selection
10399
10400 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10401
10402         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10403         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10404
10405         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10406         Add backward compatibility to "mono", "gray" and "no".
10407
10408 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10409
10410         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10411         (and file_format >= 200).
10412
10413 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10414
10415         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10416
10417 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10418
10419         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10420
10421 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10422
10423         * BufferView_pimpl.C:
10424         * LyXAction.C:
10425         * buffer.C:
10426         * commandtags.h:
10427         * lyxfunc.C:
10428         * paragraph.[Ch]:
10429         * text2.C:
10430         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10431         inset and code to make it  work with the paragraph code. The inset
10432         can be anywhere in the paragraph, but will only do the expected
10433         thing in LaTeX if the layout file contains the parameter line
10434                         OptionalArgs    1
10435         (or more generally, a nonzero value) for that layout.
10436
10437 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10438
10439         * paragraph.h: remove the declaration of undefined counters class
10440         function.
10441
10442 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10443
10444         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10445         Dr. Richard Hawkins.
10446
10447 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10448
10449         * paragraph_funcs.h: remove some unneeded includes
10450
10451         * text.C (backspace): pasteParagraph now in global scipe
10452
10453         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10454         (pasteSelection): ditto
10455
10456         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10457         * paragraph_funcs.C (pasteParagraph): ... here
10458
10459 2002-08-20  André Pönitz <poenitz@gmx.net>
10460
10461         * commandtags.h: new LFUNs for swapping/copying table row/colums
10462
10463         * LyXAction.C:
10464         * lyxfunc.C: support for new lfuns
10465
10466 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10467
10468         * tabular.C:
10469         * buffer.[Ch]: remove NO_COMPABILITY stuff
10470
10471 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10472
10473         * boost.C (throw_exception): new file, with helper function for
10474         boost compiled without exceptions.
10475
10476         * paragraph.h:
10477         * lyxlength.C:
10478         * buffer.C:
10479         * ParameterStruct.h:
10480         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10481
10482         * bufferlist.C (emergencyWriteAll): use boost bind
10483
10484         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10485
10486         * text.C: include paragraph_funcs.h
10487         (breakParagraph): breakParagraph is now in global scope
10488
10489         * paragraph_funcs.[Ch]: new files
10490
10491         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10492         global scope
10493
10494         * buffer.C: include paragraph_funcs.h
10495         (insertStringAsLines): breakParagraph is now in global scope
10496
10497         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10498         paragraph_funcs.C
10499
10500         * CutAndPaste.C: include paragraph_funcs.h
10501         (cutSelection): breakParagraphConservative is now in global scope
10502         (pasteSelection): ditto
10503
10504         * buffer.h: declare oprator== and operator!= for
10505         Buffer::inset_iterator
10506
10507         * bufferlist.C (emergencyWrite): don't use fmt(...)
10508
10509         * text3.C: add using std::endl
10510
10511         * BufferView.C (moveCursorUpdate): remove default arg
10512
10513 2002-08-20  André Pönitz <poenitz@gmx.net>
10514
10515         * buffer.[Ch]: move inline functions to .C
10516
10517         * BufferView2.C:
10518         * BufferView_pimpl.C:
10519         * text.C:
10520         * buffer.[Ch]: use improved inset_iterator
10521
10522         * buffer.C:
10523         * paragraph.[Ch]: write one paragraph at a time
10524
10525 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10526
10527         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10528         style if style is not specified.
10529
10530 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10531
10532         * text2.C (setCounter): when searching for right label for a
10533         caption, make sure to recurse to parent insets (so that a caption
10534         in a minipage in a figure float works) (bug #568)
10535
10536 2002-08-20  André Pönitz <poenitz@gmx.net>
10537
10538         * text3.C: new file for LyXText::dispatch() and helpers
10539
10540         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10541
10542         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10543
10544 2002-08-19  André Pönitz <poenitz@gmx.net>
10545
10546         * lyxtext.h:
10547         * text.C: new LyXText::dispatch()
10548
10549         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10550
10551 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10552
10553         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10554
10555         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10556         Hebrew text.
10557
10558 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10559
10560         * Makefile.am: use $(variables) instead of @substitutions@
10561
10562 2002-08-15  André Pönitz <poenitz@gmx.net>
10563
10564         * lyxfunc.C:
10565         * BufferView_pimpl.C: streamlining mathed <-> outer world
10566         interaction
10567
10568         * commandtags.h:
10569         * LyXAction.C: remove unused LFUN_MATH
10570
10571 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10572
10573         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10574
10575 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10576
10577         * paragraph.C (Paragraph): reformat a bit
10578         (cutIntoMinibuffer): use builtin InsetList function instad of
10579         doing it manually.
10580         (getInset): ditto
10581
10582         * buffer.C: include boost/bind.hpp, add using std::for_each
10583         (writeFileAscii): use ParagraphList iterators
10584         (validate): use for_each for validate traversal of paragraphs
10585         (getBibkeyList): use ParagraphList iterators
10586         (resizeInsets): use for_each to resizeInsetsLyXText for all
10587         paragraphs.
10588         (getParFromID): use ParagraphList iterators
10589
10590         * BufferView2.C (lockInset): use paragraph list and iterators
10591
10592 2002-08-14  John Levon  <levon@movementarian.org>
10593
10594         * lyxserver.C: remove spurious xforms include
10595
10596 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10597
10598         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10599
10600 2002-08-13  André Pönitz <poenitz@gmx.net>
10601
10602         * LyXAction.[Ch]:
10603         * lyxfunc.C: further cleaning
10604
10605 2002-08-13  André Pönitz <poenitz@gmx.net>
10606
10607         * funcrequest.h: new constructor
10608
10609         * funcrequest.C: move stuff here from .h
10610
10611         * Makefile.am:
10612         * BufferView_pimpl.C:
10613         * LyXAction.C:
10614         * toc.C:
10615         * lyxfunc.C: subsequent changes
10616
10617         * lyxfunc.h: new view() member function
10618
10619         * lyxfunc.C: subsequent changes
10620
10621 2002-08-13  Angus Leeming  <leeming@lyx.org>
10622
10623         * BufferView2.C:
10624         * BufferView_pimpl.C:
10625         * buffer.C:
10626         * converter.C:
10627         * importer.C:
10628         * lyxfunc.C:
10629         * lyxvc.C:
10630         * toc.C:
10631         * vc-backend.C:
10632         changes due to the changed LyXView interface that now returns references
10633         to member variables not pointers.
10634
10635 2002-08-13  Angus Leeming  <leeming@lyx.org>
10636
10637         * WordLangTuple (word, lang_code): return references to strings,
10638         not strings.
10639
10640         * BufferView.h:
10641         * SpellBase.h:
10642         * lyxtext.h: forward-declare WordLangTuple.
10643
10644         * BufferView2.C:
10645         * ispell.C:
10646         * pspell.C:
10647         * text.C: #include "WordLangTuple.h".
10648
10649         * lyxtext.h:
10650         * text.C: (selectNextWordToSpellcheck): constify return type.
10651
10652 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10653
10654         * buffer.C:
10655         * buffer.h:
10656         * lyxtext.h:
10657         * paragraph.C:
10658         * paragraph_pimpl.h:
10659         * text.C:
10660         * text2.C:
10661         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10662         suggested by Angus.
10663         Made updateCounter always count from start of buffer, and removed
10664         second argument (par).
10665         Reverted floats number display to '#'. Perhaps I'll try again when the
10666         code base is sanitized a bit.
10667
10668 2002-08-12  Angus Leeming  <leeming@lyx.org>
10669
10670         * buffer.[Ch] (getLabelList): constify.
10671
10672 2002-08-07  André Pönitz <poenitz@gmx.net>
10673
10674         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10675
10676         * funcrequest.h: extension to keep mouse (x,y) position
10677
10678 2002-08-12  Juergen Vigna  <jug@sad.it>
10679
10680         * BufferView2.C (insertErrors): forbid undo when inserting error
10681         insets.
10682
10683         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10684
10685 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10686
10687         * ParagraphList.[Ch]: new files
10688
10689         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10690
10691         * BufferView2.C (lockInset): ParagraphList changes
10692         * toc.C: ditto
10693         * text2.C: ditto
10694         * bufferlist.C: ditto
10695         * buffer.h: ditto
10696         * buffer.C: ditto
10697
10698 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10699
10700         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10701         unused class variable counter_,
10702
10703         * paragraph.[Ch] (getFirstCounter): delete unused function
10704
10705         * counters.C: include LAssert.h
10706         (reset): add a new function with no arg, change other version to
10707         not have def. arg and to not allow empty arg.
10708
10709         * text2.C (setCounter): remove empty arg from call to Counters::reset
10710
10711 2002-08-11  John Levon  <levon@movementarian.org>
10712
10713         * Makefile.am: add WordLangTuple.h
10714
10715 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10716
10717         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10718         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10719
10720         * insets/insettext.C: InsetList changes
10721
10722         * graphics/GraphicsSupport.C (operator()): InsetList changes
10723
10724         * toc.C (getTocList): InsetList changes
10725
10726         * paragraph_pimpl.[Ch]: InsetList changes
10727
10728         * paragraph.[Ch]: InsetList changes
10729
10730         * buffer.C (inset_iterator): InsetList changes
10731         (setParagraph): ditto
10732         * buffer.h (inset_iterator): ditto
10733         * iterators.C (operator++): ditto
10734         * iterators.h: ditto
10735
10736         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10737
10738         * InsetList.[Ch]: new files, most InsetList handling moved out of
10739         paragraph.C.
10740
10741         * BufferView2.C (removeAutoInsets): InsetList changes
10742         (lockInset): ditto
10743         (ChangeInsets): ditto
10744
10745 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10746
10747         * paragraph_pimpl.h (empty): new function
10748
10749         * paragraph.[Ch] (empty): new function
10750
10751         * other files: use the new Paragraph::empty function
10752
10753 2002-08-09  John Levon  <levon@movementarian.org>
10754
10755         * lyxtext.h: remove unused refresh_height
10756
10757 2002-08-09  John Levon  <levon@movementarian.org>
10758
10759         * Makefile.am:
10760         * sgml.h:
10761         * sgml.C:
10762         * buffer.C:
10763         * paragraph.h:
10764         * paragraph.C: move sgml char escaping out of paragraph
10765
10766         * paragraph.h:
10767         * paragraph.C: remove id setter
10768
10769         * buffer.C:
10770         * paragraph.C:
10771         * paragraph_pimpl.C: remove dead tex_code_break_column
10772
10773         * bufferview_funcs.C: small cleanup
10774
10775         * lyxfunc.C: remove dead proto
10776
10777         * lyxtext.h: make some stuff private. Remove some dead stuff.
10778
10779         * lyxgluelength.C: make as[LyX]String() readable
10780
10781 2002-08-08  John Levon  <levon@movementarian.org>
10782
10783         * LyXAction.h:
10784         * LyXAction.C:
10785         * MenuBackend.C:
10786         * ToolbarDefaults.C:
10787         * lyxfunc.C:
10788         * lyxrc.C:
10789         * toc.C: lyxaction cleanup
10790
10791 2002-08-08  John Levon  <levon@movementarian.org>
10792
10793         * BufferView2.C: small cleanup
10794
10795         * lyxfind.h:
10796         * lyxfind.C: move unnecessary header into the .C
10797
10798 2002-08-08  John Levon  <levon@movementarian.org>
10799
10800         * funcrequest.h: just tedious nonsense
10801
10802         * lyx_main.h:
10803         * lyx_main.C: cleanups
10804
10805         * buffer.C:
10806         * vspace.C: remove dead header lyx_main.h
10807
10808 2002-08-07  Angus Leeming  <leeming@lyx.org>
10809
10810         * Paragraph.[Ch]:
10811         * paragraph_pimpl.h:
10812         Forward declare class Counters in paragraph.h by moving the ctrs member
10813         variable into Paragraph::Pimpl.
10814         (counters): new method, returning a reference to pimpl_->ctrs.
10815
10816         * text2.C: ensuing changes.
10817
10818 2002-08-07  John Levon  <levon@movementarian.org>
10819
10820         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10821
10822         * BufferView_pimpl.C: announce X selection on double/triple
10823           click
10824
10825         * lyx_main.C: use correct bool in batch dispatch
10826
10827         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10828
10829 2002-08-07  André Pönitz <poenitz@gmx.net>
10830
10831         * funcrequest.h: new class to wrap a kb_action and its argument
10832
10833         * BufferView.[Ch]:
10834         * BufferView_pimpl[Ch]:
10835         * LaTeX.C:
10836         * LyXAction.[Ch]:
10837         * lyxfunc.[Ch]:
10838         * lyxrc.C: subsequent changes
10839
10840
10841 2002-08-07  John Levon  <levon@movementarian.org>
10842
10843         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10844           document options change.
10845
10846 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10847
10848         * counters.[Ch]
10849         * text2.C
10850         * paragraph.[Ch]
10851         * makefile.am: move counters functionality over from
10852         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10853
10854 2002-08-06  John Levon  <levon@movementarian.org>
10855
10856         * WordLangTuple.h: new file for word + language code tuple
10857
10858         * SpellBase.h:
10859         * pspell.h:
10860         * pspell.C:
10861         * ispell.h:
10862         * ispell.C:
10863         * lyxtext.h:
10864         * text.C:
10865         * text2.C:
10866         * BufferView.h:
10867         * BufferView2.C: use WordLangTuple
10868
10869         * layout.h:
10870         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10871
10872 2002-08-06  John Levon  <levon@movementarian.org>
10873
10874         * lyx_main.C: fix cmdline batch handling
10875
10876 2002-08-06  André Pönitz <poenitz@gmx.net>
10877
10878         * lyxrc.C: set default for show_banner to true
10879
10880 2002-08-06  John Levon  <levon@movementarian.org>
10881
10882         * pspell.C: fix a crash, and allow new aspell to work
10883
10884 2002-08-06  John Levon  <levon@movementarian.org>
10885
10886         * lyxfunc.C:
10887         * kbmap.C: small cleanup
10888
10889         * vspace.h:
10890         * vspace.C: add const
10891
10892 2002-08-05  John Levon  <levon@movementarian.org>
10893
10894         * LyXAction.C: back to tabular-insert
10895
10896 2002-08-04  John Levon  <levon@movementarian.org>
10897
10898         * BufferView.h:
10899         * BufferView.C: cosmetic change
10900
10901         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10902
10903         * bufferlist.C:
10904         * buffer.h:
10905         * buffer.C:
10906         * lyxcb.h:
10907         * lyxcb.C:
10908         * lyxserver.C:
10909         * lyxvc.C:
10910         * vc-backend.C:
10911         * BufferView2.C: purge all "Lyx" not "LyX" strings
10912
10913         * lyxcursor.h:
10914         * lyxcursor.C: attempt to add some documentation
10915
10916         * lyxfunc.C:
10917         * commandtags.h:
10918         * LyXAction.C:
10919         * ToolbarDefaults.C:
10920         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10921           merge with LFUN_TABULAR_INSERT
10922
10923         * Makefile.am:
10924         * SpellBase.h:
10925         * ispell.h:
10926         * ispell.C:
10927         * pspell.h:
10928         * pspell.C: split up i/pspell implementations into separate
10929           files, many cleanups
10930
10931         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10932
10933         * text2.C: some cleanup
10934
10935         * lyxfunc.C: don't check for isp_command == "none" any more, it
10936           didn't make any sense
10937
10938 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10939
10940         * counters.[Ch]
10941         * text2.C
10942         * paragraph.[Ch]
10943         * makefile.am: move counters functionality over
10944         from text2.C/paragraph.[Ch] to counters.[Ch], and
10945         make proper C++.
10946 2002-08-02  John Levon  <levon@movementarian.org>
10947
10948         * buffer.C: s/lyxconvert/lyx2lyx/
10949
10950 2002-08-02  Angus Leeming  <leeming@lyx.org>
10951
10952         * lyxlex.C: revert John's change as it breaks reading of the user
10953         preamble.
10954
10955 2002-08-02  Angus Leeming  <leeming@lyx.org>
10956
10957         * importer.C (Import):
10958         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10959         changes due to LyXView::view() now returning a boost::shared_ptr.
10960
10961 2002-08-02  John Levon  <levon@movementarian.org>
10962
10963         * lyxlex.C: small cleanup
10964
10965 2002-08-02  John Levon  <levon@movementarian.org>
10966
10967         * text2.C (status): small cleanup, no logic change
10968
10969 2002-08-01  John Levon  <levon@movementarian.org>
10970
10971         * buffer.h:
10972         * buffer.C (writeFile): don't output alerts, caller
10973           handles this
10974
10975         * bufferlist.C:
10976         * lyx_cb.C: from above
10977
10978         * lyxfunc.C: allow to open non-existent files
10979
10980 2002-07-31  John Levon  <levon@movementarian.org>
10981
10982         * lyxserver.C: don't let incidental errors get
10983           in the way (errno)
10984
10985 2002-07-30  John Levon  <levon@movementarian.org>
10986
10987         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10988
10989 2002-07-30  John Levon  <levon@movementarian.org>
10990
10991         * lyxserver.h:
10992         * lyxserver.C: remove I/O callback too
10993
10994 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10995
10996         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10997         log.
10998
10999 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11000
11001         * many files: strip,frontStrip -> trim,ltrim,rtrim
11002
11003 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11004
11005         * PrinterParams.h: remove extern containsOnly, and include
11006         support/lstrings.h instead.
11007
11008         * LaTeX.C (scanAuxFile): modify because of strip changes
11009         (deplog): ditto
11010         * buffer.C (makeLaTeXFile): ditto
11011         * bufferparams.C (writeFile): ditt
11012         * lyxfont.C (stateText): ditto
11013         * lyxserver.C (read_ready): ditto
11014         * vc-backend.C (scanMaster): ditto
11015
11016         * BufferView_pimpl.h: ws changes
11017
11018         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11019
11020 2002-07-26  André Pönitz <poenitz@gmx.net>
11021
11022         * kb_sequence.C: remove unnedred usings
11023
11024 2002-07-26  Juergen Vigna  <jug@sad.it>
11025
11026         * lyxfind.C (LyXReplace): we have to check better if the returned
11027         text is not of theLockingInset()->getLockingInset().
11028
11029 2002-07-25  Juergen Vigna  <jug@sad.it>
11030
11031         * lyxfind.C (LyXReplace): don't replace if we don't get the
11032         right LyXText.
11033
11034         * undo_funcs.C (createUndo): remove debugging code.
11035
11036 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11037
11038         * buffer.C (parseSingleLyXformat2Token): Use default placement
11039         when reading old floats.
11040
11041         * FloatList.C (FloatList): Change the default placement of figure
11042         and tables to "tbp".
11043
11044 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11045
11046         * MenuBackend.C: using std::max
11047
11048 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11049
11050         * MenuBackend.C (expandToc):
11051         (expandToc2): code moved from xforms menu frontend. It is now
11052         generic and TOCs are transparent to menu frontends.
11053
11054 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11055
11056         * toc.C (getTocList): protect against buf=0
11057
11058         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11059         Menu as first parameter. Now, this calls itself recursively to
11060         expand a whole tree (this will be useful for TOC handling)
11061         (expandFloatInsert): remove 'wide' version of floats
11062
11063         * MenuBackend.h (submenuname): returns the name of the submenu.
11064         (submenu): returns the submenu itself, provided it has been
11065         created by MenuBackend::expand
11066
11067 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11068
11069         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11070         insets which have noFontChange == true. (bug #172)
11071
11072 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11073
11074         * BufferView_pimpl.C: add connection objects and use them...
11075         (Pimpl): here.
11076
11077 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11078
11079         * MenuBackend.C (expandLastfiles):
11080         (expandDocuments):
11081         (expandFormats):
11082         (expandFloatListInsert):
11083         (expandFloatInsert):
11084         (expand): split expand in parts
11085
11086 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11087
11088         * lyx_gui.C: use lyx_gui::exit()
11089
11090 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11091
11092         * LyXAction.C: show the failing pseudo action
11093
11094 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11095
11096         * buffer.C (readFile): Run the lyxconvert script in order to read
11097         old files.
11098
11099 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11100
11101         * LyXAction.C:
11102         * commandtags.h:
11103         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11104
11105 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11106
11107         * LyXAction.C:
11108         * commandtags.h:
11109         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11110
11111 2002-07-22  Herbert Voss  <voss@lyx.org>
11112
11113         * lengthcommon.C:
11114         * lyxlength.[Ch]: add support for the vertical lengths
11115
11116 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11117
11118         * toc.[Ch]: std:: fixes
11119
11120 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11121
11122         * lyxrc.C: do not include lyx_main.h
11123
11124         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11125         for layouts
11126
11127         * lyxrc.C:
11128         * encoding.C:
11129         * bufferlist.C:
11130         * BufferView2.C: include "lyxlex.h"
11131
11132         * tabular.h:
11133         * bufferparams.h: do not #include "lyxlex.h"
11134
11135         * lyxtextclasslist.C (Add): remove method
11136         (classlist): renamed to classlist_
11137
11138         * paragraph_pimpl.C:
11139         * paragraph.C:
11140         * text2.C:
11141         * CutAndPaste.C:
11142         * bufferview_funcs.C:
11143         * bufferlist.C:
11144         * text.C:
11145         * LaTeXFeatures.C:
11146         * buffer.C:
11147         * toc.C (getTocList): use BufferParams::getLyXTextClass
11148
11149         * toc.C (getTocList): use InsetFloat::addToToc
11150
11151         * toc.[Ch]: new files, containing helper functions to handle table
11152         of contents
11153
11154         * lyxfunc.C (dispatch): no need to remove spaces around command
11155         given as a string
11156         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11157         first command of the sequence; it is not very clever, but I do not
11158         have a better idea, actually
11159
11160         * LyXAction.C (LookupFunc): make sure to remove space at the
11161         beginning and end of the command
11162
11163 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11164
11165         * MenuBackend.C (getMenubar): new method: return the menubar of
11166         this menu set
11167         (read): treat differently reading of menu and menubar (in
11168         particular, the menubar has no name now)
11169         (Menu::menubar): remove
11170
11171         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11172         saving is finished
11173
11174 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11175
11176         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11177         a bibitem inset in a RTL paragraph.
11178
11179 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11180
11181         * paragraph_pimpl.C: constify
11182
11183         * BufferView_pimpl.C:
11184         * LaTeX.C:
11185         * lyxfunc.C: fix dispatch in a nicer way
11186
11187 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11188
11189         * lyxfunc.C (dispatch):
11190         * BufferView_pimpl.C:
11191         * BufferView_pimpl.h:
11192         * BufferView.C:
11193         * BufferView.h: rename Dispatch() to dispatch()
11194
11195         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11196
11197         * lyxlayout.C (Read): honor DependsOn tag
11198
11199         * lyxlayout.[Ch] (depends_on): new method
11200
11201         * version.C.in: update lyx_docversion
11202
11203         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11204
11205         * paragraph.C (validate): remove from here...
11206         * paragraph_pimpl.C (validate): ... and move here
11207         (isTextAt): make it const
11208
11209         * buffer.C (getLists): ws cleanup
11210
11211 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11212
11213         * language.C (read): Use iso8859-1 encoding in latex_lang
11214         (this prevents LyX from crashing when using iso10646-1 encoding).
11215
11216 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11217
11218         * text2.C (toggleInset): if cursor is inside an inset, close the
11219         inset and leave cursor _after_ it
11220
11221 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11222
11223         * lyxfunc.C: move minibuffer completion handling out of here
11224
11225 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11226
11227         * BufferView_pimpl.C:
11228         * LaTeX.C: fix dispatch calls
11229
11230 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11231
11232         * text.C (drawChars): Fix Arabic text rendering.
11233
11234 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11235
11236         * LyXAction.C:
11237         * commandtags.h:
11238         * lyxfunc.C: remove message-push/pop
11239
11240         * lyxserver.C:
11241         * lyxfunc.h:
11242         * lyxfunc.C: rationalise some code by removing verboseDispatch
11243           in favour of a bool argument to dispatch()
11244
11245 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11246
11247         * lyx_main.C (init): make sure to read symlinks as absolute paths
11248
11249 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11250
11251         * lyxfunc.h:
11252         * lyxfunc.C: no need for commandshortcut to be a member
11253
11254 2002-07-15  André Pönitz <poenitz@gmx.net>
11255
11256         * converter.C: add support for $$s (scripts from lib/scripts dir)
11257         * lyx_main.C: white space
11258
11259 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11260
11261         * bufferlist.C:
11262         * lyxrc.h:
11263         * lyxrc.C: remove second exit confirmation
11264
11265 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11266
11267         * BufferView.h:
11268         * BufferView.C:
11269         * BufferView2.C:
11270         * BufferView_pimpl.h:
11271         * BufferView_pimpl.C:
11272         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11273
11274 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11275
11276         * MenuBackend.C (expand): add numeric shortcuts to document menu
11277
11278         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11279
11280 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11281
11282         * lyxfont.C (setLyXFamily):
11283         (setLyXSeries):
11284         (setLyXShape):
11285         (setLyXSize):
11286         (setLyXMisc):
11287         (lyxRead):
11288         * debug.C (value):
11289         * buffer.C (asciiParagraph): use ascii_lowercase
11290
11291 2002-07-15  Mike Fabian  <mfabian@suse.de>
11292
11293         * lyxlex_pimpl.C (search_kw):
11294         * lyxlex.C (getLongString):
11295         * converter.h (operator<):
11296         * converter.C (operator<):
11297         * buffer.C (parseSingleLyXformat2Token):
11298         (asciiParagraph):
11299         * ToolbarDefaults.C (read):
11300         * MenuBackend.C (checkShortcuts):
11301         (read):
11302         * LColor.C (getFromGUIName):
11303         (getFromLyXName): use the compare_ascii_no_case instead of
11304         compare_no_case, because in turkish, 'i' is not the lowercase
11305         version of 'I', and thus turkish locale breaks parsing of tags.
11306
11307 2002-07-16  Angus Leeming  <leeming@lyx.org>
11308
11309         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11310         now takes a Buffer const & argument.
11311
11312 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11313
11314         * BufferView.C (resize): check there's a buffer to resize
11315
11316 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11317
11318         * lyxfunc.C: remove dead code
11319
11320         * lyxserver.h:
11321         * lyxserver.C: use lyx_guii::set_read_callback
11322
11323 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11324
11325         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11326         an inset in a RTL paragraph.
11327
11328 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11329
11330         * lyxfunc.C: repaint after a font size update
11331
11332 2002-07-15  André Pönitz <poenitz@gmx.net>
11333
11334         * lyxlength.C: inBP should be able to return negative values
11335
11336 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11337
11338         * lyxfunc.C: use lyx_gui::update_fonts()
11339
11340 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11341
11342         * lyxfunc.C: use lyx_gui::update_color()
11343
11344 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11345
11346         * bufferlist.C:
11347         * lyxfunc.h:
11348         * lyxfunc.C:
11349         * lyxrc.h:
11350         * lyxrc.C: remove file->new asks for name option, and let
11351           buffer-new take an argument
11352
11353 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11354
11355         * BufferView_pimpl.C: remove unneeded extra repaint()
11356
11357 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11358
11359         * LyXAction.C: allow command-sequence with NoBuffer
11360
11361         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11362
11363 2002-07-10  Angus Leeming  <leeming@lyx.org>
11364
11365         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11366
11367 2002-07-09  Angus Leeming  <leeming@lyx.org>
11368
11369         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11370
11371 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11372
11373         * lengthcommon.h: whitespace
11374
11375         * lyxfunc.C: update scrollbar after goto paragraph
11376
11377         * lyxtext.h: factor out page break drawing, and fix it so
11378           page break/added space paints as selected nicely
11379
11380 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11381
11382         * BufferView_pimpl.C: add FIXMEs, clean up a little
11383
11384 2002-07-09  André Pönitz <poenitz@gmx.net>
11385
11386         * lyxfont.[Ch]: support for wasy symbols
11387
11388 2002-07-08  André Pönitz <poenitz@gmx.net>
11389
11390         * BufferView_pimpl.C: apply John's patch for #93.
11391
11392 2002-07-05  Angus Leeming  <leeming@lyx.org>
11393
11394         * BufferView_pimpl.C (buffer): generate previews if desired.
11395
11396         * LColor.h: add "preview" to the color enum.
11397
11398         * LColor.C (LColor): add a corresponding entry to the items array.
11399
11400         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11401         with this buffer.
11402
11403 2002-07-05  Angus Leeming  <leeming@lyx.org>
11404
11405         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11406         The body of the code is now in the method that is passed an ostream &
11407         rather than a file name.
11408         Pass an additional only_preamble parameter, useful for the forthcoming
11409         preview stuff.
11410
11411 2002-07-03  André Pönitz <poenitz@gmx.net>
11412
11413         * lyxfunc.C: simplify getStatus() a bit for math stuff
11414
11415 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11416
11417         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11418
11419 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11420
11421         * text.C (changeRegionCase): do not change case of all the
11422         document when region ends at paragraph end (bug #461)
11423
11424 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11425
11426         * paragraph.C (startTeXParParams):
11427         (endTeXParParams): add \protect when necessary
11428
11429 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11430
11431         * BufferView_pimpl.C (workAreaExpose): remove warning
11432
11433 2002-06-27  Angus Leeming  <leeming@lyx.org>
11434
11435         * Makefile.am: add lyxlayout_ptr_fwd.h.
11436
11437 2002-06-26  André Pönitz <poenitz@gmx.net>
11438
11439         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11440
11441 2002-06-25  Angus Leeming  <leeming@lyx.org>
11442
11443         * lyxfunc.C (dispatch): Comment out the call to
11444         grfx::GCache::changeDisplay. The method no longer exists now that the
11445         pixmap generation part of the graphics loader has been moved into
11446         InsetGraphics.
11447
11448 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11449
11450         * text2.C: layout as layout
11451
11452         * text.C: layout as layout
11453
11454         * tabular.C (OldFormatRead): layout as layout
11455
11456         * paragraph_pimpl.C (TeXDeeper): layout as layout
11457         (realizeFont): layout as layout
11458
11459         * paragraph.C (writeFile): layout as layout
11460         (validate): layout as layout
11461         (getFont): layout as layout
11462         (getLabelFont): layout as layout
11463         (getLayoutFont): layout as layout
11464         (breakParagraph): layout as layout
11465         (stripLeadingSpaces): layout as layout
11466         (getEndLabel): layout as layout
11467         (getMaxDepthAfter): layout as layout
11468         (applyLayout): layout as layout
11469         (TeXOnePar): layout as layout
11470         (simpleTeXOnePar): layout as layout
11471         (TeXEnvironment): layout as layout
11472         (layout): layout as layout
11473         (layout): layout as layout
11474
11475         * lyxtextclass.C (compare_name): new functor to work with
11476         shared_ptr, layout as layout
11477         (Read): layout as layout
11478         (hasLayout): layout as layout
11479         (operator): layout as layout
11480         (delete_layout): layout as layout
11481         (defaultLayout): layout as layout
11482
11483         * lyxlayout_ptr_fwd.h: new file
11484
11485         * lyxlayout.C (Read): layout as layout
11486
11487         * lyx_cb.C (MenuInsertLabel): layout as layout
11488
11489         * bufferlist.C (newFile): layout as layout
11490
11491         * buffer.C (readLyXformat2): layout as layout
11492         (parseSingleLyXformat2Token): layout as layout
11493         (insertStringAsLines): layout as layout
11494         (asciiParagraph): layout as layout
11495         (latexParagraphs): layout as layout
11496         (makeLinuxDocFile): layout as layout
11497         (simpleLinuxDocOnePar): layout as layout
11498         (makeDocBookFile): layout as layout
11499         (simpleDocBookOnePar): layout as layout
11500         (getLists): layout as layout
11501
11502         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11503
11504         * CutAndPaste.C (cutSelection): layout as layout
11505         (pasteSelection): layout as layout
11506         (SwitchLayoutsBetweenClasses): layout as layout
11507
11508         * BufferView_pimpl.C (Dispatch): layout as layout
11509         (smartQuote): layout as layout
11510
11511         * BufferView2.C (unlockInset): layout as layout
11512
11513 2002-06-24  André Pönitz <poenitz@gmx.net>
11514
11515         * lyxfunc.C: fix #487
11516
11517 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11518
11519         * lyxrc.h:
11520         * lyxrc.C:
11521         * lyxfunc.C: remove display_shortcuts, show_banner
11522
11523 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11524
11525         * Buffer_pimpl.C: oops, update on resize
11526
11527 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11528
11529         * buffer.C:
11530         * converter.C:
11531         * exporter.C:
11532         * lyxfunc.C:
11533         * BufferView.h:
11534         * BufferView.C: use repaint()
11535
11536         * BufferView_pimpl.h:
11537         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11538           as it's a clearer description. Remove superfluous
11539           redraws.
11540
11541 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11542
11543         * text.C: fix bug 488. Not ideal, but getting
11544           getWord() to work properly for the insets that
11545           matter is more difficult ...
11546
11547 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11548
11549         * BufferView_pimpl.C:
11550         * LyXAction.C:
11551         * commandtags.h:
11552         * lyxfunc.C: remove the six million index lyxfuncs to just
11553           one, and DTRT (bug 458)
11554
11555 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11556
11557         * BufferView.h:
11558         * BufferView.C:
11559         * BufferView_pimpl.h:
11560         * BufferView_pimpl.C: clean up resize() stuff,
11561           and unnecessary updateScreen()s
11562
11563 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11564
11565         * BufferView.h:
11566         * BufferView.C:
11567         * BufferView_pimpl.h:
11568         * BufferView_pimpl.C:
11569         * lyxfind.h:
11570         * lyxfind.C:
11571         * minibuffer.C: remove focus management of workarea,
11572           not needed. Use screen's greyOut()
11573
11574 2002-06-17  Herbert Voss  <voss@lyx.org>
11575
11576         * converter.C: (convert) do not post a message, when converting
11577         fails, let the calling function decide what to do in this case
11578
11579 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11580
11581         * lyxfunc.C: tidy up a little
11582
11583 2002-06-16    <alstrup@diku.dk>
11584
11585         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11586         Got rid of FORMS_H_LOCATION include. Now we are
11587         GUII.
11588
11589 2002-06-15  LyX Development team  <lyx@rilke>
11590
11591         * buffer.[Ch] (sgmlOpenTag):
11592         (sgmlCloseTag): Added support for avoiding pernicious mixed
11593         content. Return number of lines written.
11594
11595         (makeLinuxDocFile):
11596         (makeDocBookFile): Fixed calls to sgml*Tag.
11597         Simple white space clean.
11598
11599         (simpleDocBookOnePar): Simple white space clean.
11600
11601         * tabular.[Ch] (docBook): Renamed to docbook and got another
11602         argument to related with the pernicious mixed content.
11603
11604         (docbookRow): Fixed calls for docbook inset method.
11605
11606 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11607
11608         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11609         so it's X11 independent.
11610
11611         * kb*.[Ch]: ditto.
11612
11613         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11614
11615 2002-06-15  Lyx Development team  <lyx@electronia>
11616
11617         * intl.h: Renamed getTrans to getTransManager.
11618
11619 2002-06-14  Angus Leeming  <leeming@lyx.org>
11620
11621         * Makefile.am: nuke forgotten stl_string_fwd.h.
11622
11623 2002-06-12  Angus Leeming  <leeming@lyx.org>
11624
11625         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11626
11627 2002-06-13  Angus Leeming  <leeming@lyx.org>
11628
11629         * LaTeX.C:
11630         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11631
11632 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11633
11634         * kbmap.C (getiso): add support for cyrillic and greek
11635
11636 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11637
11638         * BufferView.h:
11639         * BufferView.C:
11640         * BufferView_pimpl.h:
11641         * BufferView_pimpl.C: move bogus scrolling logic
11642           to xforms
11643
11644 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11645
11646         * lyxfunc.C:
11647         * BufferView_pimpl.C: view->resize() change
11648
11649 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11650
11651         * BufferView_pimpl.C: topCursorVisible
11652           prototype change
11653
11654 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11655
11656         * Makefile.am:
11657         * lyx_gui.h:
11658         * lyx_gui.C: move to frontends/
11659
11660         * main.C:
11661         * lyx_main.h:
11662         * lyx_main.C: changes from above
11663
11664 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11665
11666         * intl.C:
11667         * intl.h:
11668         * kbmap.C:
11669         * kbsequence.C:
11670         * lyx_cb.C:
11671         * lyx_main.C: minor tidy
11672
11673 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11674
11675         * BufferView_pimpl.h:
11676         * BufferView_pimpl.C:
11677         * BufferView.h:
11678         * BufferView.C: make painter() const,
11679           remove dead code
11680
11681         * BufferView2.C: use screen() accessor
11682
11683         * lyx_main.h:
11684         * lyx_main.C: some minor cleanup
11685
11686 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11687
11688         * BufferView_pimpl.h:
11689         * BufferView_pimpl.C: remove enter/leaveView,
11690           use workHeight()
11691
11692 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11693
11694         * BufferView.h:
11695         * BufferView.C:
11696         * BufferView2.C:
11697         * BufferView_pimpl.h:
11698         * BufferView_pimpl.C: only construct screen once,
11699           rename
11700
11701         * lyxrc.C: remove pointless comment
11702
11703 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11704
11705         * BufferView.h:
11706         * BufferView.C: remove active() and belowMouse()
11707
11708         * BufferView_pimpl.h:
11709         * BufferView_pimpl.C: use workarea() not workarea_,
11710           and make it use a scoped_ptr instead
11711
11712 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11713
11714         * lyx_gui.C: add debug message on BadWindow
11715
11716 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11717
11718         * sp_spell.C: fdopen is not part of the C++ standard.
11719
11720         * paragraph.C (InsetIterator): use >= instead of ==
11721
11722 2002-06-07  Angus Leeming  <leeming@lyx.org>
11723
11724         Fixes needed to compile with Compaq cxx 6.5.
11725         * BufferView_pimpl.C:
11726         * DepTable.C:
11727         * buffer.C:
11728         * converter.C:
11729         * encoding.C:
11730         * lyx_gui.C:
11731         * lyx_main.C:
11732         * lyxtextclasslist.C:
11733         * minibuffer.C:
11734         * sp_spell.C:
11735         * tabular_funcs.C:
11736         * vc-backend.C:
11737         all c-library variables have been moved into namespace std. Wrap
11738         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11739
11740         * lyxlength.C:
11741         * tabular-old.C:
11742         * tabular.C:
11743         Add a using std::abs declaration.
11744
11745         * kbmap.h (modifier_pair):
11746         * paragraph.h (InsetTable, InsetList):
11747         * lyxfont.h (FontBits):
11748         type definition made public.
11749
11750         * bufferlist.C (emergencyWriteAll): the compiler complains that
11751         there is more than one possible lyx::class_fun template to choose from.
11752         I re-named the void specialisation as lyx::void_class_fun.
11753
11754         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11755
11756         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11757         the compiler is is unable to find tostr in write_attribute.
11758
11759 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11760
11761         * buffer.C (sgmlError): hide #warning
11762
11763 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11764
11765         * xtl/*: get rid of xtl, which is not in use anyway
11766
11767         * LyXAction.C (init):
11768         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11769         were unimplemented xtl experimentation
11770
11771 2002-06-04  André Pönitz <poenitz@gmx.net>
11772
11773         * lyxfunc.C: disable array operation on simple formulae
11774
11775 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11776
11777         * converter.C: constify a bit
11778
11779 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11780
11781         * lyx_gui.C: check xforms version correctly
11782
11783 2002-04-30  Herbert Voss  <voss@lyx.org>
11784
11785         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11786         "keep" option
11787
11788 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11789
11790         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11791           attempt to register it with a VCS)
11792
11793 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11794
11795         * lyx_main.C (init): honor variables LYX_DIR_13x and
11796         LYX_USERDIR_13x
11797
11798 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11799
11800         * buffer.h:
11801         * buffer.C:
11802         * lyx_main.C: fix a crash on bad command line,
11803           and give a useful exit status on error
11804
11805         * lyxfunc.C (doImport): allow -i lyx to work
11806
11807 2002-03-30  André Pönitz <poenitz@gmx.net>
11808
11809         * lyxfunc.C: mathed font changes
11810
11811 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11812
11813         * LaTeX.C:
11814         * importer.h:
11815         * importer.C:
11816         * lyx_sty.h:
11817         * lyx_sty.C:
11818         * lyxlex.C:
11819         * lyxrow.h:
11820         * lyxtext.h:
11821         * paragraph.h:
11822         * paragraph.C:
11823         * texrow.h:
11824         * texrow.C:
11825         * text.C:
11826         * trans_mgr.h: srcdocs, and some minor cleanups
11827
11828 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11829
11830         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11831         call getFont all the time)
11832
11833 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11834
11835         * switch from SigC signals to boost::signals
11836
11837 2002-05-29  André Pönitz <poenitz@gmx.net>
11838
11839         * paragraph_pimpl.C (getChar): don't call size() too often...
11840
11841 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11842
11843         * paragraph_pimpl.C (insertChar): do not try to update tables when
11844         appending (pos == size())
11845
11846         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11847         in order to reduce drastically the number of comparisons needed to
11848         parse a large document
11849
11850 2002-05-29  André Pönitz <poenitz@gmx.net>
11851
11852         * text.C:
11853         * text2.C:
11854         * lyxtextclass.C:
11855         * sp_pspell.h:
11856         * textclasslist.[Ch]:
11857         * sp_ispell.h: whitespace change
11858
11859 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11860
11861         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11862         lyxaction directly now.
11863
11864 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11865
11866         * trans.C:
11867         * lyxfont.C:
11868         * lyxvc.C: remove unused headers
11869
11870 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11871
11872         * Makefile.am:
11873         * buffer.h:
11874         * undostack.h:
11875         * undostack.C:
11876         * undo_funcs.h:
11877         * undo_funcs.C: some cleanups. Use shared_ptr
11878           and a template for the undo stacks.
11879
11880 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11881
11882         * BufferView_pimpl.h:
11883         * BufferView_pimpl.C:
11884         * kbmap.h:
11885         * kbmap.C:
11886         * kbsequence.h:
11887         * kbsequence.C:
11888         * lyxfunc.h:
11889         * lyxfunc.C:
11890         * text2.C: use key_state/mouse_state
11891
11892 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11893
11894         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11895         and LSubstring
11896
11897         * chset.C: change include order
11898         (loadFile): use boost regex and get rid of LRegex and LSubstring
11899
11900         * Makefile.am (BOOST_LIBS): new variable
11901         (lyx_LDADD): use it
11902
11903         * LaTeX.C: change include order.
11904         (scanAuxFile): use boost regex and get rid of LRegex and
11905         LSubstring
11906         (deplog): ditto
11907
11908 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11909
11910         * ColorHandler.h:
11911         * ColorHandler.C:
11912         * FontInfo.h:
11913         * FontInfo.C: moved to frontends/xforms/
11914
11915         * FontLoader.h:
11916         * FontLoader.C: moved into frontends for GUIIzation
11917
11918         * Makefile.am:
11919         * lyx_gui.C:
11920         * lyxfont.C:
11921         * lyxfunc.C: changes from above
11922
11923 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11924
11925         * LColor.C: remove spurious X include
11926
11927         * BufferView_pimpl.C:
11928         * Makefile.am:
11929         * font.h:
11930         * font.C:
11931         * text.C:
11932         * text2.C: move font metrics to frontends/
11933
11934 2002-05-24  Juergen Vigna  <jug@sad.it>
11935
11936         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11937         setting the undo_cursor.
11938
11939         * ParagraphParameters.h: include local includes first.
11940
11941 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11942
11943         * BufferView_pimpl.C:
11944         * BufferView_pimpl.h:
11945         * Makefile.am:
11946         * WorkArea.h:
11947         * WorkArea.C:
11948         * screen.C: move WorkArea into frontends/
11949
11950         * lyxscreen.h:
11951         * screen.C:
11952         * text.C:
11953         * BufferView.C:
11954         * BufferView2.C: move LyXScreen into frontends/
11955
11956         * lyxlookup.h:
11957         * lyxlookup.C:
11958         * lyx_gui.C: move lyxlookup into frontends/xforms/
11959
11960 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11961
11962         * BufferView2.C:
11963         * BufferView_pimpl.C:
11964         * FontLoader.C:
11965         * LyXView.h:
11966         * LyXView.C:
11967         * Makefile.am:
11968         * WorkArea.C:
11969         * XFormsView.h:
11970         * XFormsView.C:
11971         * buffer.C:
11972         * bufferlist.C:
11973         * bufferview_funcs.C:
11974         * converter.C:
11975         * importer.C:
11976         * lyx_cb.C:
11977         * lyx_gui.C:
11978         * lyx_main.C:
11979         * lyx_find.C:
11980         * lyxfunc.C:
11981         * lyxvc.C:
11982         * minibuffer.C:
11983         * text.C:
11984         * text2.C:
11985         * trans.C:
11986         * vc-backend.C: move LyX/XFormsView into frontends/
11987
11988 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11989
11990         * Makefile.am:
11991         * PainterBase.C:
11992         * PainterBase.h:
11993         * Painter.C:
11994         * Painter.h:
11995         * WorkArea.C:
11996         * WorkArea.h:
11997         * screen.C:
11998         * tabular.C:
11999         * text.C:
12000         * text2.C: move Painter to frontends/
12001
12002 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12003
12004         * buffer.C: comment out some some code that depend upon lyx_format
12005         < 220
12006
12007         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12008         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12009
12010         * buffer.h (NO_COMPABILITY): turn off compability
12011
12012         * ColorHandler.C: include scoped_array.hpp
12013
12014         * font.C: Use more specific smart_ptr header.
12015         * Painter.C: ditto
12016         * gettext.C: ditto
12017         * ShareContainer.h: ditto
12018         * lyx_main.h: ditto
12019         * kbmap.h: ditto
12020         * FontInfo.h: ditto
12021         * BufferView_pimpl.h: ditto
12022         * ColorHandler.h: ditto
12023
12024         * kbmap.C (defkey): change call to shared_ptr::reset
12025
12026 2002-05-21  Juergen Vigna  <jug@sad.it>
12027
12028         * buffer.C (insertErtContents): fix to insert ert asis if it is
12029         non empty. Skip it completely if it contains only whitespaces.
12030
12031 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12032
12033         * BufferView_pimpl.C:
12034         * BufferView2.C: clear selection on paste (bug 393)
12035
12036 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12037
12038         * DepTable.C: include ctime
12039
12040 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12041
12042         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12043
12044 2002-05-14  Juergen Vigna  <jug@sad.it>
12045
12046         * text.C (breakParagraph): fixed function to honor the keepempty
12047         layout in the right maner and also to permit the right breaking
12048         algorithm on empty or non empyt keepempty paragraphs.
12049
12050         * paragraph.C (breakParagraph): we have to check also if the par
12051         is really empty (!size()) for isempty otherwise we do the wrong
12052         paragraph break.
12053
12054 2002-05-10  Juergen Vigna  <jug@sad.it>
12055
12056         * buffer.[Ch] : The following are only changes to the ert
12057         compatibility read reading old LaTeX layout and font stuff and
12058         convert it to ERTInsets.
12059
12060         * buffer.h: added isErtInset().
12061
12062         * buffer.C (struct ErtComp): add a fromlayout bool to check
12063         if we're inside a LaTeX layout.
12064         (isErtInset): new helper function.
12065         (insertErtContents): look for other ert insets before this one
12066         and insert the contents there, so that we don't have subsequent
12067         ERT insets with nothing between them. This way we create only one
12068         inset with multiple paragraphs. Also check if we don't insert only
12069         spaces ' ' as they are ignored anyway afterwards in the .tex file
12070         so if we have only spaces we will ignore this latex part in the
12071         new file.
12072         (parseSingleLyXformat2Token \\layout): better compatibility when
12073         reading layout-latex stuff.
12074         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12075         language tag.
12076         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12077         stuff after reading the inset only get the information back from
12078         the stack.
12079
12080 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12081
12082         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12083
12084         * LaTeXFeatures.C (getBabelOptions): New method.
12085
12086 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12087
12088         * BufferView_pimpl.C (Dispatch): work around missing argument for
12089         'layout'
12090
12091 2002-05-08  Juergen Vigna  <jug@sad.it>
12092
12093         * text.C (leftMargin): handle paragraph leftindent.
12094
12095         * paragraph.C (writeFile): write the new \\leftindent tag.
12096         (validate): handle leftindent code.
12097         (TeXEnvironment): handle paragraphleftindent code again.
12098
12099         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12100
12101         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12102         for paragrap_extra indent code and new token \\leftindent.
12103         (latexParagraphs): handle the leftindent as environment.
12104
12105         * ParameterStruct.h: added leftindent support.
12106
12107         * ParagraphParameters.C (leftIndent): added support functions for
12108         the paragraph left indent.
12109
12110         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12111         more appropriate.
12112
12113 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12114
12115         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12116         inside insetERT.
12117
12118         * text.C (computeBidiTables): No bidi in insetERT.
12119
12120         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12121         in RTL documents.
12122
12123 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12124
12125         * version.C.in: pre 5
12126
12127 2002-05-02  José Matos  <jamatos@fep.up.pt>
12128         * buffer.C (makeDocBookFile): white space changes, add newline to
12129         command styles.
12130         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12131
12132         * tabular.C (docBook): fix typo.
12133
12134 2002-05-03  Juergen Vigna  <jug@sad.it>
12135
12136         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12137         change in LyXText as we can not be sure it was not freed.
12138         (drawOneRow): remove unused code.
12139
12140         * text.C (drawInset): redo the calculation of the need_break_row as
12141         it could have a row which was already freed.
12142         (draw): look at the return value of drawInset and return false if
12143         it also returned false.
12144         (paintRowText): look at the return value of draw and return false if
12145         it also returned false.
12146
12147         * lyxtext.h: added bool return type to drawInset() and draw() so that
12148         if we have a change in the row so that the rowbreak has to be redone
12149         we abort drawing as it will be called again.
12150
12151 2002-05-02  Juergen Vigna  <jug@sad.it>
12152
12153         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12154         a change in the maintext also if we're inside an inset.
12155         (Dispatch): set the cursor again after a break line and after the
12156         screen has been updated as it could be we're in a different row.
12157
12158         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12159         to set the cursor behind the pargraph with > size().
12160         (setCursor): check also for the same paragraph when checking where
12161         to put the cursor if we have a NFR inset.
12162
12163         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12164         parts of layout read further up as it still was in the wrong
12165         position.
12166
12167 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12168
12169         * screen.C (drawFromTo): change sine fullRebreak always return
12170         true.
12171
12172         * buffer.C (parseSingleLyXformat2Token): reindent some
12173
12174         * BufferView_pimpl.C (update): change since fullRebreak always
12175         return true.
12176         (Dispatch): git rid of the last hardcoded "Standard"s.
12177
12178 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12179
12180         * text2.[Ch] (fullRebreak): make it return void now that we always
12181         returned true.
12182
12183 2002-04-30  Juergen Vigna  <jug@sad.it>
12184
12185         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12186         ert compatibility check for "latex" layout.
12187
12188 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12189
12190         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12191         minipages: use col% instead of p%, and also use the current font.
12192         (makeLaTeXFile): Fix use babel condition.
12193         (parseSingleLyXformat2Token): Correct font when reading old floats.
12194
12195 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12196
12197         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12198         inserting list of floats.
12199
12200 2002-04-25  Herbert Voss  <voss@lyx.org>
12201
12202         * MenuBackend.C (expand): don't add the graphics extensions to the
12203         export menu
12204
12205 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12206
12207         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12208         non-existing layout, do not complain if it was the default layout
12209         of the original class (bug #342)
12210
12211 2002-04-24  Juergen Vigna  <jug@sad.it>
12212
12213         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12214         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12215
12216 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12217
12218         * buffer.C (getBibkeyList): If using \bibliography, return the
12219         option field with the reference itself. Enables us to provide natbib
12220         support when using \bibliography.
12221
12222 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12223
12224         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12225
12226         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12227         natbib is provided by the LaTeX class.
12228
12229 2002-04-23  Juergen Vigna  <jug@sad.it>
12230
12231         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12232         Wakeup functions.
12233
12234         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12235
12236 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12237
12238         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12239
12240         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12241         ensuremath around textordmasculine, textordfeminine and
12242         textdegree.
12243
12244 2002-04-19  Juergen Vigna  <jug@sad.it>
12245
12246         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12247         reinitializing the buffer otherwise row-dimensions may be wrong.
12248         (update): reset also the selection cursors if they do exits otherwise
12249         their x/y positions may be wrong.
12250
12251         * text2.C (cursorDown): don't enter the inset if we came from a row
12252         above and are one row over the inset.
12253
12254         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12255         really leaving an inset.
12256
12257 2002-04-18  Juergen Vigna  <jug@sad.it>
12258
12259         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12260         of the selected paragraph does not have the selected layout also if
12261         the last one had!
12262
12263         * text2.C (setLayout): fixed bug which did not change last selected
12264         paragraph.
12265
12266         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12267         changed the read and substituted \\end_float with \\end_inset!
12268
12269         * BufferView_pimpl.C (cursorPrevious):
12270         (cursorNext): fixed to make it work with rows heigher than the work
12271         area without moving the cursor only the draw of the row.
12272         (workAreaMotionNotify): fix jumping over high rows.
12273
12274 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12275
12276         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12277         Ressler.
12278
12279 2002-04-16  Juergen Vigna  <jug@sad.it>
12280
12281         * text2.C (setCursor): set also the irow().
12282         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12283         (cursorUp):
12284         (cursorDown): support for locking an inset if the x_fix value goes
12285         inside it. That way I can transverse insets too with cursor up/down.
12286
12287         * lyxrow.h: added irow helper function same as other (i) functions.
12288
12289         * BufferView_pimpl.C (cursorPrevious):
12290         (cursorNext): fixed for insets!
12291
12292 2002-04-15  Juergen Vigna  <jug@sad.it>
12293
12294         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12295         position otherwise it is wrong in some cases.
12296
12297         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12298         inside the inset before the call.
12299
12300 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12301
12302         * buffer.[Ch] (getBibkeyList): make it const.
12303
12304 2002-04-12  Juergen Vigna  <jug@sad.it>
12305
12306         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12307
12308         * text2.C (getCursorX): new helper function
12309         (setCursor): compute also ix_
12310         (setCursorFromCoordinates): set also ix.
12311
12312         * lyxcursor.h: added ix_ and helper functions.
12313
12314         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12315
12316         * buffer.C (insertStringAsLines): dont break paragraph if the this
12317         paragraph is inside an inset which does not permit it!
12318
12319         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12320         also with no chars on this paragraph.
12321         (paintRowText): only paint stuff if it's inside the workarea!
12322
12323         * paragraph.C (breakParagraph): honor keepempty flag and break the
12324         paragraph always below not above.
12325
12326         * BufferView2.C (unlockInset): update the paragraph layout on inset
12327         unlock as we changed paragraph in such a case.
12328
12329         * lyxfind.C (LyXFind): clear the former selection if not found!
12330
12331         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12332         again called in insertChar().
12333
12334         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12335         an inset which uses the whole row!
12336         (rightMargin): ditto.
12337         (insertChar): force a rebreak if we inserted an inset!
12338
12339 2002-03-28  Herbert Voss  <voss@lyx.org>
12340
12341         * lyxlength.[Ch]: add inBP() to get the right PS-point
12342         units (BigPoint). With inPixels we have rounding errors
12343
12344 2002-04-11  Juergen Vigna  <jug@sad.it>
12345
12346         * text2.C (setCursorFromCoordinates): set iy to the right value.
12347         (setCursor): add check if row->previous exists!
12348
12349         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12350         an old float_type as this was the case in the old code!
12351
12352         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12353
12354         * BufferView2.C (showLockedInsetCursor): use iy
12355         (fitLockedInsetCursor): ditto
12356
12357         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12358         locked insets as there we have the right value now.
12359
12360         * lyxcursor.C: added iy_ variable and iy functions to set to the
12361         baseline of cursor-y of the locked inset.
12362
12363         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12364         (setCursor): fixed for insets which need a full row.
12365
12366         * text.C (rowLastPrintable): don't ignore the last space when before
12367         an inset which needs a full row.
12368         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12369         as last character of a row when before a inset which needs a full row.
12370
12371 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12372
12373         * version.C.in: update date
12374
12375         * text2.C (fullRebreak): try to always return true and see what
12376         happens...
12377
12378 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12379
12380         * MenuBackend.C (expand): use Floating::listName
12381
12382         * FloatList.C (FloatList): add listName argument to the built-in
12383         floats
12384
12385         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12386         text associated with the float.
12387
12388 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12389
12390         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12391
12392 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12393
12394         * ShareContainer.h: add a couple of missing typenames.
12395
12396 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12397
12398         * lyxrc.C (getDescription): use _() correctly rather than N_().
12399
12400 2002-03-28  Herbert Voss  <voss@lyx.org>
12401
12402         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12403         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12404
12405 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12406
12407         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12408         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12409
12410 2002-03-29  Juergen Vigna  <jug@sad.it>
12411
12412         * lyxfunc.C (dispatch): add a missing fitCursor call.
12413
12414         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12415         it was scrolled by a cursor move, so return the bool status.
12416
12417         * BufferView.C (fitCursor): return the bool flag also to the outside
12418         world as this is needed.
12419
12420         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12421
12422         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12423         call the edit() as it is not needed (and wrong) IMO.
12424         (workAreaButtonPress): set the screen_first variable before evt.
12425         unlock the inset as this may change screen_first and then we have
12426         a wrong y position for the click!
12427
12428 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12429
12430         * MenuBackend.C (expand): another translation that I missed
12431
12432 2002-03-28  Juergen Vigna  <jug@sad.it>
12433
12434         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12435
12436         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12437
12438 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12439
12440         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12441
12442         * MenuBackend.C (expand): fix export/view/update when there is no
12443         document open.
12444
12445 2002-03-27  Herbert Voss  <voss@lyx.org>
12446
12447         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12448         and text%
12449
12450 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12451
12452         * bufferview_funcs.C (currentState): only show paragraph number
12453         for is DEVEL_VERSION is set.
12454
12455         * lyxfunc.C (dispatch): put warning in INFO channel
12456
12457         * MenuBackend.C (expand): translate the name of floats
12458
12459         * FloatList.C (FloatList): mark the float names for translation
12460
12461         * converter.C (convert): use LibScriptSearch
12462
12463 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12464
12465         * MenuBackend.C (defaults): fix default menu (we might as well get
12466         rid of it...)
12467
12468 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12469
12470         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12471         directory.
12472
12473 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12474
12475         * lyxvc.C: reorder includes.
12476
12477 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12478
12479         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12480           properly
12481
12482 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12483
12484         * CutAndPaste.C: change layouts earlier on paste
12485           to avoid crashing when calling getFont()
12486
12487 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12488
12489         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12490         irritating #error.
12491
12492 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12493
12494         * WorkArea.C: remove 'Pending' debug message.
12495
12496         * most files: ws cleanup
12497
12498         * buffer.[Ch]: ws changes
12499
12500         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12501
12502 2002-03-21  Juergen Vigna  <jug@sad.it>
12503
12504         * tabular.C (SetMultiColumn): collapse also the contents of the
12505         cells and set the last border right. Added a Buffer const * param.
12506
12507 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12508
12509         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12510         linking or not.
12511
12512 2002-03-19  Juergen Vigna  <jug@sad.it>
12513
12514         * text2.C (clearSelection): reset also xsel_cache.
12515
12516         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12517         where it needs to be called (John tells us to do so too :)
12518         (selectionLost): reset sel_cache.
12519
12520         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12521
12522 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12523
12524         * text2.C (setCursorIntern): put debuging code in INSETS channel
12525
12526 2002-03-19  André Pönitz <poenitz@gmx.net>
12527
12528         * lyxfunc.C: tiny whitespace change
12529
12530 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12531
12532         * ToolbarDefaults.C (init):
12533         * LyXAction.C (init):
12534         * commandtags.h:
12535         * BufferView_pimpl.C (Dispatch):
12536         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12537
12538 2002-03-19  Allan Rae  <rae@lyx.org>
12539
12540         * exporter.C (Export): removeAutoInsets before doing anything else.
12541         While I've just introduced a dependency on BufferView this really is
12542         the best place to clean the buffer otherwise you need to cleanup in
12543         a dozen places before calling export or cleanup in a dozen functions
12544         that export calls.
12545
12546         * converter.C (runLaTeX):
12547         (scanLog): Better handling of removeAutoInsets and screen updates.
12548
12549         * lyxfunc.C (dispatch): small whitespace changes
12550
12551 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12552
12553         * WorkArea.C (C_WorkAreaEvent): return a value.
12554         (event_cb): return 1 if we handled the event, 0 otherwise.
12555
12556         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12557
12558 2002-03-18  Juergen Vigna  <jug@sad.it>
12559
12560         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12561         (GetAdditionalWidth): ditto.
12562         (RightLine): ditto.
12563         (LeftLine): ditto.
12564
12565         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12566         inset if we're there actually (probably not used right now but this
12567         is the direction to go for unifying code).
12568         (paste): disable code to clear the selection.
12569
12570         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12571         inside an InsetText and move the check further up as it is in the
12572         wrong place.
12573
12574         * text2.C (pasteSelection): set a selection over the pasted text.
12575
12576 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12577
12578         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12579         and libgraphics to build on Cygwin.
12580
12581 2002-03-15  Juergen Vigna  <jug@sad.it>
12582
12583         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12584         inserting an Inset into the paragraph. I know this is not the best
12585         fix but we already use current_view in CutAndPaste so we will remove
12586         all of it's using at the same time.
12587
12588         * buffer.C (sgmlError): deactivated function till it is rewritten in
12589         the right mode, now it can create problems.
12590
12591         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12592         before accessing it.
12593
12594 2002-03-14  Juergen Vigna  <jug@sad.it>
12595
12596         * undo_funcs.C (textHandleUndo): do the right thing when updating
12597         the inset after the undo/redo.
12598
12599         * text2.C (setCursor): just some testcode for #44 not ready yet.
12600
12601         * undo_funcs.C (textHandleUndo): set the next() and previous()
12602         pointers of the paragraph to 0 before deleting otherwise we have
12603         problems with the Paragraph::[destructor].
12604
12605         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12606         on a paragraph insertion.
12607
12608 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12609
12610         * buffer.C (asciiParagraph): use += operator for char append to
12611         string.
12612
12613         * paragraph.C (getFontSettings): compare >= not just >
12614         (highestFontInRange): ditto
12615         (setFont): ditto
12616
12617 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12618
12619         * paragraph.C: change several algorithm to be more appripriate for
12620         the problem domain. This is lookip in FontList and in the InsetList.
12621
12622 2002-03-13  André Pönitz <poenitz@gmx.net>
12623
12624         * commandtags.h:
12625         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12626
12627 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12628
12629         * commandtags.h:
12630         * LyXAction.C:
12631         * lyxfunc.C:
12632         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12633
12634 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12635
12636         * Painter.C (display): anon helper function, adjust code for this
12637         change.
12638         (pixmap): remove function.
12639
12640         * Painter.h: remove private display variable.
12641
12642         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12643
12644 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12645
12646         * WorkArea.[Ch]: remove figinset_canvas cruft.
12647
12648 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12649
12650         * lyxtextclass.C (operator): add one item cache optimization.
12651
12652         * bufferlist.h: doxy changes
12653
12654         * bufferlist.C: ws changes
12655
12656         * DepTable.[Ch] (ext_exist): place const in the right spot.
12657
12658         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12659         call resizeInsets.
12660         (workAreaExpose): call resizeInsets when the with BufferView changes.
12661         (Dispatch): adjust for protectedBlank removal
12662         (specialChar): call updateInset if the insert went ok.
12663
12664         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12665         specialChar instead.
12666
12667         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12668
12669         * BufferView.h: doxy change
12670
12671         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12672
12673         * lyxtextclass.C (operator[]): remove non-const version
12674         (defaultLayout): remove non-const version
12675
12676 2002-03-12  Juergen Vigna  <jug@sad.it>
12677
12678         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12679         did resize the LyXText too.
12680
12681         * buffer.C (readLyXformat2): set layout information on newly allocated
12682         paragraphs.
12683
12684         * tabular.C (OldFormatRead): set layout information on the paragraph.
12685
12686 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12687
12688         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12689
12690 2002-03-11  Juergen Vigna  <jug@sad.it>
12691
12692         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12693         plainly wrong.
12694         (resizeCurrentBuffer): force also the insets to resize themselfes.
12695         (moveCursorUpdate): fixed up for InsetText.
12696
12697 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12698
12699         * commandtags.h:
12700         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12701         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12702         value of Dialogs::tooltipsEnabled().
12703         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12704
12705 2002-03-08  Juergen Vigna  <jug@sad.it>
12706
12707         * BufferView_pimpl.C (updateInset): update inset inside inset also
12708         if it isn't inside theLockingInset().
12709
12710 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12711
12712         * buffer.C (asciiParagraph): redo some of the word and line length
12713         handling.
12714         (getLists): look for Caption instead of caption.
12715
12716 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12717
12718         * buffer.C (Buffer): initialize niceFile to true
12719         (makeLaTeXFile):
12720         (makeLinuxDocFile):
12721         (makeDocBookFile): make sure niceFile is true on exit
12722
12723 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12724
12725         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12726
12727 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12728
12729         * LyXSendto.C: remove.
12730         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12731         * lyx_gui.C: remove now-redundant comment.
12732         * ColorHandler.h: remove forward declaration of class WorkArea.
12733         * lyxfunc.C: remove #include "WorkArea.h".
12734
12735 2002-03-07  Juergen Vigna  <jug@sad.it>
12736
12737         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12738         got moved away with the DEPM and also set the inset_owner always
12739         right which before could have been omitted.
12740
12741 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12742
12743         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12744         wanted layout is not found.
12745
12746 2002-03-07  Juergen Vigna  <jug@sad.it>
12747
12748         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12749
12750 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12751
12752         * paragraph.C (breakParagraph): use default layout not layout of
12753         prev paragraph.
12754         (Paragraph): clear ParagraphParameters.
12755
12756 2002-03-06  Juergen Vigna  <jug@sad.it>
12757
12758         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12759         otherwise it would not be a valid lenght. Fixed a special case in
12760         the minipage compatibility read where we end the document with a
12761         minipage.
12762
12763         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12764         was set as it could be 0 for InsetTexts first entry.
12765
12766 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12767
12768         * paragraph.C (writeFile): if layout is empty write out
12769         defaultLayoutName().
12770
12771         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12772         file without named layout we set layout to defaultLayoutName().
12773
12774 2002-03-06  Juergen Vigna  <jug@sad.it>
12775
12776         * CutAndPaste.C (copySelection): set layout for new paragraph.
12777
12778         * text.C (prepareToPrint): leave ERT inset left aligned
12779         (leftMargin): don't indent paragraphs inside ERT insets
12780
12781 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12782
12783         * paragraph.C (breakParagraph): dont call clear do the work manually
12784
12785         * paragraph.[Ch] (clear): remove function
12786
12787 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12788
12789         * paragraph.C (Paragraph): dont call clear, the work has already
12790         been done.
12791
12792         * lyxtextclass.C (operator): assert if n is empty
12793
12794         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12795         work manually instead.
12796
12797 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12798
12799         * BufferView_pimpl.C: protect selectionLost against text == 0
12800
12801 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12802
12803         * text.C (breakParagraph): fix a setting layout to '0' problem.
12804
12805 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12806
12807         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12808         final location of file, for the included files, and graphics.
12809
12810 2002-03-05  Juergen Vigna  <jug@sad.it>
12811
12812         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12813
12814 2002-03-04  Juergen Vigna  <jug@sad.it>
12815
12816         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12817
12818         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12819         last column of multicolumn cells.
12820         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12821
12822 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12823
12824         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12825         file if it doesn't go to a temporary file.
12826
12827         * buffer.C (sgmlOpenTag):
12828         (sgmlCloseTag):  remove extra newline insertion.
12829
12830 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12831
12832         * text.C (getRowNearY): comment out debug msg
12833
12834 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12835
12836         * text2.C: first -> first_y
12837
12838         * text.C (getRowNearY): add some attemts at a possible
12839         optimization, not working.
12840
12841         * tabular.[Ch]: add BufferParams to several function so that newly
12842         created paragraph can be initialized to he default layotu for the
12843         buffers textclass.
12844
12845         * tabular-old.C (ReadOld): add buf->params to call of Init
12846
12847         * screen.C: rename text->first to text->first_y
12848
12849         * paragraph.C (breakParagraph): always set layout in the broken
12850         paragraph
12851
12852         * lyxtextclass.C (Read): remove lowercase
12853         (hasLayout): ditto
12854         (operator): ditto
12855         (delete_layout): ditto
12856
12857         * lyxtext.h: rename first -> first_y
12858
12859         * lyxlayout.C (Read): remove lowercase
12860         (name): ditto
12861         (setName): ditto
12862         (obsoleted_by): ditto
12863
12864         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12865
12866         * buffer.C (insertErtContents): add params are to InsetERT
12867         (parseSingleLyXformat2Token): add code to check if a paragraphs
12868         layout really exist.
12869         (parseSingleLyXformat2Token): add params to several inset
12870         constructors
12871         (asciiParagraph): remove lowercase, do the layout comparisons with
12872         no_case
12873
12874         * BufferView_pimpl.C (cursorNext): first -> first_y
12875         (resizeCurrentBuffer): first -> first_y
12876         (updateScrollbar): first -> first_y
12877         (scrollCB): first -> first_y
12878         (workAreaMotionNotify): first -> first_y
12879         (workAreaButtonPress): first -> first_y
12880         (checkInsetHit): first -> first_y
12881         (cursorPrevious): first -> first_y
12882         (cursorNext): first -> first_y
12883         (Dispatch): add buffer_->params to severl inset contructors
12884
12885 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12886
12887         * lyxlayout.C (Read): remove some debug info that I forgot.
12888
12889         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12890         clean up the code slightly.
12891         (makeLinuxDocFile): ditto
12892         (makeDocBookFile): ditto
12893
12894         * text2.C: layout as string
12895
12896         * text.C: layout as string
12897
12898         * paragraph_pimpl.C: layout as string
12899
12900         * paragraph.[Ch]: layout as string
12901
12902         * lyxtextclasslist.[Ch]: layout as string
12903
12904         * lyxtextclass.[Ch]: layout as string
12905
12906         * lyxtext.h: layout as string
12907
12908         * lyxlayout.[Ch]: layout as string
12909
12910         * lyx_cb.C: layout as string
12911
12912         * bufferview_funcs.C: layout as string
12913
12914         * bufferparams.C: layout as string
12915
12916         * buffer.C: layout as string
12917
12918         * LyXView.[Ch]: layout as string
12919
12920         * LaTeXFeatures.[Ch]: layout as string
12921
12922         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12923
12924         * BufferView_pimpl.C: change current_layout to string, remove
12925         lyx::layout_type.
12926         (Dispatch):
12927         (smartQuote):
12928         (insertInset):
12929         (workAreaButtonRelease): layout as string
12930
12931         * BufferView2.C (unlockInset): adjust
12932
12933         * vspace.C (asLatexCommand): use an explict temp variable.
12934
12935 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12936
12937         * Makefile.am: use FRONTEND_*
12938
12939 2002-03-01  Juergen Vigna  <jug@sad.it>
12940
12941         * tabular.C (SetWidthOfMulticolCell): changed to something better
12942         I hope but still work in progress.
12943         (recalculateMulticolumnsOfColumn): renamed function from
12944         recalculateMulticolCells as it is more appropriate now.
12945         (SetWidthOfCell): calculate multicols better.
12946
12947 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12948
12949         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12950
12951         * lyxfunc.C (processKeySym): print sequence also if it is
12952         `deleted' (complete)
12953
12954         * kbsequence.C (print): print sequence even if it is deleted
12955         (complete would be a better word, actually).
12956
12957         * lyxfunc.C (dispatch): print complete options after a prefix key
12958
12959         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12960
12961 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12962
12963         * text2.C (setCharFont): eliminate setCharFont code duplication.
12964
12965 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12966
12967         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12968         LFUN_TABULAR_FEATURE (bug #177)
12969
12970 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12971
12972         * Makefile.am: remove figure.h
12973
12974 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12975
12976         * Bufferview_pimpl.C:
12977         * CutAndPasteC:
12978         * LaTeX.C:
12979         * LyXSendto.C:
12980         * buffer.C:
12981         * bufferlist.C:
12982         * converter.C:
12983         * language.C:
12984         * lyxfunc.C:
12985         * lyxvc.C:
12986         * paragraph.C:
12987         * text.C:
12988         * text2.C: remove #include "lyx_gui_misc.h".
12989
12990         * LaTeX.C: added #include <cstdio>
12991
12992 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12993
12994         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12995         that the paragraph following this one can have.
12996
12997         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12998
12999         * vspace.C (asLatexCommand): fix bogus gcc warning
13000
13001         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13002
13003 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13004
13005         * text2.C (setLayout): get rid of redundant code
13006
13007 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13008
13009         * text2.C (incDepth): make sure depth cannot be increased beyond
13010         reasonable values.
13011
13012 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13013
13014         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13015         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13016
13017         * PainterBase.h (image):
13018         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13019         a LyXImage const *.
13020
13021 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13022
13023         * BufferView.C:
13024         * BufferView.h:
13025         * BufferView_pimpl.C:
13026         * BufferView_pimpl.h:
13027         * LaTeXFeatures.C:
13028         * LyXAction.C:
13029         * LyXView.C:
13030         * Makefile.am:
13031         * UpdateList.h:
13032         * UpdateList.C:
13033         * buffer.C:
13034         * figure.h:
13035         * figureForm.C:
13036         * figureForm.h:
13037         * figure_form.C:
13038         * figure_form.h:
13039         * lyx_cb.C:
13040         * lyx_gui.C:
13041         * lyx_gui_misc.C:
13042         * lyxfunc.C:
13043         * sp_base.h:
13044         * sp_ispell.h:
13045         * sp_pspell.h:
13046         * sp_spell.C: remove fig inset, and the crap house of
13047           cards that follows it
13048
13049 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13050
13051         * Makefile.am:
13052         * lyxserver.C:
13053         * os2_defines.h:
13054         * os2_errortable.h:
13055         * nt_defines.h: move .h into support/
13056
13057         * vms_defines.h: remove
13058
13059         * WorkArea.C: add space in debug output
13060
13061         * text2.C:
13062         * paragraph.C:
13063         * buffer.C: add WITH_WARNINGS
13064
13065         * vc-backend.h:
13066         * vc-backend.C:
13067         * bufferlist.C: s/retrive/retrieve/, add docs
13068
13069         * vspace.h:
13070         * vspace.C:
13071         * kbmap.h:
13072         * lyxlength.h:
13073         * lyxgluelength.h:
13074         * length_common.h:
13075         * chset.h:
13076         * chset.C: add docs
13077
13078         * lyxgui.C: add ID to X error handler
13079
13080         * lyxtestclass.c: fix typo
13081
13082 2002-02-26  Juergen Vigna  <jug@sad.it>
13083
13084         * tabular_funcs.C (write_attribute): changed so that some default
13085         attributes are not written at all.
13086         (getTokenValue): set default values before trying to read the
13087         value so we have the return value always set as default if we don't
13088         find the token we search for.
13089
13090         * tabular.C (Write): write bools as bools not as strings!
13091
13092 2002-02-22  Juergen Vigna  <jug@sad.it>
13093
13094         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13095         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13096
13097         * text.C (leftMargin): don't add an indent for paragraphs inside
13098         tabular cells (fix #208).
13099
13100 2002-02-21  José Matos  <jamatos@fep.up.pt>
13101
13102         * tabular.C (docBook): fixed support for long tables.
13103
13104 2002-02-20  Juergen Vigna  <jug@sad.it>
13105
13106         * text2.C (getFont): get the drawing font of the Inset if this
13107         paragraph is inside an inset (only important for InsetERT for now).
13108
13109         * buffer.C (insertErtContents): use new lanugage params in ERT
13110         constructor.
13111
13112         * CutAndPaste.C: commenting out seemingly uneeded code.
13113
13114 2002-02-19  Allan Rae  <rae@lyx.org>
13115
13116         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13117         Iterators might be simple to use but they also get invalidated.
13118         (removeAutoInsets): renamed saved cursor tracking variables and added
13119         some comments to clarify what everything does.
13120
13121 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13122
13123         * Chktex.C:
13124         * LaTeX.C:
13125         * LyXSendto.C:
13126         * converter.C:
13127         * lyx_cb.C:
13128         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13129         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13130
13131         * lyxfunc.C:
13132         * vc-backend.h: remove #include "support/syscall.h"
13133
13134         * LaTeX.C:
13135         * LyXSendto.C:
13136         * converter.C: rearrange #includes in Lars' approved fashion.
13137
13138         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13139         forward declare class Timeout in the header file.
13140
13141         * XFormsView.C: changes due to the above.
13142
13143         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13144         similar to LyXView.
13145
13146         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13147         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13148
13149 2002-02-18  José Matos  <jamatos@fep.up.pt>
13150
13151         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13152         insets contents.
13153
13154 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13155
13156         * a lot of small ws changes
13157         * add a lot of using std::XXX
13158         * use std construcs some places where approp.
13159         * use some exisint stuff from lyxfunctional where approp.
13160         * Make file changes to use partial linking (lets test this now...)
13161
13162 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13163
13164         * Chktex.C:
13165         * buffer.C:
13166         remove #include "support/syscontr.h" as it's redundant. Always has been.
13167
13168         * Chktex.C:
13169         * LaTeX.C:
13170         * LyXSendto.C:
13171         * converter.C:
13172         * lyx_cb.C:
13173         * vc-backend.C:
13174         change Systemcalls::System to Systemcalls::Wait and
13175         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13176         No change of functionality, just reflects the stripped down Systemcalls
13177         class.
13178
13179 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13180
13181         * debug.[Ch]: add a GRAPHICS type to the enum.
13182
13183 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13184
13185         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13186
13187         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13188         there is an inset.
13189
13190 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13191
13192         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13193         match the changes below.
13194
13195         * text2.C (toggleInset): if there is not editable inset at cursor
13196         position, try to see if cursor is _inside_ a collapsable inset
13197         and close it.
13198
13199 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13200
13201         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13202         document menu has a nice checkbox
13203
13204 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13205
13206         * lyxlength.C (asLatexString): change PW to output as percent of
13207         \textwidth.
13208
13209         * lengthcommon.C: change '%' to 't%'
13210
13211         * lyxfunc.C (dispatch): a few comments from Martin
13212
13213 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13214
13215         * WorkArea.h:
13216         * WorkArea.C:
13217         * BufferView_pimpl.h:
13218         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13219           the X selection.
13220
13221 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13222
13223         * vspace.C (inPixels): fix compiler warning
13224
13225 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13226
13227         * lyxfunc.C (getStatus): fix status message for disabled commands.
13228
13229 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13230
13231         * BufferView_pimpl.C: fix crash on close buffer
13232         during selection (#227)
13233
13234 2002-01-27  Herbert Voss  <voss@lyx.org>
13235
13236         * buffer.C: link old Figure to new graphic inset
13237
13238 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13239
13240         * FontLoader.C (getFontinfo): Change the latex font names in order
13241         to match the names of type1inst.
13242
13243 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13244
13245         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13246
13247         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13248         (extchanged): ditto
13249         (ext_exist): ditto
13250         (remove_files_with_extension): ditto
13251         (remove_file): ditto
13252         (write): ditto
13253
13254         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13255         document is smaller than the work area height. Do not initialize
13256         static variables to 0.
13257
13258 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13259
13260         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13261
13262         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13263         LFUN_LAYOUT_PARAGRAPHS.
13264
13265         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13266         tabular. It is possible to provide a possible cell, which will
13267         typically be the actcell from the corresponding insettabular
13268
13269         * lyxfunc.C (getStatus): small cleanup; disable
13270         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13271         true
13272
13273 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13274
13275         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13276
13277         * paragraph.C (startTeXParParams):
13278         (endTeXParParams): new methods. The LaTeX code to
13279         start/end paragraph formatting
13280         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13281         empty (fixes bug #200)
13282
13283         * vspace.C (inPixels): adapt to the change below
13284         (inPixels): [later] more cleanups (remove unused variables)
13285
13286         * lyxlength.C (inPixels): change to use a width and a height as
13287         parameter.
13288
13289 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13290
13291         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13292         Replaced with \paperwidth
13293
13294         * DepTable.C (insert): add std:: qualifier
13295
13296 2002-01-18  Allan Rae  <rae@lyx.org>
13297
13298         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13299         updated also?
13300
13301         * text.C (drawInset): Turned out I didn't know enough about how
13302         rebreaking worked.  This fixes most of the redraw problems.  I see
13303         an occasional cursor trail when a line is broken now and the cursor
13304         placement can seem out by a few pixels also after a rebreak.
13305
13306 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13307
13308         * buffer.C (parseSingleLyXformat2Token): update because minipage
13309         width is now a LyXLength
13310
13311         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13312
13313         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13314         math insets
13315
13316 2002-01-17  Juergen Vigna  <jug@sad.it>
13317
13318         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13319
13320         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13321         is set correctly and the inset is updated correctly.
13322
13323 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13324
13325         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13326         the beginning of the loop.
13327
13328 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13329
13330         * lyxrc.C: improve help for use_scalable_fonts
13331
13332 2002-01-17  Allan Rae  <rae@lyx.org>
13333
13334         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13335
13336 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13337
13338         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13339         make sure to set their inset_owner to the right value (bug #171)
13340
13341 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13342
13343         * DepTable.h
13344         * DepTable.C: Implement mtime checking to reduce time spent doing
13345         CRCs.
13346
13347 2002-01-16  Juergen Vigna  <jug@sad.it>
13348
13349         * tabular.C (GetAdditionalHeight): one of error fixed.
13350
13351         * lyxrc.C (output): small fix in writing use_pspell.
13352
13353 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13354
13355         * sp_base.h: #include LString.h
13356
13357 2002-01-16  Allan Rae  <rae@lyx.org>
13358
13359         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13360         Can someone check this please?
13361
13362         * text.C (drawInset): It was possible that p.row would be removed by
13363         breakAgainOneRow upsetting a few other settings.  There may be another
13364         small tweak possible by setting need_break_row = 0 when p.row has been
13365         removed but I don't know enough about the logic here.
13366
13367 2002-01-15  Allan Rae  <rae@lyx.org>
13368
13369         * text.C (insertChar): removed conditional truism.
13370
13371         * BufferView2.C (removeAutoInsets): More tweaks.
13372         cur_par_prev could be a stray pointer.  Check for trailing empty line
13373         in case last line was cur_par and only had an error inset on it.
13374
13375 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13376
13377         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13378         absolute
13379
13380         * vc-backend.C (most methods):
13381         * exporter.C (Export):
13382         * converter.C (convert):
13383         (runLaTeX):
13384         * LyXSendto.C (SendtoApplyCB):
13385         * lyxfunc.C (dispatch):
13386         (menuNew):
13387         (open):
13388         (doImport):
13389         * lyx_cb.C (AutoSave):
13390         (InsertAsciiFile):
13391         * BufferView_pimpl.C (MenuInsertLyXFile):
13392         * buffer.C (runChktex): use Buffer::filePath().
13393
13394         * buffer.h: rename filename to filename_; rename filepath to
13395         filepath_ and make it private
13396         (filePath): new method
13397
13398         * buffer.C (writeFile): use fileName()
13399         (getLatexName):
13400
13401         * lyx_main.C (init): fix starting  of LyX when the binary is a
13402         link from so,ewhere else.
13403
13404         * minibuffer.C: include <cctype> for isprint
13405
13406 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13407
13408         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13409         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13410         name clash with InsetCollapsable's width function.
13411
13412 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13413
13414         * lastfiles.C: include <iterator>
13415
13416 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13417
13418         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13419         std::count.
13420
13421         * buffer.C (makeLaTeXFile): ditto.
13422         Also make loop operation more transparent.
13423
13424 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13425
13426         * ToolbarDefaults.C: remove trailing comma closing namespace.
13427
13428         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13429
13430         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13431         as in WorkArea.
13432
13433         * trans.C (Load): comment out unused variable, allowed.
13434
13435 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13436
13437         * minibuffer.[Ch] (append_char): new method to recieve input from the
13438         drop-down completion browser. If a key was pressed, then recieve this
13439         char and append it to the existing string.
13440         (peek_event): modify the positioning data passed to the completion
13441         browser so that it can be placed above the minibuffer rather than below.
13442 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13443
13444         * LyXAction.C (init): alloe error-next for readonly documents.
13445
13446         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13447         count.
13448
13449 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13450
13451         * bufferlist.C (readFile): create the buffer _after_ checking that
13452         the file exists.
13453
13454         * lyxfunc.C (verboseDispatch): fix handling of arguments
13455
13456         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13457
13458         * lyxrc.C: use string::erase() instead of initializing to "".
13459
13460
13461 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13462
13463         * BufferView_pimpl.h:
13464         * BufferView_pimpl.C:
13465         * WorkArea.h:
13466         * WorkArea.C:
13467         * text2.C: tell X when we have made a selection for copying
13468
13469 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13470
13471         * BufferView_pimpl.C (MenuInsertLyXFile):
13472         * lyxfunc.C (menuNew):
13473         (open):
13474         (doImport): add shortcuts to directory buttons
13475
13476         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13477         open a float)
13478
13479         * lyxfunc.C (setStatusMessage):
13480         (getStatusMessage): new methods
13481         (getStatus):use setStatusMessage instead of setErrorMessage
13482         (dispatch): when function is disabled, set error message here
13483         [instead of in getStatus previously]
13484
13485         * BufferView_pimpl.C (workAreaButtonRelease): update
13486         toolbar/menubar here too.
13487
13488 2002-01-13  Allan Rae  <rae@lyx.org>
13489
13490         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13491         Now seems indestructible.  Remaining task is to audit all other
13492         code affected by deleteEmptyParagraphMechanism.  One small quirk
13493         left is that an empty document with an error in the preamble can
13494         be made to report an error but no error box appears.  I don't know
13495         where it goes.
13496         (removeAutoInsets): Improved comments.
13497
13498 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13499
13500         * Thesaurus.h:
13501         * Thesaurus.C: update for Aiksaurus 0.14
13502
13503 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13504
13505         * text2.C (firstParagraph): removed member function, all uses
13506         replaces with ownerParagraph
13507         (redoParagraphs): here
13508         (updateInset): here
13509         (toggleAppendix): here
13510         * BufferView2.C (insertErrors): here
13511         (setCursorFromRow): here
13512
13513 2002-01-13  Allan Rae  <rae@lyx.org>
13514
13515         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13516         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13517         There is still a way to segfault this although you may have to do this
13518         multiple times: Have an InsetERT with an unknown command in it.
13519         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13520         <down-arrow>, <Enter> again, View->DVI, BANG!
13521
13522         * text2.C (setCursor):
13523         (deleteEmptyParagraphMechanism):
13524         * lyxtext.h (setCursor):
13525         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13526         Making use of the return value may help fix other bugs.
13527
13528 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13529
13530         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13531
13532         * LyXView.C (updateMenubar): call MenuBar::update here
13533         (updateToolbar): but not here
13534         (showState): do not update toolbar/menubar
13535
13536         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13537         should need to care about that.
13538
13539         * lyxfunc.C (verboseDispatch): simplify a bit
13540         (getStatus): have a version which takes a pseudoaction, and
13541         another which requires a (kb_action,string).
13542
13543         * LyXAction.C (retrieveActionArg): make it work also when action
13544         is not a pseudo-action.
13545         (getActionName): simplify a bit
13546         (helpText):
13547
13548 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13549
13550         * lyxfunc.C (verboseDispatch): new families of methods with
13551         several ways to specify a command and a bool to indicate whether
13552         the command name and shortcut should be displayed in minibuffer
13553         (eventually, we could extend that to a finer bitmask like
13554         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13555         (dispatch): the pristine dispatch command which just, well,
13556         dispatchs! Note it still sets its result to minibuffer; I'm not
13557         sure we want that.
13558
13559         * lyxfunc.h: remove setHintMessage
13560
13561         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13562
13563 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13564
13565         * BufferView_pimpl.C (specialChar): delete new inset if we have
13566         not been able to insert it.
13567
13568         * kbmap.C: revert to using int instead of kb_action, since all we
13569         are dealing with is pseudo-actions.
13570
13571         * LyXAction.C (searchActionArg): change to return int instead of
13572         kb_action, since the result is a pseudoaction.
13573
13574 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13575
13576         * buffer.C (insertErtContents): Fix (partially) the font bug.
13577
13578 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13579
13580         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13581         as the other one is broken on my machine!
13582
13583 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13584
13585         * commandtags.h:
13586         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13587
13588 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13589
13590         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13591         reflect their actual use. Provide compatibility code for older lyxrc
13592         files.
13593
13594         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13595         FL_NORMAL_STYLE.
13596         change names of popup font variables in line with the changes to lyxrc.C
13597
13598 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13599
13600         * buffer.C (asciiParagraph): avoid outputing a word twice after
13601         an inset.
13602
13603         * lyxrc.C (getDescription): document that document_path and
13604         template_path can be empty.
13605
13606 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13607
13608         * LaTeXFeatures.C (getMacros):
13609         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13610
13611         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13612
13613         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13614         getPackages.
13615         (getPackages): rename feature "floats" to "float". Use an array to
13616         iterate over 'simple' features (i.e. just a \usepackage). Add
13617         handling of "amsmath" (renamed from "amsstyle").
13618
13619 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13620
13621         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13622         features list.
13623
13624 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13625
13626         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13627         FuncStaus::FuncStatus & FuncStaus::some_method().
13628
13629 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13630
13631         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13632         of the func_satus stuff. Edited and massaged in various ways by
13633         JMarc.
13634
13635         * lyxfunc.C (getStatus): use FuncStatus
13636
13637 2002-01-08  Juergen Vigna  <jug@sad.it>
13638
13639         * text.C (nextBreakPoint): use function Inset::isChar().
13640
13641         * paragraph.C (TeXOnePar): use function
13642         Inset::forceDefaultParagraphs.
13643
13644         * buffer.C (latexParagraphs): use function
13645         Inset::forceDefaultParagraphs.
13646
13647 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13648
13649         * lyx_gui.C (init): set the style of the menu popups to
13650         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13651
13652 2002-01-07  Juergen Vigna  <jug@sad.it>
13653
13654         * text.C (setHeightOfRow): small fix
13655         (prepareToPrint): don't look at alignment if we don't have the place
13656         for doing it.
13657
13658 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13659
13660         * box.C: New file. Move the Box methods and functions out of box.h,
13661         following Lars' suggestion.
13662
13663 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13664
13665         * box.h: #include "support/LOstream.h", needed for inlined function.
13666
13667         * lyxtextclass.C:
13668         * lyxtextclasslist.C: added some using std declarations.
13669
13670 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13671
13672         * box.h: make signed dimensions to allow insets wider than
13673           the screen (bug #162)
13674
13675         * BufferView_pimpl.C: add some insetHit debug
13676
13677 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13678
13679         * vc-backend.C: add FIXME
13680
13681 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13682
13683         * lyxfunc.C (getStatus): enable code for showing math font status
13684         in toolbar/menu.
13685
13686 2002-01-07  Juergen Vigna  <jug@sad.it>
13687
13688         * text.C (nextBreakPoint): removed debug output not needed anymore.
13689
13690 2002-01-06  Juergen Vigna  <jug@sad.it>
13691
13692         * text.C (nextBreakPoint): fixed up this function we had this bug
13693         since ever but now hopefully we break row better.
13694         (insertChar): we have to check if an inset is the next char as it
13695         could now happen that a large inset is causing a break.
13696
13697 2002-01-05  Juergen Vigna  <jug@sad.it>
13698
13699         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13700         if it doesn't like to be drawed.
13701
13702 2002-01-04  Juergen Vigna  <jug@sad.it>
13703
13704         * BufferView2.C (lockInset): forgot to set a cursor.
13705
13706         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13707
13708 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13709
13710         * FormMathsPanel.C:
13711         * FormMathsPanel.h
13712         * MathsSymbols.C:
13713         * form_maths_panel.C:
13714         * form_maths_panel.h:
13715         * form_maths_panel.fd: implemented sub- and super- buttons in math
13716         panel.
13717
13718         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13719         (or ^ space) to be used as in TeX (req'd by André).
13720
13721         * lyxfunc.C: Allow ^ and _ again to be used both as
13722         super/subscript (mathed) and as themselves (in text).
13723
13724 2002-01-03  Allan Rae  <rae@lyx.org>
13725
13726         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13727         "LyX" or the filename of the current buffer if it has one.  This is a
13728         modified form of John Levon's patch.
13729
13730         * XFormsView.C (setWindowTitle): also set icon title.
13731
13732         * LyXView.h (setWindowTitle): signature changed.
13733         * XFormsView.h (setWindowTitle): ditto.
13734
13735 2002-01-02  Juergen Vigna  <jug@sad.it>
13736
13737         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13738
13739 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13740
13741         * screen.C (topCursorVisible): introduce a temp var for
13742         text->cursor.row(), handle the case where this row is null. (kindo
13743         hachish)
13744
13745         * text2.C (setCursor): add a couple of asserts.
13746
13747         * paragraph.h (inset_iterator): add -> operator
13748
13749         * paragraph.[Ch] (autoDeleteInsets): remove member function
13750
13751         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13752         cursor pos correctly and handle inset deletion by itself.
13753         (insertErrors): move iterator declaration out of for expression
13754
13755         * lyxtextclass.C: add <algorithm>
13756
13757         * Makefile.am: added the new files to sources, removed layout.C
13758
13759         * layout.C: removed file
13760
13761         * layout.h: remove LYX_DUMMY_LAYOUT
13762
13763         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13764         layout.
13765
13766         * lyxlayout.[Ch]:
13767         * lyxtextclass.[Ch]:
13768         * lyxtextclasslist.[Ch]: new files
13769
13770         * include order changes to a lot of files, also changes because of
13771         the six new files.
13772
13773 2001-12-27  Juergen Vigna  <jug@sad.it>
13774
13775         * buffer.C (asciiParagraph): more fixes.
13776
13777         * tabular.C (ascii): make ascii export support export of only the
13778         data separated by a column-delimiter.
13779         (ascii): better support for ascii export.
13780
13781         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13782
13783 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13784
13785         * tabular_funcs.C: use a "using std::getline" instead of the
13786         previous fix from Angus (necessary for cxx + lyxstring)
13787
13788 2001-12-24  Juergen Vigna  <jug@sad.it>
13789
13790         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13791
13792         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13793         problems. First check a minipage also if we have some ert-contents
13794         (not only on par->size(), second set the right depth of the paragraph
13795         on the relink to the root-paragraph-list!
13796
13797         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13798         which then did not anymore update the main paragraphs on undo/redo!
13799
13800 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13801
13802         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13803         code. Support all font-changing funcs (even those which are not in
13804         menu currently). Support for reporting font settings in
13805         mathed (disabled until Andre provides a function on mathed's side).
13806
13807         * func_status.h (toggle): small helper function to set toggle
13808         state on a flag.
13809
13810 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13811
13812         * tabular_funcs.C: getline -> std::getline
13813
13814 2001-12-21  Juergen Vigna  <jug@sad.it>
13815
13816         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13817         accessed and could be 0 (I couldn't generate this but it seems
13818         Michael could!).
13819
13820 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13821
13822         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13823         * tabular_funcs.h: here and include iosfwd
13824
13825 2001-12-20  Juergen Vigna  <jug@sad.it>
13826
13827         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13828         inside inset but undo_par was.
13829
13830 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13831
13832         * Thesaurus.C: always include <config.h> in sources.
13833
13834         * Painter.h:
13835         * lyxlookup.h:
13836         * box.h: do not include <config.h> in header files
13837
13838         * text.C (paintLastRow): remove unused variable
13839
13840         * text.C (transformChar):
13841         (insertChar):
13842         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13843
13844         * Painter.C (text):
13845         * font.C (width): rewrite to use uppercase() instead of
13846         islower/toupper.
13847
13848         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13849
13850 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13851
13852         * lyxfind.C: clean up of find failure position change
13853
13854 2001-12-20  Juergen Vigna  <jug@sad.it>
13855
13856         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13857
13858         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13859         (TeXRow): added to LaTeX a single tabular row.
13860         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13861         (Latex): simplified and finally good LT-h/f support.
13862         (various_functions): just small adaptions for LT-h/f support.
13863
13864         * tabular_funcs.[hC]: added and moved here all not classfunctions
13865         of LyXTabular.
13866
13867 2001-12-19  Juergen Vigna  <jug@sad.it>
13868
13869         * tabular.[Ch]: better support for longtabular options (not finished
13870         yet!)
13871
13872 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13873
13874         * text.C (paintLastRow): use the label font instead of the font of
13875         the last character to compute the size of *_BOX. This makes more
13876         sense and avoids a crash with empty paragraphs.
13877         Use Painter::rectangle to draw EMPTY_BOX.
13878
13879 2001-12-19  Juergen Vigna  <jug@sad.it>
13880
13881         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13882         the paragraphs if the replaced paragraph is not the first one!
13883         Tried to delete not used paragraphs but does not work yet so for
13884         now it's inside #ifdef's and by default off!
13885
13886 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13887
13888         * MenuBackend.C: include "lyx_main.h" instead of declaring
13889         lastfiles (actually was declared as LastFiles* instead of a
13890         scoped_ptr).
13891
13892 2001-12-17  Juergen Vigna  <jug@sad.it>
13893
13894         * tabular.C (AppendColumn): applied John's fix
13895
13896 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13897
13898         * BufferView.h:
13899         * BufferView.C:
13900         * BufferView_pimpl.h:
13901         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13902
13903         * Makefile.am:
13904         * box.h: new start of class for above
13905
13906         * lyxfunc.C: ignore space-only minibuffer dispatches.
13907           Show the command name when it doesn't exist
13908
13909         * minibuffer.C: don't add empty lines to the history
13910
13911         * minibuffer.C: add a space on dropdown completion
13912
13913 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13914
13915         * text.C: fix line above/below drawing in insets
13916
13917 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13918
13919         * lyxlength.C (LyXLength): Initialize private variables.
13920
13921 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13922
13923         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13924         when inserting error insets.
13925
13926 2001-12-13  Juergen Vigna  <jug@sad.it>
13927
13928         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13929         actually sometimes the before-paragraph.
13930         (setUndo): don't clear the redostack if we're not actually undoing!
13931
13932 2001-12-06  Juergen Vigna  <jug@sad.it>
13933
13934         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13935         and fixed redoing of main paragraph, so we can use it now ;)
13936
13937         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13938
13939 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13940
13941         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13942         Juergen's request
13943
13944 2001-12-13  André Pönitz <poenitz@gmx.net>
13945
13946         * undostack.[Ch]:
13947         * undo_func.C: minor cleanup
13948
13949 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13950
13951         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13952         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13953         font in urw-fonts package which is marked as -urw-fontspecific and
13954         does not work (incidentally, changing the encoding in the
13955         fonts.dir of this package to -adobe-fontspecific fixes the
13956         problem).
13957
13958         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13959         is a crash when undoing first paragraph (Juergen, please take a
13960         look). THis does not mean the undo fix is wrong, just that it
13961         uncovers problems.
13962
13963         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13964         the (Paragraph*) version when needed instead of duplicating the
13965         code.
13966
13967         * text.C (workWidth): use Inset::parOwner to find out where the
13968         inset has been inserted. This is a huge performance gain for large
13969         documents with lots of insets. If Inset::parOwner is not set, fall
13970         back on the brute force method
13971
13972         * paragraph_pimpl.C (insertInset):
13973         * paragraph.C (Paragraph):
13974         (cutIntoMinibuffer): set parOwner of insets when
13975         inserting/removing them
13976
13977         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13978
13979 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13980
13981         * commandtags.h:
13982         * LyXAction.C:
13983         * lyx_main.C:
13984         * lyxfunc.C:
13985         * mathed/formulabase.C:
13986         * mathed/math_cursor.[Ch]:
13987         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13988
13989
13990 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13991
13992         * lyxlength.[Ch] (operator!=): new function
13993
13994 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13995
13996         * text.C (workWidth): use Inset::parOwner to find out where the
13997         inset has been inserted. This is a huge performance gain for large
13998         documents with lots of insets. If Inset::parOwner is not set, fall
13999         back on the brute force method
14000
14001         * paragraph_pimpl.C (insertInset):
14002         * paragraph.C (Paragraph):
14003         (cutIntoMinibuffer): set parOwner of insets when
14004         inserting/removing them
14005
14006         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14007
14008 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14009
14010         * tabular-old.C (getTokenValue):
14011         * tabular.C (getTokenValue):
14012         (write_attribute): new versions for LyXLength
14013         (everywhere): adjust the use of widths
14014
14015         * tabular.h: change the type of widths from string to LyXLength
14016
14017 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14018
14019         * paragraph.C: fixed missing line number count when exporting
14020         Environments to LaTeX file
14021
14022         * buffer.C: added informational message for checking line numbers.
14023
14024 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14025
14026         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14027         paragraph, do the 'double space' part, but not the 'empty
14028         paragraph' one.
14029
14030         * text.C (workWidth): small optimization
14031         (getLengthMarkerHeight): use minimal size for negative lengths.
14032
14033 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14034
14035         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14036
14037         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14038
14039 2001-12-11  André Pönitz <poenitz@gmx.net>
14040
14041         * FontLoader.C:
14042         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14043
14044 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14045
14046         * text2.C: keep selection on a setFont()
14047
14048 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14049
14050         * lyx_cb.C: another bv->text misuse, from insert label
14051
14052 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14053
14054         * kbsequence.h:
14055         * kbsequence.C: re-instate nmodifier mask
14056
14057 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14058
14059         * lyx_main.h: make lyxGUI private.
14060
14061 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14062
14063         * lyxfind.C: place the cursor correctly on failed search
14064
14065 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14066
14067         * text.C (getLengthMarkerHeight): for small heights, the arrows
14068         are not always on top/bottom of the text
14069         (drawLengthMarker): smaller arrows; take the left margin in
14070         account; draw also vfills.
14071         (paintFirstRow):
14072         (paintLastRow): remove special code for vfill and standard spaces,
14073         since everything is handled in drawLengthMarker now.
14074
14075 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14076
14077         * buffer.C (insertErtContents): try to handle font and language
14078         interaction a bit better.g
14079
14080         * ColorHandler.C (updateColor): change the hash to cover the whole
14081         LColor enum, ws cleanup
14082         (getGCLinepars): ditto
14083         (getGCLinepars): only lookup in the linecache once.
14084
14085 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14086
14087         * iterators.C (operator++): Make the iterator more robust
14088
14089         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14090         (John's patch)
14091         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14092
14093 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14094
14095         * lyxtext.h:
14096         * text.C: better added space drawing
14097
14098 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14099
14100         * LyXView.C:
14101         * BufferView2.C: fix layout combo update on inset unlock
14102
14103 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14104
14105         * Makefile.am: don't compile unused files
14106
14107 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14108
14109         * lyxfunc.C:
14110         * commandtags.h:
14111         * LyXAction.C: remove old LFUN_LAYOUTNO
14112
14113 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14114
14115         * paragraph_pimpl.h:
14116         * paragraph_pimpl.C: isTextAt() doesn't need font param
14117
14118 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14119
14120         * lyxlex.h:
14121         * lyxlex.C: little cleanup
14122
14123 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14124
14125         * BufferView_pimpl.C: fix insertAscii for insets
14126
14127 2001-12-05  Juergen Vigna  <jug@sad.it>
14128
14129         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14130         set the right font on the "multi" paragraph paste!
14131
14132 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14133
14134         * trans_decl.h:
14135         * trans_mgr.[Ch]:
14136         * trans.[Ch]:
14137         * lyxgluelength.C:
14138         * lyxlength.C: remove out-commented code.
14139
14140         * BufferView_pimpl:
14141         * CutAndPaste.C:
14142         * DepTable.C:
14143         * buffer.C:
14144         * chset.C:
14145         * lastfiles.C:
14146         * lyxlex.C:
14147         * lyxlex_pimpl.C:
14148         * lyxserver.C:
14149         * screen.C:
14150         * tabular-old.C:
14151         * tabular.C:
14152         * text.C:
14153         * trans_mgr.C:
14154         * vc-backend.C: change "while(" to "while ("
14155
14156         * lyxlength.[Ch]: add zero function to check if length is zero or
14157         not
14158         * lyxgluelength.C: use it
14159
14160 2001-12-05  Allan Rae  <rae@lyx.org>
14161
14162         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14163         Works for 2.95.3, from what I understand of Garst's reports this should
14164         work for other g++ versions.  We're screwed if the abs(int) definition
14165         changed between bugfix releases of gcc.
14166
14167 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14168
14169         * text.C: fix chapter label offset !
14170
14171 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14172
14173         * lyxtext.h:
14174         * text.C: fix hfill at end of line, clean up
14175
14176 2001-12-04  Juergen Vigna  <jug@sad.it>
14177
14178         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14179         that we force an update of the inset and it's owners if neccessary.
14180
14181 2001-12-03  Juergen Vigna  <jug@sad.it>
14182
14183         * text.C (rowLast): simplified code
14184
14185 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14186
14187         * lyxfunc.C: fix show options on timeout
14188
14189 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14190
14191         * screen.C (topCursorVisible): scroll half a page when the cursor
14192         reached top of bottom of screen
14193
14194 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14195
14196         * minibuffer.C: deactivate on loss of focus
14197
14198 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14199
14200         * vspace.[Ch] (operator!=): add operator.
14201
14202 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14203
14204         * BufferView_pimpl.C: refuse to open an inset when
14205         there's a selection.
14206
14207 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14208
14209         * BufferView_pimpl.C: allow to click on RHS of full row insets
14210
14211 2001-11-30  Juergen Vigna  <jug@sad.it>
14212
14213         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14214         insets for undo reasons.
14215
14216 2001-11-28  André Pönitz <poenitz@gmx.net>
14217
14218         * vspace.[Ch]: cosmetical changes
14219
14220 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14221
14222         * LyXAction.h:
14223         * LyXAction.C:
14224         * lyxfunc.h:
14225         * lyxfunc.C:
14226         * kbmap.h:
14227         * kbmap.C:
14228         * lyxrc.C:
14229         * kbsequence.h:
14230         * kbsequence.C: part re-write of old kb code
14231
14232         * Painter.C:
14233         * WorkArea.C: remove Lgb_bug_find_hack
14234
14235 2001-11-30  José Matos <jamatos@fep.up.pt>
14236
14237         * buffer.C (makeDocBookFile): add a comment to point a hack.
14238         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14239         Fixed a double write of labels.
14240
14241 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14242
14243         * LaTeX.C:
14244         * LaTeX.h Fixed bug in LaTeX class where it would not
14245         re-run latex if no depfiles were changed, but the .dvi was removed.
14246
14247 2001-11-28  André Pönitz <poenitz@gmx.net>
14248
14249         * all the files from the change on 2001/11/26:
14250         use lyx::layout_type instead of LyXTextClass::size_type
14251         use lyx::textclass_type instead of LyXTextClassList::size_type
14252
14253 2001-11-29  Juergen Vigna  <jug@sad.it>
14254
14255         * text.C: added support for paragraph::isFreeSpacing()
14256
14257         * buffer.C: same as above
14258
14259         * paragraph.h: inserted isFreeSpacing() function to enable
14260         FreeSpacing inside InsetERT.
14261
14262         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14263         of the paragraph's in the cut/copy buffer to 0!
14264
14265         * text2.C (removeRow): remove the assert as it can!
14266
14267         * lyxtext.h: added helper function firstRow returning firstrow and
14268         made firstrow private again.
14269
14270         * BufferView2.C (lockInset): don't relock if we're already locked!
14271
14272         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14273         the only paragraph.
14274         (removeRow): added Assert::(firstrow)
14275
14276         * debug.C: forgot to add INSETTEXT here.
14277
14278 2001-11-28  Juergen Vigna  <jug@sad.it>
14279
14280         * sp_spell.C (initialize): changed error text to more general
14281         spellchecker command use (not only ispell!)
14282
14283         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14284
14285         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14286
14287 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14288
14289         * vspace.C: initialise lyxgluelength on failure
14290
14291 2001-11-28  Allan Rae  <rae@lyx.org>
14292
14293         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14294         declaration & definition that looks like a function declaration.
14295
14296 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14297
14298         * BufferView2.C (copy):
14299         (copyEnvironment): do not clear the selection when doing a copy.
14300
14301         * text.C (paintFirstRow): compilation fix
14302
14303 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14304
14305         * tabular.C (Latex): correct line count when writing latex.
14306
14307 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14308
14309         * paragraph_pimpl.h:
14310         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14311           bug a bit
14312
14313 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14314
14315         * text.C:
14316         * LColor.h:
14317         * LColor.C: change vfillline->added_space
14318
14319         * text.C: add markers and text for added space
14320
14321         * vspace.C: fix comment
14322
14323 2001-11-28  André Pönitz <poenitz@gmx.net>
14324
14325         * paragraph.C: whitespace changes
14326         * all the other files from the change on 2001/11/26:
14327         change *::pos_type into lyx::pos_type
14328
14329 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14330
14331         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14332         language of the document when inserting error insets.
14333
14334 2001-11-26  André Pönitz <poenitz@gmx.net>
14335
14336         * BufferView_pimpl.[Ch]:
14337         *       CutAndPaste.C:
14338         * buffer.[Ch]:
14339         * lyxcursor.[Ch]:
14340         * lyxfind.C:
14341         * lyxfunc.C:
14342         * lyxrow.[Ch]:
14343         * paragraph.[Ch]:
14344         * paragraph_pimpl.[Ch]:
14345         * sp_spell.C:
14346         * text.C:
14347         * text2.C: reduce header dependencies, introduce type for positions
14348
14349 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14350
14351         * <various>: change to use Alert.h
14352
14353 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14354
14355         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14356         when encountering an unknown token.
14357         (readLyXformat2): Show an error message if there were unknown tokens.
14358
14359 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14360
14361         * BufferView2.C:
14362         * BufferView_pimpl.C:
14363         * buffer.C:
14364         * paragraph.h:
14365         * text.C:
14366         * text2.C: use par->isInset()
14367
14368 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14369
14370         * paragraph_pimpl.h:
14371         * paragraph_pimpl.C: cleanup
14372
14373 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14374
14375         * text2.C (removeRow):
14376         * text.C (setHeightOfRow): remove useless (and costly) call to
14377         getRow.
14378
14379 2001-11-20  Allan Rae  <rae@lyx.org>
14380
14381         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14382         Now need Inset*::checkInsertChar() to return true for appropriate
14383         cases so that the characters in the minibuffer will actually be
14384         inserted.
14385
14386 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14387
14388         * text.C: change the order of the includes.
14389         (workWidth): initialize it at once.
14390         (workWidth): make maxw unsigned
14391         (setHeightOfRow): remove unused variable (inset)
14392         (selectSelectedWord): remove unused variable (inset)
14393         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14394
14395 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14396
14397         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14398         server is not running.
14399         (openConnection):
14400         (closeConnection): add debug info when server is disabled.
14401
14402         * ColorHandler.C (getGCForeground): send debug message to GUI
14403         channel.
14404
14405         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14406
14407         * kbmap.C (bind): modify because return conventions of
14408         kb_sequence::parse have changed.
14409
14410         * kbsequence.C (parse): only ignore spaces and not any stupid
14411         control character. This avoids tests like s[i] <= ' ', which are
14412         guaranteed to fail with 8bit characters and signed chars.
14413         Change return code to string::npos when there have been no error
14414         (0 was a bad idea when error is at first character)
14415
14416 2001-11-14  José Matos  <jamatos@fep.up.pt>
14417
14418         * buffer.h:
14419         * buffer.C (simpleDocBookOnePar): removed unused argument.
14420
14421 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14422
14423         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14424         insets which are part of a word. Paragraph::isLetter takes care of
14425         that now. Use Paragraph::isInset to identify insets.
14426         (selectSelectedWord): do not test for hyphenation break.
14427
14428         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14429         that protected spaces are considered as spaces.
14430
14431         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14432         Inset::isLetter.
14433
14434 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14435
14436         * lyxserver.h:
14437         * lyxserver.C: fix it. and small cleanup.
14438
14439 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14440
14441         * BufferView_pimpl.C: use inline helpers
14442
14443         * LaTeXFeatures.h:
14444         * LaTeXFeatures.C: fix typos
14445
14446         * Spacing.h:
14447         * Spacing.C: move spacing_string into class
14448
14449         * ToolbarDefaults.C: move stuff into namespace anon
14450
14451         * layout.h: update enum
14452
14453         * lyxfunc.C: use better debug
14454
14455         * minibuffer.h: fix typo
14456
14457         * debug.h:
14458         * debug.C:
14459         * WorkArea.C: add and use Debug::WORKAREA
14460
14461         * lyxtext.h:
14462         * text.C:
14463         * text2.C: code re-organisation, inline helpers
14464
14465 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14466
14467         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14468         std::vector.empty().
14469
14470 2001-11-09  Allan Rae  <rae@lyx.org>
14471
14472         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14473         '\n's after tables.  Tabular and ERT inset work now makes this no
14474         longer necessary.
14475
14476 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14477
14478         * minibuffer.h:
14479         * minibuffer.C: fix crash, improve drop-down completion
14480
14481 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14482
14483         * lyxserver.h:
14484         * lyxserver.C: invalidate fd's when doing endPipe()
14485
14486 2001-11-08  José Matos  <jamatos@fep.up.pt>
14487
14488         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14489         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14490
14491         * paragraph.h:
14492         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14493
14494 2001-11-07  José Matos  <jamatos@fep.up.pt>
14495
14496         * buffer.h:
14497         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14498         const qualifier.
14499
14500         * buffer.C (sgmlOpenTag):
14501         * buffer.C (sgmlCloseTag): removed debug info.
14502
14503         * buffer.h (sgmlOpenTag):
14504         * buffer.h (sgmlCloseTag): made public.
14505
14506 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14507
14508         * buffer.C (saveParamsAsDefaults):
14509         * lyx_cb.C (MenuLayoutSave): remove
14510
14511         * LyXAction.C (init):
14512         * commandtags.h:
14513         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14514
14515 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14516
14517         * buffer.C (setPaperStuff): removed from here...
14518
14519         * bufferparams.C (setPaperStuff): ... and moved there.
14520
14521 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14522
14523         * minibuffer.h:
14524         * minibuffer.C:
14525         * XFormsView.C: add support for drop-down completion
14526
14527 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14528
14529         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14530         commands.
14531
14532 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14533
14534         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14535         disabled.
14536
14537 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14538
14539         * lyx_main.C: change ref to known bugs
14540
14541 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14542
14543         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14544         to work around older babel problems.
14545
14546 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14547
14548         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14549
14550 2001-10-24  Juergen Vigna  <jug@sad.it>
14551
14552         * tabular-old.C (ReadOld): below variable changes reflected.
14553
14554         * tabular.[Ch]: added ltType struct for longtable header/footer
14555         defines and changed all instances where they are used. Added
14556         future support for double top/bottom rows.
14557
14558 2001-10-24  José Matos  <jamatos@fep.up.pt>
14559
14560         * buffer.h (docbookHandleCaption):
14561         * buffer.C (docbookHandleCaption): removed unused function.
14562         (makeDocBookFile): moved docbook supported version to v4.1.
14563
14564 2001-10-24  José Matos  <jamatos@fep.up.pt>
14565
14566         * tabular.h:
14567         * tabular.C (docbookRow): new function to export docbook code of a row.
14568         (DocBook): now honors the longtable flags.
14569
14570 2001-10-23  José Matos  <jamatos@fep.up.pt>
14571
14572         * LaTeXFeatures.h:
14573         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14574         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14575
14576         * buffer.C (makeLinuxDocFile):
14577         (makeDocBookFile): reworked the preamble, more clean, and with
14578         support for lyx defined entities. Changed the document declaration
14579         to be more XML friendly.
14580
14581         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14582         if we need to output XML that should be done with a filter.
14583
14584 2001-10-22  Juergen Vigna  <jug@sad.it>
14585
14586         * sp_pspell.h (class PSpell): add alive function needed in the
14587         controller to see if the spellchecker could be started.
14588
14589 2001-10-22  Juergen Vigna  <jug@sad.it>
14590
14591         * buffer.C (insertStringAsLines): modify the font for inserting
14592         chars in certain conditions by calling checkInsertChar(font).
14593
14594 2001-10-19  Juergen Vigna  <jug@sad.it>
14595
14596         * text.C (workWidth): use getRow instead of wrong algorithm.
14597         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14598
14599 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14600
14601         * lyxserver.h:
14602         * lyxserver.C:
14603         * lyx_main.h:
14604         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14605
14606 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14607
14608         * text.C (workWidth): do not search for the exact row when
14609         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14610         optimization for big documents.
14611
14612 2001-10-18  Juergen Vigna  <jug@sad.it>
14613
14614         * text.C (workWidth): new function with added Inset * parameter.
14615
14616 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14617
14618         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14619
14620         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14621         change return type of getColumnNearX.
14622
14623
14624         * text.C (changeRegionCase): use uppercase/lowercase instead of
14625         toupper/tolower.
14626         (leftMargin):
14627         (rightMargin): simplify code by factoring out the uses of
14628         textclasslist.
14629         (labelFill):
14630         (numberOfHfills):
14631         (setHeightOfRow):
14632         (appendParagraph): use Paragraph::size_type
14633
14634 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14635
14636         * vspace.C (asLatexString): add a missing break
14637
14638 2001-10-15  Herbert Voss  <voss@perce.de>
14639
14640         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14641
14642 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14643
14644         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14645         is not available.
14646
14647 2001-10-10  André Pönitz <poenitz@gmx.net>
14648
14649         * lyxfunc.C: removed greek_kb_flag.
14650
14651 2001-10-10  Herbert Voss  <voss@perce.de>
14652
14653         * lyx_main.C: delete global string help_lyxdir.
14654
14655 2001-10-09  Herbert Voss  <voss@perce.de>
14656
14657         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14658
14659         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14660
14661         * lyx_main.C: added global string help_lyxdir.
14662
14663         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14664
14665 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14666
14667         * lyxrc.C (set_font_norm_type): support iso8859-4
14668
14669 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14670
14671         * LaTeX.C (deplog): add another regex for MikTeX
14672
14673 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14674
14675         * lyxrc.C (set_font_norm_type): support iso8859-3
14676
14677 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14678
14679         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14680
14681         * LaTeXFeatures.C: remove special case of french and index
14682
14683         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14684         before \begin{document}). This solves several incompatibilities.
14685
14686 2001-10-03  Garst Reese  <reese@isn.net>
14687
14688         * lyx_cb.C: change CheckTex error msg.
14689
14690 2001-10-03  José Matos  <jamatos@fep.up.pt>
14691
14692         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14693
14694 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14695
14696         * .cvsignore: update
14697
14698         * lyx_main.C (commandLineVersionInfo): use new style version info.
14699
14700         * buffer.C (writeFile):
14701         (makeLaTeXFile):
14702         (makeLinuxDocFile):
14703         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14704
14705         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14706
14707         * version.h: update to use stuff in version.C
14708
14709         * version.C.in: new file. Contains version information determined
14710         at compile time. This is a merging of version.h and
14711         version_info.h.in.
14712
14713 2001-10-03  Juergen Vigna  <jug@sad.it>
14714
14715         * BufferView_pimpl.C (update): don't change "dirty" status in
14716         updateInset call.
14717
14718 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14719
14720         * WorkArea.C (c-tor): re-position version string slightly.
14721
14722 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14723
14724         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14725         revert to previous code.
14726
14727         WorkArea.[Ch]: (show, destroySplash): methods removed.
14728
14729         WorkArea.C: rework code so that it's an amalgam of the codes before and
14730         after the splash screen was moved to WorkArea.
14731
14732 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14733
14734         * lyxrc.C (read):
14735         * vspace.C (inPixels):
14736         (lyx_advance):
14737         * kbmap.C (bind):
14738         * buffer.C (insertStringAsLines):
14739         (asciiParagraph): fix types to be large enough
14740
14741         * lyxlex_pimpl.h: change member status from short to int
14742
14743         * layout.h: fix type of endlabeltype
14744
14745         * kbmap.C (bind):
14746         * kbsequence.C (parse): change return type to string::size_type
14747
14748         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14749         variable
14750
14751         * Bullet.C (bulletSize):
14752         (bulletEntry): do not use short ints as parameters
14753
14754         * BufferView2.C (insertLyXFile): change a char to an int.
14755
14756         * WorkArea.C (WorkArea): remove unneeded floats in computation
14757
14758 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14759
14760         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14761
14762         * paragraph.C (asString): Do not ignore newline/hfill chars when
14763         copying to the clipboard.
14764
14765 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14766
14767         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14768         after a multi-line inset.
14769
14770 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14771
14772         * paragraph.C (validate): Set NeedLyXFootnoteCode
14773
14774 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14775
14776         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14777         and decrease-error to decrease.
14778
14779 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14780
14781         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14782         it more readable (should be equivalent)
14783
14784 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14785
14786         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14787
14788 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14789
14790         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14791         of a cursor (row, etc.) after a character has been deleted
14792         (deleteEmptyParagraphMechanism): call the method above on _all_
14793         cursors held by the LyXText when a double space has been
14794         detected/deleted.
14795
14796 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14797
14798         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14799         pixmap.
14800         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14801
14802         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14803         background. Use greyOut() and the new show() methods to toggle between
14804         the foreground and background. Add code to remove the splash after
14805         its initial showing.
14806
14807         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14808         (create_forms): no longer call Dialogs::showSplash.
14809
14810 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14811
14812         * .cvsignore: add version_info.h
14813
14814 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14815
14816         * version_info.h.in: new file
14817
14818         * Makefile.am: add version_info.h.in
14819
14820         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14821         version_info.h instead of VERSION_INFO
14822
14823 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14824
14825         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14826         The ERT inset now returns string().
14827
14828 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14829
14830         * lyxtext.h, text.C (selectNextWord): renamed as
14831         selectNextWordToSpellcheck.
14832
14833         * text.C (selectNextWordToSpellcheck): Modified to not select
14834         words inside an ERT inset.
14835
14836 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14837
14838         * lyx_cb.C (MenuLayoutSave): change a bit the question
14839
14840         * sp_base.h: include <sys/types.h>
14841
14842 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14843
14844         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14845
14846 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14847
14848         * several files: fix typos in user-visible strings
14849
14850 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14851
14852         * text2.C (pasteSelection): do not set the selection, since it
14853         will be cleared later. Actually, the intent was to fix the way the
14854         selection was set, but I figured rmoving the code was just as good.
14855
14856 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14857
14858         * FontLoader.C (available): Check if font is available without
14859         loading the font.
14860
14861 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14862
14863         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14864
14865 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14866
14867         * lyxrc.[Ch]: added display_graphics variable and associated code.
14868
14869 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14870
14871         * bufferparams.C (hasClassDefaults): new method. Returns true if
14872         the buffer parameters correspond to known class defaults
14873
14874 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14875
14876         * XFormsView.C (show): set minimum size to the main window.
14877
14878 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14879
14880         * text2.C (copySelection):
14881         (cutSelection):
14882         * lyxfind.C (LyXReplace):
14883         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14884         LyXText::selectionAsString.
14885
14886         * paragraph.C (asString): add "label" argument to the second form
14887
14888         * text2.C (selectionAsString): add "label" argument and pass it to
14889         Paragraph::asString.
14890
14891 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14892
14893         * lyx_main.C (commandLineHelp): remove version information
14894
14895 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14896
14897         * lyx_main.C: add -version commandline option
14898
14899 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14900
14901         * paragraph.h: make the optional constructor arg required instead.
14902         some modifications to other files because of this.
14903
14904         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14905
14906         * lyxserver.C (C_LyXComm_callback): make it static
14907
14908         * lyx_main.C (error_handler): make it static
14909
14910         * lyx_gui.C (LyX_XErrHandler): make it static
14911
14912         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14913
14914         * WorkArea.C: make the extern "C" methods static.
14915
14916         * Makefile.am (lyx_LDADD): simplify
14917
14918 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14919
14920         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14921         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14922
14923         * LyXAction.C (init):
14924         * lyxfunc.C (dispatch): associated code removal.
14925
14926 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14927
14928         * lyxfont.h (isSymbolFont): shut off warning
14929
14930         * text.C (setHeightOfRow):
14931         (getVisibleRow): fix crash with empty paragraphs which have a
14932         bottom line
14933
14934 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14935
14936         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14937         code.
14938
14939 2001-09-04  José Matos  <jamatos@fep.up.pt>
14940         * buffer.C
14941         * buffer.h
14942         * tabular.C (docbook): rename docBook method to docbook.
14943
14944 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14945
14946         * Makefile.am: add dependencies to main.o.
14947
14948 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14949
14950         * FontLoader.C (available): Return false if !lyxrc.use_gui
14951
14952 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14953
14954         * FontInfo.C (query):
14955         * converter.C (view):
14956         * importer.C (Import):
14957         * exporter.C (Export): Can not -> cannot.
14958
14959 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14960
14961         * BufferView_pimpl.C: allow to create index inset even if
14962           string is empty
14963
14964 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14965
14966         * buffer.C (getLists): replace boost::tie code with an explicit pair
14967         as boost::tie can break some compilers.
14968
14969         * iterators.h: Added a std:: declaration to the return type of
14970         ParIterator::size.
14971
14972 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14973
14974         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14975           case.
14976
14977 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14978
14979         * iterators.[Ch]: New files. Provide paragraph iterators.
14980
14981         * buffer.C (changeLanguage): Use paragraph iterators.
14982         (isMultiLingual): ditto
14983
14984         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14985
14986 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14987
14988         * FontLoader.C: Support for cmr font.
14989
14990 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14991
14992         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14993         (available): New method.
14994
14995         * FontInfo.C (getFontname): Use scalable fonts even when
14996         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14997         found.
14998
14999 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15000
15001         * converter.C (Formats::view): reverted! Incorrect fix.
15002
15003 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15004
15005         * converter.C (Formats::view): only output the -paper option
15006         if the dvi viewer is xdvi, thereby fixing bug #233429.
15007
15008 2001-08-23  Herbert Voss  <voss@perce>
15009
15010         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15011
15012 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15013
15014         * Spacing.h (Spacing): Set space to Default on in the default
15015         constructor.
15016
15017 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15018
15019         * vc-backend.h (RCS::versionString): add RCS to version
15020         (CVS::versionString): add CVS to version
15021
15022         * vc-backend.C (scanMaster): do not add CVS to version.
15023         (scanMaster): do not add RCS to version
15024
15025         * lyxvc.C (versionString): new method
15026
15027         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15028
15029 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15030
15031         * Spacing.C (set): initialize fval
15032
15033 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15034
15035         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15036         " or \.
15037
15038 2001-08-16  Juergen Vigna  <jug@sad.it>
15039
15040         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15041
15042 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15043
15044         * BufferView_pimpl.C:
15045         * figureForm.C:
15046         * lyxtext.h:
15047         * text2.C: setParagraph takes linespacing now
15048
15049 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15050
15051         * LyxAction.C: add internal LFUN_CITATION_INSERT
15052
15053         * LyXView.C: actually apply fix
15054
15055         * bufferlist.C: fix open non-existent file
15056
15057         * lyxfind.C: fix indentation
15058
15059         * lyxfunc.C: remove unneeded assert, fix typo
15060
15061 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15062
15063         * MenuBackend.C: use "Floatname List"
15064
15065 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15066
15067         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15068         when converting LaTeX layout to insetERT.
15069         Generate a non-collapsed float when reading old float
15070
15071 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15072
15073         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15074         ERT insets.
15075
15076 2001-08-13  Juergen Vigna  <jug@sad.it>
15077
15078         * text.C (fill): return 0 instead of 20 as this seems to be the more
15079         correct value.
15080
15081 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15082
15083         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15084         lyxrc.font_norm.
15085
15086 2001-08-13  Juergen Vigna  <jug@sad.it>
15087
15088         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15089         casesensitive off.
15090         (SearchBackward): comment out the unlocking of the inset_owner this
15091         should not be needed!
15092
15093 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15094
15095         * Many files: Remove inherit_language, and add latex_language
15096
15097         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15098         collapsible insets.
15099
15100 2001-08-10  Juergen Vigna  <jug@sad.it>
15101
15102         * text.C (prepareToPrint): fixed hfill-width in draw!
15103
15104         * BufferView2.C (selectLastWord): save the selection cursor as this
15105         now is cleared in the function LyXText::clearSelection!
15106
15107 2001-08-08  Juergen Vigna  <jug@sad.it>
15108
15109         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15110         BACKSPACE type functions.
15111
15112         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15113         is only cutted from the document but not put in the cut-buffer, where
15114         still the old stuff should be.
15115
15116         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15117
15118         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15119
15120         * tabular.C (SetWidthOfCell): fixed special case where the width
15121         was not updated!
15122         (LeftLine): handle '|' in align_special.
15123         (RightLine): ditto
15124         (LeftAlreadyDrawed): ditto
15125         (SetWidthOfCell): ditto
15126
15127 2001-08-07  Juergen Vigna  <jug@sad.it>
15128
15129         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15130
15131 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15132
15133         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15134         * lyxlex.[hC]: ditto
15135
15136 2001-08-06  Juergen Vigna  <jug@sad.it>
15137
15138         * text.C (getVisibleRow): fix up row clearing a bit.
15139
15140 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15141
15142         * minibuffer.C: make sure the X server sees the changes in the input.
15143
15144 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15145
15146         * paragraph.C (getFont): split into...
15147         (getLabelFont): this
15148         (getLayoutFont): and this
15149         * paragraph_pimpl.C (realizeFont): calling this
15150
15151         * text2.C (getFont): split into...
15152         (getLayoutFont): this
15153         (getLabelFont): and this
15154         (realizeFont): all three calling this
15155
15156         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15157         files where used.
15158
15159 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15160
15161         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15162
15163 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15164
15165         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15166         layouts from the Quote inset insertion.
15167
15168 2001-08-03  Juergen Vigna  <jug@sad.it>
15169
15170         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15171
15172         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15173         only if status not is already CHANGED_IN_DRAW (second level).
15174
15175         * text.C (draw): don't set the need_break_row when inside an
15176         InsetText LyXText.
15177
15178 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15179
15180         * buffer.C (parseSingleLyXformat2Token): handle more latex
15181         conversion cases.
15182
15183         * bufferview_funcs.[hC]: change function names to
15184         begin with small char, adjust other files.
15185
15186 2001-08-02  André Pönitz <poenitz@gmx.net>
15187
15188         * lyxfunc.C:
15189         BufferView_pimpl.C: remove broken special code for math-greek
15190
15191 2001-08-02  Juergen Vigna  <jug@sad.it>
15192
15193         * BufferView_pimpl.C (update): redone this function so that we
15194         update the text again if there was a CHANGE_IN_DRAW.
15195
15196         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15197         (drawFromTo): added a new internal bool which is used by draw() and
15198         redraw() function.
15199         (general): some cursor drawing problems fixed.
15200
15201 2001-08-01  Juergen Vigna  <jug@sad.it>
15202
15203         * lyxfind.C (LyXFind): fixed
15204         (SearchForward): ditto
15205         (SearchBackward): ditto
15206
15207         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15208         spurius drawing of the cursor in the main area.
15209
15210         * text2.C (status): small fix which could lead to a segfault!
15211         (clearSelection): remove unneeded BufferView param.
15212
15213 2001-08-01  André Pönitz <poenitz@gmx.net>
15214
15215         * lyxfunc.C: small change due to changed mathed interface
15216
15217 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15218
15219         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15220
15221 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15222
15223         * lyxfunc.c: fail gracefully if file doesn't exist
15224
15225         * LyXSendto.C:
15226         * buffer.C:
15227         * lyxfunc.C:
15228         * BufferView_pimpl.C: IsDirWriteable() proto changed
15229
15230         * LyXView.C: fix updateWindowTitle() to store the last title
15231
15232 2001-07-31  Juergen Vigna  <jug@sad.it>
15233
15234         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15235         the font (wrong since using of Paragraph::highestFontInRange).
15236
15237         * paragraph.C (highestFontInRange): added a default_size parameter.
15238
15239         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15240         (setHeightOfRow): reformat
15241
15242 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15243
15244         * converter.[hC] + affected files: move to (inital-char)lowercase
15245         function names.
15246
15247         * ParagraphParameters.C (ParagraphParameters): remove commented code
15248
15249         * PainterBase.[Ch]: remove commented code
15250
15251         * LaTeXFeatures.h: add "bool floats" for float.sty
15252
15253         * LaTeXFeatures.C (LaTeXFeatures): init floats
15254         (require): handle float
15255         (getPackages): do it with floats
15256
15257 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15258
15259         * BufferView_pimpl.C (Dispatch): improve handling of
15260         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15261
15262         * commandtags.h: #include lyxfont.h here temporarily to avoid
15263         keybinding bug.
15264
15265         * bufferlist.h: include LString.h here.
15266
15267 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15268
15269         * text2.C (getStringToIndex): new method.
15270
15271 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15272
15273         * *: Reduced header file dependencies all over.
15274
15275 2001-07-30  Baruch Even  <baruch@lyx.org>
15276
15277         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15278
15279 2001-07-29  Baruch Even  <baruch@lyx.org>
15280
15281         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15282
15283 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15284
15285         * ParameterStruct.h (endif): add a default constructor to make
15286         sure that all variables is initialized.
15287
15288         * ParagraphParameters.C (ParagraphParameters): adjust
15289
15290 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15291
15292         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15293         index; also, check that there is something to index, and that it
15294         does not span over several paragraphs.
15295         (doubleClick): use WHOLE_WORD_STRICT for double click.
15296
15297         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15298
15299         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15300         scheme.
15301
15302 2001-07-26  Baruch Even  <baruch@lyx.org>
15303
15304         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15305         an InsetFig figure, backwards compatible reading of old figure code.
15306
15307 2001-07-27  Juergen Vigna  <jug@sad.it>
15308
15309         * text2.C: font.realize function adaption.
15310
15311         * text.C (draw): add a warnings lyxerr text if needed.
15312
15313         * layout.C: font.realize function adaption.
15314
15315         * language.C: add inherit_language and implement it's handlings
15316
15317         * bufferview_funcs.C (StyleReset): remove language parameter from
15318         font creation (should be language_inherit now).
15319
15320         * bufferparams.C (writeFile): handle ignore_language.
15321
15322         * paragraph.C (getFontSettings): the language has to be resolved
15323         otherwise we have problems in LyXFont!
15324
15325         * lyxfont.C (lyxWriteChanges): added document_language parameter
15326         (update): removed unneeded language parameter
15327
15328         * paragraph.C (validate): fixed wrong output of color-package when
15329         using interface colors for certain fonts in certain environments,
15330         which should not seen as that on the final output.
15331
15332 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15333
15334         * BufferView_pimpl.C:
15335         * Thesaurus.h:
15336         * Thesaurus.C:
15337         * Makefile.am:
15338         * commandtags.h:
15339         * LyXAction.C: add thesaurus support
15340
15341         * lyxfind.h:
15342         * lyxfind.C: add "once" parameter, for thesaurus, to not
15343           move to the next match
15344
15345 2001-07-26  Juergen Vigna  <jug@sad.it>
15346
15347         * lyxfont.C (realize): honor ignore_language too!
15348         (resolved): ditto.
15349
15350         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15351
15352         * text.C (draw): one place more for ignore_language to not draw
15353         itself!
15354
15355 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15356
15357         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15358
15359 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15360
15361         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15362         the minipage conversion problem.
15363
15364 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15365
15366         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15367         insert an inset.
15368
15369 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15370
15371         * BufferView.h: don't forward declare WorkArea
15372
15373         * BufferView.C: don't include WorkArea.h
15374
15375 2001-07-25  André Pönitz <poenitz@gmx.net>
15376
15377         * commandtags.h:
15378         * LyXAction.C:
15379         * lyxfunc.C:  new LFUN 'math-space'
15380
15381         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15382
15383 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15384
15385         * text2.C (toggleInset): call open/close
15386
15387 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15388
15389         * lyxfunc.C (dispatch): add debug for the disabled case
15390
15391         * font.C (buttonText): make similar to rectText
15392
15393         * buffer.C (readInset): comment out parsing of insetlist and
15394         insttheorem
15395
15396         * PainterBase.C (rectText): small correction
15397
15398         * BufferView_pimpl.C: comment out insettheorem and insetlist
15399         * LyXAction.C: ditto
15400         * commandtags.h: ditto
15401
15402 2001-07-24  Juergen Vigna  <jug@sad.it>
15403
15404         * text.C (draw): honor the ignore_language.
15405
15406         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15407
15408 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15409
15410         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15411         char inset.
15412
15413 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15414
15415         * lyxtext.h: remove unused (and unimplemented) methods
15416
15417 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15418
15419         * text.C (getVisibleRow): honor background color
15420
15421         * PainterBase.h:
15422         * Painter.h: remove default color argument for fillRectangle
15423
15424         * text.C (backgroundColor): new method
15425
15426 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15427
15428         * text.C (getVisibleRow): adjust
15429
15430         * font.[Ch] (rectText): new method, metrics
15431         (buttonText): new method, metrics
15432
15433         * PainterBase.[hC]: make rectText and buttonText always draw and take
15434         fewer paramteres.
15435
15436 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15437
15438         * ToolbarDefaults.C (read):
15439         * MenuBackend.C (read): allow escaping in all strings
15440
15441         * BufferView_pimpl.C (insertAndEditInset): new method.
15442         (Dispatch): use insertAndEditInset whenever appropriate.
15443
15444         * BufferView_pimpl.C (insertNote): removed
15445
15446         * BufferView_pimpl.C (smartQuote): new method, moved from
15447         BufferView; if an insetquote cannot be inserted, insert a '"'
15448         character instead.
15449
15450         * BufferView2.C: remove insertCorrectQuote();
15451
15452         * lyxfunc.C (getStatus): Add support for all remaingin
15453         inset-insert lfuns.
15454
15455         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15456
15457         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15458         command (necessary to pass " as parameter of self-insert.
15459
15460         * text.C (selectWordWhenUnderCursor):
15461         (selectWord): add word_location parameter
15462         (selectWordWhenUnderCursor): same + remove special code for word
15463         boundary.
15464         (selectNextWord): use kind() to guess type of insetspecialchar,
15465         not latex().
15466
15467         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15468         (insertErtContents): create ert insets as collapsed.
15469         (readInset): better compatibility code for Info inset.
15470
15471 2001-07-20  Juergen Vigna  <jug@sad.it>
15472
15473         * lyxfunc.C (dispatch): use always LyXFind now!
15474
15475         * text2.C (init): add a reinit flag so that the LyXText can be
15476         reinited instead of deleted and reallocated (used in InsetText).
15477
15478         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15479
15480         * text.C: ditto
15481
15482         * text2.C: ditto
15483
15484 2001-07-18  Juergen Vigna  <jug@sad.it>
15485
15486         * text.C (selectNextWord): handle insets inside inset by calling
15487         always the bv->text functions so that we can go up the_locking_inset!
15488
15489         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15490         in strange locations when inside an inset!
15491
15492         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15493         handling to include insets.
15494
15495         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15496
15497 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15498
15499         * LyXAction.C (init):
15500         * commandtags.h:
15501         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15502         LIGATURE_BREAK, since the name is so stupid.
15503
15504 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15505
15506         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15507         InsetInfos.
15508
15509         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15510
15511         * sp_form.[Ch]: remove.
15512
15513         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15514
15515         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15516         InsetInfo.
15517
15518         * src/buffer.C (readInset): ditto.
15519
15520 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15521
15522         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15523         menuSeparator(), endOfSentenceDot(), ldots() and
15524         hyphenationPoint(), which are therefore removed.
15525         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15526
15527         * LyXAction.C (init):
15528         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15529
15530         * paragraph.C (getWord): removed.
15531
15532         * BufferView_pimpl.C (Dispatch): use last word or selection for
15533         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15534
15535         * lyx_main.C (queryUserLyXDir): do not ask before creating
15536         user_dir, except if it has been named explicitely.
15537
15538 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15539
15540         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15541         a document of zero size.
15542
15543 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15544
15545         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15546         approriately in the c-tor and in require().
15547         (getPackages): output the appropriate LaTeX for natbib support.
15548
15549         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15550         variables "use_natbib" and "use_numerical_citations" when reading the
15551         LyX file.
15552         (readInset): read the various natbib cite commands.
15553         (validate): white-space change.
15554
15555         * bufferparams.[Ch]: new variables "bool use_natbib" and
15556         "bool use_numerical_citations".
15557         (writeFile): output them in the LyX file.
15558
15559 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15560
15561         * lyxfunc.C (getStatus): add support for all the inset insertion
15562         commands.
15563
15564         * text2.C (insertInset):
15565         * paragraph.C (insetAllowed):
15566         * BufferView_pimpl.C (insertInset): update to take in account the
15567         renaming of insertInsetAllowed
15568
15569         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15570
15571         * text2.C (getInset): new method. returns inset at cursor position.
15572
15573         * BufferView_pimpl.C (Dispatch): changes because of this.
15574
15575         * LyXAction.C (init): rename open-stuff to inset-toggle.
15576
15577         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15578
15579         * text2.C (toggleInset): renamed from openStuff; use
15580         Inset::open().
15581
15582 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15583
15584         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15585
15586         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15587
15588 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15589
15590         * buffer.C (readLyXformat2): Add filename to the error dialog
15591
15592 2001-07-18  Juergen Vigna  <jug@sad.it>
15593
15594         * tabular.C (GetCellNumber): put an assert here instead of the check!
15595
15596 2001-07-17  Juergen Vigna  <jug@sad.it>
15597
15598         * BufferView_pimpl.C (toggleSelection): adapted too.
15599
15600         * text.C (selectNextWord): adapted for use with insets.
15601         (selectSelectedWord): ditto
15602
15603 2001-07-17  Juergen Vigna  <jug@sad.it>
15604
15605         * sp_spell.C (PSpell): fix initialitation order.
15606
15607 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15608
15609         * paragraph.C: spacing
15610
15611 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15612
15613         * sp_spell.C: repair language selection for pspell
15614
15615 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15616
15617         * lyxfunc.h: change more methods to begin with lower char.
15618
15619 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15620
15621         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15622         for unknown layouts.
15623
15624 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15625
15626         * buffer.C (readLyXformat2): Generate an error dialog if there are
15627         unknown layouts.
15628
15629 2001-07-16  Juergen Vigna  <jug@sad.it>
15630
15631         * sp_spell.C: always compile ISpell part.
15632
15633         * lyxrc.C: added use_pspell entry and it's handling.
15634
15635 2001-07-13  Juergen Vigna  <jug@sad.it>
15636
15637         * sp_spell.C: removed double includes.
15638
15639 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15640
15641         Consistent use of Lsstream.h:
15642         * Lsstream.h: added using std::stringstream for consistencies sake.
15643
15644         * buffer.C: removed using std::stringstream
15645
15646         * lyxfont.C (stateText):
15647         * paragraph.C (asString):
15648         * text.C (selectNextWord, selectSelectedWord):
15649         * text2.C (setCounter):
15650         * vspace.C (asString, asLatexString):
15651         std::ostringstream -> ostringstream.
15652
15653 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15654
15655         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15656         * commandtags.h: add LFUN_HELP_ABOUTLYX
15657         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15658
15659 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15660
15661         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15662         cursorToggle()
15663         * lyx_gui_misc.C: remove spellchecker
15664         * lyxfunc.C: showSpellchecker
15665         * sp_base.h: added
15666         * sp_ispell.h: added
15667         * sp_pspell.h: added
15668         * sp_spell.C: added
15669         * sp_form.[Ch]: removed
15670         * spellchecker.[Ch]: removed
15671
15672 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15673
15674         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15675         is set.
15676         (simpleTeXSpecialChars): Simply print the input character without
15677         any special translation if pass_thru is set.
15678
15679         * layout.h: Added bool pass_thru to layout class for being able to
15680         implement pass through of a paragraph for Literate Programming.
15681
15682         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15683         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15684         * layout.C (Read): add "passthru" to list of layout tags and add
15685         code to set the pass_thru boolean when it is read.
15686
15687 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15688
15689         * trans_decl.h: remove allowed from KmodInfo
15690
15691         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15692         remove allowed code
15693         (Load): adjust
15694
15695         * paragraph_pimpl.C (erase): use boost::prior
15696
15697         * Painter.C (text): use data() instead of c_str() when length is
15698         also provided.
15699         * WorkArea.C (putClipboard): ditto
15700         * font.h (width): ditto
15701
15702         * BufferView2.C: use it-> instead of (*it). for iterators
15703         * texrow.C: ditto
15704         * paragraph_pimpl.C: ditto
15705         * paragraph.C: ditto
15706         * minibuffer.C: ditto
15707         * language.C: ditto
15708         * kbmap.C: ditto
15709         * encoding.C: ditto
15710         * counters.C: ditto
15711         * converter.C: ditto
15712         * chset.C: ditto
15713         * Variables.C: ditto
15714         * TextCache.C: ditto
15715         * MenuBackend.C: ditto
15716         * LyXAction.C: ditto
15717         * LColor.C: ditto
15718         * FloatList.C: ditto
15719         * DepTable.C: ditto
15720         * ColorHandler.C (LyXColorHandler): ditto
15721
15722 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15723
15724         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15725
15726         * text2.C (openStuff): reintroduce this method (which had been
15727         nuked in NEW_INSETS frenzy).
15728
15729         * lyxfunc.C (Dispatch): when an action has not been handled, use
15730         its name in the error message, not its number.
15731
15732         * paragraph.C (inInset): change method name to begin with lowercase.
15733
15734         * undo_funcs.C:
15735         * text2.C: updates because of this.
15736
15737 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15738
15739         * ToolbarDefaults.C (add): add spaces in error message
15740
15741 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15742
15743         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15744         (readLyXformat2): rename return_par to first_par, use lyxlex's
15745         pushToken and remove the manual push handling.
15746         (parseSingleLyXformat2Token): add another ert comp. variable:
15747         in_tabular, rename return_par to first_par. handle newlines better
15748
15749 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15750
15751         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15752
15753 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15754
15755         * text2.C (getParFromID): removed
15756
15757         * buffer.C (getParFromID): new method moved form lyxtext.
15758         * BufferView2.C (insertErrors): adjust
15759         (setCursorFromRow): adjust
15760         * BufferView_pimpl.C (restorePosition): adjust
15761         * lyxfunc.C (Dispatch): adjust
15762         * undo_funcs.C (textUndo): adjust
15763         (textRedo): adjust
15764         (textHandleUndo): adjust
15765         (textHandleUndo): adjust
15766
15767 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15768
15769         * buffer.C: up' the LYX_FORMAT
15770
15771         * lyxfont.h: turn NO_LATEX on as default
15772
15773         * buffer.C (insertErtContents): new methods of tex style compability.
15774         (parseSingleLyXformat2Token): use it several places.
15775         * tabular.C (OldFormatRead): and here
15776
15777 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15778
15779         * text2.C: remove some commented code.
15780         reindent file.
15781
15782         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15783         * trans.C: changes because of the above.
15784
15785 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15786
15787         * text2.C (setCounter): Fix counters bug with bibliography layout.
15788
15789 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15790
15791         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15792         own member functions
15793         (simpleTeXSpecialChars): ditto
15794
15795 2001-07-06  Juergen Vigna  <jug@sad.it>
15796
15797         * a lot of files: changed the access to LyXText::status and the
15798         call of undo-functions.
15799
15800         * undo.[Ch]: added a inset_id to the undo informations.
15801
15802         * undo_funcs.[Ch]: added and moved here all undo functions.
15803
15804         * lyxtext.h: give the status enum a weight, made status_ a private
15805         variable and made accessor functions for it, removed the whole bunch
15806         of undo-functions as they are now in their own file, make some
15807         functions publically available. Added function ownerParagraph with
15808         int parameter.
15809
15810         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15811         made InInset() a const function, added getParFromID() function.
15812
15813         * buffer.[Ch]: added const version for inset_iterator functions,
15814         added getInsetFromID() function.
15815
15816         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15817         changed undo functions for new version.
15818
15819 2001-07-05  Juergen Vigna  <jug@sad.it>
15820
15821         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15822         unknow mechanism does not call the proper constructor but only this
15823         one also if I request the other!?
15824
15825 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15826
15827         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15828
15829         * text2.C (LyXText): use initialization lists.
15830
15831         * lyxtext.h (Selection): initialize set_ and mark_
15832         (init): remove method
15833
15834 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15835
15836         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15837
15838 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15839
15840         * screen.[Ch]: change method names to begin with lowercase
15841
15842         * BufferView_pimpl.C (updateScrollbar): simplify further and
15843         hopefully make it a bit faster.
15844
15845 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15846
15847         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15848         calling directly xforms functions.
15849
15850         * Painter.C (Painter):
15851         * lyx_cb.C (MenuWrite):
15852         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15853         fl_display.
15854
15855         * lyx_gui.C: remove bogus guiruntime extern declaration.
15856
15857 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15858
15859         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15860         in NEW_INSETS
15861         (redoDrawingOfParagraph): ditto
15862         (redoParagraphs): ditto
15863         (cutSelection): don't create a object for CutAndPaste use the
15864         static method directly
15865         (pasteSelection): ditto
15866
15867         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15868         LyXview (+ rename)
15869
15870 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15871
15872         * modifications to some other files because of this.
15873
15874         * Makefile.am (lyx_SOURCES): add XFormsView
15875
15876         * XFormsView.[Ch]: new files
15877
15878         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15879         the main window. Move the gui dependent stuff to XFormsView
15880
15881 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15882
15883         * tabular.C (GetCellInset): update cur_cell also in the row/col
15884         version of this function.
15885
15886         * lyxfunc.C: no need to include figure_form.h here.
15887
15888         * FontLoader.h:
15889         * lyxfunc.h:
15890         * lyxscreen.h:
15891         * text2.C:
15892         * lyxvc.C: no need to include forms.h here.
15893
15894 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15895
15896         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15897
15898         * lyxfunc.C (Dispatch):
15899         * Spacing.C (set):
15900         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15901         constructor argument.
15902
15903 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15904
15905         * paragraph.C (Paragraph): dont't clear, and just set layout.
15906         (makeSameLayout): use params's copy contructor.
15907
15908         * ParagraphParameters.[Ch] (makeSame): delete method
15909
15910 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15911
15912         * Variables.[Ch]: fix indentation, rename set to isSet
15913
15914 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15915
15916         * lyxfunc.C (Dispatch): fix typo
15917
15918 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15919
15920         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15921         upper_bound.
15922
15923         * bufferlist.C: include assert.h for emergencyWrite().
15924
15925 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15926
15927         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15928           give up at last (bug #425202) !
15929
15930 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15931
15932         * lyx_gui_misc.C:
15933         * sp_form.h:
15934         * sp_form.C:
15935         * spellchecker.h:
15936         * spellchecker.C: strip spellchecker options and bring up
15937           preferences tab instead
15938
15939 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15940
15941         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15942         the istringstream constructor
15943
15944 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15945
15946         * paragraph.C (getLayout): fix return value
15947
15948         * paragraph.h: do not declare getLayout as inline.
15949
15950         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15951
15952 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15953
15954         * lyxcursor.h (operator<): new func
15955         (operator>): new func
15956         (operator>=): new func
15957         (operator<=): new func
15958
15959         * text.C (changeCase): use selection.start and selection.end
15960         (changeRegionCase): require from to be <= to. Require par to be a
15961         valid paragraph.
15962
15963         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15964
15965 2001-06-27  Juergen Vigna  <jug@sad.it>
15966
15967         * text.C (cursorLeftOneWord): changed to return the cursor and added
15968         overlay with BufferView * parameter which calls this one.
15969         (getWord): added
15970         (selectWord): use new getWord function.
15971         (changeCase): renamed from changeWordCase as and extended to work
15972         also on selections.
15973
15974         * lyxtext.h: added enum word_location
15975
15976         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15977         changeCase as this operates now also on selections.
15978
15979 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15980
15981         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15982
15983         * many files: send debug output to Debug::INFO instead of
15984         Debug::ANY.
15985
15986         * converter.C (View):
15987         (Convert):
15988         (Move): send debug output to Debug::FILES instead of console.
15989
15990 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15991
15992         * lyxfunc.C (getStatus): use func_status
15993
15994         * func_status.h: new header, describing the results of
15995         LyXFunc::getStatus;
15996
15997         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15998         LFUN_MATH_HALIGN.
15999
16000 2001-06-25  The LyX Project  <jug@sad.it>
16001
16002         * buffer.C (sgmlOpenTag):
16003         (sgmlCloseTag):
16004         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16005
16006 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16007
16008         * text2.C: remove some dead code
16009
16010         * tabular.C (GetCellInset): store the last cell checked (gotten)
16011
16012         * tabular.h: add the helper for the speedup
16013
16014         * lyxtext.h: remove some dead code
16015
16016 2001-06-26  The LyX Project  <Asger>
16017
16018         * paragraph.C: Change export to LaTeX of alignment to
16019         \begin{center} and family for better roundtrip work with reLyX.
16020
16021         * Tune the math drawing a bit.
16022
16023 2001-06-25  The LyX Project  <Asger>
16024
16025         * LColor.C (LColor): New color for math background. New color
16026         for buttons.
16027
16028 2001-06-25  The LyX Project  <jug@sad.it>
16029
16030         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16031
16032         * lyxfunc.C (Open):
16033         * bufferlist.C (newFile): do not restrict to files ending with
16034         .lyx
16035
16036         * BufferView_pimpl.C (MenuInsertLyXFile):
16037
16038 2001-06-24  The LyX Project  <jug@sad.it>
16039
16040         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16041         of compare_no_case
16042
16043 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16044
16045         * lyxtext.h: rename most methods to begin with a small char.
16046         Lots of changes because of this.
16047
16048         * paragraph.C (Paragraph): do not call fitToSize
16049         (erase): call Pimpl::erase
16050         (insertChar): call Pimpl::insertChar
16051         (insertInset): call Pipl::insertInset
16052         (breakParagraph): do not call fitToSize
16053         (breakParagraphConservative): do not call fitToSize
16054         (fitToSize): remove method
16055
16056         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16057
16058 2001-06-24  The LyX Project  <Asger>
16059
16060         * Fix Qt compilation^2
16061
16062 2001-06-24  The LyX Project  <jug@sad.it>
16063
16064         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16065         depthHook(getDepth()-1).
16066
16067         * paragraph.h:
16068         * ParagraphParameters.h:
16069         * ParameterStruct.h: change type of depth to unsigned int ==
16070         depth_type. Many adaptations to other files before of that.
16071
16072 2001-06-24  The LyX Project  <Asger>
16073
16074         * Fix Qt compilation.
16075
16076 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16077
16078         * paragraph.h: renamed several methods to begin with small letter.
16079         several changes to many parts of the code because of this.
16080
16081 2001-06-23  The LyX Project  <jug@sad.it>
16082
16083         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16084         rewritten to discard all double spaces when KeepEmpty is off
16085         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16086         to only handle newlines but not fiddle with spaces and friends.
16087
16088         * lyxfunc.C (MenuNew): when doing 'new from template', use
16089         template_path as default directory
16090
16091 2001-06-23  The LyX Project  <Asger>
16092
16093         * Clean-up of header file includes all over
16094         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16095
16096 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16097
16098         * paragraph.h: renamed from lyxparagraph.h
16099
16100 2001-06-23  Asger  <lyx@violet.home.sad.it>
16101
16102         * Buffer.h: Removed Buffer::resize
16103         * BufferList.h: Removed BufferList::resize
16104         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16105         the document lazily when we change the width, or the font settings.
16106
16107 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16108
16109         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16110
16111 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16112
16113         * buffer.h: remove out of date comment
16114
16115 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16116
16117         * lyxscreen.h:
16118         * screen.C: fix "theoretical" GC leak
16119
16120 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16121
16122         * LaTeX.C (scanAuxFile):
16123         (deplog): remove trailing \r when reading stream (useful under
16124         win32)
16125
16126 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16127
16128         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16129         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16130         and BufferView::theLockingInset(Inset*), so should use them and not
16131         access bv_->text->the_locking_inset directly.
16132
16133         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16134
16135 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16136
16137         * Makefile.am:
16138         * tex-defs.h: remove old unused file
16139
16140 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16141
16142         * BufferView_pimpl.C: fix typo, remove minibuffer message
16143           when buffer has loaded
16144
16145 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16146
16147         * lyxfunc.C (Dispatch): use stringstream
16148         (MenuNew): use stringstream
16149         (Open): use stringstream
16150
16151         * importer.C (Import): use stringstream
16152
16153         * bufferview_funcs.C (CurrentState): use stringstream
16154
16155         * LaTeX.C (run): use stringstream
16156
16157         * BufferView_pimpl.C (savePosition): use stringstream
16158         (restorePosition): use stringstream
16159         (MenuInsertLyXFile): use stringstream
16160
16161 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16162
16163         * BufferView.C:
16164         * Bullet.C:
16165         * ColorHandler.C:
16166         * FontInfo.C:
16167         * FontLoader.C:
16168         * LColor.C:
16169         * LaTeXFeatures.C:
16170         * Painter.C:
16171         * gettext.C:
16172         * lyx_gui_misc.C:
16173         * lyxserver.C:
16174         * vspace.C: removed // -*- C++ -*- as first line.
16175
16176         * lyxfind.h:
16177         * version.h: added // -*- C++ -*- as first line.
16178
16179 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16180
16181         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16182
16183         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16184         of string
16185
16186 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16187
16188         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16189         of floats.
16190
16191 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16192
16193         * gettext.C: include LString.h even when --disable-nls is on.
16194
16195 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16196
16197         * converter.h (Get): changed argument type from int to
16198         FormatList::size_type to avoid unnecessary conversion.
16199
16200         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16201         before using it.
16202
16203 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16204
16205         * gettext.h: include LString.h even when --disable-nls is on.
16206
16207 2001-06-07  Juergen Vigna  <jug@sad.it>
16208
16209         * text.C (BreakAgain): subst spaces with tabs.
16210
16211         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16212         (resizeInsetsLyXText): set force on resizeLyXText.
16213
16214 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16215
16216         * gettext.h (gettext_init):
16217         (locale_init): use a real definition instead of a macro
16218
16219 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16220
16221         * Bufferview_pimpl.C:
16222         * LColor.h:
16223         * LColor.C: further lcolor tidies
16224
16225 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16226
16227         * BufferView_pimpl.C (updateScrollbar): simplify.
16228
16229         * BufferView2.C: don't include insets/insetinfo.h, change
16230         prototype for insertInset and call the Pimpl version. let
16231         updateInset call Pimpl version.
16232
16233         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16234         gotoInset to BufferView::Pimpl
16235
16236 2001-06-01  Juergen Vigna  <jug@sad.it>
16237
16238         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16239         inside a LockingInset (is the update needed at all?).
16240
16241 2001-05-31  Juergen Vigna  <jug@sad.it>
16242
16243         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16244         here not the old one otherwise how should we compare it afterwards
16245         if it's the same!
16246
16247 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16248
16249         * lyxfont.C:
16250         * tabular.C:
16251         * tabular-old.C:
16252         * FontInfo.C: bring C functions into global namespace when
16253         necessary
16254
16255 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16256
16257         * LString.h: make sure config.h has been loaded before LString.h.
16258
16259         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16260         (one for each char read by EatLine!).
16261
16262         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16263         variables.
16264
16265 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16266
16267         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16268         to the same as the par we break from
16269
16270 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16271
16272         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16273
16274         * MenuBackend.C (expand): also create menu entries for wide
16275         versions of the floats.
16276
16277         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16278
16279         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16280
16281         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16282         frontends/Makefile.am
16283
16284         * text2.C: adjust
16285         * text.C: adjust
16286
16287
16288         * tabular.C (getTokenValue): add std::
16289
16290         * tabular-old.C (getTokenValue): add std::
16291         (getTokenValue): ditto
16292         (getTokenValue): ditto
16293
16294         * screen.C (ToggleSelection): adjust
16295
16296         * lyxtext.h: put selection cursors inside a Selection struct.
16297
16298         * lyxfunc.C (moveCursorUpdate): adjust
16299
16300         * lyxfont.C (latexWriteStartChanges): add std::
16301
16302         * lyxfind.C: adjust
16303
16304         * font.h: delete with(char const *, LyXFont const &)
16305
16306         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16307
16308         * FontInfo.C (getFontname): add std::
16309
16310         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16311         (workAreaButtonPress): adjust
16312         (tripleClick): adjust
16313         (update): adjust
16314         (moveCursorUpdate): adjust
16315         (Dispatch): adjust
16316
16317         * BufferView2.C (gotoInset): adjust
16318
16319 2001-05-30  Juergen Vigna  <jug@sad.it>
16320
16321         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16322         to check pspell I add this as default as I now have new pspell
16323         libraries and they seem to use this.
16324
16325 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16326
16327         * text2.C (CutSelection): make the cursor valid before the call to
16328         ClearSelection.
16329
16330 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16331
16332         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16333         relied on 0 terminated strings and other horrors. Bug found due to
16334         the new assert in lyxstring!
16335
16336         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16337         KP_ keys.
16338
16339 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16340
16341         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16342         to latinkeys.bind.
16343
16344         * lyxfunc.C (processKeySym): change method of getting to the
16345         self-insert char.
16346
16347         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16348         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16349         * BufferView_pimpl.[Ch]: here as private methods.
16350
16351 2001-05-28  Juergen Vigna  <jug@sad.it>
16352
16353         * text.C (SetHeightOfRow): added the update() call again as it is
16354         needed to initialize inset dimensions!
16355
16356 2001-05-16  Juergen Vigna  <jug@sad.it>
16357
16358         * text2.C (SetCharFont): Add new function with BufferView * and
16359         bool toggleall parameters for setting insets internal fonts.
16360         (SetFont): Freeze the undo as we may change fonts in Insets and
16361         all this change should be inside only one Undo!
16362
16363         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16364         setting font's in insets as for them we have the SetFont function!
16365
16366 2001-05-15  Juergen Vigna  <jug@sad.it>
16367
16368         * text2.C (ClearSelection): to be sure we REALLY don't have any
16369         selection anymore!
16370
16371         * tabular.C (TeXCellPreamble): fixed the left border problem for
16372         multicolumn cells.
16373
16374 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16375
16376         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16377         dependancy file
16378
16379 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16380
16381         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16382         LFUN_BREAKPARAGRAPH.
16383
16384         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16385         help test to "internal only", similar for LFUN_INSERT_URL
16386
16387         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16388         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16389         auto_region_delete and deadkeys.
16390
16391 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16392
16393         * LColor.h:
16394         * LColor.C: remove some dead entries, tidy a little
16395
16396 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16397
16398         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16399         commented code.
16400         (Dispatch): implement LFUN_ESCAPE
16401
16402         * commandtags.h: add LFUN_ESCAPE
16403
16404         * LyXAction.C (init): add entry for LFUN_ESCAPE
16405
16406         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16407         Remove commented code.
16408         (insertNote): moved here
16409         (open_new_inset): moved here
16410
16411         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16412         BufferView_pimpl
16413
16414 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16415
16416         * kbmap.C (findbinding): clean it up and make it work correctly.
16417
16418         * lyx_main.C (init): do not pass argc and argv as parameters
16419
16420 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16421
16422         * buffer.C: fix path for OS/2 & Win32
16423
16424         * lyx_gui.C:
16425         * lyx_main:
16426         * lyx_main.C: Added os:: class.
16427
16428         * os2_defines.h: update
16429
16430 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16431
16432         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16433         better by trying again with reduced state.
16434
16435 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16436
16437         * lyxrc.C (read): print error about invalid key sequence only when
16438         debugging (because not all latinX keysyms are known to some X
16439         servers)
16440
16441         * kbsequence.C (getiso): add a few std:: qualifiers
16442         (getiso): comment out extra return statement.
16443
16444 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16445
16446         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16447         handling.
16448         (Dispatch): enhance the accent inset a bit. (not perfect)
16449
16450 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16451
16452         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16453
16454 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16455
16456         * bufferlist.C (emergencyWrite): fix assert() call
16457
16458 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16459
16460         * text.C (InsertChar): Added trivial patch to only send the "you
16461         can not do multiple spaces this way" message once during a
16462         session.
16463
16464 2001-05-08  Baruch Even  <baruch@lyx.org>
16465
16466         * Makefile.am: Changed order of libraries to get LyX to link properly
16467         with the gnome frontend.
16468
16469 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16470
16471         * LaTeXFeatures.h: add a std:: qualifier
16472
16473 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16474
16475         * paragraph.C (String): use stringstream
16476
16477 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16478
16479         * paragraph.C (writeFile): remove footflag arg
16480
16481         * buffer.C (makeLaTeXFile): use stringstream
16482         (latexParagraphs): remove footnot gurba
16483
16484         * LaTeXFeatures.C (getPackages): use stringstream
16485         (getMacros): likewise
16486         (getTClassPreamble): likewise
16487         (getFloatDefinitions): new method
16488
16489         * paragraph.C (writeFile): reindent
16490         (Erase): reindent
16491
16492         * WorkArea.h: revert the xpos + etc changes.
16493
16494         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16495
16496         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16497
16498         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16499         (pasteSelection): likewise
16500         * text2.C (CreateUndo): likewise
16501
16502 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16503
16504         * minibuffer.C (peek_event): temporarily reduce the functionality
16505         of the minibuffer (to allow args on lfuns)
16506
16507         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16508         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16509
16510         * buffer.C (readInset): add compability reading of old float
16511         lists, add reading of new style float list.
16512         (readInset): avoid reevaluation of inscmd.getCmdName()
16513         (getLists): reindent
16514
16515         * MenuBackend.C (MenuItem): implement parsing of
16516         md_floatlistinsert and md_floatinsert.
16517         (expand::LastFiles): move initalizaton of iterators out of loop,
16518         avoid reevaluation.
16519         (expand::Documents): introduce typdedef vector<string> Strings,
16520         and use it.
16521         (expand::ExportFormats): introduce typedef vector<Format const *>
16522         Formats, and use it.
16523         (expand): implement FloatListInsert and FloatInsert.
16524
16525         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16526         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16527         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16528
16529         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16530         handling.
16531         (Dispatch::LFUN_FLOAT_LIST): implement
16532
16533 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16534
16535         * LaTeX.C (run): Fix problem with --export code.
16536
16537 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16538
16539         * BufferView.[Ch] (workarea): removed.
16540         (getClipboard) new method; wrapper for workarea()->getClipboard()
16541
16542         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16543         bug.
16544
16545         * WorkArea.h (width, height, xpos, ypos): These methods all
16546         returned the dimensions of the work_area sub-area of WorkArea,
16547         resulting in a position error if the WorkArea were resized. Now
16548         return the dimensions of the entire WorkArea.
16549
16550         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16551
16552 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16553
16554         * LaTeX.C (deplog): correct the syntax of regex reg1
16555
16556 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16557
16558         * undo.C: remove !NEW_INSETS cruft
16559
16560 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16561
16562         * text2.C: remove !NEW_INSETS cruft
16563
16564         * text.C: remove !NEW_INSETS cruft
16565
16566         * tabular.C: remove !NEW_INSETS cruft
16567
16568         * spellchecker.C: remove !NEW_INSETS cruft
16569
16570         * lyxtext.h: remove !NEW_INSETS cruft
16571
16572         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16573
16574         * lyxfunc.C: remove !NEW_INSETS cruft
16575
16576         * lyxfind.C: remove !NEW_INSETS cruft
16577
16578         * lyx_cb.C: remove !NEW_INSETS cruft
16579
16580         * figureForm.C: remove  !NEW_INSETS cruft
16581
16582         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16583
16584         * buffer.[Ch]: remove !NEW_INSETS cruft
16585
16586         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16587
16588         * CutAndPaste.C: remove !NEW_INSETS cruft
16589
16590         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16591
16592         * BufferView2.C: remove !NEW_INSETS cruft
16593
16594         * BufferView.h: remove !NEW_INSETS cruft
16595
16596 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16597
16598         * Lsstream.h: include LString.h before the sstream headers to
16599         fix problem with gcc 2.95.3 and lyxstring
16600
16601 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16602
16603         * lyx_main.C: add using directives when needed for C functions
16604         declared in std:: namespace.
16605
16606 2001-04-27  Juergen Vigna  <jug@sad.it>
16607
16608         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16609         (SetHeightOfRow): comment out the update call should not be needed!
16610
16611 2001-04-13  Juergen Vigna  <jug@sad.it>
16612
16613         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16614         (LyXTabular): tried to minimize operator= operations (and realized
16615         hopfully Lars wish).
16616
16617 2001-04-27  Juergen Vigna  <jug@sad.it>
16618
16619         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16620
16621 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16622
16623         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16624
16625         * buffer.C (readInset): hack to make listof algorithm work
16626
16627         * BufferView_pimpl.C: hack to make listof algorithm work
16628
16629 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16630
16631         * LyXAction.C: removed all !NEW_INSETS cruft
16632         (init): moved lfun_item in method
16633
16634         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16635
16636 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16637
16638         * BufferView2.C (theLockingInset): white space.
16639
16640 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16641
16642         * minibuffer.C: include <iostream>
16643
16644         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16645
16646         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16647
16648         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16649
16650         * text.[Ch] (TransposeChars): new method
16651
16652 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16653
16654         * call message directly through LyXView instead of through LyXFunc
16655         * BufferView2.C: adjust
16656         * BufferView_pimpl.C: adjust
16657         * FontLoader.C: adjust
16658         * buffer.C: adjust
16659         * bufferview_funcs.C: adjust
16660         * converter.C: adjust
16661         * figureForm.C: adjust
16662         * importer.C: adjust
16663         * lyx_cb.C: adjust
16664         * lyx_gui_misc.C: adjust
16665         * lyxfunc.C: adjust
16666         * lyxvc.C: adjust
16667         * text2.C: adjust
16668         + more files in subdirs
16669
16670         * lyxparagraph.h (size): move up int file
16671         (GetLayout): ditto
16672
16673         * adjust all uses of Assert to lyx::Assert.
16674
16675         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16676         lyxfunctional in namespace lyx
16677         * layout.C (hasLayout): ditto
16678         (GetLayout): ditto
16679         (GetLayout): ditto
16680         (delete_layout): ditto
16681         (NumberOfClass): ditto
16682         * converter.C (GetFormat): ditto
16683         (GetNumber): ditto
16684         (Add): ditto
16685         (Delete): ditto
16686         (SetViewer): ditto
16687         * bufferlist.C (getFileNames): ditto
16688         (emergencyWriteAll): ditto
16689         (exists): ditto
16690         (getBuffer): ditto
16691         * MenuBackend.C (hasSubmenu): ditto
16692         (hasMenu): ditto
16693         (getMenu): ditto
16694         * BufferView_pimpl.C (getInsetByCode): ditto
16695
16696 2001-04-18  Juergen Vigna  <jug@sad.it>
16697
16698         * vspace.C (asLatexString): fixed the 100% problem.
16699
16700 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16701
16702         * lyxfunc.C (Dispatch):
16703         * minibuffer.C:
16704         * minibuffer.h: add a few std:: qualifiers
16705
16706 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16707
16708         * minibuffer.[Ch]: reimplement so that commands is initiated and
16709         run from lyxfunc, simplified som handling, and made the completion
16710         and history code for complete. wip.
16711
16712         * lyxfunc.C (processKeySym): call message
16713         (miniDispatch): new temporary method
16714         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16715         (LFUN_MESSAGE): implement
16716         (LFUN_MESSAGE_PUSH): implement
16717         (LFUN_MESSAGE_POP): implement
16718         (initMiniBuffer): the initial/defualt minibuffer message.
16719
16720         * lyxfont.[Ch]: inline some more getters
16721
16722         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16723
16724         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16725
16726         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16727         (AutoSave): use LFUN_MESSAGE
16728         (Reconfigure): ditto
16729
16730         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16731
16732         * figureForm.C: use LFUN_MESSAGE
16733
16734         * converter.C (runLaTeX): use LFUN_MESSAGE
16735
16736         * bufferview_funcs.C: use LFUN_MESSAGE
16737         (Melt): ditto
16738         (changeDepth): ditto
16739
16740         * bufferparams.h: use boost::
16741
16742         * bufferlist.h: inherit privately from noncopyable
16743
16744         * bufferlist.C (loadLyXFile): remove some commented code.
16745
16746         * buffer.C (runChktex): use LFUN_MESSAGE
16747
16748         * ShareContainer.h: inherit privately from noncopyable
16749
16750         * ParagraphParameters.[hC] (depth): inline it.
16751
16752         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16753         methods.
16754         (message): new method
16755         (messagePush): ditto
16756         (messagePop): ditto
16757         (show): init minibuffer
16758         (showState): direct call
16759
16760         * LaTeX.[Ch]: inherit privately from noncopyable
16761         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16762         instead of WriteStatus.
16763
16764         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16765
16766         * BufferView_pimpl.C (buffer): don't init minibuffer
16767         (workAreaButtonPress): use LFUN_MESSAGE
16768         (workAreaButtonRelease): ditto
16769         (savePosition): ditto
16770         (restorePosition): ditto
16771         (MenuInsertLyXFile): ditto
16772         (workAreaExpose): don't init minibuffer
16773         (update): remove commented code, simplify
16774
16775         * BufferView2.C (openStuff): use LFUN_MESSAGE
16776         (toggleFloat): ditto
16777         (menuUndo): ditto
16778         (menuRedo): ditto
16779         (copyEnvironment): ditto
16780         (pasteEnvironment): ditto
16781         (copy): ditto
16782         (cut): ditto
16783         (paste): ditto
16784         (gotoInset): ditto
16785         (updateInset): remove some commented code
16786
16787         * lastfiles.h: inherit privately from noncopyable
16788         * layout.h: ditto
16789         * lyx_gui.h: ditto
16790         * lyx_main.h: ditto
16791         * lyxlex.h: ditto
16792         * lyxlex_pimpl.h: ditto
16793
16794         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16795         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16796         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16797
16798         * LyXAction.h: inherit privately from noncopyable, add methods
16799         func_begin, func_end, returning iterators to the func map.
16800
16801         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16802         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16803         (func_begin): new method
16804         (func_end): new method
16805
16806         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16807         and not)
16808         (copySelection): ditto
16809         (pasteSelection): ditto
16810
16811         * BufferView.C: whitespace change
16812         * BufferView.h: inherit privately from noncopyable
16813
16814 2001-04-16  Allan Rae  <rae@lyx.org>
16815
16816         * tabular-old.C (l_getline):
16817         * spellchecker.C (sc_check_word):
16818         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16819         an unrecognised preprocessor directive.  So ensure they're wrapped.
16820
16821 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16822
16823         * src/exporter.C (Export): Give an error message when path to file
16824         contains spaces.
16825
16826 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16827
16828         * LaTeX.C (deplog): Always check that foundfile exists.
16829
16830 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16831
16832         * lyx_main.h:
16833         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16834
16835 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16836
16837         * tabular.[Ch] (getLabelList): implement new method
16838
16839         * minibuffer.h: comment ouf setTiimer
16840
16841         * minibuffer.C (ExecutingCB): constify res
16842         (peek_event): constify s
16843         (Set): constify ntext
16844         (Init): constify nicename
16845
16846         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16847
16848         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16849         (savePosition): use two params to Minibuffer::Set
16850         (restorePosition): ditto
16851
16852 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16853
16854         * lyx_main.C: include language.h
16855
16856         * Makefile.am (lyx_main.o): add language.h
16857
16858 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16859
16860         * exporter.C:
16861         * paragraph.C:
16862         * screen.C:
16863         * tabular.C:
16864         * CutAndPaste.C: include gettext.h
16865
16866         * lyxfont.h: remove old hack with ON and OFF.
16867
16868         * lyxparagraph.h:
16869         * lyxfont.h: do not include language.h...
16870
16871         * BufferView2.C:
16872         * LaTeXFeatures.C:
16873         * Painter.C:
16874         * bufferview_funcs.C:
16875         * font.C:
16876         * lyxfont.C:
16877         * text.C:
16878         * text2.C:
16879         * trans_mgr.C:
16880         * paragraph.C: ... but do it here instead
16881
16882 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16883
16884         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16885
16886         * tabular.C: small reformat
16887
16888         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16889         NEW_INSETS version
16890         (GetChar): ditto
16891         (BreakParagraph): ditto
16892         (SetOnlyLayout): ditto
16893         (SetLayout): ditto
16894
16895         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16896         with one arg less.
16897
16898         * lastfiles.C: removed most using decl, add std:: where needed
16899
16900         * buffer.C: ws changes
16901
16902         * MenuBackend.C (class compare_format): put into anon namespace
16903         (expand): constify label, names, action, action2
16904         (expand):
16905
16906         * text.C (SingleWidth): constify font
16907         (IsBoundary): constify rtl2
16908         (GetVisibleRow): constify ww
16909
16910         * LaTeX.C (deplog): constify logfile
16911
16912         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16913         start_x, end_x
16914         (workAreaExpose): constify widthChange, heightChange
16915
16916         * lyxrow.C (par): moved
16917         (height): moved
16918         (next): moved
16919         * lyxrow.h: as inlines here
16920
16921         * lyxfont.h (shape): moved from lyxfont.C
16922         (emph): moved from lyxfont.C
16923
16924         * lyxfont.C (LyXFont): use initialization list for all
16925         constructors
16926         (shape): move to lyxfont.h as inline
16927         (emph): move to lyxfont.h as inline
16928
16929
16930 2001-04-04  Juergen Vigna  <jug@sad.it>
16931
16932         * vspace.C: had to include stdio.h for use of sscanf
16933
16934 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16935
16936         * BufferView.h:
16937         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16938         independent of xforms.
16939
16940 2001-04-02  Juergen Vigna  <jug@sad.it>
16941
16942         * spellchecker.C: fixed namespace placing!
16943
16944 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16945
16946         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16947         the LyXParagraph * is 0.
16948
16949 2001-03-29  Juergen Vigna  <jug@sad.it>
16950
16951         * vspace.C: added support for %, c%, p%, l%.
16952         (stringFromUnit): added helper function.
16953         (asLatexString): changed to give right results for the %-values.
16954
16955         * buffer.C: convert the widthp in a width%.
16956
16957 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16958
16959         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16960         figureForm.[Ch].
16961
16962         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16963         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16964
16965         * lyx_cb.[Ch]: see above.
16966
16967         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16968         form1.[Ch].
16969
16970         * form1.[Ch]:
16971         * lyx.[Ch]: replaced by figure_form.[Ch].
16972
16973         * lyx_gui.C:
16974         * lyx_gui_misc.C:
16975         * lyxfunc.C: changed headers associated with above changes.
16976
16977 2001-03-27  Juergen Vigna  <jug@sad.it>
16978
16979         * BufferView_pimpl.C: set the temporary cursor right!
16980
16981 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16982
16983         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16984
16985 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16986
16987         * LString.h: removed "using std::getline"!
16988
16989         * BufferView_pimpl.C (Dispatch): changes due to changes in
16990         InsetInclude::Params.
16991
16992         * buffer.C (tag_name): removed redundant break statements as they were
16993         producing lots of warnings with my compiler.
16994
16995 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16996
16997         * LString.h: add "using std::getline" when using the real <string>.
16998
16999 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
17000
17001         * buffer.C: removed bitset usage.
17002         PAR_TAG moved to an anonymous name space.
17003         (tag_name): new funtion, also in the anonymous namespace.
17004         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17005         (makeDocBookFile): clean code. Completed transition from string arrays
17006         to string vectors.
17007         (SimpleDocBookOnePar): code clean.
17008
17009 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17010
17011         * tabular.C: add some comments.
17012
17013 2001-03-22  Juergen Vigna  <jug@sad.it>
17014
17015         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17016         compatibility read a bit and fixed bug with minipage in different
17017         depth.
17018
17019 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
17020
17021         * buffer.C (pop_tag): removed.
17022         (push_tag): removed.
17023         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17024         array replaced with vector. Added support for CDATA sections.
17025         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17026         at any nest level.
17027         (makeDocBookFile): XML conformant declaration of CDATA section,
17028         fixed bug related to <emphasis> in the first paragraph char.
17029         (sgmlOpenTag): exclude empty tags.
17030         (sgmlCloseTag): ditto.
17031
17032         * buffer.h (pop_tag): removed.
17033         (push_tag): removed.
17034
17035 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17036
17037         * language.h (Languages): added size_type and size().
17038
17039 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17040
17041         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17042         response on compability reading of minipages. One probliem is that
17043         the old usage of minipages was «flertydig»
17044
17045         * several files here and in subdirs: don't use static at file
17046         scope use anon namespaces instead.
17047
17048 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17049
17050         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17051         LaTeX output. This is necessary for Literate document
17052         processing.
17053
17054 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17055
17056         * buffer.C: insert hfill when needed.
17057
17058         * tabular.C (l_getline): use string::erase, small whitespace change.
17059
17060         * BufferView_pimpl.C: try the anon namespace.
17061         * WorkArea.C: ditto
17062
17063 2001-03-16  Juergen Vigna  <jug@sad.it>
17064
17065         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17066         otherwise it won't open options-dialogs.
17067
17068         * buffer.C: honor pextraWidth(p) on converting minipages.
17069
17070         * tabular.C (l_getline): changed the functions to strip trailing \r.
17071
17072 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17073
17074         * BufferView_pimpl.C:
17075         * minibuffer..C: added "using SigC::slot" declaration.
17076
17077 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17078
17079         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17080
17081         * text2.C: ditto
17082
17083         * text.C: ditto
17084
17085         * paragraph.C: ditto
17086
17087         * lyxtext.h: NO_PEXTRA
17088
17089         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17090
17091         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17092         * ParameterStruct.h: ditto
17093         * ParagraphParameters.h: ditto
17094         * lyxparagraph.h: ditto
17095
17096 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17097
17098         * buffer.C: add compability for minipage alignment.
17099         (latexParagraphs): remove unwanted pextra check.
17100
17101         * several files: remove CXX_WORKING_NAMESPACES
17102
17103         * buffer.C (pop_tag): tie is in namespace boost
17104
17105         * BufferView.h: noncopyable is in namespace boost
17106         * lyxlex.h: ditto
17107         * lyx_main.h: ditto
17108         * lyx_gui.h: ditto
17109         * layout.h: ditto
17110         * lastfiles.h: ditto
17111         * bufferlist.h: ditto
17112         * ShareContainer.h: ditto
17113         * LyXView.h: ditto
17114         * LyXAction.h: ditto
17115         * LaTeX.h: ditto
17116
17117 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17118
17119         * Merging changes from BRANCH_MVC back into HEAD.
17120
17121         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17122
17123 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17124
17125         * BufferView_pimpl.C: change from intl.C
17126
17127         * combox.h:
17128         * combox.C:
17129         * Makefile.am: move combox.*
17130
17131         * form1.h:
17132         * form1.C:
17133         * lyx_gui.C:
17134         * intl.h:
17135         * intl.C: remove dialog (covered by prefs)
17136
17137 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17138
17139         * lyxfunc.C (Dispatch): removed redundant break statement.
17140
17141 2001-03-14  Juergen Vigna  <jug@sad.it>
17142
17143         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17144
17145 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17146
17147         * buffer.C: add hack to fix compability reading of minipages.
17148
17149 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17150
17151         * buffer.C (getLists): Cleanup.
17152
17153 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17154
17155         * lyxfont.C (update): don't honor toggleall on font size.
17156
17157 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17158
17159         * bmtable.c:
17160         * bmtable.h:
17161         * Makefile.am: moved to frontends/xforms/
17162
17163         * lyx_gui_misc.C:
17164         * lyxfunc.C:
17165         * BufferView_pimpl.C: changes for moved mathpanel
17166
17167 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17168
17169         * gettext.h: fix gettext_init() in --disable-nls
17170
17171 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17172
17173         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17174
17175 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17176
17177         * lyx.C:
17178         * lyx.h: strip external form
17179
17180 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17181
17182         * BufferView_pimpl.C: add comment, destroySplash()
17183
17184 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17185
17186         * BufferView_pimpl.C:
17187         * LyXAction.C:
17188         * buffer.C:
17189         * commandtags.h:
17190         * lyxfunc.C: use re-worked insetinclude
17191
17192 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17193
17194         * buffer.C: add using std::stringstream.
17195
17196         * lyx_cb.C: readd using std::ios.
17197
17198         * buffer.C: add using std::map.
17199
17200         * BufferView_pimpl.C: add using std::vector.
17201
17202         * ShareContainer.h: add std:: to swap.
17203
17204         * buffer.h: add some typedefs
17205         * buffer.C (getLists): use them
17206         (getLists): renamed from getTocList.
17207         add a counter for the different float types and use it in the
17208         generated string.
17209         (getLists): use the same counter for the NEW_INSETS and the "non"
17210         NEW_INSETS
17211
17212         * lyx_cb.h: remove unused items, includes, using etc.
17213
17214         * ShareContainer.h: remove some commented code, add more comments
17215         and "documentation".
17216
17217 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17218
17219         * buffer.C (getTocList): make the list also when NEW_INSETS is
17220         defined.
17221
17222         * buffer.h: remove TocType
17223
17224         * buffer.C (getTocList): change to return a map<string,
17225         vector<TocItem> >, implement for dynamic number of list.
17226
17227         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17228         * text2.C (PasteSelection): adjust
17229         * CutAndPaste.C (pasteSelection): adjust
17230
17231         * FloatList.C (FloatList): update from the new_insets branch.
17232         * Floating.[Ch]: ditto
17233         * LaTeXFeatures.C: ditto
17234         * buffer.C: ditto
17235         * lyxlex_pimpl.C: ditto
17236
17237         * paragraph.C (Last): remove when NEW_INSETS is defined.
17238
17239         * other file: changes because of the above.
17240
17241 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17242
17243         * lyxparagraph.h: rename next to next_, previous to previous_,
17244         make them private for NEW_INSETS. Rename Next() to next(),
17245         Previous() to previous().
17246
17247         * other files: changes because of the above.
17248
17249 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17250
17251         * BufferView.h:
17252         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17253         problem.
17254
17255 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17256
17257         * main.C (main): pass lyx_localedir to gettext_init().
17258
17259         * gettext.h: remove locale_init and gettext_init macros
17260
17261         * gettext.C (locale_init): new function
17262         (gettext_init): new function
17263
17264         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17265         setlocale().
17266
17267 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17268
17269         * Moved credits to frontends:
17270         * credits.[Ch]: removed
17271         * credits_form.[Ch]: removed
17272         * lyx_gui_misc.C: remove credits stuff
17273         * Makefile.am:
17274
17275 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17276
17277         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17278
17279         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17280         unneeded destructor.
17281
17282         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17283         a standalone pointer again.
17284
17285         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17286
17287 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17288
17289         * Makefile.am:
17290         * filedlg.h:
17291         * filedlg.C:
17292         * LyXAction.C:
17293         * ToolbarDefaults.C:
17294         * bufferlist.C:
17295         * commandtags.h:
17296         * form1.C:
17297         * form1.h:
17298         * lyx_cb.C:
17299         * lyx_cb.h:
17300         * lyxfunc.h:
17301         * lyxfunc.C:
17302         * BufferView_pimpl.C: use new file dialog in GUII
17303
17304         * lyx_cb.h:
17305         * lyx_cb.C: remove LayoutsCB to Toolbar
17306
17307 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17308
17309         * ShareContainer.h (get): add std:: qualifier
17310
17311 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17312
17313         * ShareContainer.h: define a proper ShareContainer::value_type
17314         type (and use typename to please compaq cxx)
17315
17316 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17317
17318         * lyxparagraph.h: move serveral local vars to
17319         ParameterStruct/ParagraphParameters., use ShareContainer in
17320         FontTable., make vars in FontTable private and add getter and
17321         setter.
17322
17323         * paragraph.C: changes because of the above.
17324
17325         * lyxfont.h: remove copy constructor and copy assignment. (the
17326         default ones is ok), move number inside FontBits. move inlines to
17327         lyxfont.C
17328
17329         * lyxfont.C: add number to initializaton of statics, move several
17330         inlines here. constify several local vars. some whitespace
17331         cleanup. Dont hide outerscope variables.
17332
17333         * Spacing.h: add two new constructors to match the set methods.
17334
17335         * ShareContainer.h: new file, will perhaps be moved to support
17336
17337         * ParameterStruct.h: new file
17338
17339         * ParagraphParameters.h: new file
17340
17341         * ParagraphParameters.C: new file
17342
17343         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17344         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17345
17346         * BufferView_pimpl.C: ParagraphParameter changes.
17347         * buffer.C: Likewise.
17348         * bufferview_funcs.C: Likewise.
17349         * text.C: Likewise.
17350         * text2.C: Likewise.
17351
17352 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17353
17354         * lyxfind.C (LyXReplace): do not redefine default argument in
17355         implementation.
17356         (IsStringInText): ditto
17357         (SearchForward): ditto
17358         (SearchBackward): ditto
17359
17360 2001-03-06  Juergen Vigna  <jug@sad.it>
17361
17362         * lyxfind.C (IsStringInText): put parentes around expressions.
17363
17364 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17365
17366         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17367
17368 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17369
17370         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17371
17372         * stl_string_fwd.h: add comment
17373
17374         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17375
17376         * tabular.h:
17377         * tabular.C: remove unused DocBook methods
17378
17379         * intl.C:
17380         * language.C:
17381         * paragraph.C:
17382         * buffer.C:
17383         killed DO_USE_DEFAULT_LANGUAGE
17384
17385 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17386
17387         * lyx_gui.C: do not include language.h.
17388
17389         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17390         arguments in function implementation.
17391
17392 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17393
17394         * BufferView_pimpl.C: add <ctime>
17395
17396 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17397
17398         * BufferView_pimpl.C: add using std::find_if
17399
17400 2001-02-27  José Matos  <jamatos@fep.up.pt>
17401
17402         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17403         by OnlyPath.
17404
17405 2001-02-11  José Matos  <jamatos@fep.up.pt>
17406
17407         * buffer.C (makeDocBookFile): command styles now have a parameter as
17408         "title" by default.
17409
17410 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17411
17412         * layout_forms.[Ch]: removed
17413         * lyx_cb.[Ch]: out character
17414         * lyx_gui.C: out character
17415         * lyx_gui_misc.C: out character
17416         * bufferview_funcs.C: : out character,
17417         added toggleall as parameter in ToggleAndShow
17418
17419 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17420
17421         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17422
17423         * text2.C (SetCurrentFont): Disable number property at boundary.
17424
17425 2001-02-26  Juergen Vigna  <jug@sad.it>
17426
17427         * lyxfunc.C (getStatus): added a string argument override function so
17428         that this is correctly called from LyXFunc::Dispatch if it contains a
17429         do_not_use_argument which is used!
17430         (Dispatch): added check for "custom" export and call appropriate func.
17431
17432 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17433
17434         * lyxrc.C: Add language_command_local, language_use_babel and
17435         language_global_options.
17436
17437         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17438
17439         * buffer.C (makeLaTeXFile): Use language_use_babel and
17440         language_global_options.
17441
17442 2001-02-23  Juergen Vigna  <jug@sad.it>
17443
17444         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17445         which works with LyXText and putted it inside BufferView. Here now we
17446         only call for that part the BufferView::Dispatch() function.
17447
17448         * BufferView.C (Dispatch): added.
17449
17450         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17451         functions which needs to use a LyXText over from LyXFunc.
17452         (MenuInsertLyXFile): added
17453         (getInsetByCode): added
17454         (moveCursorUpdate): added
17455         (static TEXT): added
17456
17457 2001-02-22  Juergen Vigna  <jug@sad.it>
17458
17459         * BufferView_pimpl.C (update): call a status update to see if LyXText
17460         needs it.
17461
17462 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17463
17464         * vc-backend.C (revert): implement for CVS
17465         (getLog): implement for CVS
17466
17467 2001-02-20  Juergen Vigna  <jug@sad.it>
17468
17469         * text2.C (ClearSelection): added BufferView param for inset_owner call
17470
17471         * lyxfunc.C (TEXT): added this function and use it instead of
17472         directly owner->view()-text of getLyXText().
17473
17474 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17475
17476         * src/layout_forms.C: out preamble
17477         * src/layout_forms.h: out preamble
17478         * src/lyx_cb.C: out preamble
17479         * src/lyx_cb.h: out preamble
17480         * src/lyx_gui.C: out preamble
17481         * src/lyx_gui_misc.C: out preamble
17482         * src/lyxfunc.C: connect with guii preamble
17483
17484 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17485
17486         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17487
17488 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17489
17490         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17491         whether to run bibtex.
17492
17493 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17494
17495         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17496
17497 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17498
17499         * Makefile.am (lyx_SOURCES): removed bibforms.h
17500
17501         * vspace.h: doxygen
17502
17503         * text.C (GetVisibleRow): make several local vars const
17504
17505         * tabular.C: small cleanup.
17506
17507         * lyxserver.C (callback): use compare instead of strncmp
17508
17509         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17510         inlines to after class or to paragraph.C
17511
17512         * lyxfont.h: remove friend operator!=
17513
17514         * converter.h: move friend bool operator< to non friend and after
17515         class def.
17516
17517         * combox.h: small cleanup
17518
17519         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17520         to inlines after class def.
17521
17522         * buffer.C (pop_tag): use string operations instead of strcmp
17523
17524         * bmtable.c: doxygen, small cleanup
17525
17526         * LaTeX.h: remove friend operator==
17527
17528 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17529
17530         * screen.C:
17531         * lyxrc.[Ch]:
17532         * lyxfunc.C:
17533         * lyxfont.[Ch]:
17534         * lyx_cb.C:
17535         * intl.[Ch]:
17536         * commandtags.h:
17537         * buffer.C:
17538         * WorkArea.[Ch]:
17539         * LyXAction.C:
17540         * BufferView_pimpl.C:
17541         * BufferView.[Ch]: remove cruft
17542
17543 2001-02-14  Juergen Vigna  <jug@sad.it>
17544
17545         * lyxfunc.C: removed #if 0 unused code
17546
17547         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17548
17549         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17550
17551         * text2.C (SetSelection): added a BufferView * parameter
17552
17553 2001-02-13  Juergen Vigna  <jug@sad.it>
17554
17555         * lyxfunc.C (Dispatch): fixed protected blank problem.
17556         * BufferView2.C (protectedBlank): added LyxText * parameter.
17557
17558         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17559         (AppendColumn): same as above for column_info.
17560
17561         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17562         (moveCursorUpdate): use a LyXText param for support of InsetText.
17563
17564         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17565         (tripleClick): ditto
17566
17567         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17568
17569         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17570
17571         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17572
17573         * text2.C (SetSelection): set correct update status if inset_owner
17574         (ToggleFree): ditto
17575
17576 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17577
17578         * tabular.C: remove some commented code.
17579
17580 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17581
17582         * BufferView_pimpl.C: call hideSplash()
17583
17584         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17585
17586         * include_form.h:
17587         * bibforms.h: remove
17588
17589         * lyxfunc.C:
17590         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17591           add LFUN_CHILD_CREATE
17592
17593         * counters.h: fix tiny typo
17594
17595         * lyx_cb.C:
17596         * lyx.h:
17597         * lyx_gui.C:
17598         * lyx.C: move splash to frontends/xforms/
17599
17600         * lyx_gui_misc.C: move Include and Bibform to frontends
17601
17602         * lyxvc.h: clarify comment
17603
17604         * vspace.C: tiny housekeeping
17605
17606 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17607
17608         * text.C (PrepareToPrint): RTL Fix.
17609
17610         * paragraph.C (GetUChar): New method.
17611         (String):  Use GetUChar.
17612
17613         * buffer.C (asciiParagraph): Use GetUChar.
17614
17615 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17616
17617         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17618
17619 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17620
17621         * buffer.h:
17622         * buffer.C: rename to getLogName(), handle
17623           build log / latex log nicely
17624
17625 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17626
17627         * MenuBackend.C:
17628         * MenuBackend.h: remove support for reference menuitem type.
17629
17630 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17631
17632         * BufferView_pimpl.C: housekeeping
17633         * BufferView_pimpl.h:
17634         * LyXView.h:
17635         * Makefile.am:
17636         * Timeout.C:
17637         * Timeout.h:
17638         * minibuffer.h: move Timeout GUI-I
17639
17640 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17641
17642         * lyxrc.C (read): Update converters data-structures.
17643
17644 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17645
17646         * LaTeX.h (operator!=): add operator != for Aux_Info
17647
17648 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17649
17650         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17651
17652         * LaTeXLog.C: deleted, useful code moved to Buffer
17653
17654         * buffer.h:
17655         * buffer.C: new function getLatexLogName()
17656
17657         * lyx_gui_misc.C:
17658         * lyx_gui.C:
17659         * lyxvc.C:
17660         * lyxvc.h:
17661         * lyxfunc.C: use frontends for LaTeX and VC logs
17662
17663 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17664
17665         * LaTeX.h: yet another std:: that Allan forgot.
17666
17667         * Variables.C (set): renamed from isset(), because this clashes
17668         with some HP-UX macros (grr).
17669
17670 2001-02-06  Allan Rae  <rae@lyx.org>
17671
17672         * LaTeX.h: Another bug fix.  Missing std:: this time.
17673
17674 2001-02-04  Allan Rae  <rae@lyx.org>
17675
17676         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17677         floats problem. I've left it commented out because it's not quite
17678         correct.  It should also test that the current object is a table or
17679         figure inset.  But I haven't gotten around to figuring out how to do
17680         that.  I *think* it'll be something like: "table" == inset.type()
17681
17682         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17683         bool.
17684
17685 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17686
17687         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17688         all the citation/databases/styles in the auxilary file.
17689         (run): Rerun latex if there was a babel language error.
17690
17691 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17692
17693         * text.C (Backspace): Preserve the font when changing newline char
17694         with a space.
17695         (BreakParagraph): If the cursor is before a space, delete the space.
17696
17697         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17698
17699 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17700
17701         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17702         new argument (code).
17703         (ChangeCitationsIfUnique): New method.
17704
17705         * paragraph.C (GetPositionOfInset): Handle bibkey.
17706
17707 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17708
17709         * BufferView_pimpl.h: change type of Position::par_pos to
17710         LyXParagraph::size_type.
17711
17712 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17713
17714         * BufferView_pimpl.C (savePosition, restorePosition): Write
17715         messages to minibuffer.
17716
17717 2001-01-28  José Matos  <jamatos@fep.up.pt>
17718
17719         * buffer.C (makeDocBookFile): adds support for document language.
17720         A silly restriction on the name of LatexCommand types where removed.
17721         Added support for CDATA sections, allows to chars unescaped, used
17722         among others in code, to avoid escape < and >.
17723
17724 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17725
17726         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17727         saved positions instrad of a stack. Furthermore, a position is
17728         stored using paragraph id/paragraph position.
17729
17730         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17731         Remove LFUN_REF_BACK.
17732
17733 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17734
17735         * converter.C (dvipdfm_options): New method.
17736
17737 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17738
17739         * vspace.C (isValidLength): Fix for empty input string.
17740
17741 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17742
17743         * LyXAction.C (init): change description of LFUN_FIGURE to
17744         "Insert Graphics"
17745
17746 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17747
17748         * LaTeX.C: add using directive
17749
17750 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17751
17752         * MenuBackend.C (expand): Fix the sorting of the formats.
17753
17754 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17755
17756         * lyx_main.C: tiny error message fix
17757
17758 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17759
17760         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17761         calling fl_initialize(). This fixes the problem with ',' as
17762         decimal separator in text files.
17763
17764 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17765
17766         * trans.C (process): Fix the keymap bug.
17767
17768 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17769
17770         * LaTeX.C (scanAuxFiles): New method. Provides support for
17771         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17772         (scanLogFile) Scan for "run BibTeX" messages.
17773
17774         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17775         OT1 font encoding. Also, load the aecompl package if the ae
17776         package is loaded.
17777
17778         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17779
17780 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17781
17782         * texrow.C (increasePos): turn two error messages into debug
17783         messages.
17784
17785 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17786
17787         * LaTeX.C (scanAux): Handle the \@input macro.
17788         (runBibTeX): Use scanAux().
17789
17790         * language.C (latex_options_): New field.
17791
17792         * LaTeXFeatures.C (getMacros): Add language macros.
17793
17794         * buffer.C (makeLaTeXFile): Small fix.
17795
17796 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17797
17798         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17799
17800         * text2.C: add a using directive.
17801
17802 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17803
17804         * BufferView2.C:
17805         * lyx_gui_misc.h:
17806         * lyxfr1.C:
17807         * lyxfunc.C: kill LyXBell.
17808
17809 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17810
17811         * text.C (IsBoundary): Remove the error message
17812
17813         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17814
17815         * lyxrc.C (setDefaults): Correct initialization value for
17816         font_norm_type.
17817
17818 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17819
17820         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17821         gotoError().
17822
17823         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17824         and GotoNextNote().
17825
17826         * src/LyXAction.C: Added reference-next.
17827
17828         * text.C (InsertChar): Use contains instead of strchr.
17829
17830         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17831
17832 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17833
17834         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17835         alignment commands (when needed).
17836
17837         * text.C (InsertChar): Add ':' to number separator chars.