]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
pretend success when srcdir != builddir
[lyx.git] / src / ChangeLog
1 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * buffer.C: format incremented to 242. There is no file format per
4         se, but the "frenchb" language has been removed from lib/language
5         and has to be translated to "french" by lyx2lyx.
6
7 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
8
9         * cursor_slice.h, dociterator.h: add some documentation
10         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
11
12 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13
14         * text.C (leftMargin): do not add identation to display() style
15         insets, because they are always centered (bug 1293).
16
17 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
18
19         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
20         formatted_time methods in support/lyxtime.
21
22 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
23
24         * toc.[Ch]: new method getGuiName, which is used by the frontends 
25         to set the toc combo (fixes bug 1870). Make TOC string translatable.
26
27 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
28
29         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
30         StableDocIterator const &)
31         * undo.C (recordUndo): use the above instead of cell.size() comparison
32         (fixes bug 1808; instructed by André).
33
34 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
35
36         * cursor_slice.h: 
37         * dociterator.h: Fix the assert when copying rows/cols in math
38
39 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
40
41         * BufferView_pimpl.C:
42         * LyXAction.C:
43         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
44
45         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
46         (findInset): new functions, refactored from goto Inset that return 
47         the position of a certain inset without setting the buffer's cursor
48         (by Jean-Marc); 
49         (gotoInset): rewrite to call findInset and then set the cursor
50         (by Jean-Marc).
51
52 2005-06-16  Angus Leeming  <leeming@lyx.org>
53
54         * lyxrc.C (output, read): wrap all input and output of paths with
55         calls to os::internal_path and os::external_path, respectively.
56         (output): wrap bind_file inside quotes.
57
58         * format.C (view): enable the viewer to use the '$$s' placeholder.
59
60 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
61
62         * LColor.[Ch] (getFromLaTeXName): new
63
64 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
65
66         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
67
68 2005-06-14  Angus Leeming  <leeming@lyx.org>
69
70         * lyx_main.C (init): ensure that the LyX binary dir is the first
71         element in the PATH on non-POSIX builds.
72
73 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
74
75         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
76
77 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
78
79         * rowpainter.C (paintInset, paintHebrewComposeChar)
80         (paintArabicComposeChar, paintChars): add a LyXFont argument.
81         (paintChars): use getFontSpan to reduce calls to getFont to a
82         minimum; use Paragraph::lookupChange instead of isXXXText.
83         (paintForeignMark): rename LyXFont argument.
84         (paintFromPos): pass a LyXFont object to the various paintXXX
85         methods.
86
87         * FontIterator.C (FontIterator, operator++): use
88         Paragraph::getFontSpan
89
90         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
91         version that returns the font span as a pair.
92
93 2005-06-09  Angus Leeming  <leeming@lyx.org>
94
95         * converter.C (convert): Don't forget "outfile = real_outfile" as
96         the final step in a conversion where the input and output file names
97         are the same. Otherwise, future conversion steps won't work...
98
99 2005-06-09  Angus Leeming  <leeming@lyx.org>
100
101         * lyxsocket.C: remove stub code as it isn't needed by
102         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
103
104 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
105
106         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
107         effectively disabled -x
108
109 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
110
111         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
112         when it actually makes sense.
113
114 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
115
116         * BufferView_pimpl.C: revert to showCursor in connection with
117         Lars's front-end stack
118
119 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
120
121         * text.C (redoParagraph): move cursor right after a bibitem
122         has been inserted.
123
124         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
125
126 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
127
128         * buffer_funcs.C (bufferErrors): fix computation of the end of an
129         error range.
130
131 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
132
133         * BufferView.[Ch] (update):
134         * BufferView_pimpl.[Ch] (update, metrics):
135         * dimension.h (operator==):
136         * lyxfunc.C (dispatch):
137         * metricsinfo.h (ViewMetricsInfo):
138         * rowpainter.C (paintText):
139         * lyxtext.h:
140         * text.C (redoParagraph):
141         * text3.C (dispatch): Make LyX only repaint current paragraph in
142         case of character insert --> speedup. Also fix cursor draw
143         artifacts
144
145 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
146
147         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
148         avoid a crash (bug 1891)
149
150 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
151
152         Fix bug 1892:
153
154         * text2.C (getStringToIndex): constify cur argument.
155
156         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
157         argument has been given
158         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
159         try to invoke LFUN_INSET_APPLY).
160
161         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
162         if no inset was created by doInsertInset
163         (doInsertInset): return true if an inset has been inserted.
164
165 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
166
167         * vspace.C (asGUIName): new method. A version of the space
168         suitable for showing on screen.
169
170 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
171
172         * MenuBackend.C:
173         * lyxrc.C: rename "ASCII" to "Plain Text"
174
175 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
176
177         * buffer_funcs.C (expandLabel): take a Buffer as argument;
178         translate the labelstring.
179         (setCounter): translate labelstring as needed.
180
181         * output_docbook.C (makeCommand): fix expandLabel invokation
182
183 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
184
185         * BufferView.C: fix dialog title
186
187 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
188
189         * lyx_main.C (priv_exec): fix logic error with help from Angus
190         * lyx_main.C (parse_execute): set is_gui = false and remove now
191         obsolete comment about a segfault
192
193 2005-05-18  Angus Leeming  <leeming@lyx.org>
194
195         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
196
197 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
198
199         * tabular.[hC]: added setCellInset to fix tabular paste.
200
201 2005-05-11  Lars Gullik Bjonnes  <larsbj@gullik.net>
202
203         * buffer.C (save): check if destination is writable before trying
204         to copy a file
205
206 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
207
208         * BufferView_pimpl.C (update): fix processEvents -caused update
209         recursion bug
210
211 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
212
213         * buffer_funcs.C (setCounter): fix test for numbering of
214         environments.
215
216         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
217         depth correctly; use optional argument when it exists
218
219         * lyxtextclass.C: remove unused MaxCounterTags enum
220         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
221         (max_toclevel, min_toclevel): new methods.
222
223         * MenuBackend.C (expandToc2): fix case where depth is smaller than
224         the smallest depth in toc.
225
226         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
227         layouts that should not appear in a table of contents.
228
229 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
230
231         * cursor.h (undispatched, noUpdate): add comments from André
232
233 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
234
235         * lfuns.h:
236         * LyXAction.C:
237         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
238
239 2005-05-07  André Pönitz  <poenitz@gmx.net>
240
241         * cursor.[Ch] (leaveInset): new function
242
243 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
244
245         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
246
247 2005-05-04  Angus Leeming  <leeming@lyx.org>
248
249         * lyxfunc.C (getStatus): disable the spell checker dialog if
250         none of USE_[AIP]SPELL are defined.
251
252 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
253
254         * tabular.C (setWidthOfCell): remove obsolete comment
255
256 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
257
258         * paragraph.C (bibitem):
259         * buffer_funcs.C (setCounter):
260         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
261
262 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
263
264         * text3.C (getStatus): immediately return after setOnOff
265
266         * rowpainter.C: fix drawing of appendix start
267
268 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
269
270         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
271         SwitchBetweenClasses and remove the unused return value.
272         Handle character styles, too
273
274 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
275
276         * factory.C (createInset): handle undefined character styles
277
278 2005-05-02  Angus Leeming  <leeming@lyx.org>
279
280         * buffer.C: protect the #include of utime.h with a preprocessor
281         guard.
282
283 2005-05-02  Angus Leeming  <leeming@lyx.org>
284
285         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
286         function so that auto-saving works, albeit in a blocking manner.
287
288         * Makefile.am: make compilation of the client sub directory, of
289         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
290         on conditionals set at configure time.
291
292         * SpellBase.[Ch]: no longer an abstract base class. Instead,
293         it can be compiled in its own right but has no-op functionality.
294
295         * aspell.C, pspell.C: remove preprocessor guards. The files should
296         be compiled only if the necessary functionality exists.
297
298         * lyxserver.C, lyxsocket.C: disable on Windows.
299
300 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
301
302         * text.C (leftMargin): Fix the parindent use bug (1764)
303         by dirty trick
304
305 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
306
307         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
308         argument.
309
310 2005-04-25  Angus Leeming  <leeming@lyx.org>
311
312         * Bidi.[Ch]:
313         * coordcache.[Ch]:
314         * ispell.C:
315         * lyxserver.C:
316         * mover.C:
317         * pch.h:
318         include <config.h> in .C files, not .h ones.
319         add licence blurb.
320         protect headers inside preprocessor guards.
321
322 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
323
324         * FuncStatus.h (StatusCodes): document
325
326 2005-04-21  André Pönitz  <poenitz@gmx.net>
327
328         * FuncStatus.h (enabled, onoff): document
329
330 2005-04-19  Angus Leeming  <leeming@lyx.org>
331
332         * BufferView_pimpl.C (cursorToggle): no longer test whether
333         any child processes have been reaped before calling
334         handleCompletedProcesses().
335
336 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
337
338         * text3.C (dispatch): fix, finally fix, the language problem in
339         new lyxtexts, without disabling on-the-fly font changes (Helge's
340         bug report)
341
342 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
343
344         * text3.C (dispatch): set cursor on double/triple click events
345         (bug 1811)
346
347 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
348
349         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
350         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
351
352         * rowpainter.C (paintFirst): simplify the code a little bit. In
353         particular, remove the test for secnumdepth.
354         * text.C (setHeightOfRow): only allocate space for chapter number
355         when updateCounters provided an actual label, instead of looking
356         at secnumdepth directly.
357
358         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
359
360         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
361         paragraphs when secnumdepth is large enough or, for environments,
362         when they are not the first in a sequence.
363
364 2005-04-17  Angus Leeming  <leeming@lyx.org>
365
366         * buffer.C (makeLaTeXFile): replace code to manipulate a path
367         containing space and '~' characters with a call to latex_path().
368
369 2005-04-17  Angus Leeming  <leeming@lyx.org>
370
371         * converter.C (convert): protect all args of convertDefault.sh
372         script with quotes.
373
374 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
375
376         * text3.C (dispatch): change the layout to "Caption" after inserting
377         a float.
378
379 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
380
381         * text3.C (dispatch): fix language problem in newly created
382         textinsets (and main text) in non-english docs
383
384 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
385
386         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
387         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
388         * text3.C (getStatus): disable LFUN_INSET_MODIFY
389
390 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
391
392         * lyxtext.h:
393         * text.C (metrics):
394         * text2.C (getFont):
395         * rowpainter.C (getFont): Fix metrics bug introduced by inset
396         fonts fix
397
398 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
399
400         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
401         output of \item arguments without trailing text.
402
403 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
404
405         * FontIterator.C (operator*): avoid a copy of the font.
406
407 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
408
409         * rowpainter.C (getFont): fix language bug from previous fix
410
411 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
412
413         * rowpainter.C (RowPainter, getFont): fix font inside inset
414         (bugs 1766, 1809)
415
416 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
417
418         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
419         preventing inserted font, deco, delim insets jumping to start of
420         surrounding inset.
421
422 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
423
424         * lyxfunc.C (dispatch): translate message before sending it to the
425         minibuffer.
426
427 2005-03-29  Angus Leeming  <leeming@lyx.org>
428
429         * lyx_main.C (priv_exec): call os::internal_path on each file passed
430         to LyX on the command line.
431
432 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
433
434         * vc-backend.C: use QuoteName to protect file names wherever
435         necessary.
436
437 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
438
439         * buffer.[Ch]:
440         * BranchList.h: fix bugs 1844,1845: document settings don't
441         stick
442
443 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
444
445         * lyxrc.C (setDefaults, read, output, getDescription): add support
446         for tex_allows_spaces.
447
448         * exporter.C (Export): allows files in directory containing spaces
449         if tex_allows_spaces is true.
450
451         * buffer.C (makeLaTeXFile): if the document path contains spaces,
452         output it in double quotes.
453
454 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
455
456         * rowpainter.C: use default text height for drawing change tracker
457         strikeout lines.
458
459 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
460
461         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
462
463 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
464
465         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
466         directory is missing.
467
468 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
469
470         * text2.C: fixed the fix, extended to other case.
471
472 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
473
474         * text2.C: fix for cursor up/down stuck in math [bug 1792]
475
476 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
477
478         * text2.C (cursorUp): get rid of a crash
479         * text.C (x2pos): add an assert
480
481 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
482
483         * lyxfunc.C (getStatus): fix warning when assertions are disabled
484
485         * text3.C:
486         * lyxfunc.C:
487         * dociterator.C: include <boost/current_function.hpp>, which is
488         needed when assertions are disabled.
489
490 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
491
492         * text2.C: fix for stuck cursor when traversing two
493         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
494
495 2005-02-25  Andreas Vox  <avox@arcor.de>
496
497         * output_docbook.C (makeParagraph): suppress trailing newline
498         after a run of paragraphs
499
500 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
501
502         * paragraph.C: fix for confused change tracker when pasting
503         text that begins with a lineseparator. [bug 1827]
504         (setChange(0, Change::INSERTED);)
505
506         * paragraph_funcs.C: fix for lost changes on triple-paste
507         in change tracking mode [bug 1827] (par.setChange()).
508
509 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
510
511         * text2.C (updateCounters, setCounter, expandLabel): move to
512         buffer_funcs.
513
514         * buffer_funcs.C (updateCounters): turn into a free standing
515         function and add a buffer parameter. Remove dead code for tracking
516         labelstring change.
517         (setCounter): change into a free-standing function which gets a
518         dociterator as argument. Use this iterator to fix captions in a
519         simple way. When no float is found above the caption, use the
520         labelstring of the caption layout as default.
521
522         * text.C (breakParagraph, backspace):
523         * text2.C (init, setLayout, changeDepth):
524         * text3.C (dispatch):
525         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
526         updateCounters.
527
528         * dociterator.C (forwardPar): make it much faster by calling
529         forwardPos() only when really necessary.
530
531         * output_docbook.C (makeCommand): adapt to expandLabel move.
532
533         * cursor.C: remove unused variable
534
535 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
536
537         * paragraph_funcs.C: fix crash when pasting insets in change
538         tracking mode [bug 1277] (honour change type in moveItem).
539
540 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
541
542         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
543
544 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
545
546         * BufferView.C (setCursor): change to use a DocIterator.
547         (gotoLabel): use BufferView::setCursor (other part of bug 781).
548         (putSelectionAt): adapt to BufferView::setCursor change.
549
550         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
551         moved here from LyXText and rewritten to use proper cursor
552         methods. Fixes bug 1787, 616 and 835.
553
554         * BufferView_pimpl.C (restorePosition): set the cursor correctly
555         when inside an inset (part of bug 781).
556         (dispatch): adapt to change of BufferView::setCursor.
557         (getStatus, dispatch): handle LFUN_GOTOERROR,
558         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
559
560         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
561         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
562         * text3.C (gotoNextInset, gotoInset): removed.
563
564 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
565
566         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
567
568 2005-02-15  Angus Leeming  <leeming@lyx.org>
569
570         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
571         can be used meaningfully in a comparison.
572
573 2005-02-13  André Pönitz  <poenitz@gmx.net>
574
575         * bufferview_funcs.C (coordOffset): improve cursor drawing
576
577 2005-02-13  André Pönitz  <poenitz@gmx.net>
578
579         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
580         * Cursor.C (dispatch): use fixIfBroken
581         * lyxfunc.C (getStatus): use fixIfBroken
582
583 2005-02-15  Angus Leeming  <leeming@lyx.org>
584
585         * lyx_main.C (error_handler):
586         * lyxfunc.C:
587         * lyxrc.C (setDefaults):
588         s/GetEnv/getEnv/.
589         #include "environment.h".
590
591         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
592
593 2005-02-15  Angus Leeming  <leeming@lyx.org>
594
595         * lyxserver.C (startPipe): squash MSVC warning "local variable
596         'fd' used without having been initialized".
597
598 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
599
600         * BufferView_pimpl.C: revert accidental commit.
601
602 2005-02-14  André Pönitz  <poenitz@gmx.net>
603
604         * dociterator.[Ch]: new member forwardPosNoDescent(),
605         which doesn't enter nested insets.
606         * text2.C (setFont): use forwardPosNoDescent() instead
607         of ForwardPos() (fixes crash on font change).
608
609 2005-02-13  Angus Leeming  <leeming@lyx.org>
610
611         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
612         only if lyxrc.path_prefix is not empty.
613
614 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
615
616         * bufferparams.C (readGraphicsDriver): prevent crash
617
618 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
619
620         * text2.C (setCounter): check for inInset() == 0
621
622 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
623
624         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
625         but use update() to get correct screen display; use convert
626         instead of istringstream.
627         (getStatus): handle LFUN_GOTO_PARAGRAPH
628
629         * lyxfunc.C (dispatch, getStatus): do not handle
630         LFUN_GOTO_PARAGRAPH here.
631
632 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
633
634         * text3.C (dispatch): size() -> depth()
635
636         * text2.C: remove some debug output
637
638         * paragraph.C: ws changes only
639
640         * lyxfunc.C (getStatus): size() -> depth()
641
642         * dociterator.h (clear, push_back, pop_back, internalData,
643         operator[], resize, empty): new functions
644         Make StableDocIterator and operator== be friends. Don't inherit
645         from std::vector use a privat class variable slices_ instead.
646         Modify to fit.
647
648         * dociterator.C: update because of not inheriting from std::vector
649         anymore. Call explictly to slices_ instead. Use depth() instead of
650         size() and top() instead of back()
651
652         * cursor.C: chagne size() -> depth and back() -> top(). Also
653         remove some direct operator[](i) calls in favour of foo[i]
654         (getFont): remove some dead code
655
656         * bufferview_funcs.C (coordOffset): size() -> depth()
657
658         * buffer.C: ws changes only
659
660         * CutAndPaste.C (eraseSelection): back() -> top()
661
662         * BufferView_pimpl.C (selectionRequested): back() -> top()
663
664         * BufferView.C (setCursor): size() -> depth()
665
666 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
667
668         * text3.C (cursorPrevious): return true if depm changed something
669         (cursorNext): ditto
670         (dispatch): rename sl to oldTopSlice, remove moving use the new
671         NoUpdate func attrib instead. Make sure that needsUpdate is set
672         for function that have NoUpdate, but where depm might have changed
673         the buffer anyway.
674
675         * text2.C (cursorLeft): make us return true if depm changed
676         something
677         (cursorRight): ditto
678         (cursorUpParagraph): ditto
679         (curosrDownParagraph): ditto
680         (cursorUp, cursorDown): ditto, make sure to read comments in code
681         (deleteEmptyParagraphMechanism): remove an assert, also return
682         true if just a single char was deleted.
683
684         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
685         cursor that we modify, to avoid modifying an active cursor before
686         we call setCursor. This allows depm to run. Also return true if
687         depm deleted something.
688
689         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
690         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
691         cursorDownParagraph, cursorPrevious and cursorNext, return true if
692         something was changed in the buffer because of them (ie. depm run)
693
694         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
695         debug messages. Make update by default be false. Make sure that
696         the result of update is retained throught several calls down to
697         dispatch.
698
699         * LyXAction.h: add a new func_attrib: NoUpdate
700
701         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
702         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
703         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
704         and LFUN_WORDLEFT
705         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
706
707 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
708
709         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
710         bv_->owner(), bv_->buffer() by direct references to the private
711         members.
712         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
713         (getStatus): isSavedPosition() is in BufferView::Pimpl.
714         (fitCursor): center() is in BufferView::Pimpl.
715         (getStatus, trackChanges, dispatch): no need for a temporary buf
716         variable
717         (fitCursor, workAreaDispatch): use workarea().workheight()
718
719 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
720
721         * CutAndPaste.C (pasteSelectionHelper): fix a crash
722
723 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
724
725         * buffer.C: format up to 241.
726         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
727         break if pasting into ERT
728         * lyxfunc.C (getStatus): suppress mathpanel and
729         LFUN_DIALOG_SHOW_NEW_INSET in ERT
730
731 2005-02-01  Angus Leeming  <leeming@lyx.org>
732
733         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
734
735 2005-02-01  Angus Leeming  <leeming@lyx.org>
736
737         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
738         calling fs::is_directory().
739
740 2005-01-31  Angus Leeming  <leeming@lyx.org>
741
742         * lyx_main.C (priv_exec): specify explicitly the relative location
743         of the top level build directory when run in-place.
744
745 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
746
747         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
748         LyXText containing the cursor, not the top-level one.
749
750         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
751         true.
752         (insertStringAsLines): rename par to pit; use temporary variable
753         par to hold a Paragraph; do not store par.layout() in a variable,
754         since the pointer may die when breaking paragraphs; pass pars to
755         breakParagraph() instead of Buffer::paragraphs().
756
757 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
758
759         * lyxlex_pimpl.h: #include <fstream>.
760
761         * BufferView.[Ch] (getLyXText): add a const version.
762
763         * BufferView_pimpl.C: add debug aids.
764
765         * RowList_fwd.h:
766         * buffer.h:
767         * lyxrow.h:
768         * paragraph_funcs.h: add commentary explaining what the class does.
769
770
771         * coordcache.[Ch]: add lots of commentary.
772         (startUpdating, doneUpdating): debug aids.
773         (arrays, insets, parPos, getParPos): accessors to private data.
774
775         * cursor_slice.[Ch] (text): add a const version.
776         * dociterator.[Ch] (text, innerText): add const versions.
777
778         * lyxtext.h (breakParagraph): change the keep_layout arg to a
779         bool.
780
781         * paragraph.C (getRow, pos2ros): add asserts.
782
783         * paragraph.h: add commentary. Lots of.
784
785         * paragraph.[Ch] (metrucs, draw): removed.
786
787         * cursor.C:
788         * rowpainter.[Ch]: const-correct changes.
789
790         * text.C: various obvious clean-ups. Removal of ancient cruft.
791         Bug fixes, even.
792
793 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
794
795         * vc-backend.C (find_file): rewrite to use boost.filesystem
796         (scanMaster): ditto
797
798         * main.C (main): set default name check for boost.filesystem to
799         no check
800
801         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
802         (open): ditto
803         (doImport): ditto
804         (actOnUpdatedPrefs): ditto
805
806         * lyx_main.C (init): rewrite to use boost.filesystem
807         (queryUserLyXDir): ditto
808
809         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
810         (getContentsOfAsciiFile): ditto
811
812         * lastfiles.C (readFile): rewrite to use boost.filesystem
813
814         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
815
816         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
817         (loadLyXFile): ditto
818
819         * buffer.C (Buffer): adjust for destroydir
820         (getLogName): rewrite to use boost.filesystem
821         (setFileName): ditto
822         (save): use fs::copy_file (from fs_extras)
823
824         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
825
826         * LaTeX.C (run): rewrite to use boost.filesystem
827         (scanAuxFiles): ditto
828         (handleFoundFile): ditto
829
830 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
831
832         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
833
834         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
835
836 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
837
838         * lyxlayout.[Ch]: change some vars from float to double
839
840         * buffer.C (readFile): make a local var const
841
842         * Several files: use convert<> instead of atoi,strToXXX and friends
843
844 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
845
846         * LaTeXFeatures.[Ch]: Add a static list packages_ that
847         holds the contents of packages.lst. New functions getAvailable
848         and isAvailable to parse and check that list, resp.
849
850         * LyXAction.C:
851         * lfuns.h:
852         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
853
854         * bufferparams.[Ch]: new param output_changes.
855
856         * Buffer.C: increase file format to 240.
857         Use output_changes and isVailable.
858
859         * changes.[Ch]:
860         * paragraph.C:
861         * paragraph_pimpl.C: Use output_changes and isVailable.
862
863 2005-01-23  Angus Leeming  <leeming@lyx.org>
864
865         * output_latex.C: #include "insetbibitem.h", rather than
866         forward declare function bibitemWidest.
867
868 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
869
870         * lyx_main.C (init): make it compile on the Mac.
871
872 2005-01-20  Angus Leeming  <leeming@lyx.org>
873
874         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
875         (setLyXMisc): (char string literal) != (char string literal) is
876         performing a comparison on the addresses. Convert one operand
877         explicitly to string to guarantee expected behaviour.
878         From MSVC warning.
879
880 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
881
882         * buffer.C:
883         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
884
885         * output_plaintext.C: remove unneeded #include gzstream.h.
886
887 2005-01-20  Angus Leeming  <leeming@lyx.org>
888
889         * SpellBase.h: rename some of the elements of the Result enum.
890
891         * aspell_local.h:
892         * ispell.h:
893         * pspell.h:
894         * aspell.C (check):
895         * ispell.C (check):
896         * pspell.C (check): ditto
897
898 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
899
900         * buffer.C: add #include <fstream>.
901
902         * lyx_main.C (init): Compile fix.
903
904         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
905
906 2005-01-20  Angus Leeming  <leeming@lyx.org>
907
908         * mover.h: change commentary to reflect the changed meaning of
909         the $$s placeholder.
910
911 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
912
913         * output_linuxdoc.C (linuxdocParagraphs): silence warning
914
915         * lyxfind.C (MatchString::operator()): remove bogus semicolon
916
917 2005-01-20  Angus Leeming  <leeming@lyx.org>
918
919         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
920         printing diagnostic data by not dereferecing an iterator past the
921         end.
922
923 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
924
925         * buffer.C (readHeader): use "&&" rather than "and".
926
927         * lyxserver.h (inPipeName, outPipeName): make these const.
928
929 2005-01-19  Angus Leeming  <leeming@lyx.org>
930
931         * lyx_main.C (error_handler, init): protect SIGHUP with
932         #ifdef SIGHUP guards.
933
934 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
935
936         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
937
938 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
939
940         * text.C (setHeightOfRow): add a margin at the top and bottom of
941         the document (bug 1761)
942
943 2005-01-17  Angus Leeming  <leeming@lyx.org>
944
945         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
946         with "python ". Workaround for a brain-dead Windows.
947
948 2005-01-16  Angus Leeming  <leeming@lyx.org>
949
950         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
951         for MacOSX and Windows to use prependEnvPath.
952         Strip out the hard-coded block to add elements to the PATH for
953         MacOSX and replace it with a call to prependEnvPath using the
954         contents of LyXRC::path_prefix.
955         (queryUserLyXDir): strip out the code to run reconfigure, instead
956         returning a boolean indicating the necessity to do so.
957         (reconfigureUserLyXDir): contains the code to reconfigure the
958         user support directory. Is now called after the various LyXRC data
959         files have been read.
960
961         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
962
963 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
964
965         * converter.[Ch] (convert): take a new parameter try_default. Use
966         a default converter (imagemagick) if try_default is true.
967
968 2005-01-13  Angus Leeming  <leeming@lyx.org>
969
970         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
971         os::cygwin_path_fix.
972         (write): output LyXRC::cygwin_path_fix as necessary.
973
974 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
975
976         * lyxrc.h:
977         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
978
979 2005-01-12  Angus Leeming  <leeming@lyx.org>
980
981         * lyx_main.C (init): set the PATH variable to include the
982         directory containing the LyX binary when running on Mac or Windows.
983
984 2005-01-12  Angus Leeming  <leeming@lyx.org>
985
986         * lyx_main.C (init): remove cruft that purports to set the locale
987         dir. It doesn't and is not needed anyway.
988
989 2005-01-10  Angus Leeming  <leeming@lyx.org>
990
991         * Makefile.am: remove the lyx_main.C special casing.
992
993         * BufferView_pimpl.C:
994         * bufferlist.C:
995         * exporter.C:
996         * lyx_cb.C:
997         * lyx_main.C:
998         * lyxfunc.C:
999         * messages.C: use support/package.h to provide the paths to the
1000         various directories used by LyX.
1001
1002 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1003
1004         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1005         layout if pasting into an empty paragraph)
1006
1007 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1008
1009         * tex-accent.C: add <string>
1010
1011 2005-01-06  José Matos  <jamatos@lyx.org>
1012
1013         * ParagraphParameters.C (write): put every parameter in its own line.
1014         * paragraph.C (write): reduce number of consecutive empty lines exported.
1015         * buffer.C (LYX_FORMAT): increase file format to 239.
1016
1017 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1018
1019         * everywhere: change support/tostr.h -> support/convert.h
1020
1021         * tabular.C: make all write_attributes templates, tostr -> convert
1022
1023         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1024         (emptyTag): and -> &&, and fix type for ret from getChar
1025         (getFirstWord): fix type for ret from getChar
1026         (onlyText): and -> &&
1027         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1028         getChar
1029
1030         * toc.C (goTo, action):
1031         * text3.C (dispatch):
1032         * text.C (currentState):
1033         * tex-accent.C (DoAccent):
1034         * sgml.C:
1035         * lyxrc.C:
1036         * lyxfunc.C (menuNew):
1037         * lyxfinc.C (replace):
1038         * counters.C (laberItem):
1039         * bufferview_funcs.C (font2string):
1040         * bufferparams.C (writeFile):
1041         * buffer.C (readFile):
1042         * Spacing.C (set):
1043         * MenuBackend.C: tostr -> convert
1044
1045         * LaTeX.C (runMessage): fix format
1046         (scanAuxFiles): tostr -> convert
1047
1048         * BufferView_pimpl.C (savePosition): fix format
1049         (restorePosition): ditto
1050         (dispatch): ditto
1051
1052 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1053
1054         * Spacing.[Ch]: New method getValueAsString().
1055
1056         * Spacing.[Ch]:
1057         * bufferparams.C:
1058         * ParagraphParameters.C:
1059         * lyxlayout.C:
1060         * text.C:
1061         * text3.C: store/read spacing value as string.
1062
1063         * rowpainter.C: change float value (spacing_val) to double.
1064
1065         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1066         broken custom document spacing).
1067
1068 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1069
1070         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1071         namespace, also more use of temp references and const
1072
1073         * cursor.[Ch] (getStatus): move to lyxfunc.C
1074
1075         * bufferparams.C: reformat slightly
1076
1077         * bufferview_funcs.C (font2string): constify arg
1078
1079         * changes.C:
1080         * converter.C:
1081         * counters.C:
1082         * bufferlist.C:
1083         * buffer_funcs.C: (many funcs): constify arg on function
1084         definitions, also make more local vars const, also add ASSERTS on
1085         pointer args.
1086
1087         * buffer.C (LYX_FORMAT): put const in correct place
1088         (many funcs): constify arg on function definitions, also make
1089         more local vars const
1090
1091         * aspell_local.h: remove "struct" from typdef setup
1092
1093         * aspell.C (check): make word_ok const
1094         (nextMiss): simplify slightly
1095         (error): ditto
1096
1097 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1098
1099         * lyxrc.[Ch]: store all float values as strings.
1100         use int (not float) for lyxrc.dpi.
1101
1102 2005-01-04  Angus Leeming  <leeming@lyx.org>
1103
1104         * lyx_cb.C (Reconfigure):
1105         * lyx_main.C (queryUserLyXDir):
1106         to run the <system_lyxdir>/configure correctly on Windows, prefix
1107         the path to the script with "sh " when generating the string that
1108         is passed to system().
1109
1110 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1111
1112         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1113
1114 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1115
1116         * lyxlength.C (asLatexString): get rid of setprecision
1117
1118 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1119
1120         * text2.C (setLayout): remove unused variable endpit.
1121         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1122
1123         * paragraph.C (onlyText): remove unused variable style.
1124
1125         * cursor.C (bruteFind): remove unused variables beg and end.
1126
1127         * Makefile.am (dist_noinset_DATA): not needed anymore
1128
1129         * cheaders/*: remove.
1130
1131 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1132
1133         * text3.C: fix LFUN_MATH_MODE.
1134
1135 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1136
1137         * buffer_funcs.C (countWords): new function. Counts words between
1138         two iterators.
1139
1140         * BufferView_pimpl.C (getStatus, dispatch): handle
1141         LFUN_WORDS_COUNT.
1142
1143         * LyXAction.C (init):
1144         * lfuns.h: add LFUN_WORDS_COUNT.
1145
1146 2004-12-19  Angus Leeming  <leeming@lyx.org>
1147
1148         * buffer.C (save): s/slashify_path/internal_path/.
1149
1150 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1151
1152         * lyxfind.C (findChange): do not search for end of pars, because
1153         the change tracker cannot handle this (fixes bug 1719).
1154
1155 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1156
1157         * paragraph.[Ch] (autoBreakRows): remove
1158
1159         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1160
1161         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1162         avoid using the paragraph one
1163
1164         * text2.C (LyXText, insertStringAsLines): adjust
1165
1166 2004-12-16  Angus Leeming  <leeming@lyx.org>
1167
1168         * bufferlist.C:
1169         * lyx_main.C:
1170         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1171
1172 2004-12-14  Angus Leeming  <leeming@lyx.org>
1173
1174         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1175
1176         * bufferlist.C (emergencyWrite):
1177         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1178         GetEnvPath("HOME").
1179
1180 2004-12-14  Angus Leeming  <leeming@lyx.org>
1181
1182         * main.C: (main): no longer pass pointers to os::init.
1183
1184 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1185
1186         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1187         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1188
1189 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1190
1191         * lyxfunc.C:
1192         * text3.C: remove selection_possible global flag
1193
1194 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1195
1196         * text2.C (getSelectionSpan): remove
1197         (changeDepth, changeDepthAllowed): adjust
1198
1199 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1200
1201         * Makefile.am (BOOST_LIBS): use boost variables
1202
1203 2004-12-03  José Matos  <jamatos@lyx.org>
1204
1205         * buffer.C: format up to 238.
1206
1207 2004-12-03  José Matos  <jamatos@lyx.org>
1208
1209         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1210
1211 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
1212
1213         * cursor.C (goUpDown): remove call to idxUpDown2
1214
1215 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1216
1217         * tabular.[Ch]: use size_t-like types for cell, row and column
1218         indices
1219
1220 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1221
1222         * lyxfunc.C (getStatus): do not lose previous information when
1223         calling BufferView::getStatus; do not set a default "Command
1224         disabled" message at the beginning, but just before returning.
1225
1226 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1227
1228         * cursor.h (getStatus): add better comment from src/cursor.C
1229
1230 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1231
1232         * text3.C (getStatus): return false when the lfun is not handled
1233
1234 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1235
1236         * broken_headers.h: remove
1237
1238         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1239
1240 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1241
1242         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1243         offset_ref accessors
1244
1245         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1246         top_y_, merge fitcursor with update
1247         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1248         coord scheme
1249         (metrics): introduce
1250         (workAreaDispatch): adapt to new coord scheme
1251         (redoCurrentBuffer): remove
1252
1253         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1254
1255         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1256         CurStatus enum.
1257
1258         * coordcache.[Ch]: add paragraph cache and helpers
1259
1260         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1261         adjust everywhere
1262
1263         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1264         (targetX, setTargetX): introduce
1265
1266         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1267         baseline -> ascent, as the rest of lyx
1268
1269         * lyxtext.h: remove redoParagraphs, updateParPositions,
1270         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1271         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1272         have ascent/descent (ascent is ascent of first par)
1273
1274         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1275         step of BufferView
1276
1277         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1278
1279         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1280
1281         * pariterator.C: fix infinite loop introduced in par->pit renaming
1282
1283         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1284         in insets and LyXText, draw two off-screen paragraphs using
1285         NullPainter, and adapt to new coord scheme
1286
1287         * text.C:
1288         * text2.C:
1289         * text3.C: adapt lfun handlers to the new coord scheme, which
1290         means: there's only guaranteed coord information for onscreen pars
1291         plus one above and one below. This implies that one can do search
1292         from y coordinates in the range [-1,workHeight]
1293
1294 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1295
1296         * rename a lot of InsetOld to InsetBase
1297
1298 2004-11-25  Angus Leeming  <leeming@lyx.org>
1299
1300         * BufferView_pimpl.C:
1301         * lyx_cb.C:
1302         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1303
1304 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1305
1306         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1307         call BufferView::getStatus if LCursor::getStatus did nothing
1308         (setStatusMessage, getStatusMessage): removed.
1309
1310         * FuncStatus.C (message): new methods. Used to provide an error
1311         message indicating why a command is disabled.
1312         (clear, |=, FuncStatus): update for message.
1313
1314 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1315
1316         * lyxfunc.C (dispatch): always call sendDispatchMessage
1317
1318 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1319
1320         * BufferView.C:
1321         * BufferView_pimpl.C:
1322         * CutAndPaste.C:
1323         * FontIterator.C:
1324         * buffer.C:
1325         * cursor.C:
1326         * cursor_slice.[Ch]:
1327         * dociterator.[Ch]:
1328         * lyxfind.C:
1329         * paragraph_funcs.C:
1330         * pariterator.C:
1331         * rowpainter.C:
1332         * text.C:
1333         * text2.C:
1334         * text3.C:
1335         * undo.C: par->pit renaming
1336
1337 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1338
1339         * tabular.C (cellstruct): use initialization, store a shared_ptr
1340         to insettext instead of the insettext directly, adjust to fit.
1341         (operator=):  new function
1342         (swap): new function
1343         (rowstruct): use initialization
1344         (columnstruct): use initialization
1345         (ltType): use initialization
1346
1347
1348         * lyxlength.h (swap): new function
1349
1350         * LColor.[Ch] (operator=): use the common semantics
1351
1352 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1353
1354         * lyxfind.C (findNextChange): update the bufferview after setting
1355         the selection.
1356
1357 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1358
1359         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1360         number of InsetOptArgs has already been inserted.
1361
1362         * output_latex.C (latexOptArgInsets): new method. This outputs all
1363         the optarg insets, up to the limit defined in the layout file.
1364         (optArgInset): removed
1365         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1366
1367 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1368
1369         * paragraph.C (isLetter): remove special spellchecker-related
1370         code; return true also for digits
1371         (isWord, isKomma): remove
1372
1373         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1374         * lyxfind.C (MatchString()): use isLetter instead of isWord
1375
1376 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1377
1378         * pariterator.h (operatir=): comment out un-implemented member
1379         function.
1380
1381         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1382         static cast.
1383
1384 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1385
1386         * lyxfont.h: include LColor.h to satisfy concept checks.
1387
1388 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1389
1390         * pariterator.h: add typdefs for value_type, difference_type,
1391         pointer and reference to satisfy concept checks. Also add default
1392         constructor for same reason.
1393
1394         * pariterator.C (operator++): add post-increment operator to
1395         satisfy concept checks.
1396
1397         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1398         checks.
1399
1400         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1401
1402         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1403         checks. Also rename base_type to BaseType to follow naming
1404         standard better.
1405
1406         * FloatList.h: include Floating.h to satisfy concept checks.
1407
1408 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1409
1410         * lyxfunc.C (getStatus): when the origin of the request is menu or
1411         toolbar, and the LyXView does not have focus, do as if there was
1412         no buffer (bug 1720)
1413
1414         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1415         FuncRequest to individual entries of LFUN_SEQUENCE
1416
1417 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1418
1419         * output_latex.C (TeXOnePar): override runparams.moving_arg
1420         according to the needprotect value of the current paragraph (bug
1421         1739)
1422
1423         * paragraph.C (simpleTeXOnePar): no need to override
1424         runparams.moving_args here
1425
1426 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1427
1428         * vspace.C: fix off-by-one-error, related to fix #1682
1429
1430 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1431
1432         * lengthcommon.C: a more general fix for bug 1682
1433
1434 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1435
1436         * text.C (backspace): fix crash
1437
1438 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1439
1440         * format.[Ch] (getFormatFromFile): new method
1441         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1442
1443 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1444
1445         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1446
1447 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1448
1449         * lyxfunc.C (dispatch): remove the verbose argument
1450         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1451         instead
1452
1453         * kbmap.C (defkey): set the origin of func to KEYBOARD
1454
1455         * MenuBackend.C (MenuItem):
1456         * ToolbarBackend.C (add): set the origin of func to UI
1457
1458         * funcrequest.[Ch]: add origin member, which indicates which part
1459         of LyX requests an action
1460
1461 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1462
1463         * converter.C (move): don't lie in the error message
1464         * converter.h (isReachable, move): document
1465
1466 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1467
1468         * buffer.C: remove unused using lyx::support::atoi
1469         * paragraph_funcs.C: ditto
1470
1471 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1472
1473         * bufferlist.C (exists): use bind and equal_to instead of
1474         compare_memfun
1475         (getBuffer): ditto
1476         * lyxtextclasslist.C (NumberOfClass): ditto
1477
1478         * cursor.C (insert): use for_each instead of explicit for loop
1479
1480         * bufferlist.C (getFileNames): use std::transform and
1481         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1482
1483         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1484         for loop
1485
1486         * buffer.C (changeLanguage): use for_each instead of explicit for
1487         loop
1488         (hasParWithID): implement using getParFromID
1489
1490         * LaTeXFeatures.C: ws change only
1491
1492         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1493         to cleanup a bit.
1494
1495         * BufferView_pimpl.C (trackChanges): use for_each instead of
1496         expilicit for loop
1497
1498 2004-11-04  André Pönitz  <poenitz@gmx.net>
1499
1500         * undo.h:
1501         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1502
1503         * dociterator.C (asDocIterator): use hard assert again.
1504
1505 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1506
1507         * lyxlength.C (asLatexString): rewrite so that it does not use
1508         snprintf anymore
1509
1510 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1511
1512         * text3.C (specialChar, dispatch): make sure cursor moves to the
1513         right after inserting an inset
1514
1515 2004-11-02  José Matos  <jamatos@lyx.org>
1516
1517         * output_docbook.C (docbook):
1518         * paragraph.C (getID):
1519         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1520         garantee that the output is always legal.
1521
1522         * tabular.C (docbook):
1523         * outputprams.[Ch]: remove mixed contents.
1524
1525 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1526
1527         * text2.C (setCounter): prevent endless loop
1528
1529 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1530
1531         * exporter.C (copyFile): use the mover instead of support::copy()
1532         * exporter.C (Export): pass format and latex name to copyFile()
1533         * exporter.h (addExternalFile): document
1534         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1535
1536 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1537
1538         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1539
1540 2004-10-30  José Matos  <jamatos@lyx.org>
1541
1542         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1543         text and no inset or font change. This allows to use CDATA
1544         sections just for the whole paragraph.
1545
1546 2004-10-30  José Matos  <jamatos@lyx.org>
1547
1548         * paragraph.C (getFirstWord): remove unused variable.
1549
1550 2004-10-30  José Matos  <jamatos@lyx.org>
1551
1552         * paragraph.C (getFirstWord): the content should always be escaped
1553         there.
1554         (simpleDocBookOnePar):
1555         * output_docbook.C (makeEnvironment): replace reference to CDATA
1556         to style pass_thru.
1557
1558 2004-10-30  José Matos  <jamatos@lyx.org>
1559
1560         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1561
1562 2004-10-30  José Matos  <jamatos@lyx.org>
1563
1564         * output_docbook.C (makeParagraphs):
1565         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1566         standard paragraph has only a given type of content drop the wrapper.
1567
1568 2004-10-29  José Matos  <jamatos@lyx.org>
1569
1570         * output_docbook.C (makeEnvironment):
1571         * sgml.C (openTag):
1572         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1573
1574 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1575
1576         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1577         (cleanID): sanitize any id.
1578
1579 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1580
1581         * buffer.C, lyxlex_pimpl.C:
1582         * lyxlex_pimpl.C (setFile):
1583         s/getExtFromContents/getFormatFromContents/
1584
1585 2004-10-28  José Matos  <jamatos@lyx.org>
1586
1587         * output_docbook.C (makeEnvironment): move id to broadest possible
1588         scope.
1589
1590         * sgml.C (openTag): apply substitution of <> for all attributes.
1591
1592 2004-10-28  José Matos  <jamatos@lyx.org>
1593
1594         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1595         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1596         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1597
1598         * sgml.[Ch]: new version for open and closeTag for paragraph and
1599         for strings. Now they handle the ids of paragraphs.
1600
1601 2004-10-26  Angus Leeming  <leeming@lyx.org>
1602
1603         * Makefile.am: add mover.[Ch].
1604
1605         * converter.C (convert, move): use the new Movers to move external
1606         files to the temp directory.
1607
1608         * lyx_main.C (init): ensure that the global system_movers data
1609         is initialised.
1610
1611         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1612         preferences file.
1613
1614         * mover.[Ch]: new files, defining a Mover as a utility to move an
1615         external file between directories and, if necessary, manipulate this
1616         file using a helper script.
1617
1618 2004-10-25  José Matos  <jamatos@lyx.org>
1619
1620         * output_docbook.C (makeCommand): merge two if's that tested the
1621         same condition.
1622
1623 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1624
1625         * sgml.C (escapeString): fix warning in a better way
1626
1627 2004-10-25  José Matos  <jamatos@lyx.org>
1628
1629         * sgml.C (escapeString): import the require boosts header file for
1630         tie, and avoid a signed unsigned comparison.
1631
1632 2004-10-25  José Matos  <jamatos@lyx.org>
1633
1634         * sgml.h: add #include <string>
1635
1636 2004-10-25  José Matos  <jamatos@lyx.org>
1637
1638         * sgml.[Ch] (escapeString): new function to escape all the string.
1639
1640 2004-10-24  José Matos  <jamatos@lyx.org>
1641
1642         * paragraph.[Ch] (getFirstWord): new function to get the first
1643         word. Useful for description.
1644         (simpleDocBookOnePar): remove depth argument, add another that
1645         says where to start the paragraph.
1646
1647         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1648         use the new functions to fix cleanly the support for descriptions.
1649
1650 2004-10-24  José Matos  <jamatos@lyx.org>
1651
1652         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1653         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1654         * output_linuxdoc.C (linuxdocParagraphs):
1655         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1656         add buffer as argument.
1657
1658 2004-10-24  José Matos  <jamatos@lyx.org>
1659
1660         * output_docbook.C (makeEnvironment, searchEnvironment): place
1661         CDATA inside paragraphs and fix scope for listitems.
1662
1663 2004-10-24  José Matos  <jamatos@lyx.org>
1664
1665         * output_docbook.C: remove using statement for stack.
1666
1667 2004-10-23  José Matos  <jamatos@lyx.org>
1668
1669         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1670         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1671         docbook. The new scheme is recursive and makes use of iterators, the
1672         same as latex export works.
1673         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1674         directly with the paragraph contents. This code was moved up to
1675         output_docbook.C (docbookParagraphs).
1676         * sgml.C (openTag, closeTag): removed unneeded newlines.
1677         (closeEnvTags) removed.
1678
1679 2004-10-23  André Pönitz  <poenitz@gmx.net>
1680
1681         * undo.C (textUndoOrRedo):
1682         * dociterator.C (asDocIterator): work around crash
1683
1684         * cursor.C (getStatus): replace ASSERT by more verbose error message
1685           and manual correction of the problem. Should increase stability
1686           while providing more sensible information.
1687
1688 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1689
1690         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1691
1692         * bufferlist.C (previous, next): new methods
1693
1694         * lfuns.h:
1695         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1696
1697 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1698
1699         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1700         entities to preamble.
1701
1702 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1703
1704         * messages.C (Pimpl): strip off translation context information
1705
1706 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1707
1708         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1709         the cursor is correct (bug 1694)
1710
1711 2004-10-13  José Matos  <jamatos@lyx.org>
1712
1713         * output_docbook.C (docbookParagraphs): fix closing tags in the
1714         end of the document.
1715
1716 2004-10-09  José Matos  <jamatos@lyx.org>
1717
1718         * buffer.C: format up to 237.
1719         * bufferparams.C (write): use tostr to convert booleans to strings.
1720
1721 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1722
1723         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1724
1725 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1726
1727         * LaTeX.C: implement use of babel language in xindy.
1728
1729 2004-10-05  José Matos  <jamatos@lyx.org>
1730
1731         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1732         Add new translators to help reading and writing the lyx file.
1733
1734 2004-10-05  José Matos  <jamatos@lyx.org>
1735
1736         * ParagraphParameters.C (read):
1737         * text.C (readParToken): replace nexToken by more appropriate lex
1738         methods.
1739
1740 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1741
1742         * LaTeX.C (runMakeIndex):
1743         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1744         (usually 'makeindex') configurable.
1745
1746         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1747         with a variable rather than with a number.
1748
1749 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1750
1751         * output_latex.C (TeXOnePar): make sure font setting is the first
1752         thing that gets output (and the last at the end). Should fix bug
1753         1404.
1754
1755 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1756
1757         * pch.h: use proper signal include
1758
1759         * LaTeX.h: Use preferred calling of Boost.Signal
1760         * buffer.h: ditto
1761
1762 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1763
1764         * pch.h: dont include <boost/function/function0.hpp>
1765
1766         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1767
1768         * paragraph_pimpl.h: remove usage of ShareContainer
1769
1770         * paragraph_pimpl.C: remove initialization of ShareContainer.
1771
1772 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1773
1774         Fix bug #1666
1775
1776         * BufferView.C (putSelectionAt): change the semantics when
1777         backwards == true: now, this just swaps cursor and anchor wrt the
1778         forward case
1779
1780         * BufferView.h (putSelectionAt): add some documentation
1781
1782         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1783         make sure backwardChar is done at least once (to avoid getting
1784         stuck)
1785         (findNextChange): use putSelectionAt in the forward direction
1786         (operator()): use Paragraph::isWord
1787
1788 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1789
1790         * Spacing.C (set): c_str fix
1791
1792 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1793
1794         * lyx_cb.C (Reconfigure): quote the name of configure script in
1795         case it contains spaces
1796
1797 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1798
1799         * client: new dir
1800
1801         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1802         (BOOST_LIBS): use top_buildir when looking for the file
1803
1804 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1805
1806         * pch.h: do not use include boost/format.hpp, multiple symbols
1807                 will result (gcc bug)
1808
1809
1810 2004-08-23  José Matos  <jamatos@lyx.org>
1811
1812         * bufferparams.C (readToken): fix reading of the author field.
1813
1814 2004-08-20  José Matos  <jamatos@lyx.org>
1815
1816         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1817
1818 2004-08-20  José Matos  <jamatos@lyx.org>
1819
1820         * lyxlex.[Ch] (findToken): remove function.
1821
1822         * ParagraphParameters.C (findToken):
1823         * bufferparams.C (findToken): replace call for previous function
1824         with local copy. This local function has one more argument, the
1825         read string argument.
1826
1827 2004-08-16  José Matos  <jamatos@lyx.org>
1828
1829         * ParagraphParameters.C (write):
1830         * Spacing.C (writeFile):
1831         * bufferparams.C (writeLaTeX):
1832         * lyx_cb.C (Reconfigure):
1833         * paragraph.C (write):
1834         * tabular.C (write): remove unnecessary space at end of line.
1835
1836
1837 2004-08-16  José Matos  <jamatos@lyx.org>
1838
1839         * text.C (readParagraph): remove debug message.
1840
1841 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1842
1843         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1844         crash
1845
1846         * output_plaintext.C (asciiParagraph): set depth correctly
1847
1848         * outputparams.h: add member depth
1849
1850         * paragraph_funcs.C (ownerPar): remove.
1851
1852         * text2.C (setCounter): remove first_pit; comment out some
1853         non-working code that uses ownerPar
1854
1855         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1856         uses ownerPar
1857
1858 2004-08-16  José Matos  <jamatos@lyx.org>
1859
1860         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1861         For the same level of importance use the same chanel to report problems.
1862         (read): add code to deal with \begin_body and \end_body.
1863
1864
1865 2004-08-15  José Matos  <jamatos@lyx.org>
1866
1867         * lyxlex.C (getString): fix comment, buffer::readBody is now
1868         buffer:readDocument.
1869
1870         * tex-strings.C (string_papersize): Default -> default,
1871         Custom -> custom, for consistency with other options.
1872
1873 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1874
1875         * pch.h: new file
1876
1877         * Makefile.am: support pch
1878
1879 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1880
1881         * text.C (readParToken): remove the static LyXFont variable and
1882         pass it as a parameter instead. This fixes a nasty bug where an
1883         inset will be inserted with a bad font in some situations
1884         (readParagraph): adapt
1885
1886         * text2.C (setCounter): reduce number of calls to pars_[pit]
1887
1888         * text.C (singleWidth): add an assert, fix a test
1889
1890         * rowpainter.C (paintText): reduce number of calls to singleWidth
1891
1892         * paragraph.C (isHfill):
1893         (isNewline): ws only
1894
1895 2004-08-14  André Pönitz  <poenitz@gmx.net>
1896
1897         * text.C:
1898         * text2.C:
1899         * rowpainter.C:
1900         * lyxtext.h (several functions): use a Paragraph & argument
1901         instead of par_type
1902
1903 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1904
1905         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1906
1907         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1908
1909         * text.C (singleWidth): remove useless test
1910
1911 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1912
1913         * tabular.h: remove bogus comments
1914
1915         * tabular.C (getDescentOfRow):
1916         (isPartOfMultiColumn): add assertions
1917
1918         * lyxlength.C (inPixels): remove #warning
1919
1920 2004-08-14  André Pönitz  <poenitz@gmx.net>
1921
1922         * paragraph.h: inline getChar()
1923
1924         * BufferView.h: remove unused declarations
1925
1926 2004-08-14  José Matos  <jamatos@lyx.org>
1927
1928         * Buffer.[Ch] (readDocument): new name for old readBody.
1929         * Buffer.C: new file format, new keywords: \begin_document,
1930         \begin_header, \begin_body, \end_body.
1931
1932         * bufferparams.C (readToken): replace all calls to lex.nextToken
1933         by lex.next(). Do the same to eatLine except where really needed.
1934
1935         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1936         line when writing to the lyx file.
1937
1938         * output_plaintext.C (asciiParagraph): fix Bibliography style
1939         handling.
1940
1941         * text.C (read): fix end of file handling.
1942
1943 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1944
1945         * MenuBackend.C (Menu::operator[]): new method to access
1946         individual menu items
1947         (Menu::hasFunc): new method. search for an item that corresponds
1948         to a given func
1949         (MenuBackend::specialMenu): new method
1950         (MenuBackend::expand): if a special menu has been set, skip
1951         entries whose func() appears in this menu
1952
1953 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1954
1955         * text3.C: use Debug::DEBUG a bit more
1956
1957         * text.C (leftMargin): try to simplify a tiny bit change var x to
1958         l_margin. Dont output the wide margins always.
1959         (rightMargin): no margin in inner texts
1960
1961         * rowpainter.h (nestMargin): new func
1962         (changebarMargin): new func
1963         (rightMargin): new func
1964
1965         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1966         now functions.
1967         (paintLast): ditto
1968
1969         * factory.C (createInset): modify setDrawFrame
1970
1971         * cursor.C: use Debug::DEBUG a bit more
1972
1973 2004-08-14  André Pönitz  <poenitz@gmx.net>
1974
1975         * coordcache.[Ch]:
1976         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1977         cache for all insets in (at least partially) visible (top-level)
1978         paragraphs.
1979
1980         * BufferView_pimpl.C: reset external coord cache before every update.
1981         This means the coord cache only contains valid entries.
1982
1983 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1984
1985         bug 1096
1986         * BufferView_pimpl.C (getInsetByCode): move function out of class
1987         and change in to a template in anon namespace. Also fix to do what
1988         suits us better.
1989
1990 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1991
1992         bug 1305
1993         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1994         of char
1995         (breakParagraph): rename par to par_offset and use a local
1996         reference. Add code to keep the language over a rebreak.
1997         (breakParagraphConservative): rename par to par_offset, use a
1998         local reference
1999         (mergeParagraph): ditto
2000         (outerHook): ditto
2001         (isFirstInSequence): ditto
2002         (outerFont): rename pit to par_offset
2003
2004         * paragraph.C: ws change
2005         * paragraph.h: ditto
2006         * text3.C: ditto
2007         * text.C: ditto
2008
2009 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2010
2011         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2012         treatment for ']'
2013
2014         * paragraph.C (simpleTeXOnePar): when we have a \item with
2015         optional argument, enclose the argument with curly brackets (in
2016         case it contains a closing square bracket)
2017
2018         * text2.C (editXY):
2019         * text2.C (editXY):
2020         * text3.C (checkInsetHit): constify
2021
2022 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2023
2024         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2025         documents (bug 1629)
2026
2027 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2028
2029         Fix toggling of collapsable insets with the mouse (bug 1558)
2030
2031         * lyxfunc.C (dispatch): adapt to LCursor changes
2032
2033         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2034         make sure that dispatch is not invoked twice
2035
2036         * cursor.C (needsUpdate): new method
2037         (dispatch): return void
2038         (result): new method, to access the DispatchResult of the cursor.
2039
2040 2004-08-13  José Matos  <jamatos@lyx.org>
2041
2042         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2043
2044 2004-08-13  André Pönitz  <poenitz@gmx.net>
2045
2046         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2047
2048         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2049           multiple cells
2050
2051 2004-08-12  André Pönitz  <poenitz@gmx.net>
2052
2053         * text3.C: take out the 'cursor right' form insertInset and only
2054         do it in those places when it is really needed. Fixes crash on
2055         C-m...
2056
2057 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2058
2059         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2060
2061         * BufferView_pimpl.C (setBuffer): initialize the current font of
2062         the underlying LyXText
2063
2064 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2065
2066         * kbsequence.C (print): use UI native formatting for menu
2067         shortcuts
2068
2069         * text.C (insertChar): call Paragraph::insertChar with a font
2070         argument (cosmetic)
2071
2072         * paragraph.C (insertInset, insertChar): the version that takes a
2073         LyXFont argument is now a wrapper around the other one (the
2074         opposite used to be true).
2075
2076         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2077         argument. Font setting is done in Paragraph now.
2078
2079 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2080
2081         * outputparams.h: add new members intitle and lang.
2082
2083         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2084         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2085
2086 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2087
2088         * text3.C (dispatch): remove special handling of button 4 and 5,
2089         it is now taken care of in the frontend code.
2090
2091 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2092
2093         * Spacing.h: add <string> (STLPort compile fix)
2094
2095 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2096
2097         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2098
2099 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
2100
2101         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2102         to bool.
2103
2104         * converter.C (showMessage): inherit from unary_function, make
2105         operator() const.
2106
2107         * buffer.C (writeFile): initialize retval
2108
2109         * InsetList.h: rename private variable list to list_
2110         * InsetList.[Ch]: adjust accordingly.
2111
2112 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
2113
2114         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2115         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2116         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2117         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2118         * ParagraphParameters.C, LaTeXFeatures.C: replace
2119         "support/std_sstream.h" with <sstream>
2120
2121 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
2122
2123         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2124         * lyxsocket.C (LyXServerSocket): ditto
2125         (serverCallback): ditto
2126
2127 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2128
2129         * LaTeXFeatures.C: check release date when loading jurabib.
2130
2131 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2132
2133         * lyxserver.C (startPipe): call register_socket_callback
2134         (endPipe): call unregister_socket_callback
2135
2136 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
2137
2138         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2139         (LyXServerSocket): register the callback
2140         (LyXServerSocket): unregister the callback
2141         (fd): delete function
2142         (serverCallback): improve error checking and setup the callbacks.
2143         (dataCallback): change arg to fd.
2144         (writeln): new func (copied fro the client socket) used for server
2145         write to client.
2146         (LyXDataSocket): simplify
2147         (~LyXDataSocket): close ann unregiser callback
2148         (server): delete function
2149         (fd): delete function
2150         (readln): small changes, improve some std::string usage
2151         (writeln): constify a bit
2152
2153 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2154
2155         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2156         Qt frontend
2157
2158 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2159
2160         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2161         after it has been populated
2162
2163 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2164
2165         * text2.C (insertInset): move cursor when inserting inset.
2166
2167 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2168
2169         * kbmap.C (findbindings): a couple of new methods. returns a
2170         container of kb_sequence objects. The real work is done by the
2171         private recursive version
2172         (printbindings): uses findbindings to print out a bracketed list
2173         of bindings (renamed from findbinding).
2174
2175         * MenuBackend.C (binding): use kb_keymap::findbindings
2176
2177         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2178
2179 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2180
2181         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2182
2183 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2184
2185         * paragraph.C (isWord): return true on insets that report
2186         isLetter().
2187
2188         * text.C (getWord): use Paragraph::isWord to decide what is in a
2189         word and what is not; fix bug 1609.
2190
2191 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2192
2193         * tex-strings.C: add "none" to string_paperpackages[], fixes
2194         off-by-one-error in the paperpackage selection.
2195
2196         * lyxlex.[Ch]:
2197         * tex-strings.[Ch]: char const * string[n]
2198         -> char const * const string[]
2199
2200 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2201
2202         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2203         command, return early.
2204
2205 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
2206
2207         * debug.h: add DEBUG to enum and fix size of ANY.
2208
2209         * debug.C: add support for Debug::DEBUG
2210         (showTags): cast errorTags.level to unsigned int
2211
2212         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2213         (redoCurrentBuffer): ditto
2214         (updateScrollbar): ditto
2215         * cursor.C (dispatch): ditto
2216         * text2.C (setLayout): ditto
2217         (setFont): ditto
2218         (updateCounters): ditto
2219         (editXY): ditto
2220         (deleteEmptyParagraphMechanism): ditto
2221
2222 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
2223
2224         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2225         annotations to cleanup the Makefile slightly.
2226
2227 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2228
2229         * lyxrc.C: do not set user_email to a default value but use empty
2230         instead. The entry used to be translated, which does not work
2231         since at the point where lyxrc is constructed there is no
2232         translation service available
2233
2234         * messages.C (getLocaleDir): remove and use directly
2235         lyx_localedir() instead
2236
2237 2004-06-02  Angus Leeming  <leeming@lyx.org>
2238
2239         Fix crash caused by dereferencing null pointer 'exportdata' in
2240         OutputParams by creating a new ExportData variable on the heap,
2241         storing it in a boost::shared_ptr.
2242         The crash was triggered when generating an Instant Preview
2243         of an external inset.
2244
2245         * Makefile.am: add outputparams.C
2246
2247         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2248         (c-tor): allocate memory to it.
2249
2250         * exporter.C (c-tor): associated changes.
2251
2252 2004-06-01  Angus Leeming  <leeming@lyx.org>
2253
2254         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2255         contains data before calling isInset(0). (Bug 1513.)
2256
2257 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2258
2259         * exporter.C (checkOverwrite): new method
2260         * exporter.C (copyFile): new method
2261         * exporter.C (Export): copy referenced files to the document dir
2262         * exporter.[Ch]: new class ExportedFile
2263         * exporter.[Ch]: new class ExportData. Contains currently the
2264         names of referenced external files
2265         * outputparams.h: add exportdata member.
2266
2267 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2268
2269         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2270         version.C-tmp
2271
2272 2004-05-19  Angus Leeming  <leeming@lyx.org>
2273
2274         * LaTeXFeatures.C:
2275         * ToolbarBackend.C:
2276         * bufferparams.C:
2277         * lyxfunc.C: small changes due to the introduction of namespace
2278         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2279
2280 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2281
2282         * text3.C (dispatch): supress update when only moving the cursor
2283         * cursor.C (selHandle): remove commented code
2284
2285 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2286
2287         * paragraph.C (startTeXParParams): correct column count
2288         * CutAndPaste.C (pasteSelection): remove const_cast
2289         * output_docbook.C (docbookParagraphs): remove const_cast
2290         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2291         const_cast and return ParagraphList::const_iterator
2292         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2293         * output_plaintext.C (writeFileAscii): remove const_cast
2294         * paragraph.[Ch] (simpleTeXOnePar): make const
2295         * paragraph_funcs.C (outerPar): use const iterators
2296         * paragraph_pimpl.C (validate): use const iterators
2297         * text.C (setHeightOfRow): use const iterators
2298
2299 2004-05-17  Angus Leeming  <leeming@lyx.org>
2300
2301         * lfuns.h:
2302         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2303
2304         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2305         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2306         if the citation engine has changed.
2307
2308 2004-05-14  José Matos  <jamatos@lyx.org>
2309
2310         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2311         if the textclass does not provide it. Have it different for sgml and
2312         xml.
2313         support the language of document.
2314         * output_docbook.C (docbookParagraphs):
2315         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2316         first anchor as the id of the paragraph, remove special case code.
2317         * sgml.C (escapeChar): escape only < & >.
2318
2319 2004-05-14  Angus Leeming  <leeming@lyx.org>
2320
2321         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2322         dependencies on src/frontends/controllers/biblio.h. Define a
2323         CiteEngine_enum wrapper class to enable the enum to be forward
2324         declared.
2325
2326 2004-05-12  Angus Leeming  <leeming@lyx.org>
2327
2328         * buffer.C: up LYX_FORMAT to 234.
2329         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2330         use_numerical_citations with a single biblio::CiteEngine cite_engine
2331         variable.
2332         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2333
2334 2004-05-13  José Matos  <jamatos@lyx.org>
2335
2336         * converter.h:
2337         * converter.C (Converter, readFlags): add xml member.
2338         * outputparams.h: add XML flavor.
2339         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2340
2341 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2342
2343         * lyxfunc.C (dispatch):
2344         (getStatus): fix handling of LFUN_SEQUENCE
2345
2346 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2347
2348         * debug.C (showLevel): do not forget the end-of-line marker
2349
2350 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2351
2352         * kbmap.C (read): do not stop parsing a bind file when an error
2353         occurs (bug 1575)
2354
2355 2004-04-29  Angus Leeming  <leeming@lyx.org>
2356
2357         * cursor.C:
2358         * factory.C:
2359         * pariterator.C:
2360         * text2.C: wrap a bunch of #warning statements
2361         inside #ifdef WITH_WARNINGS blocks.
2362
2363 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2364
2365         * buffer.C: increment format to 233.
2366
2367 2004-04-28  Angus Leeming  <leeming@lyx.org>
2368
2369         * BufferView_pimpl.C:
2370         * lyxfunc.C:
2371         * text3.C:
2372         s/updateToolbar()/updateToolbars()/
2373         s/Toolbar.h/Toolbars.h/
2374
2375 2004-04-28  Angus Leeming  <leeming@lyx.org>
2376
2377         * BufferView.[Ch] (c-tor):
2378         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2379         No longer passes these data to the WorkArea generator.
2380
2381 2004-04-28  Angus Leeming  <leeming@lyx.org>
2382
2383         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2384
2385 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2386
2387         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2388
2389 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2390
2391         * output_latex.C (TeXEnvironment): make sure that there is a line
2392         break before \end{foo} for the last paragraph of a document
2393         (TeXOnePar): if the paragraph is at the end of the document (or
2394         inset) and the language has to be reset, then make sure that the
2395         line break is _before_ the language command, not after (fixes bug
2396         1225); also make sure that the language reset command is the first
2397         thing after the paragraph (to ensure proper nesting of
2398         environments and thus fix bug 1404)
2399
2400 2004-04-21  John Levon  <levon@movementarian.org>
2401
2402         * ToolbarBackend.h:
2403         * ToolbarBackend.C: make "name" be a programmatic name
2404         and a gui_name field.
2405
2406         * lyxfunc.C: display the minibuffer on M-x
2407
2408 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2409
2410         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2411         (bug 1526)
2412
2413 2004-04-19  Angus Leeming  <leeming@lyx.org>
2414
2415         * BufferView_pimpl.C (setBuffer): changed preview interface.
2416
2417         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2418         possible values.
2419
2420 2004-04-19  John Levon  <levon@movementarian.org>
2421
2422         * BufferView_pimpl.C:
2423         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2424
2425 2004-04-05  Angus Leeming  <leeming@lyx.org>
2426
2427         * text.C (redoParagraphs): add call to updateCounters(), thereby
2428         fixing the missing "Figure #:" label from the caption of a
2429         figure float.
2430
2431 2004-04-13  Angus Leeming  <leeming@lyx.org>
2432
2433         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2434         cursor is clicked out of an inset.
2435
2436 2004-04-13  Angus Leeming  <leeming@lyx.org>
2437
2438         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2439         than an InsetOld one.
2440
2441 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2442
2443         * format.[Ch]: add editor to Format
2444         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2445         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2446
2447 2004-04-08  André Pönitz  <poenitz@gmx.net>
2448
2449         * metricsinfo.h: remove PainterInfo::width member
2450
2451 2004-04-08  Angus Leeming  <leeming@lyx.org>
2452
2453         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2454         "\providecommand" rather than "\newcommand", thereby preventing
2455         clashes with packages that define "\boldsymbol" themselves.
2456         Eg, beamer.
2457
2458 2004-04-08  Angus Leeming  <leeming@lyx.org>
2459
2460         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2461         thereby squashing an unnecessary warning.
2462
2463 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2464
2465         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2466         setBuffer()
2467
2468 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2469
2470         * BufferView.C (setCursor): call redoParagraph (some insets could
2471         have been opened)
2472         (putSelectionAt): remove the 'double update' trick
2473
2474         * BufferView_pimpl.C (fitCursor): call refreshPar
2475         (workAreaDispatch): remove an uneeded update call
2476         (dispatch): remove some manual update calls
2477
2478         * cursor.[Ch]: remove cached_y_, updatePos
2479         (selHandle): set noUpdate when appropriate
2480
2481         * lyxfunc.C (dispatch): track if we need an update
2482
2483         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2484
2485         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2486         (paintSelection): cheap optimization, do not call cursorX when not
2487         needed
2488         (paintPars): change signature
2489         (refreshPar): add
2490         (paintText): adjust
2491         (paintTextInset): adjust
2492
2493         * text.C: adjust
2494
2495 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2496
2497         * lengthcommon.C: compilation fix: remove explicit array size from
2498         unit_name[] and friends
2499
2500 2004-04-05  Angus Leeming  <leeming@lyx.org>
2501
2502         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2503
2504         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2505         present only for the preferences dialog.
2506         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2507
2508 2004-04-05  Angus Leeming  <leeming@lyx.org>
2509
2510         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2511         to enable the frontends to export changes to lyxrc correctly.
2512
2513         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2514
2515 2004-04-07  André Pönitz  <poenitz@gmx.net>
2516
2517         * cursor.[Ch] (selClear, adjust): remove math
2518
2519         * cursor_slice.C: more agressive assert
2520
2521         * lyxfunc.C:
2522         * BufferView_pimpl.C: rework mouse event dispatch
2523
2524         * dociterator.C:
2525         * paragraph.C:
2526         * text2.C:
2527         * text3.C: adjust
2528
2529 2004-04-05  André Pönitz  <poenitz@gmx.net>
2530
2531         * cursor.[Ch] (valign, halign...): remove unneeded functions
2532
2533 2004-04-05  Angus Leeming  <leeming@lyx.org>
2534
2535         * lyxlength.[Ch] (unit_name et al.): const-correct.
2536
2537 2004-04-05  Angus Leeming  <leeming@lyx.org>
2538
2539         * BufferView_pimpl.C:
2540         * buffer.C:
2541         * counters.C:
2542         * cursor.C:
2543         * lyxfunc.C
2544         * paragraph.C:
2545         * pariterator.C:
2546         * text.C:
2547         * text2.C:
2548         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2549
2550 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2551
2552         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2553
2554 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2555
2556         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2557         * BufferView_pimpl.[Ch] (getStatus)
2558         * BufferView.[Ch] (getStatus): add
2559         * lyxfunc.C (getStatus): move lfuns handled in
2560         BufferView::dispatch to te function above
2561         * Cursor.C (setSelection): set selection() = true
2562
2563 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2564
2565         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2566
2567 2004-03-31  Angus Leeming  <leeming@lyx.org>
2568
2569         * lyxfunc.C (dispatch): Fall through to the generic
2570         Dialogs::show("preamble").
2571
2572 2004-03-31  Angus Leeming  <leeming@lyx.org>
2573
2574         * lyxfunc.C (dispatch): Fall through to the generic
2575         Dialogs::show("spellchecker").
2576
2577 2004-03-31  Angus Leeming  <leeming@lyx.org>
2578
2579         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2580         preferences dialog.
2581
2582 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2583
2584         * BufferView.C
2585         * cursor.[Ch]
2586         * dociterator.[Ch]:
2587         * insetiterator.[Ch]:
2588         * lyxfind.C:
2589         * lyxfunc.C:
2590         * pariterator.[Ch]:
2591         * text2.C:
2592         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2593
2594 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2595
2596         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2597         insets where we are putting the cursor.
2598
2599 2004-03-31  Angus Leeming  <leeming@lyx.org>
2600
2601         * lfuns.h:
2602         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2603
2604         * lyxrc.[Ch] (read, write): overloaded member functions taking
2605         a std::[io]stream arguments.
2606
2607         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2608
2609 2004-03-31  Angus Leeming  <leeming@lyx.org>
2610
2611         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2612         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2613
2614         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2615         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2616
2617 2004-03-31  Angus Leeming  <leeming@lyx.org>
2618
2619         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2620         the LFUN_ALL_INSETS_TOGGLE code.
2621
2622 2004-03-30  Angus Leeming  <leeming@lyx.org>
2623
2624         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2625         has died. Fall through to the generic Dialogs::show("document").
2626
2627 2004-03-30  Angus Leeming  <leeming@lyx.org>
2628
2629         * lfuns.h:
2630         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2631         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2632
2633         * lyxfunc.C (getStatus, dispatch): define the actions for these
2634         lfuns. Little more than a cut and pste job from ControlDocument.C
2635
2636         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2637
2638 2004-03-30  Angus Leeming  <leeming@lyx.org>
2639
2640         * lfuns.h:
2641         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2642         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2643
2644         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2645         open/closed state of ollapsable insets. Usage:
2646
2647         all-inset-toggle <state> <name>, where
2648         <state> == "open" || "closed" || "toggle" and
2649         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2650
2651         * lyxtext.h, text2.C (toggleInset): removed.
2652
2653         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2654         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2655         now passes LFUN_INSET_TOGGLE to the found inset.
2656
2657         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2658         is now invoked as "all-insets-toggle toggle branch".
2659
2660 2004-03-30  Angus Leeming  <leeming@lyx.org>
2661
2662         * dociterator.C:
2663         * insetiterator.C:
2664         * pariterator.[Ch]: added/corrected header blurb.
2665
2666 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2667
2668         * dociterator.[Ch]: add an inset_ member
2669         (backwardPos): implemented
2670         (backwardPos, forwardPos): use inset_ when the stack is empty.
2671         (doc_iterator_begin, doc_iterator_end): implemented
2672         * pariterator.[Ch]: adjust, add begin, end
2673         * insetiterator.[Ch]: adjust, add begin, end
2674         * cursor.C:
2675         * document.C:
2676         * BufferView.C:
2677         * BufferView_pimpl.C:
2678         * CutAndPaste.C: adjust
2679
2680 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2681
2682         * buffer.C: increment file format to 232.
2683         * LaTeXFeatures.C: add bibtopic package.
2684         * bufferparams.[Ch]: param \use_bibtopic.
2685
2686         * lyxrc.[Ch]: add lyxrc bibtex_command
2687         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2688
2689         * buffer.C: increment file format to 231.
2690
2691 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2692
2693         * dociterator.C: implement forwardPar
2694         * iterators.[Ch]: remove, replaced by
2695         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2696         * BufferView.C:
2697         * BufferView_pimpl.C:
2698         * CutAndPaste.C:
2699         * buffer.C:
2700         * bufferview_funcs.C:
2701         * cursor.C:
2702         * lyxfind.C
2703         * lyxfunc.C
2704         * paragraph_funcs.C
2705         * toc.C:
2706         * Makefile.am: adjust
2707
2708 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2709
2710         * CutAndPaste.C (pasteSelection): fix 2 crashes
2711         (eraseSelection): fix a crash
2712         * paragraph_funcs.C: remove a warning
2713
2714 2004-03-28  Angus Leeming  <leeming@lyx.org>
2715
2716         * lfuns.h:
2717         * LyXAction.C (init): new LFUN_PRINT.
2718
2719         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2720
2721 2004-03-27  Angus Leeming  <leeming@lyx.org>
2722
2723         * lfuns.h:
2724         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2725
2726         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2727
2728 2004-03-27  Angus Leeming  <leeming@lyx.org>
2729
2730         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2731         insetlist always contains non-null pointers to insets.
2732
2733 2004-03-26  Angus Leeming  <leeming@lyx.org>
2734
2735         * src/BufferView_pimpl.C:
2736         * src/CutAndPaste.C:
2737         * src/buffer.C:
2738         * src/iterators.C:
2739         * src/output_plaintext.C:
2740         * src/outputparams.h:
2741         * src/paragraph_funcs.C:
2742         * src/rowpainter.C:
2743         * src/text.C:
2744         * src/text2.C:
2745         * src/frontends/controllers/ControlErrorList.C:
2746         * src/frontends/gtk/FileDialogPrivate.C:
2747         * src/frontends/gtk/GPainter.C:
2748         * src/frontends/gtk/GToolbar.C:
2749         * src/frontends/qt2/QRef.C:
2750         * src/mathed/math_scriptinset.C: squash compiler warnings.
2751
2752 2004-03-26  Angus Leeming  <leeming@lyx.org>
2753
2754         * ispell.C (LaunchIspell::start):
2755         * lyx_cb.C (AutoSaveBuffer::start):
2756         invoke run(DontWait) rather than runNonBlocking().
2757
2758 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2759
2760         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2761
2762 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2763
2764         * kbsequence.C (print): adjust
2765
2766         * kbmap.C (printKeySym): rename and change signature
2767         (printKey): use LyXKeySym::print()
2768
2769 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2770
2771         * undo.C: add using std::advance to compile for stlport
2772
2773 2004-03-24  Angus Leeming  <leeming@lyx.org>
2774
2775         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2776         it leads to a crash when no buffer is present.
2777
2778 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2779             Martin Vermeer  <martin.vermeer@hut.fi>
2780
2781         * lyxfunc.C (dispatch):
2782         * bufferparams.C (readToken): use the new LColor::setColor
2783
2784         * LColor.[Ch] (setColor): new version that takes two strings as
2785         argument and creates a new color entry if necessary
2786
2787 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2788
2789         * buffer.C (makeLaTeXFile): if the main latex file that is
2790         processed is usually a subdocument of some master, then pretend
2791         for a while that it is actually the master
2792
2793 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2794
2795         * buffer.C (getLabelList):
2796         (getBibkeyList): use getMasterBuffer()
2797         (getMasterBuffer): new method. Returns the main document in the
2798         case where one is using included documents.
2799
2800 2004-03-25  André Pönitz  <poenitz@gmx.net>
2801
2802         * Makefile.am:
2803         * iterators.[Ch]:
2804         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2805
2806         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2807
2808         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2809         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2810
2811         * ParameterStruct.h: merge with ParagraphParameters
2812
2813         * lyxtext.h: remove LyXText::parOffset() and getPar()
2814
2815         * text3.C: Remove all 'manual' update calls. We do now one per user
2816         interaction which is completely sufficient.
2817
2818         * Bidi.C:
2819         * BufferView.[Ch]:
2820         * BufferView_pimpl.C:
2821         * FontIterator.[Ch]:
2822         * MenuBackend.C:
2823         * ParagraphParameters.[Ch]:
2824         * buffer.C:
2825         * buffer.h:
2826         * bufferlist.C:
2827         * cursor.[Ch]:
2828         * cursor_slice.[Ch]:
2829         * dociterator.[Ch]:
2830         * errorlist.[Ch]:
2831         * factory.C:
2832         * lfuns.h:
2833         * lyxfind.C:
2834         * lyxfunc.C:
2835         * output_docbook.[Ch]:
2836         * output_latex.[Ch]:
2837         * output_linuxdoc.[Ch]:
2838         * output_plaintext.[Ch]:
2839         * paragraph.[Ch]:
2840         * paragraph_funcs.[Ch]:
2841         * paragraph_pimpl.[Ch]:
2842         * rowpainter.C:
2843         * tabular.[Ch]:
2844         * text.C:
2845         * text2.C:
2846         * toc.C:
2847         * undo.[Ch]: adjust
2848
2849         * frontends/controllers/ControlDocument.C:
2850         * frontends/controllers/ControlErrorList.C:
2851         * frontends/controllers/ControlSpellchecker.C:
2852         * insets/inset.C:
2853         * insets/inset.h:
2854         * insets/insetbase.h:
2855         * insets/insetbibitem.C:
2856         * insets/insetbox.C:
2857         * insets/insetbranch.C:
2858         * insets/insetcaption.C:
2859         * insets/insetcharstyle.C:
2860         * insets/insetcharstyle.h:
2861         * insets/insetcollapsable.C:
2862         * insets/insetcollapsable.h:
2863         * insets/insetert.C:
2864         * insets/insetfloat.C:
2865         * insets/insetfoot.C:
2866         * insets/insetmarginal.C:
2867         * insets/insetnote.C:
2868         * insets/insetoptarg.C:
2869         * insets/insettabular.C:
2870         * insets/insettext.C:
2871         * insets/insettext.h:
2872         * insets/insetwrap.C:
2873         * mathed/math_mboxinset.C:
2874         * mathed/math_nestinset.C:
2875         * mathed/math_scriptinset.C:
2876         * mathed/math_scriptinset.h:
2877         * support/types.h:
2878
2879 2004-03-24  Angus Leeming  <leeming@lyx.org>
2880
2881         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2882         deal with any child processes that have finished but are waiting to
2883         communicate this fact to the rest of LyX.
2884
2885 2004-03-24  Angus Leeming  <leeming@lyx.org>
2886
2887         64-bit compile fixes.
2888
2889         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2890         (c-tor): pass lyx::pos_types rather than ints.
2891
2892         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2893         lyx::pos_type.
2894
2895         * text.C (Delete): compile fix.
2896         (getPar): ensure that function declaration is the same as that in
2897         the header file.
2898
2899 2004-03-23  Angus Leeming  <leeming@lyx.org>
2900
2901         * ispell.C (LaunchIspell):
2902         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2903         a boost::shred_ptr rather than a std::auto_ptr.
2904
2905 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2906
2907         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2908         handle LFUN_FILE_INSERT_*
2909
2910         * lyxrc.C (setDefaults, getDescription, output, read):
2911         * lyxrc.h: remove ps_command
2912
2913 2004-03-22  Angus Leeming  <leeming@lyx.org>
2914
2915         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2916         Ensure that error_handler is processed once only and that all data
2917         is saved before attempting to output any warning messages.
2918
2919         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2920
2921 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2922
2923         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2924
2925 2004-03-19  André Pönitz  <poenitz@gmx.net>
2926
2927         * cursor.[Ch] (reset): take main text inset as argument
2928
2929         * BufferView: adjust
2930         * BufferView_pimpl.C: adjust
2931
2932         * paragraph.[Ch]: fix completely broken operator=()
2933
2934 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2935
2936         * LColor.C (getFromLyXName): make sure that the color name is used
2937         as lowercase.
2938
2939 2004-03-17  Angus Leeming  <leeming@lyx.org>
2940
2941         * lfuns.h:
2942         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2943
2944         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2945         dialog and to kill a forked process.
2946
2947 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2948
2949         * text2.C (setCursorFromCoordinates): fix font problem
2950
2951 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2952
2953         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2954         bogus "rebuild cursor" code
2955
2956 2004-03-11  André Pönitz  <poenitz@gmx.net>
2957
2958         * buffer.[Ch]: use InsetText instead of LyXText as container for
2959         the main lyx text.
2960
2961         * dociterator.[Ch]: drop the BufferView * member which is not needed
2962         anymore after the change to buffer.C
2963
2964         * paragraph_funcs.C:
2965         * text.C:
2966         * text2.C:
2967         * BufferView.[Ch]:
2968         * BufferView_pimpl.[Ch]:
2969         * cursor.[Ch]:
2970         * cursor_slice.[Ch]: adjust
2971
2972         * text3.C: fix bug in mathDispatch
2973
2974 2004-03-08  André Pönitz  <poenitz@gmx.net>
2975
2976         * undo.[Ch]: use 'StableDocumentIterator' as base for
2977         the Undo struct.
2978
2979 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2980
2981         * LaTeXFeatures.C:
2982         * bufferparams.[Ch]: add jurabib support and param.
2983
2984         * LaTeX.C: add FIXME/comment.
2985
2986 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2987
2988         * buffer.C: increment file format to 230.
2989
2990 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2991
2992         * cursor.C (dispatch): avoid infinite loops
2993
2994 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2995
2996         * rowpainter.C (paintSelection): fix x coordinates
2997
2998 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2999
3000         * text.C (rowBreakPoint): fix breaking before displayed insets
3001
3002 2004-03-01  André Pönitz  <poenitz@gmx.net>
3003
3004         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3005
3006         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3007
3008         * Makefile.am:
3009         * BufferView.C:
3010         * BufferView_pimpl.C:
3011         * buffer.C:
3012         * lyxfind.C:
3013         * lyxfunc.C:
3014         * text.C:
3015         * text2.C:
3016         * text3.C: adjust
3017
3018 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3019
3020         * lyxtext.h:
3021         * text.C:
3022         * text2.C:
3023         * rowpainter.C:
3024         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3025         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3026
3027 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3028
3029         * Bidi.[Ch] (computeTables): const correctness
3030         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3031         fill_hfill, fill_label_hfill and x from Row
3032         * lyxtext.h: prepareToPrint returns a RowMetrics
3033         * rowPainter.C: adjust
3034         * text.C (prepareToPrint): use width, not textWidth. adjust
3035         (redoParagraphInternal, cursorX): adjust
3036         * text2.C (getColumnNearX): adjust
3037         (init): put a default value to the top LyXText::width
3038
3039 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3040
3041         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3042
3043 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3044
3045         * lyxtext.h: add FontIterator class
3046
3047         * text.C (FontIterator, operator*, operator->, operator++): add
3048         (rowBreakPoint, setRowWidth): adjust (fixing a
3049         rebreaking bug)
3050
3051 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3052
3053         * BufferView_pimpl.C (workAreaDispatch): allow also
3054         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3055
3056 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3057
3058         * text.C (rowBreakPoint): fix a bug showing with very large insets
3059
3060 2004-02-25  André Pönitz  <poenitz@gmx.net>
3061
3062         * text3.C:
3063         * cursor.[Ch]: move some mathed specific code to mathed
3064
3065 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3066
3067         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3068         use_tempdir in preferences
3069         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3070         tempfile creation
3071         * lyx_main.C: ensure that tempdir is valid
3072         * lyxlex.h: correct typo
3073         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3074         * paragraph.[Ch] (isMultiLingual): make const
3075         * cursor.[Ch] (openable): make const
3076
3077 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3078
3079         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3080
3081 2004-02-20  André Pönitz  <poenitz@gmx.net>
3082
3083         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3084
3085         * cursor.[Ch]: prepare for localized getStatus()
3086
3087         * lyxtext.h:
3088         * tabular.C:
3089         * text.C:
3090         * text2.C:
3091         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3092
3093 2004-02-20  André Pönitz  <poenitz@gmx.net>
3094
3095         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3096
3097 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3098
3099         * text2.C (setCursorFromCoordinates): switch to absolute coords
3100         (cursorUp): adjust
3101         (cursorDown): adjust
3102         * text3.C (dispatch): adjust
3103
3104 2004-02-16  André Pönitz  <poenitz@gmx.net>
3105
3106         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3107           insets/ChangeLog)
3108
3109         * cursor_slice.[Ch]: remove unneeded acessor function
3110
3111         * lyxtext.h: rename rtl() to isRTL()
3112
3113         * rowpainter.C:
3114         * tabular.C:
3115         * text.C:
3116         * text2.C:
3117         * text3.C: adjust
3118
3119 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3120
3121         * rowpainter.C (paintSelection): coord fix
3122
3123 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3124
3125         * Spacing.C: compile fix
3126
3127 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3128
3129         * cursor.C (dispatch): restore current_ before returning
3130
3131 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3132
3133         * text2.C (cursorUp, cursorDown): fix coords
3134         (moveUp): fix crash
3135
3136 2004-02-12  André Pönitz  <poenitz@gmx.net>
3137
3138         * lyxtext.h:
3139         * text.C:
3140         * text2.C:
3141         * text3.C: add LCursor & parameter to most cursor movement functions
3142           remove usage of LyXText::cursorRow() and cursorPar()
3143
3144         * cursor.[Ch]: add textRow() needed members
3145
3146         * BufferView.C:
3147         * BufferView_pimpl.C:
3148         * paragraph.[Ch]:
3149         * BufferView.C:
3150         * BufferView_pimpl.C: adjust
3151
3152 2004-02-11  André Pönitz  <poenitz@gmx.net>
3153
3154         * lyxfunc.C:
3155         * BufferView.[Ch]:
3156         * BufferView_pimpl.C: shift undo/redo handling
3157
3158         * cursor.[Ch]: fix mathed crash
3159
3160         * lyxfind.C:
3161         * lyxtext.h: move selectionAsText to LCursor
3162
3163         * output_latex.C:
3164         * paragraph.C:
3165         * text.C:
3166         * text2.C:
3167         * text3.C: adjust
3168
3169         * rowpainter.C: fix excessive drawing
3170
3171 2004-02-06  André Pönitz  <poenitz@gmx.net>
3172
3173         * BufferView.[Ch]:
3174         * BufferView_pimpl.[Ch]:
3175         * text3.C: move some text specific LFUN handling
3176
3177 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3178
3179         * text3.C (checkInsetHit): adjust coords
3180         * text2.C (getColumnNearX): adjust coords
3181         (edit): adjust coords
3182         * text.C (getRowNearY): add two asserts
3183
3184 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3185
3186         * converter.C:
3187         * format.C: add using std::distance to compile on gcc 2.95/stlport
3188
3189 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3190
3191         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3192
3193 2004-02-04  André Pönitz  <poenitz@gmx.net>
3194
3195         * BufferView.[Ch] (insertInset):
3196         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3197
3198         * text2.C:
3199         * text3.C: adjust
3200
3201 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3202
3203         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3204         on the default clause of the switch
3205         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3206         wasn't catched by LCursor::dispatch
3207
3208 2004-02-03  André Pönitz  <poenitz@gmx.net>
3209
3210         * BufferView.C:
3211         * cursor.[Ch]: some additional asserts
3212
3213         * undo.[Ch]: remove LyXText dependency in interface
3214
3215         * lyxfunc.C: adjust
3216
3217         * lyxtext.h (firstPar, lastPar): remove dead functions
3218
3219         * text.C:
3220         * text2.C:
3221         * text3.C:
3222         * paragraph.[Ch]: adjust
3223
3224 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3225
3226         * lyxfind.C (find): fix argument order in call to ::find
3227
3228 2004-02-02  André Pönitz  <poenitz@gmx.net>
3229
3230         * cursor.[Ch]: remove direct access to anchor
3231
3232         * text.C: remove findText() hack
3233
3234 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3235
3236         * iterators.[Ch] (lockPath): remove in favour of...
3237         * BufferView.[Ch] (setCursor): this addition
3238         * BufferView.C (putSelectionAt): adjust
3239         * undo.C (performUndoOrRedo): adjust
3240         * lyxfunc.C (dispatch): adjust
3241
3242 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3243
3244         * iterators.C (lockPath): add a missing slice
3245         * undo.C (performUndoOrRedo): remove redundant positioning code
3246
3247 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
3248
3249         * vc-backend.C (scanMaster): ";" -> ';'
3250
3251 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
3252
3253         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3254         std::binary_function
3255
3256         * lyxtextclass.C (compare_name): rename to...
3257         (LayoutNamesEqual): ...this
3258
3259         * lyxlex_pimpl.C (compare_tags): inherit from
3260         std::binary_function, put back into anon namespace
3261
3262         * lyxfind.C (MatchString): inherig from std::binary_function
3263         (findChange): use empty() istead of !size()
3264
3265         * format.C (FormatNamesEqual): new functor
3266         (getFormat): use it
3267         (getNumber): use it
3268         (add): use it
3269         (erase): use it
3270         (setViewer): use it
3271
3272         * converter.C (compare_Converter): rename to...
3273         (ConverterEqual): ...this, and fixup a bit.
3274         (getConverter): use it, and make function const
3275         (getNumber): use it, and make function const
3276         (add): use it
3277         (erase): use it:
3278
3279         * bufferlist.C: add using boost::bind
3280
3281         * MenuBackend.C (MenuNamesEqual): new functor
3282         (hasMenu): use it, and make function const
3283         (hasSubmenu): use nested bind to get rid of compare_memfun.
3284
3285 2004-01-30  André Pönitz  <poenitz@gmx.net>
3286
3287         * BufferView_pimpl.C:
3288         * cursor.C:
3289         * cursor.h:
3290         * cursor_slice.[Ch]:
3291         * lyxfunc.C:
3292         * lyxtext.h:
3293         * paragraph_funcs.C:
3294         * paragraph_funcs.h:
3295         * rowpainter.C:
3296         * text.C:
3297         * text2.C:
3298         * text3.C: move some of the edit(x,y) handling to the insets
3299         some coordinate changes.
3300
3301 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
3302
3303         * text.C: add using statements for std::advance and std::distance
3304
3305         * paragraph.C: add using statement for std::distance
3306
3307         * lyxfind.C: add using statement for std::advance
3308
3309         * cursor.C (region): remove std:: from swap
3310         (openable): use nucleus in stead of operator->
3311
3312         * BufferView.C: add using statements for std::distance and std::swap
3313
3314 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
3315
3316         * iterators.C: Remove the pimple, move the needed structures to
3317         the header file. Create accessor for the positions stack.
3318         (asPosIterator): remove function
3319
3320         * PosIterator.C (PosIterator): move constructors to top of file
3321         (PosIterator): reimplement the constructor taking a ParIterator in
3322         terms of setFrom.
3323         (setFrom): new function
3324         (operator!=): inline it
3325
3326 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
3327
3328         * lyxfind.C (replaceAll): use std::advance
3329
3330         * iterators.h: inherit from std::iterator.
3331
3332         * PosIterator.C (advance, distance): remove
3333         * PosIterator.h: interit from std::iterator.
3334
3335 2004-01-26  André Pönitz  <poenitz@gmx.net>
3336
3337         * BufferView.[Ch]:
3338         * BufferView_pimpl.[Ch]:
3339         * InsetList.[Ch]:
3340         * PosIterator.[Ch]:
3341         * buffer.h:
3342         * bufferview_funcs.C:
3343         * cursor.[Ch]:
3344         * cursor_slice.h:
3345         * factory.[Ch]:
3346         * iterators.[Ch]:
3347         * lyxfind.C:
3348         * lyxfunc.C:
3349         * lyxtext.h:
3350         * output_docbook.C:
3351         * output_latex.C:
3352         * output_linuxdoc.C:
3353         * output_plaintext.C:
3354         * paragraph.[Ch]:
3355         * paragraph_funcs.[Ch]:
3356         * paragraph_pimpl.[Ch]:
3357         * rowpainter.C:
3358         * tabular.C:
3359         * tabular.h:
3360         * text.C:
3361         * text2.C:
3362         * text3.C: more IU:  dumps most of the rest of the mathcursor
3363     implementation into cursor.[Ch]; "globalize" a bit of it.
3364
3365 2004-01-25  Angus Leeming  <leeming@lyx.org>
3366
3367         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3368
3369 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3370
3371         * LaTeXFeatures.h: add nice_ and nice() const
3372         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3373
3374 2004-01-20  André Pönitz  <poenitz@gmx.net>
3375
3376         * BufferView.[Ch]:
3377         * BufferView_pimpl.C:
3378         * PosIterator.C:
3379         * bufferview_funcs.C:
3380         * cursor.[Ch]:
3381         * cursor_slice.[Ch]:
3382         * factory.C:
3383         * iterators.C:
3384         * lyx_cb.C:
3385         * lyxfind.C:
3386         * lyxfunc.C:
3387         * lyxtext.h:
3388         * rowpainter.C:
3389         * text.C:
3390         * text2.C:
3391         * text3.C:
3392         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3393           LCursor and mathcursor parts to LCursor and InsetBase.
3394
3395 2004-01-15  André Pönitz  <poenitz@gmx.net>
3396
3397         * cursor_slice.[Ch]: add a few covienience functions
3398
3399         * funcrequest.[Ch]: remove BufferView * member
3400
3401         * BufferView_pimpl.C:
3402         * cursor.C:
3403         * factory.[Ch]:
3404         * lyxfind.[Ch]:
3405         * lyxfunc.C:
3406         * lyxtext.h:
3407         * text3.C:
3408         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3409
3410 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3411
3412         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3413         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3414
3415 2004-01-13  André Pönitz  <poenitz@gmx.net>
3416
3417         * textcursor.[Ch]:
3418         * lyxtext.h: hide cursor and selection anchor behind accessor function
3419
3420         * BufferView.C:
3421         * BufferView_pimpl.[Ch]:
3422         * PosIterator.C:
3423         * bufferview_funcs.C:
3424         * cursor.h:
3425         * lyxfind.C:
3426         * lyxfunc.C:
3427         * text.C:
3428         * text2.C:
3429         * text3.C:
3430         * undo.C: adjust
3431
3432         * cursor.h:
3433         * cursor_slice.[Ch]: some integer type changes for inset unification
3434
3435         * lyxcursor.[hC]: remove, it's CursorSlice now.
3436
3437         * Makefile.am:
3438         * BufferView_pimpl.[Ch]:
3439         * bufferview_funcs.C:
3440         * cursor_slice.C:
3441         * lyxtext.h:
3442         * text.C:
3443         * text2.C:
3444         * text3.C:
3445         * textcursor.[Ch]: adjust
3446
3447 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3448
3449         * text2.C (undoSpan): add and use
3450         * text.C (breakParagraph): use undoSpan (fix bug 578)
3451         * lyxtext.h: adjust
3452
3453 2004-01-08  Angus Leeming  <leeming@lyx.org>
3454
3455         * BufferView_pimpl.C (MenuInsertLyXFile):
3456         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3457         * lyxfunc.C (menuNew, open, doImport):
3458         FileFilterList change to the FileDialog open and save functions.
3459
3460 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
3461
3462         * ShareContainer.h: make isEqual and isUnique adaptable
3463
3464         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3465
3466 2004-01-07  Angus Leeming  <leeming@lyx.org>
3467
3468         * LyXAction.C:
3469         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3470
3471         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3472
3473         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3474         functions replacing find, replace and replaceAll.
3475
3476         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3477         LFUN_WORDFIND(FORWARD|BACKWARD).
3478
3479 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3480
3481         * text.C (breakParagraph): remove an outdated #warning
3482
3483 2004-01-07  André Pönitz  <poenitz@gmx.net>
3484
3485         * lyxfind.C: somewhat clearer logic
3486
3487         * text.C: prevent crash in cursorX on unitialized row cache
3488
3489 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3490
3491         * lyxcursor.[Ch] (operator>): add
3492         * textcursor.C (selStart, selEnd): use std::min and std::max
3493
3494 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
3495
3496         * Chktex.C: include boost/format.hpp
3497
3498 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
3499
3500         * InsetList.C: replace functor MathcIt with adaptable functor
3501         InsetTablePosLess
3502         (insetIterator): modify accordingly
3503
3504         * BranchList.h: move the BranchNamesEqual functor here from...
3505         * BranchList.C: ... to here
3506
3507         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3508         SameName and match.
3509         (add): replace a finding loop with std::find_if.
3510
3511 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3512
3513         * output_docbook.C: moving LatexParam functionality into
3514         .layout files
3515
3516 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3517
3518         * buffer.C: increment format to 229.
3519
3520 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3521
3522         * LaTeXFeatures.C:
3523         * lyx_sty.[Ch]: remove minipageindent_def
3524
3525         * LyXAction.C:
3526         * factory.C:
3527         * lfuns.h:
3528         * lyxfunc.C:
3529         * text3.C: remove LFUN_INSET_MINIPAGE
3530
3531 2003-12-28  Angus Leeming  <leeming@lyx.org>
3532
3533         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3534
3535 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3536
3537         * text2.C (setParagraph): fix off-by-one crash
3538
3539 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3540
3541         * output_docbook.C: header stuff for AGU
3542
3543 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3544
3545         * text2.C (redoCursor): remove
3546         * text.C:
3547         * text3.C:
3548         * BufferView_pimpl.C: remove calls to redoCursor and
3549         setCursor(cursor.par(), cursor.pos()) all around
3550
3551 2003-12-15  Angus Leeming  <leeming@lyx.org>
3552
3553         * buffer.C: up the format to 228.
3554
3555 2003-12-15  André Pönitz  <poenitz@gmx.net>
3556
3557         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3558         slices
3559
3560         * Makefile.am:
3561
3562         * BufferView_pimpl.C:
3563         * cursor.[Ch]:
3564         * lyxcursor.[Ch]:
3565         * rowpainter.[Ch]:
3566         * lyxtext.h:
3567         * text.C:
3568         * text2.C:
3569         * text3.C: adjust
3570
3571 2003-12-15  Angus Leeming  <leeming@lyx.org>
3572
3573         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3574         than getFromGUIName to manipulate the color.
3575
3576 2003-12-14  Angus Leeming  <leeming@lyx.org>
3577
3578         * BranchList.[Ch]: minimize the API.
3579         (Branch::getBranch, getColor): now return a 'const &'.
3580         (Branch::setSelected) now returns a bool set to true if the
3581         selection status changes.
3582         (BranchList::clear, size, getColor, setColor, setSelected,
3583         allBranches, allSelected, separator): removed.
3584         (BranchList::find): new functions, returning the Branch with
3585         the given name.
3586         (BranchList::add, remove): return a bool indicating that
3587         the operation was successful.
3588
3589         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3590         new InsetBranch::isBranchSlected member function.
3591
3592         * LColor.[Ch]: mimimize the API.
3593         (fill): renamed as addColor and made private.
3594         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3595         versions of these functions taking a string arg have been removed.
3596
3597         * bufferparams.C (readToken):
3598         * lyxfunc.C (dispatch):
3599         * lyxrc.C (read): changes due to the altered BranchList and
3600         LColor APIs.
3601
3602         * factory.C (createInset, readInset): changes due to altered
3603         InsetBranch c-tor.
3604
3605 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3606
3607         * factory.C:
3608         * lyxfunc.C: remove insetminipage. "minipage-insert"
3609         now produces a frameless minipage box inset.
3610
3611 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3612
3613         * textcursor.[Ch] (selStart,selEnd): add new methods
3614         remove selection::start, end, use LyXCursor::operator<
3615         * lyxcursor.[Ch] (operator<): add
3616         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3617         * BufferView.[Ch] (unsetXSel): add
3618         * text2.C (clearSelection): use unsetXSel,adjust
3619         * text.C: adjust
3620         * text3.C: adjust
3621         * rowpainter.C: adjust
3622         * bufferview_funcs.C (put_selection_at): adjust
3623
3624 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3625
3626         * BufferView_pimpl.C: small coord. correction
3627
3628 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3629
3630         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3631         dragging over the splash screen.
3632
3633 2003-12-11  Angus Leeming  <leeming@lyx.org>
3634
3635         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3636         as it is now handled in LyXText::dispatch.
3637
3638         * text3.C (doInsertInset): remove a level of nesting.
3639
3640 2003-12-11  Angus Leeming  <leeming@lyx.org>
3641
3642         * factory.C (createInset): changes due to the changed interface to
3643         InsetCommandMailer::string2params.
3644
3645 2003-12-10  Angus Leeming  <leeming@lyx.org>
3646
3647         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3648         'dialog-show-new-inset <inset name>'
3649
3650 2003-12-10  Angus Leeming  <leeming@lyx.org>
3651
3652         * buffer.C: up the format to 227.
3653
3654         * factory.C: the box inset is now identified simply by 'Box'.
3655
3656 2003-12-10  Angus Leeming  <leeming@lyx.org>
3657
3658         * buffer.C: up the format to 226.
3659
3660         * factory.C: the note inset is now identified simply by 'Note'.
3661
3662 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3663
3664         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3665         when a pit is enough. Standarize a couple of loops.
3666
3667 2003-12-05  Angus Leeming  <leeming@lyx.org>
3668
3669         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3670         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3671         data to the re-worked "log" dialog.
3672
3673 2003-12-03  André Pönitz  <poenitz@gmx.net>
3674
3675         * PosIterator.C:
3676         * iterators.C:
3677         * lyxtext.h:
3678         * output_latex.C:
3679         * paragraph_funcs.C:
3680         * text.C:
3681         * text2.C: use Inset::getText instead of Inset::getParagraph
3682
3683 2003-12-03  André Pönitz  <poenitz@gmx.net>
3684
3685         * buffer.[Ch]:
3686         * lyxtext.h:
3687         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3688         InsetText::read() as LyXText::read()
3689
3690 2003-12-02  Angus Leeming  <leeming@lyx.org>
3691
3692         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3693         type. Add a comment in the implementation that the function uses
3694         the stream's bad() function rather than fail() as the std::streams
3695         would do.
3696
3697 2003-12-02  André Pönitz  <poenitz@gmx.net>
3698
3699         * lyxlex.[Ch]: make interface more similar to std::stream
3700
3701         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3702
3703 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3704
3705         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3706
3707 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3708
3709         * vspace.[Ch]: remove VSpace::NONE
3710
3711 2003-12-01  André Pönitz  <poenitz@gmx.net>
3712
3713         * buffer.[Ch]:
3714         * lyxtext.h: move ParagraphList member to LyXText
3715         rename LyXText::ownerParagraphs to LyXText::paragraph
3716
3717         * CutAndPaste.C:
3718         * bufferview_funcs.C:
3719         * iterators.[Ch]:
3720         * lyx_cb.C:
3721         * paragraph.C:
3722         * rowpainter.C:
3723         * tabular.C:
3724         * text.C:
3725         * text2.C:
3726         * text3.C: adjust
3727
3728         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3729
3730         * undo.C: fix cursor positioning
3731
3732 2003-12-01  John Levon  <levon@movementarian.org>
3733
3734         * BufferView_pimpl.C: fix a crash on exit with
3735         a buffer open
3736
3737 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3738
3739         * BranchList.C: fix setSelected() method.
3740
3741 2003-11-28  André Pönitz  <poenitz@gmx.net>
3742
3743         * ParagraphParameters.[Ch]:
3744         * ParameterStruct.h: remove space above/below from Paragraph to
3745          InsetVSpace
3746
3747         * BufferView_pimpl.C:
3748         * factory.C:
3749         * lyxfunc.C:
3750         * lyxtext.h:
3751         * output_latex.C:
3752         * paragraph.C:
3753         * paragraph_funcs.C:
3754         * rowpainter.[Ch]:
3755         * text.C:
3756         * text2.C:
3757         * text3.C: adjust
3758
3759 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3760
3761         * factory.C: Syntax change for CharStyles
3762
3763 2003-11-28  André Pönitz  <poenitz@gmx.net>
3764
3765         * BufferView.[Ch]:
3766         * BufferView.[Ch]:
3767         * buffer.[Ch]:
3768         * buffer.[Ch]: move LyXText member
3769
3770 2003-11-28  André Pönitz  <poenitz@gmx.net>
3771
3772         * BufferView.[Ch]: make LyXText * text a private member
3773
3774         * BufferView_pimpl.C:
3775         * cursor.C:
3776         * iterators.C:
3777         * lyx_cb.C:
3778         * lyxfind.C:
3779         * lyxtext.h:
3780         * rowpainter.[Ch]:
3781         * text.C:
3782         * text2.C:
3783         * undo.C: adjust
3784
3785         * output_plaintext.C: cleanup
3786
3787 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3788
3789         * buffer.C:
3790         * lyxtextclass.[Ch]: parametrize SGML document header
3791
3792 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3793
3794         * converter.[Ch]:
3795         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3796         getFlavor().
3797
3798 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3799
3800         * text2.C (setFont): rework using PosIterator (no more recursive)
3801         (setCharFont): no more needed
3802         (setLayout): no more selection cursors fiddling (done by redoCursor)
3803         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3804         destroy remaining ones)
3805
3806 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3807
3808         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3809         * lyxtext.h: ditto
3810         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3811         selection cursors
3812         * lyxfunc.C: adjust
3813         * text3.C: adjust + re-allow multi par depth changes
3814         * textcursor.C: simplify a bit
3815
3816 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3817
3818         * src/buffer.C:
3819         * src/lyxlayout.C:
3820         * src/lyxlayout.h:
3821         * src/lyxtext.h:
3822         * src/output_docbook.C:
3823         * src/output_latex.C:
3824         * src/paragraph.C:
3825         * src/paragraph.h:
3826         * src/sgml.C:
3827         * src/sgml.h:
3828         * src/text2.C: Introducing a number of tags parametrizing various
3829         XML formats that we may want to support
3830
3831 2003-11-25  André Pönitz  <poenitz@gmx.net>
3832
3833         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3834
3835         * lyxtext.h (leftMargin/rightMargin): simplify interface
3836
3837         * rowpainter.C:
3838         * text.C:
3839         * text2.C:
3840         * text3.C: adjust
3841
3842 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3843
3844         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3845         master file to any child files. Fixes bug 546.
3846
3847 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3848
3849         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3850
3851 2003-11-24  André Pönitz  <poenitz@gmx.net>
3852
3853         * rowpainter.C: simplification
3854
3855         * text2.C (updateCounters): remove call to redoParagraph on
3856         changed labels as this is far too expensive.
3857
3858 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3859
3860         * converter.C (convert): fix a crash: this function gets
3861         called with buffer == 0 from importer code.
3862
3863 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3864
3865         * text3.C (cursorPrevious): make sure that we do not compare
3866         iterators form different containers.
3867         (cursorNext): ditto
3868
3869         * rowpainter.C (paintSelection): make sure that we do not compare
3870         iterators from different containers.
3871
3872         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3873         iterators from different ParagraphList containers.
3874         [NEXT] ditto
3875
3876         * text2.C (LyXText): change order of initialization slightly
3877         (operator=): new function. copy all variables except cache_par_
3878         (moveUp): make sure that we do not compare iterators from
3879         different ParagraphList constainers.
3880         (moveDown): ditto
3881
3882         * text.C (firstPar): new function
3883         (lastPar): new function
3884         (endPar): new function
3885
3886         * lyxtext.h: move things around and group public functions, public
3887         variables, private functions, private variables
3888
3889 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3890
3891         * factory.C: change call to InsetERT constructor to avoid
3892         additional invocation of method status
3893         * text2.C (toggleInset): remove redundant update() call
3894         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3895         instead of a Bufferview pointer
3896
3897 2003-11-21  André Pönitz  <poenitz@gmx.net>
3898
3899         * rowpainter.C: simplification
3900
3901 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3902
3903         * text3.C (dispatch): make possible to extend a word/row selection
3904         with the mouse
3905
3906 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3907
3908         * lyxtext.h: x0_,y0_ -> xo_,yo_
3909         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3910         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3911         * rowpainter.C (paintRows): paint full paragraphs
3912
3913 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3914
3915         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3916         screen coordinates)
3917
3918 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3919
3920         * lyxtext.h: add x0_, y0_
3921         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3922         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3923
3924 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3925
3926         * text2.C (setCursorIntern): move the x_target update here *
3927         * text3.C: change some bv() to true/false in calls to
3928         cursorUp/Down/Right/Left
3929         * cursor.C: use helper function.
3930
3931 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3932
3933         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3934         * paragraph_funcs.[Ch]: correct comment
3935         * rowpainter.C: do not paint selections away from bv->cursor()
3936         Fix a long standing selection painting bug.
3937         * text3.C: generalize mouse-selection code to LyXTexts other that
3938         top one
3939         * textcursor.C: do not use y coords if we can use par offsets
3940
3941 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3942
3943         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3944         cursor position after e.g. inset insert)
3945
3946 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3947
3948         * lyxfind.C (replace): adjust to locking removal + some
3949         code simplification
3950
3951 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3952
3953         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3954         of the path
3955
3956 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3957
3958         * lyxlayout.[Ch]:
3959         * output_docbook.C: XML sanitation: new layout
3960         parameters InnerTag and CommandDepth
3961
3962 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3963
3964         * BufferView_pimpl.C:
3965         * factory.C:
3966         * text3.C: Fix the insertion and modification of button-style
3967         insets
3968
3969 2003-11-13  André Pönitz  <poenitz@gmx.net>
3970
3971         * InsetList.[Ch]: remove deleteLyXText
3972
3973         * paragraph.[Ch]: cache beginOfBody position
3974
3975         * Bidi.C:
3976         * text.C:
3977         * text2.C:
3978         * text3.C: remove superfluous update() calls
3979
3980         * vspace.C: cleanup
3981
3982 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3983
3984         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3985         * BufferView.C (fitLockedInsetCursor): remove
3986         * cursor.[Ch] (getDim): add
3987         * text.C (getRowNearY): add faster version
3988         * text3.C: remove some update calls
3989
3990 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3991
3992         * LaTeXFeatures.C:
3993         * LyXAction.C:
3994         * MenuBackend.C:
3995         * MenuBackend.h:
3996         * dispatchresult.h:
3997         * factory.C:
3998         * lfuns.h:
3999         * lyxfunc.C:
4000         * lyxtextclass.C:
4001         * lyxtextclass.h:
4002         * text3.C: The Character Style /XML short element patch.
4003
4004 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4005
4006         * text3.C:
4007         * factory.C: Small step to solving 'unable to insert some insets'
4008         problem
4009
4010 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4011
4012         * cursor.[Ch] (updatePos): new function for updating the y
4013         position of the tip inset
4014         * bufferview_funcs.C (put_selection_at):
4015         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4016
4017 2003-11-11  André Pönitz  <poenitz@gmx.net>
4018
4019         * text.C: remove big comment on invalid Paragraph pointers as it is
4020         not valid anymore
4021
4022 2003-11-11  André Pönitz  <poenitz@gmx.net>
4023
4024         * text_funcs.[Ch]: merge with ...
4025
4026         * text.C: ... this
4027
4028         * lyxtext.h:
4029         * text2.C:
4030         * text3.C: adjust
4031
4032         * Makefile.am: remove text_funcs.[Ch]
4033
4034 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4035
4036         * cursor.C (getPos): return absolute cached y coord
4037
4038         * BufferView_pimpl.C (fitCursor): new simplistic code
4039         (workAreaDispatch): add a fitCursor call
4040
4041 2003-11-10  André Pönitz  <poenitz@gmx.net>
4042
4043         * BufferView.[Ch]:
4044         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4045
4046 2003-11-10  André Pönitz  <poenitz@gmx.net>
4047
4048         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4049         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4050         indicate that the cursor needs to leave an inset
4051
4052         * lyxtext.h: remove inset locking
4053
4054         * cursor.[Ch]: re-implement functionality provided by inset locking
4055
4056         * BufferView.[Ch]:
4057         * BufferView_pimpl.[Ch]:
4058         * LyXAction.C:
4059         * bufferview_funcs.[Ch]:
4060         * factory.C:
4061         * funcrequest.[Ch]:
4062         * iterators.C:
4063         * lyx_cb.C:
4064         * lyxfind.C:
4065         * lyxfunc.C:
4066         * text.C:
4067         * text2.C:
4068         * text3.C:
4069         * undo.C: adjust
4070
4071 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4072
4073         * PosIterator.[Ch]: replace the stack with a vector, add inset
4074         accesor
4075         * iterators.[C]: adjust
4076
4077 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4078
4079         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4080         replaced
4081         * paragraph_funcs.C (readParToken): put the correct id in the
4082         error item, not the id of the top paragraph
4083
4084 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4085
4086         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4087         * bufferview_funcs.C (put_selection_at): use the above
4088
4089 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4090
4091         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4092
4093 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4094
4095         * output_linuxdoc.h:
4096         * output_plaintext.h:
4097         * output.h:
4098         * output_docbook.h: add #include statements
4099
4100 2003-11-05  José Matos  <jamatos@lyx.org>
4101
4102         * output_docbook.[Ch]:
4103         * output_latex.[Ch]:
4104         * output_linuxdoc.[Ch]:
4105         * output_plaintext.[Ch]: New files for output formats.
4106         * output.[Ch]: New file for helper functions.
4107
4108         * buffer.[Ch]:
4109         * paragraph_funcs.[Ch]: output functions moved to new files.
4110
4111         * outputparams.h: rename of latexrunparams.h
4112
4113         * LaTeX.[Ch]:
4114         * buffer.[Ch]:
4115         * bufferlist.[Ch]:
4116         * converter.[Ch]:
4117         * exporter.C:
4118         * paragraph.[Ch]:
4119         * paragraph_funcs.[Ch]:
4120         * paragraph_pimpl.[Ch]:
4121         * tabular.[Ch]: rename ascii to plaintext
4122         and LatexRunParams to OutputParams.
4123
4124 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4125
4126         * iterators.[Ch] (text): require bv argument
4127         * undo.C (recordUndo):
4128         * lyxfunc.C (dispatch):
4129         * bufferview_funcs.C (put_selection_at): adjust
4130
4131 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
4132
4133         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4134
4135 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4136
4137         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4138         nestings
4139
4140 2003-11-04  André Pönitz  <poenitz@gmx.net>
4141
4142         * cursor.[Ch]: restructure
4143
4144         * BufferView.[Ch]:
4145         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4146
4147         * iterators.[Ch] (asCursor): remove
4148
4149         * lfuns.h: remove LFUN_INSET_EDIT
4150
4151         * lyxfunc.C:
4152         * tabular.C:
4153         * text.C:
4154         * text2.C:
4155         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4156
4157 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4158
4159         * lyxfind.[Ch]: complete overhaul
4160         * BufferView_pimpl.C:
4161         * lyxfunc.C: adjust
4162         * paragraph.[Ch] (insert): add
4163
4164 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4165
4166         * BufferView.[Ch]:
4167         * lyxtext.h:
4168         * text.C: remove dead spellcheck code
4169
4170 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4171
4172         * dispatchresult.h: add a val setter
4173
4174         * cursor.C (dispatch): use a tempvar for data_[i]
4175
4176 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4177
4178         * PosIterator.[Ch]: compile fix
4179
4180 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4181
4182         * text.C (cursorPar): deactivate the cursor cache
4183
4184 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4185
4186         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4187
4188 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4189
4190         * text3.C (dispatch): adjust for new DisptchResult semantics.
4191
4192         * lyxfunc.C (dispatch): handle update when return from
4193         Cursor::dispatch, adjust for new DispatchResult semantics.
4194
4195         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4196         DispatchResult(true) mean to not update. Add class functions for
4197         setting dispatched and update, as well as reading.
4198
4199         * cursor.C (dispatch): don't handle update here
4200
4201 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4202
4203         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4204         * trans_mgr.C: adjust
4205
4206         * paragraph_funcs.C (readParToken): exception safety
4207
4208         * lyxvc.h: store the vcs pointer in a scoped_ptr
4209         * lyxvc.C: adjust
4210
4211         * lyxsocket.C (serverCallback): exception safety
4212
4213         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4214
4215         * ispell.C (clone): make it return a auto_ptr
4216
4217         * factory.C (createInset): exception safety
4218         (readInset): exception safety
4219
4220         * bufferlist.C (newBuffer): exception safety
4221
4222         * Thesaurus.C (Thesaurus): use initialization for aik_
4223
4224         * MenuBackend.C (expandToc): exception safety.
4225
4226 2003-11-03  André Pönitz  <poenitz@gmx.net>
4227
4228         * buffer.C:
4229         * buffer.h:
4230         * bufferview_funcs.C: remove getInsetFromId()
4231
4232         * lyxcursor.[Ch]:
4233         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4234
4235         * lyxfunc.C:
4236         * text2.C:
4237         * text3.C: adjust
4238
4239 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4240
4241         * PosIterator.C (distance, advance): new
4242         * bufferview_funcs.[Ch] (put_selection_at): new
4243         * iterators.[Ch] (lockPath): new
4244
4245 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4246
4247         * iterators.[Ch] (asPosIterator): added
4248         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4249         * PosIterator.[Ch]: added
4250
4251 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4252
4253         * text3.C:
4254         * lyxfunc.C:
4255         * cursor.C (dispatch):
4256         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4257
4258         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4259         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4260         contructor, add a class function dispatched. Remove operator>=
4261
4262 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4263
4264         * debug.C: only use the default constructor for debugstream
4265         (lyxerr) here.
4266
4267         * main.C (main): include debug.h and setup the lyxerr streambuf
4268         here.
4269
4270 2003-10-31  José Matos  <jamatos@lyx.org>
4271
4272         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4273
4274         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4275         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4276         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4277         * paragraph_pimpl.C (simpleTeXSpecialC):
4278         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4279         add LatexRunParams argument.
4280
4281         * exporter.C (Export): change call accordingly.
4282
4283         * latexrunparams.h: add new member to take care of the other backends.
4284 2003-10-30  José Matos  <jamatos@lyx.org>
4285
4286         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4287         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4288         factorise code for paragraph output.
4289         * buffer.[Ch]:
4290         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4291         move functions.
4292
4293 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4294
4295         * text3.C (dispatch):
4296         * lyxfunc.C (dispatch):
4297         * cursor.C (dispatch):
4298         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4299
4300         * dispatchresult.h: make the dispatch_result_t ctor explicit
4301
4302 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4303
4304         * sgml.[Ch]:
4305         * buffer.C: small refactoring of docbook stuff
4306
4307 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4308
4309         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4310         meaning.
4311
4312 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4313
4314         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4315         operator dispatch_result_t, and operators for == != and >=
4316
4317         * cursor.C (dispatch): adjust for operator dispatch_result_t
4318         removal. comment out call to update
4319
4320         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4321
4322 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4323
4324         * text3.C:
4325         * text2.C:
4326         * text.C:
4327         * lyxtext.h:
4328         * lyxfunc.C:
4329         * cursor.C:
4330         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4331         (dispatch):
4332
4333         * dispatchresult.h: new file, DispatchResult broken out of
4334         insets/insetbase.h
4335
4336         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4337
4338 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4339
4340         * text.C (rowBreakPoint): put a hack inside #if 0
4341
4342 2003-10-28  André Pönitz  <poenitz@gmx.net>
4343
4344         * lyxtext.h:
4345         * metricsinfo.C:
4346         * paragraph_funcs.C:
4347         * rowpainter.C:
4348         * text.C:
4349         * text2.C: general cleanup (lots of small stuff)
4350
4351 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4352
4353         * text2.C (cursorEnd): simple fix to the "end key goes to one
4354         before the end on last row" bug
4355
4356 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4357
4358         * text.C (backspace): fix the "zombie characters"
4359
4360 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4361
4362         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4363
4364 2003-10-27  André Pönitz  <poenitz@gmx.net>
4365
4366         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4367
4368         * factory.C: handle new InsetPagebreak, InsetLine
4369
4370         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4371         and move handling into new InsetPagebreak, InsetLine
4372
4373         * BufferView_pimpl.C:
4374         * LyXAction.C:
4375         * ParagraphParameters.C:
4376         * ParameterStruct.h:
4377         * lyxfunc.C:
4378         * lyxtext.h:
4379         * paragraph.C:
4380         * paragraph.h:
4381         * paragraph_funcs.C:
4382         * paragraph_pimpl.C:
4383         * rowpainter.C:
4384         * text.C:
4385         * text2.C:
4386         * text3.C: adjust
4387
4388 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4389
4390         * text.C:
4391         * lyxrow_funcs.[Ch]:
4392         * Bidi.C:
4393         * paragraph.C:
4394         * lyxtext.h:
4395         * rowpainter.C:
4396         * text2.C:
4397         * text3.C: remove lastPos uses in favour of Row::endpos
4398
4399 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4400
4401         * undo.C (performUndoOrRedo): fix two crashes by setting a
4402         cursor by hand and reordering some calls. Use bv->lockInset instead
4403         of inset->edit because the latter loses cursor information
4404
4405 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4406
4407         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4408         by Martin
4409         (rowBreakPoint): fix width. change point to point + 1.
4410         Add a missing check.
4411
4412 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4413
4414         * MenuBackend.C:
4415         * lyxfunc.C: fix (at least partly) the problems
4416         with the Nav menu and headers inside branch insets
4417         reported by Kayvan
4418
4419 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4420
4421         * paragraph.C (getChar): add strong asserts
4422
4423         * lyxrow_funcs.C (lastPos): remove hideous hack
4424
4425         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4426         (fill): adjust to that (avoid an infinite loop)
4427
4428 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4429
4430         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4431
4432 2003-10-23  André Pönitz  <poenitz@gmx.net>
4433
4434         * RowList_fwd.h: change list<> to vector<> to gain speed
4435         after suggestion from Alfredo
4436
4437 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4438
4439         * lyxtext.h: move the bidi stuff from here...
4440         * text.C: and here
4441         * text2.C: and here
4442         * Bidi.[Ch]: ... to here
4443
4444 2003-10-23  André Pönitz  <poenitz@gmx.net>
4445
4446         * lyxtext.h:
4447         * text.C (isLastRow, isFirstRow): new functions
4448
4449         * paragraph.h: new width cache member
4450
4451         * rowpainter.C: replace RowList::iterator with Row & where possible
4452
4453         * lyxfunc.C: replace several view()->text with a single call
4454
4455         * toc.C: fix 'unused' warning
4456
4457 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4458
4459         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4460         when woring with stream::pos_type
4461         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4462
4463 2003-10-22  André Pönitz  <poenitz@gmx.net>
4464
4465         * lyxtext.h:
4466         * text.C: use Row & instead of RowList::iterator
4467
4468         * lyxrow.h: rename end() to endpos()
4469
4470         * rowpainter.C:
4471         * text.C:
4472         * text2.C: adjust
4473
4474 2003-10-22  Angus Leeming  <leeming@lyx.org>
4475
4476         * buffer.[Ch] (fully_loaded): new member function, returning true
4477         only when the file has been loaded fully.
4478         Used to prevent the premature generation of previews and by the
4479         citation inset to prevent computation of the natbib-style label.
4480
4481         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4482         templates are all set up.
4483
4484         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4485
4486 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4487
4488         * text.C: fixed an "oops" in the "is a bit silly"
4489         bug fix
4490
4491 2003-10-21  André Pönitz  <poenitz@gmx.net>
4492
4493         * FuncStatus.[Ch]: small stuff, whitespace
4494
4495         * lyxfont.[Ch]: operator<<() for debug reasons
4496
4497         * lyxfunc.C:
4498         * lyxrow_funcs.C:
4499         * lyxtext.h: whitespace, spelling
4500
4501         * paragraph.C: naming of variables
4502
4503         * text.C:
4504         * text2.C: small stuff
4505
4506
4507 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4508
4509         * text.C: (1) finish off the inset display() work;
4510         (2) fix the "is a bit silly" bug (accessing char
4511         past end of par).
4512
4513 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4514
4515         * text.C: re-introduce display() for insets, fixing the
4516         various bugs (stretch of line above, math inset
4517         positioning, ...)
4518
4519 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4520
4521         * text.C (rightMargin): remove spurious semicolon
4522
4523         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4524         1415)
4525
4526 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4527
4528         * text3.C: fix one crash due to wrong cursor def
4529
4530 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4531
4532         * vc-backend.C (scanMaster): make the regex static
4533
4534         * LaTeX.C (scanAuxFile): make the regexs static
4535
4536         * text3.C (doInsertInset, dispatch, dispatch):
4537         * text2.C (cursorUp, cursorDown):
4538         * text.C (selectNextWordToSpellcheck):
4539         * BufferView_pimpl.C (dispatch):
4540         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4541
4542 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4543
4544         * lyxsocket.C: include <cerrno>
4545
4546 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4547
4548         * lyxfunc.C (dispatch): remove textcache stuff
4549
4550         * bufferlist.C (release): remove textcache stuff
4551         (closeAll): ditto
4552
4553         * TextCache.C: delete file
4554         * TextCache.h: delete file
4555
4556         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4557
4558         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4559         delete of the bv_->text.
4560         (resizeCurrentBuffer): remove texcache stuff
4561         (workAreaResize): ditto
4562
4563 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4564
4565         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4566         action.
4567
4568 2003-10-16  André Pönitz  <poenitz@gmx.net>
4569
4570         * lyxrow.[Ch]:
4571         * paragraph.h:
4572         * rowpainter.C:
4573         * text.C:
4574         * text2.C:
4575         * text3.C: speed up by storing y positions per paragraph plus per-row
4576         offset instead of having a 'full' y position in the row.
4577
4578 2003-10-15  André Pönitz  <poenitz@gmx.net>
4579
4580         * iterators.[Ch]:
4581         * iterators.[Ch]:
4582         * undo.[Ch]: make undo aware of inner insets
4583
4584 2003-10-14  Angus Leeming  <leeming@lyx.org>
4585
4586         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4587         static member functions LyX::ref() and LyX::cref.
4588         (lastfiles): new accessor functions for the new lastfiles_ member var.
4589         (addLyXView, views_): add a new LyXView to the list of views_.
4590         (updateInset): loop over all LyXViews to call their own updateInset
4591         member function, returning a pointer to the Buffer owning the inset.
4592
4593         * BufferView_pimpl.C (loadLyXFile):
4594         * MenuBackend.C (expandLastfiles):
4595         * bufferlist.C (MenuWrite, QuitLyX):
4596         lastfiles is no longer a global variable.
4597         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4598
4599         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4600         static function. Access through LyX::cref().emergencyCleanup().
4601
4602 2003-10-14  André Pönitz  <poenitz@gmx.net>
4603
4604         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4605
4606         * undo.[Ch]: restoring part of 'undo in insets'
4607
4608         * Makefile.am:
4609         * undo_funcs.[Ch]: merge with undo.[Ch]
4610
4611         * tabular.C: small cleansing stuff
4612
4613 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4614
4615         * paragraph_funcs.C (readParToken): report unknown insets as error
4616         boxes. Use the outer paragraph as location (also for unknown
4617         tokens).
4618
4619         * factory.C (readInset): do not abort on reading an unknown inset.
4620         Eat it and return 0.
4621
4622 2003-10-13  Angus Leeming  <leeming@lyx.org>
4623
4624         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4625
4626         * lyxrc.C: displayTranslator is now a function,
4627         declared in GraphicsTypes.h.
4628
4629 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4630
4631         * format.C: new placeholder $$a to pass the socket address.
4632
4633         * bufferlist.[Ch]: new function getBufferFromTmp.
4634
4635         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4636           files in the temporary dir.
4637
4638 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4639
4640         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4641
4642         * Makefile.am: add lyxsocket.[Ch].
4643
4644         * lyx_main.C (error_handler): handle SIGPIPE.
4645
4646 2003-10-13  André Pönitz  <poenitz@gmx.net>
4647
4648         * BufferView_pimpl.C:
4649         * lyxtext.h:
4650         * text.C:
4651         * text2.C:
4652         * text3.C:
4653         * undo_funcs.[Ch]: use paroffset_type instead of
4654           ParagraphList::iterators to prevent multiple conversion
4655           (and get a more robust interface)
4656
4657 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4658
4659         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4660         * lyxtext.h: ditto
4661         * text3.C (dispatch): ditto
4662
4663 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4664
4665         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4666         move the onlyfile, use onlyfile instead of foundfile in a couple
4667         of places.
4668
4669         * DepTable.C (update): flush the error stream a bit more
4670
4671 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4672
4673         * lyxserver.C (callback): adjust
4674
4675         * lyxfunc.C (getStatus): add a missing brace in commented code
4676         (ensureBufferClean): reindent
4677         (dispatch): delete version taking a string
4678
4679 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4680
4681         * LaTeX.C (deplog): move found file handlig from here...
4682         (handleFoundFile): .. to new function here.
4683         (deplog): make sure to discover several files mentioned on the
4684         same log line.
4685
4686 2003-10-10  André Pönitz  <poenitz@gmx.net>
4687
4688         * lyxfunc.C:
4689         * lyxtext.h:
4690         * tabular.C:
4691         * text.C:
4692         * text2.C:
4693         * text3.C: fix some of the tabular crashes
4694
4695 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4696
4697         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4698
4699         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4700
4701 2003-10-09  André Pönitz  <poenitz@gmx.net>
4702
4703         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4704
4705         * BufferView.C:
4706         * BufferView_pimpl.C:
4707         * bufferview_funcs.C:
4708         * lyx_cb.C:
4709         * lyxcursor.C:
4710         * lyxfind.C:
4711         * lyxfunc.C:
4712         * lyxtext.h:
4713         * text.C:
4714         * text2.C:
4715         * text3.C:
4716         * text_funcs.[Ch]:
4717         * textcursor.[Ch]:
4718         * undo_funcs.C: adjust
4719
4720 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4721
4722         * text2.C (incrementItemDepth): new function, use a backtracking
4723         algorithm to discover the correct item depth.
4724         (resetEnumCounterIfNeeded): new function, use a backtracking
4725         algorithm to discover if counter reset is needed.
4726         (setCounter): use them. Simplify a bit. Add different labels for
4727         different item depths for itemize.
4728
4729         * paragraph.C (Paragraph): remove initialization of enumdepth
4730         (operator=): ditto
4731
4732         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4733         enumerate and itemize. Change the type of itemdepth to signed char.
4734
4735 2003-10-08  André Pönitz  <poenitz@gmx.net>
4736
4737         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4738           thing assignable.
4739         * text.C:
4740         * text2.C: adjust
4741
4742         * tabular.[Ch]: fix crash after 'row-insert'
4743
4744 2003-10-08  Angus Leeming  <leeming@lyx.org>
4745
4746         Fix doxygen warnings.
4747
4748         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4749         Remove CutAndPaste:: prefix from header file declaration.
4750
4751         * LColor.h (fill): remove LColor:: prefix from declaration.
4752
4753         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4754         use lyx::depth_type rather than Paragraph::depth_type so that
4755         header file and .C file match.
4756
4757         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4758
4759         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4760         * aspell.C: \file aspell_local.C -> \file aspell.C
4761         * gettext.C: \file gettext.C -> \file src/gettext.C
4762         * gettext.h: \file gettext.h -> \file src/gettext.h
4763         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4764         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4765         * text.C: \file text.C -> \file src/text.C
4766
4767         * toc.C: move comment so that doxygen is not confused.
4768
4769 2003-10-07  Angus Leeming  <leeming@lyx.org>
4770
4771         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4772
4773 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4774
4775         * aspell.C:
4776         * aspell_local.h: add forgotten std::string's.
4777
4778 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4779
4780         * LaTeXFeatures.C:
4781         * LyXAction.C:
4782         * factory.C:
4783         * lfuns.h:
4784         * lyxfunc.C:
4785         * text3.C: The Box patch. Fancybox support, minipage, parbox
4786
4787 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4788
4789         * CutAndPaste.h:
4790         * DepTable.h:
4791         * FloatList.h:
4792         * LaTeXFeatures.h:
4793         * ParagraphParameters.h:
4794         * TextCache.h:
4795         * Thesaurus.h:
4796         * bufferlist.h:
4797         * exporter.h:
4798         * importer.h:
4799         * lastfiles.h:
4800         * lyxfind.h:
4801         * lyxfont.h:
4802         * lyxlex.h:
4803         * lyxtextclasslist.h:
4804         * messages.h:
4805         * paragraph.h:
4806         * paragraph_pimpl.C:
4807         * textcursor.h: add <string> and other small fixes to make Lars'
4808         std::string patch compile with STLport.
4809
4810 2003-10-06  Angus Leeming  <leeming@lyx.org>
4811
4812         * LColor.h: Add missing #include <string>.
4813
4814 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4815
4816         * All most all file in all subdirs: Make <string> be the prefered
4817         way of getting to std::string, add using declarations.
4818
4819 2003-10-06  André Pönitz  <poenitz@gmx.net>
4820
4821         * metricsinfo.C: initialize LyXFont before changing attribute.
4822         (fixes the 'math in \emph is upright' bug)
4823
4824 2003-10-06  André Pönitz  <poenitz@gmx.net>
4825
4826         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4827
4828 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4829
4830         * graph.C:
4831         * paragraph_pimpl.C: Small fixes to build using STLport
4832
4833 2003-10-02  André Pönitz  <poenitz@gmx.net>
4834
4835         * lyxfunc.C:
4836         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4837
4838 2003-10-01  André Pönitz  <poenitz@gmx.net>
4839
4840         * factory.C: assert early
4841
4842 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4843
4844         * lyx_main.C: remove the global debug object
4845
4846         * debug.h: adjust for new debugstream
4847
4848         * debug.C: adjust for new debugstream and keep the global debug
4849         object here.
4850
4851 2003-09-22  Angus Leeming  <leeming@lyx.org>
4852
4853         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4854         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4855         an incomplete class LyXFont.
4856
4857 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4858
4859         * factory.C: bug fix in branches
4860
4861 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4862
4863         * lyxfunc.C (processKeySym): adjust
4864         (dispatch): adjust
4865         (dispatch): change arg name from ev to func, adjust
4866         (sendDispatchMessage): ditto
4867
4868         * lyx_main.C (defaultKeyBindings): adjust keybindings
4869         (deadKeyBindings): ditto
4870
4871         * kbsequence.C (addkey): return a FuncRequest
4872
4873         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4874
4875         * kbmap.C (bind): take a FuncRequest as arg, adjust
4876         (read): adjust
4877         (lookup): adjust
4878         (defkey): change to take a FuncRequest as arg, adjust
4879         (findbinding): take a FuncRequest as arg, adjust.
4880
4881         * funcrequest.h (operator=): added
4882
4883         * funcrequest.C (FuncRequest): default kb_action changed from
4884         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4885
4886         * buffer.C (dispatch): simplify
4887         (dispatch): adjust to take a FuncRequest as arg, adjust
4888
4889         * boost.C (assertion_failed): change assertion message slightly
4890
4891         * ToolbarBackend.C (read): simplify
4892
4893         * MenuBackend.C (binding): adjust call to findbinding, add a
4894         message if no binding is found.
4895         (read): simplify
4896         (expandToc): correct by adding a empty FuncRequest
4897
4898         * LyXAction.C: include <boost/assert.hpp>
4899         (isPseudoAction): delete function
4900         (LookupFunc): change name to...
4901         (lookupFunc): this. change return type to FuncRequest.
4902         (getActionName): take kb_action as arg, simplify
4903         (funcHasFlag): add an assert, simplify.
4904
4905 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4906
4907         * toc.C (action): return a FuncRequest, simplify
4908
4909         * lyxfunc.C (processKeySym): adjust
4910         (getStatus): delete version that takes an int.
4911         (getStatus): adjust
4912         (dispatch): delete version that takes action as int
4913         (dispatch): adjust
4914         (sendDispatchMessage): simplify and adjust
4915
4916         * funcrequest.C (getArg): take unsigned int as arg
4917
4918         * ToolbarBackend.C (read): adjust
4919         (add): delete version that takes func as a string.
4920         (getIton): take a FuncRequest as arg
4921
4922         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4923         action.
4924
4925         * MenuBackend.C (MenuItem): add a new construct that only takes a
4926         Kind, simplify the constructor use for submenus.
4927         (add): adjust
4928         (expandLastfiles): adjust
4929         (expandDocuments): adjust
4930         (expandFormats): adjust
4931         (expandFloatListInsert): adjust
4932         (expandFloatInsert): adjust
4933         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4934
4935         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4936         Remove class variables lyx_pseudo_map and lyx_arg_map
4937
4938         * LyXAction.C (searchActionArg): delete function
4939         (getPseudoAction): delete function
4940         (retrieveActionArg): delete function
4941         (LookupFunc): make it return kb_action, simplify.
4942         (getActionName): simplify
4943
4944         * factory.C (createInset): fix new bug
4945
4946 2003-09-19  Angus Leeming  <leeming@lyx.org>
4947
4948         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4949         masterFilename_ parameter in the include inset.
4950
4951         * factory.C (createInset): changes due to the changes to InsetInclude.
4952
4953 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4954
4955         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4956
4957 2003-09-18  Angus Leeming  <leeming@lyx.org>
4958
4959         * buffer.C:
4960         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4961         Inset::fillWithBibKeys.
4962         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4963
4964 2003-09-18  Angus Leeming  <leeming@lyx.org>
4965
4966         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4967         variables.
4968         (ctor): pass and store a 'Buffer const &'
4969         (buffer): new member function.
4970
4971         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4972         '*this' to the LaTeXFeatures ctor.
4973
4974 2003-09-18  Angus Leeming  <leeming@lyx.org>
4975
4976         * LColor.h:
4977         * lyxfont.C:
4978         * lyxfont.h:
4979         * lyxtext.h:
4980         * text.C: rename EnumLColor as LColor_color.
4981
4982 2003-09-18  Angus Leeming  <leeming@lyx.org>
4983
4984         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4985         remove #include "insets/insetbase.h" from cursor.h.
4986
4987 2003-09-18  Angus Leeming  <leeming@lyx.org>
4988
4989         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4990         InsetOld_code to remove #include "inset.h".
4991
4992         * iterators.C: add #include "insets/inset.h"
4993
4994 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4995
4996         * BufferView.C: remove more locking stuff that apparently doesn't
4997         do anything sensible.
4998
4999 2003-09-16  André Pönitz  <poenitz@gmx.net>
5000
5001         * paragraph.[Ch]:
5002         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5003           performance boost.
5004
5005 2003-09-16  Angus Leeming  <leeming@lyx.org>
5006
5007         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5008
5009         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5010         arg/return type.
5011
5012         * paragraph.h: remove #include "lyxfont.h". Forward declare
5013         LyXFont_size.
5014
5015 2003-09-16  Angus Leeming  <leeming@lyx.org>
5016
5017         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5018         of support/textutils.h.
5019         (isWord): move the contents of support/textutils.h's IsWordChar here.
5020
5021         * buffer.C:
5022         * lyxfind.C:
5023         * rowpainter.C:
5024         * text.C:
5025         * text2.C: add #include "paragraph.h".
5026
5027         * rowpainter.C:
5028         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5029
5030 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5031
5032         * main.C:
5033         * lyx_main.C:
5034         * lyx_cb.C:
5035         * buffer.C:
5036         * LaTeX.C: use namespace alias for lyx::support::os
5037
5038 2003-09-16  Angus Leeming  <leeming@lyx.org>
5039
5040         * bufferparams.C:
5041         * bufferview_funcs.C:
5042         * factory.C:
5043         * lyxfunc.C:
5044         * paragraph_pimpl.C:
5045         * rowpainter.C:
5046         * text.C: add #include "LColor.h".
5047
5048 2003-09-16  Angus Leeming  <leeming@lyx.org>
5049
5050         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5051         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5052         return LyXFont &.
5053         Store the FontBits::color variable as an int rather than as an
5054         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5055         file.
5056
5057         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5058         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5059         string calls together.
5060
5061         * lyxrc.C: add #include "LColor.h".
5062
5063 2003-09-15  Angus Leeming  <leeming@lyx.org>
5064
5065         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5066         a cow_ptr.
5067
5068 2003-09-15  Angus Leeming  <leeming@lyx.org>
5069
5070         * LColor.h: add an EnumLColor wrapper for LColor::color.
5071
5072         * lyxfont.[Ch] (color, setColor, realColor):
5073         * lyxtext.h, text.C (backgroundColor):
5074         pass EnumLColor args to/from the functions, rather than LColor::color
5075         ones.
5076
5077         * lyxfont.h:
5078         * lyxtext.h: forward declare EnumLColor.
5079
5080         * lyx_main.C: add #include "LColor.h".
5081
5082 2003-09-15  Angus Leeming  <leeming@lyx.org>
5083
5084         * .cvsignore: add lyx-gtk.
5085
5086 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5087
5088         * Chktex.C
5089         * LaTeX.C
5090         * LaTeXFeatures.C
5091         * ParagraphParameters.C
5092         * Spacing.C
5093         * buffer.C
5094         * bufferparams.C
5095         * bufferview_funcs.C
5096         * chset.C
5097         * counters.C
5098         * funcrequest.C
5099         * lyxfont.C
5100         * lyxgluelength.C
5101         * lyxlength.C
5102         * paragraph.C
5103         * paragraph_funcs.C
5104         * text3.C
5105         * vc-backend.C: remove usage of STRCONV
5106
5107 2003-09-15  Angus Leeming  <leeming@lyx.org>
5108
5109         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5110         explicitly define the color passed to the painter.
5111
5112 2003-09-15  Angus Leeming  <leeming@lyx.org>
5113
5114         * bufferparams.C (BufferParams): reorder member initializers to avoid
5115         compiler warning.
5116
5117 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5118
5119         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5120         * text.C (updateRowPositions): remove an unusual nop
5121
5122 2003-09-12  André Pönitz  <poenitz@gmx.net>
5123
5124         * BufferView_pimpl.C:
5125         * Bullet.C:
5126         * layout.h:
5127         * lyxfunc.C:
5128         * lyxlayout.[Ch]:
5129         * lyxtextclass.C:
5130         * rowpainter.C:
5131         * text.C:
5132         * text2.C:
5133         * Counters.[Ch]: finish the 'automatic counters' job
5134
5135 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5136
5137         * aspell.C: include <boost/assert.cpp> (compile fix)
5138
5139 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5140
5141         * boost.C (assertion_failed): use lyx::support::abort instead of
5142         assert.
5143
5144 2003-09-10  Angus Leeming  <leeming@lyx.org>
5145
5146         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5147         with their _fwd progeny.
5148
5149 2003-09-09  Angus Leeming  <leeming@lyx.org>
5150
5151         134 files throughtout the source tree: replace 'using namespace abc;'
5152         directives with the appropriate 'using abc::xyz;' declarations.
5153
5154 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5155
5156         * boost.C (emergencyCleanup): moved here from LAssert.c
5157         (assertion_failed): new function, called by BOOST_ASSERT
5158
5159         * several files: change Assert to BOOST_ASSERT
5160
5161 2003-09-09  Angus Leeming  <leeming@lyx.org>
5162
5163         * buffer.[Ch]: Add an Impl class and move Buffer's member
5164         variables into it. As a result move several header files out of
5165         buffer.h.
5166
5167         Add header files to lots of .C files all over the tree as a result.
5168
5169 2003-09-09  Angus Leeming  <leeming@lyx.org>
5170
5171         * buffer.[Ch]: make Buffer's member variables private. Add
5172         accessor functions.
5173
5174         Lots of changes all over the tree as a result.
5175
5176 2003-09-08  Angus Leeming  <leeming@lyx.org>
5177
5178         * graph.C: #include <config.h>.
5179
5180 2003-09-08  Angus Leeming  <leeming@lyx.org>
5181
5182         * BranchList.C:
5183         * BufferView.C:
5184         * BufferView_pimpl.C:
5185         * CutAndPaste.C:
5186         * DepTable.C:
5187         * LaTeX.C:
5188         * LaTeXFeatures.C:
5189         * LyXAction.C:
5190         * MenuBackend.C:
5191         * TextCache.C:
5192         * aspell.C:
5193         * buffer.C:
5194         * bufferlist.C:
5195         * changes.C:
5196         * chset.C:
5197         * converter.C:
5198         * counters.C:
5199         * debug.C:
5200         * graph.C:
5201         * ispell.C:
5202         * lyx_cb.C:
5203         * lyxfind.C:
5204         * lyxfunc.C:
5205         * lyxlex_pimpl.C:
5206         * lyxrc.C:
5207         * lyxrow.C:
5208         * paragraph.C:
5209         * rowpainter.C:
5210         * texrow.C:
5211         * text.C:
5212         * text2.C:
5213         * toc.C: remove redundant using directives.
5214
5215 2003-09-07  Angus Leeming  <leeming@lyx.org>
5216
5217         * LaTeXFeatures.h: remove #include "support/types.h".
5218         * ToolbarBackend.h: remove #include <algorithm>.
5219         * changes.h: remove #include <ctime>.
5220         * debug.h: remove #include <iosfwd>.
5221         * graph.h: remove #include "support/std_string.h".
5222         * lyx_main.h: remove #include <csignal>.
5223         * lyxlex_pimpl.h: remove #include <fstream>.
5224         * sgml.h: remove #include <algorithm>, <utility>.
5225         * toc.h: remove #include "support/std_ostream.h".
5226         Add #include <iosfwd>.
5227
5228 2003-09-07  Angus Leeming  <leeming@lyx.org>
5229
5230         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5231
5232         * converter.h: forward declare LatexRunParams.
5233         * encoding.h: remove #include "lyxrc.h".
5234         * lyxtext.h: remove #include "LColor.h".
5235         * lyxtextclass.h: remove #include "support/types.h".
5236         * trans.h: remove #include "tex-accent.h".
5237         * trans_mgr.h: remove #include "tex-accent.h".
5238         * insets/inset.h: remove #include "support/types.h", <vector>.
5239         * insets/insetcollapsable.h: remove #include "LColor.h".
5240         * insets/insetinclude.h: remove #include "dimension.h".
5241         * insets/insetlatexaccent.h: remove #include "dimension.h".
5242         * insets/insetoptarg.h:: remove #include "insettext.h".
5243         * insets/insettext.h: remove #include "dimension.h",
5244         <boost/shared_ptr.hpp>
5245
5246         * insets/renderers.h: add #include "dimension.h".
5247         * insets/updatableinset.h: add #include "support/types.h".
5248
5249         * many .C files: Associated changes.
5250
5251 2003-09-06  Angus Leeming  <leeming@lyx.org>
5252
5253         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5254         one, inside testInvariant.
5255
5256         * PrinterParams.C: new file.
5257         * PrinterParams.[Ch]: move the function bodies out of line.
5258
5259 2003-09-06  Angus Leeming  <leeming@lyx.org>
5260
5261         * ParagraphParameters.h: forward declare ParameterStruct rather than
5262         including its header file.
5263         (depth): moved out-of-line.
5264
5265 2003-09-06  Angus Leeming  <leeming@lyx.org>
5266
5267         * BufferView_pimpl.h:
5268         * kbmap.h:
5269         * kbsequence.h:
5270         * lyxfunc.h: forward declare LyXKeySym rather than
5271         #include "frontends/LyXKeySym.h".
5272
5273         * BufferView_pimpl.C:
5274         * kbmap.C:
5275         * kbsequence.C:
5276         * lyxfunc.C: associated changes.
5277
5278 2003-09-06  Angus Leeming  <leeming@lyx.org>
5279
5280         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5281         As a result, can remove the #include "insets/inset.h" from BufferView.h
5282
5283 2003-09-06  Angus Leeming  <leeming@lyx.org>
5284
5285         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5286         As a result, can remove the #include "insets/inset.h" from BufferView.h
5287
5288 2003-09-06  Angus Leeming  <leeming@lyx.org>
5289
5290         * buffer_funcs.C:
5291         * buffer.h:
5292         * bufferlist.C:
5293         * BufferView.C:
5294         * bufferview_funcs.C:
5295         * BufferView_pimpl.C:
5296         * CutAndPaste.C:
5297         * lyx_cb.C:
5298         * lyxfunc.C:
5299         * paragraph.h:
5300         * ParagraphParameters.C:
5301         * tabular.C:
5302         * text3.C:
5303         * toc.C:
5304         * undo_funcs.C:
5305         * frontends/controllers/ControlDocument.C:
5306         * insets/insetcaption.C: rearrange the #includes into some sort of
5307         coherent order.
5308
5309         * buffer.h: remove #includes ErrorList.h, undo.h
5310
5311 2003-09-06  Angus Leeming  <leeming@lyx.org>
5312
5313         * support/types.h: add a 'depth_type' typedef, used to store the
5314         nesting depth of a paragraph.
5315
5316         * paragraph.h:
5317         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5318         defining explicitly.
5319
5320         * buffer.h:
5321         * paragraph_funcs.h:
5322         * ParagraphParameters.h:
5323         * sgml.h: use lyx::depth_type rather than Paragraph or
5324         ParameterStruct's depth_type.
5325
5326         * buffer.h
5327         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5328
5329         * BufferView.C:
5330         * BufferView_pimpl.C:
5331         * CutAndPaste.C:
5332         * ParagraphParameters.C:
5333         * buffer_funcs.C:
5334         * bufferlist.C:
5335         * bufferview_funcs.C:
5336         * lyx_cb.C:
5337         * lyxfunc.C:
5338         * tabular.C:
5339         * text3.C:
5340         * toc.C:
5341         * undo_funcs.C:
5342         * frontends/LyXView.C:
5343         * frontends/controllers/ControlDocument.C:
5344         * frontends/controllers/ControlErrorList.C:
5345         * insets/insetbibitem.C:
5346         * insets/insetbranch.C:
5347         * insets/insetcaption.C:
5348         * insets/insetcollapsable.C:
5349         * insets/insetenv.C:
5350         * insets/insetert.C:
5351         * insets/insetfloat.C:
5352         * insets/insetfoot.C:
5353         * insets/insetfootlike.C:
5354         * insets/insetnewline.C:
5355         * insets/insetquotes.C:
5356         * insets/insettabular.C:
5357         * insets/insettext.C:
5358         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5359
5360         * frontends/controllers/ControlChanges.C: #include "changes.h".
5361
5362 2003-09-06  Angus Leeming  <leeming@lyx.org>
5363
5364         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5365         than #including paragraph.h.
5366
5367         * ParagraphList.h:
5368         * RowList.h: deleted. Superfluous.
5369
5370         * CutAndPaste.h:
5371         * iterators.h:
5372         * lyxcursor.h:
5373         * lyxtext.h:
5374         * text_funcs.h:
5375         * undo.h:
5376         * undo_funcs.h:
5377         * insets/inset.h:
5378         * insets/insettext.h: use ParagraphList_fwd.h rather than
5379         ParagraphList.h.
5380
5381         * paragraph.h: don't forward declare ParagraphList.
5382
5383         * buffer.h:
5384         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5385         rather than ParagraphList.h. paragraph.h is still needed for the
5386         Paragraph::depth_type parameters.
5387
5388         * textcursor.h: enable it to compile stand-alone in light of the
5389         above changes.
5390
5391         * bufferview_funcs.C:
5392         * iterators.C:
5393         * lyxfunc.C:
5394         * lyxrow_funcs.C:
5395         * paragraph.C:
5396         * rowpainter.C:
5397         * text.C:
5398         * text2.C:
5399         * text3.C:
5400         * text_funcs.C:
5401         * textcursor.C:
5402         * undo.C:
5403         * frontends/controllers/ControlParagraph.C:
5404         * frontends/controllers/ControlTabular.C:
5405         * insets/insetmarginal.C:
5406         * insets/insetminipage.C:
5407         * insets/insetnote.C:
5408         * insets/insetoptarg.C: add header files needed to compile again.
5409
5410 2003-09-06  Angus Leeming  <leeming@lyx.org>
5411
5412         * RowList_fwd.h: new file, forward-declaring Row rather than
5413         #including lyxrow.h.
5414
5415         * lyxrow_funcs.h:
5416         * lyxtext.h:
5417         * paragraph.h:
5418         * insets/insettext.h: use it instead of RowList.h
5419
5420         * bufferview_funcs.C:
5421         * lyxfunc.C:
5422         * lyxrow_funcs.C:
5423         * paragraph.C:
5424         * rowpainter.C:
5425         * text.C:
5426         * text2.C:
5427         * text3.C: #include "RowList.h".
5428
5429 2003-09-05  Angus Leeming  <leeming@lyx.org>
5430
5431         * factory.C (createInset):
5432         * vspace.C (c-tor): replace sscanf call with an istringstream.
5433         * ispell.C: re-add missing HP/UX headers.
5434         * lyxserver.C: re-add missing  os2 headers.
5435
5436 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5437
5438         * BranchList.C:
5439         * graph.C:
5440         * ispell.C:
5441         * lastfiles.C:
5442         * lyx_cb.C:
5443         * lyxserver.C:
5444         * texrow.C:
5445         * text3.C: re-add missing system headers, needed for 2.95.2.
5446
5447 2003-09-05  Angus Leeming  <leeming@lyx.org>
5448
5449         Changes most place everywhere due to the removal of using directives
5450         from support/std_sstream.h.
5451
5452 2003-09-05  Angus Leeming  <leeming@lyx.org>
5453
5454         Replace LString.h with support/std_string.h,
5455         Lsstream.h with support/std_sstream.h,
5456         support/LIstream.h with support/std_istream.h,
5457         support/LOstream.h with support/std_ostream.h.
5458
5459         Changes resulting throughout the tree.
5460
5461 2003-09-05  Angus Leeming  <leeming@lyx.org>
5462
5463         * sgml.h: ensure that the header file can be compiled stand-alone.
5464         * *.C: strip out redundant #includes. (320 in total.)
5465
5466 2003-09-04  Angus Leeming  <leeming@lyx.org>
5467
5468         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5469         here (from getPackages).
5470
5471         * debug.[Ch]: add a new EXTERNAL tag.
5472
5473 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5474
5475         * text2.C (cursorEnd): simplify
5476         (setCursor): adjust
5477         (getColumnNearX): adjust
5478
5479         * text.C (computeBidiTables): adjust
5480         (fill): adjust
5481
5482         * rowpainter.C (paintChars): adjust
5483         (paintSelection): adjust
5484         (paintChangeBar): adjust
5485         (paintText): adjust
5486
5487         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5488         lastPos instead.
5489         (numberOfSeparators): adjust
5490
5491 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5492
5493         * LyXAction.C:
5494         * box.[Ch]:
5495         * lfuns.h:
5496         * lyxfunc.C:
5497         * text3.C: Restricts the mouse click functionality
5498         of insets like bibtex, include, toc and floatlist to the visible
5499         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5500         up the dialogs. Cursor has to be in front of the inset (i.e.
5501         start of row) for this to function.
5502
5503 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5504
5505         * bufferview_funcs.C (currentState): output row information
5506
5507 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5508
5509         * bufferview_funcs.C (currentState): output paragraph position
5510
5511 2003-09-04  Angus Leeming  <leeming@lyx.org>
5512
5513         * FloatList.h: move out #include "Floating.h".
5514         * LaTeX.h: move out #include "DepTable.h".
5515         * LyXAction.h: move out #include "funcrequest.h".
5516         * buffer.h: move out #include "author.h", "iterators.h".
5517         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5518         * lyx_main.h: move out #include "errorlist.h".
5519         * lyxfunc.h: move out #include "FuncStatus.h".
5520         * lyxtext: move out #include "lyxcursor.h".
5521         * paragraph_pimpl.h: move out #include "counters.h".
5522
5523 2003-09-03  Angus Leeming  <leeming@lyx.org>
5524
5525         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5526         preamble_snippets list, enabling us to add snippets to the preamble
5527         only if the snippet was not there already.
5528
5529 2003-09-04  Angus Leeming  <leeming@lyx.org>
5530
5531         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5532
5533 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5534
5535         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5536         update
5537
5538 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5539
5540         * BranchList.C: point fix, earlier forgotten
5541
5542 2003-09-02  Angus Leeming  <leeming@lyx.org>
5543
5544         * box.C (contains): renamed from 'contained' after a fantastic
5545         amount of hot air.
5546
5547 2003-09-02  John Levon  <levon@movementarian.org>
5548
5549         * BufferView.C:
5550         * lyxcursor.h:
5551         * lyxcursor.C:
5552         * lyxfunc.C:
5553         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5554
5555 2003-09-02  John Levon  <levon@movementarian.org>
5556
5557         * text2.C: simplification of cursorEnd(), including partial
5558         fix for bug 1376
5559
5560 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5561
5562         * buffer.C (readFile): add a space
5563
5564 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5565
5566         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5567
5568 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5569
5570         * buffer.C (readFile): new function, take a filename and a
5571         ParagraphList::iterator
5572         (readFile): adjust
5573         (readFile): adjust, make it private. don't use setStream, make
5574         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5575         always contain the filename.
5576
5577         * BufferView.C (insertLyXFile): simplify and make it work for
5578         gzipped files.
5579
5580 2003-08-30  John Levon  <levon@movementarian.org>
5581
5582         * Makefile.am: fix dist (from Kayvan)
5583
5584 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5585
5586         * most files: change to use const Buffer refs
5587
5588 2003-08-27  André Pönitz  <poenitz@gmx.net>
5589
5590         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5591         on top of ownerPar().
5592
5593 2003-08-27  John Levon  <levon@movementarian.org>
5594
5595         * funcrequest.C: properly initialise POD members
5596
5597 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5598
5599         * lyxtext.h (top_y): move top_y from here
5600         * text.C:
5601         * text2.C:
5602         * text3.C:
5603         * BufferView.[Ch]:
5604         * BufferView_pimpl.[Ch]: to here
5605         * frontends/screen.C:
5606         * insets/insettabular.C:
5607         * insets/insettext.C: adjust
5608         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5609
5610 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5611
5612         * BufferView.[Ch]:
5613         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5614
5615 2003-08-26  André Pönitz  <poenitz@gmx.net>
5616
5617         * paragraph_func.[Ch] (outerPar): new function
5618
5619         * paragraph.C:
5620         * paragraph_funcs.C:
5621         * paragraph_funcs.h:
5622         * paragraph_pimpl.C:
5623         * text2.C: remove Inset::par_owner
5624
5625 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5626
5627         * lyxrow_funcs.C:
5628         * lyxtext.h:
5629         * text.C:
5630         * text2.C: eliminates the needFullRow/display() stuff
5631         altogether, putting the logic in metrics/draw in the insets.
5632
5633 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5634
5635         * text2.C (redoParagraphInternal, redoParagraphs):
5636         * text.C (redoParagraph): add a call to updateRowPositions at the
5637         end of each 'metrics-like' call. Remove all others.
5638         (getRow): remove the 'y-computing' version.
5639         (getRowNearY): do not compute nor return the real y. Solve the
5640         'y < 0' problem and simplify.
5641
5642 2003-08-22  Angus Leeming  <leeming@lyx.org>
5643
5644         * *.[Ch]: clean-up of licence and author blurbs.
5645         Also move config.h out of a few .h files and into a few .C files.
5646
5647 2003-08-22  André Pönitz  <poenitz@gmx.net>
5648
5649         * lyxrow.[Ch]: add x_ and *fill_ members
5650
5651         * lyxtext.h:
5652         * text.C:
5653         * rowpainter.C:
5654         * text2.C: adjust/remove prepareToPrint() calls
5655
5656 2003-08-22  André Pönitz  <poenitz@gmx.net>
5657
5658         * lyxrow.[Ch]: add  end_ member
5659
5660         * lyxrow_funcs.C: use LyXRow::end_
5661
5662         * lyxtext.h (singleWidth): add LyXFont parameter
5663
5664         * rowpainter.C:
5665         * text2.C: adjust LyXText::singleWidth() calls
5666
5667         * text.C (redoParagraph): simplify row breaking logic
5668
5669
5670 2003-08-19  André Pönitz  <poenitz@gmx.net>
5671
5672         * funcrequest.C: initialize button_ member
5673
5674         * text3.C:
5675         * rowpainter.[Ch]: interface consolidation
5676
5677 2003-08-18  André Pönitz  <poenitz@gmx.net>
5678
5679         * BufferView.C:
5680         * BufferView_pimpl.C:
5681         * lyxfind.C:
5682         * paragraph_funcs.C:
5683         * rowpainter.C:
5684         * text3.C: remove LyXScreen::draw() and fitCursor calls
5685
5686         * BranchList.h: remove spurious semicolons
5687
5688         * MenuBackend.C: fix branchlist related crash
5689
5690 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5691
5692         * BranchList.[Ch]:
5693         * InsetList.[Ch]:
5694         * LColor.[Ch]:
5695         * LyXAction.C:
5696         * Makefile.am:
5697         * MenuBackend.[Ch]:
5698         * bufferparams.[Ch]:
5699         * factory.C:
5700         * lfuns.h:
5701         * lyxfunc.C:
5702         * text3.C: implements the 'branch inset'
5703         idea. This allows the output of various versions of a document
5704         from a single source version, selectively outputing or suppressing
5705         output of parts of the text.
5706         This implementation contains a 'branch list editor' in a separate
5707         tab of the document settings dialog. Branches are user definable
5708         and have a "display colour" to distinguish them on-screen.
5709
5710         ColorHandler was somewhat cleaned up.
5711         (1) make possible a dynamically growing LColor list by allowing
5712         the graphic context cache to grow along (vector);
5713         (2) eliminate an IMHO unnecessary step in colour allocation.
5714
5715 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5716
5717         * BufferView_pimpl.C: compile fix
5718
5719 2003-08-15  André Pönitz  <poenitz@gmx.net>
5720
5721         * rowpainter.C: remove extra metrics calls
5722
5723         * lyxtext.h: merge the two constructors into a single one,
5724           pass reference to owner's par list
5725
5726         * BufferView_pimpl.C:
5727         * text.C:
5728         * text2.C: adjust
5729
5730 2003-08-15  André Pönitz  <poenitz@gmx.net>
5731
5732         * lyxrow_funcs.[Ch]:
5733         * lyxtext.h:
5734         * paragraph.h:
5735         * paragraph_funcs.C:
5736         * rowpainter.C:
5737         * text.C:
5738         * text2.C:
5739         * text3.C:
5740         * text_funcs.C: split LyXText::rowlist_ into individual
5741         Paragraph::rows_ chunks
5742
5743         * BufferView.[Ch]:
5744         * BufferView_pimpl.[Ch]:
5745         * lyxfind.C:
5746         * lyxtext.h:
5747         * text3.C: remove toggleSelection()
5748
5749 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5750
5751         * bufferlist.C: beautify two alerts (shorter text of buttons)
5752         * buffer.C: Remove redundant ' ' from message
5753         * tabular.h:
5754         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5755         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5756         rename VALIGN_CENTER to VALIGN_MIDDLE
5757
5758 2003-08-11  André Pönitz  <poenitz@gmx.net>
5759
5760         * lyxtext.h (getPar):
5761         * text.C: new function
5762
5763 2003-08-11  André Pönitz  <poenitz@gmx.net>
5764
5765         * Makefile.am:
5766         * tracer.[Ch]: remove unneeded files
5767
5768         * InsetList.[Ch]: remove resizeInsetsLyXText()
5769
5770         * lyxtext.h:
5771         * text.C:
5772         * text2.C:
5773         * text3.C: merge insertParagraphs() and appendParagraph()
5774         remove breakAgain(), update()
5775
5776         * BufferView_pimpl.[Ch]:
5777         * bufferview_funcs.[Ch]:
5778         * lyxfunc.C:
5779         * paragraph.[Ch]:
5780         * rowpainter.C:
5781         * tabular.C: adjust after text & InsetList changes.
5782
5783 2003-08-08  André Pönitz  <poenitz@gmx.net>
5784
5785         * text.C (insertChar, backspace): replace rowlist fiddling
5786         with rebreak of full par
5787
5788         * lyxtext.h:
5789         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5790         checkParagraph, updateInset): removed
5791
5792 2003-08-07  André Pönitz  <poenitz@gmx.net>
5793
5794         * paragraph.C:
5795         * text3.C: merge some LFUN handlers, remove dead code
5796
5797 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5798
5799         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5800
5801 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5802
5803         * text2.C (DEPM): fix part of bug 1255 and 1256
5804
5805 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5806
5807         * BufferView_pimpl.C (workAreaDispatch): change to use
5808         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5809         that are no mouse related.
5810
5811 2003-08-05  André Pönitz  <poenitz@gmx.net>
5812
5813         * BufferView.[Ch]:
5814         * BufferView_pimpl.[Ch]:
5815         * bufferview_funcs.C:
5816         * text2.C:
5817         * text3.C: rip out "deep update"
5818
5819         * textcursor.[Ch] (last_sel_cursor): remove unused member
5820
5821 2003-08-04  André Pönitz  <poenitz@gmx.net>
5822
5823         * BufferView.[Ch]:
5824         * BufferView_pimpl.[Ch]:
5825         * ParagraphParameters.C:
5826         * bufferview_funcs.C:
5827         * lyx_cb.C:
5828         * lyxfind.C:
5829         * lyxfunc.C:
5830         * text.C:
5831         * text2.C:
5832         * text3.C: replace "complicated" BufferView::update(...) calls with
5833         simpler ones.
5834
5835         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5836
5837 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5838
5839         * Makefile.am (lyx_SOURCES): add paper.h
5840
5841 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5842
5843         * Makefile.am: move things around so that both lyx-qt and
5844         lyx-xforms can be built (according to --with-frontend). Then lyx
5845         is a symbolic link to lyx-[firstfrontend]
5846
5847 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5848
5849         * Always use std::endl with lyxerr
5850
5851 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5852
5853         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5854
5855 2003-08-01  André Pönitz  <poenitz@gmx.net>
5856
5857         * BufferView.[Ch]:
5858         * BufferView_pimpl.[Ch]:
5859         * lyxfunc.C:
5860         * text3.C: merge BufferView::repaint() and BufferView::update()
5861
5862 2003-08-01  José Matos  <jamatos@lyx.org>
5863
5864         * buffer.[Ch]: file_format is no longer a buffer data element.
5865
5866 2003-08-01  André Pönitz  <poenitz@gmx.net>
5867
5868         * BufferView.C:
5869         * lyxtext.h:
5870         * text.C:
5871         * text2.C: make redoParagraph more independent of current cursor
5872
5873         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5874         * text.C:
5875         * text2.C: remove unneeded members
5876
5877 2003-07-30  André Pönitz  <poenitz@gmx.net>
5878
5879         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5880
5881         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5882           create a single function...
5883
5884         * paragraph_funcs.C (moveItem): ... here.
5885
5886         * text.C:
5887           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5888
5889 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5890
5891         * LColor.[Ch]: Add comment and greyedout logical colors.
5892
5893 2003-07-30  André Pönitz  <poenitz@gmx.net>
5894
5895         * tabular.C: don't use Assert too heavily. This crashes where it
5896           shouldn't
5897
5898 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5899
5900         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5901         is disabled (bug 1232)
5902
5903 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5904
5905         * factory.C: limited 'arg' scope
5906
5907 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5908
5909         * factory.C: fixed Note submenu issues
5910
5911 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5912
5913         * factory.C: submenu for Note/Comment/Greyedout
5914
5915 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5916
5917         * lyx_main.C (LyX):
5918         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5919
5920 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5921
5922         * LaTeXFeatures.C:
5923         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5924         greyedout. Patch provided by Jürgen Spitzmüller.
5925
5926 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5927
5928         * kbmap.C (read): fix error message when reading bind files
5929
5930 2003-07-29  Angus Leeming  <leeming@lyx.org>
5931
5932         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5933         certainly does not do what it purports to do. I am doing it, and
5934         us, a favour by killing it.
5935
5936 2003-07-28  José Matos  <jamatos@lyx.org>
5937
5938         * buffer.C (readBody, do_writeFile):
5939         * paragraph.C(readParagraph): \end_document replaces \the_end.
5940
5941 2003-07-29  André Pönitz  <poenitz@gmx.net>
5942
5943         * BufferView.[Ch]:
5944         * BufferView_pimpl.[Ch]:
5945         * lyxfunc.C:
5946         * text2.C:
5947         * text3.C:
5948         * textcursor.[Ch]: remove toggleToggle & Co
5949
5950 2003-07-28  José Matos  <jamatos@fep.up.pt>
5951
5952         * buffer.C (readParagraph):
5953         * params_func (readParToken, readParagraph):
5954         * paragraph.C (write): \layout -> \begin_layout.
5955
5956 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5957
5958         * lyxlex_pimpl.C (setFile): clean up slightly.
5959
5960         * bufferparams.h: add compressed var
5961
5962         * buffer_funcs.C (readFile): adjust for LyXLex change
5963         (newFile): ditto + simplify
5964
5965         * buffer.C (writeFile): handle writing of compressed files
5966
5967         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5968         Check if the file is compressed and set a bufferparm if so.
5969
5970         * Makefile.am (lyx_LDADD): remove explicit -lz
5971
5972 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5973
5974         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5975         makeDocBookFile): put the real LyX version in the first line of
5976         the file
5977
5978         * version.h:
5979         * version.C.in: remove lyx_docversion
5980
5981         * tabular.C (write_attribute): add a template-based version to
5982         write enums properly
5983
5984 2003-07-28  André Pönitz  <poenitz@gmx.net>
5985
5986         * lyxtext.h:
5987         * text.C:
5988         * text2.C:
5989         * text3.C: use doubles again for x-coordinates. They are needed.
5990
5991 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5992
5993         * messages.C (getLocaleDir): use lyx_localedir()
5994
5995         * lyxlex_pimpl.C (setFile): compress stuff
5996
5997         * buffer.C (writeFile): add some compression stuff
5998         (do_writeFile): new func, dont call expliti close... will this
5999         breake anything?
6000
6001         * Makefile.am (lyx_LDADD): add -lz
6002
6003 2003-07-28  José Matos  <jamatos@fep.up.pt>
6004
6005         * buffer.C: increment file format.
6006         * paragraph_funcs (readParagraph, readParToken):
6007         * paragraph.C (readParagraph): add \end_layout.
6008
6009 2003-07-27  Angus Leeming  <leeming@lyx.org>
6010
6011         * Makefile.am: remove special casing for configure-time setting of
6012         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6013
6014         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6015         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6016
6017 2003-07-26  André Pönitz  <poenitz@gmx.net>
6018
6019         * paragraph_func.[Ch]:
6020         * paragraph.C (realizeFont): inline it whereever it is used
6021
6022         * rowpainter.C:
6023         * text.C:
6024         * text2.C:
6025         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6026
6027
6028 2003-07-26  André Pönitz  <poenitz@gmx.net>
6029
6030         *       lyxtext.h:
6031         * text.C:
6032         * text2.C: get rid of LyXText::need_break_row
6033
6034 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6035
6036         * toc.[Ch]: put namespace toc inside namespace lyx
6037
6038         * MenuBackend.C (expandToc2): adjust for lyx::toc
6039         (expandToc): ditto
6040
6041         * lyxfunc.C (dispatch): adjust for lyx::find
6042
6043         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6044         lyx::find instead. Reorganize a bit.
6045         (LyXReplace): rename to replace
6046         (LyXFind): rename to find
6047
6048         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6049         (dispatch): ditto
6050
6051 2003-07-26  André Pönitz  <poenitz@gmx.net>
6052
6053         * text.C (setHeightOfRow): restrict scope of temporary variable
6054
6055         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6056           code (never has been used?)
6057
6058 2003-07-27  Asger Alstrup  <alstrup@local>
6059
6060         * text.C (fill): Optimise algorithm to exploit that we can reuse
6061         the LyXFont for many characters.
6062         (setHeightOfRow): Same thing.
6063         (rowBreakPoint): Same thing.
6064
6065 2003-07-26  Asger Alstrup  <alstrup@local>
6066
6067         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6068
6069         * text.C (singleWidth): Spurious font copying in hot-spot
6070         singleWidth avoided. Reorder tests for arabic for efficiency.
6071
6072         * text.C (fill): handle empty paragraphs better.
6073
6074 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6075
6076         * ispell.C:
6077         * encoding.h: add includes
6078
6079         * lyxrc.C: remove reading of bind files
6080
6081         * lyx_main.C (init): setup bindings and menus only if we have a
6082         gui.
6083
6084         * kbmap.C (read): new method. Do the actual reading of bind
6085         files.
6086
6087         * converter.C (dvipdfm_options):
6088         * bufferparams.C:
6089         * lyxrc.C (read):
6090         (output): adapt PAPER_* enums.
6091
6092         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6093
6094         * bufferparams.h: remove paper-related enums from there
6095
6096         * paper.h: New file. A trivial header file to hold paper-related
6097         enums. It should later expand to contain many paper-related
6098         horrors access.
6099
6100         * lyxrc.C: declare extern displayTranslator
6101
6102 2003-07-27  José Matos  <jamatos@fep.up.pt>
6103
6104         * tabular.[Ch] (linuxdoc): add support for tables and figures
6105         (linuxdoc).
6106
6107 2003-07-27  José Matos  <jamatos@fep.up.pt>
6108
6109         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6110         consistency in both functions.
6111         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6112
6113 2003-07-26  Asger Alstrup  <alstrup@local>
6114
6115         * rowpainter.C (paintRows): Change algorithm to work directly on
6116         the insets rather than asking every character in the document
6117         whether its an inset.
6118
6119 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6120
6121         * buffer.C (openFileWrite): factorize some code
6122
6123 2003-07-26  Angus Leeming  <leeming@lyx.org>
6124
6125         * lyx_cb.C:
6126         * lyx_main.[Ch]: replace occurances of system_tempdir with
6127         os::getTmpDir().
6128
6129 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6130
6131         * rename Inset to InsetOld
6132
6133 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6134
6135         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6136         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6137         which I think is a bit clearer. EDIT is gone, since it was
6138         premature optimisation, and broken for mathed anyway.
6139         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6140         with cursor positioning in insets as well (math insets still do not
6141         work, but that's a different story anyway.) It mysteriously
6142         crashes sometimes with undo in the first paragraph, but I'm fairly
6143         confident that this is a compiler bug.
6144
6145 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6146
6147         * paragraph.C (Paragraph): adjust for new clone return type
6148         (operator==): ditto
6149         (copyIntoMinibuffer): ditto
6150
6151 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6152
6153         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6154         by not having a special case, and always doing a full rebreak of
6155         the document after undo.
6156
6157 2003-07-23  Angus Leeming  <leeming@lyx.org>
6158
6159         * factory.C (createInset): InsetExternal::setParams now takes a
6160         Buffer const * arg.
6161
6162 2003-07-23  Angus Leeming  <leeming@lyx.org>
6163
6164         * factory.C (createInset): changed interface to the external and
6165         graphics mailers' string2params functions.
6166
6167 2003-07-23  Angus Leeming  <leeming@lyx.org>
6168
6169         * factory.C (createInset): pass a
6170         Buffer const * parameter to InsetExternalMailer's string2params.
6171
6172 2003-07-22  John Levon  <levon@movementarian.org>
6173
6174         * Thesaurus.h: include the right aiksaurus header
6175
6176 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6177
6178         * MenuBackend.C (expand): check menu shortcuts unconditionally
6179
6180 2003-07-21  Angus Leeming  <leeming@lyx.org>
6181
6182         * factory.C (createInset): pass a
6183         buffer_path parameter to InsetGraphicsMailer's string2params.
6184
6185 2003-07-21  Angus Leeming  <leeming@lyx.org>
6186
6187         * BufferView_pimpl.C (buffer):
6188         * buffer.C (d-tor):
6189         * lyx_main.C (LyX):
6190         * lyxfunc.C (dispatch):
6191         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6192         rather than the grfx shortcut.
6193
6194 2003-07-21  André Pönitz  <poenitz@gmx.net>
6195
6196         * rowpainter.C: remove unused variables
6197
6198         * tabular_funcs.C:
6199         * tabular_funcs.h: move to tabular.C
6200         * Makefile.am: adjust
6201
6202         * tabular.[Ch]: basic optical cleaning
6203
6204         * author.h: pass references, not values
6205
6206 2003-07-18  André Pönitz  <poenitz@gmx.net>
6207
6208         * lyxtext.h:
6209         * metricsinfo.C:
6210         * metricsinfo.h:
6211         * rowpainter.C:
6212         * text.C:
6213         * text2.C:
6214         * text3.C: two-phase drawing for InsetText and InsetTabular
6215         some float -> int changes.
6216
6217 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6218
6219         * lyx_main.C: fix the fix
6220
6221 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6222
6223         * lyx_main.C: fix a crash in batch mode if no files specified
6224         * converter.C: ws
6225
6226 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6227
6228         * format.[Ch] (papersize): moved to BufferParams
6229         * converter.[Ch] (dvips_options): moved to BufferParams
6230         (dvipdfm_options): moved to anon namespace
6231         * bufferparams.[Ch]: added above functions.
6232
6233 2003-07-17  André Pönitz  <poenitz@gmx.net>
6234
6235         * lyxtext.h:
6236         * rowpainter.C:
6237         * text2.C: don't call inset->update() anymore
6238
6239         * metricsinfo.[Ch]: add convenience constructor
6240
6241 2003-07-16  André Pönitz  <poenitz@gmx.net>
6242
6243         * lyxcursor.[Ch]:
6244         * lyxfunc.[Ch]:
6245         * text.C:
6246         * text2.C: replace the LyXCursor::irow_ member with
6247          on-demand computation of the value
6248
6249 2003-07-16  John Levon  <levon@movementarian.org>
6250
6251         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6252
6253 2003-07-15  André Pönitz  <poenitz@gmx.net>
6254
6255         * text.C:
6256         * text2.C: remove no more needed refresh_row
6257
6258 2003-07-15  André Pönitz  <poenitz@gmx.net>
6259
6260         * lyxtext.h:
6261         * rowpainter.C:
6262         * text2.C:
6263         * text3.C: refresh_status tristate -> need_update bool
6264
6265 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6266
6267         * lyxtext.h (init): remove reinit argument (act as if always true)
6268         * text2.C: adjust to that
6269
6270 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6271
6272         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6273         * text3.C: use it to delete selections in some cases
6274         (bugs 441, 673, 702, 954).
6275
6276 2003-07-14  André Pönitz  <poenitz@gmx.net>
6277
6278         * rowpainter.[Ch]: reduce interface
6279
6280 2003-07-14  André Pönitz  <poenitz@gmx.net>
6281
6282         * BufferView_pimpl.C:
6283         * text2.C: adjust after removing unused BufferView * argument
6284
6285 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6286
6287         * text2.C (init): fix a crash fired on resize
6288
6289 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6290
6291         * buffer.[Ch]: added new closing signal
6292         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6293         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6294         BufferView::Pimpl via the closing the signal
6295
6296 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6297
6298         * buffer.[Ch]: take out all bv-related from buffer
6299         * BufferView.C:
6300         * BufferView_pimpl.[Ch]: connect to new signals
6301         * CutAndPaste.C: removed useless asserts
6302         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6303         * lyxvc.[Ch]:
6304         * vc-backend.[Ch]:
6305         * lyxfunc.C: moved view-related funciontality from vc here
6306         * paragraph.C: removed outdated comments
6307         * text.C: ws
6308
6309 2003-07-10  André Pönitz  <poenitz@gmx.net>
6310
6311         * BufferView_pimpl.C:
6312         * tabular.h:
6313         * tabular_funcs.C:
6314         * text.C:
6315         * text2.C: remove InsetText::InnerCache, clean up consequences
6316
6317 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6318
6319         * ispell.C: fix two typos in error messages
6320
6321 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6322
6323         * Extend Note inset to other forms of annotation like Comment
6324         and Greyedout. Right button click gives dialog.
6325
6326         Files modified or added (+):
6327
6328         * insetnote.[Ch]
6329         * FormNote.[Ch]      +
6330         * ControlNote.[Ch]   +
6331         * form_note.fd       +
6332         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6333         frontends/controllers
6334         * xforms/Dialogs.C
6335         * factory.C
6336
6337 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6338
6339         * aspell.C: add missing namespace lyx::support
6340
6341 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6342
6343         * BufferView.[Ch] (newFile): Add
6344         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6345         * LaTeX.[Ch] (message): added this signal and use it
6346         * buffer.[Ch] (busy, message): added these signals and use them
6347         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6348         * converter.C:
6349         * exporter.C:
6350         * format.C:
6351         * importer.C: use buffer signals instead of direct bv calling
6352         * lyx_cb.[Ch] (ShowMessage): removed
6353         * lyx_main.C:
6354         * lyxfunc.C:
6355         * paragraph_funcs.C:
6356         * text2.C: use buffer signals
6357
6358 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6359
6360         * introduce namespace lyx::graphics
6361
6362 2003-07-02  André Pönitz  <poenitz@gmx.net>
6363
6364         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6365
6366 2003-07-01  André Pönitz  <poenitz@gmx.net>
6367
6368         * text.C:
6369         * text2.C:
6370         * text3.C:
6371         * text_funcs.[Ch]:
6372         * textcursor.h:
6373         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6374           text*.C to text_func.C
6375
6376 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6377
6378         * introduce namespace lyx::support
6379
6380 2003-06-30  André Pönitz  <poenitz@gmx.net>
6381
6382         * Chktex.C:
6383         * funcrequest.C:
6384         * lyxtext.h:
6385         * text.C: re-enable --with-included-string
6386
6387 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6388
6389         * textcursor.C: add <config.h>
6390
6391         * text.C (getWord): remove const from word_location arg
6392
6393         * lyxvc.C (getLogFile): fix const type order
6394
6395         * lyxtext.h: remove const from word_location arg, add arg name
6396
6397         * lyxlayout.h: currect type on labeltype.
6398
6399         * importer.C: correct \file
6400
6401         * converter.C (intToFormat): use std:: on ret val, ws changes
6402
6403         * bufferlist.h: correct \file
6404
6405         * buffer.C (makeLinuxDocFile): fix const type order
6406         (makeDocBookFile): ditto
6407         (fillWithBibKeys): use std:: on stdlib args.
6408
6409         * CutAndPaste.C: fix authors.
6410         (availableSelections): use std:: on return vector
6411
6412 2003-06-27  André Pönitz  <poenitz@gmx.net>
6413
6414         * BufferView_pimpl.C:
6415         * bufferview_funcs.C:
6416         * lyxcursor.C:
6417         * lyxcursor.h:
6418         * lyxfunc.C:
6419         * lyxtext.h:
6420         * rowpainter.C:
6421         * text.C:
6422         * text2.C:
6423         * text3.C: remove LyXCursor::row_ member
6424
6425         * lyxtext.h:
6426         * text.C: rename fullRebreak() to partialRebreak() and implement
6427           a fullRebreak() that really bereks fully
6428
6429         * textcursor.h: new struct for cursor-related data
6430
6431 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6432
6433         * lyx_main.C (LyX): get full path of document loaded on the
6434         command line
6435
6436 2003-06-26  André Pönitz  <poenitz@gmx.net>
6437
6438         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6439           remove unused/broken operator>,<,>=.
6440
6441         *       text.C: remove only use of broken operator<= in an Assert().
6442
6443 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6444
6445         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6446         moved errorlist_.clear to showErrorList
6447
6448 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6449
6450         * converter.C (scanLog, runLaTeX):
6451         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6452         move the bv->showErrorList call to the callers
6453         * lyxfunc.C: i.e. here...
6454         * text2.C: and here
6455         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6456         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6457         namespace, the second to...
6458         * buffer_funcs (BufferFormat, parseErrors): added
6459         * errorlist.C (ErrorList(TeXErrors const &)): removed
6460
6461 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6462
6463         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6464
6465 2003-06-24  "Garst R. Reese" <reese@isn.net>
6466
6467         * debug.C: fix typo
6468
6469 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6470
6471         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6472
6473         * version.C.in: change docversion to 1.4
6474
6475 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6476
6477         * buffer.C: fix a bug just introduced
6478
6479 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6480
6481         * buffer.[Ch]: added the parseError signal and use it, removed
6482         sgmlError
6483         * BufferView.[Ch] (addError): moved to ...
6484         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6485         to the Buffer::parseError signal to catch (guess what) parse errors
6486         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6487
6488 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6489
6490         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6491         ability to create a buffer and to return an existing one from
6492         the list. Moved these functions to...
6493         * buffer_funcs.[Ch]: added
6494         * BufferView.[Ch] (loadLyXFile): added
6495         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6496         job removed from bufferlist::loadLyXFile.
6497         * buffer.C (setReadOnly): make it work without view
6498         (i.e added an if (users))
6499
6500 2003-06-19  Angus Leeming  <leeming@lyx.org>
6501
6502         * lfuns.h:
6503         * LyXAction.C (init):
6504         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6505         with LFUN_DIALOG_SHOW <name> <data>.
6506
6507 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6508
6509         * CutAndPaste.C (availableSelections): small compilation fix for
6510         ancient (gcc 2.9x) compilers
6511
6512 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6513
6514         * text3.C (cursorNext): add tmp var
6515
6516         * text2.C (updateCounters): for function calling out of for clause
6517         (replaceSelectionWithString): ditto
6518         (insertStringAsParagraphs): ditto
6519         (getColumnNearX): add tmp var
6520         (setCursorFromCoordinates): add tmp var
6521         (cursorDownParagraph): add tmp var
6522         (deleteEmptyParagraphMechanism): add tmp var
6523
6524         * text.C (insertChar): add tmp var
6525
6526         * rowpainter.C (paintDepthBar): add tmp var
6527
6528         * CutAndPaste.C (availableSelections): potentially check all
6529         paragraphs in a cut to fill the shown strings.
6530
6531 2003-06-18  André Pönitz  <poenitz@gmx.net>
6532
6533         * kbmap.[Ch]: use vector<> instead of list<>
6534
6535 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6536
6537         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6538         pasteSelection with index
6539
6540         * text2.C (pasteSelection): modify, call pasteSelection with index
6541
6542         * paragraph.C (asString): reimplement version with no interval to
6543         call the one with interval.
6544
6545         * lyxtext.h: add index arg to pasteSelection
6546
6547         * MenuBackend.C (MenuItem): handle PasteRecent
6548         (Menu::read::Menutags): add md_pasterecent
6549         (read): handle it
6550         (expandPasteRecent): new function
6551         (expand): use it
6552
6553         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6554
6555         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6556         the limited stack
6557         (availableSelections): new function
6558
6559 2003-06-17  Angus Leeming  <leeming@lyx.org>
6560
6561         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6562
6563 2003-06-17  Angus Leeming  <leeming@lyx.org>
6564
6565         * lfuns.h:
6566         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6567
6568         * lyxfunc.C (dispatch): invoke it.
6569
6570 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6571
6572         * iterators.C (operator++, ParPosition): reintroduce some
6573         const_cast for the benefit of older compilers.
6574
6575 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6576
6577         * text3.C (dispatch): do not modify clipboard when doing
6578         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6579         LFUN_DELETE_SKIP on a selection selection
6580
6581 2003-06-16  André Pönitz  <poenitz@gmx.net>
6582
6583         * BufferView.C:
6584         * buffer.C:
6585         * buffer.h:
6586         * paragraph.C:
6587         * tabular.[Ch]: IU of clone() and getLabelList();
6588
6589 2003-06-13  André Pönitz  <poenitz@gmx.net>
6590
6591         * tabular.h: compactification
6592
6593 2003-06-12  André Pönitz  <poenitz@gmx.net>
6594
6595         * tabular.C:
6596         * tabular.h:
6597         * tabular_funcs.h: some renaming plus whitespace
6598
6599 2003-06-12  André Pönitz  <poenitz@gmx.net>
6600
6601         * BufferView.C:
6602         * BufferView_pimpl.C:
6603         * CutAndPaste.C:
6604         * buffer.C:
6605         * iterators.[Ch]:
6606         * lyxfunc.C:
6607         * text.C:
6608         * toc.C: Return a Paragraph & for ParIterator::operator*()
6609
6610 2003-06-11  John Levon  <levon@movementarian.org>
6611
6612         * lyx_main.C:
6613         * ToolbarBackend.h:
6614         * ToolbarBackend.C: add "Toolbars" section and
6615         put the flags there
6616
6617 2003-06-10  Angus Leeming  <leeming@lyx.org>
6618
6619         * lfuns.h:
6620         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6621
6622         * lyxfunc.C (dispatch): invoke it.
6623
6624 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6625
6626         * main.C: protect <ios> with HAVE_IOS
6627         (main): protect sync_with_stdio with HAVE_IOS
6628
6629 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6630
6631         * text2.C (cutSelection): adjust
6632         (pasteSelection): adjust
6633
6634         * messages.C: handle get of empty string
6635
6636         * main.C (main): use sync_with_stdio(false)
6637
6638         * lyxfunc.C (dispatch): adjust
6639
6640         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6641         (WriteAs): remove unneeded BufferView arg.
6642
6643         * bufferparams.h: use correct types on papersize, papersize2 and
6644         paperpackage.
6645
6646         * bufferparams.C (readToken): adjust for type
6647         (writeLaTeX): add missing cases to switch.
6648
6649         * bufferlist.C (quitWriteBuffer): adjust
6650         (close): adjust
6651
6652         * buffer.C (asciiParagraph): remove some commented code.
6653
6654         * CutAndPaste.C: remove current_view extern variable.
6655         (cutSelection): add BufferParams arg.
6656         (eraseSelection): add BufferParams arg.
6657         (pasteSelection): add Buffer const & arg
6658
6659 2003-06-07  John Levon  <levon@movementarian.org>
6660
6661         * buffer.C:
6662         * paragraph_funcs.C:
6663         * paragraph_pimpl.C:
6664         * text.C:
6665         * text2.C:
6666         * paragraph.h:
6667         * paragraph.C: allow InsetERT to freely space lines,
6668         and some consolidation of code
6669
6670 2003-06-06  José Matos  <jamatos@fep.up.pt>
6671
6672         * buffer.C (makeDocBookFile): fix bug #821
6673
6674 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6675
6676         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6677
6678 2003-06-04  Angus Leeming  <leeming@lyx.org>
6679
6680         * buffer.C: bump format to 224.
6681
6682 2003-06-05  André Pönitz  <poenitz@gmx.net>
6683
6684         * text2.C (redoParagraphs): remove two const_cast<>
6685
6686 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6687
6688         * ParagraphList.h: remove last remnants of NO_STD_LIST
6689
6690 2003-06-03  Angus Leeming  <leeming@lyx.org>
6691
6692         * factory.C (createInset): small change to the way InsetExternal's params
6693         are set.
6694
6695 2003-06-04  André Pönitz  <poenitz@gmx.net>
6696
6697         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6698
6699         * paragraph_pimpl.h:
6700         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6701
6702         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6703
6704         * undo_funcs.C: make some simple cases of undo work again
6705
6706 2003-06-03  John Levon  <levon@movementarian.org>
6707
6708         * ispell.C: HPUX doesn't have sys/select.h
6709         (from Albert Chin)
6710
6711 2003-06-03  John Levon  <levon@movementarian.org>
6712
6713         * CutAndPaste.C: update tabular and include inset
6714         buffer references
6715
6716         * buffer.h:
6717         * paragraph.h:
6718         * paragraph.C: remove owningBuffer(), don't pass Buffer
6719         to clone()
6720
6721         * factory.C: insetGraphicsParams changed
6722
6723 2003-06-02  John Levon  <levon@movementarian.org>
6724
6725         * LyXAction.C:
6726         * factory.C:
6727         * lfuns.h:
6728         * lyxfunc.C:
6729         * text3.C: remove insetparent
6730
6731 2003-06-02  John Levon  <levon@movementarian.org>
6732
6733         * buffer.h:
6734         * buffer.C: fix inset_iterator.end(), move out of line
6735         (bug 1149)
6736
6737 2003-06-01  John Levon  <levon@movementarian.org>
6738
6739         * text3.C: use a proper cut/paste when doing inset
6740         insert (from Jürgen Spitzmüller)
6741
6742 2003-06-01  John Levon  <levon@movementarian.org>
6743
6744         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6745
6746 2003-05-30  André Pönitz  <poenitz@gmx.net>
6747
6748         * rowpainter.C: unify second drawing phase
6749
6750 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6751
6752         * trans_mgr.C: remove one case of current_view
6753
6754         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6755
6756         * paragraph_funcs.h: remove paragraph.h include
6757
6758         * paragraph.h: delete NO_STD_LIST stuff
6759
6760         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6761
6762         * buffer.h: remove paragraph.h include
6763
6764         * ParagraphList.C: delete file
6765
6766         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6767
6768         * toc.C (getTocList): adjust
6769
6770         * paragraph_pimpl.C (validate): adjust
6771
6772         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6773
6774         * paragraph.C (Paragraph): adjust
6775         (getPositionOfInset): use const_iterator, adjust
6776         (bibitem): use const_iterator, adjust
6777         (setInsetOwner): adjust
6778
6779         * iterators.C (operator++): adjust
6780
6781         * InsetList.[Ch]: Replace selfmade iterator with standard
6782         vector::iterator also introduce const_iterator. Remove getPos,
6783         getInset and setInset from InsetTable. Adjust accordingly.
6784
6785         * BufferView.C (lockInset): adjust
6786         (ChangeInsets): adjust
6787
6788         * tabular.[Ch]: delete commented same_id functions
6789
6790 2003-05-28  John Levon  <levon@movementarian.org>
6791
6792         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6793
6794 2003-05-28  André Pönitz  <poenitz@gmx.net>
6795
6796         * metricsinfo.[Ch]: remove 'fullredraw' member
6797
6798 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6799
6800         * lyxtextclass.C (operator): remove caching.
6801
6802 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6803
6804         * text3.C: adjust
6805
6806         * text2.C (cursorBottom): adjust
6807         (setCounter): use ParagraphList::find, adjust
6808
6809         * text.C (workWidth): use ParagraphList::find, adjust
6810
6811         * lyxcursor.C (LyXCursor): adjust
6812
6813         * buffer.C (inset_iterator): adjust
6814
6815         * ParagraphList.h: make iterator(value_type) private, make
6816         ParagraphList a friend of iterator.
6817
6818         * ParagraphList.C (find): new function
6819
6820         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6821
6822 2003-05-27  André Pönitz  <poenitz@gmx.net>
6823
6824         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6825
6826 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6827
6828         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6829
6830 2003-05-26  John Levon  <levon@movementarian.org>
6831
6832         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6833
6834 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6835
6836         * remove same_id from function signatures, adjust.
6837
6838 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6839
6840         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6841
6842         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6843
6844         * paragraph.C (Paragraph): get rid of same_ids parameter
6845
6846         * ParagraphList.C (insert): adjust
6847         (push_back): adjust
6848
6849 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6850
6851         * paragraph_funcs.C (breakParagraph): adjust
6852         (breakParagraphConservative): adjust
6853
6854         * buffer.C (readParagraph): adjust
6855
6856         * ParagraphList.C (insert): take a reference instead of a pointer
6857         (insert): adjust
6858
6859         * paragraph.[Ch] (id): new function
6860
6861         * bufferlist.C (newFile): adjust
6862
6863         * ParagraphList.C (ParagraphList): adjust
6864         (assign): adjust
6865         (push_back): take a reference instead of a pointer.
6866
6867         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6868
6869         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6870         instead.
6871
6872         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6873         set else use old code.
6874
6875         * ParagraphList.C: remove all NO_NEXT code and only compile this
6876         code of NO_STD_LIST is set.
6877
6878 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6879
6880         * BufferView_pimpl.C:
6881         * TextCache.C:
6882         * TextCache.h:
6883         * bufferlist.C:
6884         * errorlist.h:
6885         * format.C:
6886         * format.h:
6887         * graph.C:
6888         * lyxfunc.C:
6889         * lyxrc.C:
6890         * graphics/GraphicsConverter.C:
6891         * graphics/PreviewLoader.C: header adjustment
6892
6893 2003-05-23  Angus Leeming  <leeming@lyx.org>
6894
6895         * LaTeXFeatures.[Ch] (useBabel): new method.
6896         * bufferparams.C (writeLaTeX): use it.
6897
6898 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6899
6900         * ParagraphList.h (set): remove unused function.
6901
6902 2003-05-23  André Pönitz  <poenitz@gmx.net>
6903
6904         * BufferView.C:
6905         * BufferView_pimpl.C:
6906         * buffer.C:
6907         * buffer.h:
6908         * lyxfunc.C:
6909         * undo_funcs.C: setUndo reworked
6910
6911         * iterators.[Ch]: add access to topmost ParagraphList
6912
6913         * lyxtext.[Ch] (workWidth): add a const
6914
6915 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6916
6917         * texrow.[Ch] (increasePos): remove function
6918         * exporter.C (export): removed unused var and outdated comment
6919
6920 2003-05-23  Angus Leeming  <leeming@lyx.org>
6921
6922         * latexrunparams.h: rename fragile as moving_arg.
6923         * paragraph.C (simpleTeXOnePar): ditto.
6924         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6925
6926 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6927
6928         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6929         (createUndo): ditto
6930         (textUndoOrRedo): comment out a currently unused var.
6931
6932         * paragraph.h (NO_NEXT): enable NO_NEXT
6933
6934         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6935
6936         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6937
6938         * exporter.C (Export): adjust for removeAutoInsets removal.
6939
6940         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6941
6942         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6943
6944         * BufferView.[Ch] (removeAutoInsets): delete function
6945
6946 2003-05-22  Angus Leeming  <leeming@lyx.org>
6947
6948         * latexrunparams.h: add a free_spacing variable.
6949
6950         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6951         to pass moving_arg, as the data is stored in runparams.fragile.
6952
6953         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6954         to Inset::latexOptional or to simpleTeXOnePar.
6955
6956         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6957         free_spacing arg to Inset::latexOptional.
6958
6959         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6960         free_spacing arg.
6961
6962 2003-05-22  Angus Leeming  <leeming@lyx.org>
6963
6964         * latexrunparams.h: add fragile and use_babel variables.
6965
6966         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6967         * buffer.C (makeLaTeXFile): store this returned value in
6968         runparams.use_babel, thus passing it to the inset::latex methods.
6969
6970         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6971         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6972
6973         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6974         longer has a fragile arg, as it is stored in runparams.fragile.
6975
6976         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6977         moving_arg parameter as the data is stored in runparams.fragile.
6978
6979         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6980         a fragile parameter as the data is stored in runparams.fragile.
6981
6982 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6983
6984         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6985
6986 2003-05-22  Angus Leeming  <leeming@lyx.org>
6987
6988         * latexrunparams.h: add a 'bool nice' which defaults to false.
6989
6990         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6991         now encapsulated within runparams.
6992
6993         * bufferlist.C (updateIncludedTeXfiles):
6994         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6995
6996 2003-05-22  Angus Leeming  <leeming@lyx.org>
6997
6998         * latexrunparams.h: new file containing struct LatexRunParams.
6999         * Makefile.am: add new file.
7000
7001         * LaTeX.[Ch] (c-tor, run):
7002         * buffer.[Ch] (makeLaTeXFile):
7003         * bufferlist.[Ch] (updateIncludedTeXfiles):
7004         * converter.C (convert, scanLog):
7005         * converter.[Ch] (runLaTeX):
7006         * exporter.C (Export):
7007         * paragraph.[Ch] (simpleTeXOnePar):
7008         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7009         * paragraph_funcs.[Ch] (latexParagraphs):
7010         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7011         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7012         pass around a LatexRunParams parameter.
7013
7014 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7015
7016         * paragraph.[Ch]: remove unused constructor
7017
7018         * ParagraphList.C (erase): new function, taking two iterators
7019
7020 2003-05-22  André Pönitz  <poenitz@gmx.net>
7021
7022         * undo_funcs.C: remove duplicated code
7023
7024         * iterator.[Ch]: operator=
7025
7026 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7027
7028         * tabular.C (SetMultiColumn): ws changes
7029
7030         * rowpainter.C (paintFirst): get rid of a ->previous
7031
7032         * lyx_cb.C (getPossibleLabel): parlist simplification
7033
7034         * BufferView.C (ChangeInsets): simplify slightly.
7035
7036 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7037
7038         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7039         * lfuns.h: new LFUN_SPACE
7040         * lyxfunc.C: protected space has a new lfun
7041         * paragraph_funcs.C: read new space insets
7042         * text3.C:
7043         * factory.C: handle new space insets
7044
7045 2003-05-22  André Pönitz  <poenitz@gmx.net>
7046
7047         * BufferView.C:
7048         * BufferView_pimpl.C:
7049         * buffer.[Ch]:
7050         * lyxfunc.C:
7051         * undo_funcs.C: return a ParIterator from getParFromID.
7052
7053         * iterators.[Ch]: add two const's
7054
7055 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7056
7057         * toc.C (getTocList): adjust
7058
7059         * iterators.[Ch]: rework for parlist
7060
7061         * buffer.C (par_iterator_begin): adjust
7062         (par_iterator_end): adjust
7063
7064         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7065
7066         * BufferView.C (removeAutoInsets): adjust
7067         (ChangeInsets): adjust
7068
7069 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7070
7071         * text.C (top_y): fix bug 1110
7072
7073 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7074
7075         * errorlist.[Ch]: added
7076         * buffer.C:
7077         * BufferView.[Ch]:
7078         * BufferView_pimpl.C:
7079         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7080         instead
7081
7082 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7083
7084         * Makefile.am: ensure that lyx is relinked upon changes to the
7085         various "convenience" libs.
7086
7087 2003-05-20  Angus Leeming  <leeming@lyx.org>
7088
7089         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7090         files are compiled in alphabetical order again.
7091
7092         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7093
7094 2003-05-19  Angus Leeming  <leeming@lyx.org>
7095
7096         * gettext.[Ch]: remove "char const * _(char const *)".
7097
7098 2003-05-19  André Pönitz  <poenitz@gmx.net>
7099
7100         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7101
7102         * Makefile.am:
7103         * BufferView.C:
7104         * DepTable.h:
7105         * LaTeXFeatures.C:
7106         * buffer.C:
7107         * lyxfont.C:
7108         * lyxlex.h:
7109         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7110
7111 2003-05-19  André Pönitz  <poenitz@gmx.net>
7112
7113         * buffer.C:
7114         * lyxlayout.[Ch]:
7115         * lyxtextclass.[Ch]:
7116         * paragraph.C:
7117         * paragraph_funcs.[Ch]:
7118         * text2.C:
7119         * text3.C: more insetenv work
7120
7121 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7122
7123         * ParagraphParameters.C (params2string): small bug fixed
7124
7125 2003-05-16  André Pönitz  <poenitz@gmx.net>
7126
7127         * debug.C:
7128         * bufferview_funcs.C: patch from Kornel Benko to prevent
7129           crash when _(...) is called twice in a statement
7130
7131 2003-05-16  André Pönitz  <poenitz@gmx.net>
7132
7133         * BufferView.C:
7134         * lyxfunc.C:
7135         * text.C:
7136         * text2.C:
7137         * text3.C:
7138         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7139
7140 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7141
7142         * lyx_main.C (init): remove spurious static_cast
7143
7144 2003-05-14  André Pönitz  <poenitz@gmx.net>
7145
7146         * BufferView.C: fix format string
7147
7148 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7149
7150         * BufferView.[Ch] (insertErrors): removed
7151         * BufferView.[Ch] (showErrorList): added
7152         * buffer.C (runChkTeX):
7153         * converter.C (scanLog): call showErrorList instead of inserterrors
7154
7155 2003-05-13  André Pönitz  <poenitz@gmx.net>
7156
7157         * BufferView_pimpl.C:
7158         * buffer.C:
7159         * bufferview_func.C:
7160         * MenuBackend.C:
7161         * lyxfunc.C:
7162         * lyxrc.C:
7163         * tex-accent.C:
7164         * text3.C:
7165         * toc.C:
7166         * tabular_funcs.h: tostr() from its own header
7167
7168         * ParagraphParameters.C:
7169         * ToolbarBackend.C:
7170         * bufferparams.C:
7171         * format.C:
7172         * lyxlex_pimpl.C:
7173         * text3.C: STRCONV()
7174
7175 2003-05-12  André Pönitz  <poenitz@gmx.net>
7176
7177         * BufferView.C:
7178         * BufferView_pimpl.C:
7179         * CutAndPaste.C:
7180         * LaTeX.C:
7181         * LaTeXFeatures.C:
7182         * ParagraphParameters.C:
7183         * buffer.C:
7184         * bufferlist.C:
7185         * bufferparams.C:
7186         * bufferview_funcs.C:
7187         * converter.C:
7188         * counters.C:
7189         * debug.C:
7190         * exporter.C:
7191         * format.C:
7192         * importer.C:
7193         * lyx_cb.C:
7194         * lyx_main.C:
7195         * lyxfont.C:
7196         * lyxfunc.C:
7197         * lyxvc.C:
7198         * paragraph.C:
7199         * paragraph_funcs.C:
7200         * tabular.C:
7201         * tabular_funcs.C:
7202         * text2.C:
7203         * text3.C:  boost::format -> bformat  all over the place
7204
7205
7206 2003-05-09  André Pönitz  <poenitz@gmx.net>
7207
7208         * LColor.[Ch]: Pimpl the #include <map> away
7209
7210 2003-05-09  John Levon  <levon@movementarian.org>
7211
7212         * bufferlist.C: never remove emergency saves
7213
7214 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7215
7216         * Makefile.am: better lib building
7217
7218 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7219
7220         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7221         instead.
7222         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7223         (simpleTeXSpecialChars): adjust
7224         (simpleTeXSpecialChars): adjust
7225         * paragraph.C (simpleTeXOnePar): adjust
7226         * buffer.C (makeLaTeXFile): adjust
7227
7228         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7229
7230         * text2.C (changeDepth): parlist cleanup
7231         (getColumnNearX): ditto
7232
7233         * rowpainter.C (getLabelFont): parlist cleanup
7234
7235         * bufferlist.C (newFile): parlist cleanup
7236
7237         * CutAndPaste.C (eraseSelection): parlist cleanup
7238
7239         * BufferView_pimpl.C (trackChanges): parlist cleanup
7240         (dispatch): ditto
7241
7242         * BufferView.C (lockInset): parlist cleanup.
7243         (ChangeInsets): ditto
7244
7245 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7246
7247         * CutAndPaste.h: Update file header.
7248
7249         * CutAndPaste.C: Update file header.
7250         Store the parts cut out of the Document in a limited_stack.
7251         (copySelection): adjust
7252         (pasteSelection): new function, takes the index in the limited stack.
7253         (nrOfParagraphs): adjust
7254         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7255         simplify error inset insertion.
7256         (checkPastePossible): adjust
7257
7258 2003-05-06  John Levon  <levon@movementarian.org>
7259
7260         * text2.C: don't cast wrap inset to float
7261
7262 2003-05-05  André Pönitz  <poenitz@gmx.net>
7263
7264         * iterator.C:
7265         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7266
7267         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7268           few naked Paragraph *.
7269
7270 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7271
7272         * bufferparams.C: Output warning if a document with missing
7273         TeX document class is loaded
7274         * exporter.C: Disable TeX exports if the document class is missing
7275         * lyxtextclass.C:
7276         * lyxtextclass.h:
7277         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7278         isTeXClassAvailable()
7279
7280 2003-05-03  John Levon  <levon@movementarian.org>
7281
7282         * BufferView.h:
7283         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7284         explicit cursor show/hide
7285
7286         * BufferView_pimpl.h:
7287         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7288         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7289
7290         * lyxfunc.C: hide cursor before dispatching.
7291
7292         * lyx_cb.C:
7293         * lyxfind.C:
7294         * text.C:
7295         * text3.C: remove explicit cursor hides
7296
7297 2003-05-02  André Pönitz  <poenitz@gmx.net>
7298
7299         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7300
7301         * undo_funcs.C:
7302         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7303           linked lists
7304
7305         * text2.C: tiny whitespace
7306
7307 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7308
7309         * undo_funcs.C: almost only ws changes.
7310
7311         * ParagraphList.C (splice): just return if pl is empty.
7312
7313 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7314
7315         * ParagraphList.C (splice): new function.
7316
7317         * CutAndPaste.C (pasteSelection): use it
7318
7319 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7320
7321         * CutAndPaste.C (pasteSelection): remove the last next and
7322         previous from this file.
7323
7324 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7325
7326         * CutAndPaste.C (pasteSelection): more clean up, user proper
7327         ParagraphList functions for pasteing.
7328
7329         * ParagraphList.C (insert): new function, three arg insert
7330
7331 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7332
7333         * ParagraphList.C (insert): new function, three arg insert
7334
7335         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7336         not on paragraphs.
7337
7338 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7339
7340         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7341
7342 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7343
7344         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7345
7346 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7347
7348         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7349         (copySelection): clean up a bit.
7350         (pasteSelection): use make_pair
7351
7352         * ParagraphList.C (ParagraphList): implement copy constructor
7353         (operator=): implement, base on copy constructor.
7354         (assign): new func
7355
7356         * paragraph.C (erase): return a bool
7357
7358         * paragraph_pimpl.C (erasePos): remove function, move contents...
7359         (erase): ... here. Return a bool.
7360         (erase): call erase instead of erasePos.
7361
7362 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7363
7364         * ParagraphList.h: define PitPosPair
7365         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7366         ParagraphList, fix a bug on pasting multiple pars
7367         * text2.C: change interface to C&P
7368
7369 2003-04-30  André Pönitz  <poenitz@gmx.net>
7370
7371         * undo_func.C: revert part of yesterday's patch 2
7372
7373 2003-04-30  John Levon  <levon@movementarian.org>
7374
7375         * LColor.C: s/tabular/table/
7376
7377 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7378
7379         * text3.C (dispatch): do not convert iterator -> pointer
7380         * undo_funcs.C (setCursorParUndo): ditto
7381         * text_funcs.C (transposeChars): ditto
7382
7383         * text2.C (setLayout): ws changes only
7384
7385         * text.C (breakParagraph): do not convert iterator -> pointer
7386         (insertChar): ditto
7387         (acceptChange): ditto
7388         (rejectChange): ditto
7389         (changeCase): ditto
7390         (Delete): ditto
7391         (backspace): ditto
7392
7393         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7394         pointer
7395
7396 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7397
7398         * text3.C (gotoInset): YABG (yet another bad getChar)
7399
7400 2003-04-29  André Pönitz  <poenitz@gmx.net>
7401
7402         * paragraph.h: make operator= private unimplemented as long as
7403           it is unusable
7404
7405         * ParagraphList.C: whitespace
7406
7407         * paragraph.[Ch]:
7408         * paragraph_pimpl.[Ch]:
7409         * paragraph_funcs.C:
7410         * CutAndPaste.C:
7411         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7412
7413         * text2.C:
7414           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7415
7416 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7417
7418         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7419         * paragraph.[Ch] (erase):
7420         * paragraph_pimpl.[Ch] (erase): change return type and value
7421         * text2.C (cutSelection): some rework
7422
7423 2003-04-28  John Levon  <levon@movementarian.org>
7424
7425         * bufferlist.C: changes for unsaved changes dialog
7426
7427 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7428
7429         * bufferlist.C (newFile): set language (messages_) for new
7430         documents also.
7431
7432         * buffer.C (readFile): ws changes only.
7433
7434 2003-04-28  André Pönitz  <poenitz@gmx.net>
7435
7436         * undo_funcs.C:
7437         * lyxfunc.C:
7438         * buffer.[Ch]:
7439         * BufferView_pimpl.C:
7440         * BufferView.C: getParFromID related ParagraphList::iterator changes
7441
7442 2003-04-28  André Pönitz  <poenitz@gmx.net>
7443
7444         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7445           Changes
7446
7447 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7448
7449         * messages.C: remove one more localedir class variable.
7450
7451 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7452
7453         * messages.C (getLocaleDir): singleton generation function
7454         (Pimpl): use it.
7455         (Messages): add a default constructor.
7456
7457         * main.C (main): do not setup localedir here, do not call
7458         gettext_init.
7459
7460         * gettext.C (_): use it.
7461         (gettext_init): delete funciton
7462
7463 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7464
7465         * gettext.C (getLyXMessages): new singleton generating function.
7466
7467         * buffer.C (updateDocLang): adjust
7468
7469         * Makefile.am (messages.o): add target
7470         (main.o): remove target
7471
7472 2003-04-27  John Levon  <levon@movementarian.org>
7473
7474         * bufferlist.C:
7475         * lyx_cb.C:
7476         * lyxfunc.C:
7477         * lyxvc.C: specify cancel button in Alert::prompt
7478
7479 2003-04-26  John Levon  <levon@movementarian.org>
7480
7481         * text3.C:
7482         * lyxfunc.C:
7483         * lfuns.h:
7484         * LyXAction.C: add LFUN_INSET_SETTINGS
7485
7486         * lyxfunc.C: don't enable tabular-feature when there's
7487         just any locking inset
7488
7489 2003-04-26  John Levon  <levon@movementarian.org>
7490
7491         * bufferlist.C: re-add Cancel to buffer close question
7492
7493         * lyxfunc.C: fix import UI a bit
7494
7495 2003-04-25  John Levon  <levon@movementarian.org>
7496
7497         * gettext.C: remove the broken asserts for now
7498
7499 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7500
7501         * messages.C: make case where setlocale cannot comply work better.
7502
7503         * buffer.C (updateDocLang): new function
7504         (changeLanguage): use it
7505         (readFile): use it
7506
7507         * text2.C (setCounter): use B_ a bit.
7508
7509         * lyxlayout.C (Read): be sure to trim the label strings.
7510
7511         * messages.C (Messages): fix typo in comment
7512
7513         * buffer.C (readFile): set message_ after file is loaded.
7514         (makeDocBookFile): remove double return
7515         (changeLanguage): reset message_ upon language change.
7516         (B_): new func, use this to get translated buffer strings.
7517
7518         * main.C: add myself and Jean Marc as authors.
7519
7520 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7521
7522         * messages.[hC]: pimplify Messages, and three different pimpls to be
7523         used in different circumstances.
7524
7525         * gettext.[Ch]: change for use with new message code.
7526
7527 2003-04-24 André Pönitz <poenitz@gmx.net>
7528
7529         * factory.C: support for eqref
7530
7531 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7532
7533         * messages.[Ch]: add missing char
7534
7535         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7536
7537         * messages.[Ch]: New files
7538
7539 2003-04-18  John Levon  <levon@movementarian.org>
7540
7541         * BufferView.h:
7542         * BufferView.C:
7543         * BufferView_pimpl.C:
7544         * lfuns.h:
7545         * LyXAction.C:
7546         * lyxtext.h:
7547         * text2.C: remove layout-copy/paste (bug 778)
7548
7549 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7550
7551         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7552
7553 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7554
7555         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7556         if they succeed. Act accordingly.
7557
7558 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7559
7560         * text2.C (setCharFont): adjust
7561         (setCounter): adjust
7562         (insertStringAsLines): adjust
7563
7564         * text.C (leftMargin): adjust
7565         (setHeightOfRow): adjust
7566
7567         * rowpainter.C (paintFirst): adjust
7568         (paintLast): adjust
7569
7570         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7571         (outerHook): ditto
7572         (isFirstInSequence): ditto
7573         (getEndLabel): ditto
7574         (outerFont): adjust
7575
7576         * paragraph.C (getParLanguage): comment out some hard stuff.
7577
7578         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7579         (sgmlError): ditto
7580         (simpleDocBookOnePar): ditto
7581         (makeDocBookFile): use ParagraphList::iterator
7582
7583         * CutAndPaste.C (pasteSelection): adjust
7584
7585 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7586
7587         * text2.C (getFont): adjust
7588         (getLayoutFont): adjust
7589         (getLabelFont): adjust
7590
7591         * paragraph_funcs.C (TeXOnePar): adjust
7592
7593         * buffer.C (simpleLinuxDocOnePar): adjust
7594         (simpleDocBookOnePar): adjust
7595
7596         * CutAndPaste.C (pasteSelection): adjust
7597
7598         * BufferView.C (getEncoding): adjust
7599
7600         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7601
7602 2003-04-16  John Levon  <levon@movementarian.org>
7603
7604         * lyxfind.C: use parlist stuff for search/changes
7605
7606 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7607
7608         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7609
7610         * text2.C (deleteEmptyParagraphMechanism): adjust
7611
7612         * text2.[Ch] (ownerParagraph): delete func (both of them
7613
7614 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7615
7616         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7617
7618 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7619
7620         * ParagraphList.C: prepare for NO_NEXT
7621
7622 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7623
7624         * text2.C (getFont): adjust
7625         (getLayoutFont): adjust
7626         (getLabelFont): adjust
7627
7628         * paragraph.C (getFont): adjust
7629         (getLabelFont): adjust
7630         (getLayoutFont): adjust
7631
7632         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7633
7634 2003-04-15  John Levon  <levon@movementarian.org>
7635
7636         From Angus Leeming
7637
7638         * lyx_main.C: handle Include in .ui files
7639
7640 2003-04-15  John Levon  <levon@movementarian.org>
7641
7642         * MenuBackend.C: make the doc files length shorter
7643
7644         * ToolbarBackend.h:
7645         * ToolbarBackend.C: handle toolbar placement flags,
7646         Minibuffer
7647
7648 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7649
7650         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7651         adjust
7652
7653         * paragraph_funcs.C (TeXOnePar): adjust
7654
7655         * paragraph.C (getLabelFont): add outerfont arg, adjust
7656         (getLayoutFont): ditto
7657         (simpleTeXOnePar): adjust
7658
7659         * paragraph_pimpl.C (realizeFont): delete func
7660
7661 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7662
7663         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7664         row argument, constify cur argument.
7665
7666 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7667
7668         * text2.C (getFont): adjust
7669         (getLayoutFont): adjust
7670         (getLabelFont): adjust
7671
7672         * paragraph_funcs.C (TeXOnePar): adjust
7673         (outerFont): new func...
7674         (realizeFont): ...moved out from here, changed this to facilitate
7675         transition
7676
7677         * paragraph.C (getFont): take outerfont as arg, adjust
7678         (simpleTeXOnePar): add outerfont arg, adjust
7679
7680         * buffer.C (simpleLinuxDocOnePar): adjust
7681         (simpleDocBookOnePar): adjust
7682
7683         * CutAndPaste.C (pasteSelection): adjust
7684
7685         * BufferView.C (getEncoding): adjust
7686
7687 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7688
7689         * text2.C (setCharFont): adjust
7690         (setCounter): adjust
7691
7692         * text.C (leftMargin): adjust
7693         (setHeightOfRow): adjust
7694
7695         * rowpainter.C (paintFirst): adjust
7696         (paintLast): adjust
7697
7698         * paragraph_pimpl.C (realizeFont): adjust
7699
7700         * paragraph.C (isFirstInSequence): move from here...
7701         * paragraph_funcs.C (isFirstInSequence): ...to here
7702
7703         * paragraph.C (outerHook): move from here...
7704         * paragraph_funcs.C (outerHook): ...to here
7705
7706         * paragraph.C (depthHook): move from here...
7707         * paragraph_funcs.C (depthHook): ...to here
7708
7709         * paragraph.C (getEndLabel): move from here...
7710         * paragraph_funcs.C (getEndLabel): ...to here
7711
7712         * text2.C (realizeFont): move from here...
7713         * paragraph_funcs.C (realizeFont): ...to here
7714
7715 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7716
7717         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7718
7719 2003-04-14  Angus Leeming  <leeming@lyx.org>
7720
7721         * LColor.[Ch]: scrap LColor mathcursor.
7722
7723 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7724
7725         * lyxlex.[Ch] (text): delete function
7726         * trans.C (Load): adjust
7727         * paragraph_funcs.C (readParToken): adjust
7728
7729 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7730
7731         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7732         vector<char> instead of a char[].
7733
7734         * lyxlex_pimpl.C (getString): adjust
7735         (next): adjust
7736         (lex): use getString
7737         (eatLine): adjust
7738         (nextToken): adjust
7739
7740         * lyxlex.C (text): use pimpl_->getString()
7741         (getBool): ditto
7742         (findToken): ditto
7743
7744 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7745
7746         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7747         (makeFontEntriesLayoutSpecific): temp var for par.size()
7748         (setLayout): temp var for ownerParagraphs().end()
7749         (fullRebreak): temp var for rows().end()
7750         (selectionAsString): temp var for boost::next(startpit), realize
7751         that the while really is a regular for loop.
7752         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7753         setCursor in one place.
7754         (setParagraph): temp vr for ownerParagraphs().end()
7755         (updateCounters): make the while loop a for loop
7756         (cutSelection): temp var for ownerParagraphs().end()
7757         (updateInset): make the do {} while() a regular for loop
7758         (getCursorX): use temp vars
7759         (setCurrentFont): use temp vars
7760         (getColumnNearX): use temp vars
7761
7762 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7763
7764         * text.C (transformChar): use temp var for getChar
7765         (computeBidiTables): use temp var for row->par()
7766         (fill): move temp vars for row->par() and pit->layout() earlier in
7767         the function.
7768         (labelFill): use temp var for row->par()
7769         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7770         asc and desc, realize that pit never changes and that firstpit is
7771         just a duplicate and not needed. Exchange rit->par() with pit in a
7772         lot of places.
7773         (breakAgain): use a temp var for boost::next(rit)
7774         (breakAgainOneRow): ditto
7775         (breakParagraph): use a temp var for rows().begin()
7776         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7777         (cursorRightOneWord): use temp var for cursor.par() and
7778         cursor.pos(), remove usage of tmpcursor.
7779         (cursorLeftOneWord): use temp var for cursor.par() and
7780         cursor.pos() only set cur at end of function.
7781
7782 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7783
7784         * text.C, text2.C: exchange all usage of Paragraph::next with
7785         boost::next(ParagraphList::iterator)
7786
7787         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7788
7789         * text2.C (cursorTop): simplify implementation
7790         (cursorBottom): ditto
7791         (setParagraph): use ParagraphList::iterator
7792         (setCurrentFont): adjust
7793         (getColumnNearX): adjust
7794         (cursorRight): adjust
7795         (cursorLeft): remove usage of Paragraph::previous
7796         (cursorUpParagraph): ditto
7797         (deleteEmptyParagraphMechanism): slight cleanup
7798
7799         * text.C (isBoundary): take a Paragraph const & instead of a
7800         pointer as arg.
7801         (addressBreakPoint): ditto
7802         (leftMargin): remove usage of Paragraph::previous.
7803         (setHeightOfRow): ditto
7804         (cursorLeftOneWord): ditto
7805         (selectNextWordToSpellcheck): ditto
7806         (Delete): ditto
7807         (backspace): ditto
7808         (breakParagraph): remove one usage of Paragraph::next
7809         (redoParagraph): ditto
7810         (acceptChange): ditto
7811         (insertChar): adjust
7812         (rowBreakPoint): adjust
7813
7814         * bufferview_funcs.C (toggleAndShow): adjust
7815
7816 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7817
7818         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7819         methods to access it.
7820         * lyxtext.h:
7821         * text.C: Added updateRowPositions to compute all row positions.
7822         Make top_y and getRowNearY() to use the cached y position
7823
7824 2003-04-11  John Levon  <levon@movementarian.org>
7825
7826         * text.C (rowBreakPoint): reintroduce the labelEnd
7827         checks, code copied from the row fill stuff. Deep voodoo.
7828
7829         * text.C (fill): add a comment and debugging for the
7830         next poor soul.
7831
7832 2003-04-11  John Levon  <levon@movementarian.org>
7833
7834         * text.C: make sure fullrow insets get wrapped to the next line,
7835         even when they're in a manual label
7836
7837 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7838
7839         * text2.C (insertParagraph): make it take ParagraphList::iterator
7840         as arg.
7841         (setLayout): make it return ParagraphList::iterator
7842         (redoParagraphs): ditto
7843         (setCounter): ditto
7844         (checkParagraph): ditto
7845
7846         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7847
7848         * text2.C: adjust several funcs.
7849         (realizeFont): take a ParagraphList::iterator as arg.
7850         (getLayoutFont): ditto
7851         (getLabelFont): ditto
7852         (setCharFont): ditto
7853
7854         * text.C: adjust several funcs.
7855
7856 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7857
7858         * text.C (selectNextWordToSpellcheck): don't accidentally
7859         skip insets
7860
7861 2003-04-10  John Levon  <levon@movementarian.org>
7862
7863         * ToolbarBackend.C (getIcon): special handling for
7864         LFUN_MATH_DELIM
7865
7866 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7867
7868         * text2.C (cursorRight): a getChar assert fixed
7869
7870 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7871
7872         * text2.C (getFont): change to take a ParagraphList::iterator
7873         instead of Paragraph*
7874         Adjust several functions.
7875
7876         * text.C (transformChar): change to take a ParagraphList::iterator
7877         instead of Paragraph*
7878         (singleWidth): ditto
7879         Adjust several functions.
7880
7881         * rowpainter.C: adjust several functions
7882         * rowpainter.h:store a ParagraphList::iterator and not a
7883         Paragraph&.
7884
7885
7886 2003-04-09  John Levon  <levon@movementarian.org>
7887
7888         * lyxfunc.C:
7889         * lfuns.h:
7890         * LyXAction.h:
7891         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7892         and the "help" bits as well
7893
7894 2003-04-09  John Levon  <levon@movementarian.org>
7895
7896         * ToolbarBackend.h:
7897         * ToolbarBackend.C: allow multiple toolbars
7898
7899 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7900
7901         * undo_funcs.C (setCursorParUndo): adjust
7902
7903         * text_funcs.C (transposeChars): adjust
7904
7905         * text3.C (gotoNextInset): adjust
7906         (dispatch): adjust
7907
7908         * text2.C (setLayout): adjust
7909         (changeDepth): adjust
7910         (setFont): adjust
7911         (redoParagraphs): adjust
7912         (selectionAsString): adjust
7913         (setParagraph): adjust
7914         (insertInset): adjust
7915         (cutSelection): adjust
7916         (copySelection): adjust
7917         (pasteSelection): adjust
7918         (insertStringAsLines): adjust
7919         (updateInset): adjust
7920         (setCursor): change to take a ParagraphList::iterator parameter
7921         (setCursorIntern): change to take a ParagraphList::iterator parameter
7922         (setCurrentFont): adjust
7923         (cursorLeft): adjust
7924         (cursorRight): adjust
7925         (deleteEmptyParagraphMechanism): adjust
7926
7927         * text.C (breakParagraph): adjust
7928         (insertChar): adjust
7929         (acceptChange): adjust
7930         (rejectChange): adjust
7931         (selectNextWordToSpellcheck): adjust
7932         (changeCase): adjust
7933         (Delete): adjust
7934         (backspace): adjust
7935
7936         * lyxfind.C (SearchForward): adjust
7937         (SearchBackward): adjust
7938         (nextChange): adjust
7939
7940         * lyxcursor.C (par): adjust
7941
7942         * lyxcursor.h: store a ParagraphList::iterator instead of a
7943         Paragraph*
7944
7945         * lyx_cb.C (getPossibleLabel): adjust
7946
7947         * bufferview_funcs.C (toggleAndShow): adjust
7948
7949         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7950         (dispatch): adjust
7951
7952         * BufferView.C (removeAutoInsets): adjust
7953         (lockedInsetStoreUndo): adjust
7954
7955 2003-04-09  John Levon  <levon@movementarian.org>
7956
7957         * ToolbarBackend.C: try icon without argument
7958         if with argument fails
7959
7960 2003-04-08  John Levon  <levon@movementarian.org>
7961
7962         * ToolbarBackend.h:
7963         * ToolbarBackend.C: add getIcon(), handle tooltip,
7964         and change from "Icon" to "Item".
7965
7966 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7967
7968         * BufferView.C (lockInset): another bad getchar crunched
7969
7970 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7971
7972         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7973         again)
7974
7975 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7976
7977         * lyxfind.C (searchForward, searchBackwards): bug 782
7978
7979 2003-04-07  John Levon  <levon@movementarian.org>
7980
7981         * paragraph.C: remove dead comment
7982
7983         * text.C: remove troublesome depth-fiddling code
7984         in leftMargin() and rightMargin() (bug 1017)
7985
7986         * text.C: fix breaking of rows in nested lists
7987         (bug 1004)
7988
7989         * text2.C (updateCounters): fix up depth values
7990         (bug 1013)
7991
7992 2003-04-07  John Levon  <levon@movementarian.org>
7993
7994         * BufferView_pimpl.C: clear message when doc finishes resizing,
7995         and after a mouse event
7996
7997         * lyxfunc.C: clear message after exiting inset
7998
7999 2003-04-07  John Levon  <levon@movementarian.org>
8000
8001         * bufferview_funcs.C: show math status not outside
8002         status in the statusbar
8003
8004 2003-04-07  John Levon  <levon@movementarian.org>
8005
8006         * lyxfunc.C: note status changed after a depth change
8007
8008 2003-04-04  Angus Leeming  <leeming@lyx.org>
8009
8010         * LaTeX.h: move AuxInfo operator==, != out of line.
8011         Remove LaTeX virtual destructor; nothing derives from it.
8012         Move operator()() out of public area and rename it startscript().
8013         Change protected for private.
8014
8015 2003-04-04  Angus Leeming  <leeming@lyx.org>
8016
8017         * lyxfunc.C:
8018         * text2.C: remove unneeded #includes.
8019
8020 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8021
8022         * text2.C (dEPM): fix the heigth of the next row
8023
8024 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8025
8026         * text.C: squashed an invalid getChar requester + some ws changes
8027
8028 2003-04-03  John Levon  <levon@movementarian.org>
8029
8030         * bufferview_funcs.h:
8031         * bufferview_funcs.C:
8032         * lyxfunc.C:
8033         * lyxtext.h:
8034         * text2.C: make getStatus work for the env depth lfuns
8035
8036 2003-04-03  John Levon  <levon@movementarian.org>
8037
8038         * bufferview_funcs.h:
8039         * bufferview_funcs.C:
8040         * lyxfunc.C:
8041         * lyxtext.h:
8042         * text2.C: parlistize decDepth(), by merging it with incDepth()
8043
8044 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8045
8046         * lyxrow.h: store a ParagraphList::iterator instead of a
8047         Paragraph* and adjust other class functions to suit.
8048
8049         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8050         above.
8051
8052 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8053
8054         * text2.C (setCursor): do not anchor to cursor row for the time being
8055
8056 2003-04-02  John Levon  <levon@movementarian.org>
8057
8058         * LyXAction.C:
8059         * lfuns.h:
8060         * lyx_main.C:
8061         * lyxtext.h:
8062         * text.C:
8063         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8064
8065 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8066
8067         * paragraph.h: make ParagraphList and ParagraphList::iterator
8068         friends of Paragraph.
8069
8070         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8071
8072         * ParagraphList.C: Use the private next_ and previous_ from
8073         Paragraph.
8074
8075 2003-04-01  John Levon  <levon@movementarian.org>
8076
8077         * ToolbarBackend.h:
8078         * ToolbarBackend.C:
8079         * Makefile.am: rename, remove defaults gunk
8080
8081         * MenuBackend.h:
8082         * MenuBackend.C: remove defaults gunk
8083
8084         * Languages.h:
8085         * Languages.C: remove defaults gunk
8086
8087         * lyx_main.h:
8088         * lyx_main.C: error out if files couldn't be found.
8089
8090 2003-04-02  John Levon  <levon@movementarian.org>
8091
8092         * text2.C: make incDepth() use parlist
8093
8094 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8095
8096         * undo_funcs.C (firstUndoParagraph): adjust
8097
8098         * text3.C (gotoInset): adjust
8099         (dispatch): adjust, and rewrite loop.
8100
8101         * text2.C (init): adjust, and rewrite loop.
8102         (redoParagraphs): adjust
8103         (updateInset): adjust, and rewrite loop.
8104         (deleteEmptyParagraphMechanism): adjust
8105
8106         * tabular.C (LyXTabular): adjust
8107         (SetMultiColumn): adjust
8108         (TeXRow): adjust
8109
8110         * lyxtext.[Ch] (ownerParagraph): delete function
8111         (ownerParagraphs): new function returns a ParagraphList.
8112
8113         * BufferView.C (removeAutoInsets): adjust
8114         (insertErrors): adjust
8115         (setCursorFromRow): adjust
8116
8117 2003-04-01  Angus Leeming  <leeming@lyx.org>
8118
8119         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8120         in the frontends.
8121
8122 2003-04-02  John Levon  <levon@movementarian.org>
8123
8124         * lyxtext.h:
8125         * text.C:
8126         * Makefile.am:
8127         * text_funcs.h:
8128         * text_funcs.C: make transposeChars a free function
8129
8130         * lyxrow_funcs.C: remove wrong comment
8131
8132 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8133
8134         * lyxtext.h: adjust
8135         * rowpainter.C: adjust
8136         * text.C: adjust
8137         * text2.C: adjust
8138         * text3.C: adjust
8139
8140         * lyxrow_funcs. [Ch]: new files
8141
8142         * lyxrow.[Ch]: remove next and previous pointers
8143         (next,previous): remove accessor functions
8144         (isParEnd): move to lyxrow_funcs
8145         (lastPos): move to lyxrow_funcs
8146         (nextRowIsAllInset): move to lyxrow_funcs
8147         (lastPrintablePos): move to lyxrow_funcs
8148         (numberOfSeparators): move to lyxrow_funcs
8149         (numberOfHfills): move to lyxrow_funcs
8150         (numberOfLabelHfills): move to lyxrow_funcs
8151         (hfillExpansion): move to lyxrow_funcs
8152
8153         * lyxfunc.C: adjust
8154
8155         * bufferview_funcs.C (toggleAndShow): adjust
8156
8157         * RowList.h: Remove class RowList from file leave just a
8158         std::list<Row>.
8159
8160         * RowList.C: delete file
8161
8162         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8163         and lyxrow_funcs.h
8164
8165 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8166
8167         * text3.C (cursorPrevious): adjust
8168         (cursorNext): adjust
8169         (dispatch): adjust
8170
8171         * text2.C (redoHeightOfParagraph): adjust
8172         (redoDrawingOfParagraph): adjust
8173         (setCursor): adjust
8174
8175         * text.C (breakParagraph): adjust
8176         (insertChar): adjust
8177         (backspace): adjust
8178
8179         * rowpainter.C (RowPainter): adjust
8180         (leftMargin): simplify and adjust
8181         (most rowpainter functions): adjust.
8182
8183         * rowpainter.h: store the row as RowList::iterator not as Row*
8184
8185         * lyxcursor.C (row): taka RowList::iterator as arg
8186         (irow): ditto
8187
8188         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8189         of Row*.
8190
8191 2003-04-01  Angus Leeming  <leeming@lyx.org>
8192
8193         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8194         stuff like bool Bool.
8195
8196 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8197
8198         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8199         rewrite a loop
8200
8201 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8202
8203         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8204         RowList::iterator.
8205
8206         * lyxtext.h (rows): drop one version and leve a const variant that
8207         returns a RowList::iterator.
8208
8209 2003-03-31  Angus Leeming  <leeming@lyx.org>
8210
8211         * text.C (fill): ensure that the signature is the same as that in the
8212         header file.
8213
8214 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8215
8216         * text2.C (redoParagraphs): adjust
8217         (updateCounters): adjust
8218         (checkParagraph): adjust
8219         (getColumnNearX): adjust and reformat a bit.
8220
8221         * text.C (top_y): adjust
8222         (workWidth): adjust
8223         (leftMargin): adjust
8224         (prepareToPrint): adjust
8225         (getRow): adjust
8226         (getRowNearY): adjust
8227
8228         * lyxtext.h: make rowlist_ mutable.
8229
8230         * RowList.h: add const_iterator
8231         * RowList.C: adjust for RowList::const_iterator.
8232
8233         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8234         adjust.
8235
8236 2003-03-31  John Levon  <levon@movementarian.org>
8237
8238         * lyxrc.h:
8239         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8240
8241         * lyx_main.C: set default fonts from using lyx_gui funcs
8242
8243         * exporter.C: pdf_mode moved from lyxrc
8244
8245         * lyx_cb.C:
8246         * lyxfunc.C: changes from above
8247
8248 2003-03-31  John Levon  <levon@movementarian.org>
8249
8250         * lyx_main.C: fix to the last fix
8251
8252 2003-03-31  John Levon  <levon@movementarian.org>
8253
8254         * bufferlist.C: "Load original" -> "Load Original"
8255
8256         * converter.C:
8257         * exporter.C:
8258         * importer.C:
8259         * lyx_main.C:
8260         * format.C: more Alert cleanups
8261
8262 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8263
8264         * text2.C (removeParagraph): make it take a RowList::iterator as
8265         arg, adjust.
8266         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8267         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8268
8269         * text.C (anchor_row): make it take a RowList::iterator as arg,
8270         adjust.
8271         (computeBidiTables): make it take a const reference to Row instead
8272         of Row pointer, adjust.
8273         (leftMargin): make it take a RowList::iterator as arg, adjust.
8274         (rowBreakPoint): adjust
8275         (breakAgainOneRow): make it take a RowList::iterator as arg,
8276         adjust.
8277         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8278
8279         * bufferview_funcs.C (toggleAndShow): adjust
8280
8281 2003-03-30  John Levon  <levon@movementarian.org>
8282
8283         * Makefile.am:
8284         * BoostFormat.h:
8285         * boost-inst.C: moved to support
8286
8287         * several files: changes as a result
8288
8289 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8290
8291         * text2.C (LyXText): adjust.
8292         (init): adjust
8293         (removeRow): make it take a RowList::iterator as arg, adjust.
8294         (fullRebreak): adjust
8295         (deleteEmptyParagraphMechanism): adjust
8296         (clearPaint): adjust
8297         (postPaint): adjust
8298
8299         * text.C (top_y): adjust
8300         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8301         (breakAgain): make it take a RowList::iterator as arg, adjust.
8302         (breakParagraph): adjust
8303         (insertChar): adjust
8304         (backspace): adjust
8305
8306         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8307         need_break_row, and refresh_row.
8308
8309         * text3.C (dispatch): adjust
8310
8311         * text2.C (checkParagraph): adjust
8312         (setCursor): adjust
8313         (setCursorFromCoordinates): adjust
8314
8315         * text.C (top_y): adjust
8316         (workWidth): adjust
8317         (getRow): make it return a RowList::iterator, adjust
8318         (getRowNearY): make it return a RowList::iterator, adjust
8319
8320         * text2.C (init): adjust
8321         (insertRow): remove function
8322         (insertParagraph): adjust
8323         (redoParagraphs): adjust
8324         (fullRebreak): adjust
8325         (updateCounters): adjust
8326
8327         * text.C (top_y): rewrite to use RowList iterators.
8328         (top_y): adjust
8329         (setHeightOfRow): rewrite to sue RowList iterators.
8330         (appendParagraph): adjust
8331         (breakAgain): adjust
8332         (breakAgainOneRow): adjust
8333         (breakParagraph): adjust
8334         (getRow): adjust
8335         (getRowNearY): adjust, and remove commented code.
8336
8337         * lyxtext.h (firstRow): delete function
8338         (lastRow): delete function
8339         (rows): new function (const and non-const versions.)
8340         (insertRow): delete function
8341
8342         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8343
8344 2003-03-29  John Levon  <levon@movementarian.org>
8345
8346         * BufferView_pimpl.C: always update scrollbar top
8347         because pasting text when we're anchored could mean we
8348         miss an update altogether
8349
8350 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8351
8352         * text2.C (init): use rowlist_.end() and not 0.
8353         (insertRow): change to take a RowList::iterator as arg, adjust
8354         for this.
8355         (insertParagraph): change to take a RowList::iterator as arg,
8356         adjust for this.
8357         (redoParagraphs): remove some debug msgs.
8358
8359         * text.C (appendParagraph): change to take a RowList::iterator
8360         arg, adjust for this.
8361         (breakAgain): add an assert
8362         (breakAgainOneRow): ditto
8363
8364 2003-03-29  John Levon  <levon@movementarian.org>
8365
8366         * text2.C: do not clear selection after inc/decDepth
8367         (bug 550)
8368
8369 2003-03-29  John Levon  <levon@movementarian.org>
8370
8371         * BufferView.C:
8372         * buffer.C: fix broken strerrors according to Lars
8373
8374 2003-03-29  John Levon  <levon@movementarian.org>
8375
8376         * converters.C: more Alert cleanups
8377
8378 2003-03-29  John Levon  <levon@movementarian.org>
8379
8380         * bufferview_funcs.C: remove pointless Alert
8381
8382         * buffer.C: fix confusing error message when
8383         a template is chmoded 000
8384
8385 2003-03-29  John Levon  <levon@movementarian.org>
8386
8387         * BufferView.C:
8388         * BufferView.h:
8389         * BufferView_pimpl.C: Alert fixes
8390
8391         * Makefile.am:
8392         * tabular.C:
8393         * tabular-old.C: remove unused table compat reading
8394
8395 2003-03-29  John Levon  <levon@movementarian.org>
8396
8397         * BufferView.C:
8398         * buffer.C:
8399         * lyx_cb.h:
8400         * lyx_cb.C: more Alert cleanups
8401
8402         * lyxfunc.C: don't allow chktex if not latex document
8403
8404 2003-03-29  John Levon  <levon@movementarian.org>
8405
8406         * lyx_cb.C:
8407         * BufferView.C:
8408         * buffer.C: warnings pushed down from support/,
8409         kill err_alert
8410
8411 2003-03-29  John Levon  <levon@movementarian.org>
8412
8413         * lyxfunc.C: safety check for C-r (revert)
8414
8415 2003-03-29  John Levon  <levon@movementarian.org>
8416
8417         * bufferlist.h:
8418         * bufferlist.C: several UI fixes using Alert::prompt.
8419         Fix the pointless looping quit code. Fix stupid revert
8420         behaviour (bug 938)
8421
8422         * lyxvc.h:
8423         * lyxvc.C:
8424         * lyx_cb.C: use Alert::prompt
8425
8426         * lyx_main.C: remove a silly question
8427
8428         * lyxfunc.C: remove a couple of silly questions,
8429         use Alert::prompt
8430
8431 2003-03-28  John Levon  <levon@movementarian.org>
8432
8433         * text2.C: fix bug 974 (End on empty par)
8434
8435 2003-03-28  John Levon  <levon@movementarian.org>
8436
8437         * BufferView_pimpl.C:
8438         * LyXAction.C:
8439         * lfuns.h: remove do-nothing math greek lfuns
8440
8441 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8442
8443         * lyxgluelength.h (isValidGlueLength): add default arg on
8444         parameter 2. Remove default arg from friend in class.
8445
8446         * lyxlength.h (isValidLength): add default arg on parameter 2.
8447         Remove default arg from friend in class.
8448
8449         * text2.C (LyXText): adjust, initialize refresh_row.
8450         (init): adjust
8451         (removeRow): adjust
8452         (insertRow): adjust
8453         (insertParagraph): adjst
8454         (redoParagraphs): adjust
8455         (fullRebreak): adjust
8456         (updateCounters): adjust
8457         (deleteEmptyParagraphMechanism): first attempt at fixing a
8458         crashing bug.
8459
8460         * text.C (top_y): adjust
8461         (setHeightOfRow): adjust
8462         (getRow): adjust
8463         (getRowNearY): adjust
8464
8465         * lyxtext.h: include RowList.h
8466         (~LyXText): not needed anymore, deleted.
8467         (firstRow): modify for RowList
8468         (lastRow): new function
8469         Delete firstrow and lastrow class variables, add a Rowlist
8470         rowlist_ class variable.
8471
8472         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8473         paragraph is empty.
8474
8475         * RowList.C (insert): fix case where it == begin().
8476
8477 2003-03-26  Angus Leeming  <leeming@lyx.org>
8478
8479         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8480         the thesaurus dialog.
8481
8482 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8483
8484         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8485
8486         * RowList.[Ch]: new files
8487
8488         * ParagraphList.C (erase): handle the case where it == begin
8489         correctly.
8490
8491 2003-03-25  John Levon  <levon@movementarian.org>
8492
8493         * Makefile.am:
8494         * aspell_local.h:
8495         * aspell.C: add new aspell support
8496
8497         * lyxrc.h:
8498         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8499         have it accessible.
8500
8501 2003-03-25  Angus Leeming  <leeming@lyx.org>
8502
8503         * lfuns.h:
8504         * LyXAction.C (init): new LFUN_INSET_INSERT.
8505
8506         * BufferView_pimpl.C (dispatch): split out part of the
8507         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8508
8509         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8510         LFUN_INSET_APPLY.
8511
8512 2003-03-25  Angus Leeming  <leeming@lyx.org>
8513
8514         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8515
8516 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8517
8518         * text2.C:
8519         * text3.C: remove useless row->height(0)
8520
8521 2003-03-25  John Levon  <levon@movementarian.org>
8522
8523         * lyxtext.h:
8524         * text2.C:
8525         * text3.C: rename the refreshing stuff to better names
8526
8527 2003-03-24  John Levon  <levon@movementarian.org>
8528
8529         * BufferView_pimpl.h:
8530         * BufferView_pimpl.C: update layout choice on a mouse
8531         press/release
8532
8533 2003-03-23  John Levon  <levon@movementarian.org>
8534
8535         * Makefile.am: fix commandtags.h reference
8536
8537 2003-03-22  John Levon  <levon@movementarian.org>
8538
8539         * BufferView_pimpl.C:
8540         * lyxtext.h:
8541         * rowpainter.C:
8542         * rowpainter.h:
8543         * text.C:
8544         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8545
8546 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8547
8548         * lyxtext.h:
8549         * text.C: take the rtl methods out of line
8550
8551 2003-03-21 André Pönitz <poenitz@gmx.net>
8552
8553         * metricsinfo.[Ch]: new files containing structures to be passed around
8554         during the two-phase-drawing...
8555
8556 2003-03-21 André Pönitz <poenitz@gmx.net>
8557
8558         * lyxtextclass.C: read 'environment' tag.
8559
8560 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8561
8562         * text2.C (removeRow): fix bug 964
8563
8564 2003-03-20  John Levon  <levon@movementarian.org>
8565
8566         * rowpainter.C:
8567         * text.C:
8568         * text2.C: paint cleanups. Inset::update() dropped font
8569         parameter
8570
8571 2003-03-19  John Levon  <levon@movementarian.org>
8572
8573         * lyxfunc.C: only fitcursor/markDirty if available()
8574
8575 2003-03-19  John Levon  <levon@movementarian.org>
8576
8577         * commandtags.h: rename to ...
8578
8579         * lfuns.h: ... this, and renumber / cleanup
8580
8581 2003-03-19  John Levon  <levon@movementarian.org>
8582
8583         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8584         fit the cursor after an lfun
8585
8586         * BufferView.h:
8587         * BufferView.C:
8588         * BufferView_pimpl.h:
8589         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8590
8591         * LyXAction.C: layout-character should have ReadOnly
8592
8593         * ParagraphParameters.C:
8594         * buffer.C:
8595         * bufferview_funcs.C:
8596         * lyx_cb.C:
8597         * lyxfind.C:
8598         * lyxtext.h:
8599         * text.C:
8600         * text2.C:
8601         * text3.C:
8602         * undo_funcs.C: changes from above
8603
8604 2003-03-18  John Levon  <levon@movementarian.org>
8605
8606         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8607         remove it from update()
8608
8609         * lyxfunc.C: update layout choice after an lfun
8610
8611         * text3.C: remove extra updateLayoutChoice()s
8612
8613 2003-03-18  John Levon  <levon@movementarian.org>
8614
8615         * text.C: top_y change means full repaint, fix
8616         a drawing bug with cursor movement
8617
8618 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8619
8620         * lyxtext.h:
8621         * text.C:
8622         * text2.C: anchor row on setCursor
8623
8624 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8625
8626         * lyxtext.h: remove almost all mutable keywords
8627         * text.C:
8628         * text2.C:
8629         * text3.C: remove const keywords accordingly
8630
8631 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8632
8633         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8634         anon namespace
8635         (TeXEnvironment): ditto
8636         (TeXOnePar): ditto
8637
8638 2003-03-17  John Levon  <levon@movementarian.org>
8639
8640         * text.C (rowBreakPoint): remove attempt to fix displayed
8641         math insets inside a manual label
8642
8643 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8644
8645         * lyxtext.h: remove BufferView* as first arg from almost all class
8646         functions.
8647         * other files: adjust.
8648
8649 2003-03-17  John Levon  <levon@movementarian.org>
8650
8651         * lyxtext.h:
8652         * undo_funcs.C:
8653         * text2.C: more paint cleanups
8654
8655         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8656
8657         * rowpainter.h:
8658         * rowpainter.C: remove "smart" background painting code
8659
8660 2003-03-16  John Levon  <levon@movementarian.org>
8661
8662         * lyxtext.h:
8663         * text.C:
8664         * text2.C:
8665         * text3.C: add helper functions for setting refresh_row/y
8666
8667 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8668
8669         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8670         newline inset which *can* get inserted in the pass_thru layouts.
8671         This is primarily for literate documents.
8672
8673 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8674
8675         * buffer.C: increment LYX_FORMAT to 223
8676
8677 2003-03-14 André Pönitz <poenitz@gmx.net>
8678
8679         * textclass.h: prepare for environment handling, ws changes
8680         * lyxlayout.C: read latexheader and latexfooter tags
8681
8682 2003-03-14  John Levon  <levon@movementarian.org>
8683
8684         * text2.C: rewrite ::status() a bit
8685
8686 2003-03-13  John Levon  <levon@movementarian.org>
8687
8688         * lyxtext.h: add some docs
8689
8690 2003-03-13  John Levon  <levon@movementarian.org>
8691
8692         * lyxtext.h:
8693         * text.C:
8694         * text2.C:
8695         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8696
8697 2003-03-13  John Levon  <levon@movementarian.org>
8698
8699         * text3.C: fix appendix redrawing
8700
8701 2003-03-13  John Levon  <levon@movementarian.org>
8702
8703         * text.C (setHeightOfRow):
8704         * rowpainter.h:
8705         * rowpainter.C: make appendix mark have the text
8706           "Appendix" so the user knows what it is
8707
8708         * LColor.h:
8709         * LColor.C: s/appendixline/appendix/ from above
8710
8711 2003-03-13  John Levon  <levon@movementarian.org>
8712
8713         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8714
8715         * text.C: fix a getChar(pos) bug properly
8716
8717 2003-03-13  Angus Leeming  <leeming@lyx.org>
8718
8719         * commandtags.h:
8720         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8721         Probably only temporary. Let's see how things pan out.
8722
8723         * BufferView.C (unlockInset):
8724         * BufferView_pimpl.C (fitCursor):
8725         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8726
8727         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8728         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8729
8730         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8731         new functions that convert ParagraphParameters to and from a string.
8732
8733         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8734         BufferView::Pimpl's dispatch.
8735         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8736
8737 2003-03-13 André Pönitz <poenitz@gmx.net>
8738
8739         * lyxfunc.C:
8740         * text3.C:
8741         * factory.C: make it aware of InsetEnv
8742
8743 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8744
8745         * text2.C (setCursor): never ask for one past last
8746         (setCursor): add some debugging messages.
8747
8748         * text.C (singleWidth): never ask for one past last
8749         (singleWidth): ditto
8750         (leftMargin): ditto
8751         (rightMargin): ditto
8752         (rowBreakPoint): ditto
8753         (setHeightOfRow): ditto
8754         (prepareToPrint): ditto
8755
8756         * rowpainter.C (paintBackground): never ask for one past last
8757         (paintText): never ask for one past last
8758
8759         * paragraph_pimpl.C (getChar): make the assert stricter, never
8760         allow the one past last pos to be taken
8761
8762         * paragraph.C (getChar): ws changes only
8763
8764         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8765         (numberOfSeparators): ditto
8766         (numberOfHfills): ditto
8767
8768 2003-03-12  John Levon  <levon@movementarian.org>
8769
8770         * author.h:
8771         * author.C:
8772         * bufferparams.h:
8773         * bufferparams.C:
8774         * paragraph_funcs.C: fix per-buffer authorlists
8775
8776 2003-03-12  John Levon  <levon@movementarian.org>
8777
8778         * text.C: fix newline in right address
8779
8780 2003-03-12  Angus Leeming  <leeming@lyx.org>
8781
8782         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8783         duplicate those in LyXFunc::dispatch.
8784
8785         * commandtags.h:
8786         * LyXAction.C:
8787         * ToolbarDefaults.C:
8788         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8789         Add LFUN_FONTFREE_UPDATE.
8790
8791         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8792         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8793
8794         * bufferview_func.[Ch]: several new functions to facilliate
8795         transfer of data to and from the character dialog.
8796
8797 2003-03-12  John Levon  <levon@movementarian.org>
8798
8799         * buffer.C:
8800         * paragraph.h:
8801         * paragraph.C:
8802         * paragraph_funcs.C:
8803         * paragraph_pimpl.C:
8804         * sgml.C:
8805         * tabular.C:
8806         * text.C:
8807         * text3.C: remove META_NEWLINE in favour of an inset
8808
8809         * rowpainter.h:
8810         * rowpainter.C: remove paintNewline (done by inset)
8811
8812 2003-03-12  John Levon  <levon@movementarian.org>
8813
8814         * paragraph_pimpl.C: complain about bad getChar()s
8815         for a while at least
8816
8817 2003-03-12  John Levon  <levon@movementarian.org>
8818
8819         * buffer.h:
8820         * buffer.C: move paragraph read into a separate function,
8821         a little renaming to reflect that.
8822
8823         * bufferparams.h:
8824         * bufferparams.C: remove the author_ids map, not necessary now
8825
8826         * factory.h:
8827         * factory.C: moved Buffer::readInset to here
8828
8829         * paragraph_funcs.h:
8830         * paragraph_funcs.C: readParagraph free function moved from
8831         buffer.C
8832
8833         * tabular.C: name change
8834
8835 2003-03-12  John Levon  <levon@movementarian.org>
8836
8837         * buffer.C:
8838         * ParagraphParameters.C: move par params input to
8839         a read() method
8840
8841         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8842         behave like a normal read from the stream wrt reading
8843         a line vs. a \\token
8844
8845 2003-03-12  John Levon  <levon@movementarian.org>
8846
8847         * paragraph.C:
8848         * ParagraphParameters.h:
8849         * ParagraphParameters.C: move output code to a
8850         ::write() method
8851
8852 2003-03-12  John Levon  <levon@movementarian.org>
8853
8854         * BufferView.C (insertLyXFile):
8855         * buffer.h:
8856         * buffer.C:
8857         * tabular.C: use a parlist iterator for creating the
8858           document.
8859
8860 2003-03-12  John Levon  <levon@movementarian.org>
8861
8862         * buffer.C: make current_change static local not
8863           static file-scope
8864
8865 2003-03-12  John Levon  <levon@movementarian.org>
8866
8867         * buffer.C: fix insertStringAsLines for change tracking
8868
8869 2003-03-12  John Levon  <levon@movementarian.org>
8870
8871         * BufferView.C:
8872         * tabular.C:
8873         * buffer.h:
8874         * buffer.C:
8875         * bufferparams.h:
8876         * bufferparams.C: move author list into params. Rename some
8877           functions. Move the header reading into a separate token
8878           loop. Move the header token reading into BufferParams.
8879
8880 2003-03-12  John Levon  <levon@movementarian.org>
8881
8882         * changes.C: put debug inside lyxerr.debugging() checks
8883
8884 2003-03-11 André Pönitz <poenitz@gmx.net>
8885
8886         * factory.C: make it aware of InsetHFill
8887
8888 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8889
8890         * buffer.C (latexParagraphs): move function from here...
8891         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8892         args.
8893
8894 2003-03-10  Angus Leeming  <leeming@lyx.org>
8895
8896         * LyXAction.C (init): fix bug in poplating array with multiple entries
8897         with the same LFUN (spotted by JMarc).
8898
8899 2003-03-10  John Levon  <levon@movementarian.org>
8900
8901         * text.C:
8902         * text2.C: move getColumnNearX() near its
8903         only call site
8904
8905 2003-03-10  John Levon  <levon@movementarian.org>
8906
8907         * text.C: fix break before a minipage
8908
8909 2003-03-10  John Levon  <levon@movementarian.org>
8910
8911         * text.C: fix the last commit
8912
8913 2003-03-09  John Levon  <levon@movementarian.org>
8914
8915         * lyxtext.h:
8916         * text.C:
8917         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8918         bug 365 (don't break before insets unless needed). Don't
8919         return a value > last under any circumstances.
8920
8921 2003-03-09  Angus Leeming  <leeming@lyx.org>
8922
8923         * BufferView_pimpl.C (trackChanges, dispatch): call
8924         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8925
8926 2003-03-09  Angus Leeming  <leeming@lyx.org>
8927
8928         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8929         than Dialogs::showAboutlyx().
8930
8931 2003-03-09  Angus Leeming  <leeming@lyx.org>
8932
8933         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8934         than Dialogs::showTabularCreate().
8935
8936 2003-03-09  John Levon  <levon@movementarian.org>
8937
8938         * lyxtext.h:
8939         * text.C:
8940         * text2.C: 3rd arg to nextBreakPoint was always the same.
8941           Use references.
8942
8943 2003-03-08  John Levon  <levon@movementarian.org>
8944
8945         * lyxrow.C:
8946         * paragraph.C:
8947         * paragraph.h:
8948         * rowpainter.C:
8949         * text.C:
8950         * text2.C: Remove the "main" bit from the "main body"
8951           notion.
8952
8953 2003-03-08  John Levon  <levon@movementarian.org>
8954
8955         * text.C (leftMargin): The left margin of an empty
8956         manual label paragraph should not include the label width
8957         string length.
8958
8959         * text.C (prepareToPrint): don't attempt to measure hfills
8960         for empty manual label paragraphs - the answer should be 0
8961
8962 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8963
8964         * CutAndPaste.C: remove commented code and reindent.
8965
8966 2003-03-08  John Levon  <levon@movementarian.org>
8967
8968         * lyxfunc.h:
8969         * lyxfunc.C: move reloadBuffer()
8970
8971         * BufferView.h:
8972         * BufferView.C: to here
8973
8974         * lyxvc.C: add comment
8975
8976         * vc-backend.h:
8977         * vc-backend.C: call bv->reload() to avoid
8978           getStatus() check on MENURELOAD
8979
8980 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8981
8982         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8983         to an old format .dep file.
8984
8985 2003-03-07  Angus Leeming  <leeming@lyx.org>
8986
8987         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8988         when the LFUN_MOUSE_RELEASE should have been handled by
8989         inset->localDispatch.
8990
8991 2003-03-07  Angus Leeming  <leeming@lyx.org>
8992
8993         * BufferView_pimpl.C (dispatch):
8994         * LyXAction.C (init):
8995         * ToolbarDefaults.C (init):
8996         * commandtags.h:
8997         * lyxfunc.C (getStatus):
8998         remove LFUN_INSET_GRAPHICS.
8999
9000         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9001
9002 2003-03-07  Angus Leeming  <leeming@lyx.org>
9003
9004         * commandtags.h:
9005         * LyXAction.C (init):
9006         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9007
9008         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9009
9010         * commandtags.h:
9011         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9012
9013         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9014         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9015
9016 2003-03-07  Angus Leeming  <leeming@lyx.org>
9017
9018         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9019         remove "ert".
9020
9021 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9022
9023         * ParagraphList.C (front): new function
9024         (back): implement
9025
9026 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9027
9028         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9029         and top_row_offset_. removed var first_y.
9030         * text.C (top_y):
9031         * text2.C (LyXText, removeRow):
9032         * text3.C:
9033         * BufferView_pimpl.C:
9034         use these methods instead of using first_y
9035
9036 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9037
9038         * text2.C (pasteSelection): adjust for checkPastePossible
9039
9040         * CutAndPaste.C: remove Paragraph * buf and replace with
9041         ParagraphList paragraphs.
9042         (DeleteBuffer): delete
9043         (cutSelection): change the tc type to textclass_type
9044         (copySelection): change the tc type to textclass_type
9045         (copySelection): adjust for ParagraphList
9046         (pasteSelection): change the tc type to textclass_type
9047         (pasteSelection): adjust for Paragraphlist
9048         (nrOfParagraphs): simplify for ParagraphList
9049         (checkPastePossible): simplify for ParagraphList
9050         (checkPastePossible): remove unused arg
9051
9052         * ParagraphList.C (insert): handle the case where there are no
9053         paragraphs yet.
9054
9055         * CutAndPaste.h: make CutAndPaste a namespace.
9056
9057         * text3.C (dispatch): adjust
9058
9059         * text.C (breakParagraph): add a ParagraphList as arg
9060
9061         * paragraph_funcs.C (breakParagraph): change to take a
9062         BufferParams and a ParagraphList as args.
9063         (breakParagraphConservative): ditto
9064         (mergeParagraph): ditto
9065         (TeXDeeper): add a ParagraphList arg
9066         (TeXEnvironment): ditto
9067         (TeXOnePar): ditto
9068
9069         * buffer.C (readLyXformat2): adjust
9070         (insertStringAsLines): adjust
9071         (latexParagraphs): adjust
9072
9073         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9074         (cutSelection): adjust
9075         (pasteSelection): adjust
9076
9077         * BufferView_pimpl.C (insertInset): adjust
9078
9079 2003-03-05  Angus Leeming  <leeming@lyx.org>
9080
9081         * commandtags.h:
9082         * LyXAction.C (init):
9083         * BufferView_pimpl.C (dispatch):
9084         * lyxfunc.C (getStatus):
9085         remove LFUN_CHILD_INSERT.
9086
9087         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9088
9089 2003-03-05  Angus Leeming  <leeming@lyx.org>
9090
9091         * commandtags.h:
9092         * LyXAction.C (init):
9093         * src/factory.C (createInset):
9094         * lyxfunc.C (getStatus):
9095         * text3.C (dispatch):
9096         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9097
9098         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9099
9100 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9101
9102         * ParagraphList.C (insert): handle insert right before end()
9103         (erase): fix cases where it can be first or last paragraph.
9104
9105 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9106
9107         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9108         Paragraph::next and Paragraph::previous
9109         (TeXOnePar): ditto
9110
9111         * text.C (breakParagraph): adjust
9112
9113         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9114         BufferParams& as arg.
9115         (breakParagraph): use ParagraphList::insert
9116         (breakParagraphConservative): take a Buffer* instead of a
9117         BufferParams& as arg.
9118         (breakParagraphConservative): use ParagraphList::insert.
9119
9120         * buffer.C (insertStringAsLines): un-const it
9121         (insertStringAsLines): adjust
9122
9123         * ParagraphList.C (insert): new function
9124
9125         * CutAndPaste.C (pasteSelection): adjust
9126
9127         * text.C (backspace): adjust
9128
9129         * tabular.C (SetMultiColumn): adjust
9130
9131         * CutAndPaste.C (cutSelection): adjust
9132         (pasteSelection): adjust
9133
9134         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9135         Buffer const * as arg
9136
9137         * ParagraphList.C (erase): new function
9138         * paragraph_funcs.C (mergeParagraph): use it
9139         (mergeParagraph): make it take a Buffer* instead of a
9140         BufferParams* as arg
9141
9142         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9143         as arg
9144         (breakParagraphConservative): ditto
9145
9146         * paragraph.h: remove the breakParagraph friend
9147
9148         * paragraph.C (eraseIntern): new function
9149         (setChange): new function
9150
9151         * paragraph_funcs.C (mergeParagraph): make it take a
9152         ParagraphList::iterator instead of a Paragraph *, adjust
9153         accordingly.
9154
9155         * paragraph.h: move an #endif so that the change tracking stuff
9156         also works in the NO_NEXT case.
9157
9158 2003-03-04  Angus Leeming  <leeming@lyx.org>
9159
9160         * commandtags.h:
9161         * LyXAction.C: new LFUN_INSET_MODIFY.
9162
9163         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9164         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9165
9166 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9167
9168         * several files: ws changes only
9169
9170         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9171         (TeXEnvironment): ditto
9172         (TeXDeeper): ditto
9173
9174         * buffer.C (makeLaTeXFile): adjust
9175         (latexParagraphs): make it take ParagraphList::iterator as args
9176
9177 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9178
9179         * buffer.C (latexParagraphs): adjust
9180
9181         * paragraph.C (TeXOnePar): move function...
9182         (optArgInset): move function...
9183         (TeXEnvironment): move function...
9184         * paragraph_pimpl.C (TeXDeeper): move function...
9185         * paragraph_funcs.C: ...here
9186
9187         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9188
9189 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9190
9191         * buffer.C (readInset): remove compability code for old Figure and
9192         InsetInfo insets
9193
9194 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9195
9196         * buffer.C: ws changes
9197         (readInset):
9198
9199         * BufferView_pimpl.C: ditto
9200         * author.C: ditto
9201         * buffer.h: ditto
9202         * bufferlist.h: ditto
9203         * changes.h: ditto
9204         * lyxfunc.C: ditto
9205
9206 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9207
9208         * converter.[Ch]: split into itself +
9209         * graph.[Ch]
9210         * format.[Ch]
9211         * Makefile.am: += graph.[Ch] + format.[Ch]
9212         * MenuBackend.C
9213         * buffer.C
9214         * exporter.C
9215         * importer.C
9216         * lyx_main.C
9217         * lyxfunc.C
9218         * lyxrc.C: added #include "format.h"
9219
9220 2003-02-27  Angus Leeming  <leeming@lyx.org>
9221
9222         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9223           a label.
9224
9225         * factory.C (createInset): add "label" to the factory.
9226
9227         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9228           string and do no more.
9229
9230 2003-02-27  Angus Leeming  <leeming@lyx.org>
9231
9232         * commandtags.h:
9233         * LyXAction.C (init):
9234         * factory.C (createInset):
9235         * BufferView_pimpl.C (dispatch):
9236           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9237
9238         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9239
9240         * lyxfunc.C (dispatch):
9241         * text3.C (dispatch): pass name to params2string.
9242
9243 2003-02-26  Angus Leeming  <leeming@lyx.org>
9244
9245         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9246           blocks together.
9247           Rearrange the ~includes. Strip out the unnecessary ones.
9248
9249         * factory.C (createInset): reformat.
9250           create new insets for the various LFUN_XYZ_APPLY lfuns.
9251
9252 2003-02-26  John Levon  <levon@movementarian.org>
9253
9254         * lyxrow.h:
9255         * lyxrow.C: add isParStart,isParEnd helpers
9256
9257         * paragraph.h: make isInserted/DeletedText take refs
9258
9259         * paragraph_funcs.h:
9260         * paragraph_funcs.C: remove #if 0'd code
9261
9262         * lyxtext.h:
9263         * text3.C:
9264         * text2.C:
9265         * text.C: use lyxrow helpers above.
9266           Move draw and paint routines to RowPainter.
9267           Make several methods use refs not pointers.
9268           Make backgroundColor() const.
9269           Add markChangeInDraw(), isInInset().
9270           Merge changeRegionCase into changeCase.
9271           Make workWidth() shouldn't-happen code into an Assert.
9272
9273         * rowpainter.h:
9274         * rowpainter.C: new class for painting a row.
9275
9276         * vspace.h:
9277         * vspace.C: make inPixels take a ref
9278
9279 2003-02-26  Angus Leeming  <leeming@lyx.org>
9280
9281         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9282         LFUN_REF_APPLY.
9283
9284 2003-02-25  John Levon  <levon@movementarian.org>
9285
9286         * ispell.C: give the forked command a more accurate name
9287
9288 2003-02-22  John Levon  <levon@movementarian.org>
9289
9290         * toc.h:
9291         * toc.C: make TocItem store an id not a Paragraph *
9292           (bug #913)
9293
9294 2003-02-21  Angus Leeming  <leeming@lyx.org>
9295
9296         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9297           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9298           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9299           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9300           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9301           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9302
9303         * BufferView_pimpl.C (dispatch):
9304         * LyXAction.C (init):
9305         * factory.C (createInset):
9306         * lyxfunc.C (getStatus, dispatch):
9307         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9308
9309 2003-02-21  Angus Leeming  <leeming@lyx.org>
9310
9311         * BufferView_pimpl.C (MenuInsertLyXFile):
9312         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9313         * lyxfunc.C (menuNew, open, doImport):
9314           no longer pass a LyXView & to fileDlg.
9315
9316 2003-02-21  Angus Leeming  <leeming@lyx.org>
9317
9318         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9319         * LyXAction.C: change, BIBKEY to BIBITEM.
9320         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9321         Change InsetBibKey to InsetBibitem.
9322         Change BIBKEY_CODE to BIBITEM_CODE.
9323         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9324         * factory.C: replace insetbib.h with insetbibitem.h.
9325         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9326         * paragraph.C: replace insetbib.h with insetbibitem.h.
9327         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9328         Change bibkey() to bibitem().
9329         * text.C: remove insetbib.h.
9330         * text2.C: replace insetbib.h with insetbibitem.h.
9331         change bibkey() to bibitem().
9332         * text3.C: remove insetbib.h.
9333         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9334
9335 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9336
9337         * lyxrc.C (output): enclose user email in quotes (in case there are
9338         several words)
9339
9340 2003-02-18  John Levon  <levon@movementarian.org>
9341
9342         * buffer.h: add std::
9343
9344 2003-02-17  John Levon  <levon@movementarian.org>
9345
9346         * SpellBase.h:
9347         * ispell.h:
9348         * ispell.C:
9349         * pspell.h:
9350         * pspell.C: reworking. Especially in ispell, a large
9351           number of clean ups and bug fixes.
9352
9353         * lyxfunc.C: fix revert to behave sensibly
9354
9355 2003-02-17 André Pönitz <poenitz@gmx.net>
9356
9357         * LyXAction.C:
9358         * commandtags.h: new LFUN_INSERT_BIBKEY
9359
9360         * layout.h:
9361         * lyxlayout.C:
9362         * buffer.C:
9363         * factory.C:
9364         * text.C:
9365         * text2.C:
9366         * text3.C:
9367         * paragraph.[Ch]:
9368         * paragraph_func.C: remove special bibkey handling
9369
9370 2003-02-17  John Levon  <levon@movementarian.org>
9371
9372         * text.C (Delete): fix case where delete at the end of
9373           the very first paragraph would not merge the pars
9374
9375 2003-02-17  John Levon  <levon@movementarian.org>
9376
9377         * lyxrow.C: fix lastPrintablePos()
9378
9379 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9380
9381         * bufferparams.C (writeLaTeX): add a std:here
9382
9383         * buffer.C: and remove a using directive there
9384
9385 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9386
9387         * buffer.C (makeLaTeXFile): move the code that generates the
9388           preamble...
9389
9390         * bufferparams.C (writeLaTeX): ... in this new method
9391
9392         * LaTeXFeatures.C (getEncodingSet): make const
9393           (getLanguages): make const
9394
9395         * MenuBackend.C (binding): returns the binding associated to this
9396           action
9397           (add): sets the status of each item by calling getStatus. Adds
9398           some intelligence.
9399           (read): add support for OptSubMenu
9400           (expand): remove extra separator at the end of expanded menu
9401
9402 2003-02-15  John Levon  <levon@movementarian.org>
9403
9404         * BufferView.C:
9405         * BufferView_pimpl.C:
9406         * bufferlist.h:
9407         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9408           inset code that had no actual effect. Remove unneeded status
9409           code.
9410
9411 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9412
9413         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9414           in preamble
9415
9416 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9417
9418         * text.C (drawLengthMarker): also draw an arrow marker for
9419           symbolic lengths (medskip...)
9420
9421 2003-02-14  John Levon  <levon@movementarian.org>
9422
9423         * tabular.h:
9424         * tabular.C: better method names
9425
9426 2003-02-14  John Levon  <levon@movementarian.org>
9427
9428         * BufferView_pimpl.C:
9429         * bufferlist.C:
9430         * buffer.C:
9431         * converter.C:
9432         * lyx_cb.C:
9433         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9434           it's a more accurate name. Remove some pointless uses.
9435
9436 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9437
9438         * text2.C (LyXText): change order of initilizers to shut off
9439           warnings
9440
9441 2003-02-14  John Levon  <levon@movementarian.org>
9442
9443         * buffer.C: use ParIterator for getParFromID()
9444
9445         * paragraph.h:
9446         * paragraph.C:
9447         * paragraph_pimpl.h:
9448         * paragraph_pimpl.C: remove unused getParFromID()
9449
9450 2003-02-14  John Levon  <levon@movementarian.org>
9451
9452         * buffer.C: remove some very old #if 0'd parse code
9453
9454 2003-02-13  John Levon  <levon@movementarian.org>
9455
9456         * text.h:
9457         * text.C:
9458         * text2.C: move hfillExpansion(), numberOfSeparators(),
9459           rowLast(), rowLastPrintable(), numberofHfills(),
9460           numberOfLabelHfills() ...
9461
9462         * lyxrow.h:
9463         * lyxrow.C: ... to member functions here.
9464
9465         * paragraph.h:
9466         * paragraph.C:
9467         * lyxtext.h:
9468         * text.C: remove LyXText::beginningOfMainBody(), and call
9469           p->beginningOfMainBody() directly. Move the check for
9470           LABEL_MANUAL into the latter.
9471
9472         * text.h:
9473         * text.C:
9474         * text2.C:
9475         * vspace.C:
9476         * BufferView.h:
9477         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9478
9479         * text.h:
9480         * text.C:
9481         * text2.C:
9482         * text3.C:
9483         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9484           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9485
9486 2003-02-13  John Levon  <levon@movementarian.org>
9487
9488         * CutAndPaste.C: remove debug
9489
9490 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9491
9492         * paragraph.C (asString): remove two unused variables
9493
9494         * lyxtextclass.C (readTitleType):
9495           (Read):
9496           (LyXTextClass): handle new members titletype_ and titlename_
9497
9498         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9499
9500 2003-02-09  John Levon  <levon@movementarian.org>
9501
9502         * buffer.h:
9503         * buffer.C: replace hand-coded list with a map for the dep clean
9504
9505 2003-02-08  John Levon  <levon@movementarian.org>
9506
9507         * LaTeX.C: consolidate code into showRunMessage() helper
9508
9509 2003-02-08  John Levon  <levon@movementarian.org>
9510
9511         * lyxfind.C:
9512         * lyxtext.h:
9513         * text2.C:
9514         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9515           and pass the size in explicitly
9516
9517         * BufferView_pimpl.h:
9518         * BufferView_pimpl.C:
9519         * BufferView.h:
9520         * BufferView.C: add getCurrentChange()
9521
9522         * BufferView_pimpl.h:
9523         * BufferView_pimpl.C: handle change lfuns
9524
9525         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9526           for changes. Mark pasted paragraphs as new.
9527
9528         * support/lyxtime.h:
9529         * support/lyxtime.C:
9530         * DepTable.C: abstract time_t as lyx::time_type
9531
9532         * LColor.h:
9533         * LColor.C: add colours for new text, deleted text, changebars
9534
9535         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9536           package use "usenames" option.
9537
9538         * commandtags.h:
9539         * lyxfunc.C:
9540         * LyXAction.C: add change lfuns
9541
9542         * Makefile.am:
9543         * author.h:
9544         * author.C: author handling
9545
9546         * buffer.h:
9547         * buffer.C: add a per-buffer author list, with first entry as
9548           current author. Handle new .lyx tokens for change tracking. Output
9549           author list to .lyx file. Output dvipost stuff to .tex preamble.
9550           Bump lyx format to 222.
9551
9552         * bufferlist.h:
9553         * bufferlist.C: add setCurrentAuthor() to reset current author details
9554           in all buffers.
9555
9556         * bufferparams.h:
9557         * bufferparams.C: add param for tracking
9558
9559         * bufferview_funcs.C: output change info in minibuffer
9560
9561         * Makefile.am:
9562         * changes.h:
9563         * changes.C: add change-tracking structure
9564
9565         * debug.h:
9566         * debug.C: add CHANGES debug flag
9567
9568         * lyxfind.h:
9569         * lyxfind.C: add code for finding the next change piece
9570
9571         * lyxrc.h:
9572         * lyxrc.C: add user_name and user_email
9573
9574         * lyxrow.h:
9575         * lyxrow.C: add a metric for the top of the text line
9576
9577         * lyxtext.h:
9578         * text.C: implement accept/rejectChange()
9579
9580         * lyxtext.h:
9581         * text.C: paint changebars. Paint new/deleted text in the chosen
9582         colours. Strike through deleted text.
9583
9584         * paragraph.h:
9585         * paragraph.C:
9586         * paragraph_pimpl.h:
9587         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9588           in the current change to the insert functions. Rework erase to
9589           mark text as deleted, adding an eraseIntern() and a range-based
9590           erase(). Implement per-paragraph change lookup and
9591           accept/reject.
9592
9593         * paragraph_funcs.C: Fixup paste for change tracking.
9594
9595         * tabular.C: mark added row/columns as new.
9596
9597         * text.C: fix rowLast() to never return -1. Don't allow
9598           spellchecking of deleted text. Track transpose changes. Don't
9599           allow paragraph break or merge where appropriate.
9600
9601         * text2.C: leave cursor at end of selection after a cut.
9602
9603 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9604
9605         * text.C (getLengthMarkerHeight):
9606         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9607         visible on screen too.
9608
9609 2003-02-07  John Levon  <levon@movementarian.org>
9610
9611         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9612
9613 2003-02-05  Angus Leeming  <leeming@lyx.org>
9614
9615         * lyxserver.C (read_ready): revert my patch of 11 September last year
9616         as it sends PC cpu through the roof. Presumably this means that
9617         the lyxserver will no longer run on an Alpha...
9618
9619 2003-01-30  Angus Leeming  <leeming@lyx.org>
9620
9621         * factory.C (createInset): create an InsetCommandParam of type "index"
9622         and use it to 'do the right thing'.
9623
9624         * text2.C (getStringToIndex): ensure that cursor position is always
9625         reset to the reset_cursor position.
9626
9627 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9628
9629         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9630         disabled.
9631
9632 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9633
9634         * bufferview.C:
9635         * lyxcb.C:
9636         * lyxfunc.C: Output messages with identical spelling, punctuation,
9637         and spaces
9638
9639 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9640
9641         * MenuBackend.C (expandFormats): List only viewable export formats
9642         in "View" menu
9643
9644         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9645         message
9646
9647         * lyxfunc.C (getStatus): Make sure that formats other than
9648         "fax" can also be disabled
9649
9650 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9651
9652         * text3.C (dispatch): put the lfuns that insert insets in 3
9653         groups, and call doInsertInset with appropriate arguments.
9654         (doInsertInset): new function, that creates an inset and inserts
9655         it according to some boolean parameters.
9656
9657 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9658
9659         * buffer.C (readFile): remember to pass on 'par' when calling
9660         readFile recursively.
9661
9662 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9663
9664         * MenuBackend.C (expandFormats): add "..." to import formats.
9665
9666 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9667
9668         * paragraph.C (asString): Remove XForms RTL hacks.
9669
9670 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9671         * buffer.C: fix typo
9672
9673 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9674
9675         * Makefile.am (LIBS): delete var
9676         (lyx_LDADD): add @LIBS@ here instead.
9677
9678 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9679
9680         * Clarify the meaning of "wheel mouse jump"
9681
9682 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9683
9684         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9685         tabular in a float
9686
9687 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9688
9689         * importer.C (Loaders): do not preallocate 3 elements in the
9690         vector, since one ends up with 6 elements otherwise
9691
9692 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9693
9694         * DepTable.C (write): write the file name as last element of the
9695         .dep file (because it may contain spaces)
9696         (read): read info in the right order
9697
9698 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9699
9700         * paragraph_pimpl.C (simpleTeXBlanks):
9701         (simpleTeXSpecialChars):
9702         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9703
9704         * tabular.C (latex): add some missing case statements. Reindent.
9705
9706         * MenuBackend.C (expandToc): remove unused variable.
9707
9708 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9709
9710         * LColor.C:
9711         * LaTeX.C:
9712         * LyXAction.C:
9713         * MenuBackend.C:
9714         * buffer.C:
9715         * exporter.C:
9716         * lyxfunc.C:
9717         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9718         and the like.
9719
9720 2003-01-05  John Levon  <levon@movementarian.org>
9721
9722         * BufferView.h:
9723         * BufferView.C: add getEncoding()
9724
9725         * kbsequence.h:
9726         * kbsequence.C: do not store last keypress
9727
9728         * lyxfunc.h:
9729         * lyxfunc.C: store last keypress here instead. Pass encoding
9730           to getISOEncoded()
9731
9732 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9733
9734         * lyx_main.C (init): remove annoying error message when following
9735         symbolic links (bug #780)
9736
9737 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9738
9739         * text.C (insertChar):
9740         * lyxrc.C (getDescription): remove extra spaces
9741
9742 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9743
9744         * lyxrc.C (getDescription): remove extra spaces
9745
9746 2002-12-20  John Levon  <levon@movementarian.org>
9747
9748         * text3.C: hack fix for page up/down across tall rows
9749
9750 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9751
9752         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9753         not been invoked
9754
9755 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9756
9757         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9758         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9759         thesaurus is not compiled in
9760
9761 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9762
9763         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9764
9765 2002-12-16  Angus Leeming  <leeming@lyx.org>
9766
9767         * lyxrc.[Ch]:
9768         * lyx_main.C (init): remove override_x_deadkeys stuff.
9769
9770 2002-12-12  John Levon  <levon@movementarian.org>
9771
9772         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9773           insert. Only remove shift modifier under strict
9774           circumstances.
9775
9776 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9777
9778         * MenuBackend.C (expandToc): fix crash.
9779
9780 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9781
9782         * MenuBackend.C (expandToc): gettext on float names.
9783
9784 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9785
9786         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9787         implement bool empty() [bug 490]
9788
9789 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9790
9791         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9792
9793 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9794
9795         * several files: ws changes
9796
9797 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9798
9799         * text2.C (setCounter): clean up a bit, use boost.format.
9800         (updateCounters): initialize par upon declaration.
9801
9802         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9803         if the layout exists. We do not just store the layout any more.
9804         (SwitchLayoutsBetweenClasses): use boost.format
9805
9806 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9807
9808         * converter.C (convert): if from and to files are the same, use a
9809         temporary files as intermediary
9810
9811 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9812
9813         * commandtags.h:
9814         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9815
9816 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9817
9818         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9819
9820 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9821
9822         * tabular.C (asciiPrintCell): use string(size, char) instead of
9823         explicit loop.
9824
9825         * sgml.C (openTag): fix order of arguments to string constructor
9826         (closeTag): ditto
9827
9828         * lyxfunc.C (dispatch): use boost.format
9829
9830         * lots of files: change "c" -> 'c'
9831
9832 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9833
9834         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9835
9836 2002-11-25  Angus Leeming  <leeming@lyx.org>
9837
9838         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9839
9840         * lyx_main.C (init): compile fix.
9841
9842 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9843
9844         * lyx_cb.C (start): boost.formatify
9845         do not include <iostream>
9846
9847         * lengthcommon.C: ws only
9848
9849         * boost-inst.C,BoostFormat.h: add more explict instantations
9850
9851 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9852
9853         * lots of files: handle USE_BOOST_FORMAT
9854
9855 2002-11-21  John Levon  <levon@movementarian.org>
9856
9857         * pspell.C: fix compile
9858
9859 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9860
9861         * lyxfunc.C (dispatch): use boost::format
9862         (open): ditto
9863         (doImport): ditto
9864
9865         * lyxfont.C (stateText): use boost::format
9866
9867         * lyx_main.C (LyX): use boost::format
9868         (init): ditto
9869         (queryUserLyXDir): ditto
9870         (readRcFile): ditto
9871         (parse_dbg): ditto
9872         (typedef boost::function): use the recommened syntax.
9873
9874         * importer.C (Import): use boost::format
9875
9876         * debug.C (showLevel): use boost::format
9877
9878         * converter.C (view): use boost::format
9879         (convert): ditto
9880         (move): ditto
9881         (scanLog): ditto
9882
9883         * bufferview_funcs.C (currentState): use boost::format
9884
9885         * bufferlist.C (emergencyWrite): use boost::format
9886
9887         * buffer.C (readLyXformat2): use boost::format
9888         (parseSingleLyXformat2Token): ditto
9889
9890         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9891
9892         * LaTeX.C (run): use boost::format
9893
9894         * Chktex.C (scanLogFile): use boost::format
9895
9896         * BufferView_pimpl.C (savePosition): use boost::format
9897         (restorePosition): ditto
9898         (MenuInsertLyXFile): ditto
9899
9900         * BoostFormat.h: help file for explicit instation.
9901
9902 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9903
9904         * tabular.C (latex): Support for block alignment in fixed width
9905         columns.
9906
9907 2002-11-17  John Levon  <levon@movementarian.org>
9908
9909         * BufferView_pimpl.C:
9910         * lyx_cb.C:
9911         * lyxfunc.C: split filedialog into open/save
9912
9913 2002-11-08  Juergen Vigna  <jug@sad.it>
9914
9915         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9916         by my last patch (hopefully).
9917
9918 2002-11-08  John Levon  <levon@movementarian.org>
9919
9920         * iterators.h:
9921         * iterators.C:
9922         * buffer.h:
9923         * buffer.C:
9924         * paragraph.h:
9925         * paragraph.C:
9926         * toc.h:
9927         * toc.C: ParConstIterator, and use it (from Lars)
9928
9929 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9930
9931         * lyxtextclass.[Ch]: revise and add doxygen comments
9932
9933 2002-11-07  John Levon  <levon@movementarian.org>
9934
9935         * text.C: fix progress value for spellchecker
9936
9937         * toc.C: fix navigate menu for insetwrap inside minipage
9938
9939         * paragraph_funcs.C: added FIXME for suspect code
9940
9941 2002-11-07  John Levon  <levon@movementarian.org>
9942
9943         * BufferView_pimpl.C: fix redrawing of insets
9944           on buffer switch
9945
9946 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9947
9948         * text2.C (updateCounters): fix bug 668
9949
9950 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9951
9952         * text3.C (dispatch): Do not make the buffer dirty when moving the
9953         cursor.
9954
9955 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9956
9957         * vc-backend.C: STRCONV
9958         (scanMaster): ditto
9959
9960         * text2.C (setCounter): STRCONV
9961
9962         * paragraph.C (asString): STRCONV
9963
9964         * lyxlength.C (asString): STRCONV
9965         (asLatexString): ditto
9966
9967         * lyxgluelength.C (asString): STRCONV
9968         (asLatexString): ditto
9969
9970         * lyxfunc.C (dispatch): STRCONV
9971         (open): ditto
9972
9973         * lyxfont.C (stateText): STRCONV
9974
9975         * importer.C (Import): STRCONV
9976
9977         * counters.C (labelItem): STRCONV
9978         (numberLabel): ditto
9979         (numberLabel): remove unused ostringstream o
9980
9981         * chset.C: STRCONV
9982         (loadFile): ditto
9983
9984         * bufferview_funcs.C (currentState): STRCONV
9985
9986         * buffer.C (readFile): STRCONV
9987         (asciiParagraph): ditto
9988         (makeLaTeXFile): ditto
9989
9990         * Spacing.C (writeEnvirBegin): STRCONV
9991
9992         * LaTeXFeatures.C (getLanguages): STRCONV
9993         (getPackages): ditto
9994         (getMacros): ditto
9995         (getBabelOptions): ditto
9996         (getTClassPreamble): ditto
9997         (getLyXSGMLEntities): ditto
9998         (getIncludedFiles): ditto
9999
10000         * LaTeX.C: STRCONV
10001         (run): ditto
10002         (scanAuxFile): ditto
10003         (deplog): ditto
10004
10005         * LString.h: add the STRCONV macros
10006
10007         * BufferView_pimpl.C (savePosition): STRCONV
10008         (restorePosition): ditto
10009         (MenuInsertLyXFile): ditto
10010
10011         * vc-backend.C (scanMaster): change from submatch[...] to
10012         submatch.str(...)
10013
10014         * funcrequest.C: include config.h
10015
10016         * factory.C: include config.h
10017
10018         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10019
10020         * box.C: include config.h
10021
10022         * LaTeX.C (scanAuxFile): change from submatch[...] to
10023         submatch.str(...)
10024         (deplog): ditto
10025
10026 2002-10-25  Angus Leeming  <leeming@lyx.org>
10027
10028         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10029
10030         * ispell.[Ch] (setError): new method.
10031         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10032         Use setError() insetead of goto END.
10033
10034         * lyx_cb.C (AutoSave): move out child process into new class
10035         AutoSaveBuffer.
10036
10037 2002-10-30  John Levon  <levon@movementarian.org>
10038
10039         * text3.C: make start appendix undoable
10040
10041 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10042
10043         * lyxlength.C (inPixels): Fix returned value.
10044
10045         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10046         environment.
10047
10048 2002-10-24  Angus Leeming  <leeming@lyx.org>
10049
10050         * lyxgluelength.h: no need to forward declare BufferParams
10051         or BufferView, so don't.
10052
10053 2002-10-21  John Levon  <levon@movementarian.org>
10054
10055         * BufferView.C: menuUndo ->undo, redo
10056
10057         * BufferView.h: document, remove dead, make some methods private
10058
10059         * paragraph_funcs.h:
10060         * paragraph_funcs.C:
10061         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10062
10063         * buffer.h:
10064         * buffer.C:
10065         * sgml.h:
10066         * sgml.C: move sgml open/close tag into sgml.C
10067
10068         * bufferview_funcs.h: unused prototype
10069
10070         * lyxfunc.h:
10071         * lyxfunc.C: remove unused
10072
10073         * lyxtext.h:
10074         * text.C: remove unused
10075
10076 2002-10-21  John Levon  <levon@movementarian.org>
10077
10078         * BufferView.h:
10079         * BufferView.C:
10080         * BufferView_pimpl.h:
10081         * BufferView_pimpl.C: fix mouse wheel handling based on
10082           patch from Darren Freeman
10083
10084 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10085
10086         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10087
10088 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10089
10090         * lyxlength.C (inPixels): Fix hanfling of negative length.
10091         Fix LyXLength::MU case.
10092
10093 2002-10-16  John Levon  <levon@movementarian.org>
10094
10095         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10096
10097 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10098
10099         * converter.C (view): add support for $$i (file name) and $$p
10100         (file path) for the viewer command. If $$i is not specified, then
10101         it is appended to the command (for compatibility with old syntax)
10102
10103 2002-10-14  Juergen Vigna  <jug@sad.it>
10104
10105         * undo_funcs.C (textHandleUndo): alter the order in which the
10106         new undopar is added to the LyXText, as we have to set first
10107         the right prev/next and then add it as otherwise the rebuild of
10108         LyXText is not correct. Also reset the cursor to the right paragraph,
10109         with this IMO we could remove the hack in "redoParagraphs()".
10110
10111 2002-10-09  Angus Leeming  <leeming@lyx.org>
10112
10113         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10114         to turn off an optimisation if a new inset is to be inserted.
10115
10116 2002-10-11 André Pönitz <poenitz@gmx.net>
10117
10118         * lyxtext.h: make some functions public to allow access
10119         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10120
10121 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10122
10123         * text3.C (dispatch): when changing layout, avoid an infinite loop
10124         [bug #652]
10125
10126 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10127
10128         * lyxrc.C (read): treat a viewer or converter command of "none" as
10129         if it were empty.
10130
10131         * MenuBackend.C (expandFormats): for an update, also allow the
10132         formats that are not viewable
10133
10134         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10135         script if it is newer than the lyxrc.defaults in user directory
10136
10137 2002-10-07 André Pönitz <poenitz@gmx.net>
10138
10139         * text.C: Vitaly Lipatov's small i18n fix
10140
10141 2002-09-25  Angus Leeming  <leeming@lyx.org>
10142
10143         * ispell.h: doxygen fix.
10144
10145 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10146
10147         * buffer.h (readFile): Add a new argument to the method, to allow
10148         reading of old-format templates.
10149
10150 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10151
10152         * toc.C (getTocList): Get TOC from InsetWrap.
10153
10154 2002-09-16  John Levon  <levon@movementarian.org>
10155
10156         * lyxfunc.C: check tabular for cut/copy too
10157
10158 2002-09-12  John Levon  <levon@movementarian.org>
10159
10160         * LyXAction.C: tidy
10161
10162         * factory.h:
10163         * factory.C: add header
10164
10165         * paragraph_funcs.h:
10166         * paragraph_funcs.C: cleanup
10167
10168 2002-09-11  John Levon  <levon@movementarian.org>
10169
10170         * PrinterParams.h: odd/even default to true
10171
10172 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10173
10174         * PrinterParams.h: update printer parameters for new xforms dialog
10175
10176 2002-09-11  Angus Leeming  <leeming@lyx.org>
10177
10178         * lyxserver.C (read_ready): re-write to make it more transparent
10179         and to make it work in coherent fashion under Tru64 Unix.
10180
10181 2002-09-11  André Pönitz <poenitz@gmx.net>
10182
10183         * commandtags.h:
10184         * LyXAction.C:
10185         * text3.C: implement LFUN_WORDSEL
10186
10187 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10188
10189         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10190         make floatlist_ a boost::shared_ptr<FloatList>
10191
10192         * lyxtextclass.C: include FloatList.h
10193         (LyXTextClass): initialize floatlist_
10194         (TextClassTags): add TC_NOFLOAT
10195         (Read): match "nofloat" to TC_NOFLOAT and use it.
10196         (readFloat): modify call to floatlist_
10197         (floats): ditto
10198         (floats): ditto
10199
10200         * FloatList.[Ch] (FloatList): remove commented out float
10201         initialization.
10202         (erase): new function
10203
10204 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10205
10206         * MenuBackend.C (expandToc): fix crash when there is no document
10207         open
10208
10209 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10210
10211         * many files: Add insetwrap.
10212
10213 2002-09-09  John Levon  <levon@movementarian.org>
10214
10215         * text2.C: remove confusing and awkward depth wraparound
10216
10217 2002-09-09  John Levon  <levon@movementarian.org>
10218
10219         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10220
10221         * buffer.h:
10222         * buffer.C: remove getIncludeonlyList()
10223
10224         * paragraph.C:
10225         * lyxfunc.C: remove headers
10226
10227 2002-09-09  Juergen Vigna  <jug@sad.it>
10228
10229         * text.C (getColumnNearX): fix form Michael this is most
10230         probably a cut&paste bug.
10231
10232 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10233
10234         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10235
10236         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10237         references, ws changes.
10238
10239         * text2.C (init): update counters after init
10240         (insertParagraph): no need to set counter on idividual paragraphs.
10241         (setCounter): access the counters object in the textclass object
10242         on in the buffer object.
10243         (updateCounters): ditto
10244
10245         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10246         shared_ptr<Counters> to avoid loading counters.h in all
10247         compilation units.
10248         (LyXTextClass): initialize ctrs_
10249         (TextClassTags): add TC_COUNTER, and ...
10250         (Read): use it here.
10251         (CounterTags): new tags
10252         (readCounter): new function
10253         (counters): new funtion
10254         (defaultLayoutName): return a const reference
10255
10256         * counters.C (Counters): remove contructor
10257         (newCounter): remove a couple of unneeded statements.
10258         (newCounter): simplify a bit.
10259         (numberLabel): some small formatting changes.
10260
10261         * buffer.[Ch]: remove all traces of counters, move the Counters
10262         object to the LyXTextClass.
10263
10264 2002-09-06  Alain Castera  <castera@in2p3.fr>
10265
10266         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10267         package to set the horizontal alignment on fixed width columns.
10268
10269         * lyx_sty.C:
10270         * lyx_sty.h: added tabularnewline macro def.
10271
10272         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10273
10274 2002-09-06  John Levon  <levon@movementarian.org>
10275
10276         * LyXAction.C: tooltips for sub/superscript
10277
10278         * MenuBackend.C: a bit more verbose
10279
10280         * lyxfunc.C: tiny clean
10281
10282         * undo_funcs.C: document undo_frozen
10283
10284 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10285
10286         * counters.C (Counters): add missing algorithm counter.
10287
10288         * text2.C (setCounter): lookup the counter with layouts latexname
10289         instead of by section number.
10290         (setCounter): use a hackish way to lookup the correct enum
10291         counter.
10292         a float name->type change
10293         reset enum couners with counter name directly instead of depth value.
10294
10295         * counters.C (Counters): remove the push_backs, change to use the
10296         float type not the float name.
10297         (labelItem): remove unused string, float name->type change
10298
10299         * counters.h: don't include vector, loose the enums and sects vectors
10300
10301 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10302
10303         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10304         (Read): add float->TC_FLOAT to textclassTags
10305         (Read): and handle it in the switch
10306         (readFloat): new function
10307
10308         * FloatList.C (FloatList): comment out the hardcoded float
10309         definitions.
10310
10311         * lyxlayout.h: ws change.
10312
10313 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10314
10315         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10316
10317 2002-09-03  Angus Leeming  <leeming@lyx.org>
10318
10319         * BufferView_pimpl.h: qualified name is not allowed in member
10320         declaration: WorkArea & Pimpl::workarea() const;
10321
10322         * factory.C: added using std::endl directive.
10323
10324         * text3.C: added using std::find and std::vector directives.
10325
10326 2002-08-29  André Pönitz <poenitz@gmx.net>
10327
10328         * lyxtext.h:
10329         * text2.C: remove unused member number_of_rows
10330
10331         * Makefile.am:
10332         * BufferView2.C: remove file, move contents to...
10333         * BufferView.C: ... here
10334
10335         * BufferView_pimpl.C:
10336         * factory.C: move more inset creation to factory
10337
10338         * vspace.C: avoid direct usage of LyXText, ws changes
10339
10340         * BufferView.[Ch]:
10341                 don't provide direct access to WorkArea, use two simple
10342                 acessors haveSelction() and workHeight() instead
10343
10344
10345 2002-08-29  John Levon  <levon@movementarian.org>
10346
10347         * BufferView_pimpl.C (dispatch): do not continue when
10348           no buffer
10349
10350 2002-08-28  André Pönitz <poenitz@gmx.net>
10351
10352         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10353
10354         * BufferView.h:
10355         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10356
10357 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10358
10359         * buffer.C: increment LYX_FORMAT to 221
10360
10361         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10362         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10363
10364         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10365
10366         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10367
10368 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10369
10370         * factory.C (createInset): use LyXTextClass::floats
10371
10372         * MenuBackend.C (expandFloatListInsert):
10373         (expandFloatInsert):
10374         (expandToc):
10375
10376         * text2.C (setCounter):
10377
10378         * LaTeXFeatures.C (useFloat):
10379         (getFloatDefinitions):
10380
10381         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10382
10383         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10384         floatlist_, with accessor floats().
10385
10386         * FloatList.h: remove global FloatList
10387
10388 2002-08-26  André Pönitz <poenitz@gmx.net>
10389
10390         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10391
10392         * BufferView.h:
10393         * BufferView2.C:
10394         * BufferView_pimpl.C:
10395         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10396
10397 2002-08-25  John Levon  <levon@movementarian.org>
10398
10399         * LyXAction.C: fix margin note description
10400
10401 2002-08-24  John Levon  <levon@movementarian.org>
10402
10403         * buffer.C:
10404         * bufferlist.C:
10405         * bufferview_funcs.C:
10406         * lyxfont.C:
10407         * undo_funcs.C: cleanups
10408
10409         * lyxfunc.C: disable CUT/COPY when no selection
10410
10411 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10412
10413         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10414         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10415
10416         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10417         Add backward compatibility to "mono", "gray" and "no".
10418
10419 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10420
10421         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10422         (and file_format >= 200).
10423
10424 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10425
10426         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10427
10428 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10429
10430         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10431
10432 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10433
10434         * BufferView_pimpl.C:
10435         * LyXAction.C:
10436         * buffer.C:
10437         * commandtags.h:
10438         * lyxfunc.C:
10439         * paragraph.[Ch]:
10440         * text2.C:
10441         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10442         inset and code to make it  work with the paragraph code. The inset
10443         can be anywhere in the paragraph, but will only do the expected
10444         thing in LaTeX if the layout file contains the parameter line
10445                         OptionalArgs    1
10446         (or more generally, a nonzero value) for that layout.
10447
10448 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10449
10450         * paragraph.h: remove the declaration of undefined counters class
10451         function.
10452
10453 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10454
10455         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10456         Dr. Richard Hawkins.
10457
10458 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10459
10460         * paragraph_funcs.h: remove some unneeded includes
10461
10462         * text.C (backspace): pasteParagraph now in global scipe
10463
10464         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10465         (pasteSelection): ditto
10466
10467         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10468         * paragraph_funcs.C (pasteParagraph): ... here
10469
10470 2002-08-20  André Pönitz <poenitz@gmx.net>
10471
10472         * commandtags.h: new LFUNs for swapping/copying table row/colums
10473
10474         * LyXAction.C:
10475         * lyxfunc.C: support for new lfuns
10476
10477 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10478
10479         * tabular.C:
10480         * buffer.[Ch]: remove NO_COMPABILITY stuff
10481
10482 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10483
10484         * boost.C (throw_exception): new file, with helper function for
10485         boost compiled without exceptions.
10486
10487         * paragraph.h:
10488         * lyxlength.C:
10489         * buffer.C:
10490         * ParameterStruct.h:
10491         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10492
10493         * bufferlist.C (emergencyWriteAll): use boost bind
10494
10495         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10496
10497         * text.C: include paragraph_funcs.h
10498         (breakParagraph): breakParagraph is now in global scope
10499
10500         * paragraph_funcs.[Ch]: new files
10501
10502         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10503         global scope
10504
10505         * buffer.C: include paragraph_funcs.h
10506         (insertStringAsLines): breakParagraph is now in global scope
10507
10508         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10509         paragraph_funcs.C
10510
10511         * CutAndPaste.C: include paragraph_funcs.h
10512         (cutSelection): breakParagraphConservative is now in global scope
10513         (pasteSelection): ditto
10514
10515         * buffer.h: declare oprator== and operator!= for
10516         Buffer::inset_iterator
10517
10518         * bufferlist.C (emergencyWrite): don't use fmt(...)
10519
10520         * text3.C: add using std::endl
10521
10522         * BufferView.C (moveCursorUpdate): remove default arg
10523
10524 2002-08-20  André Pönitz <poenitz@gmx.net>
10525
10526         * buffer.[Ch]: move inline functions to .C
10527
10528         * BufferView2.C:
10529         * BufferView_pimpl.C:
10530         * text.C:
10531         * buffer.[Ch]: use improved inset_iterator
10532
10533         * buffer.C:
10534         * paragraph.[Ch]: write one paragraph at a time
10535
10536 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10537
10538         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10539         style if style is not specified.
10540
10541 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10542
10543         * text2.C (setCounter): when searching for right label for a
10544         caption, make sure to recurse to parent insets (so that a caption
10545         in a minipage in a figure float works) (bug #568)
10546
10547 2002-08-20  André Pönitz <poenitz@gmx.net>
10548
10549         * text3.C: new file for LyXText::dispatch() and helpers
10550
10551         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10552
10553         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10554
10555 2002-08-19  André Pönitz <poenitz@gmx.net>
10556
10557         * lyxtext.h:
10558         * text.C: new LyXText::dispatch()
10559
10560         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10561
10562 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10563
10564         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10565
10566         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10567         Hebrew text.
10568
10569 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10570
10571         * Makefile.am: use $(variables) instead of @substitutions@
10572
10573 2002-08-15  André Pönitz <poenitz@gmx.net>
10574
10575         * lyxfunc.C:
10576         * BufferView_pimpl.C: streamlining mathed <-> outer world
10577         interaction
10578
10579         * commandtags.h:
10580         * LyXAction.C: remove unused LFUN_MATH
10581
10582 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10583
10584         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10585
10586 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10587
10588         * paragraph.C (Paragraph): reformat a bit
10589         (cutIntoMinibuffer): use builtin InsetList function instad of
10590         doing it manually.
10591         (getInset): ditto
10592
10593         * buffer.C: include boost/bind.hpp, add using std::for_each
10594         (writeFileAscii): use ParagraphList iterators
10595         (validate): use for_each for validate traversal of paragraphs
10596         (getBibkeyList): use ParagraphList iterators
10597         (resizeInsets): use for_each to resizeInsetsLyXText for all
10598         paragraphs.
10599         (getParFromID): use ParagraphList iterators
10600
10601         * BufferView2.C (lockInset): use paragraph list and iterators
10602
10603 2002-08-14  John Levon  <levon@movementarian.org>
10604
10605         * lyxserver.C: remove spurious xforms include
10606
10607 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10608
10609         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10610
10611 2002-08-13  André Pönitz <poenitz@gmx.net>
10612
10613         * LyXAction.[Ch]:
10614         * lyxfunc.C: further cleaning
10615
10616 2002-08-13  André Pönitz <poenitz@gmx.net>
10617
10618         * funcrequest.h: new constructor
10619
10620         * funcrequest.C: move stuff here from .h
10621
10622         * Makefile.am:
10623         * BufferView_pimpl.C:
10624         * LyXAction.C:
10625         * toc.C:
10626         * lyxfunc.C: subsequent changes
10627
10628         * lyxfunc.h: new view() member function
10629
10630         * lyxfunc.C: subsequent changes
10631
10632 2002-08-13  Angus Leeming  <leeming@lyx.org>
10633
10634         * BufferView2.C:
10635         * BufferView_pimpl.C:
10636         * buffer.C:
10637         * converter.C:
10638         * importer.C:
10639         * lyxfunc.C:
10640         * lyxvc.C:
10641         * toc.C:
10642         * vc-backend.C:
10643         changes due to the changed LyXView interface that now returns references
10644         to member variables not pointers.
10645
10646 2002-08-13  Angus Leeming  <leeming@lyx.org>
10647
10648         * WordLangTuple (word, lang_code): return references to strings,
10649         not strings.
10650
10651         * BufferView.h:
10652         * SpellBase.h:
10653         * lyxtext.h: forward-declare WordLangTuple.
10654
10655         * BufferView2.C:
10656         * ispell.C:
10657         * pspell.C:
10658         * text.C: #include "WordLangTuple.h".
10659
10660         * lyxtext.h:
10661         * text.C: (selectNextWordToSpellcheck): constify return type.
10662
10663 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10664
10665         * buffer.C:
10666         * buffer.h:
10667         * lyxtext.h:
10668         * paragraph.C:
10669         * paragraph_pimpl.h:
10670         * text.C:
10671         * text2.C:
10672         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10673         suggested by Angus.
10674         Made updateCounter always count from start of buffer, and removed
10675         second argument (par).
10676         Reverted floats number display to '#'. Perhaps I'll try again when the
10677         code base is sanitized a bit.
10678
10679 2002-08-12  Angus Leeming  <leeming@lyx.org>
10680
10681         * buffer.[Ch] (getLabelList): constify.
10682
10683 2002-08-07  André Pönitz <poenitz@gmx.net>
10684
10685         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10686
10687         * funcrequest.h: extension to keep mouse (x,y) position
10688
10689 2002-08-12  Juergen Vigna  <jug@sad.it>
10690
10691         * BufferView2.C (insertErrors): forbid undo when inserting error
10692         insets.
10693
10694         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10695
10696 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10697
10698         * ParagraphList.[Ch]: new files
10699
10700         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10701
10702         * BufferView2.C (lockInset): ParagraphList changes
10703         * toc.C: ditto
10704         * text2.C: ditto
10705         * bufferlist.C: ditto
10706         * buffer.h: ditto
10707         * buffer.C: ditto
10708
10709 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10710
10711         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10712         unused class variable counter_,
10713
10714         * paragraph.[Ch] (getFirstCounter): delete unused function
10715
10716         * counters.C: include LAssert.h
10717         (reset): add a new function with no arg, change other version to
10718         not have def. arg and to not allow empty arg.
10719
10720         * text2.C (setCounter): remove empty arg from call to Counters::reset
10721
10722 2002-08-11  John Levon  <levon@movementarian.org>
10723
10724         * Makefile.am: add WordLangTuple.h
10725
10726 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10727
10728         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10729         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10730
10731         * insets/insettext.C: InsetList changes
10732
10733         * graphics/GraphicsSupport.C (operator()): InsetList changes
10734
10735         * toc.C (getTocList): InsetList changes
10736
10737         * paragraph_pimpl.[Ch]: InsetList changes
10738
10739         * paragraph.[Ch]: InsetList changes
10740
10741         * buffer.C (inset_iterator): InsetList changes
10742         (setParagraph): ditto
10743         * buffer.h (inset_iterator): ditto
10744         * iterators.C (operator++): ditto
10745         * iterators.h: ditto
10746
10747         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10748
10749         * InsetList.[Ch]: new files, most InsetList handling moved out of
10750         paragraph.C.
10751
10752         * BufferView2.C (removeAutoInsets): InsetList changes
10753         (lockInset): ditto
10754         (ChangeInsets): ditto
10755
10756 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10757
10758         * paragraph_pimpl.h (empty): new function
10759
10760         * paragraph.[Ch] (empty): new function
10761
10762         * other files: use the new Paragraph::empty function
10763
10764 2002-08-09  John Levon  <levon@movementarian.org>
10765
10766         * lyxtext.h: remove unused refresh_height
10767
10768 2002-08-09  John Levon  <levon@movementarian.org>
10769
10770         * Makefile.am:
10771         * sgml.h:
10772         * sgml.C:
10773         * buffer.C:
10774         * paragraph.h:
10775         * paragraph.C: move sgml char escaping out of paragraph
10776
10777         * paragraph.h:
10778         * paragraph.C: remove id setter
10779
10780         * buffer.C:
10781         * paragraph.C:
10782         * paragraph_pimpl.C: remove dead tex_code_break_column
10783
10784         * bufferview_funcs.C: small cleanup
10785
10786         * lyxfunc.C: remove dead proto
10787
10788         * lyxtext.h: make some stuff private. Remove some dead stuff.
10789
10790         * lyxgluelength.C: make as[LyX]String() readable
10791
10792 2002-08-08  John Levon  <levon@movementarian.org>
10793
10794         * LyXAction.h:
10795         * LyXAction.C:
10796         * MenuBackend.C:
10797         * ToolbarDefaults.C:
10798         * lyxfunc.C:
10799         * lyxrc.C:
10800         * toc.C: lyxaction cleanup
10801
10802 2002-08-08  John Levon  <levon@movementarian.org>
10803
10804         * BufferView2.C: small cleanup
10805
10806         * lyxfind.h:
10807         * lyxfind.C: move unnecessary header into the .C
10808
10809 2002-08-08  John Levon  <levon@movementarian.org>
10810
10811         * funcrequest.h: just tedious nonsense
10812
10813         * lyx_main.h:
10814         * lyx_main.C: cleanups
10815
10816         * buffer.C:
10817         * vspace.C: remove dead header lyx_main.h
10818
10819 2002-08-07  Angus Leeming  <leeming@lyx.org>
10820
10821         * Paragraph.[Ch]:
10822         * paragraph_pimpl.h:
10823         Forward declare class Counters in paragraph.h by moving the ctrs member
10824         variable into Paragraph::Pimpl.
10825         (counters): new method, returning a reference to pimpl_->ctrs.
10826
10827         * text2.C: ensuing changes.
10828
10829 2002-08-07  John Levon  <levon@movementarian.org>
10830
10831         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10832
10833         * BufferView_pimpl.C: announce X selection on double/triple
10834           click
10835
10836         * lyx_main.C: use correct bool in batch dispatch
10837
10838         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10839
10840 2002-08-07  André Pönitz <poenitz@gmx.net>
10841
10842         * funcrequest.h: new class to wrap a kb_action and its argument
10843
10844         * BufferView.[Ch]:
10845         * BufferView_pimpl[Ch]:
10846         * LaTeX.C:
10847         * LyXAction.[Ch]:
10848         * lyxfunc.[Ch]:
10849         * lyxrc.C: subsequent changes
10850
10851
10852 2002-08-07  John Levon  <levon@movementarian.org>
10853
10854         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10855           document options change.
10856
10857 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10858
10859         * counters.[Ch]
10860         * text2.C
10861         * paragraph.[Ch]
10862         * makefile.am: move counters functionality over from
10863         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10864
10865 2002-08-06  John Levon  <levon@movementarian.org>
10866
10867         * WordLangTuple.h: new file for word + language code tuple
10868
10869         * SpellBase.h:
10870         * pspell.h:
10871         * pspell.C:
10872         * ispell.h:
10873         * ispell.C:
10874         * lyxtext.h:
10875         * text.C:
10876         * text2.C:
10877         * BufferView.h:
10878         * BufferView2.C: use WordLangTuple
10879
10880         * layout.h:
10881         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10882
10883 2002-08-06  John Levon  <levon@movementarian.org>
10884
10885         * lyx_main.C: fix cmdline batch handling
10886
10887 2002-08-06  André Pönitz <poenitz@gmx.net>
10888
10889         * lyxrc.C: set default for show_banner to true
10890
10891 2002-08-06  John Levon  <levon@movementarian.org>
10892
10893         * pspell.C: fix a crash, and allow new aspell to work
10894
10895 2002-08-06  John Levon  <levon@movementarian.org>
10896
10897         * lyxfunc.C:
10898         * kbmap.C: small cleanup
10899
10900         * vspace.h:
10901         * vspace.C: add const
10902
10903 2002-08-05  John Levon  <levon@movementarian.org>
10904
10905         * LyXAction.C: back to tabular-insert
10906
10907 2002-08-04  John Levon  <levon@movementarian.org>
10908
10909         * BufferView.h:
10910         * BufferView.C: cosmetic change
10911
10912         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10913
10914         * bufferlist.C:
10915         * buffer.h:
10916         * buffer.C:
10917         * lyxcb.h:
10918         * lyxcb.C:
10919         * lyxserver.C:
10920         * lyxvc.C:
10921         * vc-backend.C:
10922         * BufferView2.C: purge all "Lyx" not "LyX" strings
10923
10924         * lyxcursor.h:
10925         * lyxcursor.C: attempt to add some documentation
10926
10927         * lyxfunc.C:
10928         * commandtags.h:
10929         * LyXAction.C:
10930         * ToolbarDefaults.C:
10931         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10932           merge with LFUN_TABULAR_INSERT
10933
10934         * Makefile.am:
10935         * SpellBase.h:
10936         * ispell.h:
10937         * ispell.C:
10938         * pspell.h:
10939         * pspell.C: split up i/pspell implementations into separate
10940           files, many cleanups
10941
10942         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10943
10944         * text2.C: some cleanup
10945
10946         * lyxfunc.C: don't check for isp_command == "none" any more, it
10947           didn't make any sense
10948
10949 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10950
10951         * counters.[Ch]
10952         * text2.C
10953         * paragraph.[Ch]
10954         * makefile.am: move counters functionality over
10955         from text2.C/paragraph.[Ch] to counters.[Ch], and
10956         make proper C++.
10957 2002-08-02  John Levon  <levon@movementarian.org>
10958
10959         * buffer.C: s/lyxconvert/lyx2lyx/
10960
10961 2002-08-02  Angus Leeming  <leeming@lyx.org>
10962
10963         * lyxlex.C: revert John's change as it breaks reading of the user
10964         preamble.
10965
10966 2002-08-02  Angus Leeming  <leeming@lyx.org>
10967
10968         * importer.C (Import):
10969         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10970         changes due to LyXView::view() now returning a boost::shared_ptr.
10971
10972 2002-08-02  John Levon  <levon@movementarian.org>
10973
10974         * lyxlex.C: small cleanup
10975
10976 2002-08-02  John Levon  <levon@movementarian.org>
10977
10978         * text2.C (status): small cleanup, no logic change
10979
10980 2002-08-01  John Levon  <levon@movementarian.org>
10981
10982         * buffer.h:
10983         * buffer.C (writeFile): don't output alerts, caller
10984           handles this
10985
10986         * bufferlist.C:
10987         * lyx_cb.C: from above
10988
10989         * lyxfunc.C: allow to open non-existent files
10990
10991 2002-07-31  John Levon  <levon@movementarian.org>
10992
10993         * lyxserver.C: don't let incidental errors get
10994           in the way (errno)
10995
10996 2002-07-30  John Levon  <levon@movementarian.org>
10997
10998         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10999
11000 2002-07-30  John Levon  <levon@movementarian.org>
11001
11002         * lyxserver.h:
11003         * lyxserver.C: remove I/O callback too
11004
11005 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11006
11007         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11008         log.
11009
11010 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11011
11012         * many files: strip,frontStrip -> trim,ltrim,rtrim
11013
11014 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11015
11016         * PrinterParams.h: remove extern containsOnly, and include
11017         support/lstrings.h instead.
11018
11019         * LaTeX.C (scanAuxFile): modify because of strip changes
11020         (deplog): ditto
11021         * buffer.C (makeLaTeXFile): ditto
11022         * bufferparams.C (writeFile): ditt
11023         * lyxfont.C (stateText): ditto
11024         * lyxserver.C (read_ready): ditto
11025         * vc-backend.C (scanMaster): ditto
11026
11027         * BufferView_pimpl.h: ws changes
11028
11029         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11030
11031 2002-07-26  André Pönitz <poenitz@gmx.net>
11032
11033         * kb_sequence.C: remove unnedred usings
11034
11035 2002-07-26  Juergen Vigna  <jug@sad.it>
11036
11037         * lyxfind.C (LyXReplace): we have to check better if the returned
11038         text is not of theLockingInset()->getLockingInset().
11039
11040 2002-07-25  Juergen Vigna  <jug@sad.it>
11041
11042         * lyxfind.C (LyXReplace): don't replace if we don't get the
11043         right LyXText.
11044
11045         * undo_funcs.C (createUndo): remove debugging code.
11046
11047 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11048
11049         * buffer.C (parseSingleLyXformat2Token): Use default placement
11050         when reading old floats.
11051
11052         * FloatList.C (FloatList): Change the default placement of figure
11053         and tables to "tbp".
11054
11055 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11056
11057         * MenuBackend.C: using std::max
11058
11059 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11060
11061         * MenuBackend.C (expandToc):
11062         (expandToc2): code moved from xforms menu frontend. It is now
11063         generic and TOCs are transparent to menu frontends.
11064
11065 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11066
11067         * toc.C (getTocList): protect against buf=0
11068
11069         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11070         Menu as first parameter. Now, this calls itself recursively to
11071         expand a whole tree (this will be useful for TOC handling)
11072         (expandFloatInsert): remove 'wide' version of floats
11073
11074         * MenuBackend.h (submenuname): returns the name of the submenu.
11075         (submenu): returns the submenu itself, provided it has been
11076         created by MenuBackend::expand
11077
11078 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11079
11080         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11081         insets which have noFontChange == true. (bug #172)
11082
11083 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11084
11085         * BufferView_pimpl.C: add connection objects and use them...
11086         (Pimpl): here.
11087
11088 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11089
11090         * MenuBackend.C (expandLastfiles):
11091         (expandDocuments):
11092         (expandFormats):
11093         (expandFloatListInsert):
11094         (expandFloatInsert):
11095         (expand): split expand in parts
11096
11097 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11098
11099         * lyx_gui.C: use lyx_gui::exit()
11100
11101 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11102
11103         * LyXAction.C: show the failing pseudo action
11104
11105 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11106
11107         * buffer.C (readFile): Run the lyxconvert script in order to read
11108         old files.
11109
11110 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11111
11112         * LyXAction.C:
11113         * commandtags.h:
11114         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11115
11116 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11117
11118         * LyXAction.C:
11119         * commandtags.h:
11120         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11121
11122 2002-07-22  Herbert Voss  <voss@lyx.org>
11123
11124         * lengthcommon.C:
11125         * lyxlength.[Ch]: add support for the vertical lengths
11126
11127 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11128
11129         * toc.[Ch]: std:: fixes
11130
11131 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11132
11133         * lyxrc.C: do not include lyx_main.h
11134
11135         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11136         for layouts
11137
11138         * lyxrc.C:
11139         * encoding.C:
11140         * bufferlist.C:
11141         * BufferView2.C: include "lyxlex.h"
11142
11143         * tabular.h:
11144         * bufferparams.h: do not #include "lyxlex.h"
11145
11146         * lyxtextclasslist.C (Add): remove method
11147         (classlist): renamed to classlist_
11148
11149         * paragraph_pimpl.C:
11150         * paragraph.C:
11151         * text2.C:
11152         * CutAndPaste.C:
11153         * bufferview_funcs.C:
11154         * bufferlist.C:
11155         * text.C:
11156         * LaTeXFeatures.C:
11157         * buffer.C:
11158         * toc.C (getTocList): use BufferParams::getLyXTextClass
11159
11160         * toc.C (getTocList): use InsetFloat::addToToc
11161
11162         * toc.[Ch]: new files, containing helper functions to handle table
11163         of contents
11164
11165         * lyxfunc.C (dispatch): no need to remove spaces around command
11166         given as a string
11167         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11168         first command of the sequence; it is not very clever, but I do not
11169         have a better idea, actually
11170
11171         * LyXAction.C (LookupFunc): make sure to remove space at the
11172         beginning and end of the command
11173
11174 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11175
11176         * MenuBackend.C (getMenubar): new method: return the menubar of
11177         this menu set
11178         (read): treat differently reading of menu and menubar (in
11179         particular, the menubar has no name now)
11180         (Menu::menubar): remove
11181
11182         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11183         saving is finished
11184
11185 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11186
11187         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11188         a bibitem inset in a RTL paragraph.
11189
11190 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11191
11192         * paragraph_pimpl.C: constify
11193
11194         * BufferView_pimpl.C:
11195         * LaTeX.C:
11196         * lyxfunc.C: fix dispatch in a nicer way
11197
11198 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11199
11200         * lyxfunc.C (dispatch):
11201         * BufferView_pimpl.C:
11202         * BufferView_pimpl.h:
11203         * BufferView.C:
11204         * BufferView.h: rename Dispatch() to dispatch()
11205
11206         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11207
11208         * lyxlayout.C (Read): honor DependsOn tag
11209
11210         * lyxlayout.[Ch] (depends_on): new method
11211
11212         * version.C.in: update lyx_docversion
11213
11214         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11215
11216         * paragraph.C (validate): remove from here...
11217         * paragraph_pimpl.C (validate): ... and move here
11218         (isTextAt): make it const
11219
11220         * buffer.C (getLists): ws cleanup
11221
11222 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11223
11224         * language.C (read): Use iso8859-1 encoding in latex_lang
11225         (this prevents LyX from crashing when using iso10646-1 encoding).
11226
11227 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11228
11229         * text2.C (toggleInset): if cursor is inside an inset, close the
11230         inset and leave cursor _after_ it
11231
11232 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11233
11234         * lyxfunc.C: move minibuffer completion handling out of here
11235
11236 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11237
11238         * BufferView_pimpl.C:
11239         * LaTeX.C: fix dispatch calls
11240
11241 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11242
11243         * text.C (drawChars): Fix Arabic text rendering.
11244
11245 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11246
11247         * LyXAction.C:
11248         * commandtags.h:
11249         * lyxfunc.C: remove message-push/pop
11250
11251         * lyxserver.C:
11252         * lyxfunc.h:
11253         * lyxfunc.C: rationalise some code by removing verboseDispatch
11254           in favour of a bool argument to dispatch()
11255
11256 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11257
11258         * lyx_main.C (init): make sure to read symlinks as absolute paths
11259
11260 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11261
11262         * lyxfunc.h:
11263         * lyxfunc.C: no need for commandshortcut to be a member
11264
11265 2002-07-15  André Pönitz <poenitz@gmx.net>
11266
11267         * converter.C: add support for $$s (scripts from lib/scripts dir)
11268         * lyx_main.C: white space
11269
11270 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11271
11272         * bufferlist.C:
11273         * lyxrc.h:
11274         * lyxrc.C: remove second exit confirmation
11275
11276 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11277
11278         * BufferView.h:
11279         * BufferView.C:
11280         * BufferView2.C:
11281         * BufferView_pimpl.h:
11282         * BufferView_pimpl.C:
11283         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11284
11285 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11286
11287         * MenuBackend.C (expand): add numeric shortcuts to document menu
11288
11289         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11290
11291 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11292
11293         * lyxfont.C (setLyXFamily):
11294         (setLyXSeries):
11295         (setLyXShape):
11296         (setLyXSize):
11297         (setLyXMisc):
11298         (lyxRead):
11299         * debug.C (value):
11300         * buffer.C (asciiParagraph): use ascii_lowercase
11301
11302 2002-07-15  Mike Fabian  <mfabian@suse.de>
11303
11304         * lyxlex_pimpl.C (search_kw):
11305         * lyxlex.C (getLongString):
11306         * converter.h (operator<):
11307         * converter.C (operator<):
11308         * buffer.C (parseSingleLyXformat2Token):
11309         (asciiParagraph):
11310         * ToolbarDefaults.C (read):
11311         * MenuBackend.C (checkShortcuts):
11312         (read):
11313         * LColor.C (getFromGUIName):
11314         (getFromLyXName): use the compare_ascii_no_case instead of
11315         compare_no_case, because in turkish, 'i' is not the lowercase
11316         version of 'I', and thus turkish locale breaks parsing of tags.
11317
11318 2002-07-16  Angus Leeming  <leeming@lyx.org>
11319
11320         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11321         now takes a Buffer const & argument.
11322
11323 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11324
11325         * BufferView.C (resize): check there's a buffer to resize
11326
11327 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11328
11329         * lyxfunc.C: remove dead code
11330
11331         * lyxserver.h:
11332         * lyxserver.C: use lyx_guii::set_read_callback
11333
11334 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11335
11336         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11337         an inset in a RTL paragraph.
11338
11339 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11340
11341         * lyxfunc.C: repaint after a font size update
11342
11343 2002-07-15  André Pönitz <poenitz@gmx.net>
11344
11345         * lyxlength.C: inBP should be able to return negative values
11346
11347 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11348
11349         * lyxfunc.C: use lyx_gui::update_fonts()
11350
11351 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11352
11353         * lyxfunc.C: use lyx_gui::update_color()
11354
11355 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11356
11357         * bufferlist.C:
11358         * lyxfunc.h:
11359         * lyxfunc.C:
11360         * lyxrc.h:
11361         * lyxrc.C: remove file->new asks for name option, and let
11362           buffer-new take an argument
11363
11364 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11365
11366         * BufferView_pimpl.C: remove unneeded extra repaint()
11367
11368 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11369
11370         * LyXAction.C: allow command-sequence with NoBuffer
11371
11372         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11373
11374 2002-07-10  Angus Leeming  <leeming@lyx.org>
11375
11376         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11377
11378 2002-07-09  Angus Leeming  <leeming@lyx.org>
11379
11380         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11381
11382 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11383
11384         * lengthcommon.h: whitespace
11385
11386         * lyxfunc.C: update scrollbar after goto paragraph
11387
11388         * lyxtext.h: factor out page break drawing, and fix it so
11389           page break/added space paints as selected nicely
11390
11391 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11392
11393         * BufferView_pimpl.C: add FIXMEs, clean up a little
11394
11395 2002-07-09  André Pönitz <poenitz@gmx.net>
11396
11397         * lyxfont.[Ch]: support for wasy symbols
11398
11399 2002-07-08  André Pönitz <poenitz@gmx.net>
11400
11401         * BufferView_pimpl.C: apply John's patch for #93.
11402
11403 2002-07-05  Angus Leeming  <leeming@lyx.org>
11404
11405         * BufferView_pimpl.C (buffer): generate previews if desired.
11406
11407         * LColor.h: add "preview" to the color enum.
11408
11409         * LColor.C (LColor): add a corresponding entry to the items array.
11410
11411         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11412         with this buffer.
11413
11414 2002-07-05  Angus Leeming  <leeming@lyx.org>
11415
11416         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11417         The body of the code is now in the method that is passed an ostream &
11418         rather than a file name.
11419         Pass an additional only_preamble parameter, useful for the forthcoming
11420         preview stuff.
11421
11422 2002-07-03  André Pönitz <poenitz@gmx.net>
11423
11424         * lyxfunc.C: simplify getStatus() a bit for math stuff
11425
11426 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11427
11428         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11429
11430 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11431
11432         * text.C (changeRegionCase): do not change case of all the
11433         document when region ends at paragraph end (bug #461)
11434
11435 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11436
11437         * paragraph.C (startTeXParParams):
11438         (endTeXParParams): add \protect when necessary
11439
11440 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11441
11442         * BufferView_pimpl.C (workAreaExpose): remove warning
11443
11444 2002-06-27  Angus Leeming  <leeming@lyx.org>
11445
11446         * Makefile.am: add lyxlayout_ptr_fwd.h.
11447
11448 2002-06-26  André Pönitz <poenitz@gmx.net>
11449
11450         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11451
11452 2002-06-25  Angus Leeming  <leeming@lyx.org>
11453
11454         * lyxfunc.C (dispatch): Comment out the call to
11455         grfx::GCache::changeDisplay. The method no longer exists now that the
11456         pixmap generation part of the graphics loader has been moved into
11457         InsetGraphics.
11458
11459 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11460
11461         * text2.C: layout as layout
11462
11463         * text.C: layout as layout
11464
11465         * tabular.C (OldFormatRead): layout as layout
11466
11467         * paragraph_pimpl.C (TeXDeeper): layout as layout
11468         (realizeFont): layout as layout
11469
11470         * paragraph.C (writeFile): layout as layout
11471         (validate): layout as layout
11472         (getFont): layout as layout
11473         (getLabelFont): layout as layout
11474         (getLayoutFont): layout as layout
11475         (breakParagraph): layout as layout
11476         (stripLeadingSpaces): layout as layout
11477         (getEndLabel): layout as layout
11478         (getMaxDepthAfter): layout as layout
11479         (applyLayout): layout as layout
11480         (TeXOnePar): layout as layout
11481         (simpleTeXOnePar): layout as layout
11482         (TeXEnvironment): layout as layout
11483         (layout): layout as layout
11484         (layout): layout as layout
11485
11486         * lyxtextclass.C (compare_name): new functor to work with
11487         shared_ptr, layout as layout
11488         (Read): layout as layout
11489         (hasLayout): layout as layout
11490         (operator): layout as layout
11491         (delete_layout): layout as layout
11492         (defaultLayout): layout as layout
11493
11494         * lyxlayout_ptr_fwd.h: new file
11495
11496         * lyxlayout.C (Read): layout as layout
11497
11498         * lyx_cb.C (MenuInsertLabel): layout as layout
11499
11500         * bufferlist.C (newFile): layout as layout
11501
11502         * buffer.C (readLyXformat2): layout as layout
11503         (parseSingleLyXformat2Token): layout as layout
11504         (insertStringAsLines): layout as layout
11505         (asciiParagraph): layout as layout
11506         (latexParagraphs): layout as layout
11507         (makeLinuxDocFile): layout as layout
11508         (simpleLinuxDocOnePar): layout as layout
11509         (makeDocBookFile): layout as layout
11510         (simpleDocBookOnePar): layout as layout
11511         (getLists): layout as layout
11512
11513         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11514
11515         * CutAndPaste.C (cutSelection): layout as layout
11516         (pasteSelection): layout as layout
11517         (SwitchLayoutsBetweenClasses): layout as layout
11518
11519         * BufferView_pimpl.C (Dispatch): layout as layout
11520         (smartQuote): layout as layout
11521
11522         * BufferView2.C (unlockInset): layout as layout
11523
11524 2002-06-24  André Pönitz <poenitz@gmx.net>
11525
11526         * lyxfunc.C: fix #487
11527
11528 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11529
11530         * lyxrc.h:
11531         * lyxrc.C:
11532         * lyxfunc.C: remove display_shortcuts, show_banner
11533
11534 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11535
11536         * Buffer_pimpl.C: oops, update on resize
11537
11538 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11539
11540         * buffer.C:
11541         * converter.C:
11542         * exporter.C:
11543         * lyxfunc.C:
11544         * BufferView.h:
11545         * BufferView.C: use repaint()
11546
11547         * BufferView_pimpl.h:
11548         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11549           as it's a clearer description. Remove superfluous
11550           redraws.
11551
11552 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11553
11554         * text.C: fix bug 488. Not ideal, but getting
11555           getWord() to work properly for the insets that
11556           matter is more difficult ...
11557
11558 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11559
11560         * BufferView_pimpl.C:
11561         * LyXAction.C:
11562         * commandtags.h:
11563         * lyxfunc.C: remove the six million index lyxfuncs to just
11564           one, and DTRT (bug 458)
11565
11566 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11567
11568         * BufferView.h:
11569         * BufferView.C:
11570         * BufferView_pimpl.h:
11571         * BufferView_pimpl.C: clean up resize() stuff,
11572           and unnecessary updateScreen()s
11573
11574 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11575
11576         * BufferView.h:
11577         * BufferView.C:
11578         * BufferView_pimpl.h:
11579         * BufferView_pimpl.C:
11580         * lyxfind.h:
11581         * lyxfind.C:
11582         * minibuffer.C: remove focus management of workarea,
11583           not needed. Use screen's greyOut()
11584
11585 2002-06-17  Herbert Voss  <voss@lyx.org>
11586
11587         * converter.C: (convert) do not post a message, when converting
11588         fails, let the calling function decide what to do in this case
11589
11590 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11591
11592         * lyxfunc.C: tidy up a little
11593
11594 2002-06-16    <alstrup@diku.dk>
11595
11596         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11597         Got rid of FORMS_H_LOCATION include. Now we are
11598         GUII.
11599
11600 2002-06-15  LyX Development team  <lyx@rilke>
11601
11602         * buffer.[Ch] (sgmlOpenTag):
11603         (sgmlCloseTag): Added support for avoiding pernicious mixed
11604         content. Return number of lines written.
11605
11606         (makeLinuxDocFile):
11607         (makeDocBookFile): Fixed calls to sgml*Tag.
11608         Simple white space clean.
11609
11610         (simpleDocBookOnePar): Simple white space clean.
11611
11612         * tabular.[Ch] (docBook): Renamed to docbook and got another
11613         argument to related with the pernicious mixed content.
11614
11615         (docbookRow): Fixed calls for docbook inset method.
11616
11617 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11618
11619         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11620         so it's X11 independent.
11621
11622         * kb*.[Ch]: ditto.
11623
11624         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11625
11626 2002-06-15  Lyx Development team  <lyx@electronia>
11627
11628         * intl.h: Renamed getTrans to getTransManager.
11629
11630 2002-06-14  Angus Leeming  <leeming@lyx.org>
11631
11632         * Makefile.am: nuke forgotten stl_string_fwd.h.
11633
11634 2002-06-12  Angus Leeming  <leeming@lyx.org>
11635
11636         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11637
11638 2002-06-13  Angus Leeming  <leeming@lyx.org>
11639
11640         * LaTeX.C:
11641         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11642
11643 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11644
11645         * kbmap.C (getiso): add support for cyrillic and greek
11646
11647 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11648
11649         * BufferView.h:
11650         * BufferView.C:
11651         * BufferView_pimpl.h:
11652         * BufferView_pimpl.C: move bogus scrolling logic
11653           to xforms
11654
11655 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11656
11657         * lyxfunc.C:
11658         * BufferView_pimpl.C: view->resize() change
11659
11660 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11661
11662         * BufferView_pimpl.C: topCursorVisible
11663           prototype change
11664
11665 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11666
11667         * Makefile.am:
11668         * lyx_gui.h:
11669         * lyx_gui.C: move to frontends/
11670
11671         * main.C:
11672         * lyx_main.h:
11673         * lyx_main.C: changes from above
11674
11675 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11676
11677         * intl.C:
11678         * intl.h:
11679         * kbmap.C:
11680         * kbsequence.C:
11681         * lyx_cb.C:
11682         * lyx_main.C: minor tidy
11683
11684 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11685
11686         * BufferView_pimpl.h:
11687         * BufferView_pimpl.C:
11688         * BufferView.h:
11689         * BufferView.C: make painter() const,
11690           remove dead code
11691
11692         * BufferView2.C: use screen() accessor
11693
11694         * lyx_main.h:
11695         * lyx_main.C: some minor cleanup
11696
11697 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11698
11699         * BufferView_pimpl.h:
11700         * BufferView_pimpl.C: remove enter/leaveView,
11701           use workHeight()
11702
11703 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11704
11705         * BufferView.h:
11706         * BufferView.C:
11707         * BufferView2.C:
11708         * BufferView_pimpl.h:
11709         * BufferView_pimpl.C: only construct screen once,
11710           rename
11711
11712         * lyxrc.C: remove pointless comment
11713
11714 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11715
11716         * BufferView.h:
11717         * BufferView.C: remove active() and belowMouse()
11718
11719         * BufferView_pimpl.h:
11720         * BufferView_pimpl.C: use workarea() not workarea_,
11721           and make it use a scoped_ptr instead
11722
11723 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11724
11725         * lyx_gui.C: add debug message on BadWindow
11726
11727 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11728
11729         * sp_spell.C: fdopen is not part of the C++ standard.
11730
11731         * paragraph.C (InsetIterator): use >= instead of ==
11732
11733 2002-06-07  Angus Leeming  <leeming@lyx.org>
11734
11735         Fixes needed to compile with Compaq cxx 6.5.
11736         * BufferView_pimpl.C:
11737         * DepTable.C:
11738         * buffer.C:
11739         * converter.C:
11740         * encoding.C:
11741         * lyx_gui.C:
11742         * lyx_main.C:
11743         * lyxtextclasslist.C:
11744         * minibuffer.C:
11745         * sp_spell.C:
11746         * tabular_funcs.C:
11747         * vc-backend.C:
11748         all c-library variables have been moved into namespace std. Wrap
11749         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11750
11751         * lyxlength.C:
11752         * tabular-old.C:
11753         * tabular.C:
11754         Add a using std::abs declaration.
11755
11756         * kbmap.h (modifier_pair):
11757         * paragraph.h (InsetTable, InsetList):
11758         * lyxfont.h (FontBits):
11759         type definition made public.
11760
11761         * bufferlist.C (emergencyWriteAll): the compiler complains that
11762         there is more than one possible lyx::class_fun template to choose from.
11763         I re-named the void specialisation as lyx::void_class_fun.
11764
11765         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11766
11767         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11768         the compiler is is unable to find tostr in write_attribute.
11769
11770 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11771
11772         * buffer.C (sgmlError): hide #warning
11773
11774 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11775
11776         * xtl/*: get rid of xtl, which is not in use anyway
11777
11778         * LyXAction.C (init):
11779         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11780         were unimplemented xtl experimentation
11781
11782 2002-06-04  André Pönitz <poenitz@gmx.net>
11783
11784         * lyxfunc.C: disable array operation on simple formulae
11785
11786 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11787
11788         * converter.C: constify a bit
11789
11790 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11791
11792         * lyx_gui.C: check xforms version correctly
11793
11794 2002-04-30  Herbert Voss  <voss@lyx.org>
11795
11796         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11797         "keep" option
11798
11799 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11800
11801         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11802           attempt to register it with a VCS)
11803
11804 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11805
11806         * lyx_main.C (init): honor variables LYX_DIR_13x and
11807         LYX_USERDIR_13x
11808
11809 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11810
11811         * buffer.h:
11812         * buffer.C:
11813         * lyx_main.C: fix a crash on bad command line,
11814           and give a useful exit status on error
11815
11816         * lyxfunc.C (doImport): allow -i lyx to work
11817
11818 2002-03-30  André Pönitz <poenitz@gmx.net>
11819
11820         * lyxfunc.C: mathed font changes
11821
11822 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11823
11824         * LaTeX.C:
11825         * importer.h:
11826         * importer.C:
11827         * lyx_sty.h:
11828         * lyx_sty.C:
11829         * lyxlex.C:
11830         * lyxrow.h:
11831         * lyxtext.h:
11832         * paragraph.h:
11833         * paragraph.C:
11834         * texrow.h:
11835         * texrow.C:
11836         * text.C:
11837         * trans_mgr.h: srcdocs, and some minor cleanups
11838
11839 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11840
11841         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11842         call getFont all the time)
11843
11844 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11845
11846         * switch from SigC signals to boost::signals
11847
11848 2002-05-29  André Pönitz <poenitz@gmx.net>
11849
11850         * paragraph_pimpl.C (getChar): don't call size() too often...
11851
11852 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11853
11854         * paragraph_pimpl.C (insertChar): do not try to update tables when
11855         appending (pos == size())
11856
11857         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11858         in order to reduce drastically the number of comparisons needed to
11859         parse a large document
11860
11861 2002-05-29  André Pönitz <poenitz@gmx.net>
11862
11863         * text.C:
11864         * text2.C:
11865         * lyxtextclass.C:
11866         * sp_pspell.h:
11867         * textclasslist.[Ch]:
11868         * sp_ispell.h: whitespace change
11869
11870 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11871
11872         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11873         lyxaction directly now.
11874
11875 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11876
11877         * trans.C:
11878         * lyxfont.C:
11879         * lyxvc.C: remove unused headers
11880
11881 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11882
11883         * Makefile.am:
11884         * buffer.h:
11885         * undostack.h:
11886         * undostack.C:
11887         * undo_funcs.h:
11888         * undo_funcs.C: some cleanups. Use shared_ptr
11889           and a template for the undo stacks.
11890
11891 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11892
11893         * BufferView_pimpl.h:
11894         * BufferView_pimpl.C:
11895         * kbmap.h:
11896         * kbmap.C:
11897         * kbsequence.h:
11898         * kbsequence.C:
11899         * lyxfunc.h:
11900         * lyxfunc.C:
11901         * text2.C: use key_state/mouse_state
11902
11903 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11904
11905         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11906         and LSubstring
11907
11908         * chset.C: change include order
11909         (loadFile): use boost regex and get rid of LRegex and LSubstring
11910
11911         * Makefile.am (BOOST_LIBS): new variable
11912         (lyx_LDADD): use it
11913
11914         * LaTeX.C: change include order.
11915         (scanAuxFile): use boost regex and get rid of LRegex and
11916         LSubstring
11917         (deplog): ditto
11918
11919 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11920
11921         * ColorHandler.h:
11922         * ColorHandler.C:
11923         * FontInfo.h:
11924         * FontInfo.C: moved to frontends/xforms/
11925
11926         * FontLoader.h:
11927         * FontLoader.C: moved into frontends for GUIIzation
11928
11929         * Makefile.am:
11930         * lyx_gui.C:
11931         * lyxfont.C:
11932         * lyxfunc.C: changes from above
11933
11934 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11935
11936         * LColor.C: remove spurious X include
11937
11938         * BufferView_pimpl.C:
11939         * Makefile.am:
11940         * font.h:
11941         * font.C:
11942         * text.C:
11943         * text2.C: move font metrics to frontends/
11944
11945 2002-05-24  Juergen Vigna  <jug@sad.it>
11946
11947         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11948         setting the undo_cursor.
11949
11950         * ParagraphParameters.h: include local includes first.
11951
11952 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11953
11954         * BufferView_pimpl.C:
11955         * BufferView_pimpl.h:
11956         * Makefile.am:
11957         * WorkArea.h:
11958         * WorkArea.C:
11959         * screen.C: move WorkArea into frontends/
11960
11961         * lyxscreen.h:
11962         * screen.C:
11963         * text.C:
11964         * BufferView.C:
11965         * BufferView2.C: move LyXScreen into frontends/
11966
11967         * lyxlookup.h:
11968         * lyxlookup.C:
11969         * lyx_gui.C: move lyxlookup into frontends/xforms/
11970
11971 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11972
11973         * BufferView2.C:
11974         * BufferView_pimpl.C:
11975         * FontLoader.C:
11976         * LyXView.h:
11977         * LyXView.C:
11978         * Makefile.am:
11979         * WorkArea.C:
11980         * XFormsView.h:
11981         * XFormsView.C:
11982         * buffer.C:
11983         * bufferlist.C:
11984         * bufferview_funcs.C:
11985         * converter.C:
11986         * importer.C:
11987         * lyx_cb.C:
11988         * lyx_gui.C:
11989         * lyx_main.C:
11990         * lyx_find.C:
11991         * lyxfunc.C:
11992         * lyxvc.C:
11993         * minibuffer.C:
11994         * text.C:
11995         * text2.C:
11996         * trans.C:
11997         * vc-backend.C: move LyX/XFormsView into frontends/
11998
11999 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12000
12001         * Makefile.am:
12002         * PainterBase.C:
12003         * PainterBase.h:
12004         * Painter.C:
12005         * Painter.h:
12006         * WorkArea.C:
12007         * WorkArea.h:
12008         * screen.C:
12009         * tabular.C:
12010         * text.C:
12011         * text2.C: move Painter to frontends/
12012
12013 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12014
12015         * buffer.C: comment out some some code that depend upon lyx_format
12016         < 220
12017
12018         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12019         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12020
12021         * buffer.h (NO_COMPABILITY): turn off compability
12022
12023         * ColorHandler.C: include scoped_array.hpp
12024
12025         * font.C: Use more specific smart_ptr header.
12026         * Painter.C: ditto
12027         * gettext.C: ditto
12028         * ShareContainer.h: ditto
12029         * lyx_main.h: ditto
12030         * kbmap.h: ditto
12031         * FontInfo.h: ditto
12032         * BufferView_pimpl.h: ditto
12033         * ColorHandler.h: ditto
12034
12035         * kbmap.C (defkey): change call to shared_ptr::reset
12036
12037 2002-05-21  Juergen Vigna  <jug@sad.it>
12038
12039         * buffer.C (insertErtContents): fix to insert ert asis if it is
12040         non empty. Skip it completely if it contains only whitespaces.
12041
12042 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12043
12044         * BufferView_pimpl.C:
12045         * BufferView2.C: clear selection on paste (bug 393)
12046
12047 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12048
12049         * DepTable.C: include ctime
12050
12051 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12052
12053         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12054
12055 2002-05-14  Juergen Vigna  <jug@sad.it>
12056
12057         * text.C (breakParagraph): fixed function to honor the keepempty
12058         layout in the right maner and also to permit the right breaking
12059         algorithm on empty or non empyt keepempty paragraphs.
12060
12061         * paragraph.C (breakParagraph): we have to check also if the par
12062         is really empty (!size()) for isempty otherwise we do the wrong
12063         paragraph break.
12064
12065 2002-05-10  Juergen Vigna  <jug@sad.it>
12066
12067         * buffer.[Ch] : The following are only changes to the ert
12068         compatibility read reading old LaTeX layout and font stuff and
12069         convert it to ERTInsets.
12070
12071         * buffer.h: added isErtInset().
12072
12073         * buffer.C (struct ErtComp): add a fromlayout bool to check
12074         if we're inside a LaTeX layout.
12075         (isErtInset): new helper function.
12076         (insertErtContents): look for other ert insets before this one
12077         and insert the contents there, so that we don't have subsequent
12078         ERT insets with nothing between them. This way we create only one
12079         inset with multiple paragraphs. Also check if we don't insert only
12080         spaces ' ' as they are ignored anyway afterwards in the .tex file
12081         so if we have only spaces we will ignore this latex part in the
12082         new file.
12083         (parseSingleLyXformat2Token \\layout): better compatibility when
12084         reading layout-latex stuff.
12085         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12086         language tag.
12087         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12088         stuff after reading the inset only get the information back from
12089         the stack.
12090
12091 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12092
12093         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12094
12095         * LaTeXFeatures.C (getBabelOptions): New method.
12096
12097 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12098
12099         * BufferView_pimpl.C (Dispatch): work around missing argument for
12100         'layout'
12101
12102 2002-05-08  Juergen Vigna  <jug@sad.it>
12103
12104         * text.C (leftMargin): handle paragraph leftindent.
12105
12106         * paragraph.C (writeFile): write the new \\leftindent tag.
12107         (validate): handle leftindent code.
12108         (TeXEnvironment): handle paragraphleftindent code again.
12109
12110         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12111
12112         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12113         for paragrap_extra indent code and new token \\leftindent.
12114         (latexParagraphs): handle the leftindent as environment.
12115
12116         * ParameterStruct.h: added leftindent support.
12117
12118         * ParagraphParameters.C (leftIndent): added support functions for
12119         the paragraph left indent.
12120
12121         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12122         more appropriate.
12123
12124 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12125
12126         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12127         inside insetERT.
12128
12129         * text.C (computeBidiTables): No bidi in insetERT.
12130
12131         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12132         in RTL documents.
12133
12134 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12135
12136         * version.C.in: pre 5
12137
12138 2002-05-02  José Matos  <jamatos@fep.up.pt>
12139         * buffer.C (makeDocBookFile): white space changes, add newline to
12140         command styles.
12141         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12142
12143         * tabular.C (docBook): fix typo.
12144
12145 2002-05-03  Juergen Vigna  <jug@sad.it>
12146
12147         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12148         change in LyXText as we can not be sure it was not freed.
12149         (drawOneRow): remove unused code.
12150
12151         * text.C (drawInset): redo the calculation of the need_break_row as
12152         it could have a row which was already freed.
12153         (draw): look at the return value of drawInset and return false if
12154         it also returned false.
12155         (paintRowText): look at the return value of draw and return false if
12156         it also returned false.
12157
12158         * lyxtext.h: added bool return type to drawInset() and draw() so that
12159         if we have a change in the row so that the rowbreak has to be redone
12160         we abort drawing as it will be called again.
12161
12162 2002-05-02  Juergen Vigna  <jug@sad.it>
12163
12164         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12165         a change in the maintext also if we're inside an inset.
12166         (Dispatch): set the cursor again after a break line and after the
12167         screen has been updated as it could be we're in a different row.
12168
12169         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12170         to set the cursor behind the pargraph with > size().
12171         (setCursor): check also for the same paragraph when checking where
12172         to put the cursor if we have a NFR inset.
12173
12174         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12175         parts of layout read further up as it still was in the wrong
12176         position.
12177
12178 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12179
12180         * screen.C (drawFromTo): change sine fullRebreak always return
12181         true.
12182
12183         * buffer.C (parseSingleLyXformat2Token): reindent some
12184
12185         * BufferView_pimpl.C (update): change since fullRebreak always
12186         return true.
12187         (Dispatch): git rid of the last hardcoded "Standard"s.
12188
12189 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12190
12191         * text2.[Ch] (fullRebreak): make it return void now that we always
12192         returned true.
12193
12194 2002-04-30  Juergen Vigna  <jug@sad.it>
12195
12196         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12197         ert compatibility check for "latex" layout.
12198
12199 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12200
12201         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12202         minipages: use col% instead of p%, and also use the current font.
12203         (makeLaTeXFile): Fix use babel condition.
12204         (parseSingleLyXformat2Token): Correct font when reading old floats.
12205
12206 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12207
12208         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12209         inserting list of floats.
12210
12211 2002-04-25  Herbert Voss  <voss@lyx.org>
12212
12213         * MenuBackend.C (expand): don't add the graphics extensions to the
12214         export menu
12215
12216 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12217
12218         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12219         non-existing layout, do not complain if it was the default layout
12220         of the original class (bug #342)
12221
12222 2002-04-24  Juergen Vigna  <jug@sad.it>
12223
12224         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12225         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12226
12227 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12228
12229         * buffer.C (getBibkeyList): If using \bibliography, return the
12230         option field with the reference itself. Enables us to provide natbib
12231         support when using \bibliography.
12232
12233 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12234
12235         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12236
12237         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12238         natbib is provided by the LaTeX class.
12239
12240 2002-04-23  Juergen Vigna  <jug@sad.it>
12241
12242         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12243         Wakeup functions.
12244
12245         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12246
12247 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12248
12249         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12250
12251         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12252         ensuremath around textordmasculine, textordfeminine and
12253         textdegree.
12254
12255 2002-04-19  Juergen Vigna  <jug@sad.it>
12256
12257         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12258         reinitializing the buffer otherwise row-dimensions may be wrong.
12259         (update): reset also the selection cursors if they do exits otherwise
12260         their x/y positions may be wrong.
12261
12262         * text2.C (cursorDown): don't enter the inset if we came from a row
12263         above and are one row over the inset.
12264
12265         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12266         really leaving an inset.
12267
12268 2002-04-18  Juergen Vigna  <jug@sad.it>
12269
12270         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12271         of the selected paragraph does not have the selected layout also if
12272         the last one had!
12273
12274         * text2.C (setLayout): fixed bug which did not change last selected
12275         paragraph.
12276
12277         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12278         changed the read and substituted \\end_float with \\end_inset!
12279
12280         * BufferView_pimpl.C (cursorPrevious):
12281         (cursorNext): fixed to make it work with rows heigher than the work
12282         area without moving the cursor only the draw of the row.
12283         (workAreaMotionNotify): fix jumping over high rows.
12284
12285 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12286
12287         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12288         Ressler.
12289
12290 2002-04-16  Juergen Vigna  <jug@sad.it>
12291
12292         * text2.C (setCursor): set also the irow().
12293         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12294         (cursorUp):
12295         (cursorDown): support for locking an inset if the x_fix value goes
12296         inside it. That way I can transverse insets too with cursor up/down.
12297
12298         * lyxrow.h: added irow helper function same as other (i) functions.
12299
12300         * BufferView_pimpl.C (cursorPrevious):
12301         (cursorNext): fixed for insets!
12302
12303 2002-04-15  Juergen Vigna  <jug@sad.it>
12304
12305         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12306         position otherwise it is wrong in some cases.
12307
12308         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12309         inside the inset before the call.
12310
12311 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12312
12313         * buffer.[Ch] (getBibkeyList): make it const.
12314
12315 2002-04-12  Juergen Vigna  <jug@sad.it>
12316
12317         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12318
12319         * text2.C (getCursorX): new helper function
12320         (setCursor): compute also ix_
12321         (setCursorFromCoordinates): set also ix.
12322
12323         * lyxcursor.h: added ix_ and helper functions.
12324
12325         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12326
12327         * buffer.C (insertStringAsLines): dont break paragraph if the this
12328         paragraph is inside an inset which does not permit it!
12329
12330         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12331         also with no chars on this paragraph.
12332         (paintRowText): only paint stuff if it's inside the workarea!
12333
12334         * paragraph.C (breakParagraph): honor keepempty flag and break the
12335         paragraph always below not above.
12336
12337         * BufferView2.C (unlockInset): update the paragraph layout on inset
12338         unlock as we changed paragraph in such a case.
12339
12340         * lyxfind.C (LyXFind): clear the former selection if not found!
12341
12342         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12343         again called in insertChar().
12344
12345         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12346         an inset which uses the whole row!
12347         (rightMargin): ditto.
12348         (insertChar): force a rebreak if we inserted an inset!
12349
12350 2002-03-28  Herbert Voss  <voss@lyx.org>
12351
12352         * lyxlength.[Ch]: add inBP() to get the right PS-point
12353         units (BigPoint). With inPixels we have rounding errors
12354
12355 2002-04-11  Juergen Vigna  <jug@sad.it>
12356
12357         * text2.C (setCursorFromCoordinates): set iy to the right value.
12358         (setCursor): add check if row->previous exists!
12359
12360         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12361         an old float_type as this was the case in the old code!
12362
12363         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12364
12365         * BufferView2.C (showLockedInsetCursor): use iy
12366         (fitLockedInsetCursor): ditto
12367
12368         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12369         locked insets as there we have the right value now.
12370
12371         * lyxcursor.C: added iy_ variable and iy functions to set to the
12372         baseline of cursor-y of the locked inset.
12373
12374         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12375         (setCursor): fixed for insets which need a full row.
12376
12377         * text.C (rowLastPrintable): don't ignore the last space when before
12378         an inset which needs a full row.
12379         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12380         as last character of a row when before a inset which needs a full row.
12381
12382 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12383
12384         * version.C.in: update date
12385
12386         * text2.C (fullRebreak): try to always return true and see what
12387         happens...
12388
12389 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12390
12391         * MenuBackend.C (expand): use Floating::listName
12392
12393         * FloatList.C (FloatList): add listName argument to the built-in
12394         floats
12395
12396         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12397         text associated with the float.
12398
12399 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12400
12401         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12402
12403 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12404
12405         * ShareContainer.h: add a couple of missing typenames.
12406
12407 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12408
12409         * lyxrc.C (getDescription): use _() correctly rather than N_().
12410
12411 2002-03-28  Herbert Voss  <voss@lyx.org>
12412
12413         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12414         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12415
12416 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12417
12418         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12419         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12420
12421 2002-03-29  Juergen Vigna  <jug@sad.it>
12422
12423         * lyxfunc.C (dispatch): add a missing fitCursor call.
12424
12425         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12426         it was scrolled by a cursor move, so return the bool status.
12427
12428         * BufferView.C (fitCursor): return the bool flag also to the outside
12429         world as this is needed.
12430
12431         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12432
12433         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12434         call the edit() as it is not needed (and wrong) IMO.
12435         (workAreaButtonPress): set the screen_first variable before evt.
12436         unlock the inset as this may change screen_first and then we have
12437         a wrong y position for the click!
12438
12439 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12440
12441         * MenuBackend.C (expand): another translation that I missed
12442
12443 2002-03-28  Juergen Vigna  <jug@sad.it>
12444
12445         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12446
12447         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12448
12449 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12450
12451         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12452
12453         * MenuBackend.C (expand): fix export/view/update when there is no
12454         document open.
12455
12456 2002-03-27  Herbert Voss  <voss@lyx.org>
12457
12458         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12459         and text%
12460
12461 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12462
12463         * bufferview_funcs.C (currentState): only show paragraph number
12464         for is DEVEL_VERSION is set.
12465
12466         * lyxfunc.C (dispatch): put warning in INFO channel
12467
12468         * MenuBackend.C (expand): translate the name of floats
12469
12470         * FloatList.C (FloatList): mark the float names for translation
12471
12472         * converter.C (convert): use LibScriptSearch
12473
12474 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12475
12476         * MenuBackend.C (defaults): fix default menu (we might as well get
12477         rid of it...)
12478
12479 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12480
12481         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12482         directory.
12483
12484 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12485
12486         * lyxvc.C: reorder includes.
12487
12488 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12489
12490         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12491           properly
12492
12493 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12494
12495         * CutAndPaste.C: change layouts earlier on paste
12496           to avoid crashing when calling getFont()
12497
12498 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12499
12500         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12501         irritating #error.
12502
12503 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12504
12505         * WorkArea.C: remove 'Pending' debug message.
12506
12507         * most files: ws cleanup
12508
12509         * buffer.[Ch]: ws changes
12510
12511         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12512
12513 2002-03-21  Juergen Vigna  <jug@sad.it>
12514
12515         * tabular.C (SetMultiColumn): collapse also the contents of the
12516         cells and set the last border right. Added a Buffer const * param.
12517
12518 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12519
12520         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12521         linking or not.
12522
12523 2002-03-19  Juergen Vigna  <jug@sad.it>
12524
12525         * text2.C (clearSelection): reset also xsel_cache.
12526
12527         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12528         where it needs to be called (John tells us to do so too :)
12529         (selectionLost): reset sel_cache.
12530
12531         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12532
12533 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12534
12535         * text2.C (setCursorIntern): put debuging code in INSETS channel
12536
12537 2002-03-19  André Pönitz <poenitz@gmx.net>
12538
12539         * lyxfunc.C: tiny whitespace change
12540
12541 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12542
12543         * ToolbarDefaults.C (init):
12544         * LyXAction.C (init):
12545         * commandtags.h:
12546         * BufferView_pimpl.C (Dispatch):
12547         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12548
12549 2002-03-19  Allan Rae  <rae@lyx.org>
12550
12551         * exporter.C (Export): removeAutoInsets before doing anything else.
12552         While I've just introduced a dependency on BufferView this really is
12553         the best place to clean the buffer otherwise you need to cleanup in
12554         a dozen places before calling export or cleanup in a dozen functions
12555         that export calls.
12556
12557         * converter.C (runLaTeX):
12558         (scanLog): Better handling of removeAutoInsets and screen updates.
12559
12560         * lyxfunc.C (dispatch): small whitespace changes
12561
12562 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12563
12564         * WorkArea.C (C_WorkAreaEvent): return a value.
12565         (event_cb): return 1 if we handled the event, 0 otherwise.
12566
12567         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12568
12569 2002-03-18  Juergen Vigna  <jug@sad.it>
12570
12571         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12572         (GetAdditionalWidth): ditto.
12573         (RightLine): ditto.
12574         (LeftLine): ditto.
12575
12576         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12577         inset if we're there actually (probably not used right now but this
12578         is the direction to go for unifying code).
12579         (paste): disable code to clear the selection.
12580
12581         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12582         inside an InsetText and move the check further up as it is in the
12583         wrong place.
12584
12585         * text2.C (pasteSelection): set a selection over the pasted text.
12586
12587 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12588
12589         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12590         and libgraphics to build on Cygwin.
12591
12592 2002-03-15  Juergen Vigna  <jug@sad.it>
12593
12594         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12595         inserting an Inset into the paragraph. I know this is not the best
12596         fix but we already use current_view in CutAndPaste so we will remove
12597         all of it's using at the same time.
12598
12599         * buffer.C (sgmlError): deactivated function till it is rewritten in
12600         the right mode, now it can create problems.
12601
12602         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12603         before accessing it.
12604
12605 2002-03-14  Juergen Vigna  <jug@sad.it>
12606
12607         * undo_funcs.C (textHandleUndo): do the right thing when updating
12608         the inset after the undo/redo.
12609
12610         * text2.C (setCursor): just some testcode for #44 not ready yet.
12611
12612         * undo_funcs.C (textHandleUndo): set the next() and previous()
12613         pointers of the paragraph to 0 before deleting otherwise we have
12614         problems with the Paragraph::[destructor].
12615
12616         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12617         on a paragraph insertion.
12618
12619 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12620
12621         * buffer.C (asciiParagraph): use += operator for char append to
12622         string.
12623
12624         * paragraph.C (getFontSettings): compare >= not just >
12625         (highestFontInRange): ditto
12626         (setFont): ditto
12627
12628 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12629
12630         * paragraph.C: change several algorithm to be more appripriate for
12631         the problem domain. This is lookip in FontList and in the InsetList.
12632
12633 2002-03-13  André Pönitz <poenitz@gmx.net>
12634
12635         * commandtags.h:
12636         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12637
12638 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12639
12640         * commandtags.h:
12641         * LyXAction.C:
12642         * lyxfunc.C:
12643         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12644
12645 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12646
12647         * Painter.C (display): anon helper function, adjust code for this
12648         change.
12649         (pixmap): remove function.
12650
12651         * Painter.h: remove private display variable.
12652
12653         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12654
12655 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12656
12657         * WorkArea.[Ch]: remove figinset_canvas cruft.
12658
12659 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12660
12661         * lyxtextclass.C (operator): add one item cache optimization.
12662
12663         * bufferlist.h: doxy changes
12664
12665         * bufferlist.C: ws changes
12666
12667         * DepTable.[Ch] (ext_exist): place const in the right spot.
12668
12669         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12670         call resizeInsets.
12671         (workAreaExpose): call resizeInsets when the with BufferView changes.
12672         (Dispatch): adjust for protectedBlank removal
12673         (specialChar): call updateInset if the insert went ok.
12674
12675         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12676         specialChar instead.
12677
12678         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12679
12680         * BufferView.h: doxy change
12681
12682         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12683
12684         * lyxtextclass.C (operator[]): remove non-const version
12685         (defaultLayout): remove non-const version
12686
12687 2002-03-12  Juergen Vigna  <jug@sad.it>
12688
12689         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12690         did resize the LyXText too.
12691
12692         * buffer.C (readLyXformat2): set layout information on newly allocated
12693         paragraphs.
12694
12695         * tabular.C (OldFormatRead): set layout information on the paragraph.
12696
12697 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12698
12699         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12700
12701 2002-03-11  Juergen Vigna  <jug@sad.it>
12702
12703         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12704         plainly wrong.
12705         (resizeCurrentBuffer): force also the insets to resize themselfes.
12706         (moveCursorUpdate): fixed up for InsetText.
12707
12708 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12709
12710         * commandtags.h:
12711         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12712         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12713         value of Dialogs::tooltipsEnabled().
12714         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12715
12716 2002-03-08  Juergen Vigna  <jug@sad.it>
12717
12718         * BufferView_pimpl.C (updateInset): update inset inside inset also
12719         if it isn't inside theLockingInset().
12720
12721 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12722
12723         * buffer.C (asciiParagraph): redo some of the word and line length
12724         handling.
12725         (getLists): look for Caption instead of caption.
12726
12727 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12728
12729         * buffer.C (Buffer): initialize niceFile to true
12730         (makeLaTeXFile):
12731         (makeLinuxDocFile):
12732         (makeDocBookFile): make sure niceFile is true on exit
12733
12734 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12735
12736         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12737
12738 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12739
12740         * LyXSendto.C: remove.
12741         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12742         * lyx_gui.C: remove now-redundant comment.
12743         * ColorHandler.h: remove forward declaration of class WorkArea.
12744         * lyxfunc.C: remove #include "WorkArea.h".
12745
12746 2002-03-07  Juergen Vigna  <jug@sad.it>
12747
12748         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12749         got moved away with the DEPM and also set the inset_owner always
12750         right which before could have been omitted.
12751
12752 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12753
12754         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12755         wanted layout is not found.
12756
12757 2002-03-07  Juergen Vigna  <jug@sad.it>
12758
12759         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12760
12761 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12762
12763         * paragraph.C (breakParagraph): use default layout not layout of
12764         prev paragraph.
12765         (Paragraph): clear ParagraphParameters.
12766
12767 2002-03-06  Juergen Vigna  <jug@sad.it>
12768
12769         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12770         otherwise it would not be a valid lenght. Fixed a special case in
12771         the minipage compatibility read where we end the document with a
12772         minipage.
12773
12774         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12775         was set as it could be 0 for InsetTexts first entry.
12776
12777 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12778
12779         * paragraph.C (writeFile): if layout is empty write out
12780         defaultLayoutName().
12781
12782         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12783         file without named layout we set layout to defaultLayoutName().
12784
12785 2002-03-06  Juergen Vigna  <jug@sad.it>
12786
12787         * CutAndPaste.C (copySelection): set layout for new paragraph.
12788
12789         * text.C (prepareToPrint): leave ERT inset left aligned
12790         (leftMargin): don't indent paragraphs inside ERT insets
12791
12792 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12793
12794         * paragraph.C (breakParagraph): dont call clear do the work manually
12795
12796         * paragraph.[Ch] (clear): remove function
12797
12798 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12799
12800         * paragraph.C (Paragraph): dont call clear, the work has already
12801         been done.
12802
12803         * lyxtextclass.C (operator): assert if n is empty
12804
12805         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12806         work manually instead.
12807
12808 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12809
12810         * BufferView_pimpl.C: protect selectionLost against text == 0
12811
12812 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12813
12814         * text.C (breakParagraph): fix a setting layout to '0' problem.
12815
12816 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12817
12818         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12819         final location of file, for the included files, and graphics.
12820
12821 2002-03-05  Juergen Vigna  <jug@sad.it>
12822
12823         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12824
12825 2002-03-04  Juergen Vigna  <jug@sad.it>
12826
12827         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12828
12829         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12830         last column of multicolumn cells.
12831         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12832
12833 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12834
12835         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12836         file if it doesn't go to a temporary file.
12837
12838         * buffer.C (sgmlOpenTag):
12839         (sgmlCloseTag):  remove extra newline insertion.
12840
12841 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12842
12843         * text.C (getRowNearY): comment out debug msg
12844
12845 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12846
12847         * text2.C: first -> first_y
12848
12849         * text.C (getRowNearY): add some attemts at a possible
12850         optimization, not working.
12851
12852         * tabular.[Ch]: add BufferParams to several function so that newly
12853         created paragraph can be initialized to he default layotu for the
12854         buffers textclass.
12855
12856         * tabular-old.C (ReadOld): add buf->params to call of Init
12857
12858         * screen.C: rename text->first to text->first_y
12859
12860         * paragraph.C (breakParagraph): always set layout in the broken
12861         paragraph
12862
12863         * lyxtextclass.C (Read): remove lowercase
12864         (hasLayout): ditto
12865         (operator): ditto
12866         (delete_layout): ditto
12867
12868         * lyxtext.h: rename first -> first_y
12869
12870         * lyxlayout.C (Read): remove lowercase
12871         (name): ditto
12872         (setName): ditto
12873         (obsoleted_by): ditto
12874
12875         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12876
12877         * buffer.C (insertErtContents): add params are to InsetERT
12878         (parseSingleLyXformat2Token): add code to check if a paragraphs
12879         layout really exist.
12880         (parseSingleLyXformat2Token): add params to several inset
12881         constructors
12882         (asciiParagraph): remove lowercase, do the layout comparisons with
12883         no_case
12884
12885         * BufferView_pimpl.C (cursorNext): first -> first_y
12886         (resizeCurrentBuffer): first -> first_y
12887         (updateScrollbar): first -> first_y
12888         (scrollCB): first -> first_y
12889         (workAreaMotionNotify): first -> first_y
12890         (workAreaButtonPress): first -> first_y
12891         (checkInsetHit): first -> first_y
12892         (cursorPrevious): first -> first_y
12893         (cursorNext): first -> first_y
12894         (Dispatch): add buffer_->params to severl inset contructors
12895
12896 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12897
12898         * lyxlayout.C (Read): remove some debug info that I forgot.
12899
12900         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12901         clean up the code slightly.
12902         (makeLinuxDocFile): ditto
12903         (makeDocBookFile): ditto
12904
12905         * text2.C: layout as string
12906
12907         * text.C: layout as string
12908
12909         * paragraph_pimpl.C: layout as string
12910
12911         * paragraph.[Ch]: layout as string
12912
12913         * lyxtextclasslist.[Ch]: layout as string
12914
12915         * lyxtextclass.[Ch]: layout as string
12916
12917         * lyxtext.h: layout as string
12918
12919         * lyxlayout.[Ch]: layout as string
12920
12921         * lyx_cb.C: layout as string
12922
12923         * bufferview_funcs.C: layout as string
12924
12925         * bufferparams.C: layout as string
12926
12927         * buffer.C: layout as string
12928
12929         * LyXView.[Ch]: layout as string
12930
12931         * LaTeXFeatures.[Ch]: layout as string
12932
12933         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12934
12935         * BufferView_pimpl.C: change current_layout to string, remove
12936         lyx::layout_type.
12937         (Dispatch):
12938         (smartQuote):
12939         (insertInset):
12940         (workAreaButtonRelease): layout as string
12941
12942         * BufferView2.C (unlockInset): adjust
12943
12944         * vspace.C (asLatexCommand): use an explict temp variable.
12945
12946 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12947
12948         * Makefile.am: use FRONTEND_*
12949
12950 2002-03-01  Juergen Vigna  <jug@sad.it>
12951
12952         * tabular.C (SetWidthOfMulticolCell): changed to something better
12953         I hope but still work in progress.
12954         (recalculateMulticolumnsOfColumn): renamed function from
12955         recalculateMulticolCells as it is more appropriate now.
12956         (SetWidthOfCell): calculate multicols better.
12957
12958 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12959
12960         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12961
12962         * lyxfunc.C (processKeySym): print sequence also if it is
12963         `deleted' (complete)
12964
12965         * kbsequence.C (print): print sequence even if it is deleted
12966         (complete would be a better word, actually).
12967
12968         * lyxfunc.C (dispatch): print complete options after a prefix key
12969
12970         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12971
12972 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12973
12974         * text2.C (setCharFont): eliminate setCharFont code duplication.
12975
12976 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12977
12978         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12979         LFUN_TABULAR_FEATURE (bug #177)
12980
12981 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12982
12983         * Makefile.am: remove figure.h
12984
12985 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12986
12987         * Bufferview_pimpl.C:
12988         * CutAndPasteC:
12989         * LaTeX.C:
12990         * LyXSendto.C:
12991         * buffer.C:
12992         * bufferlist.C:
12993         * converter.C:
12994         * language.C:
12995         * lyxfunc.C:
12996         * lyxvc.C:
12997         * paragraph.C:
12998         * text.C:
12999         * text2.C: remove #include "lyx_gui_misc.h".
13000
13001         * LaTeX.C: added #include <cstdio>
13002
13003 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13004
13005         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13006         that the paragraph following this one can have.
13007
13008         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13009
13010         * vspace.C (asLatexCommand): fix bogus gcc warning
13011
13012         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13013
13014 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13015
13016         * text2.C (setLayout): get rid of redundant code
13017
13018 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13019
13020         * text2.C (incDepth): make sure depth cannot be increased beyond
13021         reasonable values.
13022
13023 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13024
13025         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13026         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13027
13028         * PainterBase.h (image):
13029         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13030         a LyXImage const *.
13031
13032 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13033
13034         * BufferView.C:
13035         * BufferView.h:
13036         * BufferView_pimpl.C:
13037         * BufferView_pimpl.h:
13038         * LaTeXFeatures.C:
13039         * LyXAction.C:
13040         * LyXView.C:
13041         * Makefile.am:
13042         * UpdateList.h:
13043         * UpdateList.C:
13044         * buffer.C:
13045         * figure.h:
13046         * figureForm.C:
13047         * figureForm.h:
13048         * figure_form.C:
13049         * figure_form.h:
13050         * lyx_cb.C:
13051         * lyx_gui.C:
13052         * lyx_gui_misc.C:
13053         * lyxfunc.C:
13054         * sp_base.h:
13055         * sp_ispell.h:
13056         * sp_pspell.h:
13057         * sp_spell.C: remove fig inset, and the crap house of
13058           cards that follows it
13059
13060 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13061
13062         * Makefile.am:
13063         * lyxserver.C:
13064         * os2_defines.h:
13065         * os2_errortable.h:
13066         * nt_defines.h: move .h into support/
13067
13068         * vms_defines.h: remove
13069
13070         * WorkArea.C: add space in debug output
13071
13072         * text2.C:
13073         * paragraph.C:
13074         * buffer.C: add WITH_WARNINGS
13075
13076         * vc-backend.h:
13077         * vc-backend.C:
13078         * bufferlist.C: s/retrive/retrieve/, add docs
13079
13080         * vspace.h:
13081         * vspace.C:
13082         * kbmap.h:
13083         * lyxlength.h:
13084         * lyxgluelength.h:
13085         * length_common.h:
13086         * chset.h:
13087         * chset.C: add docs
13088
13089         * lyxgui.C: add ID to X error handler
13090
13091         * lyxtestclass.c: fix typo
13092
13093 2002-02-26  Juergen Vigna  <jug@sad.it>
13094
13095         * tabular_funcs.C (write_attribute): changed so that some default
13096         attributes are not written at all.
13097         (getTokenValue): set default values before trying to read the
13098         value so we have the return value always set as default if we don't
13099         find the token we search for.
13100
13101         * tabular.C (Write): write bools as bools not as strings!
13102
13103 2002-02-22  Juergen Vigna  <jug@sad.it>
13104
13105         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13106         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13107
13108         * text.C (leftMargin): don't add an indent for paragraphs inside
13109         tabular cells (fix #208).
13110
13111 2002-02-21  José Matos  <jamatos@fep.up.pt>
13112
13113         * tabular.C (docBook): fixed support for long tables.
13114
13115 2002-02-20  Juergen Vigna  <jug@sad.it>
13116
13117         * text2.C (getFont): get the drawing font of the Inset if this
13118         paragraph is inside an inset (only important for InsetERT for now).
13119
13120         * buffer.C (insertErtContents): use new lanugage params in ERT
13121         constructor.
13122
13123         * CutAndPaste.C: commenting out seemingly uneeded code.
13124
13125 2002-02-19  Allan Rae  <rae@lyx.org>
13126
13127         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13128         Iterators might be simple to use but they also get invalidated.
13129         (removeAutoInsets): renamed saved cursor tracking variables and added
13130         some comments to clarify what everything does.
13131
13132 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13133
13134         * Chktex.C:
13135         * LaTeX.C:
13136         * LyXSendto.C:
13137         * converter.C:
13138         * lyx_cb.C:
13139         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13140         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13141
13142         * lyxfunc.C:
13143         * vc-backend.h: remove #include "support/syscall.h"
13144
13145         * LaTeX.C:
13146         * LyXSendto.C:
13147         * converter.C: rearrange #includes in Lars' approved fashion.
13148
13149         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13150         forward declare class Timeout in the header file.
13151
13152         * XFormsView.C: changes due to the above.
13153
13154         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13155         similar to LyXView.
13156
13157         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13158         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13159
13160 2002-02-18  José Matos  <jamatos@fep.up.pt>
13161
13162         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13163         insets contents.
13164
13165 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13166
13167         * a lot of small ws changes
13168         * add a lot of using std::XXX
13169         * use std construcs some places where approp.
13170         * use some exisint stuff from lyxfunctional where approp.
13171         * Make file changes to use partial linking (lets test this now...)
13172
13173 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13174
13175         * Chktex.C:
13176         * buffer.C:
13177         remove #include "support/syscontr.h" as it's redundant. Always has been.
13178
13179         * Chktex.C:
13180         * LaTeX.C:
13181         * LyXSendto.C:
13182         * converter.C:
13183         * lyx_cb.C:
13184         * vc-backend.C:
13185         change Systemcalls::System to Systemcalls::Wait and
13186         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13187         No change of functionality, just reflects the stripped down Systemcalls
13188         class.
13189
13190 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13191
13192         * debug.[Ch]: add a GRAPHICS type to the enum.
13193
13194 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13195
13196         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13197
13198         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13199         there is an inset.
13200
13201 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13202
13203         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13204         match the changes below.
13205
13206         * text2.C (toggleInset): if there is not editable inset at cursor
13207         position, try to see if cursor is _inside_ a collapsable inset
13208         and close it.
13209
13210 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13211
13212         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13213         document menu has a nice checkbox
13214
13215 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13216
13217         * lyxlength.C (asLatexString): change PW to output as percent of
13218         \textwidth.
13219
13220         * lengthcommon.C: change '%' to 't%'
13221
13222         * lyxfunc.C (dispatch): a few comments from Martin
13223
13224 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13225
13226         * WorkArea.h:
13227         * WorkArea.C:
13228         * BufferView_pimpl.h:
13229         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13230           the X selection.
13231
13232 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13233
13234         * vspace.C (inPixels): fix compiler warning
13235
13236 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13237
13238         * lyxfunc.C (getStatus): fix status message for disabled commands.
13239
13240 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13241
13242         * BufferView_pimpl.C: fix crash on close buffer
13243         during selection (#227)
13244
13245 2002-01-27  Herbert Voss  <voss@lyx.org>
13246
13247         * buffer.C: link old Figure to new graphic inset
13248
13249 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13250
13251         * FontLoader.C (getFontinfo): Change the latex font names in order
13252         to match the names of type1inst.
13253
13254 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13255
13256         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13257
13258         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13259         (extchanged): ditto
13260         (ext_exist): ditto
13261         (remove_files_with_extension): ditto
13262         (remove_file): ditto
13263         (write): ditto
13264
13265         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13266         document is smaller than the work area height. Do not initialize
13267         static variables to 0.
13268
13269 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13270
13271         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13272
13273         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13274         LFUN_LAYOUT_PARAGRAPHS.
13275
13276         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13277         tabular. It is possible to provide a possible cell, which will
13278         typically be the actcell from the corresponding insettabular
13279
13280         * lyxfunc.C (getStatus): small cleanup; disable
13281         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13282         true
13283
13284 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13285
13286         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13287
13288         * paragraph.C (startTeXParParams):
13289         (endTeXParParams): new methods. The LaTeX code to
13290         start/end paragraph formatting
13291         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13292         empty (fixes bug #200)
13293
13294         * vspace.C (inPixels): adapt to the change below
13295         (inPixels): [later] more cleanups (remove unused variables)
13296
13297         * lyxlength.C (inPixels): change to use a width and a height as
13298         parameter.
13299
13300 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13301
13302         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13303         Replaced with \paperwidth
13304
13305         * DepTable.C (insert): add std:: qualifier
13306
13307 2002-01-18  Allan Rae  <rae@lyx.org>
13308
13309         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13310         updated also?
13311
13312         * text.C (drawInset): Turned out I didn't know enough about how
13313         rebreaking worked.  This fixes most of the redraw problems.  I see
13314         an occasional cursor trail when a line is broken now and the cursor
13315         placement can seem out by a few pixels also after a rebreak.
13316
13317 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13318
13319         * buffer.C (parseSingleLyXformat2Token): update because minipage
13320         width is now a LyXLength
13321
13322         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13323
13324         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13325         math insets
13326
13327 2002-01-17  Juergen Vigna  <jug@sad.it>
13328
13329         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13330
13331         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13332         is set correctly and the inset is updated correctly.
13333
13334 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13335
13336         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13337         the beginning of the loop.
13338
13339 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13340
13341         * lyxrc.C: improve help for use_scalable_fonts
13342
13343 2002-01-17  Allan Rae  <rae@lyx.org>
13344
13345         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13346
13347 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13348
13349         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13350         make sure to set their inset_owner to the right value (bug #171)
13351
13352 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13353
13354         * DepTable.h
13355         * DepTable.C: Implement mtime checking to reduce time spent doing
13356         CRCs.
13357
13358 2002-01-16  Juergen Vigna  <jug@sad.it>
13359
13360         * tabular.C (GetAdditionalHeight): one of error fixed.
13361
13362         * lyxrc.C (output): small fix in writing use_pspell.
13363
13364 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13365
13366         * sp_base.h: #include LString.h
13367
13368 2002-01-16  Allan Rae  <rae@lyx.org>
13369
13370         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13371         Can someone check this please?
13372
13373         * text.C (drawInset): It was possible that p.row would be removed by
13374         breakAgainOneRow upsetting a few other settings.  There may be another
13375         small tweak possible by setting need_break_row = 0 when p.row has been
13376         removed but I don't know enough about the logic here.
13377
13378 2002-01-15  Allan Rae  <rae@lyx.org>
13379
13380         * text.C (insertChar): removed conditional truism.
13381
13382         * BufferView2.C (removeAutoInsets): More tweaks.
13383         cur_par_prev could be a stray pointer.  Check for trailing empty line
13384         in case last line was cur_par and only had an error inset on it.
13385
13386 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13387
13388         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13389         absolute
13390
13391         * vc-backend.C (most methods):
13392         * exporter.C (Export):
13393         * converter.C (convert):
13394         (runLaTeX):
13395         * LyXSendto.C (SendtoApplyCB):
13396         * lyxfunc.C (dispatch):
13397         (menuNew):
13398         (open):
13399         (doImport):
13400         * lyx_cb.C (AutoSave):
13401         (InsertAsciiFile):
13402         * BufferView_pimpl.C (MenuInsertLyXFile):
13403         * buffer.C (runChktex): use Buffer::filePath().
13404
13405         * buffer.h: rename filename to filename_; rename filepath to
13406         filepath_ and make it private
13407         (filePath): new method
13408
13409         * buffer.C (writeFile): use fileName()
13410         (getLatexName):
13411
13412         * lyx_main.C (init): fix starting  of LyX when the binary is a
13413         link from so,ewhere else.
13414
13415         * minibuffer.C: include <cctype> for isprint
13416
13417 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13418
13419         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13420         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13421         name clash with InsetCollapsable's width function.
13422
13423 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13424
13425         * lastfiles.C: include <iterator>
13426
13427 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13428
13429         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13430         std::count.
13431
13432         * buffer.C (makeLaTeXFile): ditto.
13433         Also make loop operation more transparent.
13434
13435 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13436
13437         * ToolbarDefaults.C: remove trailing comma closing namespace.
13438
13439         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13440
13441         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13442         as in WorkArea.
13443
13444         * trans.C (Load): comment out unused variable, allowed.
13445
13446 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13447
13448         * minibuffer.[Ch] (append_char): new method to recieve input from the
13449         drop-down completion browser. If a key was pressed, then recieve this
13450         char and append it to the existing string.
13451         (peek_event): modify the positioning data passed to the completion
13452         browser so that it can be placed above the minibuffer rather than below.
13453 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13454
13455         * LyXAction.C (init): alloe error-next for readonly documents.
13456
13457         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13458         count.
13459
13460 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13461
13462         * bufferlist.C (readFile): create the buffer _after_ checking that
13463         the file exists.
13464
13465         * lyxfunc.C (verboseDispatch): fix handling of arguments
13466
13467         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13468
13469         * lyxrc.C: use string::erase() instead of initializing to "".
13470
13471
13472 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13473
13474         * BufferView_pimpl.h:
13475         * BufferView_pimpl.C:
13476         * WorkArea.h:
13477         * WorkArea.C:
13478         * text2.C: tell X when we have made a selection for copying
13479
13480 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13481
13482         * BufferView_pimpl.C (MenuInsertLyXFile):
13483         * lyxfunc.C (menuNew):
13484         (open):
13485         (doImport): add shortcuts to directory buttons
13486
13487         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13488         open a float)
13489
13490         * lyxfunc.C (setStatusMessage):
13491         (getStatusMessage): new methods
13492         (getStatus):use setStatusMessage instead of setErrorMessage
13493         (dispatch): when function is disabled, set error message here
13494         [instead of in getStatus previously]
13495
13496         * BufferView_pimpl.C (workAreaButtonRelease): update
13497         toolbar/menubar here too.
13498
13499 2002-01-13  Allan Rae  <rae@lyx.org>
13500
13501         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13502         Now seems indestructible.  Remaining task is to audit all other
13503         code affected by deleteEmptyParagraphMechanism.  One small quirk
13504         left is that an empty document with an error in the preamble can
13505         be made to report an error but no error box appears.  I don't know
13506         where it goes.
13507         (removeAutoInsets): Improved comments.
13508
13509 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13510
13511         * Thesaurus.h:
13512         * Thesaurus.C: update for Aiksaurus 0.14
13513
13514 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13515
13516         * text2.C (firstParagraph): removed member function, all uses
13517         replaces with ownerParagraph
13518         (redoParagraphs): here
13519         (updateInset): here
13520         (toggleAppendix): here
13521         * BufferView2.C (insertErrors): here
13522         (setCursorFromRow): here
13523
13524 2002-01-13  Allan Rae  <rae@lyx.org>
13525
13526         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13527         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13528         There is still a way to segfault this although you may have to do this
13529         multiple times: Have an InsetERT with an unknown command in it.
13530         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13531         <down-arrow>, <Enter> again, View->DVI, BANG!
13532
13533         * text2.C (setCursor):
13534         (deleteEmptyParagraphMechanism):
13535         * lyxtext.h (setCursor):
13536         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13537         Making use of the return value may help fix other bugs.
13538
13539 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13540
13541         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13542
13543         * LyXView.C (updateMenubar): call MenuBar::update here
13544         (updateToolbar): but not here
13545         (showState): do not update toolbar/menubar
13546
13547         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13548         should need to care about that.
13549
13550         * lyxfunc.C (verboseDispatch): simplify a bit
13551         (getStatus): have a version which takes a pseudoaction, and
13552         another which requires a (kb_action,string).
13553
13554         * LyXAction.C (retrieveActionArg): make it work also when action
13555         is not a pseudo-action.
13556         (getActionName): simplify a bit
13557         (helpText):
13558
13559 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13560
13561         * lyxfunc.C (verboseDispatch): new families of methods with
13562         several ways to specify a command and a bool to indicate whether
13563         the command name and shortcut should be displayed in minibuffer
13564         (eventually, we could extend that to a finer bitmask like
13565         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13566         (dispatch): the pristine dispatch command which just, well,
13567         dispatchs! Note it still sets its result to minibuffer; I'm not
13568         sure we want that.
13569
13570         * lyxfunc.h: remove setHintMessage
13571
13572         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13573
13574 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13575
13576         * BufferView_pimpl.C (specialChar): delete new inset if we have
13577         not been able to insert it.
13578
13579         * kbmap.C: revert to using int instead of kb_action, since all we
13580         are dealing with is pseudo-actions.
13581
13582         * LyXAction.C (searchActionArg): change to return int instead of
13583         kb_action, since the result is a pseudoaction.
13584
13585 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13586
13587         * buffer.C (insertErtContents): Fix (partially) the font bug.
13588
13589 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13590
13591         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13592         as the other one is broken on my machine!
13593
13594 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13595
13596         * commandtags.h:
13597         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13598
13599 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13600
13601         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13602         reflect their actual use. Provide compatibility code for older lyxrc
13603         files.
13604
13605         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13606         FL_NORMAL_STYLE.
13607         change names of popup font variables in line with the changes to lyxrc.C
13608
13609 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13610
13611         * buffer.C (asciiParagraph): avoid outputing a word twice after
13612         an inset.
13613
13614         * lyxrc.C (getDescription): document that document_path and
13615         template_path can be empty.
13616
13617 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13618
13619         * LaTeXFeatures.C (getMacros):
13620         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13621
13622         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13623
13624         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13625         getPackages.
13626         (getPackages): rename feature "floats" to "float". Use an array to
13627         iterate over 'simple' features (i.e. just a \usepackage). Add
13628         handling of "amsmath" (renamed from "amsstyle").
13629
13630 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13631
13632         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13633         features list.
13634
13635 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13636
13637         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13638         FuncStaus::FuncStatus & FuncStaus::some_method().
13639
13640 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13641
13642         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13643         of the func_satus stuff. Edited and massaged in various ways by
13644         JMarc.
13645
13646         * lyxfunc.C (getStatus): use FuncStatus
13647
13648 2002-01-08  Juergen Vigna  <jug@sad.it>
13649
13650         * text.C (nextBreakPoint): use function Inset::isChar().
13651
13652         * paragraph.C (TeXOnePar): use function
13653         Inset::forceDefaultParagraphs.
13654
13655         * buffer.C (latexParagraphs): use function
13656         Inset::forceDefaultParagraphs.
13657
13658 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13659
13660         * lyx_gui.C (init): set the style of the menu popups to
13661         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13662
13663 2002-01-07  Juergen Vigna  <jug@sad.it>
13664
13665         * text.C (setHeightOfRow): small fix
13666         (prepareToPrint): don't look at alignment if we don't have the place
13667         for doing it.
13668
13669 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13670
13671         * box.C: New file. Move the Box methods and functions out of box.h,
13672         following Lars' suggestion.
13673
13674 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13675
13676         * box.h: #include "support/LOstream.h", needed for inlined function.
13677
13678         * lyxtextclass.C:
13679         * lyxtextclasslist.C: added some using std declarations.
13680
13681 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13682
13683         * box.h: make signed dimensions to allow insets wider than
13684           the screen (bug #162)
13685
13686         * BufferView_pimpl.C: add some insetHit debug
13687
13688 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13689
13690         * vc-backend.C: add FIXME
13691
13692 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13693
13694         * lyxfunc.C (getStatus): enable code for showing math font status
13695         in toolbar/menu.
13696
13697 2002-01-07  Juergen Vigna  <jug@sad.it>
13698
13699         * text.C (nextBreakPoint): removed debug output not needed anymore.
13700
13701 2002-01-06  Juergen Vigna  <jug@sad.it>
13702
13703         * text.C (nextBreakPoint): fixed up this function we had this bug
13704         since ever but now hopefully we break row better.
13705         (insertChar): we have to check if an inset is the next char as it
13706         could now happen that a large inset is causing a break.
13707
13708 2002-01-05  Juergen Vigna  <jug@sad.it>
13709
13710         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13711         if it doesn't like to be drawed.
13712
13713 2002-01-04  Juergen Vigna  <jug@sad.it>
13714
13715         * BufferView2.C (lockInset): forgot to set a cursor.
13716
13717         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13718
13719 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13720
13721         * FormMathsPanel.C:
13722         * FormMathsPanel.h
13723         * MathsSymbols.C:
13724         * form_maths_panel.C:
13725         * form_maths_panel.h:
13726         * form_maths_panel.fd: implemented sub- and super- buttons in math
13727         panel.
13728
13729         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13730         (or ^ space) to be used as in TeX (req'd by André).
13731
13732         * lyxfunc.C: Allow ^ and _ again to be used both as
13733         super/subscript (mathed) and as themselves (in text).
13734
13735 2002-01-03  Allan Rae  <rae@lyx.org>
13736
13737         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13738         "LyX" or the filename of the current buffer if it has one.  This is a
13739         modified form of John Levon's patch.
13740
13741         * XFormsView.C (setWindowTitle): also set icon title.
13742
13743         * LyXView.h (setWindowTitle): signature changed.
13744         * XFormsView.h (setWindowTitle): ditto.
13745
13746 2002-01-02  Juergen Vigna  <jug@sad.it>
13747
13748         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13749
13750 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13751
13752         * screen.C (topCursorVisible): introduce a temp var for
13753         text->cursor.row(), handle the case where this row is null. (kindo
13754         hachish)
13755
13756         * text2.C (setCursor): add a couple of asserts.
13757
13758         * paragraph.h (inset_iterator): add -> operator
13759
13760         * paragraph.[Ch] (autoDeleteInsets): remove member function
13761
13762         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13763         cursor pos correctly and handle inset deletion by itself.
13764         (insertErrors): move iterator declaration out of for expression
13765
13766         * lyxtextclass.C: add <algorithm>
13767
13768         * Makefile.am: added the new files to sources, removed layout.C
13769
13770         * layout.C: removed file
13771
13772         * layout.h: remove LYX_DUMMY_LAYOUT
13773
13774         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13775         layout.
13776
13777         * lyxlayout.[Ch]:
13778         * lyxtextclass.[Ch]:
13779         * lyxtextclasslist.[Ch]: new files
13780
13781         * include order changes to a lot of files, also changes because of
13782         the six new files.
13783
13784 2001-12-27  Juergen Vigna  <jug@sad.it>
13785
13786         * buffer.C (asciiParagraph): more fixes.
13787
13788         * tabular.C (ascii): make ascii export support export of only the
13789         data separated by a column-delimiter.
13790         (ascii): better support for ascii export.
13791
13792         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13793
13794 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13795
13796         * tabular_funcs.C: use a "using std::getline" instead of the
13797         previous fix from Angus (necessary for cxx + lyxstring)
13798
13799 2001-12-24  Juergen Vigna  <jug@sad.it>
13800
13801         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13802
13803         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13804         problems. First check a minipage also if we have some ert-contents
13805         (not only on par->size(), second set the right depth of the paragraph
13806         on the relink to the root-paragraph-list!
13807
13808         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13809         which then did not anymore update the main paragraphs on undo/redo!
13810
13811 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13812
13813         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13814         code. Support all font-changing funcs (even those which are not in
13815         menu currently). Support for reporting font settings in
13816         mathed (disabled until Andre provides a function on mathed's side).
13817
13818         * func_status.h (toggle): small helper function to set toggle
13819         state on a flag.
13820
13821 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13822
13823         * tabular_funcs.C: getline -> std::getline
13824
13825 2001-12-21  Juergen Vigna  <jug@sad.it>
13826
13827         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13828         accessed and could be 0 (I couldn't generate this but it seems
13829         Michael could!).
13830
13831 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13832
13833         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13834         * tabular_funcs.h: here and include iosfwd
13835
13836 2001-12-20  Juergen Vigna  <jug@sad.it>
13837
13838         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13839         inside inset but undo_par was.
13840
13841 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13842
13843         * Thesaurus.C: always include <config.h> in sources.
13844
13845         * Painter.h:
13846         * lyxlookup.h:
13847         * box.h: do not include <config.h> in header files
13848
13849         * text.C (paintLastRow): remove unused variable
13850
13851         * text.C (transformChar):
13852         (insertChar):
13853         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13854
13855         * Painter.C (text):
13856         * font.C (width): rewrite to use uppercase() instead of
13857         islower/toupper.
13858
13859         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13860
13861 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13862
13863         * lyxfind.C: clean up of find failure position change
13864
13865 2001-12-20  Juergen Vigna  <jug@sad.it>
13866
13867         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13868
13869         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13870         (TeXRow): added to LaTeX a single tabular row.
13871         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13872         (Latex): simplified and finally good LT-h/f support.
13873         (various_functions): just small adaptions for LT-h/f support.
13874
13875         * tabular_funcs.[hC]: added and moved here all not classfunctions
13876         of LyXTabular.
13877
13878 2001-12-19  Juergen Vigna  <jug@sad.it>
13879
13880         * tabular.[Ch]: better support for longtabular options (not finished
13881         yet!)
13882
13883 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13884
13885         * text.C (paintLastRow): use the label font instead of the font of
13886         the last character to compute the size of *_BOX. This makes more
13887         sense and avoids a crash with empty paragraphs.
13888         Use Painter::rectangle to draw EMPTY_BOX.
13889
13890 2001-12-19  Juergen Vigna  <jug@sad.it>
13891
13892         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13893         the paragraphs if the replaced paragraph is not the first one!
13894         Tried to delete not used paragraphs but does not work yet so for
13895         now it's inside #ifdef's and by default off!
13896
13897 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13898
13899         * MenuBackend.C: include "lyx_main.h" instead of declaring
13900         lastfiles (actually was declared as LastFiles* instead of a
13901         scoped_ptr).
13902
13903 2001-12-17  Juergen Vigna  <jug@sad.it>
13904
13905         * tabular.C (AppendColumn): applied John's fix
13906
13907 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13908
13909         * BufferView.h:
13910         * BufferView.C:
13911         * BufferView_pimpl.h:
13912         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13913
13914         * Makefile.am:
13915         * box.h: new start of class for above
13916
13917         * lyxfunc.C: ignore space-only minibuffer dispatches.
13918           Show the command name when it doesn't exist
13919
13920         * minibuffer.C: don't add empty lines to the history
13921
13922         * minibuffer.C: add a space on dropdown completion
13923
13924 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13925
13926         * text.C: fix line above/below drawing in insets
13927
13928 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13929
13930         * lyxlength.C (LyXLength): Initialize private variables.
13931
13932 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13933
13934         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13935         when inserting error insets.
13936
13937 2001-12-13  Juergen Vigna  <jug@sad.it>
13938
13939         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13940         actually sometimes the before-paragraph.
13941         (setUndo): don't clear the redostack if we're not actually undoing!
13942
13943 2001-12-06  Juergen Vigna  <jug@sad.it>
13944
13945         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13946         and fixed redoing of main paragraph, so we can use it now ;)
13947
13948         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13949
13950 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13951
13952         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13953         Juergen's request
13954
13955 2001-12-13  André Pönitz <poenitz@gmx.net>
13956
13957         * undostack.[Ch]:
13958         * undo_func.C: minor cleanup
13959
13960 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13961
13962         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13963         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13964         font in urw-fonts package which is marked as -urw-fontspecific and
13965         does not work (incidentally, changing the encoding in the
13966         fonts.dir of this package to -adobe-fontspecific fixes the
13967         problem).
13968
13969         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13970         is a crash when undoing first paragraph (Juergen, please take a
13971         look). THis does not mean the undo fix is wrong, just that it
13972         uncovers problems.
13973
13974         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13975         the (Paragraph*) version when needed instead of duplicating the
13976         code.
13977
13978         * text.C (workWidth): use Inset::parOwner to find out where the
13979         inset has been inserted. This is a huge performance gain for large
13980         documents with lots of insets. If Inset::parOwner is not set, fall
13981         back on the brute force method
13982
13983         * paragraph_pimpl.C (insertInset):
13984         * paragraph.C (Paragraph):
13985         (cutIntoMinibuffer): set parOwner of insets when
13986         inserting/removing them
13987
13988         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13989
13990 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13991
13992         * commandtags.h:
13993         * LyXAction.C:
13994         * lyx_main.C:
13995         * lyxfunc.C:
13996         * mathed/formulabase.C:
13997         * mathed/math_cursor.[Ch]:
13998         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13999
14000
14001 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14002
14003         * lyxlength.[Ch] (operator!=): new function
14004
14005 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14006
14007         * text.C (workWidth): use Inset::parOwner to find out where the
14008         inset has been inserted. This is a huge performance gain for large
14009         documents with lots of insets. If Inset::parOwner is not set, fall
14010         back on the brute force method
14011
14012         * paragraph_pimpl.C (insertInset):
14013         * paragraph.C (Paragraph):
14014         (cutIntoMinibuffer): set parOwner of insets when
14015         inserting/removing them
14016
14017         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14018
14019 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14020
14021         * tabular-old.C (getTokenValue):
14022         * tabular.C (getTokenValue):
14023         (write_attribute): new versions for LyXLength
14024         (everywhere): adjust the use of widths
14025
14026         * tabular.h: change the type of widths from string to LyXLength
14027
14028 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14029
14030         * paragraph.C: fixed missing line number count when exporting
14031         Environments to LaTeX file
14032
14033         * buffer.C: added informational message for checking line numbers.
14034
14035 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14036
14037         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14038         paragraph, do the 'double space' part, but not the 'empty
14039         paragraph' one.
14040
14041         * text.C (workWidth): small optimization
14042         (getLengthMarkerHeight): use minimal size for negative lengths.
14043
14044 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14045
14046         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14047
14048         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14049
14050 2001-12-11  André Pönitz <poenitz@gmx.net>
14051
14052         * FontLoader.C:
14053         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14054
14055 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14056
14057         * text2.C: keep selection on a setFont()
14058
14059 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14060
14061         * lyx_cb.C: another bv->text misuse, from insert label
14062
14063 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14064
14065         * kbsequence.h:
14066         * kbsequence.C: re-instate nmodifier mask
14067
14068 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14069
14070         * lyx_main.h: make lyxGUI private.
14071
14072 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14073
14074         * lyxfind.C: place the cursor correctly on failed search
14075
14076 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14077
14078         * text.C (getLengthMarkerHeight): for small heights, the arrows
14079         are not always on top/bottom of the text
14080         (drawLengthMarker): smaller arrows; take the left margin in
14081         account; draw also vfills.
14082         (paintFirstRow):
14083         (paintLastRow): remove special code for vfill and standard spaces,
14084         since everything is handled in drawLengthMarker now.
14085
14086 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14087
14088         * buffer.C (insertErtContents): try to handle font and language
14089         interaction a bit better.g
14090
14091         * ColorHandler.C (updateColor): change the hash to cover the whole
14092         LColor enum, ws cleanup
14093         (getGCLinepars): ditto
14094         (getGCLinepars): only lookup in the linecache once.
14095
14096 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14097
14098         * iterators.C (operator++): Make the iterator more robust
14099
14100         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14101         (John's patch)
14102         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14103
14104 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14105
14106         * lyxtext.h:
14107         * text.C: better added space drawing
14108
14109 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14110
14111         * LyXView.C:
14112         * BufferView2.C: fix layout combo update on inset unlock
14113
14114 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14115
14116         * Makefile.am: don't compile unused files
14117
14118 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14119
14120         * lyxfunc.C:
14121         * commandtags.h:
14122         * LyXAction.C: remove old LFUN_LAYOUTNO
14123
14124 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14125
14126         * paragraph_pimpl.h:
14127         * paragraph_pimpl.C: isTextAt() doesn't need font param
14128
14129 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14130
14131         * lyxlex.h:
14132         * lyxlex.C: little cleanup
14133
14134 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14135
14136         * BufferView_pimpl.C: fix insertAscii for insets
14137
14138 2001-12-05  Juergen Vigna  <jug@sad.it>
14139
14140         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14141         set the right font on the "multi" paragraph paste!
14142
14143 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14144
14145         * trans_decl.h:
14146         * trans_mgr.[Ch]:
14147         * trans.[Ch]:
14148         * lyxgluelength.C:
14149         * lyxlength.C: remove out-commented code.
14150
14151         * BufferView_pimpl:
14152         * CutAndPaste.C:
14153         * DepTable.C:
14154         * buffer.C:
14155         * chset.C:
14156         * lastfiles.C:
14157         * lyxlex.C:
14158         * lyxlex_pimpl.C:
14159         * lyxserver.C:
14160         * screen.C:
14161         * tabular-old.C:
14162         * tabular.C:
14163         * text.C:
14164         * trans_mgr.C:
14165         * vc-backend.C: change "while(" to "while ("
14166
14167         * lyxlength.[Ch]: add zero function to check if length is zero or
14168         not
14169         * lyxgluelength.C: use it
14170
14171 2001-12-05  Allan Rae  <rae@lyx.org>
14172
14173         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14174         Works for 2.95.3, from what I understand of Garst's reports this should
14175         work for other g++ versions.  We're screwed if the abs(int) definition
14176         changed between bugfix releases of gcc.
14177
14178 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14179
14180         * text.C: fix chapter label offset !
14181
14182 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14183
14184         * lyxtext.h:
14185         * text.C: fix hfill at end of line, clean up
14186
14187 2001-12-04  Juergen Vigna  <jug@sad.it>
14188
14189         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14190         that we force an update of the inset and it's owners if neccessary.
14191
14192 2001-12-03  Juergen Vigna  <jug@sad.it>
14193
14194         * text.C (rowLast): simplified code
14195
14196 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14197
14198         * lyxfunc.C: fix show options on timeout
14199
14200 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14201
14202         * screen.C (topCursorVisible): scroll half a page when the cursor
14203         reached top of bottom of screen
14204
14205 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14206
14207         * minibuffer.C: deactivate on loss of focus
14208
14209 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14210
14211         * vspace.[Ch] (operator!=): add operator.
14212
14213 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14214
14215         * BufferView_pimpl.C: refuse to open an inset when
14216         there's a selection.
14217
14218 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14219
14220         * BufferView_pimpl.C: allow to click on RHS of full row insets
14221
14222 2001-11-30  Juergen Vigna  <jug@sad.it>
14223
14224         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14225         insets for undo reasons.
14226
14227 2001-11-28  André Pönitz <poenitz@gmx.net>
14228
14229         * vspace.[Ch]: cosmetical changes
14230
14231 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14232
14233         * LyXAction.h:
14234         * LyXAction.C:
14235         * lyxfunc.h:
14236         * lyxfunc.C:
14237         * kbmap.h:
14238         * kbmap.C:
14239         * lyxrc.C:
14240         * kbsequence.h:
14241         * kbsequence.C: part re-write of old kb code
14242
14243         * Painter.C:
14244         * WorkArea.C: remove Lgb_bug_find_hack
14245
14246 2001-11-30  José Matos <jamatos@fep.up.pt>
14247
14248         * buffer.C (makeDocBookFile): add a comment to point a hack.
14249         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14250         Fixed a double write of labels.
14251
14252 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14253
14254         * LaTeX.C:
14255         * LaTeX.h Fixed bug in LaTeX class where it would not
14256         re-run latex if no depfiles were changed, but the .dvi was removed.
14257
14258 2001-11-28  André Pönitz <poenitz@gmx.net>
14259
14260         * all the files from the change on 2001/11/26:
14261         use lyx::layout_type instead of LyXTextClass::size_type
14262         use lyx::textclass_type instead of LyXTextClassList::size_type
14263
14264 2001-11-29  Juergen Vigna  <jug@sad.it>
14265
14266         * text.C: added support for paragraph::isFreeSpacing()
14267
14268         * buffer.C: same as above
14269
14270         * paragraph.h: inserted isFreeSpacing() function to enable
14271         FreeSpacing inside InsetERT.
14272
14273         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14274         of the paragraph's in the cut/copy buffer to 0!
14275
14276         * text2.C (removeRow): remove the assert as it can!
14277
14278         * lyxtext.h: added helper function firstRow returning firstrow and
14279         made firstrow private again.
14280
14281         * BufferView2.C (lockInset): don't relock if we're already locked!
14282
14283         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14284         the only paragraph.
14285         (removeRow): added Assert::(firstrow)
14286
14287         * debug.C: forgot to add INSETTEXT here.
14288
14289 2001-11-28  Juergen Vigna  <jug@sad.it>
14290
14291         * sp_spell.C (initialize): changed error text to more general
14292         spellchecker command use (not only ispell!)
14293
14294         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14295
14296         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14297
14298 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14299
14300         * vspace.C: initialise lyxgluelength on failure
14301
14302 2001-11-28  Allan Rae  <rae@lyx.org>
14303
14304         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14305         declaration & definition that looks like a function declaration.
14306
14307 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14308
14309         * BufferView2.C (copy):
14310         (copyEnvironment): do not clear the selection when doing a copy.
14311
14312         * text.C (paintFirstRow): compilation fix
14313
14314 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14315
14316         * tabular.C (Latex): correct line count when writing latex.
14317
14318 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14319
14320         * paragraph_pimpl.h:
14321         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14322           bug a bit
14323
14324 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14325
14326         * text.C:
14327         * LColor.h:
14328         * LColor.C: change vfillline->added_space
14329
14330         * text.C: add markers and text for added space
14331
14332         * vspace.C: fix comment
14333
14334 2001-11-28  André Pönitz <poenitz@gmx.net>
14335
14336         * paragraph.C: whitespace changes
14337         * all the other files from the change on 2001/11/26:
14338         change *::pos_type into lyx::pos_type
14339
14340 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14341
14342         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14343         language of the document when inserting error insets.
14344
14345 2001-11-26  André Pönitz <poenitz@gmx.net>
14346
14347         * BufferView_pimpl.[Ch]:
14348         *       CutAndPaste.C:
14349         * buffer.[Ch]:
14350         * lyxcursor.[Ch]:
14351         * lyxfind.C:
14352         * lyxfunc.C:
14353         * lyxrow.[Ch]:
14354         * paragraph.[Ch]:
14355         * paragraph_pimpl.[Ch]:
14356         * sp_spell.C:
14357         * text.C:
14358         * text2.C: reduce header dependencies, introduce type for positions
14359
14360 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14361
14362         * <various>: change to use Alert.h
14363
14364 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14365
14366         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14367         when encountering an unknown token.
14368         (readLyXformat2): Show an error message if there were unknown tokens.
14369
14370 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14371
14372         * BufferView2.C:
14373         * BufferView_pimpl.C:
14374         * buffer.C:
14375         * paragraph.h:
14376         * text.C:
14377         * text2.C: use par->isInset()
14378
14379 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14380
14381         * paragraph_pimpl.h:
14382         * paragraph_pimpl.C: cleanup
14383
14384 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14385
14386         * text2.C (removeRow):
14387         * text.C (setHeightOfRow): remove useless (and costly) call to
14388         getRow.
14389
14390 2001-11-20  Allan Rae  <rae@lyx.org>
14391
14392         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14393         Now need Inset*::checkInsertChar() to return true for appropriate
14394         cases so that the characters in the minibuffer will actually be
14395         inserted.
14396
14397 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14398
14399         * text.C: change the order of the includes.
14400         (workWidth): initialize it at once.
14401         (workWidth): make maxw unsigned
14402         (setHeightOfRow): remove unused variable (inset)
14403         (selectSelectedWord): remove unused variable (inset)
14404         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14405
14406 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14407
14408         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14409         server is not running.
14410         (openConnection):
14411         (closeConnection): add debug info when server is disabled.
14412
14413         * ColorHandler.C (getGCForeground): send debug message to GUI
14414         channel.
14415
14416         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14417
14418         * kbmap.C (bind): modify because return conventions of
14419         kb_sequence::parse have changed.
14420
14421         * kbsequence.C (parse): only ignore spaces and not any stupid
14422         control character. This avoids tests like s[i] <= ' ', which are
14423         guaranteed to fail with 8bit characters and signed chars.
14424         Change return code to string::npos when there have been no error
14425         (0 was a bad idea when error is at first character)
14426
14427 2001-11-14  José Matos  <jamatos@fep.up.pt>
14428
14429         * buffer.h:
14430         * buffer.C (simpleDocBookOnePar): removed unused argument.
14431
14432 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14433
14434         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14435         insets which are part of a word. Paragraph::isLetter takes care of
14436         that now. Use Paragraph::isInset to identify insets.
14437         (selectSelectedWord): do not test for hyphenation break.
14438
14439         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14440         that protected spaces are considered as spaces.
14441
14442         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14443         Inset::isLetter.
14444
14445 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14446
14447         * lyxserver.h:
14448         * lyxserver.C: fix it. and small cleanup.
14449
14450 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14451
14452         * BufferView_pimpl.C: use inline helpers
14453
14454         * LaTeXFeatures.h:
14455         * LaTeXFeatures.C: fix typos
14456
14457         * Spacing.h:
14458         * Spacing.C: move spacing_string into class
14459
14460         * ToolbarDefaults.C: move stuff into namespace anon
14461
14462         * layout.h: update enum
14463
14464         * lyxfunc.C: use better debug
14465
14466         * minibuffer.h: fix typo
14467
14468         * debug.h:
14469         * debug.C:
14470         * WorkArea.C: add and use Debug::WORKAREA
14471
14472         * lyxtext.h:
14473         * text.C:
14474         * text2.C: code re-organisation, inline helpers
14475
14476 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14477
14478         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14479         std::vector.empty().
14480
14481 2001-11-09  Allan Rae  <rae@lyx.org>
14482
14483         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14484         '\n's after tables.  Tabular and ERT inset work now makes this no
14485         longer necessary.
14486
14487 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14488
14489         * minibuffer.h:
14490         * minibuffer.C: fix crash, improve drop-down completion
14491
14492 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14493
14494         * lyxserver.h:
14495         * lyxserver.C: invalidate fd's when doing endPipe()
14496
14497 2001-11-08  José Matos  <jamatos@fep.up.pt>
14498
14499         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14500         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14501
14502         * paragraph.h:
14503         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14504
14505 2001-11-07  José Matos  <jamatos@fep.up.pt>
14506
14507         * buffer.h:
14508         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14509         const qualifier.
14510
14511         * buffer.C (sgmlOpenTag):
14512         * buffer.C (sgmlCloseTag): removed debug info.
14513
14514         * buffer.h (sgmlOpenTag):
14515         * buffer.h (sgmlCloseTag): made public.
14516
14517 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14518
14519         * buffer.C (saveParamsAsDefaults):
14520         * lyx_cb.C (MenuLayoutSave): remove
14521
14522         * LyXAction.C (init):
14523         * commandtags.h:
14524         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14525
14526 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14527
14528         * buffer.C (setPaperStuff): removed from here...
14529
14530         * bufferparams.C (setPaperStuff): ... and moved there.
14531
14532 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14533
14534         * minibuffer.h:
14535         * minibuffer.C:
14536         * XFormsView.C: add support for drop-down completion
14537
14538 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14539
14540         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14541         commands.
14542
14543 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14544
14545         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14546         disabled.
14547
14548 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14549
14550         * lyx_main.C: change ref to known bugs
14551
14552 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14553
14554         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14555         to work around older babel problems.
14556
14557 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14558
14559         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14560
14561 2001-10-24  Juergen Vigna  <jug@sad.it>
14562
14563         * tabular-old.C (ReadOld): below variable changes reflected.
14564
14565         * tabular.[Ch]: added ltType struct for longtable header/footer
14566         defines and changed all instances where they are used. Added
14567         future support for double top/bottom rows.
14568
14569 2001-10-24  José Matos  <jamatos@fep.up.pt>
14570
14571         * buffer.h (docbookHandleCaption):
14572         * buffer.C (docbookHandleCaption): removed unused function.
14573         (makeDocBookFile): moved docbook supported version to v4.1.
14574
14575 2001-10-24  José Matos  <jamatos@fep.up.pt>
14576
14577         * tabular.h:
14578         * tabular.C (docbookRow): new function to export docbook code of a row.
14579         (DocBook): now honors the longtable flags.
14580
14581 2001-10-23  José Matos  <jamatos@fep.up.pt>
14582
14583         * LaTeXFeatures.h:
14584         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14585         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14586
14587         * buffer.C (makeLinuxDocFile):
14588         (makeDocBookFile): reworked the preamble, more clean, and with
14589         support for lyx defined entities. Changed the document declaration
14590         to be more XML friendly.
14591
14592         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14593         if we need to output XML that should be done with a filter.
14594
14595 2001-10-22  Juergen Vigna  <jug@sad.it>
14596
14597         * sp_pspell.h (class PSpell): add alive function needed in the
14598         controller to see if the spellchecker could be started.
14599
14600 2001-10-22  Juergen Vigna  <jug@sad.it>
14601
14602         * buffer.C (insertStringAsLines): modify the font for inserting
14603         chars in certain conditions by calling checkInsertChar(font).
14604
14605 2001-10-19  Juergen Vigna  <jug@sad.it>
14606
14607         * text.C (workWidth): use getRow instead of wrong algorithm.
14608         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14609
14610 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14611
14612         * lyxserver.h:
14613         * lyxserver.C:
14614         * lyx_main.h:
14615         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14616
14617 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14618
14619         * text.C (workWidth): do not search for the exact row when
14620         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14621         optimization for big documents.
14622
14623 2001-10-18  Juergen Vigna  <jug@sad.it>
14624
14625         * text.C (workWidth): new function with added Inset * parameter.
14626
14627 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14628
14629         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14630
14631         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14632         change return type of getColumnNearX.
14633
14634
14635         * text.C (changeRegionCase): use uppercase/lowercase instead of
14636         toupper/tolower.
14637         (leftMargin):
14638         (rightMargin): simplify code by factoring out the uses of
14639         textclasslist.
14640         (labelFill):
14641         (numberOfHfills):
14642         (setHeightOfRow):
14643         (appendParagraph): use Paragraph::size_type
14644
14645 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14646
14647         * vspace.C (asLatexString): add a missing break
14648
14649 2001-10-15  Herbert Voss  <voss@perce.de>
14650
14651         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14652
14653 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14654
14655         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14656         is not available.
14657
14658 2001-10-10  André Pönitz <poenitz@gmx.net>
14659
14660         * lyxfunc.C: removed greek_kb_flag.
14661
14662 2001-10-10  Herbert Voss  <voss@perce.de>
14663
14664         * lyx_main.C: delete global string help_lyxdir.
14665
14666 2001-10-09  Herbert Voss  <voss@perce.de>
14667
14668         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14669
14670         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14671
14672         * lyx_main.C: added global string help_lyxdir.
14673
14674         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14675
14676 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14677
14678         * lyxrc.C (set_font_norm_type): support iso8859-4
14679
14680 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14681
14682         * LaTeX.C (deplog): add another regex for MikTeX
14683
14684 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14685
14686         * lyxrc.C (set_font_norm_type): support iso8859-3
14687
14688 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14689
14690         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14691
14692         * LaTeXFeatures.C: remove special case of french and index
14693
14694         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14695         before \begin{document}). This solves several incompatibilities.
14696
14697 2001-10-03  Garst Reese  <reese@isn.net>
14698
14699         * lyx_cb.C: change CheckTex error msg.
14700
14701 2001-10-03  José Matos  <jamatos@fep.up.pt>
14702
14703         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14704
14705 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14706
14707         * .cvsignore: update
14708
14709         * lyx_main.C (commandLineVersionInfo): use new style version info.
14710
14711         * buffer.C (writeFile):
14712         (makeLaTeXFile):
14713         (makeLinuxDocFile):
14714         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14715
14716         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14717
14718         * version.h: update to use stuff in version.C
14719
14720         * version.C.in: new file. Contains version information determined
14721         at compile time. This is a merging of version.h and
14722         version_info.h.in.
14723
14724 2001-10-03  Juergen Vigna  <jug@sad.it>
14725
14726         * BufferView_pimpl.C (update): don't change "dirty" status in
14727         updateInset call.
14728
14729 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14730
14731         * WorkArea.C (c-tor): re-position version string slightly.
14732
14733 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14734
14735         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14736         revert to previous code.
14737
14738         WorkArea.[Ch]: (show, destroySplash): methods removed.
14739
14740         WorkArea.C: rework code so that it's an amalgam of the codes before and
14741         after the splash screen was moved to WorkArea.
14742
14743 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14744
14745         * lyxrc.C (read):
14746         * vspace.C (inPixels):
14747         (lyx_advance):
14748         * kbmap.C (bind):
14749         * buffer.C (insertStringAsLines):
14750         (asciiParagraph): fix types to be large enough
14751
14752         * lyxlex_pimpl.h: change member status from short to int
14753
14754         * layout.h: fix type of endlabeltype
14755
14756         * kbmap.C (bind):
14757         * kbsequence.C (parse): change return type to string::size_type
14758
14759         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14760         variable
14761
14762         * Bullet.C (bulletSize):
14763         (bulletEntry): do not use short ints as parameters
14764
14765         * BufferView2.C (insertLyXFile): change a char to an int.
14766
14767         * WorkArea.C (WorkArea): remove unneeded floats in computation
14768
14769 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14770
14771         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14772
14773         * paragraph.C (asString): Do not ignore newline/hfill chars when
14774         copying to the clipboard.
14775
14776 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14777
14778         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14779         after a multi-line inset.
14780
14781 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14782
14783         * paragraph.C (validate): Set NeedLyXFootnoteCode
14784
14785 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14786
14787         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14788         and decrease-error to decrease.
14789
14790 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14791
14792         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14793         it more readable (should be equivalent)
14794
14795 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14796
14797         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14798
14799 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14800
14801         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14802         of a cursor (row, etc.) after a character has been deleted
14803         (deleteEmptyParagraphMechanism): call the method above on _all_
14804         cursors held by the LyXText when a double space has been
14805         detected/deleted.
14806
14807 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14808
14809         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14810         pixmap.
14811         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14812
14813         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14814         background. Use greyOut() and the new show() methods to toggle between
14815         the foreground and background. Add code to remove the splash after
14816         its initial showing.
14817
14818         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14819         (create_forms): no longer call Dialogs::showSplash.
14820
14821 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14822
14823         * .cvsignore: add version_info.h
14824
14825 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14826
14827         * version_info.h.in: new file
14828
14829         * Makefile.am: add version_info.h.in
14830
14831         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14832         version_info.h instead of VERSION_INFO
14833
14834 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14835
14836         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14837         The ERT inset now returns string().
14838
14839 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14840
14841         * lyxtext.h, text.C (selectNextWord): renamed as
14842         selectNextWordToSpellcheck.
14843
14844         * text.C (selectNextWordToSpellcheck): Modified to not select
14845         words inside an ERT inset.
14846
14847 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14848
14849         * lyx_cb.C (MenuLayoutSave): change a bit the question
14850
14851         * sp_base.h: include <sys/types.h>
14852
14853 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14854
14855         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14856
14857 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14858
14859         * several files: fix typos in user-visible strings
14860
14861 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14862
14863         * text2.C (pasteSelection): do not set the selection, since it
14864         will be cleared later. Actually, the intent was to fix the way the
14865         selection was set, but I figured rmoving the code was just as good.
14866
14867 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14868
14869         * FontLoader.C (available): Check if font is available without
14870         loading the font.
14871
14872 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14873
14874         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14875
14876 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14877
14878         * lyxrc.[Ch]: added display_graphics variable and associated code.
14879
14880 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14881
14882         * bufferparams.C (hasClassDefaults): new method. Returns true if
14883         the buffer parameters correspond to known class defaults
14884
14885 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14886
14887         * XFormsView.C (show): set minimum size to the main window.
14888
14889 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14890
14891         * text2.C (copySelection):
14892         (cutSelection):
14893         * lyxfind.C (LyXReplace):
14894         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14895         LyXText::selectionAsString.
14896
14897         * paragraph.C (asString): add "label" argument to the second form
14898
14899         * text2.C (selectionAsString): add "label" argument and pass it to
14900         Paragraph::asString.
14901
14902 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14903
14904         * lyx_main.C (commandLineHelp): remove version information
14905
14906 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14907
14908         * lyx_main.C: add -version commandline option
14909
14910 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14911
14912         * paragraph.h: make the optional constructor arg required instead.
14913         some modifications to other files because of this.
14914
14915         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14916
14917         * lyxserver.C (C_LyXComm_callback): make it static
14918
14919         * lyx_main.C (error_handler): make it static
14920
14921         * lyx_gui.C (LyX_XErrHandler): make it static
14922
14923         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14924
14925         * WorkArea.C: make the extern "C" methods static.
14926
14927         * Makefile.am (lyx_LDADD): simplify
14928
14929 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14930
14931         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14932         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14933
14934         * LyXAction.C (init):
14935         * lyxfunc.C (dispatch): associated code removal.
14936
14937 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14938
14939         * lyxfont.h (isSymbolFont): shut off warning
14940
14941         * text.C (setHeightOfRow):
14942         (getVisibleRow): fix crash with empty paragraphs which have a
14943         bottom line
14944
14945 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14946
14947         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14948         code.
14949
14950 2001-09-04  José Matos  <jamatos@fep.up.pt>
14951         * buffer.C
14952         * buffer.h
14953         * tabular.C (docbook): rename docBook method to docbook.
14954
14955 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14956
14957         * Makefile.am: add dependencies to main.o.
14958
14959 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14960
14961         * FontLoader.C (available): Return false if !lyxrc.use_gui
14962
14963 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14964
14965         * FontInfo.C (query):
14966         * converter.C (view):
14967         * importer.C (Import):
14968         * exporter.C (Export): Can not -> cannot.
14969
14970 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14971
14972         * BufferView_pimpl.C: allow to create index inset even if
14973           string is empty
14974
14975 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14976
14977         * buffer.C (getLists): replace boost::tie code with an explicit pair
14978         as boost::tie can break some compilers.
14979
14980         * iterators.h: Added a std:: declaration to the return type of
14981         ParIterator::size.
14982
14983 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14984
14985         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14986           case.
14987
14988 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14989
14990         * iterators.[Ch]: New files. Provide paragraph iterators.
14991
14992         * buffer.C (changeLanguage): Use paragraph iterators.
14993         (isMultiLingual): ditto
14994
14995         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14996
14997 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14998
14999         * FontLoader.C: Support for cmr font.
15000
15001 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15002
15003         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15004         (available): New method.
15005
15006         * FontInfo.C (getFontname): Use scalable fonts even when
15007         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15008         found.
15009
15010 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15011
15012         * converter.C (Formats::view): reverted! Incorrect fix.
15013
15014 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15015
15016         * converter.C (Formats::view): only output the -paper option
15017         if the dvi viewer is xdvi, thereby fixing bug #233429.
15018
15019 2001-08-23  Herbert Voss  <voss@perce>
15020
15021         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15022
15023 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15024
15025         * Spacing.h (Spacing): Set space to Default on in the default
15026         constructor.
15027
15028 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15029
15030         * vc-backend.h (RCS::versionString): add RCS to version
15031         (CVS::versionString): add CVS to version
15032
15033         * vc-backend.C (scanMaster): do not add CVS to version.
15034         (scanMaster): do not add RCS to version
15035
15036         * lyxvc.C (versionString): new method
15037
15038         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15039
15040 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15041
15042         * Spacing.C (set): initialize fval
15043
15044 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15045
15046         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15047         " or \.
15048
15049 2001-08-16  Juergen Vigna  <jug@sad.it>
15050
15051         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15052
15053 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15054
15055         * BufferView_pimpl.C:
15056         * figureForm.C:
15057         * lyxtext.h:
15058         * text2.C: setParagraph takes linespacing now
15059
15060 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15061
15062         * LyxAction.C: add internal LFUN_CITATION_INSERT
15063
15064         * LyXView.C: actually apply fix
15065
15066         * bufferlist.C: fix open non-existent file
15067
15068         * lyxfind.C: fix indentation
15069
15070         * lyxfunc.C: remove unneeded assert, fix typo
15071
15072 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15073
15074         * MenuBackend.C: use "Floatname List"
15075
15076 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15077
15078         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15079         when converting LaTeX layout to insetERT.
15080         Generate a non-collapsed float when reading old float
15081
15082 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15083
15084         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15085         ERT insets.
15086
15087 2001-08-13  Juergen Vigna  <jug@sad.it>
15088
15089         * text.C (fill): return 0 instead of 20 as this seems to be the more
15090         correct value.
15091
15092 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15093
15094         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15095         lyxrc.font_norm.
15096
15097 2001-08-13  Juergen Vigna  <jug@sad.it>
15098
15099         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15100         casesensitive off.
15101         (SearchBackward): comment out the unlocking of the inset_owner this
15102         should not be needed!
15103
15104 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15105
15106         * Many files: Remove inherit_language, and add latex_language
15107
15108         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15109         collapsible insets.
15110
15111 2001-08-10  Juergen Vigna  <jug@sad.it>
15112
15113         * text.C (prepareToPrint): fixed hfill-width in draw!
15114
15115         * BufferView2.C (selectLastWord): save the selection cursor as this
15116         now is cleared in the function LyXText::clearSelection!
15117
15118 2001-08-08  Juergen Vigna  <jug@sad.it>
15119
15120         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15121         BACKSPACE type functions.
15122
15123         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15124         is only cutted from the document but not put in the cut-buffer, where
15125         still the old stuff should be.
15126
15127         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15128
15129         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15130
15131         * tabular.C (SetWidthOfCell): fixed special case where the width
15132         was not updated!
15133         (LeftLine): handle '|' in align_special.
15134         (RightLine): ditto
15135         (LeftAlreadyDrawed): ditto
15136         (SetWidthOfCell): ditto
15137
15138 2001-08-07  Juergen Vigna  <jug@sad.it>
15139
15140         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15141
15142 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15143
15144         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15145         * lyxlex.[hC]: ditto
15146
15147 2001-08-06  Juergen Vigna  <jug@sad.it>
15148
15149         * text.C (getVisibleRow): fix up row clearing a bit.
15150
15151 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15152
15153         * minibuffer.C: make sure the X server sees the changes in the input.
15154
15155 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15156
15157         * paragraph.C (getFont): split into...
15158         (getLabelFont): this
15159         (getLayoutFont): and this
15160         * paragraph_pimpl.C (realizeFont): calling this
15161
15162         * text2.C (getFont): split into...
15163         (getLayoutFont): this
15164         (getLabelFont): and this
15165         (realizeFont): all three calling this
15166
15167         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15168         files where used.
15169
15170 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15171
15172         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15173
15174 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15175
15176         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15177         layouts from the Quote inset insertion.
15178
15179 2001-08-03  Juergen Vigna  <jug@sad.it>
15180
15181         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15182
15183         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15184         only if status not is already CHANGED_IN_DRAW (second level).
15185
15186         * text.C (draw): don't set the need_break_row when inside an
15187         InsetText LyXText.
15188
15189 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15190
15191         * buffer.C (parseSingleLyXformat2Token): handle more latex
15192         conversion cases.
15193
15194         * bufferview_funcs.[hC]: change function names to
15195         begin with small char, adjust other files.
15196
15197 2001-08-02  André Pönitz <poenitz@gmx.net>
15198
15199         * lyxfunc.C:
15200         BufferView_pimpl.C: remove broken special code for math-greek
15201
15202 2001-08-02  Juergen Vigna  <jug@sad.it>
15203
15204         * BufferView_pimpl.C (update): redone this function so that we
15205         update the text again if there was a CHANGE_IN_DRAW.
15206
15207         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15208         (drawFromTo): added a new internal bool which is used by draw() and
15209         redraw() function.
15210         (general): some cursor drawing problems fixed.
15211
15212 2001-08-01  Juergen Vigna  <jug@sad.it>
15213
15214         * lyxfind.C (LyXFind): fixed
15215         (SearchForward): ditto
15216         (SearchBackward): ditto
15217
15218         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15219         spurius drawing of the cursor in the main area.
15220
15221         * text2.C (status): small fix which could lead to a segfault!
15222         (clearSelection): remove unneeded BufferView param.
15223
15224 2001-08-01  André Pönitz <poenitz@gmx.net>
15225
15226         * lyxfunc.C: small change due to changed mathed interface
15227
15228 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15229
15230         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15231
15232 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15233
15234         * lyxfunc.c: fail gracefully if file doesn't exist
15235
15236         * LyXSendto.C:
15237         * buffer.C:
15238         * lyxfunc.C:
15239         * BufferView_pimpl.C: IsDirWriteable() proto changed
15240
15241         * LyXView.C: fix updateWindowTitle() to store the last title
15242
15243 2001-07-31  Juergen Vigna  <jug@sad.it>
15244
15245         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15246         the font (wrong since using of Paragraph::highestFontInRange).
15247
15248         * paragraph.C (highestFontInRange): added a default_size parameter.
15249
15250         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15251         (setHeightOfRow): reformat
15252
15253 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15254
15255         * converter.[hC] + affected files: move to (inital-char)lowercase
15256         function names.
15257
15258         * ParagraphParameters.C (ParagraphParameters): remove commented code
15259
15260         * PainterBase.[Ch]: remove commented code
15261
15262         * LaTeXFeatures.h: add "bool floats" for float.sty
15263
15264         * LaTeXFeatures.C (LaTeXFeatures): init floats
15265         (require): handle float
15266         (getPackages): do it with floats
15267
15268 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15269
15270         * BufferView_pimpl.C (Dispatch): improve handling of
15271         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15272
15273         * commandtags.h: #include lyxfont.h here temporarily to avoid
15274         keybinding bug.
15275
15276         * bufferlist.h: include LString.h here.
15277
15278 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15279
15280         * text2.C (getStringToIndex): new method.
15281
15282 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15283
15284         * *: Reduced header file dependencies all over.
15285
15286 2001-07-30  Baruch Even  <baruch@lyx.org>
15287
15288         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15289
15290 2001-07-29  Baruch Even  <baruch@lyx.org>
15291
15292         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15293
15294 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15295
15296         * ParameterStruct.h (endif): add a default constructor to make
15297         sure that all variables is initialized.
15298
15299         * ParagraphParameters.C (ParagraphParameters): adjust
15300
15301 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15302
15303         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15304         index; also, check that there is something to index, and that it
15305         does not span over several paragraphs.
15306         (doubleClick): use WHOLE_WORD_STRICT for double click.
15307
15308         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15309
15310         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15311         scheme.
15312
15313 2001-07-26  Baruch Even  <baruch@lyx.org>
15314
15315         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15316         an InsetFig figure, backwards compatible reading of old figure code.
15317
15318 2001-07-27  Juergen Vigna  <jug@sad.it>
15319
15320         * text2.C: font.realize function adaption.
15321
15322         * text.C (draw): add a warnings lyxerr text if needed.
15323
15324         * layout.C: font.realize function adaption.
15325
15326         * language.C: add inherit_language and implement it's handlings
15327
15328         * bufferview_funcs.C (StyleReset): remove language parameter from
15329         font creation (should be language_inherit now).
15330
15331         * bufferparams.C (writeFile): handle ignore_language.
15332
15333         * paragraph.C (getFontSettings): the language has to be resolved
15334         otherwise we have problems in LyXFont!
15335
15336         * lyxfont.C (lyxWriteChanges): added document_language parameter
15337         (update): removed unneeded language parameter
15338
15339         * paragraph.C (validate): fixed wrong output of color-package when
15340         using interface colors for certain fonts in certain environments,
15341         which should not seen as that on the final output.
15342
15343 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15344
15345         * BufferView_pimpl.C:
15346         * Thesaurus.h:
15347         * Thesaurus.C:
15348         * Makefile.am:
15349         * commandtags.h:
15350         * LyXAction.C: add thesaurus support
15351
15352         * lyxfind.h:
15353         * lyxfind.C: add "once" parameter, for thesaurus, to not
15354           move to the next match
15355
15356 2001-07-26  Juergen Vigna  <jug@sad.it>
15357
15358         * lyxfont.C (realize): honor ignore_language too!
15359         (resolved): ditto.
15360
15361         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15362
15363         * text.C (draw): one place more for ignore_language to not draw
15364         itself!
15365
15366 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15367
15368         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15369
15370 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15371
15372         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15373         the minipage conversion problem.
15374
15375 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15376
15377         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15378         insert an inset.
15379
15380 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15381
15382         * BufferView.h: don't forward declare WorkArea
15383
15384         * BufferView.C: don't include WorkArea.h
15385
15386 2001-07-25  André Pönitz <poenitz@gmx.net>
15387
15388         * commandtags.h:
15389         * LyXAction.C:
15390         * lyxfunc.C:  new LFUN 'math-space'
15391
15392         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15393
15394 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15395
15396         * text2.C (toggleInset): call open/close
15397
15398 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15399
15400         * lyxfunc.C (dispatch): add debug for the disabled case
15401
15402         * font.C (buttonText): make similar to rectText
15403
15404         * buffer.C (readInset): comment out parsing of insetlist and
15405         insttheorem
15406
15407         * PainterBase.C (rectText): small correction
15408
15409         * BufferView_pimpl.C: comment out insettheorem and insetlist
15410         * LyXAction.C: ditto
15411         * commandtags.h: ditto
15412
15413 2001-07-24  Juergen Vigna  <jug@sad.it>
15414
15415         * text.C (draw): honor the ignore_language.
15416
15417         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15418
15419 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15420
15421         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15422         char inset.
15423
15424 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15425
15426         * lyxtext.h: remove unused (and unimplemented) methods
15427
15428 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15429
15430         * text.C (getVisibleRow): honor background color
15431
15432         * PainterBase.h:
15433         * Painter.h: remove default color argument for fillRectangle
15434
15435         * text.C (backgroundColor): new method
15436
15437 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15438
15439         * text.C (getVisibleRow): adjust
15440
15441         * font.[Ch] (rectText): new method, metrics
15442         (buttonText): new method, metrics
15443
15444         * PainterBase.[hC]: make rectText and buttonText always draw and take
15445         fewer paramteres.
15446
15447 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15448
15449         * ToolbarDefaults.C (read):
15450         * MenuBackend.C (read): allow escaping in all strings
15451
15452         * BufferView_pimpl.C (insertAndEditInset): new method.
15453         (Dispatch): use insertAndEditInset whenever appropriate.
15454
15455         * BufferView_pimpl.C (insertNote): removed
15456
15457         * BufferView_pimpl.C (smartQuote): new method, moved from
15458         BufferView; if an insetquote cannot be inserted, insert a '"'
15459         character instead.
15460
15461         * BufferView2.C: remove insertCorrectQuote();
15462
15463         * lyxfunc.C (getStatus): Add support for all remaingin
15464         inset-insert lfuns.
15465
15466         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15467
15468         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15469         command (necessary to pass " as parameter of self-insert.
15470
15471         * text.C (selectWordWhenUnderCursor):
15472         (selectWord): add word_location parameter
15473         (selectWordWhenUnderCursor): same + remove special code for word
15474         boundary.
15475         (selectNextWord): use kind() to guess type of insetspecialchar,
15476         not latex().
15477
15478         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15479         (insertErtContents): create ert insets as collapsed.
15480         (readInset): better compatibility code for Info inset.
15481
15482 2001-07-20  Juergen Vigna  <jug@sad.it>
15483
15484         * lyxfunc.C (dispatch): use always LyXFind now!
15485
15486         * text2.C (init): add a reinit flag so that the LyXText can be
15487         reinited instead of deleted and reallocated (used in InsetText).
15488
15489         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15490
15491         * text.C: ditto
15492
15493         * text2.C: ditto
15494
15495 2001-07-18  Juergen Vigna  <jug@sad.it>
15496
15497         * text.C (selectNextWord): handle insets inside inset by calling
15498         always the bv->text functions so that we can go up the_locking_inset!
15499
15500         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15501         in strange locations when inside an inset!
15502
15503         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15504         handling to include insets.
15505
15506         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15507
15508 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15509
15510         * LyXAction.C (init):
15511         * commandtags.h:
15512         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15513         LIGATURE_BREAK, since the name is so stupid.
15514
15515 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15516
15517         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15518         InsetInfos.
15519
15520         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15521
15522         * sp_form.[Ch]: remove.
15523
15524         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15525
15526         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15527         InsetInfo.
15528
15529         * src/buffer.C (readInset): ditto.
15530
15531 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15532
15533         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15534         menuSeparator(), endOfSentenceDot(), ldots() and
15535         hyphenationPoint(), which are therefore removed.
15536         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15537
15538         * LyXAction.C (init):
15539         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15540
15541         * paragraph.C (getWord): removed.
15542
15543         * BufferView_pimpl.C (Dispatch): use last word or selection for
15544         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15545
15546         * lyx_main.C (queryUserLyXDir): do not ask before creating
15547         user_dir, except if it has been named explicitely.
15548
15549 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15550
15551         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15552         a document of zero size.
15553
15554 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15555
15556         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15557         approriately in the c-tor and in require().
15558         (getPackages): output the appropriate LaTeX for natbib support.
15559
15560         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15561         variables "use_natbib" and "use_numerical_citations" when reading the
15562         LyX file.
15563         (readInset): read the various natbib cite commands.
15564         (validate): white-space change.
15565
15566         * bufferparams.[Ch]: new variables "bool use_natbib" and
15567         "bool use_numerical_citations".
15568         (writeFile): output them in the LyX file.
15569
15570 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15571
15572         * lyxfunc.C (getStatus): add support for all the inset insertion
15573         commands.
15574
15575         * text2.C (insertInset):
15576         * paragraph.C (insetAllowed):
15577         * BufferView_pimpl.C (insertInset): update to take in account the
15578         renaming of insertInsetAllowed
15579
15580         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15581
15582         * text2.C (getInset): new method. returns inset at cursor position.
15583
15584         * BufferView_pimpl.C (Dispatch): changes because of this.
15585
15586         * LyXAction.C (init): rename open-stuff to inset-toggle.
15587
15588         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15589
15590         * text2.C (toggleInset): renamed from openStuff; use
15591         Inset::open().
15592
15593 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15594
15595         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15596
15597         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15598
15599 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15600
15601         * buffer.C (readLyXformat2): Add filename to the error dialog
15602
15603 2001-07-18  Juergen Vigna  <jug@sad.it>
15604
15605         * tabular.C (GetCellNumber): put an assert here instead of the check!
15606
15607 2001-07-17  Juergen Vigna  <jug@sad.it>
15608
15609         * BufferView_pimpl.C (toggleSelection): adapted too.
15610
15611         * text.C (selectNextWord): adapted for use with insets.
15612         (selectSelectedWord): ditto
15613
15614 2001-07-17  Juergen Vigna  <jug@sad.it>
15615
15616         * sp_spell.C (PSpell): fix initialitation order.
15617
15618 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15619
15620         * paragraph.C: spacing
15621
15622 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15623
15624         * sp_spell.C: repair language selection for pspell
15625
15626 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15627
15628         * lyxfunc.h: change more methods to begin with lower char.
15629
15630 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15631
15632         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15633         for unknown layouts.
15634
15635 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15636
15637         * buffer.C (readLyXformat2): Generate an error dialog if there are
15638         unknown layouts.
15639
15640 2001-07-16  Juergen Vigna  <jug@sad.it>
15641
15642         * sp_spell.C: always compile ISpell part.
15643
15644         * lyxrc.C: added use_pspell entry and it's handling.
15645
15646 2001-07-13  Juergen Vigna  <jug@sad.it>
15647
15648         * sp_spell.C: removed double includes.
15649
15650 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15651
15652         Consistent use of Lsstream.h:
15653         * Lsstream.h: added using std::stringstream for consistencies sake.
15654
15655         * buffer.C: removed using std::stringstream
15656
15657         * lyxfont.C (stateText):
15658         * paragraph.C (asString):
15659         * text.C (selectNextWord, selectSelectedWord):
15660         * text2.C (setCounter):
15661         * vspace.C (asString, asLatexString):
15662         std::ostringstream -> ostringstream.
15663
15664 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15665
15666         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15667         * commandtags.h: add LFUN_HELP_ABOUTLYX
15668         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15669
15670 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15671
15672         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15673         cursorToggle()
15674         * lyx_gui_misc.C: remove spellchecker
15675         * lyxfunc.C: showSpellchecker
15676         * sp_base.h: added
15677         * sp_ispell.h: added
15678         * sp_pspell.h: added
15679         * sp_spell.C: added
15680         * sp_form.[Ch]: removed
15681         * spellchecker.[Ch]: removed
15682
15683 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15684
15685         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15686         is set.
15687         (simpleTeXSpecialChars): Simply print the input character without
15688         any special translation if pass_thru is set.
15689
15690         * layout.h: Added bool pass_thru to layout class for being able to
15691         implement pass through of a paragraph for Literate Programming.
15692
15693         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15694         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15695         * layout.C (Read): add "passthru" to list of layout tags and add
15696         code to set the pass_thru boolean when it is read.
15697
15698 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15699
15700         * trans_decl.h: remove allowed from KmodInfo
15701
15702         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15703         remove allowed code
15704         (Load): adjust
15705
15706         * paragraph_pimpl.C (erase): use boost::prior
15707
15708         * Painter.C (text): use data() instead of c_str() when length is
15709         also provided.
15710         * WorkArea.C (putClipboard): ditto
15711         * font.h (width): ditto
15712
15713         * BufferView2.C: use it-> instead of (*it). for iterators
15714         * texrow.C: ditto
15715         * paragraph_pimpl.C: ditto
15716         * paragraph.C: ditto
15717         * minibuffer.C: ditto
15718         * language.C: ditto
15719         * kbmap.C: ditto
15720         * encoding.C: ditto
15721         * counters.C: ditto
15722         * converter.C: ditto
15723         * chset.C: ditto
15724         * Variables.C: ditto
15725         * TextCache.C: ditto
15726         * MenuBackend.C: ditto
15727         * LyXAction.C: ditto
15728         * LColor.C: ditto
15729         * FloatList.C: ditto
15730         * DepTable.C: ditto
15731         * ColorHandler.C (LyXColorHandler): ditto
15732
15733 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15734
15735         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15736
15737         * text2.C (openStuff): reintroduce this method (which had been
15738         nuked in NEW_INSETS frenzy).
15739
15740         * lyxfunc.C (Dispatch): when an action has not been handled, use
15741         its name in the error message, not its number.
15742
15743         * paragraph.C (inInset): change method name to begin with lowercase.
15744
15745         * undo_funcs.C:
15746         * text2.C: updates because of this.
15747
15748 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15749
15750         * ToolbarDefaults.C (add): add spaces in error message
15751
15752 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15753
15754         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15755         (readLyXformat2): rename return_par to first_par, use lyxlex's
15756         pushToken and remove the manual push handling.
15757         (parseSingleLyXformat2Token): add another ert comp. variable:
15758         in_tabular, rename return_par to first_par. handle newlines better
15759
15760 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15761
15762         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15763
15764 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15765
15766         * text2.C (getParFromID): removed
15767
15768         * buffer.C (getParFromID): new method moved form lyxtext.
15769         * BufferView2.C (insertErrors): adjust
15770         (setCursorFromRow): adjust
15771         * BufferView_pimpl.C (restorePosition): adjust
15772         * lyxfunc.C (Dispatch): adjust
15773         * undo_funcs.C (textUndo): adjust
15774         (textRedo): adjust
15775         (textHandleUndo): adjust
15776         (textHandleUndo): adjust
15777
15778 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15779
15780         * buffer.C: up' the LYX_FORMAT
15781
15782         * lyxfont.h: turn NO_LATEX on as default
15783
15784         * buffer.C (insertErtContents): new methods of tex style compability.
15785         (parseSingleLyXformat2Token): use it several places.
15786         * tabular.C (OldFormatRead): and here
15787
15788 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15789
15790         * text2.C: remove some commented code.
15791         reindent file.
15792
15793         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15794         * trans.C: changes because of the above.
15795
15796 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15797
15798         * text2.C (setCounter): Fix counters bug with bibliography layout.
15799
15800 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15801
15802         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15803         own member functions
15804         (simpleTeXSpecialChars): ditto
15805
15806 2001-07-06  Juergen Vigna  <jug@sad.it>
15807
15808         * a lot of files: changed the access to LyXText::status and the
15809         call of undo-functions.
15810
15811         * undo.[Ch]: added a inset_id to the undo informations.
15812
15813         * undo_funcs.[Ch]: added and moved here all undo functions.
15814
15815         * lyxtext.h: give the status enum a weight, made status_ a private
15816         variable and made accessor functions for it, removed the whole bunch
15817         of undo-functions as they are now in their own file, make some
15818         functions publically available. Added function ownerParagraph with
15819         int parameter.
15820
15821         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15822         made InInset() a const function, added getParFromID() function.
15823
15824         * buffer.[Ch]: added const version for inset_iterator functions,
15825         added getInsetFromID() function.
15826
15827         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15828         changed undo functions for new version.
15829
15830 2001-07-05  Juergen Vigna  <jug@sad.it>
15831
15832         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15833         unknow mechanism does not call the proper constructor but only this
15834         one also if I request the other!?
15835
15836 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15837
15838         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15839
15840         * text2.C (LyXText): use initialization lists.
15841
15842         * lyxtext.h (Selection): initialize set_ and mark_
15843         (init): remove method
15844
15845 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15846
15847         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15848
15849 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15850
15851         * screen.[Ch]: change method names to begin with lowercase
15852
15853         * BufferView_pimpl.C (updateScrollbar): simplify further and
15854         hopefully make it a bit faster.
15855
15856 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15857
15858         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15859         calling directly xforms functions.
15860
15861         * Painter.C (Painter):
15862         * lyx_cb.C (MenuWrite):
15863         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15864         fl_display.
15865
15866         * lyx_gui.C: remove bogus guiruntime extern declaration.
15867
15868 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15869
15870         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15871         in NEW_INSETS
15872         (redoDrawingOfParagraph): ditto
15873         (redoParagraphs): ditto
15874         (cutSelection): don't create a object for CutAndPaste use the
15875         static method directly
15876         (pasteSelection): ditto
15877
15878         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15879         LyXview (+ rename)
15880
15881 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15882
15883         * modifications to some other files because of this.
15884
15885         * Makefile.am (lyx_SOURCES): add XFormsView
15886
15887         * XFormsView.[Ch]: new files
15888
15889         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15890         the main window. Move the gui dependent stuff to XFormsView
15891
15892 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15893
15894         * tabular.C (GetCellInset): update cur_cell also in the row/col
15895         version of this function.
15896
15897         * lyxfunc.C: no need to include figure_form.h here.
15898
15899         * FontLoader.h:
15900         * lyxfunc.h:
15901         * lyxscreen.h:
15902         * text2.C:
15903         * lyxvc.C: no need to include forms.h here.
15904
15905 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15906
15907         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15908
15909         * lyxfunc.C (Dispatch):
15910         * Spacing.C (set):
15911         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15912         constructor argument.
15913
15914 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15915
15916         * paragraph.C (Paragraph): dont't clear, and just set layout.
15917         (makeSameLayout): use params's copy contructor.
15918
15919         * ParagraphParameters.[Ch] (makeSame): delete method
15920
15921 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15922
15923         * Variables.[Ch]: fix indentation, rename set to isSet
15924
15925 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15926
15927         * lyxfunc.C (Dispatch): fix typo
15928
15929 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15930
15931         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15932         upper_bound.
15933
15934         * bufferlist.C: include assert.h for emergencyWrite().
15935
15936 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15937
15938         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15939           give up at last (bug #425202) !
15940
15941 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15942
15943         * lyx_gui_misc.C:
15944         * sp_form.h:
15945         * sp_form.C:
15946         * spellchecker.h:
15947         * spellchecker.C: strip spellchecker options and bring up
15948           preferences tab instead
15949
15950 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15951
15952         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15953         the istringstream constructor
15954
15955 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15956
15957         * paragraph.C (getLayout): fix return value
15958
15959         * paragraph.h: do not declare getLayout as inline.
15960
15961         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15962
15963 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15964
15965         * lyxcursor.h (operator<): new func
15966         (operator>): new func
15967         (operator>=): new func
15968         (operator<=): new func
15969
15970         * text.C (changeCase): use selection.start and selection.end
15971         (changeRegionCase): require from to be <= to. Require par to be a
15972         valid paragraph.
15973
15974         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15975
15976 2001-06-27  Juergen Vigna  <jug@sad.it>
15977
15978         * text.C (cursorLeftOneWord): changed to return the cursor and added
15979         overlay with BufferView * parameter which calls this one.
15980         (getWord): added
15981         (selectWord): use new getWord function.
15982         (changeCase): renamed from changeWordCase as and extended to work
15983         also on selections.
15984
15985         * lyxtext.h: added enum word_location
15986
15987         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15988         changeCase as this operates now also on selections.
15989
15990 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15991
15992         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15993
15994         * many files: send debug output to Debug::INFO instead of
15995         Debug::ANY.
15996
15997         * converter.C (View):
15998         (Convert):
15999         (Move): send debug output to Debug::FILES instead of console.
16000
16001 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16002
16003         * lyxfunc.C (getStatus): use func_status
16004
16005         * func_status.h: new header, describing the results of
16006         LyXFunc::getStatus;
16007
16008         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16009         LFUN_MATH_HALIGN.
16010
16011 2001-06-25  The LyX Project  <jug@sad.it>
16012
16013         * buffer.C (sgmlOpenTag):
16014         (sgmlCloseTag):
16015         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16016
16017 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16018
16019         * text2.C: remove some dead code
16020
16021         * tabular.C (GetCellInset): store the last cell checked (gotten)
16022
16023         * tabular.h: add the helper for the speedup
16024
16025         * lyxtext.h: remove some dead code
16026
16027 2001-06-26  The LyX Project  <Asger>
16028
16029         * paragraph.C: Change export to LaTeX of alignment to
16030         \begin{center} and family for better roundtrip work with reLyX.
16031
16032         * Tune the math drawing a bit.
16033
16034 2001-06-25  The LyX Project  <Asger>
16035
16036         * LColor.C (LColor): New color for math background. New color
16037         for buttons.
16038
16039 2001-06-25  The LyX Project  <jug@sad.it>
16040
16041         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16042
16043         * lyxfunc.C (Open):
16044         * bufferlist.C (newFile): do not restrict to files ending with
16045         .lyx
16046
16047         * BufferView_pimpl.C (MenuInsertLyXFile):
16048
16049 2001-06-24  The LyX Project  <jug@sad.it>
16050
16051         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16052         of compare_no_case
16053
16054 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16055
16056         * lyxtext.h: rename most methods to begin with a small char.
16057         Lots of changes because of this.
16058
16059         * paragraph.C (Paragraph): do not call fitToSize
16060         (erase): call Pimpl::erase
16061         (insertChar): call Pimpl::insertChar
16062         (insertInset): call Pipl::insertInset
16063         (breakParagraph): do not call fitToSize
16064         (breakParagraphConservative): do not call fitToSize
16065         (fitToSize): remove method
16066
16067         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16068
16069 2001-06-24  The LyX Project  <Asger>
16070
16071         * Fix Qt compilation^2
16072
16073 2001-06-24  The LyX Project  <jug@sad.it>
16074
16075         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16076         depthHook(getDepth()-1).
16077
16078         * paragraph.h:
16079         * ParagraphParameters.h:
16080         * ParameterStruct.h: change type of depth to unsigned int ==
16081         depth_type. Many adaptations to other files before of that.
16082
16083 2001-06-24  The LyX Project  <Asger>
16084
16085         * Fix Qt compilation.
16086
16087 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16088
16089         * paragraph.h: renamed several methods to begin with small letter.
16090         several changes to many parts of the code because of this.
16091
16092 2001-06-23  The LyX Project  <jug@sad.it>
16093
16094         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16095         rewritten to discard all double spaces when KeepEmpty is off
16096         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16097         to only handle newlines but not fiddle with spaces and friends.
16098
16099         * lyxfunc.C (MenuNew): when doing 'new from template', use
16100         template_path as default directory
16101
16102 2001-06-23  The LyX Project  <Asger>
16103
16104         * Clean-up of header file includes all over
16105         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16106
16107 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16108
16109         * paragraph.h: renamed from lyxparagraph.h
16110
16111 2001-06-23  Asger  <lyx@violet.home.sad.it>
16112
16113         * Buffer.h: Removed Buffer::resize
16114         * BufferList.h: Removed BufferList::resize
16115         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16116         the document lazily when we change the width, or the font settings.
16117
16118 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16119
16120         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16121
16122 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16123
16124         * buffer.h: remove out of date comment
16125
16126 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16127
16128         * lyxscreen.h:
16129         * screen.C: fix "theoretical" GC leak
16130
16131 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16132
16133         * LaTeX.C (scanAuxFile):
16134         (deplog): remove trailing \r when reading stream (useful under
16135         win32)
16136
16137 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16138
16139         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16140         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16141         and BufferView::theLockingInset(Inset*), so should use them and not
16142         access bv_->text->the_locking_inset directly.
16143
16144         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16145
16146 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16147
16148         * Makefile.am:
16149         * tex-defs.h: remove old unused file
16150
16151 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16152
16153         * BufferView_pimpl.C: fix typo, remove minibuffer message
16154           when buffer has loaded
16155
16156 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16157
16158         * lyxfunc.C (Dispatch): use stringstream
16159         (MenuNew): use stringstream
16160         (Open): use stringstream
16161
16162         * importer.C (Import): use stringstream
16163
16164         * bufferview_funcs.C (CurrentState): use stringstream
16165
16166         * LaTeX.C (run): use stringstream
16167
16168         * BufferView_pimpl.C (savePosition): use stringstream
16169         (restorePosition): use stringstream
16170         (MenuInsertLyXFile): use stringstream
16171
16172 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16173
16174         * BufferView.C:
16175         * Bullet.C:
16176         * ColorHandler.C:
16177         * FontInfo.C:
16178         * FontLoader.C:
16179         * LColor.C:
16180         * LaTeXFeatures.C:
16181         * Painter.C:
16182         * gettext.C:
16183         * lyx_gui_misc.C:
16184         * lyxserver.C:
16185         * vspace.C: removed // -*- C++ -*- as first line.
16186
16187         * lyxfind.h:
16188         * version.h: added // -*- C++ -*- as first line.
16189
16190 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16191
16192         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16193
16194         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16195         of string
16196
16197 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16198
16199         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16200         of floats.
16201
16202 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16203
16204         * gettext.C: include LString.h even when --disable-nls is on.
16205
16206 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16207
16208         * converter.h (Get): changed argument type from int to
16209         FormatList::size_type to avoid unnecessary conversion.
16210
16211         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16212         before using it.
16213
16214 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16215
16216         * gettext.h: include LString.h even when --disable-nls is on.
16217
16218 2001-06-07  Juergen Vigna  <jug@sad.it>
16219
16220         * text.C (BreakAgain): subst spaces with tabs.
16221
16222         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16223         (resizeInsetsLyXText): set force on resizeLyXText.
16224
16225 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16226
16227         * gettext.h (gettext_init):
16228         (locale_init): use a real definition instead of a macro
16229
16230 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16231
16232         * Bufferview_pimpl.C:
16233         * LColor.h:
16234         * LColor.C: further lcolor tidies
16235
16236 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16237
16238         * BufferView_pimpl.C (updateScrollbar): simplify.
16239
16240         * BufferView2.C: don't include insets/insetinfo.h, change
16241         prototype for insertInset and call the Pimpl version. let
16242         updateInset call Pimpl version.
16243
16244         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16245         gotoInset to BufferView::Pimpl
16246
16247 2001-06-01  Juergen Vigna  <jug@sad.it>
16248
16249         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16250         inside a LockingInset (is the update needed at all?).
16251
16252 2001-05-31  Juergen Vigna  <jug@sad.it>
16253
16254         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16255         here not the old one otherwise how should we compare it afterwards
16256         if it's the same!
16257
16258 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16259
16260         * lyxfont.C:
16261         * tabular.C:
16262         * tabular-old.C:
16263         * FontInfo.C: bring C functions into global namespace when
16264         necessary
16265
16266 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16267
16268         * LString.h: make sure config.h has been loaded before LString.h.
16269
16270         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16271         (one for each char read by EatLine!).
16272
16273         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16274         variables.
16275
16276 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16277
16278         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16279         to the same as the par we break from
16280
16281 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16282
16283         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16284
16285         * MenuBackend.C (expand): also create menu entries for wide
16286         versions of the floats.
16287
16288         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16289
16290         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16291
16292         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16293         frontends/Makefile.am
16294
16295         * text2.C: adjust
16296         * text.C: adjust
16297
16298
16299         * tabular.C (getTokenValue): add std::
16300
16301         * tabular-old.C (getTokenValue): add std::
16302         (getTokenValue): ditto
16303         (getTokenValue): ditto
16304
16305         * screen.C (ToggleSelection): adjust
16306
16307         * lyxtext.h: put selection cursors inside a Selection struct.
16308
16309         * lyxfunc.C (moveCursorUpdate): adjust
16310
16311         * lyxfont.C (latexWriteStartChanges): add std::
16312
16313         * lyxfind.C: adjust
16314
16315         * font.h: delete with(char const *, LyXFont const &)
16316
16317         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16318
16319         * FontInfo.C (getFontname): add std::
16320
16321         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16322         (workAreaButtonPress): adjust
16323         (tripleClick): adjust
16324         (update): adjust
16325         (moveCursorUpdate): adjust
16326         (Dispatch): adjust
16327
16328         * BufferView2.C (gotoInset): adjust
16329
16330 2001-05-30  Juergen Vigna  <jug@sad.it>
16331
16332         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16333         to check pspell I add this as default as I now have new pspell
16334         libraries and they seem to use this.
16335
16336 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16337
16338         * text2.C (CutSelection): make the cursor valid before the call to
16339         ClearSelection.
16340
16341 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16342
16343         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16344         relied on 0 terminated strings and other horrors. Bug found due to
16345         the new assert in lyxstring!
16346
16347         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16348         KP_ keys.
16349
16350 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16351
16352         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16353         to latinkeys.bind.
16354
16355         * lyxfunc.C (processKeySym): change method of getting to the
16356         self-insert char.
16357
16358         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16359         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16360         * BufferView_pimpl.[Ch]: here as private methods.
16361
16362 2001-05-28  Juergen Vigna  <jug@sad.it>
16363
16364         * text.C (SetHeightOfRow): added the update() call again as it is
16365         needed to initialize inset dimensions!
16366
16367 2001-05-16  Juergen Vigna  <jug@sad.it>
16368
16369         * text2.C (SetCharFont): Add new function with BufferView * and
16370         bool toggleall parameters for setting insets internal fonts.
16371         (SetFont): Freeze the undo as we may change fonts in Insets and
16372         all this change should be inside only one Undo!
16373
16374         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16375         setting font's in insets as for them we have the SetFont function!
16376
16377 2001-05-15  Juergen Vigna  <jug@sad.it>
16378
16379         * text2.C (ClearSelection): to be sure we REALLY don't have any
16380         selection anymore!
16381
16382         * tabular.C (TeXCellPreamble): fixed the left border problem for
16383         multicolumn cells.
16384
16385 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16386
16387         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16388         dependancy file
16389
16390 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16391
16392         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16393         LFUN_BREAKPARAGRAPH.
16394
16395         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16396         help test to "internal only", similar for LFUN_INSERT_URL
16397
16398         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16399         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16400         auto_region_delete and deadkeys.
16401
16402 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16403
16404         * LColor.h:
16405         * LColor.C: remove some dead entries, tidy a little
16406
16407 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16408
16409         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16410         commented code.
16411         (Dispatch): implement LFUN_ESCAPE
16412
16413         * commandtags.h: add LFUN_ESCAPE
16414
16415         * LyXAction.C (init): add entry for LFUN_ESCAPE
16416
16417         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16418         Remove commented code.
16419         (insertNote): moved here
16420         (open_new_inset): moved here
16421
16422         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16423         BufferView_pimpl
16424
16425 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16426
16427         * kbmap.C (findbinding): clean it up and make it work correctly.
16428
16429         * lyx_main.C (init): do not pass argc and argv as parameters
16430
16431 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16432
16433         * buffer.C: fix path for OS/2 & Win32
16434
16435         * lyx_gui.C:
16436         * lyx_main:
16437         * lyx_main.C: Added os:: class.
16438
16439         * os2_defines.h: update
16440
16441 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16442
16443         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16444         better by trying again with reduced state.
16445
16446 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16447
16448         * lyxrc.C (read): print error about invalid key sequence only when
16449         debugging (because not all latinX keysyms are known to some X
16450         servers)
16451
16452         * kbsequence.C (getiso): add a few std:: qualifiers
16453         (getiso): comment out extra return statement.
16454
16455 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16456
16457         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16458         handling.
16459         (Dispatch): enhance the accent inset a bit. (not perfect)
16460
16461 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16462
16463         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16464
16465 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16466
16467         * bufferlist.C (emergencyWrite): fix assert() call
16468
16469 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16470
16471         * text.C (InsertChar): Added trivial patch to only send the "you
16472         can not do multiple spaces this way" message once during a
16473         session.
16474
16475 2001-05-08  Baruch Even  <baruch@lyx.org>
16476
16477         * Makefile.am: Changed order of libraries to get LyX to link properly
16478         with the gnome frontend.
16479
16480 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16481
16482         * LaTeXFeatures.h: add a std:: qualifier
16483
16484 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16485
16486         * paragraph.C (String): use stringstream
16487
16488 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16489
16490         * paragraph.C (writeFile): remove footflag arg
16491
16492         * buffer.C (makeLaTeXFile): use stringstream
16493         (latexParagraphs): remove footnot gurba
16494
16495         * LaTeXFeatures.C (getPackages): use stringstream
16496         (getMacros): likewise
16497         (getTClassPreamble): likewise
16498         (getFloatDefinitions): new method
16499
16500         * paragraph.C (writeFile): reindent
16501         (Erase): reindent
16502
16503         * WorkArea.h: revert the xpos + etc changes.
16504
16505         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16506
16507         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16508
16509         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16510         (pasteSelection): likewise
16511         * text2.C (CreateUndo): likewise
16512
16513 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16514
16515         * minibuffer.C (peek_event): temporarily reduce the functionality
16516         of the minibuffer (to allow args on lfuns)
16517
16518         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16519         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16520
16521         * buffer.C (readInset): add compability reading of old float
16522         lists, add reading of new style float list.
16523         (readInset): avoid reevaluation of inscmd.getCmdName()
16524         (getLists): reindent
16525
16526         * MenuBackend.C (MenuItem): implement parsing of
16527         md_floatlistinsert and md_floatinsert.
16528         (expand::LastFiles): move initalizaton of iterators out of loop,
16529         avoid reevaluation.
16530         (expand::Documents): introduce typdedef vector<string> Strings,
16531         and use it.
16532         (expand::ExportFormats): introduce typedef vector<Format const *>
16533         Formats, and use it.
16534         (expand): implement FloatListInsert and FloatInsert.
16535
16536         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16537         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16538         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16539
16540         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16541         handling.
16542         (Dispatch::LFUN_FLOAT_LIST): implement
16543
16544 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16545
16546         * LaTeX.C (run): Fix problem with --export code.
16547
16548 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16549
16550         * BufferView.[Ch] (workarea): removed.
16551         (getClipboard) new method; wrapper for workarea()->getClipboard()
16552
16553         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16554         bug.
16555
16556         * WorkArea.h (width, height, xpos, ypos): These methods all
16557         returned the dimensions of the work_area sub-area of WorkArea,
16558         resulting in a position error if the WorkArea were resized. Now
16559         return the dimensions of the entire WorkArea.
16560
16561         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16562
16563 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16564
16565         * LaTeX.C (deplog): correct the syntax of regex reg1
16566
16567 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16568
16569         * undo.C: remove !NEW_INSETS cruft
16570
16571 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16572
16573         * text2.C: remove !NEW_INSETS cruft
16574
16575         * text.C: remove !NEW_INSETS cruft
16576
16577         * tabular.C: remove !NEW_INSETS cruft
16578
16579         * spellchecker.C: remove !NEW_INSETS cruft
16580
16581         * lyxtext.h: remove !NEW_INSETS cruft
16582
16583         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16584
16585         * lyxfunc.C: remove !NEW_INSETS cruft
16586
16587         * lyxfind.C: remove !NEW_INSETS cruft
16588
16589         * lyx_cb.C: remove !NEW_INSETS cruft
16590
16591         * figureForm.C: remove  !NEW_INSETS cruft
16592
16593         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16594
16595         * buffer.[Ch]: remove !NEW_INSETS cruft
16596
16597         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16598
16599         * CutAndPaste.C: remove !NEW_INSETS cruft
16600
16601         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16602
16603         * BufferView2.C: remove !NEW_INSETS cruft
16604
16605         * BufferView.h: remove !NEW_INSETS cruft
16606
16607 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16608
16609         * Lsstream.h: include LString.h before the sstream headers to
16610         fix problem with gcc 2.95.3 and lyxstring
16611
16612 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16613
16614         * lyx_main.C: add using directives when needed for C functions
16615         declared in std:: namespace.
16616
16617 2001-04-27  Juergen Vigna  <jug@sad.it>
16618
16619         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16620         (SetHeightOfRow): comment out the update call should not be needed!
16621
16622 2001-04-13  Juergen Vigna  <jug@sad.it>
16623
16624         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16625         (LyXTabular): tried to minimize operator= operations (and realized
16626         hopfully Lars wish).
16627
16628 2001-04-27  Juergen Vigna  <jug@sad.it>
16629
16630         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16631
16632 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16633
16634         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16635
16636         * buffer.C (readInset): hack to make listof algorithm work
16637
16638         * BufferView_pimpl.C: hack to make listof algorithm work
16639
16640 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16641
16642         * LyXAction.C: removed all !NEW_INSETS cruft
16643         (init): moved lfun_item in method
16644
16645         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16646
16647 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16648
16649         * BufferView2.C (theLockingInset): white space.
16650
16651 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16652
16653         * minibuffer.C: include <iostream>
16654
16655         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16656
16657         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16658
16659         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16660
16661         * text.[Ch] (TransposeChars): new method
16662
16663 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16664
16665         * call message directly through LyXView instead of through LyXFunc
16666         * BufferView2.C: adjust
16667         * BufferView_pimpl.C: adjust
16668         * FontLoader.C: adjust
16669         * buffer.C: adjust
16670         * bufferview_funcs.C: adjust
16671         * converter.C: adjust
16672         * figureForm.C: adjust
16673         * importer.C: adjust
16674         * lyx_cb.C: adjust
16675         * lyx_gui_misc.C: adjust
16676         * lyxfunc.C: adjust
16677         * lyxvc.C: adjust
16678         * text2.C: adjust
16679         + more files in subdirs
16680
16681         * lyxparagraph.h (size): move up int file
16682         (GetLayout): ditto
16683
16684         * adjust all uses of Assert to lyx::Assert.
16685
16686         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16687         lyxfunctional in namespace lyx
16688         * layout.C (hasLayout): ditto
16689         (GetLayout): ditto
16690         (GetLayout): ditto
16691         (delete_layout): ditto
16692         (NumberOfClass): ditto
16693         * converter.C (GetFormat): ditto
16694         (GetNumber): ditto
16695         (Add): ditto
16696         (Delete): ditto
16697         (SetViewer): ditto
16698         * bufferlist.C (getFileNames): ditto
16699         (emergencyWriteAll): ditto
16700         (exists): ditto
16701         (getBuffer): ditto
16702         * MenuBackend.C (hasSubmenu): ditto
16703         (hasMenu): ditto
16704         (getMenu): ditto
16705         * BufferView_pimpl.C (getInsetByCode): ditto
16706
16707 2001-04-18  Juergen Vigna  <jug@sad.it>
16708
16709         * vspace.C (asLatexString): fixed the 100% problem.
16710
16711 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16712
16713         * lyxfunc.C (Dispatch):
16714         * minibuffer.C:
16715         * minibuffer.h: add a few std:: qualifiers
16716
16717 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16718
16719         * minibuffer.[Ch]: reimplement so that commands is initiated and
16720         run from lyxfunc, simplified som handling, and made the completion
16721         and history code for complete. wip.
16722
16723         * lyxfunc.C (processKeySym): call message
16724         (miniDispatch): new temporary method
16725         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16726         (LFUN_MESSAGE): implement
16727         (LFUN_MESSAGE_PUSH): implement
16728         (LFUN_MESSAGE_POP): implement
16729         (initMiniBuffer): the initial/defualt minibuffer message.
16730
16731         * lyxfont.[Ch]: inline some more getters
16732
16733         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16734
16735         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16736
16737         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16738         (AutoSave): use LFUN_MESSAGE
16739         (Reconfigure): ditto
16740
16741         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16742
16743         * figureForm.C: use LFUN_MESSAGE
16744
16745         * converter.C (runLaTeX): use LFUN_MESSAGE
16746
16747         * bufferview_funcs.C: use LFUN_MESSAGE
16748         (Melt): ditto
16749         (changeDepth): ditto
16750
16751         * bufferparams.h: use boost::
16752
16753         * bufferlist.h: inherit privately from noncopyable
16754
16755         * bufferlist.C (loadLyXFile): remove some commented code.
16756
16757         * buffer.C (runChktex): use LFUN_MESSAGE
16758
16759         * ShareContainer.h: inherit privately from noncopyable
16760
16761         * ParagraphParameters.[hC] (depth): inline it.
16762
16763         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16764         methods.
16765         (message): new method
16766         (messagePush): ditto
16767         (messagePop): ditto
16768         (show): init minibuffer
16769         (showState): direct call
16770
16771         * LaTeX.[Ch]: inherit privately from noncopyable
16772         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16773         instead of WriteStatus.
16774
16775         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16776
16777         * BufferView_pimpl.C (buffer): don't init minibuffer
16778         (workAreaButtonPress): use LFUN_MESSAGE
16779         (workAreaButtonRelease): ditto
16780         (savePosition): ditto
16781         (restorePosition): ditto
16782         (MenuInsertLyXFile): ditto
16783         (workAreaExpose): don't init minibuffer
16784         (update): remove commented code, simplify
16785
16786         * BufferView2.C (openStuff): use LFUN_MESSAGE
16787         (toggleFloat): ditto
16788         (menuUndo): ditto
16789         (menuRedo): ditto
16790         (copyEnvironment): ditto
16791         (pasteEnvironment): ditto
16792         (copy): ditto
16793         (cut): ditto
16794         (paste): ditto
16795         (gotoInset): ditto
16796         (updateInset): remove some commented code
16797
16798         * lastfiles.h: inherit privately from noncopyable
16799         * layout.h: ditto
16800         * lyx_gui.h: ditto
16801         * lyx_main.h: ditto
16802         * lyxlex.h: ditto
16803         * lyxlex_pimpl.h: ditto
16804
16805         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16806         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16807         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16808
16809         * LyXAction.h: inherit privately from noncopyable, add methods
16810         func_begin, func_end, returning iterators to the func map.
16811
16812         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16813         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16814         (func_begin): new method
16815         (func_end): new method
16816
16817         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16818         and not)
16819         (copySelection): ditto
16820         (pasteSelection): ditto
16821
16822         * BufferView.C: whitespace change
16823         * BufferView.h: inherit privately from noncopyable
16824
16825 2001-04-16  Allan Rae  <rae@lyx.org>
16826
16827         * tabular-old.C (l_getline):
16828         * spellchecker.C (sc_check_word):
16829         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16830         an unrecognised preprocessor directive.  So ensure they're wrapped.
16831
16832 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16833
16834         * src/exporter.C (Export): Give an error message when path to file
16835         contains spaces.
16836
16837 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16838
16839         * LaTeX.C (deplog): Always check that foundfile exists.
16840
16841 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16842
16843         * lyx_main.h:
16844         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16845
16846 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16847
16848         * tabular.[Ch] (getLabelList): implement new method
16849
16850         * minibuffer.h: comment ouf setTiimer
16851
16852         * minibuffer.C (ExecutingCB): constify res
16853         (peek_event): constify s
16854         (Set): constify ntext
16855         (Init): constify nicename
16856
16857         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16858
16859         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16860         (savePosition): use two params to Minibuffer::Set
16861         (restorePosition): ditto
16862
16863 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16864
16865         * lyx_main.C: include language.h
16866
16867         * Makefile.am (lyx_main.o): add language.h
16868
16869 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16870
16871         * exporter.C:
16872         * paragraph.C:
16873         * screen.C:
16874         * tabular.C:
16875         * CutAndPaste.C: include gettext.h
16876
16877         * lyxfont.h: remove old hack with ON and OFF.
16878
16879         * lyxparagraph.h:
16880         * lyxfont.h: do not include language.h...
16881
16882         * BufferView2.C:
16883         * LaTeXFeatures.C:
16884         * Painter.C:
16885         * bufferview_funcs.C:
16886         * font.C:
16887         * lyxfont.C:
16888         * text.C:
16889         * text2.C:
16890         * trans_mgr.C:
16891         * paragraph.C: ... but do it here instead
16892
16893 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16894
16895         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16896
16897         * tabular.C: small reformat
16898
16899         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16900         NEW_INSETS version
16901         (GetChar): ditto
16902         (BreakParagraph): ditto
16903         (SetOnlyLayout): ditto
16904         (SetLayout): ditto
16905
16906         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16907         with one arg less.
16908
16909         * lastfiles.C: removed most using decl, add std:: where needed
16910
16911         * buffer.C: ws changes
16912
16913         * MenuBackend.C (class compare_format): put into anon namespace
16914         (expand): constify label, names, action, action2
16915         (expand):
16916
16917         * text.C (SingleWidth): constify font
16918         (IsBoundary): constify rtl2
16919         (GetVisibleRow): constify ww
16920
16921         * LaTeX.C (deplog): constify logfile
16922
16923         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16924         start_x, end_x
16925         (workAreaExpose): constify widthChange, heightChange
16926
16927         * lyxrow.C (par): moved
16928         (height): moved
16929         (next): moved
16930         * lyxrow.h: as inlines here
16931
16932         * lyxfont.h (shape): moved from lyxfont.C
16933         (emph): moved from lyxfont.C
16934
16935         * lyxfont.C (LyXFont): use initialization list for all
16936         constructors
16937         (shape): move to lyxfont.h as inline
16938         (emph): move to lyxfont.h as inline
16939
16940
16941 2001-04-04  Juergen Vigna  <jug@sad.it>
16942
16943         * vspace.C: had to include stdio.h for use of sscanf
16944
16945 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16946
16947         * BufferView.h:
16948         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16949         independent of xforms.
16950
16951 2001-04-02  Juergen Vigna  <jug@sad.it>
16952
16953         * spellchecker.C: fixed namespace placing!
16954
16955 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16956
16957         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16958         the LyXParagraph * is 0.
16959
16960 2001-03-29  Juergen Vigna  <jug@sad.it>
16961
16962         * vspace.C: added support for %, c%, p%, l%.
16963         (stringFromUnit): added helper function.
16964         (asLatexString): changed to give right results for the %-values.
16965
16966         * buffer.C: convert the widthp in a width%.
16967
16968 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16969
16970         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16971         figureForm.[Ch].
16972
16973         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16974         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16975
16976         * lyx_cb.[Ch]: see above.
16977
16978         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16979         form1.[Ch].
16980
16981         * form1.[Ch]:
16982         * lyx.[Ch]: replaced by figure_form.[Ch].
16983
16984         * lyx_gui.C:
16985         * lyx_gui_misc.C:
16986         * lyxfunc.C: changed headers associated with above changes.
16987
16988 2001-03-27  Juergen Vigna  <jug@sad.it>
16989
16990         * BufferView_pimpl.C: set the temporary cursor right!
16991
16992 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16993
16994         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16995
16996 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16997
16998         * LString.h: removed "using std::getline"!
16999
17000         * BufferView_pimpl.C (Dispatch): changes due to changes in
17001         InsetInclude::Params.
17002
17003         * buffer.C (tag_name): removed redundant break statements as they were
17004         producing lots of warnings with my compiler.
17005
17006 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17007
17008         * LString.h: add "using std::getline" when using the real <string>.
17009
17010 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
17011
17012         * buffer.C: removed bitset usage.
17013         PAR_TAG moved to an anonymous name space.
17014         (tag_name): new funtion, also in the anonymous namespace.
17015         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17016         (makeDocBookFile): clean code. Completed transition from string arrays
17017         to string vectors.
17018         (SimpleDocBookOnePar): code clean.
17019
17020 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17021
17022         * tabular.C: add some comments.
17023
17024 2001-03-22  Juergen Vigna  <jug@sad.it>
17025
17026         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17027         compatibility read a bit and fixed bug with minipage in different
17028         depth.
17029
17030 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
17031
17032         * buffer.C (pop_tag): removed.
17033         (push_tag): removed.
17034         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17035         array replaced with vector. Added support for CDATA sections.
17036         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17037         at any nest level.
17038         (makeDocBookFile): XML conformant declaration of CDATA section,
17039         fixed bug related to <emphasis> in the first paragraph char.
17040         (sgmlOpenTag): exclude empty tags.
17041         (sgmlCloseTag): ditto.
17042
17043         * buffer.h (pop_tag): removed.
17044         (push_tag): removed.
17045
17046 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17047
17048         * language.h (Languages): added size_type and size().
17049
17050 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17051
17052         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17053         response on compability reading of minipages. One probliem is that
17054         the old usage of minipages was «flertydig»
17055
17056         * several files here and in subdirs: don't use static at file
17057         scope use anon namespaces instead.
17058
17059 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17060
17061         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17062         LaTeX output. This is necessary for Literate document
17063         processing.
17064
17065 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17066
17067         * buffer.C: insert hfill when needed.
17068
17069         * tabular.C (l_getline): use string::erase, small whitespace change.
17070
17071         * BufferView_pimpl.C: try the anon namespace.
17072         * WorkArea.C: ditto
17073
17074 2001-03-16  Juergen Vigna  <jug@sad.it>
17075
17076         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17077         otherwise it won't open options-dialogs.
17078
17079         * buffer.C: honor pextraWidth(p) on converting minipages.
17080
17081         * tabular.C (l_getline): changed the functions to strip trailing \r.
17082
17083 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17084
17085         * BufferView_pimpl.C:
17086         * minibuffer..C: added "using SigC::slot" declaration.
17087
17088 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17089
17090         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17091
17092         * text2.C: ditto
17093
17094         * text.C: ditto
17095
17096         * paragraph.C: ditto
17097
17098         * lyxtext.h: NO_PEXTRA
17099
17100         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17101
17102         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17103         * ParameterStruct.h: ditto
17104         * ParagraphParameters.h: ditto
17105         * lyxparagraph.h: ditto
17106
17107 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17108
17109         * buffer.C: add compability for minipage alignment.
17110         (latexParagraphs): remove unwanted pextra check.
17111
17112         * several files: remove CXX_WORKING_NAMESPACES
17113
17114         * buffer.C (pop_tag): tie is in namespace boost
17115
17116         * BufferView.h: noncopyable is in namespace boost
17117         * lyxlex.h: ditto
17118         * lyx_main.h: ditto
17119         * lyx_gui.h: ditto
17120         * layout.h: ditto
17121         * lastfiles.h: ditto
17122         * bufferlist.h: ditto
17123         * ShareContainer.h: ditto
17124         * LyXView.h: ditto
17125         * LyXAction.h: ditto
17126         * LaTeX.h: ditto
17127
17128 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17129
17130         * Merging changes from BRANCH_MVC back into HEAD.
17131
17132         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17133
17134 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17135
17136         * BufferView_pimpl.C: change from intl.C
17137
17138         * combox.h:
17139         * combox.C:
17140         * Makefile.am: move combox.*
17141
17142         * form1.h:
17143         * form1.C:
17144         * lyx_gui.C:
17145         * intl.h:
17146         * intl.C: remove dialog (covered by prefs)
17147
17148 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17149
17150         * lyxfunc.C (Dispatch): removed redundant break statement.
17151
17152 2001-03-14  Juergen Vigna  <jug@sad.it>
17153
17154         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17155
17156 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17157
17158         * buffer.C: add hack to fix compability reading of minipages.
17159
17160 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17161
17162         * buffer.C (getLists): Cleanup.
17163
17164 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17165
17166         * lyxfont.C (update): don't honor toggleall on font size.
17167
17168 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17169
17170         * bmtable.c:
17171         * bmtable.h:
17172         * Makefile.am: moved to frontends/xforms/
17173
17174         * lyx_gui_misc.C:
17175         * lyxfunc.C:
17176         * BufferView_pimpl.C: changes for moved mathpanel
17177
17178 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17179
17180         * gettext.h: fix gettext_init() in --disable-nls
17181
17182 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17183
17184         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17185
17186 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17187
17188         * lyx.C:
17189         * lyx.h: strip external form
17190
17191 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17192
17193         * BufferView_pimpl.C: add comment, destroySplash()
17194
17195 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17196
17197         * BufferView_pimpl.C:
17198         * LyXAction.C:
17199         * buffer.C:
17200         * commandtags.h:
17201         * lyxfunc.C: use re-worked insetinclude
17202
17203 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17204
17205         * buffer.C: add using std::stringstream.
17206
17207         * lyx_cb.C: readd using std::ios.
17208
17209         * buffer.C: add using std::map.
17210
17211         * BufferView_pimpl.C: add using std::vector.
17212
17213         * ShareContainer.h: add std:: to swap.
17214
17215         * buffer.h: add some typedefs
17216         * buffer.C (getLists): use them
17217         (getLists): renamed from getTocList.
17218         add a counter for the different float types and use it in the
17219         generated string.
17220         (getLists): use the same counter for the NEW_INSETS and the "non"
17221         NEW_INSETS
17222
17223         * lyx_cb.h: remove unused items, includes, using etc.
17224
17225         * ShareContainer.h: remove some commented code, add more comments
17226         and "documentation".
17227
17228 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17229
17230         * buffer.C (getTocList): make the list also when NEW_INSETS is
17231         defined.
17232
17233         * buffer.h: remove TocType
17234
17235         * buffer.C (getTocList): change to return a map<string,
17236         vector<TocItem> >, implement for dynamic number of list.
17237
17238         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17239         * text2.C (PasteSelection): adjust
17240         * CutAndPaste.C (pasteSelection): adjust
17241
17242         * FloatList.C (FloatList): update from the new_insets branch.
17243         * Floating.[Ch]: ditto
17244         * LaTeXFeatures.C: ditto
17245         * buffer.C: ditto
17246         * lyxlex_pimpl.C: ditto
17247
17248         * paragraph.C (Last): remove when NEW_INSETS is defined.
17249
17250         * other file: changes because of the above.
17251
17252 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17253
17254         * lyxparagraph.h: rename next to next_, previous to previous_,
17255         make them private for NEW_INSETS. Rename Next() to next(),
17256         Previous() to previous().
17257
17258         * other files: changes because of the above.
17259
17260 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17261
17262         * BufferView.h:
17263         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17264         problem.
17265
17266 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17267
17268         * main.C (main): pass lyx_localedir to gettext_init().
17269
17270         * gettext.h: remove locale_init and gettext_init macros
17271
17272         * gettext.C (locale_init): new function
17273         (gettext_init): new function
17274
17275         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17276         setlocale().
17277
17278 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17279
17280         * Moved credits to frontends:
17281         * credits.[Ch]: removed
17282         * credits_form.[Ch]: removed
17283         * lyx_gui_misc.C: remove credits stuff
17284         * Makefile.am:
17285
17286 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17287
17288         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17289
17290         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17291         unneeded destructor.
17292
17293         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17294         a standalone pointer again.
17295
17296         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17297
17298 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17299
17300         * Makefile.am:
17301         * filedlg.h:
17302         * filedlg.C:
17303         * LyXAction.C:
17304         * ToolbarDefaults.C:
17305         * bufferlist.C:
17306         * commandtags.h:
17307         * form1.C:
17308         * form1.h:
17309         * lyx_cb.C:
17310         * lyx_cb.h:
17311         * lyxfunc.h:
17312         * lyxfunc.C:
17313         * BufferView_pimpl.C: use new file dialog in GUII
17314
17315         * lyx_cb.h:
17316         * lyx_cb.C: remove LayoutsCB to Toolbar
17317
17318 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17319
17320         * ShareContainer.h (get): add std:: qualifier
17321
17322 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17323
17324         * ShareContainer.h: define a proper ShareContainer::value_type
17325         type (and use typename to please compaq cxx)
17326
17327 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17328
17329         * lyxparagraph.h: move serveral local vars to
17330         ParameterStruct/ParagraphParameters., use ShareContainer in
17331         FontTable., make vars in FontTable private and add getter and
17332         setter.
17333
17334         * paragraph.C: changes because of the above.
17335
17336         * lyxfont.h: remove copy constructor and copy assignment. (the
17337         default ones is ok), move number inside FontBits. move inlines to
17338         lyxfont.C
17339
17340         * lyxfont.C: add number to initializaton of statics, move several
17341         inlines here. constify several local vars. some whitespace
17342         cleanup. Dont hide outerscope variables.
17343
17344         * Spacing.h: add two new constructors to match the set methods.
17345
17346         * ShareContainer.h: new file, will perhaps be moved to support
17347
17348         * ParameterStruct.h: new file
17349
17350         * ParagraphParameters.h: new file
17351
17352         * ParagraphParameters.C: new file
17353
17354         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17355         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17356
17357         * BufferView_pimpl.C: ParagraphParameter changes.
17358         * buffer.C: Likewise.
17359         * bufferview_funcs.C: Likewise.
17360         * text.C: Likewise.
17361         * text2.C: Likewise.
17362
17363 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17364
17365         * lyxfind.C (LyXReplace): do not redefine default argument in
17366         implementation.
17367         (IsStringInText): ditto
17368         (SearchForward): ditto
17369         (SearchBackward): ditto
17370
17371 2001-03-06  Juergen Vigna  <jug@sad.it>
17372
17373         * lyxfind.C (IsStringInText): put parentes around expressions.
17374
17375 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17376
17377         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17378
17379 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17380
17381         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17382
17383         * stl_string_fwd.h: add comment
17384
17385         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17386
17387         * tabular.h:
17388         * tabular.C: remove unused DocBook methods
17389
17390         * intl.C:
17391         * language.C:
17392         * paragraph.C:
17393         * buffer.C:
17394         killed DO_USE_DEFAULT_LANGUAGE
17395
17396 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17397
17398         * lyx_gui.C: do not include language.h.
17399
17400         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17401         arguments in function implementation.
17402
17403 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17404
17405         * BufferView_pimpl.C: add <ctime>
17406
17407 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17408
17409         * BufferView_pimpl.C: add using std::find_if
17410
17411 2001-02-27  José Matos  <jamatos@fep.up.pt>
17412
17413         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17414         by OnlyPath.
17415
17416 2001-02-11  José Matos  <jamatos@fep.up.pt>
17417
17418         * buffer.C (makeDocBookFile): command styles now have a parameter as
17419         "title" by default.
17420
17421 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17422
17423         * layout_forms.[Ch]: removed
17424         * lyx_cb.[Ch]: out character
17425         * lyx_gui.C: out character
17426         * lyx_gui_misc.C: out character
17427         * bufferview_funcs.C: : out character,
17428         added toggleall as parameter in ToggleAndShow
17429
17430 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17431
17432         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17433
17434         * text2.C (SetCurrentFont): Disable number property at boundary.
17435
17436 2001-02-26  Juergen Vigna  <jug@sad.it>
17437
17438         * lyxfunc.C (getStatus): added a string argument override function so
17439         that this is correctly called from LyXFunc::Dispatch if it contains a
17440         do_not_use_argument which is used!
17441         (Dispatch): added check for "custom" export and call appropriate func.
17442
17443 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17444
17445         * lyxrc.C: Add language_command_local, language_use_babel and
17446         language_global_options.
17447
17448         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17449
17450         * buffer.C (makeLaTeXFile): Use language_use_babel and
17451         language_global_options.
17452
17453 2001-02-23  Juergen Vigna  <jug@sad.it>
17454
17455         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17456         which works with LyXText and putted it inside BufferView. Here now we
17457         only call for that part the BufferView::Dispatch() function.
17458
17459         * BufferView.C (Dispatch): added.
17460
17461         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17462         functions which needs to use a LyXText over from LyXFunc.
17463         (MenuInsertLyXFile): added
17464         (getInsetByCode): added
17465         (moveCursorUpdate): added
17466         (static TEXT): added
17467
17468 2001-02-22  Juergen Vigna  <jug@sad.it>
17469
17470         * BufferView_pimpl.C (update): call a status update to see if LyXText
17471         needs it.
17472
17473 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17474
17475         * vc-backend.C (revert): implement for CVS
17476         (getLog): implement for CVS
17477
17478 2001-02-20  Juergen Vigna  <jug@sad.it>
17479
17480         * text2.C (ClearSelection): added BufferView param for inset_owner call
17481
17482         * lyxfunc.C (TEXT): added this function and use it instead of
17483         directly owner->view()-text of getLyXText().
17484
17485 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17486
17487         * src/layout_forms.C: out preamble
17488         * src/layout_forms.h: out preamble
17489         * src/lyx_cb.C: out preamble
17490         * src/lyx_cb.h: out preamble
17491         * src/lyx_gui.C: out preamble
17492         * src/lyx_gui_misc.C: out preamble
17493         * src/lyxfunc.C: connect with guii preamble
17494
17495 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17496
17497         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17498
17499 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17500
17501         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17502         whether to run bibtex.
17503
17504 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17505
17506         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17507
17508 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17509
17510         * Makefile.am (lyx_SOURCES): removed bibforms.h
17511
17512         * vspace.h: doxygen
17513
17514         * text.C (GetVisibleRow): make several local vars const
17515
17516         * tabular.C: small cleanup.
17517
17518         * lyxserver.C (callback): use compare instead of strncmp
17519
17520         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17521         inlines to after class or to paragraph.C
17522
17523         * lyxfont.h: remove friend operator!=
17524
17525         * converter.h: move friend bool operator< to non friend and after
17526         class def.
17527
17528         * combox.h: small cleanup
17529
17530         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17531         to inlines after class def.
17532
17533         * buffer.C (pop_tag): use string operations instead of strcmp
17534
17535         * bmtable.c: doxygen, small cleanup
17536
17537         * LaTeX.h: remove friend operator==
17538
17539 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17540
17541         * screen.C:
17542         * lyxrc.[Ch]:
17543         * lyxfunc.C:
17544         * lyxfont.[Ch]:
17545         * lyx_cb.C:
17546         * intl.[Ch]:
17547         * commandtags.h:
17548         * buffer.C:
17549         * WorkArea.[Ch]:
17550         * LyXAction.C:
17551         * BufferView_pimpl.C:
17552         * BufferView.[Ch]: remove cruft
17553
17554 2001-02-14  Juergen Vigna  <jug@sad.it>
17555
17556         * lyxfunc.C: removed #if 0 unused code
17557
17558         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17559
17560         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17561
17562         * text2.C (SetSelection): added a BufferView * parameter
17563
17564 2001-02-13  Juergen Vigna  <jug@sad.it>
17565
17566         * lyxfunc.C (Dispatch): fixed protected blank problem.
17567         * BufferView2.C (protectedBlank): added LyxText * parameter.
17568
17569         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17570         (AppendColumn): same as above for column_info.
17571
17572         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17573         (moveCursorUpdate): use a LyXText param for support of InsetText.
17574
17575         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17576         (tripleClick): ditto
17577
17578         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17579
17580         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17581
17582         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17583
17584         * text2.C (SetSelection): set correct update status if inset_owner
17585         (ToggleFree): ditto
17586
17587 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17588
17589         * tabular.C: remove some commented code.
17590
17591 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17592
17593         * BufferView_pimpl.C: call hideSplash()
17594
17595         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17596
17597         * include_form.h:
17598         * bibforms.h: remove
17599
17600         * lyxfunc.C:
17601         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17602           add LFUN_CHILD_CREATE
17603
17604         * counters.h: fix tiny typo
17605
17606         * lyx_cb.C:
17607         * lyx.h:
17608         * lyx_gui.C:
17609         * lyx.C: move splash to frontends/xforms/
17610
17611         * lyx_gui_misc.C: move Include and Bibform to frontends
17612
17613         * lyxvc.h: clarify comment
17614
17615         * vspace.C: tiny housekeeping
17616
17617 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17618
17619         * text.C (PrepareToPrint): RTL Fix.
17620
17621         * paragraph.C (GetUChar): New method.
17622         (String):  Use GetUChar.
17623
17624         * buffer.C (asciiParagraph): Use GetUChar.
17625
17626 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17627
17628         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17629
17630 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17631
17632         * buffer.h:
17633         * buffer.C: rename to getLogName(), handle
17634           build log / latex log nicely
17635
17636 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17637
17638         * MenuBackend.C:
17639         * MenuBackend.h: remove support for reference menuitem type.
17640
17641 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17642
17643         * BufferView_pimpl.C: housekeeping
17644         * BufferView_pimpl.h:
17645         * LyXView.h:
17646         * Makefile.am:
17647         * Timeout.C:
17648         * Timeout.h:
17649         * minibuffer.h: move Timeout GUI-I
17650
17651 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17652
17653         * lyxrc.C (read): Update converters data-structures.
17654
17655 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17656
17657         * LaTeX.h (operator!=): add operator != for Aux_Info
17658
17659 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17660
17661         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17662
17663         * LaTeXLog.C: deleted, useful code moved to Buffer
17664
17665         * buffer.h:
17666         * buffer.C: new function getLatexLogName()
17667
17668         * lyx_gui_misc.C:
17669         * lyx_gui.C:
17670         * lyxvc.C:
17671         * lyxvc.h:
17672         * lyxfunc.C: use frontends for LaTeX and VC logs
17673
17674 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17675
17676         * LaTeX.h: yet another std:: that Allan forgot.
17677
17678         * Variables.C (set): renamed from isset(), because this clashes
17679         with some HP-UX macros (grr).
17680
17681 2001-02-06  Allan Rae  <rae@lyx.org>
17682
17683         * LaTeX.h: Another bug fix.  Missing std:: this time.
17684
17685 2001-02-04  Allan Rae  <rae@lyx.org>
17686
17687         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17688         floats problem. I've left it commented out because it's not quite
17689         correct.  It should also test that the current object is a table or
17690         figure inset.  But I haven't gotten around to figuring out how to do
17691         that.  I *think* it'll be something like: "table" == inset.type()
17692
17693         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17694         bool.
17695
17696 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17697
17698         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17699         all the citation/databases/styles in the auxilary file.
17700         (run): Rerun latex if there was a babel language error.
17701
17702 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17703
17704         * text.C (Backspace): Preserve the font when changing newline char
17705         with a space.
17706         (BreakParagraph): If the cursor is before a space, delete the space.
17707
17708         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17709
17710 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17711
17712         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17713         new argument (code).
17714         (ChangeCitationsIfUnique): New method.
17715
17716         * paragraph.C (GetPositionOfInset): Handle bibkey.
17717
17718 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17719
17720         * BufferView_pimpl.h: change type of Position::par_pos to
17721         LyXParagraph::size_type.
17722
17723 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17724
17725         * BufferView_pimpl.C (savePosition, restorePosition): Write
17726         messages to minibuffer.
17727
17728 2001-01-28  José Matos  <jamatos@fep.up.pt>
17729
17730         * buffer.C (makeDocBookFile): adds support for document language.
17731         A silly restriction on the name of LatexCommand types where removed.
17732         Added support for CDATA sections, allows to chars unescaped, used
17733         among others in code, to avoid escape < and >.
17734
17735 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17736
17737         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17738         saved positions instrad of a stack. Furthermore, a position is
17739         stored using paragraph id/paragraph position.
17740
17741         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17742         Remove LFUN_REF_BACK.
17743
17744 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17745
17746         * converter.C (dvipdfm_options): New method.
17747
17748 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17749
17750         * vspace.C (isValidLength): Fix for empty input string.
17751
17752 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17753
17754         * LyXAction.C (init): change description of LFUN_FIGURE to
17755         "Insert Graphics"
17756
17757 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17758
17759         * LaTeX.C: add using directive
17760
17761 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17762
17763         * MenuBackend.C (expand): Fix the sorting of the formats.
17764
17765 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17766
17767         * lyx_main.C: tiny error message fix
17768
17769 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17770
17771         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17772         calling fl_initialize(). This fixes the problem with ',' as
17773         decimal separator in text files.
17774
17775 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17776
17777         * trans.C (process): Fix the keymap bug.
17778
17779 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17780
17781         * LaTeX.C (scanAuxFiles): New method. Provides support for
17782         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17783         (scanLogFile) Scan for "run BibTeX" messages.
17784
17785         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17786         OT1 font encoding. Also, load the aecompl package if the ae
17787         package is loaded.
17788
17789         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17790
17791 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17792
17793         * texrow.C (increasePos): turn two error messages into debug
17794         messages.
17795
17796 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17797
17798         * LaTeX.C (scanAux): Handle the \@input macro.
17799         (runBibTeX): Use scanAux().
17800
17801         * language.C (latex_options_): New field.
17802
17803         * LaTeXFeatures.C (getMacros): Add language macros.
17804
17805         * buffer.C (makeLaTeXFile): Small fix.
17806
17807 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17808
17809         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17810
17811         * text2.C: add a using directive.
17812
17813 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17814
17815         * BufferView2.C:
17816         * lyx_gui_misc.h:
17817         * lyxfr1.C:
17818         * lyxfunc.C: kill LyXBell.
17819
17820 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17821
17822         * text.C (IsBoundary): Remove the error message
17823
17824         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17825
17826         * lyxrc.C (setDefaults): Correct initialization value for
17827         font_norm_type.
17828
17829 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17830
17831         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17832         gotoError().
17833
17834         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17835         and GotoNextNote().
17836
17837         * src/LyXAction.C: Added reference-next.
17838
17839         * text.C (InsertChar): Use contains instead of strchr.
17840
17841         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17842
17843 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17844
17845         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17846         alignment commands (when needed).
17847
17848         * text.C (InsertChar): Add ':' to number separator chars.