]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
Forward port the name-mangling code from 1.3.x.
[lyx.git] / src / ChangeLog
1 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2
3         * BufferView_pimpl.C (update): dampen some of the debug blabbering
4         * factory.C (readInset): ditto
5         * text.C, text2.C: ditto
6
7 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
8
9         * buffer.C: format incremented to 242. There is no file format per
10         se, but the "frenchb" language has been removed from lib/language
11         and has to be translated to "french" by lyx2lyx.
12
13 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
14
15         * cursor_slice.h, dociterator.h: add some documentation
16         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
17
18 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
19
20         * text.C (leftMargin): do not add identation to display() style
21         insets, because they are always centered (bug 1293).
22
23 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
24
25         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
26         formatted_time methods in support/lyxtime.
27
28 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
29
30         * toc.[Ch]: new method getGuiName, which is used by the frontends 
31         to set the toc combo (fixes bug 1870). Make TOC string translatable.
32
33 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
34
35         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
36         StableDocIterator const &)
37         * undo.C (recordUndo): use the above instead of cell.size() comparison
38         (fixes bug 1808; instructed by André).
39
40 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
41
42         * cursor_slice.h: 
43         * dociterator.h: Fix the assert when copying rows/cols in math
44
45 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
46
47         * BufferView_pimpl.C:
48         * LyXAction.C:
49         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
50
51         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
52         (findInset): new functions, refactored from goto Inset that return 
53         the position of a certain inset without setting the buffer's cursor
54         (by Jean-Marc); 
55         (gotoInset): rewrite to call findInset and then set the cursor
56         (by Jean-Marc).
57
58 2005-06-16  Angus Leeming  <leeming@lyx.org>
59
60         * lyxrc.C (output, read): wrap all input and output of paths with
61         calls to os::internal_path and os::external_path, respectively.
62         (output): wrap bind_file inside quotes.
63
64         * format.C (view): enable the viewer to use the '$$s' placeholder.
65
66 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
67
68         * LColor.[Ch] (getFromLaTeXName): new
69
70 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
71
72         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
73
74 2005-06-14  Angus Leeming  <leeming@lyx.org>
75
76         * lyx_main.C (init): ensure that the LyX binary dir is the first
77         element in the PATH on non-POSIX builds.
78
79 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
80
81         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
82
83 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
84
85         * rowpainter.C (paintInset, paintHebrewComposeChar)
86         (paintArabicComposeChar, paintChars): add a LyXFont argument.
87         (paintChars): use getFontSpan to reduce calls to getFont to a
88         minimum; use Paragraph::lookupChange instead of isXXXText.
89         (paintForeignMark): rename LyXFont argument.
90         (paintFromPos): pass a LyXFont object to the various paintXXX
91         methods.
92
93         * FontIterator.C (FontIterator, operator++): use
94         Paragraph::getFontSpan
95
96         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
97         version that returns the font span as a pair.
98
99 2005-06-09  Angus Leeming  <leeming@lyx.org>
100
101         * converter.C (convert): Don't forget "outfile = real_outfile" as
102         the final step in a conversion where the input and output file names
103         are the same. Otherwise, future conversion steps won't work...
104
105 2005-06-09  Angus Leeming  <leeming@lyx.org>
106
107         * lyxsocket.C: remove stub code as it isn't needed by
108         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
109
110 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
111
112         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
113         effectively disabled -x
114
115 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
116
117         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
118         when it actually makes sense.
119
120 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
121
122         * BufferView_pimpl.C: revert to showCursor in connection with
123         Lars's front-end stack
124
125 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
126
127         * text.C (redoParagraph): move cursor right after a bibitem
128         has been inserted.
129
130         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
131
132 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
133
134         * buffer_funcs.C (bufferErrors): fix computation of the end of an
135         error range.
136
137 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
138
139         * BufferView.[Ch] (update):
140         * BufferView_pimpl.[Ch] (update, metrics):
141         * dimension.h (operator==):
142         * lyxfunc.C (dispatch):
143         * metricsinfo.h (ViewMetricsInfo):
144         * rowpainter.C (paintText):
145         * lyxtext.h:
146         * text.C (redoParagraph):
147         * text3.C (dispatch): Make LyX only repaint current paragraph in
148         case of character insert --> speedup. Also fix cursor draw
149         artifacts
150
151 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
152
153         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
154         avoid a crash (bug 1891)
155
156 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
157
158         Fix bug 1892:
159
160         * text2.C (getStringToIndex): constify cur argument.
161
162         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
163         argument has been given
164         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
165         try to invoke LFUN_INSET_APPLY).
166
167         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
168         if no inset was created by doInsertInset
169         (doInsertInset): return true if an inset has been inserted.
170
171 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
172
173         * vspace.C (asGUIName): new method. A version of the space
174         suitable for showing on screen.
175
176 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
177
178         * MenuBackend.C:
179         * lyxrc.C: rename "ASCII" to "Plain Text"
180
181 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
182
183         * buffer_funcs.C (expandLabel): take a Buffer as argument;
184         translate the labelstring.
185         (setCounter): translate labelstring as needed.
186
187         * output_docbook.C (makeCommand): fix expandLabel invokation
188
189 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
190
191         * BufferView.C: fix dialog title
192
193 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
194
195         * lyx_main.C (priv_exec): fix logic error with help from Angus
196         * lyx_main.C (parse_execute): set is_gui = false and remove now
197         obsolete comment about a segfault
198
199 2005-05-18  Angus Leeming  <leeming@lyx.org>
200
201         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
202
203 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
204
205         * tabular.[hC]: added setCellInset to fix tabular paste.
206
207 2005-05-11  Lars Gullik Bjonnes  <larsbj@gullik.net>
208
209         * buffer.C (save): check if destination is writable before trying
210         to copy a file
211
212 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
213
214         * BufferView_pimpl.C (update): fix processEvents -caused update
215         recursion bug
216
217 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
218
219         * buffer_funcs.C (setCounter): fix test for numbering of
220         environments.
221
222         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
223         depth correctly; use optional argument when it exists
224
225         * lyxtextclass.C: remove unused MaxCounterTags enum
226         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
227         (max_toclevel, min_toclevel): new methods.
228
229         * MenuBackend.C (expandToc2): fix case where depth is smaller than
230         the smallest depth in toc.
231
232         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
233         layouts that should not appear in a table of contents.
234
235 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
236
237         * cursor.h (undispatched, noUpdate): add comments from André
238
239 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
240
241         * lfuns.h:
242         * LyXAction.C:
243         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
244
245 2005-05-07  André Pönitz  <poenitz@gmx.net>
246
247         * cursor.[Ch] (leaveInset): new function
248
249 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
250
251         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
252
253 2005-05-04  Angus Leeming  <leeming@lyx.org>
254
255         * lyxfunc.C (getStatus): disable the spell checker dialog if
256         none of USE_[AIP]SPELL are defined.
257
258 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
259
260         * tabular.C (setWidthOfCell): remove obsolete comment
261
262 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
263
264         * paragraph.C (bibitem):
265         * buffer_funcs.C (setCounter):
266         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
267
268 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
269
270         * text3.C (getStatus): immediately return after setOnOff
271
272         * rowpainter.C: fix drawing of appendix start
273
274 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
275
276         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
277         SwitchBetweenClasses and remove the unused return value.
278         Handle character styles, too
279
280 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
281
282         * factory.C (createInset): handle undefined character styles
283
284 2005-05-02  Angus Leeming  <leeming@lyx.org>
285
286         * buffer.C: protect the #include of utime.h with a preprocessor
287         guard.
288
289 2005-05-02  Angus Leeming  <leeming@lyx.org>
290
291         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
292         function so that auto-saving works, albeit in a blocking manner.
293
294         * Makefile.am: make compilation of the client sub directory, of
295         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
296         on conditionals set at configure time.
297
298         * SpellBase.[Ch]: no longer an abstract base class. Instead,
299         it can be compiled in its own right but has no-op functionality.
300
301         * aspell.C, pspell.C: remove preprocessor guards. The files should
302         be compiled only if the necessary functionality exists.
303
304         * lyxserver.C, lyxsocket.C: disable on Windows.
305
306 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
307
308         * text.C (leftMargin): Fix the parindent use bug (1764)
309         by dirty trick
310
311 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
312
313         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
314         argument.
315
316 2005-04-25  Angus Leeming  <leeming@lyx.org>
317
318         * Bidi.[Ch]:
319         * coordcache.[Ch]:
320         * ispell.C:
321         * lyxserver.C:
322         * mover.C:
323         * pch.h:
324         include <config.h> in .C files, not .h ones.
325         add licence blurb.
326         protect headers inside preprocessor guards.
327
328 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
329
330         * FuncStatus.h (StatusCodes): document
331
332 2005-04-21  André Pönitz  <poenitz@gmx.net>
333
334         * FuncStatus.h (enabled, onoff): document
335
336 2005-04-19  Angus Leeming  <leeming@lyx.org>
337
338         * BufferView_pimpl.C (cursorToggle): no longer test whether
339         any child processes have been reaped before calling
340         handleCompletedProcesses().
341
342 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
343
344         * text3.C (dispatch): fix, finally fix, the language problem in
345         new lyxtexts, without disabling on-the-fly font changes (Helge's
346         bug report)
347
348 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
349
350         * text3.C (dispatch): set cursor on double/triple click events
351         (bug 1811)
352
353 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
354
355         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
356         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
357
358         * rowpainter.C (paintFirst): simplify the code a little bit. In
359         particular, remove the test for secnumdepth.
360         * text.C (setHeightOfRow): only allocate space for chapter number
361         when updateCounters provided an actual label, instead of looking
362         at secnumdepth directly.
363
364         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
365
366         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
367         paragraphs when secnumdepth is large enough or, for environments,
368         when they are not the first in a sequence.
369
370 2005-04-17  Angus Leeming  <leeming@lyx.org>
371
372         * buffer.C (makeLaTeXFile): replace code to manipulate a path
373         containing space and '~' characters with a call to latex_path().
374
375 2005-04-17  Angus Leeming  <leeming@lyx.org>
376
377         * converter.C (convert): protect all args of convertDefault.sh
378         script with quotes.
379
380 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
381
382         * text3.C (dispatch): change the layout to "Caption" after inserting
383         a float.
384
385 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
386
387         * text3.C (dispatch): fix language problem in newly created
388         textinsets (and main text) in non-english docs
389
390 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
391
392         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
393         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
394         * text3.C (getStatus): disable LFUN_INSET_MODIFY
395
396 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
397
398         * lyxtext.h:
399         * text.C (metrics):
400         * text2.C (getFont):
401         * rowpainter.C (getFont): Fix metrics bug introduced by inset
402         fonts fix
403
404 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
405
406         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
407         output of \item arguments without trailing text.
408
409 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
410
411         * FontIterator.C (operator*): avoid a copy of the font.
412
413 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
414
415         * rowpainter.C (getFont): fix language bug from previous fix
416
417 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
418
419         * rowpainter.C (RowPainter, getFont): fix font inside inset
420         (bugs 1766, 1809)
421
422 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
423
424         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
425         preventing inserted font, deco, delim insets jumping to start of
426         surrounding inset.
427
428 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
429
430         * lyxfunc.C (dispatch): translate message before sending it to the
431         minibuffer.
432
433 2005-03-29  Angus Leeming  <leeming@lyx.org>
434
435         * lyx_main.C (priv_exec): call os::internal_path on each file passed
436         to LyX on the command line.
437
438 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
439
440         * vc-backend.C: use QuoteName to protect file names wherever
441         necessary.
442
443 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
444
445         * buffer.[Ch]:
446         * BranchList.h: fix bugs 1844,1845: document settings don't
447         stick
448
449 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
450
451         * lyxrc.C (setDefaults, read, output, getDescription): add support
452         for tex_allows_spaces.
453
454         * exporter.C (Export): allows files in directory containing spaces
455         if tex_allows_spaces is true.
456
457         * buffer.C (makeLaTeXFile): if the document path contains spaces,
458         output it in double quotes.
459
460 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
461
462         * rowpainter.C: use default text height for drawing change tracker
463         strikeout lines.
464
465 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
466
467         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
468
469 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
470
471         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
472         directory is missing.
473
474 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
475
476         * text2.C: fixed the fix, extended to other case.
477
478 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
479
480         * text2.C: fix for cursor up/down stuck in math [bug 1792]
481
482 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
483
484         * text2.C (cursorUp): get rid of a crash
485         * text.C (x2pos): add an assert
486
487 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
488
489         * lyxfunc.C (getStatus): fix warning when assertions are disabled
490
491         * text3.C:
492         * lyxfunc.C:
493         * dociterator.C: include <boost/current_function.hpp>, which is
494         needed when assertions are disabled.
495
496 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
497
498         * text2.C: fix for stuck cursor when traversing two
499         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
500
501 2005-02-25  Andreas Vox  <avox@arcor.de>
502
503         * output_docbook.C (makeParagraph): suppress trailing newline
504         after a run of paragraphs
505
506 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
507
508         * paragraph.C: fix for confused change tracker when pasting
509         text that begins with a lineseparator. [bug 1827]
510         (setChange(0, Change::INSERTED);)
511
512         * paragraph_funcs.C: fix for lost changes on triple-paste
513         in change tracking mode [bug 1827] (par.setChange()).
514
515 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
516
517         * text2.C (updateCounters, setCounter, expandLabel): move to
518         buffer_funcs.
519
520         * buffer_funcs.C (updateCounters): turn into a free standing
521         function and add a buffer parameter. Remove dead code for tracking
522         labelstring change.
523         (setCounter): change into a free-standing function which gets a
524         dociterator as argument. Use this iterator to fix captions in a
525         simple way. When no float is found above the caption, use the
526         labelstring of the caption layout as default.
527
528         * text.C (breakParagraph, backspace):
529         * text2.C (init, setLayout, changeDepth):
530         * text3.C (dispatch):
531         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
532         updateCounters.
533
534         * dociterator.C (forwardPar): make it much faster by calling
535         forwardPos() only when really necessary.
536
537         * output_docbook.C (makeCommand): adapt to expandLabel move.
538
539         * cursor.C: remove unused variable
540
541 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
542
543         * paragraph_funcs.C: fix crash when pasting insets in change
544         tracking mode [bug 1277] (honour change type in moveItem).
545
546 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
547
548         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
549
550 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
551
552         * BufferView.C (setCursor): change to use a DocIterator.
553         (gotoLabel): use BufferView::setCursor (other part of bug 781).
554         (putSelectionAt): adapt to BufferView::setCursor change.
555
556         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
557         moved here from LyXText and rewritten to use proper cursor
558         methods. Fixes bug 1787, 616 and 835.
559
560         * BufferView_pimpl.C (restorePosition): set the cursor correctly
561         when inside an inset (part of bug 781).
562         (dispatch): adapt to change of BufferView::setCursor.
563         (getStatus, dispatch): handle LFUN_GOTOERROR,
564         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
565
566         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
567         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
568         * text3.C (gotoNextInset, gotoInset): removed.
569
570 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
571
572         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
573
574 2005-02-15  Angus Leeming  <leeming@lyx.org>
575
576         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
577         can be used meaningfully in a comparison.
578
579 2005-02-13  André Pönitz  <poenitz@gmx.net>
580
581         * bufferview_funcs.C (coordOffset): improve cursor drawing
582
583 2005-02-13  André Pönitz  <poenitz@gmx.net>
584
585         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
586         * Cursor.C (dispatch): use fixIfBroken
587         * lyxfunc.C (getStatus): use fixIfBroken
588
589 2005-02-15  Angus Leeming  <leeming@lyx.org>
590
591         * lyx_main.C (error_handler):
592         * lyxfunc.C:
593         * lyxrc.C (setDefaults):
594         s/GetEnv/getEnv/.
595         #include "environment.h".
596
597         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
598
599 2005-02-15  Angus Leeming  <leeming@lyx.org>
600
601         * lyxserver.C (startPipe): squash MSVC warning "local variable
602         'fd' used without having been initialized".
603
604 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
605
606         * BufferView_pimpl.C: revert accidental commit.
607
608 2005-02-14  André Pönitz  <poenitz@gmx.net>
609
610         * dociterator.[Ch]: new member forwardPosNoDescent(),
611         which doesn't enter nested insets.
612         * text2.C (setFont): use forwardPosNoDescent() instead
613         of ForwardPos() (fixes crash on font change).
614
615 2005-02-13  Angus Leeming  <leeming@lyx.org>
616
617         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
618         only if lyxrc.path_prefix is not empty.
619
620 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
621
622         * bufferparams.C (readGraphicsDriver): prevent crash
623
624 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
625
626         * text2.C (setCounter): check for inInset() == 0
627
628 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
629
630         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
631         but use update() to get correct screen display; use convert
632         instead of istringstream.
633         (getStatus): handle LFUN_GOTO_PARAGRAPH
634
635         * lyxfunc.C (dispatch, getStatus): do not handle
636         LFUN_GOTO_PARAGRAPH here.
637
638 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
639
640         * text3.C (dispatch): size() -> depth()
641
642         * text2.C: remove some debug output
643
644         * paragraph.C: ws changes only
645
646         * lyxfunc.C (getStatus): size() -> depth()
647
648         * dociterator.h (clear, push_back, pop_back, internalData,
649         operator[], resize, empty): new functions
650         Make StableDocIterator and operator== be friends. Don't inherit
651         from std::vector use a privat class variable slices_ instead.
652         Modify to fit.
653
654         * dociterator.C: update because of not inheriting from std::vector
655         anymore. Call explictly to slices_ instead. Use depth() instead of
656         size() and top() instead of back()
657
658         * cursor.C: chagne size() -> depth and back() -> top(). Also
659         remove some direct operator[](i) calls in favour of foo[i]
660         (getFont): remove some dead code
661
662         * bufferview_funcs.C (coordOffset): size() -> depth()
663
664         * buffer.C: ws changes only
665
666         * CutAndPaste.C (eraseSelection): back() -> top()
667
668         * BufferView_pimpl.C (selectionRequested): back() -> top()
669
670         * BufferView.C (setCursor): size() -> depth()
671
672 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
673
674         * text3.C (cursorPrevious): return true if depm changed something
675         (cursorNext): ditto
676         (dispatch): rename sl to oldTopSlice, remove moving use the new
677         NoUpdate func attrib instead. Make sure that needsUpdate is set
678         for function that have NoUpdate, but where depm might have changed
679         the buffer anyway.
680
681         * text2.C (cursorLeft): make us return true if depm changed
682         something
683         (cursorRight): ditto
684         (cursorUpParagraph): ditto
685         (curosrDownParagraph): ditto
686         (cursorUp, cursorDown): ditto, make sure to read comments in code
687         (deleteEmptyParagraphMechanism): remove an assert, also return
688         true if just a single char was deleted.
689
690         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
691         cursor that we modify, to avoid modifying an active cursor before
692         we call setCursor. This allows depm to run. Also return true if
693         depm deleted something.
694
695         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
696         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
697         cursorDownParagraph, cursorPrevious and cursorNext, return true if
698         something was changed in the buffer because of them (ie. depm run)
699
700         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
701         debug messages. Make update by default be false. Make sure that
702         the result of update is retained throught several calls down to
703         dispatch.
704
705         * LyXAction.h: add a new func_attrib: NoUpdate
706
707         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
708         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
709         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
710         and LFUN_WORDLEFT
711         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
712
713 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
714
715         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
716         bv_->owner(), bv_->buffer() by direct references to the private
717         members.
718         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
719         (getStatus): isSavedPosition() is in BufferView::Pimpl.
720         (fitCursor): center() is in BufferView::Pimpl.
721         (getStatus, trackChanges, dispatch): no need for a temporary buf
722         variable
723         (fitCursor, workAreaDispatch): use workarea().workheight()
724
725 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
726
727         * CutAndPaste.C (pasteSelectionHelper): fix a crash
728
729 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
730
731         * buffer.C: format up to 241.
732         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
733         break if pasting into ERT
734         * lyxfunc.C (getStatus): suppress mathpanel and
735         LFUN_DIALOG_SHOW_NEW_INSET in ERT
736
737 2005-02-01  Angus Leeming  <leeming@lyx.org>
738
739         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
740
741 2005-02-01  Angus Leeming  <leeming@lyx.org>
742
743         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
744         calling fs::is_directory().
745
746 2005-01-31  Angus Leeming  <leeming@lyx.org>
747
748         * lyx_main.C (priv_exec): specify explicitly the relative location
749         of the top level build directory when run in-place.
750
751 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
752
753         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
754         LyXText containing the cursor, not the top-level one.
755
756         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
757         true.
758         (insertStringAsLines): rename par to pit; use temporary variable
759         par to hold a Paragraph; do not store par.layout() in a variable,
760         since the pointer may die when breaking paragraphs; pass pars to
761         breakParagraph() instead of Buffer::paragraphs().
762
763 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
764
765         * lyxlex_pimpl.h: #include <fstream>.
766
767         * BufferView.[Ch] (getLyXText): add a const version.
768
769         * BufferView_pimpl.C: add debug aids.
770
771         * RowList_fwd.h:
772         * buffer.h:
773         * lyxrow.h:
774         * paragraph_funcs.h: add commentary explaining what the class does.
775
776
777         * coordcache.[Ch]: add lots of commentary.
778         (startUpdating, doneUpdating): debug aids.
779         (arrays, insets, parPos, getParPos): accessors to private data.
780
781         * cursor_slice.[Ch] (text): add a const version.
782         * dociterator.[Ch] (text, innerText): add const versions.
783
784         * lyxtext.h (breakParagraph): change the keep_layout arg to a
785         bool.
786
787         * paragraph.C (getRow, pos2ros): add asserts.
788
789         * paragraph.h: add commentary. Lots of.
790
791         * paragraph.[Ch] (metrucs, draw): removed.
792
793         * cursor.C:
794         * rowpainter.[Ch]: const-correct changes.
795
796         * text.C: various obvious clean-ups. Removal of ancient cruft.
797         Bug fixes, even.
798
799 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
800
801         * vc-backend.C (find_file): rewrite to use boost.filesystem
802         (scanMaster): ditto
803
804         * main.C (main): set default name check for boost.filesystem to
805         no check
806
807         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
808         (open): ditto
809         (doImport): ditto
810         (actOnUpdatedPrefs): ditto
811
812         * lyx_main.C (init): rewrite to use boost.filesystem
813         (queryUserLyXDir): ditto
814
815         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
816         (getContentsOfAsciiFile): ditto
817
818         * lastfiles.C (readFile): rewrite to use boost.filesystem
819
820         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
821
822         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
823         (loadLyXFile): ditto
824
825         * buffer.C (Buffer): adjust for destroydir
826         (getLogName): rewrite to use boost.filesystem
827         (setFileName): ditto
828         (save): use fs::copy_file (from fs_extras)
829
830         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
831
832         * LaTeX.C (run): rewrite to use boost.filesystem
833         (scanAuxFiles): ditto
834         (handleFoundFile): ditto
835
836 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
837
838         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
839
840         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
841
842 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
843
844         * lyxlayout.[Ch]: change some vars from float to double
845
846         * buffer.C (readFile): make a local var const
847
848         * Several files: use convert<> instead of atoi,strToXXX and friends
849
850 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
851
852         * LaTeXFeatures.[Ch]: Add a static list packages_ that
853         holds the contents of packages.lst. New functions getAvailable
854         and isAvailable to parse and check that list, resp.
855
856         * LyXAction.C:
857         * lfuns.h:
858         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
859
860         * bufferparams.[Ch]: new param output_changes.
861
862         * Buffer.C: increase file format to 240.
863         Use output_changes and isVailable.
864
865         * changes.[Ch]:
866         * paragraph.C:
867         * paragraph_pimpl.C: Use output_changes and isVailable.
868
869 2005-01-23  Angus Leeming  <leeming@lyx.org>
870
871         * output_latex.C: #include "insetbibitem.h", rather than
872         forward declare function bibitemWidest.
873
874 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
875
876         * lyx_main.C (init): make it compile on the Mac.
877
878 2005-01-20  Angus Leeming  <leeming@lyx.org>
879
880         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
881         (setLyXMisc): (char string literal) != (char string literal) is
882         performing a comparison on the addresses. Convert one operand
883         explicitly to string to guarantee expected behaviour.
884         From MSVC warning.
885
886 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
887
888         * buffer.C:
889         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
890
891         * output_plaintext.C: remove unneeded #include gzstream.h.
892
893 2005-01-20  Angus Leeming  <leeming@lyx.org>
894
895         * SpellBase.h: rename some of the elements of the Result enum.
896
897         * aspell_local.h:
898         * ispell.h:
899         * pspell.h:
900         * aspell.C (check):
901         * ispell.C (check):
902         * pspell.C (check): ditto
903
904 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
905
906         * buffer.C: add #include <fstream>.
907
908         * lyx_main.C (init): Compile fix.
909
910         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
911
912 2005-01-20  Angus Leeming  <leeming@lyx.org>
913
914         * mover.h: change commentary to reflect the changed meaning of
915         the $$s placeholder.
916
917 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
918
919         * output_linuxdoc.C (linuxdocParagraphs): silence warning
920
921         * lyxfind.C (MatchString::operator()): remove bogus semicolon
922
923 2005-01-20  Angus Leeming  <leeming@lyx.org>
924
925         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
926         printing diagnostic data by not dereferecing an iterator past the
927         end.
928
929 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
930
931         * buffer.C (readHeader): use "&&" rather than "and".
932
933         * lyxserver.h (inPipeName, outPipeName): make these const.
934
935 2005-01-19  Angus Leeming  <leeming@lyx.org>
936
937         * lyx_main.C (error_handler, init): protect SIGHUP with
938         #ifdef SIGHUP guards.
939
940 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
941
942         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
943
944 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
945
946         * text.C (setHeightOfRow): add a margin at the top and bottom of
947         the document (bug 1761)
948
949 2005-01-17  Angus Leeming  <leeming@lyx.org>
950
951         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
952         with "python ". Workaround for a brain-dead Windows.
953
954 2005-01-16  Angus Leeming  <leeming@lyx.org>
955
956         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
957         for MacOSX and Windows to use prependEnvPath.
958         Strip out the hard-coded block to add elements to the PATH for
959         MacOSX and replace it with a call to prependEnvPath using the
960         contents of LyXRC::path_prefix.
961         (queryUserLyXDir): strip out the code to run reconfigure, instead
962         returning a boolean indicating the necessity to do so.
963         (reconfigureUserLyXDir): contains the code to reconfigure the
964         user support directory. Is now called after the various LyXRC data
965         files have been read.
966
967         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
968
969 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
970
971         * converter.[Ch] (convert): take a new parameter try_default. Use
972         a default converter (imagemagick) if try_default is true.
973
974 2005-01-13  Angus Leeming  <leeming@lyx.org>
975
976         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
977         os::cygwin_path_fix.
978         (write): output LyXRC::cygwin_path_fix as necessary.
979
980 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
981
982         * lyxrc.h:
983         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
984
985 2005-01-12  Angus Leeming  <leeming@lyx.org>
986
987         * lyx_main.C (init): set the PATH variable to include the
988         directory containing the LyX binary when running on Mac or Windows.
989
990 2005-01-12  Angus Leeming  <leeming@lyx.org>
991
992         * lyx_main.C (init): remove cruft that purports to set the locale
993         dir. It doesn't and is not needed anyway.
994
995 2005-01-10  Angus Leeming  <leeming@lyx.org>
996
997         * Makefile.am: remove the lyx_main.C special casing.
998
999         * BufferView_pimpl.C:
1000         * bufferlist.C:
1001         * exporter.C:
1002         * lyx_cb.C:
1003         * lyx_main.C:
1004         * lyxfunc.C:
1005         * messages.C: use support/package.h to provide the paths to the
1006         various directories used by LyX.
1007
1008 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1009
1010         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1011         layout if pasting into an empty paragraph)
1012
1013 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1014
1015         * tex-accent.C: add <string>
1016
1017 2005-01-06  José Matos  <jamatos@lyx.org>
1018
1019         * ParagraphParameters.C (write): put every parameter in its own line.
1020         * paragraph.C (write): reduce number of consecutive empty lines exported.
1021         * buffer.C (LYX_FORMAT): increase file format to 239.
1022
1023 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1024
1025         * everywhere: change support/tostr.h -> support/convert.h
1026
1027         * tabular.C: make all write_attributes templates, tostr -> convert
1028
1029         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1030         (emptyTag): and -> &&, and fix type for ret from getChar
1031         (getFirstWord): fix type for ret from getChar
1032         (onlyText): and -> &&
1033         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1034         getChar
1035
1036         * toc.C (goTo, action):
1037         * text3.C (dispatch):
1038         * text.C (currentState):
1039         * tex-accent.C (DoAccent):
1040         * sgml.C:
1041         * lyxrc.C:
1042         * lyxfunc.C (menuNew):
1043         * lyxfinc.C (replace):
1044         * counters.C (laberItem):
1045         * bufferview_funcs.C (font2string):
1046         * bufferparams.C (writeFile):
1047         * buffer.C (readFile):
1048         * Spacing.C (set):
1049         * MenuBackend.C: tostr -> convert
1050
1051         * LaTeX.C (runMessage): fix format
1052         (scanAuxFiles): tostr -> convert
1053
1054         * BufferView_pimpl.C (savePosition): fix format
1055         (restorePosition): ditto
1056         (dispatch): ditto
1057
1058 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1059
1060         * Spacing.[Ch]: New method getValueAsString().
1061
1062         * Spacing.[Ch]:
1063         * bufferparams.C:
1064         * ParagraphParameters.C:
1065         * lyxlayout.C:
1066         * text.C:
1067         * text3.C: store/read spacing value as string.
1068
1069         * rowpainter.C: change float value (spacing_val) to double.
1070
1071         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1072         broken custom document spacing).
1073
1074 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1075
1076         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1077         namespace, also more use of temp references and const
1078
1079         * cursor.[Ch] (getStatus): move to lyxfunc.C
1080
1081         * bufferparams.C: reformat slightly
1082
1083         * bufferview_funcs.C (font2string): constify arg
1084
1085         * changes.C:
1086         * converter.C:
1087         * counters.C:
1088         * bufferlist.C:
1089         * buffer_funcs.C: (many funcs): constify arg on function
1090         definitions, also make more local vars const, also add ASSERTS on
1091         pointer args.
1092
1093         * buffer.C (LYX_FORMAT): put const in correct place
1094         (many funcs): constify arg on function definitions, also make
1095         more local vars const
1096
1097         * aspell_local.h: remove "struct" from typdef setup
1098
1099         * aspell.C (check): make word_ok const
1100         (nextMiss): simplify slightly
1101         (error): ditto
1102
1103 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1104
1105         * lyxrc.[Ch]: store all float values as strings.
1106         use int (not float) for lyxrc.dpi.
1107
1108 2005-01-04  Angus Leeming  <leeming@lyx.org>
1109
1110         * lyx_cb.C (Reconfigure):
1111         * lyx_main.C (queryUserLyXDir):
1112         to run the <system_lyxdir>/configure correctly on Windows, prefix
1113         the path to the script with "sh " when generating the string that
1114         is passed to system().
1115
1116 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1117
1118         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1119
1120 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1121
1122         * lyxlength.C (asLatexString): get rid of setprecision
1123
1124 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1125
1126         * text2.C (setLayout): remove unused variable endpit.
1127         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1128
1129         * paragraph.C (onlyText): remove unused variable style.
1130
1131         * cursor.C (bruteFind): remove unused variables beg and end.
1132
1133         * Makefile.am (dist_noinset_DATA): not needed anymore
1134
1135         * cheaders/*: remove.
1136
1137 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1138
1139         * text3.C: fix LFUN_MATH_MODE.
1140
1141 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1142
1143         * buffer_funcs.C (countWords): new function. Counts words between
1144         two iterators.
1145
1146         * BufferView_pimpl.C (getStatus, dispatch): handle
1147         LFUN_WORDS_COUNT.
1148
1149         * LyXAction.C (init):
1150         * lfuns.h: add LFUN_WORDS_COUNT.
1151
1152 2004-12-19  Angus Leeming  <leeming@lyx.org>
1153
1154         * buffer.C (save): s/slashify_path/internal_path/.
1155
1156 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1157
1158         * lyxfind.C (findChange): do not search for end of pars, because
1159         the change tracker cannot handle this (fixes bug 1719).
1160
1161 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1162
1163         * paragraph.[Ch] (autoBreakRows): remove
1164
1165         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1166
1167         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1168         avoid using the paragraph one
1169
1170         * text2.C (LyXText, insertStringAsLines): adjust
1171
1172 2004-12-16  Angus Leeming  <leeming@lyx.org>
1173
1174         * bufferlist.C:
1175         * lyx_main.C:
1176         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1177
1178 2004-12-14  Angus Leeming  <leeming@lyx.org>
1179
1180         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1181
1182         * bufferlist.C (emergencyWrite):
1183         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1184         GetEnvPath("HOME").
1185
1186 2004-12-14  Angus Leeming  <leeming@lyx.org>
1187
1188         * main.C: (main): no longer pass pointers to os::init.
1189
1190 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1191
1192         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1193         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1194
1195 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1196
1197         * lyxfunc.C:
1198         * text3.C: remove selection_possible global flag
1199
1200 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1201
1202         * text2.C (getSelectionSpan): remove
1203         (changeDepth, changeDepthAllowed): adjust
1204
1205 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1206
1207         * Makefile.am (BOOST_LIBS): use boost variables
1208
1209 2004-12-03  José Matos  <jamatos@lyx.org>
1210
1211         * buffer.C: format up to 238.
1212
1213 2004-12-03  José Matos  <jamatos@lyx.org>
1214
1215         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1216
1217 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
1218
1219         * cursor.C (goUpDown): remove call to idxUpDown2
1220
1221 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1222
1223         * tabular.[Ch]: use size_t-like types for cell, row and column
1224         indices
1225
1226 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1227
1228         * lyxfunc.C (getStatus): do not lose previous information when
1229         calling BufferView::getStatus; do not set a default "Command
1230         disabled" message at the beginning, but just before returning.
1231
1232 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1233
1234         * cursor.h (getStatus): add better comment from src/cursor.C
1235
1236 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1237
1238         * text3.C (getStatus): return false when the lfun is not handled
1239
1240 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1241
1242         * broken_headers.h: remove
1243
1244         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1245
1246 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1247
1248         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1249         offset_ref accessors
1250
1251         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1252         top_y_, merge fitcursor with update
1253         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1254         coord scheme
1255         (metrics): introduce
1256         (workAreaDispatch): adapt to new coord scheme
1257         (redoCurrentBuffer): remove
1258
1259         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1260
1261         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1262         CurStatus enum.
1263
1264         * coordcache.[Ch]: add paragraph cache and helpers
1265
1266         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1267         adjust everywhere
1268
1269         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1270         (targetX, setTargetX): introduce
1271
1272         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1273         baseline -> ascent, as the rest of lyx
1274
1275         * lyxtext.h: remove redoParagraphs, updateParPositions,
1276         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1277         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1278         have ascent/descent (ascent is ascent of first par)
1279
1280         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1281         step of BufferView
1282
1283         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1284
1285         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1286
1287         * pariterator.C: fix infinite loop introduced in par->pit renaming
1288
1289         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1290         in insets and LyXText, draw two off-screen paragraphs using
1291         NullPainter, and adapt to new coord scheme
1292
1293         * text.C:
1294         * text2.C:
1295         * text3.C: adapt lfun handlers to the new coord scheme, which
1296         means: there's only guaranteed coord information for onscreen pars
1297         plus one above and one below. This implies that one can do search
1298         from y coordinates in the range [-1,workHeight]
1299
1300 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1301
1302         * rename a lot of InsetOld to InsetBase
1303
1304 2004-11-25  Angus Leeming  <leeming@lyx.org>
1305
1306         * BufferView_pimpl.C:
1307         * lyx_cb.C:
1308         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1309
1310 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1311
1312         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1313         call BufferView::getStatus if LCursor::getStatus did nothing
1314         (setStatusMessage, getStatusMessage): removed.
1315
1316         * FuncStatus.C (message): new methods. Used to provide an error
1317         message indicating why a command is disabled.
1318         (clear, |=, FuncStatus): update for message.
1319
1320 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1321
1322         * lyxfunc.C (dispatch): always call sendDispatchMessage
1323
1324 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1325
1326         * BufferView.C:
1327         * BufferView_pimpl.C:
1328         * CutAndPaste.C:
1329         * FontIterator.C:
1330         * buffer.C:
1331         * cursor.C:
1332         * cursor_slice.[Ch]:
1333         * dociterator.[Ch]:
1334         * lyxfind.C:
1335         * paragraph_funcs.C:
1336         * pariterator.C:
1337         * rowpainter.C:
1338         * text.C:
1339         * text2.C:
1340         * text3.C:
1341         * undo.C: par->pit renaming
1342
1343 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1344
1345         * tabular.C (cellstruct): use initialization, store a shared_ptr
1346         to insettext instead of the insettext directly, adjust to fit.
1347         (operator=):  new function
1348         (swap): new function
1349         (rowstruct): use initialization
1350         (columnstruct): use initialization
1351         (ltType): use initialization
1352
1353
1354         * lyxlength.h (swap): new function
1355
1356         * LColor.[Ch] (operator=): use the common semantics
1357
1358 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1359
1360         * lyxfind.C (findNextChange): update the bufferview after setting
1361         the selection.
1362
1363 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1364
1365         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1366         number of InsetOptArgs has already been inserted.
1367
1368         * output_latex.C (latexOptArgInsets): new method. This outputs all
1369         the optarg insets, up to the limit defined in the layout file.
1370         (optArgInset): removed
1371         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1372
1373 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1374
1375         * paragraph.C (isLetter): remove special spellchecker-related
1376         code; return true also for digits
1377         (isWord, isKomma): remove
1378
1379         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1380         * lyxfind.C (MatchString()): use isLetter instead of isWord
1381
1382 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1383
1384         * pariterator.h (operatir=): comment out un-implemented member
1385         function.
1386
1387         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1388         static cast.
1389
1390 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1391
1392         * lyxfont.h: include LColor.h to satisfy concept checks.
1393
1394 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1395
1396         * pariterator.h: add typdefs for value_type, difference_type,
1397         pointer and reference to satisfy concept checks. Also add default
1398         constructor for same reason.
1399
1400         * pariterator.C (operator++): add post-increment operator to
1401         satisfy concept checks.
1402
1403         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1404         checks.
1405
1406         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1407
1408         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1409         checks. Also rename base_type to BaseType to follow naming
1410         standard better.
1411
1412         * FloatList.h: include Floating.h to satisfy concept checks.
1413
1414 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1415
1416         * lyxfunc.C (getStatus): when the origin of the request is menu or
1417         toolbar, and the LyXView does not have focus, do as if there was
1418         no buffer (bug 1720)
1419
1420         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1421         FuncRequest to individual entries of LFUN_SEQUENCE
1422
1423 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1424
1425         * output_latex.C (TeXOnePar): override runparams.moving_arg
1426         according to the needprotect value of the current paragraph (bug
1427         1739)
1428
1429         * paragraph.C (simpleTeXOnePar): no need to override
1430         runparams.moving_args here
1431
1432 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1433
1434         * vspace.C: fix off-by-one-error, related to fix #1682
1435
1436 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1437
1438         * lengthcommon.C: a more general fix for bug 1682
1439
1440 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1441
1442         * text.C (backspace): fix crash
1443
1444 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1445
1446         * format.[Ch] (getFormatFromFile): new method
1447         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1448
1449 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1450
1451         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1452
1453 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1454
1455         * lyxfunc.C (dispatch): remove the verbose argument
1456         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1457         instead
1458
1459         * kbmap.C (defkey): set the origin of func to KEYBOARD
1460
1461         * MenuBackend.C (MenuItem):
1462         * ToolbarBackend.C (add): set the origin of func to UI
1463
1464         * funcrequest.[Ch]: add origin member, which indicates which part
1465         of LyX requests an action
1466
1467 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1468
1469         * converter.C (move): don't lie in the error message
1470         * converter.h (isReachable, move): document
1471
1472 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1473
1474         * buffer.C: remove unused using lyx::support::atoi
1475         * paragraph_funcs.C: ditto
1476
1477 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1478
1479         * bufferlist.C (exists): use bind and equal_to instead of
1480         compare_memfun
1481         (getBuffer): ditto
1482         * lyxtextclasslist.C (NumberOfClass): ditto
1483
1484         * cursor.C (insert): use for_each instead of explicit for loop
1485
1486         * bufferlist.C (getFileNames): use std::transform and
1487         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1488
1489         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1490         for loop
1491
1492         * buffer.C (changeLanguage): use for_each instead of explicit for
1493         loop
1494         (hasParWithID): implement using getParFromID
1495
1496         * LaTeXFeatures.C: ws change only
1497
1498         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1499         to cleanup a bit.
1500
1501         * BufferView_pimpl.C (trackChanges): use for_each instead of
1502         expilicit for loop
1503
1504 2004-11-04  André Pönitz  <poenitz@gmx.net>
1505
1506         * undo.h:
1507         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1508
1509         * dociterator.C (asDocIterator): use hard assert again.
1510
1511 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1512
1513         * lyxlength.C (asLatexString): rewrite so that it does not use
1514         snprintf anymore
1515
1516 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1517
1518         * text3.C (specialChar, dispatch): make sure cursor moves to the
1519         right after inserting an inset
1520
1521 2004-11-02  José Matos  <jamatos@lyx.org>
1522
1523         * output_docbook.C (docbook):
1524         * paragraph.C (getID):
1525         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1526         garantee that the output is always legal.
1527
1528         * tabular.C (docbook):
1529         * outputprams.[Ch]: remove mixed contents.
1530
1531 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1532
1533         * text2.C (setCounter): prevent endless loop
1534
1535 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1536
1537         * exporter.C (copyFile): use the mover instead of support::copy()
1538         * exporter.C (Export): pass format and latex name to copyFile()
1539         * exporter.h (addExternalFile): document
1540         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1541
1542 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1543
1544         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1545
1546 2004-10-30  José Matos  <jamatos@lyx.org>
1547
1548         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1549         text and no inset or font change. This allows to use CDATA
1550         sections just for the whole paragraph.
1551
1552 2004-10-30  José Matos  <jamatos@lyx.org>
1553
1554         * paragraph.C (getFirstWord): remove unused variable.
1555
1556 2004-10-30  José Matos  <jamatos@lyx.org>
1557
1558         * paragraph.C (getFirstWord): the content should always be escaped
1559         there.
1560         (simpleDocBookOnePar):
1561         * output_docbook.C (makeEnvironment): replace reference to CDATA
1562         to style pass_thru.
1563
1564 2004-10-30  José Matos  <jamatos@lyx.org>
1565
1566         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1567
1568 2004-10-30  José Matos  <jamatos@lyx.org>
1569
1570         * output_docbook.C (makeParagraphs):
1571         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1572         standard paragraph has only a given type of content drop the wrapper.
1573
1574 2004-10-29  José Matos  <jamatos@lyx.org>
1575
1576         * output_docbook.C (makeEnvironment):
1577         * sgml.C (openTag):
1578         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1579
1580 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1581
1582         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1583         (cleanID): sanitize any id.
1584
1585 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1586
1587         * buffer.C, lyxlex_pimpl.C:
1588         * lyxlex_pimpl.C (setFile):
1589         s/getExtFromContents/getFormatFromContents/
1590
1591 2004-10-28  José Matos  <jamatos@lyx.org>
1592
1593         * output_docbook.C (makeEnvironment): move id to broadest possible
1594         scope.
1595
1596         * sgml.C (openTag): apply substitution of <> for all attributes.
1597
1598 2004-10-28  José Matos  <jamatos@lyx.org>
1599
1600         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1601         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1602         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1603
1604         * sgml.[Ch]: new version for open and closeTag for paragraph and
1605         for strings. Now they handle the ids of paragraphs.
1606
1607 2004-10-26  Angus Leeming  <leeming@lyx.org>
1608
1609         * Makefile.am: add mover.[Ch].
1610
1611         * converter.C (convert, move): use the new Movers to move external
1612         files to the temp directory.
1613
1614         * lyx_main.C (init): ensure that the global system_movers data
1615         is initialised.
1616
1617         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1618         preferences file.
1619
1620         * mover.[Ch]: new files, defining a Mover as a utility to move an
1621         external file between directories and, if necessary, manipulate this
1622         file using a helper script.
1623
1624 2004-10-25  José Matos  <jamatos@lyx.org>
1625
1626         * output_docbook.C (makeCommand): merge two if's that tested the
1627         same condition.
1628
1629 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1630
1631         * sgml.C (escapeString): fix warning in a better way
1632
1633 2004-10-25  José Matos  <jamatos@lyx.org>
1634
1635         * sgml.C (escapeString): import the require boosts header file for
1636         tie, and avoid a signed unsigned comparison.
1637
1638 2004-10-25  José Matos  <jamatos@lyx.org>
1639
1640         * sgml.h: add #include <string>
1641
1642 2004-10-25  José Matos  <jamatos@lyx.org>
1643
1644         * sgml.[Ch] (escapeString): new function to escape all the string.
1645
1646 2004-10-24  José Matos  <jamatos@lyx.org>
1647
1648         * paragraph.[Ch] (getFirstWord): new function to get the first
1649         word. Useful for description.
1650         (simpleDocBookOnePar): remove depth argument, add another that
1651         says where to start the paragraph.
1652
1653         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1654         use the new functions to fix cleanly the support for descriptions.
1655
1656 2004-10-24  José Matos  <jamatos@lyx.org>
1657
1658         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1659         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1660         * output_linuxdoc.C (linuxdocParagraphs):
1661         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1662         add buffer as argument.
1663
1664 2004-10-24  José Matos  <jamatos@lyx.org>
1665
1666         * output_docbook.C (makeEnvironment, searchEnvironment): place
1667         CDATA inside paragraphs and fix scope for listitems.
1668
1669 2004-10-24  José Matos  <jamatos@lyx.org>
1670
1671         * output_docbook.C: remove using statement for stack.
1672
1673 2004-10-23  José Matos  <jamatos@lyx.org>
1674
1675         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1676         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1677         docbook. The new scheme is recursive and makes use of iterators, the
1678         same as latex export works.
1679         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1680         directly with the paragraph contents. This code was moved up to
1681         output_docbook.C (docbookParagraphs).
1682         * sgml.C (openTag, closeTag): removed unneeded newlines.
1683         (closeEnvTags) removed.
1684
1685 2004-10-23  André Pönitz  <poenitz@gmx.net>
1686
1687         * undo.C (textUndoOrRedo):
1688         * dociterator.C (asDocIterator): work around crash
1689
1690         * cursor.C (getStatus): replace ASSERT by more verbose error message
1691           and manual correction of the problem. Should increase stability
1692           while providing more sensible information.
1693
1694 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1695
1696         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1697
1698         * bufferlist.C (previous, next): new methods
1699
1700         * lfuns.h:
1701         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1702
1703 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1704
1705         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1706         entities to preamble.
1707
1708 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1709
1710         * messages.C (Pimpl): strip off translation context information
1711
1712 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1713
1714         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1715         the cursor is correct (bug 1694)
1716
1717 2004-10-13  José Matos  <jamatos@lyx.org>
1718
1719         * output_docbook.C (docbookParagraphs): fix closing tags in the
1720         end of the document.
1721
1722 2004-10-09  José Matos  <jamatos@lyx.org>
1723
1724         * buffer.C: format up to 237.
1725         * bufferparams.C (write): use tostr to convert booleans to strings.
1726
1727 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1728
1729         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1730
1731 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1732
1733         * LaTeX.C: implement use of babel language in xindy.
1734
1735 2004-10-05  José Matos  <jamatos@lyx.org>
1736
1737         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1738         Add new translators to help reading and writing the lyx file.
1739
1740 2004-10-05  José Matos  <jamatos@lyx.org>
1741
1742         * ParagraphParameters.C (read):
1743         * text.C (readParToken): replace nexToken by more appropriate lex
1744         methods.
1745
1746 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1747
1748         * LaTeX.C (runMakeIndex):
1749         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1750         (usually 'makeindex') configurable.
1751
1752         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1753         with a variable rather than with a number.
1754
1755 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1756
1757         * output_latex.C (TeXOnePar): make sure font setting is the first
1758         thing that gets output (and the last at the end). Should fix bug
1759         1404.
1760
1761 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1762
1763         * pch.h: use proper signal include
1764
1765         * LaTeX.h: Use preferred calling of Boost.Signal
1766         * buffer.h: ditto
1767
1768 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1769
1770         * pch.h: dont include <boost/function/function0.hpp>
1771
1772         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1773
1774         * paragraph_pimpl.h: remove usage of ShareContainer
1775
1776         * paragraph_pimpl.C: remove initialization of ShareContainer.
1777
1778 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1779
1780         Fix bug #1666
1781
1782         * BufferView.C (putSelectionAt): change the semantics when
1783         backwards == true: now, this just swaps cursor and anchor wrt the
1784         forward case
1785
1786         * BufferView.h (putSelectionAt): add some documentation
1787
1788         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1789         make sure backwardChar is done at least once (to avoid getting
1790         stuck)
1791         (findNextChange): use putSelectionAt in the forward direction
1792         (operator()): use Paragraph::isWord
1793
1794 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1795
1796         * Spacing.C (set): c_str fix
1797
1798 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1799
1800         * lyx_cb.C (Reconfigure): quote the name of configure script in
1801         case it contains spaces
1802
1803 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1804
1805         * client: new dir
1806
1807         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1808         (BOOST_LIBS): use top_buildir when looking for the file
1809
1810 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1811
1812         * pch.h: do not use include boost/format.hpp, multiple symbols
1813                 will result (gcc bug)
1814
1815
1816 2004-08-23  José Matos  <jamatos@lyx.org>
1817
1818         * bufferparams.C (readToken): fix reading of the author field.
1819
1820 2004-08-20  José Matos  <jamatos@lyx.org>
1821
1822         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1823
1824 2004-08-20  José Matos  <jamatos@lyx.org>
1825
1826         * lyxlex.[Ch] (findToken): remove function.
1827
1828         * ParagraphParameters.C (findToken):
1829         * bufferparams.C (findToken): replace call for previous function
1830         with local copy. This local function has one more argument, the
1831         read string argument.
1832
1833 2004-08-16  José Matos  <jamatos@lyx.org>
1834
1835         * ParagraphParameters.C (write):
1836         * Spacing.C (writeFile):
1837         * bufferparams.C (writeLaTeX):
1838         * lyx_cb.C (Reconfigure):
1839         * paragraph.C (write):
1840         * tabular.C (write): remove unnecessary space at end of line.
1841
1842
1843 2004-08-16  José Matos  <jamatos@lyx.org>
1844
1845         * text.C (readParagraph): remove debug message.
1846
1847 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1848
1849         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1850         crash
1851
1852         * output_plaintext.C (asciiParagraph): set depth correctly
1853
1854         * outputparams.h: add member depth
1855
1856         * paragraph_funcs.C (ownerPar): remove.
1857
1858         * text2.C (setCounter): remove first_pit; comment out some
1859         non-working code that uses ownerPar
1860
1861         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1862         uses ownerPar
1863
1864 2004-08-16  José Matos  <jamatos@lyx.org>
1865
1866         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1867         For the same level of importance use the same chanel to report problems.
1868         (read): add code to deal with \begin_body and \end_body.
1869
1870
1871 2004-08-15  José Matos  <jamatos@lyx.org>
1872
1873         * lyxlex.C (getString): fix comment, buffer::readBody is now
1874         buffer:readDocument.
1875
1876         * tex-strings.C (string_papersize): Default -> default,
1877         Custom -> custom, for consistency with other options.
1878
1879 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1880
1881         * pch.h: new file
1882
1883         * Makefile.am: support pch
1884
1885 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1886
1887         * text.C (readParToken): remove the static LyXFont variable and
1888         pass it as a parameter instead. This fixes a nasty bug where an
1889         inset will be inserted with a bad font in some situations
1890         (readParagraph): adapt
1891
1892         * text2.C (setCounter): reduce number of calls to pars_[pit]
1893
1894         * text.C (singleWidth): add an assert, fix a test
1895
1896         * rowpainter.C (paintText): reduce number of calls to singleWidth
1897
1898         * paragraph.C (isHfill):
1899         (isNewline): ws only
1900
1901 2004-08-14  André Pönitz  <poenitz@gmx.net>
1902
1903         * text.C:
1904         * text2.C:
1905         * rowpainter.C:
1906         * lyxtext.h (several functions): use a Paragraph & argument
1907         instead of par_type
1908
1909 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1910
1911         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1912
1913         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1914
1915         * text.C (singleWidth): remove useless test
1916
1917 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1918
1919         * tabular.h: remove bogus comments
1920
1921         * tabular.C (getDescentOfRow):
1922         (isPartOfMultiColumn): add assertions
1923
1924         * lyxlength.C (inPixels): remove #warning
1925
1926 2004-08-14  André Pönitz  <poenitz@gmx.net>
1927
1928         * paragraph.h: inline getChar()
1929
1930         * BufferView.h: remove unused declarations
1931
1932 2004-08-14  José Matos  <jamatos@lyx.org>
1933
1934         * Buffer.[Ch] (readDocument): new name for old readBody.
1935         * Buffer.C: new file format, new keywords: \begin_document,
1936         \begin_header, \begin_body, \end_body.
1937
1938         * bufferparams.C (readToken): replace all calls to lex.nextToken
1939         by lex.next(). Do the same to eatLine except where really needed.
1940
1941         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1942         line when writing to the lyx file.
1943
1944         * output_plaintext.C (asciiParagraph): fix Bibliography style
1945         handling.
1946
1947         * text.C (read): fix end of file handling.
1948
1949 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1950
1951         * MenuBackend.C (Menu::operator[]): new method to access
1952         individual menu items
1953         (Menu::hasFunc): new method. search for an item that corresponds
1954         to a given func
1955         (MenuBackend::specialMenu): new method
1956         (MenuBackend::expand): if a special menu has been set, skip
1957         entries whose func() appears in this menu
1958
1959 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1960
1961         * text3.C: use Debug::DEBUG a bit more
1962
1963         * text.C (leftMargin): try to simplify a tiny bit change var x to
1964         l_margin. Dont output the wide margins always.
1965         (rightMargin): no margin in inner texts
1966
1967         * rowpainter.h (nestMargin): new func
1968         (changebarMargin): new func
1969         (rightMargin): new func
1970
1971         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1972         now functions.
1973         (paintLast): ditto
1974
1975         * factory.C (createInset): modify setDrawFrame
1976
1977         * cursor.C: use Debug::DEBUG a bit more
1978
1979 2004-08-14  André Pönitz  <poenitz@gmx.net>
1980
1981         * coordcache.[Ch]:
1982         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1983         cache for all insets in (at least partially) visible (top-level)
1984         paragraphs.
1985
1986         * BufferView_pimpl.C: reset external coord cache before every update.
1987         This means the coord cache only contains valid entries.
1988
1989 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1990
1991         bug 1096
1992         * BufferView_pimpl.C (getInsetByCode): move function out of class
1993         and change in to a template in anon namespace. Also fix to do what
1994         suits us better.
1995
1996 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1997
1998         bug 1305
1999         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2000         of char
2001         (breakParagraph): rename par to par_offset and use a local
2002         reference. Add code to keep the language over a rebreak.
2003         (breakParagraphConservative): rename par to par_offset, use a
2004         local reference
2005         (mergeParagraph): ditto
2006         (outerHook): ditto
2007         (isFirstInSequence): ditto
2008         (outerFont): rename pit to par_offset
2009
2010         * paragraph.C: ws change
2011         * paragraph.h: ditto
2012         * text3.C: ditto
2013         * text.C: ditto
2014
2015 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2016
2017         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2018         treatment for ']'
2019
2020         * paragraph.C (simpleTeXOnePar): when we have a \item with
2021         optional argument, enclose the argument with curly brackets (in
2022         case it contains a closing square bracket)
2023
2024         * text2.C (editXY):
2025         * text2.C (editXY):
2026         * text3.C (checkInsetHit): constify
2027
2028 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2029
2030         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2031         documents (bug 1629)
2032
2033 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2034
2035         Fix toggling of collapsable insets with the mouse (bug 1558)
2036
2037         * lyxfunc.C (dispatch): adapt to LCursor changes
2038
2039         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2040         make sure that dispatch is not invoked twice
2041
2042         * cursor.C (needsUpdate): new method
2043         (dispatch): return void
2044         (result): new method, to access the DispatchResult of the cursor.
2045
2046 2004-08-13  José Matos  <jamatos@lyx.org>
2047
2048         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2049
2050 2004-08-13  André Pönitz  <poenitz@gmx.net>
2051
2052         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2053
2054         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2055           multiple cells
2056
2057 2004-08-12  André Pönitz  <poenitz@gmx.net>
2058
2059         * text3.C: take out the 'cursor right' form insertInset and only
2060         do it in those places when it is really needed. Fixes crash on
2061         C-m...
2062
2063 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2064
2065         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2066
2067         * BufferView_pimpl.C (setBuffer): initialize the current font of
2068         the underlying LyXText
2069
2070 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2071
2072         * kbsequence.C (print): use UI native formatting for menu
2073         shortcuts
2074
2075         * text.C (insertChar): call Paragraph::insertChar with a font
2076         argument (cosmetic)
2077
2078         * paragraph.C (insertInset, insertChar): the version that takes a
2079         LyXFont argument is now a wrapper around the other one (the
2080         opposite used to be true).
2081
2082         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2083         argument. Font setting is done in Paragraph now.
2084
2085 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2086
2087         * outputparams.h: add new members intitle and lang.
2088
2089         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2090         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2091
2092 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2093
2094         * text3.C (dispatch): remove special handling of button 4 and 5,
2095         it is now taken care of in the frontend code.
2096
2097 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2098
2099         * Spacing.h: add <string> (STLPort compile fix)
2100
2101 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2102
2103         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2104
2105 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
2106
2107         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2108         to bool.
2109
2110         * converter.C (showMessage): inherit from unary_function, make
2111         operator() const.
2112
2113         * buffer.C (writeFile): initialize retval
2114
2115         * InsetList.h: rename private variable list to list_
2116         * InsetList.[Ch]: adjust accordingly.
2117
2118 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
2119
2120         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2121         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2122         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2123         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2124         * ParagraphParameters.C, LaTeXFeatures.C: replace
2125         "support/std_sstream.h" with <sstream>
2126
2127 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
2128
2129         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2130         * lyxsocket.C (LyXServerSocket): ditto
2131         (serverCallback): ditto
2132
2133 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2134
2135         * LaTeXFeatures.C: check release date when loading jurabib.
2136
2137 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2138
2139         * lyxserver.C (startPipe): call register_socket_callback
2140         (endPipe): call unregister_socket_callback
2141
2142 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
2143
2144         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2145         (LyXServerSocket): register the callback
2146         (LyXServerSocket): unregister the callback
2147         (fd): delete function
2148         (serverCallback): improve error checking and setup the callbacks.
2149         (dataCallback): change arg to fd.
2150         (writeln): new func (copied fro the client socket) used for server
2151         write to client.
2152         (LyXDataSocket): simplify
2153         (~LyXDataSocket): close ann unregiser callback
2154         (server): delete function
2155         (fd): delete function
2156         (readln): small changes, improve some std::string usage
2157         (writeln): constify a bit
2158
2159 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2160
2161         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2162         Qt frontend
2163
2164 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2165
2166         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2167         after it has been populated
2168
2169 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2170
2171         * text2.C (insertInset): move cursor when inserting inset.
2172
2173 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2174
2175         * kbmap.C (findbindings): a couple of new methods. returns a
2176         container of kb_sequence objects. The real work is done by the
2177         private recursive version
2178         (printbindings): uses findbindings to print out a bracketed list
2179         of bindings (renamed from findbinding).
2180
2181         * MenuBackend.C (binding): use kb_keymap::findbindings
2182
2183         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2184
2185 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2186
2187         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2188
2189 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2190
2191         * paragraph.C (isWord): return true on insets that report
2192         isLetter().
2193
2194         * text.C (getWord): use Paragraph::isWord to decide what is in a
2195         word and what is not; fix bug 1609.
2196
2197 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2198
2199         * tex-strings.C: add "none" to string_paperpackages[], fixes
2200         off-by-one-error in the paperpackage selection.
2201
2202         * lyxlex.[Ch]:
2203         * tex-strings.[Ch]: char const * string[n]
2204         -> char const * const string[]
2205
2206 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2207
2208         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2209         command, return early.
2210
2211 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
2212
2213         * debug.h: add DEBUG to enum and fix size of ANY.
2214
2215         * debug.C: add support for Debug::DEBUG
2216         (showTags): cast errorTags.level to unsigned int
2217
2218         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2219         (redoCurrentBuffer): ditto
2220         (updateScrollbar): ditto
2221         * cursor.C (dispatch): ditto
2222         * text2.C (setLayout): ditto
2223         (setFont): ditto
2224         (updateCounters): ditto
2225         (editXY): ditto
2226         (deleteEmptyParagraphMechanism): ditto
2227
2228 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
2229
2230         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2231         annotations to cleanup the Makefile slightly.
2232
2233 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2234
2235         * lyxrc.C: do not set user_email to a default value but use empty
2236         instead. The entry used to be translated, which does not work
2237         since at the point where lyxrc is constructed there is no
2238         translation service available
2239
2240         * messages.C (getLocaleDir): remove and use directly
2241         lyx_localedir() instead
2242
2243 2004-06-02  Angus Leeming  <leeming@lyx.org>
2244
2245         Fix crash caused by dereferencing null pointer 'exportdata' in
2246         OutputParams by creating a new ExportData variable on the heap,
2247         storing it in a boost::shared_ptr.
2248         The crash was triggered when generating an Instant Preview
2249         of an external inset.
2250
2251         * Makefile.am: add outputparams.C
2252
2253         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2254         (c-tor): allocate memory to it.
2255
2256         * exporter.C (c-tor): associated changes.
2257
2258 2004-06-01  Angus Leeming  <leeming@lyx.org>
2259
2260         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2261         contains data before calling isInset(0). (Bug 1513.)
2262
2263 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2264
2265         * exporter.C (checkOverwrite): new method
2266         * exporter.C (copyFile): new method
2267         * exporter.C (Export): copy referenced files to the document dir
2268         * exporter.[Ch]: new class ExportedFile
2269         * exporter.[Ch]: new class ExportData. Contains currently the
2270         names of referenced external files
2271         * outputparams.h: add exportdata member.
2272
2273 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2274
2275         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2276         version.C-tmp
2277
2278 2004-05-19  Angus Leeming  <leeming@lyx.org>
2279
2280         * LaTeXFeatures.C:
2281         * ToolbarBackend.C:
2282         * bufferparams.C:
2283         * lyxfunc.C: small changes due to the introduction of namespace
2284         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2285
2286 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2287
2288         * text3.C (dispatch): supress update when only moving the cursor
2289         * cursor.C (selHandle): remove commented code
2290
2291 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2292
2293         * paragraph.C (startTeXParParams): correct column count
2294         * CutAndPaste.C (pasteSelection): remove const_cast
2295         * output_docbook.C (docbookParagraphs): remove const_cast
2296         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2297         const_cast and return ParagraphList::const_iterator
2298         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2299         * output_plaintext.C (writeFileAscii): remove const_cast
2300         * paragraph.[Ch] (simpleTeXOnePar): make const
2301         * paragraph_funcs.C (outerPar): use const iterators
2302         * paragraph_pimpl.C (validate): use const iterators
2303         * text.C (setHeightOfRow): use const iterators
2304
2305 2004-05-17  Angus Leeming  <leeming@lyx.org>
2306
2307         * lfuns.h:
2308         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2309
2310         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2311         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2312         if the citation engine has changed.
2313
2314 2004-05-14  José Matos  <jamatos@lyx.org>
2315
2316         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2317         if the textclass does not provide it. Have it different for sgml and
2318         xml.
2319         support the language of document.
2320         * output_docbook.C (docbookParagraphs):
2321         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2322         first anchor as the id of the paragraph, remove special case code.
2323         * sgml.C (escapeChar): escape only < & >.
2324
2325 2004-05-14  Angus Leeming  <leeming@lyx.org>
2326
2327         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2328         dependencies on src/frontends/controllers/biblio.h. Define a
2329         CiteEngine_enum wrapper class to enable the enum to be forward
2330         declared.
2331
2332 2004-05-12  Angus Leeming  <leeming@lyx.org>
2333
2334         * buffer.C: up LYX_FORMAT to 234.
2335         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2336         use_numerical_citations with a single biblio::CiteEngine cite_engine
2337         variable.
2338         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2339
2340 2004-05-13  José Matos  <jamatos@lyx.org>
2341
2342         * converter.h:
2343         * converter.C (Converter, readFlags): add xml member.
2344         * outputparams.h: add XML flavor.
2345         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2346
2347 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2348
2349         * lyxfunc.C (dispatch):
2350         (getStatus): fix handling of LFUN_SEQUENCE
2351
2352 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2353
2354         * debug.C (showLevel): do not forget the end-of-line marker
2355
2356 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2357
2358         * kbmap.C (read): do not stop parsing a bind file when an error
2359         occurs (bug 1575)
2360
2361 2004-04-29  Angus Leeming  <leeming@lyx.org>
2362
2363         * cursor.C:
2364         * factory.C:
2365         * pariterator.C:
2366         * text2.C: wrap a bunch of #warning statements
2367         inside #ifdef WITH_WARNINGS blocks.
2368
2369 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2370
2371         * buffer.C: increment format to 233.
2372
2373 2004-04-28  Angus Leeming  <leeming@lyx.org>
2374
2375         * BufferView_pimpl.C:
2376         * lyxfunc.C:
2377         * text3.C:
2378         s/updateToolbar()/updateToolbars()/
2379         s/Toolbar.h/Toolbars.h/
2380
2381 2004-04-28  Angus Leeming  <leeming@lyx.org>
2382
2383         * BufferView.[Ch] (c-tor):
2384         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2385         No longer passes these data to the WorkArea generator.
2386
2387 2004-04-28  Angus Leeming  <leeming@lyx.org>
2388
2389         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2390
2391 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2392
2393         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2394
2395 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2396
2397         * output_latex.C (TeXEnvironment): make sure that there is a line
2398         break before \end{foo} for the last paragraph of a document
2399         (TeXOnePar): if the paragraph is at the end of the document (or
2400         inset) and the language has to be reset, then make sure that the
2401         line break is _before_ the language command, not after (fixes bug
2402         1225); also make sure that the language reset command is the first
2403         thing after the paragraph (to ensure proper nesting of
2404         environments and thus fix bug 1404)
2405
2406 2004-04-21  John Levon  <levon@movementarian.org>
2407
2408         * ToolbarBackend.h:
2409         * ToolbarBackend.C: make "name" be a programmatic name
2410         and a gui_name field.
2411
2412         * lyxfunc.C: display the minibuffer on M-x
2413
2414 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2415
2416         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2417         (bug 1526)
2418
2419 2004-04-19  Angus Leeming  <leeming@lyx.org>
2420
2421         * BufferView_pimpl.C (setBuffer): changed preview interface.
2422
2423         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2424         possible values.
2425
2426 2004-04-19  John Levon  <levon@movementarian.org>
2427
2428         * BufferView_pimpl.C:
2429         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2430
2431 2004-04-05  Angus Leeming  <leeming@lyx.org>
2432
2433         * text.C (redoParagraphs): add call to updateCounters(), thereby
2434         fixing the missing "Figure #:" label from the caption of a
2435         figure float.
2436
2437 2004-04-13  Angus Leeming  <leeming@lyx.org>
2438
2439         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2440         cursor is clicked out of an inset.
2441
2442 2004-04-13  Angus Leeming  <leeming@lyx.org>
2443
2444         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2445         than an InsetOld one.
2446
2447 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2448
2449         * format.[Ch]: add editor to Format
2450         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2451         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2452
2453 2004-04-08  André Pönitz  <poenitz@gmx.net>
2454
2455         * metricsinfo.h: remove PainterInfo::width member
2456
2457 2004-04-08  Angus Leeming  <leeming@lyx.org>
2458
2459         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2460         "\providecommand" rather than "\newcommand", thereby preventing
2461         clashes with packages that define "\boldsymbol" themselves.
2462         Eg, beamer.
2463
2464 2004-04-08  Angus Leeming  <leeming@lyx.org>
2465
2466         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2467         thereby squashing an unnecessary warning.
2468
2469 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2470
2471         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2472         setBuffer()
2473
2474 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2475
2476         * BufferView.C (setCursor): call redoParagraph (some insets could
2477         have been opened)
2478         (putSelectionAt): remove the 'double update' trick
2479
2480         * BufferView_pimpl.C (fitCursor): call refreshPar
2481         (workAreaDispatch): remove an uneeded update call
2482         (dispatch): remove some manual update calls
2483
2484         * cursor.[Ch]: remove cached_y_, updatePos
2485         (selHandle): set noUpdate when appropriate
2486
2487         * lyxfunc.C (dispatch): track if we need an update
2488
2489         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2490
2491         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2492         (paintSelection): cheap optimization, do not call cursorX when not
2493         needed
2494         (paintPars): change signature
2495         (refreshPar): add
2496         (paintText): adjust
2497         (paintTextInset): adjust
2498
2499         * text.C: adjust
2500
2501 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2502
2503         * lengthcommon.C: compilation fix: remove explicit array size from
2504         unit_name[] and friends
2505
2506 2004-04-05  Angus Leeming  <leeming@lyx.org>
2507
2508         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2509
2510         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2511         present only for the preferences dialog.
2512         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2513
2514 2004-04-05  Angus Leeming  <leeming@lyx.org>
2515
2516         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2517         to enable the frontends to export changes to lyxrc correctly.
2518
2519         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2520
2521 2004-04-07  André Pönitz  <poenitz@gmx.net>
2522
2523         * cursor.[Ch] (selClear, adjust): remove math
2524
2525         * cursor_slice.C: more agressive assert
2526
2527         * lyxfunc.C:
2528         * BufferView_pimpl.C: rework mouse event dispatch
2529
2530         * dociterator.C:
2531         * paragraph.C:
2532         * text2.C:
2533         * text3.C: adjust
2534
2535 2004-04-05  André Pönitz  <poenitz@gmx.net>
2536
2537         * cursor.[Ch] (valign, halign...): remove unneeded functions
2538
2539 2004-04-05  Angus Leeming  <leeming@lyx.org>
2540
2541         * lyxlength.[Ch] (unit_name et al.): const-correct.
2542
2543 2004-04-05  Angus Leeming  <leeming@lyx.org>
2544
2545         * BufferView_pimpl.C:
2546         * buffer.C:
2547         * counters.C:
2548         * cursor.C:
2549         * lyxfunc.C
2550         * paragraph.C:
2551         * pariterator.C:
2552         * text.C:
2553         * text2.C:
2554         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2555
2556 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2557
2558         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2559
2560 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2561
2562         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2563         * BufferView_pimpl.[Ch] (getStatus)
2564         * BufferView.[Ch] (getStatus): add
2565         * lyxfunc.C (getStatus): move lfuns handled in
2566         BufferView::dispatch to te function above
2567         * Cursor.C (setSelection): set selection() = true
2568
2569 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2570
2571         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2572
2573 2004-03-31  Angus Leeming  <leeming@lyx.org>
2574
2575         * lyxfunc.C (dispatch): Fall through to the generic
2576         Dialogs::show("preamble").
2577
2578 2004-03-31  Angus Leeming  <leeming@lyx.org>
2579
2580         * lyxfunc.C (dispatch): Fall through to the generic
2581         Dialogs::show("spellchecker").
2582
2583 2004-03-31  Angus Leeming  <leeming@lyx.org>
2584
2585         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2586         preferences dialog.
2587
2588 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2589
2590         * BufferView.C
2591         * cursor.[Ch]
2592         * dociterator.[Ch]:
2593         * insetiterator.[Ch]:
2594         * lyxfind.C:
2595         * lyxfunc.C:
2596         * pariterator.[Ch]:
2597         * text2.C:
2598         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2599
2600 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2601
2602         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2603         insets where we are putting the cursor.
2604
2605 2004-03-31  Angus Leeming  <leeming@lyx.org>
2606
2607         * lfuns.h:
2608         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2609
2610         * lyxrc.[Ch] (read, write): overloaded member functions taking
2611         a std::[io]stream arguments.
2612
2613         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2614
2615 2004-03-31  Angus Leeming  <leeming@lyx.org>
2616
2617         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2618         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2619
2620         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2621         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2622
2623 2004-03-31  Angus Leeming  <leeming@lyx.org>
2624
2625         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2626         the LFUN_ALL_INSETS_TOGGLE code.
2627
2628 2004-03-30  Angus Leeming  <leeming@lyx.org>
2629
2630         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2631         has died. Fall through to the generic Dialogs::show("document").
2632
2633 2004-03-30  Angus Leeming  <leeming@lyx.org>
2634
2635         * lfuns.h:
2636         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2637         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2638
2639         * lyxfunc.C (getStatus, dispatch): define the actions for these
2640         lfuns. Little more than a cut and pste job from ControlDocument.C
2641
2642         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2643
2644 2004-03-30  Angus Leeming  <leeming@lyx.org>
2645
2646         * lfuns.h:
2647         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2648         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2649
2650         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2651         open/closed state of ollapsable insets. Usage:
2652
2653         all-inset-toggle <state> <name>, where
2654         <state> == "open" || "closed" || "toggle" and
2655         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2656
2657         * lyxtext.h, text2.C (toggleInset): removed.
2658
2659         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2660         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2661         now passes LFUN_INSET_TOGGLE to the found inset.
2662
2663         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2664         is now invoked as "all-insets-toggle toggle branch".
2665
2666 2004-03-30  Angus Leeming  <leeming@lyx.org>
2667
2668         * dociterator.C:
2669         * insetiterator.C:
2670         * pariterator.[Ch]: added/corrected header blurb.
2671
2672 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2673
2674         * dociterator.[Ch]: add an inset_ member
2675         (backwardPos): implemented
2676         (backwardPos, forwardPos): use inset_ when the stack is empty.
2677         (doc_iterator_begin, doc_iterator_end): implemented
2678         * pariterator.[Ch]: adjust, add begin, end
2679         * insetiterator.[Ch]: adjust, add begin, end
2680         * cursor.C:
2681         * document.C:
2682         * BufferView.C:
2683         * BufferView_pimpl.C:
2684         * CutAndPaste.C: adjust
2685
2686 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2687
2688         * buffer.C: increment file format to 232.
2689         * LaTeXFeatures.C: add bibtopic package.
2690         * bufferparams.[Ch]: param \use_bibtopic.
2691
2692         * lyxrc.[Ch]: add lyxrc bibtex_command
2693         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2694
2695         * buffer.C: increment file format to 231.
2696
2697 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2698
2699         * dociterator.C: implement forwardPar
2700         * iterators.[Ch]: remove, replaced by
2701         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2702         * BufferView.C:
2703         * BufferView_pimpl.C:
2704         * CutAndPaste.C:
2705         * buffer.C:
2706         * bufferview_funcs.C:
2707         * cursor.C:
2708         * lyxfind.C
2709         * lyxfunc.C
2710         * paragraph_funcs.C
2711         * toc.C:
2712         * Makefile.am: adjust
2713
2714 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2715
2716         * CutAndPaste.C (pasteSelection): fix 2 crashes
2717         (eraseSelection): fix a crash
2718         * paragraph_funcs.C: remove a warning
2719
2720 2004-03-28  Angus Leeming  <leeming@lyx.org>
2721
2722         * lfuns.h:
2723         * LyXAction.C (init): new LFUN_PRINT.
2724
2725         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2726
2727 2004-03-27  Angus Leeming  <leeming@lyx.org>
2728
2729         * lfuns.h:
2730         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2731
2732         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2733
2734 2004-03-27  Angus Leeming  <leeming@lyx.org>
2735
2736         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2737         insetlist always contains non-null pointers to insets.
2738
2739 2004-03-26  Angus Leeming  <leeming@lyx.org>
2740
2741         * src/BufferView_pimpl.C:
2742         * src/CutAndPaste.C:
2743         * src/buffer.C:
2744         * src/iterators.C:
2745         * src/output_plaintext.C:
2746         * src/outputparams.h:
2747         * src/paragraph_funcs.C:
2748         * src/rowpainter.C:
2749         * src/text.C:
2750         * src/text2.C:
2751         * src/frontends/controllers/ControlErrorList.C:
2752         * src/frontends/gtk/FileDialogPrivate.C:
2753         * src/frontends/gtk/GPainter.C:
2754         * src/frontends/gtk/GToolbar.C:
2755         * src/frontends/qt2/QRef.C:
2756         * src/mathed/math_scriptinset.C: squash compiler warnings.
2757
2758 2004-03-26  Angus Leeming  <leeming@lyx.org>
2759
2760         * ispell.C (LaunchIspell::start):
2761         * lyx_cb.C (AutoSaveBuffer::start):
2762         invoke run(DontWait) rather than runNonBlocking().
2763
2764 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2765
2766         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2767
2768 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2769
2770         * kbsequence.C (print): adjust
2771
2772         * kbmap.C (printKeySym): rename and change signature
2773         (printKey): use LyXKeySym::print()
2774
2775 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2776
2777         * undo.C: add using std::advance to compile for stlport
2778
2779 2004-03-24  Angus Leeming  <leeming@lyx.org>
2780
2781         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2782         it leads to a crash when no buffer is present.
2783
2784 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2785             Martin Vermeer  <martin.vermeer@hut.fi>
2786
2787         * lyxfunc.C (dispatch):
2788         * bufferparams.C (readToken): use the new LColor::setColor
2789
2790         * LColor.[Ch] (setColor): new version that takes two strings as
2791         argument and creates a new color entry if necessary
2792
2793 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2794
2795         * buffer.C (makeLaTeXFile): if the main latex file that is
2796         processed is usually a subdocument of some master, then pretend
2797         for a while that it is actually the master
2798
2799 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2800
2801         * buffer.C (getLabelList):
2802         (getBibkeyList): use getMasterBuffer()
2803         (getMasterBuffer): new method. Returns the main document in the
2804         case where one is using included documents.
2805
2806 2004-03-25  André Pönitz  <poenitz@gmx.net>
2807
2808         * Makefile.am:
2809         * iterators.[Ch]:
2810         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2811
2812         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2813
2814         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2815         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2816
2817         * ParameterStruct.h: merge with ParagraphParameters
2818
2819         * lyxtext.h: remove LyXText::parOffset() and getPar()
2820
2821         * text3.C: Remove all 'manual' update calls. We do now one per user
2822         interaction which is completely sufficient.
2823
2824         * Bidi.C:
2825         * BufferView.[Ch]:
2826         * BufferView_pimpl.C:
2827         * FontIterator.[Ch]:
2828         * MenuBackend.C:
2829         * ParagraphParameters.[Ch]:
2830         * buffer.C:
2831         * buffer.h:
2832         * bufferlist.C:
2833         * cursor.[Ch]:
2834         * cursor_slice.[Ch]:
2835         * dociterator.[Ch]:
2836         * errorlist.[Ch]:
2837         * factory.C:
2838         * lfuns.h:
2839         * lyxfind.C:
2840         * lyxfunc.C:
2841         * output_docbook.[Ch]:
2842         * output_latex.[Ch]:
2843         * output_linuxdoc.[Ch]:
2844         * output_plaintext.[Ch]:
2845         * paragraph.[Ch]:
2846         * paragraph_funcs.[Ch]:
2847         * paragraph_pimpl.[Ch]:
2848         * rowpainter.C:
2849         * tabular.[Ch]:
2850         * text.C:
2851         * text2.C:
2852         * toc.C:
2853         * undo.[Ch]: adjust
2854
2855         * frontends/controllers/ControlDocument.C:
2856         * frontends/controllers/ControlErrorList.C:
2857         * frontends/controllers/ControlSpellchecker.C:
2858         * insets/inset.C:
2859         * insets/inset.h:
2860         * insets/insetbase.h:
2861         * insets/insetbibitem.C:
2862         * insets/insetbox.C:
2863         * insets/insetbranch.C:
2864         * insets/insetcaption.C:
2865         * insets/insetcharstyle.C:
2866         * insets/insetcharstyle.h:
2867         * insets/insetcollapsable.C:
2868         * insets/insetcollapsable.h:
2869         * insets/insetert.C:
2870         * insets/insetfloat.C:
2871         * insets/insetfoot.C:
2872         * insets/insetmarginal.C:
2873         * insets/insetnote.C:
2874         * insets/insetoptarg.C:
2875         * insets/insettabular.C:
2876         * insets/insettext.C:
2877         * insets/insettext.h:
2878         * insets/insetwrap.C:
2879         * mathed/math_mboxinset.C:
2880         * mathed/math_nestinset.C:
2881         * mathed/math_scriptinset.C:
2882         * mathed/math_scriptinset.h:
2883         * support/types.h:
2884
2885 2004-03-24  Angus Leeming  <leeming@lyx.org>
2886
2887         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2888         deal with any child processes that have finished but are waiting to
2889         communicate this fact to the rest of LyX.
2890
2891 2004-03-24  Angus Leeming  <leeming@lyx.org>
2892
2893         64-bit compile fixes.
2894
2895         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2896         (c-tor): pass lyx::pos_types rather than ints.
2897
2898         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2899         lyx::pos_type.
2900
2901         * text.C (Delete): compile fix.
2902         (getPar): ensure that function declaration is the same as that in
2903         the header file.
2904
2905 2004-03-23  Angus Leeming  <leeming@lyx.org>
2906
2907         * ispell.C (LaunchIspell):
2908         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2909         a boost::shred_ptr rather than a std::auto_ptr.
2910
2911 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2912
2913         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2914         handle LFUN_FILE_INSERT_*
2915
2916         * lyxrc.C (setDefaults, getDescription, output, read):
2917         * lyxrc.h: remove ps_command
2918
2919 2004-03-22  Angus Leeming  <leeming@lyx.org>
2920
2921         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2922         Ensure that error_handler is processed once only and that all data
2923         is saved before attempting to output any warning messages.
2924
2925         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2926
2927 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2928
2929         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2930
2931 2004-03-19  André Pönitz  <poenitz@gmx.net>
2932
2933         * cursor.[Ch] (reset): take main text inset as argument
2934
2935         * BufferView: adjust
2936         * BufferView_pimpl.C: adjust
2937
2938         * paragraph.[Ch]: fix completely broken operator=()
2939
2940 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2941
2942         * LColor.C (getFromLyXName): make sure that the color name is used
2943         as lowercase.
2944
2945 2004-03-17  Angus Leeming  <leeming@lyx.org>
2946
2947         * lfuns.h:
2948         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2949
2950         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2951         dialog and to kill a forked process.
2952
2953 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2954
2955         * text2.C (setCursorFromCoordinates): fix font problem
2956
2957 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2958
2959         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2960         bogus "rebuild cursor" code
2961
2962 2004-03-11  André Pönitz  <poenitz@gmx.net>
2963
2964         * buffer.[Ch]: use InsetText instead of LyXText as container for
2965         the main lyx text.
2966
2967         * dociterator.[Ch]: drop the BufferView * member which is not needed
2968         anymore after the change to buffer.C
2969
2970         * paragraph_funcs.C:
2971         * text.C:
2972         * text2.C:
2973         * BufferView.[Ch]:
2974         * BufferView_pimpl.[Ch]:
2975         * cursor.[Ch]:
2976         * cursor_slice.[Ch]: adjust
2977
2978         * text3.C: fix bug in mathDispatch
2979
2980 2004-03-08  André Pönitz  <poenitz@gmx.net>
2981
2982         * undo.[Ch]: use 'StableDocumentIterator' as base for
2983         the Undo struct.
2984
2985 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2986
2987         * LaTeXFeatures.C:
2988         * bufferparams.[Ch]: add jurabib support and param.
2989
2990         * LaTeX.C: add FIXME/comment.
2991
2992 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2993
2994         * buffer.C: increment file format to 230.
2995
2996 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2997
2998         * cursor.C (dispatch): avoid infinite loops
2999
3000 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3001
3002         * rowpainter.C (paintSelection): fix x coordinates
3003
3004 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3005
3006         * text.C (rowBreakPoint): fix breaking before displayed insets
3007
3008 2004-03-01  André Pönitz  <poenitz@gmx.net>
3009
3010         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3011
3012         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3013
3014         * Makefile.am:
3015         * BufferView.C:
3016         * BufferView_pimpl.C:
3017         * buffer.C:
3018         * lyxfind.C:
3019         * lyxfunc.C:
3020         * text.C:
3021         * text2.C:
3022         * text3.C: adjust
3023
3024 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3025
3026         * lyxtext.h:
3027         * text.C:
3028         * text2.C:
3029         * rowpainter.C:
3030         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3031         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3032
3033 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3034
3035         * Bidi.[Ch] (computeTables): const correctness
3036         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3037         fill_hfill, fill_label_hfill and x from Row
3038         * lyxtext.h: prepareToPrint returns a RowMetrics
3039         * rowPainter.C: adjust
3040         * text.C (prepareToPrint): use width, not textWidth. adjust
3041         (redoParagraphInternal, cursorX): adjust
3042         * text2.C (getColumnNearX): adjust
3043         (init): put a default value to the top LyXText::width
3044
3045 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3046
3047         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3048
3049 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3050
3051         * lyxtext.h: add FontIterator class
3052
3053         * text.C (FontIterator, operator*, operator->, operator++): add
3054         (rowBreakPoint, setRowWidth): adjust (fixing a
3055         rebreaking bug)
3056
3057 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3058
3059         * BufferView_pimpl.C (workAreaDispatch): allow also
3060         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3061
3062 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3063
3064         * text.C (rowBreakPoint): fix a bug showing with very large insets
3065
3066 2004-02-25  André Pönitz  <poenitz@gmx.net>
3067
3068         * text3.C:
3069         * cursor.[Ch]: move some mathed specific code to mathed
3070
3071 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3072
3073         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3074         use_tempdir in preferences
3075         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3076         tempfile creation
3077         * lyx_main.C: ensure that tempdir is valid
3078         * lyxlex.h: correct typo
3079         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3080         * paragraph.[Ch] (isMultiLingual): make const
3081         * cursor.[Ch] (openable): make const
3082
3083 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3084
3085         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3086
3087 2004-02-20  André Pönitz  <poenitz@gmx.net>
3088
3089         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3090
3091         * cursor.[Ch]: prepare for localized getStatus()
3092
3093         * lyxtext.h:
3094         * tabular.C:
3095         * text.C:
3096         * text2.C:
3097         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3098
3099 2004-02-20  André Pönitz  <poenitz@gmx.net>
3100
3101         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3102
3103 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3104
3105         * text2.C (setCursorFromCoordinates): switch to absolute coords
3106         (cursorUp): adjust
3107         (cursorDown): adjust
3108         * text3.C (dispatch): adjust
3109
3110 2004-02-16  André Pönitz  <poenitz@gmx.net>
3111
3112         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3113           insets/ChangeLog)
3114
3115         * cursor_slice.[Ch]: remove unneeded acessor function
3116
3117         * lyxtext.h: rename rtl() to isRTL()
3118
3119         * rowpainter.C:
3120         * tabular.C:
3121         * text.C:
3122         * text2.C:
3123         * text3.C: adjust
3124
3125 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3126
3127         * rowpainter.C (paintSelection): coord fix
3128
3129 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3130
3131         * Spacing.C: compile fix
3132
3133 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3134
3135         * cursor.C (dispatch): restore current_ before returning
3136
3137 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3138
3139         * text2.C (cursorUp, cursorDown): fix coords
3140         (moveUp): fix crash
3141
3142 2004-02-12  André Pönitz  <poenitz@gmx.net>
3143
3144         * lyxtext.h:
3145         * text.C:
3146         * text2.C:
3147         * text3.C: add LCursor & parameter to most cursor movement functions
3148           remove usage of LyXText::cursorRow() and cursorPar()
3149
3150         * cursor.[Ch]: add textRow() needed members
3151
3152         * BufferView.C:
3153         * BufferView_pimpl.C:
3154         * paragraph.[Ch]:
3155         * BufferView.C:
3156         * BufferView_pimpl.C: adjust
3157
3158 2004-02-11  André Pönitz  <poenitz@gmx.net>
3159
3160         * lyxfunc.C:
3161         * BufferView.[Ch]:
3162         * BufferView_pimpl.C: shift undo/redo handling
3163
3164         * cursor.[Ch]: fix mathed crash
3165
3166         * lyxfind.C:
3167         * lyxtext.h: move selectionAsText to LCursor
3168
3169         * output_latex.C:
3170         * paragraph.C:
3171         * text.C:
3172         * text2.C:
3173         * text3.C: adjust
3174
3175         * rowpainter.C: fix excessive drawing
3176
3177 2004-02-06  André Pönitz  <poenitz@gmx.net>
3178
3179         * BufferView.[Ch]:
3180         * BufferView_pimpl.[Ch]:
3181         * text3.C: move some text specific LFUN handling
3182
3183 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3184
3185         * text3.C (checkInsetHit): adjust coords
3186         * text2.C (getColumnNearX): adjust coords
3187         (edit): adjust coords
3188         * text.C (getRowNearY): add two asserts
3189
3190 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3191
3192         * converter.C:
3193         * format.C: add using std::distance to compile on gcc 2.95/stlport
3194
3195 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3196
3197         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3198
3199 2004-02-04  André Pönitz  <poenitz@gmx.net>
3200
3201         * BufferView.[Ch] (insertInset):
3202         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3203
3204         * text2.C:
3205         * text3.C: adjust
3206
3207 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3208
3209         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3210         on the default clause of the switch
3211         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3212         wasn't catched by LCursor::dispatch
3213
3214 2004-02-03  André Pönitz  <poenitz@gmx.net>
3215
3216         * BufferView.C:
3217         * cursor.[Ch]: some additional asserts
3218
3219         * undo.[Ch]: remove LyXText dependency in interface
3220
3221         * lyxfunc.C: adjust
3222
3223         * lyxtext.h (firstPar, lastPar): remove dead functions
3224
3225         * text.C:
3226         * text2.C:
3227         * text3.C:
3228         * paragraph.[Ch]: adjust
3229
3230 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3231
3232         * lyxfind.C (find): fix argument order in call to ::find
3233
3234 2004-02-02  André Pönitz  <poenitz@gmx.net>
3235
3236         * cursor.[Ch]: remove direct access to anchor
3237
3238         * text.C: remove findText() hack
3239
3240 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3241
3242         * iterators.[Ch] (lockPath): remove in favour of...
3243         * BufferView.[Ch] (setCursor): this addition
3244         * BufferView.C (putSelectionAt): adjust
3245         * undo.C (performUndoOrRedo): adjust
3246         * lyxfunc.C (dispatch): adjust
3247
3248 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3249
3250         * iterators.C (lockPath): add a missing slice
3251         * undo.C (performUndoOrRedo): remove redundant positioning code
3252
3253 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
3254
3255         * vc-backend.C (scanMaster): ";" -> ';'
3256
3257 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
3258
3259         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3260         std::binary_function
3261
3262         * lyxtextclass.C (compare_name): rename to...
3263         (LayoutNamesEqual): ...this
3264
3265         * lyxlex_pimpl.C (compare_tags): inherit from
3266         std::binary_function, put back into anon namespace
3267
3268         * lyxfind.C (MatchString): inherig from std::binary_function
3269         (findChange): use empty() istead of !size()
3270
3271         * format.C (FormatNamesEqual): new functor
3272         (getFormat): use it
3273         (getNumber): use it
3274         (add): use it
3275         (erase): use it
3276         (setViewer): use it
3277
3278         * converter.C (compare_Converter): rename to...
3279         (ConverterEqual): ...this, and fixup a bit.
3280         (getConverter): use it, and make function const
3281         (getNumber): use it, and make function const
3282         (add): use it
3283         (erase): use it:
3284
3285         * bufferlist.C: add using boost::bind
3286
3287         * MenuBackend.C (MenuNamesEqual): new functor
3288         (hasMenu): use it, and make function const
3289         (hasSubmenu): use nested bind to get rid of compare_memfun.
3290
3291 2004-01-30  André Pönitz  <poenitz@gmx.net>
3292
3293         * BufferView_pimpl.C:
3294         * cursor.C:
3295         * cursor.h:
3296         * cursor_slice.[Ch]:
3297         * lyxfunc.C:
3298         * lyxtext.h:
3299         * paragraph_funcs.C:
3300         * paragraph_funcs.h:
3301         * rowpainter.C:
3302         * text.C:
3303         * text2.C:
3304         * text3.C: move some of the edit(x,y) handling to the insets
3305         some coordinate changes.
3306
3307 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
3308
3309         * text.C: add using statements for std::advance and std::distance
3310
3311         * paragraph.C: add using statement for std::distance
3312
3313         * lyxfind.C: add using statement for std::advance
3314
3315         * cursor.C (region): remove std:: from swap
3316         (openable): use nucleus in stead of operator->
3317
3318         * BufferView.C: add using statements for std::distance and std::swap
3319
3320 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
3321
3322         * iterators.C: Remove the pimple, move the needed structures to
3323         the header file. Create accessor for the positions stack.
3324         (asPosIterator): remove function
3325
3326         * PosIterator.C (PosIterator): move constructors to top of file
3327         (PosIterator): reimplement the constructor taking a ParIterator in
3328         terms of setFrom.
3329         (setFrom): new function
3330         (operator!=): inline it
3331
3332 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
3333
3334         * lyxfind.C (replaceAll): use std::advance
3335
3336         * iterators.h: inherit from std::iterator.
3337
3338         * PosIterator.C (advance, distance): remove
3339         * PosIterator.h: interit from std::iterator.
3340
3341 2004-01-26  André Pönitz  <poenitz@gmx.net>
3342
3343         * BufferView.[Ch]:
3344         * BufferView_pimpl.[Ch]:
3345         * InsetList.[Ch]:
3346         * PosIterator.[Ch]:
3347         * buffer.h:
3348         * bufferview_funcs.C:
3349         * cursor.[Ch]:
3350         * cursor_slice.h:
3351         * factory.[Ch]:
3352         * iterators.[Ch]:
3353         * lyxfind.C:
3354         * lyxfunc.C:
3355         * lyxtext.h:
3356         * output_docbook.C:
3357         * output_latex.C:
3358         * output_linuxdoc.C:
3359         * output_plaintext.C:
3360         * paragraph.[Ch]:
3361         * paragraph_funcs.[Ch]:
3362         * paragraph_pimpl.[Ch]:
3363         * rowpainter.C:
3364         * tabular.C:
3365         * tabular.h:
3366         * text.C:
3367         * text2.C:
3368         * text3.C: more IU:  dumps most of the rest of the mathcursor
3369     implementation into cursor.[Ch]; "globalize" a bit of it.
3370
3371 2004-01-25  Angus Leeming  <leeming@lyx.org>
3372
3373         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3374
3375 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3376
3377         * LaTeXFeatures.h: add nice_ and nice() const
3378         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3379
3380 2004-01-20  André Pönitz  <poenitz@gmx.net>
3381
3382         * BufferView.[Ch]:
3383         * BufferView_pimpl.C:
3384         * PosIterator.C:
3385         * bufferview_funcs.C:
3386         * cursor.[Ch]:
3387         * cursor_slice.[Ch]:
3388         * factory.C:
3389         * iterators.C:
3390         * lyx_cb.C:
3391         * lyxfind.C:
3392         * lyxfunc.C:
3393         * lyxtext.h:
3394         * rowpainter.C:
3395         * text.C:
3396         * text2.C:
3397         * text3.C:
3398         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3399           LCursor and mathcursor parts to LCursor and InsetBase.
3400
3401 2004-01-15  André Pönitz  <poenitz@gmx.net>
3402
3403         * cursor_slice.[Ch]: add a few covienience functions
3404
3405         * funcrequest.[Ch]: remove BufferView * member
3406
3407         * BufferView_pimpl.C:
3408         * cursor.C:
3409         * factory.[Ch]:
3410         * lyxfind.[Ch]:
3411         * lyxfunc.C:
3412         * lyxtext.h:
3413         * text3.C:
3414         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3415
3416 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3417
3418         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3419         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3420
3421 2004-01-13  André Pönitz  <poenitz@gmx.net>
3422
3423         * textcursor.[Ch]:
3424         * lyxtext.h: hide cursor and selection anchor behind accessor function
3425
3426         * BufferView.C:
3427         * BufferView_pimpl.[Ch]:
3428         * PosIterator.C:
3429         * bufferview_funcs.C:
3430         * cursor.h:
3431         * lyxfind.C:
3432         * lyxfunc.C:
3433         * text.C:
3434         * text2.C:
3435         * text3.C:
3436         * undo.C: adjust
3437
3438         * cursor.h:
3439         * cursor_slice.[Ch]: some integer type changes for inset unification
3440
3441         * lyxcursor.[hC]: remove, it's CursorSlice now.
3442
3443         * Makefile.am:
3444         * BufferView_pimpl.[Ch]:
3445         * bufferview_funcs.C:
3446         * cursor_slice.C:
3447         * lyxtext.h:
3448         * text.C:
3449         * text2.C:
3450         * text3.C:
3451         * textcursor.[Ch]: adjust
3452
3453 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3454
3455         * text2.C (undoSpan): add and use
3456         * text.C (breakParagraph): use undoSpan (fix bug 578)
3457         * lyxtext.h: adjust
3458
3459 2004-01-08  Angus Leeming  <leeming@lyx.org>
3460
3461         * BufferView_pimpl.C (MenuInsertLyXFile):
3462         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3463         * lyxfunc.C (menuNew, open, doImport):
3464         FileFilterList change to the FileDialog open and save functions.
3465
3466 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
3467
3468         * ShareContainer.h: make isEqual and isUnique adaptable
3469
3470         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3471
3472 2004-01-07  Angus Leeming  <leeming@lyx.org>
3473
3474         * LyXAction.C:
3475         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3476
3477         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3478
3479         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3480         functions replacing find, replace and replaceAll.
3481
3482         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3483         LFUN_WORDFIND(FORWARD|BACKWARD).
3484
3485 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3486
3487         * text.C (breakParagraph): remove an outdated #warning
3488
3489 2004-01-07  André Pönitz  <poenitz@gmx.net>
3490
3491         * lyxfind.C: somewhat clearer logic
3492
3493         * text.C: prevent crash in cursorX on unitialized row cache
3494
3495 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3496
3497         * lyxcursor.[Ch] (operator>): add
3498         * textcursor.C (selStart, selEnd): use std::min and std::max
3499
3500 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
3501
3502         * Chktex.C: include boost/format.hpp
3503
3504 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
3505
3506         * InsetList.C: replace functor MathcIt with adaptable functor
3507         InsetTablePosLess
3508         (insetIterator): modify accordingly
3509
3510         * BranchList.h: move the BranchNamesEqual functor here from...
3511         * BranchList.C: ... to here
3512
3513         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3514         SameName and match.
3515         (add): replace a finding loop with std::find_if.
3516
3517 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3518
3519         * output_docbook.C: moving LatexParam functionality into
3520         .layout files
3521
3522 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3523
3524         * buffer.C: increment format to 229.
3525
3526 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3527
3528         * LaTeXFeatures.C:
3529         * lyx_sty.[Ch]: remove minipageindent_def
3530
3531         * LyXAction.C:
3532         * factory.C:
3533         * lfuns.h:
3534         * lyxfunc.C:
3535         * text3.C: remove LFUN_INSET_MINIPAGE
3536
3537 2003-12-28  Angus Leeming  <leeming@lyx.org>
3538
3539         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3540
3541 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3542
3543         * text2.C (setParagraph): fix off-by-one crash
3544
3545 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3546
3547         * output_docbook.C: header stuff for AGU
3548
3549 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3550
3551         * text2.C (redoCursor): remove
3552         * text.C:
3553         * text3.C:
3554         * BufferView_pimpl.C: remove calls to redoCursor and
3555         setCursor(cursor.par(), cursor.pos()) all around
3556
3557 2003-12-15  Angus Leeming  <leeming@lyx.org>
3558
3559         * buffer.C: up the format to 228.
3560
3561 2003-12-15  André Pönitz  <poenitz@gmx.net>
3562
3563         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3564         slices
3565
3566         * Makefile.am:
3567
3568         * BufferView_pimpl.C:
3569         * cursor.[Ch]:
3570         * lyxcursor.[Ch]:
3571         * rowpainter.[Ch]:
3572         * lyxtext.h:
3573         * text.C:
3574         * text2.C:
3575         * text3.C: adjust
3576
3577 2003-12-15  Angus Leeming  <leeming@lyx.org>
3578
3579         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3580         than getFromGUIName to manipulate the color.
3581
3582 2003-12-14  Angus Leeming  <leeming@lyx.org>
3583
3584         * BranchList.[Ch]: minimize the API.
3585         (Branch::getBranch, getColor): now return a 'const &'.
3586         (Branch::setSelected) now returns a bool set to true if the
3587         selection status changes.
3588         (BranchList::clear, size, getColor, setColor, setSelected,
3589         allBranches, allSelected, separator): removed.
3590         (BranchList::find): new functions, returning the Branch with
3591         the given name.
3592         (BranchList::add, remove): return a bool indicating that
3593         the operation was successful.
3594
3595         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3596         new InsetBranch::isBranchSlected member function.
3597
3598         * LColor.[Ch]: mimimize the API.
3599         (fill): renamed as addColor and made private.
3600         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3601         versions of these functions taking a string arg have been removed.
3602
3603         * bufferparams.C (readToken):
3604         * lyxfunc.C (dispatch):
3605         * lyxrc.C (read): changes due to the altered BranchList and
3606         LColor APIs.
3607
3608         * factory.C (createInset, readInset): changes due to altered
3609         InsetBranch c-tor.
3610
3611 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3612
3613         * factory.C:
3614         * lyxfunc.C: remove insetminipage. "minipage-insert"
3615         now produces a frameless minipage box inset.
3616
3617 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3618
3619         * textcursor.[Ch] (selStart,selEnd): add new methods
3620         remove selection::start, end, use LyXCursor::operator<
3621         * lyxcursor.[Ch] (operator<): add
3622         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3623         * BufferView.[Ch] (unsetXSel): add
3624         * text2.C (clearSelection): use unsetXSel,adjust
3625         * text.C: adjust
3626         * text3.C: adjust
3627         * rowpainter.C: adjust
3628         * bufferview_funcs.C (put_selection_at): adjust
3629
3630 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3631
3632         * BufferView_pimpl.C: small coord. correction
3633
3634 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3635
3636         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3637         dragging over the splash screen.
3638
3639 2003-12-11  Angus Leeming  <leeming@lyx.org>
3640
3641         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3642         as it is now handled in LyXText::dispatch.
3643
3644         * text3.C (doInsertInset): remove a level of nesting.
3645
3646 2003-12-11  Angus Leeming  <leeming@lyx.org>
3647
3648         * factory.C (createInset): changes due to the changed interface to
3649         InsetCommandMailer::string2params.
3650
3651 2003-12-10  Angus Leeming  <leeming@lyx.org>
3652
3653         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3654         'dialog-show-new-inset <inset name>'
3655
3656 2003-12-10  Angus Leeming  <leeming@lyx.org>
3657
3658         * buffer.C: up the format to 227.
3659
3660         * factory.C: the box inset is now identified simply by 'Box'.
3661
3662 2003-12-10  Angus Leeming  <leeming@lyx.org>
3663
3664         * buffer.C: up the format to 226.
3665
3666         * factory.C: the note inset is now identified simply by 'Note'.
3667
3668 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3669
3670         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3671         when a pit is enough. Standarize a couple of loops.
3672
3673 2003-12-05  Angus Leeming  <leeming@lyx.org>
3674
3675         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3676         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3677         data to the re-worked "log" dialog.
3678
3679 2003-12-03  André Pönitz  <poenitz@gmx.net>
3680
3681         * PosIterator.C:
3682         * iterators.C:
3683         * lyxtext.h:
3684         * output_latex.C:
3685         * paragraph_funcs.C:
3686         * text.C:
3687         * text2.C: use Inset::getText instead of Inset::getParagraph
3688
3689 2003-12-03  André Pönitz  <poenitz@gmx.net>
3690
3691         * buffer.[Ch]:
3692         * lyxtext.h:
3693         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3694         InsetText::read() as LyXText::read()
3695
3696 2003-12-02  Angus Leeming  <leeming@lyx.org>
3697
3698         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3699         type. Add a comment in the implementation that the function uses
3700         the stream's bad() function rather than fail() as the std::streams
3701         would do.
3702
3703 2003-12-02  André Pönitz  <poenitz@gmx.net>
3704
3705         * lyxlex.[Ch]: make interface more similar to std::stream
3706
3707         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3708
3709 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3710
3711         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3712
3713 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3714
3715         * vspace.[Ch]: remove VSpace::NONE
3716
3717 2003-12-01  André Pönitz  <poenitz@gmx.net>
3718
3719         * buffer.[Ch]:
3720         * lyxtext.h: move ParagraphList member to LyXText
3721         rename LyXText::ownerParagraphs to LyXText::paragraph
3722
3723         * CutAndPaste.C:
3724         * bufferview_funcs.C:
3725         * iterators.[Ch]:
3726         * lyx_cb.C:
3727         * paragraph.C:
3728         * rowpainter.C:
3729         * tabular.C:
3730         * text.C:
3731         * text2.C:
3732         * text3.C: adjust
3733
3734         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3735
3736         * undo.C: fix cursor positioning
3737
3738 2003-12-01  John Levon  <levon@movementarian.org>
3739
3740         * BufferView_pimpl.C: fix a crash on exit with
3741         a buffer open
3742
3743 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3744
3745         * BranchList.C: fix setSelected() method.
3746
3747 2003-11-28  André Pönitz  <poenitz@gmx.net>
3748
3749         * ParagraphParameters.[Ch]:
3750         * ParameterStruct.h: remove space above/below from Paragraph to
3751          InsetVSpace
3752
3753         * BufferView_pimpl.C:
3754         * factory.C:
3755         * lyxfunc.C:
3756         * lyxtext.h:
3757         * output_latex.C:
3758         * paragraph.C:
3759         * paragraph_funcs.C:
3760         * rowpainter.[Ch]:
3761         * text.C:
3762         * text2.C:
3763         * text3.C: adjust
3764
3765 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3766
3767         * factory.C: Syntax change for CharStyles
3768
3769 2003-11-28  André Pönitz  <poenitz@gmx.net>
3770
3771         * BufferView.[Ch]:
3772         * BufferView.[Ch]:
3773         * buffer.[Ch]:
3774         * buffer.[Ch]: move LyXText member
3775
3776 2003-11-28  André Pönitz  <poenitz@gmx.net>
3777
3778         * BufferView.[Ch]: make LyXText * text a private member
3779
3780         * BufferView_pimpl.C:
3781         * cursor.C:
3782         * iterators.C:
3783         * lyx_cb.C:
3784         * lyxfind.C:
3785         * lyxtext.h:
3786         * rowpainter.[Ch]:
3787         * text.C:
3788         * text2.C:
3789         * undo.C: adjust
3790
3791         * output_plaintext.C: cleanup
3792
3793 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3794
3795         * buffer.C:
3796         * lyxtextclass.[Ch]: parametrize SGML document header
3797
3798 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3799
3800         * converter.[Ch]:
3801         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3802         getFlavor().
3803
3804 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3805
3806         * text2.C (setFont): rework using PosIterator (no more recursive)
3807         (setCharFont): no more needed
3808         (setLayout): no more selection cursors fiddling (done by redoCursor)
3809         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3810         destroy remaining ones)
3811
3812 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3813
3814         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3815         * lyxtext.h: ditto
3816         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3817         selection cursors
3818         * lyxfunc.C: adjust
3819         * text3.C: adjust + re-allow multi par depth changes
3820         * textcursor.C: simplify a bit
3821
3822 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3823
3824         * src/buffer.C:
3825         * src/lyxlayout.C:
3826         * src/lyxlayout.h:
3827         * src/lyxtext.h:
3828         * src/output_docbook.C:
3829         * src/output_latex.C:
3830         * src/paragraph.C:
3831         * src/paragraph.h:
3832         * src/sgml.C:
3833         * src/sgml.h:
3834         * src/text2.C: Introducing a number of tags parametrizing various
3835         XML formats that we may want to support
3836
3837 2003-11-25  André Pönitz  <poenitz@gmx.net>
3838
3839         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3840
3841         * lyxtext.h (leftMargin/rightMargin): simplify interface
3842
3843         * rowpainter.C:
3844         * text.C:
3845         * text2.C:
3846         * text3.C: adjust
3847
3848 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3849
3850         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3851         master file to any child files. Fixes bug 546.
3852
3853 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3854
3855         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3856
3857 2003-11-24  André Pönitz  <poenitz@gmx.net>
3858
3859         * rowpainter.C: simplification
3860
3861         * text2.C (updateCounters): remove call to redoParagraph on
3862         changed labels as this is far too expensive.
3863
3864 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3865
3866         * converter.C (convert): fix a crash: this function gets
3867         called with buffer == 0 from importer code.
3868
3869 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3870
3871         * text3.C (cursorPrevious): make sure that we do not compare
3872         iterators form different containers.
3873         (cursorNext): ditto
3874
3875         * rowpainter.C (paintSelection): make sure that we do not compare
3876         iterators from different containers.
3877
3878         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3879         iterators from different ParagraphList containers.
3880         [NEXT] ditto
3881
3882         * text2.C (LyXText): change order of initialization slightly
3883         (operator=): new function. copy all variables except cache_par_
3884         (moveUp): make sure that we do not compare iterators from
3885         different ParagraphList constainers.
3886         (moveDown): ditto
3887
3888         * text.C (firstPar): new function
3889         (lastPar): new function
3890         (endPar): new function
3891
3892         * lyxtext.h: move things around and group public functions, public
3893         variables, private functions, private variables
3894
3895 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3896
3897         * factory.C: change call to InsetERT constructor to avoid
3898         additional invocation of method status
3899         * text2.C (toggleInset): remove redundant update() call
3900         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3901         instead of a Bufferview pointer
3902
3903 2003-11-21  André Pönitz  <poenitz@gmx.net>
3904
3905         * rowpainter.C: simplification
3906
3907 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3908
3909         * text3.C (dispatch): make possible to extend a word/row selection
3910         with the mouse
3911
3912 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3913
3914         * lyxtext.h: x0_,y0_ -> xo_,yo_
3915         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3916         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3917         * rowpainter.C (paintRows): paint full paragraphs
3918
3919 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3920
3921         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3922         screen coordinates)
3923
3924 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3925
3926         * lyxtext.h: add x0_, y0_
3927         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3928         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3929
3930 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3931
3932         * text2.C (setCursorIntern): move the x_target update here *
3933         * text3.C: change some bv() to true/false in calls to
3934         cursorUp/Down/Right/Left
3935         * cursor.C: use helper function.
3936
3937 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3938
3939         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3940         * paragraph_funcs.[Ch]: correct comment
3941         * rowpainter.C: do not paint selections away from bv->cursor()
3942         Fix a long standing selection painting bug.
3943         * text3.C: generalize mouse-selection code to LyXTexts other that
3944         top one
3945         * textcursor.C: do not use y coords if we can use par offsets
3946
3947 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3948
3949         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3950         cursor position after e.g. inset insert)
3951
3952 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3953
3954         * lyxfind.C (replace): adjust to locking removal + some
3955         code simplification
3956
3957 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3958
3959         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3960         of the path
3961
3962 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3963
3964         * lyxlayout.[Ch]:
3965         * output_docbook.C: XML sanitation: new layout
3966         parameters InnerTag and CommandDepth
3967
3968 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3969
3970         * BufferView_pimpl.C:
3971         * factory.C:
3972         * text3.C: Fix the insertion and modification of button-style
3973         insets
3974
3975 2003-11-13  André Pönitz  <poenitz@gmx.net>
3976
3977         * InsetList.[Ch]: remove deleteLyXText
3978
3979         * paragraph.[Ch]: cache beginOfBody position
3980
3981         * Bidi.C:
3982         * text.C:
3983         * text2.C:
3984         * text3.C: remove superfluous update() calls
3985
3986         * vspace.C: cleanup
3987
3988 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3989
3990         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3991         * BufferView.C (fitLockedInsetCursor): remove
3992         * cursor.[Ch] (getDim): add
3993         * text.C (getRowNearY): add faster version
3994         * text3.C: remove some update calls
3995
3996 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3997
3998         * LaTeXFeatures.C:
3999         * LyXAction.C:
4000         * MenuBackend.C:
4001         * MenuBackend.h:
4002         * dispatchresult.h:
4003         * factory.C:
4004         * lfuns.h:
4005         * lyxfunc.C:
4006         * lyxtextclass.C:
4007         * lyxtextclass.h:
4008         * text3.C: The Character Style /XML short element patch.
4009
4010 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4011
4012         * text3.C:
4013         * factory.C: Small step to solving 'unable to insert some insets'
4014         problem
4015
4016 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4017
4018         * cursor.[Ch] (updatePos): new function for updating the y
4019         position of the tip inset
4020         * bufferview_funcs.C (put_selection_at):
4021         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4022
4023 2003-11-11  André Pönitz  <poenitz@gmx.net>
4024
4025         * text.C: remove big comment on invalid Paragraph pointers as it is
4026         not valid anymore
4027
4028 2003-11-11  André Pönitz  <poenitz@gmx.net>
4029
4030         * text_funcs.[Ch]: merge with ...
4031
4032         * text.C: ... this
4033
4034         * lyxtext.h:
4035         * text2.C:
4036         * text3.C: adjust
4037
4038         * Makefile.am: remove text_funcs.[Ch]
4039
4040 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4041
4042         * cursor.C (getPos): return absolute cached y coord
4043
4044         * BufferView_pimpl.C (fitCursor): new simplistic code
4045         (workAreaDispatch): add a fitCursor call
4046
4047 2003-11-10  André Pönitz  <poenitz@gmx.net>
4048
4049         * BufferView.[Ch]:
4050         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4051
4052 2003-11-10  André Pönitz  <poenitz@gmx.net>
4053
4054         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4055         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4056         indicate that the cursor needs to leave an inset
4057
4058         * lyxtext.h: remove inset locking
4059
4060         * cursor.[Ch]: re-implement functionality provided by inset locking
4061
4062         * BufferView.[Ch]:
4063         * BufferView_pimpl.[Ch]:
4064         * LyXAction.C:
4065         * bufferview_funcs.[Ch]:
4066         * factory.C:
4067         * funcrequest.[Ch]:
4068         * iterators.C:
4069         * lyx_cb.C:
4070         * lyxfind.C:
4071         * lyxfunc.C:
4072         * text.C:
4073         * text2.C:
4074         * text3.C:
4075         * undo.C: adjust
4076
4077 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4078
4079         * PosIterator.[Ch]: replace the stack with a vector, add inset
4080         accesor
4081         * iterators.[C]: adjust
4082
4083 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4084
4085         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4086         replaced
4087         * paragraph_funcs.C (readParToken): put the correct id in the
4088         error item, not the id of the top paragraph
4089
4090 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4091
4092         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4093         * bufferview_funcs.C (put_selection_at): use the above
4094
4095 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4096
4097         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4098
4099 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4100
4101         * output_linuxdoc.h:
4102         * output_plaintext.h:
4103         * output.h:
4104         * output_docbook.h: add #include statements
4105
4106 2003-11-05  José Matos  <jamatos@lyx.org>
4107
4108         * output_docbook.[Ch]:
4109         * output_latex.[Ch]:
4110         * output_linuxdoc.[Ch]:
4111         * output_plaintext.[Ch]: New files for output formats.
4112         * output.[Ch]: New file for helper functions.
4113
4114         * buffer.[Ch]:
4115         * paragraph_funcs.[Ch]: output functions moved to new files.
4116
4117         * outputparams.h: rename of latexrunparams.h
4118
4119         * LaTeX.[Ch]:
4120         * buffer.[Ch]:
4121         * bufferlist.[Ch]:
4122         * converter.[Ch]:
4123         * exporter.C:
4124         * paragraph.[Ch]:
4125         * paragraph_funcs.[Ch]:
4126         * paragraph_pimpl.[Ch]:
4127         * tabular.[Ch]: rename ascii to plaintext
4128         and LatexRunParams to OutputParams.
4129
4130 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4131
4132         * iterators.[Ch] (text): require bv argument
4133         * undo.C (recordUndo):
4134         * lyxfunc.C (dispatch):
4135         * bufferview_funcs.C (put_selection_at): adjust
4136
4137 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
4138
4139         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4140
4141 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4142
4143         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4144         nestings
4145
4146 2003-11-04  André Pönitz  <poenitz@gmx.net>
4147
4148         * cursor.[Ch]: restructure
4149
4150         * BufferView.[Ch]:
4151         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4152
4153         * iterators.[Ch] (asCursor): remove
4154
4155         * lfuns.h: remove LFUN_INSET_EDIT
4156
4157         * lyxfunc.C:
4158         * tabular.C:
4159         * text.C:
4160         * text2.C:
4161         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4162
4163 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4164
4165         * lyxfind.[Ch]: complete overhaul
4166         * BufferView_pimpl.C:
4167         * lyxfunc.C: adjust
4168         * paragraph.[Ch] (insert): add
4169
4170 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4171
4172         * BufferView.[Ch]:
4173         * lyxtext.h:
4174         * text.C: remove dead spellcheck code
4175
4176 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4177
4178         * dispatchresult.h: add a val setter
4179
4180         * cursor.C (dispatch): use a tempvar for data_[i]
4181
4182 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4183
4184         * PosIterator.[Ch]: compile fix
4185
4186 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4187
4188         * text.C (cursorPar): deactivate the cursor cache
4189
4190 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4191
4192         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4193
4194 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4195
4196         * text3.C (dispatch): adjust for new DisptchResult semantics.
4197
4198         * lyxfunc.C (dispatch): handle update when return from
4199         Cursor::dispatch, adjust for new DispatchResult semantics.
4200
4201         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4202         DispatchResult(true) mean to not update. Add class functions for
4203         setting dispatched and update, as well as reading.
4204
4205         * cursor.C (dispatch): don't handle update here
4206
4207 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4208
4209         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4210         * trans_mgr.C: adjust
4211
4212         * paragraph_funcs.C (readParToken): exception safety
4213
4214         * lyxvc.h: store the vcs pointer in a scoped_ptr
4215         * lyxvc.C: adjust
4216
4217         * lyxsocket.C (serverCallback): exception safety
4218
4219         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4220
4221         * ispell.C (clone): make it return a auto_ptr
4222
4223         * factory.C (createInset): exception safety
4224         (readInset): exception safety
4225
4226         * bufferlist.C (newBuffer): exception safety
4227
4228         * Thesaurus.C (Thesaurus): use initialization for aik_
4229
4230         * MenuBackend.C (expandToc): exception safety.
4231
4232 2003-11-03  André Pönitz  <poenitz@gmx.net>
4233
4234         * buffer.C:
4235         * buffer.h:
4236         * bufferview_funcs.C: remove getInsetFromId()
4237
4238         * lyxcursor.[Ch]:
4239         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4240
4241         * lyxfunc.C:
4242         * text2.C:
4243         * text3.C: adjust
4244
4245 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4246
4247         * PosIterator.C (distance, advance): new
4248         * bufferview_funcs.[Ch] (put_selection_at): new
4249         * iterators.[Ch] (lockPath): new
4250
4251 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4252
4253         * iterators.[Ch] (asPosIterator): added
4254         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4255         * PosIterator.[Ch]: added
4256
4257 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4258
4259         * text3.C:
4260         * lyxfunc.C:
4261         * cursor.C (dispatch):
4262         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4263
4264         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4265         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4266         contructor, add a class function dispatched. Remove operator>=
4267
4268 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4269
4270         * debug.C: only use the default constructor for debugstream
4271         (lyxerr) here.
4272
4273         * main.C (main): include debug.h and setup the lyxerr streambuf
4274         here.
4275
4276 2003-10-31  José Matos  <jamatos@lyx.org>
4277
4278         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4279
4280         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4281         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4282         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4283         * paragraph_pimpl.C (simpleTeXSpecialC):
4284         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4285         add LatexRunParams argument.
4286
4287         * exporter.C (Export): change call accordingly.
4288
4289         * latexrunparams.h: add new member to take care of the other backends.
4290 2003-10-30  José Matos  <jamatos@lyx.org>
4291
4292         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4293         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4294         factorise code for paragraph output.
4295         * buffer.[Ch]:
4296         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4297         move functions.
4298
4299 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4300
4301         * text3.C (dispatch):
4302         * lyxfunc.C (dispatch):
4303         * cursor.C (dispatch):
4304         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4305
4306         * dispatchresult.h: make the dispatch_result_t ctor explicit
4307
4308 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4309
4310         * sgml.[Ch]:
4311         * buffer.C: small refactoring of docbook stuff
4312
4313 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4314
4315         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4316         meaning.
4317
4318 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4319
4320         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4321         operator dispatch_result_t, and operators for == != and >=
4322
4323         * cursor.C (dispatch): adjust for operator dispatch_result_t
4324         removal. comment out call to update
4325
4326         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4327
4328 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4329
4330         * text3.C:
4331         * text2.C:
4332         * text.C:
4333         * lyxtext.h:
4334         * lyxfunc.C:
4335         * cursor.C:
4336         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4337         (dispatch):
4338
4339         * dispatchresult.h: new file, DispatchResult broken out of
4340         insets/insetbase.h
4341
4342         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4343
4344 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4345
4346         * text.C (rowBreakPoint): put a hack inside #if 0
4347
4348 2003-10-28  André Pönitz  <poenitz@gmx.net>
4349
4350         * lyxtext.h:
4351         * metricsinfo.C:
4352         * paragraph_funcs.C:
4353         * rowpainter.C:
4354         * text.C:
4355         * text2.C: general cleanup (lots of small stuff)
4356
4357 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4358
4359         * text2.C (cursorEnd): simple fix to the "end key goes to one
4360         before the end on last row" bug
4361
4362 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4363
4364         * text.C (backspace): fix the "zombie characters"
4365
4366 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4367
4368         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4369
4370 2003-10-27  André Pönitz  <poenitz@gmx.net>
4371
4372         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4373
4374         * factory.C: handle new InsetPagebreak, InsetLine
4375
4376         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4377         and move handling into new InsetPagebreak, InsetLine
4378
4379         * BufferView_pimpl.C:
4380         * LyXAction.C:
4381         * ParagraphParameters.C:
4382         * ParameterStruct.h:
4383         * lyxfunc.C:
4384         * lyxtext.h:
4385         * paragraph.C:
4386         * paragraph.h:
4387         * paragraph_funcs.C:
4388         * paragraph_pimpl.C:
4389         * rowpainter.C:
4390         * text.C:
4391         * text2.C:
4392         * text3.C: adjust
4393
4394 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4395
4396         * text.C:
4397         * lyxrow_funcs.[Ch]:
4398         * Bidi.C:
4399         * paragraph.C:
4400         * lyxtext.h:
4401         * rowpainter.C:
4402         * text2.C:
4403         * text3.C: remove lastPos uses in favour of Row::endpos
4404
4405 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4406
4407         * undo.C (performUndoOrRedo): fix two crashes by setting a
4408         cursor by hand and reordering some calls. Use bv->lockInset instead
4409         of inset->edit because the latter loses cursor information
4410
4411 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4412
4413         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4414         by Martin
4415         (rowBreakPoint): fix width. change point to point + 1.
4416         Add a missing check.
4417
4418 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4419
4420         * MenuBackend.C:
4421         * lyxfunc.C: fix (at least partly) the problems
4422         with the Nav menu and headers inside branch insets
4423         reported by Kayvan
4424
4425 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4426
4427         * paragraph.C (getChar): add strong asserts
4428
4429         * lyxrow_funcs.C (lastPos): remove hideous hack
4430
4431         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4432         (fill): adjust to that (avoid an infinite loop)
4433
4434 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4435
4436         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4437
4438 2003-10-23  André Pönitz  <poenitz@gmx.net>
4439
4440         * RowList_fwd.h: change list<> to vector<> to gain speed
4441         after suggestion from Alfredo
4442
4443 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4444
4445         * lyxtext.h: move the bidi stuff from here...
4446         * text.C: and here
4447         * text2.C: and here
4448         * Bidi.[Ch]: ... to here
4449
4450 2003-10-23  André Pönitz  <poenitz@gmx.net>
4451
4452         * lyxtext.h:
4453         * text.C (isLastRow, isFirstRow): new functions
4454
4455         * paragraph.h: new width cache member
4456
4457         * rowpainter.C: replace RowList::iterator with Row & where possible
4458
4459         * lyxfunc.C: replace several view()->text with a single call
4460
4461         * toc.C: fix 'unused' warning
4462
4463 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4464
4465         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4466         when woring with stream::pos_type
4467         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4468
4469 2003-10-22  André Pönitz  <poenitz@gmx.net>
4470
4471         * lyxtext.h:
4472         * text.C: use Row & instead of RowList::iterator
4473
4474         * lyxrow.h: rename end() to endpos()
4475
4476         * rowpainter.C:
4477         * text.C:
4478         * text2.C: adjust
4479
4480 2003-10-22  Angus Leeming  <leeming@lyx.org>
4481
4482         * buffer.[Ch] (fully_loaded): new member function, returning true
4483         only when the file has been loaded fully.
4484         Used to prevent the premature generation of previews and by the
4485         citation inset to prevent computation of the natbib-style label.
4486
4487         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4488         templates are all set up.
4489
4490         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4491
4492 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4493
4494         * text.C: fixed an "oops" in the "is a bit silly"
4495         bug fix
4496
4497 2003-10-21  André Pönitz  <poenitz@gmx.net>
4498
4499         * FuncStatus.[Ch]: small stuff, whitespace
4500
4501         * lyxfont.[Ch]: operator<<() for debug reasons
4502
4503         * lyxfunc.C:
4504         * lyxrow_funcs.C:
4505         * lyxtext.h: whitespace, spelling
4506
4507         * paragraph.C: naming of variables
4508
4509         * text.C:
4510         * text2.C: small stuff
4511
4512
4513 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4514
4515         * text.C: (1) finish off the inset display() work;
4516         (2) fix the "is a bit silly" bug (accessing char
4517         past end of par).
4518
4519 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4520
4521         * text.C: re-introduce display() for insets, fixing the
4522         various bugs (stretch of line above, math inset
4523         positioning, ...)
4524
4525 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4526
4527         * text.C (rightMargin): remove spurious semicolon
4528
4529         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4530         1415)
4531
4532 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4533
4534         * text3.C: fix one crash due to wrong cursor def
4535
4536 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4537
4538         * vc-backend.C (scanMaster): make the regex static
4539
4540         * LaTeX.C (scanAuxFile): make the regexs static
4541
4542         * text3.C (doInsertInset, dispatch, dispatch):
4543         * text2.C (cursorUp, cursorDown):
4544         * text.C (selectNextWordToSpellcheck):
4545         * BufferView_pimpl.C (dispatch):
4546         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4547
4548 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4549
4550         * lyxsocket.C: include <cerrno>
4551
4552 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4553
4554         * lyxfunc.C (dispatch): remove textcache stuff
4555
4556         * bufferlist.C (release): remove textcache stuff
4557         (closeAll): ditto
4558
4559         * TextCache.C: delete file
4560         * TextCache.h: delete file
4561
4562         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4563
4564         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4565         delete of the bv_->text.
4566         (resizeCurrentBuffer): remove texcache stuff
4567         (workAreaResize): ditto
4568
4569 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4570
4571         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4572         action.
4573
4574 2003-10-16  André Pönitz  <poenitz@gmx.net>
4575
4576         * lyxrow.[Ch]:
4577         * paragraph.h:
4578         * rowpainter.C:
4579         * text.C:
4580         * text2.C:
4581         * text3.C: speed up by storing y positions per paragraph plus per-row
4582         offset instead of having a 'full' y position in the row.
4583
4584 2003-10-15  André Pönitz  <poenitz@gmx.net>
4585
4586         * iterators.[Ch]:
4587         * iterators.[Ch]:
4588         * undo.[Ch]: make undo aware of inner insets
4589
4590 2003-10-14  Angus Leeming  <leeming@lyx.org>
4591
4592         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4593         static member functions LyX::ref() and LyX::cref.
4594         (lastfiles): new accessor functions for the new lastfiles_ member var.
4595         (addLyXView, views_): add a new LyXView to the list of views_.
4596         (updateInset): loop over all LyXViews to call their own updateInset
4597         member function, returning a pointer to the Buffer owning the inset.
4598
4599         * BufferView_pimpl.C (loadLyXFile):
4600         * MenuBackend.C (expandLastfiles):
4601         * bufferlist.C (MenuWrite, QuitLyX):
4602         lastfiles is no longer a global variable.
4603         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4604
4605         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4606         static function. Access through LyX::cref().emergencyCleanup().
4607
4608 2003-10-14  André Pönitz  <poenitz@gmx.net>
4609
4610         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4611
4612         * undo.[Ch]: restoring part of 'undo in insets'
4613
4614         * Makefile.am:
4615         * undo_funcs.[Ch]: merge with undo.[Ch]
4616
4617         * tabular.C: small cleansing stuff
4618
4619 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4620
4621         * paragraph_funcs.C (readParToken): report unknown insets as error
4622         boxes. Use the outer paragraph as location (also for unknown
4623         tokens).
4624
4625         * factory.C (readInset): do not abort on reading an unknown inset.
4626         Eat it and return 0.
4627
4628 2003-10-13  Angus Leeming  <leeming@lyx.org>
4629
4630         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4631
4632         * lyxrc.C: displayTranslator is now a function,
4633         declared in GraphicsTypes.h.
4634
4635 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4636
4637         * format.C: new placeholder $$a to pass the socket address.
4638
4639         * bufferlist.[Ch]: new function getBufferFromTmp.
4640
4641         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4642           files in the temporary dir.
4643
4644 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4645
4646         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4647
4648         * Makefile.am: add lyxsocket.[Ch].
4649
4650         * lyx_main.C (error_handler): handle SIGPIPE.
4651
4652 2003-10-13  André Pönitz  <poenitz@gmx.net>
4653
4654         * BufferView_pimpl.C:
4655         * lyxtext.h:
4656         * text.C:
4657         * text2.C:
4658         * text3.C:
4659         * undo_funcs.[Ch]: use paroffset_type instead of
4660           ParagraphList::iterators to prevent multiple conversion
4661           (and get a more robust interface)
4662
4663 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4664
4665         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4666         * lyxtext.h: ditto
4667         * text3.C (dispatch): ditto
4668
4669 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4670
4671         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4672         move the onlyfile, use onlyfile instead of foundfile in a couple
4673         of places.
4674
4675         * DepTable.C (update): flush the error stream a bit more
4676
4677 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4678
4679         * lyxserver.C (callback): adjust
4680
4681         * lyxfunc.C (getStatus): add a missing brace in commented code
4682         (ensureBufferClean): reindent
4683         (dispatch): delete version taking a string
4684
4685 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4686
4687         * LaTeX.C (deplog): move found file handlig from here...
4688         (handleFoundFile): .. to new function here.
4689         (deplog): make sure to discover several files mentioned on the
4690         same log line.
4691
4692 2003-10-10  André Pönitz  <poenitz@gmx.net>
4693
4694         * lyxfunc.C:
4695         * lyxtext.h:
4696         * tabular.C:
4697         * text.C:
4698         * text2.C:
4699         * text3.C: fix some of the tabular crashes
4700
4701 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4702
4703         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4704
4705         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4706
4707 2003-10-09  André Pönitz  <poenitz@gmx.net>
4708
4709         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4710
4711         * BufferView.C:
4712         * BufferView_pimpl.C:
4713         * bufferview_funcs.C:
4714         * lyx_cb.C:
4715         * lyxcursor.C:
4716         * lyxfind.C:
4717         * lyxfunc.C:
4718         * lyxtext.h:
4719         * text.C:
4720         * text2.C:
4721         * text3.C:
4722         * text_funcs.[Ch]:
4723         * textcursor.[Ch]:
4724         * undo_funcs.C: adjust
4725
4726 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4727
4728         * text2.C (incrementItemDepth): new function, use a backtracking
4729         algorithm to discover the correct item depth.
4730         (resetEnumCounterIfNeeded): new function, use a backtracking
4731         algorithm to discover if counter reset is needed.
4732         (setCounter): use them. Simplify a bit. Add different labels for
4733         different item depths for itemize.
4734
4735         * paragraph.C (Paragraph): remove initialization of enumdepth
4736         (operator=): ditto
4737
4738         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4739         enumerate and itemize. Change the type of itemdepth to signed char.
4740
4741 2003-10-08  André Pönitz  <poenitz@gmx.net>
4742
4743         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4744           thing assignable.
4745         * text.C:
4746         * text2.C: adjust
4747
4748         * tabular.[Ch]: fix crash after 'row-insert'
4749
4750 2003-10-08  Angus Leeming  <leeming@lyx.org>
4751
4752         Fix doxygen warnings.
4753
4754         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4755         Remove CutAndPaste:: prefix from header file declaration.
4756
4757         * LColor.h (fill): remove LColor:: prefix from declaration.
4758
4759         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4760         use lyx::depth_type rather than Paragraph::depth_type so that
4761         header file and .C file match.
4762
4763         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4764
4765         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4766         * aspell.C: \file aspell_local.C -> \file aspell.C
4767         * gettext.C: \file gettext.C -> \file src/gettext.C
4768         * gettext.h: \file gettext.h -> \file src/gettext.h
4769         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4770         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4771         * text.C: \file text.C -> \file src/text.C
4772
4773         * toc.C: move comment so that doxygen is not confused.
4774
4775 2003-10-07  Angus Leeming  <leeming@lyx.org>
4776
4777         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4778
4779 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4780
4781         * aspell.C:
4782         * aspell_local.h: add forgotten std::string's.
4783
4784 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4785
4786         * LaTeXFeatures.C:
4787         * LyXAction.C:
4788         * factory.C:
4789         * lfuns.h:
4790         * lyxfunc.C:
4791         * text3.C: The Box patch. Fancybox support, minipage, parbox
4792
4793 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4794
4795         * CutAndPaste.h:
4796         * DepTable.h:
4797         * FloatList.h:
4798         * LaTeXFeatures.h:
4799         * ParagraphParameters.h:
4800         * TextCache.h:
4801         * Thesaurus.h:
4802         * bufferlist.h:
4803         * exporter.h:
4804         * importer.h:
4805         * lastfiles.h:
4806         * lyxfind.h:
4807         * lyxfont.h:
4808         * lyxlex.h:
4809         * lyxtextclasslist.h:
4810         * messages.h:
4811         * paragraph.h:
4812         * paragraph_pimpl.C:
4813         * textcursor.h: add <string> and other small fixes to make Lars'
4814         std::string patch compile with STLport.
4815
4816 2003-10-06  Angus Leeming  <leeming@lyx.org>
4817
4818         * LColor.h: Add missing #include <string>.
4819
4820 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4821
4822         * All most all file in all subdirs: Make <string> be the prefered
4823         way of getting to std::string, add using declarations.
4824
4825 2003-10-06  André Pönitz  <poenitz@gmx.net>
4826
4827         * metricsinfo.C: initialize LyXFont before changing attribute.
4828         (fixes the 'math in \emph is upright' bug)
4829
4830 2003-10-06  André Pönitz  <poenitz@gmx.net>
4831
4832         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4833
4834 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4835
4836         * graph.C:
4837         * paragraph_pimpl.C: Small fixes to build using STLport
4838
4839 2003-10-02  André Pönitz  <poenitz@gmx.net>
4840
4841         * lyxfunc.C:
4842         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4843
4844 2003-10-01  André Pönitz  <poenitz@gmx.net>
4845
4846         * factory.C: assert early
4847
4848 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4849
4850         * lyx_main.C: remove the global debug object
4851
4852         * debug.h: adjust for new debugstream
4853
4854         * debug.C: adjust for new debugstream and keep the global debug
4855         object here.
4856
4857 2003-09-22  Angus Leeming  <leeming@lyx.org>
4858
4859         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4860         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4861         an incomplete class LyXFont.
4862
4863 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4864
4865         * factory.C: bug fix in branches
4866
4867 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4868
4869         * lyxfunc.C (processKeySym): adjust
4870         (dispatch): adjust
4871         (dispatch): change arg name from ev to func, adjust
4872         (sendDispatchMessage): ditto
4873
4874         * lyx_main.C (defaultKeyBindings): adjust keybindings
4875         (deadKeyBindings): ditto
4876
4877         * kbsequence.C (addkey): return a FuncRequest
4878
4879         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4880
4881         * kbmap.C (bind): take a FuncRequest as arg, adjust
4882         (read): adjust
4883         (lookup): adjust
4884         (defkey): change to take a FuncRequest as arg, adjust
4885         (findbinding): take a FuncRequest as arg, adjust.
4886
4887         * funcrequest.h (operator=): added
4888
4889         * funcrequest.C (FuncRequest): default kb_action changed from
4890         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4891
4892         * buffer.C (dispatch): simplify
4893         (dispatch): adjust to take a FuncRequest as arg, adjust
4894
4895         * boost.C (assertion_failed): change assertion message slightly
4896
4897         * ToolbarBackend.C (read): simplify
4898
4899         * MenuBackend.C (binding): adjust call to findbinding, add a
4900         message if no binding is found.
4901         (read): simplify
4902         (expandToc): correct by adding a empty FuncRequest
4903
4904         * LyXAction.C: include <boost/assert.hpp>
4905         (isPseudoAction): delete function
4906         (LookupFunc): change name to...
4907         (lookupFunc): this. change return type to FuncRequest.
4908         (getActionName): take kb_action as arg, simplify
4909         (funcHasFlag): add an assert, simplify.
4910
4911 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4912
4913         * toc.C (action): return a FuncRequest, simplify
4914
4915         * lyxfunc.C (processKeySym): adjust
4916         (getStatus): delete version that takes an int.
4917         (getStatus): adjust
4918         (dispatch): delete version that takes action as int
4919         (dispatch): adjust
4920         (sendDispatchMessage): simplify and adjust
4921
4922         * funcrequest.C (getArg): take unsigned int as arg
4923
4924         * ToolbarBackend.C (read): adjust
4925         (add): delete version that takes func as a string.
4926         (getIton): take a FuncRequest as arg
4927
4928         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4929         action.
4930
4931         * MenuBackend.C (MenuItem): add a new construct that only takes a
4932         Kind, simplify the constructor use for submenus.
4933         (add): adjust
4934         (expandLastfiles): adjust
4935         (expandDocuments): adjust
4936         (expandFormats): adjust
4937         (expandFloatListInsert): adjust
4938         (expandFloatInsert): adjust
4939         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4940
4941         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4942         Remove class variables lyx_pseudo_map and lyx_arg_map
4943
4944         * LyXAction.C (searchActionArg): delete function
4945         (getPseudoAction): delete function
4946         (retrieveActionArg): delete function
4947         (LookupFunc): make it return kb_action, simplify.
4948         (getActionName): simplify
4949
4950         * factory.C (createInset): fix new bug
4951
4952 2003-09-19  Angus Leeming  <leeming@lyx.org>
4953
4954         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4955         masterFilename_ parameter in the include inset.
4956
4957         * factory.C (createInset): changes due to the changes to InsetInclude.
4958
4959 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4960
4961         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4962
4963 2003-09-18  Angus Leeming  <leeming@lyx.org>
4964
4965         * buffer.C:
4966         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4967         Inset::fillWithBibKeys.
4968         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4969
4970 2003-09-18  Angus Leeming  <leeming@lyx.org>
4971
4972         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4973         variables.
4974         (ctor): pass and store a 'Buffer const &'
4975         (buffer): new member function.
4976
4977         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4978         '*this' to the LaTeXFeatures ctor.
4979
4980 2003-09-18  Angus Leeming  <leeming@lyx.org>
4981
4982         * LColor.h:
4983         * lyxfont.C:
4984         * lyxfont.h:
4985         * lyxtext.h:
4986         * text.C: rename EnumLColor as LColor_color.
4987
4988 2003-09-18  Angus Leeming  <leeming@lyx.org>
4989
4990         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4991         remove #include "insets/insetbase.h" from cursor.h.
4992
4993 2003-09-18  Angus Leeming  <leeming@lyx.org>
4994
4995         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4996         InsetOld_code to remove #include "inset.h".
4997
4998         * iterators.C: add #include "insets/inset.h"
4999
5000 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5001
5002         * BufferView.C: remove more locking stuff that apparently doesn't
5003         do anything sensible.
5004
5005 2003-09-16  André Pönitz  <poenitz@gmx.net>
5006
5007         * paragraph.[Ch]:
5008         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5009           performance boost.
5010
5011 2003-09-16  Angus Leeming  <leeming@lyx.org>
5012
5013         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5014
5015         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5016         arg/return type.
5017
5018         * paragraph.h: remove #include "lyxfont.h". Forward declare
5019         LyXFont_size.
5020
5021 2003-09-16  Angus Leeming  <leeming@lyx.org>
5022
5023         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5024         of support/textutils.h.
5025         (isWord): move the contents of support/textutils.h's IsWordChar here.
5026
5027         * buffer.C:
5028         * lyxfind.C:
5029         * rowpainter.C:
5030         * text.C:
5031         * text2.C: add #include "paragraph.h".
5032
5033         * rowpainter.C:
5034         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5035
5036 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5037
5038         * main.C:
5039         * lyx_main.C:
5040         * lyx_cb.C:
5041         * buffer.C:
5042         * LaTeX.C: use namespace alias for lyx::support::os
5043
5044 2003-09-16  Angus Leeming  <leeming@lyx.org>
5045
5046         * bufferparams.C:
5047         * bufferview_funcs.C:
5048         * factory.C:
5049         * lyxfunc.C:
5050         * paragraph_pimpl.C:
5051         * rowpainter.C:
5052         * text.C: add #include "LColor.h".
5053
5054 2003-09-16  Angus Leeming  <leeming@lyx.org>
5055
5056         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5057         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5058         return LyXFont &.
5059         Store the FontBits::color variable as an int rather than as an
5060         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5061         file.
5062
5063         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5064         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5065         string calls together.
5066
5067         * lyxrc.C: add #include "LColor.h".
5068
5069 2003-09-15  Angus Leeming  <leeming@lyx.org>
5070
5071         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5072         a cow_ptr.
5073
5074 2003-09-15  Angus Leeming  <leeming@lyx.org>
5075
5076         * LColor.h: add an EnumLColor wrapper for LColor::color.
5077
5078         * lyxfont.[Ch] (color, setColor, realColor):
5079         * lyxtext.h, text.C (backgroundColor):
5080         pass EnumLColor args to/from the functions, rather than LColor::color
5081         ones.
5082
5083         * lyxfont.h:
5084         * lyxtext.h: forward declare EnumLColor.
5085
5086         * lyx_main.C: add #include "LColor.h".
5087
5088 2003-09-15  Angus Leeming  <leeming@lyx.org>
5089
5090         * .cvsignore: add lyx-gtk.
5091
5092 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5093
5094         * Chktex.C
5095         * LaTeX.C
5096         * LaTeXFeatures.C
5097         * ParagraphParameters.C
5098         * Spacing.C
5099         * buffer.C
5100         * bufferparams.C
5101         * bufferview_funcs.C
5102         * chset.C
5103         * counters.C
5104         * funcrequest.C
5105         * lyxfont.C
5106         * lyxgluelength.C
5107         * lyxlength.C
5108         * paragraph.C
5109         * paragraph_funcs.C
5110         * text3.C
5111         * vc-backend.C: remove usage of STRCONV
5112
5113 2003-09-15  Angus Leeming  <leeming@lyx.org>
5114
5115         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5116         explicitly define the color passed to the painter.
5117
5118 2003-09-15  Angus Leeming  <leeming@lyx.org>
5119
5120         * bufferparams.C (BufferParams): reorder member initializers to avoid
5121         compiler warning.
5122
5123 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5124
5125         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5126         * text.C (updateRowPositions): remove an unusual nop
5127
5128 2003-09-12  André Pönitz  <poenitz@gmx.net>
5129
5130         * BufferView_pimpl.C:
5131         * Bullet.C:
5132         * layout.h:
5133         * lyxfunc.C:
5134         * lyxlayout.[Ch]:
5135         * lyxtextclass.C:
5136         * rowpainter.C:
5137         * text.C:
5138         * text2.C:
5139         * Counters.[Ch]: finish the 'automatic counters' job
5140
5141 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5142
5143         * aspell.C: include <boost/assert.cpp> (compile fix)
5144
5145 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5146
5147         * boost.C (assertion_failed): use lyx::support::abort instead of
5148         assert.
5149
5150 2003-09-10  Angus Leeming  <leeming@lyx.org>
5151
5152         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5153         with their _fwd progeny.
5154
5155 2003-09-09  Angus Leeming  <leeming@lyx.org>
5156
5157         134 files throughtout the source tree: replace 'using namespace abc;'
5158         directives with the appropriate 'using abc::xyz;' declarations.
5159
5160 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5161
5162         * boost.C (emergencyCleanup): moved here from LAssert.c
5163         (assertion_failed): new function, called by BOOST_ASSERT
5164
5165         * several files: change Assert to BOOST_ASSERT
5166
5167 2003-09-09  Angus Leeming  <leeming@lyx.org>
5168
5169         * buffer.[Ch]: Add an Impl class and move Buffer's member
5170         variables into it. As a result move several header files out of
5171         buffer.h.
5172
5173         Add header files to lots of .C files all over the tree as a result.
5174
5175 2003-09-09  Angus Leeming  <leeming@lyx.org>
5176
5177         * buffer.[Ch]: make Buffer's member variables private. Add
5178         accessor functions.
5179
5180         Lots of changes all over the tree as a result.
5181
5182 2003-09-08  Angus Leeming  <leeming@lyx.org>
5183
5184         * graph.C: #include <config.h>.
5185
5186 2003-09-08  Angus Leeming  <leeming@lyx.org>
5187
5188         * BranchList.C:
5189         * BufferView.C:
5190         * BufferView_pimpl.C:
5191         * CutAndPaste.C:
5192         * DepTable.C:
5193         * LaTeX.C:
5194         * LaTeXFeatures.C:
5195         * LyXAction.C:
5196         * MenuBackend.C:
5197         * TextCache.C:
5198         * aspell.C:
5199         * buffer.C:
5200         * bufferlist.C:
5201         * changes.C:
5202         * chset.C:
5203         * converter.C:
5204         * counters.C:
5205         * debug.C:
5206         * graph.C:
5207         * ispell.C:
5208         * lyx_cb.C:
5209         * lyxfind.C:
5210         * lyxfunc.C:
5211         * lyxlex_pimpl.C:
5212         * lyxrc.C:
5213         * lyxrow.C:
5214         * paragraph.C:
5215         * rowpainter.C:
5216         * texrow.C:
5217         * text.C:
5218         * text2.C:
5219         * toc.C: remove redundant using directives.
5220
5221 2003-09-07  Angus Leeming  <leeming@lyx.org>
5222
5223         * LaTeXFeatures.h: remove #include "support/types.h".
5224         * ToolbarBackend.h: remove #include <algorithm>.
5225         * changes.h: remove #include <ctime>.
5226         * debug.h: remove #include <iosfwd>.
5227         * graph.h: remove #include "support/std_string.h".
5228         * lyx_main.h: remove #include <csignal>.
5229         * lyxlex_pimpl.h: remove #include <fstream>.
5230         * sgml.h: remove #include <algorithm>, <utility>.
5231         * toc.h: remove #include "support/std_ostream.h".
5232         Add #include <iosfwd>.
5233
5234 2003-09-07  Angus Leeming  <leeming@lyx.org>
5235
5236         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5237
5238         * converter.h: forward declare LatexRunParams.
5239         * encoding.h: remove #include "lyxrc.h".
5240         * lyxtext.h: remove #include "LColor.h".
5241         * lyxtextclass.h: remove #include "support/types.h".
5242         * trans.h: remove #include "tex-accent.h".
5243         * trans_mgr.h: remove #include "tex-accent.h".
5244         * insets/inset.h: remove #include "support/types.h", <vector>.
5245         * insets/insetcollapsable.h: remove #include "LColor.h".
5246         * insets/insetinclude.h: remove #include "dimension.h".
5247         * insets/insetlatexaccent.h: remove #include "dimension.h".
5248         * insets/insetoptarg.h:: remove #include "insettext.h".
5249         * insets/insettext.h: remove #include "dimension.h",
5250         <boost/shared_ptr.hpp>
5251
5252         * insets/renderers.h: add #include "dimension.h".
5253         * insets/updatableinset.h: add #include "support/types.h".
5254
5255         * many .C files: Associated changes.
5256
5257 2003-09-06  Angus Leeming  <leeming@lyx.org>
5258
5259         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5260         one, inside testInvariant.
5261
5262         * PrinterParams.C: new file.
5263         * PrinterParams.[Ch]: move the function bodies out of line.
5264
5265 2003-09-06  Angus Leeming  <leeming@lyx.org>
5266
5267         * ParagraphParameters.h: forward declare ParameterStruct rather than
5268         including its header file.
5269         (depth): moved out-of-line.
5270
5271 2003-09-06  Angus Leeming  <leeming@lyx.org>
5272
5273         * BufferView_pimpl.h:
5274         * kbmap.h:
5275         * kbsequence.h:
5276         * lyxfunc.h: forward declare LyXKeySym rather than
5277         #include "frontends/LyXKeySym.h".
5278
5279         * BufferView_pimpl.C:
5280         * kbmap.C:
5281         * kbsequence.C:
5282         * lyxfunc.C: associated changes.
5283
5284 2003-09-06  Angus Leeming  <leeming@lyx.org>
5285
5286         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5287         As a result, can remove the #include "insets/inset.h" from BufferView.h
5288
5289 2003-09-06  Angus Leeming  <leeming@lyx.org>
5290
5291         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5292         As a result, can remove the #include "insets/inset.h" from BufferView.h
5293
5294 2003-09-06  Angus Leeming  <leeming@lyx.org>
5295
5296         * buffer_funcs.C:
5297         * buffer.h:
5298         * bufferlist.C:
5299         * BufferView.C:
5300         * bufferview_funcs.C:
5301         * BufferView_pimpl.C:
5302         * CutAndPaste.C:
5303         * lyx_cb.C:
5304         * lyxfunc.C:
5305         * paragraph.h:
5306         * ParagraphParameters.C:
5307         * tabular.C:
5308         * text3.C:
5309         * toc.C:
5310         * undo_funcs.C:
5311         * frontends/controllers/ControlDocument.C:
5312         * insets/insetcaption.C: rearrange the #includes into some sort of
5313         coherent order.
5314
5315         * buffer.h: remove #includes ErrorList.h, undo.h
5316
5317 2003-09-06  Angus Leeming  <leeming@lyx.org>
5318
5319         * support/types.h: add a 'depth_type' typedef, used to store the
5320         nesting depth of a paragraph.
5321
5322         * paragraph.h:
5323         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5324         defining explicitly.
5325
5326         * buffer.h:
5327         * paragraph_funcs.h:
5328         * ParagraphParameters.h:
5329         * sgml.h: use lyx::depth_type rather than Paragraph or
5330         ParameterStruct's depth_type.
5331
5332         * buffer.h
5333         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5334
5335         * BufferView.C:
5336         * BufferView_pimpl.C:
5337         * CutAndPaste.C:
5338         * ParagraphParameters.C:
5339         * buffer_funcs.C:
5340         * bufferlist.C:
5341         * bufferview_funcs.C:
5342         * lyx_cb.C:
5343         * lyxfunc.C:
5344         * tabular.C:
5345         * text3.C:
5346         * toc.C:
5347         * undo_funcs.C:
5348         * frontends/LyXView.C:
5349         * frontends/controllers/ControlDocument.C:
5350         * frontends/controllers/ControlErrorList.C:
5351         * insets/insetbibitem.C:
5352         * insets/insetbranch.C:
5353         * insets/insetcaption.C:
5354         * insets/insetcollapsable.C:
5355         * insets/insetenv.C:
5356         * insets/insetert.C:
5357         * insets/insetfloat.C:
5358         * insets/insetfoot.C:
5359         * insets/insetfootlike.C:
5360         * insets/insetnewline.C:
5361         * insets/insetquotes.C:
5362         * insets/insettabular.C:
5363         * insets/insettext.C:
5364         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5365
5366         * frontends/controllers/ControlChanges.C: #include "changes.h".
5367
5368 2003-09-06  Angus Leeming  <leeming@lyx.org>
5369
5370         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5371         than #including paragraph.h.
5372
5373         * ParagraphList.h:
5374         * RowList.h: deleted. Superfluous.
5375
5376         * CutAndPaste.h:
5377         * iterators.h:
5378         * lyxcursor.h:
5379         * lyxtext.h:
5380         * text_funcs.h:
5381         * undo.h:
5382         * undo_funcs.h:
5383         * insets/inset.h:
5384         * insets/insettext.h: use ParagraphList_fwd.h rather than
5385         ParagraphList.h.
5386
5387         * paragraph.h: don't forward declare ParagraphList.
5388
5389         * buffer.h:
5390         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5391         rather than ParagraphList.h. paragraph.h is still needed for the
5392         Paragraph::depth_type parameters.
5393
5394         * textcursor.h: enable it to compile stand-alone in light of the
5395         above changes.
5396
5397         * bufferview_funcs.C:
5398         * iterators.C:
5399         * lyxfunc.C:
5400         * lyxrow_funcs.C:
5401         * paragraph.C:
5402         * rowpainter.C:
5403         * text.C:
5404         * text2.C:
5405         * text3.C:
5406         * text_funcs.C:
5407         * textcursor.C:
5408         * undo.C:
5409         * frontends/controllers/ControlParagraph.C:
5410         * frontends/controllers/ControlTabular.C:
5411         * insets/insetmarginal.C:
5412         * insets/insetminipage.C:
5413         * insets/insetnote.C:
5414         * insets/insetoptarg.C: add header files needed to compile again.
5415
5416 2003-09-06  Angus Leeming  <leeming@lyx.org>
5417
5418         * RowList_fwd.h: new file, forward-declaring Row rather than
5419         #including lyxrow.h.
5420
5421         * lyxrow_funcs.h:
5422         * lyxtext.h:
5423         * paragraph.h:
5424         * insets/insettext.h: use it instead of RowList.h
5425
5426         * bufferview_funcs.C:
5427         * lyxfunc.C:
5428         * lyxrow_funcs.C:
5429         * paragraph.C:
5430         * rowpainter.C:
5431         * text.C:
5432         * text2.C:
5433         * text3.C: #include "RowList.h".
5434
5435 2003-09-05  Angus Leeming  <leeming@lyx.org>
5436
5437         * factory.C (createInset):
5438         * vspace.C (c-tor): replace sscanf call with an istringstream.
5439         * ispell.C: re-add missing HP/UX headers.
5440         * lyxserver.C: re-add missing  os2 headers.
5441
5442 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5443
5444         * BranchList.C:
5445         * graph.C:
5446         * ispell.C:
5447         * lastfiles.C:
5448         * lyx_cb.C:
5449         * lyxserver.C:
5450         * texrow.C:
5451         * text3.C: re-add missing system headers, needed for 2.95.2.
5452
5453 2003-09-05  Angus Leeming  <leeming@lyx.org>
5454
5455         Changes most place everywhere due to the removal of using directives
5456         from support/std_sstream.h.
5457
5458 2003-09-05  Angus Leeming  <leeming@lyx.org>
5459
5460         Replace LString.h with support/std_string.h,
5461         Lsstream.h with support/std_sstream.h,
5462         support/LIstream.h with support/std_istream.h,
5463         support/LOstream.h with support/std_ostream.h.
5464
5465         Changes resulting throughout the tree.
5466
5467 2003-09-05  Angus Leeming  <leeming@lyx.org>
5468
5469         * sgml.h: ensure that the header file can be compiled stand-alone.
5470         * *.C: strip out redundant #includes. (320 in total.)
5471
5472 2003-09-04  Angus Leeming  <leeming@lyx.org>
5473
5474         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5475         here (from getPackages).
5476
5477         * debug.[Ch]: add a new EXTERNAL tag.
5478
5479 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5480
5481         * text2.C (cursorEnd): simplify
5482         (setCursor): adjust
5483         (getColumnNearX): adjust
5484
5485         * text.C (computeBidiTables): adjust
5486         (fill): adjust
5487
5488         * rowpainter.C (paintChars): adjust
5489         (paintSelection): adjust
5490         (paintChangeBar): adjust
5491         (paintText): adjust
5492
5493         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5494         lastPos instead.
5495         (numberOfSeparators): adjust
5496
5497 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5498
5499         * LyXAction.C:
5500         * box.[Ch]:
5501         * lfuns.h:
5502         * lyxfunc.C:
5503         * text3.C: Restricts the mouse click functionality
5504         of insets like bibtex, include, toc and floatlist to the visible
5505         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5506         up the dialogs. Cursor has to be in front of the inset (i.e.
5507         start of row) for this to function.
5508
5509 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5510
5511         * bufferview_funcs.C (currentState): output row information
5512
5513 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5514
5515         * bufferview_funcs.C (currentState): output paragraph position
5516
5517 2003-09-04  Angus Leeming  <leeming@lyx.org>
5518
5519         * FloatList.h: move out #include "Floating.h".
5520         * LaTeX.h: move out #include "DepTable.h".
5521         * LyXAction.h: move out #include "funcrequest.h".
5522         * buffer.h: move out #include "author.h", "iterators.h".
5523         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5524         * lyx_main.h: move out #include "errorlist.h".
5525         * lyxfunc.h: move out #include "FuncStatus.h".
5526         * lyxtext: move out #include "lyxcursor.h".
5527         * paragraph_pimpl.h: move out #include "counters.h".
5528
5529 2003-09-03  Angus Leeming  <leeming@lyx.org>
5530
5531         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5532         preamble_snippets list, enabling us to add snippets to the preamble
5533         only if the snippet was not there already.
5534
5535 2003-09-04  Angus Leeming  <leeming@lyx.org>
5536
5537         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5538
5539 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5540
5541         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5542         update
5543
5544 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5545
5546         * BranchList.C: point fix, earlier forgotten
5547
5548 2003-09-02  Angus Leeming  <leeming@lyx.org>
5549
5550         * box.C (contains): renamed from 'contained' after a fantastic
5551         amount of hot air.
5552
5553 2003-09-02  John Levon  <levon@movementarian.org>
5554
5555         * BufferView.C:
5556         * lyxcursor.h:
5557         * lyxcursor.C:
5558         * lyxfunc.C:
5559         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5560
5561 2003-09-02  John Levon  <levon@movementarian.org>
5562
5563         * text2.C: simplification of cursorEnd(), including partial
5564         fix for bug 1376
5565
5566 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5567
5568         * buffer.C (readFile): add a space
5569
5570 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5571
5572         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5573
5574 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5575
5576         * buffer.C (readFile): new function, take a filename and a
5577         ParagraphList::iterator
5578         (readFile): adjust
5579         (readFile): adjust, make it private. don't use setStream, make
5580         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5581         always contain the filename.
5582
5583         * BufferView.C (insertLyXFile): simplify and make it work for
5584         gzipped files.
5585
5586 2003-08-30  John Levon  <levon@movementarian.org>
5587
5588         * Makefile.am: fix dist (from Kayvan)
5589
5590 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5591
5592         * most files: change to use const Buffer refs
5593
5594 2003-08-27  André Pönitz  <poenitz@gmx.net>
5595
5596         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5597         on top of ownerPar().
5598
5599 2003-08-27  John Levon  <levon@movementarian.org>
5600
5601         * funcrequest.C: properly initialise POD members
5602
5603 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5604
5605         * lyxtext.h (top_y): move top_y from here
5606         * text.C:
5607         * text2.C:
5608         * text3.C:
5609         * BufferView.[Ch]:
5610         * BufferView_pimpl.[Ch]: to here
5611         * frontends/screen.C:
5612         * insets/insettabular.C:
5613         * insets/insettext.C: adjust
5614         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5615
5616 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5617
5618         * BufferView.[Ch]:
5619         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5620
5621 2003-08-26  André Pönitz  <poenitz@gmx.net>
5622
5623         * paragraph_func.[Ch] (outerPar): new function
5624
5625         * paragraph.C:
5626         * paragraph_funcs.C:
5627         * paragraph_funcs.h:
5628         * paragraph_pimpl.C:
5629         * text2.C: remove Inset::par_owner
5630
5631 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5632
5633         * lyxrow_funcs.C:
5634         * lyxtext.h:
5635         * text.C:
5636         * text2.C: eliminates the needFullRow/display() stuff
5637         altogether, putting the logic in metrics/draw in the insets.
5638
5639 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5640
5641         * text2.C (redoParagraphInternal, redoParagraphs):
5642         * text.C (redoParagraph): add a call to updateRowPositions at the
5643         end of each 'metrics-like' call. Remove all others.
5644         (getRow): remove the 'y-computing' version.
5645         (getRowNearY): do not compute nor return the real y. Solve the
5646         'y < 0' problem and simplify.
5647
5648 2003-08-22  Angus Leeming  <leeming@lyx.org>
5649
5650         * *.[Ch]: clean-up of licence and author blurbs.
5651         Also move config.h out of a few .h files and into a few .C files.
5652
5653 2003-08-22  André Pönitz  <poenitz@gmx.net>
5654
5655         * lyxrow.[Ch]: add x_ and *fill_ members
5656
5657         * lyxtext.h:
5658         * text.C:
5659         * rowpainter.C:
5660         * text2.C: adjust/remove prepareToPrint() calls
5661
5662 2003-08-22  André Pönitz  <poenitz@gmx.net>
5663
5664         * lyxrow.[Ch]: add  end_ member
5665
5666         * lyxrow_funcs.C: use LyXRow::end_
5667
5668         * lyxtext.h (singleWidth): add LyXFont parameter
5669
5670         * rowpainter.C:
5671         * text2.C: adjust LyXText::singleWidth() calls
5672
5673         * text.C (redoParagraph): simplify row breaking logic
5674
5675
5676 2003-08-19  André Pönitz  <poenitz@gmx.net>
5677
5678         * funcrequest.C: initialize button_ member
5679
5680         * text3.C:
5681         * rowpainter.[Ch]: interface consolidation
5682
5683 2003-08-18  André Pönitz  <poenitz@gmx.net>
5684
5685         * BufferView.C:
5686         * BufferView_pimpl.C:
5687         * lyxfind.C:
5688         * paragraph_funcs.C:
5689         * rowpainter.C:
5690         * text3.C: remove LyXScreen::draw() and fitCursor calls
5691
5692         * BranchList.h: remove spurious semicolons
5693
5694         * MenuBackend.C: fix branchlist related crash
5695
5696 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5697
5698         * BranchList.[Ch]:
5699         * InsetList.[Ch]:
5700         * LColor.[Ch]:
5701         * LyXAction.C:
5702         * Makefile.am:
5703         * MenuBackend.[Ch]:
5704         * bufferparams.[Ch]:
5705         * factory.C:
5706         * lfuns.h:
5707         * lyxfunc.C:
5708         * text3.C: implements the 'branch inset'
5709         idea. This allows the output of various versions of a document
5710         from a single source version, selectively outputing or suppressing
5711         output of parts of the text.
5712         This implementation contains a 'branch list editor' in a separate
5713         tab of the document settings dialog. Branches are user definable
5714         and have a "display colour" to distinguish them on-screen.
5715
5716         ColorHandler was somewhat cleaned up.
5717         (1) make possible a dynamically growing LColor list by allowing
5718         the graphic context cache to grow along (vector);
5719         (2) eliminate an IMHO unnecessary step in colour allocation.
5720
5721 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5722
5723         * BufferView_pimpl.C: compile fix
5724
5725 2003-08-15  André Pönitz  <poenitz@gmx.net>
5726
5727         * rowpainter.C: remove extra metrics calls
5728
5729         * lyxtext.h: merge the two constructors into a single one,
5730           pass reference to owner's par list
5731
5732         * BufferView_pimpl.C:
5733         * text.C:
5734         * text2.C: adjust
5735
5736 2003-08-15  André Pönitz  <poenitz@gmx.net>
5737
5738         * lyxrow_funcs.[Ch]:
5739         * lyxtext.h:
5740         * paragraph.h:
5741         * paragraph_funcs.C:
5742         * rowpainter.C:
5743         * text.C:
5744         * text2.C:
5745         * text3.C:
5746         * text_funcs.C: split LyXText::rowlist_ into individual
5747         Paragraph::rows_ chunks
5748
5749         * BufferView.[Ch]:
5750         * BufferView_pimpl.[Ch]:
5751         * lyxfind.C:
5752         * lyxtext.h:
5753         * text3.C: remove toggleSelection()
5754
5755 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5756
5757         * bufferlist.C: beautify two alerts (shorter text of buttons)
5758         * buffer.C: Remove redundant ' ' from message
5759         * tabular.h:
5760         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5761         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5762         rename VALIGN_CENTER to VALIGN_MIDDLE
5763
5764 2003-08-11  André Pönitz  <poenitz@gmx.net>
5765
5766         * lyxtext.h (getPar):
5767         * text.C: new function
5768
5769 2003-08-11  André Pönitz  <poenitz@gmx.net>
5770
5771         * Makefile.am:
5772         * tracer.[Ch]: remove unneeded files
5773
5774         * InsetList.[Ch]: remove resizeInsetsLyXText()
5775
5776         * lyxtext.h:
5777         * text.C:
5778         * text2.C:
5779         * text3.C: merge insertParagraphs() and appendParagraph()
5780         remove breakAgain(), update()
5781
5782         * BufferView_pimpl.[Ch]:
5783         * bufferview_funcs.[Ch]:
5784         * lyxfunc.C:
5785         * paragraph.[Ch]:
5786         * rowpainter.C:
5787         * tabular.C: adjust after text & InsetList changes.
5788
5789 2003-08-08  André Pönitz  <poenitz@gmx.net>
5790
5791         * text.C (insertChar, backspace): replace rowlist fiddling
5792         with rebreak of full par
5793
5794         * lyxtext.h:
5795         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5796         checkParagraph, updateInset): removed
5797
5798 2003-08-07  André Pönitz  <poenitz@gmx.net>
5799
5800         * paragraph.C:
5801         * text3.C: merge some LFUN handlers, remove dead code
5802
5803 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5804
5805         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5806
5807 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5808
5809         * text2.C (DEPM): fix part of bug 1255 and 1256
5810
5811 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5812
5813         * BufferView_pimpl.C (workAreaDispatch): change to use
5814         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5815         that are no mouse related.
5816
5817 2003-08-05  André Pönitz  <poenitz@gmx.net>
5818
5819         * BufferView.[Ch]:
5820         * BufferView_pimpl.[Ch]:
5821         * bufferview_funcs.C:
5822         * text2.C:
5823         * text3.C: rip out "deep update"
5824
5825         * textcursor.[Ch] (last_sel_cursor): remove unused member
5826
5827 2003-08-04  André Pönitz  <poenitz@gmx.net>
5828
5829         * BufferView.[Ch]:
5830         * BufferView_pimpl.[Ch]:
5831         * ParagraphParameters.C:
5832         * bufferview_funcs.C:
5833         * lyx_cb.C:
5834         * lyxfind.C:
5835         * lyxfunc.C:
5836         * text.C:
5837         * text2.C:
5838         * text3.C: replace "complicated" BufferView::update(...) calls with
5839         simpler ones.
5840
5841         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5842
5843 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5844
5845         * Makefile.am (lyx_SOURCES): add paper.h
5846
5847 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5848
5849         * Makefile.am: move things around so that both lyx-qt and
5850         lyx-xforms can be built (according to --with-frontend). Then lyx
5851         is a symbolic link to lyx-[firstfrontend]
5852
5853 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5854
5855         * Always use std::endl with lyxerr
5856
5857 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5858
5859         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5860
5861 2003-08-01  André Pönitz  <poenitz@gmx.net>
5862
5863         * BufferView.[Ch]:
5864         * BufferView_pimpl.[Ch]:
5865         * lyxfunc.C:
5866         * text3.C: merge BufferView::repaint() and BufferView::update()
5867
5868 2003-08-01  José Matos  <jamatos@lyx.org>
5869
5870         * buffer.[Ch]: file_format is no longer a buffer data element.
5871
5872 2003-08-01  André Pönitz  <poenitz@gmx.net>
5873
5874         * BufferView.C:
5875         * lyxtext.h:
5876         * text.C:
5877         * text2.C: make redoParagraph more independent of current cursor
5878
5879         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5880         * text.C:
5881         * text2.C: remove unneeded members
5882
5883 2003-07-30  André Pönitz  <poenitz@gmx.net>
5884
5885         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5886
5887         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5888           create a single function...
5889
5890         * paragraph_funcs.C (moveItem): ... here.
5891
5892         * text.C:
5893           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5894
5895 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5896
5897         * LColor.[Ch]: Add comment and greyedout logical colors.
5898
5899 2003-07-30  André Pönitz  <poenitz@gmx.net>
5900
5901         * tabular.C: don't use Assert too heavily. This crashes where it
5902           shouldn't
5903
5904 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5905
5906         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5907         is disabled (bug 1232)
5908
5909 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5910
5911         * factory.C: limited 'arg' scope
5912
5913 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5914
5915         * factory.C: fixed Note submenu issues
5916
5917 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5918
5919         * factory.C: submenu for Note/Comment/Greyedout
5920
5921 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5922
5923         * lyx_main.C (LyX):
5924         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5925
5926 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5927
5928         * LaTeXFeatures.C:
5929         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5930         greyedout. Patch provided by Jürgen Spitzmüller.
5931
5932 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5933
5934         * kbmap.C (read): fix error message when reading bind files
5935
5936 2003-07-29  Angus Leeming  <leeming@lyx.org>
5937
5938         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5939         certainly does not do what it purports to do. I am doing it, and
5940         us, a favour by killing it.
5941
5942 2003-07-28  José Matos  <jamatos@lyx.org>
5943
5944         * buffer.C (readBody, do_writeFile):
5945         * paragraph.C(readParagraph): \end_document replaces \the_end.
5946
5947 2003-07-29  André Pönitz  <poenitz@gmx.net>
5948
5949         * BufferView.[Ch]:
5950         * BufferView_pimpl.[Ch]:
5951         * lyxfunc.C:
5952         * text2.C:
5953         * text3.C:
5954         * textcursor.[Ch]: remove toggleToggle & Co
5955
5956 2003-07-28  José Matos  <jamatos@fep.up.pt>
5957
5958         * buffer.C (readParagraph):
5959         * params_func (readParToken, readParagraph):
5960         * paragraph.C (write): \layout -> \begin_layout.
5961
5962 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5963
5964         * lyxlex_pimpl.C (setFile): clean up slightly.
5965
5966         * bufferparams.h: add compressed var
5967
5968         * buffer_funcs.C (readFile): adjust for LyXLex change
5969         (newFile): ditto + simplify
5970
5971         * buffer.C (writeFile): handle writing of compressed files
5972
5973         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5974         Check if the file is compressed and set a bufferparm if so.
5975
5976         * Makefile.am (lyx_LDADD): remove explicit -lz
5977
5978 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5979
5980         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5981         makeDocBookFile): put the real LyX version in the first line of
5982         the file
5983
5984         * version.h:
5985         * version.C.in: remove lyx_docversion
5986
5987         * tabular.C (write_attribute): add a template-based version to
5988         write enums properly
5989
5990 2003-07-28  André Pönitz  <poenitz@gmx.net>
5991
5992         * lyxtext.h:
5993         * text.C:
5994         * text2.C:
5995         * text3.C: use doubles again for x-coordinates. They are needed.
5996
5997 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5998
5999         * messages.C (getLocaleDir): use lyx_localedir()
6000
6001         * lyxlex_pimpl.C (setFile): compress stuff
6002
6003         * buffer.C (writeFile): add some compression stuff
6004         (do_writeFile): new func, dont call expliti close... will this
6005         breake anything?
6006
6007         * Makefile.am (lyx_LDADD): add -lz
6008
6009 2003-07-28  José Matos  <jamatos@fep.up.pt>
6010
6011         * buffer.C: increment file format.
6012         * paragraph_funcs (readParagraph, readParToken):
6013         * paragraph.C (readParagraph): add \end_layout.
6014
6015 2003-07-27  Angus Leeming  <leeming@lyx.org>
6016
6017         * Makefile.am: remove special casing for configure-time setting of
6018         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6019
6020         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6021         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6022
6023 2003-07-26  André Pönitz  <poenitz@gmx.net>
6024
6025         * paragraph_func.[Ch]:
6026         * paragraph.C (realizeFont): inline it whereever it is used
6027
6028         * rowpainter.C:
6029         * text.C:
6030         * text2.C:
6031         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6032
6033
6034 2003-07-26  André Pönitz  <poenitz@gmx.net>
6035
6036         *       lyxtext.h:
6037         * text.C:
6038         * text2.C: get rid of LyXText::need_break_row
6039
6040 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6041
6042         * toc.[Ch]: put namespace toc inside namespace lyx
6043
6044         * MenuBackend.C (expandToc2): adjust for lyx::toc
6045         (expandToc): ditto
6046
6047         * lyxfunc.C (dispatch): adjust for lyx::find
6048
6049         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6050         lyx::find instead. Reorganize a bit.
6051         (LyXReplace): rename to replace
6052         (LyXFind): rename to find
6053
6054         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6055         (dispatch): ditto
6056
6057 2003-07-26  André Pönitz  <poenitz@gmx.net>
6058
6059         * text.C (setHeightOfRow): restrict scope of temporary variable
6060
6061         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6062           code (never has been used?)
6063
6064 2003-07-27  Asger Alstrup  <alstrup@local>
6065
6066         * text.C (fill): Optimise algorithm to exploit that we can reuse
6067         the LyXFont for many characters.
6068         (setHeightOfRow): Same thing.
6069         (rowBreakPoint): Same thing.
6070
6071 2003-07-26  Asger Alstrup  <alstrup@local>
6072
6073         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6074
6075         * text.C (singleWidth): Spurious font copying in hot-spot
6076         singleWidth avoided. Reorder tests for arabic for efficiency.
6077
6078         * text.C (fill): handle empty paragraphs better.
6079
6080 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6081
6082         * ispell.C:
6083         * encoding.h: add includes
6084
6085         * lyxrc.C: remove reading of bind files
6086
6087         * lyx_main.C (init): setup bindings and menus only if we have a
6088         gui.
6089
6090         * kbmap.C (read): new method. Do the actual reading of bind
6091         files.
6092
6093         * converter.C (dvipdfm_options):
6094         * bufferparams.C:
6095         * lyxrc.C (read):
6096         (output): adapt PAPER_* enums.
6097
6098         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6099
6100         * bufferparams.h: remove paper-related enums from there
6101
6102         * paper.h: New file. A trivial header file to hold paper-related
6103         enums. It should later expand to contain many paper-related
6104         horrors access.
6105
6106         * lyxrc.C: declare extern displayTranslator
6107
6108 2003-07-27  José Matos  <jamatos@fep.up.pt>
6109
6110         * tabular.[Ch] (linuxdoc): add support for tables and figures
6111         (linuxdoc).
6112
6113 2003-07-27  José Matos  <jamatos@fep.up.pt>
6114
6115         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6116         consistency in both functions.
6117         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6118
6119 2003-07-26  Asger Alstrup  <alstrup@local>
6120
6121         * rowpainter.C (paintRows): Change algorithm to work directly on
6122         the insets rather than asking every character in the document
6123         whether its an inset.
6124
6125 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6126
6127         * buffer.C (openFileWrite): factorize some code
6128
6129 2003-07-26  Angus Leeming  <leeming@lyx.org>
6130
6131         * lyx_cb.C:
6132         * lyx_main.[Ch]: replace occurances of system_tempdir with
6133         os::getTmpDir().
6134
6135 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6136
6137         * rename Inset to InsetOld
6138
6139 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6140
6141         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6142         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6143         which I think is a bit clearer. EDIT is gone, since it was
6144         premature optimisation, and broken for mathed anyway.
6145         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6146         with cursor positioning in insets as well (math insets still do not
6147         work, but that's a different story anyway.) It mysteriously
6148         crashes sometimes with undo in the first paragraph, but I'm fairly
6149         confident that this is a compiler bug.
6150
6151 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6152
6153         * paragraph.C (Paragraph): adjust for new clone return type
6154         (operator==): ditto
6155         (copyIntoMinibuffer): ditto
6156
6157 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6158
6159         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6160         by not having a special case, and always doing a full rebreak of
6161         the document after undo.
6162
6163 2003-07-23  Angus Leeming  <leeming@lyx.org>
6164
6165         * factory.C (createInset): InsetExternal::setParams now takes a
6166         Buffer const * arg.
6167
6168 2003-07-23  Angus Leeming  <leeming@lyx.org>
6169
6170         * factory.C (createInset): changed interface to the external and
6171         graphics mailers' string2params functions.
6172
6173 2003-07-23  Angus Leeming  <leeming@lyx.org>
6174
6175         * factory.C (createInset): pass a
6176         Buffer const * parameter to InsetExternalMailer's string2params.
6177
6178 2003-07-22  John Levon  <levon@movementarian.org>
6179
6180         * Thesaurus.h: include the right aiksaurus header
6181
6182 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6183
6184         * MenuBackend.C (expand): check menu shortcuts unconditionally
6185
6186 2003-07-21  Angus Leeming  <leeming@lyx.org>
6187
6188         * factory.C (createInset): pass a
6189         buffer_path parameter to InsetGraphicsMailer's string2params.
6190
6191 2003-07-21  Angus Leeming  <leeming@lyx.org>
6192
6193         * BufferView_pimpl.C (buffer):
6194         * buffer.C (d-tor):
6195         * lyx_main.C (LyX):
6196         * lyxfunc.C (dispatch):
6197         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6198         rather than the grfx shortcut.
6199
6200 2003-07-21  André Pönitz  <poenitz@gmx.net>
6201
6202         * rowpainter.C: remove unused variables
6203
6204         * tabular_funcs.C:
6205         * tabular_funcs.h: move to tabular.C
6206         * Makefile.am: adjust
6207
6208         * tabular.[Ch]: basic optical cleaning
6209
6210         * author.h: pass references, not values
6211
6212 2003-07-18  André Pönitz  <poenitz@gmx.net>
6213
6214         * lyxtext.h:
6215         * metricsinfo.C:
6216         * metricsinfo.h:
6217         * rowpainter.C:
6218         * text.C:
6219         * text2.C:
6220         * text3.C: two-phase drawing for InsetText and InsetTabular
6221         some float -> int changes.
6222
6223 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6224
6225         * lyx_main.C: fix the fix
6226
6227 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6228
6229         * lyx_main.C: fix a crash in batch mode if no files specified
6230         * converter.C: ws
6231
6232 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6233
6234         * format.[Ch] (papersize): moved to BufferParams
6235         * converter.[Ch] (dvips_options): moved to BufferParams
6236         (dvipdfm_options): moved to anon namespace
6237         * bufferparams.[Ch]: added above functions.
6238
6239 2003-07-17  André Pönitz  <poenitz@gmx.net>
6240
6241         * lyxtext.h:
6242         * rowpainter.C:
6243         * text2.C: don't call inset->update() anymore
6244
6245         * metricsinfo.[Ch]: add convenience constructor
6246
6247 2003-07-16  André Pönitz  <poenitz@gmx.net>
6248
6249         * lyxcursor.[Ch]:
6250         * lyxfunc.[Ch]:
6251         * text.C:
6252         * text2.C: replace the LyXCursor::irow_ member with
6253          on-demand computation of the value
6254
6255 2003-07-16  John Levon  <levon@movementarian.org>
6256
6257         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6258
6259 2003-07-15  André Pönitz  <poenitz@gmx.net>
6260
6261         * text.C:
6262         * text2.C: remove no more needed refresh_row
6263
6264 2003-07-15  André Pönitz  <poenitz@gmx.net>
6265
6266         * lyxtext.h:
6267         * rowpainter.C:
6268         * text2.C:
6269         * text3.C: refresh_status tristate -> need_update bool
6270
6271 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6272
6273         * lyxtext.h (init): remove reinit argument (act as if always true)
6274         * text2.C: adjust to that
6275
6276 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6277
6278         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6279         * text3.C: use it to delete selections in some cases
6280         (bugs 441, 673, 702, 954).
6281
6282 2003-07-14  André Pönitz  <poenitz@gmx.net>
6283
6284         * rowpainter.[Ch]: reduce interface
6285
6286 2003-07-14  André Pönitz  <poenitz@gmx.net>
6287
6288         * BufferView_pimpl.C:
6289         * text2.C: adjust after removing unused BufferView * argument
6290
6291 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6292
6293         * text2.C (init): fix a crash fired on resize
6294
6295 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6296
6297         * buffer.[Ch]: added new closing signal
6298         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6299         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6300         BufferView::Pimpl via the closing the signal
6301
6302 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6303
6304         * buffer.[Ch]: take out all bv-related from buffer
6305         * BufferView.C:
6306         * BufferView_pimpl.[Ch]: connect to new signals
6307         * CutAndPaste.C: removed useless asserts
6308         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6309         * lyxvc.[Ch]:
6310         * vc-backend.[Ch]:
6311         * lyxfunc.C: moved view-related funciontality from vc here
6312         * paragraph.C: removed outdated comments
6313         * text.C: ws
6314
6315 2003-07-10  André Pönitz  <poenitz@gmx.net>
6316
6317         * BufferView_pimpl.C:
6318         * tabular.h:
6319         * tabular_funcs.C:
6320         * text.C:
6321         * text2.C: remove InsetText::InnerCache, clean up consequences
6322
6323 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6324
6325         * ispell.C: fix two typos in error messages
6326
6327 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6328
6329         * Extend Note inset to other forms of annotation like Comment
6330         and Greyedout. Right button click gives dialog.
6331
6332         Files modified or added (+):
6333
6334         * insetnote.[Ch]
6335         * FormNote.[Ch]      +
6336         * ControlNote.[Ch]   +
6337         * form_note.fd       +
6338         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6339         frontends/controllers
6340         * xforms/Dialogs.C
6341         * factory.C
6342
6343 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6344
6345         * aspell.C: add missing namespace lyx::support
6346
6347 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6348
6349         * BufferView.[Ch] (newFile): Add
6350         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6351         * LaTeX.[Ch] (message): added this signal and use it
6352         * buffer.[Ch] (busy, message): added these signals and use them
6353         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6354         * converter.C:
6355         * exporter.C:
6356         * format.C:
6357         * importer.C: use buffer signals instead of direct bv calling
6358         * lyx_cb.[Ch] (ShowMessage): removed
6359         * lyx_main.C:
6360         * lyxfunc.C:
6361         * paragraph_funcs.C:
6362         * text2.C: use buffer signals
6363
6364 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6365
6366         * introduce namespace lyx::graphics
6367
6368 2003-07-02  André Pönitz  <poenitz@gmx.net>
6369
6370         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6371
6372 2003-07-01  André Pönitz  <poenitz@gmx.net>
6373
6374         * text.C:
6375         * text2.C:
6376         * text3.C:
6377         * text_funcs.[Ch]:
6378         * textcursor.h:
6379         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6380           text*.C to text_func.C
6381
6382 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6383
6384         * introduce namespace lyx::support
6385
6386 2003-06-30  André Pönitz  <poenitz@gmx.net>
6387
6388         * Chktex.C:
6389         * funcrequest.C:
6390         * lyxtext.h:
6391         * text.C: re-enable --with-included-string
6392
6393 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6394
6395         * textcursor.C: add <config.h>
6396
6397         * text.C (getWord): remove const from word_location arg
6398
6399         * lyxvc.C (getLogFile): fix const type order
6400
6401         * lyxtext.h: remove const from word_location arg, add arg name
6402
6403         * lyxlayout.h: currect type on labeltype.
6404
6405         * importer.C: correct \file
6406
6407         * converter.C (intToFormat): use std:: on ret val, ws changes
6408
6409         * bufferlist.h: correct \file
6410
6411         * buffer.C (makeLinuxDocFile): fix const type order
6412         (makeDocBookFile): ditto
6413         (fillWithBibKeys): use std:: on stdlib args.
6414
6415         * CutAndPaste.C: fix authors.
6416         (availableSelections): use std:: on return vector
6417
6418 2003-06-27  André Pönitz  <poenitz@gmx.net>
6419
6420         * BufferView_pimpl.C:
6421         * bufferview_funcs.C:
6422         * lyxcursor.C:
6423         * lyxcursor.h:
6424         * lyxfunc.C:
6425         * lyxtext.h:
6426         * rowpainter.C:
6427         * text.C:
6428         * text2.C:
6429         * text3.C: remove LyXCursor::row_ member
6430
6431         * lyxtext.h:
6432         * text.C: rename fullRebreak() to partialRebreak() and implement
6433           a fullRebreak() that really bereks fully
6434
6435         * textcursor.h: new struct for cursor-related data
6436
6437 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6438
6439         * lyx_main.C (LyX): get full path of document loaded on the
6440         command line
6441
6442 2003-06-26  André Pönitz  <poenitz@gmx.net>
6443
6444         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6445           remove unused/broken operator>,<,>=.
6446
6447         *       text.C: remove only use of broken operator<= in an Assert().
6448
6449 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6450
6451         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6452         moved errorlist_.clear to showErrorList
6453
6454 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6455
6456         * converter.C (scanLog, runLaTeX):
6457         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6458         move the bv->showErrorList call to the callers
6459         * lyxfunc.C: i.e. here...
6460         * text2.C: and here
6461         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6462         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6463         namespace, the second to...
6464         * buffer_funcs (BufferFormat, parseErrors): added
6465         * errorlist.C (ErrorList(TeXErrors const &)): removed
6466
6467 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6468
6469         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6470
6471 2003-06-24  "Garst R. Reese" <reese@isn.net>
6472
6473         * debug.C: fix typo
6474
6475 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6476
6477         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6478
6479         * version.C.in: change docversion to 1.4
6480
6481 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6482
6483         * buffer.C: fix a bug just introduced
6484
6485 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6486
6487         * buffer.[Ch]: added the parseError signal and use it, removed
6488         sgmlError
6489         * BufferView.[Ch] (addError): moved to ...
6490         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6491         to the Buffer::parseError signal to catch (guess what) parse errors
6492         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6493
6494 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6495
6496         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6497         ability to create a buffer and to return an existing one from
6498         the list. Moved these functions to...
6499         * buffer_funcs.[Ch]: added
6500         * BufferView.[Ch] (loadLyXFile): added
6501         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6502         job removed from bufferlist::loadLyXFile.
6503         * buffer.C (setReadOnly): make it work without view
6504         (i.e added an if (users))
6505
6506 2003-06-19  Angus Leeming  <leeming@lyx.org>
6507
6508         * lfuns.h:
6509         * LyXAction.C (init):
6510         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6511         with LFUN_DIALOG_SHOW <name> <data>.
6512
6513 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6514
6515         * CutAndPaste.C (availableSelections): small compilation fix for
6516         ancient (gcc 2.9x) compilers
6517
6518 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6519
6520         * text3.C (cursorNext): add tmp var
6521
6522         * text2.C (updateCounters): for function calling out of for clause
6523         (replaceSelectionWithString): ditto
6524         (insertStringAsParagraphs): ditto
6525         (getColumnNearX): add tmp var
6526         (setCursorFromCoordinates): add tmp var
6527         (cursorDownParagraph): add tmp var
6528         (deleteEmptyParagraphMechanism): add tmp var
6529
6530         * text.C (insertChar): add tmp var
6531
6532         * rowpainter.C (paintDepthBar): add tmp var
6533
6534         * CutAndPaste.C (availableSelections): potentially check all
6535         paragraphs in a cut to fill the shown strings.
6536
6537 2003-06-18  André Pönitz  <poenitz@gmx.net>
6538
6539         * kbmap.[Ch]: use vector<> instead of list<>
6540
6541 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6542
6543         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6544         pasteSelection with index
6545
6546         * text2.C (pasteSelection): modify, call pasteSelection with index
6547
6548         * paragraph.C (asString): reimplement version with no interval to
6549         call the one with interval.
6550
6551         * lyxtext.h: add index arg to pasteSelection
6552
6553         * MenuBackend.C (MenuItem): handle PasteRecent
6554         (Menu::read::Menutags): add md_pasterecent
6555         (read): handle it
6556         (expandPasteRecent): new function
6557         (expand): use it
6558
6559         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6560
6561         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6562         the limited stack
6563         (availableSelections): new function
6564
6565 2003-06-17  Angus Leeming  <leeming@lyx.org>
6566
6567         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6568
6569 2003-06-17  Angus Leeming  <leeming@lyx.org>
6570
6571         * lfuns.h:
6572         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6573
6574         * lyxfunc.C (dispatch): invoke it.
6575
6576 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6577
6578         * iterators.C (operator++, ParPosition): reintroduce some
6579         const_cast for the benefit of older compilers.
6580
6581 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6582
6583         * text3.C (dispatch): do not modify clipboard when doing
6584         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6585         LFUN_DELETE_SKIP on a selection selection
6586
6587 2003-06-16  André Pönitz  <poenitz@gmx.net>
6588
6589         * BufferView.C:
6590         * buffer.C:
6591         * buffer.h:
6592         * paragraph.C:
6593         * tabular.[Ch]: IU of clone() and getLabelList();
6594
6595 2003-06-13  André Pönitz  <poenitz@gmx.net>
6596
6597         * tabular.h: compactification
6598
6599 2003-06-12  André Pönitz  <poenitz@gmx.net>
6600
6601         * tabular.C:
6602         * tabular.h:
6603         * tabular_funcs.h: some renaming plus whitespace
6604
6605 2003-06-12  André Pönitz  <poenitz@gmx.net>
6606
6607         * BufferView.C:
6608         * BufferView_pimpl.C:
6609         * CutAndPaste.C:
6610         * buffer.C:
6611         * iterators.[Ch]:
6612         * lyxfunc.C:
6613         * text.C:
6614         * toc.C: Return a Paragraph & for ParIterator::operator*()
6615
6616 2003-06-11  John Levon  <levon@movementarian.org>
6617
6618         * lyx_main.C:
6619         * ToolbarBackend.h:
6620         * ToolbarBackend.C: add "Toolbars" section and
6621         put the flags there
6622
6623 2003-06-10  Angus Leeming  <leeming@lyx.org>
6624
6625         * lfuns.h:
6626         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6627
6628         * lyxfunc.C (dispatch): invoke it.
6629
6630 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6631
6632         * main.C: protect <ios> with HAVE_IOS
6633         (main): protect sync_with_stdio with HAVE_IOS
6634
6635 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6636
6637         * text2.C (cutSelection): adjust
6638         (pasteSelection): adjust
6639
6640         * messages.C: handle get of empty string
6641
6642         * main.C (main): use sync_with_stdio(false)
6643
6644         * lyxfunc.C (dispatch): adjust
6645
6646         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6647         (WriteAs): remove unneeded BufferView arg.
6648
6649         * bufferparams.h: use correct types on papersize, papersize2 and
6650         paperpackage.
6651
6652         * bufferparams.C (readToken): adjust for type
6653         (writeLaTeX): add missing cases to switch.
6654
6655         * bufferlist.C (quitWriteBuffer): adjust
6656         (close): adjust
6657
6658         * buffer.C (asciiParagraph): remove some commented code.
6659
6660         * CutAndPaste.C: remove current_view extern variable.
6661         (cutSelection): add BufferParams arg.
6662         (eraseSelection): add BufferParams arg.
6663         (pasteSelection): add Buffer const & arg
6664
6665 2003-06-07  John Levon  <levon@movementarian.org>
6666
6667         * buffer.C:
6668         * paragraph_funcs.C:
6669         * paragraph_pimpl.C:
6670         * text.C:
6671         * text2.C:
6672         * paragraph.h:
6673         * paragraph.C: allow InsetERT to freely space lines,
6674         and some consolidation of code
6675
6676 2003-06-06  José Matos  <jamatos@fep.up.pt>
6677
6678         * buffer.C (makeDocBookFile): fix bug #821
6679
6680 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6681
6682         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6683
6684 2003-06-04  Angus Leeming  <leeming@lyx.org>
6685
6686         * buffer.C: bump format to 224.
6687
6688 2003-06-05  André Pönitz  <poenitz@gmx.net>
6689
6690         * text2.C (redoParagraphs): remove two const_cast<>
6691
6692 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6693
6694         * ParagraphList.h: remove last remnants of NO_STD_LIST
6695
6696 2003-06-03  Angus Leeming  <leeming@lyx.org>
6697
6698         * factory.C (createInset): small change to the way InsetExternal's params
6699         are set.
6700
6701 2003-06-04  André Pönitz  <poenitz@gmx.net>
6702
6703         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6704
6705         * paragraph_pimpl.h:
6706         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6707
6708         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6709
6710         * undo_funcs.C: make some simple cases of undo work again
6711
6712 2003-06-03  John Levon  <levon@movementarian.org>
6713
6714         * ispell.C: HPUX doesn't have sys/select.h
6715         (from Albert Chin)
6716
6717 2003-06-03  John Levon  <levon@movementarian.org>
6718
6719         * CutAndPaste.C: update tabular and include inset
6720         buffer references
6721
6722         * buffer.h:
6723         * paragraph.h:
6724         * paragraph.C: remove owningBuffer(), don't pass Buffer
6725         to clone()
6726
6727         * factory.C: insetGraphicsParams changed
6728
6729 2003-06-02  John Levon  <levon@movementarian.org>
6730
6731         * LyXAction.C:
6732         * factory.C:
6733         * lfuns.h:
6734         * lyxfunc.C:
6735         * text3.C: remove insetparent
6736
6737 2003-06-02  John Levon  <levon@movementarian.org>
6738
6739         * buffer.h:
6740         * buffer.C: fix inset_iterator.end(), move out of line
6741         (bug 1149)
6742
6743 2003-06-01  John Levon  <levon@movementarian.org>
6744
6745         * text3.C: use a proper cut/paste when doing inset
6746         insert (from Jürgen Spitzmüller)
6747
6748 2003-06-01  John Levon  <levon@movementarian.org>
6749
6750         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6751
6752 2003-05-30  André Pönitz  <poenitz@gmx.net>
6753
6754         * rowpainter.C: unify second drawing phase
6755
6756 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6757
6758         * trans_mgr.C: remove one case of current_view
6759
6760         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6761
6762         * paragraph_funcs.h: remove paragraph.h include
6763
6764         * paragraph.h: delete NO_STD_LIST stuff
6765
6766         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6767
6768         * buffer.h: remove paragraph.h include
6769
6770         * ParagraphList.C: delete file
6771
6772         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6773
6774         * toc.C (getTocList): adjust
6775
6776         * paragraph_pimpl.C (validate): adjust
6777
6778         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6779
6780         * paragraph.C (Paragraph): adjust
6781         (getPositionOfInset): use const_iterator, adjust
6782         (bibitem): use const_iterator, adjust
6783         (setInsetOwner): adjust
6784
6785         * iterators.C (operator++): adjust
6786
6787         * InsetList.[Ch]: Replace selfmade iterator with standard
6788         vector::iterator also introduce const_iterator. Remove getPos,
6789         getInset and setInset from InsetTable. Adjust accordingly.
6790
6791         * BufferView.C (lockInset): adjust
6792         (ChangeInsets): adjust
6793
6794         * tabular.[Ch]: delete commented same_id functions
6795
6796 2003-05-28  John Levon  <levon@movementarian.org>
6797
6798         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6799
6800 2003-05-28  André Pönitz  <poenitz@gmx.net>
6801
6802         * metricsinfo.[Ch]: remove 'fullredraw' member
6803
6804 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6805
6806         * lyxtextclass.C (operator): remove caching.
6807
6808 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6809
6810         * text3.C: adjust
6811
6812         * text2.C (cursorBottom): adjust
6813         (setCounter): use ParagraphList::find, adjust
6814
6815         * text.C (workWidth): use ParagraphList::find, adjust
6816
6817         * lyxcursor.C (LyXCursor): adjust
6818
6819         * buffer.C (inset_iterator): adjust
6820
6821         * ParagraphList.h: make iterator(value_type) private, make
6822         ParagraphList a friend of iterator.
6823
6824         * ParagraphList.C (find): new function
6825
6826         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6827
6828 2003-05-27  André Pönitz  <poenitz@gmx.net>
6829
6830         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6831
6832 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6833
6834         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6835
6836 2003-05-26  John Levon  <levon@movementarian.org>
6837
6838         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6839
6840 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6841
6842         * remove same_id from function signatures, adjust.
6843
6844 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6845
6846         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6847
6848         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6849
6850         * paragraph.C (Paragraph): get rid of same_ids parameter
6851
6852         * ParagraphList.C (insert): adjust
6853         (push_back): adjust
6854
6855 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6856
6857         * paragraph_funcs.C (breakParagraph): adjust
6858         (breakParagraphConservative): adjust
6859
6860         * buffer.C (readParagraph): adjust
6861
6862         * ParagraphList.C (insert): take a reference instead of a pointer
6863         (insert): adjust
6864
6865         * paragraph.[Ch] (id): new function
6866
6867         * bufferlist.C (newFile): adjust
6868
6869         * ParagraphList.C (ParagraphList): adjust
6870         (assign): adjust
6871         (push_back): take a reference instead of a pointer.
6872
6873         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6874
6875         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6876         instead.
6877
6878         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6879         set else use old code.
6880
6881         * ParagraphList.C: remove all NO_NEXT code and only compile this
6882         code of NO_STD_LIST is set.
6883
6884 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6885
6886         * BufferView_pimpl.C:
6887         * TextCache.C:
6888         * TextCache.h:
6889         * bufferlist.C:
6890         * errorlist.h:
6891         * format.C:
6892         * format.h:
6893         * graph.C:
6894         * lyxfunc.C:
6895         * lyxrc.C:
6896         * graphics/GraphicsConverter.C:
6897         * graphics/PreviewLoader.C: header adjustment
6898
6899 2003-05-23  Angus Leeming  <leeming@lyx.org>
6900
6901         * LaTeXFeatures.[Ch] (useBabel): new method.
6902         * bufferparams.C (writeLaTeX): use it.
6903
6904 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6905
6906         * ParagraphList.h (set): remove unused function.
6907
6908 2003-05-23  André Pönitz  <poenitz@gmx.net>
6909
6910         * BufferView.C:
6911         * BufferView_pimpl.C:
6912         * buffer.C:
6913         * buffer.h:
6914         * lyxfunc.C:
6915         * undo_funcs.C: setUndo reworked
6916
6917         * iterators.[Ch]: add access to topmost ParagraphList
6918
6919         * lyxtext.[Ch] (workWidth): add a const
6920
6921 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6922
6923         * texrow.[Ch] (increasePos): remove function
6924         * exporter.C (export): removed unused var and outdated comment
6925
6926 2003-05-23  Angus Leeming  <leeming@lyx.org>
6927
6928         * latexrunparams.h: rename fragile as moving_arg.
6929         * paragraph.C (simpleTeXOnePar): ditto.
6930         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6931
6932 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6933
6934         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6935         (createUndo): ditto
6936         (textUndoOrRedo): comment out a currently unused var.
6937
6938         * paragraph.h (NO_NEXT): enable NO_NEXT
6939
6940         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6941
6942         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6943
6944         * exporter.C (Export): adjust for removeAutoInsets removal.
6945
6946         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6947
6948         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6949
6950         * BufferView.[Ch] (removeAutoInsets): delete function
6951
6952 2003-05-22  Angus Leeming  <leeming@lyx.org>
6953
6954         * latexrunparams.h: add a free_spacing variable.
6955
6956         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6957         to pass moving_arg, as the data is stored in runparams.fragile.
6958
6959         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6960         to Inset::latexOptional or to simpleTeXOnePar.
6961
6962         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6963         free_spacing arg to Inset::latexOptional.
6964
6965         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6966         free_spacing arg.
6967
6968 2003-05-22  Angus Leeming  <leeming@lyx.org>
6969
6970         * latexrunparams.h: add fragile and use_babel variables.
6971
6972         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6973         * buffer.C (makeLaTeXFile): store this returned value in
6974         runparams.use_babel, thus passing it to the inset::latex methods.
6975
6976         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6977         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6978
6979         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6980         longer has a fragile arg, as it is stored in runparams.fragile.
6981
6982         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6983         moving_arg parameter as the data is stored in runparams.fragile.
6984
6985         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6986         a fragile parameter as the data is stored in runparams.fragile.
6987
6988 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6989
6990         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6991
6992 2003-05-22  Angus Leeming  <leeming@lyx.org>
6993
6994         * latexrunparams.h: add a 'bool nice' which defaults to false.
6995
6996         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6997         now encapsulated within runparams.
6998
6999         * bufferlist.C (updateIncludedTeXfiles):
7000         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7001
7002 2003-05-22  Angus Leeming  <leeming@lyx.org>
7003
7004         * latexrunparams.h: new file containing struct LatexRunParams.
7005         * Makefile.am: add new file.
7006
7007         * LaTeX.[Ch] (c-tor, run):
7008         * buffer.[Ch] (makeLaTeXFile):
7009         * bufferlist.[Ch] (updateIncludedTeXfiles):
7010         * converter.C (convert, scanLog):
7011         * converter.[Ch] (runLaTeX):
7012         * exporter.C (Export):
7013         * paragraph.[Ch] (simpleTeXOnePar):
7014         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7015         * paragraph_funcs.[Ch] (latexParagraphs):
7016         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7017         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7018         pass around a LatexRunParams parameter.
7019
7020 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7021
7022         * paragraph.[Ch]: remove unused constructor
7023
7024         * ParagraphList.C (erase): new function, taking two iterators
7025
7026 2003-05-22  André Pönitz  <poenitz@gmx.net>
7027
7028         * undo_funcs.C: remove duplicated code
7029
7030         * iterator.[Ch]: operator=
7031
7032 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7033
7034         * tabular.C (SetMultiColumn): ws changes
7035
7036         * rowpainter.C (paintFirst): get rid of a ->previous
7037
7038         * lyx_cb.C (getPossibleLabel): parlist simplification
7039
7040         * BufferView.C (ChangeInsets): simplify slightly.
7041
7042 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7043
7044         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7045         * lfuns.h: new LFUN_SPACE
7046         * lyxfunc.C: protected space has a new lfun
7047         * paragraph_funcs.C: read new space insets
7048         * text3.C:
7049         * factory.C: handle new space insets
7050
7051 2003-05-22  André Pönitz  <poenitz@gmx.net>
7052
7053         * BufferView.C:
7054         * BufferView_pimpl.C:
7055         * buffer.[Ch]:
7056         * lyxfunc.C:
7057         * undo_funcs.C: return a ParIterator from getParFromID.
7058
7059         * iterators.[Ch]: add two const's
7060
7061 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7062
7063         * toc.C (getTocList): adjust
7064
7065         * iterators.[Ch]: rework for parlist
7066
7067         * buffer.C (par_iterator_begin): adjust
7068         (par_iterator_end): adjust
7069
7070         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7071
7072         * BufferView.C (removeAutoInsets): adjust
7073         (ChangeInsets): adjust
7074
7075 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7076
7077         * text.C (top_y): fix bug 1110
7078
7079 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7080
7081         * errorlist.[Ch]: added
7082         * buffer.C:
7083         * BufferView.[Ch]:
7084         * BufferView_pimpl.C:
7085         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7086         instead
7087
7088 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7089
7090         * Makefile.am: ensure that lyx is relinked upon changes to the
7091         various "convenience" libs.
7092
7093 2003-05-20  Angus Leeming  <leeming@lyx.org>
7094
7095         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7096         files are compiled in alphabetical order again.
7097
7098         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7099
7100 2003-05-19  Angus Leeming  <leeming@lyx.org>
7101
7102         * gettext.[Ch]: remove "char const * _(char const *)".
7103
7104 2003-05-19  André Pönitz  <poenitz@gmx.net>
7105
7106         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7107
7108         * Makefile.am:
7109         * BufferView.C:
7110         * DepTable.h:
7111         * LaTeXFeatures.C:
7112         * buffer.C:
7113         * lyxfont.C:
7114         * lyxlex.h:
7115         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7116
7117 2003-05-19  André Pönitz  <poenitz@gmx.net>
7118
7119         * buffer.C:
7120         * lyxlayout.[Ch]:
7121         * lyxtextclass.[Ch]:
7122         * paragraph.C:
7123         * paragraph_funcs.[Ch]:
7124         * text2.C:
7125         * text3.C: more insetenv work
7126
7127 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7128
7129         * ParagraphParameters.C (params2string): small bug fixed
7130
7131 2003-05-16  André Pönitz  <poenitz@gmx.net>
7132
7133         * debug.C:
7134         * bufferview_funcs.C: patch from Kornel Benko to prevent
7135           crash when _(...) is called twice in a statement
7136
7137 2003-05-16  André Pönitz  <poenitz@gmx.net>
7138
7139         * BufferView.C:
7140         * lyxfunc.C:
7141         * text.C:
7142         * text2.C:
7143         * text3.C:
7144         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7145
7146 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7147
7148         * lyx_main.C (init): remove spurious static_cast
7149
7150 2003-05-14  André Pönitz  <poenitz@gmx.net>
7151
7152         * BufferView.C: fix format string
7153
7154 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7155
7156         * BufferView.[Ch] (insertErrors): removed
7157         * BufferView.[Ch] (showErrorList): added
7158         * buffer.C (runChkTeX):
7159         * converter.C (scanLog): call showErrorList instead of inserterrors
7160
7161 2003-05-13  André Pönitz  <poenitz@gmx.net>
7162
7163         * BufferView_pimpl.C:
7164         * buffer.C:
7165         * bufferview_func.C:
7166         * MenuBackend.C:
7167         * lyxfunc.C:
7168         * lyxrc.C:
7169         * tex-accent.C:
7170         * text3.C:
7171         * toc.C:
7172         * tabular_funcs.h: tostr() from its own header
7173
7174         * ParagraphParameters.C:
7175         * ToolbarBackend.C:
7176         * bufferparams.C:
7177         * format.C:
7178         * lyxlex_pimpl.C:
7179         * text3.C: STRCONV()
7180
7181 2003-05-12  André Pönitz  <poenitz@gmx.net>
7182
7183         * BufferView.C:
7184         * BufferView_pimpl.C:
7185         * CutAndPaste.C:
7186         * LaTeX.C:
7187         * LaTeXFeatures.C:
7188         * ParagraphParameters.C:
7189         * buffer.C:
7190         * bufferlist.C:
7191         * bufferparams.C:
7192         * bufferview_funcs.C:
7193         * converter.C:
7194         * counters.C:
7195         * debug.C:
7196         * exporter.C:
7197         * format.C:
7198         * importer.C:
7199         * lyx_cb.C:
7200         * lyx_main.C:
7201         * lyxfont.C:
7202         * lyxfunc.C:
7203         * lyxvc.C:
7204         * paragraph.C:
7205         * paragraph_funcs.C:
7206         * tabular.C:
7207         * tabular_funcs.C:
7208         * text2.C:
7209         * text3.C:  boost::format -> bformat  all over the place
7210
7211
7212 2003-05-09  André Pönitz  <poenitz@gmx.net>
7213
7214         * LColor.[Ch]: Pimpl the #include <map> away
7215
7216 2003-05-09  John Levon  <levon@movementarian.org>
7217
7218         * bufferlist.C: never remove emergency saves
7219
7220 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7221
7222         * Makefile.am: better lib building
7223
7224 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7225
7226         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7227         instead.
7228         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7229         (simpleTeXSpecialChars): adjust
7230         (simpleTeXSpecialChars): adjust
7231         * paragraph.C (simpleTeXOnePar): adjust
7232         * buffer.C (makeLaTeXFile): adjust
7233
7234         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7235
7236         * text2.C (changeDepth): parlist cleanup
7237         (getColumnNearX): ditto
7238
7239         * rowpainter.C (getLabelFont): parlist cleanup
7240
7241         * bufferlist.C (newFile): parlist cleanup
7242
7243         * CutAndPaste.C (eraseSelection): parlist cleanup
7244
7245         * BufferView_pimpl.C (trackChanges): parlist cleanup
7246         (dispatch): ditto
7247
7248         * BufferView.C (lockInset): parlist cleanup.
7249         (ChangeInsets): ditto
7250
7251 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7252
7253         * CutAndPaste.h: Update file header.
7254
7255         * CutAndPaste.C: Update file header.
7256         Store the parts cut out of the Document in a limited_stack.
7257         (copySelection): adjust
7258         (pasteSelection): new function, takes the index in the limited stack.
7259         (nrOfParagraphs): adjust
7260         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7261         simplify error inset insertion.
7262         (checkPastePossible): adjust
7263
7264 2003-05-06  John Levon  <levon@movementarian.org>
7265
7266         * text2.C: don't cast wrap inset to float
7267
7268 2003-05-05  André Pönitz  <poenitz@gmx.net>
7269
7270         * iterator.C:
7271         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7272
7273         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7274           few naked Paragraph *.
7275
7276 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7277
7278         * bufferparams.C: Output warning if a document with missing
7279         TeX document class is loaded
7280         * exporter.C: Disable TeX exports if the document class is missing
7281         * lyxtextclass.C:
7282         * lyxtextclass.h:
7283         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7284         isTeXClassAvailable()
7285
7286 2003-05-03  John Levon  <levon@movementarian.org>
7287
7288         * BufferView.h:
7289         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7290         explicit cursor show/hide
7291
7292         * BufferView_pimpl.h:
7293         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7294         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7295
7296         * lyxfunc.C: hide cursor before dispatching.
7297
7298         * lyx_cb.C:
7299         * lyxfind.C:
7300         * text.C:
7301         * text3.C: remove explicit cursor hides
7302
7303 2003-05-02  André Pönitz  <poenitz@gmx.net>
7304
7305         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7306
7307         * undo_funcs.C:
7308         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7309           linked lists
7310
7311         * text2.C: tiny whitespace
7312
7313 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7314
7315         * undo_funcs.C: almost only ws changes.
7316
7317         * ParagraphList.C (splice): just return if pl is empty.
7318
7319 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7320
7321         * ParagraphList.C (splice): new function.
7322
7323         * CutAndPaste.C (pasteSelection): use it
7324
7325 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7326
7327         * CutAndPaste.C (pasteSelection): remove the last next and
7328         previous from this file.
7329
7330 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7331
7332         * CutAndPaste.C (pasteSelection): more clean up, user proper
7333         ParagraphList functions for pasteing.
7334
7335         * ParagraphList.C (insert): new function, three arg insert
7336
7337 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7338
7339         * ParagraphList.C (insert): new function, three arg insert
7340
7341         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7342         not on paragraphs.
7343
7344 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7345
7346         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7347
7348 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7349
7350         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7351
7352 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7353
7354         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7355         (copySelection): clean up a bit.
7356         (pasteSelection): use make_pair
7357
7358         * ParagraphList.C (ParagraphList): implement copy constructor
7359         (operator=): implement, base on copy constructor.
7360         (assign): new func
7361
7362         * paragraph.C (erase): return a bool
7363
7364         * paragraph_pimpl.C (erasePos): remove function, move contents...
7365         (erase): ... here. Return a bool.
7366         (erase): call erase instead of erasePos.
7367
7368 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7369
7370         * ParagraphList.h: define PitPosPair
7371         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7372         ParagraphList, fix a bug on pasting multiple pars
7373         * text2.C: change interface to C&P
7374
7375 2003-04-30  André Pönitz  <poenitz@gmx.net>
7376
7377         * undo_func.C: revert part of yesterday's patch 2
7378
7379 2003-04-30  John Levon  <levon@movementarian.org>
7380
7381         * LColor.C: s/tabular/table/
7382
7383 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7384
7385         * text3.C (dispatch): do not convert iterator -> pointer
7386         * undo_funcs.C (setCursorParUndo): ditto
7387         * text_funcs.C (transposeChars): ditto
7388
7389         * text2.C (setLayout): ws changes only
7390
7391         * text.C (breakParagraph): do not convert iterator -> pointer
7392         (insertChar): ditto
7393         (acceptChange): ditto
7394         (rejectChange): ditto
7395         (changeCase): ditto
7396         (Delete): ditto
7397         (backspace): ditto
7398
7399         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7400         pointer
7401
7402 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7403
7404         * text3.C (gotoInset): YABG (yet another bad getChar)
7405
7406 2003-04-29  André Pönitz  <poenitz@gmx.net>
7407
7408         * paragraph.h: make operator= private unimplemented as long as
7409           it is unusable
7410
7411         * ParagraphList.C: whitespace
7412
7413         * paragraph.[Ch]:
7414         * paragraph_pimpl.[Ch]:
7415         * paragraph_funcs.C:
7416         * CutAndPaste.C:
7417         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7418
7419         * text2.C:
7420           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7421
7422 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7423
7424         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7425         * paragraph.[Ch] (erase):
7426         * paragraph_pimpl.[Ch] (erase): change return type and value
7427         * text2.C (cutSelection): some rework
7428
7429 2003-04-28  John Levon  <levon@movementarian.org>
7430
7431         * bufferlist.C: changes for unsaved changes dialog
7432
7433 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7434
7435         * bufferlist.C (newFile): set language (messages_) for new
7436         documents also.
7437
7438         * buffer.C (readFile): ws changes only.
7439
7440 2003-04-28  André Pönitz  <poenitz@gmx.net>
7441
7442         * undo_funcs.C:
7443         * lyxfunc.C:
7444         * buffer.[Ch]:
7445         * BufferView_pimpl.C:
7446         * BufferView.C: getParFromID related ParagraphList::iterator changes
7447
7448 2003-04-28  André Pönitz  <poenitz@gmx.net>
7449
7450         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7451           Changes
7452
7453 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7454
7455         * messages.C: remove one more localedir class variable.
7456
7457 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7458
7459         * messages.C (getLocaleDir): singleton generation function
7460         (Pimpl): use it.
7461         (Messages): add a default constructor.
7462
7463         * main.C (main): do not setup localedir here, do not call
7464         gettext_init.
7465
7466         * gettext.C (_): use it.
7467         (gettext_init): delete funciton
7468
7469 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7470
7471         * gettext.C (getLyXMessages): new singleton generating function.
7472
7473         * buffer.C (updateDocLang): adjust
7474
7475         * Makefile.am (messages.o): add target
7476         (main.o): remove target
7477
7478 2003-04-27  John Levon  <levon@movementarian.org>
7479
7480         * bufferlist.C:
7481         * lyx_cb.C:
7482         * lyxfunc.C:
7483         * lyxvc.C: specify cancel button in Alert::prompt
7484
7485 2003-04-26  John Levon  <levon@movementarian.org>
7486
7487         * text3.C:
7488         * lyxfunc.C:
7489         * lfuns.h:
7490         * LyXAction.C: add LFUN_INSET_SETTINGS
7491
7492         * lyxfunc.C: don't enable tabular-feature when there's
7493         just any locking inset
7494
7495 2003-04-26  John Levon  <levon@movementarian.org>
7496
7497         * bufferlist.C: re-add Cancel to buffer close question
7498
7499         * lyxfunc.C: fix import UI a bit
7500
7501 2003-04-25  John Levon  <levon@movementarian.org>
7502
7503         * gettext.C: remove the broken asserts for now
7504
7505 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7506
7507         * messages.C: make case where setlocale cannot comply work better.
7508
7509         * buffer.C (updateDocLang): new function
7510         (changeLanguage): use it
7511         (readFile): use it
7512
7513         * text2.C (setCounter): use B_ a bit.
7514
7515         * lyxlayout.C (Read): be sure to trim the label strings.
7516
7517         * messages.C (Messages): fix typo in comment
7518
7519         * buffer.C (readFile): set message_ after file is loaded.
7520         (makeDocBookFile): remove double return
7521         (changeLanguage): reset message_ upon language change.
7522         (B_): new func, use this to get translated buffer strings.
7523
7524         * main.C: add myself and Jean Marc as authors.
7525
7526 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7527
7528         * messages.[hC]: pimplify Messages, and three different pimpls to be
7529         used in different circumstances.
7530
7531         * gettext.[Ch]: change for use with new message code.
7532
7533 2003-04-24 André Pönitz <poenitz@gmx.net>
7534
7535         * factory.C: support for eqref
7536
7537 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7538
7539         * messages.[Ch]: add missing char
7540
7541         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7542
7543         * messages.[Ch]: New files
7544
7545 2003-04-18  John Levon  <levon@movementarian.org>
7546
7547         * BufferView.h:
7548         * BufferView.C:
7549         * BufferView_pimpl.C:
7550         * lfuns.h:
7551         * LyXAction.C:
7552         * lyxtext.h:
7553         * text2.C: remove layout-copy/paste (bug 778)
7554
7555 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7556
7557         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7558
7559 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7560
7561         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7562         if they succeed. Act accordingly.
7563
7564 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7565
7566         * text2.C (setCharFont): adjust
7567         (setCounter): adjust
7568         (insertStringAsLines): adjust
7569
7570         * text.C (leftMargin): adjust
7571         (setHeightOfRow): adjust
7572
7573         * rowpainter.C (paintFirst): adjust
7574         (paintLast): adjust
7575
7576         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7577         (outerHook): ditto
7578         (isFirstInSequence): ditto
7579         (getEndLabel): ditto
7580         (outerFont): adjust
7581
7582         * paragraph.C (getParLanguage): comment out some hard stuff.
7583
7584         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7585         (sgmlError): ditto
7586         (simpleDocBookOnePar): ditto
7587         (makeDocBookFile): use ParagraphList::iterator
7588
7589         * CutAndPaste.C (pasteSelection): adjust
7590
7591 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7592
7593         * text2.C (getFont): adjust
7594         (getLayoutFont): adjust
7595         (getLabelFont): adjust
7596
7597         * paragraph_funcs.C (TeXOnePar): adjust
7598
7599         * buffer.C (simpleLinuxDocOnePar): adjust
7600         (simpleDocBookOnePar): adjust
7601
7602         * CutAndPaste.C (pasteSelection): adjust
7603
7604         * BufferView.C (getEncoding): adjust
7605
7606         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7607
7608 2003-04-16  John Levon  <levon@movementarian.org>
7609
7610         * lyxfind.C: use parlist stuff for search/changes
7611
7612 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7613
7614         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7615
7616         * text2.C (deleteEmptyParagraphMechanism): adjust
7617
7618         * text2.[Ch] (ownerParagraph): delete func (both of them
7619
7620 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7621
7622         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7623
7624 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7625
7626         * ParagraphList.C: prepare for NO_NEXT
7627
7628 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7629
7630         * text2.C (getFont): adjust
7631         (getLayoutFont): adjust
7632         (getLabelFont): adjust
7633
7634         * paragraph.C (getFont): adjust
7635         (getLabelFont): adjust
7636         (getLayoutFont): adjust
7637
7638         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7639
7640 2003-04-15  John Levon  <levon@movementarian.org>
7641
7642         From Angus Leeming
7643
7644         * lyx_main.C: handle Include in .ui files
7645
7646 2003-04-15  John Levon  <levon@movementarian.org>
7647
7648         * MenuBackend.C: make the doc files length shorter
7649
7650         * ToolbarBackend.h:
7651         * ToolbarBackend.C: handle toolbar placement flags,
7652         Minibuffer
7653
7654 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7655
7656         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7657         adjust
7658
7659         * paragraph_funcs.C (TeXOnePar): adjust
7660
7661         * paragraph.C (getLabelFont): add outerfont arg, adjust
7662         (getLayoutFont): ditto
7663         (simpleTeXOnePar): adjust
7664
7665         * paragraph_pimpl.C (realizeFont): delete func
7666
7667 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7668
7669         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7670         row argument, constify cur argument.
7671
7672 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7673
7674         * text2.C (getFont): adjust
7675         (getLayoutFont): adjust
7676         (getLabelFont): adjust
7677
7678         * paragraph_funcs.C (TeXOnePar): adjust
7679         (outerFont): new func...
7680         (realizeFont): ...moved out from here, changed this to facilitate
7681         transition
7682
7683         * paragraph.C (getFont): take outerfont as arg, adjust
7684         (simpleTeXOnePar): add outerfont arg, adjust
7685
7686         * buffer.C (simpleLinuxDocOnePar): adjust
7687         (simpleDocBookOnePar): adjust
7688
7689         * CutAndPaste.C (pasteSelection): adjust
7690
7691         * BufferView.C (getEncoding): adjust
7692
7693 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7694
7695         * text2.C (setCharFont): adjust
7696         (setCounter): adjust
7697
7698         * text.C (leftMargin): adjust
7699         (setHeightOfRow): adjust
7700
7701         * rowpainter.C (paintFirst): adjust
7702         (paintLast): adjust
7703
7704         * paragraph_pimpl.C (realizeFont): adjust
7705
7706         * paragraph.C (isFirstInSequence): move from here...
7707         * paragraph_funcs.C (isFirstInSequence): ...to here
7708
7709         * paragraph.C (outerHook): move from here...
7710         * paragraph_funcs.C (outerHook): ...to here
7711
7712         * paragraph.C (depthHook): move from here...
7713         * paragraph_funcs.C (depthHook): ...to here
7714
7715         * paragraph.C (getEndLabel): move from here...
7716         * paragraph_funcs.C (getEndLabel): ...to here
7717
7718         * text2.C (realizeFont): move from here...
7719         * paragraph_funcs.C (realizeFont): ...to here
7720
7721 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7722
7723         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7724
7725 2003-04-14  Angus Leeming  <leeming@lyx.org>
7726
7727         * LColor.[Ch]: scrap LColor mathcursor.
7728
7729 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7730
7731         * lyxlex.[Ch] (text): delete function
7732         * trans.C (Load): adjust
7733         * paragraph_funcs.C (readParToken): adjust
7734
7735 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7736
7737         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7738         vector<char> instead of a char[].
7739
7740         * lyxlex_pimpl.C (getString): adjust
7741         (next): adjust
7742         (lex): use getString
7743         (eatLine): adjust
7744         (nextToken): adjust
7745
7746         * lyxlex.C (text): use pimpl_->getString()
7747         (getBool): ditto
7748         (findToken): ditto
7749
7750 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7751
7752         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7753         (makeFontEntriesLayoutSpecific): temp var for par.size()
7754         (setLayout): temp var for ownerParagraphs().end()
7755         (fullRebreak): temp var for rows().end()
7756         (selectionAsString): temp var for boost::next(startpit), realize
7757         that the while really is a regular for loop.
7758         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7759         setCursor in one place.
7760         (setParagraph): temp vr for ownerParagraphs().end()
7761         (updateCounters): make the while loop a for loop
7762         (cutSelection): temp var for ownerParagraphs().end()
7763         (updateInset): make the do {} while() a regular for loop
7764         (getCursorX): use temp vars
7765         (setCurrentFont): use temp vars
7766         (getColumnNearX): use temp vars
7767
7768 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7769
7770         * text.C (transformChar): use temp var for getChar
7771         (computeBidiTables): use temp var for row->par()
7772         (fill): move temp vars for row->par() and pit->layout() earlier in
7773         the function.
7774         (labelFill): use temp var for row->par()
7775         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7776         asc and desc, realize that pit never changes and that firstpit is
7777         just a duplicate and not needed. Exchange rit->par() with pit in a
7778         lot of places.
7779         (breakAgain): use a temp var for boost::next(rit)
7780         (breakAgainOneRow): ditto
7781         (breakParagraph): use a temp var for rows().begin()
7782         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7783         (cursorRightOneWord): use temp var for cursor.par() and
7784         cursor.pos(), remove usage of tmpcursor.
7785         (cursorLeftOneWord): use temp var for cursor.par() and
7786         cursor.pos() only set cur at end of function.
7787
7788 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7789
7790         * text.C, text2.C: exchange all usage of Paragraph::next with
7791         boost::next(ParagraphList::iterator)
7792
7793         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7794
7795         * text2.C (cursorTop): simplify implementation
7796         (cursorBottom): ditto
7797         (setParagraph): use ParagraphList::iterator
7798         (setCurrentFont): adjust
7799         (getColumnNearX): adjust
7800         (cursorRight): adjust
7801         (cursorLeft): remove usage of Paragraph::previous
7802         (cursorUpParagraph): ditto
7803         (deleteEmptyParagraphMechanism): slight cleanup
7804
7805         * text.C (isBoundary): take a Paragraph const & instead of a
7806         pointer as arg.
7807         (addressBreakPoint): ditto
7808         (leftMargin): remove usage of Paragraph::previous.
7809         (setHeightOfRow): ditto
7810         (cursorLeftOneWord): ditto
7811         (selectNextWordToSpellcheck): ditto
7812         (Delete): ditto
7813         (backspace): ditto
7814         (breakParagraph): remove one usage of Paragraph::next
7815         (redoParagraph): ditto
7816         (acceptChange): ditto
7817         (insertChar): adjust
7818         (rowBreakPoint): adjust
7819
7820         * bufferview_funcs.C (toggleAndShow): adjust
7821
7822 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7823
7824         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7825         methods to access it.
7826         * lyxtext.h:
7827         * text.C: Added updateRowPositions to compute all row positions.
7828         Make top_y and getRowNearY() to use the cached y position
7829
7830 2003-04-11  John Levon  <levon@movementarian.org>
7831
7832         * text.C (rowBreakPoint): reintroduce the labelEnd
7833         checks, code copied from the row fill stuff. Deep voodoo.
7834
7835         * text.C (fill): add a comment and debugging for the
7836         next poor soul.
7837
7838 2003-04-11  John Levon  <levon@movementarian.org>
7839
7840         * text.C: make sure fullrow insets get wrapped to the next line,
7841         even when they're in a manual label
7842
7843 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7844
7845         * text2.C (insertParagraph): make it take ParagraphList::iterator
7846         as arg.
7847         (setLayout): make it return ParagraphList::iterator
7848         (redoParagraphs): ditto
7849         (setCounter): ditto
7850         (checkParagraph): ditto
7851
7852         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7853
7854         * text2.C: adjust several funcs.
7855         (realizeFont): take a ParagraphList::iterator as arg.
7856         (getLayoutFont): ditto
7857         (getLabelFont): ditto
7858         (setCharFont): ditto
7859
7860         * text.C: adjust several funcs.
7861
7862 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7863
7864         * text.C (selectNextWordToSpellcheck): don't accidentally
7865         skip insets
7866
7867 2003-04-10  John Levon  <levon@movementarian.org>
7868
7869         * ToolbarBackend.C (getIcon): special handling for
7870         LFUN_MATH_DELIM
7871
7872 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7873
7874         * text2.C (cursorRight): a getChar assert fixed
7875
7876 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7877
7878         * text2.C (getFont): change to take a ParagraphList::iterator
7879         instead of Paragraph*
7880         Adjust several functions.
7881
7882         * text.C (transformChar): change to take a ParagraphList::iterator
7883         instead of Paragraph*
7884         (singleWidth): ditto
7885         Adjust several functions.
7886
7887         * rowpainter.C: adjust several functions
7888         * rowpainter.h:store a ParagraphList::iterator and not a
7889         Paragraph&.
7890
7891
7892 2003-04-09  John Levon  <levon@movementarian.org>
7893
7894         * lyxfunc.C:
7895         * lfuns.h:
7896         * LyXAction.h:
7897         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7898         and the "help" bits as well
7899
7900 2003-04-09  John Levon  <levon@movementarian.org>
7901
7902         * ToolbarBackend.h:
7903         * ToolbarBackend.C: allow multiple toolbars
7904
7905 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7906
7907         * undo_funcs.C (setCursorParUndo): adjust
7908
7909         * text_funcs.C (transposeChars): adjust
7910
7911         * text3.C (gotoNextInset): adjust
7912         (dispatch): adjust
7913
7914         * text2.C (setLayout): adjust
7915         (changeDepth): adjust
7916         (setFont): adjust
7917         (redoParagraphs): adjust
7918         (selectionAsString): adjust
7919         (setParagraph): adjust
7920         (insertInset): adjust
7921         (cutSelection): adjust
7922         (copySelection): adjust
7923         (pasteSelection): adjust
7924         (insertStringAsLines): adjust
7925         (updateInset): adjust
7926         (setCursor): change to take a ParagraphList::iterator parameter
7927         (setCursorIntern): change to take a ParagraphList::iterator parameter
7928         (setCurrentFont): adjust
7929         (cursorLeft): adjust
7930         (cursorRight): adjust
7931         (deleteEmptyParagraphMechanism): adjust
7932
7933         * text.C (breakParagraph): adjust
7934         (insertChar): adjust
7935         (acceptChange): adjust
7936         (rejectChange): adjust
7937         (selectNextWordToSpellcheck): adjust
7938         (changeCase): adjust
7939         (Delete): adjust
7940         (backspace): adjust
7941
7942         * lyxfind.C (SearchForward): adjust
7943         (SearchBackward): adjust
7944         (nextChange): adjust
7945
7946         * lyxcursor.C (par): adjust
7947
7948         * lyxcursor.h: store a ParagraphList::iterator instead of a
7949         Paragraph*
7950
7951         * lyx_cb.C (getPossibleLabel): adjust
7952
7953         * bufferview_funcs.C (toggleAndShow): adjust
7954
7955         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7956         (dispatch): adjust
7957
7958         * BufferView.C (removeAutoInsets): adjust
7959         (lockedInsetStoreUndo): adjust
7960
7961 2003-04-09  John Levon  <levon@movementarian.org>
7962
7963         * ToolbarBackend.C: try icon without argument
7964         if with argument fails
7965
7966 2003-04-08  John Levon  <levon@movementarian.org>
7967
7968         * ToolbarBackend.h:
7969         * ToolbarBackend.C: add getIcon(), handle tooltip,
7970         and change from "Icon" to "Item".
7971
7972 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7973
7974         * BufferView.C (lockInset): another bad getchar crunched
7975
7976 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7977
7978         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7979         again)
7980
7981 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7982
7983         * lyxfind.C (searchForward, searchBackwards): bug 782
7984
7985 2003-04-07  John Levon  <levon@movementarian.org>
7986
7987         * paragraph.C: remove dead comment
7988
7989         * text.C: remove troublesome depth-fiddling code
7990         in leftMargin() and rightMargin() (bug 1017)
7991
7992         * text.C: fix breaking of rows in nested lists
7993         (bug 1004)
7994
7995         * text2.C (updateCounters): fix up depth values
7996         (bug 1013)
7997
7998 2003-04-07  John Levon  <levon@movementarian.org>
7999
8000         * BufferView_pimpl.C: clear message when doc finishes resizing,
8001         and after a mouse event
8002
8003         * lyxfunc.C: clear message after exiting inset
8004
8005 2003-04-07  John Levon  <levon@movementarian.org>
8006
8007         * bufferview_funcs.C: show math status not outside
8008         status in the statusbar
8009
8010 2003-04-07  John Levon  <levon@movementarian.org>
8011
8012         * lyxfunc.C: note status changed after a depth change
8013
8014 2003-04-04  Angus Leeming  <leeming@lyx.org>
8015
8016         * LaTeX.h: move AuxInfo operator==, != out of line.
8017         Remove LaTeX virtual destructor; nothing derives from it.
8018         Move operator()() out of public area and rename it startscript().
8019         Change protected for private.
8020
8021 2003-04-04  Angus Leeming  <leeming@lyx.org>
8022
8023         * lyxfunc.C:
8024         * text2.C: remove unneeded #includes.
8025
8026 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8027
8028         * text2.C (dEPM): fix the heigth of the next row
8029
8030 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8031
8032         * text.C: squashed an invalid getChar requester + some ws changes
8033
8034 2003-04-03  John Levon  <levon@movementarian.org>
8035
8036         * bufferview_funcs.h:
8037         * bufferview_funcs.C:
8038         * lyxfunc.C:
8039         * lyxtext.h:
8040         * text2.C: make getStatus work for the env depth lfuns
8041
8042 2003-04-03  John Levon  <levon@movementarian.org>
8043
8044         * bufferview_funcs.h:
8045         * bufferview_funcs.C:
8046         * lyxfunc.C:
8047         * lyxtext.h:
8048         * text2.C: parlistize decDepth(), by merging it with incDepth()
8049
8050 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8051
8052         * lyxrow.h: store a ParagraphList::iterator instead of a
8053         Paragraph* and adjust other class functions to suit.
8054
8055         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8056         above.
8057
8058 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8059
8060         * text2.C (setCursor): do not anchor to cursor row for the time being
8061
8062 2003-04-02  John Levon  <levon@movementarian.org>
8063
8064         * LyXAction.C:
8065         * lfuns.h:
8066         * lyx_main.C:
8067         * lyxtext.h:
8068         * text.C:
8069         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8070
8071 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8072
8073         * paragraph.h: make ParagraphList and ParagraphList::iterator
8074         friends of Paragraph.
8075
8076         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8077
8078         * ParagraphList.C: Use the private next_ and previous_ from
8079         Paragraph.
8080
8081 2003-04-01  John Levon  <levon@movementarian.org>
8082
8083         * ToolbarBackend.h:
8084         * ToolbarBackend.C:
8085         * Makefile.am: rename, remove defaults gunk
8086
8087         * MenuBackend.h:
8088         * MenuBackend.C: remove defaults gunk
8089
8090         * Languages.h:
8091         * Languages.C: remove defaults gunk
8092
8093         * lyx_main.h:
8094         * lyx_main.C: error out if files couldn't be found.
8095
8096 2003-04-02  John Levon  <levon@movementarian.org>
8097
8098         * text2.C: make incDepth() use parlist
8099
8100 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8101
8102         * undo_funcs.C (firstUndoParagraph): adjust
8103
8104         * text3.C (gotoInset): adjust
8105         (dispatch): adjust, and rewrite loop.
8106
8107         * text2.C (init): adjust, and rewrite loop.
8108         (redoParagraphs): adjust
8109         (updateInset): adjust, and rewrite loop.
8110         (deleteEmptyParagraphMechanism): adjust
8111
8112         * tabular.C (LyXTabular): adjust
8113         (SetMultiColumn): adjust
8114         (TeXRow): adjust
8115
8116         * lyxtext.[Ch] (ownerParagraph): delete function
8117         (ownerParagraphs): new function returns a ParagraphList.
8118
8119         * BufferView.C (removeAutoInsets): adjust
8120         (insertErrors): adjust
8121         (setCursorFromRow): adjust
8122
8123 2003-04-01  Angus Leeming  <leeming@lyx.org>
8124
8125         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8126         in the frontends.
8127
8128 2003-04-02  John Levon  <levon@movementarian.org>
8129
8130         * lyxtext.h:
8131         * text.C:
8132         * Makefile.am:
8133         * text_funcs.h:
8134         * text_funcs.C: make transposeChars a free function
8135
8136         * lyxrow_funcs.C: remove wrong comment
8137
8138 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8139
8140         * lyxtext.h: adjust
8141         * rowpainter.C: adjust
8142         * text.C: adjust
8143         * text2.C: adjust
8144         * text3.C: adjust
8145
8146         * lyxrow_funcs. [Ch]: new files
8147
8148         * lyxrow.[Ch]: remove next and previous pointers
8149         (next,previous): remove accessor functions
8150         (isParEnd): move to lyxrow_funcs
8151         (lastPos): move to lyxrow_funcs
8152         (nextRowIsAllInset): move to lyxrow_funcs
8153         (lastPrintablePos): move to lyxrow_funcs
8154         (numberOfSeparators): move to lyxrow_funcs
8155         (numberOfHfills): move to lyxrow_funcs
8156         (numberOfLabelHfills): move to lyxrow_funcs
8157         (hfillExpansion): move to lyxrow_funcs
8158
8159         * lyxfunc.C: adjust
8160
8161         * bufferview_funcs.C (toggleAndShow): adjust
8162
8163         * RowList.h: Remove class RowList from file leave just a
8164         std::list<Row>.
8165
8166         * RowList.C: delete file
8167
8168         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8169         and lyxrow_funcs.h
8170
8171 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8172
8173         * text3.C (cursorPrevious): adjust
8174         (cursorNext): adjust
8175         (dispatch): adjust
8176
8177         * text2.C (redoHeightOfParagraph): adjust
8178         (redoDrawingOfParagraph): adjust
8179         (setCursor): adjust
8180
8181         * text.C (breakParagraph): adjust
8182         (insertChar): adjust
8183         (backspace): adjust
8184
8185         * rowpainter.C (RowPainter): adjust
8186         (leftMargin): simplify and adjust
8187         (most rowpainter functions): adjust.
8188
8189         * rowpainter.h: store the row as RowList::iterator not as Row*
8190
8191         * lyxcursor.C (row): taka RowList::iterator as arg
8192         (irow): ditto
8193
8194         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8195         of Row*.
8196
8197 2003-04-01  Angus Leeming  <leeming@lyx.org>
8198
8199         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8200         stuff like bool Bool.
8201
8202 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8203
8204         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8205         rewrite a loop
8206
8207 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8208
8209         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8210         RowList::iterator.
8211
8212         * lyxtext.h (rows): drop one version and leve a const variant that
8213         returns a RowList::iterator.
8214
8215 2003-03-31  Angus Leeming  <leeming@lyx.org>
8216
8217         * text.C (fill): ensure that the signature is the same as that in the
8218         header file.
8219
8220 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8221
8222         * text2.C (redoParagraphs): adjust
8223         (updateCounters): adjust
8224         (checkParagraph): adjust
8225         (getColumnNearX): adjust and reformat a bit.
8226
8227         * text.C (top_y): adjust
8228         (workWidth): adjust
8229         (leftMargin): adjust
8230         (prepareToPrint): adjust
8231         (getRow): adjust
8232         (getRowNearY): adjust
8233
8234         * lyxtext.h: make rowlist_ mutable.
8235
8236         * RowList.h: add const_iterator
8237         * RowList.C: adjust for RowList::const_iterator.
8238
8239         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8240         adjust.
8241
8242 2003-03-31  John Levon  <levon@movementarian.org>
8243
8244         * lyxrc.h:
8245         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8246
8247         * lyx_main.C: set default fonts from using lyx_gui funcs
8248
8249         * exporter.C: pdf_mode moved from lyxrc
8250
8251         * lyx_cb.C:
8252         * lyxfunc.C: changes from above
8253
8254 2003-03-31  John Levon  <levon@movementarian.org>
8255
8256         * lyx_main.C: fix to the last fix
8257
8258 2003-03-31  John Levon  <levon@movementarian.org>
8259
8260         * bufferlist.C: "Load original" -> "Load Original"
8261
8262         * converter.C:
8263         * exporter.C:
8264         * importer.C:
8265         * lyx_main.C:
8266         * format.C: more Alert cleanups
8267
8268 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8269
8270         * text2.C (removeParagraph): make it take a RowList::iterator as
8271         arg, adjust.
8272         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8273         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8274
8275         * text.C (anchor_row): make it take a RowList::iterator as arg,
8276         adjust.
8277         (computeBidiTables): make it take a const reference to Row instead
8278         of Row pointer, adjust.
8279         (leftMargin): make it take a RowList::iterator as arg, adjust.
8280         (rowBreakPoint): adjust
8281         (breakAgainOneRow): make it take a RowList::iterator as arg,
8282         adjust.
8283         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8284
8285         * bufferview_funcs.C (toggleAndShow): adjust
8286
8287 2003-03-30  John Levon  <levon@movementarian.org>
8288
8289         * Makefile.am:
8290         * BoostFormat.h:
8291         * boost-inst.C: moved to support
8292
8293         * several files: changes as a result
8294
8295 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8296
8297         * text2.C (LyXText): adjust.
8298         (init): adjust
8299         (removeRow): make it take a RowList::iterator as arg, adjust.
8300         (fullRebreak): adjust
8301         (deleteEmptyParagraphMechanism): adjust
8302         (clearPaint): adjust
8303         (postPaint): adjust
8304
8305         * text.C (top_y): adjust
8306         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8307         (breakAgain): make it take a RowList::iterator as arg, adjust.
8308         (breakParagraph): adjust
8309         (insertChar): adjust
8310         (backspace): adjust
8311
8312         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8313         need_break_row, and refresh_row.
8314
8315         * text3.C (dispatch): adjust
8316
8317         * text2.C (checkParagraph): adjust
8318         (setCursor): adjust
8319         (setCursorFromCoordinates): adjust
8320
8321         * text.C (top_y): adjust
8322         (workWidth): adjust
8323         (getRow): make it return a RowList::iterator, adjust
8324         (getRowNearY): make it return a RowList::iterator, adjust
8325
8326         * text2.C (init): adjust
8327         (insertRow): remove function
8328         (insertParagraph): adjust
8329         (redoParagraphs): adjust
8330         (fullRebreak): adjust
8331         (updateCounters): adjust
8332
8333         * text.C (top_y): rewrite to use RowList iterators.
8334         (top_y): adjust
8335         (setHeightOfRow): rewrite to sue RowList iterators.
8336         (appendParagraph): adjust
8337         (breakAgain): adjust
8338         (breakAgainOneRow): adjust
8339         (breakParagraph): adjust
8340         (getRow): adjust
8341         (getRowNearY): adjust, and remove commented code.
8342
8343         * lyxtext.h (firstRow): delete function
8344         (lastRow): delete function
8345         (rows): new function (const and non-const versions.)
8346         (insertRow): delete function
8347
8348         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8349
8350 2003-03-29  John Levon  <levon@movementarian.org>
8351
8352         * BufferView_pimpl.C: always update scrollbar top
8353         because pasting text when we're anchored could mean we
8354         miss an update altogether
8355
8356 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8357
8358         * text2.C (init): use rowlist_.end() and not 0.
8359         (insertRow): change to take a RowList::iterator as arg, adjust
8360         for this.
8361         (insertParagraph): change to take a RowList::iterator as arg,
8362         adjust for this.
8363         (redoParagraphs): remove some debug msgs.
8364
8365         * text.C (appendParagraph): change to take a RowList::iterator
8366         arg, adjust for this.
8367         (breakAgain): add an assert
8368         (breakAgainOneRow): ditto
8369
8370 2003-03-29  John Levon  <levon@movementarian.org>
8371
8372         * text2.C: do not clear selection after inc/decDepth
8373         (bug 550)
8374
8375 2003-03-29  John Levon  <levon@movementarian.org>
8376
8377         * BufferView.C:
8378         * buffer.C: fix broken strerrors according to Lars
8379
8380 2003-03-29  John Levon  <levon@movementarian.org>
8381
8382         * converters.C: more Alert cleanups
8383
8384 2003-03-29  John Levon  <levon@movementarian.org>
8385
8386         * bufferview_funcs.C: remove pointless Alert
8387
8388         * buffer.C: fix confusing error message when
8389         a template is chmoded 000
8390
8391 2003-03-29  John Levon  <levon@movementarian.org>
8392
8393         * BufferView.C:
8394         * BufferView.h:
8395         * BufferView_pimpl.C: Alert fixes
8396
8397         * Makefile.am:
8398         * tabular.C:
8399         * tabular-old.C: remove unused table compat reading
8400
8401 2003-03-29  John Levon  <levon@movementarian.org>
8402
8403         * BufferView.C:
8404         * buffer.C:
8405         * lyx_cb.h:
8406         * lyx_cb.C: more Alert cleanups
8407
8408         * lyxfunc.C: don't allow chktex if not latex document
8409
8410 2003-03-29  John Levon  <levon@movementarian.org>
8411
8412         * lyx_cb.C:
8413         * BufferView.C:
8414         * buffer.C: warnings pushed down from support/,
8415         kill err_alert
8416
8417 2003-03-29  John Levon  <levon@movementarian.org>
8418
8419         * lyxfunc.C: safety check for C-r (revert)
8420
8421 2003-03-29  John Levon  <levon@movementarian.org>
8422
8423         * bufferlist.h:
8424         * bufferlist.C: several UI fixes using Alert::prompt.
8425         Fix the pointless looping quit code. Fix stupid revert
8426         behaviour (bug 938)
8427
8428         * lyxvc.h:
8429         * lyxvc.C:
8430         * lyx_cb.C: use Alert::prompt
8431
8432         * lyx_main.C: remove a silly question
8433
8434         * lyxfunc.C: remove a couple of silly questions,
8435         use Alert::prompt
8436
8437 2003-03-28  John Levon  <levon@movementarian.org>
8438
8439         * text2.C: fix bug 974 (End on empty par)
8440
8441 2003-03-28  John Levon  <levon@movementarian.org>
8442
8443         * BufferView_pimpl.C:
8444         * LyXAction.C:
8445         * lfuns.h: remove do-nothing math greek lfuns
8446
8447 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8448
8449         * lyxgluelength.h (isValidGlueLength): add default arg on
8450         parameter 2. Remove default arg from friend in class.
8451
8452         * lyxlength.h (isValidLength): add default arg on parameter 2.
8453         Remove default arg from friend in class.
8454
8455         * text2.C (LyXText): adjust, initialize refresh_row.
8456         (init): adjust
8457         (removeRow): adjust
8458         (insertRow): adjust
8459         (insertParagraph): adjst
8460         (redoParagraphs): adjust
8461         (fullRebreak): adjust
8462         (updateCounters): adjust
8463         (deleteEmptyParagraphMechanism): first attempt at fixing a
8464         crashing bug.
8465
8466         * text.C (top_y): adjust
8467         (setHeightOfRow): adjust
8468         (getRow): adjust
8469         (getRowNearY): adjust
8470
8471         * lyxtext.h: include RowList.h
8472         (~LyXText): not needed anymore, deleted.
8473         (firstRow): modify for RowList
8474         (lastRow): new function
8475         Delete firstrow and lastrow class variables, add a Rowlist
8476         rowlist_ class variable.
8477
8478         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8479         paragraph is empty.
8480
8481         * RowList.C (insert): fix case where it == begin().
8482
8483 2003-03-26  Angus Leeming  <leeming@lyx.org>
8484
8485         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8486         the thesaurus dialog.
8487
8488 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8489
8490         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8491
8492         * RowList.[Ch]: new files
8493
8494         * ParagraphList.C (erase): handle the case where it == begin
8495         correctly.
8496
8497 2003-03-25  John Levon  <levon@movementarian.org>
8498
8499         * Makefile.am:
8500         * aspell_local.h:
8501         * aspell.C: add new aspell support
8502
8503         * lyxrc.h:
8504         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8505         have it accessible.
8506
8507 2003-03-25  Angus Leeming  <leeming@lyx.org>
8508
8509         * lfuns.h:
8510         * LyXAction.C (init): new LFUN_INSET_INSERT.
8511
8512         * BufferView_pimpl.C (dispatch): split out part of the
8513         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8514
8515         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8516         LFUN_INSET_APPLY.
8517
8518 2003-03-25  Angus Leeming  <leeming@lyx.org>
8519
8520         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8521
8522 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8523
8524         * text2.C:
8525         * text3.C: remove useless row->height(0)
8526
8527 2003-03-25  John Levon  <levon@movementarian.org>
8528
8529         * lyxtext.h:
8530         * text2.C:
8531         * text3.C: rename the refreshing stuff to better names
8532
8533 2003-03-24  John Levon  <levon@movementarian.org>
8534
8535         * BufferView_pimpl.h:
8536         * BufferView_pimpl.C: update layout choice on a mouse
8537         press/release
8538
8539 2003-03-23  John Levon  <levon@movementarian.org>
8540
8541         * Makefile.am: fix commandtags.h reference
8542
8543 2003-03-22  John Levon  <levon@movementarian.org>
8544
8545         * BufferView_pimpl.C:
8546         * lyxtext.h:
8547         * rowpainter.C:
8548         * rowpainter.h:
8549         * text.C:
8550         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8551
8552 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8553
8554         * lyxtext.h:
8555         * text.C: take the rtl methods out of line
8556
8557 2003-03-21 André Pönitz <poenitz@gmx.net>
8558
8559         * metricsinfo.[Ch]: new files containing structures to be passed around
8560         during the two-phase-drawing...
8561
8562 2003-03-21 André Pönitz <poenitz@gmx.net>
8563
8564         * lyxtextclass.C: read 'environment' tag.
8565
8566 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8567
8568         * text2.C (removeRow): fix bug 964
8569
8570 2003-03-20  John Levon  <levon@movementarian.org>
8571
8572         * rowpainter.C:
8573         * text.C:
8574         * text2.C: paint cleanups. Inset::update() dropped font
8575         parameter
8576
8577 2003-03-19  John Levon  <levon@movementarian.org>
8578
8579         * lyxfunc.C: only fitcursor/markDirty if available()
8580
8581 2003-03-19  John Levon  <levon@movementarian.org>
8582
8583         * commandtags.h: rename to ...
8584
8585         * lfuns.h: ... this, and renumber / cleanup
8586
8587 2003-03-19  John Levon  <levon@movementarian.org>
8588
8589         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8590         fit the cursor after an lfun
8591
8592         * BufferView.h:
8593         * BufferView.C:
8594         * BufferView_pimpl.h:
8595         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8596
8597         * LyXAction.C: layout-character should have ReadOnly
8598
8599         * ParagraphParameters.C:
8600         * buffer.C:
8601         * bufferview_funcs.C:
8602         * lyx_cb.C:
8603         * lyxfind.C:
8604         * lyxtext.h:
8605         * text.C:
8606         * text2.C:
8607         * text3.C:
8608         * undo_funcs.C: changes from above
8609
8610 2003-03-18  John Levon  <levon@movementarian.org>
8611
8612         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8613         remove it from update()
8614
8615         * lyxfunc.C: update layout choice after an lfun
8616
8617         * text3.C: remove extra updateLayoutChoice()s
8618
8619 2003-03-18  John Levon  <levon@movementarian.org>
8620
8621         * text.C: top_y change means full repaint, fix
8622         a drawing bug with cursor movement
8623
8624 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8625
8626         * lyxtext.h:
8627         * text.C:
8628         * text2.C: anchor row on setCursor
8629
8630 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8631
8632         * lyxtext.h: remove almost all mutable keywords
8633         * text.C:
8634         * text2.C:
8635         * text3.C: remove const keywords accordingly
8636
8637 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8638
8639         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8640         anon namespace
8641         (TeXEnvironment): ditto
8642         (TeXOnePar): ditto
8643
8644 2003-03-17  John Levon  <levon@movementarian.org>
8645
8646         * text.C (rowBreakPoint): remove attempt to fix displayed
8647         math insets inside a manual label
8648
8649 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8650
8651         * lyxtext.h: remove BufferView* as first arg from almost all class
8652         functions.
8653         * other files: adjust.
8654
8655 2003-03-17  John Levon  <levon@movementarian.org>
8656
8657         * lyxtext.h:
8658         * undo_funcs.C:
8659         * text2.C: more paint cleanups
8660
8661         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8662
8663         * rowpainter.h:
8664         * rowpainter.C: remove "smart" background painting code
8665
8666 2003-03-16  John Levon  <levon@movementarian.org>
8667
8668         * lyxtext.h:
8669         * text.C:
8670         * text2.C:
8671         * text3.C: add helper functions for setting refresh_row/y
8672
8673 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8674
8675         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8676         newline inset which *can* get inserted in the pass_thru layouts.
8677         This is primarily for literate documents.
8678
8679 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8680
8681         * buffer.C: increment LYX_FORMAT to 223
8682
8683 2003-03-14 André Pönitz <poenitz@gmx.net>
8684
8685         * textclass.h: prepare for environment handling, ws changes
8686         * lyxlayout.C: read latexheader and latexfooter tags
8687
8688 2003-03-14  John Levon  <levon@movementarian.org>
8689
8690         * text2.C: rewrite ::status() a bit
8691
8692 2003-03-13  John Levon  <levon@movementarian.org>
8693
8694         * lyxtext.h: add some docs
8695
8696 2003-03-13  John Levon  <levon@movementarian.org>
8697
8698         * lyxtext.h:
8699         * text.C:
8700         * text2.C:
8701         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8702
8703 2003-03-13  John Levon  <levon@movementarian.org>
8704
8705         * text3.C: fix appendix redrawing
8706
8707 2003-03-13  John Levon  <levon@movementarian.org>
8708
8709         * text.C (setHeightOfRow):
8710         * rowpainter.h:
8711         * rowpainter.C: make appendix mark have the text
8712           "Appendix" so the user knows what it is
8713
8714         * LColor.h:
8715         * LColor.C: s/appendixline/appendix/ from above
8716
8717 2003-03-13  John Levon  <levon@movementarian.org>
8718
8719         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8720
8721         * text.C: fix a getChar(pos) bug properly
8722
8723 2003-03-13  Angus Leeming  <leeming@lyx.org>
8724
8725         * commandtags.h:
8726         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8727         Probably only temporary. Let's see how things pan out.
8728
8729         * BufferView.C (unlockInset):
8730         * BufferView_pimpl.C (fitCursor):
8731         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8732
8733         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8734         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8735
8736         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8737         new functions that convert ParagraphParameters to and from a string.
8738
8739         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8740         BufferView::Pimpl's dispatch.
8741         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8742
8743 2003-03-13 André Pönitz <poenitz@gmx.net>
8744
8745         * lyxfunc.C:
8746         * text3.C:
8747         * factory.C: make it aware of InsetEnv
8748
8749 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8750
8751         * text2.C (setCursor): never ask for one past last
8752         (setCursor): add some debugging messages.
8753
8754         * text.C (singleWidth): never ask for one past last
8755         (singleWidth): ditto
8756         (leftMargin): ditto
8757         (rightMargin): ditto
8758         (rowBreakPoint): ditto
8759         (setHeightOfRow): ditto
8760         (prepareToPrint): ditto
8761
8762         * rowpainter.C (paintBackground): never ask for one past last
8763         (paintText): never ask for one past last
8764
8765         * paragraph_pimpl.C (getChar): make the assert stricter, never
8766         allow the one past last pos to be taken
8767
8768         * paragraph.C (getChar): ws changes only
8769
8770         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8771         (numberOfSeparators): ditto
8772         (numberOfHfills): ditto
8773
8774 2003-03-12  John Levon  <levon@movementarian.org>
8775
8776         * author.h:
8777         * author.C:
8778         * bufferparams.h:
8779         * bufferparams.C:
8780         * paragraph_funcs.C: fix per-buffer authorlists
8781
8782 2003-03-12  John Levon  <levon@movementarian.org>
8783
8784         * text.C: fix newline in right address
8785
8786 2003-03-12  Angus Leeming  <leeming@lyx.org>
8787
8788         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8789         duplicate those in LyXFunc::dispatch.
8790
8791         * commandtags.h:
8792         * LyXAction.C:
8793         * ToolbarDefaults.C:
8794         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8795         Add LFUN_FONTFREE_UPDATE.
8796
8797         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8798         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8799
8800         * bufferview_func.[Ch]: several new functions to facilliate
8801         transfer of data to and from the character dialog.
8802
8803 2003-03-12  John Levon  <levon@movementarian.org>
8804
8805         * buffer.C:
8806         * paragraph.h:
8807         * paragraph.C:
8808         * paragraph_funcs.C:
8809         * paragraph_pimpl.C:
8810         * sgml.C:
8811         * tabular.C:
8812         * text.C:
8813         * text3.C: remove META_NEWLINE in favour of an inset
8814
8815         * rowpainter.h:
8816         * rowpainter.C: remove paintNewline (done by inset)
8817
8818 2003-03-12  John Levon  <levon@movementarian.org>
8819
8820         * paragraph_pimpl.C: complain about bad getChar()s
8821         for a while at least
8822
8823 2003-03-12  John Levon  <levon@movementarian.org>
8824
8825         * buffer.h:
8826         * buffer.C: move paragraph read into a separate function,
8827         a little renaming to reflect that.
8828
8829         * bufferparams.h:
8830         * bufferparams.C: remove the author_ids map, not necessary now
8831
8832         * factory.h:
8833         * factory.C: moved Buffer::readInset to here
8834
8835         * paragraph_funcs.h:
8836         * paragraph_funcs.C: readParagraph free function moved from
8837         buffer.C
8838
8839         * tabular.C: name change
8840
8841 2003-03-12  John Levon  <levon@movementarian.org>
8842
8843         * buffer.C:
8844         * ParagraphParameters.C: move par params input to
8845         a read() method
8846
8847         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8848         behave like a normal read from the stream wrt reading
8849         a line vs. a \\token
8850
8851 2003-03-12  John Levon  <levon@movementarian.org>
8852
8853         * paragraph.C:
8854         * ParagraphParameters.h:
8855         * ParagraphParameters.C: move output code to a
8856         ::write() method
8857
8858 2003-03-12  John Levon  <levon@movementarian.org>
8859
8860         * BufferView.C (insertLyXFile):
8861         * buffer.h:
8862         * buffer.C:
8863         * tabular.C: use a parlist iterator for creating the
8864           document.
8865
8866 2003-03-12  John Levon  <levon@movementarian.org>
8867
8868         * buffer.C: make current_change static local not
8869           static file-scope
8870
8871 2003-03-12  John Levon  <levon@movementarian.org>
8872
8873         * buffer.C: fix insertStringAsLines for change tracking
8874
8875 2003-03-12  John Levon  <levon@movementarian.org>
8876
8877         * BufferView.C:
8878         * tabular.C:
8879         * buffer.h:
8880         * buffer.C:
8881         * bufferparams.h:
8882         * bufferparams.C: move author list into params. Rename some
8883           functions. Move the header reading into a separate token
8884           loop. Move the header token reading into BufferParams.
8885
8886 2003-03-12  John Levon  <levon@movementarian.org>
8887
8888         * changes.C: put debug inside lyxerr.debugging() checks
8889
8890 2003-03-11 André Pönitz <poenitz@gmx.net>
8891
8892         * factory.C: make it aware of InsetHFill
8893
8894 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8895
8896         * buffer.C (latexParagraphs): move function from here...
8897         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8898         args.
8899
8900 2003-03-10  Angus Leeming  <leeming@lyx.org>
8901
8902         * LyXAction.C (init): fix bug in poplating array with multiple entries
8903         with the same LFUN (spotted by JMarc).
8904
8905 2003-03-10  John Levon  <levon@movementarian.org>
8906
8907         * text.C:
8908         * text2.C: move getColumnNearX() near its
8909         only call site
8910
8911 2003-03-10  John Levon  <levon@movementarian.org>
8912
8913         * text.C: fix break before a minipage
8914
8915 2003-03-10  John Levon  <levon@movementarian.org>
8916
8917         * text.C: fix the last commit
8918
8919 2003-03-09  John Levon  <levon@movementarian.org>
8920
8921         * lyxtext.h:
8922         * text.C:
8923         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8924         bug 365 (don't break before insets unless needed). Don't
8925         return a value > last under any circumstances.
8926
8927 2003-03-09  Angus Leeming  <leeming@lyx.org>
8928
8929         * BufferView_pimpl.C (trackChanges, dispatch): call
8930         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8931
8932 2003-03-09  Angus Leeming  <leeming@lyx.org>
8933
8934         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8935         than Dialogs::showAboutlyx().
8936
8937 2003-03-09  Angus Leeming  <leeming@lyx.org>
8938
8939         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8940         than Dialogs::showTabularCreate().
8941
8942 2003-03-09  John Levon  <levon@movementarian.org>
8943
8944         * lyxtext.h:
8945         * text.C:
8946         * text2.C: 3rd arg to nextBreakPoint was always the same.
8947           Use references.
8948
8949 2003-03-08  John Levon  <levon@movementarian.org>
8950
8951         * lyxrow.C:
8952         * paragraph.C:
8953         * paragraph.h:
8954         * rowpainter.C:
8955         * text.C:
8956         * text2.C: Remove the "main" bit from the "main body"
8957           notion.
8958
8959 2003-03-08  John Levon  <levon@movementarian.org>
8960
8961         * text.C (leftMargin): The left margin of an empty
8962         manual label paragraph should not include the label width
8963         string length.
8964
8965         * text.C (prepareToPrint): don't attempt to measure hfills
8966         for empty manual label paragraphs - the answer should be 0
8967
8968 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8969
8970         * CutAndPaste.C: remove commented code and reindent.
8971
8972 2003-03-08  John Levon  <levon@movementarian.org>
8973
8974         * lyxfunc.h:
8975         * lyxfunc.C: move reloadBuffer()
8976
8977         * BufferView.h:
8978         * BufferView.C: to here
8979
8980         * lyxvc.C: add comment
8981
8982         * vc-backend.h:
8983         * vc-backend.C: call bv->reload() to avoid
8984           getStatus() check on MENURELOAD
8985
8986 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8987
8988         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8989         to an old format .dep file.
8990
8991 2003-03-07  Angus Leeming  <leeming@lyx.org>
8992
8993         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8994         when the LFUN_MOUSE_RELEASE should have been handled by
8995         inset->localDispatch.
8996
8997 2003-03-07  Angus Leeming  <leeming@lyx.org>
8998
8999         * BufferView_pimpl.C (dispatch):
9000         * LyXAction.C (init):
9001         * ToolbarDefaults.C (init):
9002         * commandtags.h:
9003         * lyxfunc.C (getStatus):
9004         remove LFUN_INSET_GRAPHICS.
9005
9006         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9007
9008 2003-03-07  Angus Leeming  <leeming@lyx.org>
9009
9010         * commandtags.h:
9011         * LyXAction.C (init):
9012         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9013
9014         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9015
9016         * commandtags.h:
9017         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9018
9019         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9020         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9021
9022 2003-03-07  Angus Leeming  <leeming@lyx.org>
9023
9024         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9025         remove "ert".
9026
9027 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9028
9029         * ParagraphList.C (front): new function
9030         (back): implement
9031
9032 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9033
9034         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9035         and top_row_offset_. removed var first_y.
9036         * text.C (top_y):
9037         * text2.C (LyXText, removeRow):
9038         * text3.C:
9039         * BufferView_pimpl.C:
9040         use these methods instead of using first_y
9041
9042 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9043
9044         * text2.C (pasteSelection): adjust for checkPastePossible
9045
9046         * CutAndPaste.C: remove Paragraph * buf and replace with
9047         ParagraphList paragraphs.
9048         (DeleteBuffer): delete
9049         (cutSelection): change the tc type to textclass_type
9050         (copySelection): change the tc type to textclass_type
9051         (copySelection): adjust for ParagraphList
9052         (pasteSelection): change the tc type to textclass_type
9053         (pasteSelection): adjust for Paragraphlist
9054         (nrOfParagraphs): simplify for ParagraphList
9055         (checkPastePossible): simplify for ParagraphList
9056         (checkPastePossible): remove unused arg
9057
9058         * ParagraphList.C (insert): handle the case where there are no
9059         paragraphs yet.
9060
9061         * CutAndPaste.h: make CutAndPaste a namespace.
9062
9063         * text3.C (dispatch): adjust
9064
9065         * text.C (breakParagraph): add a ParagraphList as arg
9066
9067         * paragraph_funcs.C (breakParagraph): change to take a
9068         BufferParams and a ParagraphList as args.
9069         (breakParagraphConservative): ditto
9070         (mergeParagraph): ditto
9071         (TeXDeeper): add a ParagraphList arg
9072         (TeXEnvironment): ditto
9073         (TeXOnePar): ditto
9074
9075         * buffer.C (readLyXformat2): adjust
9076         (insertStringAsLines): adjust
9077         (latexParagraphs): adjust
9078
9079         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9080         (cutSelection): adjust
9081         (pasteSelection): adjust
9082
9083         * BufferView_pimpl.C (insertInset): adjust
9084
9085 2003-03-05  Angus Leeming  <leeming@lyx.org>
9086
9087         * commandtags.h:
9088         * LyXAction.C (init):
9089         * BufferView_pimpl.C (dispatch):
9090         * lyxfunc.C (getStatus):
9091         remove LFUN_CHILD_INSERT.
9092
9093         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9094
9095 2003-03-05  Angus Leeming  <leeming@lyx.org>
9096
9097         * commandtags.h:
9098         * LyXAction.C (init):
9099         * src/factory.C (createInset):
9100         * lyxfunc.C (getStatus):
9101         * text3.C (dispatch):
9102         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9103
9104         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9105
9106 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9107
9108         * ParagraphList.C (insert): handle insert right before end()
9109         (erase): fix cases where it can be first or last paragraph.
9110
9111 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9112
9113         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9114         Paragraph::next and Paragraph::previous
9115         (TeXOnePar): ditto
9116
9117         * text.C (breakParagraph): adjust
9118
9119         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9120         BufferParams& as arg.
9121         (breakParagraph): use ParagraphList::insert
9122         (breakParagraphConservative): take a Buffer* instead of a
9123         BufferParams& as arg.
9124         (breakParagraphConservative): use ParagraphList::insert.
9125
9126         * buffer.C (insertStringAsLines): un-const it
9127         (insertStringAsLines): adjust
9128
9129         * ParagraphList.C (insert): new function
9130
9131         * CutAndPaste.C (pasteSelection): adjust
9132
9133         * text.C (backspace): adjust
9134
9135         * tabular.C (SetMultiColumn): adjust
9136
9137         * CutAndPaste.C (cutSelection): adjust
9138         (pasteSelection): adjust
9139
9140         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9141         Buffer const * as arg
9142
9143         * ParagraphList.C (erase): new function
9144         * paragraph_funcs.C (mergeParagraph): use it
9145         (mergeParagraph): make it take a Buffer* instead of a
9146         BufferParams* as arg
9147
9148         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9149         as arg
9150         (breakParagraphConservative): ditto
9151
9152         * paragraph.h: remove the breakParagraph friend
9153
9154         * paragraph.C (eraseIntern): new function
9155         (setChange): new function
9156
9157         * paragraph_funcs.C (mergeParagraph): make it take a
9158         ParagraphList::iterator instead of a Paragraph *, adjust
9159         accordingly.
9160
9161         * paragraph.h: move an #endif so that the change tracking stuff
9162         also works in the NO_NEXT case.
9163
9164 2003-03-04  Angus Leeming  <leeming@lyx.org>
9165
9166         * commandtags.h:
9167         * LyXAction.C: new LFUN_INSET_MODIFY.
9168
9169         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9170         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9171
9172 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9173
9174         * several files: ws changes only
9175
9176         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9177         (TeXEnvironment): ditto
9178         (TeXDeeper): ditto
9179
9180         * buffer.C (makeLaTeXFile): adjust
9181         (latexParagraphs): make it take ParagraphList::iterator as args
9182
9183 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9184
9185         * buffer.C (latexParagraphs): adjust
9186
9187         * paragraph.C (TeXOnePar): move function...
9188         (optArgInset): move function...
9189         (TeXEnvironment): move function...
9190         * paragraph_pimpl.C (TeXDeeper): move function...
9191         * paragraph_funcs.C: ...here
9192
9193         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9194
9195 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9196
9197         * buffer.C (readInset): remove compability code for old Figure and
9198         InsetInfo insets
9199
9200 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9201
9202         * buffer.C: ws changes
9203         (readInset):
9204
9205         * BufferView_pimpl.C: ditto
9206         * author.C: ditto
9207         * buffer.h: ditto
9208         * bufferlist.h: ditto
9209         * changes.h: ditto
9210         * lyxfunc.C: ditto
9211
9212 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9213
9214         * converter.[Ch]: split into itself +
9215         * graph.[Ch]
9216         * format.[Ch]
9217         * Makefile.am: += graph.[Ch] + format.[Ch]
9218         * MenuBackend.C
9219         * buffer.C
9220         * exporter.C
9221         * importer.C
9222         * lyx_main.C
9223         * lyxfunc.C
9224         * lyxrc.C: added #include "format.h"
9225
9226 2003-02-27  Angus Leeming  <leeming@lyx.org>
9227
9228         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9229           a label.
9230
9231         * factory.C (createInset): add "label" to the factory.
9232
9233         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9234           string and do no more.
9235
9236 2003-02-27  Angus Leeming  <leeming@lyx.org>
9237
9238         * commandtags.h:
9239         * LyXAction.C (init):
9240         * factory.C (createInset):
9241         * BufferView_pimpl.C (dispatch):
9242           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9243
9244         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9245
9246         * lyxfunc.C (dispatch):
9247         * text3.C (dispatch): pass name to params2string.
9248
9249 2003-02-26  Angus Leeming  <leeming@lyx.org>
9250
9251         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9252           blocks together.
9253           Rearrange the ~includes. Strip out the unnecessary ones.
9254
9255         * factory.C (createInset): reformat.
9256           create new insets for the various LFUN_XYZ_APPLY lfuns.
9257
9258 2003-02-26  John Levon  <levon@movementarian.org>
9259
9260         * lyxrow.h:
9261         * lyxrow.C: add isParStart,isParEnd helpers
9262
9263         * paragraph.h: make isInserted/DeletedText take refs
9264
9265         * paragraph_funcs.h:
9266         * paragraph_funcs.C: remove #if 0'd code
9267
9268         * lyxtext.h:
9269         * text3.C:
9270         * text2.C:
9271         * text.C: use lyxrow helpers above.
9272           Move draw and paint routines to RowPainter.
9273           Make several methods use refs not pointers.
9274           Make backgroundColor() const.
9275           Add markChangeInDraw(), isInInset().
9276           Merge changeRegionCase into changeCase.
9277           Make workWidth() shouldn't-happen code into an Assert.
9278
9279         * rowpainter.h:
9280         * rowpainter.C: new class for painting a row.
9281
9282         * vspace.h:
9283         * vspace.C: make inPixels take a ref
9284
9285 2003-02-26  Angus Leeming  <leeming@lyx.org>
9286
9287         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9288         LFUN_REF_APPLY.
9289
9290 2003-02-25  John Levon  <levon@movementarian.org>
9291
9292         * ispell.C: give the forked command a more accurate name
9293
9294 2003-02-22  John Levon  <levon@movementarian.org>
9295
9296         * toc.h:
9297         * toc.C: make TocItem store an id not a Paragraph *
9298           (bug #913)
9299
9300 2003-02-21  Angus Leeming  <leeming@lyx.org>
9301
9302         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9303           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9304           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9305           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9306           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9307           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9308
9309         * BufferView_pimpl.C (dispatch):
9310         * LyXAction.C (init):
9311         * factory.C (createInset):
9312         * lyxfunc.C (getStatus, dispatch):
9313         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9314
9315 2003-02-21  Angus Leeming  <leeming@lyx.org>
9316
9317         * BufferView_pimpl.C (MenuInsertLyXFile):
9318         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9319         * lyxfunc.C (menuNew, open, doImport):
9320           no longer pass a LyXView & to fileDlg.
9321
9322 2003-02-21  Angus Leeming  <leeming@lyx.org>
9323
9324         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9325         * LyXAction.C: change, BIBKEY to BIBITEM.
9326         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9327         Change InsetBibKey to InsetBibitem.
9328         Change BIBKEY_CODE to BIBITEM_CODE.
9329         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9330         * factory.C: replace insetbib.h with insetbibitem.h.
9331         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9332         * paragraph.C: replace insetbib.h with insetbibitem.h.
9333         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9334         Change bibkey() to bibitem().
9335         * text.C: remove insetbib.h.
9336         * text2.C: replace insetbib.h with insetbibitem.h.
9337         change bibkey() to bibitem().
9338         * text3.C: remove insetbib.h.
9339         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9340
9341 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9342
9343         * lyxrc.C (output): enclose user email in quotes (in case there are
9344         several words)
9345
9346 2003-02-18  John Levon  <levon@movementarian.org>
9347
9348         * buffer.h: add std::
9349
9350 2003-02-17  John Levon  <levon@movementarian.org>
9351
9352         * SpellBase.h:
9353         * ispell.h:
9354         * ispell.C:
9355         * pspell.h:
9356         * pspell.C: reworking. Especially in ispell, a large
9357           number of clean ups and bug fixes.
9358
9359         * lyxfunc.C: fix revert to behave sensibly
9360
9361 2003-02-17 André Pönitz <poenitz@gmx.net>
9362
9363         * LyXAction.C:
9364         * commandtags.h: new LFUN_INSERT_BIBKEY
9365
9366         * layout.h:
9367         * lyxlayout.C:
9368         * buffer.C:
9369         * factory.C:
9370         * text.C:
9371         * text2.C:
9372         * text3.C:
9373         * paragraph.[Ch]:
9374         * paragraph_func.C: remove special bibkey handling
9375
9376 2003-02-17  John Levon  <levon@movementarian.org>
9377
9378         * text.C (Delete): fix case where delete at the end of
9379           the very first paragraph would not merge the pars
9380
9381 2003-02-17  John Levon  <levon@movementarian.org>
9382
9383         * lyxrow.C: fix lastPrintablePos()
9384
9385 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9386
9387         * bufferparams.C (writeLaTeX): add a std:here
9388
9389         * buffer.C: and remove a using directive there
9390
9391 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9392
9393         * buffer.C (makeLaTeXFile): move the code that generates the
9394           preamble...
9395
9396         * bufferparams.C (writeLaTeX): ... in this new method
9397
9398         * LaTeXFeatures.C (getEncodingSet): make const
9399           (getLanguages): make const
9400
9401         * MenuBackend.C (binding): returns the binding associated to this
9402           action
9403           (add): sets the status of each item by calling getStatus. Adds
9404           some intelligence.
9405           (read): add support for OptSubMenu
9406           (expand): remove extra separator at the end of expanded menu
9407
9408 2003-02-15  John Levon  <levon@movementarian.org>
9409
9410         * BufferView.C:
9411         * BufferView_pimpl.C:
9412         * bufferlist.h:
9413         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9414           inset code that had no actual effect. Remove unneeded status
9415           code.
9416
9417 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9418
9419         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9420           in preamble
9421
9422 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9423
9424         * text.C (drawLengthMarker): also draw an arrow marker for
9425           symbolic lengths (medskip...)
9426
9427 2003-02-14  John Levon  <levon@movementarian.org>
9428
9429         * tabular.h:
9430         * tabular.C: better method names
9431
9432 2003-02-14  John Levon  <levon@movementarian.org>
9433
9434         * BufferView_pimpl.C:
9435         * bufferlist.C:
9436         * buffer.C:
9437         * converter.C:
9438         * lyx_cb.C:
9439         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9440           it's a more accurate name. Remove some pointless uses.
9441
9442 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9443
9444         * text2.C (LyXText): change order of initilizers to shut off
9445           warnings
9446
9447 2003-02-14  John Levon  <levon@movementarian.org>
9448
9449         * buffer.C: use ParIterator for getParFromID()
9450
9451         * paragraph.h:
9452         * paragraph.C:
9453         * paragraph_pimpl.h:
9454         * paragraph_pimpl.C: remove unused getParFromID()
9455
9456 2003-02-14  John Levon  <levon@movementarian.org>
9457
9458         * buffer.C: remove some very old #if 0'd parse code
9459
9460 2003-02-13  John Levon  <levon@movementarian.org>
9461
9462         * text.h:
9463         * text.C:
9464         * text2.C: move hfillExpansion(), numberOfSeparators(),
9465           rowLast(), rowLastPrintable(), numberofHfills(),
9466           numberOfLabelHfills() ...
9467
9468         * lyxrow.h:
9469         * lyxrow.C: ... to member functions here.
9470
9471         * paragraph.h:
9472         * paragraph.C:
9473         * lyxtext.h:
9474         * text.C: remove LyXText::beginningOfMainBody(), and call
9475           p->beginningOfMainBody() directly. Move the check for
9476           LABEL_MANUAL into the latter.
9477
9478         * text.h:
9479         * text.C:
9480         * text2.C:
9481         * vspace.C:
9482         * BufferView.h:
9483         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9484
9485         * text.h:
9486         * text.C:
9487         * text2.C:
9488         * text3.C:
9489         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9490           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9491
9492 2003-02-13  John Levon  <levon@movementarian.org>
9493
9494         * CutAndPaste.C: remove debug
9495
9496 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9497
9498         * paragraph.C (asString): remove two unused variables
9499
9500         * lyxtextclass.C (readTitleType):
9501           (Read):
9502           (LyXTextClass): handle new members titletype_ and titlename_
9503
9504         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9505
9506 2003-02-09  John Levon  <levon@movementarian.org>
9507
9508         * buffer.h:
9509         * buffer.C: replace hand-coded list with a map for the dep clean
9510
9511 2003-02-08  John Levon  <levon@movementarian.org>
9512
9513         * LaTeX.C: consolidate code into showRunMessage() helper
9514
9515 2003-02-08  John Levon  <levon@movementarian.org>
9516
9517         * lyxfind.C:
9518         * lyxtext.h:
9519         * text2.C:
9520         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9521           and pass the size in explicitly
9522
9523         * BufferView_pimpl.h:
9524         * BufferView_pimpl.C:
9525         * BufferView.h:
9526         * BufferView.C: add getCurrentChange()
9527
9528         * BufferView_pimpl.h:
9529         * BufferView_pimpl.C: handle change lfuns
9530
9531         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9532           for changes. Mark pasted paragraphs as new.
9533
9534         * support/lyxtime.h:
9535         * support/lyxtime.C:
9536         * DepTable.C: abstract time_t as lyx::time_type
9537
9538         * LColor.h:
9539         * LColor.C: add colours for new text, deleted text, changebars
9540
9541         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9542           package use "usenames" option.
9543
9544         * commandtags.h:
9545         * lyxfunc.C:
9546         * LyXAction.C: add change lfuns
9547
9548         * Makefile.am:
9549         * author.h:
9550         * author.C: author handling
9551
9552         * buffer.h:
9553         * buffer.C: add a per-buffer author list, with first entry as
9554           current author. Handle new .lyx tokens for change tracking. Output
9555           author list to .lyx file. Output dvipost stuff to .tex preamble.
9556           Bump lyx format to 222.
9557
9558         * bufferlist.h:
9559         * bufferlist.C: add setCurrentAuthor() to reset current author details
9560           in all buffers.
9561
9562         * bufferparams.h:
9563         * bufferparams.C: add param for tracking
9564
9565         * bufferview_funcs.C: output change info in minibuffer
9566
9567         * Makefile.am:
9568         * changes.h:
9569         * changes.C: add change-tracking structure
9570
9571         * debug.h:
9572         * debug.C: add CHANGES debug flag
9573
9574         * lyxfind.h:
9575         * lyxfind.C: add code for finding the next change piece
9576
9577         * lyxrc.h:
9578         * lyxrc.C: add user_name and user_email
9579
9580         * lyxrow.h:
9581         * lyxrow.C: add a metric for the top of the text line
9582
9583         * lyxtext.h:
9584         * text.C: implement accept/rejectChange()
9585
9586         * lyxtext.h:
9587         * text.C: paint changebars. Paint new/deleted text in the chosen
9588         colours. Strike through deleted text.
9589
9590         * paragraph.h:
9591         * paragraph.C:
9592         * paragraph_pimpl.h:
9593         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9594           in the current change to the insert functions. Rework erase to
9595           mark text as deleted, adding an eraseIntern() and a range-based
9596           erase(). Implement per-paragraph change lookup and
9597           accept/reject.
9598
9599         * paragraph_funcs.C: Fixup paste for change tracking.
9600
9601         * tabular.C: mark added row/columns as new.
9602
9603         * text.C: fix rowLast() to never return -1. Don't allow
9604           spellchecking of deleted text. Track transpose changes. Don't
9605           allow paragraph break or merge where appropriate.
9606
9607         * text2.C: leave cursor at end of selection after a cut.
9608
9609 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9610
9611         * text.C (getLengthMarkerHeight):
9612         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9613         visible on screen too.
9614
9615 2003-02-07  John Levon  <levon@movementarian.org>
9616
9617         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9618
9619 2003-02-05  Angus Leeming  <leeming@lyx.org>
9620
9621         * lyxserver.C (read_ready): revert my patch of 11 September last year
9622         as it sends PC cpu through the roof. Presumably this means that
9623         the lyxserver will no longer run on an Alpha...
9624
9625 2003-01-30  Angus Leeming  <leeming@lyx.org>
9626
9627         * factory.C (createInset): create an InsetCommandParam of type "index"
9628         and use it to 'do the right thing'.
9629
9630         * text2.C (getStringToIndex): ensure that cursor position is always
9631         reset to the reset_cursor position.
9632
9633 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9634
9635         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9636         disabled.
9637
9638 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9639
9640         * bufferview.C:
9641         * lyxcb.C:
9642         * lyxfunc.C: Output messages with identical spelling, punctuation,
9643         and spaces
9644
9645 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9646
9647         * MenuBackend.C (expandFormats): List only viewable export formats
9648         in "View" menu
9649
9650         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9651         message
9652
9653         * lyxfunc.C (getStatus): Make sure that formats other than
9654         "fax" can also be disabled
9655
9656 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9657
9658         * text3.C (dispatch): put the lfuns that insert insets in 3
9659         groups, and call doInsertInset with appropriate arguments.
9660         (doInsertInset): new function, that creates an inset and inserts
9661         it according to some boolean parameters.
9662
9663 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9664
9665         * buffer.C (readFile): remember to pass on 'par' when calling
9666         readFile recursively.
9667
9668 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9669
9670         * MenuBackend.C (expandFormats): add "..." to import formats.
9671
9672 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9673
9674         * paragraph.C (asString): Remove XForms RTL hacks.
9675
9676 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9677         * buffer.C: fix typo
9678
9679 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9680
9681         * Makefile.am (LIBS): delete var
9682         (lyx_LDADD): add @LIBS@ here instead.
9683
9684 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9685
9686         * Clarify the meaning of "wheel mouse jump"
9687
9688 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9689
9690         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9691         tabular in a float
9692
9693 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9694
9695         * importer.C (Loaders): do not preallocate 3 elements in the
9696         vector, since one ends up with 6 elements otherwise
9697
9698 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9699
9700         * DepTable.C (write): write the file name as last element of the
9701         .dep file (because it may contain spaces)
9702         (read): read info in the right order
9703
9704 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9705
9706         * paragraph_pimpl.C (simpleTeXBlanks):
9707         (simpleTeXSpecialChars):
9708         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9709
9710         * tabular.C (latex): add some missing case statements. Reindent.
9711
9712         * MenuBackend.C (expandToc): remove unused variable.
9713
9714 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9715
9716         * LColor.C:
9717         * LaTeX.C:
9718         * LyXAction.C:
9719         * MenuBackend.C:
9720         * buffer.C:
9721         * exporter.C:
9722         * lyxfunc.C:
9723         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9724         and the like.
9725
9726 2003-01-05  John Levon  <levon@movementarian.org>
9727
9728         * BufferView.h:
9729         * BufferView.C: add getEncoding()
9730
9731         * kbsequence.h:
9732         * kbsequence.C: do not store last keypress
9733
9734         * lyxfunc.h:
9735         * lyxfunc.C: store last keypress here instead. Pass encoding
9736           to getISOEncoded()
9737
9738 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9739
9740         * lyx_main.C (init): remove annoying error message when following
9741         symbolic links (bug #780)
9742
9743 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9744
9745         * text.C (insertChar):
9746         * lyxrc.C (getDescription): remove extra spaces
9747
9748 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9749
9750         * lyxrc.C (getDescription): remove extra spaces
9751
9752 2002-12-20  John Levon  <levon@movementarian.org>
9753
9754         * text3.C: hack fix for page up/down across tall rows
9755
9756 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9757
9758         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9759         not been invoked
9760
9761 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9762
9763         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9764         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9765         thesaurus is not compiled in
9766
9767 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9768
9769         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9770
9771 2002-12-16  Angus Leeming  <leeming@lyx.org>
9772
9773         * lyxrc.[Ch]:
9774         * lyx_main.C (init): remove override_x_deadkeys stuff.
9775
9776 2002-12-12  John Levon  <levon@movementarian.org>
9777
9778         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9779           insert. Only remove shift modifier under strict
9780           circumstances.
9781
9782 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9783
9784         * MenuBackend.C (expandToc): fix crash.
9785
9786 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9787
9788         * MenuBackend.C (expandToc): gettext on float names.
9789
9790 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9791
9792         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9793         implement bool empty() [bug 490]
9794
9795 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9796
9797         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9798
9799 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9800
9801         * several files: ws changes
9802
9803 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9804
9805         * text2.C (setCounter): clean up a bit, use boost.format.
9806         (updateCounters): initialize par upon declaration.
9807
9808         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9809         if the layout exists. We do not just store the layout any more.
9810         (SwitchLayoutsBetweenClasses): use boost.format
9811
9812 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9813
9814         * converter.C (convert): if from and to files are the same, use a
9815         temporary files as intermediary
9816
9817 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9818
9819         * commandtags.h:
9820         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9821
9822 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9823
9824         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9825
9826 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9827
9828         * tabular.C (asciiPrintCell): use string(size, char) instead of
9829         explicit loop.
9830
9831         * sgml.C (openTag): fix order of arguments to string constructor
9832         (closeTag): ditto
9833
9834         * lyxfunc.C (dispatch): use boost.format
9835
9836         * lots of files: change "c" -> 'c'
9837
9838 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9839
9840         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9841
9842 2002-11-25  Angus Leeming  <leeming@lyx.org>
9843
9844         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9845
9846         * lyx_main.C (init): compile fix.
9847
9848 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9849
9850         * lyx_cb.C (start): boost.formatify
9851         do not include <iostream>
9852
9853         * lengthcommon.C: ws only
9854
9855         * boost-inst.C,BoostFormat.h: add more explict instantations
9856
9857 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9858
9859         * lots of files: handle USE_BOOST_FORMAT
9860
9861 2002-11-21  John Levon  <levon@movementarian.org>
9862
9863         * pspell.C: fix compile
9864
9865 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9866
9867         * lyxfunc.C (dispatch): use boost::format
9868         (open): ditto
9869         (doImport): ditto
9870
9871         * lyxfont.C (stateText): use boost::format
9872
9873         * lyx_main.C (LyX): use boost::format
9874         (init): ditto
9875         (queryUserLyXDir): ditto
9876         (readRcFile): ditto
9877         (parse_dbg): ditto
9878         (typedef boost::function): use the recommened syntax.
9879
9880         * importer.C (Import): use boost::format
9881
9882         * debug.C (showLevel): use boost::format
9883
9884         * converter.C (view): use boost::format
9885         (convert): ditto
9886         (move): ditto
9887         (scanLog): ditto
9888
9889         * bufferview_funcs.C (currentState): use boost::format
9890
9891         * bufferlist.C (emergencyWrite): use boost::format
9892
9893         * buffer.C (readLyXformat2): use boost::format
9894         (parseSingleLyXformat2Token): ditto
9895
9896         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9897
9898         * LaTeX.C (run): use boost::format
9899
9900         * Chktex.C (scanLogFile): use boost::format
9901
9902         * BufferView_pimpl.C (savePosition): use boost::format
9903         (restorePosition): ditto
9904         (MenuInsertLyXFile): ditto
9905
9906         * BoostFormat.h: help file for explicit instation.
9907
9908 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9909
9910         * tabular.C (latex): Support for block alignment in fixed width
9911         columns.
9912
9913 2002-11-17  John Levon  <levon@movementarian.org>
9914
9915         * BufferView_pimpl.C:
9916         * lyx_cb.C:
9917         * lyxfunc.C: split filedialog into open/save
9918
9919 2002-11-08  Juergen Vigna  <jug@sad.it>
9920
9921         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9922         by my last patch (hopefully).
9923
9924 2002-11-08  John Levon  <levon@movementarian.org>
9925
9926         * iterators.h:
9927         * iterators.C:
9928         * buffer.h:
9929         * buffer.C:
9930         * paragraph.h:
9931         * paragraph.C:
9932         * toc.h:
9933         * toc.C: ParConstIterator, and use it (from Lars)
9934
9935 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9936
9937         * lyxtextclass.[Ch]: revise and add doxygen comments
9938
9939 2002-11-07  John Levon  <levon@movementarian.org>
9940
9941         * text.C: fix progress value for spellchecker
9942
9943         * toc.C: fix navigate menu for insetwrap inside minipage
9944
9945         * paragraph_funcs.C: added FIXME for suspect code
9946
9947 2002-11-07  John Levon  <levon@movementarian.org>
9948
9949         * BufferView_pimpl.C: fix redrawing of insets
9950           on buffer switch
9951
9952 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9953
9954         * text2.C (updateCounters): fix bug 668
9955
9956 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9957
9958         * text3.C (dispatch): Do not make the buffer dirty when moving the
9959         cursor.
9960
9961 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9962
9963         * vc-backend.C: STRCONV
9964         (scanMaster): ditto
9965
9966         * text2.C (setCounter): STRCONV
9967
9968         * paragraph.C (asString): STRCONV
9969
9970         * lyxlength.C (asString): STRCONV
9971         (asLatexString): ditto
9972
9973         * lyxgluelength.C (asString): STRCONV
9974         (asLatexString): ditto
9975
9976         * lyxfunc.C (dispatch): STRCONV
9977         (open): ditto
9978
9979         * lyxfont.C (stateText): STRCONV
9980
9981         * importer.C (Import): STRCONV
9982
9983         * counters.C (labelItem): STRCONV
9984         (numberLabel): ditto
9985         (numberLabel): remove unused ostringstream o
9986
9987         * chset.C: STRCONV
9988         (loadFile): ditto
9989
9990         * bufferview_funcs.C (currentState): STRCONV
9991
9992         * buffer.C (readFile): STRCONV
9993         (asciiParagraph): ditto
9994         (makeLaTeXFile): ditto
9995
9996         * Spacing.C (writeEnvirBegin): STRCONV
9997
9998         * LaTeXFeatures.C (getLanguages): STRCONV
9999         (getPackages): ditto
10000         (getMacros): ditto
10001         (getBabelOptions): ditto
10002         (getTClassPreamble): ditto
10003         (getLyXSGMLEntities): ditto
10004         (getIncludedFiles): ditto
10005
10006         * LaTeX.C: STRCONV
10007         (run): ditto
10008         (scanAuxFile): ditto
10009         (deplog): ditto
10010
10011         * LString.h: add the STRCONV macros
10012
10013         * BufferView_pimpl.C (savePosition): STRCONV
10014         (restorePosition): ditto
10015         (MenuInsertLyXFile): ditto
10016
10017         * vc-backend.C (scanMaster): change from submatch[...] to
10018         submatch.str(...)
10019
10020         * funcrequest.C: include config.h
10021
10022         * factory.C: include config.h
10023
10024         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10025
10026         * box.C: include config.h
10027
10028         * LaTeX.C (scanAuxFile): change from submatch[...] to
10029         submatch.str(...)
10030         (deplog): ditto
10031
10032 2002-10-25  Angus Leeming  <leeming@lyx.org>
10033
10034         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10035
10036         * ispell.[Ch] (setError): new method.
10037         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10038         Use setError() insetead of goto END.
10039
10040         * lyx_cb.C (AutoSave): move out child process into new class
10041         AutoSaveBuffer.
10042
10043 2002-10-30  John Levon  <levon@movementarian.org>
10044
10045         * text3.C: make start appendix undoable
10046
10047 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10048
10049         * lyxlength.C (inPixels): Fix returned value.
10050
10051         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10052         environment.
10053
10054 2002-10-24  Angus Leeming  <leeming@lyx.org>
10055
10056         * lyxgluelength.h: no need to forward declare BufferParams
10057         or BufferView, so don't.
10058
10059 2002-10-21  John Levon  <levon@movementarian.org>
10060
10061         * BufferView.C: menuUndo ->undo, redo
10062
10063         * BufferView.h: document, remove dead, make some methods private
10064
10065         * paragraph_funcs.h:
10066         * paragraph_funcs.C:
10067         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10068
10069         * buffer.h:
10070         * buffer.C:
10071         * sgml.h:
10072         * sgml.C: move sgml open/close tag into sgml.C
10073
10074         * bufferview_funcs.h: unused prototype
10075
10076         * lyxfunc.h:
10077         * lyxfunc.C: remove unused
10078
10079         * lyxtext.h:
10080         * text.C: remove unused
10081
10082 2002-10-21  John Levon  <levon@movementarian.org>
10083
10084         * BufferView.h:
10085         * BufferView.C:
10086         * BufferView_pimpl.h:
10087         * BufferView_pimpl.C: fix mouse wheel handling based on
10088           patch from Darren Freeman
10089
10090 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10091
10092         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10093
10094 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10095
10096         * lyxlength.C (inPixels): Fix hanfling of negative length.
10097         Fix LyXLength::MU case.
10098
10099 2002-10-16  John Levon  <levon@movementarian.org>
10100
10101         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10102
10103 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10104
10105         * converter.C (view): add support for $$i (file name) and $$p
10106         (file path) for the viewer command. If $$i is not specified, then
10107         it is appended to the command (for compatibility with old syntax)
10108
10109 2002-10-14  Juergen Vigna  <jug@sad.it>
10110
10111         * undo_funcs.C (textHandleUndo): alter the order in which the
10112         new undopar is added to the LyXText, as we have to set first
10113         the right prev/next and then add it as otherwise the rebuild of
10114         LyXText is not correct. Also reset the cursor to the right paragraph,
10115         with this IMO we could remove the hack in "redoParagraphs()".
10116
10117 2002-10-09  Angus Leeming  <leeming@lyx.org>
10118
10119         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10120         to turn off an optimisation if a new inset is to be inserted.
10121
10122 2002-10-11 André Pönitz <poenitz@gmx.net>
10123
10124         * lyxtext.h: make some functions public to allow access
10125         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10126
10127 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10128
10129         * text3.C (dispatch): when changing layout, avoid an infinite loop
10130         [bug #652]
10131
10132 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10133
10134         * lyxrc.C (read): treat a viewer or converter command of "none" as
10135         if it were empty.
10136
10137         * MenuBackend.C (expandFormats): for an update, also allow the
10138         formats that are not viewable
10139
10140         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10141         script if it is newer than the lyxrc.defaults in user directory
10142
10143 2002-10-07 André Pönitz <poenitz@gmx.net>
10144
10145         * text.C: Vitaly Lipatov's small i18n fix
10146
10147 2002-09-25  Angus Leeming  <leeming@lyx.org>
10148
10149         * ispell.h: doxygen fix.
10150
10151 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10152
10153         * buffer.h (readFile): Add a new argument to the method, to allow
10154         reading of old-format templates.
10155
10156 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10157
10158         * toc.C (getTocList): Get TOC from InsetWrap.
10159
10160 2002-09-16  John Levon  <levon@movementarian.org>
10161
10162         * lyxfunc.C: check tabular for cut/copy too
10163
10164 2002-09-12  John Levon  <levon@movementarian.org>
10165
10166         * LyXAction.C: tidy
10167
10168         * factory.h:
10169         * factory.C: add header
10170
10171         * paragraph_funcs.h:
10172         * paragraph_funcs.C: cleanup
10173
10174 2002-09-11  John Levon  <levon@movementarian.org>
10175
10176         * PrinterParams.h: odd/even default to true
10177
10178 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10179
10180         * PrinterParams.h: update printer parameters for new xforms dialog
10181
10182 2002-09-11  Angus Leeming  <leeming@lyx.org>
10183
10184         * lyxserver.C (read_ready): re-write to make it more transparent
10185         and to make it work in coherent fashion under Tru64 Unix.
10186
10187 2002-09-11  André Pönitz <poenitz@gmx.net>
10188
10189         * commandtags.h:
10190         * LyXAction.C:
10191         * text3.C: implement LFUN_WORDSEL
10192
10193 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10194
10195         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10196         make floatlist_ a boost::shared_ptr<FloatList>
10197
10198         * lyxtextclass.C: include FloatList.h
10199         (LyXTextClass): initialize floatlist_
10200         (TextClassTags): add TC_NOFLOAT
10201         (Read): match "nofloat" to TC_NOFLOAT and use it.
10202         (readFloat): modify call to floatlist_
10203         (floats): ditto
10204         (floats): ditto
10205
10206         * FloatList.[Ch] (FloatList): remove commented out float
10207         initialization.
10208         (erase): new function
10209
10210 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10211
10212         * MenuBackend.C (expandToc): fix crash when there is no document
10213         open
10214
10215 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10216
10217         * many files: Add insetwrap.
10218
10219 2002-09-09  John Levon  <levon@movementarian.org>
10220
10221         * text2.C: remove confusing and awkward depth wraparound
10222
10223 2002-09-09  John Levon  <levon@movementarian.org>
10224
10225         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10226
10227         * buffer.h:
10228         * buffer.C: remove getIncludeonlyList()
10229
10230         * paragraph.C:
10231         * lyxfunc.C: remove headers
10232
10233 2002-09-09  Juergen Vigna  <jug@sad.it>
10234
10235         * text.C (getColumnNearX): fix form Michael this is most
10236         probably a cut&paste bug.
10237
10238 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10239
10240         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10241
10242         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10243         references, ws changes.
10244
10245         * text2.C (init): update counters after init
10246         (insertParagraph): no need to set counter on idividual paragraphs.
10247         (setCounter): access the counters object in the textclass object
10248         on in the buffer object.
10249         (updateCounters): ditto
10250
10251         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10252         shared_ptr<Counters> to avoid loading counters.h in all
10253         compilation units.
10254         (LyXTextClass): initialize ctrs_
10255         (TextClassTags): add TC_COUNTER, and ...
10256         (Read): use it here.
10257         (CounterTags): new tags
10258         (readCounter): new function
10259         (counters): new funtion
10260         (defaultLayoutName): return a const reference
10261
10262         * counters.C (Counters): remove contructor
10263         (newCounter): remove a couple of unneeded statements.
10264         (newCounter): simplify a bit.
10265         (numberLabel): some small formatting changes.
10266
10267         * buffer.[Ch]: remove all traces of counters, move the Counters
10268         object to the LyXTextClass.
10269
10270 2002-09-06  Alain Castera  <castera@in2p3.fr>
10271
10272         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10273         package to set the horizontal alignment on fixed width columns.
10274
10275         * lyx_sty.C:
10276         * lyx_sty.h: added tabularnewline macro def.
10277
10278         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10279
10280 2002-09-06  John Levon  <levon@movementarian.org>
10281
10282         * LyXAction.C: tooltips for sub/superscript
10283
10284         * MenuBackend.C: a bit more verbose
10285
10286         * lyxfunc.C: tiny clean
10287
10288         * undo_funcs.C: document undo_frozen
10289
10290 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10291
10292         * counters.C (Counters): add missing algorithm counter.
10293
10294         * text2.C (setCounter): lookup the counter with layouts latexname
10295         instead of by section number.
10296         (setCounter): use a hackish way to lookup the correct enum
10297         counter.
10298         a float name->type change
10299         reset enum couners with counter name directly instead of depth value.
10300
10301         * counters.C (Counters): remove the push_backs, change to use the
10302         float type not the float name.
10303         (labelItem): remove unused string, float name->type change
10304
10305         * counters.h: don't include vector, loose the enums and sects vectors
10306
10307 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10308
10309         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10310         (Read): add float->TC_FLOAT to textclassTags
10311         (Read): and handle it in the switch
10312         (readFloat): new function
10313
10314         * FloatList.C (FloatList): comment out the hardcoded float
10315         definitions.
10316
10317         * lyxlayout.h: ws change.
10318
10319 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10320
10321         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10322
10323 2002-09-03  Angus Leeming  <leeming@lyx.org>
10324
10325         * BufferView_pimpl.h: qualified name is not allowed in member
10326         declaration: WorkArea & Pimpl::workarea() const;
10327
10328         * factory.C: added using std::endl directive.
10329
10330         * text3.C: added using std::find and std::vector directives.
10331
10332 2002-08-29  André Pönitz <poenitz@gmx.net>
10333
10334         * lyxtext.h:
10335         * text2.C: remove unused member number_of_rows
10336
10337         * Makefile.am:
10338         * BufferView2.C: remove file, move contents to...
10339         * BufferView.C: ... here
10340
10341         * BufferView_pimpl.C:
10342         * factory.C: move more inset creation to factory
10343
10344         * vspace.C: avoid direct usage of LyXText, ws changes
10345
10346         * BufferView.[Ch]:
10347                 don't provide direct access to WorkArea, use two simple
10348                 acessors haveSelction() and workHeight() instead
10349
10350
10351 2002-08-29  John Levon  <levon@movementarian.org>
10352
10353         * BufferView_pimpl.C (dispatch): do not continue when
10354           no buffer
10355
10356 2002-08-28  André Pönitz <poenitz@gmx.net>
10357
10358         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10359
10360         * BufferView.h:
10361         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10362
10363 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10364
10365         * buffer.C: increment LYX_FORMAT to 221
10366
10367         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10368         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10369
10370         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10371
10372         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10373
10374 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10375
10376         * factory.C (createInset): use LyXTextClass::floats
10377
10378         * MenuBackend.C (expandFloatListInsert):
10379         (expandFloatInsert):
10380         (expandToc):
10381
10382         * text2.C (setCounter):
10383
10384         * LaTeXFeatures.C (useFloat):
10385         (getFloatDefinitions):
10386
10387         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10388
10389         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10390         floatlist_, with accessor floats().
10391
10392         * FloatList.h: remove global FloatList
10393
10394 2002-08-26  André Pönitz <poenitz@gmx.net>
10395
10396         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10397
10398         * BufferView.h:
10399         * BufferView2.C:
10400         * BufferView_pimpl.C:
10401         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10402
10403 2002-08-25  John Levon  <levon@movementarian.org>
10404
10405         * LyXAction.C: fix margin note description
10406
10407 2002-08-24  John Levon  <levon@movementarian.org>
10408
10409         * buffer.C:
10410         * bufferlist.C:
10411         * bufferview_funcs.C:
10412         * lyxfont.C:
10413         * undo_funcs.C: cleanups
10414
10415         * lyxfunc.C: disable CUT/COPY when no selection
10416
10417 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10418
10419         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10420         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10421
10422         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10423         Add backward compatibility to "mono", "gray" and "no".
10424
10425 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10426
10427         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10428         (and file_format >= 200).
10429
10430 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10431
10432         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10433
10434 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10435
10436         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10437
10438 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10439
10440         * BufferView_pimpl.C:
10441         * LyXAction.C:
10442         * buffer.C:
10443         * commandtags.h:
10444         * lyxfunc.C:
10445         * paragraph.[Ch]:
10446         * text2.C:
10447         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10448         inset and code to make it  work with the paragraph code. The inset
10449         can be anywhere in the paragraph, but will only do the expected
10450         thing in LaTeX if the layout file contains the parameter line
10451                         OptionalArgs    1
10452         (or more generally, a nonzero value) for that layout.
10453
10454 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10455
10456         * paragraph.h: remove the declaration of undefined counters class
10457         function.
10458
10459 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10460
10461         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10462         Dr. Richard Hawkins.
10463
10464 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10465
10466         * paragraph_funcs.h: remove some unneeded includes
10467
10468         * text.C (backspace): pasteParagraph now in global scipe
10469
10470         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10471         (pasteSelection): ditto
10472
10473         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10474         * paragraph_funcs.C (pasteParagraph): ... here
10475
10476 2002-08-20  André Pönitz <poenitz@gmx.net>
10477
10478         * commandtags.h: new LFUNs for swapping/copying table row/colums
10479
10480         * LyXAction.C:
10481         * lyxfunc.C: support for new lfuns
10482
10483 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10484
10485         * tabular.C:
10486         * buffer.[Ch]: remove NO_COMPABILITY stuff
10487
10488 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10489
10490         * boost.C (throw_exception): new file, with helper function for
10491         boost compiled without exceptions.
10492
10493         * paragraph.h:
10494         * lyxlength.C:
10495         * buffer.C:
10496         * ParameterStruct.h:
10497         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10498
10499         * bufferlist.C (emergencyWriteAll): use boost bind
10500
10501         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10502
10503         * text.C: include paragraph_funcs.h
10504         (breakParagraph): breakParagraph is now in global scope
10505
10506         * paragraph_funcs.[Ch]: new files
10507
10508         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10509         global scope
10510
10511         * buffer.C: include paragraph_funcs.h
10512         (insertStringAsLines): breakParagraph is now in global scope
10513
10514         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10515         paragraph_funcs.C
10516
10517         * CutAndPaste.C: include paragraph_funcs.h
10518         (cutSelection): breakParagraphConservative is now in global scope
10519         (pasteSelection): ditto
10520
10521         * buffer.h: declare oprator== and operator!= for
10522         Buffer::inset_iterator
10523
10524         * bufferlist.C (emergencyWrite): don't use fmt(...)
10525
10526         * text3.C: add using std::endl
10527
10528         * BufferView.C (moveCursorUpdate): remove default arg
10529
10530 2002-08-20  André Pönitz <poenitz@gmx.net>
10531
10532         * buffer.[Ch]: move inline functions to .C
10533
10534         * BufferView2.C:
10535         * BufferView_pimpl.C:
10536         * text.C:
10537         * buffer.[Ch]: use improved inset_iterator
10538
10539         * buffer.C:
10540         * paragraph.[Ch]: write one paragraph at a time
10541
10542 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10543
10544         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10545         style if style is not specified.
10546
10547 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10548
10549         * text2.C (setCounter): when searching for right label for a
10550         caption, make sure to recurse to parent insets (so that a caption
10551         in a minipage in a figure float works) (bug #568)
10552
10553 2002-08-20  André Pönitz <poenitz@gmx.net>
10554
10555         * text3.C: new file for LyXText::dispatch() and helpers
10556
10557         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10558
10559         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10560
10561 2002-08-19  André Pönitz <poenitz@gmx.net>
10562
10563         * lyxtext.h:
10564         * text.C: new LyXText::dispatch()
10565
10566         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10567
10568 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10569
10570         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10571
10572         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10573         Hebrew text.
10574
10575 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10576
10577         * Makefile.am: use $(variables) instead of @substitutions@
10578
10579 2002-08-15  André Pönitz <poenitz@gmx.net>
10580
10581         * lyxfunc.C:
10582         * BufferView_pimpl.C: streamlining mathed <-> outer world
10583         interaction
10584
10585         * commandtags.h:
10586         * LyXAction.C: remove unused LFUN_MATH
10587
10588 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10589
10590         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10591
10592 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10593
10594         * paragraph.C (Paragraph): reformat a bit
10595         (cutIntoMinibuffer): use builtin InsetList function instad of
10596         doing it manually.
10597         (getInset): ditto
10598
10599         * buffer.C: include boost/bind.hpp, add using std::for_each
10600         (writeFileAscii): use ParagraphList iterators
10601         (validate): use for_each for validate traversal of paragraphs
10602         (getBibkeyList): use ParagraphList iterators
10603         (resizeInsets): use for_each to resizeInsetsLyXText for all
10604         paragraphs.
10605         (getParFromID): use ParagraphList iterators
10606
10607         * BufferView2.C (lockInset): use paragraph list and iterators
10608
10609 2002-08-14  John Levon  <levon@movementarian.org>
10610
10611         * lyxserver.C: remove spurious xforms include
10612
10613 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10614
10615         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10616
10617 2002-08-13  André Pönitz <poenitz@gmx.net>
10618
10619         * LyXAction.[Ch]:
10620         * lyxfunc.C: further cleaning
10621
10622 2002-08-13  André Pönitz <poenitz@gmx.net>
10623
10624         * funcrequest.h: new constructor
10625
10626         * funcrequest.C: move stuff here from .h
10627
10628         * Makefile.am:
10629         * BufferView_pimpl.C:
10630         * LyXAction.C:
10631         * toc.C:
10632         * lyxfunc.C: subsequent changes
10633
10634         * lyxfunc.h: new view() member function
10635
10636         * lyxfunc.C: subsequent changes
10637
10638 2002-08-13  Angus Leeming  <leeming@lyx.org>
10639
10640         * BufferView2.C:
10641         * BufferView_pimpl.C:
10642         * buffer.C:
10643         * converter.C:
10644         * importer.C:
10645         * lyxfunc.C:
10646         * lyxvc.C:
10647         * toc.C:
10648         * vc-backend.C:
10649         changes due to the changed LyXView interface that now returns references
10650         to member variables not pointers.
10651
10652 2002-08-13  Angus Leeming  <leeming@lyx.org>
10653
10654         * WordLangTuple (word, lang_code): return references to strings,
10655         not strings.
10656
10657         * BufferView.h:
10658         * SpellBase.h:
10659         * lyxtext.h: forward-declare WordLangTuple.
10660
10661         * BufferView2.C:
10662         * ispell.C:
10663         * pspell.C:
10664         * text.C: #include "WordLangTuple.h".
10665
10666         * lyxtext.h:
10667         * text.C: (selectNextWordToSpellcheck): constify return type.
10668
10669 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10670
10671         * buffer.C:
10672         * buffer.h:
10673         * lyxtext.h:
10674         * paragraph.C:
10675         * paragraph_pimpl.h:
10676         * text.C:
10677         * text2.C:
10678         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10679         suggested by Angus.
10680         Made updateCounter always count from start of buffer, and removed
10681         second argument (par).
10682         Reverted floats number display to '#'. Perhaps I'll try again when the
10683         code base is sanitized a bit.
10684
10685 2002-08-12  Angus Leeming  <leeming@lyx.org>
10686
10687         * buffer.[Ch] (getLabelList): constify.
10688
10689 2002-08-07  André Pönitz <poenitz@gmx.net>
10690
10691         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10692
10693         * funcrequest.h: extension to keep mouse (x,y) position
10694
10695 2002-08-12  Juergen Vigna  <jug@sad.it>
10696
10697         * BufferView2.C (insertErrors): forbid undo when inserting error
10698         insets.
10699
10700         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10701
10702 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10703
10704         * ParagraphList.[Ch]: new files
10705
10706         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10707
10708         * BufferView2.C (lockInset): ParagraphList changes
10709         * toc.C: ditto
10710         * text2.C: ditto
10711         * bufferlist.C: ditto
10712         * buffer.h: ditto
10713         * buffer.C: ditto
10714
10715 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10716
10717         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10718         unused class variable counter_,
10719
10720         * paragraph.[Ch] (getFirstCounter): delete unused function
10721
10722         * counters.C: include LAssert.h
10723         (reset): add a new function with no arg, change other version to
10724         not have def. arg and to not allow empty arg.
10725
10726         * text2.C (setCounter): remove empty arg from call to Counters::reset
10727
10728 2002-08-11  John Levon  <levon@movementarian.org>
10729
10730         * Makefile.am: add WordLangTuple.h
10731
10732 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10733
10734         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10735         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10736
10737         * insets/insettext.C: InsetList changes
10738
10739         * graphics/GraphicsSupport.C (operator()): InsetList changes
10740
10741         * toc.C (getTocList): InsetList changes
10742
10743         * paragraph_pimpl.[Ch]: InsetList changes
10744
10745         * paragraph.[Ch]: InsetList changes
10746
10747         * buffer.C (inset_iterator): InsetList changes
10748         (setParagraph): ditto
10749         * buffer.h (inset_iterator): ditto
10750         * iterators.C (operator++): ditto
10751         * iterators.h: ditto
10752
10753         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10754
10755         * InsetList.[Ch]: new files, most InsetList handling moved out of
10756         paragraph.C.
10757
10758         * BufferView2.C (removeAutoInsets): InsetList changes
10759         (lockInset): ditto
10760         (ChangeInsets): ditto
10761
10762 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10763
10764         * paragraph_pimpl.h (empty): new function
10765
10766         * paragraph.[Ch] (empty): new function
10767
10768         * other files: use the new Paragraph::empty function
10769
10770 2002-08-09  John Levon  <levon@movementarian.org>
10771
10772         * lyxtext.h: remove unused refresh_height
10773
10774 2002-08-09  John Levon  <levon@movementarian.org>
10775
10776         * Makefile.am:
10777         * sgml.h:
10778         * sgml.C:
10779         * buffer.C:
10780         * paragraph.h:
10781         * paragraph.C: move sgml char escaping out of paragraph
10782
10783         * paragraph.h:
10784         * paragraph.C: remove id setter
10785
10786         * buffer.C:
10787         * paragraph.C:
10788         * paragraph_pimpl.C: remove dead tex_code_break_column
10789
10790         * bufferview_funcs.C: small cleanup
10791
10792         * lyxfunc.C: remove dead proto
10793
10794         * lyxtext.h: make some stuff private. Remove some dead stuff.
10795
10796         * lyxgluelength.C: make as[LyX]String() readable
10797
10798 2002-08-08  John Levon  <levon@movementarian.org>
10799
10800         * LyXAction.h:
10801         * LyXAction.C:
10802         * MenuBackend.C:
10803         * ToolbarDefaults.C:
10804         * lyxfunc.C:
10805         * lyxrc.C:
10806         * toc.C: lyxaction cleanup
10807
10808 2002-08-08  John Levon  <levon@movementarian.org>
10809
10810         * BufferView2.C: small cleanup
10811
10812         * lyxfind.h:
10813         * lyxfind.C: move unnecessary header into the .C
10814
10815 2002-08-08  John Levon  <levon@movementarian.org>
10816
10817         * funcrequest.h: just tedious nonsense
10818
10819         * lyx_main.h:
10820         * lyx_main.C: cleanups
10821
10822         * buffer.C:
10823         * vspace.C: remove dead header lyx_main.h
10824
10825 2002-08-07  Angus Leeming  <leeming@lyx.org>
10826
10827         * Paragraph.[Ch]:
10828         * paragraph_pimpl.h:
10829         Forward declare class Counters in paragraph.h by moving the ctrs member
10830         variable into Paragraph::Pimpl.
10831         (counters): new method, returning a reference to pimpl_->ctrs.
10832
10833         * text2.C: ensuing changes.
10834
10835 2002-08-07  John Levon  <levon@movementarian.org>
10836
10837         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10838
10839         * BufferView_pimpl.C: announce X selection on double/triple
10840           click
10841
10842         * lyx_main.C: use correct bool in batch dispatch
10843
10844         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10845
10846 2002-08-07  André Pönitz <poenitz@gmx.net>
10847
10848         * funcrequest.h: new class to wrap a kb_action and its argument
10849
10850         * BufferView.[Ch]:
10851         * BufferView_pimpl[Ch]:
10852         * LaTeX.C:
10853         * LyXAction.[Ch]:
10854         * lyxfunc.[Ch]:
10855         * lyxrc.C: subsequent changes
10856
10857
10858 2002-08-07  John Levon  <levon@movementarian.org>
10859
10860         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10861           document options change.
10862
10863 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10864
10865         * counters.[Ch]
10866         * text2.C
10867         * paragraph.[Ch]
10868         * makefile.am: move counters functionality over from
10869         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10870
10871 2002-08-06  John Levon  <levon@movementarian.org>
10872
10873         * WordLangTuple.h: new file for word + language code tuple
10874
10875         * SpellBase.h:
10876         * pspell.h:
10877         * pspell.C:
10878         * ispell.h:
10879         * ispell.C:
10880         * lyxtext.h:
10881         * text.C:
10882         * text2.C:
10883         * BufferView.h:
10884         * BufferView2.C: use WordLangTuple
10885
10886         * layout.h:
10887         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10888
10889 2002-08-06  John Levon  <levon@movementarian.org>
10890
10891         * lyx_main.C: fix cmdline batch handling
10892
10893 2002-08-06  André Pönitz <poenitz@gmx.net>
10894
10895         * lyxrc.C: set default for show_banner to true
10896
10897 2002-08-06  John Levon  <levon@movementarian.org>
10898
10899         * pspell.C: fix a crash, and allow new aspell to work
10900
10901 2002-08-06  John Levon  <levon@movementarian.org>
10902
10903         * lyxfunc.C:
10904         * kbmap.C: small cleanup
10905
10906         * vspace.h:
10907         * vspace.C: add const
10908
10909 2002-08-05  John Levon  <levon@movementarian.org>
10910
10911         * LyXAction.C: back to tabular-insert
10912
10913 2002-08-04  John Levon  <levon@movementarian.org>
10914
10915         * BufferView.h:
10916         * BufferView.C: cosmetic change
10917
10918         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10919
10920         * bufferlist.C:
10921         * buffer.h:
10922         * buffer.C:
10923         * lyxcb.h:
10924         * lyxcb.C:
10925         * lyxserver.C:
10926         * lyxvc.C:
10927         * vc-backend.C:
10928         * BufferView2.C: purge all "Lyx" not "LyX" strings
10929
10930         * lyxcursor.h:
10931         * lyxcursor.C: attempt to add some documentation
10932
10933         * lyxfunc.C:
10934         * commandtags.h:
10935         * LyXAction.C:
10936         * ToolbarDefaults.C:
10937         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10938           merge with LFUN_TABULAR_INSERT
10939
10940         * Makefile.am:
10941         * SpellBase.h:
10942         * ispell.h:
10943         * ispell.C:
10944         * pspell.h:
10945         * pspell.C: split up i/pspell implementations into separate
10946           files, many cleanups
10947
10948         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10949
10950         * text2.C: some cleanup
10951
10952         * lyxfunc.C: don't check for isp_command == "none" any more, it
10953           didn't make any sense
10954
10955 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10956
10957         * counters.[Ch]
10958         * text2.C
10959         * paragraph.[Ch]
10960         * makefile.am: move counters functionality over
10961         from text2.C/paragraph.[Ch] to counters.[Ch], and
10962         make proper C++.
10963 2002-08-02  John Levon  <levon@movementarian.org>
10964
10965         * buffer.C: s/lyxconvert/lyx2lyx/
10966
10967 2002-08-02  Angus Leeming  <leeming@lyx.org>
10968
10969         * lyxlex.C: revert John's change as it breaks reading of the user
10970         preamble.
10971
10972 2002-08-02  Angus Leeming  <leeming@lyx.org>
10973
10974         * importer.C (Import):
10975         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10976         changes due to LyXView::view() now returning a boost::shared_ptr.
10977
10978 2002-08-02  John Levon  <levon@movementarian.org>
10979
10980         * lyxlex.C: small cleanup
10981
10982 2002-08-02  John Levon  <levon@movementarian.org>
10983
10984         * text2.C (status): small cleanup, no logic change
10985
10986 2002-08-01  John Levon  <levon@movementarian.org>
10987
10988         * buffer.h:
10989         * buffer.C (writeFile): don't output alerts, caller
10990           handles this
10991
10992         * bufferlist.C:
10993         * lyx_cb.C: from above
10994
10995         * lyxfunc.C: allow to open non-existent files
10996
10997 2002-07-31  John Levon  <levon@movementarian.org>
10998
10999         * lyxserver.C: don't let incidental errors get
11000           in the way (errno)
11001
11002 2002-07-30  John Levon  <levon@movementarian.org>
11003
11004         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11005
11006 2002-07-30  John Levon  <levon@movementarian.org>
11007
11008         * lyxserver.h:
11009         * lyxserver.C: remove I/O callback too
11010
11011 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11012
11013         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11014         log.
11015
11016 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11017
11018         * many files: strip,frontStrip -> trim,ltrim,rtrim
11019
11020 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11021
11022         * PrinterParams.h: remove extern containsOnly, and include
11023         support/lstrings.h instead.
11024
11025         * LaTeX.C (scanAuxFile): modify because of strip changes
11026         (deplog): ditto
11027         * buffer.C (makeLaTeXFile): ditto
11028         * bufferparams.C (writeFile): ditt
11029         * lyxfont.C (stateText): ditto
11030         * lyxserver.C (read_ready): ditto
11031         * vc-backend.C (scanMaster): ditto
11032
11033         * BufferView_pimpl.h: ws changes
11034
11035         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11036
11037 2002-07-26  André Pönitz <poenitz@gmx.net>
11038
11039         * kb_sequence.C: remove unnedred usings
11040
11041 2002-07-26  Juergen Vigna  <jug@sad.it>
11042
11043         * lyxfind.C (LyXReplace): we have to check better if the returned
11044         text is not of theLockingInset()->getLockingInset().
11045
11046 2002-07-25  Juergen Vigna  <jug@sad.it>
11047
11048         * lyxfind.C (LyXReplace): don't replace if we don't get the
11049         right LyXText.
11050
11051         * undo_funcs.C (createUndo): remove debugging code.
11052
11053 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11054
11055         * buffer.C (parseSingleLyXformat2Token): Use default placement
11056         when reading old floats.
11057
11058         * FloatList.C (FloatList): Change the default placement of figure
11059         and tables to "tbp".
11060
11061 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11062
11063         * MenuBackend.C: using std::max
11064
11065 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11066
11067         * MenuBackend.C (expandToc):
11068         (expandToc2): code moved from xforms menu frontend. It is now
11069         generic and TOCs are transparent to menu frontends.
11070
11071 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11072
11073         * toc.C (getTocList): protect against buf=0
11074
11075         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11076         Menu as first parameter. Now, this calls itself recursively to
11077         expand a whole tree (this will be useful for TOC handling)
11078         (expandFloatInsert): remove 'wide' version of floats
11079
11080         * MenuBackend.h (submenuname): returns the name of the submenu.
11081         (submenu): returns the submenu itself, provided it has been
11082         created by MenuBackend::expand
11083
11084 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11085
11086         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11087         insets which have noFontChange == true. (bug #172)
11088
11089 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11090
11091         * BufferView_pimpl.C: add connection objects and use them...
11092         (Pimpl): here.
11093
11094 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11095
11096         * MenuBackend.C (expandLastfiles):
11097         (expandDocuments):
11098         (expandFormats):
11099         (expandFloatListInsert):
11100         (expandFloatInsert):
11101         (expand): split expand in parts
11102
11103 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11104
11105         * lyx_gui.C: use lyx_gui::exit()
11106
11107 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11108
11109         * LyXAction.C: show the failing pseudo action
11110
11111 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11112
11113         * buffer.C (readFile): Run the lyxconvert script in order to read
11114         old files.
11115
11116 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11117
11118         * LyXAction.C:
11119         * commandtags.h:
11120         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11121
11122 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11123
11124         * LyXAction.C:
11125         * commandtags.h:
11126         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11127
11128 2002-07-22  Herbert Voss  <voss@lyx.org>
11129
11130         * lengthcommon.C:
11131         * lyxlength.[Ch]: add support for the vertical lengths
11132
11133 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11134
11135         * toc.[Ch]: std:: fixes
11136
11137 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11138
11139         * lyxrc.C: do not include lyx_main.h
11140
11141         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11142         for layouts
11143
11144         * lyxrc.C:
11145         * encoding.C:
11146         * bufferlist.C:
11147         * BufferView2.C: include "lyxlex.h"
11148
11149         * tabular.h:
11150         * bufferparams.h: do not #include "lyxlex.h"
11151
11152         * lyxtextclasslist.C (Add): remove method
11153         (classlist): renamed to classlist_
11154
11155         * paragraph_pimpl.C:
11156         * paragraph.C:
11157         * text2.C:
11158         * CutAndPaste.C:
11159         * bufferview_funcs.C:
11160         * bufferlist.C:
11161         * text.C:
11162         * LaTeXFeatures.C:
11163         * buffer.C:
11164         * toc.C (getTocList): use BufferParams::getLyXTextClass
11165
11166         * toc.C (getTocList): use InsetFloat::addToToc
11167
11168         * toc.[Ch]: new files, containing helper functions to handle table
11169         of contents
11170
11171         * lyxfunc.C (dispatch): no need to remove spaces around command
11172         given as a string
11173         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11174         first command of the sequence; it is not very clever, but I do not
11175         have a better idea, actually
11176
11177         * LyXAction.C (LookupFunc): make sure to remove space at the
11178         beginning and end of the command
11179
11180 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11181
11182         * MenuBackend.C (getMenubar): new method: return the menubar of
11183         this menu set
11184         (read): treat differently reading of menu and menubar (in
11185         particular, the menubar has no name now)
11186         (Menu::menubar): remove
11187
11188         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11189         saving is finished
11190
11191 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11192
11193         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11194         a bibitem inset in a RTL paragraph.
11195
11196 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11197
11198         * paragraph_pimpl.C: constify
11199
11200         * BufferView_pimpl.C:
11201         * LaTeX.C:
11202         * lyxfunc.C: fix dispatch in a nicer way
11203
11204 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11205
11206         * lyxfunc.C (dispatch):
11207         * BufferView_pimpl.C:
11208         * BufferView_pimpl.h:
11209         * BufferView.C:
11210         * BufferView.h: rename Dispatch() to dispatch()
11211
11212         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11213
11214         * lyxlayout.C (Read): honor DependsOn tag
11215
11216         * lyxlayout.[Ch] (depends_on): new method
11217
11218         * version.C.in: update lyx_docversion
11219
11220         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11221
11222         * paragraph.C (validate): remove from here...
11223         * paragraph_pimpl.C (validate): ... and move here
11224         (isTextAt): make it const
11225
11226         * buffer.C (getLists): ws cleanup
11227
11228 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11229
11230         * language.C (read): Use iso8859-1 encoding in latex_lang
11231         (this prevents LyX from crashing when using iso10646-1 encoding).
11232
11233 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11234
11235         * text2.C (toggleInset): if cursor is inside an inset, close the
11236         inset and leave cursor _after_ it
11237
11238 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11239
11240         * lyxfunc.C: move minibuffer completion handling out of here
11241
11242 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11243
11244         * BufferView_pimpl.C:
11245         * LaTeX.C: fix dispatch calls
11246
11247 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11248
11249         * text.C (drawChars): Fix Arabic text rendering.
11250
11251 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11252
11253         * LyXAction.C:
11254         * commandtags.h:
11255         * lyxfunc.C: remove message-push/pop
11256
11257         * lyxserver.C:
11258         * lyxfunc.h:
11259         * lyxfunc.C: rationalise some code by removing verboseDispatch
11260           in favour of a bool argument to dispatch()
11261
11262 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11263
11264         * lyx_main.C (init): make sure to read symlinks as absolute paths
11265
11266 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11267
11268         * lyxfunc.h:
11269         * lyxfunc.C: no need for commandshortcut to be a member
11270
11271 2002-07-15  André Pönitz <poenitz@gmx.net>
11272
11273         * converter.C: add support for $$s (scripts from lib/scripts dir)
11274         * lyx_main.C: white space
11275
11276 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11277
11278         * bufferlist.C:
11279         * lyxrc.h:
11280         * lyxrc.C: remove second exit confirmation
11281
11282 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11283
11284         * BufferView.h:
11285         * BufferView.C:
11286         * BufferView2.C:
11287         * BufferView_pimpl.h:
11288         * BufferView_pimpl.C:
11289         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11290
11291 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11292
11293         * MenuBackend.C (expand): add numeric shortcuts to document menu
11294
11295         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11296
11297 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11298
11299         * lyxfont.C (setLyXFamily):
11300         (setLyXSeries):
11301         (setLyXShape):
11302         (setLyXSize):
11303         (setLyXMisc):
11304         (lyxRead):
11305         * debug.C (value):
11306         * buffer.C (asciiParagraph): use ascii_lowercase
11307
11308 2002-07-15  Mike Fabian  <mfabian@suse.de>
11309
11310         * lyxlex_pimpl.C (search_kw):
11311         * lyxlex.C (getLongString):
11312         * converter.h (operator<):
11313         * converter.C (operator<):
11314         * buffer.C (parseSingleLyXformat2Token):
11315         (asciiParagraph):
11316         * ToolbarDefaults.C (read):
11317         * MenuBackend.C (checkShortcuts):
11318         (read):
11319         * LColor.C (getFromGUIName):
11320         (getFromLyXName): use the compare_ascii_no_case instead of
11321         compare_no_case, because in turkish, 'i' is not the lowercase
11322         version of 'I', and thus turkish locale breaks parsing of tags.
11323
11324 2002-07-16  Angus Leeming  <leeming@lyx.org>
11325
11326         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11327         now takes a Buffer const & argument.
11328
11329 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11330
11331         * BufferView.C (resize): check there's a buffer to resize
11332
11333 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11334
11335         * lyxfunc.C: remove dead code
11336
11337         * lyxserver.h:
11338         * lyxserver.C: use lyx_guii::set_read_callback
11339
11340 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11341
11342         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11343         an inset in a RTL paragraph.
11344
11345 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11346
11347         * lyxfunc.C: repaint after a font size update
11348
11349 2002-07-15  André Pönitz <poenitz@gmx.net>
11350
11351         * lyxlength.C: inBP should be able to return negative values
11352
11353 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11354
11355         * lyxfunc.C: use lyx_gui::update_fonts()
11356
11357 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11358
11359         * lyxfunc.C: use lyx_gui::update_color()
11360
11361 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11362
11363         * bufferlist.C:
11364         * lyxfunc.h:
11365         * lyxfunc.C:
11366         * lyxrc.h:
11367         * lyxrc.C: remove file->new asks for name option, and let
11368           buffer-new take an argument
11369
11370 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11371
11372         * BufferView_pimpl.C: remove unneeded extra repaint()
11373
11374 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11375
11376         * LyXAction.C: allow command-sequence with NoBuffer
11377
11378         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11379
11380 2002-07-10  Angus Leeming  <leeming@lyx.org>
11381
11382         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11383
11384 2002-07-09  Angus Leeming  <leeming@lyx.org>
11385
11386         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11387
11388 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11389
11390         * lengthcommon.h: whitespace
11391
11392         * lyxfunc.C: update scrollbar after goto paragraph
11393
11394         * lyxtext.h: factor out page break drawing, and fix it so
11395           page break/added space paints as selected nicely
11396
11397 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11398
11399         * BufferView_pimpl.C: add FIXMEs, clean up a little
11400
11401 2002-07-09  André Pönitz <poenitz@gmx.net>
11402
11403         * lyxfont.[Ch]: support for wasy symbols
11404
11405 2002-07-08  André Pönitz <poenitz@gmx.net>
11406
11407         * BufferView_pimpl.C: apply John's patch for #93.
11408
11409 2002-07-05  Angus Leeming  <leeming@lyx.org>
11410
11411         * BufferView_pimpl.C (buffer): generate previews if desired.
11412
11413         * LColor.h: add "preview" to the color enum.
11414
11415         * LColor.C (LColor): add a corresponding entry to the items array.
11416
11417         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11418         with this buffer.
11419
11420 2002-07-05  Angus Leeming  <leeming@lyx.org>
11421
11422         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11423         The body of the code is now in the method that is passed an ostream &
11424         rather than a file name.
11425         Pass an additional only_preamble parameter, useful for the forthcoming
11426         preview stuff.
11427
11428 2002-07-03  André Pönitz <poenitz@gmx.net>
11429
11430         * lyxfunc.C: simplify getStatus() a bit for math stuff
11431
11432 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11433
11434         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11435
11436 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11437
11438         * text.C (changeRegionCase): do not change case of all the
11439         document when region ends at paragraph end (bug #461)
11440
11441 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11442
11443         * paragraph.C (startTeXParParams):
11444         (endTeXParParams): add \protect when necessary
11445
11446 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11447
11448         * BufferView_pimpl.C (workAreaExpose): remove warning
11449
11450 2002-06-27  Angus Leeming  <leeming@lyx.org>
11451
11452         * Makefile.am: add lyxlayout_ptr_fwd.h.
11453
11454 2002-06-26  André Pönitz <poenitz@gmx.net>
11455
11456         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11457
11458 2002-06-25  Angus Leeming  <leeming@lyx.org>
11459
11460         * lyxfunc.C (dispatch): Comment out the call to
11461         grfx::GCache::changeDisplay. The method no longer exists now that the
11462         pixmap generation part of the graphics loader has been moved into
11463         InsetGraphics.
11464
11465 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11466
11467         * text2.C: layout as layout
11468
11469         * text.C: layout as layout
11470
11471         * tabular.C (OldFormatRead): layout as layout
11472
11473         * paragraph_pimpl.C (TeXDeeper): layout as layout
11474         (realizeFont): layout as layout
11475
11476         * paragraph.C (writeFile): layout as layout
11477         (validate): layout as layout
11478         (getFont): layout as layout
11479         (getLabelFont): layout as layout
11480         (getLayoutFont): layout as layout
11481         (breakParagraph): layout as layout
11482         (stripLeadingSpaces): layout as layout
11483         (getEndLabel): layout as layout
11484         (getMaxDepthAfter): layout as layout
11485         (applyLayout): layout as layout
11486         (TeXOnePar): layout as layout
11487         (simpleTeXOnePar): layout as layout
11488         (TeXEnvironment): layout as layout
11489         (layout): layout as layout
11490         (layout): layout as layout
11491
11492         * lyxtextclass.C (compare_name): new functor to work with
11493         shared_ptr, layout as layout
11494         (Read): layout as layout
11495         (hasLayout): layout as layout
11496         (operator): layout as layout
11497         (delete_layout): layout as layout
11498         (defaultLayout): layout as layout
11499
11500         * lyxlayout_ptr_fwd.h: new file
11501
11502         * lyxlayout.C (Read): layout as layout
11503
11504         * lyx_cb.C (MenuInsertLabel): layout as layout
11505
11506         * bufferlist.C (newFile): layout as layout
11507
11508         * buffer.C (readLyXformat2): layout as layout
11509         (parseSingleLyXformat2Token): layout as layout
11510         (insertStringAsLines): layout as layout
11511         (asciiParagraph): layout as layout
11512         (latexParagraphs): layout as layout
11513         (makeLinuxDocFile): layout as layout
11514         (simpleLinuxDocOnePar): layout as layout
11515         (makeDocBookFile): layout as layout
11516         (simpleDocBookOnePar): layout as layout
11517         (getLists): layout as layout
11518
11519         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11520
11521         * CutAndPaste.C (cutSelection): layout as layout
11522         (pasteSelection): layout as layout
11523         (SwitchLayoutsBetweenClasses): layout as layout
11524
11525         * BufferView_pimpl.C (Dispatch): layout as layout
11526         (smartQuote): layout as layout
11527
11528         * BufferView2.C (unlockInset): layout as layout
11529
11530 2002-06-24  André Pönitz <poenitz@gmx.net>
11531
11532         * lyxfunc.C: fix #487
11533
11534 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11535
11536         * lyxrc.h:
11537         * lyxrc.C:
11538         * lyxfunc.C: remove display_shortcuts, show_banner
11539
11540 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11541
11542         * Buffer_pimpl.C: oops, update on resize
11543
11544 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11545
11546         * buffer.C:
11547         * converter.C:
11548         * exporter.C:
11549         * lyxfunc.C:
11550         * BufferView.h:
11551         * BufferView.C: use repaint()
11552
11553         * BufferView_pimpl.h:
11554         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11555           as it's a clearer description. Remove superfluous
11556           redraws.
11557
11558 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11559
11560         * text.C: fix bug 488. Not ideal, but getting
11561           getWord() to work properly for the insets that
11562           matter is more difficult ...
11563
11564 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11565
11566         * BufferView_pimpl.C:
11567         * LyXAction.C:
11568         * commandtags.h:
11569         * lyxfunc.C: remove the six million index lyxfuncs to just
11570           one, and DTRT (bug 458)
11571
11572 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11573
11574         * BufferView.h:
11575         * BufferView.C:
11576         * BufferView_pimpl.h:
11577         * BufferView_pimpl.C: clean up resize() stuff,
11578           and unnecessary updateScreen()s
11579
11580 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11581
11582         * BufferView.h:
11583         * BufferView.C:
11584         * BufferView_pimpl.h:
11585         * BufferView_pimpl.C:
11586         * lyxfind.h:
11587         * lyxfind.C:
11588         * minibuffer.C: remove focus management of workarea,
11589           not needed. Use screen's greyOut()
11590
11591 2002-06-17  Herbert Voss  <voss@lyx.org>
11592
11593         * converter.C: (convert) do not post a message, when converting
11594         fails, let the calling function decide what to do in this case
11595
11596 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11597
11598         * lyxfunc.C: tidy up a little
11599
11600 2002-06-16    <alstrup@diku.dk>
11601
11602         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11603         Got rid of FORMS_H_LOCATION include. Now we are
11604         GUII.
11605
11606 2002-06-15  LyX Development team  <lyx@rilke>
11607
11608         * buffer.[Ch] (sgmlOpenTag):
11609         (sgmlCloseTag): Added support for avoiding pernicious mixed
11610         content. Return number of lines written.
11611
11612         (makeLinuxDocFile):
11613         (makeDocBookFile): Fixed calls to sgml*Tag.
11614         Simple white space clean.
11615
11616         (simpleDocBookOnePar): Simple white space clean.
11617
11618         * tabular.[Ch] (docBook): Renamed to docbook and got another
11619         argument to related with the pernicious mixed content.
11620
11621         (docbookRow): Fixed calls for docbook inset method.
11622
11623 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11624
11625         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11626         so it's X11 independent.
11627
11628         * kb*.[Ch]: ditto.
11629
11630         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11631
11632 2002-06-15  Lyx Development team  <lyx@electronia>
11633
11634         * intl.h: Renamed getTrans to getTransManager.
11635
11636 2002-06-14  Angus Leeming  <leeming@lyx.org>
11637
11638         * Makefile.am: nuke forgotten stl_string_fwd.h.
11639
11640 2002-06-12  Angus Leeming  <leeming@lyx.org>
11641
11642         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11643
11644 2002-06-13  Angus Leeming  <leeming@lyx.org>
11645
11646         * LaTeX.C:
11647         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11648
11649 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11650
11651         * kbmap.C (getiso): add support for cyrillic and greek
11652
11653 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11654
11655         * BufferView.h:
11656         * BufferView.C:
11657         * BufferView_pimpl.h:
11658         * BufferView_pimpl.C: move bogus scrolling logic
11659           to xforms
11660
11661 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11662
11663         * lyxfunc.C:
11664         * BufferView_pimpl.C: view->resize() change
11665
11666 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11667
11668         * BufferView_pimpl.C: topCursorVisible
11669           prototype change
11670
11671 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11672
11673         * Makefile.am:
11674         * lyx_gui.h:
11675         * lyx_gui.C: move to frontends/
11676
11677         * main.C:
11678         * lyx_main.h:
11679         * lyx_main.C: changes from above
11680
11681 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11682
11683         * intl.C:
11684         * intl.h:
11685         * kbmap.C:
11686         * kbsequence.C:
11687         * lyx_cb.C:
11688         * lyx_main.C: minor tidy
11689
11690 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11691
11692         * BufferView_pimpl.h:
11693         * BufferView_pimpl.C:
11694         * BufferView.h:
11695         * BufferView.C: make painter() const,
11696           remove dead code
11697
11698         * BufferView2.C: use screen() accessor
11699
11700         * lyx_main.h:
11701         * lyx_main.C: some minor cleanup
11702
11703 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11704
11705         * BufferView_pimpl.h:
11706         * BufferView_pimpl.C: remove enter/leaveView,
11707           use workHeight()
11708
11709 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11710
11711         * BufferView.h:
11712         * BufferView.C:
11713         * BufferView2.C:
11714         * BufferView_pimpl.h:
11715         * BufferView_pimpl.C: only construct screen once,
11716           rename
11717
11718         * lyxrc.C: remove pointless comment
11719
11720 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11721
11722         * BufferView.h:
11723         * BufferView.C: remove active() and belowMouse()
11724
11725         * BufferView_pimpl.h:
11726         * BufferView_pimpl.C: use workarea() not workarea_,
11727           and make it use a scoped_ptr instead
11728
11729 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11730
11731         * lyx_gui.C: add debug message on BadWindow
11732
11733 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11734
11735         * sp_spell.C: fdopen is not part of the C++ standard.
11736
11737         * paragraph.C (InsetIterator): use >= instead of ==
11738
11739 2002-06-07  Angus Leeming  <leeming@lyx.org>
11740
11741         Fixes needed to compile with Compaq cxx 6.5.
11742         * BufferView_pimpl.C:
11743         * DepTable.C:
11744         * buffer.C:
11745         * converter.C:
11746         * encoding.C:
11747         * lyx_gui.C:
11748         * lyx_main.C:
11749         * lyxtextclasslist.C:
11750         * minibuffer.C:
11751         * sp_spell.C:
11752         * tabular_funcs.C:
11753         * vc-backend.C:
11754         all c-library variables have been moved into namespace std. Wrap
11755         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11756
11757         * lyxlength.C:
11758         * tabular-old.C:
11759         * tabular.C:
11760         Add a using std::abs declaration.
11761
11762         * kbmap.h (modifier_pair):
11763         * paragraph.h (InsetTable, InsetList):
11764         * lyxfont.h (FontBits):
11765         type definition made public.
11766
11767         * bufferlist.C (emergencyWriteAll): the compiler complains that
11768         there is more than one possible lyx::class_fun template to choose from.
11769         I re-named the void specialisation as lyx::void_class_fun.
11770
11771         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11772
11773         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11774         the compiler is is unable to find tostr in write_attribute.
11775
11776 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11777
11778         * buffer.C (sgmlError): hide #warning
11779
11780 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11781
11782         * xtl/*: get rid of xtl, which is not in use anyway
11783
11784         * LyXAction.C (init):
11785         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11786         were unimplemented xtl experimentation
11787
11788 2002-06-04  André Pönitz <poenitz@gmx.net>
11789
11790         * lyxfunc.C: disable array operation on simple formulae
11791
11792 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11793
11794         * converter.C: constify a bit
11795
11796 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11797
11798         * lyx_gui.C: check xforms version correctly
11799
11800 2002-04-30  Herbert Voss  <voss@lyx.org>
11801
11802         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11803         "keep" option
11804
11805 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11806
11807         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11808           attempt to register it with a VCS)
11809
11810 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11811
11812         * lyx_main.C (init): honor variables LYX_DIR_13x and
11813         LYX_USERDIR_13x
11814
11815 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11816
11817         * buffer.h:
11818         * buffer.C:
11819         * lyx_main.C: fix a crash on bad command line,
11820           and give a useful exit status on error
11821
11822         * lyxfunc.C (doImport): allow -i lyx to work
11823
11824 2002-03-30  André Pönitz <poenitz@gmx.net>
11825
11826         * lyxfunc.C: mathed font changes
11827
11828 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11829
11830         * LaTeX.C:
11831         * importer.h:
11832         * importer.C:
11833         * lyx_sty.h:
11834         * lyx_sty.C:
11835         * lyxlex.C:
11836         * lyxrow.h:
11837         * lyxtext.h:
11838         * paragraph.h:
11839         * paragraph.C:
11840         * texrow.h:
11841         * texrow.C:
11842         * text.C:
11843         * trans_mgr.h: srcdocs, and some minor cleanups
11844
11845 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11846
11847         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11848         call getFont all the time)
11849
11850 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11851
11852         * switch from SigC signals to boost::signals
11853
11854 2002-05-29  André Pönitz <poenitz@gmx.net>
11855
11856         * paragraph_pimpl.C (getChar): don't call size() too often...
11857
11858 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11859
11860         * paragraph_pimpl.C (insertChar): do not try to update tables when
11861         appending (pos == size())
11862
11863         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11864         in order to reduce drastically the number of comparisons needed to
11865         parse a large document
11866
11867 2002-05-29  André Pönitz <poenitz@gmx.net>
11868
11869         * text.C:
11870         * text2.C:
11871         * lyxtextclass.C:
11872         * sp_pspell.h:
11873         * textclasslist.[Ch]:
11874         * sp_ispell.h: whitespace change
11875
11876 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11877
11878         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11879         lyxaction directly now.
11880
11881 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11882
11883         * trans.C:
11884         * lyxfont.C:
11885         * lyxvc.C: remove unused headers
11886
11887 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11888
11889         * Makefile.am:
11890         * buffer.h:
11891         * undostack.h:
11892         * undostack.C:
11893         * undo_funcs.h:
11894         * undo_funcs.C: some cleanups. Use shared_ptr
11895           and a template for the undo stacks.
11896
11897 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11898
11899         * BufferView_pimpl.h:
11900         * BufferView_pimpl.C:
11901         * kbmap.h:
11902         * kbmap.C:
11903         * kbsequence.h:
11904         * kbsequence.C:
11905         * lyxfunc.h:
11906         * lyxfunc.C:
11907         * text2.C: use key_state/mouse_state
11908
11909 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11910
11911         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11912         and LSubstring
11913
11914         * chset.C: change include order
11915         (loadFile): use boost regex and get rid of LRegex and LSubstring
11916
11917         * Makefile.am (BOOST_LIBS): new variable
11918         (lyx_LDADD): use it
11919
11920         * LaTeX.C: change include order.
11921         (scanAuxFile): use boost regex and get rid of LRegex and
11922         LSubstring
11923         (deplog): ditto
11924
11925 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11926
11927         * ColorHandler.h:
11928         * ColorHandler.C:
11929         * FontInfo.h:
11930         * FontInfo.C: moved to frontends/xforms/
11931
11932         * FontLoader.h:
11933         * FontLoader.C: moved into frontends for GUIIzation
11934
11935         * Makefile.am:
11936         * lyx_gui.C:
11937         * lyxfont.C:
11938         * lyxfunc.C: changes from above
11939
11940 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11941
11942         * LColor.C: remove spurious X include
11943
11944         * BufferView_pimpl.C:
11945         * Makefile.am:
11946         * font.h:
11947         * font.C:
11948         * text.C:
11949         * text2.C: move font metrics to frontends/
11950
11951 2002-05-24  Juergen Vigna  <jug@sad.it>
11952
11953         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11954         setting the undo_cursor.
11955
11956         * ParagraphParameters.h: include local includes first.
11957
11958 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11959
11960         * BufferView_pimpl.C:
11961         * BufferView_pimpl.h:
11962         * Makefile.am:
11963         * WorkArea.h:
11964         * WorkArea.C:
11965         * screen.C: move WorkArea into frontends/
11966
11967         * lyxscreen.h:
11968         * screen.C:
11969         * text.C:
11970         * BufferView.C:
11971         * BufferView2.C: move LyXScreen into frontends/
11972
11973         * lyxlookup.h:
11974         * lyxlookup.C:
11975         * lyx_gui.C: move lyxlookup into frontends/xforms/
11976
11977 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11978
11979         * BufferView2.C:
11980         * BufferView_pimpl.C:
11981         * FontLoader.C:
11982         * LyXView.h:
11983         * LyXView.C:
11984         * Makefile.am:
11985         * WorkArea.C:
11986         * XFormsView.h:
11987         * XFormsView.C:
11988         * buffer.C:
11989         * bufferlist.C:
11990         * bufferview_funcs.C:
11991         * converter.C:
11992         * importer.C:
11993         * lyx_cb.C:
11994         * lyx_gui.C:
11995         * lyx_main.C:
11996         * lyx_find.C:
11997         * lyxfunc.C:
11998         * lyxvc.C:
11999         * minibuffer.C:
12000         * text.C:
12001         * text2.C:
12002         * trans.C:
12003         * vc-backend.C: move LyX/XFormsView into frontends/
12004
12005 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12006
12007         * Makefile.am:
12008         * PainterBase.C:
12009         * PainterBase.h:
12010         * Painter.C:
12011         * Painter.h:
12012         * WorkArea.C:
12013         * WorkArea.h:
12014         * screen.C:
12015         * tabular.C:
12016         * text.C:
12017         * text2.C: move Painter to frontends/
12018
12019 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12020
12021         * buffer.C: comment out some some code that depend upon lyx_format
12022         < 220
12023
12024         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12025         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12026
12027         * buffer.h (NO_COMPABILITY): turn off compability
12028
12029         * ColorHandler.C: include scoped_array.hpp
12030
12031         * font.C: Use more specific smart_ptr header.
12032         * Painter.C: ditto
12033         * gettext.C: ditto
12034         * ShareContainer.h: ditto
12035         * lyx_main.h: ditto
12036         * kbmap.h: ditto
12037         * FontInfo.h: ditto
12038         * BufferView_pimpl.h: ditto
12039         * ColorHandler.h: ditto
12040
12041         * kbmap.C (defkey): change call to shared_ptr::reset
12042
12043 2002-05-21  Juergen Vigna  <jug@sad.it>
12044
12045         * buffer.C (insertErtContents): fix to insert ert asis if it is
12046         non empty. Skip it completely if it contains only whitespaces.
12047
12048 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12049
12050         * BufferView_pimpl.C:
12051         * BufferView2.C: clear selection on paste (bug 393)
12052
12053 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12054
12055         * DepTable.C: include ctime
12056
12057 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12058
12059         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12060
12061 2002-05-14  Juergen Vigna  <jug@sad.it>
12062
12063         * text.C (breakParagraph): fixed function to honor the keepempty
12064         layout in the right maner and also to permit the right breaking
12065         algorithm on empty or non empyt keepempty paragraphs.
12066
12067         * paragraph.C (breakParagraph): we have to check also if the par
12068         is really empty (!size()) for isempty otherwise we do the wrong
12069         paragraph break.
12070
12071 2002-05-10  Juergen Vigna  <jug@sad.it>
12072
12073         * buffer.[Ch] : The following are only changes to the ert
12074         compatibility read reading old LaTeX layout and font stuff and
12075         convert it to ERTInsets.
12076
12077         * buffer.h: added isErtInset().
12078
12079         * buffer.C (struct ErtComp): add a fromlayout bool to check
12080         if we're inside a LaTeX layout.
12081         (isErtInset): new helper function.
12082         (insertErtContents): look for other ert insets before this one
12083         and insert the contents there, so that we don't have subsequent
12084         ERT insets with nothing between them. This way we create only one
12085         inset with multiple paragraphs. Also check if we don't insert only
12086         spaces ' ' as they are ignored anyway afterwards in the .tex file
12087         so if we have only spaces we will ignore this latex part in the
12088         new file.
12089         (parseSingleLyXformat2Token \\layout): better compatibility when
12090         reading layout-latex stuff.
12091         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12092         language tag.
12093         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12094         stuff after reading the inset only get the information back from
12095         the stack.
12096
12097 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12098
12099         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12100
12101         * LaTeXFeatures.C (getBabelOptions): New method.
12102
12103 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12104
12105         * BufferView_pimpl.C (Dispatch): work around missing argument for
12106         'layout'
12107
12108 2002-05-08  Juergen Vigna  <jug@sad.it>
12109
12110         * text.C (leftMargin): handle paragraph leftindent.
12111
12112         * paragraph.C (writeFile): write the new \\leftindent tag.
12113         (validate): handle leftindent code.
12114         (TeXEnvironment): handle paragraphleftindent code again.
12115
12116         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12117
12118         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12119         for paragrap_extra indent code and new token \\leftindent.
12120         (latexParagraphs): handle the leftindent as environment.
12121
12122         * ParameterStruct.h: added leftindent support.
12123
12124         * ParagraphParameters.C (leftIndent): added support functions for
12125         the paragraph left indent.
12126
12127         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12128         more appropriate.
12129
12130 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12131
12132         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12133         inside insetERT.
12134
12135         * text.C (computeBidiTables): No bidi in insetERT.
12136
12137         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12138         in RTL documents.
12139
12140 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12141
12142         * version.C.in: pre 5
12143
12144 2002-05-02  José Matos  <jamatos@fep.up.pt>
12145         * buffer.C (makeDocBookFile): white space changes, add newline to
12146         command styles.
12147         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12148
12149         * tabular.C (docBook): fix typo.
12150
12151 2002-05-03  Juergen Vigna  <jug@sad.it>
12152
12153         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12154         change in LyXText as we can not be sure it was not freed.
12155         (drawOneRow): remove unused code.
12156
12157         * text.C (drawInset): redo the calculation of the need_break_row as
12158         it could have a row which was already freed.
12159         (draw): look at the return value of drawInset and return false if
12160         it also returned false.
12161         (paintRowText): look at the return value of draw and return false if
12162         it also returned false.
12163
12164         * lyxtext.h: added bool return type to drawInset() and draw() so that
12165         if we have a change in the row so that the rowbreak has to be redone
12166         we abort drawing as it will be called again.
12167
12168 2002-05-02  Juergen Vigna  <jug@sad.it>
12169
12170         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12171         a change in the maintext also if we're inside an inset.
12172         (Dispatch): set the cursor again after a break line and after the
12173         screen has been updated as it could be we're in a different row.
12174
12175         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12176         to set the cursor behind the pargraph with > size().
12177         (setCursor): check also for the same paragraph when checking where
12178         to put the cursor if we have a NFR inset.
12179
12180         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12181         parts of layout read further up as it still was in the wrong
12182         position.
12183
12184 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12185
12186         * screen.C (drawFromTo): change sine fullRebreak always return
12187         true.
12188
12189         * buffer.C (parseSingleLyXformat2Token): reindent some
12190
12191         * BufferView_pimpl.C (update): change since fullRebreak always
12192         return true.
12193         (Dispatch): git rid of the last hardcoded "Standard"s.
12194
12195 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12196
12197         * text2.[Ch] (fullRebreak): make it return void now that we always
12198         returned true.
12199
12200 2002-04-30  Juergen Vigna  <jug@sad.it>
12201
12202         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12203         ert compatibility check for "latex" layout.
12204
12205 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12206
12207         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12208         minipages: use col% instead of p%, and also use the current font.
12209         (makeLaTeXFile): Fix use babel condition.
12210         (parseSingleLyXformat2Token): Correct font when reading old floats.
12211
12212 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12213
12214         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12215         inserting list of floats.
12216
12217 2002-04-25  Herbert Voss  <voss@lyx.org>
12218
12219         * MenuBackend.C (expand): don't add the graphics extensions to the
12220         export menu
12221
12222 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12223
12224         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12225         non-existing layout, do not complain if it was the default layout
12226         of the original class (bug #342)
12227
12228 2002-04-24  Juergen Vigna  <jug@sad.it>
12229
12230         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12231         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12232
12233 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12234
12235         * buffer.C (getBibkeyList): If using \bibliography, return the
12236         option field with the reference itself. Enables us to provide natbib
12237         support when using \bibliography.
12238
12239 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12240
12241         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12242
12243         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12244         natbib is provided by the LaTeX class.
12245
12246 2002-04-23  Juergen Vigna  <jug@sad.it>
12247
12248         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12249         Wakeup functions.
12250
12251         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12252
12253 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12254
12255         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12256
12257         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12258         ensuremath around textordmasculine, textordfeminine and
12259         textdegree.
12260
12261 2002-04-19  Juergen Vigna  <jug@sad.it>
12262
12263         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12264         reinitializing the buffer otherwise row-dimensions may be wrong.
12265         (update): reset also the selection cursors if they do exits otherwise
12266         their x/y positions may be wrong.
12267
12268         * text2.C (cursorDown): don't enter the inset if we came from a row
12269         above and are one row over the inset.
12270
12271         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12272         really leaving an inset.
12273
12274 2002-04-18  Juergen Vigna  <jug@sad.it>
12275
12276         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12277         of the selected paragraph does not have the selected layout also if
12278         the last one had!
12279
12280         * text2.C (setLayout): fixed bug which did not change last selected
12281         paragraph.
12282
12283         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12284         changed the read and substituted \\end_float with \\end_inset!
12285
12286         * BufferView_pimpl.C (cursorPrevious):
12287         (cursorNext): fixed to make it work with rows heigher than the work
12288         area without moving the cursor only the draw of the row.
12289         (workAreaMotionNotify): fix jumping over high rows.
12290
12291 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12292
12293         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12294         Ressler.
12295
12296 2002-04-16  Juergen Vigna  <jug@sad.it>
12297
12298         * text2.C (setCursor): set also the irow().
12299         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12300         (cursorUp):
12301         (cursorDown): support for locking an inset if the x_fix value goes
12302         inside it. That way I can transverse insets too with cursor up/down.
12303
12304         * lyxrow.h: added irow helper function same as other (i) functions.
12305
12306         * BufferView_pimpl.C (cursorPrevious):
12307         (cursorNext): fixed for insets!
12308
12309 2002-04-15  Juergen Vigna  <jug@sad.it>
12310
12311         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12312         position otherwise it is wrong in some cases.
12313
12314         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12315         inside the inset before the call.
12316
12317 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12318
12319         * buffer.[Ch] (getBibkeyList): make it const.
12320
12321 2002-04-12  Juergen Vigna  <jug@sad.it>
12322
12323         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12324
12325         * text2.C (getCursorX): new helper function
12326         (setCursor): compute also ix_
12327         (setCursorFromCoordinates): set also ix.
12328
12329         * lyxcursor.h: added ix_ and helper functions.
12330
12331         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12332
12333         * buffer.C (insertStringAsLines): dont break paragraph if the this
12334         paragraph is inside an inset which does not permit it!
12335
12336         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12337         also with no chars on this paragraph.
12338         (paintRowText): only paint stuff if it's inside the workarea!
12339
12340         * paragraph.C (breakParagraph): honor keepempty flag and break the
12341         paragraph always below not above.
12342
12343         * BufferView2.C (unlockInset): update the paragraph layout on inset
12344         unlock as we changed paragraph in such a case.
12345
12346         * lyxfind.C (LyXFind): clear the former selection if not found!
12347
12348         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12349         again called in insertChar().
12350
12351         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12352         an inset which uses the whole row!
12353         (rightMargin): ditto.
12354         (insertChar): force a rebreak if we inserted an inset!
12355
12356 2002-03-28  Herbert Voss  <voss@lyx.org>
12357
12358         * lyxlength.[Ch]: add inBP() to get the right PS-point
12359         units (BigPoint). With inPixels we have rounding errors
12360
12361 2002-04-11  Juergen Vigna  <jug@sad.it>
12362
12363         * text2.C (setCursorFromCoordinates): set iy to the right value.
12364         (setCursor): add check if row->previous exists!
12365
12366         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12367         an old float_type as this was the case in the old code!
12368
12369         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12370
12371         * BufferView2.C (showLockedInsetCursor): use iy
12372         (fitLockedInsetCursor): ditto
12373
12374         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12375         locked insets as there we have the right value now.
12376
12377         * lyxcursor.C: added iy_ variable and iy functions to set to the
12378         baseline of cursor-y of the locked inset.
12379
12380         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12381         (setCursor): fixed for insets which need a full row.
12382
12383         * text.C (rowLastPrintable): don't ignore the last space when before
12384         an inset which needs a full row.
12385         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12386         as last character of a row when before a inset which needs a full row.
12387
12388 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12389
12390         * version.C.in: update date
12391
12392         * text2.C (fullRebreak): try to always return true and see what
12393         happens...
12394
12395 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12396
12397         * MenuBackend.C (expand): use Floating::listName
12398
12399         * FloatList.C (FloatList): add listName argument to the built-in
12400         floats
12401
12402         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12403         text associated with the float.
12404
12405 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12406
12407         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12408
12409 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12410
12411         * ShareContainer.h: add a couple of missing typenames.
12412
12413 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12414
12415         * lyxrc.C (getDescription): use _() correctly rather than N_().
12416
12417 2002-03-28  Herbert Voss  <voss@lyx.org>
12418
12419         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12420         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12421
12422 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12423
12424         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12425         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12426
12427 2002-03-29  Juergen Vigna  <jug@sad.it>
12428
12429         * lyxfunc.C (dispatch): add a missing fitCursor call.
12430
12431         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12432         it was scrolled by a cursor move, so return the bool status.
12433
12434         * BufferView.C (fitCursor): return the bool flag also to the outside
12435         world as this is needed.
12436
12437         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12438
12439         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12440         call the edit() as it is not needed (and wrong) IMO.
12441         (workAreaButtonPress): set the screen_first variable before evt.
12442         unlock the inset as this may change screen_first and then we have
12443         a wrong y position for the click!
12444
12445 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12446
12447         * MenuBackend.C (expand): another translation that I missed
12448
12449 2002-03-28  Juergen Vigna  <jug@sad.it>
12450
12451         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12452
12453         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12454
12455 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12456
12457         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12458
12459         * MenuBackend.C (expand): fix export/view/update when there is no
12460         document open.
12461
12462 2002-03-27  Herbert Voss  <voss@lyx.org>
12463
12464         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12465         and text%
12466
12467 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12468
12469         * bufferview_funcs.C (currentState): only show paragraph number
12470         for is DEVEL_VERSION is set.
12471
12472         * lyxfunc.C (dispatch): put warning in INFO channel
12473
12474         * MenuBackend.C (expand): translate the name of floats
12475
12476         * FloatList.C (FloatList): mark the float names for translation
12477
12478         * converter.C (convert): use LibScriptSearch
12479
12480 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12481
12482         * MenuBackend.C (defaults): fix default menu (we might as well get
12483         rid of it...)
12484
12485 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12486
12487         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12488         directory.
12489
12490 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12491
12492         * lyxvc.C: reorder includes.
12493
12494 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12495
12496         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12497           properly
12498
12499 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12500
12501         * CutAndPaste.C: change layouts earlier on paste
12502           to avoid crashing when calling getFont()
12503
12504 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12505
12506         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12507         irritating #error.
12508
12509 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12510
12511         * WorkArea.C: remove 'Pending' debug message.
12512
12513         * most files: ws cleanup
12514
12515         * buffer.[Ch]: ws changes
12516
12517         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12518
12519 2002-03-21  Juergen Vigna  <jug@sad.it>
12520
12521         * tabular.C (SetMultiColumn): collapse also the contents of the
12522         cells and set the last border right. Added a Buffer const * param.
12523
12524 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12525
12526         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12527         linking or not.
12528
12529 2002-03-19  Juergen Vigna  <jug@sad.it>
12530
12531         * text2.C (clearSelection): reset also xsel_cache.
12532
12533         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12534         where it needs to be called (John tells us to do so too :)
12535         (selectionLost): reset sel_cache.
12536
12537         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12538
12539 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12540
12541         * text2.C (setCursorIntern): put debuging code in INSETS channel
12542
12543 2002-03-19  André Pönitz <poenitz@gmx.net>
12544
12545         * lyxfunc.C: tiny whitespace change
12546
12547 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12548
12549         * ToolbarDefaults.C (init):
12550         * LyXAction.C (init):
12551         * commandtags.h:
12552         * BufferView_pimpl.C (Dispatch):
12553         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12554
12555 2002-03-19  Allan Rae  <rae@lyx.org>
12556
12557         * exporter.C (Export): removeAutoInsets before doing anything else.
12558         While I've just introduced a dependency on BufferView this really is
12559         the best place to clean the buffer otherwise you need to cleanup in
12560         a dozen places before calling export or cleanup in a dozen functions
12561         that export calls.
12562
12563         * converter.C (runLaTeX):
12564         (scanLog): Better handling of removeAutoInsets and screen updates.
12565
12566         * lyxfunc.C (dispatch): small whitespace changes
12567
12568 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12569
12570         * WorkArea.C (C_WorkAreaEvent): return a value.
12571         (event_cb): return 1 if we handled the event, 0 otherwise.
12572
12573         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12574
12575 2002-03-18  Juergen Vigna  <jug@sad.it>
12576
12577         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12578         (GetAdditionalWidth): ditto.
12579         (RightLine): ditto.
12580         (LeftLine): ditto.
12581
12582         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12583         inset if we're there actually (probably not used right now but this
12584         is the direction to go for unifying code).
12585         (paste): disable code to clear the selection.
12586
12587         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12588         inside an InsetText and move the check further up as it is in the
12589         wrong place.
12590
12591         * text2.C (pasteSelection): set a selection over the pasted text.
12592
12593 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12594
12595         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12596         and libgraphics to build on Cygwin.
12597
12598 2002-03-15  Juergen Vigna  <jug@sad.it>
12599
12600         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12601         inserting an Inset into the paragraph. I know this is not the best
12602         fix but we already use current_view in CutAndPaste so we will remove
12603         all of it's using at the same time.
12604
12605         * buffer.C (sgmlError): deactivated function till it is rewritten in
12606         the right mode, now it can create problems.
12607
12608         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12609         before accessing it.
12610
12611 2002-03-14  Juergen Vigna  <jug@sad.it>
12612
12613         * undo_funcs.C (textHandleUndo): do the right thing when updating
12614         the inset after the undo/redo.
12615
12616         * text2.C (setCursor): just some testcode for #44 not ready yet.
12617
12618         * undo_funcs.C (textHandleUndo): set the next() and previous()
12619         pointers of the paragraph to 0 before deleting otherwise we have
12620         problems with the Paragraph::[destructor].
12621
12622         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12623         on a paragraph insertion.
12624
12625 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12626
12627         * buffer.C (asciiParagraph): use += operator for char append to
12628         string.
12629
12630         * paragraph.C (getFontSettings): compare >= not just >
12631         (highestFontInRange): ditto
12632         (setFont): ditto
12633
12634 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12635
12636         * paragraph.C: change several algorithm to be more appripriate for
12637         the problem domain. This is lookip in FontList and in the InsetList.
12638
12639 2002-03-13  André Pönitz <poenitz@gmx.net>
12640
12641         * commandtags.h:
12642         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12643
12644 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12645
12646         * commandtags.h:
12647         * LyXAction.C:
12648         * lyxfunc.C:
12649         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12650
12651 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12652
12653         * Painter.C (display): anon helper function, adjust code for this
12654         change.
12655         (pixmap): remove function.
12656
12657         * Painter.h: remove private display variable.
12658
12659         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12660
12661 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12662
12663         * WorkArea.[Ch]: remove figinset_canvas cruft.
12664
12665 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12666
12667         * lyxtextclass.C (operator): add one item cache optimization.
12668
12669         * bufferlist.h: doxy changes
12670
12671         * bufferlist.C: ws changes
12672
12673         * DepTable.[Ch] (ext_exist): place const in the right spot.
12674
12675         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12676         call resizeInsets.
12677         (workAreaExpose): call resizeInsets when the with BufferView changes.
12678         (Dispatch): adjust for protectedBlank removal
12679         (specialChar): call updateInset if the insert went ok.
12680
12681         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12682         specialChar instead.
12683
12684         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12685
12686         * BufferView.h: doxy change
12687
12688         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12689
12690         * lyxtextclass.C (operator[]): remove non-const version
12691         (defaultLayout): remove non-const version
12692
12693 2002-03-12  Juergen Vigna  <jug@sad.it>
12694
12695         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12696         did resize the LyXText too.
12697
12698         * buffer.C (readLyXformat2): set layout information on newly allocated
12699         paragraphs.
12700
12701         * tabular.C (OldFormatRead): set layout information on the paragraph.
12702
12703 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12704
12705         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12706
12707 2002-03-11  Juergen Vigna  <jug@sad.it>
12708
12709         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12710         plainly wrong.
12711         (resizeCurrentBuffer): force also the insets to resize themselfes.
12712         (moveCursorUpdate): fixed up for InsetText.
12713
12714 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12715
12716         * commandtags.h:
12717         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12718         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12719         value of Dialogs::tooltipsEnabled().
12720         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12721
12722 2002-03-08  Juergen Vigna  <jug@sad.it>
12723
12724         * BufferView_pimpl.C (updateInset): update inset inside inset also
12725         if it isn't inside theLockingInset().
12726
12727 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12728
12729         * buffer.C (asciiParagraph): redo some of the word and line length
12730         handling.
12731         (getLists): look for Caption instead of caption.
12732
12733 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12734
12735         * buffer.C (Buffer): initialize niceFile to true
12736         (makeLaTeXFile):
12737         (makeLinuxDocFile):
12738         (makeDocBookFile): make sure niceFile is true on exit
12739
12740 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12741
12742         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12743
12744 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12745
12746         * LyXSendto.C: remove.
12747         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12748         * lyx_gui.C: remove now-redundant comment.
12749         * ColorHandler.h: remove forward declaration of class WorkArea.
12750         * lyxfunc.C: remove #include "WorkArea.h".
12751
12752 2002-03-07  Juergen Vigna  <jug@sad.it>
12753
12754         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12755         got moved away with the DEPM and also set the inset_owner always
12756         right which before could have been omitted.
12757
12758 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12759
12760         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12761         wanted layout is not found.
12762
12763 2002-03-07  Juergen Vigna  <jug@sad.it>
12764
12765         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12766
12767 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12768
12769         * paragraph.C (breakParagraph): use default layout not layout of
12770         prev paragraph.
12771         (Paragraph): clear ParagraphParameters.
12772
12773 2002-03-06  Juergen Vigna  <jug@sad.it>
12774
12775         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12776         otherwise it would not be a valid lenght. Fixed a special case in
12777         the minipage compatibility read where we end the document with a
12778         minipage.
12779
12780         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12781         was set as it could be 0 for InsetTexts first entry.
12782
12783 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12784
12785         * paragraph.C (writeFile): if layout is empty write out
12786         defaultLayoutName().
12787
12788         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12789         file without named layout we set layout to defaultLayoutName().
12790
12791 2002-03-06  Juergen Vigna  <jug@sad.it>
12792
12793         * CutAndPaste.C (copySelection): set layout for new paragraph.
12794
12795         * text.C (prepareToPrint): leave ERT inset left aligned
12796         (leftMargin): don't indent paragraphs inside ERT insets
12797
12798 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12799
12800         * paragraph.C (breakParagraph): dont call clear do the work manually
12801
12802         * paragraph.[Ch] (clear): remove function
12803
12804 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12805
12806         * paragraph.C (Paragraph): dont call clear, the work has already
12807         been done.
12808
12809         * lyxtextclass.C (operator): assert if n is empty
12810
12811         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12812         work manually instead.
12813
12814 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12815
12816         * BufferView_pimpl.C: protect selectionLost against text == 0
12817
12818 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12819
12820         * text.C (breakParagraph): fix a setting layout to '0' problem.
12821
12822 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12823
12824         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12825         final location of file, for the included files, and graphics.
12826
12827 2002-03-05  Juergen Vigna  <jug@sad.it>
12828
12829         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12830
12831 2002-03-04  Juergen Vigna  <jug@sad.it>
12832
12833         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12834
12835         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12836         last column of multicolumn cells.
12837         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12838
12839 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12840
12841         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12842         file if it doesn't go to a temporary file.
12843
12844         * buffer.C (sgmlOpenTag):
12845         (sgmlCloseTag):  remove extra newline insertion.
12846
12847 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12848
12849         * text.C (getRowNearY): comment out debug msg
12850
12851 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12852
12853         * text2.C: first -> first_y
12854
12855         * text.C (getRowNearY): add some attemts at a possible
12856         optimization, not working.
12857
12858         * tabular.[Ch]: add BufferParams to several function so that newly
12859         created paragraph can be initialized to he default layotu for the
12860         buffers textclass.
12861
12862         * tabular-old.C (ReadOld): add buf->params to call of Init
12863
12864         * screen.C: rename text->first to text->first_y
12865
12866         * paragraph.C (breakParagraph): always set layout in the broken
12867         paragraph
12868
12869         * lyxtextclass.C (Read): remove lowercase
12870         (hasLayout): ditto
12871         (operator): ditto
12872         (delete_layout): ditto
12873
12874         * lyxtext.h: rename first -> first_y
12875
12876         * lyxlayout.C (Read): remove lowercase
12877         (name): ditto
12878         (setName): ditto
12879         (obsoleted_by): ditto
12880
12881         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12882
12883         * buffer.C (insertErtContents): add params are to InsetERT
12884         (parseSingleLyXformat2Token): add code to check if a paragraphs
12885         layout really exist.
12886         (parseSingleLyXformat2Token): add params to several inset
12887         constructors
12888         (asciiParagraph): remove lowercase, do the layout comparisons with
12889         no_case
12890
12891         * BufferView_pimpl.C (cursorNext): first -> first_y
12892         (resizeCurrentBuffer): first -> first_y
12893         (updateScrollbar): first -> first_y
12894         (scrollCB): first -> first_y
12895         (workAreaMotionNotify): first -> first_y
12896         (workAreaButtonPress): first -> first_y
12897         (checkInsetHit): first -> first_y
12898         (cursorPrevious): first -> first_y
12899         (cursorNext): first -> first_y
12900         (Dispatch): add buffer_->params to severl inset contructors
12901
12902 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12903
12904         * lyxlayout.C (Read): remove some debug info that I forgot.
12905
12906         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12907         clean up the code slightly.
12908         (makeLinuxDocFile): ditto
12909         (makeDocBookFile): ditto
12910
12911         * text2.C: layout as string
12912
12913         * text.C: layout as string
12914
12915         * paragraph_pimpl.C: layout as string
12916
12917         * paragraph.[Ch]: layout as string
12918
12919         * lyxtextclasslist.[Ch]: layout as string
12920
12921         * lyxtextclass.[Ch]: layout as string
12922
12923         * lyxtext.h: layout as string
12924
12925         * lyxlayout.[Ch]: layout as string
12926
12927         * lyx_cb.C: layout as string
12928
12929         * bufferview_funcs.C: layout as string
12930
12931         * bufferparams.C: layout as string
12932
12933         * buffer.C: layout as string
12934
12935         * LyXView.[Ch]: layout as string
12936
12937         * LaTeXFeatures.[Ch]: layout as string
12938
12939         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12940
12941         * BufferView_pimpl.C: change current_layout to string, remove
12942         lyx::layout_type.
12943         (Dispatch):
12944         (smartQuote):
12945         (insertInset):
12946         (workAreaButtonRelease): layout as string
12947
12948         * BufferView2.C (unlockInset): adjust
12949
12950         * vspace.C (asLatexCommand): use an explict temp variable.
12951
12952 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12953
12954         * Makefile.am: use FRONTEND_*
12955
12956 2002-03-01  Juergen Vigna  <jug@sad.it>
12957
12958         * tabular.C (SetWidthOfMulticolCell): changed to something better
12959         I hope but still work in progress.
12960         (recalculateMulticolumnsOfColumn): renamed function from
12961         recalculateMulticolCells as it is more appropriate now.
12962         (SetWidthOfCell): calculate multicols better.
12963
12964 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12965
12966         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12967
12968         * lyxfunc.C (processKeySym): print sequence also if it is
12969         `deleted' (complete)
12970
12971         * kbsequence.C (print): print sequence even if it is deleted
12972         (complete would be a better word, actually).
12973
12974         * lyxfunc.C (dispatch): print complete options after a prefix key
12975
12976         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12977
12978 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12979
12980         * text2.C (setCharFont): eliminate setCharFont code duplication.
12981
12982 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12983
12984         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12985         LFUN_TABULAR_FEATURE (bug #177)
12986
12987 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12988
12989         * Makefile.am: remove figure.h
12990
12991 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12992
12993         * Bufferview_pimpl.C:
12994         * CutAndPasteC:
12995         * LaTeX.C:
12996         * LyXSendto.C:
12997         * buffer.C:
12998         * bufferlist.C:
12999         * converter.C:
13000         * language.C:
13001         * lyxfunc.C:
13002         * lyxvc.C:
13003         * paragraph.C:
13004         * text.C:
13005         * text2.C: remove #include "lyx_gui_misc.h".
13006
13007         * LaTeX.C: added #include <cstdio>
13008
13009 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13010
13011         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13012         that the paragraph following this one can have.
13013
13014         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13015
13016         * vspace.C (asLatexCommand): fix bogus gcc warning
13017
13018         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13019
13020 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13021
13022         * text2.C (setLayout): get rid of redundant code
13023
13024 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13025
13026         * text2.C (incDepth): make sure depth cannot be increased beyond
13027         reasonable values.
13028
13029 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13030
13031         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13032         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13033
13034         * PainterBase.h (image):
13035         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13036         a LyXImage const *.
13037
13038 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13039
13040         * BufferView.C:
13041         * BufferView.h:
13042         * BufferView_pimpl.C:
13043         * BufferView_pimpl.h:
13044         * LaTeXFeatures.C:
13045         * LyXAction.C:
13046         * LyXView.C:
13047         * Makefile.am:
13048         * UpdateList.h:
13049         * UpdateList.C:
13050         * buffer.C:
13051         * figure.h:
13052         * figureForm.C:
13053         * figureForm.h:
13054         * figure_form.C:
13055         * figure_form.h:
13056         * lyx_cb.C:
13057         * lyx_gui.C:
13058         * lyx_gui_misc.C:
13059         * lyxfunc.C:
13060         * sp_base.h:
13061         * sp_ispell.h:
13062         * sp_pspell.h:
13063         * sp_spell.C: remove fig inset, and the crap house of
13064           cards that follows it
13065
13066 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13067
13068         * Makefile.am:
13069         * lyxserver.C:
13070         * os2_defines.h:
13071         * os2_errortable.h:
13072         * nt_defines.h: move .h into support/
13073
13074         * vms_defines.h: remove
13075
13076         * WorkArea.C: add space in debug output
13077
13078         * text2.C:
13079         * paragraph.C:
13080         * buffer.C: add WITH_WARNINGS
13081
13082         * vc-backend.h:
13083         * vc-backend.C:
13084         * bufferlist.C: s/retrive/retrieve/, add docs
13085
13086         * vspace.h:
13087         * vspace.C:
13088         * kbmap.h:
13089         * lyxlength.h:
13090         * lyxgluelength.h:
13091         * length_common.h:
13092         * chset.h:
13093         * chset.C: add docs
13094
13095         * lyxgui.C: add ID to X error handler
13096
13097         * lyxtestclass.c: fix typo
13098
13099 2002-02-26  Juergen Vigna  <jug@sad.it>
13100
13101         * tabular_funcs.C (write_attribute): changed so that some default
13102         attributes are not written at all.
13103         (getTokenValue): set default values before trying to read the
13104         value so we have the return value always set as default if we don't
13105         find the token we search for.
13106
13107         * tabular.C (Write): write bools as bools not as strings!
13108
13109 2002-02-22  Juergen Vigna  <jug@sad.it>
13110
13111         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13112         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13113
13114         * text.C (leftMargin): don't add an indent for paragraphs inside
13115         tabular cells (fix #208).
13116
13117 2002-02-21  José Matos  <jamatos@fep.up.pt>
13118
13119         * tabular.C (docBook): fixed support for long tables.
13120
13121 2002-02-20  Juergen Vigna  <jug@sad.it>
13122
13123         * text2.C (getFont): get the drawing font of the Inset if this
13124         paragraph is inside an inset (only important for InsetERT for now).
13125
13126         * buffer.C (insertErtContents): use new lanugage params in ERT
13127         constructor.
13128
13129         * CutAndPaste.C: commenting out seemingly uneeded code.
13130
13131 2002-02-19  Allan Rae  <rae@lyx.org>
13132
13133         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13134         Iterators might be simple to use but they also get invalidated.
13135         (removeAutoInsets): renamed saved cursor tracking variables and added
13136         some comments to clarify what everything does.
13137
13138 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13139
13140         * Chktex.C:
13141         * LaTeX.C:
13142         * LyXSendto.C:
13143         * converter.C:
13144         * lyx_cb.C:
13145         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13146         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13147
13148         * lyxfunc.C:
13149         * vc-backend.h: remove #include "support/syscall.h"
13150
13151         * LaTeX.C:
13152         * LyXSendto.C:
13153         * converter.C: rearrange #includes in Lars' approved fashion.
13154
13155         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13156         forward declare class Timeout in the header file.
13157
13158         * XFormsView.C: changes due to the above.
13159
13160         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13161         similar to LyXView.
13162
13163         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13164         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13165
13166 2002-02-18  José Matos  <jamatos@fep.up.pt>
13167
13168         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13169         insets contents.
13170
13171 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13172
13173         * a lot of small ws changes
13174         * add a lot of using std::XXX
13175         * use std construcs some places where approp.
13176         * use some exisint stuff from lyxfunctional where approp.
13177         * Make file changes to use partial linking (lets test this now...)
13178
13179 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13180
13181         * Chktex.C:
13182         * buffer.C:
13183         remove #include "support/syscontr.h" as it's redundant. Always has been.
13184
13185         * Chktex.C:
13186         * LaTeX.C:
13187         * LyXSendto.C:
13188         * converter.C:
13189         * lyx_cb.C:
13190         * vc-backend.C:
13191         change Systemcalls::System to Systemcalls::Wait and
13192         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13193         No change of functionality, just reflects the stripped down Systemcalls
13194         class.
13195
13196 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13197
13198         * debug.[Ch]: add a GRAPHICS type to the enum.
13199
13200 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13201
13202         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13203
13204         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13205         there is an inset.
13206
13207 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13208
13209         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13210         match the changes below.
13211
13212         * text2.C (toggleInset): if there is not editable inset at cursor
13213         position, try to see if cursor is _inside_ a collapsable inset
13214         and close it.
13215
13216 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13217
13218         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13219         document menu has a nice checkbox
13220
13221 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13222
13223         * lyxlength.C (asLatexString): change PW to output as percent of
13224         \textwidth.
13225
13226         * lengthcommon.C: change '%' to 't%'
13227
13228         * lyxfunc.C (dispatch): a few comments from Martin
13229
13230 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13231
13232         * WorkArea.h:
13233         * WorkArea.C:
13234         * BufferView_pimpl.h:
13235         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13236           the X selection.
13237
13238 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13239
13240         * vspace.C (inPixels): fix compiler warning
13241
13242 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13243
13244         * lyxfunc.C (getStatus): fix status message for disabled commands.
13245
13246 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13247
13248         * BufferView_pimpl.C: fix crash on close buffer
13249         during selection (#227)
13250
13251 2002-01-27  Herbert Voss  <voss@lyx.org>
13252
13253         * buffer.C: link old Figure to new graphic inset
13254
13255 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13256
13257         * FontLoader.C (getFontinfo): Change the latex font names in order
13258         to match the names of type1inst.
13259
13260 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13261
13262         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13263
13264         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13265         (extchanged): ditto
13266         (ext_exist): ditto
13267         (remove_files_with_extension): ditto
13268         (remove_file): ditto
13269         (write): ditto
13270
13271         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13272         document is smaller than the work area height. Do not initialize
13273         static variables to 0.
13274
13275 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13276
13277         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13278
13279         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13280         LFUN_LAYOUT_PARAGRAPHS.
13281
13282         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13283         tabular. It is possible to provide a possible cell, which will
13284         typically be the actcell from the corresponding insettabular
13285
13286         * lyxfunc.C (getStatus): small cleanup; disable
13287         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13288         true
13289
13290 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13291
13292         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13293
13294         * paragraph.C (startTeXParParams):
13295         (endTeXParParams): new methods. The LaTeX code to
13296         start/end paragraph formatting
13297         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13298         empty (fixes bug #200)
13299
13300         * vspace.C (inPixels): adapt to the change below
13301         (inPixels): [later] more cleanups (remove unused variables)
13302
13303         * lyxlength.C (inPixels): change to use a width and a height as
13304         parameter.
13305
13306 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13307
13308         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13309         Replaced with \paperwidth
13310
13311         * DepTable.C (insert): add std:: qualifier
13312
13313 2002-01-18  Allan Rae  <rae@lyx.org>
13314
13315         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13316         updated also?
13317
13318         * text.C (drawInset): Turned out I didn't know enough about how
13319         rebreaking worked.  This fixes most of the redraw problems.  I see
13320         an occasional cursor trail when a line is broken now and the cursor
13321         placement can seem out by a few pixels also after a rebreak.
13322
13323 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13324
13325         * buffer.C (parseSingleLyXformat2Token): update because minipage
13326         width is now a LyXLength
13327
13328         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13329
13330         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13331         math insets
13332
13333 2002-01-17  Juergen Vigna  <jug@sad.it>
13334
13335         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13336
13337         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13338         is set correctly and the inset is updated correctly.
13339
13340 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13341
13342         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13343         the beginning of the loop.
13344
13345 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13346
13347         * lyxrc.C: improve help for use_scalable_fonts
13348
13349 2002-01-17  Allan Rae  <rae@lyx.org>
13350
13351         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13352
13353 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13354
13355         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13356         make sure to set their inset_owner to the right value (bug #171)
13357
13358 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13359
13360         * DepTable.h
13361         * DepTable.C: Implement mtime checking to reduce time spent doing
13362         CRCs.
13363
13364 2002-01-16  Juergen Vigna  <jug@sad.it>
13365
13366         * tabular.C (GetAdditionalHeight): one of error fixed.
13367
13368         * lyxrc.C (output): small fix in writing use_pspell.
13369
13370 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13371
13372         * sp_base.h: #include LString.h
13373
13374 2002-01-16  Allan Rae  <rae@lyx.org>
13375
13376         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13377         Can someone check this please?
13378
13379         * text.C (drawInset): It was possible that p.row would be removed by
13380         breakAgainOneRow upsetting a few other settings.  There may be another
13381         small tweak possible by setting need_break_row = 0 when p.row has been
13382         removed but I don't know enough about the logic here.
13383
13384 2002-01-15  Allan Rae  <rae@lyx.org>
13385
13386         * text.C (insertChar): removed conditional truism.
13387
13388         * BufferView2.C (removeAutoInsets): More tweaks.
13389         cur_par_prev could be a stray pointer.  Check for trailing empty line
13390         in case last line was cur_par and only had an error inset on it.
13391
13392 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13393
13394         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13395         absolute
13396
13397         * vc-backend.C (most methods):
13398         * exporter.C (Export):
13399         * converter.C (convert):
13400         (runLaTeX):
13401         * LyXSendto.C (SendtoApplyCB):
13402         * lyxfunc.C (dispatch):
13403         (menuNew):
13404         (open):
13405         (doImport):
13406         * lyx_cb.C (AutoSave):
13407         (InsertAsciiFile):
13408         * BufferView_pimpl.C (MenuInsertLyXFile):
13409         * buffer.C (runChktex): use Buffer::filePath().
13410
13411         * buffer.h: rename filename to filename_; rename filepath to
13412         filepath_ and make it private
13413         (filePath): new method
13414
13415         * buffer.C (writeFile): use fileName()
13416         (getLatexName):
13417
13418         * lyx_main.C (init): fix starting  of LyX when the binary is a
13419         link from so,ewhere else.
13420
13421         * minibuffer.C: include <cctype> for isprint
13422
13423 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13424
13425         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13426         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13427         name clash with InsetCollapsable's width function.
13428
13429 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13430
13431         * lastfiles.C: include <iterator>
13432
13433 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13434
13435         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13436         std::count.
13437
13438         * buffer.C (makeLaTeXFile): ditto.
13439         Also make loop operation more transparent.
13440
13441 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13442
13443         * ToolbarDefaults.C: remove trailing comma closing namespace.
13444
13445         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13446
13447         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13448         as in WorkArea.
13449
13450         * trans.C (Load): comment out unused variable, allowed.
13451
13452 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13453
13454         * minibuffer.[Ch] (append_char): new method to recieve input from the
13455         drop-down completion browser. If a key was pressed, then recieve this
13456         char and append it to the existing string.
13457         (peek_event): modify the positioning data passed to the completion
13458         browser so that it can be placed above the minibuffer rather than below.
13459 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13460
13461         * LyXAction.C (init): alloe error-next for readonly documents.
13462
13463         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13464         count.
13465
13466 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13467
13468         * bufferlist.C (readFile): create the buffer _after_ checking that
13469         the file exists.
13470
13471         * lyxfunc.C (verboseDispatch): fix handling of arguments
13472
13473         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13474
13475         * lyxrc.C: use string::erase() instead of initializing to "".
13476
13477
13478 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13479
13480         * BufferView_pimpl.h:
13481         * BufferView_pimpl.C:
13482         * WorkArea.h:
13483         * WorkArea.C:
13484         * text2.C: tell X when we have made a selection for copying
13485
13486 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13487
13488         * BufferView_pimpl.C (MenuInsertLyXFile):
13489         * lyxfunc.C (menuNew):
13490         (open):
13491         (doImport): add shortcuts to directory buttons
13492
13493         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13494         open a float)
13495
13496         * lyxfunc.C (setStatusMessage):
13497         (getStatusMessage): new methods
13498         (getStatus):use setStatusMessage instead of setErrorMessage
13499         (dispatch): when function is disabled, set error message here
13500         [instead of in getStatus previously]
13501
13502         * BufferView_pimpl.C (workAreaButtonRelease): update
13503         toolbar/menubar here too.
13504
13505 2002-01-13  Allan Rae  <rae@lyx.org>
13506
13507         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13508         Now seems indestructible.  Remaining task is to audit all other
13509         code affected by deleteEmptyParagraphMechanism.  One small quirk
13510         left is that an empty document with an error in the preamble can
13511         be made to report an error but no error box appears.  I don't know
13512         where it goes.
13513         (removeAutoInsets): Improved comments.
13514
13515 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13516
13517         * Thesaurus.h:
13518         * Thesaurus.C: update for Aiksaurus 0.14
13519
13520 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13521
13522         * text2.C (firstParagraph): removed member function, all uses
13523         replaces with ownerParagraph
13524         (redoParagraphs): here
13525         (updateInset): here
13526         (toggleAppendix): here
13527         * BufferView2.C (insertErrors): here
13528         (setCursorFromRow): here
13529
13530 2002-01-13  Allan Rae  <rae@lyx.org>
13531
13532         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13533         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13534         There is still a way to segfault this although you may have to do this
13535         multiple times: Have an InsetERT with an unknown command in it.
13536         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13537         <down-arrow>, <Enter> again, View->DVI, BANG!
13538
13539         * text2.C (setCursor):
13540         (deleteEmptyParagraphMechanism):
13541         * lyxtext.h (setCursor):
13542         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13543         Making use of the return value may help fix other bugs.
13544
13545 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13546
13547         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13548
13549         * LyXView.C (updateMenubar): call MenuBar::update here
13550         (updateToolbar): but not here
13551         (showState): do not update toolbar/menubar
13552
13553         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13554         should need to care about that.
13555
13556         * lyxfunc.C (verboseDispatch): simplify a bit
13557         (getStatus): have a version which takes a pseudoaction, and
13558         another which requires a (kb_action,string).
13559
13560         * LyXAction.C (retrieveActionArg): make it work also when action
13561         is not a pseudo-action.
13562         (getActionName): simplify a bit
13563         (helpText):
13564
13565 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13566
13567         * lyxfunc.C (verboseDispatch): new families of methods with
13568         several ways to specify a command and a bool to indicate whether
13569         the command name and shortcut should be displayed in minibuffer
13570         (eventually, we could extend that to a finer bitmask like
13571         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13572         (dispatch): the pristine dispatch command which just, well,
13573         dispatchs! Note it still sets its result to minibuffer; I'm not
13574         sure we want that.
13575
13576         * lyxfunc.h: remove setHintMessage
13577
13578         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13579
13580 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13581
13582         * BufferView_pimpl.C (specialChar): delete new inset if we have
13583         not been able to insert it.
13584
13585         * kbmap.C: revert to using int instead of kb_action, since all we
13586         are dealing with is pseudo-actions.
13587
13588         * LyXAction.C (searchActionArg): change to return int instead of
13589         kb_action, since the result is a pseudoaction.
13590
13591 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13592
13593         * buffer.C (insertErtContents): Fix (partially) the font bug.
13594
13595 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13596
13597         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13598         as the other one is broken on my machine!
13599
13600 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13601
13602         * commandtags.h:
13603         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13604
13605 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13606
13607         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13608         reflect their actual use. Provide compatibility code for older lyxrc
13609         files.
13610
13611         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13612         FL_NORMAL_STYLE.
13613         change names of popup font variables in line with the changes to lyxrc.C
13614
13615 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13616
13617         * buffer.C (asciiParagraph): avoid outputing a word twice after
13618         an inset.
13619
13620         * lyxrc.C (getDescription): document that document_path and
13621         template_path can be empty.
13622
13623 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13624
13625         * LaTeXFeatures.C (getMacros):
13626         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13627
13628         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13629
13630         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13631         getPackages.
13632         (getPackages): rename feature "floats" to "float". Use an array to
13633         iterate over 'simple' features (i.e. just a \usepackage). Add
13634         handling of "amsmath" (renamed from "amsstyle").
13635
13636 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13637
13638         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13639         features list.
13640
13641 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13642
13643         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13644         FuncStaus::FuncStatus & FuncStaus::some_method().
13645
13646 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13647
13648         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13649         of the func_satus stuff. Edited and massaged in various ways by
13650         JMarc.
13651
13652         * lyxfunc.C (getStatus): use FuncStatus
13653
13654 2002-01-08  Juergen Vigna  <jug@sad.it>
13655
13656         * text.C (nextBreakPoint): use function Inset::isChar().
13657
13658         * paragraph.C (TeXOnePar): use function
13659         Inset::forceDefaultParagraphs.
13660
13661         * buffer.C (latexParagraphs): use function
13662         Inset::forceDefaultParagraphs.
13663
13664 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13665
13666         * lyx_gui.C (init): set the style of the menu popups to
13667         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13668
13669 2002-01-07  Juergen Vigna  <jug@sad.it>
13670
13671         * text.C (setHeightOfRow): small fix
13672         (prepareToPrint): don't look at alignment if we don't have the place
13673         for doing it.
13674
13675 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13676
13677         * box.C: New file. Move the Box methods and functions out of box.h,
13678         following Lars' suggestion.
13679
13680 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13681
13682         * box.h: #include "support/LOstream.h", needed for inlined function.
13683
13684         * lyxtextclass.C:
13685         * lyxtextclasslist.C: added some using std declarations.
13686
13687 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13688
13689         * box.h: make signed dimensions to allow insets wider than
13690           the screen (bug #162)
13691
13692         * BufferView_pimpl.C: add some insetHit debug
13693
13694 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13695
13696         * vc-backend.C: add FIXME
13697
13698 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13699
13700         * lyxfunc.C (getStatus): enable code for showing math font status
13701         in toolbar/menu.
13702
13703 2002-01-07  Juergen Vigna  <jug@sad.it>
13704
13705         * text.C (nextBreakPoint): removed debug output not needed anymore.
13706
13707 2002-01-06  Juergen Vigna  <jug@sad.it>
13708
13709         * text.C (nextBreakPoint): fixed up this function we had this bug
13710         since ever but now hopefully we break row better.
13711         (insertChar): we have to check if an inset is the next char as it
13712         could now happen that a large inset is causing a break.
13713
13714 2002-01-05  Juergen Vigna  <jug@sad.it>
13715
13716         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13717         if it doesn't like to be drawed.
13718
13719 2002-01-04  Juergen Vigna  <jug@sad.it>
13720
13721         * BufferView2.C (lockInset): forgot to set a cursor.
13722
13723         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13724
13725 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13726
13727         * FormMathsPanel.C:
13728         * FormMathsPanel.h
13729         * MathsSymbols.C:
13730         * form_maths_panel.C:
13731         * form_maths_panel.h:
13732         * form_maths_panel.fd: implemented sub- and super- buttons in math
13733         panel.
13734
13735         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13736         (or ^ space) to be used as in TeX (req'd by André).
13737
13738         * lyxfunc.C: Allow ^ and _ again to be used both as
13739         super/subscript (mathed) and as themselves (in text).
13740
13741 2002-01-03  Allan Rae  <rae@lyx.org>
13742
13743         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13744         "LyX" or the filename of the current buffer if it has one.  This is a
13745         modified form of John Levon's patch.
13746
13747         * XFormsView.C (setWindowTitle): also set icon title.
13748
13749         * LyXView.h (setWindowTitle): signature changed.
13750         * XFormsView.h (setWindowTitle): ditto.
13751
13752 2002-01-02  Juergen Vigna  <jug@sad.it>
13753
13754         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13755
13756 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13757
13758         * screen.C (topCursorVisible): introduce a temp var for
13759         text->cursor.row(), handle the case where this row is null. (kindo
13760         hachish)
13761
13762         * text2.C (setCursor): add a couple of asserts.
13763
13764         * paragraph.h (inset_iterator): add -> operator
13765
13766         * paragraph.[Ch] (autoDeleteInsets): remove member function
13767
13768         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13769         cursor pos correctly and handle inset deletion by itself.
13770         (insertErrors): move iterator declaration out of for expression
13771
13772         * lyxtextclass.C: add <algorithm>
13773
13774         * Makefile.am: added the new files to sources, removed layout.C
13775
13776         * layout.C: removed file
13777
13778         * layout.h: remove LYX_DUMMY_LAYOUT
13779
13780         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13781         layout.
13782
13783         * lyxlayout.[Ch]:
13784         * lyxtextclass.[Ch]:
13785         * lyxtextclasslist.[Ch]: new files
13786
13787         * include order changes to a lot of files, also changes because of
13788         the six new files.
13789
13790 2001-12-27  Juergen Vigna  <jug@sad.it>
13791
13792         * buffer.C (asciiParagraph): more fixes.
13793
13794         * tabular.C (ascii): make ascii export support export of only the
13795         data separated by a column-delimiter.
13796         (ascii): better support for ascii export.
13797
13798         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13799
13800 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13801
13802         * tabular_funcs.C: use a "using std::getline" instead of the
13803         previous fix from Angus (necessary for cxx + lyxstring)
13804
13805 2001-12-24  Juergen Vigna  <jug@sad.it>
13806
13807         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13808
13809         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13810         problems. First check a minipage also if we have some ert-contents
13811         (not only on par->size(), second set the right depth of the paragraph
13812         on the relink to the root-paragraph-list!
13813
13814         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13815         which then did not anymore update the main paragraphs on undo/redo!
13816
13817 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13818
13819         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13820         code. Support all font-changing funcs (even those which are not in
13821         menu currently). Support for reporting font settings in
13822         mathed (disabled until Andre provides a function on mathed's side).
13823
13824         * func_status.h (toggle): small helper function to set toggle
13825         state on a flag.
13826
13827 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13828
13829         * tabular_funcs.C: getline -> std::getline
13830
13831 2001-12-21  Juergen Vigna  <jug@sad.it>
13832
13833         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13834         accessed and could be 0 (I couldn't generate this but it seems
13835         Michael could!).
13836
13837 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13838
13839         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13840         * tabular_funcs.h: here and include iosfwd
13841
13842 2001-12-20  Juergen Vigna  <jug@sad.it>
13843
13844         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13845         inside inset but undo_par was.
13846
13847 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13848
13849         * Thesaurus.C: always include <config.h> in sources.
13850
13851         * Painter.h:
13852         * lyxlookup.h:
13853         * box.h: do not include <config.h> in header files
13854
13855         * text.C (paintLastRow): remove unused variable
13856
13857         * text.C (transformChar):
13858         (insertChar):
13859         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13860
13861         * Painter.C (text):
13862         * font.C (width): rewrite to use uppercase() instead of
13863         islower/toupper.
13864
13865         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13866
13867 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13868
13869         * lyxfind.C: clean up of find failure position change
13870
13871 2001-12-20  Juergen Vigna  <jug@sad.it>
13872
13873         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13874
13875         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13876         (TeXRow): added to LaTeX a single tabular row.
13877         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13878         (Latex): simplified and finally good LT-h/f support.
13879         (various_functions): just small adaptions for LT-h/f support.
13880
13881         * tabular_funcs.[hC]: added and moved here all not classfunctions
13882         of LyXTabular.
13883
13884 2001-12-19  Juergen Vigna  <jug@sad.it>
13885
13886         * tabular.[Ch]: better support for longtabular options (not finished
13887         yet!)
13888
13889 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13890
13891         * text.C (paintLastRow): use the label font instead of the font of
13892         the last character to compute the size of *_BOX. This makes more
13893         sense and avoids a crash with empty paragraphs.
13894         Use Painter::rectangle to draw EMPTY_BOX.
13895
13896 2001-12-19  Juergen Vigna  <jug@sad.it>
13897
13898         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13899         the paragraphs if the replaced paragraph is not the first one!
13900         Tried to delete not used paragraphs but does not work yet so for
13901         now it's inside #ifdef's and by default off!
13902
13903 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13904
13905         * MenuBackend.C: include "lyx_main.h" instead of declaring
13906         lastfiles (actually was declared as LastFiles* instead of a
13907         scoped_ptr).
13908
13909 2001-12-17  Juergen Vigna  <jug@sad.it>
13910
13911         * tabular.C (AppendColumn): applied John's fix
13912
13913 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13914
13915         * BufferView.h:
13916         * BufferView.C:
13917         * BufferView_pimpl.h:
13918         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13919
13920         * Makefile.am:
13921         * box.h: new start of class for above
13922
13923         * lyxfunc.C: ignore space-only minibuffer dispatches.
13924           Show the command name when it doesn't exist
13925
13926         * minibuffer.C: don't add empty lines to the history
13927
13928         * minibuffer.C: add a space on dropdown completion
13929
13930 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13931
13932         * text.C: fix line above/below drawing in insets
13933
13934 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13935
13936         * lyxlength.C (LyXLength): Initialize private variables.
13937
13938 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13939
13940         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13941         when inserting error insets.
13942
13943 2001-12-13  Juergen Vigna  <jug@sad.it>
13944
13945         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13946         actually sometimes the before-paragraph.
13947         (setUndo): don't clear the redostack if we're not actually undoing!
13948
13949 2001-12-06  Juergen Vigna  <jug@sad.it>
13950
13951         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13952         and fixed redoing of main paragraph, so we can use it now ;)
13953
13954         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13955
13956 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13957
13958         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13959         Juergen's request
13960
13961 2001-12-13  André Pönitz <poenitz@gmx.net>
13962
13963         * undostack.[Ch]:
13964         * undo_func.C: minor cleanup
13965
13966 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13967
13968         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13969         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13970         font in urw-fonts package which is marked as -urw-fontspecific and
13971         does not work (incidentally, changing the encoding in the
13972         fonts.dir of this package to -adobe-fontspecific fixes the
13973         problem).
13974
13975         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13976         is a crash when undoing first paragraph (Juergen, please take a
13977         look). THis does not mean the undo fix is wrong, just that it
13978         uncovers problems.
13979
13980         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13981         the (Paragraph*) version when needed instead of duplicating the
13982         code.
13983
13984         * text.C (workWidth): use Inset::parOwner to find out where the
13985         inset has been inserted. This is a huge performance gain for large
13986         documents with lots of insets. If Inset::parOwner is not set, fall
13987         back on the brute force method
13988
13989         * paragraph_pimpl.C (insertInset):
13990         * paragraph.C (Paragraph):
13991         (cutIntoMinibuffer): set parOwner of insets when
13992         inserting/removing them
13993
13994         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13995
13996 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13997
13998         * commandtags.h:
13999         * LyXAction.C:
14000         * lyx_main.C:
14001         * lyxfunc.C:
14002         * mathed/formulabase.C:
14003         * mathed/math_cursor.[Ch]:
14004         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14005
14006
14007 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14008
14009         * lyxlength.[Ch] (operator!=): new function
14010
14011 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14012
14013         * text.C (workWidth): use Inset::parOwner to find out where the
14014         inset has been inserted. This is a huge performance gain for large
14015         documents with lots of insets. If Inset::parOwner is not set, fall
14016         back on the brute force method
14017
14018         * paragraph_pimpl.C (insertInset):
14019         * paragraph.C (Paragraph):
14020         (cutIntoMinibuffer): set parOwner of insets when
14021         inserting/removing them
14022
14023         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14024
14025 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14026
14027         * tabular-old.C (getTokenValue):
14028         * tabular.C (getTokenValue):
14029         (write_attribute): new versions for LyXLength
14030         (everywhere): adjust the use of widths
14031
14032         * tabular.h: change the type of widths from string to LyXLength
14033
14034 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14035
14036         * paragraph.C: fixed missing line number count when exporting
14037         Environments to LaTeX file
14038
14039         * buffer.C: added informational message for checking line numbers.
14040
14041 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14042
14043         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14044         paragraph, do the 'double space' part, but not the 'empty
14045         paragraph' one.
14046
14047         * text.C (workWidth): small optimization
14048         (getLengthMarkerHeight): use minimal size for negative lengths.
14049
14050 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14051
14052         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14053
14054         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14055
14056 2001-12-11  André Pönitz <poenitz@gmx.net>
14057
14058         * FontLoader.C:
14059         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14060
14061 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14062
14063         * text2.C: keep selection on a setFont()
14064
14065 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14066
14067         * lyx_cb.C: another bv->text misuse, from insert label
14068
14069 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14070
14071         * kbsequence.h:
14072         * kbsequence.C: re-instate nmodifier mask
14073
14074 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14075
14076         * lyx_main.h: make lyxGUI private.
14077
14078 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14079
14080         * lyxfind.C: place the cursor correctly on failed search
14081
14082 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14083
14084         * text.C (getLengthMarkerHeight): for small heights, the arrows
14085         are not always on top/bottom of the text
14086         (drawLengthMarker): smaller arrows; take the left margin in
14087         account; draw also vfills.
14088         (paintFirstRow):
14089         (paintLastRow): remove special code for vfill and standard spaces,
14090         since everything is handled in drawLengthMarker now.
14091
14092 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14093
14094         * buffer.C (insertErtContents): try to handle font and language
14095         interaction a bit better.g
14096
14097         * ColorHandler.C (updateColor): change the hash to cover the whole
14098         LColor enum, ws cleanup
14099         (getGCLinepars): ditto
14100         (getGCLinepars): only lookup in the linecache once.
14101
14102 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14103
14104         * iterators.C (operator++): Make the iterator more robust
14105
14106         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14107         (John's patch)
14108         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14109
14110 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14111
14112         * lyxtext.h:
14113         * text.C: better added space drawing
14114
14115 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14116
14117         * LyXView.C:
14118         * BufferView2.C: fix layout combo update on inset unlock
14119
14120 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14121
14122         * Makefile.am: don't compile unused files
14123
14124 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14125
14126         * lyxfunc.C:
14127         * commandtags.h:
14128         * LyXAction.C: remove old LFUN_LAYOUTNO
14129
14130 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14131
14132         * paragraph_pimpl.h:
14133         * paragraph_pimpl.C: isTextAt() doesn't need font param
14134
14135 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14136
14137         * lyxlex.h:
14138         * lyxlex.C: little cleanup
14139
14140 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14141
14142         * BufferView_pimpl.C: fix insertAscii for insets
14143
14144 2001-12-05  Juergen Vigna  <jug@sad.it>
14145
14146         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14147         set the right font on the "multi" paragraph paste!
14148
14149 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14150
14151         * trans_decl.h:
14152         * trans_mgr.[Ch]:
14153         * trans.[Ch]:
14154         * lyxgluelength.C:
14155         * lyxlength.C: remove out-commented code.
14156
14157         * BufferView_pimpl:
14158         * CutAndPaste.C:
14159         * DepTable.C:
14160         * buffer.C:
14161         * chset.C:
14162         * lastfiles.C:
14163         * lyxlex.C:
14164         * lyxlex_pimpl.C:
14165         * lyxserver.C:
14166         * screen.C:
14167         * tabular-old.C:
14168         * tabular.C:
14169         * text.C:
14170         * trans_mgr.C:
14171         * vc-backend.C: change "while(" to "while ("
14172
14173         * lyxlength.[Ch]: add zero function to check if length is zero or
14174         not
14175         * lyxgluelength.C: use it
14176
14177 2001-12-05  Allan Rae  <rae@lyx.org>
14178
14179         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14180         Works for 2.95.3, from what I understand of Garst's reports this should
14181         work for other g++ versions.  We're screwed if the abs(int) definition
14182         changed between bugfix releases of gcc.
14183
14184 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14185
14186         * text.C: fix chapter label offset !
14187
14188 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14189
14190         * lyxtext.h:
14191         * text.C: fix hfill at end of line, clean up
14192
14193 2001-12-04  Juergen Vigna  <jug@sad.it>
14194
14195         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14196         that we force an update of the inset and it's owners if neccessary.
14197
14198 2001-12-03  Juergen Vigna  <jug@sad.it>
14199
14200         * text.C (rowLast): simplified code
14201
14202 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14203
14204         * lyxfunc.C: fix show options on timeout
14205
14206 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14207
14208         * screen.C (topCursorVisible): scroll half a page when the cursor
14209         reached top of bottom of screen
14210
14211 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14212
14213         * minibuffer.C: deactivate on loss of focus
14214
14215 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14216
14217         * vspace.[Ch] (operator!=): add operator.
14218
14219 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14220
14221         * BufferView_pimpl.C: refuse to open an inset when
14222         there's a selection.
14223
14224 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14225
14226         * BufferView_pimpl.C: allow to click on RHS of full row insets
14227
14228 2001-11-30  Juergen Vigna  <jug@sad.it>
14229
14230         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14231         insets for undo reasons.
14232
14233 2001-11-28  André Pönitz <poenitz@gmx.net>
14234
14235         * vspace.[Ch]: cosmetical changes
14236
14237 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14238
14239         * LyXAction.h:
14240         * LyXAction.C:
14241         * lyxfunc.h:
14242         * lyxfunc.C:
14243         * kbmap.h:
14244         * kbmap.C:
14245         * lyxrc.C:
14246         * kbsequence.h:
14247         * kbsequence.C: part re-write of old kb code
14248
14249         * Painter.C:
14250         * WorkArea.C: remove Lgb_bug_find_hack
14251
14252 2001-11-30  José Matos <jamatos@fep.up.pt>
14253
14254         * buffer.C (makeDocBookFile): add a comment to point a hack.
14255         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14256         Fixed a double write of labels.
14257
14258 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14259
14260         * LaTeX.C:
14261         * LaTeX.h Fixed bug in LaTeX class where it would not
14262         re-run latex if no depfiles were changed, but the .dvi was removed.
14263
14264 2001-11-28  André Pönitz <poenitz@gmx.net>
14265
14266         * all the files from the change on 2001/11/26:
14267         use lyx::layout_type instead of LyXTextClass::size_type
14268         use lyx::textclass_type instead of LyXTextClassList::size_type
14269
14270 2001-11-29  Juergen Vigna  <jug@sad.it>
14271
14272         * text.C: added support for paragraph::isFreeSpacing()
14273
14274         * buffer.C: same as above
14275
14276         * paragraph.h: inserted isFreeSpacing() function to enable
14277         FreeSpacing inside InsetERT.
14278
14279         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14280         of the paragraph's in the cut/copy buffer to 0!
14281
14282         * text2.C (removeRow): remove the assert as it can!
14283
14284         * lyxtext.h: added helper function firstRow returning firstrow and
14285         made firstrow private again.
14286
14287         * BufferView2.C (lockInset): don't relock if we're already locked!
14288
14289         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14290         the only paragraph.
14291         (removeRow): added Assert::(firstrow)
14292
14293         * debug.C: forgot to add INSETTEXT here.
14294
14295 2001-11-28  Juergen Vigna  <jug@sad.it>
14296
14297         * sp_spell.C (initialize): changed error text to more general
14298         spellchecker command use (not only ispell!)
14299
14300         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14301
14302         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14303
14304 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14305
14306         * vspace.C: initialise lyxgluelength on failure
14307
14308 2001-11-28  Allan Rae  <rae@lyx.org>
14309
14310         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14311         declaration & definition that looks like a function declaration.
14312
14313 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14314
14315         * BufferView2.C (copy):
14316         (copyEnvironment): do not clear the selection when doing a copy.
14317
14318         * text.C (paintFirstRow): compilation fix
14319
14320 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14321
14322         * tabular.C (Latex): correct line count when writing latex.
14323
14324 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14325
14326         * paragraph_pimpl.h:
14327         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14328           bug a bit
14329
14330 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14331
14332         * text.C:
14333         * LColor.h:
14334         * LColor.C: change vfillline->added_space
14335
14336         * text.C: add markers and text for added space
14337
14338         * vspace.C: fix comment
14339
14340 2001-11-28  André Pönitz <poenitz@gmx.net>
14341
14342         * paragraph.C: whitespace changes
14343         * all the other files from the change on 2001/11/26:
14344         change *::pos_type into lyx::pos_type
14345
14346 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14347
14348         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14349         language of the document when inserting error insets.
14350
14351 2001-11-26  André Pönitz <poenitz@gmx.net>
14352
14353         * BufferView_pimpl.[Ch]:
14354         *       CutAndPaste.C:
14355         * buffer.[Ch]:
14356         * lyxcursor.[Ch]:
14357         * lyxfind.C:
14358         * lyxfunc.C:
14359         * lyxrow.[Ch]:
14360         * paragraph.[Ch]:
14361         * paragraph_pimpl.[Ch]:
14362         * sp_spell.C:
14363         * text.C:
14364         * text2.C: reduce header dependencies, introduce type for positions
14365
14366 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14367
14368         * <various>: change to use Alert.h
14369
14370 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14371
14372         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14373         when encountering an unknown token.
14374         (readLyXformat2): Show an error message if there were unknown tokens.
14375
14376 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14377
14378         * BufferView2.C:
14379         * BufferView_pimpl.C:
14380         * buffer.C:
14381         * paragraph.h:
14382         * text.C:
14383         * text2.C: use par->isInset()
14384
14385 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14386
14387         * paragraph_pimpl.h:
14388         * paragraph_pimpl.C: cleanup
14389
14390 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14391
14392         * text2.C (removeRow):
14393         * text.C (setHeightOfRow): remove useless (and costly) call to
14394         getRow.
14395
14396 2001-11-20  Allan Rae  <rae@lyx.org>
14397
14398         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14399         Now need Inset*::checkInsertChar() to return true for appropriate
14400         cases so that the characters in the minibuffer will actually be
14401         inserted.
14402
14403 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14404
14405         * text.C: change the order of the includes.
14406         (workWidth): initialize it at once.
14407         (workWidth): make maxw unsigned
14408         (setHeightOfRow): remove unused variable (inset)
14409         (selectSelectedWord): remove unused variable (inset)
14410         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14411
14412 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14413
14414         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14415         server is not running.
14416         (openConnection):
14417         (closeConnection): add debug info when server is disabled.
14418
14419         * ColorHandler.C (getGCForeground): send debug message to GUI
14420         channel.
14421
14422         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14423
14424         * kbmap.C (bind): modify because return conventions of
14425         kb_sequence::parse have changed.
14426
14427         * kbsequence.C (parse): only ignore spaces and not any stupid
14428         control character. This avoids tests like s[i] <= ' ', which are
14429         guaranteed to fail with 8bit characters and signed chars.
14430         Change return code to string::npos when there have been no error
14431         (0 was a bad idea when error is at first character)
14432
14433 2001-11-14  José Matos  <jamatos@fep.up.pt>
14434
14435         * buffer.h:
14436         * buffer.C (simpleDocBookOnePar): removed unused argument.
14437
14438 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14439
14440         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14441         insets which are part of a word. Paragraph::isLetter takes care of
14442         that now. Use Paragraph::isInset to identify insets.
14443         (selectSelectedWord): do not test for hyphenation break.
14444
14445         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14446         that protected spaces are considered as spaces.
14447
14448         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14449         Inset::isLetter.
14450
14451 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14452
14453         * lyxserver.h:
14454         * lyxserver.C: fix it. and small cleanup.
14455
14456 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14457
14458         * BufferView_pimpl.C: use inline helpers
14459
14460         * LaTeXFeatures.h:
14461         * LaTeXFeatures.C: fix typos
14462
14463         * Spacing.h:
14464         * Spacing.C: move spacing_string into class
14465
14466         * ToolbarDefaults.C: move stuff into namespace anon
14467
14468         * layout.h: update enum
14469
14470         * lyxfunc.C: use better debug
14471
14472         * minibuffer.h: fix typo
14473
14474         * debug.h:
14475         * debug.C:
14476         * WorkArea.C: add and use Debug::WORKAREA
14477
14478         * lyxtext.h:
14479         * text.C:
14480         * text2.C: code re-organisation, inline helpers
14481
14482 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14483
14484         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14485         std::vector.empty().
14486
14487 2001-11-09  Allan Rae  <rae@lyx.org>
14488
14489         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14490         '\n's after tables.  Tabular and ERT inset work now makes this no
14491         longer necessary.
14492
14493 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14494
14495         * minibuffer.h:
14496         * minibuffer.C: fix crash, improve drop-down completion
14497
14498 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14499
14500         * lyxserver.h:
14501         * lyxserver.C: invalidate fd's when doing endPipe()
14502
14503 2001-11-08  José Matos  <jamatos@fep.up.pt>
14504
14505         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14506         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14507
14508         * paragraph.h:
14509         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14510
14511 2001-11-07  José Matos  <jamatos@fep.up.pt>
14512
14513         * buffer.h:
14514         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14515         const qualifier.
14516
14517         * buffer.C (sgmlOpenTag):
14518         * buffer.C (sgmlCloseTag): removed debug info.
14519
14520         * buffer.h (sgmlOpenTag):
14521         * buffer.h (sgmlCloseTag): made public.
14522
14523 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14524
14525         * buffer.C (saveParamsAsDefaults):
14526         * lyx_cb.C (MenuLayoutSave): remove
14527
14528         * LyXAction.C (init):
14529         * commandtags.h:
14530         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14531
14532 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14533
14534         * buffer.C (setPaperStuff): removed from here...
14535
14536         * bufferparams.C (setPaperStuff): ... and moved there.
14537
14538 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14539
14540         * minibuffer.h:
14541         * minibuffer.C:
14542         * XFormsView.C: add support for drop-down completion
14543
14544 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14545
14546         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14547         commands.
14548
14549 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14550
14551         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14552         disabled.
14553
14554 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14555
14556         * lyx_main.C: change ref to known bugs
14557
14558 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14559
14560         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14561         to work around older babel problems.
14562
14563 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14564
14565         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14566
14567 2001-10-24  Juergen Vigna  <jug@sad.it>
14568
14569         * tabular-old.C (ReadOld): below variable changes reflected.
14570
14571         * tabular.[Ch]: added ltType struct for longtable header/footer
14572         defines and changed all instances where they are used. Added
14573         future support for double top/bottom rows.
14574
14575 2001-10-24  José Matos  <jamatos@fep.up.pt>
14576
14577         * buffer.h (docbookHandleCaption):
14578         * buffer.C (docbookHandleCaption): removed unused function.
14579         (makeDocBookFile): moved docbook supported version to v4.1.
14580
14581 2001-10-24  José Matos  <jamatos@fep.up.pt>
14582
14583         * tabular.h:
14584         * tabular.C (docbookRow): new function to export docbook code of a row.
14585         (DocBook): now honors the longtable flags.
14586
14587 2001-10-23  José Matos  <jamatos@fep.up.pt>
14588
14589         * LaTeXFeatures.h:
14590         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14591         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14592
14593         * buffer.C (makeLinuxDocFile):
14594         (makeDocBookFile): reworked the preamble, more clean, and with
14595         support for lyx defined entities. Changed the document declaration
14596         to be more XML friendly.
14597
14598         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14599         if we need to output XML that should be done with a filter.
14600
14601 2001-10-22  Juergen Vigna  <jug@sad.it>
14602
14603         * sp_pspell.h (class PSpell): add alive function needed in the
14604         controller to see if the spellchecker could be started.
14605
14606 2001-10-22  Juergen Vigna  <jug@sad.it>
14607
14608         * buffer.C (insertStringAsLines): modify the font for inserting
14609         chars in certain conditions by calling checkInsertChar(font).
14610
14611 2001-10-19  Juergen Vigna  <jug@sad.it>
14612
14613         * text.C (workWidth): use getRow instead of wrong algorithm.
14614         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14615
14616 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14617
14618         * lyxserver.h:
14619         * lyxserver.C:
14620         * lyx_main.h:
14621         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14622
14623 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14624
14625         * text.C (workWidth): do not search for the exact row when
14626         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14627         optimization for big documents.
14628
14629 2001-10-18  Juergen Vigna  <jug@sad.it>
14630
14631         * text.C (workWidth): new function with added Inset * parameter.
14632
14633 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14634
14635         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14636
14637         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14638         change return type of getColumnNearX.
14639
14640
14641         * text.C (changeRegionCase): use uppercase/lowercase instead of
14642         toupper/tolower.
14643         (leftMargin):
14644         (rightMargin): simplify code by factoring out the uses of
14645         textclasslist.
14646         (labelFill):
14647         (numberOfHfills):
14648         (setHeightOfRow):
14649         (appendParagraph): use Paragraph::size_type
14650
14651 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14652
14653         * vspace.C (asLatexString): add a missing break
14654
14655 2001-10-15  Herbert Voss  <voss@perce.de>
14656
14657         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14658
14659 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14660
14661         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14662         is not available.
14663
14664 2001-10-10  André Pönitz <poenitz@gmx.net>
14665
14666         * lyxfunc.C: removed greek_kb_flag.
14667
14668 2001-10-10  Herbert Voss  <voss@perce.de>
14669
14670         * lyx_main.C: delete global string help_lyxdir.
14671
14672 2001-10-09  Herbert Voss  <voss@perce.de>
14673
14674         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14675
14676         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14677
14678         * lyx_main.C: added global string help_lyxdir.
14679
14680         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14681
14682 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14683
14684         * lyxrc.C (set_font_norm_type): support iso8859-4
14685
14686 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14687
14688         * LaTeX.C (deplog): add another regex for MikTeX
14689
14690 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14691
14692         * lyxrc.C (set_font_norm_type): support iso8859-3
14693
14694 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14695
14696         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14697
14698         * LaTeXFeatures.C: remove special case of french and index
14699
14700         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14701         before \begin{document}). This solves several incompatibilities.
14702
14703 2001-10-03  Garst Reese  <reese@isn.net>
14704
14705         * lyx_cb.C: change CheckTex error msg.
14706
14707 2001-10-03  José Matos  <jamatos@fep.up.pt>
14708
14709         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14710
14711 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14712
14713         * .cvsignore: update
14714
14715         * lyx_main.C (commandLineVersionInfo): use new style version info.
14716
14717         * buffer.C (writeFile):
14718         (makeLaTeXFile):
14719         (makeLinuxDocFile):
14720         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14721
14722         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14723
14724         * version.h: update to use stuff in version.C
14725
14726         * version.C.in: new file. Contains version information determined
14727         at compile time. This is a merging of version.h and
14728         version_info.h.in.
14729
14730 2001-10-03  Juergen Vigna  <jug@sad.it>
14731
14732         * BufferView_pimpl.C (update): don't change "dirty" status in
14733         updateInset call.
14734
14735 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14736
14737         * WorkArea.C (c-tor): re-position version string slightly.
14738
14739 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14740
14741         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14742         revert to previous code.
14743
14744         WorkArea.[Ch]: (show, destroySplash): methods removed.
14745
14746         WorkArea.C: rework code so that it's an amalgam of the codes before and
14747         after the splash screen was moved to WorkArea.
14748
14749 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14750
14751         * lyxrc.C (read):
14752         * vspace.C (inPixels):
14753         (lyx_advance):
14754         * kbmap.C (bind):
14755         * buffer.C (insertStringAsLines):
14756         (asciiParagraph): fix types to be large enough
14757
14758         * lyxlex_pimpl.h: change member status from short to int
14759
14760         * layout.h: fix type of endlabeltype
14761
14762         * kbmap.C (bind):
14763         * kbsequence.C (parse): change return type to string::size_type
14764
14765         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14766         variable
14767
14768         * Bullet.C (bulletSize):
14769         (bulletEntry): do not use short ints as parameters
14770
14771         * BufferView2.C (insertLyXFile): change a char to an int.
14772
14773         * WorkArea.C (WorkArea): remove unneeded floats in computation
14774
14775 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14776
14777         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14778
14779         * paragraph.C (asString): Do not ignore newline/hfill chars when
14780         copying to the clipboard.
14781
14782 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14783
14784         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14785         after a multi-line inset.
14786
14787 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14788
14789         * paragraph.C (validate): Set NeedLyXFootnoteCode
14790
14791 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14792
14793         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14794         and decrease-error to decrease.
14795
14796 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14797
14798         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14799         it more readable (should be equivalent)
14800
14801 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14802
14803         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14804
14805 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14806
14807         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14808         of a cursor (row, etc.) after a character has been deleted
14809         (deleteEmptyParagraphMechanism): call the method above on _all_
14810         cursors held by the LyXText when a double space has been
14811         detected/deleted.
14812
14813 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14814
14815         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14816         pixmap.
14817         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14818
14819         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14820         background. Use greyOut() and the new show() methods to toggle between
14821         the foreground and background. Add code to remove the splash after
14822         its initial showing.
14823
14824         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14825         (create_forms): no longer call Dialogs::showSplash.
14826
14827 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14828
14829         * .cvsignore: add version_info.h
14830
14831 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14832
14833         * version_info.h.in: new file
14834
14835         * Makefile.am: add version_info.h.in
14836
14837         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14838         version_info.h instead of VERSION_INFO
14839
14840 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14841
14842         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14843         The ERT inset now returns string().
14844
14845 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14846
14847         * lyxtext.h, text.C (selectNextWord): renamed as
14848         selectNextWordToSpellcheck.
14849
14850         * text.C (selectNextWordToSpellcheck): Modified to not select
14851         words inside an ERT inset.
14852
14853 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14854
14855         * lyx_cb.C (MenuLayoutSave): change a bit the question
14856
14857         * sp_base.h: include <sys/types.h>
14858
14859 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14860
14861         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14862
14863 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14864
14865         * several files: fix typos in user-visible strings
14866
14867 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14868
14869         * text2.C (pasteSelection): do not set the selection, since it
14870         will be cleared later. Actually, the intent was to fix the way the
14871         selection was set, but I figured rmoving the code was just as good.
14872
14873 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14874
14875         * FontLoader.C (available): Check if font is available without
14876         loading the font.
14877
14878 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14879
14880         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14881
14882 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14883
14884         * lyxrc.[Ch]: added display_graphics variable and associated code.
14885
14886 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14887
14888         * bufferparams.C (hasClassDefaults): new method. Returns true if
14889         the buffer parameters correspond to known class defaults
14890
14891 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14892
14893         * XFormsView.C (show): set minimum size to the main window.
14894
14895 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14896
14897         * text2.C (copySelection):
14898         (cutSelection):
14899         * lyxfind.C (LyXReplace):
14900         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14901         LyXText::selectionAsString.
14902
14903         * paragraph.C (asString): add "label" argument to the second form
14904
14905         * text2.C (selectionAsString): add "label" argument and pass it to
14906         Paragraph::asString.
14907
14908 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14909
14910         * lyx_main.C (commandLineHelp): remove version information
14911
14912 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14913
14914         * lyx_main.C: add -version commandline option
14915
14916 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14917
14918         * paragraph.h: make the optional constructor arg required instead.
14919         some modifications to other files because of this.
14920
14921         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14922
14923         * lyxserver.C (C_LyXComm_callback): make it static
14924
14925         * lyx_main.C (error_handler): make it static
14926
14927         * lyx_gui.C (LyX_XErrHandler): make it static
14928
14929         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14930
14931         * WorkArea.C: make the extern "C" methods static.
14932
14933         * Makefile.am (lyx_LDADD): simplify
14934
14935 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14936
14937         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14938         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14939
14940         * LyXAction.C (init):
14941         * lyxfunc.C (dispatch): associated code removal.
14942
14943 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14944
14945         * lyxfont.h (isSymbolFont): shut off warning
14946
14947         * text.C (setHeightOfRow):
14948         (getVisibleRow): fix crash with empty paragraphs which have a
14949         bottom line
14950
14951 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14952
14953         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14954         code.
14955
14956 2001-09-04  José Matos  <jamatos@fep.up.pt>
14957         * buffer.C
14958         * buffer.h
14959         * tabular.C (docbook): rename docBook method to docbook.
14960
14961 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14962
14963         * Makefile.am: add dependencies to main.o.
14964
14965 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14966
14967         * FontLoader.C (available): Return false if !lyxrc.use_gui
14968
14969 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14970
14971         * FontInfo.C (query):
14972         * converter.C (view):
14973         * importer.C (Import):
14974         * exporter.C (Export): Can not -> cannot.
14975
14976 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14977
14978         * BufferView_pimpl.C: allow to create index inset even if
14979           string is empty
14980
14981 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14982
14983         * buffer.C (getLists): replace boost::tie code with an explicit pair
14984         as boost::tie can break some compilers.
14985
14986         * iterators.h: Added a std:: declaration to the return type of
14987         ParIterator::size.
14988
14989 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14990
14991         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14992           case.
14993
14994 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14995
14996         * iterators.[Ch]: New files. Provide paragraph iterators.
14997
14998         * buffer.C (changeLanguage): Use paragraph iterators.
14999         (isMultiLingual): ditto
15000
15001         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15002
15003 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15004
15005         * FontLoader.C: Support for cmr font.
15006
15007 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15008
15009         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15010         (available): New method.
15011
15012         * FontInfo.C (getFontname): Use scalable fonts even when
15013         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15014         found.
15015
15016 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15017
15018         * converter.C (Formats::view): reverted! Incorrect fix.
15019
15020 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15021
15022         * converter.C (Formats::view): only output the -paper option
15023         if the dvi viewer is xdvi, thereby fixing bug #233429.
15024
15025 2001-08-23  Herbert Voss  <voss@perce>
15026
15027         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15028
15029 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15030
15031         * Spacing.h (Spacing): Set space to Default on in the default
15032         constructor.
15033
15034 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15035
15036         * vc-backend.h (RCS::versionString): add RCS to version
15037         (CVS::versionString): add CVS to version
15038
15039         * vc-backend.C (scanMaster): do not add CVS to version.
15040         (scanMaster): do not add RCS to version
15041
15042         * lyxvc.C (versionString): new method
15043
15044         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15045
15046 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15047
15048         * Spacing.C (set): initialize fval
15049
15050 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15051
15052         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15053         " or \.
15054
15055 2001-08-16  Juergen Vigna  <jug@sad.it>
15056
15057         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15058
15059 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15060
15061         * BufferView_pimpl.C:
15062         * figureForm.C:
15063         * lyxtext.h:
15064         * text2.C: setParagraph takes linespacing now
15065
15066 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15067
15068         * LyxAction.C: add internal LFUN_CITATION_INSERT
15069
15070         * LyXView.C: actually apply fix
15071
15072         * bufferlist.C: fix open non-existent file
15073
15074         * lyxfind.C: fix indentation
15075
15076         * lyxfunc.C: remove unneeded assert, fix typo
15077
15078 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15079
15080         * MenuBackend.C: use "Floatname List"
15081
15082 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15083
15084         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15085         when converting LaTeX layout to insetERT.
15086         Generate a non-collapsed float when reading old float
15087
15088 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15089
15090         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15091         ERT insets.
15092
15093 2001-08-13  Juergen Vigna  <jug@sad.it>
15094
15095         * text.C (fill): return 0 instead of 20 as this seems to be the more
15096         correct value.
15097
15098 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15099
15100         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15101         lyxrc.font_norm.
15102
15103 2001-08-13  Juergen Vigna  <jug@sad.it>
15104
15105         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15106         casesensitive off.
15107         (SearchBackward): comment out the unlocking of the inset_owner this
15108         should not be needed!
15109
15110 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15111
15112         * Many files: Remove inherit_language, and add latex_language
15113
15114         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15115         collapsible insets.
15116
15117 2001-08-10  Juergen Vigna  <jug@sad.it>
15118
15119         * text.C (prepareToPrint): fixed hfill-width in draw!
15120
15121         * BufferView2.C (selectLastWord): save the selection cursor as this
15122         now is cleared in the function LyXText::clearSelection!
15123
15124 2001-08-08  Juergen Vigna  <jug@sad.it>
15125
15126         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15127         BACKSPACE type functions.
15128
15129         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15130         is only cutted from the document but not put in the cut-buffer, where
15131         still the old stuff should be.
15132
15133         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15134
15135         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15136
15137         * tabular.C (SetWidthOfCell): fixed special case where the width
15138         was not updated!
15139         (LeftLine): handle '|' in align_special.
15140         (RightLine): ditto
15141         (LeftAlreadyDrawed): ditto
15142         (SetWidthOfCell): ditto
15143
15144 2001-08-07  Juergen Vigna  <jug@sad.it>
15145
15146         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15147
15148 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15149
15150         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15151         * lyxlex.[hC]: ditto
15152
15153 2001-08-06  Juergen Vigna  <jug@sad.it>
15154
15155         * text.C (getVisibleRow): fix up row clearing a bit.
15156
15157 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15158
15159         * minibuffer.C: make sure the X server sees the changes in the input.
15160
15161 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15162
15163         * paragraph.C (getFont): split into...
15164         (getLabelFont): this
15165         (getLayoutFont): and this
15166         * paragraph_pimpl.C (realizeFont): calling this
15167
15168         * text2.C (getFont): split into...
15169         (getLayoutFont): this
15170         (getLabelFont): and this
15171         (realizeFont): all three calling this
15172
15173         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15174         files where used.
15175
15176 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15177
15178         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15179
15180 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15181
15182         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15183         layouts from the Quote inset insertion.
15184
15185 2001-08-03  Juergen Vigna  <jug@sad.it>
15186
15187         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15188
15189         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15190         only if status not is already CHANGED_IN_DRAW (second level).
15191
15192         * text.C (draw): don't set the need_break_row when inside an
15193         InsetText LyXText.
15194
15195 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15196
15197         * buffer.C (parseSingleLyXformat2Token): handle more latex
15198         conversion cases.
15199
15200         * bufferview_funcs.[hC]: change function names to
15201         begin with small char, adjust other files.
15202
15203 2001-08-02  André Pönitz <poenitz@gmx.net>
15204
15205         * lyxfunc.C:
15206         BufferView_pimpl.C: remove broken special code for math-greek
15207
15208 2001-08-02  Juergen Vigna  <jug@sad.it>
15209
15210         * BufferView_pimpl.C (update): redone this function so that we
15211         update the text again if there was a CHANGE_IN_DRAW.
15212
15213         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15214         (drawFromTo): added a new internal bool which is used by draw() and
15215         redraw() function.
15216         (general): some cursor drawing problems fixed.
15217
15218 2001-08-01  Juergen Vigna  <jug@sad.it>
15219
15220         * lyxfind.C (LyXFind): fixed
15221         (SearchForward): ditto
15222         (SearchBackward): ditto
15223
15224         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15225         spurius drawing of the cursor in the main area.
15226
15227         * text2.C (status): small fix which could lead to a segfault!
15228         (clearSelection): remove unneeded BufferView param.
15229
15230 2001-08-01  André Pönitz <poenitz@gmx.net>
15231
15232         * lyxfunc.C: small change due to changed mathed interface
15233
15234 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15235
15236         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15237
15238 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15239
15240         * lyxfunc.c: fail gracefully if file doesn't exist
15241
15242         * LyXSendto.C:
15243         * buffer.C:
15244         * lyxfunc.C:
15245         * BufferView_pimpl.C: IsDirWriteable() proto changed
15246
15247         * LyXView.C: fix updateWindowTitle() to store the last title
15248
15249 2001-07-31  Juergen Vigna  <jug@sad.it>
15250
15251         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15252         the font (wrong since using of Paragraph::highestFontInRange).
15253
15254         * paragraph.C (highestFontInRange): added a default_size parameter.
15255
15256         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15257         (setHeightOfRow): reformat
15258
15259 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15260
15261         * converter.[hC] + affected files: move to (inital-char)lowercase
15262         function names.
15263
15264         * ParagraphParameters.C (ParagraphParameters): remove commented code
15265
15266         * PainterBase.[Ch]: remove commented code
15267
15268         * LaTeXFeatures.h: add "bool floats" for float.sty
15269
15270         * LaTeXFeatures.C (LaTeXFeatures): init floats
15271         (require): handle float
15272         (getPackages): do it with floats
15273
15274 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15275
15276         * BufferView_pimpl.C (Dispatch): improve handling of
15277         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15278
15279         * commandtags.h: #include lyxfont.h here temporarily to avoid
15280         keybinding bug.
15281
15282         * bufferlist.h: include LString.h here.
15283
15284 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15285
15286         * text2.C (getStringToIndex): new method.
15287
15288 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15289
15290         * *: Reduced header file dependencies all over.
15291
15292 2001-07-30  Baruch Even  <baruch@lyx.org>
15293
15294         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15295
15296 2001-07-29  Baruch Even  <baruch@lyx.org>
15297
15298         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15299
15300 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15301
15302         * ParameterStruct.h (endif): add a default constructor to make
15303         sure that all variables is initialized.
15304
15305         * ParagraphParameters.C (ParagraphParameters): adjust
15306
15307 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15308
15309         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15310         index; also, check that there is something to index, and that it
15311         does not span over several paragraphs.
15312         (doubleClick): use WHOLE_WORD_STRICT for double click.
15313
15314         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15315
15316         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15317         scheme.
15318
15319 2001-07-26  Baruch Even  <baruch@lyx.org>
15320
15321         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15322         an InsetFig figure, backwards compatible reading of old figure code.
15323
15324 2001-07-27  Juergen Vigna  <jug@sad.it>
15325
15326         * text2.C: font.realize function adaption.
15327
15328         * text.C (draw): add a warnings lyxerr text if needed.
15329
15330         * layout.C: font.realize function adaption.
15331
15332         * language.C: add inherit_language and implement it's handlings
15333
15334         * bufferview_funcs.C (StyleReset): remove language parameter from
15335         font creation (should be language_inherit now).
15336
15337         * bufferparams.C (writeFile): handle ignore_language.
15338
15339         * paragraph.C (getFontSettings): the language has to be resolved
15340         otherwise we have problems in LyXFont!
15341
15342         * lyxfont.C (lyxWriteChanges): added document_language parameter
15343         (update): removed unneeded language parameter
15344
15345         * paragraph.C (validate): fixed wrong output of color-package when
15346         using interface colors for certain fonts in certain environments,
15347         which should not seen as that on the final output.
15348
15349 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15350
15351         * BufferView_pimpl.C:
15352         * Thesaurus.h:
15353         * Thesaurus.C:
15354         * Makefile.am:
15355         * commandtags.h:
15356         * LyXAction.C: add thesaurus support
15357
15358         * lyxfind.h:
15359         * lyxfind.C: add "once" parameter, for thesaurus, to not
15360           move to the next match
15361
15362 2001-07-26  Juergen Vigna  <jug@sad.it>
15363
15364         * lyxfont.C (realize): honor ignore_language too!
15365         (resolved): ditto.
15366
15367         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15368
15369         * text.C (draw): one place more for ignore_language to not draw
15370         itself!
15371
15372 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15373
15374         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15375
15376 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15377
15378         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15379         the minipage conversion problem.
15380
15381 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15382
15383         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15384         insert an inset.
15385
15386 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15387
15388         * BufferView.h: don't forward declare WorkArea
15389
15390         * BufferView.C: don't include WorkArea.h
15391
15392 2001-07-25  André Pönitz <poenitz@gmx.net>
15393
15394         * commandtags.h:
15395         * LyXAction.C:
15396         * lyxfunc.C:  new LFUN 'math-space'
15397
15398         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15399
15400 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15401
15402         * text2.C (toggleInset): call open/close
15403
15404 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15405
15406         * lyxfunc.C (dispatch): add debug for the disabled case
15407
15408         * font.C (buttonText): make similar to rectText
15409
15410         * buffer.C (readInset): comment out parsing of insetlist and
15411         insttheorem
15412
15413         * PainterBase.C (rectText): small correction
15414
15415         * BufferView_pimpl.C: comment out insettheorem and insetlist
15416         * LyXAction.C: ditto
15417         * commandtags.h: ditto
15418
15419 2001-07-24  Juergen Vigna  <jug@sad.it>
15420
15421         * text.C (draw): honor the ignore_language.
15422
15423         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15424
15425 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15426
15427         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15428         char inset.
15429
15430 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15431
15432         * lyxtext.h: remove unused (and unimplemented) methods
15433
15434 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15435
15436         * text.C (getVisibleRow): honor background color
15437
15438         * PainterBase.h:
15439         * Painter.h: remove default color argument for fillRectangle
15440
15441         * text.C (backgroundColor): new method
15442
15443 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15444
15445         * text.C (getVisibleRow): adjust
15446
15447         * font.[Ch] (rectText): new method, metrics
15448         (buttonText): new method, metrics
15449
15450         * PainterBase.[hC]: make rectText and buttonText always draw and take
15451         fewer paramteres.
15452
15453 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15454
15455         * ToolbarDefaults.C (read):
15456         * MenuBackend.C (read): allow escaping in all strings
15457
15458         * BufferView_pimpl.C (insertAndEditInset): new method.
15459         (Dispatch): use insertAndEditInset whenever appropriate.
15460
15461         * BufferView_pimpl.C (insertNote): removed
15462
15463         * BufferView_pimpl.C (smartQuote): new method, moved from
15464         BufferView; if an insetquote cannot be inserted, insert a '"'
15465         character instead.
15466
15467         * BufferView2.C: remove insertCorrectQuote();
15468
15469         * lyxfunc.C (getStatus): Add support for all remaingin
15470         inset-insert lfuns.
15471
15472         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15473
15474         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15475         command (necessary to pass " as parameter of self-insert.
15476
15477         * text.C (selectWordWhenUnderCursor):
15478         (selectWord): add word_location parameter
15479         (selectWordWhenUnderCursor): same + remove special code for word
15480         boundary.
15481         (selectNextWord): use kind() to guess type of insetspecialchar,
15482         not latex().
15483
15484         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15485         (insertErtContents): create ert insets as collapsed.
15486         (readInset): better compatibility code for Info inset.
15487
15488 2001-07-20  Juergen Vigna  <jug@sad.it>
15489
15490         * lyxfunc.C (dispatch): use always LyXFind now!
15491
15492         * text2.C (init): add a reinit flag so that the LyXText can be
15493         reinited instead of deleted and reallocated (used in InsetText).
15494
15495         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15496
15497         * text.C: ditto
15498
15499         * text2.C: ditto
15500
15501 2001-07-18  Juergen Vigna  <jug@sad.it>
15502
15503         * text.C (selectNextWord): handle insets inside inset by calling
15504         always the bv->text functions so that we can go up the_locking_inset!
15505
15506         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15507         in strange locations when inside an inset!
15508
15509         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15510         handling to include insets.
15511
15512         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15513
15514 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15515
15516         * LyXAction.C (init):
15517         * commandtags.h:
15518         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15519         LIGATURE_BREAK, since the name is so stupid.
15520
15521 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15522
15523         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15524         InsetInfos.
15525
15526         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15527
15528         * sp_form.[Ch]: remove.
15529
15530         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15531
15532         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15533         InsetInfo.
15534
15535         * src/buffer.C (readInset): ditto.
15536
15537 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15538
15539         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15540         menuSeparator(), endOfSentenceDot(), ldots() and
15541         hyphenationPoint(), which are therefore removed.
15542         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15543
15544         * LyXAction.C (init):
15545         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15546
15547         * paragraph.C (getWord): removed.
15548
15549         * BufferView_pimpl.C (Dispatch): use last word or selection for
15550         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15551
15552         * lyx_main.C (queryUserLyXDir): do not ask before creating
15553         user_dir, except if it has been named explicitely.
15554
15555 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15556
15557         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15558         a document of zero size.
15559
15560 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15561
15562         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15563         approriately in the c-tor and in require().
15564         (getPackages): output the appropriate LaTeX for natbib support.
15565
15566         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15567         variables "use_natbib" and "use_numerical_citations" when reading the
15568         LyX file.
15569         (readInset): read the various natbib cite commands.
15570         (validate): white-space change.
15571
15572         * bufferparams.[Ch]: new variables "bool use_natbib" and
15573         "bool use_numerical_citations".
15574         (writeFile): output them in the LyX file.
15575
15576 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15577
15578         * lyxfunc.C (getStatus): add support for all the inset insertion
15579         commands.
15580
15581         * text2.C (insertInset):
15582         * paragraph.C (insetAllowed):
15583         * BufferView_pimpl.C (insertInset): update to take in account the
15584         renaming of insertInsetAllowed
15585
15586         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15587
15588         * text2.C (getInset): new method. returns inset at cursor position.
15589
15590         * BufferView_pimpl.C (Dispatch): changes because of this.
15591
15592         * LyXAction.C (init): rename open-stuff to inset-toggle.
15593
15594         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15595
15596         * text2.C (toggleInset): renamed from openStuff; use
15597         Inset::open().
15598
15599 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15600
15601         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15602
15603         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15604
15605 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15606
15607         * buffer.C (readLyXformat2): Add filename to the error dialog
15608
15609 2001-07-18  Juergen Vigna  <jug@sad.it>
15610
15611         * tabular.C (GetCellNumber): put an assert here instead of the check!
15612
15613 2001-07-17  Juergen Vigna  <jug@sad.it>
15614
15615         * BufferView_pimpl.C (toggleSelection): adapted too.
15616
15617         * text.C (selectNextWord): adapted for use with insets.
15618         (selectSelectedWord): ditto
15619
15620 2001-07-17  Juergen Vigna  <jug@sad.it>
15621
15622         * sp_spell.C (PSpell): fix initialitation order.
15623
15624 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15625
15626         * paragraph.C: spacing
15627
15628 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15629
15630         * sp_spell.C: repair language selection for pspell
15631
15632 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15633
15634         * lyxfunc.h: change more methods to begin with lower char.
15635
15636 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15637
15638         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15639         for unknown layouts.
15640
15641 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15642
15643         * buffer.C (readLyXformat2): Generate an error dialog if there are
15644         unknown layouts.
15645
15646 2001-07-16  Juergen Vigna  <jug@sad.it>
15647
15648         * sp_spell.C: always compile ISpell part.
15649
15650         * lyxrc.C: added use_pspell entry and it's handling.
15651
15652 2001-07-13  Juergen Vigna  <jug@sad.it>
15653
15654         * sp_spell.C: removed double includes.
15655
15656 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15657
15658         Consistent use of Lsstream.h:
15659         * Lsstream.h: added using std::stringstream for consistencies sake.
15660
15661         * buffer.C: removed using std::stringstream
15662
15663         * lyxfont.C (stateText):
15664         * paragraph.C (asString):
15665         * text.C (selectNextWord, selectSelectedWord):
15666         * text2.C (setCounter):
15667         * vspace.C (asString, asLatexString):
15668         std::ostringstream -> ostringstream.
15669
15670 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15671
15672         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15673         * commandtags.h: add LFUN_HELP_ABOUTLYX
15674         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15675
15676 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15677
15678         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15679         cursorToggle()
15680         * lyx_gui_misc.C: remove spellchecker
15681         * lyxfunc.C: showSpellchecker
15682         * sp_base.h: added
15683         * sp_ispell.h: added
15684         * sp_pspell.h: added
15685         * sp_spell.C: added
15686         * sp_form.[Ch]: removed
15687         * spellchecker.[Ch]: removed
15688
15689 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15690
15691         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15692         is set.
15693         (simpleTeXSpecialChars): Simply print the input character without
15694         any special translation if pass_thru is set.
15695
15696         * layout.h: Added bool pass_thru to layout class for being able to
15697         implement pass through of a paragraph for Literate Programming.
15698
15699         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15700         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15701         * layout.C (Read): add "passthru" to list of layout tags and add
15702         code to set the pass_thru boolean when it is read.
15703
15704 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15705
15706         * trans_decl.h: remove allowed from KmodInfo
15707
15708         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15709         remove allowed code
15710         (Load): adjust
15711
15712         * paragraph_pimpl.C (erase): use boost::prior
15713
15714         * Painter.C (text): use data() instead of c_str() when length is
15715         also provided.
15716         * WorkArea.C (putClipboard): ditto
15717         * font.h (width): ditto
15718
15719         * BufferView2.C: use it-> instead of (*it). for iterators
15720         * texrow.C: ditto
15721         * paragraph_pimpl.C: ditto
15722         * paragraph.C: ditto
15723         * minibuffer.C: ditto
15724         * language.C: ditto
15725         * kbmap.C: ditto
15726         * encoding.C: ditto
15727         * counters.C: ditto
15728         * converter.C: ditto
15729         * chset.C: ditto
15730         * Variables.C: ditto
15731         * TextCache.C: ditto
15732         * MenuBackend.C: ditto
15733         * LyXAction.C: ditto
15734         * LColor.C: ditto
15735         * FloatList.C: ditto
15736         * DepTable.C: ditto
15737         * ColorHandler.C (LyXColorHandler): ditto
15738
15739 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15740
15741         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15742
15743         * text2.C (openStuff): reintroduce this method (which had been
15744         nuked in NEW_INSETS frenzy).
15745
15746         * lyxfunc.C (Dispatch): when an action has not been handled, use
15747         its name in the error message, not its number.
15748
15749         * paragraph.C (inInset): change method name to begin with lowercase.
15750
15751         * undo_funcs.C:
15752         * text2.C: updates because of this.
15753
15754 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15755
15756         * ToolbarDefaults.C (add): add spaces in error message
15757
15758 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15759
15760         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15761         (readLyXformat2): rename return_par to first_par, use lyxlex's
15762         pushToken and remove the manual push handling.
15763         (parseSingleLyXformat2Token): add another ert comp. variable:
15764         in_tabular, rename return_par to first_par. handle newlines better
15765
15766 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15767
15768         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15769
15770 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15771
15772         * text2.C (getParFromID): removed
15773
15774         * buffer.C (getParFromID): new method moved form lyxtext.
15775         * BufferView2.C (insertErrors): adjust
15776         (setCursorFromRow): adjust
15777         * BufferView_pimpl.C (restorePosition): adjust
15778         * lyxfunc.C (Dispatch): adjust
15779         * undo_funcs.C (textUndo): adjust
15780         (textRedo): adjust
15781         (textHandleUndo): adjust
15782         (textHandleUndo): adjust
15783
15784 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15785
15786         * buffer.C: up' the LYX_FORMAT
15787
15788         * lyxfont.h: turn NO_LATEX on as default
15789
15790         * buffer.C (insertErtContents): new methods of tex style compability.
15791         (parseSingleLyXformat2Token): use it several places.
15792         * tabular.C (OldFormatRead): and here
15793
15794 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15795
15796         * text2.C: remove some commented code.
15797         reindent file.
15798
15799         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15800         * trans.C: changes because of the above.
15801
15802 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15803
15804         * text2.C (setCounter): Fix counters bug with bibliography layout.
15805
15806 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15807
15808         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15809         own member functions
15810         (simpleTeXSpecialChars): ditto
15811
15812 2001-07-06  Juergen Vigna  <jug@sad.it>
15813
15814         * a lot of files: changed the access to LyXText::status and the
15815         call of undo-functions.
15816
15817         * undo.[Ch]: added a inset_id to the undo informations.
15818
15819         * undo_funcs.[Ch]: added and moved here all undo functions.
15820
15821         * lyxtext.h: give the status enum a weight, made status_ a private
15822         variable and made accessor functions for it, removed the whole bunch
15823         of undo-functions as they are now in their own file, make some
15824         functions publically available. Added function ownerParagraph with
15825         int parameter.
15826
15827         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15828         made InInset() a const function, added getParFromID() function.
15829
15830         * buffer.[Ch]: added const version for inset_iterator functions,
15831         added getInsetFromID() function.
15832
15833         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15834         changed undo functions for new version.
15835
15836 2001-07-05  Juergen Vigna  <jug@sad.it>
15837
15838         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15839         unknow mechanism does not call the proper constructor but only this
15840         one also if I request the other!?
15841
15842 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15843
15844         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15845
15846         * text2.C (LyXText): use initialization lists.
15847
15848         * lyxtext.h (Selection): initialize set_ and mark_
15849         (init): remove method
15850
15851 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15852
15853         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15854
15855 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15856
15857         * screen.[Ch]: change method names to begin with lowercase
15858
15859         * BufferView_pimpl.C (updateScrollbar): simplify further and
15860         hopefully make it a bit faster.
15861
15862 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15863
15864         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15865         calling directly xforms functions.
15866
15867         * Painter.C (Painter):
15868         * lyx_cb.C (MenuWrite):
15869         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15870         fl_display.
15871
15872         * lyx_gui.C: remove bogus guiruntime extern declaration.
15873
15874 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15875
15876         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15877         in NEW_INSETS
15878         (redoDrawingOfParagraph): ditto
15879         (redoParagraphs): ditto
15880         (cutSelection): don't create a object for CutAndPaste use the
15881         static method directly
15882         (pasteSelection): ditto
15883
15884         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15885         LyXview (+ rename)
15886
15887 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15888
15889         * modifications to some other files because of this.
15890
15891         * Makefile.am (lyx_SOURCES): add XFormsView
15892
15893         * XFormsView.[Ch]: new files
15894
15895         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15896         the main window. Move the gui dependent stuff to XFormsView
15897
15898 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15899
15900         * tabular.C (GetCellInset): update cur_cell also in the row/col
15901         version of this function.
15902
15903         * lyxfunc.C: no need to include figure_form.h here.
15904
15905         * FontLoader.h:
15906         * lyxfunc.h:
15907         * lyxscreen.h:
15908         * text2.C:
15909         * lyxvc.C: no need to include forms.h here.
15910
15911 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15912
15913         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15914
15915         * lyxfunc.C (Dispatch):
15916         * Spacing.C (set):
15917         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15918         constructor argument.
15919
15920 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15921
15922         * paragraph.C (Paragraph): dont't clear, and just set layout.
15923         (makeSameLayout): use params's copy contructor.
15924
15925         * ParagraphParameters.[Ch] (makeSame): delete method
15926
15927 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15928
15929         * Variables.[Ch]: fix indentation, rename set to isSet
15930
15931 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15932
15933         * lyxfunc.C (Dispatch): fix typo
15934
15935 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15936
15937         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15938         upper_bound.
15939
15940         * bufferlist.C: include assert.h for emergencyWrite().
15941
15942 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15943
15944         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15945           give up at last (bug #425202) !
15946
15947 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15948
15949         * lyx_gui_misc.C:
15950         * sp_form.h:
15951         * sp_form.C:
15952         * spellchecker.h:
15953         * spellchecker.C: strip spellchecker options and bring up
15954           preferences tab instead
15955
15956 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15957
15958         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15959         the istringstream constructor
15960
15961 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15962
15963         * paragraph.C (getLayout): fix return value
15964
15965         * paragraph.h: do not declare getLayout as inline.
15966
15967         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15968
15969 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15970
15971         * lyxcursor.h (operator<): new func
15972         (operator>): new func
15973         (operator>=): new func
15974         (operator<=): new func
15975
15976         * text.C (changeCase): use selection.start and selection.end
15977         (changeRegionCase): require from to be <= to. Require par to be a
15978         valid paragraph.
15979
15980         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15981
15982 2001-06-27  Juergen Vigna  <jug@sad.it>
15983
15984         * text.C (cursorLeftOneWord): changed to return the cursor and added
15985         overlay with BufferView * parameter which calls this one.
15986         (getWord): added
15987         (selectWord): use new getWord function.
15988         (changeCase): renamed from changeWordCase as and extended to work
15989         also on selections.
15990
15991         * lyxtext.h: added enum word_location
15992
15993         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15994         changeCase as this operates now also on selections.
15995
15996 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15997
15998         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15999
16000         * many files: send debug output to Debug::INFO instead of
16001         Debug::ANY.
16002
16003         * converter.C (View):
16004         (Convert):
16005         (Move): send debug output to Debug::FILES instead of console.
16006
16007 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16008
16009         * lyxfunc.C (getStatus): use func_status
16010
16011         * func_status.h: new header, describing the results of
16012         LyXFunc::getStatus;
16013
16014         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16015         LFUN_MATH_HALIGN.
16016
16017 2001-06-25  The LyX Project  <jug@sad.it>
16018
16019         * buffer.C (sgmlOpenTag):
16020         (sgmlCloseTag):
16021         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16022
16023 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16024
16025         * text2.C: remove some dead code
16026
16027         * tabular.C (GetCellInset): store the last cell checked (gotten)
16028
16029         * tabular.h: add the helper for the speedup
16030
16031         * lyxtext.h: remove some dead code
16032
16033 2001-06-26  The LyX Project  <Asger>
16034
16035         * paragraph.C: Change export to LaTeX of alignment to
16036         \begin{center} and family for better roundtrip work with reLyX.
16037
16038         * Tune the math drawing a bit.
16039
16040 2001-06-25  The LyX Project  <Asger>
16041
16042         * LColor.C (LColor): New color for math background. New color
16043         for buttons.
16044
16045 2001-06-25  The LyX Project  <jug@sad.it>
16046
16047         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16048
16049         * lyxfunc.C (Open):
16050         * bufferlist.C (newFile): do not restrict to files ending with
16051         .lyx
16052
16053         * BufferView_pimpl.C (MenuInsertLyXFile):
16054
16055 2001-06-24  The LyX Project  <jug@sad.it>
16056
16057         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16058         of compare_no_case
16059
16060 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16061
16062         * lyxtext.h: rename most methods to begin with a small char.
16063         Lots of changes because of this.
16064
16065         * paragraph.C (Paragraph): do not call fitToSize
16066         (erase): call Pimpl::erase
16067         (insertChar): call Pimpl::insertChar
16068         (insertInset): call Pipl::insertInset
16069         (breakParagraph): do not call fitToSize
16070         (breakParagraphConservative): do not call fitToSize
16071         (fitToSize): remove method
16072
16073         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16074
16075 2001-06-24  The LyX Project  <Asger>
16076
16077         * Fix Qt compilation^2
16078
16079 2001-06-24  The LyX Project  <jug@sad.it>
16080
16081         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16082         depthHook(getDepth()-1).
16083
16084         * paragraph.h:
16085         * ParagraphParameters.h:
16086         * ParameterStruct.h: change type of depth to unsigned int ==
16087         depth_type. Many adaptations to other files before of that.
16088
16089 2001-06-24  The LyX Project  <Asger>
16090
16091         * Fix Qt compilation.
16092
16093 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16094
16095         * paragraph.h: renamed several methods to begin with small letter.
16096         several changes to many parts of the code because of this.
16097
16098 2001-06-23  The LyX Project  <jug@sad.it>
16099
16100         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16101         rewritten to discard all double spaces when KeepEmpty is off
16102         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16103         to only handle newlines but not fiddle with spaces and friends.
16104
16105         * lyxfunc.C (MenuNew): when doing 'new from template', use
16106         template_path as default directory
16107
16108 2001-06-23  The LyX Project  <Asger>
16109
16110         * Clean-up of header file includes all over
16111         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16112
16113 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16114
16115         * paragraph.h: renamed from lyxparagraph.h
16116
16117 2001-06-23  Asger  <lyx@violet.home.sad.it>
16118
16119         * Buffer.h: Removed Buffer::resize
16120         * BufferList.h: Removed BufferList::resize
16121         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16122         the document lazily when we change the width, or the font settings.
16123
16124 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16125
16126         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16127
16128 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16129
16130         * buffer.h: remove out of date comment
16131
16132 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16133
16134         * lyxscreen.h:
16135         * screen.C: fix "theoretical" GC leak
16136
16137 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16138
16139         * LaTeX.C (scanAuxFile):
16140         (deplog): remove trailing \r when reading stream (useful under
16141         win32)
16142
16143 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16144
16145         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16146         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16147         and BufferView::theLockingInset(Inset*), so should use them and not
16148         access bv_->text->the_locking_inset directly.
16149
16150         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16151
16152 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16153
16154         * Makefile.am:
16155         * tex-defs.h: remove old unused file
16156
16157 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16158
16159         * BufferView_pimpl.C: fix typo, remove minibuffer message
16160           when buffer has loaded
16161
16162 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16163
16164         * lyxfunc.C (Dispatch): use stringstream
16165         (MenuNew): use stringstream
16166         (Open): use stringstream
16167
16168         * importer.C (Import): use stringstream
16169
16170         * bufferview_funcs.C (CurrentState): use stringstream
16171
16172         * LaTeX.C (run): use stringstream
16173
16174         * BufferView_pimpl.C (savePosition): use stringstream
16175         (restorePosition): use stringstream
16176         (MenuInsertLyXFile): use stringstream
16177
16178 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16179
16180         * BufferView.C:
16181         * Bullet.C:
16182         * ColorHandler.C:
16183         * FontInfo.C:
16184         * FontLoader.C:
16185         * LColor.C:
16186         * LaTeXFeatures.C:
16187         * Painter.C:
16188         * gettext.C:
16189         * lyx_gui_misc.C:
16190         * lyxserver.C:
16191         * vspace.C: removed // -*- C++ -*- as first line.
16192
16193         * lyxfind.h:
16194         * version.h: added // -*- C++ -*- as first line.
16195
16196 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16197
16198         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16199
16200         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16201         of string
16202
16203 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16204
16205         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16206         of floats.
16207
16208 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16209
16210         * gettext.C: include LString.h even when --disable-nls is on.
16211
16212 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16213
16214         * converter.h (Get): changed argument type from int to
16215         FormatList::size_type to avoid unnecessary conversion.
16216
16217         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16218         before using it.
16219
16220 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16221
16222         * gettext.h: include LString.h even when --disable-nls is on.
16223
16224 2001-06-07  Juergen Vigna  <jug@sad.it>
16225
16226         * text.C (BreakAgain): subst spaces with tabs.
16227
16228         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16229         (resizeInsetsLyXText): set force on resizeLyXText.
16230
16231 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16232
16233         * gettext.h (gettext_init):
16234         (locale_init): use a real definition instead of a macro
16235
16236 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16237
16238         * Bufferview_pimpl.C:
16239         * LColor.h:
16240         * LColor.C: further lcolor tidies
16241
16242 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16243
16244         * BufferView_pimpl.C (updateScrollbar): simplify.
16245
16246         * BufferView2.C: don't include insets/insetinfo.h, change
16247         prototype for insertInset and call the Pimpl version. let
16248         updateInset call Pimpl version.
16249
16250         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16251         gotoInset to BufferView::Pimpl
16252
16253 2001-06-01  Juergen Vigna  <jug@sad.it>
16254
16255         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16256         inside a LockingInset (is the update needed at all?).
16257
16258 2001-05-31  Juergen Vigna  <jug@sad.it>
16259
16260         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16261         here not the old one otherwise how should we compare it afterwards
16262         if it's the same!
16263
16264 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16265
16266         * lyxfont.C:
16267         * tabular.C:
16268         * tabular-old.C:
16269         * FontInfo.C: bring C functions into global namespace when
16270         necessary
16271
16272 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16273
16274         * LString.h: make sure config.h has been loaded before LString.h.
16275
16276         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16277         (one for each char read by EatLine!).
16278
16279         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16280         variables.
16281
16282 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16283
16284         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16285         to the same as the par we break from
16286
16287 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16288
16289         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16290
16291         * MenuBackend.C (expand): also create menu entries for wide
16292         versions of the floats.
16293
16294         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16295
16296         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16297
16298         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16299         frontends/Makefile.am
16300
16301         * text2.C: adjust
16302         * text.C: adjust
16303
16304
16305         * tabular.C (getTokenValue): add std::
16306
16307         * tabular-old.C (getTokenValue): add std::
16308         (getTokenValue): ditto
16309         (getTokenValue): ditto
16310
16311         * screen.C (ToggleSelection): adjust
16312
16313         * lyxtext.h: put selection cursors inside a Selection struct.
16314
16315         * lyxfunc.C (moveCursorUpdate): adjust
16316
16317         * lyxfont.C (latexWriteStartChanges): add std::
16318
16319         * lyxfind.C: adjust
16320
16321         * font.h: delete with(char const *, LyXFont const &)
16322
16323         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16324
16325         * FontInfo.C (getFontname): add std::
16326
16327         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16328         (workAreaButtonPress): adjust
16329         (tripleClick): adjust
16330         (update): adjust
16331         (moveCursorUpdate): adjust
16332         (Dispatch): adjust
16333
16334         * BufferView2.C (gotoInset): adjust
16335
16336 2001-05-30  Juergen Vigna  <jug@sad.it>
16337
16338         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16339         to check pspell I add this as default as I now have new pspell
16340         libraries and they seem to use this.
16341
16342 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16343
16344         * text2.C (CutSelection): make the cursor valid before the call to
16345         ClearSelection.
16346
16347 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16348
16349         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16350         relied on 0 terminated strings and other horrors. Bug found due to
16351         the new assert in lyxstring!
16352
16353         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16354         KP_ keys.
16355
16356 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16357
16358         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16359         to latinkeys.bind.
16360
16361         * lyxfunc.C (processKeySym): change method of getting to the
16362         self-insert char.
16363
16364         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16365         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16366         * BufferView_pimpl.[Ch]: here as private methods.
16367
16368 2001-05-28  Juergen Vigna  <jug@sad.it>
16369
16370         * text.C (SetHeightOfRow): added the update() call again as it is
16371         needed to initialize inset dimensions!
16372
16373 2001-05-16  Juergen Vigna  <jug@sad.it>
16374
16375         * text2.C (SetCharFont): Add new function with BufferView * and
16376         bool toggleall parameters for setting insets internal fonts.
16377         (SetFont): Freeze the undo as we may change fonts in Insets and
16378         all this change should be inside only one Undo!
16379
16380         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16381         setting font's in insets as for them we have the SetFont function!
16382
16383 2001-05-15  Juergen Vigna  <jug@sad.it>
16384
16385         * text2.C (ClearSelection): to be sure we REALLY don't have any
16386         selection anymore!
16387
16388         * tabular.C (TeXCellPreamble): fixed the left border problem for
16389         multicolumn cells.
16390
16391 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16392
16393         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16394         dependancy file
16395
16396 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16397
16398         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16399         LFUN_BREAKPARAGRAPH.
16400
16401         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16402         help test to "internal only", similar for LFUN_INSERT_URL
16403
16404         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16405         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16406         auto_region_delete and deadkeys.
16407
16408 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16409
16410         * LColor.h:
16411         * LColor.C: remove some dead entries, tidy a little
16412
16413 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16414
16415         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16416         commented code.
16417         (Dispatch): implement LFUN_ESCAPE
16418
16419         * commandtags.h: add LFUN_ESCAPE
16420
16421         * LyXAction.C (init): add entry for LFUN_ESCAPE
16422
16423         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16424         Remove commented code.
16425         (insertNote): moved here
16426         (open_new_inset): moved here
16427
16428         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16429         BufferView_pimpl
16430
16431 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16432
16433         * kbmap.C (findbinding): clean it up and make it work correctly.
16434
16435         * lyx_main.C (init): do not pass argc and argv as parameters
16436
16437 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16438
16439         * buffer.C: fix path for OS/2 & Win32
16440
16441         * lyx_gui.C:
16442         * lyx_main:
16443         * lyx_main.C: Added os:: class.
16444
16445         * os2_defines.h: update
16446
16447 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16448
16449         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16450         better by trying again with reduced state.
16451
16452 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16453
16454         * lyxrc.C (read): print error about invalid key sequence only when
16455         debugging (because not all latinX keysyms are known to some X
16456         servers)
16457
16458         * kbsequence.C (getiso): add a few std:: qualifiers
16459         (getiso): comment out extra return statement.
16460
16461 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16462
16463         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16464         handling.
16465         (Dispatch): enhance the accent inset a bit. (not perfect)
16466
16467 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16468
16469         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16470
16471 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16472
16473         * bufferlist.C (emergencyWrite): fix assert() call
16474
16475 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16476
16477         * text.C (InsertChar): Added trivial patch to only send the "you
16478         can not do multiple spaces this way" message once during a
16479         session.
16480
16481 2001-05-08  Baruch Even  <baruch@lyx.org>
16482
16483         * Makefile.am: Changed order of libraries to get LyX to link properly
16484         with the gnome frontend.
16485
16486 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16487
16488         * LaTeXFeatures.h: add a std:: qualifier
16489
16490 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16491
16492         * paragraph.C (String): use stringstream
16493
16494 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16495
16496         * paragraph.C (writeFile): remove footflag arg
16497
16498         * buffer.C (makeLaTeXFile): use stringstream
16499         (latexParagraphs): remove footnot gurba
16500
16501         * LaTeXFeatures.C (getPackages): use stringstream
16502         (getMacros): likewise
16503         (getTClassPreamble): likewise
16504         (getFloatDefinitions): new method
16505
16506         * paragraph.C (writeFile): reindent
16507         (Erase): reindent
16508
16509         * WorkArea.h: revert the xpos + etc changes.
16510
16511         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16512
16513         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16514
16515         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16516         (pasteSelection): likewise
16517         * text2.C (CreateUndo): likewise
16518
16519 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16520
16521         * minibuffer.C (peek_event): temporarily reduce the functionality
16522         of the minibuffer (to allow args on lfuns)
16523
16524         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16525         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16526
16527         * buffer.C (readInset): add compability reading of old float
16528         lists, add reading of new style float list.
16529         (readInset): avoid reevaluation of inscmd.getCmdName()
16530         (getLists): reindent
16531
16532         * MenuBackend.C (MenuItem): implement parsing of
16533         md_floatlistinsert and md_floatinsert.
16534         (expand::LastFiles): move initalizaton of iterators out of loop,
16535         avoid reevaluation.
16536         (expand::Documents): introduce typdedef vector<string> Strings,
16537         and use it.
16538         (expand::ExportFormats): introduce typedef vector<Format const *>
16539         Formats, and use it.
16540         (expand): implement FloatListInsert and FloatInsert.
16541
16542         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16543         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16544         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16545
16546         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16547         handling.
16548         (Dispatch::LFUN_FLOAT_LIST): implement
16549
16550 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16551
16552         * LaTeX.C (run): Fix problem with --export code.
16553
16554 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16555
16556         * BufferView.[Ch] (workarea): removed.
16557         (getClipboard) new method; wrapper for workarea()->getClipboard()
16558
16559         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16560         bug.
16561
16562         * WorkArea.h (width, height, xpos, ypos): These methods all
16563         returned the dimensions of the work_area sub-area of WorkArea,
16564         resulting in a position error if the WorkArea were resized. Now
16565         return the dimensions of the entire WorkArea.
16566
16567         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16568
16569 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16570
16571         * LaTeX.C (deplog): correct the syntax of regex reg1
16572
16573 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16574
16575         * undo.C: remove !NEW_INSETS cruft
16576
16577 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16578
16579         * text2.C: remove !NEW_INSETS cruft
16580
16581         * text.C: remove !NEW_INSETS cruft
16582
16583         * tabular.C: remove !NEW_INSETS cruft
16584
16585         * spellchecker.C: remove !NEW_INSETS cruft
16586
16587         * lyxtext.h: remove !NEW_INSETS cruft
16588
16589         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16590
16591         * lyxfunc.C: remove !NEW_INSETS cruft
16592
16593         * lyxfind.C: remove !NEW_INSETS cruft
16594
16595         * lyx_cb.C: remove !NEW_INSETS cruft
16596
16597         * figureForm.C: remove  !NEW_INSETS cruft
16598
16599         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16600
16601         * buffer.[Ch]: remove !NEW_INSETS cruft
16602
16603         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16604
16605         * CutAndPaste.C: remove !NEW_INSETS cruft
16606
16607         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16608
16609         * BufferView2.C: remove !NEW_INSETS cruft
16610
16611         * BufferView.h: remove !NEW_INSETS cruft
16612
16613 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16614
16615         * Lsstream.h: include LString.h before the sstream headers to
16616         fix problem with gcc 2.95.3 and lyxstring
16617
16618 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16619
16620         * lyx_main.C: add using directives when needed for C functions
16621         declared in std:: namespace.
16622
16623 2001-04-27  Juergen Vigna  <jug@sad.it>
16624
16625         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16626         (SetHeightOfRow): comment out the update call should not be needed!
16627
16628 2001-04-13  Juergen Vigna  <jug@sad.it>
16629
16630         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16631         (LyXTabular): tried to minimize operator= operations (and realized
16632         hopfully Lars wish).
16633
16634 2001-04-27  Juergen Vigna  <jug@sad.it>
16635
16636         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16637
16638 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16639
16640         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16641
16642         * buffer.C (readInset): hack to make listof algorithm work
16643
16644         * BufferView_pimpl.C: hack to make listof algorithm work
16645
16646 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16647
16648         * LyXAction.C: removed all !NEW_INSETS cruft
16649         (init): moved lfun_item in method
16650
16651         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16652
16653 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16654
16655         * BufferView2.C (theLockingInset): white space.
16656
16657 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16658
16659         * minibuffer.C: include <iostream>
16660
16661         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16662
16663         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16664
16665         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16666
16667         * text.[Ch] (TransposeChars): new method
16668
16669 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16670
16671         * call message directly through LyXView instead of through LyXFunc
16672         * BufferView2.C: adjust
16673         * BufferView_pimpl.C: adjust
16674         * FontLoader.C: adjust
16675         * buffer.C: adjust
16676         * bufferview_funcs.C: adjust
16677         * converter.C: adjust
16678         * figureForm.C: adjust
16679         * importer.C: adjust
16680         * lyx_cb.C: adjust
16681         * lyx_gui_misc.C: adjust
16682         * lyxfunc.C: adjust
16683         * lyxvc.C: adjust
16684         * text2.C: adjust
16685         + more files in subdirs
16686
16687         * lyxparagraph.h (size): move up int file
16688         (GetLayout): ditto
16689
16690         * adjust all uses of Assert to lyx::Assert.
16691
16692         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16693         lyxfunctional in namespace lyx
16694         * layout.C (hasLayout): ditto
16695         (GetLayout): ditto
16696         (GetLayout): ditto
16697         (delete_layout): ditto
16698         (NumberOfClass): ditto
16699         * converter.C (GetFormat): ditto
16700         (GetNumber): ditto
16701         (Add): ditto
16702         (Delete): ditto
16703         (SetViewer): ditto
16704         * bufferlist.C (getFileNames): ditto
16705         (emergencyWriteAll): ditto
16706         (exists): ditto
16707         (getBuffer): ditto
16708         * MenuBackend.C (hasSubmenu): ditto
16709         (hasMenu): ditto
16710         (getMenu): ditto
16711         * BufferView_pimpl.C (getInsetByCode): ditto
16712
16713 2001-04-18  Juergen Vigna  <jug@sad.it>
16714
16715         * vspace.C (asLatexString): fixed the 100% problem.
16716
16717 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16718
16719         * lyxfunc.C (Dispatch):
16720         * minibuffer.C:
16721         * minibuffer.h: add a few std:: qualifiers
16722
16723 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16724
16725         * minibuffer.[Ch]: reimplement so that commands is initiated and
16726         run from lyxfunc, simplified som handling, and made the completion
16727         and history code for complete. wip.
16728
16729         * lyxfunc.C (processKeySym): call message
16730         (miniDispatch): new temporary method
16731         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16732         (LFUN_MESSAGE): implement
16733         (LFUN_MESSAGE_PUSH): implement
16734         (LFUN_MESSAGE_POP): implement
16735         (initMiniBuffer): the initial/defualt minibuffer message.
16736
16737         * lyxfont.[Ch]: inline some more getters
16738
16739         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16740
16741         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16742
16743         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16744         (AutoSave): use LFUN_MESSAGE
16745         (Reconfigure): ditto
16746
16747         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16748
16749         * figureForm.C: use LFUN_MESSAGE
16750
16751         * converter.C (runLaTeX): use LFUN_MESSAGE
16752
16753         * bufferview_funcs.C: use LFUN_MESSAGE
16754         (Melt): ditto
16755         (changeDepth): ditto
16756
16757         * bufferparams.h: use boost::
16758
16759         * bufferlist.h: inherit privately from noncopyable
16760
16761         * bufferlist.C (loadLyXFile): remove some commented code.
16762
16763         * buffer.C (runChktex): use LFUN_MESSAGE
16764
16765         * ShareContainer.h: inherit privately from noncopyable
16766
16767         * ParagraphParameters.[hC] (depth): inline it.
16768
16769         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16770         methods.
16771         (message): new method
16772         (messagePush): ditto
16773         (messagePop): ditto
16774         (show): init minibuffer
16775         (showState): direct call
16776
16777         * LaTeX.[Ch]: inherit privately from noncopyable
16778         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16779         instead of WriteStatus.
16780
16781         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16782
16783         * BufferView_pimpl.C (buffer): don't init minibuffer
16784         (workAreaButtonPress): use LFUN_MESSAGE
16785         (workAreaButtonRelease): ditto
16786         (savePosition): ditto
16787         (restorePosition): ditto
16788         (MenuInsertLyXFile): ditto
16789         (workAreaExpose): don't init minibuffer
16790         (update): remove commented code, simplify
16791
16792         * BufferView2.C (openStuff): use LFUN_MESSAGE
16793         (toggleFloat): ditto
16794         (menuUndo): ditto
16795         (menuRedo): ditto
16796         (copyEnvironment): ditto
16797         (pasteEnvironment): ditto
16798         (copy): ditto
16799         (cut): ditto
16800         (paste): ditto
16801         (gotoInset): ditto
16802         (updateInset): remove some commented code
16803
16804         * lastfiles.h: inherit privately from noncopyable
16805         * layout.h: ditto
16806         * lyx_gui.h: ditto
16807         * lyx_main.h: ditto
16808         * lyxlex.h: ditto
16809         * lyxlex_pimpl.h: ditto
16810
16811         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16812         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16813         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16814
16815         * LyXAction.h: inherit privately from noncopyable, add methods
16816         func_begin, func_end, returning iterators to the func map.
16817
16818         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16819         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16820         (func_begin): new method
16821         (func_end): new method
16822
16823         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16824         and not)
16825         (copySelection): ditto
16826         (pasteSelection): ditto
16827
16828         * BufferView.C: whitespace change
16829         * BufferView.h: inherit privately from noncopyable
16830
16831 2001-04-16  Allan Rae  <rae@lyx.org>
16832
16833         * tabular-old.C (l_getline):
16834         * spellchecker.C (sc_check_word):
16835         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16836         an unrecognised preprocessor directive.  So ensure they're wrapped.
16837
16838 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16839
16840         * src/exporter.C (Export): Give an error message when path to file
16841         contains spaces.
16842
16843 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16844
16845         * LaTeX.C (deplog): Always check that foundfile exists.
16846
16847 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16848
16849         * lyx_main.h:
16850         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16851
16852 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16853
16854         * tabular.[Ch] (getLabelList): implement new method
16855
16856         * minibuffer.h: comment ouf setTiimer
16857
16858         * minibuffer.C (ExecutingCB): constify res
16859         (peek_event): constify s
16860         (Set): constify ntext
16861         (Init): constify nicename
16862
16863         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16864
16865         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16866         (savePosition): use two params to Minibuffer::Set
16867         (restorePosition): ditto
16868
16869 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16870
16871         * lyx_main.C: include language.h
16872
16873         * Makefile.am (lyx_main.o): add language.h
16874
16875 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16876
16877         * exporter.C:
16878         * paragraph.C:
16879         * screen.C:
16880         * tabular.C:
16881         * CutAndPaste.C: include gettext.h
16882
16883         * lyxfont.h: remove old hack with ON and OFF.
16884
16885         * lyxparagraph.h:
16886         * lyxfont.h: do not include language.h...
16887
16888         * BufferView2.C:
16889         * LaTeXFeatures.C:
16890         * Painter.C:
16891         * bufferview_funcs.C:
16892         * font.C:
16893         * lyxfont.C:
16894         * text.C:
16895         * text2.C:
16896         * trans_mgr.C:
16897         * paragraph.C: ... but do it here instead
16898
16899 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16900
16901         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16902
16903         * tabular.C: small reformat
16904
16905         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16906         NEW_INSETS version
16907         (GetChar): ditto
16908         (BreakParagraph): ditto
16909         (SetOnlyLayout): ditto
16910         (SetLayout): ditto
16911
16912         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16913         with one arg less.
16914
16915         * lastfiles.C: removed most using decl, add std:: where needed
16916
16917         * buffer.C: ws changes
16918
16919         * MenuBackend.C (class compare_format): put into anon namespace
16920         (expand): constify label, names, action, action2
16921         (expand):
16922
16923         * text.C (SingleWidth): constify font
16924         (IsBoundary): constify rtl2
16925         (GetVisibleRow): constify ww
16926
16927         * LaTeX.C (deplog): constify logfile
16928
16929         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16930         start_x, end_x
16931         (workAreaExpose): constify widthChange, heightChange
16932
16933         * lyxrow.C (par): moved
16934         (height): moved
16935         (next): moved
16936         * lyxrow.h: as inlines here
16937
16938         * lyxfont.h (shape): moved from lyxfont.C
16939         (emph): moved from lyxfont.C
16940
16941         * lyxfont.C (LyXFont): use initialization list for all
16942         constructors
16943         (shape): move to lyxfont.h as inline
16944         (emph): move to lyxfont.h as inline
16945
16946
16947 2001-04-04  Juergen Vigna  <jug@sad.it>
16948
16949         * vspace.C: had to include stdio.h for use of sscanf
16950
16951 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16952
16953         * BufferView.h:
16954         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16955         independent of xforms.
16956
16957 2001-04-02  Juergen Vigna  <jug@sad.it>
16958
16959         * spellchecker.C: fixed namespace placing!
16960
16961 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16962
16963         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16964         the LyXParagraph * is 0.
16965
16966 2001-03-29  Juergen Vigna  <jug@sad.it>
16967
16968         * vspace.C: added support for %, c%, p%, l%.
16969         (stringFromUnit): added helper function.
16970         (asLatexString): changed to give right results for the %-values.
16971
16972         * buffer.C: convert the widthp in a width%.
16973
16974 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16975
16976         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16977         figureForm.[Ch].
16978
16979         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16980         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16981
16982         * lyx_cb.[Ch]: see above.
16983
16984         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16985         form1.[Ch].
16986
16987         * form1.[Ch]:
16988         * lyx.[Ch]: replaced by figure_form.[Ch].
16989
16990         * lyx_gui.C:
16991         * lyx_gui_misc.C:
16992         * lyxfunc.C: changed headers associated with above changes.
16993
16994 2001-03-27  Juergen Vigna  <jug@sad.it>
16995
16996         * BufferView_pimpl.C: set the temporary cursor right!
16997
16998 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16999
17000         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17001
17002 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17003
17004         * LString.h: removed "using std::getline"!
17005
17006         * BufferView_pimpl.C (Dispatch): changes due to changes in
17007         InsetInclude::Params.
17008
17009         * buffer.C (tag_name): removed redundant break statements as they were
17010         producing lots of warnings with my compiler.
17011
17012 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17013
17014         * LString.h: add "using std::getline" when using the real <string>.
17015
17016 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
17017
17018         * buffer.C: removed bitset usage.
17019         PAR_TAG moved to an anonymous name space.
17020         (tag_name): new funtion, also in the anonymous namespace.
17021         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17022         (makeDocBookFile): clean code. Completed transition from string arrays
17023         to string vectors.
17024         (SimpleDocBookOnePar): code clean.
17025
17026 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17027
17028         * tabular.C: add some comments.
17029
17030 2001-03-22  Juergen Vigna  <jug@sad.it>
17031
17032         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17033         compatibility read a bit and fixed bug with minipage in different
17034         depth.
17035
17036 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
17037
17038         * buffer.C (pop_tag): removed.
17039         (push_tag): removed.
17040         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17041         array replaced with vector. Added support for CDATA sections.
17042         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17043         at any nest level.
17044         (makeDocBookFile): XML conformant declaration of CDATA section,
17045         fixed bug related to <emphasis> in the first paragraph char.
17046         (sgmlOpenTag): exclude empty tags.
17047         (sgmlCloseTag): ditto.
17048
17049         * buffer.h (pop_tag): removed.
17050         (push_tag): removed.
17051
17052 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17053
17054         * language.h (Languages): added size_type and size().
17055
17056 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17057
17058         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17059         response on compability reading of minipages. One probliem is that
17060         the old usage of minipages was «flertydig»
17061
17062         * several files here and in subdirs: don't use static at file
17063         scope use anon namespaces instead.
17064
17065 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17066
17067         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17068         LaTeX output. This is necessary for Literate document
17069         processing.
17070
17071 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17072
17073         * buffer.C: insert hfill when needed.
17074
17075         * tabular.C (l_getline): use string::erase, small whitespace change.
17076
17077         * BufferView_pimpl.C: try the anon namespace.
17078         * WorkArea.C: ditto
17079
17080 2001-03-16  Juergen Vigna  <jug@sad.it>
17081
17082         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17083         otherwise it won't open options-dialogs.
17084
17085         * buffer.C: honor pextraWidth(p) on converting minipages.
17086
17087         * tabular.C (l_getline): changed the functions to strip trailing \r.
17088
17089 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17090
17091         * BufferView_pimpl.C:
17092         * minibuffer..C: added "using SigC::slot" declaration.
17093
17094 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17095
17096         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17097
17098         * text2.C: ditto
17099
17100         * text.C: ditto
17101
17102         * paragraph.C: ditto
17103
17104         * lyxtext.h: NO_PEXTRA
17105
17106         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17107
17108         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17109         * ParameterStruct.h: ditto
17110         * ParagraphParameters.h: ditto
17111         * lyxparagraph.h: ditto
17112
17113 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17114
17115         * buffer.C: add compability for minipage alignment.
17116         (latexParagraphs): remove unwanted pextra check.
17117
17118         * several files: remove CXX_WORKING_NAMESPACES
17119
17120         * buffer.C (pop_tag): tie is in namespace boost
17121
17122         * BufferView.h: noncopyable is in namespace boost
17123         * lyxlex.h: ditto
17124         * lyx_main.h: ditto
17125         * lyx_gui.h: ditto
17126         * layout.h: ditto
17127         * lastfiles.h: ditto
17128         * bufferlist.h: ditto
17129         * ShareContainer.h: ditto
17130         * LyXView.h: ditto
17131         * LyXAction.h: ditto
17132         * LaTeX.h: ditto
17133
17134 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17135
17136         * Merging changes from BRANCH_MVC back into HEAD.
17137
17138         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17139
17140 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17141
17142         * BufferView_pimpl.C: change from intl.C
17143
17144         * combox.h:
17145         * combox.C:
17146         * Makefile.am: move combox.*
17147
17148         * form1.h:
17149         * form1.C:
17150         * lyx_gui.C:
17151         * intl.h:
17152         * intl.C: remove dialog (covered by prefs)
17153
17154 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17155
17156         * lyxfunc.C (Dispatch): removed redundant break statement.
17157
17158 2001-03-14  Juergen Vigna  <jug@sad.it>
17159
17160         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17161
17162 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17163
17164         * buffer.C: add hack to fix compability reading of minipages.
17165
17166 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17167
17168         * buffer.C (getLists): Cleanup.
17169
17170 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17171
17172         * lyxfont.C (update): don't honor toggleall on font size.
17173
17174 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17175
17176         * bmtable.c:
17177         * bmtable.h:
17178         * Makefile.am: moved to frontends/xforms/
17179
17180         * lyx_gui_misc.C:
17181         * lyxfunc.C:
17182         * BufferView_pimpl.C: changes for moved mathpanel
17183
17184 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17185
17186         * gettext.h: fix gettext_init() in --disable-nls
17187
17188 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17189
17190         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17191
17192 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17193
17194         * lyx.C:
17195         * lyx.h: strip external form
17196
17197 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17198
17199         * BufferView_pimpl.C: add comment, destroySplash()
17200
17201 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17202
17203         * BufferView_pimpl.C:
17204         * LyXAction.C:
17205         * buffer.C:
17206         * commandtags.h:
17207         * lyxfunc.C: use re-worked insetinclude
17208
17209 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17210
17211         * buffer.C: add using std::stringstream.
17212
17213         * lyx_cb.C: readd using std::ios.
17214
17215         * buffer.C: add using std::map.
17216
17217         * BufferView_pimpl.C: add using std::vector.
17218
17219         * ShareContainer.h: add std:: to swap.
17220
17221         * buffer.h: add some typedefs
17222         * buffer.C (getLists): use them
17223         (getLists): renamed from getTocList.
17224         add a counter for the different float types and use it in the
17225         generated string.
17226         (getLists): use the same counter for the NEW_INSETS and the "non"
17227         NEW_INSETS
17228
17229         * lyx_cb.h: remove unused items, includes, using etc.
17230
17231         * ShareContainer.h: remove some commented code, add more comments
17232         and "documentation".
17233
17234 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17235
17236         * buffer.C (getTocList): make the list also when NEW_INSETS is
17237         defined.
17238
17239         * buffer.h: remove TocType
17240
17241         * buffer.C (getTocList): change to return a map<string,
17242         vector<TocItem> >, implement for dynamic number of list.
17243
17244         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17245         * text2.C (PasteSelection): adjust
17246         * CutAndPaste.C (pasteSelection): adjust
17247
17248         * FloatList.C (FloatList): update from the new_insets branch.
17249         * Floating.[Ch]: ditto
17250         * LaTeXFeatures.C: ditto
17251         * buffer.C: ditto
17252         * lyxlex_pimpl.C: ditto
17253
17254         * paragraph.C (Last): remove when NEW_INSETS is defined.
17255
17256         * other file: changes because of the above.
17257
17258 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17259
17260         * lyxparagraph.h: rename next to next_, previous to previous_,
17261         make them private for NEW_INSETS. Rename Next() to next(),
17262         Previous() to previous().
17263
17264         * other files: changes because of the above.
17265
17266 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17267
17268         * BufferView.h:
17269         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17270         problem.
17271
17272 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17273
17274         * main.C (main): pass lyx_localedir to gettext_init().
17275
17276         * gettext.h: remove locale_init and gettext_init macros
17277
17278         * gettext.C (locale_init): new function
17279         (gettext_init): new function
17280
17281         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17282         setlocale().
17283
17284 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17285
17286         * Moved credits to frontends:
17287         * credits.[Ch]: removed
17288         * credits_form.[Ch]: removed
17289         * lyx_gui_misc.C: remove credits stuff
17290         * Makefile.am:
17291
17292 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17293
17294         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17295
17296         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17297         unneeded destructor.
17298
17299         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17300         a standalone pointer again.
17301
17302         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17303
17304 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17305
17306         * Makefile.am:
17307         * filedlg.h:
17308         * filedlg.C:
17309         * LyXAction.C:
17310         * ToolbarDefaults.C:
17311         * bufferlist.C:
17312         * commandtags.h:
17313         * form1.C:
17314         * form1.h:
17315         * lyx_cb.C:
17316         * lyx_cb.h:
17317         * lyxfunc.h:
17318         * lyxfunc.C:
17319         * BufferView_pimpl.C: use new file dialog in GUII
17320
17321         * lyx_cb.h:
17322         * lyx_cb.C: remove LayoutsCB to Toolbar
17323
17324 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17325
17326         * ShareContainer.h (get): add std:: qualifier
17327
17328 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17329
17330         * ShareContainer.h: define a proper ShareContainer::value_type
17331         type (and use typename to please compaq cxx)
17332
17333 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17334
17335         * lyxparagraph.h: move serveral local vars to
17336         ParameterStruct/ParagraphParameters., use ShareContainer in
17337         FontTable., make vars in FontTable private and add getter and
17338         setter.
17339
17340         * paragraph.C: changes because of the above.
17341
17342         * lyxfont.h: remove copy constructor and copy assignment. (the
17343         default ones is ok), move number inside FontBits. move inlines to
17344         lyxfont.C
17345
17346         * lyxfont.C: add number to initializaton of statics, move several
17347         inlines here. constify several local vars. some whitespace
17348         cleanup. Dont hide outerscope variables.
17349
17350         * Spacing.h: add two new constructors to match the set methods.
17351
17352         * ShareContainer.h: new file, will perhaps be moved to support
17353
17354         * ParameterStruct.h: new file
17355
17356         * ParagraphParameters.h: new file
17357
17358         * ParagraphParameters.C: new file
17359
17360         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17361         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17362
17363         * BufferView_pimpl.C: ParagraphParameter changes.
17364         * buffer.C: Likewise.
17365         * bufferview_funcs.C: Likewise.
17366         * text.C: Likewise.
17367         * text2.C: Likewise.
17368
17369 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17370
17371         * lyxfind.C (LyXReplace): do not redefine default argument in
17372         implementation.
17373         (IsStringInText): ditto
17374         (SearchForward): ditto
17375         (SearchBackward): ditto
17376
17377 2001-03-06  Juergen Vigna  <jug@sad.it>
17378
17379         * lyxfind.C (IsStringInText): put parentes around expressions.
17380
17381 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17382
17383         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17384
17385 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17386
17387         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17388
17389         * stl_string_fwd.h: add comment
17390
17391         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17392
17393         * tabular.h:
17394         * tabular.C: remove unused DocBook methods
17395
17396         * intl.C:
17397         * language.C:
17398         * paragraph.C:
17399         * buffer.C:
17400         killed DO_USE_DEFAULT_LANGUAGE
17401
17402 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17403
17404         * lyx_gui.C: do not include language.h.
17405
17406         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17407         arguments in function implementation.
17408
17409 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17410
17411         * BufferView_pimpl.C: add <ctime>
17412
17413 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17414
17415         * BufferView_pimpl.C: add using std::find_if
17416
17417 2001-02-27  José Matos  <jamatos@fep.up.pt>
17418
17419         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17420         by OnlyPath.
17421
17422 2001-02-11  José Matos  <jamatos@fep.up.pt>
17423
17424         * buffer.C (makeDocBookFile): command styles now have a parameter as
17425         "title" by default.
17426
17427 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17428
17429         * layout_forms.[Ch]: removed
17430         * lyx_cb.[Ch]: out character
17431         * lyx_gui.C: out character
17432         * lyx_gui_misc.C: out character
17433         * bufferview_funcs.C: : out character,
17434         added toggleall as parameter in ToggleAndShow
17435
17436 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17437
17438         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17439
17440         * text2.C (SetCurrentFont): Disable number property at boundary.
17441
17442 2001-02-26  Juergen Vigna  <jug@sad.it>
17443
17444         * lyxfunc.C (getStatus): added a string argument override function so
17445         that this is correctly called from LyXFunc::Dispatch if it contains a
17446         do_not_use_argument which is used!
17447         (Dispatch): added check for "custom" export and call appropriate func.
17448
17449 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17450
17451         * lyxrc.C: Add language_command_local, language_use_babel and
17452         language_global_options.
17453
17454         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17455
17456         * buffer.C (makeLaTeXFile): Use language_use_babel and
17457         language_global_options.
17458
17459 2001-02-23  Juergen Vigna  <jug@sad.it>
17460
17461         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17462         which works with LyXText and putted it inside BufferView. Here now we
17463         only call for that part the BufferView::Dispatch() function.
17464
17465         * BufferView.C (Dispatch): added.
17466
17467         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17468         functions which needs to use a LyXText over from LyXFunc.
17469         (MenuInsertLyXFile): added
17470         (getInsetByCode): added
17471         (moveCursorUpdate): added
17472         (static TEXT): added
17473
17474 2001-02-22  Juergen Vigna  <jug@sad.it>
17475
17476         * BufferView_pimpl.C (update): call a status update to see if LyXText
17477         needs it.
17478
17479 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17480
17481         * vc-backend.C (revert): implement for CVS
17482         (getLog): implement for CVS
17483
17484 2001-02-20  Juergen Vigna  <jug@sad.it>
17485
17486         * text2.C (ClearSelection): added BufferView param for inset_owner call
17487
17488         * lyxfunc.C (TEXT): added this function and use it instead of
17489         directly owner->view()-text of getLyXText().
17490
17491 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17492
17493         * src/layout_forms.C: out preamble
17494         * src/layout_forms.h: out preamble
17495         * src/lyx_cb.C: out preamble
17496         * src/lyx_cb.h: out preamble
17497         * src/lyx_gui.C: out preamble
17498         * src/lyx_gui_misc.C: out preamble
17499         * src/lyxfunc.C: connect with guii preamble
17500
17501 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17502
17503         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17504
17505 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17506
17507         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17508         whether to run bibtex.
17509
17510 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17511
17512         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17513
17514 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17515
17516         * Makefile.am (lyx_SOURCES): removed bibforms.h
17517
17518         * vspace.h: doxygen
17519
17520         * text.C (GetVisibleRow): make several local vars const
17521
17522         * tabular.C: small cleanup.
17523
17524         * lyxserver.C (callback): use compare instead of strncmp
17525
17526         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17527         inlines to after class or to paragraph.C
17528
17529         * lyxfont.h: remove friend operator!=
17530
17531         * converter.h: move friend bool operator< to non friend and after
17532         class def.
17533
17534         * combox.h: small cleanup
17535
17536         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17537         to inlines after class def.
17538
17539         * buffer.C (pop_tag): use string operations instead of strcmp
17540
17541         * bmtable.c: doxygen, small cleanup
17542
17543         * LaTeX.h: remove friend operator==
17544
17545 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17546
17547         * screen.C:
17548         * lyxrc.[Ch]:
17549         * lyxfunc.C:
17550         * lyxfont.[Ch]:
17551         * lyx_cb.C:
17552         * intl.[Ch]:
17553         * commandtags.h:
17554         * buffer.C:
17555         * WorkArea.[Ch]:
17556         * LyXAction.C:
17557         * BufferView_pimpl.C:
17558         * BufferView.[Ch]: remove cruft
17559
17560 2001-02-14  Juergen Vigna  <jug@sad.it>
17561
17562         * lyxfunc.C: removed #if 0 unused code
17563
17564         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17565
17566         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17567
17568         * text2.C (SetSelection): added a BufferView * parameter
17569
17570 2001-02-13  Juergen Vigna  <jug@sad.it>
17571
17572         * lyxfunc.C (Dispatch): fixed protected blank problem.
17573         * BufferView2.C (protectedBlank): added LyxText * parameter.
17574
17575         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17576         (AppendColumn): same as above for column_info.
17577
17578         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17579         (moveCursorUpdate): use a LyXText param for support of InsetText.
17580
17581         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17582         (tripleClick): ditto
17583
17584         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17585
17586         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17587
17588         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17589
17590         * text2.C (SetSelection): set correct update status if inset_owner
17591         (ToggleFree): ditto
17592
17593 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17594
17595         * tabular.C: remove some commented code.
17596
17597 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17598
17599         * BufferView_pimpl.C: call hideSplash()
17600
17601         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17602
17603         * include_form.h:
17604         * bibforms.h: remove
17605
17606         * lyxfunc.C:
17607         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17608           add LFUN_CHILD_CREATE
17609
17610         * counters.h: fix tiny typo
17611
17612         * lyx_cb.C:
17613         * lyx.h:
17614         * lyx_gui.C:
17615         * lyx.C: move splash to frontends/xforms/
17616
17617         * lyx_gui_misc.C: move Include and Bibform to frontends
17618
17619         * lyxvc.h: clarify comment
17620
17621         * vspace.C: tiny housekeeping
17622
17623 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17624
17625         * text.C (PrepareToPrint): RTL Fix.
17626
17627         * paragraph.C (GetUChar): New method.
17628         (String):  Use GetUChar.
17629
17630         * buffer.C (asciiParagraph): Use GetUChar.
17631
17632 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17633
17634         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17635
17636 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17637
17638         * buffer.h:
17639         * buffer.C: rename to getLogName(), handle
17640           build log / latex log nicely
17641
17642 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17643
17644         * MenuBackend.C:
17645         * MenuBackend.h: remove support for reference menuitem type.
17646
17647 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17648
17649         * BufferView_pimpl.C: housekeeping
17650         * BufferView_pimpl.h:
17651         * LyXView.h:
17652         * Makefile.am:
17653         * Timeout.C:
17654         * Timeout.h:
17655         * minibuffer.h: move Timeout GUI-I
17656
17657 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17658
17659         * lyxrc.C (read): Update converters data-structures.
17660
17661 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17662
17663         * LaTeX.h (operator!=): add operator != for Aux_Info
17664
17665 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17666
17667         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17668
17669         * LaTeXLog.C: deleted, useful code moved to Buffer
17670
17671         * buffer.h:
17672         * buffer.C: new function getLatexLogName()
17673
17674         * lyx_gui_misc.C:
17675         * lyx_gui.C:
17676         * lyxvc.C:
17677         * lyxvc.h:
17678         * lyxfunc.C: use frontends for LaTeX and VC logs
17679
17680 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17681
17682         * LaTeX.h: yet another std:: that Allan forgot.
17683
17684         * Variables.C (set): renamed from isset(), because this clashes
17685         with some HP-UX macros (grr).
17686
17687 2001-02-06  Allan Rae  <rae@lyx.org>
17688
17689         * LaTeX.h: Another bug fix.  Missing std:: this time.
17690
17691 2001-02-04  Allan Rae  <rae@lyx.org>
17692
17693         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17694         floats problem. I've left it commented out because it's not quite
17695         correct.  It should also test that the current object is a table or
17696         figure inset.  But I haven't gotten around to figuring out how to do
17697         that.  I *think* it'll be something like: "table" == inset.type()
17698
17699         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17700         bool.
17701
17702 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17703
17704         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17705         all the citation/databases/styles in the auxilary file.
17706         (run): Rerun latex if there was a babel language error.
17707
17708 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17709
17710         * text.C (Backspace): Preserve the font when changing newline char
17711         with a space.
17712         (BreakParagraph): If the cursor is before a space, delete the space.
17713
17714         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17715
17716 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17717
17718         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17719         new argument (code).
17720         (ChangeCitationsIfUnique): New method.
17721
17722         * paragraph.C (GetPositionOfInset): Handle bibkey.
17723
17724 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17725
17726         * BufferView_pimpl.h: change type of Position::par_pos to
17727         LyXParagraph::size_type.
17728
17729 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17730
17731         * BufferView_pimpl.C (savePosition, restorePosition): Write
17732         messages to minibuffer.
17733
17734 2001-01-28  José Matos  <jamatos@fep.up.pt>
17735
17736         * buffer.C (makeDocBookFile): adds support for document language.
17737         A silly restriction on the name of LatexCommand types where removed.
17738         Added support for CDATA sections, allows to chars unescaped, used
17739         among others in code, to avoid escape < and >.
17740
17741 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17742
17743         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17744         saved positions instrad of a stack. Furthermore, a position is
17745         stored using paragraph id/paragraph position.
17746
17747         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17748         Remove LFUN_REF_BACK.
17749
17750 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17751
17752         * converter.C (dvipdfm_options): New method.
17753
17754 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17755
17756         * vspace.C (isValidLength): Fix for empty input string.
17757
17758 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17759
17760         * LyXAction.C (init): change description of LFUN_FIGURE to
17761         "Insert Graphics"
17762
17763 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17764
17765         * LaTeX.C: add using directive
17766
17767 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17768
17769         * MenuBackend.C (expand): Fix the sorting of the formats.
17770
17771 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17772
17773         * lyx_main.C: tiny error message fix
17774
17775 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17776
17777         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17778         calling fl_initialize(). This fixes the problem with ',' as
17779         decimal separator in text files.
17780
17781 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17782
17783         * trans.C (process): Fix the keymap bug.
17784
17785 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17786
17787         * LaTeX.C (scanAuxFiles): New method. Provides support for
17788         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17789         (scanLogFile) Scan for "run BibTeX" messages.
17790
17791         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17792         OT1 font encoding. Also, load the aecompl package if the ae
17793         package is loaded.
17794
17795         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17796
17797 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17798
17799         * texrow.C (increasePos): turn two error messages into debug
17800         messages.
17801
17802 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17803
17804         * LaTeX.C (scanAux): Handle the \@input macro.
17805         (runBibTeX): Use scanAux().
17806
17807         * language.C (latex_options_): New field.
17808
17809         * LaTeXFeatures.C (getMacros): Add language macros.
17810
17811         * buffer.C (makeLaTeXFile): Small fix.
17812
17813 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17814
17815         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17816
17817         * text2.C: add a using directive.
17818
17819 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17820
17821         * BufferView2.C:
17822         * lyx_gui_misc.h:
17823         * lyxfr1.C:
17824         * lyxfunc.C: kill LyXBell.
17825
17826 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17827
17828         * text.C (IsBoundary): Remove the error message
17829
17830         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17831
17832         * lyxrc.C (setDefaults): Correct initialization value for
17833         font_norm_type.
17834
17835 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17836
17837         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17838         gotoError().
17839
17840         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17841         and GotoNextNote().
17842
17843         * src/LyXAction.C: Added reference-next.
17844
17845         * text.C (InsertChar): Use contains instead of strchr.
17846
17847         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17848
17849 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17850
17851         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17852         alignment commands (when needed).
17853
17854         * text.C (InsertChar): Add ':' to number separator chars.