]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
remove files that have not been used since two years
[lyx.git] / src / ChangeLog
1 2005-07-17  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * text2.C (cursorLeft): fix one of error
4
5 2005-07-17  Juergen Vigna  <jug@lyx.org>
6
7         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
8                    cursorEnd):
9         more fixes for boundary handling
10
11         * text3.C (dispatch): don't reset cursor if boundary has changed
12         on cursor movement.
13
14 2005-07-16  Juergen Vigna  <jug@lyx.org>
15
16         * text2.C (getColumnNearX): hopefully got it right now,
17         check if we are on column 0 for special case.
18
19 2005-07-16  Juergen Vigna  <jug@lyx.org>
20
21         * text2.C (getColumnNearX): handle special case Newline Inset
22
23         * text.C (singleWidth): Just remove bogus check
24
25 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
26
27         * funcrequest.C (split): avoid reading uninitialized char c
28
29 2005-07-16  José Matos  <jamatos@fc.up.pt>
30
31         * buffer.C:
32         * converter.C:
33         * lyxrc.C:
34         * paper.h:
35         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
36         single papersize variable.
37
38 2005-07-16  Juergen Vigna  <jug@lyx.org>
39
40         * text3.C (dispatch): honor boundary when checking if a cursor
41         movement has been done
42
43         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
44         (setCursor, setCursorIntern): fix cursor movement with boundary
45
46 2005-07-16  Juergen Vigna  <jug@lyx.org>
47
48         * text.C (currentState): output the actual Boundary
49
50 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
51
52         * factory.C (createInset): fix bad logic for tabular creation
53
54 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
55
56         * lyx_main.C (init): change some reLyX reference to tex2lyx
57
58 2005-07-16  Juergen Vigna  <jug@lyx.org>
59
60         * dociterator.C (DocIterator): initialize boundary
61
62 2005-07-16  Juergen Vigna  <jug@lyx.org>
63
64         * text2.C (getColumnNearX): Consider rows without trailing blank.  
65
66 2005-07-16  André Pönitz  <poenitz@gmx.net>
67
68         * lyxfont.h: Change order of declarations to give the compiler
69         a better chance to inline things
70
71         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
72         questions on unsaved docs for better scritability
73
74 2005-07-16  André Pönitz  <poenitz@gmx.net>
75
76         * paragraph.h (getChar): remove asserts as the same kind of security
77         can be achieved by using a suitable standard library implementation
78         and the function was in the critical path (25.9% in profiler)
79
80 2005-07-16  Juergen Vigna  <jug@lyx.org>
81
82         * cursor.C (bruteFind2):
83         * bufferview_funcs.C (coordOffset): 
84         * text.C (cursorX,cursorY): Handle cursor position after last char
85         in row before a inset which uses a whole row.
86
87 2005-07-15  José Matos <jamatos@lyx.org>
88
89         * output_plaintext.[Ch] (writeFileAscii): control reference title
90         printing.
91         (asciiParagraph): noparbreak was already deal and was incorrectly
92         used.
93
94 2005-07-15  Juergen Vigna <jug@lyx.org>
95
96         * lyxfunc.C (dispatch): save and restore the cursor after a
97         textclass switch.
98
99 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
100
101         * text.C (backspace): bug 806 for empty keepempty paragraphs we
102         change the layout to default before letting DEPM do its thing.
103
104         * paragraph_funcs.C (breakParagraph): dont reset the layout on
105         keepEmpty paragraphs
106
107         * text.C (setCursorFromCoordinates): add a debug statement
108
109         * text2.C (getColumnNearX): bug 1825 make sure that we don't
110         return a pos that is not on the row
111
112         * output_latex.C (TeXDeeper): get rid of potential dereferencing
113         of past the end iterator
114
115 2005-07-14  André Pönitz  <poenitz@gmx.net>
116
117         * undo.C (recordUndoFullBuffer): implement undo for
118         textclass switches
119
120 2005-07-14  André Pönitz  <poenitz@gmx.net>
121
122         * cursor.C (setSelection): open insets when selection is set there
123         to avoid crashs with cold coord cache
124
125 2005-07-14  André Pönitz  <poenitz@gmx.net>
126
127         * trans_mgr.C (insert): move cursor to the right after inserting
128         a char.
129
130 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
131
132         * BufferView_pimpl.C (update): dampen some of the debug blabbering
133         * factory.C (readInset): ditto
134         * text.C, text2.C: ditto
135
136 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
137
138         * buffer.C: format incremented to 242. There is no file format per
139         se, but the "frenchb" language has been removed from lib/language
140         and has to be translated to "french" by lyx2lyx.
141
142 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
143
144         * cursor_slice.h, dociterator.h: add some documentation
145         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
146
147 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
148
149         * text.C (leftMargin): do not add identation to display() style
150         insets, because they are always centered (bug 1293).
151
152 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
153
154         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
155         formatted_time methods in support/lyxtime.
156
157 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
158
159         * toc.[Ch]: new method getGuiName, which is used by the frontends 
160         to set the toc combo (fixes bug 1870). Make TOC string translatable.
161
162 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
163
164         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
165         StableDocIterator const &)
166         * undo.C (recordUndo): use the above instead of cell.size() comparison
167         (fixes bug 1808; instructed by André).
168
169 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
170
171         * cursor_slice.h: 
172         * dociterator.h: Fix the assert when copying rows/cols in math
173
174 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
175
176         * BufferView_pimpl.C:
177         * LyXAction.C:
178         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
179
180         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
181         (findInset): new functions, refactored from goto Inset that return 
182         the position of a certain inset without setting the buffer's cursor
183         (by Jean-Marc); 
184         (gotoInset): rewrite to call findInset and then set the cursor
185         (by Jean-Marc).
186
187 2005-06-16  Angus Leeming  <leeming@lyx.org>
188
189         * lyxrc.C (output, read): wrap all input and output of paths with
190         calls to os::internal_path and os::external_path, respectively.
191         (output): wrap bind_file inside quotes.
192
193         * format.C (view): enable the viewer to use the '$$s' placeholder.
194
195 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
196
197         * LColor.[Ch] (getFromLaTeXName): new
198
199 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
200
201         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
202
203 2005-06-14  Angus Leeming  <leeming@lyx.org>
204
205         * lyx_main.C (init): ensure that the LyX binary dir is the first
206         element in the PATH on non-POSIX builds.
207
208 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
209
210         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
211
212 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
213
214         * rowpainter.C (paintInset, paintHebrewComposeChar)
215         (paintArabicComposeChar, paintChars): add a LyXFont argument.
216         (paintChars): use getFontSpan to reduce calls to getFont to a
217         minimum; use Paragraph::lookupChange instead of isXXXText.
218         (paintForeignMark): rename LyXFont argument.
219         (paintFromPos): pass a LyXFont object to the various paintXXX
220         methods.
221
222         * FontIterator.C (FontIterator, operator++): use
223         Paragraph::getFontSpan
224
225         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
226         version that returns the font span as a pair.
227
228 2005-06-09  Angus Leeming  <leeming@lyx.org>
229
230         * converter.C (convert): Don't forget "outfile = real_outfile" as
231         the final step in a conversion where the input and output file names
232         are the same. Otherwise, future conversion steps won't work...
233
234 2005-06-09  Angus Leeming  <leeming@lyx.org>
235
236         * lyxsocket.C: remove stub code as it isn't needed by
237         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
238
239 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
240
241         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
242         effectively disabled -x
243
244 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
245
246         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
247         when it actually makes sense.
248
249 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
250
251         * BufferView_pimpl.C: revert to showCursor in connection with
252         Lars's front-end stack
253
254 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
255
256         * text.C (redoParagraph): move cursor right after a bibitem
257         has been inserted.
258
259         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
260
261 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
262
263         * buffer_funcs.C (bufferErrors): fix computation of the end of an
264         error range.
265
266 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
267
268         * BufferView.[Ch] (update):
269         * BufferView_pimpl.[Ch] (update, metrics):
270         * dimension.h (operator==):
271         * lyxfunc.C (dispatch):
272         * metricsinfo.h (ViewMetricsInfo):
273         * rowpainter.C (paintText):
274         * lyxtext.h:
275         * text.C (redoParagraph):
276         * text3.C (dispatch): Make LyX only repaint current paragraph in
277         case of character insert --> speedup. Also fix cursor draw
278         artifacts
279
280 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
281
282         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
283         avoid a crash (bug 1891)
284
285 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
286
287         Fix bug 1892:
288
289         * text2.C (getStringToIndex): constify cur argument.
290
291         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
292         argument has been given
293         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
294         try to invoke LFUN_INSET_APPLY).
295
296         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
297         if no inset was created by doInsertInset
298         (doInsertInset): return true if an inset has been inserted.
299
300 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
301
302         * vspace.C (asGUIName): new method. A version of the space
303         suitable for showing on screen.
304
305 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
306
307         * MenuBackend.C:
308         * lyxrc.C: rename "ASCII" to "Plain Text"
309
310 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
311
312         * buffer_funcs.C (expandLabel): take a Buffer as argument;
313         translate the labelstring.
314         (setCounter): translate labelstring as needed.
315
316         * output_docbook.C (makeCommand): fix expandLabel invokation
317
318 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
319
320         * BufferView.C: fix dialog title
321
322 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
323
324         * lyx_main.C (priv_exec): fix logic error with help from Angus
325         * lyx_main.C (parse_execute): set is_gui = false and remove now
326         obsolete comment about a segfault
327
328 2005-05-18  Angus Leeming  <leeming@lyx.org>
329
330         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
331
332 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
333
334         * tabular.[hC]: added setCellInset to fix tabular paste.
335
336 2005-05-11  Lars Gullik Bjonnes  <larsbj@gullik.net>
337
338         * buffer.C (save): check if destination is writable before trying
339         to copy a file
340
341 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
342
343         * BufferView_pimpl.C (update): fix processEvents -caused update
344         recursion bug
345
346 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
347
348         * buffer_funcs.C (setCounter): fix test for numbering of
349         environments.
350
351         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
352         depth correctly; use optional argument when it exists
353
354         * lyxtextclass.C: remove unused MaxCounterTags enum
355         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
356         (max_toclevel, min_toclevel): new methods.
357
358         * MenuBackend.C (expandToc2): fix case where depth is smaller than
359         the smallest depth in toc.
360
361         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
362         layouts that should not appear in a table of contents.
363
364 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
365
366         * cursor.h (undispatched, noUpdate): add comments from André
367
368 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
369
370         * lfuns.h:
371         * LyXAction.C:
372         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
373
374 2005-05-07  André Pönitz  <poenitz@gmx.net>
375
376         * cursor.[Ch] (leaveInset): new function
377
378 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
379
380         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
381
382 2005-05-04  Angus Leeming  <leeming@lyx.org>
383
384         * lyxfunc.C (getStatus): disable the spell checker dialog if
385         none of USE_[AIP]SPELL are defined.
386
387 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
388
389         * tabular.C (setWidthOfCell): remove obsolete comment
390
391 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
392
393         * paragraph.C (bibitem):
394         * buffer_funcs.C (setCounter):
395         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
396
397 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
398
399         * text3.C (getStatus): immediately return after setOnOff
400
401         * rowpainter.C: fix drawing of appendix start
402
403 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
404
405         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
406         SwitchBetweenClasses and remove the unused return value.
407         Handle character styles, too
408
409 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
410
411         * factory.C (createInset): handle undefined character styles
412
413 2005-05-02  Angus Leeming  <leeming@lyx.org>
414
415         * buffer.C: protect the #include of utime.h with a preprocessor
416         guard.
417
418 2005-05-02  Angus Leeming  <leeming@lyx.org>
419
420         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
421         function so that auto-saving works, albeit in a blocking manner.
422
423         * Makefile.am: make compilation of the client sub directory, of
424         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
425         on conditionals set at configure time.
426
427         * SpellBase.[Ch]: no longer an abstract base class. Instead,
428         it can be compiled in its own right but has no-op functionality.
429
430         * aspell.C, pspell.C: remove preprocessor guards. The files should
431         be compiled only if the necessary functionality exists.
432
433         * lyxserver.C, lyxsocket.C: disable on Windows.
434
435 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
436
437         * text.C (leftMargin): Fix the parindent use bug (1764)
438         by dirty trick
439
440 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
441
442         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
443         argument.
444
445 2005-04-25  Angus Leeming  <leeming@lyx.org>
446
447         * Bidi.[Ch]:
448         * coordcache.[Ch]:
449         * ispell.C:
450         * lyxserver.C:
451         * mover.C:
452         * pch.h:
453         include <config.h> in .C files, not .h ones.
454         add licence blurb.
455         protect headers inside preprocessor guards.
456
457 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
458
459         * FuncStatus.h (StatusCodes): document
460
461 2005-04-21  André Pönitz  <poenitz@gmx.net>
462
463         * FuncStatus.h (enabled, onoff): document
464
465 2005-04-19  Angus Leeming  <leeming@lyx.org>
466
467         * BufferView_pimpl.C (cursorToggle): no longer test whether
468         any child processes have been reaped before calling
469         handleCompletedProcesses().
470
471 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
472
473         * text3.C (dispatch): fix, finally fix, the language problem in
474         new lyxtexts, without disabling on-the-fly font changes (Helge's
475         bug report)
476
477 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
478
479         * text3.C (dispatch): set cursor on double/triple click events
480         (bug 1811)
481
482 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
483
484         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
485         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
486
487         * rowpainter.C (paintFirst): simplify the code a little bit. In
488         particular, remove the test for secnumdepth.
489         * text.C (setHeightOfRow): only allocate space for chapter number
490         when updateCounters provided an actual label, instead of looking
491         at secnumdepth directly.
492
493         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
494
495         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
496         paragraphs when secnumdepth is large enough or, for environments,
497         when they are not the first in a sequence.
498
499 2005-04-17  Angus Leeming  <leeming@lyx.org>
500
501         * buffer.C (makeLaTeXFile): replace code to manipulate a path
502         containing space and '~' characters with a call to latex_path().
503
504 2005-04-17  Angus Leeming  <leeming@lyx.org>
505
506         * converter.C (convert): protect all args of convertDefault.sh
507         script with quotes.
508
509 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
510
511         * text3.C (dispatch): change the layout to "Caption" after inserting
512         a float.
513
514 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
515
516         * text3.C (dispatch): fix language problem in newly created
517         textinsets (and main text) in non-english docs
518
519 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
520
521         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
522         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
523         * text3.C (getStatus): disable LFUN_INSET_MODIFY
524
525 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
526
527         * lyxtext.h:
528         * text.C (metrics):
529         * text2.C (getFont):
530         * rowpainter.C (getFont): Fix metrics bug introduced by inset
531         fonts fix
532
533 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
534
535         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
536         output of \item arguments without trailing text.
537
538 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
539
540         * FontIterator.C (operator*): avoid a copy of the font.
541
542 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
543
544         * rowpainter.C (getFont): fix language bug from previous fix
545
546 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
547
548         * rowpainter.C (RowPainter, getFont): fix font inside inset
549         (bugs 1766, 1809)
550
551 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
552
553         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
554         preventing inserted font, deco, delim insets jumping to start of
555         surrounding inset.
556
557 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
558
559         * lyxfunc.C (dispatch): translate message before sending it to the
560         minibuffer.
561
562 2005-03-29  Angus Leeming  <leeming@lyx.org>
563
564         * lyx_main.C (priv_exec): call os::internal_path on each file passed
565         to LyX on the command line.
566
567 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
568
569         * vc-backend.C: use QuoteName to protect file names wherever
570         necessary.
571
572 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
573
574         * buffer.[Ch]:
575         * BranchList.h: fix bugs 1844,1845: document settings don't
576         stick
577
578 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
579
580         * lyxrc.C (setDefaults, read, output, getDescription): add support
581         for tex_allows_spaces.
582
583         * exporter.C (Export): allows files in directory containing spaces
584         if tex_allows_spaces is true.
585
586         * buffer.C (makeLaTeXFile): if the document path contains spaces,
587         output it in double quotes.
588
589 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
590
591         * rowpainter.C: use default text height for drawing change tracker
592         strikeout lines.
593
594 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
595
596         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
597
598 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
599
600         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
601         directory is missing.
602
603 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
604
605         * text2.C: fixed the fix, extended to other case.
606
607 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
608
609         * text2.C: fix for cursor up/down stuck in math [bug 1792]
610
611 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
612
613         * text2.C (cursorUp): get rid of a crash
614         * text.C (x2pos): add an assert
615
616 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
617
618         * lyxfunc.C (getStatus): fix warning when assertions are disabled
619
620         * text3.C:
621         * lyxfunc.C:
622         * dociterator.C: include <boost/current_function.hpp>, which is
623         needed when assertions are disabled.
624
625 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
626
627         * text2.C: fix for stuck cursor when traversing two
628         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
629
630 2005-02-25  Andreas Vox  <avox@arcor.de>
631
632         * output_docbook.C (makeParagraph): suppress trailing newline
633         after a run of paragraphs
634
635 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
636
637         * paragraph.C: fix for confused change tracker when pasting
638         text that begins with a lineseparator. [bug 1827]
639         (setChange(0, Change::INSERTED);)
640
641         * paragraph_funcs.C: fix for lost changes on triple-paste
642         in change tracking mode [bug 1827] (par.setChange()).
643
644 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
645
646         * text2.C (updateCounters, setCounter, expandLabel): move to
647         buffer_funcs.
648
649         * buffer_funcs.C (updateCounters): turn into a free standing
650         function and add a buffer parameter. Remove dead code for tracking
651         labelstring change.
652         (setCounter): change into a free-standing function which gets a
653         dociterator as argument. Use this iterator to fix captions in a
654         simple way. When no float is found above the caption, use the
655         labelstring of the caption layout as default.
656
657         * text.C (breakParagraph, backspace):
658         * text2.C (init, setLayout, changeDepth):
659         * text3.C (dispatch):
660         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
661         updateCounters.
662
663         * dociterator.C (forwardPar): make it much faster by calling
664         forwardPos() only when really necessary.
665
666         * output_docbook.C (makeCommand): adapt to expandLabel move.
667
668         * cursor.C: remove unused variable
669
670 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
671
672         * paragraph_funcs.C: fix crash when pasting insets in change
673         tracking mode [bug 1277] (honour change type in moveItem).
674
675 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
676
677         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
678
679 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
680
681         * BufferView.C (setCursor): change to use a DocIterator.
682         (gotoLabel): use BufferView::setCursor (other part of bug 781).
683         (putSelectionAt): adapt to BufferView::setCursor change.
684
685         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
686         moved here from LyXText and rewritten to use proper cursor
687         methods. Fixes bug 1787, 616 and 835.
688
689         * BufferView_pimpl.C (restorePosition): set the cursor correctly
690         when inside an inset (part of bug 781).
691         (dispatch): adapt to change of BufferView::setCursor.
692         (getStatus, dispatch): handle LFUN_GOTOERROR,
693         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
694
695         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
696         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
697         * text3.C (gotoNextInset, gotoInset): removed.
698
699 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
700
701         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
702
703 2005-02-15  Angus Leeming  <leeming@lyx.org>
704
705         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
706         can be used meaningfully in a comparison.
707
708 2005-02-13  André Pönitz  <poenitz@gmx.net>
709
710         * bufferview_funcs.C (coordOffset): improve cursor drawing
711
712 2005-02-13  André Pönitz  <poenitz@gmx.net>
713
714         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
715         * Cursor.C (dispatch): use fixIfBroken
716         * lyxfunc.C (getStatus): use fixIfBroken
717
718 2005-02-15  Angus Leeming  <leeming@lyx.org>
719
720         * lyx_main.C (error_handler):
721         * lyxfunc.C:
722         * lyxrc.C (setDefaults):
723         s/GetEnv/getEnv/.
724         #include "environment.h".
725
726         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
727
728 2005-02-15  Angus Leeming  <leeming@lyx.org>
729
730         * lyxserver.C (startPipe): squash MSVC warning "local variable
731         'fd' used without having been initialized".
732
733 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
734
735         * BufferView_pimpl.C: revert accidental commit.
736
737 2005-02-14  André Pönitz  <poenitz@gmx.net>
738
739         * dociterator.[Ch]: new member forwardPosNoDescent(),
740         which doesn't enter nested insets.
741         * text2.C (setFont): use forwardPosNoDescent() instead
742         of ForwardPos() (fixes crash on font change).
743
744 2005-02-13  Angus Leeming  <leeming@lyx.org>
745
746         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
747         only if lyxrc.path_prefix is not empty.
748
749 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
750
751         * bufferparams.C (readGraphicsDriver): prevent crash
752
753 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
754
755         * text2.C (setCounter): check for inInset() == 0
756
757 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
758
759         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
760         but use update() to get correct screen display; use convert
761         instead of istringstream.
762         (getStatus): handle LFUN_GOTO_PARAGRAPH
763
764         * lyxfunc.C (dispatch, getStatus): do not handle
765         LFUN_GOTO_PARAGRAPH here.
766
767 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
768
769         * text3.C (dispatch): size() -> depth()
770
771         * text2.C: remove some debug output
772
773         * paragraph.C: ws changes only
774
775         * lyxfunc.C (getStatus): size() -> depth()
776
777         * dociterator.h (clear, push_back, pop_back, internalData,
778         operator[], resize, empty): new functions
779         Make StableDocIterator and operator== be friends. Don't inherit
780         from std::vector use a privat class variable slices_ instead.
781         Modify to fit.
782
783         * dociterator.C: update because of not inheriting from std::vector
784         anymore. Call explictly to slices_ instead. Use depth() instead of
785         size() and top() instead of back()
786
787         * cursor.C: chagne size() -> depth and back() -> top(). Also
788         remove some direct operator[](i) calls in favour of foo[i]
789         (getFont): remove some dead code
790
791         * bufferview_funcs.C (coordOffset): size() -> depth()
792
793         * buffer.C: ws changes only
794
795         * CutAndPaste.C (eraseSelection): back() -> top()
796
797         * BufferView_pimpl.C (selectionRequested): back() -> top()
798
799         * BufferView.C (setCursor): size() -> depth()
800
801 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
802
803         * text3.C (cursorPrevious): return true if depm changed something
804         (cursorNext): ditto
805         (dispatch): rename sl to oldTopSlice, remove moving use the new
806         NoUpdate func attrib instead. Make sure that needsUpdate is set
807         for function that have NoUpdate, but where depm might have changed
808         the buffer anyway.
809
810         * text2.C (cursorLeft): make us return true if depm changed
811         something
812         (cursorRight): ditto
813         (cursorUpParagraph): ditto
814         (curosrDownParagraph): ditto
815         (cursorUp, cursorDown): ditto, make sure to read comments in code
816         (deleteEmptyParagraphMechanism): remove an assert, also return
817         true if just a single char was deleted.
818
819         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
820         cursor that we modify, to avoid modifying an active cursor before
821         we call setCursor. This allows depm to run. Also return true if
822         depm deleted something.
823
824         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
825         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
826         cursorDownParagraph, cursorPrevious and cursorNext, return true if
827         something was changed in the buffer because of them (ie. depm run)
828
829         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
830         debug messages. Make update by default be false. Make sure that
831         the result of update is retained throught several calls down to
832         dispatch.
833
834         * LyXAction.h: add a new func_attrib: NoUpdate
835
836         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
837         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
838         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
839         and LFUN_WORDLEFT
840         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
841
842 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
843
844         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
845         bv_->owner(), bv_->buffer() by direct references to the private
846         members.
847         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
848         (getStatus): isSavedPosition() is in BufferView::Pimpl.
849         (fitCursor): center() is in BufferView::Pimpl.
850         (getStatus, trackChanges, dispatch): no need for a temporary buf
851         variable
852         (fitCursor, workAreaDispatch): use workarea().workheight()
853
854 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
855
856         * CutAndPaste.C (pasteSelectionHelper): fix a crash
857
858 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
859
860         * buffer.C: format up to 241.
861         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
862         break if pasting into ERT
863         * lyxfunc.C (getStatus): suppress mathpanel and
864         LFUN_DIALOG_SHOW_NEW_INSET in ERT
865
866 2005-02-01  Angus Leeming  <leeming@lyx.org>
867
868         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
869
870 2005-02-01  Angus Leeming  <leeming@lyx.org>
871
872         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
873         calling fs::is_directory().
874
875 2005-01-31  Angus Leeming  <leeming@lyx.org>
876
877         * lyx_main.C (priv_exec): specify explicitly the relative location
878         of the top level build directory when run in-place.
879
880 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
881
882         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
883         LyXText containing the cursor, not the top-level one.
884
885         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
886         true.
887         (insertStringAsLines): rename par to pit; use temporary variable
888         par to hold a Paragraph; do not store par.layout() in a variable,
889         since the pointer may die when breaking paragraphs; pass pars to
890         breakParagraph() instead of Buffer::paragraphs().
891
892 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
893
894         * lyxlex_pimpl.h: #include <fstream>.
895
896         * BufferView.[Ch] (getLyXText): add a const version.
897
898         * BufferView_pimpl.C: add debug aids.
899
900         * RowList_fwd.h:
901         * buffer.h:
902         * lyxrow.h:
903         * paragraph_funcs.h: add commentary explaining what the class does.
904
905
906         * coordcache.[Ch]: add lots of commentary.
907         (startUpdating, doneUpdating): debug aids.
908         (arrays, insets, parPos, getParPos): accessors to private data.
909
910         * cursor_slice.[Ch] (text): add a const version.
911         * dociterator.[Ch] (text, innerText): add const versions.
912
913         * lyxtext.h (breakParagraph): change the keep_layout arg to a
914         bool.
915
916         * paragraph.C (getRow, pos2ros): add asserts.
917
918         * paragraph.h: add commentary. Lots of.
919
920         * paragraph.[Ch] (metrucs, draw): removed.
921
922         * cursor.C:
923         * rowpainter.[Ch]: const-correct changes.
924
925         * text.C: various obvious clean-ups. Removal of ancient cruft.
926         Bug fixes, even.
927
928 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
929
930         * vc-backend.C (find_file): rewrite to use boost.filesystem
931         (scanMaster): ditto
932
933         * main.C (main): set default name check for boost.filesystem to
934         no check
935
936         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
937         (open): ditto
938         (doImport): ditto
939         (actOnUpdatedPrefs): ditto
940
941         * lyx_main.C (init): rewrite to use boost.filesystem
942         (queryUserLyXDir): ditto
943
944         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
945         (getContentsOfAsciiFile): ditto
946
947         * lastfiles.C (readFile): rewrite to use boost.filesystem
948
949         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
950
951         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
952         (loadLyXFile): ditto
953
954         * buffer.C (Buffer): adjust for destroydir
955         (getLogName): rewrite to use boost.filesystem
956         (setFileName): ditto
957         (save): use fs::copy_file (from fs_extras)
958
959         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
960
961         * LaTeX.C (run): rewrite to use boost.filesystem
962         (scanAuxFiles): ditto
963         (handleFoundFile): ditto
964
965 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
966
967         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
968
969         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
970
971 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
972
973         * lyxlayout.[Ch]: change some vars from float to double
974
975         * buffer.C (readFile): make a local var const
976
977         * Several files: use convert<> instead of atoi,strToXXX and friends
978
979 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
980
981         * LaTeXFeatures.[Ch]: Add a static list packages_ that
982         holds the contents of packages.lst. New functions getAvailable
983         and isAvailable to parse and check that list, resp.
984
985         * LyXAction.C:
986         * lfuns.h:
987         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
988
989         * bufferparams.[Ch]: new param output_changes.
990
991         * Buffer.C: increase file format to 240.
992         Use output_changes and isVailable.
993
994         * changes.[Ch]:
995         * paragraph.C:
996         * paragraph_pimpl.C: Use output_changes and isVailable.
997
998 2005-01-23  Angus Leeming  <leeming@lyx.org>
999
1000         * output_latex.C: #include "insetbibitem.h", rather than
1001         forward declare function bibitemWidest.
1002
1003 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1004
1005         * lyx_main.C (init): make it compile on the Mac.
1006
1007 2005-01-20  Angus Leeming  <leeming@lyx.org>
1008
1009         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1010         (setLyXMisc): (char string literal) != (char string literal) is
1011         performing a comparison on the addresses. Convert one operand
1012         explicitly to string to guarantee expected behaviour.
1013         From MSVC warning.
1014
1015 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1016
1017         * buffer.C:
1018         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1019
1020         * output_plaintext.C: remove unneeded #include gzstream.h.
1021
1022 2005-01-20  Angus Leeming  <leeming@lyx.org>
1023
1024         * SpellBase.h: rename some of the elements of the Result enum.
1025
1026         * aspell_local.h:
1027         * ispell.h:
1028         * pspell.h:
1029         * aspell.C (check):
1030         * ispell.C (check):
1031         * pspell.C (check): ditto
1032
1033 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1034
1035         * buffer.C: add #include <fstream>.
1036
1037         * lyx_main.C (init): Compile fix.
1038
1039         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1040
1041 2005-01-20  Angus Leeming  <leeming@lyx.org>
1042
1043         * mover.h: change commentary to reflect the changed meaning of
1044         the $$s placeholder.
1045
1046 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1047
1048         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1049
1050         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1051
1052 2005-01-20  Angus Leeming  <leeming@lyx.org>
1053
1054         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1055         printing diagnostic data by not dereferecing an iterator past the
1056         end.
1057
1058 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1059
1060         * buffer.C (readHeader): use "&&" rather than "and".
1061
1062         * lyxserver.h (inPipeName, outPipeName): make these const.
1063
1064 2005-01-19  Angus Leeming  <leeming@lyx.org>
1065
1066         * lyx_main.C (error_handler, init): protect SIGHUP with
1067         #ifdef SIGHUP guards.
1068
1069 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1070
1071         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1072
1073 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1074
1075         * text.C (setHeightOfRow): add a margin at the top and bottom of
1076         the document (bug 1761)
1077
1078 2005-01-17  Angus Leeming  <leeming@lyx.org>
1079
1080         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1081         with "python ". Workaround for a brain-dead Windows.
1082
1083 2005-01-16  Angus Leeming  <leeming@lyx.org>
1084
1085         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1086         for MacOSX and Windows to use prependEnvPath.
1087         Strip out the hard-coded block to add elements to the PATH for
1088         MacOSX and replace it with a call to prependEnvPath using the
1089         contents of LyXRC::path_prefix.
1090         (queryUserLyXDir): strip out the code to run reconfigure, instead
1091         returning a boolean indicating the necessity to do so.
1092         (reconfigureUserLyXDir): contains the code to reconfigure the
1093         user support directory. Is now called after the various LyXRC data
1094         files have been read.
1095
1096         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1097
1098 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1099
1100         * converter.[Ch] (convert): take a new parameter try_default. Use
1101         a default converter (imagemagick) if try_default is true.
1102
1103 2005-01-13  Angus Leeming  <leeming@lyx.org>
1104
1105         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1106         os::cygwin_path_fix.
1107         (write): output LyXRC::cygwin_path_fix as necessary.
1108
1109 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1110
1111         * lyxrc.h:
1112         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1113
1114 2005-01-12  Angus Leeming  <leeming@lyx.org>
1115
1116         * lyx_main.C (init): set the PATH variable to include the
1117         directory containing the LyX binary when running on Mac or Windows.
1118
1119 2005-01-12  Angus Leeming  <leeming@lyx.org>
1120
1121         * lyx_main.C (init): remove cruft that purports to set the locale
1122         dir. It doesn't and is not needed anyway.
1123
1124 2005-01-10  Angus Leeming  <leeming@lyx.org>
1125
1126         * Makefile.am: remove the lyx_main.C special casing.
1127
1128         * BufferView_pimpl.C:
1129         * bufferlist.C:
1130         * exporter.C:
1131         * lyx_cb.C:
1132         * lyx_main.C:
1133         * lyxfunc.C:
1134         * messages.C: use support/package.h to provide the paths to the
1135         various directories used by LyX.
1136
1137 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1138
1139         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1140         layout if pasting into an empty paragraph)
1141
1142 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1143
1144         * tex-accent.C: add <string>
1145
1146 2005-01-06  José Matos  <jamatos@lyx.org>
1147
1148         * ParagraphParameters.C (write): put every parameter in its own line.
1149         * paragraph.C (write): reduce number of consecutive empty lines exported.
1150         * buffer.C (LYX_FORMAT): increase file format to 239.
1151
1152 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1153
1154         * everywhere: change support/tostr.h -> support/convert.h
1155
1156         * tabular.C: make all write_attributes templates, tostr -> convert
1157
1158         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1159         (emptyTag): and -> &&, and fix type for ret from getChar
1160         (getFirstWord): fix type for ret from getChar
1161         (onlyText): and -> &&
1162         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1163         getChar
1164
1165         * toc.C (goTo, action):
1166         * text3.C (dispatch):
1167         * text.C (currentState):
1168         * tex-accent.C (DoAccent):
1169         * sgml.C:
1170         * lyxrc.C:
1171         * lyxfunc.C (menuNew):
1172         * lyxfinc.C (replace):
1173         * counters.C (laberItem):
1174         * bufferview_funcs.C (font2string):
1175         * bufferparams.C (writeFile):
1176         * buffer.C (readFile):
1177         * Spacing.C (set):
1178         * MenuBackend.C: tostr -> convert
1179
1180         * LaTeX.C (runMessage): fix format
1181         (scanAuxFiles): tostr -> convert
1182
1183         * BufferView_pimpl.C (savePosition): fix format
1184         (restorePosition): ditto
1185         (dispatch): ditto
1186
1187 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1188
1189         * Spacing.[Ch]: New method getValueAsString().
1190
1191         * Spacing.[Ch]:
1192         * bufferparams.C:
1193         * ParagraphParameters.C:
1194         * lyxlayout.C:
1195         * text.C:
1196         * text3.C: store/read spacing value as string.
1197
1198         * rowpainter.C: change float value (spacing_val) to double.
1199
1200         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1201         broken custom document spacing).
1202
1203 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1204
1205         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1206         namespace, also more use of temp references and const
1207
1208         * cursor.[Ch] (getStatus): move to lyxfunc.C
1209
1210         * bufferparams.C: reformat slightly
1211
1212         * bufferview_funcs.C (font2string): constify arg
1213
1214         * changes.C:
1215         * converter.C:
1216         * counters.C:
1217         * bufferlist.C:
1218         * buffer_funcs.C: (many funcs): constify arg on function
1219         definitions, also make more local vars const, also add ASSERTS on
1220         pointer args.
1221
1222         * buffer.C (LYX_FORMAT): put const in correct place
1223         (many funcs): constify arg on function definitions, also make
1224         more local vars const
1225
1226         * aspell_local.h: remove "struct" from typdef setup
1227
1228         * aspell.C (check): make word_ok const
1229         (nextMiss): simplify slightly
1230         (error): ditto
1231
1232 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1233
1234         * lyxrc.[Ch]: store all float values as strings.
1235         use int (not float) for lyxrc.dpi.
1236
1237 2005-01-04  Angus Leeming  <leeming@lyx.org>
1238
1239         * lyx_cb.C (Reconfigure):
1240         * lyx_main.C (queryUserLyXDir):
1241         to run the <system_lyxdir>/configure correctly on Windows, prefix
1242         the path to the script with "sh " when generating the string that
1243         is passed to system().
1244
1245 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1246
1247         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1248
1249 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1250
1251         * lyxlength.C (asLatexString): get rid of setprecision
1252
1253 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1254
1255         * text2.C (setLayout): remove unused variable endpit.
1256         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1257
1258         * paragraph.C (onlyText): remove unused variable style.
1259
1260         * cursor.C (bruteFind): remove unused variables beg and end.
1261
1262         * Makefile.am (dist_noinset_DATA): not needed anymore
1263
1264         * cheaders/*: remove.
1265
1266 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1267
1268         * text3.C: fix LFUN_MATH_MODE.
1269
1270 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1271
1272         * buffer_funcs.C (countWords): new function. Counts words between
1273         two iterators.
1274
1275         * BufferView_pimpl.C (getStatus, dispatch): handle
1276         LFUN_WORDS_COUNT.
1277
1278         * LyXAction.C (init):
1279         * lfuns.h: add LFUN_WORDS_COUNT.
1280
1281 2004-12-19  Angus Leeming  <leeming@lyx.org>
1282
1283         * buffer.C (save): s/slashify_path/internal_path/.
1284
1285 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1286
1287         * lyxfind.C (findChange): do not search for end of pars, because
1288         the change tracker cannot handle this (fixes bug 1719).
1289
1290 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1291
1292         * paragraph.[Ch] (autoBreakRows): remove
1293
1294         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1295
1296         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1297         avoid using the paragraph one
1298
1299         * text2.C (LyXText, insertStringAsLines): adjust
1300
1301 2004-12-16  Angus Leeming  <leeming@lyx.org>
1302
1303         * bufferlist.C:
1304         * lyx_main.C:
1305         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1306
1307 2004-12-14  Angus Leeming  <leeming@lyx.org>
1308
1309         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1310
1311         * bufferlist.C (emergencyWrite):
1312         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1313         GetEnvPath("HOME").
1314
1315 2004-12-14  Angus Leeming  <leeming@lyx.org>
1316
1317         * main.C: (main): no longer pass pointers to os::init.
1318
1319 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1320
1321         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1322         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1323
1324 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1325
1326         * lyxfunc.C:
1327         * text3.C: remove selection_possible global flag
1328
1329 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1330
1331         * text2.C (getSelectionSpan): remove
1332         (changeDepth, changeDepthAllowed): adjust
1333
1334 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1335
1336         * Makefile.am (BOOST_LIBS): use boost variables
1337
1338 2004-12-03  José Matos  <jamatos@lyx.org>
1339
1340         * buffer.C: format up to 238.
1341
1342 2004-12-03  José Matos  <jamatos@lyx.org>
1343
1344         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1345
1346 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
1347
1348         * cursor.C (goUpDown): remove call to idxUpDown2
1349
1350 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1351
1352         * tabular.[Ch]: use size_t-like types for cell, row and column
1353         indices
1354
1355 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1356
1357         * lyxfunc.C (getStatus): do not lose previous information when
1358         calling BufferView::getStatus; do not set a default "Command
1359         disabled" message at the beginning, but just before returning.
1360
1361 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1362
1363         * cursor.h (getStatus): add better comment from src/cursor.C
1364
1365 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1366
1367         * text3.C (getStatus): return false when the lfun is not handled
1368
1369 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1370
1371         * broken_headers.h: remove
1372
1373         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1374
1375 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1376
1377         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1378         offset_ref accessors
1379
1380         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1381         top_y_, merge fitcursor with update
1382         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1383         coord scheme
1384         (metrics): introduce
1385         (workAreaDispatch): adapt to new coord scheme
1386         (redoCurrentBuffer): remove
1387
1388         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1389
1390         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1391         CurStatus enum.
1392
1393         * coordcache.[Ch]: add paragraph cache and helpers
1394
1395         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1396         adjust everywhere
1397
1398         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1399         (targetX, setTargetX): introduce
1400
1401         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1402         baseline -> ascent, as the rest of lyx
1403
1404         * lyxtext.h: remove redoParagraphs, updateParPositions,
1405         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1406         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1407         have ascent/descent (ascent is ascent of first par)
1408
1409         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1410         step of BufferView
1411
1412         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1413
1414         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1415
1416         * pariterator.C: fix infinite loop introduced in par->pit renaming
1417
1418         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1419         in insets and LyXText, draw two off-screen paragraphs using
1420         NullPainter, and adapt to new coord scheme
1421
1422         * text.C:
1423         * text2.C:
1424         * text3.C: adapt lfun handlers to the new coord scheme, which
1425         means: there's only guaranteed coord information for onscreen pars
1426         plus one above and one below. This implies that one can do search
1427         from y coordinates in the range [-1,workHeight]
1428
1429 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1430
1431         * rename a lot of InsetOld to InsetBase
1432
1433 2004-11-25  Angus Leeming  <leeming@lyx.org>
1434
1435         * BufferView_pimpl.C:
1436         * lyx_cb.C:
1437         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1438
1439 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1440
1441         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1442         call BufferView::getStatus if LCursor::getStatus did nothing
1443         (setStatusMessage, getStatusMessage): removed.
1444
1445         * FuncStatus.C (message): new methods. Used to provide an error
1446         message indicating why a command is disabled.
1447         (clear, |=, FuncStatus): update for message.
1448
1449 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1450
1451         * lyxfunc.C (dispatch): always call sendDispatchMessage
1452
1453 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1454
1455         * BufferView.C:
1456         * BufferView_pimpl.C:
1457         * CutAndPaste.C:
1458         * FontIterator.C:
1459         * buffer.C:
1460         * cursor.C:
1461         * cursor_slice.[Ch]:
1462         * dociterator.[Ch]:
1463         * lyxfind.C:
1464         * paragraph_funcs.C:
1465         * pariterator.C:
1466         * rowpainter.C:
1467         * text.C:
1468         * text2.C:
1469         * text3.C:
1470         * undo.C: par->pit renaming
1471
1472 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1473
1474         * tabular.C (cellstruct): use initialization, store a shared_ptr
1475         to insettext instead of the insettext directly, adjust to fit.
1476         (operator=):  new function
1477         (swap): new function
1478         (rowstruct): use initialization
1479         (columnstruct): use initialization
1480         (ltType): use initialization
1481
1482
1483         * lyxlength.h (swap): new function
1484
1485         * LColor.[Ch] (operator=): use the common semantics
1486
1487 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1488
1489         * lyxfind.C (findNextChange): update the bufferview after setting
1490         the selection.
1491
1492 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1493
1494         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1495         number of InsetOptArgs has already been inserted.
1496
1497         * output_latex.C (latexOptArgInsets): new method. This outputs all
1498         the optarg insets, up to the limit defined in the layout file.
1499         (optArgInset): removed
1500         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1501
1502 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1503
1504         * paragraph.C (isLetter): remove special spellchecker-related
1505         code; return true also for digits
1506         (isWord, isKomma): remove
1507
1508         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1509         * lyxfind.C (MatchString()): use isLetter instead of isWord
1510
1511 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1512
1513         * pariterator.h (operatir=): comment out un-implemented member
1514         function.
1515
1516         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1517         static cast.
1518
1519 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1520
1521         * lyxfont.h: include LColor.h to satisfy concept checks.
1522
1523 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1524
1525         * pariterator.h: add typdefs for value_type, difference_type,
1526         pointer and reference to satisfy concept checks. Also add default
1527         constructor for same reason.
1528
1529         * pariterator.C (operator++): add post-increment operator to
1530         satisfy concept checks.
1531
1532         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1533         checks.
1534
1535         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1536
1537         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1538         checks. Also rename base_type to BaseType to follow naming
1539         standard better.
1540
1541         * FloatList.h: include Floating.h to satisfy concept checks.
1542
1543 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1544
1545         * lyxfunc.C (getStatus): when the origin of the request is menu or
1546         toolbar, and the LyXView does not have focus, do as if there was
1547         no buffer (bug 1720)
1548
1549         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1550         FuncRequest to individual entries of LFUN_SEQUENCE
1551
1552 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1553
1554         * output_latex.C (TeXOnePar): override runparams.moving_arg
1555         according to the needprotect value of the current paragraph (bug
1556         1739)
1557
1558         * paragraph.C (simpleTeXOnePar): no need to override
1559         runparams.moving_args here
1560
1561 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1562
1563         * vspace.C: fix off-by-one-error, related to fix #1682
1564
1565 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1566
1567         * lengthcommon.C: a more general fix for bug 1682
1568
1569 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1570
1571         * text.C (backspace): fix crash
1572
1573 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1574
1575         * format.[Ch] (getFormatFromFile): new method
1576         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1577
1578 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1579
1580         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1581
1582 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1583
1584         * lyxfunc.C (dispatch): remove the verbose argument
1585         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1586         instead
1587
1588         * kbmap.C (defkey): set the origin of func to KEYBOARD
1589
1590         * MenuBackend.C (MenuItem):
1591         * ToolbarBackend.C (add): set the origin of func to UI
1592
1593         * funcrequest.[Ch]: add origin member, which indicates which part
1594         of LyX requests an action
1595
1596 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1597
1598         * converter.C (move): don't lie in the error message
1599         * converter.h (isReachable, move): document
1600
1601 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1602
1603         * buffer.C: remove unused using lyx::support::atoi
1604         * paragraph_funcs.C: ditto
1605
1606 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1607
1608         * bufferlist.C (exists): use bind and equal_to instead of
1609         compare_memfun
1610         (getBuffer): ditto
1611         * lyxtextclasslist.C (NumberOfClass): ditto
1612
1613         * cursor.C (insert): use for_each instead of explicit for loop
1614
1615         * bufferlist.C (getFileNames): use std::transform and
1616         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1617
1618         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1619         for loop
1620
1621         * buffer.C (changeLanguage): use for_each instead of explicit for
1622         loop
1623         (hasParWithID): implement using getParFromID
1624
1625         * LaTeXFeatures.C: ws change only
1626
1627         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1628         to cleanup a bit.
1629
1630         * BufferView_pimpl.C (trackChanges): use for_each instead of
1631         expilicit for loop
1632
1633 2004-11-04  André Pönitz  <poenitz@gmx.net>
1634
1635         * undo.h:
1636         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1637
1638         * dociterator.C (asDocIterator): use hard assert again.
1639
1640 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1641
1642         * lyxlength.C (asLatexString): rewrite so that it does not use
1643         snprintf anymore
1644
1645 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1646
1647         * text3.C (specialChar, dispatch): make sure cursor moves to the
1648         right after inserting an inset
1649
1650 2004-11-02  José Matos  <jamatos@lyx.org>
1651
1652         * output_docbook.C (docbook):
1653         * paragraph.C (getID):
1654         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1655         garantee that the output is always legal.
1656
1657         * tabular.C (docbook):
1658         * outputprams.[Ch]: remove mixed contents.
1659
1660 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1661
1662         * text2.C (setCounter): prevent endless loop
1663
1664 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1665
1666         * exporter.C (copyFile): use the mover instead of support::copy()
1667         * exporter.C (Export): pass format and latex name to copyFile()
1668         * exporter.h (addExternalFile): document
1669         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1670
1671 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1672
1673         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1674
1675 2004-10-30  José Matos  <jamatos@lyx.org>
1676
1677         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1678         text and no inset or font change. This allows to use CDATA
1679         sections just for the whole paragraph.
1680
1681 2004-10-30  José Matos  <jamatos@lyx.org>
1682
1683         * paragraph.C (getFirstWord): remove unused variable.
1684
1685 2004-10-30  José Matos  <jamatos@lyx.org>
1686
1687         * paragraph.C (getFirstWord): the content should always be escaped
1688         there.
1689         (simpleDocBookOnePar):
1690         * output_docbook.C (makeEnvironment): replace reference to CDATA
1691         to style pass_thru.
1692
1693 2004-10-30  José Matos  <jamatos@lyx.org>
1694
1695         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1696
1697 2004-10-30  José Matos  <jamatos@lyx.org>
1698
1699         * output_docbook.C (makeParagraphs):
1700         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1701         standard paragraph has only a given type of content drop the wrapper.
1702
1703 2004-10-29  José Matos  <jamatos@lyx.org>
1704
1705         * output_docbook.C (makeEnvironment):
1706         * sgml.C (openTag):
1707         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1708
1709 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1710
1711         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1712         (cleanID): sanitize any id.
1713
1714 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1715
1716         * buffer.C, lyxlex_pimpl.C:
1717         * lyxlex_pimpl.C (setFile):
1718         s/getExtFromContents/getFormatFromContents/
1719
1720 2004-10-28  José Matos  <jamatos@lyx.org>
1721
1722         * output_docbook.C (makeEnvironment): move id to broadest possible
1723         scope.
1724
1725         * sgml.C (openTag): apply substitution of <> for all attributes.
1726
1727 2004-10-28  José Matos  <jamatos@lyx.org>
1728
1729         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1730         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1731         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1732
1733         * sgml.[Ch]: new version for open and closeTag for paragraph and
1734         for strings. Now they handle the ids of paragraphs.
1735
1736 2004-10-26  Angus Leeming  <leeming@lyx.org>
1737
1738         * Makefile.am: add mover.[Ch].
1739
1740         * converter.C (convert, move): use the new Movers to move external
1741         files to the temp directory.
1742
1743         * lyx_main.C (init): ensure that the global system_movers data
1744         is initialised.
1745
1746         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1747         preferences file.
1748
1749         * mover.[Ch]: new files, defining a Mover as a utility to move an
1750         external file between directories and, if necessary, manipulate this
1751         file using a helper script.
1752
1753 2004-10-25  José Matos  <jamatos@lyx.org>
1754
1755         * output_docbook.C (makeCommand): merge two if's that tested the
1756         same condition.
1757
1758 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1759
1760         * sgml.C (escapeString): fix warning in a better way
1761
1762 2004-10-25  José Matos  <jamatos@lyx.org>
1763
1764         * sgml.C (escapeString): import the require boosts header file for
1765         tie, and avoid a signed unsigned comparison.
1766
1767 2004-10-25  José Matos  <jamatos@lyx.org>
1768
1769         * sgml.h: add #include <string>
1770
1771 2004-10-25  José Matos  <jamatos@lyx.org>
1772
1773         * sgml.[Ch] (escapeString): new function to escape all the string.
1774
1775 2004-10-24  José Matos  <jamatos@lyx.org>
1776
1777         * paragraph.[Ch] (getFirstWord): new function to get the first
1778         word. Useful for description.
1779         (simpleDocBookOnePar): remove depth argument, add another that
1780         says where to start the paragraph.
1781
1782         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1783         use the new functions to fix cleanly the support for descriptions.
1784
1785 2004-10-24  José Matos  <jamatos@lyx.org>
1786
1787         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1788         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1789         * output_linuxdoc.C (linuxdocParagraphs):
1790         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1791         add buffer as argument.
1792
1793 2004-10-24  José Matos  <jamatos@lyx.org>
1794
1795         * output_docbook.C (makeEnvironment, searchEnvironment): place
1796         CDATA inside paragraphs and fix scope for listitems.
1797
1798 2004-10-24  José Matos  <jamatos@lyx.org>
1799
1800         * output_docbook.C: remove using statement for stack.
1801
1802 2004-10-23  José Matos  <jamatos@lyx.org>
1803
1804         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1805         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1806         docbook. The new scheme is recursive and makes use of iterators, the
1807         same as latex export works.
1808         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1809         directly with the paragraph contents. This code was moved up to
1810         output_docbook.C (docbookParagraphs).
1811         * sgml.C (openTag, closeTag): removed unneeded newlines.
1812         (closeEnvTags) removed.
1813
1814 2004-10-23  André Pönitz  <poenitz@gmx.net>
1815
1816         * undo.C (textUndoOrRedo):
1817         * dociterator.C (asDocIterator): work around crash
1818
1819         * cursor.C (getStatus): replace ASSERT by more verbose error message
1820           and manual correction of the problem. Should increase stability
1821           while providing more sensible information.
1822
1823 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1824
1825         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1826
1827         * bufferlist.C (previous, next): new methods
1828
1829         * lfuns.h:
1830         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1831
1832 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1833
1834         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1835         entities to preamble.
1836
1837 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1838
1839         * messages.C (Pimpl): strip off translation context information
1840
1841 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1842
1843         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1844         the cursor is correct (bug 1694)
1845
1846 2004-10-13  José Matos  <jamatos@lyx.org>
1847
1848         * output_docbook.C (docbookParagraphs): fix closing tags in the
1849         end of the document.
1850
1851 2004-10-09  José Matos  <jamatos@lyx.org>
1852
1853         * buffer.C: format up to 237.
1854         * bufferparams.C (write): use tostr to convert booleans to strings.
1855
1856 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1857
1858         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1859
1860 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1861
1862         * LaTeX.C: implement use of babel language in xindy.
1863
1864 2004-10-05  José Matos  <jamatos@lyx.org>
1865
1866         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1867         Add new translators to help reading and writing the lyx file.
1868
1869 2004-10-05  José Matos  <jamatos@lyx.org>
1870
1871         * ParagraphParameters.C (read):
1872         * text.C (readParToken): replace nexToken by more appropriate lex
1873         methods.
1874
1875 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1876
1877         * LaTeX.C (runMakeIndex):
1878         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1879         (usually 'makeindex') configurable.
1880
1881         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1882         with a variable rather than with a number.
1883
1884 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1885
1886         * output_latex.C (TeXOnePar): make sure font setting is the first
1887         thing that gets output (and the last at the end). Should fix bug
1888         1404.
1889
1890 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1891
1892         * pch.h: use proper signal include
1893
1894         * LaTeX.h: Use preferred calling of Boost.Signal
1895         * buffer.h: ditto
1896
1897 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1898
1899         * pch.h: dont include <boost/function/function0.hpp>
1900
1901         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1902
1903         * paragraph_pimpl.h: remove usage of ShareContainer
1904
1905         * paragraph_pimpl.C: remove initialization of ShareContainer.
1906
1907 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1908
1909         Fix bug #1666
1910
1911         * BufferView.C (putSelectionAt): change the semantics when
1912         backwards == true: now, this just swaps cursor and anchor wrt the
1913         forward case
1914
1915         * BufferView.h (putSelectionAt): add some documentation
1916
1917         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1918         make sure backwardChar is done at least once (to avoid getting
1919         stuck)
1920         (findNextChange): use putSelectionAt in the forward direction
1921         (operator()): use Paragraph::isWord
1922
1923 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1924
1925         * Spacing.C (set): c_str fix
1926
1927 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1928
1929         * lyx_cb.C (Reconfigure): quote the name of configure script in
1930         case it contains spaces
1931
1932 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1933
1934         * client: new dir
1935
1936         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1937         (BOOST_LIBS): use top_buildir when looking for the file
1938
1939 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1940
1941         * pch.h: do not use include boost/format.hpp, multiple symbols
1942                 will result (gcc bug)
1943
1944
1945 2004-08-23  José Matos  <jamatos@lyx.org>
1946
1947         * bufferparams.C (readToken): fix reading of the author field.
1948
1949 2004-08-20  José Matos  <jamatos@lyx.org>
1950
1951         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1952
1953 2004-08-20  José Matos  <jamatos@lyx.org>
1954
1955         * lyxlex.[Ch] (findToken): remove function.
1956
1957         * ParagraphParameters.C (findToken):
1958         * bufferparams.C (findToken): replace call for previous function
1959         with local copy. This local function has one more argument, the
1960         read string argument.
1961
1962 2004-08-16  José Matos  <jamatos@lyx.org>
1963
1964         * ParagraphParameters.C (write):
1965         * Spacing.C (writeFile):
1966         * bufferparams.C (writeLaTeX):
1967         * lyx_cb.C (Reconfigure):
1968         * paragraph.C (write):
1969         * tabular.C (write): remove unnecessary space at end of line.
1970
1971
1972 2004-08-16  José Matos  <jamatos@lyx.org>
1973
1974         * text.C (readParagraph): remove debug message.
1975
1976 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1977
1978         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1979         crash
1980
1981         * output_plaintext.C (asciiParagraph): set depth correctly
1982
1983         * outputparams.h: add member depth
1984
1985         * paragraph_funcs.C (ownerPar): remove.
1986
1987         * text2.C (setCounter): remove first_pit; comment out some
1988         non-working code that uses ownerPar
1989
1990         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1991         uses ownerPar
1992
1993 2004-08-16  José Matos  <jamatos@lyx.org>
1994
1995         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1996         For the same level of importance use the same chanel to report problems.
1997         (read): add code to deal with \begin_body and \end_body.
1998
1999
2000 2004-08-15  José Matos  <jamatos@lyx.org>
2001
2002         * lyxlex.C (getString): fix comment, buffer::readBody is now
2003         buffer:readDocument.
2004
2005         * tex-strings.C (string_papersize): Default -> default,
2006         Custom -> custom, for consistency with other options.
2007
2008 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
2009
2010         * pch.h: new file
2011
2012         * Makefile.am: support pch
2013
2014 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2015
2016         * text.C (readParToken): remove the static LyXFont variable and
2017         pass it as a parameter instead. This fixes a nasty bug where an
2018         inset will be inserted with a bad font in some situations
2019         (readParagraph): adapt
2020
2021         * text2.C (setCounter): reduce number of calls to pars_[pit]
2022
2023         * text.C (singleWidth): add an assert, fix a test
2024
2025         * rowpainter.C (paintText): reduce number of calls to singleWidth
2026
2027         * paragraph.C (isHfill):
2028         (isNewline): ws only
2029
2030 2004-08-14  André Pönitz  <poenitz@gmx.net>
2031
2032         * text.C:
2033         * text2.C:
2034         * rowpainter.C:
2035         * lyxtext.h (several functions): use a Paragraph & argument
2036         instead of par_type
2037
2038 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2039
2040         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2041
2042         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2043
2044         * text.C (singleWidth): remove useless test
2045
2046 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2047
2048         * tabular.h: remove bogus comments
2049
2050         * tabular.C (getDescentOfRow):
2051         (isPartOfMultiColumn): add assertions
2052
2053         * lyxlength.C (inPixels): remove #warning
2054
2055 2004-08-14  André Pönitz  <poenitz@gmx.net>
2056
2057         * paragraph.h: inline getChar()
2058
2059         * BufferView.h: remove unused declarations
2060
2061 2004-08-14  José Matos  <jamatos@lyx.org>
2062
2063         * Buffer.[Ch] (readDocument): new name for old readBody.
2064         * Buffer.C: new file format, new keywords: \begin_document,
2065         \begin_header, \begin_body, \end_body.
2066
2067         * bufferparams.C (readToken): replace all calls to lex.nextToken
2068         by lex.next(). Do the same to eatLine except where really needed.
2069
2070         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2071         line when writing to the lyx file.
2072
2073         * output_plaintext.C (asciiParagraph): fix Bibliography style
2074         handling.
2075
2076         * text.C (read): fix end of file handling.
2077
2078 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2079
2080         * MenuBackend.C (Menu::operator[]): new method to access
2081         individual menu items
2082         (Menu::hasFunc): new method. search for an item that corresponds
2083         to a given func
2084         (MenuBackend::specialMenu): new method
2085         (MenuBackend::expand): if a special menu has been set, skip
2086         entries whose func() appears in this menu
2087
2088 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
2089
2090         * text3.C: use Debug::DEBUG a bit more
2091
2092         * text.C (leftMargin): try to simplify a tiny bit change var x to
2093         l_margin. Dont output the wide margins always.
2094         (rightMargin): no margin in inner texts
2095
2096         * rowpainter.h (nestMargin): new func
2097         (changebarMargin): new func
2098         (rightMargin): new func
2099
2100         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2101         now functions.
2102         (paintLast): ditto
2103
2104         * factory.C (createInset): modify setDrawFrame
2105
2106         * cursor.C: use Debug::DEBUG a bit more
2107
2108 2004-08-14  André Pönitz  <poenitz@gmx.net>
2109
2110         * coordcache.[Ch]:
2111         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2112         cache for all insets in (at least partially) visible (top-level)
2113         paragraphs.
2114
2115         * BufferView_pimpl.C: reset external coord cache before every update.
2116         This means the coord cache only contains valid entries.
2117
2118 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
2119
2120         bug 1096
2121         * BufferView_pimpl.C (getInsetByCode): move function out of class
2122         and change in to a template in anon namespace. Also fix to do what
2123         suits us better.
2124
2125 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
2126
2127         bug 1305
2128         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2129         of char
2130         (breakParagraph): rename par to par_offset and use a local
2131         reference. Add code to keep the language over a rebreak.
2132         (breakParagraphConservative): rename par to par_offset, use a
2133         local reference
2134         (mergeParagraph): ditto
2135         (outerHook): ditto
2136         (isFirstInSequence): ditto
2137         (outerFont): rename pit to par_offset
2138
2139         * paragraph.C: ws change
2140         * paragraph.h: ditto
2141         * text3.C: ditto
2142         * text.C: ditto
2143
2144 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2145
2146         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2147         treatment for ']'
2148
2149         * paragraph.C (simpleTeXOnePar): when we have a \item with
2150         optional argument, enclose the argument with curly brackets (in
2151         case it contains a closing square bracket)
2152
2153         * text2.C (editXY):
2154         * text2.C (editXY):
2155         * text3.C (checkInsetHit): constify
2156
2157 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2158
2159         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2160         documents (bug 1629)
2161
2162 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2163
2164         Fix toggling of collapsable insets with the mouse (bug 1558)
2165
2166         * lyxfunc.C (dispatch): adapt to LCursor changes
2167
2168         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2169         make sure that dispatch is not invoked twice
2170
2171         * cursor.C (needsUpdate): new method
2172         (dispatch): return void
2173         (result): new method, to access the DispatchResult of the cursor.
2174
2175 2004-08-13  José Matos  <jamatos@lyx.org>
2176
2177         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2178
2179 2004-08-13  André Pönitz  <poenitz@gmx.net>
2180
2181         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2182
2183         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2184           multiple cells
2185
2186 2004-08-12  André Pönitz  <poenitz@gmx.net>
2187
2188         * text3.C: take out the 'cursor right' form insertInset and only
2189         do it in those places when it is really needed. Fixes crash on
2190         C-m...
2191
2192 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2193
2194         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2195
2196         * BufferView_pimpl.C (setBuffer): initialize the current font of
2197         the underlying LyXText
2198
2199 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2200
2201         * kbsequence.C (print): use UI native formatting for menu
2202         shortcuts
2203
2204         * text.C (insertChar): call Paragraph::insertChar with a font
2205         argument (cosmetic)
2206
2207         * paragraph.C (insertInset, insertChar): the version that takes a
2208         LyXFont argument is now a wrapper around the other one (the
2209         opposite used to be true).
2210
2211         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2212         argument. Font setting is done in Paragraph now.
2213
2214 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2215
2216         * outputparams.h: add new members intitle and lang.
2217
2218         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2219         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2220
2221 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2222
2223         * text3.C (dispatch): remove special handling of button 4 and 5,
2224         it is now taken care of in the frontend code.
2225
2226 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2227
2228         * Spacing.h: add <string> (STLPort compile fix)
2229
2230 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2231
2232         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2233
2234 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
2235
2236         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2237         to bool.
2238
2239         * converter.C (showMessage): inherit from unary_function, make
2240         operator() const.
2241
2242         * buffer.C (writeFile): initialize retval
2243
2244         * InsetList.h: rename private variable list to list_
2245         * InsetList.[Ch]: adjust accordingly.
2246
2247 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
2248
2249         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2250         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2251         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2252         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2253         * ParagraphParameters.C, LaTeXFeatures.C: replace
2254         "support/std_sstream.h" with <sstream>
2255
2256 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
2257
2258         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2259         * lyxsocket.C (LyXServerSocket): ditto
2260         (serverCallback): ditto
2261
2262 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2263
2264         * LaTeXFeatures.C: check release date when loading jurabib.
2265
2266 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2267
2268         * lyxserver.C (startPipe): call register_socket_callback
2269         (endPipe): call unregister_socket_callback
2270
2271 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
2272
2273         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2274         (LyXServerSocket): register the callback
2275         (LyXServerSocket): unregister the callback
2276         (fd): delete function
2277         (serverCallback): improve error checking and setup the callbacks.
2278         (dataCallback): change arg to fd.
2279         (writeln): new func (copied fro the client socket) used for server
2280         write to client.
2281         (LyXDataSocket): simplify
2282         (~LyXDataSocket): close ann unregiser callback
2283         (server): delete function
2284         (fd): delete function
2285         (readln): small changes, improve some std::string usage
2286         (writeln): constify a bit
2287
2288 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2289
2290         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2291         Qt frontend
2292
2293 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2294
2295         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2296         after it has been populated
2297
2298 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2299
2300         * text2.C (insertInset): move cursor when inserting inset.
2301
2302 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2303
2304         * kbmap.C (findbindings): a couple of new methods. returns a
2305         container of kb_sequence objects. The real work is done by the
2306         private recursive version
2307         (printbindings): uses findbindings to print out a bracketed list
2308         of bindings (renamed from findbinding).
2309
2310         * MenuBackend.C (binding): use kb_keymap::findbindings
2311
2312         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2313
2314 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2315
2316         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2317
2318 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2319
2320         * paragraph.C (isWord): return true on insets that report
2321         isLetter().
2322
2323         * text.C (getWord): use Paragraph::isWord to decide what is in a
2324         word and what is not; fix bug 1609.
2325
2326 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2327
2328         * tex-strings.C: add "none" to string_paperpackages[], fixes
2329         off-by-one-error in the paperpackage selection.
2330
2331         * lyxlex.[Ch]:
2332         * tex-strings.[Ch]: char const * string[n]
2333         -> char const * const string[]
2334
2335 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2336
2337         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2338         command, return early.
2339
2340 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
2341
2342         * debug.h: add DEBUG to enum and fix size of ANY.
2343
2344         * debug.C: add support for Debug::DEBUG
2345         (showTags): cast errorTags.level to unsigned int
2346
2347         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2348         (redoCurrentBuffer): ditto
2349         (updateScrollbar): ditto
2350         * cursor.C (dispatch): ditto
2351         * text2.C (setLayout): ditto
2352         (setFont): ditto
2353         (updateCounters): ditto
2354         (editXY): ditto
2355         (deleteEmptyParagraphMechanism): ditto
2356
2357 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
2358
2359         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2360         annotations to cleanup the Makefile slightly.
2361
2362 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2363
2364         * lyxrc.C: do not set user_email to a default value but use empty
2365         instead. The entry used to be translated, which does not work
2366         since at the point where lyxrc is constructed there is no
2367         translation service available
2368
2369         * messages.C (getLocaleDir): remove and use directly
2370         lyx_localedir() instead
2371
2372 2004-06-02  Angus Leeming  <leeming@lyx.org>
2373
2374         Fix crash caused by dereferencing null pointer 'exportdata' in
2375         OutputParams by creating a new ExportData variable on the heap,
2376         storing it in a boost::shared_ptr.
2377         The crash was triggered when generating an Instant Preview
2378         of an external inset.
2379
2380         * Makefile.am: add outputparams.C
2381
2382         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2383         (c-tor): allocate memory to it.
2384
2385         * exporter.C (c-tor): associated changes.
2386
2387 2004-06-01  Angus Leeming  <leeming@lyx.org>
2388
2389         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2390         contains data before calling isInset(0). (Bug 1513.)
2391
2392 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2393
2394         * exporter.C (checkOverwrite): new method
2395         * exporter.C (copyFile): new method
2396         * exporter.C (Export): copy referenced files to the document dir
2397         * exporter.[Ch]: new class ExportedFile
2398         * exporter.[Ch]: new class ExportData. Contains currently the
2399         names of referenced external files
2400         * outputparams.h: add exportdata member.
2401
2402 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2403
2404         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2405         version.C-tmp
2406
2407 2004-05-19  Angus Leeming  <leeming@lyx.org>
2408
2409         * LaTeXFeatures.C:
2410         * ToolbarBackend.C:
2411         * bufferparams.C:
2412         * lyxfunc.C: small changes due to the introduction of namespace
2413         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2414
2415 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2416
2417         * text3.C (dispatch): supress update when only moving the cursor
2418         * cursor.C (selHandle): remove commented code
2419
2420 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2421
2422         * paragraph.C (startTeXParParams): correct column count
2423         * CutAndPaste.C (pasteSelection): remove const_cast
2424         * output_docbook.C (docbookParagraphs): remove const_cast
2425         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2426         const_cast and return ParagraphList::const_iterator
2427         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2428         * output_plaintext.C (writeFileAscii): remove const_cast
2429         * paragraph.[Ch] (simpleTeXOnePar): make const
2430         * paragraph_funcs.C (outerPar): use const iterators
2431         * paragraph_pimpl.C (validate): use const iterators
2432         * text.C (setHeightOfRow): use const iterators
2433
2434 2004-05-17  Angus Leeming  <leeming@lyx.org>
2435
2436         * lfuns.h:
2437         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2438
2439         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2440         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2441         if the citation engine has changed.
2442
2443 2004-05-14  José Matos  <jamatos@lyx.org>
2444
2445         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2446         if the textclass does not provide it. Have it different for sgml and
2447         xml.
2448         support the language of document.
2449         * output_docbook.C (docbookParagraphs):
2450         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2451         first anchor as the id of the paragraph, remove special case code.
2452         * sgml.C (escapeChar): escape only < & >.
2453
2454 2004-05-14  Angus Leeming  <leeming@lyx.org>
2455
2456         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2457         dependencies on src/frontends/controllers/biblio.h. Define a
2458         CiteEngine_enum wrapper class to enable the enum to be forward
2459         declared.
2460
2461 2004-05-12  Angus Leeming  <leeming@lyx.org>
2462
2463         * buffer.C: up LYX_FORMAT to 234.
2464         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2465         use_numerical_citations with a single biblio::CiteEngine cite_engine
2466         variable.
2467         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2468
2469 2004-05-13  José Matos  <jamatos@lyx.org>
2470
2471         * converter.h:
2472         * converter.C (Converter, readFlags): add xml member.
2473         * outputparams.h: add XML flavor.
2474         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2475
2476 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2477
2478         * lyxfunc.C (dispatch):
2479         (getStatus): fix handling of LFUN_SEQUENCE
2480
2481 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2482
2483         * debug.C (showLevel): do not forget the end-of-line marker
2484
2485 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2486
2487         * kbmap.C (read): do not stop parsing a bind file when an error
2488         occurs (bug 1575)
2489
2490 2004-04-29  Angus Leeming  <leeming@lyx.org>
2491
2492         * cursor.C:
2493         * factory.C:
2494         * pariterator.C:
2495         * text2.C: wrap a bunch of #warning statements
2496         inside #ifdef WITH_WARNINGS blocks.
2497
2498 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2499
2500         * buffer.C: increment format to 233.
2501
2502 2004-04-28  Angus Leeming  <leeming@lyx.org>
2503
2504         * BufferView_pimpl.C:
2505         * lyxfunc.C:
2506         * text3.C:
2507         s/updateToolbar()/updateToolbars()/
2508         s/Toolbar.h/Toolbars.h/
2509
2510 2004-04-28  Angus Leeming  <leeming@lyx.org>
2511
2512         * BufferView.[Ch] (c-tor):
2513         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2514         No longer passes these data to the WorkArea generator.
2515
2516 2004-04-28  Angus Leeming  <leeming@lyx.org>
2517
2518         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2519
2520 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2521
2522         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2523
2524 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2525
2526         * output_latex.C (TeXEnvironment): make sure that there is a line
2527         break before \end{foo} for the last paragraph of a document
2528         (TeXOnePar): if the paragraph is at the end of the document (or
2529         inset) and the language has to be reset, then make sure that the
2530         line break is _before_ the language command, not after (fixes bug
2531         1225); also make sure that the language reset command is the first
2532         thing after the paragraph (to ensure proper nesting of
2533         environments and thus fix bug 1404)
2534
2535 2004-04-21  John Levon  <levon@movementarian.org>
2536
2537         * ToolbarBackend.h:
2538         * ToolbarBackend.C: make "name" be a programmatic name
2539         and a gui_name field.
2540
2541         * lyxfunc.C: display the minibuffer on M-x
2542
2543 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2544
2545         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2546         (bug 1526)
2547
2548 2004-04-19  Angus Leeming  <leeming@lyx.org>
2549
2550         * BufferView_pimpl.C (setBuffer): changed preview interface.
2551
2552         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2553         possible values.
2554
2555 2004-04-19  John Levon  <levon@movementarian.org>
2556
2557         * BufferView_pimpl.C:
2558         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2559
2560 2004-04-05  Angus Leeming  <leeming@lyx.org>
2561
2562         * text.C (redoParagraphs): add call to updateCounters(), thereby
2563         fixing the missing "Figure #:" label from the caption of a
2564         figure float.
2565
2566 2004-04-13  Angus Leeming  <leeming@lyx.org>
2567
2568         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2569         cursor is clicked out of an inset.
2570
2571 2004-04-13  Angus Leeming  <leeming@lyx.org>
2572
2573         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2574         than an InsetOld one.
2575
2576 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2577
2578         * format.[Ch]: add editor to Format
2579         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2580         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2581
2582 2004-04-08  André Pönitz  <poenitz@gmx.net>
2583
2584         * metricsinfo.h: remove PainterInfo::width member
2585
2586 2004-04-08  Angus Leeming  <leeming@lyx.org>
2587
2588         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2589         "\providecommand" rather than "\newcommand", thereby preventing
2590         clashes with packages that define "\boldsymbol" themselves.
2591         Eg, beamer.
2592
2593 2004-04-08  Angus Leeming  <leeming@lyx.org>
2594
2595         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2596         thereby squashing an unnecessary warning.
2597
2598 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2599
2600         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2601         setBuffer()
2602
2603 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2604
2605         * BufferView.C (setCursor): call redoParagraph (some insets could
2606         have been opened)
2607         (putSelectionAt): remove the 'double update' trick
2608
2609         * BufferView_pimpl.C (fitCursor): call refreshPar
2610         (workAreaDispatch): remove an uneeded update call
2611         (dispatch): remove some manual update calls
2612
2613         * cursor.[Ch]: remove cached_y_, updatePos
2614         (selHandle): set noUpdate when appropriate
2615
2616         * lyxfunc.C (dispatch): track if we need an update
2617
2618         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2619
2620         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2621         (paintSelection): cheap optimization, do not call cursorX when not
2622         needed
2623         (paintPars): change signature
2624         (refreshPar): add
2625         (paintText): adjust
2626         (paintTextInset): adjust
2627
2628         * text.C: adjust
2629
2630 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2631
2632         * lengthcommon.C: compilation fix: remove explicit array size from
2633         unit_name[] and friends
2634
2635 2004-04-05  Angus Leeming  <leeming@lyx.org>
2636
2637         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2638
2639         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2640         present only for the preferences dialog.
2641         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2642
2643 2004-04-05  Angus Leeming  <leeming@lyx.org>
2644
2645         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2646         to enable the frontends to export changes to lyxrc correctly.
2647
2648         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2649
2650 2004-04-07  André Pönitz  <poenitz@gmx.net>
2651
2652         * cursor.[Ch] (selClear, adjust): remove math
2653
2654         * cursor_slice.C: more agressive assert
2655
2656         * lyxfunc.C:
2657         * BufferView_pimpl.C: rework mouse event dispatch
2658
2659         * dociterator.C:
2660         * paragraph.C:
2661         * text2.C:
2662         * text3.C: adjust
2663
2664 2004-04-05  André Pönitz  <poenitz@gmx.net>
2665
2666         * cursor.[Ch] (valign, halign...): remove unneeded functions
2667
2668 2004-04-05  Angus Leeming  <leeming@lyx.org>
2669
2670         * lyxlength.[Ch] (unit_name et al.): const-correct.
2671
2672 2004-04-05  Angus Leeming  <leeming@lyx.org>
2673
2674         * BufferView_pimpl.C:
2675         * buffer.C:
2676         * counters.C:
2677         * cursor.C:
2678         * lyxfunc.C
2679         * paragraph.C:
2680         * pariterator.C:
2681         * text.C:
2682         * text2.C:
2683         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2684
2685 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2686
2687         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2688
2689 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2690
2691         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2692         * BufferView_pimpl.[Ch] (getStatus)
2693         * BufferView.[Ch] (getStatus): add
2694         * lyxfunc.C (getStatus): move lfuns handled in
2695         BufferView::dispatch to te function above
2696         * Cursor.C (setSelection): set selection() = true
2697
2698 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2699
2700         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2701
2702 2004-03-31  Angus Leeming  <leeming@lyx.org>
2703
2704         * lyxfunc.C (dispatch): Fall through to the generic
2705         Dialogs::show("preamble").
2706
2707 2004-03-31  Angus Leeming  <leeming@lyx.org>
2708
2709         * lyxfunc.C (dispatch): Fall through to the generic
2710         Dialogs::show("spellchecker").
2711
2712 2004-03-31  Angus Leeming  <leeming@lyx.org>
2713
2714         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2715         preferences dialog.
2716
2717 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2718
2719         * BufferView.C
2720         * cursor.[Ch]
2721         * dociterator.[Ch]:
2722         * insetiterator.[Ch]:
2723         * lyxfind.C:
2724         * lyxfunc.C:
2725         * pariterator.[Ch]:
2726         * text2.C:
2727         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2728
2729 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2730
2731         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2732         insets where we are putting the cursor.
2733
2734 2004-03-31  Angus Leeming  <leeming@lyx.org>
2735
2736         * lfuns.h:
2737         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2738
2739         * lyxrc.[Ch] (read, write): overloaded member functions taking
2740         a std::[io]stream arguments.
2741
2742         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2743
2744 2004-03-31  Angus Leeming  <leeming@lyx.org>
2745
2746         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2747         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2748
2749         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2750         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2751
2752 2004-03-31  Angus Leeming  <leeming@lyx.org>
2753
2754         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2755         the LFUN_ALL_INSETS_TOGGLE code.
2756
2757 2004-03-30  Angus Leeming  <leeming@lyx.org>
2758
2759         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2760         has died. Fall through to the generic Dialogs::show("document").
2761
2762 2004-03-30  Angus Leeming  <leeming@lyx.org>
2763
2764         * lfuns.h:
2765         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2766         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2767
2768         * lyxfunc.C (getStatus, dispatch): define the actions for these
2769         lfuns. Little more than a cut and pste job from ControlDocument.C
2770
2771         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2772
2773 2004-03-30  Angus Leeming  <leeming@lyx.org>
2774
2775         * lfuns.h:
2776         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2777         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2778
2779         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2780         open/closed state of ollapsable insets. Usage:
2781
2782         all-inset-toggle <state> <name>, where
2783         <state> == "open" || "closed" || "toggle" and
2784         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2785
2786         * lyxtext.h, text2.C (toggleInset): removed.
2787
2788         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2789         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2790         now passes LFUN_INSET_TOGGLE to the found inset.
2791
2792         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2793         is now invoked as "all-insets-toggle toggle branch".
2794
2795 2004-03-30  Angus Leeming  <leeming@lyx.org>
2796
2797         * dociterator.C:
2798         * insetiterator.C:
2799         * pariterator.[Ch]: added/corrected header blurb.
2800
2801 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2802
2803         * dociterator.[Ch]: add an inset_ member
2804         (backwardPos): implemented
2805         (backwardPos, forwardPos): use inset_ when the stack is empty.
2806         (doc_iterator_begin, doc_iterator_end): implemented
2807         * pariterator.[Ch]: adjust, add begin, end
2808         * insetiterator.[Ch]: adjust, add begin, end
2809         * cursor.C:
2810         * document.C:
2811         * BufferView.C:
2812         * BufferView_pimpl.C:
2813         * CutAndPaste.C: adjust
2814
2815 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2816
2817         * buffer.C: increment file format to 232.
2818         * LaTeXFeatures.C: add bibtopic package.
2819         * bufferparams.[Ch]: param \use_bibtopic.
2820
2821         * lyxrc.[Ch]: add lyxrc bibtex_command
2822         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2823
2824         * buffer.C: increment file format to 231.
2825
2826 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2827
2828         * dociterator.C: implement forwardPar
2829         * iterators.[Ch]: remove, replaced by
2830         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2831         * BufferView.C:
2832         * BufferView_pimpl.C:
2833         * CutAndPaste.C:
2834         * buffer.C:
2835         * bufferview_funcs.C:
2836         * cursor.C:
2837         * lyxfind.C
2838         * lyxfunc.C
2839         * paragraph_funcs.C
2840         * toc.C:
2841         * Makefile.am: adjust
2842
2843 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2844
2845         * CutAndPaste.C (pasteSelection): fix 2 crashes
2846         (eraseSelection): fix a crash
2847         * paragraph_funcs.C: remove a warning
2848
2849 2004-03-28  Angus Leeming  <leeming@lyx.org>
2850
2851         * lfuns.h:
2852         * LyXAction.C (init): new LFUN_PRINT.
2853
2854         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2855
2856 2004-03-27  Angus Leeming  <leeming@lyx.org>
2857
2858         * lfuns.h:
2859         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2860
2861         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2862
2863 2004-03-27  Angus Leeming  <leeming@lyx.org>
2864
2865         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2866         insetlist always contains non-null pointers to insets.
2867
2868 2004-03-26  Angus Leeming  <leeming@lyx.org>
2869
2870         * src/BufferView_pimpl.C:
2871         * src/CutAndPaste.C:
2872         * src/buffer.C:
2873         * src/iterators.C:
2874         * src/output_plaintext.C:
2875         * src/outputparams.h:
2876         * src/paragraph_funcs.C:
2877         * src/rowpainter.C:
2878         * src/text.C:
2879         * src/text2.C:
2880         * src/frontends/controllers/ControlErrorList.C:
2881         * src/frontends/gtk/FileDialogPrivate.C:
2882         * src/frontends/gtk/GPainter.C:
2883         * src/frontends/gtk/GToolbar.C:
2884         * src/frontends/qt2/QRef.C:
2885         * src/mathed/math_scriptinset.C: squash compiler warnings.
2886
2887 2004-03-26  Angus Leeming  <leeming@lyx.org>
2888
2889         * ispell.C (LaunchIspell::start):
2890         * lyx_cb.C (AutoSaveBuffer::start):
2891         invoke run(DontWait) rather than runNonBlocking().
2892
2893 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2894
2895         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2896
2897 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2898
2899         * kbsequence.C (print): adjust
2900
2901         * kbmap.C (printKeySym): rename and change signature
2902         (printKey): use LyXKeySym::print()
2903
2904 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2905
2906         * undo.C: add using std::advance to compile for stlport
2907
2908 2004-03-24  Angus Leeming  <leeming@lyx.org>
2909
2910         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2911         it leads to a crash when no buffer is present.
2912
2913 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2914             Martin Vermeer  <martin.vermeer@hut.fi>
2915
2916         * lyxfunc.C (dispatch):
2917         * bufferparams.C (readToken): use the new LColor::setColor
2918
2919         * LColor.[Ch] (setColor): new version that takes two strings as
2920         argument and creates a new color entry if necessary
2921
2922 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2923
2924         * buffer.C (makeLaTeXFile): if the main latex file that is
2925         processed is usually a subdocument of some master, then pretend
2926         for a while that it is actually the master
2927
2928 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2929
2930         * buffer.C (getLabelList):
2931         (getBibkeyList): use getMasterBuffer()
2932         (getMasterBuffer): new method. Returns the main document in the
2933         case where one is using included documents.
2934
2935 2004-03-25  André Pönitz  <poenitz@gmx.net>
2936
2937         * Makefile.am:
2938         * iterators.[Ch]:
2939         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2940
2941         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2942
2943         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2944         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2945
2946         * ParameterStruct.h: merge with ParagraphParameters
2947
2948         * lyxtext.h: remove LyXText::parOffset() and getPar()
2949
2950         * text3.C: Remove all 'manual' update calls. We do now one per user
2951         interaction which is completely sufficient.
2952
2953         * Bidi.C:
2954         * BufferView.[Ch]:
2955         * BufferView_pimpl.C:
2956         * FontIterator.[Ch]:
2957         * MenuBackend.C:
2958         * ParagraphParameters.[Ch]:
2959         * buffer.C:
2960         * buffer.h:
2961         * bufferlist.C:
2962         * cursor.[Ch]:
2963         * cursor_slice.[Ch]:
2964         * dociterator.[Ch]:
2965         * errorlist.[Ch]:
2966         * factory.C:
2967         * lfuns.h:
2968         * lyxfind.C:
2969         * lyxfunc.C:
2970         * output_docbook.[Ch]:
2971         * output_latex.[Ch]:
2972         * output_linuxdoc.[Ch]:
2973         * output_plaintext.[Ch]:
2974         * paragraph.[Ch]:
2975         * paragraph_funcs.[Ch]:
2976         * paragraph_pimpl.[Ch]:
2977         * rowpainter.C:
2978         * tabular.[Ch]:
2979         * text.C:
2980         * text2.C:
2981         * toc.C:
2982         * undo.[Ch]: adjust
2983
2984         * frontends/controllers/ControlDocument.C:
2985         * frontends/controllers/ControlErrorList.C:
2986         * frontends/controllers/ControlSpellchecker.C:
2987         * insets/inset.C:
2988         * insets/inset.h:
2989         * insets/insetbase.h:
2990         * insets/insetbibitem.C:
2991         * insets/insetbox.C:
2992         * insets/insetbranch.C:
2993         * insets/insetcaption.C:
2994         * insets/insetcharstyle.C:
2995         * insets/insetcharstyle.h:
2996         * insets/insetcollapsable.C:
2997         * insets/insetcollapsable.h:
2998         * insets/insetert.C:
2999         * insets/insetfloat.C:
3000         * insets/insetfoot.C:
3001         * insets/insetmarginal.C:
3002         * insets/insetnote.C:
3003         * insets/insetoptarg.C:
3004         * insets/insettabular.C:
3005         * insets/insettext.C:
3006         * insets/insettext.h:
3007         * insets/insetwrap.C:
3008         * mathed/math_mboxinset.C:
3009         * mathed/math_nestinset.C:
3010         * mathed/math_scriptinset.C:
3011         * mathed/math_scriptinset.h:
3012         * support/types.h:
3013
3014 2004-03-24  Angus Leeming  <leeming@lyx.org>
3015
3016         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3017         deal with any child processes that have finished but are waiting to
3018         communicate this fact to the rest of LyX.
3019
3020 2004-03-24  Angus Leeming  <leeming@lyx.org>
3021
3022         64-bit compile fixes.
3023
3024         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3025         (c-tor): pass lyx::pos_types rather than ints.
3026
3027         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3028         lyx::pos_type.
3029
3030         * text.C (Delete): compile fix.
3031         (getPar): ensure that function declaration is the same as that in
3032         the header file.
3033
3034 2004-03-23  Angus Leeming  <leeming@lyx.org>
3035
3036         * ispell.C (LaunchIspell):
3037         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3038         a boost::shred_ptr rather than a std::auto_ptr.
3039
3040 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3041
3042         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3043         handle LFUN_FILE_INSERT_*
3044
3045         * lyxrc.C (setDefaults, getDescription, output, read):
3046         * lyxrc.h: remove ps_command
3047
3048 2004-03-22  Angus Leeming  <leeming@lyx.org>
3049
3050         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3051         Ensure that error_handler is processed once only and that all data
3052         is saved before attempting to output any warning messages.
3053
3054         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3055
3056 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3057
3058         * tabular.C (TeXRow): crash fix (from Kayvan and André)
3059
3060 2004-03-19  André Pönitz  <poenitz@gmx.net>
3061
3062         * cursor.[Ch] (reset): take main text inset as argument
3063
3064         * BufferView: adjust
3065         * BufferView_pimpl.C: adjust
3066
3067         * paragraph.[Ch]: fix completely broken operator=()
3068
3069 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3070
3071         * LColor.C (getFromLyXName): make sure that the color name is used
3072         as lowercase.
3073
3074 2004-03-17  Angus Leeming  <leeming@lyx.org>
3075
3076         * lfuns.h:
3077         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3078
3079         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3080         dialog and to kill a forked process.
3081
3082 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3083
3084         * text2.C (setCursorFromCoordinates): fix font problem
3085
3086 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3087
3088         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3089         bogus "rebuild cursor" code
3090
3091 2004-03-11  André Pönitz  <poenitz@gmx.net>
3092
3093         * buffer.[Ch]: use InsetText instead of LyXText as container for
3094         the main lyx text.
3095
3096         * dociterator.[Ch]: drop the BufferView * member which is not needed
3097         anymore after the change to buffer.C
3098
3099         * paragraph_funcs.C:
3100         * text.C:
3101         * text2.C:
3102         * BufferView.[Ch]:
3103         * BufferView_pimpl.[Ch]:
3104         * cursor.[Ch]:
3105         * cursor_slice.[Ch]: adjust
3106
3107         * text3.C: fix bug in mathDispatch
3108
3109 2004-03-08  André Pönitz  <poenitz@gmx.net>
3110
3111         * undo.[Ch]: use 'StableDocumentIterator' as base for
3112         the Undo struct.
3113
3114 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3115
3116         * LaTeXFeatures.C:
3117         * bufferparams.[Ch]: add jurabib support and param.
3118
3119         * LaTeX.C: add FIXME/comment.
3120
3121 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3122
3123         * buffer.C: increment file format to 230.
3124
3125 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3126
3127         * cursor.C (dispatch): avoid infinite loops
3128
3129 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3130
3131         * rowpainter.C (paintSelection): fix x coordinates
3132
3133 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3134
3135         * text.C (rowBreakPoint): fix breaking before displayed insets
3136
3137 2004-03-01  André Pönitz  <poenitz@gmx.net>
3138
3139         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3140
3141         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3142
3143         * Makefile.am:
3144         * BufferView.C:
3145         * BufferView_pimpl.C:
3146         * buffer.C:
3147         * lyxfind.C:
3148         * lyxfunc.C:
3149         * text.C:
3150         * text2.C:
3151         * text3.C: adjust
3152
3153 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3154
3155         * lyxtext.h:
3156         * text.C:
3157         * text2.C:
3158         * rowpainter.C:
3159         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3160         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3161
3162 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3163
3164         * Bidi.[Ch] (computeTables): const correctness
3165         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3166         fill_hfill, fill_label_hfill and x from Row
3167         * lyxtext.h: prepareToPrint returns a RowMetrics
3168         * rowPainter.C: adjust
3169         * text.C (prepareToPrint): use width, not textWidth. adjust
3170         (redoParagraphInternal, cursorX): adjust
3171         * text2.C (getColumnNearX): adjust
3172         (init): put a default value to the top LyXText::width
3173
3174 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3175
3176         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3177
3178 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3179
3180         * lyxtext.h: add FontIterator class
3181
3182         * text.C (FontIterator, operator*, operator->, operator++): add
3183         (rowBreakPoint, setRowWidth): adjust (fixing a
3184         rebreaking bug)
3185
3186 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3187
3188         * BufferView_pimpl.C (workAreaDispatch): allow also
3189         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3190
3191 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3192
3193         * text.C (rowBreakPoint): fix a bug showing with very large insets
3194
3195 2004-02-25  André Pönitz  <poenitz@gmx.net>
3196
3197         * text3.C:
3198         * cursor.[Ch]: move some mathed specific code to mathed
3199
3200 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3201
3202         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3203         use_tempdir in preferences
3204         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3205         tempfile creation
3206         * lyx_main.C: ensure that tempdir is valid
3207         * lyxlex.h: correct typo
3208         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3209         * paragraph.[Ch] (isMultiLingual): make const
3210         * cursor.[Ch] (openable): make const
3211
3212 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3213
3214         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3215
3216 2004-02-20  André Pönitz  <poenitz@gmx.net>
3217
3218         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3219
3220         * cursor.[Ch]: prepare for localized getStatus()
3221
3222         * lyxtext.h:
3223         * tabular.C:
3224         * text.C:
3225         * text2.C:
3226         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3227
3228 2004-02-20  André Pönitz  <poenitz@gmx.net>
3229
3230         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3231
3232 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3233
3234         * text2.C (setCursorFromCoordinates): switch to absolute coords
3235         (cursorUp): adjust
3236         (cursorDown): adjust
3237         * text3.C (dispatch): adjust
3238
3239 2004-02-16  André Pönitz  <poenitz@gmx.net>
3240
3241         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3242           insets/ChangeLog)
3243
3244         * cursor_slice.[Ch]: remove unneeded acessor function
3245
3246         * lyxtext.h: rename rtl() to isRTL()
3247
3248         * rowpainter.C:
3249         * tabular.C:
3250         * text.C:
3251         * text2.C:
3252         * text3.C: adjust
3253
3254 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3255
3256         * rowpainter.C (paintSelection): coord fix
3257
3258 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3259
3260         * Spacing.C: compile fix
3261
3262 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3263
3264         * cursor.C (dispatch): restore current_ before returning
3265
3266 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3267
3268         * text2.C (cursorUp, cursorDown): fix coords
3269         (moveUp): fix crash
3270
3271 2004-02-12  André Pönitz  <poenitz@gmx.net>
3272
3273         * lyxtext.h:
3274         * text.C:
3275         * text2.C:
3276         * text3.C: add LCursor & parameter to most cursor movement functions
3277           remove usage of LyXText::cursorRow() and cursorPar()
3278
3279         * cursor.[Ch]: add textRow() needed members
3280
3281         * BufferView.C:
3282         * BufferView_pimpl.C:
3283         * paragraph.[Ch]:
3284         * BufferView.C:
3285         * BufferView_pimpl.C: adjust
3286
3287 2004-02-11  André Pönitz  <poenitz@gmx.net>
3288
3289         * lyxfunc.C:
3290         * BufferView.[Ch]:
3291         * BufferView_pimpl.C: shift undo/redo handling
3292
3293         * cursor.[Ch]: fix mathed crash
3294
3295         * lyxfind.C:
3296         * lyxtext.h: move selectionAsText to LCursor
3297
3298         * output_latex.C:
3299         * paragraph.C:
3300         * text.C:
3301         * text2.C:
3302         * text3.C: adjust
3303
3304         * rowpainter.C: fix excessive drawing
3305
3306 2004-02-06  André Pönitz  <poenitz@gmx.net>
3307
3308         * BufferView.[Ch]:
3309         * BufferView_pimpl.[Ch]:
3310         * text3.C: move some text specific LFUN handling
3311
3312 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3313
3314         * text3.C (checkInsetHit): adjust coords
3315         * text2.C (getColumnNearX): adjust coords
3316         (edit): adjust coords
3317         * text.C (getRowNearY): add two asserts
3318
3319 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3320
3321         * converter.C:
3322         * format.C: add using std::distance to compile on gcc 2.95/stlport
3323
3324 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3325
3326         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3327
3328 2004-02-04  André Pönitz  <poenitz@gmx.net>
3329
3330         * BufferView.[Ch] (insertInset):
3331         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3332
3333         * text2.C:
3334         * text3.C: adjust
3335
3336 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3337
3338         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3339         on the default clause of the switch
3340         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3341         wasn't catched by LCursor::dispatch
3342
3343 2004-02-03  André Pönitz  <poenitz@gmx.net>
3344
3345         * BufferView.C:
3346         * cursor.[Ch]: some additional asserts
3347
3348         * undo.[Ch]: remove LyXText dependency in interface
3349
3350         * lyxfunc.C: adjust
3351
3352         * lyxtext.h (firstPar, lastPar): remove dead functions
3353
3354         * text.C:
3355         * text2.C:
3356         * text3.C:
3357         * paragraph.[Ch]: adjust
3358
3359 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3360
3361         * lyxfind.C (find): fix argument order in call to ::find
3362
3363 2004-02-02  André Pönitz  <poenitz@gmx.net>
3364
3365         * cursor.[Ch]: remove direct access to anchor
3366
3367         * text.C: remove findText() hack
3368
3369 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3370
3371         * iterators.[Ch] (lockPath): remove in favour of...
3372         * BufferView.[Ch] (setCursor): this addition
3373         * BufferView.C (putSelectionAt): adjust
3374         * undo.C (performUndoOrRedo): adjust
3375         * lyxfunc.C (dispatch): adjust
3376
3377 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3378
3379         * iterators.C (lockPath): add a missing slice
3380         * undo.C (performUndoOrRedo): remove redundant positioning code
3381
3382 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
3383
3384         * vc-backend.C (scanMaster): ";" -> ';'
3385
3386 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
3387
3388         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3389         std::binary_function
3390
3391         * lyxtextclass.C (compare_name): rename to...
3392         (LayoutNamesEqual): ...this
3393
3394         * lyxlex_pimpl.C (compare_tags): inherit from
3395         std::binary_function, put back into anon namespace
3396
3397         * lyxfind.C (MatchString): inherig from std::binary_function
3398         (findChange): use empty() istead of !size()
3399
3400         * format.C (FormatNamesEqual): new functor
3401         (getFormat): use it
3402         (getNumber): use it
3403         (add): use it
3404         (erase): use it
3405         (setViewer): use it
3406
3407         * converter.C (compare_Converter): rename to...
3408         (ConverterEqual): ...this, and fixup a bit.
3409         (getConverter): use it, and make function const
3410         (getNumber): use it, and make function const
3411         (add): use it
3412         (erase): use it:
3413
3414         * bufferlist.C: add using boost::bind
3415
3416         * MenuBackend.C (MenuNamesEqual): new functor
3417         (hasMenu): use it, and make function const
3418         (hasSubmenu): use nested bind to get rid of compare_memfun.
3419
3420 2004-01-30  André Pönitz  <poenitz@gmx.net>
3421
3422         * BufferView_pimpl.C:
3423         * cursor.C:
3424         * cursor.h:
3425         * cursor_slice.[Ch]:
3426         * lyxfunc.C:
3427         * lyxtext.h:
3428         * paragraph_funcs.C:
3429         * paragraph_funcs.h:
3430         * rowpainter.C:
3431         * text.C:
3432         * text2.C:
3433         * text3.C: move some of the edit(x,y) handling to the insets
3434         some coordinate changes.
3435
3436 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
3437
3438         * text.C: add using statements for std::advance and std::distance
3439
3440         * paragraph.C: add using statement for std::distance
3441
3442         * lyxfind.C: add using statement for std::advance
3443
3444         * cursor.C (region): remove std:: from swap
3445         (openable): use nucleus in stead of operator->
3446
3447         * BufferView.C: add using statements for std::distance and std::swap
3448
3449 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
3450
3451         * iterators.C: Remove the pimple, move the needed structures to
3452         the header file. Create accessor for the positions stack.
3453         (asPosIterator): remove function
3454
3455         * PosIterator.C (PosIterator): move constructors to top of file
3456         (PosIterator): reimplement the constructor taking a ParIterator in
3457         terms of setFrom.
3458         (setFrom): new function
3459         (operator!=): inline it
3460
3461 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
3462
3463         * lyxfind.C (replaceAll): use std::advance
3464
3465         * iterators.h: inherit from std::iterator.
3466
3467         * PosIterator.C (advance, distance): remove
3468         * PosIterator.h: interit from std::iterator.
3469
3470 2004-01-26  André Pönitz  <poenitz@gmx.net>
3471
3472         * BufferView.[Ch]:
3473         * BufferView_pimpl.[Ch]:
3474         * InsetList.[Ch]:
3475         * PosIterator.[Ch]:
3476         * buffer.h:
3477         * bufferview_funcs.C:
3478         * cursor.[Ch]:
3479         * cursor_slice.h:
3480         * factory.[Ch]:
3481         * iterators.[Ch]:
3482         * lyxfind.C:
3483         * lyxfunc.C:
3484         * lyxtext.h:
3485         * output_docbook.C:
3486         * output_latex.C:
3487         * output_linuxdoc.C:
3488         * output_plaintext.C:
3489         * paragraph.[Ch]:
3490         * paragraph_funcs.[Ch]:
3491         * paragraph_pimpl.[Ch]:
3492         * rowpainter.C:
3493         * tabular.C:
3494         * tabular.h:
3495         * text.C:
3496         * text2.C:
3497         * text3.C: more IU:  dumps most of the rest of the mathcursor
3498     implementation into cursor.[Ch]; "globalize" a bit of it.
3499
3500 2004-01-25  Angus Leeming  <leeming@lyx.org>
3501
3502         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3503
3504 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3505
3506         * LaTeXFeatures.h: add nice_ and nice() const
3507         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3508
3509 2004-01-20  André Pönitz  <poenitz@gmx.net>
3510
3511         * BufferView.[Ch]:
3512         * BufferView_pimpl.C:
3513         * PosIterator.C:
3514         * bufferview_funcs.C:
3515         * cursor.[Ch]:
3516         * cursor_slice.[Ch]:
3517         * factory.C:
3518         * iterators.C:
3519         * lyx_cb.C:
3520         * lyxfind.C:
3521         * lyxfunc.C:
3522         * lyxtext.h:
3523         * rowpainter.C:
3524         * text.C:
3525         * text2.C:
3526         * text3.C:
3527         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3528           LCursor and mathcursor parts to LCursor and InsetBase.
3529
3530 2004-01-15  André Pönitz  <poenitz@gmx.net>
3531
3532         * cursor_slice.[Ch]: add a few covienience functions
3533
3534         * funcrequest.[Ch]: remove BufferView * member
3535
3536         * BufferView_pimpl.C:
3537         * cursor.C:
3538         * factory.[Ch]:
3539         * lyxfind.[Ch]:
3540         * lyxfunc.C:
3541         * lyxtext.h:
3542         * text3.C:
3543         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3544
3545 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3546
3547         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3548         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3549
3550 2004-01-13  André Pönitz  <poenitz@gmx.net>
3551
3552         * textcursor.[Ch]:
3553         * lyxtext.h: hide cursor and selection anchor behind accessor function
3554
3555         * BufferView.C:
3556         * BufferView_pimpl.[Ch]:
3557         * PosIterator.C:
3558         * bufferview_funcs.C:
3559         * cursor.h:
3560         * lyxfind.C:
3561         * lyxfunc.C:
3562         * text.C:
3563         * text2.C:
3564         * text3.C:
3565         * undo.C: adjust
3566
3567         * cursor.h:
3568         * cursor_slice.[Ch]: some integer type changes for inset unification
3569
3570         * lyxcursor.[hC]: remove, it's CursorSlice now.
3571
3572         * Makefile.am:
3573         * BufferView_pimpl.[Ch]:
3574         * bufferview_funcs.C:
3575         * cursor_slice.C:
3576         * lyxtext.h:
3577         * text.C:
3578         * text2.C:
3579         * text3.C:
3580         * textcursor.[Ch]: adjust
3581
3582 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3583
3584         * text2.C (undoSpan): add and use
3585         * text.C (breakParagraph): use undoSpan (fix bug 578)
3586         * lyxtext.h: adjust
3587
3588 2004-01-08  Angus Leeming  <leeming@lyx.org>
3589
3590         * BufferView_pimpl.C (MenuInsertLyXFile):
3591         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3592         * lyxfunc.C (menuNew, open, doImport):
3593         FileFilterList change to the FileDialog open and save functions.
3594
3595 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
3596
3597         * ShareContainer.h: make isEqual and isUnique adaptable
3598
3599         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3600
3601 2004-01-07  Angus Leeming  <leeming@lyx.org>
3602
3603         * LyXAction.C:
3604         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3605
3606         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3607
3608         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3609         functions replacing find, replace and replaceAll.
3610
3611         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3612         LFUN_WORDFIND(FORWARD|BACKWARD).
3613
3614 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3615
3616         * text.C (breakParagraph): remove an outdated #warning
3617
3618 2004-01-07  André Pönitz  <poenitz@gmx.net>
3619
3620         * lyxfind.C: somewhat clearer logic
3621
3622         * text.C: prevent crash in cursorX on unitialized row cache
3623
3624 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3625
3626         * lyxcursor.[Ch] (operator>): add
3627         * textcursor.C (selStart, selEnd): use std::min and std::max
3628
3629 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
3630
3631         * Chktex.C: include boost/format.hpp
3632
3633 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
3634
3635         * InsetList.C: replace functor MathcIt with adaptable functor
3636         InsetTablePosLess
3637         (insetIterator): modify accordingly
3638
3639         * BranchList.h: move the BranchNamesEqual functor here from...
3640         * BranchList.C: ... to here
3641
3642         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3643         SameName and match.
3644         (add): replace a finding loop with std::find_if.
3645
3646 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3647
3648         * output_docbook.C: moving LatexParam functionality into
3649         .layout files
3650
3651 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3652
3653         * buffer.C: increment format to 229.
3654
3655 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3656
3657         * LaTeXFeatures.C:
3658         * lyx_sty.[Ch]: remove minipageindent_def
3659
3660         * LyXAction.C:
3661         * factory.C:
3662         * lfuns.h:
3663         * lyxfunc.C:
3664         * text3.C: remove LFUN_INSET_MINIPAGE
3665
3666 2003-12-28  Angus Leeming  <leeming@lyx.org>
3667
3668         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3669
3670 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3671
3672         * text2.C (setParagraph): fix off-by-one crash
3673
3674 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3675
3676         * output_docbook.C: header stuff for AGU
3677
3678 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3679
3680         * text2.C (redoCursor): remove
3681         * text.C:
3682         * text3.C:
3683         * BufferView_pimpl.C: remove calls to redoCursor and
3684         setCursor(cursor.par(), cursor.pos()) all around
3685
3686 2003-12-15  Angus Leeming  <leeming@lyx.org>
3687
3688         * buffer.C: up the format to 228.
3689
3690 2003-12-15  André Pönitz  <poenitz@gmx.net>
3691
3692         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3693         slices
3694
3695         * Makefile.am:
3696
3697         * BufferView_pimpl.C:
3698         * cursor.[Ch]:
3699         * lyxcursor.[Ch]:
3700         * rowpainter.[Ch]:
3701         * lyxtext.h:
3702         * text.C:
3703         * text2.C:
3704         * text3.C: adjust
3705
3706 2003-12-15  Angus Leeming  <leeming@lyx.org>
3707
3708         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3709         than getFromGUIName to manipulate the color.
3710
3711 2003-12-14  Angus Leeming  <leeming@lyx.org>
3712
3713         * BranchList.[Ch]: minimize the API.
3714         (Branch::getBranch, getColor): now return a 'const &'.
3715         (Branch::setSelected) now returns a bool set to true if the
3716         selection status changes.
3717         (BranchList::clear, size, getColor, setColor, setSelected,
3718         allBranches, allSelected, separator): removed.
3719         (BranchList::find): new functions, returning the Branch with
3720         the given name.
3721         (BranchList::add, remove): return a bool indicating that
3722         the operation was successful.
3723
3724         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3725         new InsetBranch::isBranchSlected member function.
3726
3727         * LColor.[Ch]: mimimize the API.
3728         (fill): renamed as addColor and made private.
3729         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3730         versions of these functions taking a string arg have been removed.
3731
3732         * bufferparams.C (readToken):
3733         * lyxfunc.C (dispatch):
3734         * lyxrc.C (read): changes due to the altered BranchList and
3735         LColor APIs.
3736
3737         * factory.C (createInset, readInset): changes due to altered
3738         InsetBranch c-tor.
3739
3740 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3741
3742         * factory.C:
3743         * lyxfunc.C: remove insetminipage. "minipage-insert"
3744         now produces a frameless minipage box inset.
3745
3746 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3747
3748         * textcursor.[Ch] (selStart,selEnd): add new methods
3749         remove selection::start, end, use LyXCursor::operator<
3750         * lyxcursor.[Ch] (operator<): add
3751         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3752         * BufferView.[Ch] (unsetXSel): add
3753         * text2.C (clearSelection): use unsetXSel,adjust
3754         * text.C: adjust
3755         * text3.C: adjust
3756         * rowpainter.C: adjust
3757         * bufferview_funcs.C (put_selection_at): adjust
3758
3759 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3760
3761         * BufferView_pimpl.C: small coord. correction
3762
3763 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3764
3765         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3766         dragging over the splash screen.
3767
3768 2003-12-11  Angus Leeming  <leeming@lyx.org>
3769
3770         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3771         as it is now handled in LyXText::dispatch.
3772
3773         * text3.C (doInsertInset): remove a level of nesting.
3774
3775 2003-12-11  Angus Leeming  <leeming@lyx.org>
3776
3777         * factory.C (createInset): changes due to the changed interface to
3778         InsetCommandMailer::string2params.
3779
3780 2003-12-10  Angus Leeming  <leeming@lyx.org>
3781
3782         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3783         'dialog-show-new-inset <inset name>'
3784
3785 2003-12-10  Angus Leeming  <leeming@lyx.org>
3786
3787         * buffer.C: up the format to 227.
3788
3789         * factory.C: the box inset is now identified simply by 'Box'.
3790
3791 2003-12-10  Angus Leeming  <leeming@lyx.org>
3792
3793         * buffer.C: up the format to 226.
3794
3795         * factory.C: the note inset is now identified simply by 'Note'.
3796
3797 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3798
3799         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3800         when a pit is enough. Standarize a couple of loops.
3801
3802 2003-12-05  Angus Leeming  <leeming@lyx.org>
3803
3804         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3805         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3806         data to the re-worked "log" dialog.
3807
3808 2003-12-03  André Pönitz  <poenitz@gmx.net>
3809
3810         * PosIterator.C:
3811         * iterators.C:
3812         * lyxtext.h:
3813         * output_latex.C:
3814         * paragraph_funcs.C:
3815         * text.C:
3816         * text2.C: use Inset::getText instead of Inset::getParagraph
3817
3818 2003-12-03  André Pönitz  <poenitz@gmx.net>
3819
3820         * buffer.[Ch]:
3821         * lyxtext.h:
3822         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3823         InsetText::read() as LyXText::read()
3824
3825 2003-12-02  Angus Leeming  <leeming@lyx.org>
3826
3827         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3828         type. Add a comment in the implementation that the function uses
3829         the stream's bad() function rather than fail() as the std::streams
3830         would do.
3831
3832 2003-12-02  André Pönitz  <poenitz@gmx.net>
3833
3834         * lyxlex.[Ch]: make interface more similar to std::stream
3835
3836         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3837
3838 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3839
3840         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3841
3842 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3843
3844         * vspace.[Ch]: remove VSpace::NONE
3845
3846 2003-12-01  André Pönitz  <poenitz@gmx.net>
3847
3848         * buffer.[Ch]:
3849         * lyxtext.h: move ParagraphList member to LyXText
3850         rename LyXText::ownerParagraphs to LyXText::paragraph
3851
3852         * CutAndPaste.C:
3853         * bufferview_funcs.C:
3854         * iterators.[Ch]:
3855         * lyx_cb.C:
3856         * paragraph.C:
3857         * rowpainter.C:
3858         * tabular.C:
3859         * text.C:
3860         * text2.C:
3861         * text3.C: adjust
3862
3863         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3864
3865         * undo.C: fix cursor positioning
3866
3867 2003-12-01  John Levon  <levon@movementarian.org>
3868
3869         * BufferView_pimpl.C: fix a crash on exit with
3870         a buffer open
3871
3872 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3873
3874         * BranchList.C: fix setSelected() method.
3875
3876 2003-11-28  André Pönitz  <poenitz@gmx.net>
3877
3878         * ParagraphParameters.[Ch]:
3879         * ParameterStruct.h: remove space above/below from Paragraph to
3880          InsetVSpace
3881
3882         * BufferView_pimpl.C:
3883         * factory.C:
3884         * lyxfunc.C:
3885         * lyxtext.h:
3886         * output_latex.C:
3887         * paragraph.C:
3888         * paragraph_funcs.C:
3889         * rowpainter.[Ch]:
3890         * text.C:
3891         * text2.C:
3892         * text3.C: adjust
3893
3894 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3895
3896         * factory.C: Syntax change for CharStyles
3897
3898 2003-11-28  André Pönitz  <poenitz@gmx.net>
3899
3900         * BufferView.[Ch]:
3901         * BufferView.[Ch]:
3902         * buffer.[Ch]:
3903         * buffer.[Ch]: move LyXText member
3904
3905 2003-11-28  André Pönitz  <poenitz@gmx.net>
3906
3907         * BufferView.[Ch]: make LyXText * text a private member
3908
3909         * BufferView_pimpl.C:
3910         * cursor.C:
3911         * iterators.C:
3912         * lyx_cb.C:
3913         * lyxfind.C:
3914         * lyxtext.h:
3915         * rowpainter.[Ch]:
3916         * text.C:
3917         * text2.C:
3918         * undo.C: adjust
3919
3920         * output_plaintext.C: cleanup
3921
3922 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3923
3924         * buffer.C:
3925         * lyxtextclass.[Ch]: parametrize SGML document header
3926
3927 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3928
3929         * converter.[Ch]:
3930         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3931         getFlavor().
3932
3933 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3934
3935         * text2.C (setFont): rework using PosIterator (no more recursive)
3936         (setCharFont): no more needed
3937         (setLayout): no more selection cursors fiddling (done by redoCursor)
3938         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3939         destroy remaining ones)
3940
3941 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3942
3943         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3944         * lyxtext.h: ditto
3945         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3946         selection cursors
3947         * lyxfunc.C: adjust
3948         * text3.C: adjust + re-allow multi par depth changes
3949         * textcursor.C: simplify a bit
3950
3951 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3952
3953         * src/buffer.C:
3954         * src/lyxlayout.C:
3955         * src/lyxlayout.h:
3956         * src/lyxtext.h:
3957         * src/output_docbook.C:
3958         * src/output_latex.C:
3959         * src/paragraph.C:
3960         * src/paragraph.h:
3961         * src/sgml.C:
3962         * src/sgml.h:
3963         * src/text2.C: Introducing a number of tags parametrizing various
3964         XML formats that we may want to support
3965
3966 2003-11-25  André Pönitz  <poenitz@gmx.net>
3967
3968         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3969
3970         * lyxtext.h (leftMargin/rightMargin): simplify interface
3971
3972         * rowpainter.C:
3973         * text.C:
3974         * text2.C:
3975         * text3.C: adjust
3976
3977 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3978
3979         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3980         master file to any child files. Fixes bug 546.
3981
3982 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3983
3984         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3985
3986 2003-11-24  André Pönitz  <poenitz@gmx.net>
3987
3988         * rowpainter.C: simplification
3989
3990         * text2.C (updateCounters): remove call to redoParagraph on
3991         changed labels as this is far too expensive.
3992
3993 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3994
3995         * converter.C (convert): fix a crash: this function gets
3996         called with buffer == 0 from importer code.
3997
3998 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3999
4000         * text3.C (cursorPrevious): make sure that we do not compare
4001         iterators form different containers.
4002         (cursorNext): ditto
4003
4004         * rowpainter.C (paintSelection): make sure that we do not compare
4005         iterators from different containers.
4006
4007         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4008         iterators from different ParagraphList containers.
4009         [NEXT] ditto
4010
4011         * text2.C (LyXText): change order of initialization slightly
4012         (operator=): new function. copy all variables except cache_par_
4013         (moveUp): make sure that we do not compare iterators from
4014         different ParagraphList constainers.
4015         (moveDown): ditto
4016
4017         * text.C (firstPar): new function
4018         (lastPar): new function
4019         (endPar): new function
4020
4021         * lyxtext.h: move things around and group public functions, public
4022         variables, private functions, private variables
4023
4024 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4025
4026         * factory.C: change call to InsetERT constructor to avoid
4027         additional invocation of method status
4028         * text2.C (toggleInset): remove redundant update() call
4029         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4030         instead of a Bufferview pointer
4031
4032 2003-11-21  André Pönitz  <poenitz@gmx.net>
4033
4034         * rowpainter.C: simplification
4035
4036 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4037
4038         * text3.C (dispatch): make possible to extend a word/row selection
4039         with the mouse
4040
4041 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4042
4043         * lyxtext.h: x0_,y0_ -> xo_,yo_
4044         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4045         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4046         * rowpainter.C (paintRows): paint full paragraphs
4047
4048 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4049
4050         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4051         screen coordinates)
4052
4053 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4054
4055         * lyxtext.h: add x0_, y0_
4056         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4057         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4058
4059 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4060
4061         * text2.C (setCursorIntern): move the x_target update here *
4062         * text3.C: change some bv() to true/false in calls to
4063         cursorUp/Down/Right/Left
4064         * cursor.C: use helper function.
4065
4066 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4067
4068         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4069         * paragraph_funcs.[Ch]: correct comment
4070         * rowpainter.C: do not paint selections away from bv->cursor()
4071         Fix a long standing selection painting bug.
4072         * text3.C: generalize mouse-selection code to LyXTexts other that
4073         top one
4074         * textcursor.C: do not use y coords if we can use par offsets
4075
4076 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4077
4078         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4079         cursor position after e.g. inset insert)
4080
4081 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4082
4083         * lyxfind.C (replace): adjust to locking removal + some
4084         code simplification
4085
4086 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4087
4088         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4089         of the path
4090
4091 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4092
4093         * lyxlayout.[Ch]:
4094         * output_docbook.C: XML sanitation: new layout
4095         parameters InnerTag and CommandDepth
4096
4097 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4098
4099         * BufferView_pimpl.C:
4100         * factory.C:
4101         * text3.C: Fix the insertion and modification of button-style
4102         insets
4103
4104 2003-11-13  André Pönitz  <poenitz@gmx.net>
4105
4106         * InsetList.[Ch]: remove deleteLyXText
4107
4108         * paragraph.[Ch]: cache beginOfBody position
4109
4110         * Bidi.C:
4111         * text.C:
4112         * text2.C:
4113         * text3.C: remove superfluous update() calls
4114
4115         * vspace.C: cleanup
4116
4117 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4118
4119         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4120         * BufferView.C (fitLockedInsetCursor): remove
4121         * cursor.[Ch] (getDim): add
4122         * text.C (getRowNearY): add faster version
4123         * text3.C: remove some update calls
4124
4125 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4126
4127         * LaTeXFeatures.C:
4128         * LyXAction.C:
4129         * MenuBackend.C:
4130         * MenuBackend.h:
4131         * dispatchresult.h:
4132         * factory.C:
4133         * lfuns.h:
4134         * lyxfunc.C:
4135         * lyxtextclass.C:
4136         * lyxtextclass.h:
4137         * text3.C: The Character Style /XML short element patch.
4138
4139 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4140
4141         * text3.C:
4142         * factory.C: Small step to solving 'unable to insert some insets'
4143         problem
4144
4145 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4146
4147         * cursor.[Ch] (updatePos): new function for updating the y
4148         position of the tip inset
4149         * bufferview_funcs.C (put_selection_at):
4150         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4151
4152 2003-11-11  André Pönitz  <poenitz@gmx.net>
4153
4154         * text.C: remove big comment on invalid Paragraph pointers as it is
4155         not valid anymore
4156
4157 2003-11-11  André Pönitz  <poenitz@gmx.net>
4158
4159         * text_funcs.[Ch]: merge with ...
4160
4161         * text.C: ... this
4162
4163         * lyxtext.h:
4164         * text2.C:
4165         * text3.C: adjust
4166
4167         * Makefile.am: remove text_funcs.[Ch]
4168
4169 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4170
4171         * cursor.C (getPos): return absolute cached y coord
4172
4173         * BufferView_pimpl.C (fitCursor): new simplistic code
4174         (workAreaDispatch): add a fitCursor call
4175
4176 2003-11-10  André Pönitz  <poenitz@gmx.net>
4177
4178         * BufferView.[Ch]:
4179         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4180
4181 2003-11-10  André Pönitz  <poenitz@gmx.net>
4182
4183         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4184         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4185         indicate that the cursor needs to leave an inset
4186
4187         * lyxtext.h: remove inset locking
4188
4189         * cursor.[Ch]: re-implement functionality provided by inset locking
4190
4191         * BufferView.[Ch]:
4192         * BufferView_pimpl.[Ch]:
4193         * LyXAction.C:
4194         * bufferview_funcs.[Ch]:
4195         * factory.C:
4196         * funcrequest.[Ch]:
4197         * iterators.C:
4198         * lyx_cb.C:
4199         * lyxfind.C:
4200         * lyxfunc.C:
4201         * text.C:
4202         * text2.C:
4203         * text3.C:
4204         * undo.C: adjust
4205
4206 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4207
4208         * PosIterator.[Ch]: replace the stack with a vector, add inset
4209         accesor
4210         * iterators.[C]: adjust
4211
4212 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4213
4214         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4215         replaced
4216         * paragraph_funcs.C (readParToken): put the correct id in the
4217         error item, not the id of the top paragraph
4218
4219 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4220
4221         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4222         * bufferview_funcs.C (put_selection_at): use the above
4223
4224 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4225
4226         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4227
4228 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4229
4230         * output_linuxdoc.h:
4231         * output_plaintext.h:
4232         * output.h:
4233         * output_docbook.h: add #include statements
4234
4235 2003-11-05  José Matos  <jamatos@lyx.org>
4236
4237         * output_docbook.[Ch]:
4238         * output_latex.[Ch]:
4239         * output_linuxdoc.[Ch]:
4240         * output_plaintext.[Ch]: New files for output formats.
4241         * output.[Ch]: New file for helper functions.
4242
4243         * buffer.[Ch]:
4244         * paragraph_funcs.[Ch]: output functions moved to new files.
4245
4246         * outputparams.h: rename of latexrunparams.h
4247
4248         * LaTeX.[Ch]:
4249         * buffer.[Ch]:
4250         * bufferlist.[Ch]:
4251         * converter.[Ch]:
4252         * exporter.C:
4253         * paragraph.[Ch]:
4254         * paragraph_funcs.[Ch]:
4255         * paragraph_pimpl.[Ch]:
4256         * tabular.[Ch]: rename ascii to plaintext
4257         and LatexRunParams to OutputParams.
4258
4259 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4260
4261         * iterators.[Ch] (text): require bv argument
4262         * undo.C (recordUndo):
4263         * lyxfunc.C (dispatch):
4264         * bufferview_funcs.C (put_selection_at): adjust
4265
4266 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
4267
4268         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4269
4270 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4271
4272         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4273         nestings
4274
4275 2003-11-04  André Pönitz  <poenitz@gmx.net>
4276
4277         * cursor.[Ch]: restructure
4278
4279         * BufferView.[Ch]:
4280         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4281
4282         * iterators.[Ch] (asCursor): remove
4283
4284         * lfuns.h: remove LFUN_INSET_EDIT
4285
4286         * lyxfunc.C:
4287         * tabular.C:
4288         * text.C:
4289         * text2.C:
4290         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4291
4292 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4293
4294         * lyxfind.[Ch]: complete overhaul
4295         * BufferView_pimpl.C:
4296         * lyxfunc.C: adjust
4297         * paragraph.[Ch] (insert): add
4298
4299 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4300
4301         * BufferView.[Ch]:
4302         * lyxtext.h:
4303         * text.C: remove dead spellcheck code
4304
4305 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4306
4307         * dispatchresult.h: add a val setter
4308
4309         * cursor.C (dispatch): use a tempvar for data_[i]
4310
4311 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4312
4313         * PosIterator.[Ch]: compile fix
4314
4315 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4316
4317         * text.C (cursorPar): deactivate the cursor cache
4318
4319 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4320
4321         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4322
4323 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4324
4325         * text3.C (dispatch): adjust for new DisptchResult semantics.
4326
4327         * lyxfunc.C (dispatch): handle update when return from
4328         Cursor::dispatch, adjust for new DispatchResult semantics.
4329
4330         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4331         DispatchResult(true) mean to not update. Add class functions for
4332         setting dispatched and update, as well as reading.
4333
4334         * cursor.C (dispatch): don't handle update here
4335
4336 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4337
4338         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4339         * trans_mgr.C: adjust
4340
4341         * paragraph_funcs.C (readParToken): exception safety
4342
4343         * lyxvc.h: store the vcs pointer in a scoped_ptr
4344         * lyxvc.C: adjust
4345
4346         * lyxsocket.C (serverCallback): exception safety
4347
4348         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4349
4350         * ispell.C (clone): make it return a auto_ptr
4351
4352         * factory.C (createInset): exception safety
4353         (readInset): exception safety
4354
4355         * bufferlist.C (newBuffer): exception safety
4356
4357         * Thesaurus.C (Thesaurus): use initialization for aik_
4358
4359         * MenuBackend.C (expandToc): exception safety.
4360
4361 2003-11-03  André Pönitz  <poenitz@gmx.net>
4362
4363         * buffer.C:
4364         * buffer.h:
4365         * bufferview_funcs.C: remove getInsetFromId()
4366
4367         * lyxcursor.[Ch]:
4368         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4369
4370         * lyxfunc.C:
4371         * text2.C:
4372         * text3.C: adjust
4373
4374 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4375
4376         * PosIterator.C (distance, advance): new
4377         * bufferview_funcs.[Ch] (put_selection_at): new
4378         * iterators.[Ch] (lockPath): new
4379
4380 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4381
4382         * iterators.[Ch] (asPosIterator): added
4383         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4384         * PosIterator.[Ch]: added
4385
4386 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4387
4388         * text3.C:
4389         * lyxfunc.C:
4390         * cursor.C (dispatch):
4391         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4392
4393         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4394         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4395         contructor, add a class function dispatched. Remove operator>=
4396
4397 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4398
4399         * debug.C: only use the default constructor for debugstream
4400         (lyxerr) here.
4401
4402         * main.C (main): include debug.h and setup the lyxerr streambuf
4403         here.
4404
4405 2003-10-31  José Matos  <jamatos@lyx.org>
4406
4407         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4408
4409         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4410         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4411         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4412         * paragraph_pimpl.C (simpleTeXSpecialC):
4413         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4414         add LatexRunParams argument.
4415
4416         * exporter.C (Export): change call accordingly.
4417
4418         * latexrunparams.h: add new member to take care of the other backends.
4419 2003-10-30  José Matos  <jamatos@lyx.org>
4420
4421         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4422         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4423         factorise code for paragraph output.
4424         * buffer.[Ch]:
4425         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4426         move functions.
4427
4428 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4429
4430         * text3.C (dispatch):
4431         * lyxfunc.C (dispatch):
4432         * cursor.C (dispatch):
4433         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4434
4435         * dispatchresult.h: make the dispatch_result_t ctor explicit
4436
4437 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4438
4439         * sgml.[Ch]:
4440         * buffer.C: small refactoring of docbook stuff
4441
4442 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4443
4444         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4445         meaning.
4446
4447 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4448
4449         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4450         operator dispatch_result_t, and operators for == != and >=
4451
4452         * cursor.C (dispatch): adjust for operator dispatch_result_t
4453         removal. comment out call to update
4454
4455         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4456
4457 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4458
4459         * text3.C:
4460         * text2.C:
4461         * text.C:
4462         * lyxtext.h:
4463         * lyxfunc.C:
4464         * cursor.C:
4465         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4466         (dispatch):
4467
4468         * dispatchresult.h: new file, DispatchResult broken out of
4469         insets/insetbase.h
4470
4471         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4472
4473 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4474
4475         * text.C (rowBreakPoint): put a hack inside #if 0
4476
4477 2003-10-28  André Pönitz  <poenitz@gmx.net>
4478
4479         * lyxtext.h:
4480         * metricsinfo.C:
4481         * paragraph_funcs.C:
4482         * rowpainter.C:
4483         * text.C:
4484         * text2.C: general cleanup (lots of small stuff)
4485
4486 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4487
4488         * text2.C (cursorEnd): simple fix to the "end key goes to one
4489         before the end on last row" bug
4490
4491 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4492
4493         * text.C (backspace): fix the "zombie characters"
4494
4495 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4496
4497         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4498
4499 2003-10-27  André Pönitz  <poenitz@gmx.net>
4500
4501         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4502
4503         * factory.C: handle new InsetPagebreak, InsetLine
4504
4505         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4506         and move handling into new InsetPagebreak, InsetLine
4507
4508         * BufferView_pimpl.C:
4509         * LyXAction.C:
4510         * ParagraphParameters.C:
4511         * ParameterStruct.h:
4512         * lyxfunc.C:
4513         * lyxtext.h:
4514         * paragraph.C:
4515         * paragraph.h:
4516         * paragraph_funcs.C:
4517         * paragraph_pimpl.C:
4518         * rowpainter.C:
4519         * text.C:
4520         * text2.C:
4521         * text3.C: adjust
4522
4523 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4524
4525         * text.C:
4526         * lyxrow_funcs.[Ch]:
4527         * Bidi.C:
4528         * paragraph.C:
4529         * lyxtext.h:
4530         * rowpainter.C:
4531         * text2.C:
4532         * text3.C: remove lastPos uses in favour of Row::endpos
4533
4534 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4535
4536         * undo.C (performUndoOrRedo): fix two crashes by setting a
4537         cursor by hand and reordering some calls. Use bv->lockInset instead
4538         of inset->edit because the latter loses cursor information
4539
4540 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4541
4542         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4543         by Martin
4544         (rowBreakPoint): fix width. change point to point + 1.
4545         Add a missing check.
4546
4547 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4548
4549         * MenuBackend.C:
4550         * lyxfunc.C: fix (at least partly) the problems
4551         with the Nav menu and headers inside branch insets
4552         reported by Kayvan
4553
4554 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4555
4556         * paragraph.C (getChar): add strong asserts
4557
4558         * lyxrow_funcs.C (lastPos): remove hideous hack
4559
4560         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4561         (fill): adjust to that (avoid an infinite loop)
4562
4563 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4564
4565         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4566
4567 2003-10-23  André Pönitz  <poenitz@gmx.net>
4568
4569         * RowList_fwd.h: change list<> to vector<> to gain speed
4570         after suggestion from Alfredo
4571
4572 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4573
4574         * lyxtext.h: move the bidi stuff from here...
4575         * text.C: and here
4576         * text2.C: and here
4577         * Bidi.[Ch]: ... to here
4578
4579 2003-10-23  André Pönitz  <poenitz@gmx.net>
4580
4581         * lyxtext.h:
4582         * text.C (isLastRow, isFirstRow): new functions
4583
4584         * paragraph.h: new width cache member
4585
4586         * rowpainter.C: replace RowList::iterator with Row & where possible
4587
4588         * lyxfunc.C: replace several view()->text with a single call
4589
4590         * toc.C: fix 'unused' warning
4591
4592 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4593
4594         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4595         when woring with stream::pos_type
4596         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4597
4598 2003-10-22  André Pönitz  <poenitz@gmx.net>
4599
4600         * lyxtext.h:
4601         * text.C: use Row & instead of RowList::iterator
4602
4603         * lyxrow.h: rename end() to endpos()
4604
4605         * rowpainter.C:
4606         * text.C:
4607         * text2.C: adjust
4608
4609 2003-10-22  Angus Leeming  <leeming@lyx.org>
4610
4611         * buffer.[Ch] (fully_loaded): new member function, returning true
4612         only when the file has been loaded fully.
4613         Used to prevent the premature generation of previews and by the
4614         citation inset to prevent computation of the natbib-style label.
4615
4616         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4617         templates are all set up.
4618
4619         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4620
4621 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4622
4623         * text.C: fixed an "oops" in the "is a bit silly"
4624         bug fix
4625
4626 2003-10-21  André Pönitz  <poenitz@gmx.net>
4627
4628         * FuncStatus.[Ch]: small stuff, whitespace
4629
4630         * lyxfont.[Ch]: operator<<() for debug reasons
4631
4632         * lyxfunc.C:
4633         * lyxrow_funcs.C:
4634         * lyxtext.h: whitespace, spelling
4635
4636         * paragraph.C: naming of variables
4637
4638         * text.C:
4639         * text2.C: small stuff
4640
4641
4642 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4643
4644         * text.C: (1) finish off the inset display() work;
4645         (2) fix the "is a bit silly" bug (accessing char
4646         past end of par).
4647
4648 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4649
4650         * text.C: re-introduce display() for insets, fixing the
4651         various bugs (stretch of line above, math inset
4652         positioning, ...)
4653
4654 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4655
4656         * text.C (rightMargin): remove spurious semicolon
4657
4658         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4659         1415)
4660
4661 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4662
4663         * text3.C: fix one crash due to wrong cursor def
4664
4665 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4666
4667         * vc-backend.C (scanMaster): make the regex static
4668
4669         * LaTeX.C (scanAuxFile): make the regexs static
4670
4671         * text3.C (doInsertInset, dispatch, dispatch):
4672         * text2.C (cursorUp, cursorDown):
4673         * text.C (selectNextWordToSpellcheck):
4674         * BufferView_pimpl.C (dispatch):
4675         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4676
4677 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4678
4679         * lyxsocket.C: include <cerrno>
4680
4681 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4682
4683         * lyxfunc.C (dispatch): remove textcache stuff
4684
4685         * bufferlist.C (release): remove textcache stuff
4686         (closeAll): ditto
4687
4688         * TextCache.C: delete file
4689         * TextCache.h: delete file
4690
4691         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4692
4693         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4694         delete of the bv_->text.
4695         (resizeCurrentBuffer): remove texcache stuff
4696         (workAreaResize): ditto
4697
4698 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4699
4700         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4701         action.
4702
4703 2003-10-16  André Pönitz  <poenitz@gmx.net>
4704
4705         * lyxrow.[Ch]:
4706         * paragraph.h:
4707         * rowpainter.C:
4708         * text.C:
4709         * text2.C:
4710         * text3.C: speed up by storing y positions per paragraph plus per-row
4711         offset instead of having a 'full' y position in the row.
4712
4713 2003-10-15  André Pönitz  <poenitz@gmx.net>
4714
4715         * iterators.[Ch]:
4716         * iterators.[Ch]:
4717         * undo.[Ch]: make undo aware of inner insets
4718
4719 2003-10-14  Angus Leeming  <leeming@lyx.org>
4720
4721         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4722         static member functions LyX::ref() and LyX::cref.
4723         (lastfiles): new accessor functions for the new lastfiles_ member var.
4724         (addLyXView, views_): add a new LyXView to the list of views_.
4725         (updateInset): loop over all LyXViews to call their own updateInset
4726         member function, returning a pointer to the Buffer owning the inset.
4727
4728         * BufferView_pimpl.C (loadLyXFile):
4729         * MenuBackend.C (expandLastfiles):
4730         * bufferlist.C (MenuWrite, QuitLyX):
4731         lastfiles is no longer a global variable.
4732         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4733
4734         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4735         static function. Access through LyX::cref().emergencyCleanup().
4736
4737 2003-10-14  André Pönitz  <poenitz@gmx.net>
4738
4739         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4740
4741         * undo.[Ch]: restoring part of 'undo in insets'
4742
4743         * Makefile.am:
4744         * undo_funcs.[Ch]: merge with undo.[Ch]
4745
4746         * tabular.C: small cleansing stuff
4747
4748 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4749
4750         * paragraph_funcs.C (readParToken): report unknown insets as error
4751         boxes. Use the outer paragraph as location (also for unknown
4752         tokens).
4753
4754         * factory.C (readInset): do not abort on reading an unknown inset.
4755         Eat it and return 0.
4756
4757 2003-10-13  Angus Leeming  <leeming@lyx.org>
4758
4759         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4760
4761         * lyxrc.C: displayTranslator is now a function,
4762         declared in GraphicsTypes.h.
4763
4764 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4765
4766         * format.C: new placeholder $$a to pass the socket address.
4767
4768         * bufferlist.[Ch]: new function getBufferFromTmp.
4769
4770         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4771           files in the temporary dir.
4772
4773 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4774
4775         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4776
4777         * Makefile.am: add lyxsocket.[Ch].
4778
4779         * lyx_main.C (error_handler): handle SIGPIPE.
4780
4781 2003-10-13  André Pönitz  <poenitz@gmx.net>
4782
4783         * BufferView_pimpl.C:
4784         * lyxtext.h:
4785         * text.C:
4786         * text2.C:
4787         * text3.C:
4788         * undo_funcs.[Ch]: use paroffset_type instead of
4789           ParagraphList::iterators to prevent multiple conversion
4790           (and get a more robust interface)
4791
4792 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4793
4794         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4795         * lyxtext.h: ditto
4796         * text3.C (dispatch): ditto
4797
4798 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4799
4800         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4801         move the onlyfile, use onlyfile instead of foundfile in a couple
4802         of places.
4803
4804         * DepTable.C (update): flush the error stream a bit more
4805
4806 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4807
4808         * lyxserver.C (callback): adjust
4809
4810         * lyxfunc.C (getStatus): add a missing brace in commented code
4811         (ensureBufferClean): reindent
4812         (dispatch): delete version taking a string
4813
4814 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4815
4816         * LaTeX.C (deplog): move found file handlig from here...
4817         (handleFoundFile): .. to new function here.
4818         (deplog): make sure to discover several files mentioned on the
4819         same log line.
4820
4821 2003-10-10  André Pönitz  <poenitz@gmx.net>
4822
4823         * lyxfunc.C:
4824         * lyxtext.h:
4825         * tabular.C:
4826         * text.C:
4827         * text2.C:
4828         * text3.C: fix some of the tabular crashes
4829
4830 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4831
4832         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4833
4834         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4835
4836 2003-10-09  André Pönitz  <poenitz@gmx.net>
4837
4838         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4839
4840         * BufferView.C:
4841         * BufferView_pimpl.C:
4842         * bufferview_funcs.C:
4843         * lyx_cb.C:
4844         * lyxcursor.C:
4845         * lyxfind.C:
4846         * lyxfunc.C:
4847         * lyxtext.h:
4848         * text.C:
4849         * text2.C:
4850         * text3.C:
4851         * text_funcs.[Ch]:
4852         * textcursor.[Ch]:
4853         * undo_funcs.C: adjust
4854
4855 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4856
4857         * text2.C (incrementItemDepth): new function, use a backtracking
4858         algorithm to discover the correct item depth.
4859         (resetEnumCounterIfNeeded): new function, use a backtracking
4860         algorithm to discover if counter reset is needed.
4861         (setCounter): use them. Simplify a bit. Add different labels for
4862         different item depths for itemize.
4863
4864         * paragraph.C (Paragraph): remove initialization of enumdepth
4865         (operator=): ditto
4866
4867         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4868         enumerate and itemize. Change the type of itemdepth to signed char.
4869
4870 2003-10-08  André Pönitz  <poenitz@gmx.net>
4871
4872         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4873           thing assignable.
4874         * text.C:
4875         * text2.C: adjust
4876
4877         * tabular.[Ch]: fix crash after 'row-insert'
4878
4879 2003-10-08  Angus Leeming  <leeming@lyx.org>
4880
4881         Fix doxygen warnings.
4882
4883         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4884         Remove CutAndPaste:: prefix from header file declaration.
4885
4886         * LColor.h (fill): remove LColor:: prefix from declaration.
4887
4888         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4889         use lyx::depth_type rather than Paragraph::depth_type so that
4890         header file and .C file match.
4891
4892         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4893
4894         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4895         * aspell.C: \file aspell_local.C -> \file aspell.C
4896         * gettext.C: \file gettext.C -> \file src/gettext.C
4897         * gettext.h: \file gettext.h -> \file src/gettext.h
4898         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4899         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4900         * text.C: \file text.C -> \file src/text.C
4901
4902         * toc.C: move comment so that doxygen is not confused.
4903
4904 2003-10-07  Angus Leeming  <leeming@lyx.org>
4905
4906         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4907
4908 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4909
4910         * aspell.C:
4911         * aspell_local.h: add forgotten std::string's.
4912
4913 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4914
4915         * LaTeXFeatures.C:
4916         * LyXAction.C:
4917         * factory.C:
4918         * lfuns.h:
4919         * lyxfunc.C:
4920         * text3.C: The Box patch. Fancybox support, minipage, parbox
4921
4922 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4923
4924         * CutAndPaste.h:
4925         * DepTable.h:
4926         * FloatList.h:
4927         * LaTeXFeatures.h:
4928         * ParagraphParameters.h:
4929         * TextCache.h:
4930         * Thesaurus.h:
4931         * bufferlist.h:
4932         * exporter.h:
4933         * importer.h:
4934         * lastfiles.h:
4935         * lyxfind.h:
4936         * lyxfont.h:
4937         * lyxlex.h:
4938         * lyxtextclasslist.h:
4939         * messages.h:
4940         * paragraph.h:
4941         * paragraph_pimpl.C:
4942         * textcursor.h: add <string> and other small fixes to make Lars'
4943         std::string patch compile with STLport.
4944
4945 2003-10-06  Angus Leeming  <leeming@lyx.org>
4946
4947         * LColor.h: Add missing #include <string>.
4948
4949 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4950
4951         * All most all file in all subdirs: Make <string> be the prefered
4952         way of getting to std::string, add using declarations.
4953
4954 2003-10-06  André Pönitz  <poenitz@gmx.net>
4955
4956         * metricsinfo.C: initialize LyXFont before changing attribute.
4957         (fixes the 'math in \emph is upright' bug)
4958
4959 2003-10-06  André Pönitz  <poenitz@gmx.net>
4960
4961         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4962
4963 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4964
4965         * graph.C:
4966         * paragraph_pimpl.C: Small fixes to build using STLport
4967
4968 2003-10-02  André Pönitz  <poenitz@gmx.net>
4969
4970         * lyxfunc.C:
4971         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4972
4973 2003-10-01  André Pönitz  <poenitz@gmx.net>
4974
4975         * factory.C: assert early
4976
4977 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4978
4979         * lyx_main.C: remove the global debug object
4980
4981         * debug.h: adjust for new debugstream
4982
4983         * debug.C: adjust for new debugstream and keep the global debug
4984         object here.
4985
4986 2003-09-22  Angus Leeming  <leeming@lyx.org>
4987
4988         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4989         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4990         an incomplete class LyXFont.
4991
4992 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4993
4994         * factory.C: bug fix in branches
4995
4996 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4997
4998         * lyxfunc.C (processKeySym): adjust
4999         (dispatch): adjust
5000         (dispatch): change arg name from ev to func, adjust
5001         (sendDispatchMessage): ditto
5002
5003         * lyx_main.C (defaultKeyBindings): adjust keybindings
5004         (deadKeyBindings): ditto
5005
5006         * kbsequence.C (addkey): return a FuncRequest
5007
5008         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5009
5010         * kbmap.C (bind): take a FuncRequest as arg, adjust
5011         (read): adjust
5012         (lookup): adjust
5013         (defkey): change to take a FuncRequest as arg, adjust
5014         (findbinding): take a FuncRequest as arg, adjust.
5015
5016         * funcrequest.h (operator=): added
5017
5018         * funcrequest.C (FuncRequest): default kb_action changed from
5019         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5020
5021         * buffer.C (dispatch): simplify
5022         (dispatch): adjust to take a FuncRequest as arg, adjust
5023
5024         * boost.C (assertion_failed): change assertion message slightly
5025
5026         * ToolbarBackend.C (read): simplify
5027
5028         * MenuBackend.C (binding): adjust call to findbinding, add a
5029         message if no binding is found.
5030         (read): simplify
5031         (expandToc): correct by adding a empty FuncRequest
5032
5033         * LyXAction.C: include <boost/assert.hpp>
5034         (isPseudoAction): delete function
5035         (LookupFunc): change name to...
5036         (lookupFunc): this. change return type to FuncRequest.
5037         (getActionName): take kb_action as arg, simplify
5038         (funcHasFlag): add an assert, simplify.
5039
5040 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5041
5042         * toc.C (action): return a FuncRequest, simplify
5043
5044         * lyxfunc.C (processKeySym): adjust
5045         (getStatus): delete version that takes an int.
5046         (getStatus): adjust
5047         (dispatch): delete version that takes action as int
5048         (dispatch): adjust
5049         (sendDispatchMessage): simplify and adjust
5050
5051         * funcrequest.C (getArg): take unsigned int as arg
5052
5053         * ToolbarBackend.C (read): adjust
5054         (add): delete version that takes func as a string.
5055         (getIton): take a FuncRequest as arg
5056
5057         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5058         action.
5059
5060         * MenuBackend.C (MenuItem): add a new construct that only takes a
5061         Kind, simplify the constructor use for submenus.
5062         (add): adjust
5063         (expandLastfiles): adjust
5064         (expandDocuments): adjust
5065         (expandFormats): adjust
5066         (expandFloatListInsert): adjust
5067         (expandFloatInsert): adjust
5068         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5069
5070         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5071         Remove class variables lyx_pseudo_map and lyx_arg_map
5072
5073         * LyXAction.C (searchActionArg): delete function
5074         (getPseudoAction): delete function
5075         (retrieveActionArg): delete function
5076         (LookupFunc): make it return kb_action, simplify.
5077         (getActionName): simplify
5078
5079         * factory.C (createInset): fix new bug
5080
5081 2003-09-19  Angus Leeming  <leeming@lyx.org>
5082
5083         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5084         masterFilename_ parameter in the include inset.
5085
5086         * factory.C (createInset): changes due to the changes to InsetInclude.
5087
5088 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5089
5090         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5091
5092 2003-09-18  Angus Leeming  <leeming@lyx.org>
5093
5094         * buffer.C:
5095         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5096         Inset::fillWithBibKeys.
5097         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5098
5099 2003-09-18  Angus Leeming  <leeming@lyx.org>
5100
5101         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5102         variables.
5103         (ctor): pass and store a 'Buffer const &'
5104         (buffer): new member function.
5105
5106         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5107         '*this' to the LaTeXFeatures ctor.
5108
5109 2003-09-18  Angus Leeming  <leeming@lyx.org>
5110
5111         * LColor.h:
5112         * lyxfont.C:
5113         * lyxfont.h:
5114         * lyxtext.h:
5115         * text.C: rename EnumLColor as LColor_color.
5116
5117 2003-09-18  Angus Leeming  <leeming@lyx.org>
5118
5119         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5120         remove #include "insets/insetbase.h" from cursor.h.
5121
5122 2003-09-18  Angus Leeming  <leeming@lyx.org>
5123
5124         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5125         InsetOld_code to remove #include "inset.h".
5126
5127         * iterators.C: add #include "insets/inset.h"
5128
5129 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5130
5131         * BufferView.C: remove more locking stuff that apparently doesn't
5132         do anything sensible.
5133
5134 2003-09-16  André Pönitz  <poenitz@gmx.net>
5135
5136         * paragraph.[Ch]:
5137         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5138           performance boost.
5139
5140 2003-09-16  Angus Leeming  <leeming@lyx.org>
5141
5142         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5143
5144         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5145         arg/return type.
5146
5147         * paragraph.h: remove #include "lyxfont.h". Forward declare
5148         LyXFont_size.
5149
5150 2003-09-16  Angus Leeming  <leeming@lyx.org>
5151
5152         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5153         of support/textutils.h.
5154         (isWord): move the contents of support/textutils.h's IsWordChar here.
5155
5156         * buffer.C:
5157         * lyxfind.C:
5158         * rowpainter.C:
5159         * text.C:
5160         * text2.C: add #include "paragraph.h".
5161
5162         * rowpainter.C:
5163         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5164
5165 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5166
5167         * main.C:
5168         * lyx_main.C:
5169         * lyx_cb.C:
5170         * buffer.C:
5171         * LaTeX.C: use namespace alias for lyx::support::os
5172
5173 2003-09-16  Angus Leeming  <leeming@lyx.org>
5174
5175         * bufferparams.C:
5176         * bufferview_funcs.C:
5177         * factory.C:
5178         * lyxfunc.C:
5179         * paragraph_pimpl.C:
5180         * rowpainter.C:
5181         * text.C: add #include "LColor.h".
5182
5183 2003-09-16  Angus Leeming  <leeming@lyx.org>
5184
5185         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5186         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5187         return LyXFont &.
5188         Store the FontBits::color variable as an int rather than as an
5189         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5190         file.
5191
5192         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5193         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5194         string calls together.
5195
5196         * lyxrc.C: add #include "LColor.h".
5197
5198 2003-09-15  Angus Leeming  <leeming@lyx.org>
5199
5200         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5201         a cow_ptr.
5202
5203 2003-09-15  Angus Leeming  <leeming@lyx.org>
5204
5205         * LColor.h: add an EnumLColor wrapper for LColor::color.
5206
5207         * lyxfont.[Ch] (color, setColor, realColor):
5208         * lyxtext.h, text.C (backgroundColor):
5209         pass EnumLColor args to/from the functions, rather than LColor::color
5210         ones.
5211
5212         * lyxfont.h:
5213         * lyxtext.h: forward declare EnumLColor.
5214
5215         * lyx_main.C: add #include "LColor.h".
5216
5217 2003-09-15  Angus Leeming  <leeming@lyx.org>
5218
5219         * .cvsignore: add lyx-gtk.
5220
5221 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5222
5223         * Chktex.C
5224         * LaTeX.C
5225         * LaTeXFeatures.C
5226         * ParagraphParameters.C
5227         * Spacing.C
5228         * buffer.C
5229         * bufferparams.C
5230         * bufferview_funcs.C
5231         * chset.C
5232         * counters.C
5233         * funcrequest.C
5234         * lyxfont.C
5235         * lyxgluelength.C
5236         * lyxlength.C
5237         * paragraph.C
5238         * paragraph_funcs.C
5239         * text3.C
5240         * vc-backend.C: remove usage of STRCONV
5241
5242 2003-09-15  Angus Leeming  <leeming@lyx.org>
5243
5244         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5245         explicitly define the color passed to the painter.
5246
5247 2003-09-15  Angus Leeming  <leeming@lyx.org>
5248
5249         * bufferparams.C (BufferParams): reorder member initializers to avoid
5250         compiler warning.
5251
5252 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5253
5254         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5255         * text.C (updateRowPositions): remove an unusual nop
5256
5257 2003-09-12  André Pönitz  <poenitz@gmx.net>
5258
5259         * BufferView_pimpl.C:
5260         * Bullet.C:
5261         * layout.h:
5262         * lyxfunc.C:
5263         * lyxlayout.[Ch]:
5264         * lyxtextclass.C:
5265         * rowpainter.C:
5266         * text.C:
5267         * text2.C:
5268         * Counters.[Ch]: finish the 'automatic counters' job
5269
5270 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5271
5272         * aspell.C: include <boost/assert.cpp> (compile fix)
5273
5274 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5275
5276         * boost.C (assertion_failed): use lyx::support::abort instead of
5277         assert.
5278
5279 2003-09-10  Angus Leeming  <leeming@lyx.org>
5280
5281         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5282         with their _fwd progeny.
5283
5284 2003-09-09  Angus Leeming  <leeming@lyx.org>
5285
5286         134 files throughtout the source tree: replace 'using namespace abc;'
5287         directives with the appropriate 'using abc::xyz;' declarations.
5288
5289 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5290
5291         * boost.C (emergencyCleanup): moved here from LAssert.c
5292         (assertion_failed): new function, called by BOOST_ASSERT
5293
5294         * several files: change Assert to BOOST_ASSERT
5295
5296 2003-09-09  Angus Leeming  <leeming@lyx.org>
5297
5298         * buffer.[Ch]: Add an Impl class and move Buffer's member
5299         variables into it. As a result move several header files out of
5300         buffer.h.
5301
5302         Add header files to lots of .C files all over the tree as a result.
5303
5304 2003-09-09  Angus Leeming  <leeming@lyx.org>
5305
5306         * buffer.[Ch]: make Buffer's member variables private. Add
5307         accessor functions.
5308
5309         Lots of changes all over the tree as a result.
5310
5311 2003-09-08  Angus Leeming  <leeming@lyx.org>
5312
5313         * graph.C: #include <config.h>.
5314
5315 2003-09-08  Angus Leeming  <leeming@lyx.org>
5316
5317         * BranchList.C:
5318         * BufferView.C:
5319         * BufferView_pimpl.C:
5320         * CutAndPaste.C:
5321         * DepTable.C:
5322         * LaTeX.C:
5323         * LaTeXFeatures.C:
5324         * LyXAction.C:
5325         * MenuBackend.C:
5326         * TextCache.C:
5327         * aspell.C:
5328         * buffer.C:
5329         * bufferlist.C:
5330         * changes.C:
5331         * chset.C:
5332         * converter.C:
5333         * counters.C:
5334         * debug.C:
5335         * graph.C:
5336         * ispell.C:
5337         * lyx_cb.C:
5338         * lyxfind.C:
5339         * lyxfunc.C:
5340         * lyxlex_pimpl.C:
5341         * lyxrc.C:
5342         * lyxrow.C:
5343         * paragraph.C:
5344         * rowpainter.C:
5345         * texrow.C:
5346         * text.C:
5347         * text2.C:
5348         * toc.C: remove redundant using directives.
5349
5350 2003-09-07  Angus Leeming  <leeming@lyx.org>
5351
5352         * LaTeXFeatures.h: remove #include "support/types.h".
5353         * ToolbarBackend.h: remove #include <algorithm>.
5354         * changes.h: remove #include <ctime>.
5355         * debug.h: remove #include <iosfwd>.
5356         * graph.h: remove #include "support/std_string.h".
5357         * lyx_main.h: remove #include <csignal>.
5358         * lyxlex_pimpl.h: remove #include <fstream>.
5359         * sgml.h: remove #include <algorithm>, <utility>.
5360         * toc.h: remove #include "support/std_ostream.h".
5361         Add #include <iosfwd>.
5362
5363 2003-09-07  Angus Leeming  <leeming@lyx.org>
5364
5365         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5366
5367         * converter.h: forward declare LatexRunParams.
5368         * encoding.h: remove #include "lyxrc.h".
5369         * lyxtext.h: remove #include "LColor.h".
5370         * lyxtextclass.h: remove #include "support/types.h".
5371         * trans.h: remove #include "tex-accent.h".
5372         * trans_mgr.h: remove #include "tex-accent.h".
5373         * insets/inset.h: remove #include "support/types.h", <vector>.
5374         * insets/insetcollapsable.h: remove #include "LColor.h".
5375         * insets/insetinclude.h: remove #include "dimension.h".
5376         * insets/insetlatexaccent.h: remove #include "dimension.h".
5377         * insets/insetoptarg.h:: remove #include "insettext.h".
5378         * insets/insettext.h: remove #include "dimension.h",
5379         <boost/shared_ptr.hpp>
5380
5381         * insets/renderers.h: add #include "dimension.h".
5382         * insets/updatableinset.h: add #include "support/types.h".
5383
5384         * many .C files: Associated changes.
5385
5386 2003-09-06  Angus Leeming  <leeming@lyx.org>
5387
5388         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5389         one, inside testInvariant.
5390
5391         * PrinterParams.C: new file.
5392         * PrinterParams.[Ch]: move the function bodies out of line.
5393
5394 2003-09-06  Angus Leeming  <leeming@lyx.org>
5395
5396         * ParagraphParameters.h: forward declare ParameterStruct rather than
5397         including its header file.
5398         (depth): moved out-of-line.
5399
5400 2003-09-06  Angus Leeming  <leeming@lyx.org>
5401
5402         * BufferView_pimpl.h:
5403         * kbmap.h:
5404         * kbsequence.h:
5405         * lyxfunc.h: forward declare LyXKeySym rather than
5406         #include "frontends/LyXKeySym.h".
5407
5408         * BufferView_pimpl.C:
5409         * kbmap.C:
5410         * kbsequence.C:
5411         * lyxfunc.C: associated changes.
5412
5413 2003-09-06  Angus Leeming  <leeming@lyx.org>
5414
5415         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5416         As a result, can remove the #include "insets/inset.h" from BufferView.h
5417
5418 2003-09-06  Angus Leeming  <leeming@lyx.org>
5419
5420         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5421         As a result, can remove the #include "insets/inset.h" from BufferView.h
5422
5423 2003-09-06  Angus Leeming  <leeming@lyx.org>
5424
5425         * buffer_funcs.C:
5426         * buffer.h:
5427         * bufferlist.C:
5428         * BufferView.C:
5429         * bufferview_funcs.C:
5430         * BufferView_pimpl.C:
5431         * CutAndPaste.C:
5432         * lyx_cb.C:
5433         * lyxfunc.C:
5434         * paragraph.h:
5435         * ParagraphParameters.C:
5436         * tabular.C:
5437         * text3.C:
5438         * toc.C:
5439         * undo_funcs.C:
5440         * frontends/controllers/ControlDocument.C:
5441         * insets/insetcaption.C: rearrange the #includes into some sort of
5442         coherent order.
5443
5444         * buffer.h: remove #includes ErrorList.h, undo.h
5445
5446 2003-09-06  Angus Leeming  <leeming@lyx.org>
5447
5448         * support/types.h: add a 'depth_type' typedef, used to store the
5449         nesting depth of a paragraph.
5450
5451         * paragraph.h:
5452         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5453         defining explicitly.
5454
5455         * buffer.h:
5456         * paragraph_funcs.h:
5457         * ParagraphParameters.h:
5458         * sgml.h: use lyx::depth_type rather than Paragraph or
5459         ParameterStruct's depth_type.
5460
5461         * buffer.h
5462         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5463
5464         * BufferView.C:
5465         * BufferView_pimpl.C:
5466         * CutAndPaste.C:
5467         * ParagraphParameters.C:
5468         * buffer_funcs.C:
5469         * bufferlist.C:
5470         * bufferview_funcs.C:
5471         * lyx_cb.C:
5472         * lyxfunc.C:
5473         * tabular.C:
5474         * text3.C:
5475         * toc.C:
5476         * undo_funcs.C:
5477         * frontends/LyXView.C:
5478         * frontends/controllers/ControlDocument.C:
5479         * frontends/controllers/ControlErrorList.C:
5480         * insets/insetbibitem.C:
5481         * insets/insetbranch.C:
5482         * insets/insetcaption.C:
5483         * insets/insetcollapsable.C:
5484         * insets/insetenv.C:
5485         * insets/insetert.C:
5486         * insets/insetfloat.C:
5487         * insets/insetfoot.C:
5488         * insets/insetfootlike.C:
5489         * insets/insetnewline.C:
5490         * insets/insetquotes.C:
5491         * insets/insettabular.C:
5492         * insets/insettext.C:
5493         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5494
5495         * frontends/controllers/ControlChanges.C: #include "changes.h".
5496
5497 2003-09-06  Angus Leeming  <leeming@lyx.org>
5498
5499         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5500         than #including paragraph.h.
5501
5502         * ParagraphList.h:
5503         * RowList.h: deleted. Superfluous.
5504
5505         * CutAndPaste.h:
5506         * iterators.h:
5507         * lyxcursor.h:
5508         * lyxtext.h:
5509         * text_funcs.h:
5510         * undo.h:
5511         * undo_funcs.h:
5512         * insets/inset.h:
5513         * insets/insettext.h: use ParagraphList_fwd.h rather than
5514         ParagraphList.h.
5515
5516         * paragraph.h: don't forward declare ParagraphList.
5517
5518         * buffer.h:
5519         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5520         rather than ParagraphList.h. paragraph.h is still needed for the
5521         Paragraph::depth_type parameters.
5522
5523         * textcursor.h: enable it to compile stand-alone in light of the
5524         above changes.
5525
5526         * bufferview_funcs.C:
5527         * iterators.C:
5528         * lyxfunc.C:
5529         * lyxrow_funcs.C:
5530         * paragraph.C:
5531         * rowpainter.C:
5532         * text.C:
5533         * text2.C:
5534         * text3.C:
5535         * text_funcs.C:
5536         * textcursor.C:
5537         * undo.C:
5538         * frontends/controllers/ControlParagraph.C:
5539         * frontends/controllers/ControlTabular.C:
5540         * insets/insetmarginal.C:
5541         * insets/insetminipage.C:
5542         * insets/insetnote.C:
5543         * insets/insetoptarg.C: add header files needed to compile again.
5544
5545 2003-09-06  Angus Leeming  <leeming@lyx.org>
5546
5547         * RowList_fwd.h: new file, forward-declaring Row rather than
5548         #including lyxrow.h.
5549
5550         * lyxrow_funcs.h:
5551         * lyxtext.h:
5552         * paragraph.h:
5553         * insets/insettext.h: use it instead of RowList.h
5554
5555         * bufferview_funcs.C:
5556         * lyxfunc.C:
5557         * lyxrow_funcs.C:
5558         * paragraph.C:
5559         * rowpainter.C:
5560         * text.C:
5561         * text2.C:
5562         * text3.C: #include "RowList.h".
5563
5564 2003-09-05  Angus Leeming  <leeming@lyx.org>
5565
5566         * factory.C (createInset):
5567         * vspace.C (c-tor): replace sscanf call with an istringstream.
5568         * ispell.C: re-add missing HP/UX headers.
5569         * lyxserver.C: re-add missing  os2 headers.
5570
5571 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5572
5573         * BranchList.C:
5574         * graph.C:
5575         * ispell.C:
5576         * lastfiles.C:
5577         * lyx_cb.C:
5578         * lyxserver.C:
5579         * texrow.C:
5580         * text3.C: re-add missing system headers, needed for 2.95.2.
5581
5582 2003-09-05  Angus Leeming  <leeming@lyx.org>
5583
5584         Changes most place everywhere due to the removal of using directives
5585         from support/std_sstream.h.
5586
5587 2003-09-05  Angus Leeming  <leeming@lyx.org>
5588
5589         Replace LString.h with support/std_string.h,
5590         Lsstream.h with support/std_sstream.h,
5591         support/LIstream.h with support/std_istream.h,
5592         support/LOstream.h with support/std_ostream.h.
5593
5594         Changes resulting throughout the tree.
5595
5596 2003-09-05  Angus Leeming  <leeming@lyx.org>
5597
5598         * sgml.h: ensure that the header file can be compiled stand-alone.
5599         * *.C: strip out redundant #includes. (320 in total.)
5600
5601 2003-09-04  Angus Leeming  <leeming@lyx.org>
5602
5603         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5604         here (from getPackages).
5605
5606         * debug.[Ch]: add a new EXTERNAL tag.
5607
5608 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5609
5610         * text2.C (cursorEnd): simplify
5611         (setCursor): adjust
5612         (getColumnNearX): adjust
5613
5614         * text.C (computeBidiTables): adjust
5615         (fill): adjust
5616
5617         * rowpainter.C (paintChars): adjust
5618         (paintSelection): adjust
5619         (paintChangeBar): adjust
5620         (paintText): adjust
5621
5622         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5623         lastPos instead.
5624         (numberOfSeparators): adjust
5625
5626 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5627
5628         * LyXAction.C:
5629         * box.[Ch]:
5630         * lfuns.h:
5631         * lyxfunc.C:
5632         * text3.C: Restricts the mouse click functionality
5633         of insets like bibtex, include, toc and floatlist to the visible
5634         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5635         up the dialogs. Cursor has to be in front of the inset (i.e.
5636         start of row) for this to function.
5637
5638 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5639
5640         * bufferview_funcs.C (currentState): output row information
5641
5642 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5643
5644         * bufferview_funcs.C (currentState): output paragraph position
5645
5646 2003-09-04  Angus Leeming  <leeming@lyx.org>
5647
5648         * FloatList.h: move out #include "Floating.h".
5649         * LaTeX.h: move out #include "DepTable.h".
5650         * LyXAction.h: move out #include "funcrequest.h".
5651         * buffer.h: move out #include "author.h", "iterators.h".
5652         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5653         * lyx_main.h: move out #include "errorlist.h".
5654         * lyxfunc.h: move out #include "FuncStatus.h".
5655         * lyxtext: move out #include "lyxcursor.h".
5656         * paragraph_pimpl.h: move out #include "counters.h".
5657
5658 2003-09-03  Angus Leeming  <leeming@lyx.org>
5659
5660         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5661         preamble_snippets list, enabling us to add snippets to the preamble
5662         only if the snippet was not there already.
5663
5664 2003-09-04  Angus Leeming  <leeming@lyx.org>
5665
5666         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5667
5668 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5669
5670         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5671         update
5672
5673 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5674
5675         * BranchList.C: point fix, earlier forgotten
5676
5677 2003-09-02  Angus Leeming  <leeming@lyx.org>
5678
5679         * box.C (contains): renamed from 'contained' after a fantastic
5680         amount of hot air.
5681
5682 2003-09-02  John Levon  <levon@movementarian.org>
5683
5684         * BufferView.C:
5685         * lyxcursor.h:
5686         * lyxcursor.C:
5687         * lyxfunc.C:
5688         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5689
5690 2003-09-02  John Levon  <levon@movementarian.org>
5691
5692         * text2.C: simplification of cursorEnd(), including partial
5693         fix for bug 1376
5694
5695 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5696
5697         * buffer.C (readFile): add a space
5698
5699 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5700
5701         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5702
5703 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5704
5705         * buffer.C (readFile): new function, take a filename and a
5706         ParagraphList::iterator
5707         (readFile): adjust
5708         (readFile): adjust, make it private. don't use setStream, make
5709         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5710         always contain the filename.
5711
5712         * BufferView.C (insertLyXFile): simplify and make it work for
5713         gzipped files.
5714
5715 2003-08-30  John Levon  <levon@movementarian.org>
5716
5717         * Makefile.am: fix dist (from Kayvan)
5718
5719 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5720
5721         * most files: change to use const Buffer refs
5722
5723 2003-08-27  André Pönitz  <poenitz@gmx.net>
5724
5725         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5726         on top of ownerPar().
5727
5728 2003-08-27  John Levon  <levon@movementarian.org>
5729
5730         * funcrequest.C: properly initialise POD members
5731
5732 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5733
5734         * lyxtext.h (top_y): move top_y from here
5735         * text.C:
5736         * text2.C:
5737         * text3.C:
5738         * BufferView.[Ch]:
5739         * BufferView_pimpl.[Ch]: to here
5740         * frontends/screen.C:
5741         * insets/insettabular.C:
5742         * insets/insettext.C: adjust
5743         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5744
5745 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5746
5747         * BufferView.[Ch]:
5748         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5749
5750 2003-08-26  André Pönitz  <poenitz@gmx.net>
5751
5752         * paragraph_func.[Ch] (outerPar): new function
5753
5754         * paragraph.C:
5755         * paragraph_funcs.C:
5756         * paragraph_funcs.h:
5757         * paragraph_pimpl.C:
5758         * text2.C: remove Inset::par_owner
5759
5760 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5761
5762         * lyxrow_funcs.C:
5763         * lyxtext.h:
5764         * text.C:
5765         * text2.C: eliminates the needFullRow/display() stuff
5766         altogether, putting the logic in metrics/draw in the insets.
5767
5768 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5769
5770         * text2.C (redoParagraphInternal, redoParagraphs):
5771         * text.C (redoParagraph): add a call to updateRowPositions at the
5772         end of each 'metrics-like' call. Remove all others.
5773         (getRow): remove the 'y-computing' version.
5774         (getRowNearY): do not compute nor return the real y. Solve the
5775         'y < 0' problem and simplify.
5776
5777 2003-08-22  Angus Leeming  <leeming@lyx.org>
5778
5779         * *.[Ch]: clean-up of licence and author blurbs.
5780         Also move config.h out of a few .h files and into a few .C files.
5781
5782 2003-08-22  André Pönitz  <poenitz@gmx.net>
5783
5784         * lyxrow.[Ch]: add x_ and *fill_ members
5785
5786         * lyxtext.h:
5787         * text.C:
5788         * rowpainter.C:
5789         * text2.C: adjust/remove prepareToPrint() calls
5790
5791 2003-08-22  André Pönitz  <poenitz@gmx.net>
5792
5793         * lyxrow.[Ch]: add  end_ member
5794
5795         * lyxrow_funcs.C: use LyXRow::end_
5796
5797         * lyxtext.h (singleWidth): add LyXFont parameter
5798
5799         * rowpainter.C:
5800         * text2.C: adjust LyXText::singleWidth() calls
5801
5802         * text.C (redoParagraph): simplify row breaking logic
5803
5804
5805 2003-08-19  André Pönitz  <poenitz@gmx.net>
5806
5807         * funcrequest.C: initialize button_ member
5808
5809         * text3.C:
5810         * rowpainter.[Ch]: interface consolidation
5811
5812 2003-08-18  André Pönitz  <poenitz@gmx.net>
5813
5814         * BufferView.C:
5815         * BufferView_pimpl.C:
5816         * lyxfind.C:
5817         * paragraph_funcs.C:
5818         * rowpainter.C:
5819         * text3.C: remove LyXScreen::draw() and fitCursor calls
5820
5821         * BranchList.h: remove spurious semicolons
5822
5823         * MenuBackend.C: fix branchlist related crash
5824
5825 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5826
5827         * BranchList.[Ch]:
5828         * InsetList.[Ch]:
5829         * LColor.[Ch]:
5830         * LyXAction.C:
5831         * Makefile.am:
5832         * MenuBackend.[Ch]:
5833         * bufferparams.[Ch]:
5834         * factory.C:
5835         * lfuns.h:
5836         * lyxfunc.C:
5837         * text3.C: implements the 'branch inset'
5838         idea. This allows the output of various versions of a document
5839         from a single source version, selectively outputing or suppressing
5840         output of parts of the text.
5841         This implementation contains a 'branch list editor' in a separate
5842         tab of the document settings dialog. Branches are user definable
5843         and have a "display colour" to distinguish them on-screen.
5844
5845         ColorHandler was somewhat cleaned up.
5846         (1) make possible a dynamically growing LColor list by allowing
5847         the graphic context cache to grow along (vector);
5848         (2) eliminate an IMHO unnecessary step in colour allocation.
5849
5850 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5851
5852         * BufferView_pimpl.C: compile fix
5853
5854 2003-08-15  André Pönitz  <poenitz@gmx.net>
5855
5856         * rowpainter.C: remove extra metrics calls
5857
5858         * lyxtext.h: merge the two constructors into a single one,
5859           pass reference to owner's par list
5860
5861         * BufferView_pimpl.C:
5862         * text.C:
5863         * text2.C: adjust
5864
5865 2003-08-15  André Pönitz  <poenitz@gmx.net>
5866
5867         * lyxrow_funcs.[Ch]:
5868         * lyxtext.h:
5869         * paragraph.h:
5870         * paragraph_funcs.C:
5871         * rowpainter.C:
5872         * text.C:
5873         * text2.C:
5874         * text3.C:
5875         * text_funcs.C: split LyXText::rowlist_ into individual
5876         Paragraph::rows_ chunks
5877
5878         * BufferView.[Ch]:
5879         * BufferView_pimpl.[Ch]:
5880         * lyxfind.C:
5881         * lyxtext.h:
5882         * text3.C: remove toggleSelection()
5883
5884 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5885
5886         * bufferlist.C: beautify two alerts (shorter text of buttons)
5887         * buffer.C: Remove redundant ' ' from message
5888         * tabular.h:
5889         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5890         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5891         rename VALIGN_CENTER to VALIGN_MIDDLE
5892
5893 2003-08-11  André Pönitz  <poenitz@gmx.net>
5894
5895         * lyxtext.h (getPar):
5896         * text.C: new function
5897
5898 2003-08-11  André Pönitz  <poenitz@gmx.net>
5899
5900         * Makefile.am:
5901         * tracer.[Ch]: remove unneeded files
5902
5903         * InsetList.[Ch]: remove resizeInsetsLyXText()
5904
5905         * lyxtext.h:
5906         * text.C:
5907         * text2.C:
5908         * text3.C: merge insertParagraphs() and appendParagraph()
5909         remove breakAgain(), update()
5910
5911         * BufferView_pimpl.[Ch]:
5912         * bufferview_funcs.[Ch]:
5913         * lyxfunc.C:
5914         * paragraph.[Ch]:
5915         * rowpainter.C:
5916         * tabular.C: adjust after text & InsetList changes.
5917
5918 2003-08-08  André Pönitz  <poenitz@gmx.net>
5919
5920         * text.C (insertChar, backspace): replace rowlist fiddling
5921         with rebreak of full par
5922
5923         * lyxtext.h:
5924         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5925         checkParagraph, updateInset): removed
5926
5927 2003-08-07  André Pönitz  <poenitz@gmx.net>
5928
5929         * paragraph.C:
5930         * text3.C: merge some LFUN handlers, remove dead code
5931
5932 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5933
5934         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5935
5936 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5937
5938         * text2.C (DEPM): fix part of bug 1255 and 1256
5939
5940 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5941
5942         * BufferView_pimpl.C (workAreaDispatch): change to use
5943         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5944         that are no mouse related.
5945
5946 2003-08-05  André Pönitz  <poenitz@gmx.net>
5947
5948         * BufferView.[Ch]:
5949         * BufferView_pimpl.[Ch]:
5950         * bufferview_funcs.C:
5951         * text2.C:
5952         * text3.C: rip out "deep update"
5953
5954         * textcursor.[Ch] (last_sel_cursor): remove unused member
5955
5956 2003-08-04  André Pönitz  <poenitz@gmx.net>
5957
5958         * BufferView.[Ch]:
5959         * BufferView_pimpl.[Ch]:
5960         * ParagraphParameters.C:
5961         * bufferview_funcs.C:
5962         * lyx_cb.C:
5963         * lyxfind.C:
5964         * lyxfunc.C:
5965         * text.C:
5966         * text2.C:
5967         * text3.C: replace "complicated" BufferView::update(...) calls with
5968         simpler ones.
5969
5970         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5971
5972 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5973
5974         * Makefile.am (lyx_SOURCES): add paper.h
5975
5976 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5977
5978         * Makefile.am: move things around so that both lyx-qt and
5979         lyx-xforms can be built (according to --with-frontend). Then lyx
5980         is a symbolic link to lyx-[firstfrontend]
5981
5982 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5983
5984         * Always use std::endl with lyxerr
5985
5986 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5987
5988         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5989
5990 2003-08-01  André Pönitz  <poenitz@gmx.net>
5991
5992         * BufferView.[Ch]:
5993         * BufferView_pimpl.[Ch]:
5994         * lyxfunc.C:
5995         * text3.C: merge BufferView::repaint() and BufferView::update()
5996
5997 2003-08-01  José Matos  <jamatos@lyx.org>
5998
5999         * buffer.[Ch]: file_format is no longer a buffer data element.
6000
6001 2003-08-01  André Pönitz  <poenitz@gmx.net>
6002
6003         * BufferView.C:
6004         * lyxtext.h:
6005         * text.C:
6006         * text2.C: make redoParagraph more independent of current cursor
6007
6008         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6009         * text.C:
6010         * text2.C: remove unneeded members
6011
6012 2003-07-30  André Pönitz  <poenitz@gmx.net>
6013
6014         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6015
6016         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6017           create a single function...
6018
6019         * paragraph_funcs.C (moveItem): ... here.
6020
6021         * text.C:
6022           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6023
6024 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6025
6026         * LColor.[Ch]: Add comment and greyedout logical colors.
6027
6028 2003-07-30  André Pönitz  <poenitz@gmx.net>
6029
6030         * tabular.C: don't use Assert too heavily. This crashes where it
6031           shouldn't
6032
6033 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6034
6035         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6036         is disabled (bug 1232)
6037
6038 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6039
6040         * factory.C: limited 'arg' scope
6041
6042 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6043
6044         * factory.C: fixed Note submenu issues
6045
6046 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6047
6048         * factory.C: submenu for Note/Comment/Greyedout
6049
6050 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6051
6052         * lyx_main.C (LyX):
6053         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6054
6055 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6056
6057         * LaTeXFeatures.C:
6058         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6059         greyedout. Patch provided by Jürgen Spitzmüller.
6060
6061 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6062
6063         * kbmap.C (read): fix error message when reading bind files
6064
6065 2003-07-29  Angus Leeming  <leeming@lyx.org>
6066
6067         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6068         certainly does not do what it purports to do. I am doing it, and
6069         us, a favour by killing it.
6070
6071 2003-07-28  José Matos  <jamatos@lyx.org>
6072
6073         * buffer.C (readBody, do_writeFile):
6074         * paragraph.C(readParagraph): \end_document replaces \the_end.
6075
6076 2003-07-29  André Pönitz  <poenitz@gmx.net>
6077
6078         * BufferView.[Ch]:
6079         * BufferView_pimpl.[Ch]:
6080         * lyxfunc.C:
6081         * text2.C:
6082         * text3.C:
6083         * textcursor.[Ch]: remove toggleToggle & Co
6084
6085 2003-07-28  José Matos  <jamatos@fep.up.pt>
6086
6087         * buffer.C (readParagraph):
6088         * params_func (readParToken, readParagraph):
6089         * paragraph.C (write): \layout -> \begin_layout.
6090
6091 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6092
6093         * lyxlex_pimpl.C (setFile): clean up slightly.
6094
6095         * bufferparams.h: add compressed var
6096
6097         * buffer_funcs.C (readFile): adjust for LyXLex change
6098         (newFile): ditto + simplify
6099
6100         * buffer.C (writeFile): handle writing of compressed files
6101
6102         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6103         Check if the file is compressed and set a bufferparm if so.
6104
6105         * Makefile.am (lyx_LDADD): remove explicit -lz
6106
6107 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6108
6109         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6110         makeDocBookFile): put the real LyX version in the first line of
6111         the file
6112
6113         * version.h:
6114         * version.C.in: remove lyx_docversion
6115
6116         * tabular.C (write_attribute): add a template-based version to
6117         write enums properly
6118
6119 2003-07-28  André Pönitz  <poenitz@gmx.net>
6120
6121         * lyxtext.h:
6122         * text.C:
6123         * text2.C:
6124         * text3.C: use doubles again for x-coordinates. They are needed.
6125
6126 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6127
6128         * messages.C (getLocaleDir): use lyx_localedir()
6129
6130         * lyxlex_pimpl.C (setFile): compress stuff
6131
6132         * buffer.C (writeFile): add some compression stuff
6133         (do_writeFile): new func, dont call expliti close... will this
6134         breake anything?
6135
6136         * Makefile.am (lyx_LDADD): add -lz
6137
6138 2003-07-28  José Matos  <jamatos@fep.up.pt>
6139
6140         * buffer.C: increment file format.
6141         * paragraph_funcs (readParagraph, readParToken):
6142         * paragraph.C (readParagraph): add \end_layout.
6143
6144 2003-07-27  Angus Leeming  <leeming@lyx.org>
6145
6146         * Makefile.am: remove special casing for configure-time setting of
6147         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6148
6149         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6150         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6151
6152 2003-07-26  André Pönitz  <poenitz@gmx.net>
6153
6154         * paragraph_func.[Ch]:
6155         * paragraph.C (realizeFont): inline it whereever it is used
6156
6157         * rowpainter.C:
6158         * text.C:
6159         * text2.C:
6160         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6161
6162
6163 2003-07-26  André Pönitz  <poenitz@gmx.net>
6164
6165         *       lyxtext.h:
6166         * text.C:
6167         * text2.C: get rid of LyXText::need_break_row
6168
6169 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6170
6171         * toc.[Ch]: put namespace toc inside namespace lyx
6172
6173         * MenuBackend.C (expandToc2): adjust for lyx::toc
6174         (expandToc): ditto
6175
6176         * lyxfunc.C (dispatch): adjust for lyx::find
6177
6178         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6179         lyx::find instead. Reorganize a bit.
6180         (LyXReplace): rename to replace
6181         (LyXFind): rename to find
6182
6183         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6184         (dispatch): ditto
6185
6186 2003-07-26  André Pönitz  <poenitz@gmx.net>
6187
6188         * text.C (setHeightOfRow): restrict scope of temporary variable
6189
6190         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6191           code (never has been used?)
6192
6193 2003-07-27  Asger Alstrup  <alstrup@local>
6194
6195         * text.C (fill): Optimise algorithm to exploit that we can reuse
6196         the LyXFont for many characters.
6197         (setHeightOfRow): Same thing.
6198         (rowBreakPoint): Same thing.
6199
6200 2003-07-26  Asger Alstrup  <alstrup@local>
6201
6202         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6203
6204         * text.C (singleWidth): Spurious font copying in hot-spot
6205         singleWidth avoided. Reorder tests for arabic for efficiency.
6206
6207         * text.C (fill): handle empty paragraphs better.
6208
6209 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6210
6211         * ispell.C:
6212         * encoding.h: add includes
6213
6214         * lyxrc.C: remove reading of bind files
6215
6216         * lyx_main.C (init): setup bindings and menus only if we have a
6217         gui.
6218
6219         * kbmap.C (read): new method. Do the actual reading of bind
6220         files.
6221
6222         * converter.C (dvipdfm_options):
6223         * bufferparams.C:
6224         * lyxrc.C (read):
6225         (output): adapt PAPER_* enums.
6226
6227         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6228
6229         * bufferparams.h: remove paper-related enums from there
6230
6231         * paper.h: New file. A trivial header file to hold paper-related
6232         enums. It should later expand to contain many paper-related
6233         horrors access.
6234
6235         * lyxrc.C: declare extern displayTranslator
6236
6237 2003-07-27  José Matos  <jamatos@fep.up.pt>
6238
6239         * tabular.[Ch] (linuxdoc): add support for tables and figures
6240         (linuxdoc).
6241
6242 2003-07-27  José Matos  <jamatos@fep.up.pt>
6243
6244         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6245         consistency in both functions.
6246         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6247
6248 2003-07-26  Asger Alstrup  <alstrup@local>
6249
6250         * rowpainter.C (paintRows): Change algorithm to work directly on
6251         the insets rather than asking every character in the document
6252         whether its an inset.
6253
6254 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6255
6256         * buffer.C (openFileWrite): factorize some code
6257
6258 2003-07-26  Angus Leeming  <leeming@lyx.org>
6259
6260         * lyx_cb.C:
6261         * lyx_main.[Ch]: replace occurances of system_tempdir with
6262         os::getTmpDir().
6263
6264 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6265
6266         * rename Inset to InsetOld
6267
6268 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6269
6270         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6271         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6272         which I think is a bit clearer. EDIT is gone, since it was
6273         premature optimisation, and broken for mathed anyway.
6274         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6275         with cursor positioning in insets as well (math insets still do not
6276         work, but that's a different story anyway.) It mysteriously
6277         crashes sometimes with undo in the first paragraph, but I'm fairly
6278         confident that this is a compiler bug.
6279
6280 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6281
6282         * paragraph.C (Paragraph): adjust for new clone return type
6283         (operator==): ditto
6284         (copyIntoMinibuffer): ditto
6285
6286 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6287
6288         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6289         by not having a special case, and always doing a full rebreak of
6290         the document after undo.
6291
6292 2003-07-23  Angus Leeming  <leeming@lyx.org>
6293
6294         * factory.C (createInset): InsetExternal::setParams now takes a
6295         Buffer const * arg.
6296
6297 2003-07-23  Angus Leeming  <leeming@lyx.org>
6298
6299         * factory.C (createInset): changed interface to the external and
6300         graphics mailers' string2params functions.
6301
6302 2003-07-23  Angus Leeming  <leeming@lyx.org>
6303
6304         * factory.C (createInset): pass a
6305         Buffer const * parameter to InsetExternalMailer's string2params.
6306
6307 2003-07-22  John Levon  <levon@movementarian.org>
6308
6309         * Thesaurus.h: include the right aiksaurus header
6310
6311 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6312
6313         * MenuBackend.C (expand): check menu shortcuts unconditionally
6314
6315 2003-07-21  Angus Leeming  <leeming@lyx.org>
6316
6317         * factory.C (createInset): pass a
6318         buffer_path parameter to InsetGraphicsMailer's string2params.
6319
6320 2003-07-21  Angus Leeming  <leeming@lyx.org>
6321
6322         * BufferView_pimpl.C (buffer):
6323         * buffer.C (d-tor):
6324         * lyx_main.C (LyX):
6325         * lyxfunc.C (dispatch):
6326         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6327         rather than the grfx shortcut.
6328
6329 2003-07-21  André Pönitz  <poenitz@gmx.net>
6330
6331         * rowpainter.C: remove unused variables
6332
6333         * tabular_funcs.C:
6334         * tabular_funcs.h: move to tabular.C
6335         * Makefile.am: adjust
6336
6337         * tabular.[Ch]: basic optical cleaning
6338
6339         * author.h: pass references, not values
6340
6341 2003-07-18  André Pönitz  <poenitz@gmx.net>
6342
6343         * lyxtext.h:
6344         * metricsinfo.C:
6345         * metricsinfo.h:
6346         * rowpainter.C:
6347         * text.C:
6348         * text2.C:
6349         * text3.C: two-phase drawing for InsetText and InsetTabular
6350         some float -> int changes.
6351
6352 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6353
6354         * lyx_main.C: fix the fix
6355
6356 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6357
6358         * lyx_main.C: fix a crash in batch mode if no files specified
6359         * converter.C: ws
6360
6361 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6362
6363         * format.[Ch] (papersize): moved to BufferParams
6364         * converter.[Ch] (dvips_options): moved to BufferParams
6365         (dvipdfm_options): moved to anon namespace
6366         * bufferparams.[Ch]: added above functions.
6367
6368 2003-07-17  André Pönitz  <poenitz@gmx.net>
6369
6370         * lyxtext.h:
6371         * rowpainter.C:
6372         * text2.C: don't call inset->update() anymore
6373
6374         * metricsinfo.[Ch]: add convenience constructor
6375
6376 2003-07-16  André Pönitz  <poenitz@gmx.net>
6377
6378         * lyxcursor.[Ch]:
6379         * lyxfunc.[Ch]:
6380         * text.C:
6381         * text2.C: replace the LyXCursor::irow_ member with
6382          on-demand computation of the value
6383
6384 2003-07-16  John Levon  <levon@movementarian.org>
6385
6386         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6387
6388 2003-07-15  André Pönitz  <poenitz@gmx.net>
6389
6390         * text.C:
6391         * text2.C: remove no more needed refresh_row
6392
6393 2003-07-15  André Pönitz  <poenitz@gmx.net>
6394
6395         * lyxtext.h:
6396         * rowpainter.C:
6397         * text2.C:
6398         * text3.C: refresh_status tristate -> need_update bool
6399
6400 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6401
6402         * lyxtext.h (init): remove reinit argument (act as if always true)
6403         * text2.C: adjust to that
6404
6405 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6406
6407         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6408         * text3.C: use it to delete selections in some cases
6409         (bugs 441, 673, 702, 954).
6410
6411 2003-07-14  André Pönitz  <poenitz@gmx.net>
6412
6413         * rowpainter.[Ch]: reduce interface
6414
6415 2003-07-14  André Pönitz  <poenitz@gmx.net>
6416
6417         * BufferView_pimpl.C:
6418         * text2.C: adjust after removing unused BufferView * argument
6419
6420 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6421
6422         * text2.C (init): fix a crash fired on resize
6423
6424 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6425
6426         * buffer.[Ch]: added new closing signal
6427         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6428         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6429         BufferView::Pimpl via the closing the signal
6430
6431 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6432
6433         * buffer.[Ch]: take out all bv-related from buffer
6434         * BufferView.C:
6435         * BufferView_pimpl.[Ch]: connect to new signals
6436         * CutAndPaste.C: removed useless asserts
6437         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6438         * lyxvc.[Ch]:
6439         * vc-backend.[Ch]:
6440         * lyxfunc.C: moved view-related funciontality from vc here
6441         * paragraph.C: removed outdated comments
6442         * text.C: ws
6443
6444 2003-07-10  André Pönitz  <poenitz@gmx.net>
6445
6446         * BufferView_pimpl.C:
6447         * tabular.h:
6448         * tabular_funcs.C:
6449         * text.C:
6450         * text2.C: remove InsetText::InnerCache, clean up consequences
6451
6452 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6453
6454         * ispell.C: fix two typos in error messages
6455
6456 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6457
6458         * Extend Note inset to other forms of annotation like Comment
6459         and Greyedout. Right button click gives dialog.
6460
6461         Files modified or added (+):
6462
6463         * insetnote.[Ch]
6464         * FormNote.[Ch]      +
6465         * ControlNote.[Ch]   +
6466         * form_note.fd       +
6467         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6468         frontends/controllers
6469         * xforms/Dialogs.C
6470         * factory.C
6471
6472 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6473
6474         * aspell.C: add missing namespace lyx::support
6475
6476 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6477
6478         * BufferView.[Ch] (newFile): Add
6479         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6480         * LaTeX.[Ch] (message): added this signal and use it
6481         * buffer.[Ch] (busy, message): added these signals and use them
6482         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6483         * converter.C:
6484         * exporter.C:
6485         * format.C:
6486         * importer.C: use buffer signals instead of direct bv calling
6487         * lyx_cb.[Ch] (ShowMessage): removed
6488         * lyx_main.C:
6489         * lyxfunc.C:
6490         * paragraph_funcs.C:
6491         * text2.C: use buffer signals
6492
6493 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6494
6495         * introduce namespace lyx::graphics
6496
6497 2003-07-02  André Pönitz  <poenitz@gmx.net>
6498
6499         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6500
6501 2003-07-01  André Pönitz  <poenitz@gmx.net>
6502
6503         * text.C:
6504         * text2.C:
6505         * text3.C:
6506         * text_funcs.[Ch]:
6507         * textcursor.h:
6508         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6509           text*.C to text_func.C
6510
6511 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6512
6513         * introduce namespace lyx::support
6514
6515 2003-06-30  André Pönitz  <poenitz@gmx.net>
6516
6517         * Chktex.C:
6518         * funcrequest.C:
6519         * lyxtext.h:
6520         * text.C: re-enable --with-included-string
6521
6522 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6523
6524         * textcursor.C: add <config.h>
6525
6526         * text.C (getWord): remove const from word_location arg
6527
6528         * lyxvc.C (getLogFile): fix const type order
6529
6530         * lyxtext.h: remove const from word_location arg, add arg name
6531
6532         * lyxlayout.h: currect type on labeltype.
6533
6534         * importer.C: correct \file
6535
6536         * converter.C (intToFormat): use std:: on ret val, ws changes
6537
6538         * bufferlist.h: correct \file
6539
6540         * buffer.C (makeLinuxDocFile): fix const type order
6541         (makeDocBookFile): ditto
6542         (fillWithBibKeys): use std:: on stdlib args.
6543
6544         * CutAndPaste.C: fix authors.
6545         (availableSelections): use std:: on return vector
6546
6547 2003-06-27  André Pönitz  <poenitz@gmx.net>
6548
6549         * BufferView_pimpl.C:
6550         * bufferview_funcs.C:
6551         * lyxcursor.C:
6552         * lyxcursor.h:
6553         * lyxfunc.C:
6554         * lyxtext.h:
6555         * rowpainter.C:
6556         * text.C:
6557         * text2.C:
6558         * text3.C: remove LyXCursor::row_ member
6559
6560         * lyxtext.h:
6561         * text.C: rename fullRebreak() to partialRebreak() and implement
6562           a fullRebreak() that really bereks fully
6563
6564         * textcursor.h: new struct for cursor-related data
6565
6566 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6567
6568         * lyx_main.C (LyX): get full path of document loaded on the
6569         command line
6570
6571 2003-06-26  André Pönitz  <poenitz@gmx.net>
6572
6573         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6574           remove unused/broken operator>,<,>=.
6575
6576         *       text.C: remove only use of broken operator<= in an Assert().
6577
6578 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6579
6580         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6581         moved errorlist_.clear to showErrorList
6582
6583 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6584
6585         * converter.C (scanLog, runLaTeX):
6586         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6587         move the bv->showErrorList call to the callers
6588         * lyxfunc.C: i.e. here...
6589         * text2.C: and here
6590         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6591         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6592         namespace, the second to...
6593         * buffer_funcs (BufferFormat, parseErrors): added
6594         * errorlist.C (ErrorList(TeXErrors const &)): removed
6595
6596 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6597
6598         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6599
6600 2003-06-24  "Garst R. Reese" <reese@isn.net>
6601
6602         * debug.C: fix typo
6603
6604 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6605
6606         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6607
6608         * version.C.in: change docversion to 1.4
6609
6610 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6611
6612         * buffer.C: fix a bug just introduced
6613
6614 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6615
6616         * buffer.[Ch]: added the parseError signal and use it, removed
6617         sgmlError
6618         * BufferView.[Ch] (addError): moved to ...
6619         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6620         to the Buffer::parseError signal to catch (guess what) parse errors
6621         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6622
6623 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6624
6625         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6626         ability to create a buffer and to return an existing one from
6627         the list. Moved these functions to...
6628         * buffer_funcs.[Ch]: added
6629         * BufferView.[Ch] (loadLyXFile): added
6630         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6631         job removed from bufferlist::loadLyXFile.
6632         * buffer.C (setReadOnly): make it work without view
6633         (i.e added an if (users))
6634
6635 2003-06-19  Angus Leeming  <leeming@lyx.org>
6636
6637         * lfuns.h:
6638         * LyXAction.C (init):
6639         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6640         with LFUN_DIALOG_SHOW <name> <data>.
6641
6642 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6643
6644         * CutAndPaste.C (availableSelections): small compilation fix for
6645         ancient (gcc 2.9x) compilers
6646
6647 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6648
6649         * text3.C (cursorNext): add tmp var
6650
6651         * text2.C (updateCounters): for function calling out of for clause
6652         (replaceSelectionWithString): ditto
6653         (insertStringAsParagraphs): ditto
6654         (getColumnNearX): add tmp var
6655         (setCursorFromCoordinates): add tmp var
6656         (cursorDownParagraph): add tmp var
6657         (deleteEmptyParagraphMechanism): add tmp var
6658
6659         * text.C (insertChar): add tmp var
6660
6661         * rowpainter.C (paintDepthBar): add tmp var
6662
6663         * CutAndPaste.C (availableSelections): potentially check all
6664         paragraphs in a cut to fill the shown strings.
6665
6666 2003-06-18  André Pönitz  <poenitz@gmx.net>
6667
6668         * kbmap.[Ch]: use vector<> instead of list<>
6669
6670 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6671
6672         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6673         pasteSelection with index
6674
6675         * text2.C (pasteSelection): modify, call pasteSelection with index
6676
6677         * paragraph.C (asString): reimplement version with no interval to
6678         call the one with interval.
6679
6680         * lyxtext.h: add index arg to pasteSelection
6681
6682         * MenuBackend.C (MenuItem): handle PasteRecent
6683         (Menu::read::Menutags): add md_pasterecent
6684         (read): handle it
6685         (expandPasteRecent): new function
6686         (expand): use it
6687
6688         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6689
6690         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6691         the limited stack
6692         (availableSelections): new function
6693
6694 2003-06-17  Angus Leeming  <leeming@lyx.org>
6695
6696         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6697
6698 2003-06-17  Angus Leeming  <leeming@lyx.org>
6699
6700         * lfuns.h:
6701         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6702
6703         * lyxfunc.C (dispatch): invoke it.
6704
6705 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6706
6707         * iterators.C (operator++, ParPosition): reintroduce some
6708         const_cast for the benefit of older compilers.
6709
6710 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6711
6712         * text3.C (dispatch): do not modify clipboard when doing
6713         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6714         LFUN_DELETE_SKIP on a selection selection
6715
6716 2003-06-16  André Pönitz  <poenitz@gmx.net>
6717
6718         * BufferView.C:
6719         * buffer.C:
6720         * buffer.h:
6721         * paragraph.C:
6722         * tabular.[Ch]: IU of clone() and getLabelList();
6723
6724 2003-06-13  André Pönitz  <poenitz@gmx.net>
6725
6726         * tabular.h: compactification
6727
6728 2003-06-12  André Pönitz  <poenitz@gmx.net>
6729
6730         * tabular.C:
6731         * tabular.h:
6732         * tabular_funcs.h: some renaming plus whitespace
6733
6734 2003-06-12  André Pönitz  <poenitz@gmx.net>
6735
6736         * BufferView.C:
6737         * BufferView_pimpl.C:
6738         * CutAndPaste.C:
6739         * buffer.C:
6740         * iterators.[Ch]:
6741         * lyxfunc.C:
6742         * text.C:
6743         * toc.C: Return a Paragraph & for ParIterator::operator*()
6744
6745 2003-06-11  John Levon  <levon@movementarian.org>
6746
6747         * lyx_main.C:
6748         * ToolbarBackend.h:
6749         * ToolbarBackend.C: add "Toolbars" section and
6750         put the flags there
6751
6752 2003-06-10  Angus Leeming  <leeming@lyx.org>
6753
6754         * lfuns.h:
6755         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6756
6757         * lyxfunc.C (dispatch): invoke it.
6758
6759 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6760
6761         * main.C: protect <ios> with HAVE_IOS
6762         (main): protect sync_with_stdio with HAVE_IOS
6763
6764 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6765
6766         * text2.C (cutSelection): adjust
6767         (pasteSelection): adjust
6768
6769         * messages.C: handle get of empty string
6770
6771         * main.C (main): use sync_with_stdio(false)
6772
6773         * lyxfunc.C (dispatch): adjust
6774
6775         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6776         (WriteAs): remove unneeded BufferView arg.
6777
6778         * bufferparams.h: use correct types on papersize, papersize2 and
6779         paperpackage.
6780
6781         * bufferparams.C (readToken): adjust for type
6782         (writeLaTeX): add missing cases to switch.
6783
6784         * bufferlist.C (quitWriteBuffer): adjust
6785         (close): adjust
6786
6787         * buffer.C (asciiParagraph): remove some commented code.
6788
6789         * CutAndPaste.C: remove current_view extern variable.
6790         (cutSelection): add BufferParams arg.
6791         (eraseSelection): add BufferParams arg.
6792         (pasteSelection): add Buffer const & arg
6793
6794 2003-06-07  John Levon  <levon@movementarian.org>
6795
6796         * buffer.C:
6797         * paragraph_funcs.C:
6798         * paragraph_pimpl.C:
6799         * text.C:
6800         * text2.C:
6801         * paragraph.h:
6802         * paragraph.C: allow InsetERT to freely space lines,
6803         and some consolidation of code
6804
6805 2003-06-06  José Matos  <jamatos@fep.up.pt>
6806
6807         * buffer.C (makeDocBookFile): fix bug #821
6808
6809 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6810
6811         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6812
6813 2003-06-04  Angus Leeming  <leeming@lyx.org>
6814
6815         * buffer.C: bump format to 224.
6816
6817 2003-06-05  André Pönitz  <poenitz@gmx.net>
6818
6819         * text2.C (redoParagraphs): remove two const_cast<>
6820
6821 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6822
6823         * ParagraphList.h: remove last remnants of NO_STD_LIST
6824
6825 2003-06-03  Angus Leeming  <leeming@lyx.org>
6826
6827         * factory.C (createInset): small change to the way InsetExternal's params
6828         are set.
6829
6830 2003-06-04  André Pönitz  <poenitz@gmx.net>
6831
6832         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6833
6834         * paragraph_pimpl.h:
6835         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6836
6837         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6838
6839         * undo_funcs.C: make some simple cases of undo work again
6840
6841 2003-06-03  John Levon  <levon@movementarian.org>
6842
6843         * ispell.C: HPUX doesn't have sys/select.h
6844         (from Albert Chin)
6845
6846 2003-06-03  John Levon  <levon@movementarian.org>
6847
6848         * CutAndPaste.C: update tabular and include inset
6849         buffer references
6850
6851         * buffer.h:
6852         * paragraph.h:
6853         * paragraph.C: remove owningBuffer(), don't pass Buffer
6854         to clone()
6855
6856         * factory.C: insetGraphicsParams changed
6857
6858 2003-06-02  John Levon  <levon@movementarian.org>
6859
6860         * LyXAction.C:
6861         * factory.C:
6862         * lfuns.h:
6863         * lyxfunc.C:
6864         * text3.C: remove insetparent
6865
6866 2003-06-02  John Levon  <levon@movementarian.org>
6867
6868         * buffer.h:
6869         * buffer.C: fix inset_iterator.end(), move out of line
6870         (bug 1149)
6871
6872 2003-06-01  John Levon  <levon@movementarian.org>
6873
6874         * text3.C: use a proper cut/paste when doing inset
6875         insert (from Jürgen Spitzmüller)
6876
6877 2003-06-01  John Levon  <levon@movementarian.org>
6878
6879         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6880
6881 2003-05-30  André Pönitz  <poenitz@gmx.net>
6882
6883         * rowpainter.C: unify second drawing phase
6884
6885 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6886
6887         * trans_mgr.C: remove one case of current_view
6888
6889         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6890
6891         * paragraph_funcs.h: remove paragraph.h include
6892
6893         * paragraph.h: delete NO_STD_LIST stuff
6894
6895         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6896
6897         * buffer.h: remove paragraph.h include
6898
6899         * ParagraphList.C: delete file
6900
6901         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6902
6903         * toc.C (getTocList): adjust
6904
6905         * paragraph_pimpl.C (validate): adjust
6906
6907         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6908
6909         * paragraph.C (Paragraph): adjust
6910         (getPositionOfInset): use const_iterator, adjust
6911         (bibitem): use const_iterator, adjust
6912         (setInsetOwner): adjust
6913
6914         * iterators.C (operator++): adjust
6915
6916         * InsetList.[Ch]: Replace selfmade iterator with standard
6917         vector::iterator also introduce const_iterator. Remove getPos,
6918         getInset and setInset from InsetTable. Adjust accordingly.
6919
6920         * BufferView.C (lockInset): adjust
6921         (ChangeInsets): adjust
6922
6923         * tabular.[Ch]: delete commented same_id functions
6924
6925 2003-05-28  John Levon  <levon@movementarian.org>
6926
6927         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6928
6929 2003-05-28  André Pönitz  <poenitz@gmx.net>
6930
6931         * metricsinfo.[Ch]: remove 'fullredraw' member
6932
6933 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6934
6935         * lyxtextclass.C (operator): remove caching.
6936
6937 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6938
6939         * text3.C: adjust
6940
6941         * text2.C (cursorBottom): adjust
6942         (setCounter): use ParagraphList::find, adjust
6943
6944         * text.C (workWidth): use ParagraphList::find, adjust
6945
6946         * lyxcursor.C (LyXCursor): adjust
6947
6948         * buffer.C (inset_iterator): adjust
6949
6950         * ParagraphList.h: make iterator(value_type) private, make
6951         ParagraphList a friend of iterator.
6952
6953         * ParagraphList.C (find): new function
6954
6955         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6956
6957 2003-05-27  André Pönitz  <poenitz@gmx.net>
6958
6959         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6960
6961 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6962
6963         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6964
6965 2003-05-26  John Levon  <levon@movementarian.org>
6966
6967         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6968
6969 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6970
6971         * remove same_id from function signatures, adjust.
6972
6973 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6974
6975         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6976
6977         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6978
6979         * paragraph.C (Paragraph): get rid of same_ids parameter
6980
6981         * ParagraphList.C (insert): adjust
6982         (push_back): adjust
6983
6984 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6985
6986         * paragraph_funcs.C (breakParagraph): adjust
6987         (breakParagraphConservative): adjust
6988
6989         * buffer.C (readParagraph): adjust
6990
6991         * ParagraphList.C (insert): take a reference instead of a pointer
6992         (insert): adjust
6993
6994         * paragraph.[Ch] (id): new function
6995
6996         * bufferlist.C (newFile): adjust
6997
6998         * ParagraphList.C (ParagraphList): adjust
6999         (assign): adjust
7000         (push_back): take a reference instead of a pointer.
7001
7002         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7003
7004         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7005         instead.
7006
7007         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7008         set else use old code.
7009
7010         * ParagraphList.C: remove all NO_NEXT code and only compile this
7011         code of NO_STD_LIST is set.
7012
7013 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7014
7015         * BufferView_pimpl.C:
7016         * TextCache.C:
7017         * TextCache.h:
7018         * bufferlist.C:
7019         * errorlist.h:
7020         * format.C:
7021         * format.h:
7022         * graph.C:
7023         * lyxfunc.C:
7024         * lyxrc.C:
7025         * graphics/GraphicsConverter.C:
7026         * graphics/PreviewLoader.C: header adjustment
7027
7028 2003-05-23  Angus Leeming  <leeming@lyx.org>
7029
7030         * LaTeXFeatures.[Ch] (useBabel): new method.
7031         * bufferparams.C (writeLaTeX): use it.
7032
7033 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7034
7035         * ParagraphList.h (set): remove unused function.
7036
7037 2003-05-23  André Pönitz  <poenitz@gmx.net>
7038
7039         * BufferView.C:
7040         * BufferView_pimpl.C:
7041         * buffer.C:
7042         * buffer.h:
7043         * lyxfunc.C:
7044         * undo_funcs.C: setUndo reworked
7045
7046         * iterators.[Ch]: add access to topmost ParagraphList
7047
7048         * lyxtext.[Ch] (workWidth): add a const
7049
7050 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7051
7052         * texrow.[Ch] (increasePos): remove function
7053         * exporter.C (export): removed unused var and outdated comment
7054
7055 2003-05-23  Angus Leeming  <leeming@lyx.org>
7056
7057         * latexrunparams.h: rename fragile as moving_arg.
7058         * paragraph.C (simpleTeXOnePar): ditto.
7059         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7060
7061 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7062
7063         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7064         (createUndo): ditto
7065         (textUndoOrRedo): comment out a currently unused var.
7066
7067         * paragraph.h (NO_NEXT): enable NO_NEXT
7068
7069         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7070
7071         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7072
7073         * exporter.C (Export): adjust for removeAutoInsets removal.
7074
7075         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7076
7077         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7078
7079         * BufferView.[Ch] (removeAutoInsets): delete function
7080
7081 2003-05-22  Angus Leeming  <leeming@lyx.org>
7082
7083         * latexrunparams.h: add a free_spacing variable.
7084
7085         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7086         to pass moving_arg, as the data is stored in runparams.fragile.
7087
7088         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7089         to Inset::latexOptional or to simpleTeXOnePar.
7090
7091         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7092         free_spacing arg to Inset::latexOptional.
7093
7094         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7095         free_spacing arg.
7096
7097 2003-05-22  Angus Leeming  <leeming@lyx.org>
7098
7099         * latexrunparams.h: add fragile and use_babel variables.
7100
7101         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7102         * buffer.C (makeLaTeXFile): store this returned value in
7103         runparams.use_babel, thus passing it to the inset::latex methods.
7104
7105         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7106         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7107
7108         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7109         longer has a fragile arg, as it is stored in runparams.fragile.
7110
7111         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7112         moving_arg parameter as the data is stored in runparams.fragile.
7113
7114         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7115         a fragile parameter as the data is stored in runparams.fragile.
7116
7117 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7118
7119         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7120
7121 2003-05-22  Angus Leeming  <leeming@lyx.org>
7122
7123         * latexrunparams.h: add a 'bool nice' which defaults to false.
7124
7125         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7126         now encapsulated within runparams.
7127
7128         * bufferlist.C (updateIncludedTeXfiles):
7129         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7130
7131 2003-05-22  Angus Leeming  <leeming@lyx.org>
7132
7133         * latexrunparams.h: new file containing struct LatexRunParams.
7134         * Makefile.am: add new file.
7135
7136         * LaTeX.[Ch] (c-tor, run):
7137         * buffer.[Ch] (makeLaTeXFile):
7138         * bufferlist.[Ch] (updateIncludedTeXfiles):
7139         * converter.C (convert, scanLog):
7140         * converter.[Ch] (runLaTeX):
7141         * exporter.C (Export):
7142         * paragraph.[Ch] (simpleTeXOnePar):
7143         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7144         * paragraph_funcs.[Ch] (latexParagraphs):
7145         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7146         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7147         pass around a LatexRunParams parameter.
7148
7149 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7150
7151         * paragraph.[Ch]: remove unused constructor
7152
7153         * ParagraphList.C (erase): new function, taking two iterators
7154
7155 2003-05-22  André Pönitz  <poenitz@gmx.net>
7156
7157         * undo_funcs.C: remove duplicated code
7158
7159         * iterator.[Ch]: operator=
7160
7161 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7162
7163         * tabular.C (SetMultiColumn): ws changes
7164
7165         * rowpainter.C (paintFirst): get rid of a ->previous
7166
7167         * lyx_cb.C (getPossibleLabel): parlist simplification
7168
7169         * BufferView.C (ChangeInsets): simplify slightly.
7170
7171 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7172
7173         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7174         * lfuns.h: new LFUN_SPACE
7175         * lyxfunc.C: protected space has a new lfun
7176         * paragraph_funcs.C: read new space insets
7177         * text3.C:
7178         * factory.C: handle new space insets
7179
7180 2003-05-22  André Pönitz  <poenitz@gmx.net>
7181
7182         * BufferView.C:
7183         * BufferView_pimpl.C:
7184         * buffer.[Ch]:
7185         * lyxfunc.C:
7186         * undo_funcs.C: return a ParIterator from getParFromID.
7187
7188         * iterators.[Ch]: add two const's
7189
7190 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7191
7192         * toc.C (getTocList): adjust
7193
7194         * iterators.[Ch]: rework for parlist
7195
7196         * buffer.C (par_iterator_begin): adjust
7197         (par_iterator_end): adjust
7198
7199         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7200
7201         * BufferView.C (removeAutoInsets): adjust
7202         (ChangeInsets): adjust
7203
7204 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7205
7206         * text.C (top_y): fix bug 1110
7207
7208 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7209
7210         * errorlist.[Ch]: added
7211         * buffer.C:
7212         * BufferView.[Ch]:
7213         * BufferView_pimpl.C:
7214         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7215         instead
7216
7217 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7218
7219         * Makefile.am: ensure that lyx is relinked upon changes to the
7220         various "convenience" libs.
7221
7222 2003-05-20  Angus Leeming  <leeming@lyx.org>
7223
7224         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7225         files are compiled in alphabetical order again.
7226
7227         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7228
7229 2003-05-19  Angus Leeming  <leeming@lyx.org>
7230
7231         * gettext.[Ch]: remove "char const * _(char const *)".
7232
7233 2003-05-19  André Pönitz  <poenitz@gmx.net>
7234
7235         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7236
7237         * Makefile.am:
7238         * BufferView.C:
7239         * DepTable.h:
7240         * LaTeXFeatures.C:
7241         * buffer.C:
7242         * lyxfont.C:
7243         * lyxlex.h:
7244         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7245
7246 2003-05-19  André Pönitz  <poenitz@gmx.net>
7247
7248         * buffer.C:
7249         * lyxlayout.[Ch]:
7250         * lyxtextclass.[Ch]:
7251         * paragraph.C:
7252         * paragraph_funcs.[Ch]:
7253         * text2.C:
7254         * text3.C: more insetenv work
7255
7256 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7257
7258         * ParagraphParameters.C (params2string): small bug fixed
7259
7260 2003-05-16  André Pönitz  <poenitz@gmx.net>
7261
7262         * debug.C:
7263         * bufferview_funcs.C: patch from Kornel Benko to prevent
7264           crash when _(...) is called twice in a statement
7265
7266 2003-05-16  André Pönitz  <poenitz@gmx.net>
7267
7268         * BufferView.C:
7269         * lyxfunc.C:
7270         * text.C:
7271         * text2.C:
7272         * text3.C:
7273         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7274
7275 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7276
7277         * lyx_main.C (init): remove spurious static_cast
7278
7279 2003-05-14  André Pönitz  <poenitz@gmx.net>
7280
7281         * BufferView.C: fix format string
7282
7283 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7284
7285         * BufferView.[Ch] (insertErrors): removed
7286         * BufferView.[Ch] (showErrorList): added
7287         * buffer.C (runChkTeX):
7288         * converter.C (scanLog): call showErrorList instead of inserterrors
7289
7290 2003-05-13  André Pönitz  <poenitz@gmx.net>
7291
7292         * BufferView_pimpl.C:
7293         * buffer.C:
7294         * bufferview_func.C:
7295         * MenuBackend.C:
7296         * lyxfunc.C:
7297         * lyxrc.C:
7298         * tex-accent.C:
7299         * text3.C:
7300         * toc.C:
7301         * tabular_funcs.h: tostr() from its own header
7302
7303         * ParagraphParameters.C:
7304         * ToolbarBackend.C:
7305         * bufferparams.C:
7306         * format.C:
7307         * lyxlex_pimpl.C:
7308         * text3.C: STRCONV()
7309
7310 2003-05-12  André Pönitz  <poenitz@gmx.net>
7311
7312         * BufferView.C:
7313         * BufferView_pimpl.C:
7314         * CutAndPaste.C:
7315         * LaTeX.C:
7316         * LaTeXFeatures.C:
7317         * ParagraphParameters.C:
7318         * buffer.C:
7319         * bufferlist.C:
7320         * bufferparams.C:
7321         * bufferview_funcs.C:
7322         * converter.C:
7323         * counters.C:
7324         * debug.C:
7325         * exporter.C:
7326         * format.C:
7327         * importer.C:
7328         * lyx_cb.C:
7329         * lyx_main.C:
7330         * lyxfont.C:
7331         * lyxfunc.C:
7332         * lyxvc.C:
7333         * paragraph.C:
7334         * paragraph_funcs.C:
7335         * tabular.C:
7336         * tabular_funcs.C:
7337         * text2.C:
7338         * text3.C:  boost::format -> bformat  all over the place
7339
7340
7341 2003-05-09  André Pönitz  <poenitz@gmx.net>
7342
7343         * LColor.[Ch]: Pimpl the #include <map> away
7344
7345 2003-05-09  John Levon  <levon@movementarian.org>
7346
7347         * bufferlist.C: never remove emergency saves
7348
7349 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7350
7351         * Makefile.am: better lib building
7352
7353 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7354
7355         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7356         instead.
7357         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7358         (simpleTeXSpecialChars): adjust
7359         (simpleTeXSpecialChars): adjust
7360         * paragraph.C (simpleTeXOnePar): adjust
7361         * buffer.C (makeLaTeXFile): adjust
7362
7363         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7364
7365         * text2.C (changeDepth): parlist cleanup
7366         (getColumnNearX): ditto
7367
7368         * rowpainter.C (getLabelFont): parlist cleanup
7369
7370         * bufferlist.C (newFile): parlist cleanup
7371
7372         * CutAndPaste.C (eraseSelection): parlist cleanup
7373
7374         * BufferView_pimpl.C (trackChanges): parlist cleanup
7375         (dispatch): ditto
7376
7377         * BufferView.C (lockInset): parlist cleanup.
7378         (ChangeInsets): ditto
7379
7380 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7381
7382         * CutAndPaste.h: Update file header.
7383
7384         * CutAndPaste.C: Update file header.
7385         Store the parts cut out of the Document in a limited_stack.
7386         (copySelection): adjust
7387         (pasteSelection): new function, takes the index in the limited stack.
7388         (nrOfParagraphs): adjust
7389         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7390         simplify error inset insertion.
7391         (checkPastePossible): adjust
7392
7393 2003-05-06  John Levon  <levon@movementarian.org>
7394
7395         * text2.C: don't cast wrap inset to float
7396
7397 2003-05-05  André Pönitz  <poenitz@gmx.net>
7398
7399         * iterator.C:
7400         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7401
7402         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7403           few naked Paragraph *.
7404
7405 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7406
7407         * bufferparams.C: Output warning if a document with missing
7408         TeX document class is loaded
7409         * exporter.C: Disable TeX exports if the document class is missing
7410         * lyxtextclass.C:
7411         * lyxtextclass.h:
7412         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7413         isTeXClassAvailable()
7414
7415 2003-05-03  John Levon  <levon@movementarian.org>
7416
7417         * BufferView.h:
7418         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7419         explicit cursor show/hide
7420
7421         * BufferView_pimpl.h:
7422         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7423         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7424
7425         * lyxfunc.C: hide cursor before dispatching.
7426
7427         * lyx_cb.C:
7428         * lyxfind.C:
7429         * text.C:
7430         * text3.C: remove explicit cursor hides
7431
7432 2003-05-02  André Pönitz  <poenitz@gmx.net>
7433
7434         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7435
7436         * undo_funcs.C:
7437         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7438           linked lists
7439
7440         * text2.C: tiny whitespace
7441
7442 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7443
7444         * undo_funcs.C: almost only ws changes.
7445
7446         * ParagraphList.C (splice): just return if pl is empty.
7447
7448 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7449
7450         * ParagraphList.C (splice): new function.
7451
7452         * CutAndPaste.C (pasteSelection): use it
7453
7454 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7455
7456         * CutAndPaste.C (pasteSelection): remove the last next and
7457         previous from this file.
7458
7459 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7460
7461         * CutAndPaste.C (pasteSelection): more clean up, user proper
7462         ParagraphList functions for pasteing.
7463
7464         * ParagraphList.C (insert): new function, three arg insert
7465
7466 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7467
7468         * ParagraphList.C (insert): new function, three arg insert
7469
7470         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7471         not on paragraphs.
7472
7473 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7474
7475         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7476
7477 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7478
7479         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7480
7481 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7482
7483         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7484         (copySelection): clean up a bit.
7485         (pasteSelection): use make_pair
7486
7487         * ParagraphList.C (ParagraphList): implement copy constructor
7488         (operator=): implement, base on copy constructor.
7489         (assign): new func
7490
7491         * paragraph.C (erase): return a bool
7492
7493         * paragraph_pimpl.C (erasePos): remove function, move contents...
7494         (erase): ... here. Return a bool.
7495         (erase): call erase instead of erasePos.
7496
7497 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7498
7499         * ParagraphList.h: define PitPosPair
7500         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7501         ParagraphList, fix a bug on pasting multiple pars
7502         * text2.C: change interface to C&P
7503
7504 2003-04-30  André Pönitz  <poenitz@gmx.net>
7505
7506         * undo_func.C: revert part of yesterday's patch 2
7507
7508 2003-04-30  John Levon  <levon@movementarian.org>
7509
7510         * LColor.C: s/tabular/table/
7511
7512 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7513
7514         * text3.C (dispatch): do not convert iterator -> pointer
7515         * undo_funcs.C (setCursorParUndo): ditto
7516         * text_funcs.C (transposeChars): ditto
7517
7518         * text2.C (setLayout): ws changes only
7519
7520         * text.C (breakParagraph): do not convert iterator -> pointer
7521         (insertChar): ditto
7522         (acceptChange): ditto
7523         (rejectChange): ditto
7524         (changeCase): ditto
7525         (Delete): ditto
7526         (backspace): ditto
7527
7528         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7529         pointer
7530
7531 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7532
7533         * text3.C (gotoInset): YABG (yet another bad getChar)
7534
7535 2003-04-29  André Pönitz  <poenitz@gmx.net>
7536
7537         * paragraph.h: make operator= private unimplemented as long as
7538           it is unusable
7539
7540         * ParagraphList.C: whitespace
7541
7542         * paragraph.[Ch]:
7543         * paragraph_pimpl.[Ch]:
7544         * paragraph_funcs.C:
7545         * CutAndPaste.C:
7546         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7547
7548         * text2.C:
7549           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7550
7551 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7552
7553         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7554         * paragraph.[Ch] (erase):
7555         * paragraph_pimpl.[Ch] (erase): change return type and value
7556         * text2.C (cutSelection): some rework
7557
7558 2003-04-28  John Levon  <levon@movementarian.org>
7559
7560         * bufferlist.C: changes for unsaved changes dialog
7561
7562 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7563
7564         * bufferlist.C (newFile): set language (messages_) for new
7565         documents also.
7566
7567         * buffer.C (readFile): ws changes only.
7568
7569 2003-04-28  André Pönitz  <poenitz@gmx.net>
7570
7571         * undo_funcs.C:
7572         * lyxfunc.C:
7573         * buffer.[Ch]:
7574         * BufferView_pimpl.C:
7575         * BufferView.C: getParFromID related ParagraphList::iterator changes
7576
7577 2003-04-28  André Pönitz  <poenitz@gmx.net>
7578
7579         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7580           Changes
7581
7582 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7583
7584         * messages.C: remove one more localedir class variable.
7585
7586 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7587
7588         * messages.C (getLocaleDir): singleton generation function
7589         (Pimpl): use it.
7590         (Messages): add a default constructor.
7591
7592         * main.C (main): do not setup localedir here, do not call
7593         gettext_init.
7594
7595         * gettext.C (_): use it.
7596         (gettext_init): delete funciton
7597
7598 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7599
7600         * gettext.C (getLyXMessages): new singleton generating function.
7601
7602         * buffer.C (updateDocLang): adjust
7603
7604         * Makefile.am (messages.o): add target
7605         (main.o): remove target
7606
7607 2003-04-27  John Levon  <levon@movementarian.org>
7608
7609         * bufferlist.C:
7610         * lyx_cb.C:
7611         * lyxfunc.C:
7612         * lyxvc.C: specify cancel button in Alert::prompt
7613
7614 2003-04-26  John Levon  <levon@movementarian.org>
7615
7616         * text3.C:
7617         * lyxfunc.C:
7618         * lfuns.h:
7619         * LyXAction.C: add LFUN_INSET_SETTINGS
7620
7621         * lyxfunc.C: don't enable tabular-feature when there's
7622         just any locking inset
7623
7624 2003-04-26  John Levon  <levon@movementarian.org>
7625
7626         * bufferlist.C: re-add Cancel to buffer close question
7627
7628         * lyxfunc.C: fix import UI a bit
7629
7630 2003-04-25  John Levon  <levon@movementarian.org>
7631
7632         * gettext.C: remove the broken asserts for now
7633
7634 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7635
7636         * messages.C: make case where setlocale cannot comply work better.
7637
7638         * buffer.C (updateDocLang): new function
7639         (changeLanguage): use it
7640         (readFile): use it
7641
7642         * text2.C (setCounter): use B_ a bit.
7643
7644         * lyxlayout.C (Read): be sure to trim the label strings.
7645
7646         * messages.C (Messages): fix typo in comment
7647
7648         * buffer.C (readFile): set message_ after file is loaded.
7649         (makeDocBookFile): remove double return
7650         (changeLanguage): reset message_ upon language change.
7651         (B_): new func, use this to get translated buffer strings.
7652
7653         * main.C: add myself and Jean Marc as authors.
7654
7655 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7656
7657         * messages.[hC]: pimplify Messages, and three different pimpls to be
7658         used in different circumstances.
7659
7660         * gettext.[Ch]: change for use with new message code.
7661
7662 2003-04-24 André Pönitz <poenitz@gmx.net>
7663
7664         * factory.C: support for eqref
7665
7666 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7667
7668         * messages.[Ch]: add missing char
7669
7670         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7671
7672         * messages.[Ch]: New files
7673
7674 2003-04-18  John Levon  <levon@movementarian.org>
7675
7676         * BufferView.h:
7677         * BufferView.C:
7678         * BufferView_pimpl.C:
7679         * lfuns.h:
7680         * LyXAction.C:
7681         * lyxtext.h:
7682         * text2.C: remove layout-copy/paste (bug 778)
7683
7684 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7685
7686         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7687
7688 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7689
7690         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7691         if they succeed. Act accordingly.
7692
7693 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7694
7695         * text2.C (setCharFont): adjust
7696         (setCounter): adjust
7697         (insertStringAsLines): adjust
7698
7699         * text.C (leftMargin): adjust
7700         (setHeightOfRow): adjust
7701
7702         * rowpainter.C (paintFirst): adjust
7703         (paintLast): adjust
7704
7705         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7706         (outerHook): ditto
7707         (isFirstInSequence): ditto
7708         (getEndLabel): ditto
7709         (outerFont): adjust
7710
7711         * paragraph.C (getParLanguage): comment out some hard stuff.
7712
7713         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7714         (sgmlError): ditto
7715         (simpleDocBookOnePar): ditto
7716         (makeDocBookFile): use ParagraphList::iterator
7717
7718         * CutAndPaste.C (pasteSelection): adjust
7719
7720 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7721
7722         * text2.C (getFont): adjust
7723         (getLayoutFont): adjust
7724         (getLabelFont): adjust
7725
7726         * paragraph_funcs.C (TeXOnePar): adjust
7727
7728         * buffer.C (simpleLinuxDocOnePar): adjust
7729         (simpleDocBookOnePar): adjust
7730
7731         * CutAndPaste.C (pasteSelection): adjust
7732
7733         * BufferView.C (getEncoding): adjust
7734
7735         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7736
7737 2003-04-16  John Levon  <levon@movementarian.org>
7738
7739         * lyxfind.C: use parlist stuff for search/changes
7740
7741 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7742
7743         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7744
7745         * text2.C (deleteEmptyParagraphMechanism): adjust
7746
7747         * text2.[Ch] (ownerParagraph): delete func (both of them
7748
7749 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7750
7751         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7752
7753 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7754
7755         * ParagraphList.C: prepare for NO_NEXT
7756
7757 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7758
7759         * text2.C (getFont): adjust
7760         (getLayoutFont): adjust
7761         (getLabelFont): adjust
7762
7763         * paragraph.C (getFont): adjust
7764         (getLabelFont): adjust
7765         (getLayoutFont): adjust
7766
7767         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7768
7769 2003-04-15  John Levon  <levon@movementarian.org>
7770
7771         From Angus Leeming
7772
7773         * lyx_main.C: handle Include in .ui files
7774
7775 2003-04-15  John Levon  <levon@movementarian.org>
7776
7777         * MenuBackend.C: make the doc files length shorter
7778
7779         * ToolbarBackend.h:
7780         * ToolbarBackend.C: handle toolbar placement flags,
7781         Minibuffer
7782
7783 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7784
7785         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7786         adjust
7787
7788         * paragraph_funcs.C (TeXOnePar): adjust
7789
7790         * paragraph.C (getLabelFont): add outerfont arg, adjust
7791         (getLayoutFont): ditto
7792         (simpleTeXOnePar): adjust
7793
7794         * paragraph_pimpl.C (realizeFont): delete func
7795
7796 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7797
7798         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7799         row argument, constify cur argument.
7800
7801 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7802
7803         * text2.C (getFont): adjust
7804         (getLayoutFont): adjust
7805         (getLabelFont): adjust
7806
7807         * paragraph_funcs.C (TeXOnePar): adjust
7808         (outerFont): new func...
7809         (realizeFont): ...moved out from here, changed this to facilitate
7810         transition
7811
7812         * paragraph.C (getFont): take outerfont as arg, adjust
7813         (simpleTeXOnePar): add outerfont arg, adjust
7814
7815         * buffer.C (simpleLinuxDocOnePar): adjust
7816         (simpleDocBookOnePar): adjust
7817
7818         * CutAndPaste.C (pasteSelection): adjust
7819
7820         * BufferView.C (getEncoding): adjust
7821
7822 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7823
7824         * text2.C (setCharFont): adjust
7825         (setCounter): adjust
7826
7827         * text.C (leftMargin): adjust
7828         (setHeightOfRow): adjust
7829
7830         * rowpainter.C (paintFirst): adjust
7831         (paintLast): adjust
7832
7833         * paragraph_pimpl.C (realizeFont): adjust
7834
7835         * paragraph.C (isFirstInSequence): move from here...
7836         * paragraph_funcs.C (isFirstInSequence): ...to here
7837
7838         * paragraph.C (outerHook): move from here...
7839         * paragraph_funcs.C (outerHook): ...to here
7840
7841         * paragraph.C (depthHook): move from here...
7842         * paragraph_funcs.C (depthHook): ...to here
7843
7844         * paragraph.C (getEndLabel): move from here...
7845         * paragraph_funcs.C (getEndLabel): ...to here
7846
7847         * text2.C (realizeFont): move from here...
7848         * paragraph_funcs.C (realizeFont): ...to here
7849
7850 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7851
7852         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7853
7854 2003-04-14  Angus Leeming  <leeming@lyx.org>
7855
7856         * LColor.[Ch]: scrap LColor mathcursor.
7857
7858 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7859
7860         * lyxlex.[Ch] (text): delete function
7861         * trans.C (Load): adjust
7862         * paragraph_funcs.C (readParToken): adjust
7863
7864 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7865
7866         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7867         vector<char> instead of a char[].
7868
7869         * lyxlex_pimpl.C (getString): adjust
7870         (next): adjust
7871         (lex): use getString
7872         (eatLine): adjust
7873         (nextToken): adjust
7874
7875         * lyxlex.C (text): use pimpl_->getString()
7876         (getBool): ditto
7877         (findToken): ditto
7878
7879 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7880
7881         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7882         (makeFontEntriesLayoutSpecific): temp var for par.size()
7883         (setLayout): temp var for ownerParagraphs().end()
7884         (fullRebreak): temp var for rows().end()
7885         (selectionAsString): temp var for boost::next(startpit), realize
7886         that the while really is a regular for loop.
7887         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7888         setCursor in one place.
7889         (setParagraph): temp vr for ownerParagraphs().end()
7890         (updateCounters): make the while loop a for loop
7891         (cutSelection): temp var for ownerParagraphs().end()
7892         (updateInset): make the do {} while() a regular for loop
7893         (getCursorX): use temp vars
7894         (setCurrentFont): use temp vars
7895         (getColumnNearX): use temp vars
7896
7897 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7898
7899         * text.C (transformChar): use temp var for getChar
7900         (computeBidiTables): use temp var for row->par()
7901         (fill): move temp vars for row->par() and pit->layout() earlier in
7902         the function.
7903         (labelFill): use temp var for row->par()
7904         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7905         asc and desc, realize that pit never changes and that firstpit is
7906         just a duplicate and not needed. Exchange rit->par() with pit in a
7907         lot of places.
7908         (breakAgain): use a temp var for boost::next(rit)
7909         (breakAgainOneRow): ditto
7910         (breakParagraph): use a temp var for rows().begin()
7911         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7912         (cursorRightOneWord): use temp var for cursor.par() and
7913         cursor.pos(), remove usage of tmpcursor.
7914         (cursorLeftOneWord): use temp var for cursor.par() and
7915         cursor.pos() only set cur at end of function.
7916
7917 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7918
7919         * text.C, text2.C: exchange all usage of Paragraph::next with
7920         boost::next(ParagraphList::iterator)
7921
7922         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7923
7924         * text2.C (cursorTop): simplify implementation
7925         (cursorBottom): ditto
7926         (setParagraph): use ParagraphList::iterator
7927         (setCurrentFont): adjust
7928         (getColumnNearX): adjust
7929         (cursorRight): adjust
7930         (cursorLeft): remove usage of Paragraph::previous
7931         (cursorUpParagraph): ditto
7932         (deleteEmptyParagraphMechanism): slight cleanup
7933
7934         * text.C (isBoundary): take a Paragraph const & instead of a
7935         pointer as arg.
7936         (addressBreakPoint): ditto
7937         (leftMargin): remove usage of Paragraph::previous.
7938         (setHeightOfRow): ditto
7939         (cursorLeftOneWord): ditto
7940         (selectNextWordToSpellcheck): ditto
7941         (Delete): ditto
7942         (backspace): ditto
7943         (breakParagraph): remove one usage of Paragraph::next
7944         (redoParagraph): ditto
7945         (acceptChange): ditto
7946         (insertChar): adjust
7947         (rowBreakPoint): adjust
7948
7949         * bufferview_funcs.C (toggleAndShow): adjust
7950
7951 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7952
7953         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7954         methods to access it.
7955         * lyxtext.h:
7956         * text.C: Added updateRowPositions to compute all row positions.
7957         Make top_y and getRowNearY() to use the cached y position
7958
7959 2003-04-11  John Levon  <levon@movementarian.org>
7960
7961         * text.C (rowBreakPoint): reintroduce the labelEnd
7962         checks, code copied from the row fill stuff. Deep voodoo.
7963
7964         * text.C (fill): add a comment and debugging for the
7965         next poor soul.
7966
7967 2003-04-11  John Levon  <levon@movementarian.org>
7968
7969         * text.C: make sure fullrow insets get wrapped to the next line,
7970         even when they're in a manual label
7971
7972 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7973
7974         * text2.C (insertParagraph): make it take ParagraphList::iterator
7975         as arg.
7976         (setLayout): make it return ParagraphList::iterator
7977         (redoParagraphs): ditto
7978         (setCounter): ditto
7979         (checkParagraph): ditto
7980
7981         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7982
7983         * text2.C: adjust several funcs.
7984         (realizeFont): take a ParagraphList::iterator as arg.
7985         (getLayoutFont): ditto
7986         (getLabelFont): ditto
7987         (setCharFont): ditto
7988
7989         * text.C: adjust several funcs.
7990
7991 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7992
7993         * text.C (selectNextWordToSpellcheck): don't accidentally
7994         skip insets
7995
7996 2003-04-10  John Levon  <levon@movementarian.org>
7997
7998         * ToolbarBackend.C (getIcon): special handling for
7999         LFUN_MATH_DELIM
8000
8001 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8002
8003         * text2.C (cursorRight): a getChar assert fixed
8004
8005 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8006
8007         * text2.C (getFont): change to take a ParagraphList::iterator
8008         instead of Paragraph*
8009         Adjust several functions.
8010
8011         * text.C (transformChar): change to take a ParagraphList::iterator
8012         instead of Paragraph*
8013         (singleWidth): ditto
8014         Adjust several functions.
8015
8016         * rowpainter.C: adjust several functions
8017         * rowpainter.h:store a ParagraphList::iterator and not a
8018         Paragraph&.
8019
8020
8021 2003-04-09  John Levon  <levon@movementarian.org>
8022
8023         * lyxfunc.C:
8024         * lfuns.h:
8025         * LyXAction.h:
8026         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8027         and the "help" bits as well
8028
8029 2003-04-09  John Levon  <levon@movementarian.org>
8030
8031         * ToolbarBackend.h:
8032         * ToolbarBackend.C: allow multiple toolbars
8033
8034 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8035
8036         * undo_funcs.C (setCursorParUndo): adjust
8037
8038         * text_funcs.C (transposeChars): adjust
8039
8040         * text3.C (gotoNextInset): adjust
8041         (dispatch): adjust
8042
8043         * text2.C (setLayout): adjust
8044         (changeDepth): adjust
8045         (setFont): adjust
8046         (redoParagraphs): adjust
8047         (selectionAsString): adjust
8048         (setParagraph): adjust
8049         (insertInset): adjust
8050         (cutSelection): adjust
8051         (copySelection): adjust
8052         (pasteSelection): adjust
8053         (insertStringAsLines): adjust
8054         (updateInset): adjust
8055         (setCursor): change to take a ParagraphList::iterator parameter
8056         (setCursorIntern): change to take a ParagraphList::iterator parameter
8057         (setCurrentFont): adjust
8058         (cursorLeft): adjust
8059         (cursorRight): adjust
8060         (deleteEmptyParagraphMechanism): adjust
8061
8062         * text.C (breakParagraph): adjust
8063         (insertChar): adjust
8064         (acceptChange): adjust
8065         (rejectChange): adjust
8066         (selectNextWordToSpellcheck): adjust
8067         (changeCase): adjust
8068         (Delete): adjust
8069         (backspace): adjust
8070
8071         * lyxfind.C (SearchForward): adjust
8072         (SearchBackward): adjust
8073         (nextChange): adjust
8074
8075         * lyxcursor.C (par): adjust
8076
8077         * lyxcursor.h: store a ParagraphList::iterator instead of a
8078         Paragraph*
8079
8080         * lyx_cb.C (getPossibleLabel): adjust
8081
8082         * bufferview_funcs.C (toggleAndShow): adjust
8083
8084         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8085         (dispatch): adjust
8086
8087         * BufferView.C (removeAutoInsets): adjust
8088         (lockedInsetStoreUndo): adjust
8089
8090 2003-04-09  John Levon  <levon@movementarian.org>
8091
8092         * ToolbarBackend.C: try icon without argument
8093         if with argument fails
8094
8095 2003-04-08  John Levon  <levon@movementarian.org>
8096
8097         * ToolbarBackend.h:
8098         * ToolbarBackend.C: add getIcon(), handle tooltip,
8099         and change from "Icon" to "Item".
8100
8101 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8102
8103         * BufferView.C (lockInset): another bad getchar crunched
8104
8105 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8106
8107         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8108         again)
8109
8110 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8111
8112         * lyxfind.C (searchForward, searchBackwards): bug 782
8113
8114 2003-04-07  John Levon  <levon@movementarian.org>
8115
8116         * paragraph.C: remove dead comment
8117
8118         * text.C: remove troublesome depth-fiddling code
8119         in leftMargin() and rightMargin() (bug 1017)
8120
8121         * text.C: fix breaking of rows in nested lists
8122         (bug 1004)
8123
8124         * text2.C (updateCounters): fix up depth values
8125         (bug 1013)
8126
8127 2003-04-07  John Levon  <levon@movementarian.org>
8128
8129         * BufferView_pimpl.C: clear message when doc finishes resizing,
8130         and after a mouse event
8131
8132         * lyxfunc.C: clear message after exiting inset
8133
8134 2003-04-07  John Levon  <levon@movementarian.org>
8135
8136         * bufferview_funcs.C: show math status not outside
8137         status in the statusbar
8138
8139 2003-04-07  John Levon  <levon@movementarian.org>
8140
8141         * lyxfunc.C: note status changed after a depth change
8142
8143 2003-04-04  Angus Leeming  <leeming@lyx.org>
8144
8145         * LaTeX.h: move AuxInfo operator==, != out of line.
8146         Remove LaTeX virtual destructor; nothing derives from it.
8147         Move operator()() out of public area and rename it startscript().
8148         Change protected for private.
8149
8150 2003-04-04  Angus Leeming  <leeming@lyx.org>
8151
8152         * lyxfunc.C:
8153         * text2.C: remove unneeded #includes.
8154
8155 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8156
8157         * text2.C (dEPM): fix the heigth of the next row
8158
8159 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8160
8161         * text.C: squashed an invalid getChar requester + some ws changes
8162
8163 2003-04-03  John Levon  <levon@movementarian.org>
8164
8165         * bufferview_funcs.h:
8166         * bufferview_funcs.C:
8167         * lyxfunc.C:
8168         * lyxtext.h:
8169         * text2.C: make getStatus work for the env depth lfuns
8170
8171 2003-04-03  John Levon  <levon@movementarian.org>
8172
8173         * bufferview_funcs.h:
8174         * bufferview_funcs.C:
8175         * lyxfunc.C:
8176         * lyxtext.h:
8177         * text2.C: parlistize decDepth(), by merging it with incDepth()
8178
8179 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8180
8181         * lyxrow.h: store a ParagraphList::iterator instead of a
8182         Paragraph* and adjust other class functions to suit.
8183
8184         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8185         above.
8186
8187 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8188
8189         * text2.C (setCursor): do not anchor to cursor row for the time being
8190
8191 2003-04-02  John Levon  <levon@movementarian.org>
8192
8193         * LyXAction.C:
8194         * lfuns.h:
8195         * lyx_main.C:
8196         * lyxtext.h:
8197         * text.C:
8198         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8199
8200 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8201
8202         * paragraph.h: make ParagraphList and ParagraphList::iterator
8203         friends of Paragraph.
8204
8205         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8206
8207         * ParagraphList.C: Use the private next_ and previous_ from
8208         Paragraph.
8209
8210 2003-04-01  John Levon  <levon@movementarian.org>
8211
8212         * ToolbarBackend.h:
8213         * ToolbarBackend.C:
8214         * Makefile.am: rename, remove defaults gunk
8215
8216         * MenuBackend.h:
8217         * MenuBackend.C: remove defaults gunk
8218
8219         * Languages.h:
8220         * Languages.C: remove defaults gunk
8221
8222         * lyx_main.h:
8223         * lyx_main.C: error out if files couldn't be found.
8224
8225 2003-04-02  John Levon  <levon@movementarian.org>
8226
8227         * text2.C: make incDepth() use parlist
8228
8229 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8230
8231         * undo_funcs.C (firstUndoParagraph): adjust
8232
8233         * text3.C (gotoInset): adjust
8234         (dispatch): adjust, and rewrite loop.
8235
8236         * text2.C (init): adjust, and rewrite loop.
8237         (redoParagraphs): adjust
8238         (updateInset): adjust, and rewrite loop.
8239         (deleteEmptyParagraphMechanism): adjust
8240
8241         * tabular.C (LyXTabular): adjust
8242         (SetMultiColumn): adjust
8243         (TeXRow): adjust
8244
8245         * lyxtext.[Ch] (ownerParagraph): delete function
8246         (ownerParagraphs): new function returns a ParagraphList.
8247
8248         * BufferView.C (removeAutoInsets): adjust
8249         (insertErrors): adjust
8250         (setCursorFromRow): adjust
8251
8252 2003-04-01  Angus Leeming  <leeming@lyx.org>
8253
8254         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8255         in the frontends.
8256
8257 2003-04-02  John Levon  <levon@movementarian.org>
8258
8259         * lyxtext.h:
8260         * text.C:
8261         * Makefile.am:
8262         * text_funcs.h:
8263         * text_funcs.C: make transposeChars a free function
8264
8265         * lyxrow_funcs.C: remove wrong comment
8266
8267 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8268
8269         * lyxtext.h: adjust
8270         * rowpainter.C: adjust
8271         * text.C: adjust
8272         * text2.C: adjust
8273         * text3.C: adjust
8274
8275         * lyxrow_funcs. [Ch]: new files
8276
8277         * lyxrow.[Ch]: remove next and previous pointers
8278         (next,previous): remove accessor functions
8279         (isParEnd): move to lyxrow_funcs
8280         (lastPos): move to lyxrow_funcs
8281         (nextRowIsAllInset): move to lyxrow_funcs
8282         (lastPrintablePos): move to lyxrow_funcs
8283         (numberOfSeparators): move to lyxrow_funcs
8284         (numberOfHfills): move to lyxrow_funcs
8285         (numberOfLabelHfills): move to lyxrow_funcs
8286         (hfillExpansion): move to lyxrow_funcs
8287
8288         * lyxfunc.C: adjust
8289
8290         * bufferview_funcs.C (toggleAndShow): adjust
8291
8292         * RowList.h: Remove class RowList from file leave just a
8293         std::list<Row>.
8294
8295         * RowList.C: delete file
8296
8297         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8298         and lyxrow_funcs.h
8299
8300 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8301
8302         * text3.C (cursorPrevious): adjust
8303         (cursorNext): adjust
8304         (dispatch): adjust
8305
8306         * text2.C (redoHeightOfParagraph): adjust
8307         (redoDrawingOfParagraph): adjust
8308         (setCursor): adjust
8309
8310         * text.C (breakParagraph): adjust
8311         (insertChar): adjust
8312         (backspace): adjust
8313
8314         * rowpainter.C (RowPainter): adjust
8315         (leftMargin): simplify and adjust
8316         (most rowpainter functions): adjust.
8317
8318         * rowpainter.h: store the row as RowList::iterator not as Row*
8319
8320         * lyxcursor.C (row): taka RowList::iterator as arg
8321         (irow): ditto
8322
8323         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8324         of Row*.
8325
8326 2003-04-01  Angus Leeming  <leeming@lyx.org>
8327
8328         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8329         stuff like bool Bool.
8330
8331 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8332
8333         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8334         rewrite a loop
8335
8336 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8337
8338         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8339         RowList::iterator.
8340
8341         * lyxtext.h (rows): drop one version and leve a const variant that
8342         returns a RowList::iterator.
8343
8344 2003-03-31  Angus Leeming  <leeming@lyx.org>
8345
8346         * text.C (fill): ensure that the signature is the same as that in the
8347         header file.
8348
8349 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8350
8351         * text2.C (redoParagraphs): adjust
8352         (updateCounters): adjust
8353         (checkParagraph): adjust
8354         (getColumnNearX): adjust and reformat a bit.
8355
8356         * text.C (top_y): adjust
8357         (workWidth): adjust
8358         (leftMargin): adjust
8359         (prepareToPrint): adjust
8360         (getRow): adjust
8361         (getRowNearY): adjust
8362
8363         * lyxtext.h: make rowlist_ mutable.
8364
8365         * RowList.h: add const_iterator
8366         * RowList.C: adjust for RowList::const_iterator.
8367
8368         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8369         adjust.
8370
8371 2003-03-31  John Levon  <levon@movementarian.org>
8372
8373         * lyxrc.h:
8374         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8375
8376         * lyx_main.C: set default fonts from using lyx_gui funcs
8377
8378         * exporter.C: pdf_mode moved from lyxrc
8379
8380         * lyx_cb.C:
8381         * lyxfunc.C: changes from above
8382
8383 2003-03-31  John Levon  <levon@movementarian.org>
8384
8385         * lyx_main.C: fix to the last fix
8386
8387 2003-03-31  John Levon  <levon@movementarian.org>
8388
8389         * bufferlist.C: "Load original" -> "Load Original"
8390
8391         * converter.C:
8392         * exporter.C:
8393         * importer.C:
8394         * lyx_main.C:
8395         * format.C: more Alert cleanups
8396
8397 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8398
8399         * text2.C (removeParagraph): make it take a RowList::iterator as
8400         arg, adjust.
8401         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8402         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8403
8404         * text.C (anchor_row): make it take a RowList::iterator as arg,
8405         adjust.
8406         (computeBidiTables): make it take a const reference to Row instead
8407         of Row pointer, adjust.
8408         (leftMargin): make it take a RowList::iterator as arg, adjust.
8409         (rowBreakPoint): adjust
8410         (breakAgainOneRow): make it take a RowList::iterator as arg,
8411         adjust.
8412         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8413
8414         * bufferview_funcs.C (toggleAndShow): adjust
8415
8416 2003-03-30  John Levon  <levon@movementarian.org>
8417
8418         * Makefile.am:
8419         * BoostFormat.h:
8420         * boost-inst.C: moved to support
8421
8422         * several files: changes as a result
8423
8424 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8425
8426         * text2.C (LyXText): adjust.
8427         (init): adjust
8428         (removeRow): make it take a RowList::iterator as arg, adjust.
8429         (fullRebreak): adjust
8430         (deleteEmptyParagraphMechanism): adjust
8431         (clearPaint): adjust
8432         (postPaint): adjust
8433
8434         * text.C (top_y): adjust
8435         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8436         (breakAgain): make it take a RowList::iterator as arg, adjust.
8437         (breakParagraph): adjust
8438         (insertChar): adjust
8439         (backspace): adjust
8440
8441         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8442         need_break_row, and refresh_row.
8443
8444         * text3.C (dispatch): adjust
8445
8446         * text2.C (checkParagraph): adjust
8447         (setCursor): adjust
8448         (setCursorFromCoordinates): adjust
8449
8450         * text.C (top_y): adjust
8451         (workWidth): adjust
8452         (getRow): make it return a RowList::iterator, adjust
8453         (getRowNearY): make it return a RowList::iterator, adjust
8454
8455         * text2.C (init): adjust
8456         (insertRow): remove function
8457         (insertParagraph): adjust
8458         (redoParagraphs): adjust
8459         (fullRebreak): adjust
8460         (updateCounters): adjust
8461
8462         * text.C (top_y): rewrite to use RowList iterators.
8463         (top_y): adjust
8464         (setHeightOfRow): rewrite to sue RowList iterators.
8465         (appendParagraph): adjust
8466         (breakAgain): adjust
8467         (breakAgainOneRow): adjust
8468         (breakParagraph): adjust
8469         (getRow): adjust
8470         (getRowNearY): adjust, and remove commented code.
8471
8472         * lyxtext.h (firstRow): delete function
8473         (lastRow): delete function
8474         (rows): new function (const and non-const versions.)
8475         (insertRow): delete function
8476
8477         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8478
8479 2003-03-29  John Levon  <levon@movementarian.org>
8480
8481         * BufferView_pimpl.C: always update scrollbar top
8482         because pasting text when we're anchored could mean we
8483         miss an update altogether
8484
8485 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8486
8487         * text2.C (init): use rowlist_.end() and not 0.
8488         (insertRow): change to take a RowList::iterator as arg, adjust
8489         for this.
8490         (insertParagraph): change to take a RowList::iterator as arg,
8491         adjust for this.
8492         (redoParagraphs): remove some debug msgs.
8493
8494         * text.C (appendParagraph): change to take a RowList::iterator
8495         arg, adjust for this.
8496         (breakAgain): add an assert
8497         (breakAgainOneRow): ditto
8498
8499 2003-03-29  John Levon  <levon@movementarian.org>
8500
8501         * text2.C: do not clear selection after inc/decDepth
8502         (bug 550)
8503
8504 2003-03-29  John Levon  <levon@movementarian.org>
8505
8506         * BufferView.C:
8507         * buffer.C: fix broken strerrors according to Lars
8508
8509 2003-03-29  John Levon  <levon@movementarian.org>
8510
8511         * converters.C: more Alert cleanups
8512
8513 2003-03-29  John Levon  <levon@movementarian.org>
8514
8515         * bufferview_funcs.C: remove pointless Alert
8516
8517         * buffer.C: fix confusing error message when
8518         a template is chmoded 000
8519
8520 2003-03-29  John Levon  <levon@movementarian.org>
8521
8522         * BufferView.C:
8523         * BufferView.h:
8524         * BufferView_pimpl.C: Alert fixes
8525
8526         * Makefile.am:
8527         * tabular.C:
8528         * tabular-old.C: remove unused table compat reading
8529
8530 2003-03-29  John Levon  <levon@movementarian.org>
8531
8532         * BufferView.C:
8533         * buffer.C:
8534         * lyx_cb.h:
8535         * lyx_cb.C: more Alert cleanups
8536
8537         * lyxfunc.C: don't allow chktex if not latex document
8538
8539 2003-03-29  John Levon  <levon@movementarian.org>
8540
8541         * lyx_cb.C:
8542         * BufferView.C:
8543         * buffer.C: warnings pushed down from support/,
8544         kill err_alert
8545
8546 2003-03-29  John Levon  <levon@movementarian.org>
8547
8548         * lyxfunc.C: safety check for C-r (revert)
8549
8550 2003-03-29  John Levon  <levon@movementarian.org>
8551
8552         * bufferlist.h:
8553         * bufferlist.C: several UI fixes using Alert::prompt.
8554         Fix the pointless looping quit code. Fix stupid revert
8555         behaviour (bug 938)
8556
8557         * lyxvc.h:
8558         * lyxvc.C:
8559         * lyx_cb.C: use Alert::prompt
8560
8561         * lyx_main.C: remove a silly question
8562
8563         * lyxfunc.C: remove a couple of silly questions,
8564         use Alert::prompt
8565
8566 2003-03-28  John Levon  <levon@movementarian.org>
8567
8568         * text2.C: fix bug 974 (End on empty par)
8569
8570 2003-03-28  John Levon  <levon@movementarian.org>
8571
8572         * BufferView_pimpl.C:
8573         * LyXAction.C:
8574         * lfuns.h: remove do-nothing math greek lfuns
8575
8576 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8577
8578         * lyxgluelength.h (isValidGlueLength): add default arg on
8579         parameter 2. Remove default arg from friend in class.
8580
8581         * lyxlength.h (isValidLength): add default arg on parameter 2.
8582         Remove default arg from friend in class.
8583
8584         * text2.C (LyXText): adjust, initialize refresh_row.
8585         (init): adjust
8586         (removeRow): adjust
8587         (insertRow): adjust
8588         (insertParagraph): adjst
8589         (redoParagraphs): adjust
8590         (fullRebreak): adjust
8591         (updateCounters): adjust
8592         (deleteEmptyParagraphMechanism): first attempt at fixing a
8593         crashing bug.
8594
8595         * text.C (top_y): adjust
8596         (setHeightOfRow): adjust
8597         (getRow): adjust
8598         (getRowNearY): adjust
8599
8600         * lyxtext.h: include RowList.h
8601         (~LyXText): not needed anymore, deleted.
8602         (firstRow): modify for RowList
8603         (lastRow): new function
8604         Delete firstrow and lastrow class variables, add a Rowlist
8605         rowlist_ class variable.
8606
8607         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8608         paragraph is empty.
8609
8610         * RowList.C (insert): fix case where it == begin().
8611
8612 2003-03-26  Angus Leeming  <leeming@lyx.org>
8613
8614         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8615         the thesaurus dialog.
8616
8617 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8618
8619         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8620
8621         * RowList.[Ch]: new files
8622
8623         * ParagraphList.C (erase): handle the case where it == begin
8624         correctly.
8625
8626 2003-03-25  John Levon  <levon@movementarian.org>
8627
8628         * Makefile.am:
8629         * aspell_local.h:
8630         * aspell.C: add new aspell support
8631
8632         * lyxrc.h:
8633         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8634         have it accessible.
8635
8636 2003-03-25  Angus Leeming  <leeming@lyx.org>
8637
8638         * lfuns.h:
8639         * LyXAction.C (init): new LFUN_INSET_INSERT.
8640
8641         * BufferView_pimpl.C (dispatch): split out part of the
8642         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8643
8644         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8645         LFUN_INSET_APPLY.
8646
8647 2003-03-25  Angus Leeming  <leeming@lyx.org>
8648
8649         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8650
8651 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8652
8653         * text2.C:
8654         * text3.C: remove useless row->height(0)
8655
8656 2003-03-25  John Levon  <levon@movementarian.org>
8657
8658         * lyxtext.h:
8659         * text2.C:
8660         * text3.C: rename the refreshing stuff to better names
8661
8662 2003-03-24  John Levon  <levon@movementarian.org>
8663
8664         * BufferView_pimpl.h:
8665         * BufferView_pimpl.C: update layout choice on a mouse
8666         press/release
8667
8668 2003-03-23  John Levon  <levon@movementarian.org>
8669
8670         * Makefile.am: fix commandtags.h reference
8671
8672 2003-03-22  John Levon  <levon@movementarian.org>
8673
8674         * BufferView_pimpl.C:
8675         * lyxtext.h:
8676         * rowpainter.C:
8677         * rowpainter.h:
8678         * text.C:
8679         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8680
8681 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8682
8683         * lyxtext.h:
8684         * text.C: take the rtl methods out of line
8685
8686 2003-03-21 André Pönitz <poenitz@gmx.net>
8687
8688         * metricsinfo.[Ch]: new files containing structures to be passed around
8689         during the two-phase-drawing...
8690
8691 2003-03-21 André Pönitz <poenitz@gmx.net>
8692
8693         * lyxtextclass.C: read 'environment' tag.
8694
8695 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8696
8697         * text2.C (removeRow): fix bug 964
8698
8699 2003-03-20  John Levon  <levon@movementarian.org>
8700
8701         * rowpainter.C:
8702         * text.C:
8703         * text2.C: paint cleanups. Inset::update() dropped font
8704         parameter
8705
8706 2003-03-19  John Levon  <levon@movementarian.org>
8707
8708         * lyxfunc.C: only fitcursor/markDirty if available()
8709
8710 2003-03-19  John Levon  <levon@movementarian.org>
8711
8712         * commandtags.h: rename to ...
8713
8714         * lfuns.h: ... this, and renumber / cleanup
8715
8716 2003-03-19  John Levon  <levon@movementarian.org>
8717
8718         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8719         fit the cursor after an lfun
8720
8721         * BufferView.h:
8722         * BufferView.C:
8723         * BufferView_pimpl.h:
8724         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8725
8726         * LyXAction.C: layout-character should have ReadOnly
8727
8728         * ParagraphParameters.C:
8729         * buffer.C:
8730         * bufferview_funcs.C:
8731         * lyx_cb.C:
8732         * lyxfind.C:
8733         * lyxtext.h:
8734         * text.C:
8735         * text2.C:
8736         * text3.C:
8737         * undo_funcs.C: changes from above
8738
8739 2003-03-18  John Levon  <levon@movementarian.org>
8740
8741         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8742         remove it from update()
8743
8744         * lyxfunc.C: update layout choice after an lfun
8745
8746         * text3.C: remove extra updateLayoutChoice()s
8747
8748 2003-03-18  John Levon  <levon@movementarian.org>
8749
8750         * text.C: top_y change means full repaint, fix
8751         a drawing bug with cursor movement
8752
8753 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8754
8755         * lyxtext.h:
8756         * text.C:
8757         * text2.C: anchor row on setCursor
8758
8759 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8760
8761         * lyxtext.h: remove almost all mutable keywords
8762         * text.C:
8763         * text2.C:
8764         * text3.C: remove const keywords accordingly
8765
8766 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8767
8768         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8769         anon namespace
8770         (TeXEnvironment): ditto
8771         (TeXOnePar): ditto
8772
8773 2003-03-17  John Levon  <levon@movementarian.org>
8774
8775         * text.C (rowBreakPoint): remove attempt to fix displayed
8776         math insets inside a manual label
8777
8778 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8779
8780         * lyxtext.h: remove BufferView* as first arg from almost all class
8781         functions.
8782         * other files: adjust.
8783
8784 2003-03-17  John Levon  <levon@movementarian.org>
8785
8786         * lyxtext.h:
8787         * undo_funcs.C:
8788         * text2.C: more paint cleanups
8789
8790         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8791
8792         * rowpainter.h:
8793         * rowpainter.C: remove "smart" background painting code
8794
8795 2003-03-16  John Levon  <levon@movementarian.org>
8796
8797         * lyxtext.h:
8798         * text.C:
8799         * text2.C:
8800         * text3.C: add helper functions for setting refresh_row/y
8801
8802 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8803
8804         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8805         newline inset which *can* get inserted in the pass_thru layouts.
8806         This is primarily for literate documents.
8807
8808 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8809
8810         * buffer.C: increment LYX_FORMAT to 223
8811
8812 2003-03-14 André Pönitz <poenitz@gmx.net>
8813
8814         * textclass.h: prepare for environment handling, ws changes
8815         * lyxlayout.C: read latexheader and latexfooter tags
8816
8817 2003-03-14  John Levon  <levon@movementarian.org>
8818
8819         * text2.C: rewrite ::status() a bit
8820
8821 2003-03-13  John Levon  <levon@movementarian.org>
8822
8823         * lyxtext.h: add some docs
8824
8825 2003-03-13  John Levon  <levon@movementarian.org>
8826
8827         * lyxtext.h:
8828         * text.C:
8829         * text2.C:
8830         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8831
8832 2003-03-13  John Levon  <levon@movementarian.org>
8833
8834         * text3.C: fix appendix redrawing
8835
8836 2003-03-13  John Levon  <levon@movementarian.org>
8837
8838         * text.C (setHeightOfRow):
8839         * rowpainter.h:
8840         * rowpainter.C: make appendix mark have the text
8841           "Appendix" so the user knows what it is
8842
8843         * LColor.h:
8844         * LColor.C: s/appendixline/appendix/ from above
8845
8846 2003-03-13  John Levon  <levon@movementarian.org>
8847
8848         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8849
8850         * text.C: fix a getChar(pos) bug properly
8851
8852 2003-03-13  Angus Leeming  <leeming@lyx.org>
8853
8854         * commandtags.h:
8855         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8856         Probably only temporary. Let's see how things pan out.
8857
8858         * BufferView.C (unlockInset):
8859         * BufferView_pimpl.C (fitCursor):
8860         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8861
8862         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8863         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8864
8865         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8866         new functions that convert ParagraphParameters to and from a string.
8867
8868         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8869         BufferView::Pimpl's dispatch.
8870         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8871
8872 2003-03-13 André Pönitz <poenitz@gmx.net>
8873
8874         * lyxfunc.C:
8875         * text3.C:
8876         * factory.C: make it aware of InsetEnv
8877
8878 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8879
8880         * text2.C (setCursor): never ask for one past last
8881         (setCursor): add some debugging messages.
8882
8883         * text.C (singleWidth): never ask for one past last
8884         (singleWidth): ditto
8885         (leftMargin): ditto
8886         (rightMargin): ditto
8887         (rowBreakPoint): ditto
8888         (setHeightOfRow): ditto
8889         (prepareToPrint): ditto
8890
8891         * rowpainter.C (paintBackground): never ask for one past last
8892         (paintText): never ask for one past last
8893
8894         * paragraph_pimpl.C (getChar): make the assert stricter, never
8895         allow the one past last pos to be taken
8896
8897         * paragraph.C (getChar): ws changes only
8898
8899         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8900         (numberOfSeparators): ditto
8901         (numberOfHfills): ditto
8902
8903 2003-03-12  John Levon  <levon@movementarian.org>
8904
8905         * author.h:
8906         * author.C:
8907         * bufferparams.h:
8908         * bufferparams.C:
8909         * paragraph_funcs.C: fix per-buffer authorlists
8910
8911 2003-03-12  John Levon  <levon@movementarian.org>
8912
8913         * text.C: fix newline in right address
8914
8915 2003-03-12  Angus Leeming  <leeming@lyx.org>
8916
8917         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8918         duplicate those in LyXFunc::dispatch.
8919
8920         * commandtags.h:
8921         * LyXAction.C:
8922         * ToolbarDefaults.C:
8923         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8924         Add LFUN_FONTFREE_UPDATE.
8925
8926         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8927         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8928
8929         * bufferview_func.[Ch]: several new functions to facilliate
8930         transfer of data to and from the character dialog.
8931
8932 2003-03-12  John Levon  <levon@movementarian.org>
8933
8934         * buffer.C:
8935         * paragraph.h:
8936         * paragraph.C:
8937         * paragraph_funcs.C:
8938         * paragraph_pimpl.C:
8939         * sgml.C:
8940         * tabular.C:
8941         * text.C:
8942         * text3.C: remove META_NEWLINE in favour of an inset
8943
8944         * rowpainter.h:
8945         * rowpainter.C: remove paintNewline (done by inset)
8946
8947 2003-03-12  John Levon  <levon@movementarian.org>
8948
8949         * paragraph_pimpl.C: complain about bad getChar()s
8950         for a while at least
8951
8952 2003-03-12  John Levon  <levon@movementarian.org>
8953
8954         * buffer.h:
8955         * buffer.C: move paragraph read into a separate function,
8956         a little renaming to reflect that.
8957
8958         * bufferparams.h:
8959         * bufferparams.C: remove the author_ids map, not necessary now
8960
8961         * factory.h:
8962         * factory.C: moved Buffer::readInset to here
8963
8964         * paragraph_funcs.h:
8965         * paragraph_funcs.C: readParagraph free function moved from
8966         buffer.C
8967
8968         * tabular.C: name change
8969
8970 2003-03-12  John Levon  <levon@movementarian.org>
8971
8972         * buffer.C:
8973         * ParagraphParameters.C: move par params input to
8974         a read() method
8975
8976         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8977         behave like a normal read from the stream wrt reading
8978         a line vs. a \\token
8979
8980 2003-03-12  John Levon  <levon@movementarian.org>
8981
8982         * paragraph.C:
8983         * ParagraphParameters.h:
8984         * ParagraphParameters.C: move output code to a
8985         ::write() method
8986
8987 2003-03-12  John Levon  <levon@movementarian.org>
8988
8989         * BufferView.C (insertLyXFile):
8990         * buffer.h:
8991         * buffer.C:
8992         * tabular.C: use a parlist iterator for creating the
8993           document.
8994
8995 2003-03-12  John Levon  <levon@movementarian.org>
8996
8997         * buffer.C: make current_change static local not
8998           static file-scope
8999
9000 2003-03-12  John Levon  <levon@movementarian.org>
9001
9002         * buffer.C: fix insertStringAsLines for change tracking
9003
9004 2003-03-12  John Levon  <levon@movementarian.org>
9005
9006         * BufferView.C:
9007         * tabular.C:
9008         * buffer.h:
9009         * buffer.C:
9010         * bufferparams.h:
9011         * bufferparams.C: move author list into params. Rename some
9012           functions. Move the header reading into a separate token
9013           loop. Move the header token reading into BufferParams.
9014
9015 2003-03-12  John Levon  <levon@movementarian.org>
9016
9017         * changes.C: put debug inside lyxerr.debugging() checks
9018
9019 2003-03-11 André Pönitz <poenitz@gmx.net>
9020
9021         * factory.C: make it aware of InsetHFill
9022
9023 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9024
9025         * buffer.C (latexParagraphs): move function from here...
9026         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9027         args.
9028
9029 2003-03-10  Angus Leeming  <leeming@lyx.org>
9030
9031         * LyXAction.C (init): fix bug in poplating array with multiple entries
9032         with the same LFUN (spotted by JMarc).
9033
9034 2003-03-10  John Levon  <levon@movementarian.org>
9035
9036         * text.C:
9037         * text2.C: move getColumnNearX() near its
9038         only call site
9039
9040 2003-03-10  John Levon  <levon@movementarian.org>
9041
9042         * text.C: fix break before a minipage
9043
9044 2003-03-10  John Levon  <levon@movementarian.org>
9045
9046         * text.C: fix the last commit
9047
9048 2003-03-09  John Levon  <levon@movementarian.org>
9049
9050         * lyxtext.h:
9051         * text.C:
9052         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9053         bug 365 (don't break before insets unless needed). Don't
9054         return a value > last under any circumstances.
9055
9056 2003-03-09  Angus Leeming  <leeming@lyx.org>
9057
9058         * BufferView_pimpl.C (trackChanges, dispatch): call
9059         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9060
9061 2003-03-09  Angus Leeming  <leeming@lyx.org>
9062
9063         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9064         than Dialogs::showAboutlyx().
9065
9066 2003-03-09  Angus Leeming  <leeming@lyx.org>
9067
9068         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9069         than Dialogs::showTabularCreate().
9070
9071 2003-03-09  John Levon  <levon@movementarian.org>
9072
9073         * lyxtext.h:
9074         * text.C:
9075         * text2.C: 3rd arg to nextBreakPoint was always the same.
9076           Use references.
9077
9078 2003-03-08  John Levon  <levon@movementarian.org>
9079
9080         * lyxrow.C:
9081         * paragraph.C:
9082         * paragraph.h:
9083         * rowpainter.C:
9084         * text.C:
9085         * text2.C: Remove the "main" bit from the "main body"
9086           notion.
9087
9088 2003-03-08  John Levon  <levon@movementarian.org>
9089
9090         * text.C (leftMargin): The left margin of an empty
9091         manual label paragraph should not include the label width
9092         string length.
9093
9094         * text.C (prepareToPrint): don't attempt to measure hfills
9095         for empty manual label paragraphs - the answer should be 0
9096
9097 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9098
9099         * CutAndPaste.C: remove commented code and reindent.
9100
9101 2003-03-08  John Levon  <levon@movementarian.org>
9102
9103         * lyxfunc.h:
9104         * lyxfunc.C: move reloadBuffer()
9105
9106         * BufferView.h:
9107         * BufferView.C: to here
9108
9109         * lyxvc.C: add comment
9110
9111         * vc-backend.h:
9112         * vc-backend.C: call bv->reload() to avoid
9113           getStatus() check on MENURELOAD
9114
9115 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9116
9117         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9118         to an old format .dep file.
9119
9120 2003-03-07  Angus Leeming  <leeming@lyx.org>
9121
9122         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9123         when the LFUN_MOUSE_RELEASE should have been handled by
9124         inset->localDispatch.
9125
9126 2003-03-07  Angus Leeming  <leeming@lyx.org>
9127
9128         * BufferView_pimpl.C (dispatch):
9129         * LyXAction.C (init):
9130         * ToolbarDefaults.C (init):
9131         * commandtags.h:
9132         * lyxfunc.C (getStatus):
9133         remove LFUN_INSET_GRAPHICS.
9134
9135         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9136
9137 2003-03-07  Angus Leeming  <leeming@lyx.org>
9138
9139         * commandtags.h:
9140         * LyXAction.C (init):
9141         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9142
9143         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9144
9145         * commandtags.h:
9146         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9147
9148         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9149         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9150
9151 2003-03-07  Angus Leeming  <leeming@lyx.org>
9152
9153         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9154         remove "ert".
9155
9156 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9157
9158         * ParagraphList.C (front): new function
9159         (back): implement
9160
9161 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9162
9163         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9164         and top_row_offset_. removed var first_y.
9165         * text.C (top_y):
9166         * text2.C (LyXText, removeRow):
9167         * text3.C:
9168         * BufferView_pimpl.C:
9169         use these methods instead of using first_y
9170
9171 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9172
9173         * text2.C (pasteSelection): adjust for checkPastePossible
9174
9175         * CutAndPaste.C: remove Paragraph * buf and replace with
9176         ParagraphList paragraphs.
9177         (DeleteBuffer): delete
9178         (cutSelection): change the tc type to textclass_type
9179         (copySelection): change the tc type to textclass_type
9180         (copySelection): adjust for ParagraphList
9181         (pasteSelection): change the tc type to textclass_type
9182         (pasteSelection): adjust for Paragraphlist
9183         (nrOfParagraphs): simplify for ParagraphList
9184         (checkPastePossible): simplify for ParagraphList
9185         (checkPastePossible): remove unused arg
9186
9187         * ParagraphList.C (insert): handle the case where there are no
9188         paragraphs yet.
9189
9190         * CutAndPaste.h: make CutAndPaste a namespace.
9191
9192         * text3.C (dispatch): adjust
9193
9194         * text.C (breakParagraph): add a ParagraphList as arg
9195
9196         * paragraph_funcs.C (breakParagraph): change to take a
9197         BufferParams and a ParagraphList as args.
9198         (breakParagraphConservative): ditto
9199         (mergeParagraph): ditto
9200         (TeXDeeper): add a ParagraphList arg
9201         (TeXEnvironment): ditto
9202         (TeXOnePar): ditto
9203
9204         * buffer.C (readLyXformat2): adjust
9205         (insertStringAsLines): adjust
9206         (latexParagraphs): adjust
9207
9208         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9209         (cutSelection): adjust
9210         (pasteSelection): adjust
9211
9212         * BufferView_pimpl.C (insertInset): adjust
9213
9214 2003-03-05  Angus Leeming  <leeming@lyx.org>
9215
9216         * commandtags.h:
9217         * LyXAction.C (init):
9218         * BufferView_pimpl.C (dispatch):
9219         * lyxfunc.C (getStatus):
9220         remove LFUN_CHILD_INSERT.
9221
9222         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9223
9224 2003-03-05  Angus Leeming  <leeming@lyx.org>
9225
9226         * commandtags.h:
9227         * LyXAction.C (init):
9228         * src/factory.C (createInset):
9229         * lyxfunc.C (getStatus):
9230         * text3.C (dispatch):
9231         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9232
9233         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9234
9235 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9236
9237         * ParagraphList.C (insert): handle insert right before end()
9238         (erase): fix cases where it can be first or last paragraph.
9239
9240 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9241
9242         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9243         Paragraph::next and Paragraph::previous
9244         (TeXOnePar): ditto
9245
9246         * text.C (breakParagraph): adjust
9247
9248         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9249         BufferParams& as arg.
9250         (breakParagraph): use ParagraphList::insert
9251         (breakParagraphConservative): take a Buffer* instead of a
9252         BufferParams& as arg.
9253         (breakParagraphConservative): use ParagraphList::insert.
9254
9255         * buffer.C (insertStringAsLines): un-const it
9256         (insertStringAsLines): adjust
9257
9258         * ParagraphList.C (insert): new function
9259
9260         * CutAndPaste.C (pasteSelection): adjust
9261
9262         * text.C (backspace): adjust
9263
9264         * tabular.C (SetMultiColumn): adjust
9265
9266         * CutAndPaste.C (cutSelection): adjust
9267         (pasteSelection): adjust
9268
9269         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9270         Buffer const * as arg
9271
9272         * ParagraphList.C (erase): new function
9273         * paragraph_funcs.C (mergeParagraph): use it
9274         (mergeParagraph): make it take a Buffer* instead of a
9275         BufferParams* as arg
9276
9277         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9278         as arg
9279         (breakParagraphConservative): ditto
9280
9281         * paragraph.h: remove the breakParagraph friend
9282
9283         * paragraph.C (eraseIntern): new function
9284         (setChange): new function
9285
9286         * paragraph_funcs.C (mergeParagraph): make it take a
9287         ParagraphList::iterator instead of a Paragraph *, adjust
9288         accordingly.
9289
9290         * paragraph.h: move an #endif so that the change tracking stuff
9291         also works in the NO_NEXT case.
9292
9293 2003-03-04  Angus Leeming  <leeming@lyx.org>
9294
9295         * commandtags.h:
9296         * LyXAction.C: new LFUN_INSET_MODIFY.
9297
9298         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9299         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9300
9301 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9302
9303         * several files: ws changes only
9304
9305         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9306         (TeXEnvironment): ditto
9307         (TeXDeeper): ditto
9308
9309         * buffer.C (makeLaTeXFile): adjust
9310         (latexParagraphs): make it take ParagraphList::iterator as args
9311
9312 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9313
9314         * buffer.C (latexParagraphs): adjust
9315
9316         * paragraph.C (TeXOnePar): move function...
9317         (optArgInset): move function...
9318         (TeXEnvironment): move function...
9319         * paragraph_pimpl.C (TeXDeeper): move function...
9320         * paragraph_funcs.C: ...here
9321
9322         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9323
9324 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9325
9326         * buffer.C (readInset): remove compability code for old Figure and
9327         InsetInfo insets
9328
9329 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9330
9331         * buffer.C: ws changes
9332         (readInset):
9333
9334         * BufferView_pimpl.C: ditto
9335         * author.C: ditto
9336         * buffer.h: ditto
9337         * bufferlist.h: ditto
9338         * changes.h: ditto
9339         * lyxfunc.C: ditto
9340
9341 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9342
9343         * converter.[Ch]: split into itself +
9344         * graph.[Ch]
9345         * format.[Ch]
9346         * Makefile.am: += graph.[Ch] + format.[Ch]
9347         * MenuBackend.C
9348         * buffer.C
9349         * exporter.C
9350         * importer.C
9351         * lyx_main.C
9352         * lyxfunc.C
9353         * lyxrc.C: added #include "format.h"
9354
9355 2003-02-27  Angus Leeming  <leeming@lyx.org>
9356
9357         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9358           a label.
9359
9360         * factory.C (createInset): add "label" to the factory.
9361
9362         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9363           string and do no more.
9364
9365 2003-02-27  Angus Leeming  <leeming@lyx.org>
9366
9367         * commandtags.h:
9368         * LyXAction.C (init):
9369         * factory.C (createInset):
9370         * BufferView_pimpl.C (dispatch):
9371           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9372
9373         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9374
9375         * lyxfunc.C (dispatch):
9376         * text3.C (dispatch): pass name to params2string.
9377
9378 2003-02-26  Angus Leeming  <leeming@lyx.org>
9379
9380         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9381           blocks together.
9382           Rearrange the ~includes. Strip out the unnecessary ones.
9383
9384         * factory.C (createInset): reformat.
9385           create new insets for the various LFUN_XYZ_APPLY lfuns.
9386
9387 2003-02-26  John Levon  <levon@movementarian.org>
9388
9389         * lyxrow.h:
9390         * lyxrow.C: add isParStart,isParEnd helpers
9391
9392         * paragraph.h: make isInserted/DeletedText take refs
9393
9394         * paragraph_funcs.h:
9395         * paragraph_funcs.C: remove #if 0'd code
9396
9397         * lyxtext.h:
9398         * text3.C:
9399         * text2.C:
9400         * text.C: use lyxrow helpers above.
9401           Move draw and paint routines to RowPainter.
9402           Make several methods use refs not pointers.
9403           Make backgroundColor() const.
9404           Add markChangeInDraw(), isInInset().
9405           Merge changeRegionCase into changeCase.
9406           Make workWidth() shouldn't-happen code into an Assert.
9407
9408         * rowpainter.h:
9409         * rowpainter.C: new class for painting a row.
9410
9411         * vspace.h:
9412         * vspace.C: make inPixels take a ref
9413
9414 2003-02-26  Angus Leeming  <leeming@lyx.org>
9415
9416         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9417         LFUN_REF_APPLY.
9418
9419 2003-02-25  John Levon  <levon@movementarian.org>
9420
9421         * ispell.C: give the forked command a more accurate name
9422
9423 2003-02-22  John Levon  <levon@movementarian.org>
9424
9425         * toc.h:
9426         * toc.C: make TocItem store an id not a Paragraph *
9427           (bug #913)
9428
9429 2003-02-21  Angus Leeming  <leeming@lyx.org>
9430
9431         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9432           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9433           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9434           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9435           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9436           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9437
9438         * BufferView_pimpl.C (dispatch):
9439         * LyXAction.C (init):
9440         * factory.C (createInset):
9441         * lyxfunc.C (getStatus, dispatch):
9442         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9443
9444 2003-02-21  Angus Leeming  <leeming@lyx.org>
9445
9446         * BufferView_pimpl.C (MenuInsertLyXFile):
9447         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9448         * lyxfunc.C (menuNew, open, doImport):
9449           no longer pass a LyXView & to fileDlg.
9450
9451 2003-02-21  Angus Leeming  <leeming@lyx.org>
9452
9453         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9454         * LyXAction.C: change, BIBKEY to BIBITEM.
9455         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9456         Change InsetBibKey to InsetBibitem.
9457         Change BIBKEY_CODE to BIBITEM_CODE.
9458         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9459         * factory.C: replace insetbib.h with insetbibitem.h.
9460         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9461         * paragraph.C: replace insetbib.h with insetbibitem.h.
9462         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9463         Change bibkey() to bibitem().
9464         * text.C: remove insetbib.h.
9465         * text2.C: replace insetbib.h with insetbibitem.h.
9466         change bibkey() to bibitem().
9467         * text3.C: remove insetbib.h.
9468         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9469
9470 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9471
9472         * lyxrc.C (output): enclose user email in quotes (in case there are
9473         several words)
9474
9475 2003-02-18  John Levon  <levon@movementarian.org>
9476
9477         * buffer.h: add std::
9478
9479 2003-02-17  John Levon  <levon@movementarian.org>
9480
9481         * SpellBase.h:
9482         * ispell.h:
9483         * ispell.C:
9484         * pspell.h:
9485         * pspell.C: reworking. Especially in ispell, a large
9486           number of clean ups and bug fixes.
9487
9488         * lyxfunc.C: fix revert to behave sensibly
9489
9490 2003-02-17 André Pönitz <poenitz@gmx.net>
9491
9492         * LyXAction.C:
9493         * commandtags.h: new LFUN_INSERT_BIBKEY
9494
9495         * layout.h:
9496         * lyxlayout.C:
9497         * buffer.C:
9498         * factory.C:
9499         * text.C:
9500         * text2.C:
9501         * text3.C:
9502         * paragraph.[Ch]:
9503         * paragraph_func.C: remove special bibkey handling
9504
9505 2003-02-17  John Levon  <levon@movementarian.org>
9506
9507         * text.C (Delete): fix case where delete at the end of
9508           the very first paragraph would not merge the pars
9509
9510 2003-02-17  John Levon  <levon@movementarian.org>
9511
9512         * lyxrow.C: fix lastPrintablePos()
9513
9514 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9515
9516         * bufferparams.C (writeLaTeX): add a std:here
9517
9518         * buffer.C: and remove a using directive there
9519
9520 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9521
9522         * buffer.C (makeLaTeXFile): move the code that generates the
9523           preamble...
9524
9525         * bufferparams.C (writeLaTeX): ... in this new method
9526
9527         * LaTeXFeatures.C (getEncodingSet): make const
9528           (getLanguages): make const
9529
9530         * MenuBackend.C (binding): returns the binding associated to this
9531           action
9532           (add): sets the status of each item by calling getStatus. Adds
9533           some intelligence.
9534           (read): add support for OptSubMenu
9535           (expand): remove extra separator at the end of expanded menu
9536
9537 2003-02-15  John Levon  <levon@movementarian.org>
9538
9539         * BufferView.C:
9540         * BufferView_pimpl.C:
9541         * bufferlist.h:
9542         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9543           inset code that had no actual effect. Remove unneeded status
9544           code.
9545
9546 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9547
9548         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9549           in preamble
9550
9551 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9552
9553         * text.C (drawLengthMarker): also draw an arrow marker for
9554           symbolic lengths (medskip...)
9555
9556 2003-02-14  John Levon  <levon@movementarian.org>
9557
9558         * tabular.h:
9559         * tabular.C: better method names
9560
9561 2003-02-14  John Levon  <levon@movementarian.org>
9562
9563         * BufferView_pimpl.C:
9564         * bufferlist.C:
9565         * buffer.C:
9566         * converter.C:
9567         * lyx_cb.C:
9568         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9569           it's a more accurate name. Remove some pointless uses.
9570
9571 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9572
9573         * text2.C (LyXText): change order of initilizers to shut off
9574           warnings
9575
9576 2003-02-14  John Levon  <levon@movementarian.org>
9577
9578         * buffer.C: use ParIterator for getParFromID()
9579
9580         * paragraph.h:
9581         * paragraph.C:
9582         * paragraph_pimpl.h:
9583         * paragraph_pimpl.C: remove unused getParFromID()
9584
9585 2003-02-14  John Levon  <levon@movementarian.org>
9586
9587         * buffer.C: remove some very old #if 0'd parse code
9588
9589 2003-02-13  John Levon  <levon@movementarian.org>
9590
9591         * text.h:
9592         * text.C:
9593         * text2.C: move hfillExpansion(), numberOfSeparators(),
9594           rowLast(), rowLastPrintable(), numberofHfills(),
9595           numberOfLabelHfills() ...
9596
9597         * lyxrow.h:
9598         * lyxrow.C: ... to member functions here.
9599
9600         * paragraph.h:
9601         * paragraph.C:
9602         * lyxtext.h:
9603         * text.C: remove LyXText::beginningOfMainBody(), and call
9604           p->beginningOfMainBody() directly. Move the check for
9605           LABEL_MANUAL into the latter.
9606
9607         * text.h:
9608         * text.C:
9609         * text2.C:
9610         * vspace.C:
9611         * BufferView.h:
9612         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9613
9614         * text.h:
9615         * text.C:
9616         * text2.C:
9617         * text3.C:
9618         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9619           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9620
9621 2003-02-13  John Levon  <levon@movementarian.org>
9622
9623         * CutAndPaste.C: remove debug
9624
9625 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9626
9627         * paragraph.C (asString): remove two unused variables
9628
9629         * lyxtextclass.C (readTitleType):
9630           (Read):
9631           (LyXTextClass): handle new members titletype_ and titlename_
9632
9633         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9634
9635 2003-02-09  John Levon  <levon@movementarian.org>
9636
9637         * buffer.h:
9638         * buffer.C: replace hand-coded list with a map for the dep clean
9639
9640 2003-02-08  John Levon  <levon@movementarian.org>
9641
9642         * LaTeX.C: consolidate code into showRunMessage() helper
9643
9644 2003-02-08  John Levon  <levon@movementarian.org>
9645
9646         * lyxfind.C:
9647         * lyxtext.h:
9648         * text2.C:
9649         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9650           and pass the size in explicitly
9651
9652         * BufferView_pimpl.h:
9653         * BufferView_pimpl.C:
9654         * BufferView.h:
9655         * BufferView.C: add getCurrentChange()
9656
9657         * BufferView_pimpl.h:
9658         * BufferView_pimpl.C: handle change lfuns
9659
9660         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9661           for changes. Mark pasted paragraphs as new.
9662
9663         * support/lyxtime.h:
9664         * support/lyxtime.C:
9665         * DepTable.C: abstract time_t as lyx::time_type
9666
9667         * LColor.h:
9668         * LColor.C: add colours for new text, deleted text, changebars
9669
9670         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9671           package use "usenames" option.
9672
9673         * commandtags.h:
9674         * lyxfunc.C:
9675         * LyXAction.C: add change lfuns
9676
9677         * Makefile.am:
9678         * author.h:
9679         * author.C: author handling
9680
9681         * buffer.h:
9682         * buffer.C: add a per-buffer author list, with first entry as
9683           current author. Handle new .lyx tokens for change tracking. Output
9684           author list to .lyx file. Output dvipost stuff to .tex preamble.
9685           Bump lyx format to 222.
9686
9687         * bufferlist.h:
9688         * bufferlist.C: add setCurrentAuthor() to reset current author details
9689           in all buffers.
9690
9691         * bufferparams.h:
9692         * bufferparams.C: add param for tracking
9693
9694         * bufferview_funcs.C: output change info in minibuffer
9695
9696         * Makefile.am:
9697         * changes.h:
9698         * changes.C: add change-tracking structure
9699
9700         * debug.h:
9701         * debug.C: add CHANGES debug flag
9702
9703         * lyxfind.h:
9704         * lyxfind.C: add code for finding the next change piece
9705
9706         * lyxrc.h:
9707         * lyxrc.C: add user_name and user_email
9708
9709         * lyxrow.h:
9710         * lyxrow.C: add a metric for the top of the text line
9711
9712         * lyxtext.h:
9713         * text.C: implement accept/rejectChange()
9714
9715         * lyxtext.h:
9716         * text.C: paint changebars. Paint new/deleted text in the chosen
9717         colours. Strike through deleted text.
9718
9719         * paragraph.h:
9720         * paragraph.C:
9721         * paragraph_pimpl.h:
9722         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9723           in the current change to the insert functions. Rework erase to
9724           mark text as deleted, adding an eraseIntern() and a range-based
9725           erase(). Implement per-paragraph change lookup and
9726           accept/reject.
9727
9728         * paragraph_funcs.C: Fixup paste for change tracking.
9729
9730         * tabular.C: mark added row/columns as new.
9731
9732         * text.C: fix rowLast() to never return -1. Don't allow
9733           spellchecking of deleted text. Track transpose changes. Don't
9734           allow paragraph break or merge where appropriate.
9735
9736         * text2.C: leave cursor at end of selection after a cut.
9737
9738 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9739
9740         * text.C (getLengthMarkerHeight):
9741         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9742         visible on screen too.
9743
9744 2003-02-07  John Levon  <levon@movementarian.org>
9745
9746         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9747
9748 2003-02-05  Angus Leeming  <leeming@lyx.org>
9749
9750         * lyxserver.C (read_ready): revert my patch of 11 September last year
9751         as it sends PC cpu through the roof. Presumably this means that
9752         the lyxserver will no longer run on an Alpha...
9753
9754 2003-01-30  Angus Leeming  <leeming@lyx.org>
9755
9756         * factory.C (createInset): create an InsetCommandParam of type "index"
9757         and use it to 'do the right thing'.
9758
9759         * text2.C (getStringToIndex): ensure that cursor position is always
9760         reset to the reset_cursor position.
9761
9762 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9763
9764         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9765         disabled.
9766
9767 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9768
9769         * bufferview.C:
9770         * lyxcb.C:
9771         * lyxfunc.C: Output messages with identical spelling, punctuation,
9772         and spaces
9773
9774 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9775
9776         * MenuBackend.C (expandFormats): List only viewable export formats
9777         in "View" menu
9778
9779         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9780         message
9781
9782         * lyxfunc.C (getStatus): Make sure that formats other than
9783         "fax" can also be disabled
9784
9785 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9786
9787         * text3.C (dispatch): put the lfuns that insert insets in 3
9788         groups, and call doInsertInset with appropriate arguments.
9789         (doInsertInset): new function, that creates an inset and inserts
9790         it according to some boolean parameters.
9791
9792 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9793
9794         * buffer.C (readFile): remember to pass on 'par' when calling
9795         readFile recursively.
9796
9797 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9798
9799         * MenuBackend.C (expandFormats): add "..." to import formats.
9800
9801 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9802
9803         * paragraph.C (asString): Remove XForms RTL hacks.
9804
9805 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9806         * buffer.C: fix typo
9807
9808 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9809
9810         * Makefile.am (LIBS): delete var
9811         (lyx_LDADD): add @LIBS@ here instead.
9812
9813 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9814
9815         * Clarify the meaning of "wheel mouse jump"
9816
9817 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9818
9819         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9820         tabular in a float
9821
9822 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9823
9824         * importer.C (Loaders): do not preallocate 3 elements in the
9825         vector, since one ends up with 6 elements otherwise
9826
9827 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9828
9829         * DepTable.C (write): write the file name as last element of the
9830         .dep file (because it may contain spaces)
9831         (read): read info in the right order
9832
9833 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9834
9835         * paragraph_pimpl.C (simpleTeXBlanks):
9836         (simpleTeXSpecialChars):
9837         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9838
9839         * tabular.C (latex): add some missing case statements. Reindent.
9840
9841         * MenuBackend.C (expandToc): remove unused variable.
9842
9843 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9844
9845         * LColor.C:
9846         * LaTeX.C:
9847         * LyXAction.C:
9848         * MenuBackend.C:
9849         * buffer.C:
9850         * exporter.C:
9851         * lyxfunc.C:
9852         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9853         and the like.
9854
9855 2003-01-05  John Levon  <levon@movementarian.org>
9856
9857         * BufferView.h:
9858         * BufferView.C: add getEncoding()
9859
9860         * kbsequence.h:
9861         * kbsequence.C: do not store last keypress
9862
9863         * lyxfunc.h:
9864         * lyxfunc.C: store last keypress here instead. Pass encoding
9865           to getISOEncoded()
9866
9867 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9868
9869         * lyx_main.C (init): remove annoying error message when following
9870         symbolic links (bug #780)
9871
9872 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9873
9874         * text.C (insertChar):
9875         * lyxrc.C (getDescription): remove extra spaces
9876
9877 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9878
9879         * lyxrc.C (getDescription): remove extra spaces
9880
9881 2002-12-20  John Levon  <levon@movementarian.org>
9882
9883         * text3.C: hack fix for page up/down across tall rows
9884
9885 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9886
9887         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9888         not been invoked
9889
9890 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9891
9892         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9893         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9894         thesaurus is not compiled in
9895
9896 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9897
9898         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9899
9900 2002-12-16  Angus Leeming  <leeming@lyx.org>
9901
9902         * lyxrc.[Ch]:
9903         * lyx_main.C (init): remove override_x_deadkeys stuff.
9904
9905 2002-12-12  John Levon  <levon@movementarian.org>
9906
9907         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9908           insert. Only remove shift modifier under strict
9909           circumstances.
9910
9911 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9912
9913         * MenuBackend.C (expandToc): fix crash.
9914
9915 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9916
9917         * MenuBackend.C (expandToc): gettext on float names.
9918
9919 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9920
9921         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9922         implement bool empty() [bug 490]
9923
9924 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9925
9926         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9927
9928 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9929
9930         * several files: ws changes
9931
9932 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9933
9934         * text2.C (setCounter): clean up a bit, use boost.format.
9935         (updateCounters): initialize par upon declaration.
9936
9937         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9938         if the layout exists. We do not just store the layout any more.
9939         (SwitchLayoutsBetweenClasses): use boost.format
9940
9941 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9942
9943         * converter.C (convert): if from and to files are the same, use a
9944         temporary files as intermediary
9945
9946 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9947
9948         * commandtags.h:
9949         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9950
9951 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9952
9953         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9954
9955 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9956
9957         * tabular.C (asciiPrintCell): use string(size, char) instead of
9958         explicit loop.
9959
9960         * sgml.C (openTag): fix order of arguments to string constructor
9961         (closeTag): ditto
9962
9963         * lyxfunc.C (dispatch): use boost.format
9964
9965         * lots of files: change "c" -> 'c'
9966
9967 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9968
9969         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9970
9971 2002-11-25  Angus Leeming  <leeming@lyx.org>
9972
9973         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9974
9975         * lyx_main.C (init): compile fix.
9976
9977 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9978
9979         * lyx_cb.C (start): boost.formatify
9980         do not include <iostream>
9981
9982         * lengthcommon.C: ws only
9983
9984         * boost-inst.C,BoostFormat.h: add more explict instantations
9985
9986 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9987
9988         * lots of files: handle USE_BOOST_FORMAT
9989
9990 2002-11-21  John Levon  <levon@movementarian.org>
9991
9992         * pspell.C: fix compile
9993
9994 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9995
9996         * lyxfunc.C (dispatch): use boost::format
9997         (open): ditto
9998         (doImport): ditto
9999
10000         * lyxfont.C (stateText): use boost::format
10001
10002         * lyx_main.C (LyX): use boost::format
10003         (init): ditto
10004         (queryUserLyXDir): ditto
10005         (readRcFile): ditto
10006         (parse_dbg): ditto
10007         (typedef boost::function): use the recommened syntax.
10008
10009         * importer.C (Import): use boost::format
10010
10011         * debug.C (showLevel): use boost::format
10012
10013         * converter.C (view): use boost::format
10014         (convert): ditto
10015         (move): ditto
10016         (scanLog): ditto
10017
10018         * bufferview_funcs.C (currentState): use boost::format
10019
10020         * bufferlist.C (emergencyWrite): use boost::format
10021
10022         * buffer.C (readLyXformat2): use boost::format
10023         (parseSingleLyXformat2Token): ditto
10024
10025         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10026
10027         * LaTeX.C (run): use boost::format
10028
10029         * Chktex.C (scanLogFile): use boost::format
10030
10031         * BufferView_pimpl.C (savePosition): use boost::format
10032         (restorePosition): ditto
10033         (MenuInsertLyXFile): ditto
10034
10035         * BoostFormat.h: help file for explicit instation.
10036
10037 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10038
10039         * tabular.C (latex): Support for block alignment in fixed width
10040         columns.
10041
10042 2002-11-17  John Levon  <levon@movementarian.org>
10043
10044         * BufferView_pimpl.C:
10045         * lyx_cb.C:
10046         * lyxfunc.C: split filedialog into open/save
10047
10048 2002-11-08  Juergen Vigna  <jug@sad.it>
10049
10050         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10051         by my last patch (hopefully).
10052
10053 2002-11-08  John Levon  <levon@movementarian.org>
10054
10055         * iterators.h:
10056         * iterators.C:
10057         * buffer.h:
10058         * buffer.C:
10059         * paragraph.h:
10060         * paragraph.C:
10061         * toc.h:
10062         * toc.C: ParConstIterator, and use it (from Lars)
10063
10064 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10065
10066         * lyxtextclass.[Ch]: revise and add doxygen comments
10067
10068 2002-11-07  John Levon  <levon@movementarian.org>
10069
10070         * text.C: fix progress value for spellchecker
10071
10072         * toc.C: fix navigate menu for insetwrap inside minipage
10073
10074         * paragraph_funcs.C: added FIXME for suspect code
10075
10076 2002-11-07  John Levon  <levon@movementarian.org>
10077
10078         * BufferView_pimpl.C: fix redrawing of insets
10079           on buffer switch
10080
10081 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10082
10083         * text2.C (updateCounters): fix bug 668
10084
10085 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10086
10087         * text3.C (dispatch): Do not make the buffer dirty when moving the
10088         cursor.
10089
10090 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10091
10092         * vc-backend.C: STRCONV
10093         (scanMaster): ditto
10094
10095         * text2.C (setCounter): STRCONV
10096
10097         * paragraph.C (asString): STRCONV
10098
10099         * lyxlength.C (asString): STRCONV
10100         (asLatexString): ditto
10101
10102         * lyxgluelength.C (asString): STRCONV
10103         (asLatexString): ditto
10104
10105         * lyxfunc.C (dispatch): STRCONV
10106         (open): ditto
10107
10108         * lyxfont.C (stateText): STRCONV
10109
10110         * importer.C (Import): STRCONV
10111
10112         * counters.C (labelItem): STRCONV
10113         (numberLabel): ditto
10114         (numberLabel): remove unused ostringstream o
10115
10116         * chset.C: STRCONV
10117         (loadFile): ditto
10118
10119         * bufferview_funcs.C (currentState): STRCONV
10120
10121         * buffer.C (readFile): STRCONV
10122         (asciiParagraph): ditto
10123         (makeLaTeXFile): ditto
10124
10125         * Spacing.C (writeEnvirBegin): STRCONV
10126
10127         * LaTeXFeatures.C (getLanguages): STRCONV
10128         (getPackages): ditto
10129         (getMacros): ditto
10130         (getBabelOptions): ditto
10131         (getTClassPreamble): ditto
10132         (getLyXSGMLEntities): ditto
10133         (getIncludedFiles): ditto
10134
10135         * LaTeX.C: STRCONV
10136         (run): ditto
10137         (scanAuxFile): ditto
10138         (deplog): ditto
10139
10140         * LString.h: add the STRCONV macros
10141
10142         * BufferView_pimpl.C (savePosition): STRCONV
10143         (restorePosition): ditto
10144         (MenuInsertLyXFile): ditto
10145
10146         * vc-backend.C (scanMaster): change from submatch[...] to
10147         submatch.str(...)
10148
10149         * funcrequest.C: include config.h
10150
10151         * factory.C: include config.h
10152
10153         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10154
10155         * box.C: include config.h
10156
10157         * LaTeX.C (scanAuxFile): change from submatch[...] to
10158         submatch.str(...)
10159         (deplog): ditto
10160
10161 2002-10-25  Angus Leeming  <leeming@lyx.org>
10162
10163         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10164
10165         * ispell.[Ch] (setError): new method.
10166         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10167         Use setError() insetead of goto END.
10168
10169         * lyx_cb.C (AutoSave): move out child process into new class
10170         AutoSaveBuffer.
10171
10172 2002-10-30  John Levon  <levon@movementarian.org>
10173
10174         * text3.C: make start appendix undoable
10175
10176 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10177
10178         * lyxlength.C (inPixels): Fix returned value.
10179
10180         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10181         environment.
10182
10183 2002-10-24  Angus Leeming  <leeming@lyx.org>
10184
10185         * lyxgluelength.h: no need to forward declare BufferParams
10186         or BufferView, so don't.
10187
10188 2002-10-21  John Levon  <levon@movementarian.org>
10189
10190         * BufferView.C: menuUndo ->undo, redo
10191
10192         * BufferView.h: document, remove dead, make some methods private
10193
10194         * paragraph_funcs.h:
10195         * paragraph_funcs.C:
10196         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10197
10198         * buffer.h:
10199         * buffer.C:
10200         * sgml.h:
10201         * sgml.C: move sgml open/close tag into sgml.C
10202
10203         * bufferview_funcs.h: unused prototype
10204
10205         * lyxfunc.h:
10206         * lyxfunc.C: remove unused
10207
10208         * lyxtext.h:
10209         * text.C: remove unused
10210
10211 2002-10-21  John Levon  <levon@movementarian.org>
10212
10213         * BufferView.h:
10214         * BufferView.C:
10215         * BufferView_pimpl.h:
10216         * BufferView_pimpl.C: fix mouse wheel handling based on
10217           patch from Darren Freeman
10218
10219 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10220
10221         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10222
10223 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10224
10225         * lyxlength.C (inPixels): Fix hanfling of negative length.
10226         Fix LyXLength::MU case.
10227
10228 2002-10-16  John Levon  <levon@movementarian.org>
10229
10230         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10231
10232 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10233
10234         * converter.C (view): add support for $$i (file name) and $$p
10235         (file path) for the viewer command. If $$i is not specified, then
10236         it is appended to the command (for compatibility with old syntax)
10237
10238 2002-10-14  Juergen Vigna  <jug@sad.it>
10239
10240         * undo_funcs.C (textHandleUndo): alter the order in which the
10241         new undopar is added to the LyXText, as we have to set first
10242         the right prev/next and then add it as otherwise the rebuild of
10243         LyXText is not correct. Also reset the cursor to the right paragraph,
10244         with this IMO we could remove the hack in "redoParagraphs()".
10245
10246 2002-10-09  Angus Leeming  <leeming@lyx.org>
10247
10248         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10249         to turn off an optimisation if a new inset is to be inserted.
10250
10251 2002-10-11 André Pönitz <poenitz@gmx.net>
10252
10253         * lyxtext.h: make some functions public to allow access
10254         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10255
10256 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10257
10258         * text3.C (dispatch): when changing layout, avoid an infinite loop
10259         [bug #652]
10260
10261 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10262
10263         * lyxrc.C (read): treat a viewer or converter command of "none" as
10264         if it were empty.
10265
10266         * MenuBackend.C (expandFormats): for an update, also allow the
10267         formats that are not viewable
10268
10269         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10270         script if it is newer than the lyxrc.defaults in user directory
10271
10272 2002-10-07 André Pönitz <poenitz@gmx.net>
10273
10274         * text.C: Vitaly Lipatov's small i18n fix
10275
10276 2002-09-25  Angus Leeming  <leeming@lyx.org>
10277
10278         * ispell.h: doxygen fix.
10279
10280 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10281
10282         * buffer.h (readFile): Add a new argument to the method, to allow
10283         reading of old-format templates.
10284
10285 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10286
10287         * toc.C (getTocList): Get TOC from InsetWrap.
10288
10289 2002-09-16  John Levon  <levon@movementarian.org>
10290
10291         * lyxfunc.C: check tabular for cut/copy too
10292
10293 2002-09-12  John Levon  <levon@movementarian.org>
10294
10295         * LyXAction.C: tidy
10296
10297         * factory.h:
10298         * factory.C: add header
10299
10300         * paragraph_funcs.h:
10301         * paragraph_funcs.C: cleanup
10302
10303 2002-09-11  John Levon  <levon@movementarian.org>
10304
10305         * PrinterParams.h: odd/even default to true
10306
10307 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10308
10309         * PrinterParams.h: update printer parameters for new xforms dialog
10310
10311 2002-09-11  Angus Leeming  <leeming@lyx.org>
10312
10313         * lyxserver.C (read_ready): re-write to make it more transparent
10314         and to make it work in coherent fashion under Tru64 Unix.
10315
10316 2002-09-11  André Pönitz <poenitz@gmx.net>
10317
10318         * commandtags.h:
10319         * LyXAction.C:
10320         * text3.C: implement LFUN_WORDSEL
10321
10322 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10323
10324         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10325         make floatlist_ a boost::shared_ptr<FloatList>
10326
10327         * lyxtextclass.C: include FloatList.h
10328         (LyXTextClass): initialize floatlist_
10329         (TextClassTags): add TC_NOFLOAT
10330         (Read): match "nofloat" to TC_NOFLOAT and use it.
10331         (readFloat): modify call to floatlist_
10332         (floats): ditto
10333         (floats): ditto
10334
10335         * FloatList.[Ch] (FloatList): remove commented out float
10336         initialization.
10337         (erase): new function
10338
10339 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10340
10341         * MenuBackend.C (expandToc): fix crash when there is no document
10342         open
10343
10344 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10345
10346         * many files: Add insetwrap.
10347
10348 2002-09-09  John Levon  <levon@movementarian.org>
10349
10350         * text2.C: remove confusing and awkward depth wraparound
10351
10352 2002-09-09  John Levon  <levon@movementarian.org>
10353
10354         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10355
10356         * buffer.h:
10357         * buffer.C: remove getIncludeonlyList()
10358
10359         * paragraph.C:
10360         * lyxfunc.C: remove headers
10361
10362 2002-09-09  Juergen Vigna  <jug@sad.it>
10363
10364         * text.C (getColumnNearX): fix form Michael this is most
10365         probably a cut&paste bug.
10366
10367 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10368
10369         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10370
10371         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10372         references, ws changes.
10373
10374         * text2.C (init): update counters after init
10375         (insertParagraph): no need to set counter on idividual paragraphs.
10376         (setCounter): access the counters object in the textclass object
10377         on in the buffer object.
10378         (updateCounters): ditto
10379
10380         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10381         shared_ptr<Counters> to avoid loading counters.h in all
10382         compilation units.
10383         (LyXTextClass): initialize ctrs_
10384         (TextClassTags): add TC_COUNTER, and ...
10385         (Read): use it here.
10386         (CounterTags): new tags
10387         (readCounter): new function
10388         (counters): new funtion
10389         (defaultLayoutName): return a const reference
10390
10391         * counters.C (Counters): remove contructor
10392         (newCounter): remove a couple of unneeded statements.
10393         (newCounter): simplify a bit.
10394         (numberLabel): some small formatting changes.
10395
10396         * buffer.[Ch]: remove all traces of counters, move the Counters
10397         object to the LyXTextClass.
10398
10399 2002-09-06  Alain Castera  <castera@in2p3.fr>
10400
10401         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10402         package to set the horizontal alignment on fixed width columns.
10403
10404         * lyx_sty.C:
10405         * lyx_sty.h: added tabularnewline macro def.
10406
10407         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10408
10409 2002-09-06  John Levon  <levon@movementarian.org>
10410
10411         * LyXAction.C: tooltips for sub/superscript
10412
10413         * MenuBackend.C: a bit more verbose
10414
10415         * lyxfunc.C: tiny clean
10416
10417         * undo_funcs.C: document undo_frozen
10418
10419 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10420
10421         * counters.C (Counters): add missing algorithm counter.
10422
10423         * text2.C (setCounter): lookup the counter with layouts latexname
10424         instead of by section number.
10425         (setCounter): use a hackish way to lookup the correct enum
10426         counter.
10427         a float name->type change
10428         reset enum couners with counter name directly instead of depth value.
10429
10430         * counters.C (Counters): remove the push_backs, change to use the
10431         float type not the float name.
10432         (labelItem): remove unused string, float name->type change
10433
10434         * counters.h: don't include vector, loose the enums and sects vectors
10435
10436 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10437
10438         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10439         (Read): add float->TC_FLOAT to textclassTags
10440         (Read): and handle it in the switch
10441         (readFloat): new function
10442
10443         * FloatList.C (FloatList): comment out the hardcoded float
10444         definitions.
10445
10446         * lyxlayout.h: ws change.
10447
10448 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10449
10450         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10451
10452 2002-09-03  Angus Leeming  <leeming@lyx.org>
10453
10454         * BufferView_pimpl.h: qualified name is not allowed in member
10455         declaration: WorkArea & Pimpl::workarea() const;
10456
10457         * factory.C: added using std::endl directive.
10458
10459         * text3.C: added using std::find and std::vector directives.
10460
10461 2002-08-29  André Pönitz <poenitz@gmx.net>
10462
10463         * lyxtext.h:
10464         * text2.C: remove unused member number_of_rows
10465
10466         * Makefile.am:
10467         * BufferView2.C: remove file, move contents to...
10468         * BufferView.C: ... here
10469
10470         * BufferView_pimpl.C:
10471         * factory.C: move more inset creation to factory
10472
10473         * vspace.C: avoid direct usage of LyXText, ws changes
10474
10475         * BufferView.[Ch]:
10476                 don't provide direct access to WorkArea, use two simple
10477                 acessors haveSelction() and workHeight() instead
10478
10479
10480 2002-08-29  John Levon  <levon@movementarian.org>
10481
10482         * BufferView_pimpl.C (dispatch): do not continue when
10483           no buffer
10484
10485 2002-08-28  André Pönitz <poenitz@gmx.net>
10486
10487         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10488
10489         * BufferView.h:
10490         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10491
10492 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10493
10494         * buffer.C: increment LYX_FORMAT to 221
10495
10496         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10497         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10498
10499         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10500
10501         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10502
10503 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10504
10505         * factory.C (createInset): use LyXTextClass::floats
10506
10507         * MenuBackend.C (expandFloatListInsert):
10508         (expandFloatInsert):
10509         (expandToc):
10510
10511         * text2.C (setCounter):
10512
10513         * LaTeXFeatures.C (useFloat):
10514         (getFloatDefinitions):
10515
10516         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10517
10518         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10519         floatlist_, with accessor floats().
10520
10521         * FloatList.h: remove global FloatList
10522
10523 2002-08-26  André Pönitz <poenitz@gmx.net>
10524
10525         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10526
10527         * BufferView.h:
10528         * BufferView2.C:
10529         * BufferView_pimpl.C:
10530         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10531
10532 2002-08-25  John Levon  <levon@movementarian.org>
10533
10534         * LyXAction.C: fix margin note description
10535
10536 2002-08-24  John Levon  <levon@movementarian.org>
10537
10538         * buffer.C:
10539         * bufferlist.C:
10540         * bufferview_funcs.C:
10541         * lyxfont.C:
10542         * undo_funcs.C: cleanups
10543
10544         * lyxfunc.C: disable CUT/COPY when no selection
10545
10546 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10547
10548         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10549         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10550
10551         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10552         Add backward compatibility to "mono", "gray" and "no".
10553
10554 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10555
10556         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10557         (and file_format >= 200).
10558
10559 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10560
10561         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10562
10563 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10564
10565         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10566
10567 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10568
10569         * BufferView_pimpl.C:
10570         * LyXAction.C:
10571         * buffer.C:
10572         * commandtags.h:
10573         * lyxfunc.C:
10574         * paragraph.[Ch]:
10575         * text2.C:
10576         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10577         inset and code to make it  work with the paragraph code. The inset
10578         can be anywhere in the paragraph, but will only do the expected
10579         thing in LaTeX if the layout file contains the parameter line
10580                         OptionalArgs    1
10581         (or more generally, a nonzero value) for that layout.
10582
10583 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10584
10585         * paragraph.h: remove the declaration of undefined counters class
10586         function.
10587
10588 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10589
10590         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10591         Dr. Richard Hawkins.
10592
10593 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10594
10595         * paragraph_funcs.h: remove some unneeded includes
10596
10597         * text.C (backspace): pasteParagraph now in global scipe
10598
10599         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10600         (pasteSelection): ditto
10601
10602         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10603         * paragraph_funcs.C (pasteParagraph): ... here
10604
10605 2002-08-20  André Pönitz <poenitz@gmx.net>
10606
10607         * commandtags.h: new LFUNs for swapping/copying table row/colums
10608
10609         * LyXAction.C:
10610         * lyxfunc.C: support for new lfuns
10611
10612 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10613
10614         * tabular.C:
10615         * buffer.[Ch]: remove NO_COMPABILITY stuff
10616
10617 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10618
10619         * boost.C (throw_exception): new file, with helper function for
10620         boost compiled without exceptions.
10621
10622         * paragraph.h:
10623         * lyxlength.C:
10624         * buffer.C:
10625         * ParameterStruct.h:
10626         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10627
10628         * bufferlist.C (emergencyWriteAll): use boost bind
10629
10630         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10631
10632         * text.C: include paragraph_funcs.h
10633         (breakParagraph): breakParagraph is now in global scope
10634
10635         * paragraph_funcs.[Ch]: new files
10636
10637         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10638         global scope
10639
10640         * buffer.C: include paragraph_funcs.h
10641         (insertStringAsLines): breakParagraph is now in global scope
10642
10643         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10644         paragraph_funcs.C
10645
10646         * CutAndPaste.C: include paragraph_funcs.h
10647         (cutSelection): breakParagraphConservative is now in global scope
10648         (pasteSelection): ditto
10649
10650         * buffer.h: declare oprator== and operator!= for
10651         Buffer::inset_iterator
10652
10653         * bufferlist.C (emergencyWrite): don't use fmt(...)
10654
10655         * text3.C: add using std::endl
10656
10657         * BufferView.C (moveCursorUpdate): remove default arg
10658
10659 2002-08-20  André Pönitz <poenitz@gmx.net>
10660
10661         * buffer.[Ch]: move inline functions to .C
10662
10663         * BufferView2.C:
10664         * BufferView_pimpl.C:
10665         * text.C:
10666         * buffer.[Ch]: use improved inset_iterator
10667
10668         * buffer.C:
10669         * paragraph.[Ch]: write one paragraph at a time
10670
10671 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10672
10673         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10674         style if style is not specified.
10675
10676 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10677
10678         * text2.C (setCounter): when searching for right label for a
10679         caption, make sure to recurse to parent insets (so that a caption
10680         in a minipage in a figure float works) (bug #568)
10681
10682 2002-08-20  André Pönitz <poenitz@gmx.net>
10683
10684         * text3.C: new file for LyXText::dispatch() and helpers
10685
10686         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10687
10688         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10689
10690 2002-08-19  André Pönitz <poenitz@gmx.net>
10691
10692         * lyxtext.h:
10693         * text.C: new LyXText::dispatch()
10694
10695         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10696
10697 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10698
10699         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10700
10701         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10702         Hebrew text.
10703
10704 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10705
10706         * Makefile.am: use $(variables) instead of @substitutions@
10707
10708 2002-08-15  André Pönitz <poenitz@gmx.net>
10709
10710         * lyxfunc.C:
10711         * BufferView_pimpl.C: streamlining mathed <-> outer world
10712         interaction
10713
10714         * commandtags.h:
10715         * LyXAction.C: remove unused LFUN_MATH
10716
10717 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10718
10719         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10720
10721 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10722
10723         * paragraph.C (Paragraph): reformat a bit
10724         (cutIntoMinibuffer): use builtin InsetList function instad of
10725         doing it manually.
10726         (getInset): ditto
10727
10728         * buffer.C: include boost/bind.hpp, add using std::for_each
10729         (writeFileAscii): use ParagraphList iterators
10730         (validate): use for_each for validate traversal of paragraphs
10731         (getBibkeyList): use ParagraphList iterators
10732         (resizeInsets): use for_each to resizeInsetsLyXText for all
10733         paragraphs.
10734         (getParFromID): use ParagraphList iterators
10735
10736         * BufferView2.C (lockInset): use paragraph list and iterators
10737
10738 2002-08-14  John Levon  <levon@movementarian.org>
10739
10740         * lyxserver.C: remove spurious xforms include
10741
10742 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10743
10744         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10745
10746 2002-08-13  André Pönitz <poenitz@gmx.net>
10747
10748         * LyXAction.[Ch]:
10749         * lyxfunc.C: further cleaning
10750
10751 2002-08-13  André Pönitz <poenitz@gmx.net>
10752
10753         * funcrequest.h: new constructor
10754
10755         * funcrequest.C: move stuff here from .h
10756
10757         * Makefile.am:
10758         * BufferView_pimpl.C:
10759         * LyXAction.C:
10760         * toc.C:
10761         * lyxfunc.C: subsequent changes
10762
10763         * lyxfunc.h: new view() member function
10764
10765         * lyxfunc.C: subsequent changes
10766
10767 2002-08-13  Angus Leeming  <leeming@lyx.org>
10768
10769         * BufferView2.C:
10770         * BufferView_pimpl.C:
10771         * buffer.C:
10772         * converter.C:
10773         * importer.C:
10774         * lyxfunc.C:
10775         * lyxvc.C:
10776         * toc.C:
10777         * vc-backend.C:
10778         changes due to the changed LyXView interface that now returns references
10779         to member variables not pointers.
10780
10781 2002-08-13  Angus Leeming  <leeming@lyx.org>
10782
10783         * WordLangTuple (word, lang_code): return references to strings,
10784         not strings.
10785
10786         * BufferView.h:
10787         * SpellBase.h:
10788         * lyxtext.h: forward-declare WordLangTuple.
10789
10790         * BufferView2.C:
10791         * ispell.C:
10792         * pspell.C:
10793         * text.C: #include "WordLangTuple.h".
10794
10795         * lyxtext.h:
10796         * text.C: (selectNextWordToSpellcheck): constify return type.
10797
10798 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10799
10800         * buffer.C:
10801         * buffer.h:
10802         * lyxtext.h:
10803         * paragraph.C:
10804         * paragraph_pimpl.h:
10805         * text.C:
10806         * text2.C:
10807         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10808         suggested by Angus.
10809         Made updateCounter always count from start of buffer, and removed
10810         second argument (par).
10811         Reverted floats number display to '#'. Perhaps I'll try again when the
10812         code base is sanitized a bit.
10813
10814 2002-08-12  Angus Leeming  <leeming@lyx.org>
10815
10816         * buffer.[Ch] (getLabelList): constify.
10817
10818 2002-08-07  André Pönitz <poenitz@gmx.net>
10819
10820         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10821
10822         * funcrequest.h: extension to keep mouse (x,y) position
10823
10824 2002-08-12  Juergen Vigna  <jug@sad.it>
10825
10826         * BufferView2.C (insertErrors): forbid undo when inserting error
10827         insets.
10828
10829         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10830
10831 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10832
10833         * ParagraphList.[Ch]: new files
10834
10835         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10836
10837         * BufferView2.C (lockInset): ParagraphList changes
10838         * toc.C: ditto
10839         * text2.C: ditto
10840         * bufferlist.C: ditto
10841         * buffer.h: ditto
10842         * buffer.C: ditto
10843
10844 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10845
10846         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10847         unused class variable counter_,
10848
10849         * paragraph.[Ch] (getFirstCounter): delete unused function
10850
10851         * counters.C: include LAssert.h
10852         (reset): add a new function with no arg, change other version to
10853         not have def. arg and to not allow empty arg.
10854
10855         * text2.C (setCounter): remove empty arg from call to Counters::reset
10856
10857 2002-08-11  John Levon  <levon@movementarian.org>
10858
10859         * Makefile.am: add WordLangTuple.h
10860
10861 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10862
10863         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10864         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10865
10866         * insets/insettext.C: InsetList changes
10867
10868         * graphics/GraphicsSupport.C (operator()): InsetList changes
10869
10870         * toc.C (getTocList): InsetList changes
10871
10872         * paragraph_pimpl.[Ch]: InsetList changes
10873
10874         * paragraph.[Ch]: InsetList changes
10875
10876         * buffer.C (inset_iterator): InsetList changes
10877         (setParagraph): ditto
10878         * buffer.h (inset_iterator): ditto
10879         * iterators.C (operator++): ditto
10880         * iterators.h: ditto
10881
10882         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10883
10884         * InsetList.[Ch]: new files, most InsetList handling moved out of
10885         paragraph.C.
10886
10887         * BufferView2.C (removeAutoInsets): InsetList changes
10888         (lockInset): ditto
10889         (ChangeInsets): ditto
10890
10891 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10892
10893         * paragraph_pimpl.h (empty): new function
10894
10895         * paragraph.[Ch] (empty): new function
10896
10897         * other files: use the new Paragraph::empty function
10898
10899 2002-08-09  John Levon  <levon@movementarian.org>
10900
10901         * lyxtext.h: remove unused refresh_height
10902
10903 2002-08-09  John Levon  <levon@movementarian.org>
10904
10905         * Makefile.am:
10906         * sgml.h:
10907         * sgml.C:
10908         * buffer.C:
10909         * paragraph.h:
10910         * paragraph.C: move sgml char escaping out of paragraph
10911
10912         * paragraph.h:
10913         * paragraph.C: remove id setter
10914
10915         * buffer.C:
10916         * paragraph.C:
10917         * paragraph_pimpl.C: remove dead tex_code_break_column
10918
10919         * bufferview_funcs.C: small cleanup
10920
10921         * lyxfunc.C: remove dead proto
10922
10923         * lyxtext.h: make some stuff private. Remove some dead stuff.
10924
10925         * lyxgluelength.C: make as[LyX]String() readable
10926
10927 2002-08-08  John Levon  <levon@movementarian.org>
10928
10929         * LyXAction.h:
10930         * LyXAction.C:
10931         * MenuBackend.C:
10932         * ToolbarDefaults.C:
10933         * lyxfunc.C:
10934         * lyxrc.C:
10935         * toc.C: lyxaction cleanup
10936
10937 2002-08-08  John Levon  <levon@movementarian.org>
10938
10939         * BufferView2.C: small cleanup
10940
10941         * lyxfind.h:
10942         * lyxfind.C: move unnecessary header into the .C
10943
10944 2002-08-08  John Levon  <levon@movementarian.org>
10945
10946         * funcrequest.h: just tedious nonsense
10947
10948         * lyx_main.h:
10949         * lyx_main.C: cleanups
10950
10951         * buffer.C:
10952         * vspace.C: remove dead header lyx_main.h
10953
10954 2002-08-07  Angus Leeming  <leeming@lyx.org>
10955
10956         * Paragraph.[Ch]:
10957         * paragraph_pimpl.h:
10958         Forward declare class Counters in paragraph.h by moving the ctrs member
10959         variable into Paragraph::Pimpl.
10960         (counters): new method, returning a reference to pimpl_->ctrs.
10961
10962         * text2.C: ensuing changes.
10963
10964 2002-08-07  John Levon  <levon@movementarian.org>
10965
10966         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10967
10968         * BufferView_pimpl.C: announce X selection on double/triple
10969           click
10970
10971         * lyx_main.C: use correct bool in batch dispatch
10972
10973         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10974
10975 2002-08-07  André Pönitz <poenitz@gmx.net>
10976
10977         * funcrequest.h: new class to wrap a kb_action and its argument
10978
10979         * BufferView.[Ch]:
10980         * BufferView_pimpl[Ch]:
10981         * LaTeX.C:
10982         * LyXAction.[Ch]:
10983         * lyxfunc.[Ch]:
10984         * lyxrc.C: subsequent changes
10985
10986
10987 2002-08-07  John Levon  <levon@movementarian.org>
10988
10989         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10990           document options change.
10991
10992 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10993
10994         * counters.[Ch]
10995         * text2.C
10996         * paragraph.[Ch]
10997         * makefile.am: move counters functionality over from
10998         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10999
11000 2002-08-06  John Levon  <levon@movementarian.org>
11001
11002         * WordLangTuple.h: new file for word + language code tuple
11003
11004         * SpellBase.h:
11005         * pspell.h:
11006         * pspell.C:
11007         * ispell.h:
11008         * ispell.C:
11009         * lyxtext.h:
11010         * text.C:
11011         * text2.C:
11012         * BufferView.h:
11013         * BufferView2.C: use WordLangTuple
11014
11015         * layout.h:
11016         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11017
11018 2002-08-06  John Levon  <levon@movementarian.org>
11019
11020         * lyx_main.C: fix cmdline batch handling
11021
11022 2002-08-06  André Pönitz <poenitz@gmx.net>
11023
11024         * lyxrc.C: set default for show_banner to true
11025
11026 2002-08-06  John Levon  <levon@movementarian.org>
11027
11028         * pspell.C: fix a crash, and allow new aspell to work
11029
11030 2002-08-06  John Levon  <levon@movementarian.org>
11031
11032         * lyxfunc.C:
11033         * kbmap.C: small cleanup
11034
11035         * vspace.h:
11036         * vspace.C: add const
11037
11038 2002-08-05  John Levon  <levon@movementarian.org>
11039
11040         * LyXAction.C: back to tabular-insert
11041
11042 2002-08-04  John Levon  <levon@movementarian.org>
11043
11044         * BufferView.h:
11045         * BufferView.C: cosmetic change
11046
11047         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11048
11049         * bufferlist.C:
11050         * buffer.h:
11051         * buffer.C:
11052         * lyxcb.h:
11053         * lyxcb.C:
11054         * lyxserver.C:
11055         * lyxvc.C:
11056         * vc-backend.C:
11057         * BufferView2.C: purge all "Lyx" not "LyX" strings
11058
11059         * lyxcursor.h:
11060         * lyxcursor.C: attempt to add some documentation
11061
11062         * lyxfunc.C:
11063         * commandtags.h:
11064         * LyXAction.C:
11065         * ToolbarDefaults.C:
11066         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11067           merge with LFUN_TABULAR_INSERT
11068
11069         * Makefile.am:
11070         * SpellBase.h:
11071         * ispell.h:
11072         * ispell.C:
11073         * pspell.h:
11074         * pspell.C: split up i/pspell implementations into separate
11075           files, many cleanups
11076
11077         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11078
11079         * text2.C: some cleanup
11080
11081         * lyxfunc.C: don't check for isp_command == "none" any more, it
11082           didn't make any sense
11083
11084 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11085
11086         * counters.[Ch]
11087         * text2.C
11088         * paragraph.[Ch]
11089         * makefile.am: move counters functionality over
11090         from text2.C/paragraph.[Ch] to counters.[Ch], and
11091         make proper C++.
11092 2002-08-02  John Levon  <levon@movementarian.org>
11093
11094         * buffer.C: s/lyxconvert/lyx2lyx/
11095
11096 2002-08-02  Angus Leeming  <leeming@lyx.org>
11097
11098         * lyxlex.C: revert John's change as it breaks reading of the user
11099         preamble.
11100
11101 2002-08-02  Angus Leeming  <leeming@lyx.org>
11102
11103         * importer.C (Import):
11104         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11105         changes due to LyXView::view() now returning a boost::shared_ptr.
11106
11107 2002-08-02  John Levon  <levon@movementarian.org>
11108
11109         * lyxlex.C: small cleanup
11110
11111 2002-08-02  John Levon  <levon@movementarian.org>
11112
11113         * text2.C (status): small cleanup, no logic change
11114
11115 2002-08-01  John Levon  <levon@movementarian.org>
11116
11117         * buffer.h:
11118         * buffer.C (writeFile): don't output alerts, caller
11119           handles this
11120
11121         * bufferlist.C:
11122         * lyx_cb.C: from above
11123
11124         * lyxfunc.C: allow to open non-existent files
11125
11126 2002-07-31  John Levon  <levon@movementarian.org>
11127
11128         * lyxserver.C: don't let incidental errors get
11129           in the way (errno)
11130
11131 2002-07-30  John Levon  <levon@movementarian.org>
11132
11133         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11134
11135 2002-07-30  John Levon  <levon@movementarian.org>
11136
11137         * lyxserver.h:
11138         * lyxserver.C: remove I/O callback too
11139
11140 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11141
11142         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11143         log.
11144
11145 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11146
11147         * many files: strip,frontStrip -> trim,ltrim,rtrim
11148
11149 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11150
11151         * PrinterParams.h: remove extern containsOnly, and include
11152         support/lstrings.h instead.
11153
11154         * LaTeX.C (scanAuxFile): modify because of strip changes
11155         (deplog): ditto
11156         * buffer.C (makeLaTeXFile): ditto
11157         * bufferparams.C (writeFile): ditt
11158         * lyxfont.C (stateText): ditto
11159         * lyxserver.C (read_ready): ditto
11160         * vc-backend.C (scanMaster): ditto
11161
11162         * BufferView_pimpl.h: ws changes
11163
11164         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11165
11166 2002-07-26  André Pönitz <poenitz@gmx.net>
11167
11168         * kb_sequence.C: remove unnedred usings
11169
11170 2002-07-26  Juergen Vigna  <jug@sad.it>
11171
11172         * lyxfind.C (LyXReplace): we have to check better if the returned
11173         text is not of theLockingInset()->getLockingInset().
11174
11175 2002-07-25  Juergen Vigna  <jug@sad.it>
11176
11177         * lyxfind.C (LyXReplace): don't replace if we don't get the
11178         right LyXText.
11179
11180         * undo_funcs.C (createUndo): remove debugging code.
11181
11182 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11183
11184         * buffer.C (parseSingleLyXformat2Token): Use default placement
11185         when reading old floats.
11186
11187         * FloatList.C (FloatList): Change the default placement of figure
11188         and tables to "tbp".
11189
11190 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11191
11192         * MenuBackend.C: using std::max
11193
11194 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11195
11196         * MenuBackend.C (expandToc):
11197         (expandToc2): code moved from xforms menu frontend. It is now
11198         generic and TOCs are transparent to menu frontends.
11199
11200 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11201
11202         * toc.C (getTocList): protect against buf=0
11203
11204         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11205         Menu as first parameter. Now, this calls itself recursively to
11206         expand a whole tree (this will be useful for TOC handling)
11207         (expandFloatInsert): remove 'wide' version of floats
11208
11209         * MenuBackend.h (submenuname): returns the name of the submenu.
11210         (submenu): returns the submenu itself, provided it has been
11211         created by MenuBackend::expand
11212
11213 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11214
11215         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11216         insets which have noFontChange == true. (bug #172)
11217
11218 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11219
11220         * BufferView_pimpl.C: add connection objects and use them...
11221         (Pimpl): here.
11222
11223 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11224
11225         * MenuBackend.C (expandLastfiles):
11226         (expandDocuments):
11227         (expandFormats):
11228         (expandFloatListInsert):
11229         (expandFloatInsert):
11230         (expand): split expand in parts
11231
11232 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11233
11234         * lyx_gui.C: use lyx_gui::exit()
11235
11236 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11237
11238         * LyXAction.C: show the failing pseudo action
11239
11240 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11241
11242         * buffer.C (readFile): Run the lyxconvert script in order to read
11243         old files.
11244
11245 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11246
11247         * LyXAction.C:
11248         * commandtags.h:
11249         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11250
11251 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11252
11253         * LyXAction.C:
11254         * commandtags.h:
11255         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11256
11257 2002-07-22  Herbert Voss  <voss@lyx.org>
11258
11259         * lengthcommon.C:
11260         * lyxlength.[Ch]: add support for the vertical lengths
11261
11262 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11263
11264         * toc.[Ch]: std:: fixes
11265
11266 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11267
11268         * lyxrc.C: do not include lyx_main.h
11269
11270         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11271         for layouts
11272
11273         * lyxrc.C:
11274         * encoding.C:
11275         * bufferlist.C:
11276         * BufferView2.C: include "lyxlex.h"
11277
11278         * tabular.h:
11279         * bufferparams.h: do not #include "lyxlex.h"
11280
11281         * lyxtextclasslist.C (Add): remove method
11282         (classlist): renamed to classlist_
11283
11284         * paragraph_pimpl.C:
11285         * paragraph.C:
11286         * text2.C:
11287         * CutAndPaste.C:
11288         * bufferview_funcs.C:
11289         * bufferlist.C:
11290         * text.C:
11291         * LaTeXFeatures.C:
11292         * buffer.C:
11293         * toc.C (getTocList): use BufferParams::getLyXTextClass
11294
11295         * toc.C (getTocList): use InsetFloat::addToToc
11296
11297         * toc.[Ch]: new files, containing helper functions to handle table
11298         of contents
11299
11300         * lyxfunc.C (dispatch): no need to remove spaces around command
11301         given as a string
11302         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11303         first command of the sequence; it is not very clever, but I do not
11304         have a better idea, actually
11305
11306         * LyXAction.C (LookupFunc): make sure to remove space at the
11307         beginning and end of the command
11308
11309 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11310
11311         * MenuBackend.C (getMenubar): new method: return the menubar of
11312         this menu set
11313         (read): treat differently reading of menu and menubar (in
11314         particular, the menubar has no name now)
11315         (Menu::menubar): remove
11316
11317         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11318         saving is finished
11319
11320 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11321
11322         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11323         a bibitem inset in a RTL paragraph.
11324
11325 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11326
11327         * paragraph_pimpl.C: constify
11328
11329         * BufferView_pimpl.C:
11330         * LaTeX.C:
11331         * lyxfunc.C: fix dispatch in a nicer way
11332
11333 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11334
11335         * lyxfunc.C (dispatch):
11336         * BufferView_pimpl.C:
11337         * BufferView_pimpl.h:
11338         * BufferView.C:
11339         * BufferView.h: rename Dispatch() to dispatch()
11340
11341         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11342
11343         * lyxlayout.C (Read): honor DependsOn tag
11344
11345         * lyxlayout.[Ch] (depends_on): new method
11346
11347         * version.C.in: update lyx_docversion
11348
11349         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11350
11351         * paragraph.C (validate): remove from here...
11352         * paragraph_pimpl.C (validate): ... and move here
11353         (isTextAt): make it const
11354
11355         * buffer.C (getLists): ws cleanup
11356
11357 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11358
11359         * language.C (read): Use iso8859-1 encoding in latex_lang
11360         (this prevents LyX from crashing when using iso10646-1 encoding).
11361
11362 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11363
11364         * text2.C (toggleInset): if cursor is inside an inset, close the
11365         inset and leave cursor _after_ it
11366
11367 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11368
11369         * lyxfunc.C: move minibuffer completion handling out of here
11370
11371 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11372
11373         * BufferView_pimpl.C:
11374         * LaTeX.C: fix dispatch calls
11375
11376 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11377
11378         * text.C (drawChars): Fix Arabic text rendering.
11379
11380 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11381
11382         * LyXAction.C:
11383         * commandtags.h:
11384         * lyxfunc.C: remove message-push/pop
11385
11386         * lyxserver.C:
11387         * lyxfunc.h:
11388         * lyxfunc.C: rationalise some code by removing verboseDispatch
11389           in favour of a bool argument to dispatch()
11390
11391 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11392
11393         * lyx_main.C (init): make sure to read symlinks as absolute paths
11394
11395 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11396
11397         * lyxfunc.h:
11398         * lyxfunc.C: no need for commandshortcut to be a member
11399
11400 2002-07-15  André Pönitz <poenitz@gmx.net>
11401
11402         * converter.C: add support for $$s (scripts from lib/scripts dir)
11403         * lyx_main.C: white space
11404
11405 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11406
11407         * bufferlist.C:
11408         * lyxrc.h:
11409         * lyxrc.C: remove second exit confirmation
11410
11411 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11412
11413         * BufferView.h:
11414         * BufferView.C:
11415         * BufferView2.C:
11416         * BufferView_pimpl.h:
11417         * BufferView_pimpl.C:
11418         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11419
11420 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11421
11422         * MenuBackend.C (expand): add numeric shortcuts to document menu
11423
11424         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11425
11426 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11427
11428         * lyxfont.C (setLyXFamily):
11429         (setLyXSeries):
11430         (setLyXShape):
11431         (setLyXSize):
11432         (setLyXMisc):
11433         (lyxRead):
11434         * debug.C (value):
11435         * buffer.C (asciiParagraph): use ascii_lowercase
11436
11437 2002-07-15  Mike Fabian  <mfabian@suse.de>
11438
11439         * lyxlex_pimpl.C (search_kw):
11440         * lyxlex.C (getLongString):
11441         * converter.h (operator<):
11442         * converter.C (operator<):
11443         * buffer.C (parseSingleLyXformat2Token):
11444         (asciiParagraph):
11445         * ToolbarDefaults.C (read):
11446         * MenuBackend.C (checkShortcuts):
11447         (read):
11448         * LColor.C (getFromGUIName):
11449         (getFromLyXName): use the compare_ascii_no_case instead of
11450         compare_no_case, because in turkish, 'i' is not the lowercase
11451         version of 'I', and thus turkish locale breaks parsing of tags.
11452
11453 2002-07-16  Angus Leeming  <leeming@lyx.org>
11454
11455         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11456         now takes a Buffer const & argument.
11457
11458 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11459
11460         * BufferView.C (resize): check there's a buffer to resize
11461
11462 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11463
11464         * lyxfunc.C: remove dead code
11465
11466         * lyxserver.h:
11467         * lyxserver.C: use lyx_guii::set_read_callback
11468
11469 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11470
11471         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11472         an inset in a RTL paragraph.
11473
11474 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11475
11476         * lyxfunc.C: repaint after a font size update
11477
11478 2002-07-15  André Pönitz <poenitz@gmx.net>
11479
11480         * lyxlength.C: inBP should be able to return negative values
11481
11482 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11483
11484         * lyxfunc.C: use lyx_gui::update_fonts()
11485
11486 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11487
11488         * lyxfunc.C: use lyx_gui::update_color()
11489
11490 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11491
11492         * bufferlist.C:
11493         * lyxfunc.h:
11494         * lyxfunc.C:
11495         * lyxrc.h:
11496         * lyxrc.C: remove file->new asks for name option, and let
11497           buffer-new take an argument
11498
11499 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11500
11501         * BufferView_pimpl.C: remove unneeded extra repaint()
11502
11503 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11504
11505         * LyXAction.C: allow command-sequence with NoBuffer
11506
11507         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11508
11509 2002-07-10  Angus Leeming  <leeming@lyx.org>
11510
11511         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11512
11513 2002-07-09  Angus Leeming  <leeming@lyx.org>
11514
11515         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11516
11517 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11518
11519         * lengthcommon.h: whitespace
11520
11521         * lyxfunc.C: update scrollbar after goto paragraph
11522
11523         * lyxtext.h: factor out page break drawing, and fix it so
11524           page break/added space paints as selected nicely
11525
11526 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11527
11528         * BufferView_pimpl.C: add FIXMEs, clean up a little
11529
11530 2002-07-09  André Pönitz <poenitz@gmx.net>
11531
11532         * lyxfont.[Ch]: support for wasy symbols
11533
11534 2002-07-08  André Pönitz <poenitz@gmx.net>
11535
11536         * BufferView_pimpl.C: apply John's patch for #93.
11537
11538 2002-07-05  Angus Leeming  <leeming@lyx.org>
11539
11540         * BufferView_pimpl.C (buffer): generate previews if desired.
11541
11542         * LColor.h: add "preview" to the color enum.
11543
11544         * LColor.C (LColor): add a corresponding entry to the items array.
11545
11546         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11547         with this buffer.
11548
11549 2002-07-05  Angus Leeming  <leeming@lyx.org>
11550
11551         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11552         The body of the code is now in the method that is passed an ostream &
11553         rather than a file name.
11554         Pass an additional only_preamble parameter, useful for the forthcoming
11555         preview stuff.
11556
11557 2002-07-03  André Pönitz <poenitz@gmx.net>
11558
11559         * lyxfunc.C: simplify getStatus() a bit for math stuff
11560
11561 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11562
11563         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11564
11565 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11566
11567         * text.C (changeRegionCase): do not change case of all the
11568         document when region ends at paragraph end (bug #461)
11569
11570 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11571
11572         * paragraph.C (startTeXParParams):
11573         (endTeXParParams): add \protect when necessary
11574
11575 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11576
11577         * BufferView_pimpl.C (workAreaExpose): remove warning
11578
11579 2002-06-27  Angus Leeming  <leeming@lyx.org>
11580
11581         * Makefile.am: add lyxlayout_ptr_fwd.h.
11582
11583 2002-06-26  André Pönitz <poenitz@gmx.net>
11584
11585         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11586
11587 2002-06-25  Angus Leeming  <leeming@lyx.org>
11588
11589         * lyxfunc.C (dispatch): Comment out the call to
11590         grfx::GCache::changeDisplay. The method no longer exists now that the
11591         pixmap generation part of the graphics loader has been moved into
11592         InsetGraphics.
11593
11594 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11595
11596         * text2.C: layout as layout
11597
11598         * text.C: layout as layout
11599
11600         * tabular.C (OldFormatRead): layout as layout
11601
11602         * paragraph_pimpl.C (TeXDeeper): layout as layout
11603         (realizeFont): layout as layout
11604
11605         * paragraph.C (writeFile): layout as layout
11606         (validate): layout as layout
11607         (getFont): layout as layout
11608         (getLabelFont): layout as layout
11609         (getLayoutFont): layout as layout
11610         (breakParagraph): layout as layout
11611         (stripLeadingSpaces): layout as layout
11612         (getEndLabel): layout as layout
11613         (getMaxDepthAfter): layout as layout
11614         (applyLayout): layout as layout
11615         (TeXOnePar): layout as layout
11616         (simpleTeXOnePar): layout as layout
11617         (TeXEnvironment): layout as layout
11618         (layout): layout as layout
11619         (layout): layout as layout
11620
11621         * lyxtextclass.C (compare_name): new functor to work with
11622         shared_ptr, layout as layout
11623         (Read): layout as layout
11624         (hasLayout): layout as layout
11625         (operator): layout as layout
11626         (delete_layout): layout as layout
11627         (defaultLayout): layout as layout
11628
11629         * lyxlayout_ptr_fwd.h: new file
11630
11631         * lyxlayout.C (Read): layout as layout
11632
11633         * lyx_cb.C (MenuInsertLabel): layout as layout
11634
11635         * bufferlist.C (newFile): layout as layout
11636
11637         * buffer.C (readLyXformat2): layout as layout
11638         (parseSingleLyXformat2Token): layout as layout
11639         (insertStringAsLines): layout as layout
11640         (asciiParagraph): layout as layout
11641         (latexParagraphs): layout as layout
11642         (makeLinuxDocFile): layout as layout
11643         (simpleLinuxDocOnePar): layout as layout
11644         (makeDocBookFile): layout as layout
11645         (simpleDocBookOnePar): layout as layout
11646         (getLists): layout as layout
11647
11648         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11649
11650         * CutAndPaste.C (cutSelection): layout as layout
11651         (pasteSelection): layout as layout
11652         (SwitchLayoutsBetweenClasses): layout as layout
11653
11654         * BufferView_pimpl.C (Dispatch): layout as layout
11655         (smartQuote): layout as layout
11656
11657         * BufferView2.C (unlockInset): layout as layout
11658
11659 2002-06-24  André Pönitz <poenitz@gmx.net>
11660
11661         * lyxfunc.C: fix #487
11662
11663 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11664
11665         * lyxrc.h:
11666         * lyxrc.C:
11667         * lyxfunc.C: remove display_shortcuts, show_banner
11668
11669 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11670
11671         * Buffer_pimpl.C: oops, update on resize
11672
11673 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11674
11675         * buffer.C:
11676         * converter.C:
11677         * exporter.C:
11678         * lyxfunc.C:
11679         * BufferView.h:
11680         * BufferView.C: use repaint()
11681
11682         * BufferView_pimpl.h:
11683         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11684           as it's a clearer description. Remove superfluous
11685           redraws.
11686
11687 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11688
11689         * text.C: fix bug 488. Not ideal, but getting
11690           getWord() to work properly for the insets that
11691           matter is more difficult ...
11692
11693 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11694
11695         * BufferView_pimpl.C:
11696         * LyXAction.C:
11697         * commandtags.h:
11698         * lyxfunc.C: remove the six million index lyxfuncs to just
11699           one, and DTRT (bug 458)
11700
11701 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11702
11703         * BufferView.h:
11704         * BufferView.C:
11705         * BufferView_pimpl.h:
11706         * BufferView_pimpl.C: clean up resize() stuff,
11707           and unnecessary updateScreen()s
11708
11709 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11710
11711         * BufferView.h:
11712         * BufferView.C:
11713         * BufferView_pimpl.h:
11714         * BufferView_pimpl.C:
11715         * lyxfind.h:
11716         * lyxfind.C:
11717         * minibuffer.C: remove focus management of workarea,
11718           not needed. Use screen's greyOut()
11719
11720 2002-06-17  Herbert Voss  <voss@lyx.org>
11721
11722         * converter.C: (convert) do not post a message, when converting
11723         fails, let the calling function decide what to do in this case
11724
11725 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11726
11727         * lyxfunc.C: tidy up a little
11728
11729 2002-06-16    <alstrup@diku.dk>
11730
11731         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11732         Got rid of FORMS_H_LOCATION include. Now we are
11733         GUII.
11734
11735 2002-06-15  LyX Development team  <lyx@rilke>
11736
11737         * buffer.[Ch] (sgmlOpenTag):
11738         (sgmlCloseTag): Added support for avoiding pernicious mixed
11739         content. Return number of lines written.
11740
11741         (makeLinuxDocFile):
11742         (makeDocBookFile): Fixed calls to sgml*Tag.
11743         Simple white space clean.
11744
11745         (simpleDocBookOnePar): Simple white space clean.
11746
11747         * tabular.[Ch] (docBook): Renamed to docbook and got another
11748         argument to related with the pernicious mixed content.
11749
11750         (docbookRow): Fixed calls for docbook inset method.
11751
11752 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11753
11754         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11755         so it's X11 independent.
11756
11757         * kb*.[Ch]: ditto.
11758
11759         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11760
11761 2002-06-15  Lyx Development team  <lyx@electronia>
11762
11763         * intl.h: Renamed getTrans to getTransManager.
11764
11765 2002-06-14  Angus Leeming  <leeming@lyx.org>
11766
11767         * Makefile.am: nuke forgotten stl_string_fwd.h.
11768
11769 2002-06-12  Angus Leeming  <leeming@lyx.org>
11770
11771         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11772
11773 2002-06-13  Angus Leeming  <leeming@lyx.org>
11774
11775         * LaTeX.C:
11776         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11777
11778 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11779
11780         * kbmap.C (getiso): add support for cyrillic and greek
11781
11782 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11783
11784         * BufferView.h:
11785         * BufferView.C:
11786         * BufferView_pimpl.h:
11787         * BufferView_pimpl.C: move bogus scrolling logic
11788           to xforms
11789
11790 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11791
11792         * lyxfunc.C:
11793         * BufferView_pimpl.C: view->resize() change
11794
11795 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11796
11797         * BufferView_pimpl.C: topCursorVisible
11798           prototype change
11799
11800 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11801
11802         * Makefile.am:
11803         * lyx_gui.h:
11804         * lyx_gui.C: move to frontends/
11805
11806         * main.C:
11807         * lyx_main.h:
11808         * lyx_main.C: changes from above
11809
11810 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11811
11812         * intl.C:
11813         * intl.h:
11814         * kbmap.C:
11815         * kbsequence.C:
11816         * lyx_cb.C:
11817         * lyx_main.C: minor tidy
11818
11819 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11820
11821         * BufferView_pimpl.h:
11822         * BufferView_pimpl.C:
11823         * BufferView.h:
11824         * BufferView.C: make painter() const,
11825           remove dead code
11826
11827         * BufferView2.C: use screen() accessor
11828
11829         * lyx_main.h:
11830         * lyx_main.C: some minor cleanup
11831
11832 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11833
11834         * BufferView_pimpl.h:
11835         * BufferView_pimpl.C: remove enter/leaveView,
11836           use workHeight()
11837
11838 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11839
11840         * BufferView.h:
11841         * BufferView.C:
11842         * BufferView2.C:
11843         * BufferView_pimpl.h:
11844         * BufferView_pimpl.C: only construct screen once,
11845           rename
11846
11847         * lyxrc.C: remove pointless comment
11848
11849 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11850
11851         * BufferView.h:
11852         * BufferView.C: remove active() and belowMouse()
11853
11854         * BufferView_pimpl.h:
11855         * BufferView_pimpl.C: use workarea() not workarea_,
11856           and make it use a scoped_ptr instead
11857
11858 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11859
11860         * lyx_gui.C: add debug message on BadWindow
11861
11862 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11863
11864         * sp_spell.C: fdopen is not part of the C++ standard.
11865
11866         * paragraph.C (InsetIterator): use >= instead of ==
11867
11868 2002-06-07  Angus Leeming  <leeming@lyx.org>
11869
11870         Fixes needed to compile with Compaq cxx 6.5.
11871         * BufferView_pimpl.C:
11872         * DepTable.C:
11873         * buffer.C:
11874         * converter.C:
11875         * encoding.C:
11876         * lyx_gui.C:
11877         * lyx_main.C:
11878         * lyxtextclasslist.C:
11879         * minibuffer.C:
11880         * sp_spell.C:
11881         * tabular_funcs.C:
11882         * vc-backend.C:
11883         all c-library variables have been moved into namespace std. Wrap
11884         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11885
11886         * lyxlength.C:
11887         * tabular-old.C:
11888         * tabular.C:
11889         Add a using std::abs declaration.
11890
11891         * kbmap.h (modifier_pair):
11892         * paragraph.h (InsetTable, InsetList):
11893         * lyxfont.h (FontBits):
11894         type definition made public.
11895
11896         * bufferlist.C (emergencyWriteAll): the compiler complains that
11897         there is more than one possible lyx::class_fun template to choose from.
11898         I re-named the void specialisation as lyx::void_class_fun.
11899
11900         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11901
11902         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11903         the compiler is is unable to find tostr in write_attribute.
11904
11905 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11906
11907         * buffer.C (sgmlError): hide #warning
11908
11909 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11910
11911         * xtl/*: get rid of xtl, which is not in use anyway
11912
11913         * LyXAction.C (init):
11914         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11915         were unimplemented xtl experimentation
11916
11917 2002-06-04  André Pönitz <poenitz@gmx.net>
11918
11919         * lyxfunc.C: disable array operation on simple formulae
11920
11921 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11922
11923         * converter.C: constify a bit
11924
11925 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11926
11927         * lyx_gui.C: check xforms version correctly
11928
11929 2002-04-30  Herbert Voss  <voss@lyx.org>
11930
11931         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11932         "keep" option
11933
11934 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11935
11936         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11937           attempt to register it with a VCS)
11938
11939 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11940
11941         * lyx_main.C (init): honor variables LYX_DIR_13x and
11942         LYX_USERDIR_13x
11943
11944 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11945
11946         * buffer.h:
11947         * buffer.C:
11948         * lyx_main.C: fix a crash on bad command line,
11949           and give a useful exit status on error
11950
11951         * lyxfunc.C (doImport): allow -i lyx to work
11952
11953 2002-03-30  André Pönitz <poenitz@gmx.net>
11954
11955         * lyxfunc.C: mathed font changes
11956
11957 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11958
11959         * LaTeX.C:
11960         * importer.h:
11961         * importer.C:
11962         * lyx_sty.h:
11963         * lyx_sty.C:
11964         * lyxlex.C:
11965         * lyxrow.h:
11966         * lyxtext.h:
11967         * paragraph.h:
11968         * paragraph.C:
11969         * texrow.h:
11970         * texrow.C:
11971         * text.C:
11972         * trans_mgr.h: srcdocs, and some minor cleanups
11973
11974 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11975
11976         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11977         call getFont all the time)
11978
11979 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11980
11981         * switch from SigC signals to boost::signals
11982
11983 2002-05-29  André Pönitz <poenitz@gmx.net>
11984
11985         * paragraph_pimpl.C (getChar): don't call size() too often...
11986
11987 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11988
11989         * paragraph_pimpl.C (insertChar): do not try to update tables when
11990         appending (pos == size())
11991
11992         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11993         in order to reduce drastically the number of comparisons needed to
11994         parse a large document
11995
11996 2002-05-29  André Pönitz <poenitz@gmx.net>
11997
11998         * text.C:
11999         * text2.C:
12000         * lyxtextclass.C:
12001         * sp_pspell.h:
12002         * textclasslist.[Ch]:
12003         * sp_ispell.h: whitespace change
12004
12005 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12006
12007         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12008         lyxaction directly now.
12009
12010 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12011
12012         * trans.C:
12013         * lyxfont.C:
12014         * lyxvc.C: remove unused headers
12015
12016 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12017
12018         * Makefile.am:
12019         * buffer.h:
12020         * undostack.h:
12021         * undostack.C:
12022         * undo_funcs.h:
12023         * undo_funcs.C: some cleanups. Use shared_ptr
12024           and a template for the undo stacks.
12025
12026 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12027
12028         * BufferView_pimpl.h:
12029         * BufferView_pimpl.C:
12030         * kbmap.h:
12031         * kbmap.C:
12032         * kbsequence.h:
12033         * kbsequence.C:
12034         * lyxfunc.h:
12035         * lyxfunc.C:
12036         * text2.C: use key_state/mouse_state
12037
12038 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12039
12040         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12041         and LSubstring
12042
12043         * chset.C: change include order
12044         (loadFile): use boost regex and get rid of LRegex and LSubstring
12045
12046         * Makefile.am (BOOST_LIBS): new variable
12047         (lyx_LDADD): use it
12048
12049         * LaTeX.C: change include order.
12050         (scanAuxFile): use boost regex and get rid of LRegex and
12051         LSubstring
12052         (deplog): ditto
12053
12054 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12055
12056         * ColorHandler.h:
12057         * ColorHandler.C:
12058         * FontInfo.h:
12059         * FontInfo.C: moved to frontends/xforms/
12060
12061         * FontLoader.h:
12062         * FontLoader.C: moved into frontends for GUIIzation
12063
12064         * Makefile.am:
12065         * lyx_gui.C:
12066         * lyxfont.C:
12067         * lyxfunc.C: changes from above
12068
12069 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12070
12071         * LColor.C: remove spurious X include
12072
12073         * BufferView_pimpl.C:
12074         * Makefile.am:
12075         * font.h:
12076         * font.C:
12077         * text.C:
12078         * text2.C: move font metrics to frontends/
12079
12080 2002-05-24  Juergen Vigna  <jug@sad.it>
12081
12082         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12083         setting the undo_cursor.
12084
12085         * ParagraphParameters.h: include local includes first.
12086
12087 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12088
12089         * BufferView_pimpl.C:
12090         * BufferView_pimpl.h:
12091         * Makefile.am:
12092         * WorkArea.h:
12093         * WorkArea.C:
12094         * screen.C: move WorkArea into frontends/
12095
12096         * lyxscreen.h:
12097         * screen.C:
12098         * text.C:
12099         * BufferView.C:
12100         * BufferView2.C: move LyXScreen into frontends/
12101
12102         * lyxlookup.h:
12103         * lyxlookup.C:
12104         * lyx_gui.C: move lyxlookup into frontends/xforms/
12105
12106 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12107
12108         * BufferView2.C:
12109         * BufferView_pimpl.C:
12110         * FontLoader.C:
12111         * LyXView.h:
12112         * LyXView.C:
12113         * Makefile.am:
12114         * WorkArea.C:
12115         * XFormsView.h:
12116         * XFormsView.C:
12117         * buffer.C:
12118         * bufferlist.C:
12119         * bufferview_funcs.C:
12120         * converter.C:
12121         * importer.C:
12122         * lyx_cb.C:
12123         * lyx_gui.C:
12124         * lyx_main.C:
12125         * lyx_find.C:
12126         * lyxfunc.C:
12127         * lyxvc.C:
12128         * minibuffer.C:
12129         * text.C:
12130         * text2.C:
12131         * trans.C:
12132         * vc-backend.C: move LyX/XFormsView into frontends/
12133
12134 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12135
12136         * Makefile.am:
12137         * PainterBase.C:
12138         * PainterBase.h:
12139         * Painter.C:
12140         * Painter.h:
12141         * WorkArea.C:
12142         * WorkArea.h:
12143         * screen.C:
12144         * tabular.C:
12145         * text.C:
12146         * text2.C: move Painter to frontends/
12147
12148 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12149
12150         * buffer.C: comment out some some code that depend upon lyx_format
12151         < 220
12152
12153         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12154         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12155
12156         * buffer.h (NO_COMPABILITY): turn off compability
12157
12158         * ColorHandler.C: include scoped_array.hpp
12159
12160         * font.C: Use more specific smart_ptr header.
12161         * Painter.C: ditto
12162         * gettext.C: ditto
12163         * ShareContainer.h: ditto
12164         * lyx_main.h: ditto
12165         * kbmap.h: ditto
12166         * FontInfo.h: ditto
12167         * BufferView_pimpl.h: ditto
12168         * ColorHandler.h: ditto
12169
12170         * kbmap.C (defkey): change call to shared_ptr::reset
12171
12172 2002-05-21  Juergen Vigna  <jug@sad.it>
12173
12174         * buffer.C (insertErtContents): fix to insert ert asis if it is
12175         non empty. Skip it completely if it contains only whitespaces.
12176
12177 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12178
12179         * BufferView_pimpl.C:
12180         * BufferView2.C: clear selection on paste (bug 393)
12181
12182 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12183
12184         * DepTable.C: include ctime
12185
12186 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12187
12188         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12189
12190 2002-05-14  Juergen Vigna  <jug@sad.it>
12191
12192         * text.C (breakParagraph): fixed function to honor the keepempty
12193         layout in the right maner and also to permit the right breaking
12194         algorithm on empty or non empyt keepempty paragraphs.
12195
12196         * paragraph.C (breakParagraph): we have to check also if the par
12197         is really empty (!size()) for isempty otherwise we do the wrong
12198         paragraph break.
12199
12200 2002-05-10  Juergen Vigna  <jug@sad.it>
12201
12202         * buffer.[Ch] : The following are only changes to the ert
12203         compatibility read reading old LaTeX layout and font stuff and
12204         convert it to ERTInsets.
12205
12206         * buffer.h: added isErtInset().
12207
12208         * buffer.C (struct ErtComp): add a fromlayout bool to check
12209         if we're inside a LaTeX layout.
12210         (isErtInset): new helper function.
12211         (insertErtContents): look for other ert insets before this one
12212         and insert the contents there, so that we don't have subsequent
12213         ERT insets with nothing between them. This way we create only one
12214         inset with multiple paragraphs. Also check if we don't insert only
12215         spaces ' ' as they are ignored anyway afterwards in the .tex file
12216         so if we have only spaces we will ignore this latex part in the
12217         new file.
12218         (parseSingleLyXformat2Token \\layout): better compatibility when
12219         reading layout-latex stuff.
12220         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12221         language tag.
12222         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12223         stuff after reading the inset only get the information back from
12224         the stack.
12225
12226 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12227
12228         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12229
12230         * LaTeXFeatures.C (getBabelOptions): New method.
12231
12232 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12233
12234         * BufferView_pimpl.C (Dispatch): work around missing argument for
12235         'layout'
12236
12237 2002-05-08  Juergen Vigna  <jug@sad.it>
12238
12239         * text.C (leftMargin): handle paragraph leftindent.
12240
12241         * paragraph.C (writeFile): write the new \\leftindent tag.
12242         (validate): handle leftindent code.
12243         (TeXEnvironment): handle paragraphleftindent code again.
12244
12245         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12246
12247         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12248         for paragrap_extra indent code and new token \\leftindent.
12249         (latexParagraphs): handle the leftindent as environment.
12250
12251         * ParameterStruct.h: added leftindent support.
12252
12253         * ParagraphParameters.C (leftIndent): added support functions for
12254         the paragraph left indent.
12255
12256         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12257         more appropriate.
12258
12259 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12260
12261         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12262         inside insetERT.
12263
12264         * text.C (computeBidiTables): No bidi in insetERT.
12265
12266         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12267         in RTL documents.
12268
12269 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12270
12271         * version.C.in: pre 5
12272
12273 2002-05-02  José Matos  <jamatos@fep.up.pt>
12274         * buffer.C (makeDocBookFile): white space changes, add newline to
12275         command styles.
12276         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12277
12278         * tabular.C (docBook): fix typo.
12279
12280 2002-05-03  Juergen Vigna  <jug@sad.it>
12281
12282         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12283         change in LyXText as we can not be sure it was not freed.
12284         (drawOneRow): remove unused code.
12285
12286         * text.C (drawInset): redo the calculation of the need_break_row as
12287         it could have a row which was already freed.
12288         (draw): look at the return value of drawInset and return false if
12289         it also returned false.
12290         (paintRowText): look at the return value of draw and return false if
12291         it also returned false.
12292
12293         * lyxtext.h: added bool return type to drawInset() and draw() so that
12294         if we have a change in the row so that the rowbreak has to be redone
12295         we abort drawing as it will be called again.
12296
12297 2002-05-02  Juergen Vigna  <jug@sad.it>
12298
12299         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12300         a change in the maintext also if we're inside an inset.
12301         (Dispatch): set the cursor again after a break line and after the
12302         screen has been updated as it could be we're in a different row.
12303
12304         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12305         to set the cursor behind the pargraph with > size().
12306         (setCursor): check also for the same paragraph when checking where
12307         to put the cursor if we have a NFR inset.
12308
12309         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12310         parts of layout read further up as it still was in the wrong
12311         position.
12312
12313 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12314
12315         * screen.C (drawFromTo): change sine fullRebreak always return
12316         true.
12317
12318         * buffer.C (parseSingleLyXformat2Token): reindent some
12319
12320         * BufferView_pimpl.C (update): change since fullRebreak always
12321         return true.
12322         (Dispatch): git rid of the last hardcoded "Standard"s.
12323
12324 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12325
12326         * text2.[Ch] (fullRebreak): make it return void now that we always
12327         returned true.
12328
12329 2002-04-30  Juergen Vigna  <jug@sad.it>
12330
12331         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12332         ert compatibility check for "latex" layout.
12333
12334 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12335
12336         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12337         minipages: use col% instead of p%, and also use the current font.
12338         (makeLaTeXFile): Fix use babel condition.
12339         (parseSingleLyXformat2Token): Correct font when reading old floats.
12340
12341 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12342
12343         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12344         inserting list of floats.
12345
12346 2002-04-25  Herbert Voss  <voss@lyx.org>
12347
12348         * MenuBackend.C (expand): don't add the graphics extensions to the
12349         export menu
12350
12351 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12352
12353         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12354         non-existing layout, do not complain if it was the default layout
12355         of the original class (bug #342)
12356
12357 2002-04-24  Juergen Vigna  <jug@sad.it>
12358
12359         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12360         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12361
12362 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12363
12364         * buffer.C (getBibkeyList): If using \bibliography, return the
12365         option field with the reference itself. Enables us to provide natbib
12366         support when using \bibliography.
12367
12368 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12369
12370         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12371
12372         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12373         natbib is provided by the LaTeX class.
12374
12375 2002-04-23  Juergen Vigna  <jug@sad.it>
12376
12377         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12378         Wakeup functions.
12379
12380         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12381
12382 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12383
12384         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12385
12386         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12387         ensuremath around textordmasculine, textordfeminine and
12388         textdegree.
12389
12390 2002-04-19  Juergen Vigna  <jug@sad.it>
12391
12392         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12393         reinitializing the buffer otherwise row-dimensions may be wrong.
12394         (update): reset also the selection cursors if they do exits otherwise
12395         their x/y positions may be wrong.
12396
12397         * text2.C (cursorDown): don't enter the inset if we came from a row
12398         above and are one row over the inset.
12399
12400         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12401         really leaving an inset.
12402
12403 2002-04-18  Juergen Vigna  <jug@sad.it>
12404
12405         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12406         of the selected paragraph does not have the selected layout also if
12407         the last one had!
12408
12409         * text2.C (setLayout): fixed bug which did not change last selected
12410         paragraph.
12411
12412         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12413         changed the read and substituted \\end_float with \\end_inset!
12414
12415         * BufferView_pimpl.C (cursorPrevious):
12416         (cursorNext): fixed to make it work with rows heigher than the work
12417         area without moving the cursor only the draw of the row.
12418         (workAreaMotionNotify): fix jumping over high rows.
12419
12420 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12421
12422         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12423         Ressler.
12424
12425 2002-04-16  Juergen Vigna  <jug@sad.it>
12426
12427         * text2.C (setCursor): set also the irow().
12428         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12429         (cursorUp):
12430         (cursorDown): support for locking an inset if the x_fix value goes
12431         inside it. That way I can transverse insets too with cursor up/down.
12432
12433         * lyxrow.h: added irow helper function same as other (i) functions.
12434
12435         * BufferView_pimpl.C (cursorPrevious):
12436         (cursorNext): fixed for insets!
12437
12438 2002-04-15  Juergen Vigna  <jug@sad.it>
12439
12440         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12441         position otherwise it is wrong in some cases.
12442
12443         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12444         inside the inset before the call.
12445
12446 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12447
12448         * buffer.[Ch] (getBibkeyList): make it const.
12449
12450 2002-04-12  Juergen Vigna  <jug@sad.it>
12451
12452         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12453
12454         * text2.C (getCursorX): new helper function
12455         (setCursor): compute also ix_
12456         (setCursorFromCoordinates): set also ix.
12457
12458         * lyxcursor.h: added ix_ and helper functions.
12459
12460         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12461
12462         * buffer.C (insertStringAsLines): dont break paragraph if the this
12463         paragraph is inside an inset which does not permit it!
12464
12465         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12466         also with no chars on this paragraph.
12467         (paintRowText): only paint stuff if it's inside the workarea!
12468
12469         * paragraph.C (breakParagraph): honor keepempty flag and break the
12470         paragraph always below not above.
12471
12472         * BufferView2.C (unlockInset): update the paragraph layout on inset
12473         unlock as we changed paragraph in such a case.
12474
12475         * lyxfind.C (LyXFind): clear the former selection if not found!
12476
12477         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12478         again called in insertChar().
12479
12480         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12481         an inset which uses the whole row!
12482         (rightMargin): ditto.
12483         (insertChar): force a rebreak if we inserted an inset!
12484
12485 2002-03-28  Herbert Voss  <voss@lyx.org>
12486
12487         * lyxlength.[Ch]: add inBP() to get the right PS-point
12488         units (BigPoint). With inPixels we have rounding errors
12489
12490 2002-04-11  Juergen Vigna  <jug@sad.it>
12491
12492         * text2.C (setCursorFromCoordinates): set iy to the right value.
12493         (setCursor): add check if row->previous exists!
12494
12495         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12496         an old float_type as this was the case in the old code!
12497
12498         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12499
12500         * BufferView2.C (showLockedInsetCursor): use iy
12501         (fitLockedInsetCursor): ditto
12502
12503         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12504         locked insets as there we have the right value now.
12505
12506         * lyxcursor.C: added iy_ variable and iy functions to set to the
12507         baseline of cursor-y of the locked inset.
12508
12509         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12510         (setCursor): fixed for insets which need a full row.
12511
12512         * text.C (rowLastPrintable): don't ignore the last space when before
12513         an inset which needs a full row.
12514         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12515         as last character of a row when before a inset which needs a full row.
12516
12517 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12518
12519         * version.C.in: update date
12520
12521         * text2.C (fullRebreak): try to always return true and see what
12522         happens...
12523
12524 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12525
12526         * MenuBackend.C (expand): use Floating::listName
12527
12528         * FloatList.C (FloatList): add listName argument to the built-in
12529         floats
12530
12531         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12532         text associated with the float.
12533
12534 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12535
12536         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12537
12538 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12539
12540         * ShareContainer.h: add a couple of missing typenames.
12541
12542 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12543
12544         * lyxrc.C (getDescription): use _() correctly rather than N_().
12545
12546 2002-03-28  Herbert Voss  <voss@lyx.org>
12547
12548         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12549         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12550
12551 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12552
12553         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12554         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12555
12556 2002-03-29  Juergen Vigna  <jug@sad.it>
12557
12558         * lyxfunc.C (dispatch): add a missing fitCursor call.
12559
12560         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12561         it was scrolled by a cursor move, so return the bool status.
12562
12563         * BufferView.C (fitCursor): return the bool flag also to the outside
12564         world as this is needed.
12565
12566         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12567
12568         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12569         call the edit() as it is not needed (and wrong) IMO.
12570         (workAreaButtonPress): set the screen_first variable before evt.
12571         unlock the inset as this may change screen_first and then we have
12572         a wrong y position for the click!
12573
12574 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12575
12576         * MenuBackend.C (expand): another translation that I missed
12577
12578 2002-03-28  Juergen Vigna  <jug@sad.it>
12579
12580         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12581
12582         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12583
12584 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12585
12586         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12587
12588         * MenuBackend.C (expand): fix export/view/update when there is no
12589         document open.
12590
12591 2002-03-27  Herbert Voss  <voss@lyx.org>
12592
12593         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12594         and text%
12595
12596 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12597
12598         * bufferview_funcs.C (currentState): only show paragraph number
12599         for is DEVEL_VERSION is set.
12600
12601         * lyxfunc.C (dispatch): put warning in INFO channel
12602
12603         * MenuBackend.C (expand): translate the name of floats
12604
12605         * FloatList.C (FloatList): mark the float names for translation
12606
12607         * converter.C (convert): use LibScriptSearch
12608
12609 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12610
12611         * MenuBackend.C (defaults): fix default menu (we might as well get
12612         rid of it...)
12613
12614 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12615
12616         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12617         directory.
12618
12619 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12620
12621         * lyxvc.C: reorder includes.
12622
12623 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12624
12625         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12626           properly
12627
12628 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12629
12630         * CutAndPaste.C: change layouts earlier on paste
12631           to avoid crashing when calling getFont()
12632
12633 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12634
12635         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12636         irritating #error.
12637
12638 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12639
12640         * WorkArea.C: remove 'Pending' debug message.
12641
12642         * most files: ws cleanup
12643
12644         * buffer.[Ch]: ws changes
12645
12646         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12647
12648 2002-03-21  Juergen Vigna  <jug@sad.it>
12649
12650         * tabular.C (SetMultiColumn): collapse also the contents of the
12651         cells and set the last border right. Added a Buffer const * param.
12652
12653 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12654
12655         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12656         linking or not.
12657
12658 2002-03-19  Juergen Vigna  <jug@sad.it>
12659
12660         * text2.C (clearSelection): reset also xsel_cache.
12661
12662         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12663         where it needs to be called (John tells us to do so too :)
12664         (selectionLost): reset sel_cache.
12665
12666         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12667
12668 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12669
12670         * text2.C (setCursorIntern): put debuging code in INSETS channel
12671
12672 2002-03-19  André Pönitz <poenitz@gmx.net>
12673
12674         * lyxfunc.C: tiny whitespace change
12675
12676 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12677
12678         * ToolbarDefaults.C (init):
12679         * LyXAction.C (init):
12680         * commandtags.h:
12681         * BufferView_pimpl.C (Dispatch):
12682         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12683
12684 2002-03-19  Allan Rae  <rae@lyx.org>
12685
12686         * exporter.C (Export): removeAutoInsets before doing anything else.
12687         While I've just introduced a dependency on BufferView this really is
12688         the best place to clean the buffer otherwise you need to cleanup in
12689         a dozen places before calling export or cleanup in a dozen functions
12690         that export calls.
12691
12692         * converter.C (runLaTeX):
12693         (scanLog): Better handling of removeAutoInsets and screen updates.
12694
12695         * lyxfunc.C (dispatch): small whitespace changes
12696
12697 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12698
12699         * WorkArea.C (C_WorkAreaEvent): return a value.
12700         (event_cb): return 1 if we handled the event, 0 otherwise.
12701
12702         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12703
12704 2002-03-18  Juergen Vigna  <jug@sad.it>
12705
12706         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12707         (GetAdditionalWidth): ditto.
12708         (RightLine): ditto.
12709         (LeftLine): ditto.
12710
12711         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12712         inset if we're there actually (probably not used right now but this
12713         is the direction to go for unifying code).
12714         (paste): disable code to clear the selection.
12715
12716         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12717         inside an InsetText and move the check further up as it is in the
12718         wrong place.
12719
12720         * text2.C (pasteSelection): set a selection over the pasted text.
12721
12722 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12723
12724         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12725         and libgraphics to build on Cygwin.
12726
12727 2002-03-15  Juergen Vigna  <jug@sad.it>
12728
12729         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12730         inserting an Inset into the paragraph. I know this is not the best
12731         fix but we already use current_view in CutAndPaste so we will remove
12732         all of it's using at the same time.
12733
12734         * buffer.C (sgmlError): deactivated function till it is rewritten in
12735         the right mode, now it can create problems.
12736
12737         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12738         before accessing it.
12739
12740 2002-03-14  Juergen Vigna  <jug@sad.it>
12741
12742         * undo_funcs.C (textHandleUndo): do the right thing when updating
12743         the inset after the undo/redo.
12744
12745         * text2.C (setCursor): just some testcode for #44 not ready yet.
12746
12747         * undo_funcs.C (textHandleUndo): set the next() and previous()
12748         pointers of the paragraph to 0 before deleting otherwise we have
12749         problems with the Paragraph::[destructor].
12750
12751         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12752         on a paragraph insertion.
12753
12754 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12755
12756         * buffer.C (asciiParagraph): use += operator for char append to
12757         string.
12758
12759         * paragraph.C (getFontSettings): compare >= not just >
12760         (highestFontInRange): ditto
12761         (setFont): ditto
12762
12763 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12764
12765         * paragraph.C: change several algorithm to be more appripriate for
12766         the problem domain. This is lookip in FontList and in the InsetList.
12767
12768 2002-03-13  André Pönitz <poenitz@gmx.net>
12769
12770         * commandtags.h:
12771         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12772
12773 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12774
12775         * commandtags.h:
12776         * LyXAction.C:
12777         * lyxfunc.C:
12778         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12779
12780 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12781
12782         * Painter.C (display): anon helper function, adjust code for this
12783         change.
12784         (pixmap): remove function.
12785
12786         * Painter.h: remove private display variable.
12787
12788         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12789
12790 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12791
12792         * WorkArea.[Ch]: remove figinset_canvas cruft.
12793
12794 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12795
12796         * lyxtextclass.C (operator): add one item cache optimization.
12797
12798         * bufferlist.h: doxy changes
12799
12800         * bufferlist.C: ws changes
12801
12802         * DepTable.[Ch] (ext_exist): place const in the right spot.
12803
12804         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12805         call resizeInsets.
12806         (workAreaExpose): call resizeInsets when the with BufferView changes.
12807         (Dispatch): adjust for protectedBlank removal
12808         (specialChar): call updateInset if the insert went ok.
12809
12810         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12811         specialChar instead.
12812
12813         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12814
12815         * BufferView.h: doxy change
12816
12817         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12818
12819         * lyxtextclass.C (operator[]): remove non-const version
12820         (defaultLayout): remove non-const version
12821
12822 2002-03-12  Juergen Vigna  <jug@sad.it>
12823
12824         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12825         did resize the LyXText too.
12826
12827         * buffer.C (readLyXformat2): set layout information on newly allocated
12828         paragraphs.
12829
12830         * tabular.C (OldFormatRead): set layout information on the paragraph.
12831
12832 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12833
12834         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12835
12836 2002-03-11  Juergen Vigna  <jug@sad.it>
12837
12838         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12839         plainly wrong.
12840         (resizeCurrentBuffer): force also the insets to resize themselfes.
12841         (moveCursorUpdate): fixed up for InsetText.
12842
12843 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12844
12845         * commandtags.h:
12846         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12847         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12848         value of Dialogs::tooltipsEnabled().
12849         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12850
12851 2002-03-08  Juergen Vigna  <jug@sad.it>
12852
12853         * BufferView_pimpl.C (updateInset): update inset inside inset also
12854         if it isn't inside theLockingInset().
12855
12856 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12857
12858         * buffer.C (asciiParagraph): redo some of the word and line length
12859         handling.
12860         (getLists): look for Caption instead of caption.
12861
12862 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12863
12864         * buffer.C (Buffer): initialize niceFile to true
12865         (makeLaTeXFile):
12866         (makeLinuxDocFile):
12867         (makeDocBookFile): make sure niceFile is true on exit
12868
12869 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12870
12871         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12872
12873 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12874
12875         * LyXSendto.C: remove.
12876         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12877         * lyx_gui.C: remove now-redundant comment.
12878         * ColorHandler.h: remove forward declaration of class WorkArea.
12879         * lyxfunc.C: remove #include "WorkArea.h".
12880
12881 2002-03-07  Juergen Vigna  <jug@sad.it>
12882
12883         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12884         got moved away with the DEPM and also set the inset_owner always
12885         right which before could have been omitted.
12886
12887 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12888
12889         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12890         wanted layout is not found.
12891
12892 2002-03-07  Juergen Vigna  <jug@sad.it>
12893
12894         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12895
12896 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12897
12898         * paragraph.C (breakParagraph): use default layout not layout of
12899         prev paragraph.
12900         (Paragraph): clear ParagraphParameters.
12901
12902 2002-03-06  Juergen Vigna  <jug@sad.it>
12903
12904         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12905         otherwise it would not be a valid lenght. Fixed a special case in
12906         the minipage compatibility read where we end the document with a
12907         minipage.
12908
12909         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12910         was set as it could be 0 for InsetTexts first entry.
12911
12912 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12913
12914         * paragraph.C (writeFile): if layout is empty write out
12915         defaultLayoutName().
12916
12917         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12918         file without named layout we set layout to defaultLayoutName().
12919
12920 2002-03-06  Juergen Vigna  <jug@sad.it>
12921
12922         * CutAndPaste.C (copySelection): set layout for new paragraph.
12923
12924         * text.C (prepareToPrint): leave ERT inset left aligned
12925         (leftMargin): don't indent paragraphs inside ERT insets
12926
12927 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12928
12929         * paragraph.C (breakParagraph): dont call clear do the work manually
12930
12931         * paragraph.[Ch] (clear): remove function
12932
12933 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12934
12935         * paragraph.C (Paragraph): dont call clear, the work has already
12936         been done.
12937
12938         * lyxtextclass.C (operator): assert if n is empty
12939
12940         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12941         work manually instead.
12942
12943 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12944
12945         * BufferView_pimpl.C: protect selectionLost against text == 0
12946
12947 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12948
12949         * text.C (breakParagraph): fix a setting layout to '0' problem.
12950
12951 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12952
12953         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12954         final location of file, for the included files, and graphics.
12955
12956 2002-03-05  Juergen Vigna  <jug@sad.it>
12957
12958         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12959
12960 2002-03-04  Juergen Vigna  <jug@sad.it>
12961
12962         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12963
12964         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12965         last column of multicolumn cells.
12966         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12967
12968 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12969
12970         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12971         file if it doesn't go to a temporary file.
12972
12973         * buffer.C (sgmlOpenTag):
12974         (sgmlCloseTag):  remove extra newline insertion.
12975
12976 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12977
12978         * text.C (getRowNearY): comment out debug msg
12979
12980 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12981
12982         * text2.C: first -> first_y
12983
12984         * text.C (getRowNearY): add some attemts at a possible
12985         optimization, not working.
12986
12987         * tabular.[Ch]: add BufferParams to several function so that newly
12988         created paragraph can be initialized to he default layotu for the
12989         buffers textclass.
12990
12991         * tabular-old.C (ReadOld): add buf->params to call of Init
12992
12993         * screen.C: rename text->first to text->first_y
12994
12995         * paragraph.C (breakParagraph): always set layout in the broken
12996         paragraph
12997
12998         * lyxtextclass.C (Read): remove lowercase
12999         (hasLayout): ditto
13000         (operator): ditto
13001         (delete_layout): ditto
13002
13003         * lyxtext.h: rename first -> first_y
13004
13005         * lyxlayout.C (Read): remove lowercase
13006         (name): ditto
13007         (setName): ditto
13008         (obsoleted_by): ditto
13009
13010         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13011
13012         * buffer.C (insertErtContents): add params are to InsetERT
13013         (parseSingleLyXformat2Token): add code to check if a paragraphs
13014         layout really exist.
13015         (parseSingleLyXformat2Token): add params to several inset
13016         constructors
13017         (asciiParagraph): remove lowercase, do the layout comparisons with
13018         no_case
13019
13020         * BufferView_pimpl.C (cursorNext): first -> first_y
13021         (resizeCurrentBuffer): first -> first_y
13022         (updateScrollbar): first -> first_y
13023         (scrollCB): first -> first_y
13024         (workAreaMotionNotify): first -> first_y
13025         (workAreaButtonPress): first -> first_y
13026         (checkInsetHit): first -> first_y
13027         (cursorPrevious): first -> first_y
13028         (cursorNext): first -> first_y
13029         (Dispatch): add buffer_->params to severl inset contructors
13030
13031 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13032
13033         * lyxlayout.C (Read): remove some debug info that I forgot.
13034
13035         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13036         clean up the code slightly.
13037         (makeLinuxDocFile): ditto
13038         (makeDocBookFile): ditto
13039
13040         * text2.C: layout as string
13041
13042         * text.C: layout as string
13043
13044         * paragraph_pimpl.C: layout as string
13045
13046         * paragraph.[Ch]: layout as string
13047
13048         * lyxtextclasslist.[Ch]: layout as string
13049
13050         * lyxtextclass.[Ch]: layout as string
13051
13052         * lyxtext.h: layout as string
13053
13054         * lyxlayout.[Ch]: layout as string
13055
13056         * lyx_cb.C: layout as string
13057
13058         * bufferview_funcs.C: layout as string
13059
13060         * bufferparams.C: layout as string
13061
13062         * buffer.C: layout as string
13063
13064         * LyXView.[Ch]: layout as string
13065
13066         * LaTeXFeatures.[Ch]: layout as string
13067
13068         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13069
13070         * BufferView_pimpl.C: change current_layout to string, remove
13071         lyx::layout_type.
13072         (Dispatch):
13073         (smartQuote):
13074         (insertInset):
13075         (workAreaButtonRelease): layout as string
13076
13077         * BufferView2.C (unlockInset): adjust
13078
13079         * vspace.C (asLatexCommand): use an explict temp variable.
13080
13081 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13082
13083         * Makefile.am: use FRONTEND_*
13084
13085 2002-03-01  Juergen Vigna  <jug@sad.it>
13086
13087         * tabular.C (SetWidthOfMulticolCell): changed to something better
13088         I hope but still work in progress.
13089         (recalculateMulticolumnsOfColumn): renamed function from
13090         recalculateMulticolCells as it is more appropriate now.
13091         (SetWidthOfCell): calculate multicols better.
13092
13093 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13094
13095         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13096
13097         * lyxfunc.C (processKeySym): print sequence also if it is
13098         `deleted' (complete)
13099
13100         * kbsequence.C (print): print sequence even if it is deleted
13101         (complete would be a better word, actually).
13102
13103         * lyxfunc.C (dispatch): print complete options after a prefix key
13104
13105         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13106
13107 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13108
13109         * text2.C (setCharFont): eliminate setCharFont code duplication.
13110
13111 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13112
13113         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13114         LFUN_TABULAR_FEATURE (bug #177)
13115
13116 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13117
13118         * Makefile.am: remove figure.h
13119
13120 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13121
13122         * Bufferview_pimpl.C:
13123         * CutAndPasteC:
13124         * LaTeX.C:
13125         * LyXSendto.C:
13126         * buffer.C:
13127         * bufferlist.C:
13128         * converter.C:
13129         * language.C:
13130         * lyxfunc.C:
13131         * lyxvc.C:
13132         * paragraph.C:
13133         * text.C:
13134         * text2.C: remove #include "lyx_gui_misc.h".
13135
13136         * LaTeX.C: added #include <cstdio>
13137
13138 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13139
13140         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13141         that the paragraph following this one can have.
13142
13143         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13144
13145         * vspace.C (asLatexCommand): fix bogus gcc warning
13146
13147         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13148
13149 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13150
13151         * text2.C (setLayout): get rid of redundant code
13152
13153 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13154
13155         * text2.C (incDepth): make sure depth cannot be increased beyond
13156         reasonable values.
13157
13158 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13159
13160         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13161         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13162
13163         * PainterBase.h (image):
13164         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13165         a LyXImage const *.
13166
13167 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13168
13169         * BufferView.C:
13170         * BufferView.h:
13171         * BufferView_pimpl.C:
13172         * BufferView_pimpl.h:
13173         * LaTeXFeatures.C:
13174         * LyXAction.C:
13175         * LyXView.C:
13176         * Makefile.am:
13177         * UpdateList.h:
13178         * UpdateList.C:
13179         * buffer.C:
13180         * figure.h:
13181         * figureForm.C:
13182         * figureForm.h:
13183         * figure_form.C:
13184         * figure_form.h:
13185         * lyx_cb.C:
13186         * lyx_gui.C:
13187         * lyx_gui_misc.C:
13188         * lyxfunc.C:
13189         * sp_base.h:
13190         * sp_ispell.h:
13191         * sp_pspell.h:
13192         * sp_spell.C: remove fig inset, and the crap house of
13193           cards that follows it
13194
13195 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13196
13197         * Makefile.am:
13198         * lyxserver.C:
13199         * os2_defines.h:
13200         * os2_errortable.h:
13201         * nt_defines.h: move .h into support/
13202
13203         * vms_defines.h: remove
13204
13205         * WorkArea.C: add space in debug output
13206
13207         * text2.C:
13208         * paragraph.C:
13209         * buffer.C: add WITH_WARNINGS
13210
13211         * vc-backend.h:
13212         * vc-backend.C:
13213         * bufferlist.C: s/retrive/retrieve/, add docs
13214
13215         * vspace.h:
13216         * vspace.C:
13217         * kbmap.h:
13218         * lyxlength.h:
13219         * lyxgluelength.h:
13220         * length_common.h:
13221         * chset.h:
13222         * chset.C: add docs
13223
13224         * lyxgui.C: add ID to X error handler
13225
13226         * lyxtestclass.c: fix typo
13227
13228 2002-02-26  Juergen Vigna  <jug@sad.it>
13229
13230         * tabular_funcs.C (write_attribute): changed so that some default
13231         attributes are not written at all.
13232         (getTokenValue): set default values before trying to read the
13233         value so we have the return value always set as default if we don't
13234         find the token we search for.
13235
13236         * tabular.C (Write): write bools as bools not as strings!
13237
13238 2002-02-22  Juergen Vigna  <jug@sad.it>
13239
13240         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13241         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13242
13243         * text.C (leftMargin): don't add an indent for paragraphs inside
13244         tabular cells (fix #208).
13245
13246 2002-02-21  José Matos  <jamatos@fep.up.pt>
13247
13248         * tabular.C (docBook): fixed support for long tables.
13249
13250 2002-02-20  Juergen Vigna  <jug@sad.it>
13251
13252         * text2.C (getFont): get the drawing font of the Inset if this
13253         paragraph is inside an inset (only important for InsetERT for now).
13254
13255         * buffer.C (insertErtContents): use new lanugage params in ERT
13256         constructor.
13257
13258         * CutAndPaste.C: commenting out seemingly uneeded code.
13259
13260 2002-02-19  Allan Rae  <rae@lyx.org>
13261
13262         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13263         Iterators might be simple to use but they also get invalidated.
13264         (removeAutoInsets): renamed saved cursor tracking variables and added
13265         some comments to clarify what everything does.
13266
13267 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13268
13269         * Chktex.C:
13270         * LaTeX.C:
13271         * LyXSendto.C:
13272         * converter.C:
13273         * lyx_cb.C:
13274         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13275         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13276
13277         * lyxfunc.C:
13278         * vc-backend.h: remove #include "support/syscall.h"
13279
13280         * LaTeX.C:
13281         * LyXSendto.C:
13282         * converter.C: rearrange #includes in Lars' approved fashion.
13283
13284         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13285         forward declare class Timeout in the header file.
13286
13287         * XFormsView.C: changes due to the above.
13288
13289         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13290         similar to LyXView.
13291
13292         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13293         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13294
13295 2002-02-18  José Matos  <jamatos@fep.up.pt>
13296
13297         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13298         insets contents.
13299
13300 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13301
13302         * a lot of small ws changes
13303         * add a lot of using std::XXX
13304         * use std construcs some places where approp.
13305         * use some exisint stuff from lyxfunctional where approp.
13306         * Make file changes to use partial linking (lets test this now...)
13307
13308 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13309
13310         * Chktex.C:
13311         * buffer.C:
13312         remove #include "support/syscontr.h" as it's redundant. Always has been.
13313
13314         * Chktex.C:
13315         * LaTeX.C:
13316         * LyXSendto.C:
13317         * converter.C:
13318         * lyx_cb.C:
13319         * vc-backend.C:
13320         change Systemcalls::System to Systemcalls::Wait and
13321         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13322         No change of functionality, just reflects the stripped down Systemcalls
13323         class.
13324
13325 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13326
13327         * debug.[Ch]: add a GRAPHICS type to the enum.
13328
13329 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13330
13331         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13332
13333         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13334         there is an inset.
13335
13336 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13337
13338         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13339         match the changes below.
13340
13341         * text2.C (toggleInset): if there is not editable inset at cursor
13342         position, try to see if cursor is _inside_ a collapsable inset
13343         and close it.
13344
13345 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13346
13347         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13348         document menu has a nice checkbox
13349
13350 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13351
13352         * lyxlength.C (asLatexString): change PW to output as percent of
13353         \textwidth.
13354
13355         * lengthcommon.C: change '%' to 't%'
13356
13357         * lyxfunc.C (dispatch): a few comments from Martin
13358
13359 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13360
13361         * WorkArea.h:
13362         * WorkArea.C:
13363         * BufferView_pimpl.h:
13364         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13365           the X selection.
13366
13367 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13368
13369         * vspace.C (inPixels): fix compiler warning
13370
13371 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13372
13373         * lyxfunc.C (getStatus): fix status message for disabled commands.
13374
13375 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13376
13377         * BufferView_pimpl.C: fix crash on close buffer
13378         during selection (#227)
13379
13380 2002-01-27  Herbert Voss  <voss@lyx.org>
13381
13382         * buffer.C: link old Figure to new graphic inset
13383
13384 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13385
13386         * FontLoader.C (getFontinfo): Change the latex font names in order
13387         to match the names of type1inst.
13388
13389 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13390
13391         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13392
13393         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13394         (extchanged): ditto
13395         (ext_exist): ditto
13396         (remove_files_with_extension): ditto
13397         (remove_file): ditto
13398         (write): ditto
13399
13400         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13401         document is smaller than the work area height. Do not initialize
13402         static variables to 0.
13403
13404 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13405
13406         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13407
13408         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13409         LFUN_LAYOUT_PARAGRAPHS.
13410
13411         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13412         tabular. It is possible to provide a possible cell, which will
13413         typically be the actcell from the corresponding insettabular
13414
13415         * lyxfunc.C (getStatus): small cleanup; disable
13416         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13417         true
13418
13419 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13420
13421         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13422
13423         * paragraph.C (startTeXParParams):
13424         (endTeXParParams): new methods. The LaTeX code to
13425         start/end paragraph formatting
13426         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13427         empty (fixes bug #200)
13428
13429         * vspace.C (inPixels): adapt to the change below
13430         (inPixels): [later] more cleanups (remove unused variables)
13431
13432         * lyxlength.C (inPixels): change to use a width and a height as
13433         parameter.
13434
13435 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13436
13437         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13438         Replaced with \paperwidth
13439
13440         * DepTable.C (insert): add std:: qualifier
13441
13442 2002-01-18  Allan Rae  <rae@lyx.org>
13443
13444         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13445         updated also?
13446
13447         * text.C (drawInset): Turned out I didn't know enough about how
13448         rebreaking worked.  This fixes most of the redraw problems.  I see
13449         an occasional cursor trail when a line is broken now and the cursor
13450         placement can seem out by a few pixels also after a rebreak.
13451
13452 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13453
13454         * buffer.C (parseSingleLyXformat2Token): update because minipage
13455         width is now a LyXLength
13456
13457         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13458
13459         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13460         math insets
13461
13462 2002-01-17  Juergen Vigna  <jug@sad.it>
13463
13464         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13465
13466         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13467         is set correctly and the inset is updated correctly.
13468
13469 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13470
13471         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13472         the beginning of the loop.
13473
13474 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13475
13476         * lyxrc.C: improve help for use_scalable_fonts
13477
13478 2002-01-17  Allan Rae  <rae@lyx.org>
13479
13480         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13481
13482 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13483
13484         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13485         make sure to set their inset_owner to the right value (bug #171)
13486
13487 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13488
13489         * DepTable.h
13490         * DepTable.C: Implement mtime checking to reduce time spent doing
13491         CRCs.
13492
13493 2002-01-16  Juergen Vigna  <jug@sad.it>
13494
13495         * tabular.C (GetAdditionalHeight): one of error fixed.
13496
13497         * lyxrc.C (output): small fix in writing use_pspell.
13498
13499 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13500
13501         * sp_base.h: #include LString.h
13502
13503 2002-01-16  Allan Rae  <rae@lyx.org>
13504
13505         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13506         Can someone check this please?
13507
13508         * text.C (drawInset): It was possible that p.row would be removed by
13509         breakAgainOneRow upsetting a few other settings.  There may be another
13510         small tweak possible by setting need_break_row = 0 when p.row has been
13511         removed but I don't know enough about the logic here.
13512
13513 2002-01-15  Allan Rae  <rae@lyx.org>
13514
13515         * text.C (insertChar): removed conditional truism.
13516
13517         * BufferView2.C (removeAutoInsets): More tweaks.
13518         cur_par_prev could be a stray pointer.  Check for trailing empty line
13519         in case last line was cur_par and only had an error inset on it.
13520
13521 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13522
13523         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13524         absolute
13525
13526         * vc-backend.C (most methods):
13527         * exporter.C (Export):
13528         * converter.C (convert):
13529         (runLaTeX):
13530         * LyXSendto.C (SendtoApplyCB):
13531         * lyxfunc.C (dispatch):
13532         (menuNew):
13533         (open):
13534         (doImport):
13535         * lyx_cb.C (AutoSave):
13536         (InsertAsciiFile):
13537         * BufferView_pimpl.C (MenuInsertLyXFile):
13538         * buffer.C (runChktex): use Buffer::filePath().
13539
13540         * buffer.h: rename filename to filename_; rename filepath to
13541         filepath_ and make it private
13542         (filePath): new method
13543
13544         * buffer.C (writeFile): use fileName()
13545         (getLatexName):
13546
13547         * lyx_main.C (init): fix starting  of LyX when the binary is a
13548         link from so,ewhere else.
13549
13550         * minibuffer.C: include <cctype> for isprint
13551
13552 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13553
13554         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13555         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13556         name clash with InsetCollapsable's width function.
13557
13558 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13559
13560         * lastfiles.C: include <iterator>
13561
13562 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13563
13564         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13565         std::count.
13566
13567         * buffer.C (makeLaTeXFile): ditto.
13568         Also make loop operation more transparent.
13569
13570 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13571
13572         * ToolbarDefaults.C: remove trailing comma closing namespace.
13573
13574         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13575
13576         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13577         as in WorkArea.
13578
13579         * trans.C (Load): comment out unused variable, allowed.
13580
13581 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13582
13583         * minibuffer.[Ch] (append_char): new method to recieve input from the
13584         drop-down completion browser. If a key was pressed, then recieve this
13585         char and append it to the existing string.
13586         (peek_event): modify the positioning data passed to the completion
13587         browser so that it can be placed above the minibuffer rather than below.
13588 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13589
13590         * LyXAction.C (init): alloe error-next for readonly documents.
13591
13592         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13593         count.
13594
13595 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13596
13597         * bufferlist.C (readFile): create the buffer _after_ checking that
13598         the file exists.
13599
13600         * lyxfunc.C (verboseDispatch): fix handling of arguments
13601
13602         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13603
13604         * lyxrc.C: use string::erase() instead of initializing to "".
13605
13606
13607 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13608
13609         * BufferView_pimpl.h:
13610         * BufferView_pimpl.C:
13611         * WorkArea.h:
13612         * WorkArea.C:
13613         * text2.C: tell X when we have made a selection for copying
13614
13615 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13616
13617         * BufferView_pimpl.C (MenuInsertLyXFile):
13618         * lyxfunc.C (menuNew):
13619         (open):
13620         (doImport): add shortcuts to directory buttons
13621
13622         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13623         open a float)
13624
13625         * lyxfunc.C (setStatusMessage):
13626         (getStatusMessage): new methods
13627         (getStatus):use setStatusMessage instead of setErrorMessage
13628         (dispatch): when function is disabled, set error message here
13629         [instead of in getStatus previously]
13630
13631         * BufferView_pimpl.C (workAreaButtonRelease): update
13632         toolbar/menubar here too.
13633
13634 2002-01-13  Allan Rae  <rae@lyx.org>
13635
13636         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13637         Now seems indestructible.  Remaining task is to audit all other
13638         code affected by deleteEmptyParagraphMechanism.  One small quirk
13639         left is that an empty document with an error in the preamble can
13640         be made to report an error but no error box appears.  I don't know
13641         where it goes.
13642         (removeAutoInsets): Improved comments.
13643
13644 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13645
13646         * Thesaurus.h:
13647         * Thesaurus.C: update for Aiksaurus 0.14
13648
13649 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13650
13651         * text2.C (firstParagraph): removed member function, all uses
13652         replaces with ownerParagraph
13653         (redoParagraphs): here
13654         (updateInset): here
13655         (toggleAppendix): here
13656         * BufferView2.C (insertErrors): here
13657         (setCursorFromRow): here
13658
13659 2002-01-13  Allan Rae  <rae@lyx.org>
13660
13661         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13662         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13663         There is still a way to segfault this although you may have to do this
13664         multiple times: Have an InsetERT with an unknown command in it.
13665         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13666         <down-arrow>, <Enter> again, View->DVI, BANG!
13667
13668         * text2.C (setCursor):
13669         (deleteEmptyParagraphMechanism):
13670         * lyxtext.h (setCursor):
13671         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13672         Making use of the return value may help fix other bugs.
13673
13674 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13675
13676         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13677
13678         * LyXView.C (updateMenubar): call MenuBar::update here
13679         (updateToolbar): but not here
13680         (showState): do not update toolbar/menubar
13681
13682         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13683         should need to care about that.
13684
13685         * lyxfunc.C (verboseDispatch): simplify a bit
13686         (getStatus): have a version which takes a pseudoaction, and
13687         another which requires a (kb_action,string).
13688
13689         * LyXAction.C (retrieveActionArg): make it work also when action
13690         is not a pseudo-action.
13691         (getActionName): simplify a bit
13692         (helpText):
13693
13694 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13695
13696         * lyxfunc.C (verboseDispatch): new families of methods with
13697         several ways to specify a command and a bool to indicate whether
13698         the command name and shortcut should be displayed in minibuffer
13699         (eventually, we could extend that to a finer bitmask like
13700         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13701         (dispatch): the pristine dispatch command which just, well,
13702         dispatchs! Note it still sets its result to minibuffer; I'm not
13703         sure we want that.
13704
13705         * lyxfunc.h: remove setHintMessage
13706
13707         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13708
13709 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13710
13711         * BufferView_pimpl.C (specialChar): delete new inset if we have
13712         not been able to insert it.
13713
13714         * kbmap.C: revert to using int instead of kb_action, since all we
13715         are dealing with is pseudo-actions.
13716
13717         * LyXAction.C (searchActionArg): change to return int instead of
13718         kb_action, since the result is a pseudoaction.
13719
13720 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13721
13722         * buffer.C (insertErtContents): Fix (partially) the font bug.
13723
13724 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13725
13726         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13727         as the other one is broken on my machine!
13728
13729 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13730
13731         * commandtags.h:
13732         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13733
13734 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13735
13736         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13737         reflect their actual use. Provide compatibility code for older lyxrc
13738         files.
13739
13740         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13741         FL_NORMAL_STYLE.
13742         change names of popup font variables in line with the changes to lyxrc.C
13743
13744 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13745
13746         * buffer.C (asciiParagraph): avoid outputing a word twice after
13747         an inset.
13748
13749         * lyxrc.C (getDescription): document that document_path and
13750         template_path can be empty.
13751
13752 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13753
13754         * LaTeXFeatures.C (getMacros):
13755         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13756
13757         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13758
13759         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13760         getPackages.
13761         (getPackages): rename feature "floats" to "float". Use an array to
13762         iterate over 'simple' features (i.e. just a \usepackage). Add
13763         handling of "amsmath" (renamed from "amsstyle").
13764
13765 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13766
13767         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13768         features list.
13769
13770 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13771
13772         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13773         FuncStaus::FuncStatus & FuncStaus::some_method().
13774
13775 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13776
13777         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13778         of the func_satus stuff. Edited and massaged in various ways by
13779         JMarc.
13780
13781         * lyxfunc.C (getStatus): use FuncStatus
13782
13783 2002-01-08  Juergen Vigna  <jug@sad.it>
13784
13785         * text.C (nextBreakPoint): use function Inset::isChar().
13786
13787         * paragraph.C (TeXOnePar): use function
13788         Inset::forceDefaultParagraphs.
13789
13790         * buffer.C (latexParagraphs): use function
13791         Inset::forceDefaultParagraphs.
13792
13793 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13794
13795         * lyx_gui.C (init): set the style of the menu popups to
13796         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13797
13798 2002-01-07  Juergen Vigna  <jug@sad.it>
13799
13800         * text.C (setHeightOfRow): small fix
13801         (prepareToPrint): don't look at alignment if we don't have the place
13802         for doing it.
13803
13804 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13805
13806         * box.C: New file. Move the Box methods and functions out of box.h,
13807         following Lars' suggestion.
13808
13809 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13810
13811         * box.h: #include "support/LOstream.h", needed for inlined function.
13812
13813         * lyxtextclass.C:
13814         * lyxtextclasslist.C: added some using std declarations.
13815
13816 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13817
13818         * box.h: make signed dimensions to allow insets wider than
13819           the screen (bug #162)
13820
13821         * BufferView_pimpl.C: add some insetHit debug
13822
13823 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13824
13825         * vc-backend.C: add FIXME
13826
13827 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13828
13829         * lyxfunc.C (getStatus): enable code for showing math font status
13830         in toolbar/menu.
13831
13832 2002-01-07  Juergen Vigna  <jug@sad.it>
13833
13834         * text.C (nextBreakPoint): removed debug output not needed anymore.
13835
13836 2002-01-06  Juergen Vigna  <jug@sad.it>
13837
13838         * text.C (nextBreakPoint): fixed up this function we had this bug
13839         since ever but now hopefully we break row better.
13840         (insertChar): we have to check if an inset is the next char as it
13841         could now happen that a large inset is causing a break.
13842
13843 2002-01-05  Juergen Vigna  <jug@sad.it>
13844
13845         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13846         if it doesn't like to be drawed.
13847
13848 2002-01-04  Juergen Vigna  <jug@sad.it>
13849
13850         * BufferView2.C (lockInset): forgot to set a cursor.
13851
13852         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13853
13854 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13855
13856         * FormMathsPanel.C:
13857         * FormMathsPanel.h
13858         * MathsSymbols.C:
13859         * form_maths_panel.C:
13860         * form_maths_panel.h:
13861         * form_maths_panel.fd: implemented sub- and super- buttons in math
13862         panel.
13863
13864         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13865         (or ^ space) to be used as in TeX (req'd by André).
13866
13867         * lyxfunc.C: Allow ^ and _ again to be used both as
13868         super/subscript (mathed) and as themselves (in text).
13869
13870 2002-01-03  Allan Rae  <rae@lyx.org>
13871
13872         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13873         "LyX" or the filename of the current buffer if it has one.  This is a
13874         modified form of John Levon's patch.
13875
13876         * XFormsView.C (setWindowTitle): also set icon title.
13877
13878         * LyXView.h (setWindowTitle): signature changed.
13879         * XFormsView.h (setWindowTitle): ditto.
13880
13881 2002-01-02  Juergen Vigna  <jug@sad.it>
13882
13883         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13884
13885 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13886
13887         * screen.C (topCursorVisible): introduce a temp var for
13888         text->cursor.row(), handle the case where this row is null. (kindo
13889         hachish)
13890
13891         * text2.C (setCursor): add a couple of asserts.
13892
13893         * paragraph.h (inset_iterator): add -> operator
13894
13895         * paragraph.[Ch] (autoDeleteInsets): remove member function
13896
13897         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13898         cursor pos correctly and handle inset deletion by itself.
13899         (insertErrors): move iterator declaration out of for expression
13900
13901         * lyxtextclass.C: add <algorithm>
13902
13903         * Makefile.am: added the new files to sources, removed layout.C
13904
13905         * layout.C: removed file
13906
13907         * layout.h: remove LYX_DUMMY_LAYOUT
13908
13909         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13910         layout.
13911
13912         * lyxlayout.[Ch]:
13913         * lyxtextclass.[Ch]:
13914         * lyxtextclasslist.[Ch]: new files
13915
13916         * include order changes to a lot of files, also changes because of
13917         the six new files.
13918
13919 2001-12-27  Juergen Vigna  <jug@sad.it>
13920
13921         * buffer.C (asciiParagraph): more fixes.
13922
13923         * tabular.C (ascii): make ascii export support export of only the
13924         data separated by a column-delimiter.
13925         (ascii): better support for ascii export.
13926
13927         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13928
13929 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13930
13931         * tabular_funcs.C: use a "using std::getline" instead of the
13932         previous fix from Angus (necessary for cxx + lyxstring)
13933
13934 2001-12-24  Juergen Vigna  <jug@sad.it>
13935
13936         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13937
13938         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13939         problems. First check a minipage also if we have some ert-contents
13940         (not only on par->size(), second set the right depth of the paragraph
13941         on the relink to the root-paragraph-list!
13942
13943         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13944         which then did not anymore update the main paragraphs on undo/redo!
13945
13946 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13947
13948         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13949         code. Support all font-changing funcs (even those which are not in
13950         menu currently). Support for reporting font settings in
13951         mathed (disabled until Andre provides a function on mathed's side).
13952
13953         * func_status.h (toggle): small helper function to set toggle
13954         state on a flag.
13955
13956 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13957
13958         * tabular_funcs.C: getline -> std::getline
13959
13960 2001-12-21  Juergen Vigna  <jug@sad.it>
13961
13962         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13963         accessed and could be 0 (I couldn't generate this but it seems
13964         Michael could!).
13965
13966 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13967
13968         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13969         * tabular_funcs.h: here and include iosfwd
13970
13971 2001-12-20  Juergen Vigna  <jug@sad.it>
13972
13973         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13974         inside inset but undo_par was.
13975
13976 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13977
13978         * Thesaurus.C: always include <config.h> in sources.
13979
13980         * Painter.h:
13981         * lyxlookup.h:
13982         * box.h: do not include <config.h> in header files
13983
13984         * text.C (paintLastRow): remove unused variable
13985
13986         * text.C (transformChar):
13987         (insertChar):
13988         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13989
13990         * Painter.C (text):
13991         * font.C (width): rewrite to use uppercase() instead of
13992         islower/toupper.
13993
13994         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13995
13996 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13997
13998         * lyxfind.C: clean up of find failure position change
13999
14000 2001-12-20  Juergen Vigna  <jug@sad.it>
14001
14002         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14003
14004         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14005         (TeXRow): added to LaTeX a single tabular row.
14006         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14007         (Latex): simplified and finally good LT-h/f support.
14008         (various_functions): just small adaptions for LT-h/f support.
14009
14010         * tabular_funcs.[hC]: added and moved here all not classfunctions
14011         of LyXTabular.
14012
14013 2001-12-19  Juergen Vigna  <jug@sad.it>
14014
14015         * tabular.[Ch]: better support for longtabular options (not finished
14016         yet!)
14017
14018 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14019
14020         * text.C (paintLastRow): use the label font instead of the font of
14021         the last character to compute the size of *_BOX. This makes more
14022         sense and avoids a crash with empty paragraphs.
14023         Use Painter::rectangle to draw EMPTY_BOX.
14024
14025 2001-12-19  Juergen Vigna  <jug@sad.it>
14026
14027         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14028         the paragraphs if the replaced paragraph is not the first one!
14029         Tried to delete not used paragraphs but does not work yet so for
14030         now it's inside #ifdef's and by default off!
14031
14032 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14033
14034         * MenuBackend.C: include "lyx_main.h" instead of declaring
14035         lastfiles (actually was declared as LastFiles* instead of a
14036         scoped_ptr).
14037
14038 2001-12-17  Juergen Vigna  <jug@sad.it>
14039
14040         * tabular.C (AppendColumn): applied John's fix
14041
14042 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14043
14044         * BufferView.h:
14045         * BufferView.C:
14046         * BufferView_pimpl.h:
14047         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14048
14049         * Makefile.am:
14050         * box.h: new start of class for above
14051
14052         * lyxfunc.C: ignore space-only minibuffer dispatches.
14053           Show the command name when it doesn't exist
14054
14055         * minibuffer.C: don't add empty lines to the history
14056
14057         * minibuffer.C: add a space on dropdown completion
14058
14059 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14060
14061         * text.C: fix line above/below drawing in insets
14062
14063 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14064
14065         * lyxlength.C (LyXLength): Initialize private variables.
14066
14067 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14068
14069         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14070         when inserting error insets.
14071
14072 2001-12-13  Juergen Vigna  <jug@sad.it>
14073
14074         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14075         actually sometimes the before-paragraph.
14076         (setUndo): don't clear the redostack if we're not actually undoing!
14077
14078 2001-12-06  Juergen Vigna  <jug@sad.it>
14079
14080         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14081         and fixed redoing of main paragraph, so we can use it now ;)
14082
14083         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14084
14085 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14086
14087         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14088         Juergen's request
14089
14090 2001-12-13  André Pönitz <poenitz@gmx.net>
14091
14092         * undostack.[Ch]:
14093         * undo_func.C: minor cleanup
14094
14095 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14096
14097         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14098         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14099         font in urw-fonts package which is marked as -urw-fontspecific and
14100         does not work (incidentally, changing the encoding in the
14101         fonts.dir of this package to -adobe-fontspecific fixes the
14102         problem).
14103
14104         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14105         is a crash when undoing first paragraph (Juergen, please take a
14106         look). THis does not mean the undo fix is wrong, just that it
14107         uncovers problems.
14108
14109         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14110         the (Paragraph*) version when needed instead of duplicating the
14111         code.
14112
14113         * text.C (workWidth): use Inset::parOwner to find out where the
14114         inset has been inserted. This is a huge performance gain for large
14115         documents with lots of insets. If Inset::parOwner is not set, fall
14116         back on the brute force method
14117
14118         * paragraph_pimpl.C (insertInset):
14119         * paragraph.C (Paragraph):
14120         (cutIntoMinibuffer): set parOwner of insets when
14121         inserting/removing them
14122
14123         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14124
14125 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14126
14127         * commandtags.h:
14128         * LyXAction.C:
14129         * lyx_main.C:
14130         * lyxfunc.C:
14131         * mathed/formulabase.C:
14132         * mathed/math_cursor.[Ch]:
14133         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14134
14135
14136 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14137
14138         * lyxlength.[Ch] (operator!=): new function
14139
14140 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14141
14142         * text.C (workWidth): use Inset::parOwner to find out where the
14143         inset has been inserted. This is a huge performance gain for large
14144         documents with lots of insets. If Inset::parOwner is not set, fall
14145         back on the brute force method
14146
14147         * paragraph_pimpl.C (insertInset):
14148         * paragraph.C (Paragraph):
14149         (cutIntoMinibuffer): set parOwner of insets when
14150         inserting/removing them
14151
14152         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14153
14154 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14155
14156         * tabular-old.C (getTokenValue):
14157         * tabular.C (getTokenValue):
14158         (write_attribute): new versions for LyXLength
14159         (everywhere): adjust the use of widths
14160
14161         * tabular.h: change the type of widths from string to LyXLength
14162
14163 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14164
14165         * paragraph.C: fixed missing line number count when exporting
14166         Environments to LaTeX file
14167
14168         * buffer.C: added informational message for checking line numbers.
14169
14170 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14171
14172         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14173         paragraph, do the 'double space' part, but not the 'empty
14174         paragraph' one.
14175
14176         * text.C (workWidth): small optimization
14177         (getLengthMarkerHeight): use minimal size for negative lengths.
14178
14179 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14180
14181         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14182
14183         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14184
14185 2001-12-11  André Pönitz <poenitz@gmx.net>
14186
14187         * FontLoader.C:
14188         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14189
14190 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14191
14192         * text2.C: keep selection on a setFont()
14193
14194 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14195
14196         * lyx_cb.C: another bv->text misuse, from insert label
14197
14198 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14199
14200         * kbsequence.h:
14201         * kbsequence.C: re-instate nmodifier mask
14202
14203 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14204
14205         * lyx_main.h: make lyxGUI private.
14206
14207 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14208
14209         * lyxfind.C: place the cursor correctly on failed search
14210
14211 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14212
14213         * text.C (getLengthMarkerHeight): for small heights, the arrows
14214         are not always on top/bottom of the text
14215         (drawLengthMarker): smaller arrows; take the left margin in
14216         account; draw also vfills.
14217         (paintFirstRow):
14218         (paintLastRow): remove special code for vfill and standard spaces,
14219         since everything is handled in drawLengthMarker now.
14220
14221 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14222
14223         * buffer.C (insertErtContents): try to handle font and language
14224         interaction a bit better.g
14225
14226         * ColorHandler.C (updateColor): change the hash to cover the whole
14227         LColor enum, ws cleanup
14228         (getGCLinepars): ditto
14229         (getGCLinepars): only lookup in the linecache once.
14230
14231 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14232
14233         * iterators.C (operator++): Make the iterator more robust
14234
14235         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14236         (John's patch)
14237         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14238
14239 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14240
14241         * lyxtext.h:
14242         * text.C: better added space drawing
14243
14244 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14245
14246         * LyXView.C:
14247         * BufferView2.C: fix layout combo update on inset unlock
14248
14249 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14250
14251         * Makefile.am: don't compile unused files
14252
14253 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14254
14255         * lyxfunc.C:
14256         * commandtags.h:
14257         * LyXAction.C: remove old LFUN_LAYOUTNO
14258
14259 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14260
14261         * paragraph_pimpl.h:
14262         * paragraph_pimpl.C: isTextAt() doesn't need font param
14263
14264 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14265
14266         * lyxlex.h:
14267         * lyxlex.C: little cleanup
14268
14269 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14270
14271         * BufferView_pimpl.C: fix insertAscii for insets
14272
14273 2001-12-05  Juergen Vigna  <jug@sad.it>
14274
14275         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14276         set the right font on the "multi" paragraph paste!
14277
14278 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14279
14280         * trans_decl.h:
14281         * trans_mgr.[Ch]:
14282         * trans.[Ch]:
14283         * lyxgluelength.C:
14284         * lyxlength.C: remove out-commented code.
14285
14286         * BufferView_pimpl:
14287         * CutAndPaste.C:
14288         * DepTable.C:
14289         * buffer.C:
14290         * chset.C:
14291         * lastfiles.C:
14292         * lyxlex.C:
14293         * lyxlex_pimpl.C:
14294         * lyxserver.C:
14295         * screen.C:
14296         * tabular-old.C:
14297         * tabular.C:
14298         * text.C:
14299         * trans_mgr.C:
14300         * vc-backend.C: change "while(" to "while ("
14301
14302         * lyxlength.[Ch]: add zero function to check if length is zero or
14303         not
14304         * lyxgluelength.C: use it
14305
14306 2001-12-05  Allan Rae  <rae@lyx.org>
14307
14308         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14309         Works for 2.95.3, from what I understand of Garst's reports this should
14310         work for other g++ versions.  We're screwed if the abs(int) definition
14311         changed between bugfix releases of gcc.
14312
14313 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14314
14315         * text.C: fix chapter label offset !
14316
14317 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14318
14319         * lyxtext.h:
14320         * text.C: fix hfill at end of line, clean up
14321
14322 2001-12-04  Juergen Vigna  <jug@sad.it>
14323
14324         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14325         that we force an update of the inset and it's owners if neccessary.
14326
14327 2001-12-03  Juergen Vigna  <jug@sad.it>
14328
14329         * text.C (rowLast): simplified code
14330
14331 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14332
14333         * lyxfunc.C: fix show options on timeout
14334
14335 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14336
14337         * screen.C (topCursorVisible): scroll half a page when the cursor
14338         reached top of bottom of screen
14339
14340 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14341
14342         * minibuffer.C: deactivate on loss of focus
14343
14344 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14345
14346         * vspace.[Ch] (operator!=): add operator.
14347
14348 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14349
14350         * BufferView_pimpl.C: refuse to open an inset when
14351         there's a selection.
14352
14353 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14354
14355         * BufferView_pimpl.C: allow to click on RHS of full row insets
14356
14357 2001-11-30  Juergen Vigna  <jug@sad.it>
14358
14359         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14360         insets for undo reasons.
14361
14362 2001-11-28  André Pönitz <poenitz@gmx.net>
14363
14364         * vspace.[Ch]: cosmetical changes
14365
14366 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14367
14368         * LyXAction.h:
14369         * LyXAction.C:
14370         * lyxfunc.h:
14371         * lyxfunc.C:
14372         * kbmap.h:
14373         * kbmap.C:
14374         * lyxrc.C:
14375         * kbsequence.h:
14376         * kbsequence.C: part re-write of old kb code
14377
14378         * Painter.C:
14379         * WorkArea.C: remove Lgb_bug_find_hack
14380
14381 2001-11-30  José Matos <jamatos@fep.up.pt>
14382
14383         * buffer.C (makeDocBookFile): add a comment to point a hack.
14384         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14385         Fixed a double write of labels.
14386
14387 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14388
14389         * LaTeX.C:
14390         * LaTeX.h Fixed bug in LaTeX class where it would not
14391         re-run latex if no depfiles were changed, but the .dvi was removed.
14392
14393 2001-11-28  André Pönitz <poenitz@gmx.net>
14394
14395         * all the files from the change on 2001/11/26:
14396         use lyx::layout_type instead of LyXTextClass::size_type
14397         use lyx::textclass_type instead of LyXTextClassList::size_type
14398
14399 2001-11-29  Juergen Vigna  <jug@sad.it>
14400
14401         * text.C: added support for paragraph::isFreeSpacing()
14402
14403         * buffer.C: same as above
14404
14405         * paragraph.h: inserted isFreeSpacing() function to enable
14406         FreeSpacing inside InsetERT.
14407
14408         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14409         of the paragraph's in the cut/copy buffer to 0!
14410
14411         * text2.C (removeRow): remove the assert as it can!
14412
14413         * lyxtext.h: added helper function firstRow returning firstrow and
14414         made firstrow private again.
14415
14416         * BufferView2.C (lockInset): don't relock if we're already locked!
14417
14418         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14419         the only paragraph.
14420         (removeRow): added Assert::(firstrow)
14421
14422         * debug.C: forgot to add INSETTEXT here.
14423
14424 2001-11-28  Juergen Vigna  <jug@sad.it>
14425
14426         * sp_spell.C (initialize): changed error text to more general
14427         spellchecker command use (not only ispell!)
14428
14429         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14430
14431         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14432
14433 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14434
14435         * vspace.C: initialise lyxgluelength on failure
14436
14437 2001-11-28  Allan Rae  <rae@lyx.org>
14438
14439         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14440         declaration & definition that looks like a function declaration.
14441
14442 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14443
14444         * BufferView2.C (copy):
14445         (copyEnvironment): do not clear the selection when doing a copy.
14446
14447         * text.C (paintFirstRow): compilation fix
14448
14449 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14450
14451         * tabular.C (Latex): correct line count when writing latex.
14452
14453 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14454
14455         * paragraph_pimpl.h:
14456         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14457           bug a bit
14458
14459 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14460
14461         * text.C:
14462         * LColor.h:
14463         * LColor.C: change vfillline->added_space
14464
14465         * text.C: add markers and text for added space
14466
14467         * vspace.C: fix comment
14468
14469 2001-11-28  André Pönitz <poenitz@gmx.net>
14470
14471         * paragraph.C: whitespace changes
14472         * all the other files from the change on 2001/11/26:
14473         change *::pos_type into lyx::pos_type
14474
14475 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14476
14477         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14478         language of the document when inserting error insets.
14479
14480 2001-11-26  André Pönitz <poenitz@gmx.net>
14481
14482         * BufferView_pimpl.[Ch]:
14483         *       CutAndPaste.C:
14484         * buffer.[Ch]:
14485         * lyxcursor.[Ch]:
14486         * lyxfind.C:
14487         * lyxfunc.C:
14488         * lyxrow.[Ch]:
14489         * paragraph.[Ch]:
14490         * paragraph_pimpl.[Ch]:
14491         * sp_spell.C:
14492         * text.C:
14493         * text2.C: reduce header dependencies, introduce type for positions
14494
14495 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14496
14497         * <various>: change to use Alert.h
14498
14499 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14500
14501         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14502         when encountering an unknown token.
14503         (readLyXformat2): Show an error message if there were unknown tokens.
14504
14505 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14506
14507         * BufferView2.C:
14508         * BufferView_pimpl.C:
14509         * buffer.C:
14510         * paragraph.h:
14511         * text.C:
14512         * text2.C: use par->isInset()
14513
14514 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14515
14516         * paragraph_pimpl.h:
14517         * paragraph_pimpl.C: cleanup
14518
14519 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14520
14521         * text2.C (removeRow):
14522         * text.C (setHeightOfRow): remove useless (and costly) call to
14523         getRow.
14524
14525 2001-11-20  Allan Rae  <rae@lyx.org>
14526
14527         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14528         Now need Inset*::checkInsertChar() to return true for appropriate
14529         cases so that the characters in the minibuffer will actually be
14530         inserted.
14531
14532 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14533
14534         * text.C: change the order of the includes.
14535         (workWidth): initialize it at once.
14536         (workWidth): make maxw unsigned
14537         (setHeightOfRow): remove unused variable (inset)
14538         (selectSelectedWord): remove unused variable (inset)
14539         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14540
14541 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14542
14543         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14544         server is not running.
14545         (openConnection):
14546         (closeConnection): add debug info when server is disabled.
14547
14548         * ColorHandler.C (getGCForeground): send debug message to GUI
14549         channel.
14550
14551         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14552
14553         * kbmap.C (bind): modify because return conventions of
14554         kb_sequence::parse have changed.
14555
14556         * kbsequence.C (parse): only ignore spaces and not any stupid
14557         control character. This avoids tests like s[i] <= ' ', which are
14558         guaranteed to fail with 8bit characters and signed chars.
14559         Change return code to string::npos when there have been no error
14560         (0 was a bad idea when error is at first character)
14561
14562 2001-11-14  José Matos  <jamatos@fep.up.pt>
14563
14564         * buffer.h:
14565         * buffer.C (simpleDocBookOnePar): removed unused argument.
14566
14567 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14568
14569         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14570         insets which are part of a word. Paragraph::isLetter takes care of
14571         that now. Use Paragraph::isInset to identify insets.
14572         (selectSelectedWord): do not test for hyphenation break.
14573
14574         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14575         that protected spaces are considered as spaces.
14576
14577         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14578         Inset::isLetter.
14579
14580 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14581
14582         * lyxserver.h:
14583         * lyxserver.C: fix it. and small cleanup.
14584
14585 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14586
14587         * BufferView_pimpl.C: use inline helpers
14588
14589         * LaTeXFeatures.h:
14590         * LaTeXFeatures.C: fix typos
14591
14592         * Spacing.h:
14593         * Spacing.C: move spacing_string into class
14594
14595         * ToolbarDefaults.C: move stuff into namespace anon
14596
14597         * layout.h: update enum
14598
14599         * lyxfunc.C: use better debug
14600
14601         * minibuffer.h: fix typo
14602
14603         * debug.h:
14604         * debug.C:
14605         * WorkArea.C: add and use Debug::WORKAREA
14606
14607         * lyxtext.h:
14608         * text.C:
14609         * text2.C: code re-organisation, inline helpers
14610
14611 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14612
14613         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14614         std::vector.empty().
14615
14616 2001-11-09  Allan Rae  <rae@lyx.org>
14617
14618         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14619         '\n's after tables.  Tabular and ERT inset work now makes this no
14620         longer necessary.
14621
14622 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14623
14624         * minibuffer.h:
14625         * minibuffer.C: fix crash, improve drop-down completion
14626
14627 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14628
14629         * lyxserver.h:
14630         * lyxserver.C: invalidate fd's when doing endPipe()
14631
14632 2001-11-08  José Matos  <jamatos@fep.up.pt>
14633
14634         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14635         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14636
14637         * paragraph.h:
14638         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14639
14640 2001-11-07  José Matos  <jamatos@fep.up.pt>
14641
14642         * buffer.h:
14643         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14644         const qualifier.
14645
14646         * buffer.C (sgmlOpenTag):
14647         * buffer.C (sgmlCloseTag): removed debug info.
14648
14649         * buffer.h (sgmlOpenTag):
14650         * buffer.h (sgmlCloseTag): made public.
14651
14652 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14653
14654         * buffer.C (saveParamsAsDefaults):
14655         * lyx_cb.C (MenuLayoutSave): remove
14656
14657         * LyXAction.C (init):
14658         * commandtags.h:
14659         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14660
14661 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14662
14663         * buffer.C (setPaperStuff): removed from here...
14664
14665         * bufferparams.C (setPaperStuff): ... and moved there.
14666
14667 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14668
14669         * minibuffer.h:
14670         * minibuffer.C:
14671         * XFormsView.C: add support for drop-down completion
14672
14673 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14674
14675         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14676         commands.
14677
14678 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14679
14680         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14681         disabled.
14682
14683 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14684
14685         * lyx_main.C: change ref to known bugs
14686
14687 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14688
14689         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14690         to work around older babel problems.
14691
14692 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14693
14694         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14695
14696 2001-10-24  Juergen Vigna  <jug@sad.it>
14697
14698         * tabular-old.C (ReadOld): below variable changes reflected.
14699
14700         * tabular.[Ch]: added ltType struct for longtable header/footer
14701         defines and changed all instances where they are used. Added
14702         future support for double top/bottom rows.
14703
14704 2001-10-24  José Matos  <jamatos@fep.up.pt>
14705
14706         * buffer.h (docbookHandleCaption):
14707         * buffer.C (docbookHandleCaption): removed unused function.
14708         (makeDocBookFile): moved docbook supported version to v4.1.
14709
14710 2001-10-24  José Matos  <jamatos@fep.up.pt>
14711
14712         * tabular.h:
14713         * tabular.C (docbookRow): new function to export docbook code of a row.
14714         (DocBook): now honors the longtable flags.
14715
14716 2001-10-23  José Matos  <jamatos@fep.up.pt>
14717
14718         * LaTeXFeatures.h:
14719         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14720         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14721
14722         * buffer.C (makeLinuxDocFile):
14723         (makeDocBookFile): reworked the preamble, more clean, and with
14724         support for lyx defined entities. Changed the document declaration
14725         to be more XML friendly.
14726
14727         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14728         if we need to output XML that should be done with a filter.
14729
14730 2001-10-22  Juergen Vigna  <jug@sad.it>
14731
14732         * sp_pspell.h (class PSpell): add alive function needed in the
14733         controller to see if the spellchecker could be started.
14734
14735 2001-10-22  Juergen Vigna  <jug@sad.it>
14736
14737         * buffer.C (insertStringAsLines): modify the font for inserting
14738         chars in certain conditions by calling checkInsertChar(font).
14739
14740 2001-10-19  Juergen Vigna  <jug@sad.it>
14741
14742         * text.C (workWidth): use getRow instead of wrong algorithm.
14743         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14744
14745 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14746
14747         * lyxserver.h:
14748         * lyxserver.C:
14749         * lyx_main.h:
14750         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14751
14752 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14753
14754         * text.C (workWidth): do not search for the exact row when
14755         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14756         optimization for big documents.
14757
14758 2001-10-18  Juergen Vigna  <jug@sad.it>
14759
14760         * text.C (workWidth): new function with added Inset * parameter.
14761
14762 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14763
14764         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14765
14766         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14767         change return type of getColumnNearX.
14768
14769
14770         * text.C (changeRegionCase): use uppercase/lowercase instead of
14771         toupper/tolower.
14772         (leftMargin):
14773         (rightMargin): simplify code by factoring out the uses of
14774         textclasslist.
14775         (labelFill):
14776         (numberOfHfills):
14777         (setHeightOfRow):
14778         (appendParagraph): use Paragraph::size_type
14779
14780 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14781
14782         * vspace.C (asLatexString): add a missing break
14783
14784 2001-10-15  Herbert Voss  <voss@perce.de>
14785
14786         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14787
14788 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14789
14790         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14791         is not available.
14792
14793 2001-10-10  André Pönitz <poenitz@gmx.net>
14794
14795         * lyxfunc.C: removed greek_kb_flag.
14796
14797 2001-10-10  Herbert Voss  <voss@perce.de>
14798
14799         * lyx_main.C: delete global string help_lyxdir.
14800
14801 2001-10-09  Herbert Voss  <voss@perce.de>
14802
14803         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14804
14805         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14806
14807         * lyx_main.C: added global string help_lyxdir.
14808
14809         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14810
14811 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14812
14813         * lyxrc.C (set_font_norm_type): support iso8859-4
14814
14815 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14816
14817         * LaTeX.C (deplog): add another regex for MikTeX
14818
14819 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14820
14821         * lyxrc.C (set_font_norm_type): support iso8859-3
14822
14823 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14824
14825         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14826
14827         * LaTeXFeatures.C: remove special case of french and index
14828
14829         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14830         before \begin{document}). This solves several incompatibilities.
14831
14832 2001-10-03  Garst Reese  <reese@isn.net>
14833
14834         * lyx_cb.C: change CheckTex error msg.
14835
14836 2001-10-03  José Matos  <jamatos@fep.up.pt>
14837
14838         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14839
14840 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14841
14842         * .cvsignore: update
14843
14844         * lyx_main.C (commandLineVersionInfo): use new style version info.
14845
14846         * buffer.C (writeFile):
14847         (makeLaTeXFile):
14848         (makeLinuxDocFile):
14849         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14850
14851         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14852
14853         * version.h: update to use stuff in version.C
14854
14855         * version.C.in: new file. Contains version information determined
14856         at compile time. This is a merging of version.h and
14857         version_info.h.in.
14858
14859 2001-10-03  Juergen Vigna  <jug@sad.it>
14860
14861         * BufferView_pimpl.C (update): don't change "dirty" status in
14862         updateInset call.
14863
14864 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14865
14866         * WorkArea.C (c-tor): re-position version string slightly.
14867
14868 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14869
14870         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14871         revert to previous code.
14872
14873         WorkArea.[Ch]: (show, destroySplash): methods removed.
14874
14875         WorkArea.C: rework code so that it's an amalgam of the codes before and
14876         after the splash screen was moved to WorkArea.
14877
14878 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14879
14880         * lyxrc.C (read):
14881         * vspace.C (inPixels):
14882         (lyx_advance):
14883         * kbmap.C (bind):
14884         * buffer.C (insertStringAsLines):
14885         (asciiParagraph): fix types to be large enough
14886
14887         * lyxlex_pimpl.h: change member status from short to int
14888
14889         * layout.h: fix type of endlabeltype
14890
14891         * kbmap.C (bind):
14892         * kbsequence.C (parse): change return type to string::size_type
14893
14894         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14895         variable
14896
14897         * Bullet.C (bulletSize):
14898         (bulletEntry): do not use short ints as parameters
14899
14900         * BufferView2.C (insertLyXFile): change a char to an int.
14901
14902         * WorkArea.C (WorkArea): remove unneeded floats in computation
14903
14904 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14905
14906         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14907
14908         * paragraph.C (asString): Do not ignore newline/hfill chars when
14909         copying to the clipboard.
14910
14911 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14912
14913         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14914         after a multi-line inset.
14915
14916 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14917
14918         * paragraph.C (validate): Set NeedLyXFootnoteCode
14919
14920 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14921
14922         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14923         and decrease-error to decrease.
14924
14925 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14926
14927         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14928         it more readable (should be equivalent)
14929
14930 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14931
14932         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14933
14934 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14935
14936         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14937         of a cursor (row, etc.) after a character has been deleted
14938         (deleteEmptyParagraphMechanism): call the method above on _all_
14939         cursors held by the LyXText when a double space has been
14940         detected/deleted.
14941
14942 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14943
14944         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14945         pixmap.
14946         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14947
14948         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14949         background. Use greyOut() and the new show() methods to toggle between
14950         the foreground and background. Add code to remove the splash after
14951         its initial showing.
14952
14953         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14954         (create_forms): no longer call Dialogs::showSplash.
14955
14956 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14957
14958         * .cvsignore: add version_info.h
14959
14960 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14961
14962         * version_info.h.in: new file
14963
14964         * Makefile.am: add version_info.h.in
14965
14966         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14967         version_info.h instead of VERSION_INFO
14968
14969 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14970
14971         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14972         The ERT inset now returns string().
14973
14974 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14975
14976         * lyxtext.h, text.C (selectNextWord): renamed as
14977         selectNextWordToSpellcheck.
14978
14979         * text.C (selectNextWordToSpellcheck): Modified to not select
14980         words inside an ERT inset.
14981
14982 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14983
14984         * lyx_cb.C (MenuLayoutSave): change a bit the question
14985
14986         * sp_base.h: include <sys/types.h>
14987
14988 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14989
14990         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14991
14992 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14993
14994         * several files: fix typos in user-visible strings
14995
14996 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14997
14998         * text2.C (pasteSelection): do not set the selection, since it
14999         will be cleared later. Actually, the intent was to fix the way the
15000         selection was set, but I figured rmoving the code was just as good.
15001
15002 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15003
15004         * FontLoader.C (available): Check if font is available without
15005         loading the font.
15006
15007 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15008
15009         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15010
15011 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15012
15013         * lyxrc.[Ch]: added display_graphics variable and associated code.
15014
15015 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15016
15017         * bufferparams.C (hasClassDefaults): new method. Returns true if
15018         the buffer parameters correspond to known class defaults
15019
15020 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15021
15022         * XFormsView.C (show): set minimum size to the main window.
15023
15024 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15025
15026         * text2.C (copySelection):
15027         (cutSelection):
15028         * lyxfind.C (LyXReplace):
15029         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15030         LyXText::selectionAsString.
15031
15032         * paragraph.C (asString): add "label" argument to the second form
15033
15034         * text2.C (selectionAsString): add "label" argument and pass it to
15035         Paragraph::asString.
15036
15037 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15038
15039         * lyx_main.C (commandLineHelp): remove version information
15040
15041 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15042
15043         * lyx_main.C: add -version commandline option
15044
15045 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15046
15047         * paragraph.h: make the optional constructor arg required instead.
15048         some modifications to other files because of this.
15049
15050         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15051
15052         * lyxserver.C (C_LyXComm_callback): make it static
15053
15054         * lyx_main.C (error_handler): make it static
15055
15056         * lyx_gui.C (LyX_XErrHandler): make it static
15057
15058         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15059
15060         * WorkArea.C: make the extern "C" methods static.
15061
15062         * Makefile.am (lyx_LDADD): simplify
15063
15064 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15065
15066         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15067         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15068
15069         * LyXAction.C (init):
15070         * lyxfunc.C (dispatch): associated code removal.
15071
15072 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15073
15074         * lyxfont.h (isSymbolFont): shut off warning
15075
15076         * text.C (setHeightOfRow):
15077         (getVisibleRow): fix crash with empty paragraphs which have a
15078         bottom line
15079
15080 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15081
15082         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15083         code.
15084
15085 2001-09-04  José Matos  <jamatos@fep.up.pt>
15086         * buffer.C
15087         * buffer.h
15088         * tabular.C (docbook): rename docBook method to docbook.
15089
15090 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15091
15092         * Makefile.am: add dependencies to main.o.
15093
15094 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15095
15096         * FontLoader.C (available): Return false if !lyxrc.use_gui
15097
15098 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15099
15100         * FontInfo.C (query):
15101         * converter.C (view):
15102         * importer.C (Import):
15103         * exporter.C (Export): Can not -> cannot.
15104
15105 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15106
15107         * BufferView_pimpl.C: allow to create index inset even if
15108           string is empty
15109
15110 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15111
15112         * buffer.C (getLists): replace boost::tie code with an explicit pair
15113         as boost::tie can break some compilers.
15114
15115         * iterators.h: Added a std:: declaration to the return type of
15116         ParIterator::size.
15117
15118 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15119
15120         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15121           case.
15122
15123 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15124
15125         * iterators.[Ch]: New files. Provide paragraph iterators.
15126
15127         * buffer.C (changeLanguage): Use paragraph iterators.
15128         (isMultiLingual): ditto
15129
15130         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15131
15132 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15133
15134         * FontLoader.C: Support for cmr font.
15135
15136 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15137
15138         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15139         (available): New method.
15140
15141         * FontInfo.C (getFontname): Use scalable fonts even when
15142         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15143         found.
15144
15145 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15146
15147         * converter.C (Formats::view): reverted! Incorrect fix.
15148
15149 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15150
15151         * converter.C (Formats::view): only output the -paper option
15152         if the dvi viewer is xdvi, thereby fixing bug #233429.
15153
15154 2001-08-23  Herbert Voss  <voss@perce>
15155
15156         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15157
15158 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15159
15160         * Spacing.h (Spacing): Set space to Default on in the default
15161         constructor.
15162
15163 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15164
15165         * vc-backend.h (RCS::versionString): add RCS to version
15166         (CVS::versionString): add CVS to version
15167
15168         * vc-backend.C (scanMaster): do not add CVS to version.
15169         (scanMaster): do not add RCS to version
15170
15171         * lyxvc.C (versionString): new method
15172
15173         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15174
15175 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15176
15177         * Spacing.C (set): initialize fval
15178
15179 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15180
15181         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15182         " or \.
15183
15184 2001-08-16  Juergen Vigna  <jug@sad.it>
15185
15186         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15187
15188 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15189
15190         * BufferView_pimpl.C:
15191         * figureForm.C:
15192         * lyxtext.h:
15193         * text2.C: setParagraph takes linespacing now
15194
15195 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15196
15197         * LyxAction.C: add internal LFUN_CITATION_INSERT
15198
15199         * LyXView.C: actually apply fix
15200
15201         * bufferlist.C: fix open non-existent file
15202
15203         * lyxfind.C: fix indentation
15204
15205         * lyxfunc.C: remove unneeded assert, fix typo
15206
15207 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15208
15209         * MenuBackend.C: use "Floatname List"
15210
15211 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15212
15213         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15214         when converting LaTeX layout to insetERT.
15215         Generate a non-collapsed float when reading old float
15216
15217 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15218
15219         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15220         ERT insets.
15221
15222 2001-08-13  Juergen Vigna  <jug@sad.it>
15223
15224         * text.C (fill): return 0 instead of 20 as this seems to be the more
15225         correct value.
15226
15227 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15228
15229         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15230         lyxrc.font_norm.
15231
15232 2001-08-13  Juergen Vigna  <jug@sad.it>
15233
15234         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15235         casesensitive off.
15236         (SearchBackward): comment out the unlocking of the inset_owner this
15237         should not be needed!
15238
15239 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15240
15241         * Many files: Remove inherit_language, and add latex_language
15242
15243         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15244         collapsible insets.
15245
15246 2001-08-10  Juergen Vigna  <jug@sad.it>
15247
15248         * text.C (prepareToPrint): fixed hfill-width in draw!
15249
15250         * BufferView2.C (selectLastWord): save the selection cursor as this
15251         now is cleared in the function LyXText::clearSelection!
15252
15253 2001-08-08  Juergen Vigna  <jug@sad.it>
15254
15255         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15256         BACKSPACE type functions.
15257
15258         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15259         is only cutted from the document but not put in the cut-buffer, where
15260         still the old stuff should be.
15261
15262         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15263
15264         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15265
15266         * tabular.C (SetWidthOfCell): fixed special case where the width
15267         was not updated!
15268         (LeftLine): handle '|' in align_special.
15269         (RightLine): ditto
15270         (LeftAlreadyDrawed): ditto
15271         (SetWidthOfCell): ditto
15272
15273 2001-08-07  Juergen Vigna  <jug@sad.it>
15274
15275         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15276
15277 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15278
15279         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15280         * lyxlex.[hC]: ditto
15281
15282 2001-08-06  Juergen Vigna  <jug@sad.it>
15283
15284         * text.C (getVisibleRow): fix up row clearing a bit.
15285
15286 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15287
15288         * minibuffer.C: make sure the X server sees the changes in the input.
15289
15290 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15291
15292         * paragraph.C (getFont): split into...
15293         (getLabelFont): this
15294         (getLayoutFont): and this
15295         * paragraph_pimpl.C (realizeFont): calling this
15296
15297         * text2.C (getFont): split into...
15298         (getLayoutFont): this
15299         (getLabelFont): and this
15300         (realizeFont): all three calling this
15301
15302         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15303         files where used.
15304
15305 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15306
15307         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15308
15309 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15310
15311         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15312         layouts from the Quote inset insertion.
15313
15314 2001-08-03  Juergen Vigna  <jug@sad.it>
15315
15316         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15317
15318         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15319         only if status not is already CHANGED_IN_DRAW (second level).
15320
15321         * text.C (draw): don't set the need_break_row when inside an
15322         InsetText LyXText.
15323
15324 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15325
15326         * buffer.C (parseSingleLyXformat2Token): handle more latex
15327         conversion cases.
15328
15329         * bufferview_funcs.[hC]: change function names to
15330         begin with small char, adjust other files.
15331
15332 2001-08-02  André Pönitz <poenitz@gmx.net>
15333
15334         * lyxfunc.C:
15335         BufferView_pimpl.C: remove broken special code for math-greek
15336
15337 2001-08-02  Juergen Vigna  <jug@sad.it>
15338
15339         * BufferView_pimpl.C (update): redone this function so that we
15340         update the text again if there was a CHANGE_IN_DRAW.
15341
15342         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15343         (drawFromTo): added a new internal bool which is used by draw() and
15344         redraw() function.
15345         (general): some cursor drawing problems fixed.
15346
15347 2001-08-01  Juergen Vigna  <jug@sad.it>
15348
15349         * lyxfind.C (LyXFind): fixed
15350         (SearchForward): ditto
15351         (SearchBackward): ditto
15352
15353         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15354         spurius drawing of the cursor in the main area.
15355
15356         * text2.C (status): small fix which could lead to a segfault!
15357         (clearSelection): remove unneeded BufferView param.
15358
15359 2001-08-01  André Pönitz <poenitz@gmx.net>
15360
15361         * lyxfunc.C: small change due to changed mathed interface
15362
15363 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15364
15365         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15366
15367 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15368
15369         * lyxfunc.c: fail gracefully if file doesn't exist
15370
15371         * LyXSendto.C:
15372         * buffer.C:
15373         * lyxfunc.C:
15374         * BufferView_pimpl.C: IsDirWriteable() proto changed
15375
15376         * LyXView.C: fix updateWindowTitle() to store the last title
15377
15378 2001-07-31  Juergen Vigna  <jug@sad.it>
15379
15380         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15381         the font (wrong since using of Paragraph::highestFontInRange).
15382
15383         * paragraph.C (highestFontInRange): added a default_size parameter.
15384
15385         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15386         (setHeightOfRow): reformat
15387
15388 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15389
15390         * converter.[hC] + affected files: move to (inital-char)lowercase
15391         function names.
15392
15393         * ParagraphParameters.C (ParagraphParameters): remove commented code
15394
15395         * PainterBase.[Ch]: remove commented code
15396
15397         * LaTeXFeatures.h: add "bool floats" for float.sty
15398
15399         * LaTeXFeatures.C (LaTeXFeatures): init floats
15400         (require): handle float
15401         (getPackages): do it with floats
15402
15403 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15404
15405         * BufferView_pimpl.C (Dispatch): improve handling of
15406         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15407
15408         * commandtags.h: #include lyxfont.h here temporarily to avoid
15409         keybinding bug.
15410
15411         * bufferlist.h: include LString.h here.
15412
15413 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15414
15415         * text2.C (getStringToIndex): new method.
15416
15417 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15418
15419         * *: Reduced header file dependencies all over.
15420
15421 2001-07-30  Baruch Even  <baruch@lyx.org>
15422
15423         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15424
15425 2001-07-29  Baruch Even  <baruch@lyx.org>
15426
15427         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15428
15429 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15430
15431         * ParameterStruct.h (endif): add a default constructor to make
15432         sure that all variables is initialized.
15433
15434         * ParagraphParameters.C (ParagraphParameters): adjust
15435
15436 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15437
15438         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15439         index; also, check that there is something to index, and that it
15440         does not span over several paragraphs.
15441         (doubleClick): use WHOLE_WORD_STRICT for double click.
15442
15443         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15444
15445         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15446         scheme.
15447
15448 2001-07-26  Baruch Even  <baruch@lyx.org>
15449
15450         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15451         an InsetFig figure, backwards compatible reading of old figure code.
15452
15453 2001-07-27  Juergen Vigna  <jug@sad.it>
15454
15455         * text2.C: font.realize function adaption.
15456
15457         * text.C (draw): add a warnings lyxerr text if needed.
15458
15459         * layout.C: font.realize function adaption.
15460
15461         * language.C: add inherit_language and implement it's handlings
15462
15463         * bufferview_funcs.C (StyleReset): remove language parameter from
15464         font creation (should be language_inherit now).
15465
15466         * bufferparams.C (writeFile): handle ignore_language.
15467
15468         * paragraph.C (getFontSettings): the language has to be resolved
15469         otherwise we have problems in LyXFont!
15470
15471         * lyxfont.C (lyxWriteChanges): added document_language parameter
15472         (update): removed unneeded language parameter
15473
15474         * paragraph.C (validate): fixed wrong output of color-package when
15475         using interface colors for certain fonts in certain environments,
15476         which should not seen as that on the final output.
15477
15478 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15479
15480         * BufferView_pimpl.C:
15481         * Thesaurus.h:
15482         * Thesaurus.C:
15483         * Makefile.am:
15484         * commandtags.h:
15485         * LyXAction.C: add thesaurus support
15486
15487         * lyxfind.h:
15488         * lyxfind.C: add "once" parameter, for thesaurus, to not
15489           move to the next match
15490
15491 2001-07-26  Juergen Vigna  <jug@sad.it>
15492
15493         * lyxfont.C (realize): honor ignore_language too!
15494         (resolved): ditto.
15495
15496         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15497
15498         * text.C (draw): one place more for ignore_language to not draw
15499         itself!
15500
15501 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15502
15503         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15504
15505 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15506
15507         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15508         the minipage conversion problem.
15509
15510 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15511
15512         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15513         insert an inset.
15514
15515 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15516
15517         * BufferView.h: don't forward declare WorkArea
15518
15519         * BufferView.C: don't include WorkArea.h
15520
15521 2001-07-25  André Pönitz <poenitz@gmx.net>
15522
15523         * commandtags.h:
15524         * LyXAction.C:
15525         * lyxfunc.C:  new LFUN 'math-space'
15526
15527         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15528
15529 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15530
15531         * text2.C (toggleInset): call open/close
15532
15533 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15534
15535         * lyxfunc.C (dispatch): add debug for the disabled case
15536
15537         * font.C (buttonText): make similar to rectText
15538
15539         * buffer.C (readInset): comment out parsing of insetlist and
15540         insttheorem
15541
15542         * PainterBase.C (rectText): small correction
15543
15544         * BufferView_pimpl.C: comment out insettheorem and insetlist
15545         * LyXAction.C: ditto
15546         * commandtags.h: ditto
15547
15548 2001-07-24  Juergen Vigna  <jug@sad.it>
15549
15550         * text.C (draw): honor the ignore_language.
15551
15552         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15553
15554 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15555
15556         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15557         char inset.
15558
15559 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15560
15561         * lyxtext.h: remove unused (and unimplemented) methods
15562
15563 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15564
15565         * text.C (getVisibleRow): honor background color
15566
15567         * PainterBase.h:
15568         * Painter.h: remove default color argument for fillRectangle
15569
15570         * text.C (backgroundColor): new method
15571
15572 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15573
15574         * text.C (getVisibleRow): adjust
15575
15576         * font.[Ch] (rectText): new method, metrics
15577         (buttonText): new method, metrics
15578
15579         * PainterBase.[hC]: make rectText and buttonText always draw and take
15580         fewer paramteres.
15581
15582 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15583
15584         * ToolbarDefaults.C (read):
15585         * MenuBackend.C (read): allow escaping in all strings
15586
15587         * BufferView_pimpl.C (insertAndEditInset): new method.
15588         (Dispatch): use insertAndEditInset whenever appropriate.
15589
15590         * BufferView_pimpl.C (insertNote): removed
15591
15592         * BufferView_pimpl.C (smartQuote): new method, moved from
15593         BufferView; if an insetquote cannot be inserted, insert a '"'
15594         character instead.
15595
15596         * BufferView2.C: remove insertCorrectQuote();
15597
15598         * lyxfunc.C (getStatus): Add support for all remaingin
15599         inset-insert lfuns.
15600
15601         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15602
15603         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15604         command (necessary to pass " as parameter of self-insert.
15605
15606         * text.C (selectWordWhenUnderCursor):
15607         (selectWord): add word_location parameter
15608         (selectWordWhenUnderCursor): same + remove special code for word
15609         boundary.
15610         (selectNextWord): use kind() to guess type of insetspecialchar,
15611         not latex().
15612
15613         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15614         (insertErtContents): create ert insets as collapsed.
15615         (readInset): better compatibility code for Info inset.
15616
15617 2001-07-20  Juergen Vigna  <jug@sad.it>
15618
15619         * lyxfunc.C (dispatch): use always LyXFind now!
15620
15621         * text2.C (init): add a reinit flag so that the LyXText can be
15622         reinited instead of deleted and reallocated (used in InsetText).
15623
15624         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15625
15626         * text.C: ditto
15627
15628         * text2.C: ditto
15629
15630 2001-07-18  Juergen Vigna  <jug@sad.it>
15631
15632         * text.C (selectNextWord): handle insets inside inset by calling
15633         always the bv->text functions so that we can go up the_locking_inset!
15634
15635         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15636         in strange locations when inside an inset!
15637
15638         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15639         handling to include insets.
15640
15641         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15642
15643 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15644
15645         * LyXAction.C (init):
15646         * commandtags.h:
15647         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15648         LIGATURE_BREAK, since the name is so stupid.
15649
15650 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15651
15652         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15653         InsetInfos.
15654
15655         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15656
15657         * sp_form.[Ch]: remove.
15658
15659         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15660
15661         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15662         InsetInfo.
15663
15664         * src/buffer.C (readInset): ditto.
15665
15666 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15667
15668         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15669         menuSeparator(), endOfSentenceDot(), ldots() and
15670         hyphenationPoint(), which are therefore removed.
15671         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15672
15673         * LyXAction.C (init):
15674         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15675
15676         * paragraph.C (getWord): removed.
15677
15678         * BufferView_pimpl.C (Dispatch): use last word or selection for
15679         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15680
15681         * lyx_main.C (queryUserLyXDir): do not ask before creating
15682         user_dir, except if it has been named explicitely.
15683
15684 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15685
15686         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15687         a document of zero size.
15688
15689 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15690
15691         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15692         approriately in the c-tor and in require().
15693         (getPackages): output the appropriate LaTeX for natbib support.
15694
15695         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15696         variables "use_natbib" and "use_numerical_citations" when reading the
15697         LyX file.
15698         (readInset): read the various natbib cite commands.
15699         (validate): white-space change.
15700
15701         * bufferparams.[Ch]: new variables "bool use_natbib" and
15702         "bool use_numerical_citations".
15703         (writeFile): output them in the LyX file.
15704
15705 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15706
15707         * lyxfunc.C (getStatus): add support for all the inset insertion
15708         commands.
15709
15710         * text2.C (insertInset):
15711         * paragraph.C (insetAllowed):
15712         * BufferView_pimpl.C (insertInset): update to take in account the
15713         renaming of insertInsetAllowed
15714
15715         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15716
15717         * text2.C (getInset): new method. returns inset at cursor position.
15718
15719         * BufferView_pimpl.C (Dispatch): changes because of this.
15720
15721         * LyXAction.C (init): rename open-stuff to inset-toggle.
15722
15723         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15724
15725         * text2.C (toggleInset): renamed from openStuff; use
15726         Inset::open().
15727
15728 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15729
15730         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15731
15732         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15733
15734 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15735
15736         * buffer.C (readLyXformat2): Add filename to the error dialog
15737
15738 2001-07-18  Juergen Vigna  <jug@sad.it>
15739
15740         * tabular.C (GetCellNumber): put an assert here instead of the check!
15741
15742 2001-07-17  Juergen Vigna  <jug@sad.it>
15743
15744         * BufferView_pimpl.C (toggleSelection): adapted too.
15745
15746         * text.C (selectNextWord): adapted for use with insets.
15747         (selectSelectedWord): ditto
15748
15749 2001-07-17  Juergen Vigna  <jug@sad.it>
15750
15751         * sp_spell.C (PSpell): fix initialitation order.
15752
15753 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15754
15755         * paragraph.C: spacing
15756
15757 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15758
15759         * sp_spell.C: repair language selection for pspell
15760
15761 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15762
15763         * lyxfunc.h: change more methods to begin with lower char.
15764
15765 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15766
15767         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15768         for unknown layouts.
15769
15770 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15771
15772         * buffer.C (readLyXformat2): Generate an error dialog if there are
15773         unknown layouts.
15774
15775 2001-07-16  Juergen Vigna  <jug@sad.it>
15776
15777         * sp_spell.C: always compile ISpell part.
15778
15779         * lyxrc.C: added use_pspell entry and it's handling.
15780
15781 2001-07-13  Juergen Vigna  <jug@sad.it>
15782
15783         * sp_spell.C: removed double includes.
15784
15785 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15786
15787         Consistent use of Lsstream.h:
15788         * Lsstream.h: added using std::stringstream for consistencies sake.
15789
15790         * buffer.C: removed using std::stringstream
15791
15792         * lyxfont.C (stateText):
15793         * paragraph.C (asString):
15794         * text.C (selectNextWord, selectSelectedWord):
15795         * text2.C (setCounter):
15796         * vspace.C (asString, asLatexString):
15797         std::ostringstream -> ostringstream.
15798
15799 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15800
15801         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15802         * commandtags.h: add LFUN_HELP_ABOUTLYX
15803         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15804
15805 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15806
15807         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15808         cursorToggle()
15809         * lyx_gui_misc.C: remove spellchecker
15810         * lyxfunc.C: showSpellchecker
15811         * sp_base.h: added
15812         * sp_ispell.h: added
15813         * sp_pspell.h: added
15814         * sp_spell.C: added
15815         * sp_form.[Ch]: removed
15816         * spellchecker.[Ch]: removed
15817
15818 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15819
15820         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15821         is set.
15822         (simpleTeXSpecialChars): Simply print the input character without
15823         any special translation if pass_thru is set.
15824
15825         * layout.h: Added bool pass_thru to layout class for being able to
15826         implement pass through of a paragraph for Literate Programming.
15827
15828         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15829         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15830         * layout.C (Read): add "passthru" to list of layout tags and add
15831         code to set the pass_thru boolean when it is read.
15832
15833 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15834
15835         * trans_decl.h: remove allowed from KmodInfo
15836
15837         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15838         remove allowed code
15839         (Load): adjust
15840
15841         * paragraph_pimpl.C (erase): use boost::prior
15842
15843         * Painter.C (text): use data() instead of c_str() when length is
15844         also provided.
15845         * WorkArea.C (putClipboard): ditto
15846         * font.h (width): ditto
15847
15848         * BufferView2.C: use it-> instead of (*it). for iterators
15849         * texrow.C: ditto
15850         * paragraph_pimpl.C: ditto
15851         * paragraph.C: ditto
15852         * minibuffer.C: ditto
15853         * language.C: ditto
15854         * kbmap.C: ditto
15855         * encoding.C: ditto
15856         * counters.C: ditto
15857         * converter.C: ditto
15858         * chset.C: ditto
15859         * Variables.C: ditto
15860         * TextCache.C: ditto
15861         * MenuBackend.C: ditto
15862         * LyXAction.C: ditto
15863         * LColor.C: ditto
15864         * FloatList.C: ditto
15865         * DepTable.C: ditto
15866         * ColorHandler.C (LyXColorHandler): ditto
15867
15868 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15869
15870         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15871
15872         * text2.C (openStuff): reintroduce this method (which had been
15873         nuked in NEW_INSETS frenzy).
15874
15875         * lyxfunc.C (Dispatch): when an action has not been handled, use
15876         its name in the error message, not its number.
15877
15878         * paragraph.C (inInset): change method name to begin with lowercase.
15879
15880         * undo_funcs.C:
15881         * text2.C: updates because of this.
15882
15883 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15884
15885         * ToolbarDefaults.C (add): add spaces in error message
15886
15887 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15888
15889         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15890         (readLyXformat2): rename return_par to first_par, use lyxlex's
15891         pushToken and remove the manual push handling.
15892         (parseSingleLyXformat2Token): add another ert comp. variable:
15893         in_tabular, rename return_par to first_par. handle newlines better
15894
15895 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15896
15897         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15898
15899 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15900
15901         * text2.C (getParFromID): removed
15902
15903         * buffer.C (getParFromID): new method moved form lyxtext.
15904         * BufferView2.C (insertErrors): adjust
15905         (setCursorFromRow): adjust
15906         * BufferView_pimpl.C (restorePosition): adjust
15907         * lyxfunc.C (Dispatch): adjust
15908         * undo_funcs.C (textUndo): adjust
15909         (textRedo): adjust
15910         (textHandleUndo): adjust
15911         (textHandleUndo): adjust
15912
15913 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15914
15915         * buffer.C: up' the LYX_FORMAT
15916
15917         * lyxfont.h: turn NO_LATEX on as default
15918
15919         * buffer.C (insertErtContents): new methods of tex style compability.
15920         (parseSingleLyXformat2Token): use it several places.
15921         * tabular.C (OldFormatRead): and here
15922
15923 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15924
15925         * text2.C: remove some commented code.
15926         reindent file.
15927
15928         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15929         * trans.C: changes because of the above.
15930
15931 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15932
15933         * text2.C (setCounter): Fix counters bug with bibliography layout.
15934
15935 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15936
15937         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15938         own member functions
15939         (simpleTeXSpecialChars): ditto
15940
15941 2001-07-06  Juergen Vigna  <jug@sad.it>
15942
15943         * a lot of files: changed the access to LyXText::status and the
15944         call of undo-functions.
15945
15946         * undo.[Ch]: added a inset_id to the undo informations.
15947
15948         * undo_funcs.[Ch]: added and moved here all undo functions.
15949
15950         * lyxtext.h: give the status enum a weight, made status_ a private
15951         variable and made accessor functions for it, removed the whole bunch
15952         of undo-functions as they are now in their own file, make some
15953         functions publically available. Added function ownerParagraph with
15954         int parameter.
15955
15956         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15957         made InInset() a const function, added getParFromID() function.
15958
15959         * buffer.[Ch]: added const version for inset_iterator functions,
15960         added getInsetFromID() function.
15961
15962         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15963         changed undo functions for new version.
15964
15965 2001-07-05  Juergen Vigna  <jug@sad.it>
15966
15967         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15968         unknow mechanism does not call the proper constructor but only this
15969         one also if I request the other!?
15970
15971 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15972
15973         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15974
15975         * text2.C (LyXText): use initialization lists.
15976
15977         * lyxtext.h (Selection): initialize set_ and mark_
15978         (init): remove method
15979
15980 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15981
15982         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15983
15984 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15985
15986         * screen.[Ch]: change method names to begin with lowercase
15987
15988         * BufferView_pimpl.C (updateScrollbar): simplify further and
15989         hopefully make it a bit faster.
15990
15991 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15992
15993         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15994         calling directly xforms functions.
15995
15996         * Painter.C (Painter):
15997         * lyx_cb.C (MenuWrite):
15998         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15999         fl_display.
16000
16001         * lyx_gui.C: remove bogus guiruntime extern declaration.
16002
16003 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16004
16005         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16006         in NEW_INSETS
16007         (redoDrawingOfParagraph): ditto
16008         (redoParagraphs): ditto
16009         (cutSelection): don't create a object for CutAndPaste use the
16010         static method directly
16011         (pasteSelection): ditto
16012
16013         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16014         LyXview (+ rename)
16015
16016 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16017
16018         * modifications to some other files because of this.
16019
16020         * Makefile.am (lyx_SOURCES): add XFormsView
16021
16022         * XFormsView.[Ch]: new files
16023
16024         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16025         the main window. Move the gui dependent stuff to XFormsView
16026
16027 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16028
16029         * tabular.C (GetCellInset): update cur_cell also in the row/col
16030         version of this function.
16031
16032         * lyxfunc.C: no need to include figure_form.h here.
16033
16034         * FontLoader.h:
16035         * lyxfunc.h:
16036         * lyxscreen.h:
16037         * text2.C:
16038         * lyxvc.C: no need to include forms.h here.
16039
16040 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16041
16042         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16043
16044         * lyxfunc.C (Dispatch):
16045         * Spacing.C (set):
16046         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16047         constructor argument.
16048
16049 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16050
16051         * paragraph.C (Paragraph): dont't clear, and just set layout.
16052         (makeSameLayout): use params's copy contructor.
16053
16054         * ParagraphParameters.[Ch] (makeSame): delete method
16055
16056 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16057
16058         * Variables.[Ch]: fix indentation, rename set to isSet
16059
16060 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16061
16062         * lyxfunc.C (Dispatch): fix typo
16063
16064 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16065
16066         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16067         upper_bound.
16068
16069         * bufferlist.C: include assert.h for emergencyWrite().
16070
16071 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16072
16073         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16074           give up at last (bug #425202) !
16075
16076 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16077
16078         * lyx_gui_misc.C:
16079         * sp_form.h:
16080         * sp_form.C:
16081         * spellchecker.h:
16082         * spellchecker.C: strip spellchecker options and bring up
16083           preferences tab instead
16084
16085 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16086
16087         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16088         the istringstream constructor
16089
16090 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16091
16092         * paragraph.C (getLayout): fix return value
16093
16094         * paragraph.h: do not declare getLayout as inline.
16095
16096         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16097
16098 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16099
16100         * lyxcursor.h (operator<): new func
16101         (operator>): new func
16102         (operator>=): new func
16103         (operator<=): new func
16104
16105         * text.C (changeCase): use selection.start and selection.end
16106         (changeRegionCase): require from to be <= to. Require par to be a
16107         valid paragraph.
16108
16109         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16110
16111 2001-06-27  Juergen Vigna  <jug@sad.it>
16112
16113         * text.C (cursorLeftOneWord): changed to return the cursor and added
16114         overlay with BufferView * parameter which calls this one.
16115         (getWord): added
16116         (selectWord): use new getWord function.
16117         (changeCase): renamed from changeWordCase as and extended to work
16118         also on selections.
16119
16120         * lyxtext.h: added enum word_location
16121
16122         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16123         changeCase as this operates now also on selections.
16124
16125 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16126
16127         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16128
16129         * many files: send debug output to Debug::INFO instead of
16130         Debug::ANY.
16131
16132         * converter.C (View):
16133         (Convert):
16134         (Move): send debug output to Debug::FILES instead of console.
16135
16136 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16137
16138         * lyxfunc.C (getStatus): use func_status
16139
16140         * func_status.h: new header, describing the results of
16141         LyXFunc::getStatus;
16142
16143         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16144         LFUN_MATH_HALIGN.
16145
16146 2001-06-25  The LyX Project  <jug@sad.it>
16147
16148         * buffer.C (sgmlOpenTag):
16149         (sgmlCloseTag):
16150         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16151
16152 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16153
16154         * text2.C: remove some dead code
16155
16156         * tabular.C (GetCellInset): store the last cell checked (gotten)
16157
16158         * tabular.h: add the helper for the speedup
16159
16160         * lyxtext.h: remove some dead code
16161
16162 2001-06-26  The LyX Project  <Asger>
16163
16164         * paragraph.C: Change export to LaTeX of alignment to
16165         \begin{center} and family for better roundtrip work with reLyX.
16166
16167         * Tune the math drawing a bit.
16168
16169 2001-06-25  The LyX Project  <Asger>
16170
16171         * LColor.C (LColor): New color for math background. New color
16172         for buttons.
16173
16174 2001-06-25  The LyX Project  <jug@sad.it>
16175
16176         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16177
16178         * lyxfunc.C (Open):
16179         * bufferlist.C (newFile): do not restrict to files ending with
16180         .lyx
16181
16182         * BufferView_pimpl.C (MenuInsertLyXFile):
16183
16184 2001-06-24  The LyX Project  <jug@sad.it>
16185
16186         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16187         of compare_no_case
16188
16189 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16190
16191         * lyxtext.h: rename most methods to begin with a small char.
16192         Lots of changes because of this.
16193
16194         * paragraph.C (Paragraph): do not call fitToSize
16195         (erase): call Pimpl::erase
16196         (insertChar): call Pimpl::insertChar
16197         (insertInset): call Pipl::insertInset
16198         (breakParagraph): do not call fitToSize
16199         (breakParagraphConservative): do not call fitToSize
16200         (fitToSize): remove method
16201
16202         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16203
16204 2001-06-24  The LyX Project  <Asger>
16205
16206         * Fix Qt compilation^2
16207
16208 2001-06-24  The LyX Project  <jug@sad.it>
16209
16210         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16211         depthHook(getDepth()-1).
16212
16213         * paragraph.h:
16214         * ParagraphParameters.h:
16215         * ParameterStruct.h: change type of depth to unsigned int ==
16216         depth_type. Many adaptations to other files before of that.
16217
16218 2001-06-24  The LyX Project  <Asger>
16219
16220         * Fix Qt compilation.
16221
16222 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16223
16224         * paragraph.h: renamed several methods to begin with small letter.
16225         several changes to many parts of the code because of this.
16226
16227 2001-06-23  The LyX Project  <jug@sad.it>
16228
16229         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16230         rewritten to discard all double spaces when KeepEmpty is off
16231         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16232         to only handle newlines but not fiddle with spaces and friends.
16233
16234         * lyxfunc.C (MenuNew): when doing 'new from template', use
16235         template_path as default directory
16236
16237 2001-06-23  The LyX Project  <Asger>
16238
16239         * Clean-up of header file includes all over
16240         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16241
16242 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16243
16244         * paragraph.h: renamed from lyxparagraph.h
16245
16246 2001-06-23  Asger  <lyx@violet.home.sad.it>
16247
16248         * Buffer.h: Removed Buffer::resize
16249         * BufferList.h: Removed BufferList::resize
16250         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16251         the document lazily when we change the width, or the font settings.
16252
16253 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16254
16255         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16256
16257 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16258
16259         * buffer.h: remove out of date comment
16260
16261 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16262
16263         * lyxscreen.h:
16264         * screen.C: fix "theoretical" GC leak
16265
16266 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16267
16268         * LaTeX.C (scanAuxFile):
16269         (deplog): remove trailing \r when reading stream (useful under
16270         win32)
16271
16272 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16273
16274         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16275         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16276         and BufferView::theLockingInset(Inset*), so should use them and not
16277         access bv_->text->the_locking_inset directly.
16278
16279         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16280
16281 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16282
16283         * Makefile.am:
16284         * tex-defs.h: remove old unused file
16285
16286 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16287
16288         * BufferView_pimpl.C: fix typo, remove minibuffer message
16289           when buffer has loaded
16290
16291 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16292
16293         * lyxfunc.C (Dispatch): use stringstream
16294         (MenuNew): use stringstream
16295         (Open): use stringstream
16296
16297         * importer.C (Import): use stringstream
16298
16299         * bufferview_funcs.C (CurrentState): use stringstream
16300
16301         * LaTeX.C (run): use stringstream
16302
16303         * BufferView_pimpl.C (savePosition): use stringstream
16304         (restorePosition): use stringstream
16305         (MenuInsertLyXFile): use stringstream
16306
16307 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16308
16309         * BufferView.C:
16310         * Bullet.C:
16311         * ColorHandler.C:
16312         * FontInfo.C:
16313         * FontLoader.C:
16314         * LColor.C:
16315         * LaTeXFeatures.C:
16316         * Painter.C:
16317         * gettext.C:
16318         * lyx_gui_misc.C:
16319         * lyxserver.C:
16320         * vspace.C: removed // -*- C++ -*- as first line.
16321
16322         * lyxfind.h:
16323         * version.h: added // -*- C++ -*- as first line.
16324
16325 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16326
16327         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16328
16329         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16330         of string
16331
16332 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16333
16334         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16335         of floats.
16336
16337 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16338
16339         * gettext.C: include LString.h even when --disable-nls is on.
16340
16341 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16342
16343         * converter.h (Get): changed argument type from int to
16344         FormatList::size_type to avoid unnecessary conversion.
16345
16346         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16347         before using it.
16348
16349 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16350
16351         * gettext.h: include LString.h even when --disable-nls is on.
16352
16353 2001-06-07  Juergen Vigna  <jug@sad.it>
16354
16355         * text.C (BreakAgain): subst spaces with tabs.
16356
16357         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16358         (resizeInsetsLyXText): set force on resizeLyXText.
16359
16360 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16361
16362         * gettext.h (gettext_init):
16363         (locale_init): use a real definition instead of a macro
16364
16365 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16366
16367         * Bufferview_pimpl.C:
16368         * LColor.h:
16369         * LColor.C: further lcolor tidies
16370
16371 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16372
16373         * BufferView_pimpl.C (updateScrollbar): simplify.
16374
16375         * BufferView2.C: don't include insets/insetinfo.h, change
16376         prototype for insertInset and call the Pimpl version. let
16377         updateInset call Pimpl version.
16378
16379         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16380         gotoInset to BufferView::Pimpl
16381
16382 2001-06-01  Juergen Vigna  <jug@sad.it>
16383
16384         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16385         inside a LockingInset (is the update needed at all?).
16386
16387 2001-05-31  Juergen Vigna  <jug@sad.it>
16388
16389         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16390         here not the old one otherwise how should we compare it afterwards
16391         if it's the same!
16392
16393 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16394
16395         * lyxfont.C:
16396         * tabular.C:
16397         * tabular-old.C:
16398         * FontInfo.C: bring C functions into global namespace when
16399         necessary
16400
16401 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16402
16403         * LString.h: make sure config.h has been loaded before LString.h.
16404
16405         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16406         (one for each char read by EatLine!).
16407
16408         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16409         variables.
16410
16411 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16412
16413         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16414         to the same as the par we break from
16415
16416 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16417
16418         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16419
16420         * MenuBackend.C (expand): also create menu entries for wide
16421         versions of the floats.
16422
16423         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16424
16425         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16426
16427         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16428         frontends/Makefile.am
16429
16430         * text2.C: adjust
16431         * text.C: adjust
16432
16433
16434         * tabular.C (getTokenValue): add std::
16435
16436         * tabular-old.C (getTokenValue): add std::
16437         (getTokenValue): ditto
16438         (getTokenValue): ditto
16439
16440         * screen.C (ToggleSelection): adjust
16441
16442         * lyxtext.h: put selection cursors inside a Selection struct.
16443
16444         * lyxfunc.C (moveCursorUpdate): adjust
16445
16446         * lyxfont.C (latexWriteStartChanges): add std::
16447
16448         * lyxfind.C: adjust
16449
16450         * font.h: delete with(char const *, LyXFont const &)
16451
16452         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16453
16454         * FontInfo.C (getFontname): add std::
16455
16456         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16457         (workAreaButtonPress): adjust
16458         (tripleClick): adjust
16459         (update): adjust
16460         (moveCursorUpdate): adjust
16461         (Dispatch): adjust
16462
16463         * BufferView2.C (gotoInset): adjust
16464
16465 2001-05-30  Juergen Vigna  <jug@sad.it>
16466
16467         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16468         to check pspell I add this as default as I now have new pspell
16469         libraries and they seem to use this.
16470
16471 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16472
16473         * text2.C (CutSelection): make the cursor valid before the call to
16474         ClearSelection.
16475
16476 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16477
16478         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16479         relied on 0 terminated strings and other horrors. Bug found due to
16480         the new assert in lyxstring!
16481
16482         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16483         KP_ keys.
16484
16485 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16486
16487         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16488         to latinkeys.bind.
16489
16490         * lyxfunc.C (processKeySym): change method of getting to the
16491         self-insert char.
16492
16493         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16494         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16495         * BufferView_pimpl.[Ch]: here as private methods.
16496
16497 2001-05-28  Juergen Vigna  <jug@sad.it>
16498
16499         * text.C (SetHeightOfRow): added the update() call again as it is
16500         needed to initialize inset dimensions!
16501
16502 2001-05-16  Juergen Vigna  <jug@sad.it>
16503
16504         * text2.C (SetCharFont): Add new function with BufferView * and
16505         bool toggleall parameters for setting insets internal fonts.
16506         (SetFont): Freeze the undo as we may change fonts in Insets and
16507         all this change should be inside only one Undo!
16508
16509         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16510         setting font's in insets as for them we have the SetFont function!
16511
16512 2001-05-15  Juergen Vigna  <jug@sad.it>
16513
16514         * text2.C (ClearSelection): to be sure we REALLY don't have any
16515         selection anymore!
16516
16517         * tabular.C (TeXCellPreamble): fixed the left border problem for
16518         multicolumn cells.
16519
16520 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16521
16522         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16523         dependancy file
16524
16525 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16526
16527         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16528         LFUN_BREAKPARAGRAPH.
16529
16530         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16531         help test to "internal only", similar for LFUN_INSERT_URL
16532
16533         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16534         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16535         auto_region_delete and deadkeys.
16536
16537 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16538
16539         * LColor.h:
16540         * LColor.C: remove some dead entries, tidy a little
16541
16542 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16543
16544         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16545         commented code.
16546         (Dispatch): implement LFUN_ESCAPE
16547
16548         * commandtags.h: add LFUN_ESCAPE
16549
16550         * LyXAction.C (init): add entry for LFUN_ESCAPE
16551
16552         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16553         Remove commented code.
16554         (insertNote): moved here
16555         (open_new_inset): moved here
16556
16557         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16558         BufferView_pimpl
16559
16560 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16561
16562         * kbmap.C (findbinding): clean it up and make it work correctly.
16563
16564         * lyx_main.C (init): do not pass argc and argv as parameters
16565
16566 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16567
16568         * buffer.C: fix path for OS/2 & Win32
16569
16570         * lyx_gui.C:
16571         * lyx_main:
16572         * lyx_main.C: Added os:: class.
16573
16574         * os2_defines.h: update
16575
16576 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16577
16578         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16579         better by trying again with reduced state.
16580
16581 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16582
16583         * lyxrc.C (read): print error about invalid key sequence only when
16584         debugging (because not all latinX keysyms are known to some X
16585         servers)
16586
16587         * kbsequence.C (getiso): add a few std:: qualifiers
16588         (getiso): comment out extra return statement.
16589
16590 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16591
16592         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16593         handling.
16594         (Dispatch): enhance the accent inset a bit. (not perfect)
16595
16596 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16597
16598         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16599
16600 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16601
16602         * bufferlist.C (emergencyWrite): fix assert() call
16603
16604 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16605
16606         * text.C (InsertChar): Added trivial patch to only send the "you
16607         can not do multiple spaces this way" message once during a
16608         session.
16609
16610 2001-05-08  Baruch Even  <baruch@lyx.org>
16611
16612         * Makefile.am: Changed order of libraries to get LyX to link properly
16613         with the gnome frontend.
16614
16615 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16616
16617         * LaTeXFeatures.h: add a std:: qualifier
16618
16619 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16620
16621         * paragraph.C (String): use stringstream
16622
16623 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16624
16625         * paragraph.C (writeFile): remove footflag arg
16626
16627         * buffer.C (makeLaTeXFile): use stringstream
16628         (latexParagraphs): remove footnot gurba
16629
16630         * LaTeXFeatures.C (getPackages): use stringstream
16631         (getMacros): likewise
16632         (getTClassPreamble): likewise
16633         (getFloatDefinitions): new method
16634
16635         * paragraph.C (writeFile): reindent
16636         (Erase): reindent
16637
16638         * WorkArea.h: revert the xpos + etc changes.
16639
16640         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16641
16642         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16643
16644         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16645         (pasteSelection): likewise
16646         * text2.C (CreateUndo): likewise
16647
16648 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16649
16650         * minibuffer.C (peek_event): temporarily reduce the functionality
16651         of the minibuffer (to allow args on lfuns)
16652
16653         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16654         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16655
16656         * buffer.C (readInset): add compability reading of old float
16657         lists, add reading of new style float list.
16658         (readInset): avoid reevaluation of inscmd.getCmdName()
16659         (getLists): reindent
16660
16661         * MenuBackend.C (MenuItem): implement parsing of
16662         md_floatlistinsert and md_floatinsert.
16663         (expand::LastFiles): move initalizaton of iterators out of loop,
16664         avoid reevaluation.
16665         (expand::Documents): introduce typdedef vector<string> Strings,
16666         and use it.
16667         (expand::ExportFormats): introduce typedef vector<Format const *>
16668         Formats, and use it.
16669         (expand): implement FloatListInsert and FloatInsert.
16670
16671         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16672         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16673         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16674
16675         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16676         handling.
16677         (Dispatch::LFUN_FLOAT_LIST): implement
16678
16679 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16680
16681         * LaTeX.C (run): Fix problem with --export code.
16682
16683 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16684
16685         * BufferView.[Ch] (workarea): removed.
16686         (getClipboard) new method; wrapper for workarea()->getClipboard()
16687
16688         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16689         bug.
16690
16691         * WorkArea.h (width, height, xpos, ypos): These methods all
16692         returned the dimensions of the work_area sub-area of WorkArea,
16693         resulting in a position error if the WorkArea were resized. Now
16694         return the dimensions of the entire WorkArea.
16695
16696         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16697
16698 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16699
16700         * LaTeX.C (deplog): correct the syntax of regex reg1
16701
16702 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16703
16704         * undo.C: remove !NEW_INSETS cruft
16705
16706 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16707
16708         * text2.C: remove !NEW_INSETS cruft
16709
16710         * text.C: remove !NEW_INSETS cruft
16711
16712         * tabular.C: remove !NEW_INSETS cruft
16713
16714         * spellchecker.C: remove !NEW_INSETS cruft
16715
16716         * lyxtext.h: remove !NEW_INSETS cruft
16717
16718         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16719
16720         * lyxfunc.C: remove !NEW_INSETS cruft
16721
16722         * lyxfind.C: remove !NEW_INSETS cruft
16723
16724         * lyx_cb.C: remove !NEW_INSETS cruft
16725
16726         * figureForm.C: remove  !NEW_INSETS cruft
16727
16728         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16729
16730         * buffer.[Ch]: remove !NEW_INSETS cruft
16731
16732         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16733
16734         * CutAndPaste.C: remove !NEW_INSETS cruft
16735
16736         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16737
16738         * BufferView2.C: remove !NEW_INSETS cruft
16739
16740         * BufferView.h: remove !NEW_INSETS cruft
16741
16742 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16743
16744         * Lsstream.h: include LString.h before the sstream headers to
16745         fix problem with gcc 2.95.3 and lyxstring
16746
16747 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16748
16749         * lyx_main.C: add using directives when needed for C functions
16750         declared in std:: namespace.
16751
16752 2001-04-27  Juergen Vigna  <jug@sad.it>
16753
16754         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16755         (SetHeightOfRow): comment out the update call should not be needed!
16756
16757 2001-04-13  Juergen Vigna  <jug@sad.it>
16758
16759         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16760         (LyXTabular): tried to minimize operator= operations (and realized
16761         hopfully Lars wish).
16762
16763 2001-04-27  Juergen Vigna  <jug@sad.it>
16764
16765         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16766
16767 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16768
16769         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16770
16771         * buffer.C (readInset): hack to make listof algorithm work
16772
16773         * BufferView_pimpl.C: hack to make listof algorithm work
16774
16775 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16776
16777         * LyXAction.C: removed all !NEW_INSETS cruft
16778         (init): moved lfun_item in method
16779
16780         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16781
16782 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16783
16784         * BufferView2.C (theLockingInset): white space.
16785
16786 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16787
16788         * minibuffer.C: include <iostream>
16789
16790         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16791
16792         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16793
16794         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16795
16796         * text.[Ch] (TransposeChars): new method
16797
16798 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16799
16800         * call message directly through LyXView instead of through LyXFunc
16801         * BufferView2.C: adjust
16802         * BufferView_pimpl.C: adjust
16803         * FontLoader.C: adjust
16804         * buffer.C: adjust
16805         * bufferview_funcs.C: adjust
16806         * converter.C: adjust
16807         * figureForm.C: adjust
16808         * importer.C: adjust
16809         * lyx_cb.C: adjust
16810         * lyx_gui_misc.C: adjust
16811         * lyxfunc.C: adjust
16812         * lyxvc.C: adjust
16813         * text2.C: adjust
16814         + more files in subdirs
16815
16816         * lyxparagraph.h (size): move up int file
16817         (GetLayout): ditto
16818
16819         * adjust all uses of Assert to lyx::Assert.
16820
16821         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16822         lyxfunctional in namespace lyx
16823         * layout.C (hasLayout): ditto
16824         (GetLayout): ditto
16825         (GetLayout): ditto
16826         (delete_layout): ditto
16827         (NumberOfClass): ditto
16828         * converter.C (GetFormat): ditto
16829         (GetNumber): ditto
16830         (Add): ditto
16831         (Delete): ditto
16832         (SetViewer): ditto
16833         * bufferlist.C (getFileNames): ditto
16834         (emergencyWriteAll): ditto
16835         (exists): ditto
16836         (getBuffer): ditto
16837         * MenuBackend.C (hasSubmenu): ditto
16838         (hasMenu): ditto
16839         (getMenu): ditto
16840         * BufferView_pimpl.C (getInsetByCode): ditto
16841
16842 2001-04-18  Juergen Vigna  <jug@sad.it>
16843
16844         * vspace.C (asLatexString): fixed the 100% problem.
16845
16846 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16847
16848         * lyxfunc.C (Dispatch):
16849         * minibuffer.C:
16850         * minibuffer.h: add a few std:: qualifiers
16851
16852 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16853
16854         * minibuffer.[Ch]: reimplement so that commands is initiated and
16855         run from lyxfunc, simplified som handling, and made the completion
16856         and history code for complete. wip.
16857
16858         * lyxfunc.C (processKeySym): call message
16859         (miniDispatch): new temporary method
16860         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16861         (LFUN_MESSAGE): implement
16862         (LFUN_MESSAGE_PUSH): implement
16863         (LFUN_MESSAGE_POP): implement
16864         (initMiniBuffer): the initial/defualt minibuffer message.
16865
16866         * lyxfont.[Ch]: inline some more getters
16867
16868         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16869
16870         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16871
16872         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16873         (AutoSave): use LFUN_MESSAGE
16874         (Reconfigure): ditto
16875
16876         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16877
16878         * figureForm.C: use LFUN_MESSAGE
16879
16880         * converter.C (runLaTeX): use LFUN_MESSAGE
16881
16882         * bufferview_funcs.C: use LFUN_MESSAGE
16883         (Melt): ditto
16884         (changeDepth): ditto
16885
16886         * bufferparams.h: use boost::
16887
16888         * bufferlist.h: inherit privately from noncopyable
16889
16890         * bufferlist.C (loadLyXFile): remove some commented code.
16891
16892         * buffer.C (runChktex): use LFUN_MESSAGE
16893
16894         * ShareContainer.h: inherit privately from noncopyable
16895
16896         * ParagraphParameters.[hC] (depth): inline it.
16897
16898         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16899         methods.
16900         (message): new method
16901         (messagePush): ditto
16902         (messagePop): ditto
16903         (show): init minibuffer
16904         (showState): direct call
16905
16906         * LaTeX.[Ch]: inherit privately from noncopyable
16907         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16908         instead of WriteStatus.
16909
16910         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16911
16912         * BufferView_pimpl.C (buffer): don't init minibuffer
16913         (workAreaButtonPress): use LFUN_MESSAGE
16914         (workAreaButtonRelease): ditto
16915         (savePosition): ditto
16916         (restorePosition): ditto
16917         (MenuInsertLyXFile): ditto
16918         (workAreaExpose): don't init minibuffer
16919         (update): remove commented code, simplify
16920
16921         * BufferView2.C (openStuff): use LFUN_MESSAGE
16922         (toggleFloat): ditto
16923         (menuUndo): ditto
16924         (menuRedo): ditto
16925         (copyEnvironment): ditto
16926         (pasteEnvironment): ditto
16927         (copy): ditto
16928         (cut): ditto
16929         (paste): ditto
16930         (gotoInset): ditto
16931         (updateInset): remove some commented code
16932
16933         * lastfiles.h: inherit privately from noncopyable
16934         * layout.h: ditto
16935         * lyx_gui.h: ditto
16936         * lyx_main.h: ditto
16937         * lyxlex.h: ditto
16938         * lyxlex_pimpl.h: ditto
16939
16940         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16941         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16942         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16943
16944         * LyXAction.h: inherit privately from noncopyable, add methods
16945         func_begin, func_end, returning iterators to the func map.
16946
16947         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16948         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16949         (func_begin): new method
16950         (func_end): new method
16951
16952         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16953         and not)
16954         (copySelection): ditto
16955         (pasteSelection): ditto
16956
16957         * BufferView.C: whitespace change
16958         * BufferView.h: inherit privately from noncopyable
16959
16960 2001-04-16  Allan Rae  <rae@lyx.org>
16961
16962         * tabular-old.C (l_getline):
16963         * spellchecker.C (sc_check_word):
16964         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16965         an unrecognised preprocessor directive.  So ensure they're wrapped.
16966
16967 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16968
16969         * src/exporter.C (Export): Give an error message when path to file
16970         contains spaces.
16971
16972 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16973
16974         * LaTeX.C (deplog): Always check that foundfile exists.
16975
16976 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16977
16978         * lyx_main.h:
16979         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16980
16981 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16982
16983         * tabular.[Ch] (getLabelList): implement new method
16984
16985         * minibuffer.h: comment ouf setTiimer
16986
16987         * minibuffer.C (ExecutingCB): constify res
16988         (peek_event): constify s
16989         (Set): constify ntext
16990         (Init): constify nicename
16991
16992         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16993
16994         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16995         (savePosition): use two params to Minibuffer::Set
16996         (restorePosition): ditto
16997
16998 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16999
17000         * lyx_main.C: include language.h
17001
17002         * Makefile.am (lyx_main.o): add language.h
17003
17004 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17005
17006         * exporter.C:
17007         * paragraph.C:
17008         * screen.C:
17009         * tabular.C:
17010         * CutAndPaste.C: include gettext.h
17011
17012         * lyxfont.h: remove old hack with ON and OFF.
17013
17014         * lyxparagraph.h:
17015         * lyxfont.h: do not include language.h...
17016
17017         * BufferView2.C:
17018         * LaTeXFeatures.C:
17019         * Painter.C:
17020         * bufferview_funcs.C:
17021         * font.C:
17022         * lyxfont.C:
17023         * text.C:
17024         * text2.C:
17025         * trans_mgr.C:
17026         * paragraph.C: ... but do it here instead
17027
17028 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17029
17030         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17031
17032         * tabular.C: small reformat
17033
17034         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17035         NEW_INSETS version
17036         (GetChar): ditto
17037         (BreakParagraph): ditto
17038         (SetOnlyLayout): ditto
17039         (SetLayout): ditto
17040
17041         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17042         with one arg less.
17043
17044         * lastfiles.C: removed most using decl, add std:: where needed
17045
17046         * buffer.C: ws changes
17047
17048         * MenuBackend.C (class compare_format): put into anon namespace
17049         (expand): constify label, names, action, action2
17050         (expand):
17051
17052         * text.C (SingleWidth): constify font
17053         (IsBoundary): constify rtl2
17054         (GetVisibleRow): constify ww
17055
17056         * LaTeX.C (deplog): constify logfile
17057
17058         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17059         start_x, end_x
17060         (workAreaExpose): constify widthChange, heightChange
17061
17062         * lyxrow.C (par): moved
17063         (height): moved
17064         (next): moved
17065         * lyxrow.h: as inlines here
17066
17067         * lyxfont.h (shape): moved from lyxfont.C
17068         (emph): moved from lyxfont.C
17069
17070         * lyxfont.C (LyXFont): use initialization list for all
17071         constructors
17072         (shape): move to lyxfont.h as inline
17073         (emph): move to lyxfont.h as inline
17074
17075
17076 2001-04-04  Juergen Vigna  <jug@sad.it>
17077
17078         * vspace.C: had to include stdio.h for use of sscanf
17079
17080 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17081
17082         * BufferView.h:
17083         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17084         independent of xforms.
17085
17086 2001-04-02  Juergen Vigna  <jug@sad.it>
17087
17088         * spellchecker.C: fixed namespace placing!
17089
17090 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17091
17092         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17093         the LyXParagraph * is 0.
17094
17095 2001-03-29  Juergen Vigna  <jug@sad.it>
17096
17097         * vspace.C: added support for %, c%, p%, l%.
17098         (stringFromUnit): added helper function.
17099         (asLatexString): changed to give right results for the %-values.
17100
17101         * buffer.C: convert the widthp in a width%.
17102
17103 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17104
17105         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17106         figureForm.[Ch].
17107
17108         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17109         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17110
17111         * lyx_cb.[Ch]: see above.
17112
17113         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17114         form1.[Ch].
17115
17116         * form1.[Ch]:
17117         * lyx.[Ch]: replaced by figure_form.[Ch].
17118
17119         * lyx_gui.C:
17120         * lyx_gui_misc.C:
17121         * lyxfunc.C: changed headers associated with above changes.
17122
17123 2001-03-27  Juergen Vigna  <jug@sad.it>
17124
17125         * BufferView_pimpl.C: set the temporary cursor right!
17126
17127 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17128
17129         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17130
17131 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17132
17133         * LString.h: removed "using std::getline"!
17134
17135         * BufferView_pimpl.C (Dispatch): changes due to changes in
17136         InsetInclude::Params.
17137
17138         * buffer.C (tag_name): removed redundant break statements as they were
17139         producing lots of warnings with my compiler.
17140
17141 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17142
17143         * LString.h: add "using std::getline" when using the real <string>.
17144
17145 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
17146
17147         * buffer.C: removed bitset usage.
17148         PAR_TAG moved to an anonymous name space.
17149         (tag_name): new funtion, also in the anonymous namespace.
17150         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17151         (makeDocBookFile): clean code. Completed transition from string arrays
17152         to string vectors.
17153         (SimpleDocBookOnePar): code clean.
17154
17155 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17156
17157         * tabular.C: add some comments.
17158
17159 2001-03-22  Juergen Vigna  <jug@sad.it>
17160
17161         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17162         compatibility read a bit and fixed bug with minipage in different
17163         depth.
17164
17165 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
17166
17167         * buffer.C (pop_tag): removed.
17168         (push_tag): removed.
17169         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17170         array replaced with vector. Added support for CDATA sections.
17171         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17172         at any nest level.
17173         (makeDocBookFile): XML conformant declaration of CDATA section,
17174         fixed bug related to <emphasis> in the first paragraph char.
17175         (sgmlOpenTag): exclude empty tags.
17176         (sgmlCloseTag): ditto.
17177
17178         * buffer.h (pop_tag): removed.
17179         (push_tag): removed.
17180
17181 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17182
17183         * language.h (Languages): added size_type and size().
17184
17185 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17186
17187         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17188         response on compability reading of minipages. One probliem is that
17189         the old usage of minipages was «flertydig»
17190
17191         * several files here and in subdirs: don't use static at file
17192         scope use anon namespaces instead.
17193
17194 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17195
17196         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17197         LaTeX output. This is necessary for Literate document
17198         processing.
17199
17200 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17201
17202         * buffer.C: insert hfill when needed.
17203
17204         * tabular.C (l_getline): use string::erase, small whitespace change.
17205
17206         * BufferView_pimpl.C: try the anon namespace.
17207         * WorkArea.C: ditto
17208
17209 2001-03-16  Juergen Vigna  <jug@sad.it>
17210
17211         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17212         otherwise it won't open options-dialogs.
17213
17214         * buffer.C: honor pextraWidth(p) on converting minipages.
17215
17216         * tabular.C (l_getline): changed the functions to strip trailing \r.
17217
17218 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17219
17220         * BufferView_pimpl.C:
17221         * minibuffer..C: added "using SigC::slot" declaration.
17222
17223 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17224
17225         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17226
17227         * text2.C: ditto
17228
17229         * text.C: ditto
17230
17231         * paragraph.C: ditto
17232
17233         * lyxtext.h: NO_PEXTRA
17234
17235         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17236
17237         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17238         * ParameterStruct.h: ditto
17239         * ParagraphParameters.h: ditto
17240         * lyxparagraph.h: ditto
17241
17242 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17243
17244         * buffer.C: add compability for minipage alignment.
17245         (latexParagraphs): remove unwanted pextra check.
17246
17247         * several files: remove CXX_WORKING_NAMESPACES
17248
17249         * buffer.C (pop_tag): tie is in namespace boost
17250
17251         * BufferView.h: noncopyable is in namespace boost
17252         * lyxlex.h: ditto
17253         * lyx_main.h: ditto
17254         * lyx_gui.h: ditto
17255         * layout.h: ditto
17256         * lastfiles.h: ditto
17257         * bufferlist.h: ditto
17258         * ShareContainer.h: ditto
17259         * LyXView.h: ditto
17260         * LyXAction.h: ditto
17261         * LaTeX.h: ditto
17262
17263 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17264
17265         * Merging changes from BRANCH_MVC back into HEAD.
17266
17267         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17268
17269 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17270
17271         * BufferView_pimpl.C: change from intl.C
17272
17273         * combox.h:
17274         * combox.C:
17275         * Makefile.am: move combox.*
17276
17277         * form1.h:
17278         * form1.C:
17279         * lyx_gui.C:
17280         * intl.h:
17281         * intl.C: remove dialog (covered by prefs)
17282
17283 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17284
17285         * lyxfunc.C (Dispatch): removed redundant break statement.
17286
17287 2001-03-14  Juergen Vigna  <jug@sad.it>
17288
17289         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17290
17291 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17292
17293         * buffer.C: add hack to fix compability reading of minipages.
17294
17295 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17296
17297         * buffer.C (getLists): Cleanup.
17298
17299 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17300
17301         * lyxfont.C (update): don't honor toggleall on font size.
17302
17303 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17304
17305         * bmtable.c:
17306         * bmtable.h:
17307         * Makefile.am: moved to frontends/xforms/
17308
17309         * lyx_gui_misc.C:
17310         * lyxfunc.C:
17311         * BufferView_pimpl.C: changes for moved mathpanel
17312
17313 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17314
17315         * gettext.h: fix gettext_init() in --disable-nls
17316
17317 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17318
17319         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17320
17321 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17322
17323         * lyx.C:
17324         * lyx.h: strip external form
17325
17326 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17327
17328         * BufferView_pimpl.C: add comment, destroySplash()
17329
17330 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17331
17332         * BufferView_pimpl.C:
17333         * LyXAction.C:
17334         * buffer.C:
17335         * commandtags.h:
17336         * lyxfunc.C: use re-worked insetinclude
17337
17338 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17339
17340         * buffer.C: add using std::stringstream.
17341
17342         * lyx_cb.C: readd using std::ios.
17343
17344         * buffer.C: add using std::map.
17345
17346         * BufferView_pimpl.C: add using std::vector.
17347
17348         * ShareContainer.h: add std:: to swap.
17349
17350         * buffer.h: add some typedefs
17351         * buffer.C (getLists): use them
17352         (getLists): renamed from getTocList.
17353         add a counter for the different float types and use it in the
17354         generated string.
17355         (getLists): use the same counter for the NEW_INSETS and the "non"
17356         NEW_INSETS
17357
17358         * lyx_cb.h: remove unused items, includes, using etc.
17359
17360         * ShareContainer.h: remove some commented code, add more comments
17361         and "documentation".
17362
17363 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17364
17365         * buffer.C (getTocList): make the list also when NEW_INSETS is
17366         defined.
17367
17368         * buffer.h: remove TocType
17369
17370         * buffer.C (getTocList): change to return a map<string,
17371         vector<TocItem> >, implement for dynamic number of list.
17372
17373         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17374         * text2.C (PasteSelection): adjust
17375         * CutAndPaste.C (pasteSelection): adjust
17376
17377         * FloatList.C (FloatList): update from the new_insets branch.
17378         * Floating.[Ch]: ditto
17379         * LaTeXFeatures.C: ditto
17380         * buffer.C: ditto
17381         * lyxlex_pimpl.C: ditto
17382
17383         * paragraph.C (Last): remove when NEW_INSETS is defined.
17384
17385         * other file: changes because of the above.
17386
17387 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17388
17389         * lyxparagraph.h: rename next to next_, previous to previous_,
17390         make them private for NEW_INSETS. Rename Next() to next(),
17391         Previous() to previous().
17392
17393         * other files: changes because of the above.
17394
17395 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17396
17397         * BufferView.h:
17398         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17399         problem.
17400
17401 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17402
17403         * main.C (main): pass lyx_localedir to gettext_init().
17404
17405         * gettext.h: remove locale_init and gettext_init macros
17406
17407         * gettext.C (locale_init): new function
17408         (gettext_init): new function
17409
17410         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17411         setlocale().
17412
17413 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17414
17415         * Moved credits to frontends:
17416         * credits.[Ch]: removed
17417         * credits_form.[Ch]: removed
17418         * lyx_gui_misc.C: remove credits stuff
17419         * Makefile.am:
17420
17421 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17422
17423         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17424
17425         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17426         unneeded destructor.
17427
17428         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17429         a standalone pointer again.
17430
17431         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17432
17433 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17434
17435         * Makefile.am:
17436         * filedlg.h:
17437         * filedlg.C:
17438         * LyXAction.C:
17439         * ToolbarDefaults.C:
17440         * bufferlist.C:
17441         * commandtags.h:
17442         * form1.C:
17443         * form1.h:
17444         * lyx_cb.C:
17445         * lyx_cb.h:
17446         * lyxfunc.h:
17447         * lyxfunc.C:
17448         * BufferView_pimpl.C: use new file dialog in GUII
17449
17450         * lyx_cb.h:
17451         * lyx_cb.C: remove LayoutsCB to Toolbar
17452
17453 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17454
17455         * ShareContainer.h (get): add std:: qualifier
17456
17457 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17458
17459         * ShareContainer.h: define a proper ShareContainer::value_type
17460         type (and use typename to please compaq cxx)
17461
17462 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17463
17464         * lyxparagraph.h: move serveral local vars to
17465         ParameterStruct/ParagraphParameters., use ShareContainer in
17466         FontTable., make vars in FontTable private and add getter and
17467         setter.
17468
17469         * paragraph.C: changes because of the above.
17470
17471         * lyxfont.h: remove copy constructor and copy assignment. (the
17472         default ones is ok), move number inside FontBits. move inlines to
17473         lyxfont.C
17474
17475         * lyxfont.C: add number to initializaton of statics, move several
17476         inlines here. constify several local vars. some whitespace
17477         cleanup. Dont hide outerscope variables.
17478
17479         * Spacing.h: add two new constructors to match the set methods.
17480
17481         * ShareContainer.h: new file, will perhaps be moved to support
17482
17483         * ParameterStruct.h: new file
17484
17485         * ParagraphParameters.h: new file
17486
17487         * ParagraphParameters.C: new file
17488
17489         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17490         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17491
17492         * BufferView_pimpl.C: ParagraphParameter changes.
17493         * buffer.C: Likewise.
17494         * bufferview_funcs.C: Likewise.
17495         * text.C: Likewise.
17496         * text2.C: Likewise.
17497
17498 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17499
17500         * lyxfind.C (LyXReplace): do not redefine default argument in
17501         implementation.
17502         (IsStringInText): ditto
17503         (SearchForward): ditto
17504         (SearchBackward): ditto
17505
17506 2001-03-06  Juergen Vigna  <jug@sad.it>
17507
17508         * lyxfind.C (IsStringInText): put parentes around expressions.
17509
17510 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17511
17512         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17513
17514 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17515
17516         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17517
17518         * stl_string_fwd.h: add comment
17519
17520         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17521
17522         * tabular.h:
17523         * tabular.C: remove unused DocBook methods
17524
17525         * intl.C:
17526         * language.C:
17527         * paragraph.C:
17528         * buffer.C:
17529         killed DO_USE_DEFAULT_LANGUAGE
17530
17531 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17532
17533         * lyx_gui.C: do not include language.h.
17534
17535         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17536         arguments in function implementation.
17537
17538 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17539
17540         * BufferView_pimpl.C: add <ctime>
17541
17542 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17543
17544         * BufferView_pimpl.C: add using std::find_if
17545
17546 2001-02-27  José Matos  <jamatos@fep.up.pt>
17547
17548         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17549         by OnlyPath.
17550
17551 2001-02-11  José Matos  <jamatos@fep.up.pt>
17552
17553         * buffer.C (makeDocBookFile): command styles now have a parameter as
17554         "title" by default.
17555
17556 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17557
17558         * layout_forms.[Ch]: removed
17559         * lyx_cb.[Ch]: out character
17560         * lyx_gui.C: out character
17561         * lyx_gui_misc.C: out character
17562         * bufferview_funcs.C: : out character,
17563         added toggleall as parameter in ToggleAndShow
17564
17565 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17566
17567         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17568
17569         * text2.C (SetCurrentFont): Disable number property at boundary.
17570
17571 2001-02-26  Juergen Vigna  <jug@sad.it>
17572
17573         * lyxfunc.C (getStatus): added a string argument override function so
17574         that this is correctly called from LyXFunc::Dispatch if it contains a
17575         do_not_use_argument which is used!
17576         (Dispatch): added check for "custom" export and call appropriate func.
17577
17578 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17579
17580         * lyxrc.C: Add language_command_local, language_use_babel and
17581         language_global_options.
17582
17583         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17584
17585         * buffer.C (makeLaTeXFile): Use language_use_babel and
17586         language_global_options.
17587
17588 2001-02-23  Juergen Vigna  <jug@sad.it>
17589
17590         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17591         which works with LyXText and putted it inside BufferView. Here now we
17592         only call for that part the BufferView::Dispatch() function.
17593
17594         * BufferView.C (Dispatch): added.
17595
17596         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17597         functions which needs to use a LyXText over from LyXFunc.
17598         (MenuInsertLyXFile): added
17599         (getInsetByCode): added
17600         (moveCursorUpdate): added
17601         (static TEXT): added
17602
17603 2001-02-22  Juergen Vigna  <jug@sad.it>
17604
17605         * BufferView_pimpl.C (update): call a status update to see if LyXText
17606         needs it.
17607
17608 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17609
17610         * vc-backend.C (revert): implement for CVS
17611         (getLog): implement for CVS
17612
17613 2001-02-20  Juergen Vigna  <jug@sad.it>
17614
17615         * text2.C (ClearSelection): added BufferView param for inset_owner call
17616
17617         * lyxfunc.C (TEXT): added this function and use it instead of
17618         directly owner->view()-text of getLyXText().
17619
17620 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17621
17622         * src/layout_forms.C: out preamble
17623         * src/layout_forms.h: out preamble
17624         * src/lyx_cb.C: out preamble
17625         * src/lyx_cb.h: out preamble
17626         * src/lyx_gui.C: out preamble
17627         * src/lyx_gui_misc.C: out preamble
17628         * src/lyxfunc.C: connect with guii preamble
17629
17630 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17631
17632         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17633
17634 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17635
17636         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17637         whether to run bibtex.
17638
17639 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17640
17641         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17642
17643 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17644
17645         * Makefile.am (lyx_SOURCES): removed bibforms.h
17646
17647         * vspace.h: doxygen
17648
17649         * text.C (GetVisibleRow): make several local vars const
17650
17651         * tabular.C: small cleanup.
17652
17653         * lyxserver.C (callback): use compare instead of strncmp
17654
17655         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17656         inlines to after class or to paragraph.C
17657
17658         * lyxfont.h: remove friend operator!=
17659
17660         * converter.h: move friend bool operator< to non friend and after
17661         class def.
17662
17663         * combox.h: small cleanup
17664
17665         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17666         to inlines after class def.
17667
17668         * buffer.C (pop_tag): use string operations instead of strcmp
17669
17670         * bmtable.c: doxygen, small cleanup
17671
17672         * LaTeX.h: remove friend operator==
17673
17674 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17675
17676         * screen.C:
17677         * lyxrc.[Ch]:
17678         * lyxfunc.C:
17679         * lyxfont.[Ch]:
17680         * lyx_cb.C:
17681         * intl.[Ch]:
17682         * commandtags.h:
17683         * buffer.C:
17684         * WorkArea.[Ch]:
17685         * LyXAction.C:
17686         * BufferView_pimpl.C:
17687         * BufferView.[Ch]: remove cruft
17688
17689 2001-02-14  Juergen Vigna  <jug@sad.it>
17690
17691         * lyxfunc.C: removed #if 0 unused code
17692
17693         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17694
17695         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17696
17697         * text2.C (SetSelection): added a BufferView * parameter
17698
17699 2001-02-13  Juergen Vigna  <jug@sad.it>
17700
17701         * lyxfunc.C (Dispatch): fixed protected blank problem.
17702         * BufferView2.C (protectedBlank): added LyxText * parameter.
17703
17704         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17705         (AppendColumn): same as above for column_info.
17706
17707         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17708         (moveCursorUpdate): use a LyXText param for support of InsetText.
17709
17710         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17711         (tripleClick): ditto
17712
17713         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17714
17715         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17716
17717         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17718
17719         * text2.C (SetSelection): set correct update status if inset_owner
17720         (ToggleFree): ditto
17721
17722 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17723
17724         * tabular.C: remove some commented code.
17725
17726 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17727
17728         * BufferView_pimpl.C: call hideSplash()
17729
17730         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17731
17732         * include_form.h:
17733         * bibforms.h: remove
17734
17735         * lyxfunc.C:
17736         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17737           add LFUN_CHILD_CREATE
17738
17739         * counters.h: fix tiny typo
17740
17741         * lyx_cb.C:
17742         * lyx.h:
17743         * lyx_gui.C:
17744         * lyx.C: move splash to frontends/xforms/
17745
17746         * lyx_gui_misc.C: move Include and Bibform to frontends
17747
17748         * lyxvc.h: clarify comment
17749
17750         * vspace.C: tiny housekeeping
17751
17752 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17753
17754         * text.C (PrepareToPrint): RTL Fix.
17755
17756         * paragraph.C (GetUChar): New method.
17757         (String):  Use GetUChar.
17758
17759         * buffer.C (asciiParagraph): Use GetUChar.
17760
17761 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17762
17763         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17764
17765 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17766
17767         * buffer.h:
17768         * buffer.C: rename to getLogName(), handle
17769           build log / latex log nicely
17770
17771 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17772
17773         * MenuBackend.C:
17774         * MenuBackend.h: remove support for reference menuitem type.
17775
17776 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17777
17778         * BufferView_pimpl.C: housekeeping
17779         * BufferView_pimpl.h:
17780         * LyXView.h:
17781         * Makefile.am:
17782         * Timeout.C:
17783         * Timeout.h:
17784         * minibuffer.h: move Timeout GUI-I
17785
17786 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17787
17788         * lyxrc.C (read): Update converters data-structures.
17789
17790 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17791
17792         * LaTeX.h (operator!=): add operator != for Aux_Info
17793
17794 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17795
17796         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17797
17798         * LaTeXLog.C: deleted, useful code moved to Buffer
17799
17800         * buffer.h:
17801         * buffer.C: new function getLatexLogName()
17802
17803         * lyx_gui_misc.C:
17804         * lyx_gui.C:
17805         * lyxvc.C:
17806         * lyxvc.h:
17807         * lyxfunc.C: use frontends for LaTeX and VC logs
17808
17809 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17810
17811         * LaTeX.h: yet another std:: that Allan forgot.
17812
17813         * Variables.C (set): renamed from isset(), because this clashes
17814         with some HP-UX macros (grr).
17815
17816 2001-02-06  Allan Rae  <rae@lyx.org>
17817
17818         * LaTeX.h: Another bug fix.  Missing std:: this time.
17819
17820 2001-02-04  Allan Rae  <rae@lyx.org>
17821
17822         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17823         floats problem. I've left it commented out because it's not quite
17824         correct.  It should also test that the current object is a table or
17825         figure inset.  But I haven't gotten around to figuring out how to do
17826         that.  I *think* it'll be something like: "table" == inset.type()
17827
17828         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17829         bool.
17830
17831 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17832
17833         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17834         all the citation/databases/styles in the auxilary file.
17835         (run): Rerun latex if there was a babel language error.
17836
17837 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17838
17839         * text.C (Backspace): Preserve the font when changing newline char
17840         with a space.
17841         (BreakParagraph): If the cursor is before a space, delete the space.
17842
17843         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17844
17845 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17846
17847         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17848         new argument (code).
17849         (ChangeCitationsIfUnique): New method.
17850
17851         * paragraph.C (GetPositionOfInset): Handle bibkey.
17852
17853 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17854
17855         * BufferView_pimpl.h: change type of Position::par_pos to
17856         LyXParagraph::size_type.
17857
17858 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17859
17860         * BufferView_pimpl.C (savePosition, restorePosition): Write
17861         messages to minibuffer.
17862
17863 2001-01-28  José Matos  <jamatos@fep.up.pt>
17864
17865         * buffer.C (makeDocBookFile): adds support for document language.
17866         A silly restriction on the name of LatexCommand types where removed.
17867         Added support for CDATA sections, allows to chars unescaped, used
17868         among others in code, to avoid escape < and >.
17869
17870 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17871
17872         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17873         saved positions instrad of a stack. Furthermore, a position is
17874         stored using paragraph id/paragraph position.
17875
17876         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17877         Remove LFUN_REF_BACK.
17878
17879 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17880
17881         * converter.C (dvipdfm_options): New method.
17882
17883 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17884
17885         * vspace.C (isValidLength): Fix for empty input string.
17886
17887 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17888
17889         * LyXAction.C (init): change description of LFUN_FIGURE to
17890         "Insert Graphics"
17891
17892 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17893
17894         * LaTeX.C: add using directive
17895
17896 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17897
17898         * MenuBackend.C (expand): Fix the sorting of the formats.
17899
17900 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17901
17902         * lyx_main.C: tiny error message fix
17903
17904 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17905
17906         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17907         calling fl_initialize(). This fixes the problem with ',' as
17908         decimal separator in text files.
17909
17910 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17911
17912         * trans.C (process): Fix the keymap bug.
17913
17914 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17915
17916         * LaTeX.C (scanAuxFiles): New method. Provides support for
17917         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17918         (scanLogFile) Scan for "run BibTeX" messages.
17919
17920         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17921         OT1 font encoding. Also, load the aecompl package if the ae
17922         package is loaded.
17923
17924         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17925
17926 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17927
17928         * texrow.C (increasePos): turn two error messages into debug
17929         messages.
17930
17931 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17932
17933         * LaTeX.C (scanAux): Handle the \@input macro.
17934         (runBibTeX): Use scanAux().
17935
17936         * language.C (latex_options_): New field.
17937
17938         * LaTeXFeatures.C (getMacros): Add language macros.
17939
17940         * buffer.C (makeLaTeXFile): Small fix.
17941
17942 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17943
17944         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17945
17946         * text2.C: add a using directive.
17947
17948 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17949
17950         * BufferView2.C:
17951         * lyx_gui_misc.h:
17952         * lyxfr1.C:
17953         * lyxfunc.C: kill LyXBell.
17954
17955 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17956
17957         * text.C (IsBoundary): Remove the error message
17958
17959         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17960
17961         * lyxrc.C (setDefaults): Correct initialization value for
17962         font_norm_type.
17963
17964 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17965
17966         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17967         gotoError().
17968
17969         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17970         and GotoNextNote().
17971
17972         * src/LyXAction.C: Added reference-next.
17973
17974         * text.C (InsertChar): Use contains instead of strchr.
17975
17976         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17977
17978 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17979
17980         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17981         alignment commands (when needed).
17982
17983         * text.C (InsertChar): Add ':' to number separator chars.