]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
Fix bidi bugs 1965, 1970
[lyx.git] / src / ChangeLog
1
2 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
3
4         * text.C (cursorX): fix bug 1965: cursor movement at
5         line end broken in RtL.
6         (drawSelection): fix bug 1970: drawing of single-line 
7         selection broken for RtL.
8
9 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10
11         bug 465.
12
13         * dociterator.h (clear, push_back, pop_back): change from
14         protected to public.
15
16         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
17         and changed to just return the value of the item depth; take a
18         ParIterator as argument; take the itemdepth at outer nesting level
19         in account if necessary; cleanup and comment the code.
20         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
21         and changed to just return true if reset is needed; take a
22         ParIterator as argument; cleanup and comment the code.
23         (setCounter): adapt to above changes.
24
25 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
26
27         * text3.C (dispatch): make debug message optional
28
29 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
30
31         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
32         inset. (bug 1963)
33
34 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
35
36         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
37
38 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
39
40         * text.C (insertChar):
41         * text2.C (deleteEmptyParagraphMechanism): take care whether 
42         a blank has been deleted (in change tracking mode) (bug 1254).
43
44 2005-07-20  John Levon  <levon@movementarian.org>
45
46         * text2.C (insertStringAsLines): remove old dubious code,
47         fixing bug 1939.
48
49 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
50
51         * MenuBackend.C (expandToc): use Floating::listName() as title of
52         the floats submenus.
53
54 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
55
56         * toc.[Ch]: Do not use translatable strings (bug 1870).
57
58 2005-07-20  John Levon  <levon@movementarian.org>
59
60         * tabular.C: fix 1748 - setting multicolumn adds
61           left line to the first cell
62
63 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
64
65         bug 1920
66         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
67         pars in one go.
68
69 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
70
71         * messages.C: supress some lyxerr messages
72
73 2005-07-18  Juergen Vigna  <jug@lyx.org>
74
75         * text.C (drawSelection): honor boundary when asking for cursorX.
76
77 2005-07-17  José Matos  <jamatos@fc.up.pt>
78
79         * tabular.C (recalculateMulticolumns): fix handling of one column
80         tables.
81
82 2005-07-17  Juergen Vigna  <jug@lyx.org>
83
84         * text.C (Delete, backspace): fixed so that paragraph with the
85         same layout can be merged by Delete/Backspace.
86
87 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
88
89         * text.C (readParToken): fix spelling.
90
91 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
92
93         * text2.C: fix counter update for DEPM problem reported by
94         Georg Baum
95
96 2005-07-17  Juergen Vigna  <jug@lyx.org>
97
98         * BufferView_pimpl.C (setBuffer): save/restore the
99         cursor/selection when switching buffers
100
101         * buffer.h: 
102         * buffer.C (saveCursor): add saveDocumentIterators to save the
103         cursor when switching buffer.
104
105 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
106
107         * debug.C: fix typo
108         * buffer.C: clarify message
109         
110 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
111
112         * dociterator.C (DocIterator): fix initialization order
113
114 2005-07-17  Juergen Vigna  <jug@lyx.org>
115
116         * text2.C (cursorHome): 
117         * text.C (drawSelection, cursorX): 
118         * dociterator.C (textRow): add boundary to getRow() call
119
120         * paragraph.C (getRow): implementation of below
121
122         * paragraph.h: add parameter boundary for getRow() function
123
124 2005-07-17  José Matos  <jamatos@fc.up.pt>
125
126         * buffer.C:
127         * bufferparams.[Ch]:
128         * tex-strings.[Ch]: new file format, remove support for a4.sty,
129         a4wide.sty and a4widemargins.
130
131 2005-07-17  Juergen Vigna  <jug@lyx.org>
132
133         * text2.C (cursorLeft): fix one of error
134
135 2005-07-17  Juergen Vigna  <jug@lyx.org>
136
137         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
138                    cursorEnd):
139         more fixes for boundary handling
140
141         * text3.C (dispatch): don't reset cursor if boundary has changed
142         on cursor movement.
143
144 2005-07-16  Juergen Vigna  <jug@lyx.org>
145
146         * text2.C (getColumnNearX): hopefully got it right now,
147         check if we are on column 0 for special case.
148
149 2005-07-16  Juergen Vigna  <jug@lyx.org>
150
151         * text2.C (getColumnNearX): handle special case Newline Inset
152
153         * text.C (singleWidth): Just remove bogus check
154
155 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
156
157         * funcrequest.C (split): avoid reading uninitialized char c
158
159 2005-07-16  José Matos  <jamatos@fc.up.pt>
160
161         * buffer.C:
162         * converter.C:
163         * lyxrc.C:
164         * paper.h:
165         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
166         single papersize variable.
167
168 2005-07-16  Juergen Vigna  <jug@lyx.org>
169
170         * text3.C (dispatch): honor boundary when checking if a cursor
171         movement has been done
172
173         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
174         (setCursor, setCursorIntern): fix cursor movement with boundary
175
176 2005-07-16  Juergen Vigna  <jug@lyx.org>
177
178         * text.C (currentState): output the actual Boundary
179
180 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
181
182         * factory.C (createInset): fix bad logic for tabular creation
183
184 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
185
186         * lyx_main.C (init): change some reLyX reference to tex2lyx
187
188 2005-07-16  Juergen Vigna  <jug@lyx.org>
189
190         * dociterator.C (DocIterator): initialize boundary
191
192 2005-07-16  Juergen Vigna  <jug@lyx.org>
193
194         * text2.C (getColumnNearX): Consider rows without trailing blank.  
195
196 2005-07-16  André Pönitz  <poenitz@gmx.net>
197
198         * lyxfont.h: Change order of declarations to give the compiler
199         a better chance to inline things
200
201         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
202         questions on unsaved docs for better scritability
203
204 2005-07-16  André Pönitz  <poenitz@gmx.net>
205
206         * paragraph.h (getChar): remove asserts as the same kind of security
207         can be achieved by using a suitable standard library implementation
208         and the function was in the critical path (25.9% in profiler)
209
210 2005-07-16  Juergen Vigna  <jug@lyx.org>
211
212         * cursor.C (bruteFind2):
213         * bufferview_funcs.C (coordOffset): 
214         * text.C (cursorX,cursorY): Handle cursor position after last char
215         in row before a inset which uses a whole row.
216
217 2005-07-15  José Matos <jamatos@lyx.org>
218
219         * output_plaintext.[Ch] (writeFileAscii): control reference title
220         printing.
221         (asciiParagraph): noparbreak was already deal and was incorrectly
222         used.
223
224 2005-07-15  Juergen Vigna <jug@lyx.org>
225
226         * lyxfunc.C (dispatch): save and restore the cursor after a
227         textclass switch.
228
229 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
230
231         * text.C (backspace): bug 806 for empty keepempty paragraphs we
232         change the layout to default before letting DEPM do its thing.
233
234         * paragraph_funcs.C (breakParagraph): dont reset the layout on
235         keepEmpty paragraphs
236
237         * text.C (setCursorFromCoordinates): add a debug statement
238
239         * text2.C (getColumnNearX): bug 1825 make sure that we don't
240         return a pos that is not on the row
241
242         * output_latex.C (TeXDeeper): get rid of potential dereferencing
243         of past the end iterator
244
245 2005-07-14  André Pönitz  <poenitz@gmx.net>
246
247         * undo.C (recordUndoFullBuffer): implement undo for
248         textclass switches
249
250 2005-07-14  André Pönitz  <poenitz@gmx.net>
251
252         * cursor.C (setSelection): open insets when selection is set there
253         to avoid crashs with cold coord cache
254
255 2005-07-14  André Pönitz  <poenitz@gmx.net>
256
257         * trans_mgr.C (insert): move cursor to the right after inserting
258         a char.
259
260 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
261
262         * BufferView_pimpl.C (update): dampen some of the debug blabbering
263         * factory.C (readInset): ditto
264         * text.C, text2.C: ditto
265
266 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
267
268         * buffer.C: format incremented to 242. There is no file format per
269         se, but the "frenchb" language has been removed from lib/language
270         and has to be translated to "french" by lyx2lyx.
271
272 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
273
274         * cursor_slice.h, dociterator.h: add some documentation
275         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
276
277 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
278
279         * text.C (leftMargin): do not add identation to display() style
280         insets, because they are always centered (bug 1293).
281
282 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
283
284         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
285         formatted_time methods in support/lyxtime.
286
287 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
288
289         * toc.[Ch]: new method getGuiName, which is used by the frontends 
290         to set the toc combo (fixes bug 1870). Make TOC string translatable.
291
292 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
293
294         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
295         StableDocIterator const &)
296         * undo.C (recordUndo): use the above instead of cell.size() comparison
297         (fixes bug 1808; instructed by Andr�.
298
299 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
300
301         * cursor_slice.h: 
302         * dociterator.h: Fix the assert when copying rows/cols in math
303
304 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
305
306         * BufferView_pimpl.C:
307         * LyXAction.C:
308         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
309
310         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
311         (findInset): new functions, refactored from goto Inset that return 
312         the position of a certain inset without setting the buffer's cursor
313         (by Jean-Marc); 
314         (gotoInset): rewrite to call findInset and then set the cursor
315         (by Jean-Marc).
316
317 2005-06-16  Angus Leeming  <leeming@lyx.org>
318
319         * lyxrc.C (output, read): wrap all input and output of paths with
320         calls to os::internal_path and os::external_path, respectively.
321         (output): wrap bind_file inside quotes.
322
323         * format.C (view): enable the viewer to use the '$$s' placeholder.
324
325 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
326
327         * LColor.[Ch] (getFromLaTeXName): new
328
329 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
330
331         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
332
333 2005-06-14  Angus Leeming  <leeming@lyx.org>
334
335         * lyx_main.C (init): ensure that the LyX binary dir is the first
336         element in the PATH on non-POSIX builds.
337
338 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
339
340         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
341
342 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
343
344         * rowpainter.C (paintInset, paintHebrewComposeChar)
345         (paintArabicComposeChar, paintChars): add a LyXFont argument.
346         (paintChars): use getFontSpan to reduce calls to getFont to a
347         minimum; use Paragraph::lookupChange instead of isXXXText.
348         (paintForeignMark): rename LyXFont argument.
349         (paintFromPos): pass a LyXFont object to the various paintXXX
350         methods.
351
352         * FontIterator.C (FontIterator, operator++): use
353         Paragraph::getFontSpan
354
355         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
356         version that returns the font span as a pair.
357
358 2005-06-09  Angus Leeming  <leeming@lyx.org>
359
360         * converter.C (convert): Don't forget "outfile = real_outfile" as
361         the final step in a conversion where the input and output file names
362         are the same. Otherwise, future conversion steps won't work...
363
364 2005-06-09  Angus Leeming  <leeming@lyx.org>
365
366         * lyxsocket.C: remove stub code as it isn't needed by
367         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
368
369 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
370
371         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
372         effectively disabled -x
373
374 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
375
376         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
377         when it actually makes sense.
378
379 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
380
381         * BufferView_pimpl.C: revert to showCursor in connection with
382         Lars's front-end stack
383
384 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
385
386         * text.C (redoParagraph): move cursor right after a bibitem
387         has been inserted.
388
389         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
390
391 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
392
393         * buffer_funcs.C (bufferErrors): fix computation of the end of an
394         error range.
395
396 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
397
398         * BufferView.[Ch] (update):
399         * BufferView_pimpl.[Ch] (update, metrics):
400         * dimension.h (operator==):
401         * lyxfunc.C (dispatch):
402         * metricsinfo.h (ViewMetricsInfo):
403         * rowpainter.C (paintText):
404         * lyxtext.h:
405         * text.C (redoParagraph):
406         * text3.C (dispatch): Make LyX only repaint current paragraph in
407         case of character insert --> speedup. Also fix cursor draw
408         artifacts
409
410 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
411
412         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
413         avoid a crash (bug 1891)
414
415 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
416
417         Fix bug 1892:
418
419         * text2.C (getStringToIndex): constify cur argument.
420
421         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
422         argument has been given
423         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
424         try to invoke LFUN_INSET_APPLY).
425
426         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
427         if no inset was created by doInsertInset
428         (doInsertInset): return true if an inset has been inserted.
429
430 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
431
432         * vspace.C (asGUIName): new method. A version of the space
433         suitable for showing on screen.
434
435 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
436
437         * MenuBackend.C:
438         * lyxrc.C: rename "ASCII" to "Plain Text"
439
440 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
441
442         * buffer_funcs.C (expandLabel): take a Buffer as argument;
443         translate the labelstring.
444         (setCounter): translate labelstring as needed.
445
446         * output_docbook.C (makeCommand): fix expandLabel invokation
447
448 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
449
450         * BufferView.C: fix dialog title
451
452 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
453
454         * lyx_main.C (priv_exec): fix logic error with help from Angus
455         * lyx_main.C (parse_execute): set is_gui = false and remove now
456         obsolete comment about a segfault
457
458 2005-05-18  Angus Leeming  <leeming@lyx.org>
459
460         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
461
462 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
463
464         * tabular.[hC]: added setCellInset to fix tabular paste.
465
466 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
467
468         * buffer.C (save): check if destination is writable before trying
469         to copy a file
470
471 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
472
473         * BufferView_pimpl.C (update): fix processEvents -caused update
474         recursion bug
475
476 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
477
478         * buffer_funcs.C (setCounter): fix test for numbering of
479         environments.
480
481         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
482         depth correctly; use optional argument when it exists
483
484         * lyxtextclass.C: remove unused MaxCounterTags enum
485         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
486         (max_toclevel, min_toclevel): new methods.
487
488         * MenuBackend.C (expandToc2): fix case where depth is smaller than
489         the smallest depth in toc.
490
491         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
492         layouts that should not appear in a table of contents.
493
494 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
495
496         * cursor.h (undispatched, noUpdate): add comments from Andr�
497 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
498
499         * lfuns.h:
500         * LyXAction.C:
501         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
502
503 2005-05-07  André Pönitz  <poenitz@gmx.net>
504
505         * cursor.[Ch] (leaveInset): new function
506
507 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
508
509         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
510
511 2005-05-04  Angus Leeming  <leeming@lyx.org>
512
513         * lyxfunc.C (getStatus): disable the spell checker dialog if
514         none of USE_[AIP]SPELL are defined.
515
516 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
517
518         * tabular.C (setWidthOfCell): remove obsolete comment
519
520 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
521
522         * paragraph.C (bibitem):
523         * buffer_funcs.C (setCounter):
524         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
525
526 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
527
528         * text3.C (getStatus): immediately return after setOnOff
529
530         * rowpainter.C: fix drawing of appendix start
531
532 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
533
534         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
535         SwitchBetweenClasses and remove the unused return value.
536         Handle character styles, too
537
538 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
539
540         * factory.C (createInset): handle undefined character styles
541
542 2005-05-02  Angus Leeming  <leeming@lyx.org>
543
544         * buffer.C: protect the #include of utime.h with a preprocessor
545         guard.
546
547 2005-05-02  Angus Leeming  <leeming@lyx.org>
548
549         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
550         function so that auto-saving works, albeit in a blocking manner.
551
552         * Makefile.am: make compilation of the client sub directory, of
553         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
554         on conditionals set at configure time.
555
556         * SpellBase.[Ch]: no longer an abstract base class. Instead,
557         it can be compiled in its own right but has no-op functionality.
558
559         * aspell.C, pspell.C: remove preprocessor guards. The files should
560         be compiled only if the necessary functionality exists.
561
562         * lyxserver.C, lyxsocket.C: disable on Windows.
563
564 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
565
566         * text.C (leftMargin): Fix the parindent use bug (1764)
567         by dirty trick
568
569 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
570
571         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
572         argument.
573
574 2005-04-25  Angus Leeming  <leeming@lyx.org>
575
576         * Bidi.[Ch]:
577         * coordcache.[Ch]:
578         * ispell.C:
579         * lyxserver.C:
580         * mover.C:
581         * pch.h:
582         include <config.h> in .C files, not .h ones.
583         add licence blurb.
584         protect headers inside preprocessor guards.
585
586 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
587
588         * FuncStatus.h (StatusCodes): document
589
590 2005-04-21  André Pönitz  <poenitz@gmx.net>
591
592         * FuncStatus.h (enabled, onoff): document
593
594 2005-04-19  Angus Leeming  <leeming@lyx.org>
595
596         * BufferView_pimpl.C (cursorToggle): no longer test whether
597         any child processes have been reaped before calling
598         handleCompletedProcesses().
599
600 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
601
602         * text3.C (dispatch): fix, finally fix, the language problem in
603         new lyxtexts, without disabling on-the-fly font changes (Helge's
604         bug report)
605
606 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
607
608         * text3.C (dispatch): set cursor on double/triple click events
609         (bug 1811)
610
611 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
612
613         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
614         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
615
616         * rowpainter.C (paintFirst): simplify the code a little bit. In
617         particular, remove the test for secnumdepth.
618         * text.C (setHeightOfRow): only allocate space for chapter number
619         when updateCounters provided an actual label, instead of looking
620         at secnumdepth directly.
621
622         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
623
624         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
625         paragraphs when secnumdepth is large enough or, for environments,
626         when they are not the first in a sequence.
627
628 2005-04-17  Angus Leeming  <leeming@lyx.org>
629
630         * buffer.C (makeLaTeXFile): replace code to manipulate a path
631         containing space and '~' characters with a call to latex_path().
632
633 2005-04-17  Angus Leeming  <leeming@lyx.org>
634
635         * converter.C (convert): protect all args of convertDefault.sh
636         script with quotes.
637
638 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
639
640         * text3.C (dispatch): change the layout to "Caption" after inserting
641         a float.
642
643 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
644
645         * text3.C (dispatch): fix language problem in newly created
646         textinsets (and main text) in non-english docs
647
648 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
649
650         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
651         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
652         * text3.C (getStatus): disable LFUN_INSET_MODIFY
653
654 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
655
656         * lyxtext.h:
657         * text.C (metrics):
658         * text2.C (getFont):
659         * rowpainter.C (getFont): Fix metrics bug introduced by inset
660         fonts fix
661
662 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
663
664         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
665         output of \item arguments without trailing text.
666
667 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
668
669         * FontIterator.C (operator*): avoid a copy of the font.
670
671 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
672
673         * rowpainter.C (getFont): fix language bug from previous fix
674
675 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
676
677         * rowpainter.C (RowPainter, getFont): fix font inside inset
678         (bugs 1766, 1809)
679
680 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
681
682         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
683         preventing inserted font, deco, delim insets jumping to start of
684         surrounding inset.
685
686 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
687
688         * lyxfunc.C (dispatch): translate message before sending it to the
689         minibuffer.
690
691 2005-03-29  Angus Leeming  <leeming@lyx.org>
692
693         * lyx_main.C (priv_exec): call os::internal_path on each file passed
694         to LyX on the command line.
695
696 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
697
698         * vc-backend.C: use QuoteName to protect file names wherever
699         necessary.
700
701 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
702
703         * buffer.[Ch]:
704         * BranchList.h: fix bugs 1844,1845: document settings don't
705         stick
706
707 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
708
709         * lyxrc.C (setDefaults, read, output, getDescription): add support
710         for tex_allows_spaces.
711
712         * exporter.C (Export): allows files in directory containing spaces
713         if tex_allows_spaces is true.
714
715         * buffer.C (makeLaTeXFile): if the document path contains spaces,
716         output it in double quotes.
717
718 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
719
720         * rowpainter.C: use default text height for drawing change tracker
721         strikeout lines.
722
723 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
724
725         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
726
727 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
728
729         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
730         directory is missing.
731
732 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
733
734         * text2.C: fixed the fix, extended to other case.
735
736 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
737
738         * text2.C: fix for cursor up/down stuck in math [bug 1792]
739
740 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
741
742         * text2.C (cursorUp): get rid of a crash
743         * text.C (x2pos): add an assert
744
745 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
746
747         * lyxfunc.C (getStatus): fix warning when assertions are disabled
748
749         * text3.C:
750         * lyxfunc.C:
751         * dociterator.C: include <boost/current_function.hpp>, which is
752         needed when assertions are disabled.
753
754 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
755
756         * text2.C: fix for stuck cursor when traversing two
757         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
758
759 2005-02-25  Andreas Vox  <avox@arcor.de>
760
761         * output_docbook.C (makeParagraph): suppress trailing newline
762         after a run of paragraphs
763
764 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
765
766         * paragraph.C: fix for confused change tracker when pasting
767         text that begins with a lineseparator. [bug 1827]
768         (setChange(0, Change::INSERTED);)
769
770         * paragraph_funcs.C: fix for lost changes on triple-paste
771         in change tracking mode [bug 1827] (par.setChange()).
772
773 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
774
775         * text2.C (updateCounters, setCounter, expandLabel): move to
776         buffer_funcs.
777
778         * buffer_funcs.C (updateCounters): turn into a free standing
779         function and add a buffer parameter. Remove dead code for tracking
780         labelstring change.
781         (setCounter): change into a free-standing function which gets a
782         dociterator as argument. Use this iterator to fix captions in a
783         simple way. When no float is found above the caption, use the
784         labelstring of the caption layout as default.
785
786         * text.C (breakParagraph, backspace):
787         * text2.C (init, setLayout, changeDepth):
788         * text3.C (dispatch):
789         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
790         updateCounters.
791
792         * dociterator.C (forwardPar): make it much faster by calling
793         forwardPos() only when really necessary.
794
795         * output_docbook.C (makeCommand): adapt to expandLabel move.
796
797         * cursor.C: remove unused variable
798
799 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
800
801         * paragraph_funcs.C: fix crash when pasting insets in change
802         tracking mode [bug 1277] (honour change type in moveItem).
803
804 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
805
806         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
807
808 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
809
810         * BufferView.C (setCursor): change to use a DocIterator.
811         (gotoLabel): use BufferView::setCursor (other part of bug 781).
812         (putSelectionAt): adapt to BufferView::setCursor change.
813
814         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
815         moved here from LyXText and rewritten to use proper cursor
816         methods. Fixes bug 1787, 616 and 835.
817
818         * BufferView_pimpl.C (restorePosition): set the cursor correctly
819         when inside an inset (part of bug 781).
820         (dispatch): adapt to change of BufferView::setCursor.
821         (getStatus, dispatch): handle LFUN_GOTOERROR,
822         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
823
824         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
825         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
826         * text3.C (gotoNextInset, gotoInset): removed.
827
828 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
829
830         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
831
832 2005-02-15  Angus Leeming  <leeming@lyx.org>
833
834         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
835         can be used meaningfully in a comparison.
836
837 2005-02-13  André Pönitz  <poenitz@gmx.net>
838
839         * bufferview_funcs.C (coordOffset): improve cursor drawing
840
841 2005-02-13  André Pönitz  <poenitz@gmx.net>
842
843         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
844         * Cursor.C (dispatch): use fixIfBroken
845         * lyxfunc.C (getStatus): use fixIfBroken
846
847 2005-02-15  Angus Leeming  <leeming@lyx.org>
848
849         * lyx_main.C (error_handler):
850         * lyxfunc.C:
851         * lyxrc.C (setDefaults):
852         s/GetEnv/getEnv/.
853         #include "environment.h".
854
855         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
856
857 2005-02-15  Angus Leeming  <leeming@lyx.org>
858
859         * lyxserver.C (startPipe): squash MSVC warning "local variable
860         'fd' used without having been initialized".
861
862 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
863
864         * BufferView_pimpl.C: revert accidental commit.
865
866 2005-02-14  André Pönitz  <poenitz@gmx.net>
867
868         * dociterator.[Ch]: new member forwardPosNoDescent(),
869         which doesn't enter nested insets.
870         * text2.C (setFont): use forwardPosNoDescent() instead
871         of ForwardPos() (fixes crash on font change).
872
873 2005-02-13  Angus Leeming  <leeming@lyx.org>
874
875         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
876         only if lyxrc.path_prefix is not empty.
877
878 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
879
880         * bufferparams.C (readGraphicsDriver): prevent crash
881
882 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
883
884         * text2.C (setCounter): check for inInset() == 0
885
886 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
887
888         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
889         but use update() to get correct screen display; use convert
890         instead of istringstream.
891         (getStatus): handle LFUN_GOTO_PARAGRAPH
892
893         * lyxfunc.C (dispatch, getStatus): do not handle
894         LFUN_GOTO_PARAGRAPH here.
895
896 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
897
898         * text3.C (dispatch): size() -> depth()
899
900         * text2.C: remove some debug output
901
902         * paragraph.C: ws changes only
903
904         * lyxfunc.C (getStatus): size() -> depth()
905
906         * dociterator.h (clear, push_back, pop_back, internalData,
907         operator[], resize, empty): new functions
908         Make StableDocIterator and operator== be friends. Don't inherit
909         from std::vector use a privat class variable slices_ instead.
910         Modify to fit.
911
912         * dociterator.C: update because of not inheriting from std::vector
913         anymore. Call explictly to slices_ instead. Use depth() instead of
914         size() and top() instead of back()
915
916         * cursor.C: chagne size() -> depth and back() -> top(). Also
917         remove some direct operator[](i) calls in favour of foo[i]
918         (getFont): remove some dead code
919
920         * bufferview_funcs.C (coordOffset): size() -> depth()
921
922         * buffer.C: ws changes only
923
924         * CutAndPaste.C (eraseSelection): back() -> top()
925
926         * BufferView_pimpl.C (selectionRequested): back() -> top()
927
928         * BufferView.C (setCursor): size() -> depth()
929
930 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
931
932         * text3.C (cursorPrevious): return true if depm changed something
933         (cursorNext): ditto
934         (dispatch): rename sl to oldTopSlice, remove moving use the new
935         NoUpdate func attrib instead. Make sure that needsUpdate is set
936         for function that have NoUpdate, but where depm might have changed
937         the buffer anyway.
938
939         * text2.C (cursorLeft): make us return true if depm changed
940         something
941         (cursorRight): ditto
942         (cursorUpParagraph): ditto
943         (curosrDownParagraph): ditto
944         (cursorUp, cursorDown): ditto, make sure to read comments in code
945         (deleteEmptyParagraphMechanism): remove an assert, also return
946         true if just a single char was deleted.
947
948         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
949         cursor that we modify, to avoid modifying an active cursor before
950         we call setCursor. This allows depm to run. Also return true if
951         depm deleted something.
952
953         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
954         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
955         cursorDownParagraph, cursorPrevious and cursorNext, return true if
956         something was changed in the buffer because of them (ie. depm run)
957
958         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
959         debug messages. Make update by default be false. Make sure that
960         the result of update is retained throught several calls down to
961         dispatch.
962
963         * LyXAction.h: add a new func_attrib: NoUpdate
964
965         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
966         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
967         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
968         and LFUN_WORDLEFT
969         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
970
971 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
972
973         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
974         bv_->owner(), bv_->buffer() by direct references to the private
975         members.
976         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
977         (getStatus): isSavedPosition() is in BufferView::Pimpl.
978         (fitCursor): center() is in BufferView::Pimpl.
979         (getStatus, trackChanges, dispatch): no need for a temporary buf
980         variable
981         (fitCursor, workAreaDispatch): use workarea().workheight()
982
983 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
984
985         * CutAndPaste.C (pasteSelectionHelper): fix a crash
986
987 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
988
989         * buffer.C: format up to 241.
990         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
991         break if pasting into ERT
992         * lyxfunc.C (getStatus): suppress mathpanel and
993         LFUN_DIALOG_SHOW_NEW_INSET in ERT
994
995 2005-02-01  Angus Leeming  <leeming@lyx.org>
996
997         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
998
999 2005-02-01  Angus Leeming  <leeming@lyx.org>
1000
1001         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1002         calling fs::is_directory().
1003
1004 2005-01-31  Angus Leeming  <leeming@lyx.org>
1005
1006         * lyx_main.C (priv_exec): specify explicitly the relative location
1007         of the top level build directory when run in-place.
1008
1009 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1010
1011         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1012         LyXText containing the cursor, not the top-level one.
1013
1014         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1015         true.
1016         (insertStringAsLines): rename par to pit; use temporary variable
1017         par to hold a Paragraph; do not store par.layout() in a variable,
1018         since the pointer may die when breaking paragraphs; pass pars to
1019         breakParagraph() instead of Buffer::paragraphs().
1020
1021 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1022
1023         * lyxlex_pimpl.h: #include <fstream>.
1024
1025         * BufferView.[Ch] (getLyXText): add a const version.
1026
1027         * BufferView_pimpl.C: add debug aids.
1028
1029         * RowList_fwd.h:
1030         * buffer.h:
1031         * lyxrow.h:
1032         * paragraph_funcs.h: add commentary explaining what the class does.
1033
1034
1035         * coordcache.[Ch]: add lots of commentary.
1036         (startUpdating, doneUpdating): debug aids.
1037         (arrays, insets, parPos, getParPos): accessors to private data.
1038
1039         * cursor_slice.[Ch] (text): add a const version.
1040         * dociterator.[Ch] (text, innerText): add const versions.
1041
1042         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1043         bool.
1044
1045         * paragraph.C (getRow, pos2ros): add asserts.
1046
1047         * paragraph.h: add commentary. Lots of.
1048
1049         * paragraph.[Ch] (metrucs, draw): removed.
1050
1051         * cursor.C:
1052         * rowpainter.[Ch]: const-correct changes.
1053
1054         * text.C: various obvious clean-ups. Removal of ancient cruft.
1055         Bug fixes, even.
1056
1057 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1058
1059         * vc-backend.C (find_file): rewrite to use boost.filesystem
1060         (scanMaster): ditto
1061
1062         * main.C (main): set default name check for boost.filesystem to
1063         no check
1064
1065         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1066         (open): ditto
1067         (doImport): ditto
1068         (actOnUpdatedPrefs): ditto
1069
1070         * lyx_main.C (init): rewrite to use boost.filesystem
1071         (queryUserLyXDir): ditto
1072
1073         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1074         (getContentsOfAsciiFile): ditto
1075
1076         * lastfiles.C (readFile): rewrite to use boost.filesystem
1077
1078         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1079
1080         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1081         (loadLyXFile): ditto
1082
1083         * buffer.C (Buffer): adjust for destroydir
1084         (getLogName): rewrite to use boost.filesystem
1085         (setFileName): ditto
1086         (save): use fs::copy_file (from fs_extras)
1087
1088         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1089
1090         * LaTeX.C (run): rewrite to use boost.filesystem
1091         (scanAuxFiles): ditto
1092         (handleFoundFile): ditto
1093
1094 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1095
1096         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1097
1098         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1099
1100 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1101
1102         * lyxlayout.[Ch]: change some vars from float to double
1103
1104         * buffer.C (readFile): make a local var const
1105
1106         * Several files: use convert<> instead of atoi,strToXXX and friends
1107
1108 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1109
1110         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1111         holds the contents of packages.lst. New functions getAvailable
1112         and isAvailable to parse and check that list, resp.
1113
1114         * LyXAction.C:
1115         * lfuns.h:
1116         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1117
1118         * bufferparams.[Ch]: new param output_changes.
1119
1120         * Buffer.C: increase file format to 240.
1121         Use output_changes and isVailable.
1122
1123         * changes.[Ch]:
1124         * paragraph.C:
1125         * paragraph_pimpl.C: Use output_changes and isVailable.
1126
1127 2005-01-23  Angus Leeming  <leeming@lyx.org>
1128
1129         * output_latex.C: #include "insetbibitem.h", rather than
1130         forward declare function bibitemWidest.
1131
1132 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1133
1134         * lyx_main.C (init): make it compile on the Mac.
1135
1136 2005-01-20  Angus Leeming  <leeming@lyx.org>
1137
1138         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1139         (setLyXMisc): (char string literal) != (char string literal) is
1140         performing a comparison on the addresses. Convert one operand
1141         explicitly to string to guarantee expected behaviour.
1142         From MSVC warning.
1143
1144 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1145
1146         * buffer.C:
1147         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1148
1149         * output_plaintext.C: remove unneeded #include gzstream.h.
1150
1151 2005-01-20  Angus Leeming  <leeming@lyx.org>
1152
1153         * SpellBase.h: rename some of the elements of the Result enum.
1154
1155         * aspell_local.h:
1156         * ispell.h:
1157         * pspell.h:
1158         * aspell.C (check):
1159         * ispell.C (check):
1160         * pspell.C (check): ditto
1161
1162 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1163
1164         * buffer.C: add #include <fstream>.
1165
1166         * lyx_main.C (init): Compile fix.
1167
1168         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1169
1170 2005-01-20  Angus Leeming  <leeming@lyx.org>
1171
1172         * mover.h: change commentary to reflect the changed meaning of
1173         the $$s placeholder.
1174
1175 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1176
1177         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1178
1179         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1180
1181 2005-01-20  Angus Leeming  <leeming@lyx.org>
1182
1183         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1184         printing diagnostic data by not dereferecing an iterator past the
1185         end.
1186
1187 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1188
1189         * buffer.C (readHeader): use "&&" rather than "and".
1190
1191         * lyxserver.h (inPipeName, outPipeName): make these const.
1192
1193 2005-01-19  Angus Leeming  <leeming@lyx.org>
1194
1195         * lyx_main.C (error_handler, init): protect SIGHUP with
1196         #ifdef SIGHUP guards.
1197
1198 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1199
1200         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1201
1202 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1203
1204         * text.C (setHeightOfRow): add a margin at the top and bottom of
1205         the document (bug 1761)
1206
1207 2005-01-17  Angus Leeming  <leeming@lyx.org>
1208
1209         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1210         with "python ". Workaround for a brain-dead Windows.
1211
1212 2005-01-16  Angus Leeming  <leeming@lyx.org>
1213
1214         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1215         for MacOSX and Windows to use prependEnvPath.
1216         Strip out the hard-coded block to add elements to the PATH for
1217         MacOSX and replace it with a call to prependEnvPath using the
1218         contents of LyXRC::path_prefix.
1219         (queryUserLyXDir): strip out the code to run reconfigure, instead
1220         returning a boolean indicating the necessity to do so.
1221         (reconfigureUserLyXDir): contains the code to reconfigure the
1222         user support directory. Is now called after the various LyXRC data
1223         files have been read.
1224
1225         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1226
1227 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1228
1229         * converter.[Ch] (convert): take a new parameter try_default. Use
1230         a default converter (imagemagick) if try_default is true.
1231
1232 2005-01-13  Angus Leeming  <leeming@lyx.org>
1233
1234         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1235         os::cygwin_path_fix.
1236         (write): output LyXRC::cygwin_path_fix as necessary.
1237
1238 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1239
1240         * lyxrc.h:
1241         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1242
1243 2005-01-12  Angus Leeming  <leeming@lyx.org>
1244
1245         * lyx_main.C (init): set the PATH variable to include the
1246         directory containing the LyX binary when running on Mac or Windows.
1247
1248 2005-01-12  Angus Leeming  <leeming@lyx.org>
1249
1250         * lyx_main.C (init): remove cruft that purports to set the locale
1251         dir. It doesn't and is not needed anyway.
1252
1253 2005-01-10  Angus Leeming  <leeming@lyx.org>
1254
1255         * Makefile.am: remove the lyx_main.C special casing.
1256
1257         * BufferView_pimpl.C:
1258         * bufferlist.C:
1259         * exporter.C:
1260         * lyx_cb.C:
1261         * lyx_main.C:
1262         * lyxfunc.C:
1263         * messages.C: use support/package.h to provide the paths to the
1264         various directories used by LyX.
1265
1266 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1267
1268         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1269         layout if pasting into an empty paragraph)
1270
1271 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1272
1273         * tex-accent.C: add <string>
1274
1275 2005-01-06  José Matos  <jamatos@lyx.org>
1276
1277         * ParagraphParameters.C (write): put every parameter in its own line.
1278         * paragraph.C (write): reduce number of consecutive empty lines exported.
1279         * buffer.C (LYX_FORMAT): increase file format to 239.
1280
1281 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1282
1283         * everywhere: change support/tostr.h -> support/convert.h
1284
1285         * tabular.C: make all write_attributes templates, tostr -> convert
1286
1287         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1288         (emptyTag): and -> &&, and fix type for ret from getChar
1289         (getFirstWord): fix type for ret from getChar
1290         (onlyText): and -> &&
1291         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1292         getChar
1293
1294         * toc.C (goTo, action):
1295         * text3.C (dispatch):
1296         * text.C (currentState):
1297         * tex-accent.C (DoAccent):
1298         * sgml.C:
1299         * lyxrc.C:
1300         * lyxfunc.C (menuNew):
1301         * lyxfinc.C (replace):
1302         * counters.C (laberItem):
1303         * bufferview_funcs.C (font2string):
1304         * bufferparams.C (writeFile):
1305         * buffer.C (readFile):
1306         * Spacing.C (set):
1307         * MenuBackend.C: tostr -> convert
1308
1309         * LaTeX.C (runMessage): fix format
1310         (scanAuxFiles): tostr -> convert
1311
1312         * BufferView_pimpl.C (savePosition): fix format
1313         (restorePosition): ditto
1314         (dispatch): ditto
1315
1316 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1317
1318         * Spacing.[Ch]: New method getValueAsString().
1319
1320         * Spacing.[Ch]:
1321         * bufferparams.C:
1322         * ParagraphParameters.C:
1323         * lyxlayout.C:
1324         * text.C:
1325         * text3.C: store/read spacing value as string.
1326
1327         * rowpainter.C: change float value (spacing_val) to double.
1328
1329         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1330         broken custom document spacing).
1331
1332 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1333
1334         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1335         namespace, also more use of temp references and const
1336
1337         * cursor.[Ch] (getStatus): move to lyxfunc.C
1338
1339         * bufferparams.C: reformat slightly
1340
1341         * bufferview_funcs.C (font2string): constify arg
1342
1343         * changes.C:
1344         * converter.C:
1345         * counters.C:
1346         * bufferlist.C:
1347         * buffer_funcs.C: (many funcs): constify arg on function
1348         definitions, also make more local vars const, also add ASSERTS on
1349         pointer args.
1350
1351         * buffer.C (LYX_FORMAT): put const in correct place
1352         (many funcs): constify arg on function definitions, also make
1353         more local vars const
1354
1355         * aspell_local.h: remove "struct" from typdef setup
1356
1357         * aspell.C (check): make word_ok const
1358         (nextMiss): simplify slightly
1359         (error): ditto
1360
1361 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1362
1363         * lyxrc.[Ch]: store all float values as strings.
1364         use int (not float) for lyxrc.dpi.
1365
1366 2005-01-04  Angus Leeming  <leeming@lyx.org>
1367
1368         * lyx_cb.C (Reconfigure):
1369         * lyx_main.C (queryUserLyXDir):
1370         to run the <system_lyxdir>/configure correctly on Windows, prefix
1371         the path to the script with "sh " when generating the string that
1372         is passed to system().
1373
1374 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1375
1376         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1377
1378 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1379
1380         * lyxlength.C (asLatexString): get rid of setprecision
1381
1382 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1383
1384         * text2.C (setLayout): remove unused variable endpit.
1385         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1386
1387         * paragraph.C (onlyText): remove unused variable style.
1388
1389         * cursor.C (bruteFind): remove unused variables beg and end.
1390
1391         * Makefile.am (dist_noinset_DATA): not needed anymore
1392
1393         * cheaders/*: remove.
1394
1395 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1396
1397         * text3.C: fix LFUN_MATH_MODE.
1398
1399 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1400
1401         * buffer_funcs.C (countWords): new function. Counts words between
1402         two iterators.
1403
1404         * BufferView_pimpl.C (getStatus, dispatch): handle
1405         LFUN_WORDS_COUNT.
1406
1407         * LyXAction.C (init):
1408         * lfuns.h: add LFUN_WORDS_COUNT.
1409
1410 2004-12-19  Angus Leeming  <leeming@lyx.org>
1411
1412         * buffer.C (save): s/slashify_path/internal_path/.
1413
1414 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1415
1416         * lyxfind.C (findChange): do not search for end of pars, because
1417         the change tracker cannot handle this (fixes bug 1719).
1418
1419 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1420
1421         * paragraph.[Ch] (autoBreakRows): remove
1422
1423         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1424
1425         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1426         avoid using the paragraph one
1427
1428         * text2.C (LyXText, insertStringAsLines): adjust
1429
1430 2004-12-16  Angus Leeming  <leeming@lyx.org>
1431
1432         * bufferlist.C:
1433         * lyx_main.C:
1434         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1435
1436 2004-12-14  Angus Leeming  <leeming@lyx.org>
1437
1438         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1439
1440         * bufferlist.C (emergencyWrite):
1441         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1442         GetEnvPath("HOME").
1443
1444 2004-12-14  Angus Leeming  <leeming@lyx.org>
1445
1446         * main.C: (main): no longer pass pointers to os::init.
1447
1448 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1449
1450         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1451         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1452
1453 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1454
1455         * lyxfunc.C:
1456         * text3.C: remove selection_possible global flag
1457
1458 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1459
1460         * text2.C (getSelectionSpan): remove
1461         (changeDepth, changeDepthAllowed): adjust
1462
1463 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1464
1465         * Makefile.am (BOOST_LIBS): use boost variables
1466
1467 2004-12-03  José Matos  <jamatos@lyx.org>
1468
1469         * buffer.C: format up to 238.
1470
1471 2004-12-03  José Matos  <jamatos@lyx.org>
1472
1473         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1474
1475 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1476
1477         * cursor.C (goUpDown): remove call to idxUpDown2
1478
1479 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1480
1481         * tabular.[Ch]: use size_t-like types for cell, row and column
1482         indices
1483
1484 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1485
1486         * lyxfunc.C (getStatus): do not lose previous information when
1487         calling BufferView::getStatus; do not set a default "Command
1488         disabled" message at the beginning, but just before returning.
1489
1490 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1491
1492         * cursor.h (getStatus): add better comment from src/cursor.C
1493
1494 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1495
1496         * text3.C (getStatus): return false when the lfun is not handled
1497
1498 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1499
1500         * broken_headers.h: remove
1501
1502         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1503
1504 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1505
1506         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1507         offset_ref accessors
1508
1509         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1510         top_y_, merge fitcursor with update
1511         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1512         coord scheme
1513         (metrics): introduce
1514         (workAreaDispatch): adapt to new coord scheme
1515         (redoCurrentBuffer): remove
1516
1517         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1518
1519         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1520         CurStatus enum.
1521
1522         * coordcache.[Ch]: add paragraph cache and helpers
1523
1524         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1525         adjust everywhere
1526
1527         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1528         (targetX, setTargetX): introduce
1529
1530         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1531         baseline -> ascent, as the rest of lyx
1532
1533         * lyxtext.h: remove redoParagraphs, updateParPositions,
1534         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1535         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1536         have ascent/descent (ascent is ascent of first par)
1537
1538         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1539         step of BufferView
1540
1541         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1542
1543         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1544
1545         * pariterator.C: fix infinite loop introduced in par->pit renaming
1546
1547         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1548         in insets and LyXText, draw two off-screen paragraphs using
1549         NullPainter, and adapt to new coord scheme
1550
1551         * text.C:
1552         * text2.C:
1553         * text3.C: adapt lfun handlers to the new coord scheme, which
1554         means: there's only guaranteed coord information for onscreen pars
1555         plus one above and one below. This implies that one can do search
1556         from y coordinates in the range [-1,workHeight]
1557
1558 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1559
1560         * rename a lot of InsetOld to InsetBase
1561
1562 2004-11-25  Angus Leeming  <leeming@lyx.org>
1563
1564         * BufferView_pimpl.C:
1565         * lyx_cb.C:
1566         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1567
1568 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1569
1570         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1571         call BufferView::getStatus if LCursor::getStatus did nothing
1572         (setStatusMessage, getStatusMessage): removed.
1573
1574         * FuncStatus.C (message): new methods. Used to provide an error
1575         message indicating why a command is disabled.
1576         (clear, |=, FuncStatus): update for message.
1577
1578 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1579
1580         * lyxfunc.C (dispatch): always call sendDispatchMessage
1581
1582 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1583
1584         * BufferView.C:
1585         * BufferView_pimpl.C:
1586         * CutAndPaste.C:
1587         * FontIterator.C:
1588         * buffer.C:
1589         * cursor.C:
1590         * cursor_slice.[Ch]:
1591         * dociterator.[Ch]:
1592         * lyxfind.C:
1593         * paragraph_funcs.C:
1594         * pariterator.C:
1595         * rowpainter.C:
1596         * text.C:
1597         * text2.C:
1598         * text3.C:
1599         * undo.C: par->pit renaming
1600
1601 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1602
1603         * tabular.C (cellstruct): use initialization, store a shared_ptr
1604         to insettext instead of the insettext directly, adjust to fit.
1605         (operator=):  new function
1606         (swap): new function
1607         (rowstruct): use initialization
1608         (columnstruct): use initialization
1609         (ltType): use initialization
1610
1611
1612         * lyxlength.h (swap): new function
1613
1614         * LColor.[Ch] (operator=): use the common semantics
1615
1616 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1617
1618         * lyxfind.C (findNextChange): update the bufferview after setting
1619         the selection.
1620
1621 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1622
1623         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1624         number of InsetOptArgs has already been inserted.
1625
1626         * output_latex.C (latexOptArgInsets): new method. This outputs all
1627         the optarg insets, up to the limit defined in the layout file.
1628         (optArgInset): removed
1629         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1630
1631 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1632
1633         * paragraph.C (isLetter): remove special spellchecker-related
1634         code; return true also for digits
1635         (isWord, isKomma): remove
1636
1637         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1638         * lyxfind.C (MatchString()): use isLetter instead of isWord
1639
1640 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1641
1642         * pariterator.h (operatir=): comment out un-implemented member
1643         function.
1644
1645         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1646         static cast.
1647
1648 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1649
1650         * lyxfont.h: include LColor.h to satisfy concept checks.
1651
1652 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1653
1654         * pariterator.h: add typdefs for value_type, difference_type,
1655         pointer and reference to satisfy concept checks. Also add default
1656         constructor for same reason.
1657
1658         * pariterator.C (operator++): add post-increment operator to
1659         satisfy concept checks.
1660
1661         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1662         checks.
1663
1664         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1665
1666         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1667         checks. Also rename base_type to BaseType to follow naming
1668         standard better.
1669
1670         * FloatList.h: include Floating.h to satisfy concept checks.
1671
1672 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1673
1674         * lyxfunc.C (getStatus): when the origin of the request is menu or
1675         toolbar, and the LyXView does not have focus, do as if there was
1676         no buffer (bug 1720)
1677
1678         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1679         FuncRequest to individual entries of LFUN_SEQUENCE
1680
1681 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1682
1683         * output_latex.C (TeXOnePar): override runparams.moving_arg
1684         according to the needprotect value of the current paragraph (bug
1685         1739)
1686
1687         * paragraph.C (simpleTeXOnePar): no need to override
1688         runparams.moving_args here
1689
1690 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1691
1692         * vspace.C: fix off-by-one-error, related to fix #1682
1693
1694 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1695
1696         * lengthcommon.C: a more general fix for bug 1682
1697
1698 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1699
1700         * text.C (backspace): fix crash
1701
1702 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1703
1704         * format.[Ch] (getFormatFromFile): new method
1705         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1706
1707 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1708
1709         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1710
1711 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1712
1713         * lyxfunc.C (dispatch): remove the verbose argument
1714         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1715         instead
1716
1717         * kbmap.C (defkey): set the origin of func to KEYBOARD
1718
1719         * MenuBackend.C (MenuItem):
1720         * ToolbarBackend.C (add): set the origin of func to UI
1721
1722         * funcrequest.[Ch]: add origin member, which indicates which part
1723         of LyX requests an action
1724
1725 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1726
1727         * converter.C (move): don't lie in the error message
1728         * converter.h (isReachable, move): document
1729
1730 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1731
1732         * buffer.C: remove unused using lyx::support::atoi
1733         * paragraph_funcs.C: ditto
1734
1735 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1736
1737         * bufferlist.C (exists): use bind and equal_to instead of
1738         compare_memfun
1739         (getBuffer): ditto
1740         * lyxtextclasslist.C (NumberOfClass): ditto
1741
1742         * cursor.C (insert): use for_each instead of explicit for loop
1743
1744         * bufferlist.C (getFileNames): use std::transform and
1745         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1746
1747         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1748         for loop
1749
1750         * buffer.C (changeLanguage): use for_each instead of explicit for
1751         loop
1752         (hasParWithID): implement using getParFromID
1753
1754         * LaTeXFeatures.C: ws change only
1755
1756         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1757         to cleanup a bit.
1758
1759         * BufferView_pimpl.C (trackChanges): use for_each instead of
1760         expilicit for loop
1761
1762 2004-11-04  André Pönitz  <poenitz@gmx.net>
1763
1764         * undo.h:
1765         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1766
1767         * dociterator.C (asDocIterator): use hard assert again.
1768
1769 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1770
1771         * lyxlength.C (asLatexString): rewrite so that it does not use
1772         snprintf anymore
1773
1774 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1775
1776         * text3.C (specialChar, dispatch): make sure cursor moves to the
1777         right after inserting an inset
1778
1779 2004-11-02  José Matos  <jamatos@lyx.org>
1780
1781         * output_docbook.C (docbook):
1782         * paragraph.C (getID):
1783         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1784         garantee that the output is always legal.
1785
1786         * tabular.C (docbook):
1787         * outputprams.[Ch]: remove mixed contents.
1788
1789 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1790
1791         * text2.C (setCounter): prevent endless loop
1792
1793 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1794
1795         * exporter.C (copyFile): use the mover instead of support::copy()
1796         * exporter.C (Export): pass format and latex name to copyFile()
1797         * exporter.h (addExternalFile): document
1798         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1799
1800 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1801
1802         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1803
1804 2004-10-30  José Matos  <jamatos@lyx.org>
1805
1806         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1807         text and no inset or font change. This allows to use CDATA
1808         sections just for the whole paragraph.
1809
1810 2004-10-30  José Matos  <jamatos@lyx.org>
1811
1812         * paragraph.C (getFirstWord): remove unused variable.
1813
1814 2004-10-30  José Matos  <jamatos@lyx.org>
1815
1816         * paragraph.C (getFirstWord): the content should always be escaped
1817         there.
1818         (simpleDocBookOnePar):
1819         * output_docbook.C (makeEnvironment): replace reference to CDATA
1820         to style pass_thru.
1821
1822 2004-10-30  José Matos  <jamatos@lyx.org>
1823
1824         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1825
1826 2004-10-30  José Matos  <jamatos@lyx.org>
1827
1828         * output_docbook.C (makeParagraphs):
1829         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1830         standard paragraph has only a given type of content drop the wrapper.
1831
1832 2004-10-29  José Matos  <jamatos@lyx.org>
1833
1834         * output_docbook.C (makeEnvironment):
1835         * sgml.C (openTag):
1836         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1837
1838 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1839
1840         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1841         (cleanID): sanitize any id.
1842
1843 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1844
1845         * buffer.C, lyxlex_pimpl.C:
1846         * lyxlex_pimpl.C (setFile):
1847         s/getExtFromContents/getFormatFromContents/
1848
1849 2004-10-28  José Matos  <jamatos@lyx.org>
1850
1851         * output_docbook.C (makeEnvironment): move id to broadest possible
1852         scope.
1853
1854         * sgml.C (openTag): apply substitution of <> for all attributes.
1855
1856 2004-10-28  José Matos  <jamatos@lyx.org>
1857
1858         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1859         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1860         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1861
1862         * sgml.[Ch]: new version for open and closeTag for paragraph and
1863         for strings. Now they handle the ids of paragraphs.
1864
1865 2004-10-26  Angus Leeming  <leeming@lyx.org>
1866
1867         * Makefile.am: add mover.[Ch].
1868
1869         * converter.C (convert, move): use the new Movers to move external
1870         files to the temp directory.
1871
1872         * lyx_main.C (init): ensure that the global system_movers data
1873         is initialised.
1874
1875         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1876         preferences file.
1877
1878         * mover.[Ch]: new files, defining a Mover as a utility to move an
1879         external file between directories and, if necessary, manipulate this
1880         file using a helper script.
1881
1882 2004-10-25  José Matos  <jamatos@lyx.org>
1883
1884         * output_docbook.C (makeCommand): merge two if's that tested the
1885         same condition.
1886
1887 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1888
1889         * sgml.C (escapeString): fix warning in a better way
1890
1891 2004-10-25  José Matos  <jamatos@lyx.org>
1892
1893         * sgml.C (escapeString): import the require boosts header file for
1894         tie, and avoid a signed unsigned comparison.
1895
1896 2004-10-25  José Matos  <jamatos@lyx.org>
1897
1898         * sgml.h: add #include <string>
1899
1900 2004-10-25  José Matos  <jamatos@lyx.org>
1901
1902         * sgml.[Ch] (escapeString): new function to escape all the string.
1903
1904 2004-10-24  José Matos  <jamatos@lyx.org>
1905
1906         * paragraph.[Ch] (getFirstWord): new function to get the first
1907         word. Useful for description.
1908         (simpleDocBookOnePar): remove depth argument, add another that
1909         says where to start the paragraph.
1910
1911         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1912         use the new functions to fix cleanly the support for descriptions.
1913
1914 2004-10-24  José Matos  <jamatos@lyx.org>
1915
1916         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1917         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1918         * output_linuxdoc.C (linuxdocParagraphs):
1919         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1920         add buffer as argument.
1921
1922 2004-10-24  José Matos  <jamatos@lyx.org>
1923
1924         * output_docbook.C (makeEnvironment, searchEnvironment): place
1925         CDATA inside paragraphs and fix scope for listitems.
1926
1927 2004-10-24  José Matos  <jamatos@lyx.org>
1928
1929         * output_docbook.C: remove using statement for stack.
1930
1931 2004-10-23  José Matos  <jamatos@lyx.org>
1932
1933         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1934         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1935         docbook. The new scheme is recursive and makes use of iterators, the
1936         same as latex export works.
1937         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1938         directly with the paragraph contents. This code was moved up to
1939         output_docbook.C (docbookParagraphs).
1940         * sgml.C (openTag, closeTag): removed unneeded newlines.
1941         (closeEnvTags) removed.
1942
1943 2004-10-23  André Pönitz  <poenitz@gmx.net>
1944
1945         * undo.C (textUndoOrRedo):
1946         * dociterator.C (asDocIterator): work around crash
1947
1948         * cursor.C (getStatus): replace ASSERT by more verbose error message
1949           and manual correction of the problem. Should increase stability
1950           while providing more sensible information.
1951
1952 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1953
1954         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1955
1956         * bufferlist.C (previous, next): new methods
1957
1958         * lfuns.h:
1959         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1960
1961 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1962
1963         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1964         entities to preamble.
1965
1966 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1967
1968         * messages.C (Pimpl): strip off translation context information
1969
1970 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1971
1972         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1973         the cursor is correct (bug 1694)
1974
1975 2004-10-13  José Matos  <jamatos@lyx.org>
1976
1977         * output_docbook.C (docbookParagraphs): fix closing tags in the
1978         end of the document.
1979
1980 2004-10-09  José Matos  <jamatos@lyx.org>
1981
1982         * buffer.C: format up to 237.
1983         * bufferparams.C (write): use tostr to convert booleans to strings.
1984
1985 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1986
1987         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1988
1989 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1990
1991         * LaTeX.C: implement use of babel language in xindy.
1992
1993 2004-10-05  José Matos  <jamatos@lyx.org>
1994
1995         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1996         Add new translators to help reading and writing the lyx file.
1997
1998 2004-10-05  José Matos  <jamatos@lyx.org>
1999
2000         * ParagraphParameters.C (read):
2001         * text.C (readParToken): replace nexToken by more appropriate lex
2002         methods.
2003
2004 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2005
2006         * LaTeX.C (runMakeIndex):
2007         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2008         (usually 'makeindex') configurable.
2009
2010         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2011         with a variable rather than with a number.
2012
2013 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2014
2015         * output_latex.C (TeXOnePar): make sure font setting is the first
2016         thing that gets output (and the last at the end). Should fix bug
2017         1404.
2018
2019 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2020
2021         * pch.h: use proper signal include
2022
2023         * LaTeX.h: Use preferred calling of Boost.Signal
2024         * buffer.h: ditto
2025
2026 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2027
2028         * pch.h: dont include <boost/function/function0.hpp>
2029
2030         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2031
2032         * paragraph_pimpl.h: remove usage of ShareContainer
2033
2034         * paragraph_pimpl.C: remove initialization of ShareContainer.
2035
2036 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2037
2038         Fix bug #1666
2039
2040         * BufferView.C (putSelectionAt): change the semantics when
2041         backwards == true: now, this just swaps cursor and anchor wrt the
2042         forward case
2043
2044         * BufferView.h (putSelectionAt): add some documentation
2045
2046         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2047         make sure backwardChar is done at least once (to avoid getting
2048         stuck)
2049         (findNextChange): use putSelectionAt in the forward direction
2050         (operator()): use Paragraph::isWord
2051
2052 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2053
2054         * Spacing.C (set): c_str fix
2055
2056 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2057
2058         * lyx_cb.C (Reconfigure): quote the name of configure script in
2059         case it contains spaces
2060
2061 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2062
2063         * client: new dir
2064
2065         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2066         (BOOST_LIBS): use top_buildir when looking for the file
2067
2068 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2069
2070         * pch.h: do not use include boost/format.hpp, multiple symbols
2071                 will result (gcc bug)
2072
2073
2074 2004-08-23  José Matos  <jamatos@lyx.org>
2075
2076         * bufferparams.C (readToken): fix reading of the author field.
2077
2078 2004-08-20  José Matos  <jamatos@lyx.org>
2079
2080         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2081
2082 2004-08-20  José Matos  <jamatos@lyx.org>
2083
2084         * lyxlex.[Ch] (findToken): remove function.
2085
2086         * ParagraphParameters.C (findToken):
2087         * bufferparams.C (findToken): replace call for previous function
2088         with local copy. This local function has one more argument, the
2089         read string argument.
2090
2091 2004-08-16  José Matos  <jamatos@lyx.org>
2092
2093         * ParagraphParameters.C (write):
2094         * Spacing.C (writeFile):
2095         * bufferparams.C (writeLaTeX):
2096         * lyx_cb.C (Reconfigure):
2097         * paragraph.C (write):
2098         * tabular.C (write): remove unnecessary space at end of line.
2099
2100
2101 2004-08-16  José Matos  <jamatos@lyx.org>
2102
2103         * text.C (readParagraph): remove debug message.
2104
2105 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2106
2107         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2108         crash
2109
2110         * output_plaintext.C (asciiParagraph): set depth correctly
2111
2112         * outputparams.h: add member depth
2113
2114         * paragraph_funcs.C (ownerPar): remove.
2115
2116         * text2.C (setCounter): remove first_pit; comment out some
2117         non-working code that uses ownerPar
2118
2119         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2120         uses ownerPar
2121
2122 2004-08-16  José Matos  <jamatos@lyx.org>
2123
2124         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2125         For the same level of importance use the same chanel to report problems.
2126         (read): add code to deal with \begin_body and \end_body.
2127
2128
2129 2004-08-15  José Matos  <jamatos@lyx.org>
2130
2131         * lyxlex.C (getString): fix comment, buffer::readBody is now
2132         buffer:readDocument.
2133
2134         * tex-strings.C (string_papersize): Default -> default,
2135         Custom -> custom, for consistency with other options.
2136
2137 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2138
2139         * pch.h: new file
2140
2141         * Makefile.am: support pch
2142
2143 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2144
2145         * text.C (readParToken): remove the static LyXFont variable and
2146         pass it as a parameter instead. This fixes a nasty bug where an
2147         inset will be inserted with a bad font in some situations
2148         (readParagraph): adapt
2149
2150         * text2.C (setCounter): reduce number of calls to pars_[pit]
2151
2152         * text.C (singleWidth): add an assert, fix a test
2153
2154         * rowpainter.C (paintText): reduce number of calls to singleWidth
2155
2156         * paragraph.C (isHfill):
2157         (isNewline): ws only
2158
2159 2004-08-14  André Pönitz  <poenitz@gmx.net>
2160
2161         * text.C:
2162         * text2.C:
2163         * rowpainter.C:
2164         * lyxtext.h (several functions): use a Paragraph & argument
2165         instead of par_type
2166
2167 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2168
2169         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2170
2171         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2172
2173         * text.C (singleWidth): remove useless test
2174
2175 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2176
2177         * tabular.h: remove bogus comments
2178
2179         * tabular.C (getDescentOfRow):
2180         (isPartOfMultiColumn): add assertions
2181
2182         * lyxlength.C (inPixels): remove #warning
2183
2184 2004-08-14  André Pönitz  <poenitz@gmx.net>
2185
2186         * paragraph.h: inline getChar()
2187
2188         * BufferView.h: remove unused declarations
2189
2190 2004-08-14  José Matos  <jamatos@lyx.org>
2191
2192         * Buffer.[Ch] (readDocument): new name for old readBody.
2193         * Buffer.C: new file format, new keywords: \begin_document,
2194         \begin_header, \begin_body, \end_body.
2195
2196         * bufferparams.C (readToken): replace all calls to lex.nextToken
2197         by lex.next(). Do the same to eatLine except where really needed.
2198
2199         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2200         line when writing to the lyx file.
2201
2202         * output_plaintext.C (asciiParagraph): fix Bibliography style
2203         handling.
2204
2205         * text.C (read): fix end of file handling.
2206
2207 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2208
2209         * MenuBackend.C (Menu::operator[]): new method to access
2210         individual menu items
2211         (Menu::hasFunc): new method. search for an item that corresponds
2212         to a given func
2213         (MenuBackend::specialMenu): new method
2214         (MenuBackend::expand): if a special menu has been set, skip
2215         entries whose func() appears in this menu
2216
2217 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2218
2219         * text3.C: use Debug::DEBUG a bit more
2220
2221         * text.C (leftMargin): try to simplify a tiny bit change var x to
2222         l_margin. Dont output the wide margins always.
2223         (rightMargin): no margin in inner texts
2224
2225         * rowpainter.h (nestMargin): new func
2226         (changebarMargin): new func
2227         (rightMargin): new func
2228
2229         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2230         now functions.
2231         (paintLast): ditto
2232
2233         * factory.C (createInset): modify setDrawFrame
2234
2235         * cursor.C: use Debug::DEBUG a bit more
2236
2237 2004-08-14  André Pönitz  <poenitz@gmx.net>
2238
2239         * coordcache.[Ch]:
2240         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2241         cache for all insets in (at least partially) visible (top-level)
2242         paragraphs.
2243
2244         * BufferView_pimpl.C: reset external coord cache before every update.
2245         This means the coord cache only contains valid entries.
2246
2247 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2248
2249         bug 1096
2250         * BufferView_pimpl.C (getInsetByCode): move function out of class
2251         and change in to a template in anon namespace. Also fix to do what
2252         suits us better.
2253
2254 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2255
2256         bug 1305
2257         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2258         of char
2259         (breakParagraph): rename par to par_offset and use a local
2260         reference. Add code to keep the language over a rebreak.
2261         (breakParagraphConservative): rename par to par_offset, use a
2262         local reference
2263         (mergeParagraph): ditto
2264         (outerHook): ditto
2265         (isFirstInSequence): ditto
2266         (outerFont): rename pit to par_offset
2267
2268         * paragraph.C: ws change
2269         * paragraph.h: ditto
2270         * text3.C: ditto
2271         * text.C: ditto
2272
2273 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2274
2275         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2276         treatment for ']'
2277
2278         * paragraph.C (simpleTeXOnePar): when we have a \item with
2279         optional argument, enclose the argument with curly brackets (in
2280         case it contains a closing square bracket)
2281
2282         * text2.C (editXY):
2283         * text2.C (editXY):
2284         * text3.C (checkInsetHit): constify
2285
2286 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2287
2288         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2289         documents (bug 1629)
2290
2291 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2292
2293         Fix toggling of collapsable insets with the mouse (bug 1558)
2294
2295         * lyxfunc.C (dispatch): adapt to LCursor changes
2296
2297         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2298         make sure that dispatch is not invoked twice
2299
2300         * cursor.C (needsUpdate): new method
2301         (dispatch): return void
2302         (result): new method, to access the DispatchResult of the cursor.
2303
2304 2004-08-13  José Matos  <jamatos@lyx.org>
2305
2306         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2307
2308 2004-08-13  André Pönitz  <poenitz@gmx.net>
2309
2310         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2311
2312         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2313           multiple cells
2314
2315 2004-08-12  André Pönitz  <poenitz@gmx.net>
2316
2317         * text3.C: take out the 'cursor right' form insertInset and only
2318         do it in those places when it is really needed. Fixes crash on
2319         C-m...
2320
2321 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2322
2323         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2324
2325         * BufferView_pimpl.C (setBuffer): initialize the current font of
2326         the underlying LyXText
2327
2328 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2329
2330         * kbsequence.C (print): use UI native formatting for menu
2331         shortcuts
2332
2333         * text.C (insertChar): call Paragraph::insertChar with a font
2334         argument (cosmetic)
2335
2336         * paragraph.C (insertInset, insertChar): the version that takes a
2337         LyXFont argument is now a wrapper around the other one (the
2338         opposite used to be true).
2339
2340         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2341         argument. Font setting is done in Paragraph now.
2342
2343 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2344
2345         * outputparams.h: add new members intitle and lang.
2346
2347         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2348         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2349
2350 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2351
2352         * text3.C (dispatch): remove special handling of button 4 and 5,
2353         it is now taken care of in the frontend code.
2354
2355 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2356
2357         * Spacing.h: add <string> (STLPort compile fix)
2358
2359 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2360
2361         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2362
2363 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2364
2365         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2366         to bool.
2367
2368         * converter.C (showMessage): inherit from unary_function, make
2369         operator() const.
2370
2371         * buffer.C (writeFile): initialize retval
2372
2373         * InsetList.h: rename private variable list to list_
2374         * InsetList.[Ch]: adjust accordingly.
2375
2376 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2377
2378         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2379         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2380         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2381         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2382         * ParagraphParameters.C, LaTeXFeatures.C: replace
2383         "support/std_sstream.h" with <sstream>
2384
2385 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2386
2387         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2388         * lyxsocket.C (LyXServerSocket): ditto
2389         (serverCallback): ditto
2390
2391 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2392
2393         * LaTeXFeatures.C: check release date when loading jurabib.
2394
2395 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2396
2397         * lyxserver.C (startPipe): call register_socket_callback
2398         (endPipe): call unregister_socket_callback
2399
2400 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2401
2402         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2403         (LyXServerSocket): register the callback
2404         (LyXServerSocket): unregister the callback
2405         (fd): delete function
2406         (serverCallback): improve error checking and setup the callbacks.
2407         (dataCallback): change arg to fd.
2408         (writeln): new func (copied fro the client socket) used for server
2409         write to client.
2410         (LyXDataSocket): simplify
2411         (~LyXDataSocket): close ann unregiser callback
2412         (server): delete function
2413         (fd): delete function
2414         (readln): small changes, improve some std::string usage
2415         (writeln): constify a bit
2416
2417 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2418
2419         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2420         Qt frontend
2421
2422 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2423
2424         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2425         after it has been populated
2426
2427 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2428
2429         * text2.C (insertInset): move cursor when inserting inset.
2430
2431 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2432
2433         * kbmap.C (findbindings): a couple of new methods. returns a
2434         container of kb_sequence objects. The real work is done by the
2435         private recursive version
2436         (printbindings): uses findbindings to print out a bracketed list
2437         of bindings (renamed from findbinding).
2438
2439         * MenuBackend.C (binding): use kb_keymap::findbindings
2440
2441         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2442
2443 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2444
2445         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2446
2447 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2448
2449         * paragraph.C (isWord): return true on insets that report
2450         isLetter().
2451
2452         * text.C (getWord): use Paragraph::isWord to decide what is in a
2453         word and what is not; fix bug 1609.
2454
2455 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2456
2457         * tex-strings.C: add "none" to string_paperpackages[], fixes
2458         off-by-one-error in the paperpackage selection.
2459
2460         * lyxlex.[Ch]:
2461         * tex-strings.[Ch]: char const * string[n]
2462         -> char const * const string[]
2463
2464 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2465
2466         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2467         command, return early.
2468
2469 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2470
2471         * debug.h: add DEBUG to enum and fix size of ANY.
2472
2473         * debug.C: add support for Debug::DEBUG
2474         (showTags): cast errorTags.level to unsigned int
2475
2476         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2477         (redoCurrentBuffer): ditto
2478         (updateScrollbar): ditto
2479         * cursor.C (dispatch): ditto
2480         * text2.C (setLayout): ditto
2481         (setFont): ditto
2482         (updateCounters): ditto
2483         (editXY): ditto
2484         (deleteEmptyParagraphMechanism): ditto
2485
2486 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2487
2488         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2489         annotations to cleanup the Makefile slightly.
2490
2491 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2492
2493         * lyxrc.C: do not set user_email to a default value but use empty
2494         instead. The entry used to be translated, which does not work
2495         since at the point where lyxrc is constructed there is no
2496         translation service available
2497
2498         * messages.C (getLocaleDir): remove and use directly
2499         lyx_localedir() instead
2500
2501 2004-06-02  Angus Leeming  <leeming@lyx.org>
2502
2503         Fix crash caused by dereferencing null pointer 'exportdata' in
2504         OutputParams by creating a new ExportData variable on the heap,
2505         storing it in a boost::shared_ptr.
2506         The crash was triggered when generating an Instant Preview
2507         of an external inset.
2508
2509         * Makefile.am: add outputparams.C
2510
2511         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2512         (c-tor): allocate memory to it.
2513
2514         * exporter.C (c-tor): associated changes.
2515
2516 2004-06-01  Angus Leeming  <leeming@lyx.org>
2517
2518         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2519         contains data before calling isInset(0). (Bug 1513.)
2520
2521 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2522
2523         * exporter.C (checkOverwrite): new method
2524         * exporter.C (copyFile): new method
2525         * exporter.C (Export): copy referenced files to the document dir
2526         * exporter.[Ch]: new class ExportedFile
2527         * exporter.[Ch]: new class ExportData. Contains currently the
2528         names of referenced external files
2529         * outputparams.h: add exportdata member.
2530
2531 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2532
2533         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2534         version.C-tmp
2535
2536 2004-05-19  Angus Leeming  <leeming@lyx.org>
2537
2538         * LaTeXFeatures.C:
2539         * ToolbarBackend.C:
2540         * bufferparams.C:
2541         * lyxfunc.C: small changes due to the introduction of namespace
2542         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2543
2544 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2545
2546         * text3.C (dispatch): supress update when only moving the cursor
2547         * cursor.C (selHandle): remove commented code
2548
2549 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2550
2551         * paragraph.C (startTeXParParams): correct column count
2552         * CutAndPaste.C (pasteSelection): remove const_cast
2553         * output_docbook.C (docbookParagraphs): remove const_cast
2554         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2555         const_cast and return ParagraphList::const_iterator
2556         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2557         * output_plaintext.C (writeFileAscii): remove const_cast
2558         * paragraph.[Ch] (simpleTeXOnePar): make const
2559         * paragraph_funcs.C (outerPar): use const iterators
2560         * paragraph_pimpl.C (validate): use const iterators
2561         * text.C (setHeightOfRow): use const iterators
2562
2563 2004-05-17  Angus Leeming  <leeming@lyx.org>
2564
2565         * lfuns.h:
2566         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2567
2568         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2569         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2570         if the citation engine has changed.
2571
2572 2004-05-14  José Matos  <jamatos@lyx.org>
2573
2574         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2575         if the textclass does not provide it. Have it different for sgml and
2576         xml.
2577         support the language of document.
2578         * output_docbook.C (docbookParagraphs):
2579         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2580         first anchor as the id of the paragraph, remove special case code.
2581         * sgml.C (escapeChar): escape only < & >.
2582
2583 2004-05-14  Angus Leeming  <leeming@lyx.org>
2584
2585         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2586         dependencies on src/frontends/controllers/biblio.h. Define a
2587         CiteEngine_enum wrapper class to enable the enum to be forward
2588         declared.
2589
2590 2004-05-12  Angus Leeming  <leeming@lyx.org>
2591
2592         * buffer.C: up LYX_FORMAT to 234.
2593         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2594         use_numerical_citations with a single biblio::CiteEngine cite_engine
2595         variable.
2596         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2597
2598 2004-05-13  José Matos  <jamatos@lyx.org>
2599
2600         * converter.h:
2601         * converter.C (Converter, readFlags): add xml member.
2602         * outputparams.h: add XML flavor.
2603         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2604
2605 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2606
2607         * lyxfunc.C (dispatch):
2608         (getStatus): fix handling of LFUN_SEQUENCE
2609
2610 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2611
2612         * debug.C (showLevel): do not forget the end-of-line marker
2613
2614 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2615
2616         * kbmap.C (read): do not stop parsing a bind file when an error
2617         occurs (bug 1575)
2618
2619 2004-04-29  Angus Leeming  <leeming@lyx.org>
2620
2621         * cursor.C:
2622         * factory.C:
2623         * pariterator.C:
2624         * text2.C: wrap a bunch of #warning statements
2625         inside #ifdef WITH_WARNINGS blocks.
2626
2627 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2628
2629         * buffer.C: increment format to 233.
2630
2631 2004-04-28  Angus Leeming  <leeming@lyx.org>
2632
2633         * BufferView_pimpl.C:
2634         * lyxfunc.C:
2635         * text3.C:
2636         s/updateToolbar()/updateToolbars()/
2637         s/Toolbar.h/Toolbars.h/
2638
2639 2004-04-28  Angus Leeming  <leeming@lyx.org>
2640
2641         * BufferView.[Ch] (c-tor):
2642         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2643         No longer passes these data to the WorkArea generator.
2644
2645 2004-04-28  Angus Leeming  <leeming@lyx.org>
2646
2647         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2648
2649 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2650
2651         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2652
2653 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2654
2655         * output_latex.C (TeXEnvironment): make sure that there is a line
2656         break before \end{foo} for the last paragraph of a document
2657         (TeXOnePar): if the paragraph is at the end of the document (or
2658         inset) and the language has to be reset, then make sure that the
2659         line break is _before_ the language command, not after (fixes bug
2660         1225); also make sure that the language reset command is the first
2661         thing after the paragraph (to ensure proper nesting of
2662         environments and thus fix bug 1404)
2663
2664 2004-04-21  John Levon  <levon@movementarian.org>
2665
2666         * ToolbarBackend.h:
2667         * ToolbarBackend.C: make "name" be a programmatic name
2668         and a gui_name field.
2669
2670         * lyxfunc.C: display the minibuffer on M-x
2671
2672 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2673
2674         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2675         (bug 1526)
2676
2677 2004-04-19  Angus Leeming  <leeming@lyx.org>
2678
2679         * BufferView_pimpl.C (setBuffer): changed preview interface.
2680
2681         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2682         possible values.
2683
2684 2004-04-19  John Levon  <levon@movementarian.org>
2685
2686         * BufferView_pimpl.C:
2687         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2688
2689 2004-04-05  Angus Leeming  <leeming@lyx.org>
2690
2691         * text.C (redoParagraphs): add call to updateCounters(), thereby
2692         fixing the missing "Figure #:" label from the caption of a
2693         figure float.
2694
2695 2004-04-13  Angus Leeming  <leeming@lyx.org>
2696
2697         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2698         cursor is clicked out of an inset.
2699
2700 2004-04-13  Angus Leeming  <leeming@lyx.org>
2701
2702         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2703         than an InsetOld one.
2704
2705 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2706
2707         * format.[Ch]: add editor to Format
2708         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2709         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2710
2711 2004-04-08  André Pönitz  <poenitz@gmx.net>
2712
2713         * metricsinfo.h: remove PainterInfo::width member
2714
2715 2004-04-08  Angus Leeming  <leeming@lyx.org>
2716
2717         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2718         "\providecommand" rather than "\newcommand", thereby preventing
2719         clashes with packages that define "\boldsymbol" themselves.
2720         Eg, beamer.
2721
2722 2004-04-08  Angus Leeming  <leeming@lyx.org>
2723
2724         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2725         thereby squashing an unnecessary warning.
2726
2727 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2728
2729         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2730         setBuffer()
2731
2732 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2733
2734         * BufferView.C (setCursor): call redoParagraph (some insets could
2735         have been opened)
2736         (putSelectionAt): remove the 'double update' trick
2737
2738         * BufferView_pimpl.C (fitCursor): call refreshPar
2739         (workAreaDispatch): remove an uneeded update call
2740         (dispatch): remove some manual update calls
2741
2742         * cursor.[Ch]: remove cached_y_, updatePos
2743         (selHandle): set noUpdate when appropriate
2744
2745         * lyxfunc.C (dispatch): track if we need an update
2746
2747         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2748
2749         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2750         (paintSelection): cheap optimization, do not call cursorX when not
2751         needed
2752         (paintPars): change signature
2753         (refreshPar): add
2754         (paintText): adjust
2755         (paintTextInset): adjust
2756
2757         * text.C: adjust
2758
2759 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2760
2761         * lengthcommon.C: compilation fix: remove explicit array size from
2762         unit_name[] and friends
2763
2764 2004-04-05  Angus Leeming  <leeming@lyx.org>
2765
2766         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2767
2768         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2769         present only for the preferences dialog.
2770         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2771
2772 2004-04-05  Angus Leeming  <leeming@lyx.org>
2773
2774         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2775         to enable the frontends to export changes to lyxrc correctly.
2776
2777         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2778
2779 2004-04-07  André Pönitz  <poenitz@gmx.net>
2780
2781         * cursor.[Ch] (selClear, adjust): remove math
2782
2783         * cursor_slice.C: more agressive assert
2784
2785         * lyxfunc.C:
2786         * BufferView_pimpl.C: rework mouse event dispatch
2787
2788         * dociterator.C:
2789         * paragraph.C:
2790         * text2.C:
2791         * text3.C: adjust
2792
2793 2004-04-05  André Pönitz  <poenitz@gmx.net>
2794
2795         * cursor.[Ch] (valign, halign...): remove unneeded functions
2796
2797 2004-04-05  Angus Leeming  <leeming@lyx.org>
2798
2799         * lyxlength.[Ch] (unit_name et al.): const-correct.
2800
2801 2004-04-05  Angus Leeming  <leeming@lyx.org>
2802
2803         * BufferView_pimpl.C:
2804         * buffer.C:
2805         * counters.C:
2806         * cursor.C:
2807         * lyxfunc.C
2808         * paragraph.C:
2809         * pariterator.C:
2810         * text.C:
2811         * text2.C:
2812         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2813
2814 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2815
2816         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2817
2818 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2819
2820         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2821         * BufferView_pimpl.[Ch] (getStatus)
2822         * BufferView.[Ch] (getStatus): add
2823         * lyxfunc.C (getStatus): move lfuns handled in
2824         BufferView::dispatch to te function above
2825         * Cursor.C (setSelection): set selection() = true
2826
2827 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2828
2829         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2830
2831 2004-03-31  Angus Leeming  <leeming@lyx.org>
2832
2833         * lyxfunc.C (dispatch): Fall through to the generic
2834         Dialogs::show("preamble").
2835
2836 2004-03-31  Angus Leeming  <leeming@lyx.org>
2837
2838         * lyxfunc.C (dispatch): Fall through to the generic
2839         Dialogs::show("spellchecker").
2840
2841 2004-03-31  Angus Leeming  <leeming@lyx.org>
2842
2843         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2844         preferences dialog.
2845
2846 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2847
2848         * BufferView.C
2849         * cursor.[Ch]
2850         * dociterator.[Ch]:
2851         * insetiterator.[Ch]:
2852         * lyxfind.C:
2853         * lyxfunc.C:
2854         * pariterator.[Ch]:
2855         * text2.C:
2856         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2857
2858 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2859
2860         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2861         insets where we are putting the cursor.
2862
2863 2004-03-31  Angus Leeming  <leeming@lyx.org>
2864
2865         * lfuns.h:
2866         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2867
2868         * lyxrc.[Ch] (read, write): overloaded member functions taking
2869         a std::[io]stream arguments.
2870
2871         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2872
2873 2004-03-31  Angus Leeming  <leeming@lyx.org>
2874
2875         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2876         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2877
2878         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2879         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2880
2881 2004-03-31  Angus Leeming  <leeming@lyx.org>
2882
2883         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2884         the LFUN_ALL_INSETS_TOGGLE code.
2885
2886 2004-03-30  Angus Leeming  <leeming@lyx.org>
2887
2888         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2889         has died. Fall through to the generic Dialogs::show("document").
2890
2891 2004-03-30  Angus Leeming  <leeming@lyx.org>
2892
2893         * lfuns.h:
2894         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2895         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2896
2897         * lyxfunc.C (getStatus, dispatch): define the actions for these
2898         lfuns. Little more than a cut and pste job from ControlDocument.C
2899
2900         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2901
2902 2004-03-30  Angus Leeming  <leeming@lyx.org>
2903
2904         * lfuns.h:
2905         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2906         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2907
2908         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2909         open/closed state of ollapsable insets. Usage:
2910
2911         all-inset-toggle <state> <name>, where
2912         <state> == "open" || "closed" || "toggle" and
2913         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2914
2915         * lyxtext.h, text2.C (toggleInset): removed.
2916
2917         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2918         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2919         now passes LFUN_INSET_TOGGLE to the found inset.
2920
2921         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2922         is now invoked as "all-insets-toggle toggle branch".
2923
2924 2004-03-30  Angus Leeming  <leeming@lyx.org>
2925
2926         * dociterator.C:
2927         * insetiterator.C:
2928         * pariterator.[Ch]: added/corrected header blurb.
2929
2930 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2931
2932         * dociterator.[Ch]: add an inset_ member
2933         (backwardPos): implemented
2934         (backwardPos, forwardPos): use inset_ when the stack is empty.
2935         (doc_iterator_begin, doc_iterator_end): implemented
2936         * pariterator.[Ch]: adjust, add begin, end
2937         * insetiterator.[Ch]: adjust, add begin, end
2938         * cursor.C:
2939         * document.C:
2940         * BufferView.C:
2941         * BufferView_pimpl.C:
2942         * CutAndPaste.C: adjust
2943
2944 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2945
2946         * buffer.C: increment file format to 232.
2947         * LaTeXFeatures.C: add bibtopic package.
2948         * bufferparams.[Ch]: param \use_bibtopic.
2949
2950         * lyxrc.[Ch]: add lyxrc bibtex_command
2951         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2952
2953         * buffer.C: increment file format to 231.
2954
2955 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2956
2957         * dociterator.C: implement forwardPar
2958         * iterators.[Ch]: remove, replaced by
2959         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2960         * BufferView.C:
2961         * BufferView_pimpl.C:
2962         * CutAndPaste.C:
2963         * buffer.C:
2964         * bufferview_funcs.C:
2965         * cursor.C:
2966         * lyxfind.C
2967         * lyxfunc.C
2968         * paragraph_funcs.C
2969         * toc.C:
2970         * Makefile.am: adjust
2971
2972 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2973
2974         * CutAndPaste.C (pasteSelection): fix 2 crashes
2975         (eraseSelection): fix a crash
2976         * paragraph_funcs.C: remove a warning
2977
2978 2004-03-28  Angus Leeming  <leeming@lyx.org>
2979
2980         * lfuns.h:
2981         * LyXAction.C (init): new LFUN_PRINT.
2982
2983         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2984
2985 2004-03-27  Angus Leeming  <leeming@lyx.org>
2986
2987         * lfuns.h:
2988         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2989
2990         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2991
2992 2004-03-27  Angus Leeming  <leeming@lyx.org>
2993
2994         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2995         insetlist always contains non-null pointers to insets.
2996
2997 2004-03-26  Angus Leeming  <leeming@lyx.org>
2998
2999         * src/BufferView_pimpl.C:
3000         * src/CutAndPaste.C:
3001         * src/buffer.C:
3002         * src/iterators.C:
3003         * src/output_plaintext.C:
3004         * src/outputparams.h:
3005         * src/paragraph_funcs.C:
3006         * src/rowpainter.C:
3007         * src/text.C:
3008         * src/text2.C:
3009         * src/frontends/controllers/ControlErrorList.C:
3010         * src/frontends/gtk/FileDialogPrivate.C:
3011         * src/frontends/gtk/GPainter.C:
3012         * src/frontends/gtk/GToolbar.C:
3013         * src/frontends/qt2/QRef.C:
3014         * src/mathed/math_scriptinset.C: squash compiler warnings.
3015
3016 2004-03-26  Angus Leeming  <leeming@lyx.org>
3017
3018         * ispell.C (LaunchIspell::start):
3019         * lyx_cb.C (AutoSaveBuffer::start):
3020         invoke run(DontWait) rather than runNonBlocking().
3021
3022 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3023
3024         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3025
3026 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3027
3028         * kbsequence.C (print): adjust
3029
3030         * kbmap.C (printKeySym): rename and change signature
3031         (printKey): use LyXKeySym::print()
3032
3033 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3034
3035         * undo.C: add using std::advance to compile for stlport
3036
3037 2004-03-24  Angus Leeming  <leeming@lyx.org>
3038
3039         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3040         it leads to a crash when no buffer is present.
3041
3042 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3043             Martin Vermeer  <martin.vermeer@hut.fi>
3044
3045         * lyxfunc.C (dispatch):
3046         * bufferparams.C (readToken): use the new LColor::setColor
3047
3048         * LColor.[Ch] (setColor): new version that takes two strings as
3049         argument and creates a new color entry if necessary
3050
3051 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3052
3053         * buffer.C (makeLaTeXFile): if the main latex file that is
3054         processed is usually a subdocument of some master, then pretend
3055         for a while that it is actually the master
3056
3057 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3058
3059         * buffer.C (getLabelList):
3060         (getBibkeyList): use getMasterBuffer()
3061         (getMasterBuffer): new method. Returns the main document in the
3062         case where one is using included documents.
3063
3064 2004-03-25  André Pönitz  <poenitz@gmx.net>
3065
3066         * Makefile.am:
3067         * iterators.[Ch]:
3068         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3069
3070         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3071
3072         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3073         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3074
3075         * ParameterStruct.h: merge with ParagraphParameters
3076
3077         * lyxtext.h: remove LyXText::parOffset() and getPar()
3078
3079         * text3.C: Remove all 'manual' update calls. We do now one per user
3080         interaction which is completely sufficient.
3081
3082         * Bidi.C:
3083         * BufferView.[Ch]:
3084         * BufferView_pimpl.C:
3085         * FontIterator.[Ch]:
3086         * MenuBackend.C:
3087         * ParagraphParameters.[Ch]:
3088         * buffer.C:
3089         * buffer.h:
3090         * bufferlist.C:
3091         * cursor.[Ch]:
3092         * cursor_slice.[Ch]:
3093         * dociterator.[Ch]:
3094         * errorlist.[Ch]:
3095         * factory.C:
3096         * lfuns.h:
3097         * lyxfind.C:
3098         * lyxfunc.C:
3099         * output_docbook.[Ch]:
3100         * output_latex.[Ch]:
3101         * output_linuxdoc.[Ch]:
3102         * output_plaintext.[Ch]:
3103         * paragraph.[Ch]:
3104         * paragraph_funcs.[Ch]:
3105         * paragraph_pimpl.[Ch]:
3106         * rowpainter.C:
3107         * tabular.[Ch]:
3108         * text.C:
3109         * text2.C:
3110         * toc.C:
3111         * undo.[Ch]: adjust
3112
3113         * frontends/controllers/ControlDocument.C:
3114         * frontends/controllers/ControlErrorList.C:
3115         * frontends/controllers/ControlSpellchecker.C:
3116         * insets/inset.C:
3117         * insets/inset.h:
3118         * insets/insetbase.h:
3119         * insets/insetbibitem.C:
3120         * insets/insetbox.C:
3121         * insets/insetbranch.C:
3122         * insets/insetcaption.C:
3123         * insets/insetcharstyle.C:
3124         * insets/insetcharstyle.h:
3125         * insets/insetcollapsable.C:
3126         * insets/insetcollapsable.h:
3127         * insets/insetert.C:
3128         * insets/insetfloat.C:
3129         * insets/insetfoot.C:
3130         * insets/insetmarginal.C:
3131         * insets/insetnote.C:
3132         * insets/insetoptarg.C:
3133         * insets/insettabular.C:
3134         * insets/insettext.C:
3135         * insets/insettext.h:
3136         * insets/insetwrap.C:
3137         * mathed/math_mboxinset.C:
3138         * mathed/math_nestinset.C:
3139         * mathed/math_scriptinset.C:
3140         * mathed/math_scriptinset.h:
3141         * support/types.h:
3142
3143 2004-03-24  Angus Leeming  <leeming@lyx.org>
3144
3145         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3146         deal with any child processes that have finished but are waiting to
3147         communicate this fact to the rest of LyX.
3148
3149 2004-03-24  Angus Leeming  <leeming@lyx.org>
3150
3151         64-bit compile fixes.
3152
3153         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3154         (c-tor): pass lyx::pos_types rather than ints.
3155
3156         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3157         lyx::pos_type.
3158
3159         * text.C (Delete): compile fix.
3160         (getPar): ensure that function declaration is the same as that in
3161         the header file.
3162
3163 2004-03-23  Angus Leeming  <leeming@lyx.org>
3164
3165         * ispell.C (LaunchIspell):
3166         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3167         a boost::shred_ptr rather than a std::auto_ptr.
3168
3169 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3170
3171         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3172         handle LFUN_FILE_INSERT_*
3173
3174         * lyxrc.C (setDefaults, getDescription, output, read):
3175         * lyxrc.h: remove ps_command
3176
3177 2004-03-22  Angus Leeming  <leeming@lyx.org>
3178
3179         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3180         Ensure that error_handler is processed once only and that all data
3181         is saved before attempting to output any warning messages.
3182
3183         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3184
3185 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3186
3187         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3188
3189 2004-03-19  André Pönitz  <poenitz@gmx.net>
3190
3191         * cursor.[Ch] (reset): take main text inset as argument
3192
3193         * BufferView: adjust
3194         * BufferView_pimpl.C: adjust
3195
3196         * paragraph.[Ch]: fix completely broken operator=()
3197
3198 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3199
3200         * LColor.C (getFromLyXName): make sure that the color name is used
3201         as lowercase.
3202
3203 2004-03-17  Angus Leeming  <leeming@lyx.org>
3204
3205         * lfuns.h:
3206         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3207
3208         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3209         dialog and to kill a forked process.
3210
3211 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3212
3213         * text2.C (setCursorFromCoordinates): fix font problem
3214
3215 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3216
3217         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3218         bogus "rebuild cursor" code
3219
3220 2004-03-11  André Pönitz  <poenitz@gmx.net>
3221
3222         * buffer.[Ch]: use InsetText instead of LyXText as container for
3223         the main lyx text.
3224
3225         * dociterator.[Ch]: drop the BufferView * member which is not needed
3226         anymore after the change to buffer.C
3227
3228         * paragraph_funcs.C:
3229         * text.C:
3230         * text2.C:
3231         * BufferView.[Ch]:
3232         * BufferView_pimpl.[Ch]:
3233         * cursor.[Ch]:
3234         * cursor_slice.[Ch]: adjust
3235
3236         * text3.C: fix bug in mathDispatch
3237
3238 2004-03-08  André Pönitz  <poenitz@gmx.net>
3239
3240         * undo.[Ch]: use 'StableDocumentIterator' as base for
3241         the Undo struct.
3242
3243 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3244
3245         * LaTeXFeatures.C:
3246         * bufferparams.[Ch]: add jurabib support and param.
3247
3248         * LaTeX.C: add FIXME/comment.
3249
3250 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3251
3252         * buffer.C: increment file format to 230.
3253
3254 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3255
3256         * cursor.C (dispatch): avoid infinite loops
3257
3258 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3259
3260         * rowpainter.C (paintSelection): fix x coordinates
3261
3262 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3263
3264         * text.C (rowBreakPoint): fix breaking before displayed insets
3265
3266 2004-03-01  André Pönitz  <poenitz@gmx.net>
3267
3268         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3269
3270         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3271
3272         * Makefile.am:
3273         * BufferView.C:
3274         * BufferView_pimpl.C:
3275         * buffer.C:
3276         * lyxfind.C:
3277         * lyxfunc.C:
3278         * text.C:
3279         * text2.C:
3280         * text3.C: adjust
3281
3282 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3283
3284         * lyxtext.h:
3285         * text.C:
3286         * text2.C:
3287         * rowpainter.C:
3288         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3289         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3290
3291 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3292
3293         * Bidi.[Ch] (computeTables): const correctness
3294         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3295         fill_hfill, fill_label_hfill and x from Row
3296         * lyxtext.h: prepareToPrint returns a RowMetrics
3297         * rowPainter.C: adjust
3298         * text.C (prepareToPrint): use width, not textWidth. adjust
3299         (redoParagraphInternal, cursorX): adjust
3300         * text2.C (getColumnNearX): adjust
3301         (init): put a default value to the top LyXText::width
3302
3303 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3304
3305         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3306
3307 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3308
3309         * lyxtext.h: add FontIterator class
3310
3311         * text.C (FontIterator, operator*, operator->, operator++): add
3312         (rowBreakPoint, setRowWidth): adjust (fixing a
3313         rebreaking bug)
3314
3315 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3316
3317         * BufferView_pimpl.C (workAreaDispatch): allow also
3318         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3319
3320 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3321
3322         * text.C (rowBreakPoint): fix a bug showing with very large insets
3323
3324 2004-02-25  André Pönitz  <poenitz@gmx.net>
3325
3326         * text3.C:
3327         * cursor.[Ch]: move some mathed specific code to mathed
3328
3329 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3330
3331         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3332         use_tempdir in preferences
3333         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3334         tempfile creation
3335         * lyx_main.C: ensure that tempdir is valid
3336         * lyxlex.h: correct typo
3337         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3338         * paragraph.[Ch] (isMultiLingual): make const
3339         * cursor.[Ch] (openable): make const
3340
3341 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3342
3343         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3344
3345 2004-02-20  André Pönitz  <poenitz@gmx.net>
3346
3347         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3348
3349         * cursor.[Ch]: prepare for localized getStatus()
3350
3351         * lyxtext.h:
3352         * tabular.C:
3353         * text.C:
3354         * text2.C:
3355         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3356
3357 2004-02-20  André Pönitz  <poenitz@gmx.net>
3358
3359         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3360
3361 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3362
3363         * text2.C (setCursorFromCoordinates): switch to absolute coords
3364         (cursorUp): adjust
3365         (cursorDown): adjust
3366         * text3.C (dispatch): adjust
3367
3368 2004-02-16  André Pönitz  <poenitz@gmx.net>
3369
3370         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3371           insets/ChangeLog)
3372
3373         * cursor_slice.[Ch]: remove unneeded acessor function
3374
3375         * lyxtext.h: rename rtl() to isRTL()
3376
3377         * rowpainter.C:
3378         * tabular.C:
3379         * text.C:
3380         * text2.C:
3381         * text3.C: adjust
3382
3383 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3384
3385         * rowpainter.C (paintSelection): coord fix
3386
3387 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3388
3389         * Spacing.C: compile fix
3390
3391 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3392
3393         * cursor.C (dispatch): restore current_ before returning
3394
3395 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3396
3397         * text2.C (cursorUp, cursorDown): fix coords
3398         (moveUp): fix crash
3399
3400 2004-02-12  André Pönitz  <poenitz@gmx.net>
3401
3402         * lyxtext.h:
3403         * text.C:
3404         * text2.C:
3405         * text3.C: add LCursor & parameter to most cursor movement functions
3406           remove usage of LyXText::cursorRow() and cursorPar()
3407
3408         * cursor.[Ch]: add textRow() needed members
3409
3410         * BufferView.C:
3411         * BufferView_pimpl.C:
3412         * paragraph.[Ch]:
3413         * BufferView.C:
3414         * BufferView_pimpl.C: adjust
3415
3416 2004-02-11  André Pönitz  <poenitz@gmx.net>
3417
3418         * lyxfunc.C:
3419         * BufferView.[Ch]:
3420         * BufferView_pimpl.C: shift undo/redo handling
3421
3422         * cursor.[Ch]: fix mathed crash
3423
3424         * lyxfind.C:
3425         * lyxtext.h: move selectionAsText to LCursor
3426
3427         * output_latex.C:
3428         * paragraph.C:
3429         * text.C:
3430         * text2.C:
3431         * text3.C: adjust
3432
3433         * rowpainter.C: fix excessive drawing
3434
3435 2004-02-06  André Pönitz  <poenitz@gmx.net>
3436
3437         * BufferView.[Ch]:
3438         * BufferView_pimpl.[Ch]:
3439         * text3.C: move some text specific LFUN handling
3440
3441 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3442
3443         * text3.C (checkInsetHit): adjust coords
3444         * text2.C (getColumnNearX): adjust coords
3445         (edit): adjust coords
3446         * text.C (getRowNearY): add two asserts
3447
3448 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3449
3450         * converter.C:
3451         * format.C: add using std::distance to compile on gcc 2.95/stlport
3452
3453 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3454
3455         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3456
3457 2004-02-04  André Pönitz  <poenitz@gmx.net>
3458
3459         * BufferView.[Ch] (insertInset):
3460         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3461
3462         * text2.C:
3463         * text3.C: adjust
3464
3465 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3466
3467         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3468         on the default clause of the switch
3469         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3470         wasn't catched by LCursor::dispatch
3471
3472 2004-02-03  André Pönitz  <poenitz@gmx.net>
3473
3474         * BufferView.C:
3475         * cursor.[Ch]: some additional asserts
3476
3477         * undo.[Ch]: remove LyXText dependency in interface
3478
3479         * lyxfunc.C: adjust
3480
3481         * lyxtext.h (firstPar, lastPar): remove dead functions
3482
3483         * text.C:
3484         * text2.C:
3485         * text3.C:
3486         * paragraph.[Ch]: adjust
3487
3488 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3489
3490         * lyxfind.C (find): fix argument order in call to ::find
3491
3492 2004-02-02  André Pönitz  <poenitz@gmx.net>
3493
3494         * cursor.[Ch]: remove direct access to anchor
3495
3496         * text.C: remove findText() hack
3497
3498 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3499
3500         * iterators.[Ch] (lockPath): remove in favour of...
3501         * BufferView.[Ch] (setCursor): this addition
3502         * BufferView.C (putSelectionAt): adjust
3503         * undo.C (performUndoOrRedo): adjust
3504         * lyxfunc.C (dispatch): adjust
3505
3506 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3507
3508         * iterators.C (lockPath): add a missing slice
3509         * undo.C (performUndoOrRedo): remove redundant positioning code
3510
3511 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3512
3513         * vc-backend.C (scanMaster): ";" -> ';'
3514
3515 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3516
3517         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3518         std::binary_function
3519
3520         * lyxtextclass.C (compare_name): rename to...
3521         (LayoutNamesEqual): ...this
3522
3523         * lyxlex_pimpl.C (compare_tags): inherit from
3524         std::binary_function, put back into anon namespace
3525
3526         * lyxfind.C (MatchString): inherig from std::binary_function
3527         (findChange): use empty() istead of !size()
3528
3529         * format.C (FormatNamesEqual): new functor
3530         (getFormat): use it
3531         (getNumber): use it
3532         (add): use it
3533         (erase): use it
3534         (setViewer): use it
3535
3536         * converter.C (compare_Converter): rename to...
3537         (ConverterEqual): ...this, and fixup a bit.
3538         (getConverter): use it, and make function const
3539         (getNumber): use it, and make function const
3540         (add): use it
3541         (erase): use it:
3542
3543         * bufferlist.C: add using boost::bind
3544
3545         * MenuBackend.C (MenuNamesEqual): new functor
3546         (hasMenu): use it, and make function const
3547         (hasSubmenu): use nested bind to get rid of compare_memfun.
3548
3549 2004-01-30  André Pönitz  <poenitz@gmx.net>
3550
3551         * BufferView_pimpl.C:
3552         * cursor.C:
3553         * cursor.h:
3554         * cursor_slice.[Ch]:
3555         * lyxfunc.C:
3556         * lyxtext.h:
3557         * paragraph_funcs.C:
3558         * paragraph_funcs.h:
3559         * rowpainter.C:
3560         * text.C:
3561         * text2.C:
3562         * text3.C: move some of the edit(x,y) handling to the insets
3563         some coordinate changes.
3564
3565 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3566
3567         * text.C: add using statements for std::advance and std::distance
3568
3569         * paragraph.C: add using statement for std::distance
3570
3571         * lyxfind.C: add using statement for std::advance
3572
3573         * cursor.C (region): remove std:: from swap
3574         (openable): use nucleus in stead of operator->
3575
3576         * BufferView.C: add using statements for std::distance and std::swap
3577
3578 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3579
3580         * iterators.C: Remove the pimple, move the needed structures to
3581         the header file. Create accessor for the positions stack.
3582         (asPosIterator): remove function
3583
3584         * PosIterator.C (PosIterator): move constructors to top of file
3585         (PosIterator): reimplement the constructor taking a ParIterator in
3586         terms of setFrom.
3587         (setFrom): new function
3588         (operator!=): inline it
3589
3590 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3591
3592         * lyxfind.C (replaceAll): use std::advance
3593
3594         * iterators.h: inherit from std::iterator.
3595
3596         * PosIterator.C (advance, distance): remove
3597         * PosIterator.h: interit from std::iterator.
3598
3599 2004-01-26  André Pönitz  <poenitz@gmx.net>
3600
3601         * BufferView.[Ch]:
3602         * BufferView_pimpl.[Ch]:
3603         * InsetList.[Ch]:
3604         * PosIterator.[Ch]:
3605         * buffer.h:
3606         * bufferview_funcs.C:
3607         * cursor.[Ch]:
3608         * cursor_slice.h:
3609         * factory.[Ch]:
3610         * iterators.[Ch]:
3611         * lyxfind.C:
3612         * lyxfunc.C:
3613         * lyxtext.h:
3614         * output_docbook.C:
3615         * output_latex.C:
3616         * output_linuxdoc.C:
3617         * output_plaintext.C:
3618         * paragraph.[Ch]:
3619         * paragraph_funcs.[Ch]:
3620         * paragraph_pimpl.[Ch]:
3621         * rowpainter.C:
3622         * tabular.C:
3623         * tabular.h:
3624         * text.C:
3625         * text2.C:
3626         * text3.C: more IU:  dumps most of the rest of the mathcursor
3627     implementation into cursor.[Ch]; "globalize" a bit of it.
3628
3629 2004-01-25  Angus Leeming  <leeming@lyx.org>
3630
3631         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3632
3633 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3634
3635         * LaTeXFeatures.h: add nice_ and nice() const
3636         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3637
3638 2004-01-20  André Pönitz  <poenitz@gmx.net>
3639
3640         * BufferView.[Ch]:
3641         * BufferView_pimpl.C:
3642         * PosIterator.C:
3643         * bufferview_funcs.C:
3644         * cursor.[Ch]:
3645         * cursor_slice.[Ch]:
3646         * factory.C:
3647         * iterators.C:
3648         * lyx_cb.C:
3649         * lyxfind.C:
3650         * lyxfunc.C:
3651         * lyxtext.h:
3652         * rowpainter.C:
3653         * text.C:
3654         * text2.C:
3655         * text3.C:
3656         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3657           LCursor and mathcursor parts to LCursor and InsetBase.
3658
3659 2004-01-15  André Pönitz  <poenitz@gmx.net>
3660
3661         * cursor_slice.[Ch]: add a few covienience functions
3662
3663         * funcrequest.[Ch]: remove BufferView * member
3664
3665         * BufferView_pimpl.C:
3666         * cursor.C:
3667         * factory.[Ch]:
3668         * lyxfind.[Ch]:
3669         * lyxfunc.C:
3670         * lyxtext.h:
3671         * text3.C:
3672         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3673
3674 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3675
3676         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3677         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3678
3679 2004-01-13  André Pönitz  <poenitz@gmx.net>
3680
3681         * textcursor.[Ch]:
3682         * lyxtext.h: hide cursor and selection anchor behind accessor function
3683
3684         * BufferView.C:
3685         * BufferView_pimpl.[Ch]:
3686         * PosIterator.C:
3687         * bufferview_funcs.C:
3688         * cursor.h:
3689         * lyxfind.C:
3690         * lyxfunc.C:
3691         * text.C:
3692         * text2.C:
3693         * text3.C:
3694         * undo.C: adjust
3695
3696         * cursor.h:
3697         * cursor_slice.[Ch]: some integer type changes for inset unification
3698
3699         * lyxcursor.[hC]: remove, it's CursorSlice now.
3700
3701         * Makefile.am:
3702         * BufferView_pimpl.[Ch]:
3703         * bufferview_funcs.C:
3704         * cursor_slice.C:
3705         * lyxtext.h:
3706         * text.C:
3707         * text2.C:
3708         * text3.C:
3709         * textcursor.[Ch]: adjust
3710
3711 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3712
3713         * text2.C (undoSpan): add and use
3714         * text.C (breakParagraph): use undoSpan (fix bug 578)
3715         * lyxtext.h: adjust
3716
3717 2004-01-08  Angus Leeming  <leeming@lyx.org>
3718
3719         * BufferView_pimpl.C (MenuInsertLyXFile):
3720         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3721         * lyxfunc.C (menuNew, open, doImport):
3722         FileFilterList change to the FileDialog open and save functions.
3723
3724 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3725
3726         * ShareContainer.h: make isEqual and isUnique adaptable
3727
3728         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3729
3730 2004-01-07  Angus Leeming  <leeming@lyx.org>
3731
3732         * LyXAction.C:
3733         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3734
3735         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3736
3737         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3738         functions replacing find, replace and replaceAll.
3739
3740         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3741         LFUN_WORDFIND(FORWARD|BACKWARD).
3742
3743 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3744
3745         * text.C (breakParagraph): remove an outdated #warning
3746
3747 2004-01-07  André Pönitz  <poenitz@gmx.net>
3748
3749         * lyxfind.C: somewhat clearer logic
3750
3751         * text.C: prevent crash in cursorX on unitialized row cache
3752
3753 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3754
3755         * lyxcursor.[Ch] (operator>): add
3756         * textcursor.C (selStart, selEnd): use std::min and std::max
3757
3758 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3759
3760         * Chktex.C: include boost/format.hpp
3761
3762 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
3763
3764         * InsetList.C: replace functor MathcIt with adaptable functor
3765         InsetTablePosLess
3766         (insetIterator): modify accordingly
3767
3768         * BranchList.h: move the BranchNamesEqual functor here from...
3769         * BranchList.C: ... to here
3770
3771         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3772         SameName and match.
3773         (add): replace a finding loop with std::find_if.
3774
3775 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3776
3777         * output_docbook.C: moving LatexParam functionality into
3778         .layout files
3779
3780 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3781
3782         * buffer.C: increment format to 229.
3783
3784 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3785
3786         * LaTeXFeatures.C:
3787         * lyx_sty.[Ch]: remove minipageindent_def
3788
3789         * LyXAction.C:
3790         * factory.C:
3791         * lfuns.h:
3792         * lyxfunc.C:
3793         * text3.C: remove LFUN_INSET_MINIPAGE
3794
3795 2003-12-28  Angus Leeming  <leeming@lyx.org>
3796
3797         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3798
3799 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3800
3801         * text2.C (setParagraph): fix off-by-one crash
3802
3803 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3804
3805         * output_docbook.C: header stuff for AGU
3806
3807 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3808
3809         * text2.C (redoCursor): remove
3810         * text.C:
3811         * text3.C:
3812         * BufferView_pimpl.C: remove calls to redoCursor and
3813         setCursor(cursor.par(), cursor.pos()) all around
3814
3815 2003-12-15  Angus Leeming  <leeming@lyx.org>
3816
3817         * buffer.C: up the format to 228.
3818
3819 2003-12-15  André Pönitz  <poenitz@gmx.net>
3820
3821         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3822         slices
3823
3824         * Makefile.am:
3825
3826         * BufferView_pimpl.C:
3827         * cursor.[Ch]:
3828         * lyxcursor.[Ch]:
3829         * rowpainter.[Ch]:
3830         * lyxtext.h:
3831         * text.C:
3832         * text2.C:
3833         * text3.C: adjust
3834
3835 2003-12-15  Angus Leeming  <leeming@lyx.org>
3836
3837         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3838         than getFromGUIName to manipulate the color.
3839
3840 2003-12-14  Angus Leeming  <leeming@lyx.org>
3841
3842         * BranchList.[Ch]: minimize the API.
3843         (Branch::getBranch, getColor): now return a 'const &'.
3844         (Branch::setSelected) now returns a bool set to true if the
3845         selection status changes.
3846         (BranchList::clear, size, getColor, setColor, setSelected,
3847         allBranches, allSelected, separator): removed.
3848         (BranchList::find): new functions, returning the Branch with
3849         the given name.
3850         (BranchList::add, remove): return a bool indicating that
3851         the operation was successful.
3852
3853         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3854         new InsetBranch::isBranchSlected member function.
3855
3856         * LColor.[Ch]: mimimize the API.
3857         (fill): renamed as addColor and made private.
3858         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3859         versions of these functions taking a string arg have been removed.
3860
3861         * bufferparams.C (readToken):
3862         * lyxfunc.C (dispatch):
3863         * lyxrc.C (read): changes due to the altered BranchList and
3864         LColor APIs.
3865
3866         * factory.C (createInset, readInset): changes due to altered
3867         InsetBranch c-tor.
3868
3869 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3870
3871         * factory.C:
3872         * lyxfunc.C: remove insetminipage. "minipage-insert"
3873         now produces a frameless minipage box inset.
3874
3875 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3876
3877         * textcursor.[Ch] (selStart,selEnd): add new methods
3878         remove selection::start, end, use LyXCursor::operator<
3879         * lyxcursor.[Ch] (operator<): add
3880         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3881         * BufferView.[Ch] (unsetXSel): add
3882         * text2.C (clearSelection): use unsetXSel,adjust
3883         * text.C: adjust
3884         * text3.C: adjust
3885         * rowpainter.C: adjust
3886         * bufferview_funcs.C (put_selection_at): adjust
3887
3888 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3889
3890         * BufferView_pimpl.C: small coord. correction
3891
3892 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3893
3894         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3895         dragging over the splash screen.
3896
3897 2003-12-11  Angus Leeming  <leeming@lyx.org>
3898
3899         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3900         as it is now handled in LyXText::dispatch.
3901
3902         * text3.C (doInsertInset): remove a level of nesting.
3903
3904 2003-12-11  Angus Leeming  <leeming@lyx.org>
3905
3906         * factory.C (createInset): changes due to the changed interface to
3907         InsetCommandMailer::string2params.
3908
3909 2003-12-10  Angus Leeming  <leeming@lyx.org>
3910
3911         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3912         'dialog-show-new-inset <inset name>'
3913
3914 2003-12-10  Angus Leeming  <leeming@lyx.org>
3915
3916         * buffer.C: up the format to 227.
3917
3918         * factory.C: the box inset is now identified simply by 'Box'.
3919
3920 2003-12-10  Angus Leeming  <leeming@lyx.org>
3921
3922         * buffer.C: up the format to 226.
3923
3924         * factory.C: the note inset is now identified simply by 'Note'.
3925
3926 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3927
3928         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3929         when a pit is enough. Standarize a couple of loops.
3930
3931 2003-12-05  Angus Leeming  <leeming@lyx.org>
3932
3933         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3934         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3935         data to the re-worked "log" dialog.
3936
3937 2003-12-03  André Pönitz  <poenitz@gmx.net>
3938
3939         * PosIterator.C:
3940         * iterators.C:
3941         * lyxtext.h:
3942         * output_latex.C:
3943         * paragraph_funcs.C:
3944         * text.C:
3945         * text2.C: use Inset::getText instead of Inset::getParagraph
3946
3947 2003-12-03  André Pönitz  <poenitz@gmx.net>
3948
3949         * buffer.[Ch]:
3950         * lyxtext.h:
3951         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3952         InsetText::read() as LyXText::read()
3953
3954 2003-12-02  Angus Leeming  <leeming@lyx.org>
3955
3956         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3957         type. Add a comment in the implementation that the function uses
3958         the stream's bad() function rather than fail() as the std::streams
3959         would do.
3960
3961 2003-12-02  André Pönitz  <poenitz@gmx.net>
3962
3963         * lyxlex.[Ch]: make interface more similar to std::stream
3964
3965         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3966
3967 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3968
3969         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3970
3971 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3972
3973         * vspace.[Ch]: remove VSpace::NONE
3974
3975 2003-12-01  André Pönitz  <poenitz@gmx.net>
3976
3977         * buffer.[Ch]:
3978         * lyxtext.h: move ParagraphList member to LyXText
3979         rename LyXText::ownerParagraphs to LyXText::paragraph
3980
3981         * CutAndPaste.C:
3982         * bufferview_funcs.C:
3983         * iterators.[Ch]:
3984         * lyx_cb.C:
3985         * paragraph.C:
3986         * rowpainter.C:
3987         * tabular.C:
3988         * text.C:
3989         * text2.C:
3990         * text3.C: adjust
3991
3992         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3993
3994         * undo.C: fix cursor positioning
3995
3996 2003-12-01  John Levon  <levon@movementarian.org>
3997
3998         * BufferView_pimpl.C: fix a crash on exit with
3999         a buffer open
4000
4001 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4002
4003         * BranchList.C: fix setSelected() method.
4004
4005 2003-11-28  André Pönitz  <poenitz@gmx.net>
4006
4007         * ParagraphParameters.[Ch]:
4008         * ParameterStruct.h: remove space above/below from Paragraph to
4009          InsetVSpace
4010
4011         * BufferView_pimpl.C:
4012         * factory.C:
4013         * lyxfunc.C:
4014         * lyxtext.h:
4015         * output_latex.C:
4016         * paragraph.C:
4017         * paragraph_funcs.C:
4018         * rowpainter.[Ch]:
4019         * text.C:
4020         * text2.C:
4021         * text3.C: adjust
4022
4023 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4024
4025         * factory.C: Syntax change for CharStyles
4026
4027 2003-11-28  André Pönitz  <poenitz@gmx.net>
4028
4029         * BufferView.[Ch]:
4030         * BufferView.[Ch]:
4031         * buffer.[Ch]:
4032         * buffer.[Ch]: move LyXText member
4033
4034 2003-11-28  André Pönitz  <poenitz@gmx.net>
4035
4036         * BufferView.[Ch]: make LyXText * text a private member
4037
4038         * BufferView_pimpl.C:
4039         * cursor.C:
4040         * iterators.C:
4041         * lyx_cb.C:
4042         * lyxfind.C:
4043         * lyxtext.h:
4044         * rowpainter.[Ch]:
4045         * text.C:
4046         * text2.C:
4047         * undo.C: adjust
4048
4049         * output_plaintext.C: cleanup
4050
4051 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4052
4053         * buffer.C:
4054         * lyxtextclass.[Ch]: parametrize SGML document header
4055
4056 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4057
4058         * converter.[Ch]:
4059         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4060         getFlavor().
4061
4062 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4063
4064         * text2.C (setFont): rework using PosIterator (no more recursive)
4065         (setCharFont): no more needed
4066         (setLayout): no more selection cursors fiddling (done by redoCursor)
4067         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4068         destroy remaining ones)
4069
4070 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4071
4072         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4073         * lyxtext.h: ditto
4074         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4075         selection cursors
4076         * lyxfunc.C: adjust
4077         * text3.C: adjust + re-allow multi par depth changes
4078         * textcursor.C: simplify a bit
4079
4080 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4081
4082         * src/buffer.C:
4083         * src/lyxlayout.C:
4084         * src/lyxlayout.h:
4085         * src/lyxtext.h:
4086         * src/output_docbook.C:
4087         * src/output_latex.C:
4088         * src/paragraph.C:
4089         * src/paragraph.h:
4090         * src/sgml.C:
4091         * src/sgml.h:
4092         * src/text2.C: Introducing a number of tags parametrizing various
4093         XML formats that we may want to support
4094
4095 2003-11-25  André Pönitz  <poenitz@gmx.net>
4096
4097         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4098
4099         * lyxtext.h (leftMargin/rightMargin): simplify interface
4100
4101         * rowpainter.C:
4102         * text.C:
4103         * text2.C:
4104         * text3.C: adjust
4105
4106 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4107
4108         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4109         master file to any child files. Fixes bug 546.
4110
4111 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4112
4113         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4114
4115 2003-11-24  André Pönitz  <poenitz@gmx.net>
4116
4117         * rowpainter.C: simplification
4118
4119         * text2.C (updateCounters): remove call to redoParagraph on
4120         changed labels as this is far too expensive.
4121
4122 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4123
4124         * converter.C (convert): fix a crash: this function gets
4125         called with buffer == 0 from importer code.
4126
4127 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4128
4129         * text3.C (cursorPrevious): make sure that we do not compare
4130         iterators form different containers.
4131         (cursorNext): ditto
4132
4133         * rowpainter.C (paintSelection): make sure that we do not compare
4134         iterators from different containers.
4135
4136         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4137         iterators from different ParagraphList containers.
4138         [NEXT] ditto
4139
4140         * text2.C (LyXText): change order of initialization slightly
4141         (operator=): new function. copy all variables except cache_par_
4142         (moveUp): make sure that we do not compare iterators from
4143         different ParagraphList constainers.
4144         (moveDown): ditto
4145
4146         * text.C (firstPar): new function
4147         (lastPar): new function
4148         (endPar): new function
4149
4150         * lyxtext.h: move things around and group public functions, public
4151         variables, private functions, private variables
4152
4153 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4154
4155         * factory.C: change call to InsetERT constructor to avoid
4156         additional invocation of method status
4157         * text2.C (toggleInset): remove redundant update() call
4158         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4159         instead of a Bufferview pointer
4160
4161 2003-11-21  André Pönitz  <poenitz@gmx.net>
4162
4163         * rowpainter.C: simplification
4164
4165 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4166
4167         * text3.C (dispatch): make possible to extend a word/row selection
4168         with the mouse
4169
4170 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4171
4172         * lyxtext.h: x0_,y0_ -> xo_,yo_
4173         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4174         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4175         * rowpainter.C (paintRows): paint full paragraphs
4176
4177 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4178
4179         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4180         screen coordinates)
4181
4182 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4183
4184         * lyxtext.h: add x0_, y0_
4185         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4186         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4187
4188 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4189
4190         * text2.C (setCursorIntern): move the x_target update here *
4191         * text3.C: change some bv() to true/false in calls to
4192         cursorUp/Down/Right/Left
4193         * cursor.C: use helper function.
4194
4195 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4196
4197         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4198         * paragraph_funcs.[Ch]: correct comment
4199         * rowpainter.C: do not paint selections away from bv->cursor()
4200         Fix a long standing selection painting bug.
4201         * text3.C: generalize mouse-selection code to LyXTexts other that
4202         top one
4203         * textcursor.C: do not use y coords if we can use par offsets
4204
4205 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4206
4207         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4208         cursor position after e.g. inset insert)
4209
4210 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4211
4212         * lyxfind.C (replace): adjust to locking removal + some
4213         code simplification
4214
4215 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4216
4217         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4218         of the path
4219
4220 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4221
4222         * lyxlayout.[Ch]:
4223         * output_docbook.C: XML sanitation: new layout
4224         parameters InnerTag and CommandDepth
4225
4226 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4227
4228         * BufferView_pimpl.C:
4229         * factory.C:
4230         * text3.C: Fix the insertion and modification of button-style
4231         insets
4232
4233 2003-11-13  André Pönitz  <poenitz@gmx.net>
4234
4235         * InsetList.[Ch]: remove deleteLyXText
4236
4237         * paragraph.[Ch]: cache beginOfBody position
4238
4239         * Bidi.C:
4240         * text.C:
4241         * text2.C:
4242         * text3.C: remove superfluous update() calls
4243
4244         * vspace.C: cleanup
4245
4246 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4247
4248         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4249         * BufferView.C (fitLockedInsetCursor): remove
4250         * cursor.[Ch] (getDim): add
4251         * text.C (getRowNearY): add faster version
4252         * text3.C: remove some update calls
4253
4254 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4255
4256         * LaTeXFeatures.C:
4257         * LyXAction.C:
4258         * MenuBackend.C:
4259         * MenuBackend.h:
4260         * dispatchresult.h:
4261         * factory.C:
4262         * lfuns.h:
4263         * lyxfunc.C:
4264         * lyxtextclass.C:
4265         * lyxtextclass.h:
4266         * text3.C: The Character Style /XML short element patch.
4267
4268 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4269
4270         * text3.C:
4271         * factory.C: Small step to solving 'unable to insert some insets'
4272         problem
4273
4274 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4275
4276         * cursor.[Ch] (updatePos): new function for updating the y
4277         position of the tip inset
4278         * bufferview_funcs.C (put_selection_at):
4279         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4280
4281 2003-11-11  André Pönitz  <poenitz@gmx.net>
4282
4283         * text.C: remove big comment on invalid Paragraph pointers as it is
4284         not valid anymore
4285
4286 2003-11-11  André Pönitz  <poenitz@gmx.net>
4287
4288         * text_funcs.[Ch]: merge with ...
4289
4290         * text.C: ... this
4291
4292         * lyxtext.h:
4293         * text2.C:
4294         * text3.C: adjust
4295
4296         * Makefile.am: remove text_funcs.[Ch]
4297
4298 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4299
4300         * cursor.C (getPos): return absolute cached y coord
4301
4302         * BufferView_pimpl.C (fitCursor): new simplistic code
4303         (workAreaDispatch): add a fitCursor call
4304
4305 2003-11-10  André Pönitz  <poenitz@gmx.net>
4306
4307         * BufferView.[Ch]:
4308         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4309
4310 2003-11-10  André Pönitz  <poenitz@gmx.net>
4311
4312         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4313         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4314         indicate that the cursor needs to leave an inset
4315
4316         * lyxtext.h: remove inset locking
4317
4318         * cursor.[Ch]: re-implement functionality provided by inset locking
4319
4320         * BufferView.[Ch]:
4321         * BufferView_pimpl.[Ch]:
4322         * LyXAction.C:
4323         * bufferview_funcs.[Ch]:
4324         * factory.C:
4325         * funcrequest.[Ch]:
4326         * iterators.C:
4327         * lyx_cb.C:
4328         * lyxfind.C:
4329         * lyxfunc.C:
4330         * text.C:
4331         * text2.C:
4332         * text3.C:
4333         * undo.C: adjust
4334
4335 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4336
4337         * PosIterator.[Ch]: replace the stack with a vector, add inset
4338         accesor
4339         * iterators.[C]: adjust
4340
4341 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4342
4343         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4344         replaced
4345         * paragraph_funcs.C (readParToken): put the correct id in the
4346         error item, not the id of the top paragraph
4347
4348 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4349
4350         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4351         * bufferview_funcs.C (put_selection_at): use the above
4352
4353 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4354
4355         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4356
4357 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4358
4359         * output_linuxdoc.h:
4360         * output_plaintext.h:
4361         * output.h:
4362         * output_docbook.h: add #include statements
4363
4364 2003-11-05  José Matos  <jamatos@lyx.org>
4365
4366         * output_docbook.[Ch]:
4367         * output_latex.[Ch]:
4368         * output_linuxdoc.[Ch]:
4369         * output_plaintext.[Ch]: New files for output formats.
4370         * output.[Ch]: New file for helper functions.
4371
4372         * buffer.[Ch]:
4373         * paragraph_funcs.[Ch]: output functions moved to new files.
4374
4375         * outputparams.h: rename of latexrunparams.h
4376
4377         * LaTeX.[Ch]:
4378         * buffer.[Ch]:
4379         * bufferlist.[Ch]:
4380         * converter.[Ch]:
4381         * exporter.C:
4382         * paragraph.[Ch]:
4383         * paragraph_funcs.[Ch]:
4384         * paragraph_pimpl.[Ch]:
4385         * tabular.[Ch]: rename ascii to plaintext
4386         and LatexRunParams to OutputParams.
4387
4388 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4389
4390         * iterators.[Ch] (text): require bv argument
4391         * undo.C (recordUndo):
4392         * lyxfunc.C (dispatch):
4393         * bufferview_funcs.C (put_selection_at): adjust
4394
4395 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
4396
4397         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4398
4399 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4400
4401         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4402         nestings
4403
4404 2003-11-04  André Pönitz  <poenitz@gmx.net>
4405
4406         * cursor.[Ch]: restructure
4407
4408         * BufferView.[Ch]:
4409         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4410
4411         * iterators.[Ch] (asCursor): remove
4412
4413         * lfuns.h: remove LFUN_INSET_EDIT
4414
4415         * lyxfunc.C:
4416         * tabular.C:
4417         * text.C:
4418         * text2.C:
4419         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4420
4421 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4422
4423         * lyxfind.[Ch]: complete overhaul
4424         * BufferView_pimpl.C:
4425         * lyxfunc.C: adjust
4426         * paragraph.[Ch] (insert): add
4427
4428 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4429
4430         * BufferView.[Ch]:
4431         * lyxtext.h:
4432         * text.C: remove dead spellcheck code
4433
4434 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4435
4436         * dispatchresult.h: add a val setter
4437
4438         * cursor.C (dispatch): use a tempvar for data_[i]
4439
4440 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4441
4442         * PosIterator.[Ch]: compile fix
4443
4444 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4445
4446         * text.C (cursorPar): deactivate the cursor cache
4447
4448 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4449
4450         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4451
4452 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4453
4454         * text3.C (dispatch): adjust for new DisptchResult semantics.
4455
4456         * lyxfunc.C (dispatch): handle update when return from
4457         Cursor::dispatch, adjust for new DispatchResult semantics.
4458
4459         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4460         DispatchResult(true) mean to not update. Add class functions for
4461         setting dispatched and update, as well as reading.
4462
4463         * cursor.C (dispatch): don't handle update here
4464
4465 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4466
4467         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4468         * trans_mgr.C: adjust
4469
4470         * paragraph_funcs.C (readParToken): exception safety
4471
4472         * lyxvc.h: store the vcs pointer in a scoped_ptr
4473         * lyxvc.C: adjust
4474
4475         * lyxsocket.C (serverCallback): exception safety
4476
4477         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4478
4479         * ispell.C (clone): make it return a auto_ptr
4480
4481         * factory.C (createInset): exception safety
4482         (readInset): exception safety
4483
4484         * bufferlist.C (newBuffer): exception safety
4485
4486         * Thesaurus.C (Thesaurus): use initialization for aik_
4487
4488         * MenuBackend.C (expandToc): exception safety.
4489
4490 2003-11-03  André Pönitz  <poenitz@gmx.net>
4491
4492         * buffer.C:
4493         * buffer.h:
4494         * bufferview_funcs.C: remove getInsetFromId()
4495
4496         * lyxcursor.[Ch]:
4497         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4498
4499         * lyxfunc.C:
4500         * text2.C:
4501         * text3.C: adjust
4502
4503 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4504
4505         * PosIterator.C (distance, advance): new
4506         * bufferview_funcs.[Ch] (put_selection_at): new
4507         * iterators.[Ch] (lockPath): new
4508
4509 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4510
4511         * iterators.[Ch] (asPosIterator): added
4512         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4513         * PosIterator.[Ch]: added
4514
4515 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4516
4517         * text3.C:
4518         * lyxfunc.C:
4519         * cursor.C (dispatch):
4520         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4521
4522         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4523         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4524         contructor, add a class function dispatched. Remove operator>=
4525
4526 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4527
4528         * debug.C: only use the default constructor for debugstream
4529         (lyxerr) here.
4530
4531         * main.C (main): include debug.h and setup the lyxerr streambuf
4532         here.
4533
4534 2003-10-31  José Matos  <jamatos@lyx.org>
4535
4536         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4537
4538         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4539         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4540         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4541         * paragraph_pimpl.C (simpleTeXSpecialC):
4542         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4543         add LatexRunParams argument.
4544
4545         * exporter.C (Export): change call accordingly.
4546
4547         * latexrunparams.h: add new member to take care of the other backends.
4548 2003-10-30  José Matos  <jamatos@lyx.org>
4549
4550         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4551         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4552         factorise code for paragraph output.
4553         * buffer.[Ch]:
4554         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4555         move functions.
4556
4557 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4558
4559         * text3.C (dispatch):
4560         * lyxfunc.C (dispatch):
4561         * cursor.C (dispatch):
4562         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4563
4564         * dispatchresult.h: make the dispatch_result_t ctor explicit
4565
4566 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4567
4568         * sgml.[Ch]:
4569         * buffer.C: small refactoring of docbook stuff
4570
4571 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4572
4573         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4574         meaning.
4575
4576 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4577
4578         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4579         operator dispatch_result_t, and operators for == != and >=
4580
4581         * cursor.C (dispatch): adjust for operator dispatch_result_t
4582         removal. comment out call to update
4583
4584         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4585
4586 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4587
4588         * text3.C:
4589         * text2.C:
4590         * text.C:
4591         * lyxtext.h:
4592         * lyxfunc.C:
4593         * cursor.C:
4594         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4595         (dispatch):
4596
4597         * dispatchresult.h: new file, DispatchResult broken out of
4598         insets/insetbase.h
4599
4600         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4601
4602 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4603
4604         * text.C (rowBreakPoint): put a hack inside #if 0
4605
4606 2003-10-28  André Pönitz  <poenitz@gmx.net>
4607
4608         * lyxtext.h:
4609         * metricsinfo.C:
4610         * paragraph_funcs.C:
4611         * rowpainter.C:
4612         * text.C:
4613         * text2.C: general cleanup (lots of small stuff)
4614
4615 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4616
4617         * text2.C (cursorEnd): simple fix to the "end key goes to one
4618         before the end on last row" bug
4619
4620 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4621
4622         * text.C (backspace): fix the "zombie characters"
4623
4624 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4625
4626         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4627
4628 2003-10-27  André Pönitz  <poenitz@gmx.net>
4629
4630         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4631
4632         * factory.C: handle new InsetPagebreak, InsetLine
4633
4634         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4635         and move handling into new InsetPagebreak, InsetLine
4636
4637         * BufferView_pimpl.C:
4638         * LyXAction.C:
4639         * ParagraphParameters.C:
4640         * ParameterStruct.h:
4641         * lyxfunc.C:
4642         * lyxtext.h:
4643         * paragraph.C:
4644         * paragraph.h:
4645         * paragraph_funcs.C:
4646         * paragraph_pimpl.C:
4647         * rowpainter.C:
4648         * text.C:
4649         * text2.C:
4650         * text3.C: adjust
4651
4652 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4653
4654         * text.C:
4655         * lyxrow_funcs.[Ch]:
4656         * Bidi.C:
4657         * paragraph.C:
4658         * lyxtext.h:
4659         * rowpainter.C:
4660         * text2.C:
4661         * text3.C: remove lastPos uses in favour of Row::endpos
4662
4663 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4664
4665         * undo.C (performUndoOrRedo): fix two crashes by setting a
4666         cursor by hand and reordering some calls. Use bv->lockInset instead
4667         of inset->edit because the latter loses cursor information
4668
4669 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4670
4671         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4672         by Martin
4673         (rowBreakPoint): fix width. change point to point + 1.
4674         Add a missing check.
4675
4676 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4677
4678         * MenuBackend.C:
4679         * lyxfunc.C: fix (at least partly) the problems
4680         with the Nav menu and headers inside branch insets
4681         reported by Kayvan
4682
4683 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4684
4685         * paragraph.C (getChar): add strong asserts
4686
4687         * lyxrow_funcs.C (lastPos): remove hideous hack
4688
4689         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4690         (fill): adjust to that (avoid an infinite loop)
4691
4692 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4693
4694         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4695
4696 2003-10-23  André Pönitz  <poenitz@gmx.net>
4697
4698         * RowList_fwd.h: change list<> to vector<> to gain speed
4699         after suggestion from Alfredo
4700
4701 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4702
4703         * lyxtext.h: move the bidi stuff from here...
4704         * text.C: and here
4705         * text2.C: and here
4706         * Bidi.[Ch]: ... to here
4707
4708 2003-10-23  André Pönitz  <poenitz@gmx.net>
4709
4710         * lyxtext.h:
4711         * text.C (isLastRow, isFirstRow): new functions
4712
4713         * paragraph.h: new width cache member
4714
4715         * rowpainter.C: replace RowList::iterator with Row & where possible
4716
4717         * lyxfunc.C: replace several view()->text with a single call
4718
4719         * toc.C: fix 'unused' warning
4720
4721 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4722
4723         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4724         when woring with stream::pos_type
4725         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4726
4727 2003-10-22  André Pönitz  <poenitz@gmx.net>
4728
4729         * lyxtext.h:
4730         * text.C: use Row & instead of RowList::iterator
4731
4732         * lyxrow.h: rename end() to endpos()
4733
4734         * rowpainter.C:
4735         * text.C:
4736         * text2.C: adjust
4737
4738 2003-10-22  Angus Leeming  <leeming@lyx.org>
4739
4740         * buffer.[Ch] (fully_loaded): new member function, returning true
4741         only when the file has been loaded fully.
4742         Used to prevent the premature generation of previews and by the
4743         citation inset to prevent computation of the natbib-style label.
4744
4745         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4746         templates are all set up.
4747
4748         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4749
4750 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4751
4752         * text.C: fixed an "oops" in the "is a bit silly"
4753         bug fix
4754
4755 2003-10-21  André Pönitz  <poenitz@gmx.net>
4756
4757         * FuncStatus.[Ch]: small stuff, whitespace
4758
4759         * lyxfont.[Ch]: operator<<() for debug reasons
4760
4761         * lyxfunc.C:
4762         * lyxrow_funcs.C:
4763         * lyxtext.h: whitespace, spelling
4764
4765         * paragraph.C: naming of variables
4766
4767         * text.C:
4768         * text2.C: small stuff
4769
4770
4771 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4772
4773         * text.C: (1) finish off the inset display() work;
4774         (2) fix the "is a bit silly" bug (accessing char
4775         past end of par).
4776
4777 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4778
4779         * text.C: re-introduce display() for insets, fixing the
4780         various bugs (stretch of line above, math inset
4781         positioning, ...)
4782
4783 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4784
4785         * text.C (rightMargin): remove spurious semicolon
4786
4787         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4788         1415)
4789
4790 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4791
4792         * text3.C: fix one crash due to wrong cursor def
4793
4794 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4795
4796         * vc-backend.C (scanMaster): make the regex static
4797
4798         * LaTeX.C (scanAuxFile): make the regexs static
4799
4800         * text3.C (doInsertInset, dispatch, dispatch):
4801         * text2.C (cursorUp, cursorDown):
4802         * text.C (selectNextWordToSpellcheck):
4803         * BufferView_pimpl.C (dispatch):
4804         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4805
4806 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4807
4808         * lyxsocket.C: include <cerrno>
4809
4810 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4811
4812         * lyxfunc.C (dispatch): remove textcache stuff
4813
4814         * bufferlist.C (release): remove textcache stuff
4815         (closeAll): ditto
4816
4817         * TextCache.C: delete file
4818         * TextCache.h: delete file
4819
4820         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4821
4822         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4823         delete of the bv_->text.
4824         (resizeCurrentBuffer): remove texcache stuff
4825         (workAreaResize): ditto
4826
4827 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4828
4829         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4830         action.
4831
4832 2003-10-16  André Pönitz  <poenitz@gmx.net>
4833
4834         * lyxrow.[Ch]:
4835         * paragraph.h:
4836         * rowpainter.C:
4837         * text.C:
4838         * text2.C:
4839         * text3.C: speed up by storing y positions per paragraph plus per-row
4840         offset instead of having a 'full' y position in the row.
4841
4842 2003-10-15  André Pönitz  <poenitz@gmx.net>
4843
4844         * iterators.[Ch]:
4845         * iterators.[Ch]:
4846         * undo.[Ch]: make undo aware of inner insets
4847
4848 2003-10-14  Angus Leeming  <leeming@lyx.org>
4849
4850         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4851         static member functions LyX::ref() and LyX::cref.
4852         (lastfiles): new accessor functions for the new lastfiles_ member var.
4853         (addLyXView, views_): add a new LyXView to the list of views_.
4854         (updateInset): loop over all LyXViews to call their own updateInset
4855         member function, returning a pointer to the Buffer owning the inset.
4856
4857         * BufferView_pimpl.C (loadLyXFile):
4858         * MenuBackend.C (expandLastfiles):
4859         * bufferlist.C (MenuWrite, QuitLyX):
4860         lastfiles is no longer a global variable.
4861         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4862
4863         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4864         static function. Access through LyX::cref().emergencyCleanup().
4865
4866 2003-10-14  André Pönitz  <poenitz@gmx.net>
4867
4868         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4869
4870         * undo.[Ch]: restoring part of 'undo in insets'
4871
4872         * Makefile.am:
4873         * undo_funcs.[Ch]: merge with undo.[Ch]
4874
4875         * tabular.C: small cleansing stuff
4876
4877 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4878
4879         * paragraph_funcs.C (readParToken): report unknown insets as error
4880         boxes. Use the outer paragraph as location (also for unknown
4881         tokens).
4882
4883         * factory.C (readInset): do not abort on reading an unknown inset.
4884         Eat it and return 0.
4885
4886 2003-10-13  Angus Leeming  <leeming@lyx.org>
4887
4888         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4889
4890         * lyxrc.C: displayTranslator is now a function,
4891         declared in GraphicsTypes.h.
4892
4893 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4894
4895         * format.C: new placeholder $$a to pass the socket address.
4896
4897         * bufferlist.[Ch]: new function getBufferFromTmp.
4898
4899         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4900           files in the temporary dir.
4901
4902 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4903
4904         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4905
4906         * Makefile.am: add lyxsocket.[Ch].
4907
4908         * lyx_main.C (error_handler): handle SIGPIPE.
4909
4910 2003-10-13  André Pönitz  <poenitz@gmx.net>
4911
4912         * BufferView_pimpl.C:
4913         * lyxtext.h:
4914         * text.C:
4915         * text2.C:
4916         * text3.C:
4917         * undo_funcs.[Ch]: use paroffset_type instead of
4918           ParagraphList::iterators to prevent multiple conversion
4919           (and get a more robust interface)
4920
4921 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4922
4923         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4924         * lyxtext.h: ditto
4925         * text3.C (dispatch): ditto
4926
4927 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4928
4929         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4930         move the onlyfile, use onlyfile instead of foundfile in a couple
4931         of places.
4932
4933         * DepTable.C (update): flush the error stream a bit more
4934
4935 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4936
4937         * lyxserver.C (callback): adjust
4938
4939         * lyxfunc.C (getStatus): add a missing brace in commented code
4940         (ensureBufferClean): reindent
4941         (dispatch): delete version taking a string
4942
4943 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4944
4945         * LaTeX.C (deplog): move found file handlig from here...
4946         (handleFoundFile): .. to new function here.
4947         (deplog): make sure to discover several files mentioned on the
4948         same log line.
4949
4950 2003-10-10  André Pönitz  <poenitz@gmx.net>
4951
4952         * lyxfunc.C:
4953         * lyxtext.h:
4954         * tabular.C:
4955         * text.C:
4956         * text2.C:
4957         * text3.C: fix some of the tabular crashes
4958
4959 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4960
4961         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4962
4963         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4964
4965 2003-10-09  André Pönitz  <poenitz@gmx.net>
4966
4967         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4968
4969         * BufferView.C:
4970         * BufferView_pimpl.C:
4971         * bufferview_funcs.C:
4972         * lyx_cb.C:
4973         * lyxcursor.C:
4974         * lyxfind.C:
4975         * lyxfunc.C:
4976         * lyxtext.h:
4977         * text.C:
4978         * text2.C:
4979         * text3.C:
4980         * text_funcs.[Ch]:
4981         * textcursor.[Ch]:
4982         * undo_funcs.C: adjust
4983
4984 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4985
4986         * text2.C (incrementItemDepth): new function, use a backtracking
4987         algorithm to discover the correct item depth.
4988         (resetEnumCounterIfNeeded): new function, use a backtracking
4989         algorithm to discover if counter reset is needed.
4990         (setCounter): use them. Simplify a bit. Add different labels for
4991         different item depths for itemize.
4992
4993         * paragraph.C (Paragraph): remove initialization of enumdepth
4994         (operator=): ditto
4995
4996         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4997         enumerate and itemize. Change the type of itemdepth to signed char.
4998
4999 2003-10-08  André Pönitz  <poenitz@gmx.net>
5000
5001         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5002           thing assignable.
5003         * text.C:
5004         * text2.C: adjust
5005
5006         * tabular.[Ch]: fix crash after 'row-insert'
5007
5008 2003-10-08  Angus Leeming  <leeming@lyx.org>
5009
5010         Fix doxygen warnings.
5011
5012         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5013         Remove CutAndPaste:: prefix from header file declaration.
5014
5015         * LColor.h (fill): remove LColor:: prefix from declaration.
5016
5017         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5018         use lyx::depth_type rather than Paragraph::depth_type so that
5019         header file and .C file match.
5020
5021         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5022
5023         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5024         * aspell.C: \file aspell_local.C -> \file aspell.C
5025         * gettext.C: \file gettext.C -> \file src/gettext.C
5026         * gettext.h: \file gettext.h -> \file src/gettext.h
5027         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5028         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5029         * text.C: \file text.C -> \file src/text.C
5030
5031         * toc.C: move comment so that doxygen is not confused.
5032
5033 2003-10-07  Angus Leeming  <leeming@lyx.org>
5034
5035         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5036
5037 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5038
5039         * aspell.C:
5040         * aspell_local.h: add forgotten std::string's.
5041
5042 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5043
5044         * LaTeXFeatures.C:
5045         * LyXAction.C:
5046         * factory.C:
5047         * lfuns.h:
5048         * lyxfunc.C:
5049         * text3.C: The Box patch. Fancybox support, minipage, parbox
5050
5051 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5052
5053         * CutAndPaste.h:
5054         * DepTable.h:
5055         * FloatList.h:
5056         * LaTeXFeatures.h:
5057         * ParagraphParameters.h:
5058         * TextCache.h:
5059         * Thesaurus.h:
5060         * bufferlist.h:
5061         * exporter.h:
5062         * importer.h:
5063         * lastfiles.h:
5064         * lyxfind.h:
5065         * lyxfont.h:
5066         * lyxlex.h:
5067         * lyxtextclasslist.h:
5068         * messages.h:
5069         * paragraph.h:
5070         * paragraph_pimpl.C:
5071         * textcursor.h: add <string> and other small fixes to make Lars'
5072         std::string patch compile with STLport.
5073
5074 2003-10-06  Angus Leeming  <leeming@lyx.org>
5075
5076         * LColor.h: Add missing #include <string>.
5077
5078 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5079
5080         * All most all file in all subdirs: Make <string> be the prefered
5081         way of getting to std::string, add using declarations.
5082
5083 2003-10-06  André Pönitz  <poenitz@gmx.net>
5084
5085         * metricsinfo.C: initialize LyXFont before changing attribute.
5086         (fixes the 'math in \emph is upright' bug)
5087
5088 2003-10-06  André Pönitz  <poenitz@gmx.net>
5089
5090         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5091
5092 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5093
5094         * graph.C:
5095         * paragraph_pimpl.C: Small fixes to build using STLport
5096
5097 2003-10-02  André Pönitz  <poenitz@gmx.net>
5098
5099         * lyxfunc.C:
5100         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5101
5102 2003-10-01  André Pönitz  <poenitz@gmx.net>
5103
5104         * factory.C: assert early
5105
5106 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5107
5108         * lyx_main.C: remove the global debug object
5109
5110         * debug.h: adjust for new debugstream
5111
5112         * debug.C: adjust for new debugstream and keep the global debug
5113         object here.
5114
5115 2003-09-22  Angus Leeming  <leeming@lyx.org>
5116
5117         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5118         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5119         an incomplete class LyXFont.
5120
5121 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5122
5123         * factory.C: bug fix in branches
5124
5125 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5126
5127         * lyxfunc.C (processKeySym): adjust
5128         (dispatch): adjust
5129         (dispatch): change arg name from ev to func, adjust
5130         (sendDispatchMessage): ditto
5131
5132         * lyx_main.C (defaultKeyBindings): adjust keybindings
5133         (deadKeyBindings): ditto
5134
5135         * kbsequence.C (addkey): return a FuncRequest
5136
5137         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5138
5139         * kbmap.C (bind): take a FuncRequest as arg, adjust
5140         (read): adjust
5141         (lookup): adjust
5142         (defkey): change to take a FuncRequest as arg, adjust
5143         (findbinding): take a FuncRequest as arg, adjust.
5144
5145         * funcrequest.h (operator=): added
5146
5147         * funcrequest.C (FuncRequest): default kb_action changed from
5148         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5149
5150         * buffer.C (dispatch): simplify
5151         (dispatch): adjust to take a FuncRequest as arg, adjust
5152
5153         * boost.C (assertion_failed): change assertion message slightly
5154
5155         * ToolbarBackend.C (read): simplify
5156
5157         * MenuBackend.C (binding): adjust call to findbinding, add a
5158         message if no binding is found.
5159         (read): simplify
5160         (expandToc): correct by adding a empty FuncRequest
5161
5162         * LyXAction.C: include <boost/assert.hpp>
5163         (isPseudoAction): delete function
5164         (LookupFunc): change name to...
5165         (lookupFunc): this. change return type to FuncRequest.
5166         (getActionName): take kb_action as arg, simplify
5167         (funcHasFlag): add an assert, simplify.
5168
5169 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5170
5171         * toc.C (action): return a FuncRequest, simplify
5172
5173         * lyxfunc.C (processKeySym): adjust
5174         (getStatus): delete version that takes an int.
5175         (getStatus): adjust
5176         (dispatch): delete version that takes action as int
5177         (dispatch): adjust
5178         (sendDispatchMessage): simplify and adjust
5179
5180         * funcrequest.C (getArg): take unsigned int as arg
5181
5182         * ToolbarBackend.C (read): adjust
5183         (add): delete version that takes func as a string.
5184         (getIton): take a FuncRequest as arg
5185
5186         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5187         action.
5188
5189         * MenuBackend.C (MenuItem): add a new construct that only takes a
5190         Kind, simplify the constructor use for submenus.
5191         (add): adjust
5192         (expandLastfiles): adjust
5193         (expandDocuments): adjust
5194         (expandFormats): adjust
5195         (expandFloatListInsert): adjust
5196         (expandFloatInsert): adjust
5197         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5198
5199         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5200         Remove class variables lyx_pseudo_map and lyx_arg_map
5201
5202         * LyXAction.C (searchActionArg): delete function
5203         (getPseudoAction): delete function
5204         (retrieveActionArg): delete function
5205         (LookupFunc): make it return kb_action, simplify.
5206         (getActionName): simplify
5207
5208         * factory.C (createInset): fix new bug
5209
5210 2003-09-19  Angus Leeming  <leeming@lyx.org>
5211
5212         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5213         masterFilename_ parameter in the include inset.
5214
5215         * factory.C (createInset): changes due to the changes to InsetInclude.
5216
5217 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5218
5219         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5220
5221 2003-09-18  Angus Leeming  <leeming@lyx.org>
5222
5223         * buffer.C:
5224         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5225         Inset::fillWithBibKeys.
5226         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5227
5228 2003-09-18  Angus Leeming  <leeming@lyx.org>
5229
5230         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5231         variables.
5232         (ctor): pass and store a 'Buffer const &'
5233         (buffer): new member function.
5234
5235         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5236         '*this' to the LaTeXFeatures ctor.
5237
5238 2003-09-18  Angus Leeming  <leeming@lyx.org>
5239
5240         * LColor.h:
5241         * lyxfont.C:
5242         * lyxfont.h:
5243         * lyxtext.h:
5244         * text.C: rename EnumLColor as LColor_color.
5245
5246 2003-09-18  Angus Leeming  <leeming@lyx.org>
5247
5248         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5249         remove #include "insets/insetbase.h" from cursor.h.
5250
5251 2003-09-18  Angus Leeming  <leeming@lyx.org>
5252
5253         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5254         InsetOld_code to remove #include "inset.h".
5255
5256         * iterators.C: add #include "insets/inset.h"
5257
5258 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5259
5260         * BufferView.C: remove more locking stuff that apparently doesn't
5261         do anything sensible.
5262
5263 2003-09-16  André Pönitz  <poenitz@gmx.net>
5264
5265         * paragraph.[Ch]:
5266         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5267           performance boost.
5268
5269 2003-09-16  Angus Leeming  <leeming@lyx.org>
5270
5271         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5272
5273         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5274         arg/return type.
5275
5276         * paragraph.h: remove #include "lyxfont.h". Forward declare
5277         LyXFont_size.
5278
5279 2003-09-16  Angus Leeming  <leeming@lyx.org>
5280
5281         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5282         of support/textutils.h.
5283         (isWord): move the contents of support/textutils.h's IsWordChar here.
5284
5285         * buffer.C:
5286         * lyxfind.C:
5287         * rowpainter.C:
5288         * text.C:
5289         * text2.C: add #include "paragraph.h".
5290
5291         * rowpainter.C:
5292         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5293
5294 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5295
5296         * main.C:
5297         * lyx_main.C:
5298         * lyx_cb.C:
5299         * buffer.C:
5300         * LaTeX.C: use namespace alias for lyx::support::os
5301
5302 2003-09-16  Angus Leeming  <leeming@lyx.org>
5303
5304         * bufferparams.C:
5305         * bufferview_funcs.C:
5306         * factory.C:
5307         * lyxfunc.C:
5308         * paragraph_pimpl.C:
5309         * rowpainter.C:
5310         * text.C: add #include "LColor.h".
5311
5312 2003-09-16  Angus Leeming  <leeming@lyx.org>
5313
5314         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5315         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5316         return LyXFont &.
5317         Store the FontBits::color variable as an int rather than as an
5318         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5319         file.
5320
5321         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5322         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5323         string calls together.
5324
5325         * lyxrc.C: add #include "LColor.h".
5326
5327 2003-09-15  Angus Leeming  <leeming@lyx.org>
5328
5329         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5330         a cow_ptr.
5331
5332 2003-09-15  Angus Leeming  <leeming@lyx.org>
5333
5334         * LColor.h: add an EnumLColor wrapper for LColor::color.
5335
5336         * lyxfont.[Ch] (color, setColor, realColor):
5337         * lyxtext.h, text.C (backgroundColor):
5338         pass EnumLColor args to/from the functions, rather than LColor::color
5339         ones.
5340
5341         * lyxfont.h:
5342         * lyxtext.h: forward declare EnumLColor.
5343
5344         * lyx_main.C: add #include "LColor.h".
5345
5346 2003-09-15  Angus Leeming  <leeming@lyx.org>
5347
5348         * .cvsignore: add lyx-gtk.
5349
5350 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5351
5352         * Chktex.C
5353         * LaTeX.C
5354         * LaTeXFeatures.C
5355         * ParagraphParameters.C
5356         * Spacing.C
5357         * buffer.C
5358         * bufferparams.C
5359         * bufferview_funcs.C
5360         * chset.C
5361         * counters.C
5362         * funcrequest.C
5363         * lyxfont.C
5364         * lyxgluelength.C
5365         * lyxlength.C
5366         * paragraph.C
5367         * paragraph_funcs.C
5368         * text3.C
5369         * vc-backend.C: remove usage of STRCONV
5370
5371 2003-09-15  Angus Leeming  <leeming@lyx.org>
5372
5373         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5374         explicitly define the color passed to the painter.
5375
5376 2003-09-15  Angus Leeming  <leeming@lyx.org>
5377
5378         * bufferparams.C (BufferParams): reorder member initializers to avoid
5379         compiler warning.
5380
5381 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5382
5383         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5384         * text.C (updateRowPositions): remove an unusual nop
5385
5386 2003-09-12  André Pönitz  <poenitz@gmx.net>
5387
5388         * BufferView_pimpl.C:
5389         * Bullet.C:
5390         * layout.h:
5391         * lyxfunc.C:
5392         * lyxlayout.[Ch]:
5393         * lyxtextclass.C:
5394         * rowpainter.C:
5395         * text.C:
5396         * text2.C:
5397         * Counters.[Ch]: finish the 'automatic counters' job
5398
5399 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5400
5401         * aspell.C: include <boost/assert.cpp> (compile fix)
5402
5403 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5404
5405         * boost.C (assertion_failed): use lyx::support::abort instead of
5406         assert.
5407
5408 2003-09-10  Angus Leeming  <leeming@lyx.org>
5409
5410         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5411         with their _fwd progeny.
5412
5413 2003-09-09  Angus Leeming  <leeming@lyx.org>
5414
5415         134 files throughtout the source tree: replace 'using namespace abc;'
5416         directives with the appropriate 'using abc::xyz;' declarations.
5417
5418 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5419
5420         * boost.C (emergencyCleanup): moved here from LAssert.c
5421         (assertion_failed): new function, called by BOOST_ASSERT
5422
5423         * several files: change Assert to BOOST_ASSERT
5424
5425 2003-09-09  Angus Leeming  <leeming@lyx.org>
5426
5427         * buffer.[Ch]: Add an Impl class and move Buffer's member
5428         variables into it. As a result move several header files out of
5429         buffer.h.
5430
5431         Add header files to lots of .C files all over the tree as a result.
5432
5433 2003-09-09  Angus Leeming  <leeming@lyx.org>
5434
5435         * buffer.[Ch]: make Buffer's member variables private. Add
5436         accessor functions.
5437
5438         Lots of changes all over the tree as a result.
5439
5440 2003-09-08  Angus Leeming  <leeming@lyx.org>
5441
5442         * graph.C: #include <config.h>.
5443
5444 2003-09-08  Angus Leeming  <leeming@lyx.org>
5445
5446         * BranchList.C:
5447         * BufferView.C:
5448         * BufferView_pimpl.C:
5449         * CutAndPaste.C:
5450         * DepTable.C:
5451         * LaTeX.C:
5452         * LaTeXFeatures.C:
5453         * LyXAction.C:
5454         * MenuBackend.C:
5455         * TextCache.C:
5456         * aspell.C:
5457         * buffer.C:
5458         * bufferlist.C:
5459         * changes.C:
5460         * chset.C:
5461         * converter.C:
5462         * counters.C:
5463         * debug.C:
5464         * graph.C:
5465         * ispell.C:
5466         * lyx_cb.C:
5467         * lyxfind.C:
5468         * lyxfunc.C:
5469         * lyxlex_pimpl.C:
5470         * lyxrc.C:
5471         * lyxrow.C:
5472         * paragraph.C:
5473         * rowpainter.C:
5474         * texrow.C:
5475         * text.C:
5476         * text2.C:
5477         * toc.C: remove redundant using directives.
5478
5479 2003-09-07  Angus Leeming  <leeming@lyx.org>
5480
5481         * LaTeXFeatures.h: remove #include "support/types.h".
5482         * ToolbarBackend.h: remove #include <algorithm>.
5483         * changes.h: remove #include <ctime>.
5484         * debug.h: remove #include <iosfwd>.
5485         * graph.h: remove #include "support/std_string.h".
5486         * lyx_main.h: remove #include <csignal>.
5487         * lyxlex_pimpl.h: remove #include <fstream>.
5488         * sgml.h: remove #include <algorithm>, <utility>.
5489         * toc.h: remove #include "support/std_ostream.h".
5490         Add #include <iosfwd>.
5491
5492 2003-09-07  Angus Leeming  <leeming@lyx.org>
5493
5494         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5495
5496         * converter.h: forward declare LatexRunParams.
5497         * encoding.h: remove #include "lyxrc.h".
5498         * lyxtext.h: remove #include "LColor.h".
5499         * lyxtextclass.h: remove #include "support/types.h".
5500         * trans.h: remove #include "tex-accent.h".
5501         * trans_mgr.h: remove #include "tex-accent.h".
5502         * insets/inset.h: remove #include "support/types.h", <vector>.
5503         * insets/insetcollapsable.h: remove #include "LColor.h".
5504         * insets/insetinclude.h: remove #include "dimension.h".
5505         * insets/insetlatexaccent.h: remove #include "dimension.h".
5506         * insets/insetoptarg.h:: remove #include "insettext.h".
5507         * insets/insettext.h: remove #include "dimension.h",
5508         <boost/shared_ptr.hpp>
5509
5510         * insets/renderers.h: add #include "dimension.h".
5511         * insets/updatableinset.h: add #include "support/types.h".
5512
5513         * many .C files: Associated changes.
5514
5515 2003-09-06  Angus Leeming  <leeming@lyx.org>
5516
5517         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5518         one, inside testInvariant.
5519
5520         * PrinterParams.C: new file.
5521         * PrinterParams.[Ch]: move the function bodies out of line.
5522
5523 2003-09-06  Angus Leeming  <leeming@lyx.org>
5524
5525         * ParagraphParameters.h: forward declare ParameterStruct rather than
5526         including its header file.
5527         (depth): moved out-of-line.
5528
5529 2003-09-06  Angus Leeming  <leeming@lyx.org>
5530
5531         * BufferView_pimpl.h:
5532         * kbmap.h:
5533         * kbsequence.h:
5534         * lyxfunc.h: forward declare LyXKeySym rather than
5535         #include "frontends/LyXKeySym.h".
5536
5537         * BufferView_pimpl.C:
5538         * kbmap.C:
5539         * kbsequence.C:
5540         * lyxfunc.C: associated changes.
5541
5542 2003-09-06  Angus Leeming  <leeming@lyx.org>
5543
5544         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5545         As a result, can remove the #include "insets/inset.h" from BufferView.h
5546
5547 2003-09-06  Angus Leeming  <leeming@lyx.org>
5548
5549         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5550         As a result, can remove the #include "insets/inset.h" from BufferView.h
5551
5552 2003-09-06  Angus Leeming  <leeming@lyx.org>
5553
5554         * buffer_funcs.C:
5555         * buffer.h:
5556         * bufferlist.C:
5557         * BufferView.C:
5558         * bufferview_funcs.C:
5559         * BufferView_pimpl.C:
5560         * CutAndPaste.C:
5561         * lyx_cb.C:
5562         * lyxfunc.C:
5563         * paragraph.h:
5564         * ParagraphParameters.C:
5565         * tabular.C:
5566         * text3.C:
5567         * toc.C:
5568         * undo_funcs.C:
5569         * frontends/controllers/ControlDocument.C:
5570         * insets/insetcaption.C: rearrange the #includes into some sort of
5571         coherent order.
5572
5573         * buffer.h: remove #includes ErrorList.h, undo.h
5574
5575 2003-09-06  Angus Leeming  <leeming@lyx.org>
5576
5577         * support/types.h: add a 'depth_type' typedef, used to store the
5578         nesting depth of a paragraph.
5579
5580         * paragraph.h:
5581         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5582         defining explicitly.
5583
5584         * buffer.h:
5585         * paragraph_funcs.h:
5586         * ParagraphParameters.h:
5587         * sgml.h: use lyx::depth_type rather than Paragraph or
5588         ParameterStruct's depth_type.
5589
5590         * buffer.h
5591         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5592
5593         * BufferView.C:
5594         * BufferView_pimpl.C:
5595         * CutAndPaste.C:
5596         * ParagraphParameters.C:
5597         * buffer_funcs.C:
5598         * bufferlist.C:
5599         * bufferview_funcs.C:
5600         * lyx_cb.C:
5601         * lyxfunc.C:
5602         * tabular.C:
5603         * text3.C:
5604         * toc.C:
5605         * undo_funcs.C:
5606         * frontends/LyXView.C:
5607         * frontends/controllers/ControlDocument.C:
5608         * frontends/controllers/ControlErrorList.C:
5609         * insets/insetbibitem.C:
5610         * insets/insetbranch.C:
5611         * insets/insetcaption.C:
5612         * insets/insetcollapsable.C:
5613         * insets/insetenv.C:
5614         * insets/insetert.C:
5615         * insets/insetfloat.C:
5616         * insets/insetfoot.C:
5617         * insets/insetfootlike.C:
5618         * insets/insetnewline.C:
5619         * insets/insetquotes.C:
5620         * insets/insettabular.C:
5621         * insets/insettext.C:
5622         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5623
5624         * frontends/controllers/ControlChanges.C: #include "changes.h".
5625
5626 2003-09-06  Angus Leeming  <leeming@lyx.org>
5627
5628         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5629         than #including paragraph.h.
5630
5631         * ParagraphList.h:
5632         * RowList.h: deleted. Superfluous.
5633
5634         * CutAndPaste.h:
5635         * iterators.h:
5636         * lyxcursor.h:
5637         * lyxtext.h:
5638         * text_funcs.h:
5639         * undo.h:
5640         * undo_funcs.h:
5641         * insets/inset.h:
5642         * insets/insettext.h: use ParagraphList_fwd.h rather than
5643         ParagraphList.h.
5644
5645         * paragraph.h: don't forward declare ParagraphList.
5646
5647         * buffer.h:
5648         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5649         rather than ParagraphList.h. paragraph.h is still needed for the
5650         Paragraph::depth_type parameters.
5651
5652         * textcursor.h: enable it to compile stand-alone in light of the
5653         above changes.
5654
5655         * bufferview_funcs.C:
5656         * iterators.C:
5657         * lyxfunc.C:
5658         * lyxrow_funcs.C:
5659         * paragraph.C:
5660         * rowpainter.C:
5661         * text.C:
5662         * text2.C:
5663         * text3.C:
5664         * text_funcs.C:
5665         * textcursor.C:
5666         * undo.C:
5667         * frontends/controllers/ControlParagraph.C:
5668         * frontends/controllers/ControlTabular.C:
5669         * insets/insetmarginal.C:
5670         * insets/insetminipage.C:
5671         * insets/insetnote.C:
5672         * insets/insetoptarg.C: add header files needed to compile again.
5673
5674 2003-09-06  Angus Leeming  <leeming@lyx.org>
5675
5676         * RowList_fwd.h: new file, forward-declaring Row rather than
5677         #including lyxrow.h.
5678
5679         * lyxrow_funcs.h:
5680         * lyxtext.h:
5681         * paragraph.h:
5682         * insets/insettext.h: use it instead of RowList.h
5683
5684         * bufferview_funcs.C:
5685         * lyxfunc.C:
5686         * lyxrow_funcs.C:
5687         * paragraph.C:
5688         * rowpainter.C:
5689         * text.C:
5690         * text2.C:
5691         * text3.C: #include "RowList.h".
5692
5693 2003-09-05  Angus Leeming  <leeming@lyx.org>
5694
5695         * factory.C (createInset):
5696         * vspace.C (c-tor): replace sscanf call with an istringstream.
5697         * ispell.C: re-add missing HP/UX headers.
5698         * lyxserver.C: re-add missing  os2 headers.
5699
5700 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5701
5702         * BranchList.C:
5703         * graph.C:
5704         * ispell.C:
5705         * lastfiles.C:
5706         * lyx_cb.C:
5707         * lyxserver.C:
5708         * texrow.C:
5709         * text3.C: re-add missing system headers, needed for 2.95.2.
5710
5711 2003-09-05  Angus Leeming  <leeming@lyx.org>
5712
5713         Changes most place everywhere due to the removal of using directives
5714         from support/std_sstream.h.
5715
5716 2003-09-05  Angus Leeming  <leeming@lyx.org>
5717
5718         Replace LString.h with support/std_string.h,
5719         Lsstream.h with support/std_sstream.h,
5720         support/LIstream.h with support/std_istream.h,
5721         support/LOstream.h with support/std_ostream.h.
5722
5723         Changes resulting throughout the tree.
5724
5725 2003-09-05  Angus Leeming  <leeming@lyx.org>
5726
5727         * sgml.h: ensure that the header file can be compiled stand-alone.
5728         * *.C: strip out redundant #includes. (320 in total.)
5729
5730 2003-09-04  Angus Leeming  <leeming@lyx.org>
5731
5732         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5733         here (from getPackages).
5734
5735         * debug.[Ch]: add a new EXTERNAL tag.
5736
5737 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5738
5739         * text2.C (cursorEnd): simplify
5740         (setCursor): adjust
5741         (getColumnNearX): adjust
5742
5743         * text.C (computeBidiTables): adjust
5744         (fill): adjust
5745
5746         * rowpainter.C (paintChars): adjust
5747         (paintSelection): adjust
5748         (paintChangeBar): adjust
5749         (paintText): adjust
5750
5751         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5752         lastPos instead.
5753         (numberOfSeparators): adjust
5754
5755 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5756
5757         * LyXAction.C:
5758         * box.[Ch]:
5759         * lfuns.h:
5760         * lyxfunc.C:
5761         * text3.C: Restricts the mouse click functionality
5762         of insets like bibtex, include, toc and floatlist to the visible
5763         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5764         up the dialogs. Cursor has to be in front of the inset (i.e.
5765         start of row) for this to function.
5766
5767 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5768
5769         * bufferview_funcs.C (currentState): output row information
5770
5771 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5772
5773         * bufferview_funcs.C (currentState): output paragraph position
5774
5775 2003-09-04  Angus Leeming  <leeming@lyx.org>
5776
5777         * FloatList.h: move out #include "Floating.h".
5778         * LaTeX.h: move out #include "DepTable.h".
5779         * LyXAction.h: move out #include "funcrequest.h".
5780         * buffer.h: move out #include "author.h", "iterators.h".
5781         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5782         * lyx_main.h: move out #include "errorlist.h".
5783         * lyxfunc.h: move out #include "FuncStatus.h".
5784         * lyxtext: move out #include "lyxcursor.h".
5785         * paragraph_pimpl.h: move out #include "counters.h".
5786
5787 2003-09-03  Angus Leeming  <leeming@lyx.org>
5788
5789         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5790         preamble_snippets list, enabling us to add snippets to the preamble
5791         only if the snippet was not there already.
5792
5793 2003-09-04  Angus Leeming  <leeming@lyx.org>
5794
5795         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5796
5797 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5798
5799         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5800         update
5801
5802 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5803
5804         * BranchList.C: point fix, earlier forgotten
5805
5806 2003-09-02  Angus Leeming  <leeming@lyx.org>
5807
5808         * box.C (contains): renamed from 'contained' after a fantastic
5809         amount of hot air.
5810
5811 2003-09-02  John Levon  <levon@movementarian.org>
5812
5813         * BufferView.C:
5814         * lyxcursor.h:
5815         * lyxcursor.C:
5816         * lyxfunc.C:
5817         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5818
5819 2003-09-02  John Levon  <levon@movementarian.org>
5820
5821         * text2.C: simplification of cursorEnd(), including partial
5822         fix for bug 1376
5823
5824 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5825
5826         * buffer.C (readFile): add a space
5827
5828 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5829
5830         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5831
5832 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5833
5834         * buffer.C (readFile): new function, take a filename and a
5835         ParagraphList::iterator
5836         (readFile): adjust
5837         (readFile): adjust, make it private. don't use setStream, make
5838         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5839         always contain the filename.
5840
5841         * BufferView.C (insertLyXFile): simplify and make it work for
5842         gzipped files.
5843
5844 2003-08-30  John Levon  <levon@movementarian.org>
5845
5846         * Makefile.am: fix dist (from Kayvan)
5847
5848 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5849
5850         * most files: change to use const Buffer refs
5851
5852 2003-08-27  André Pönitz  <poenitz@gmx.net>
5853
5854         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5855         on top of ownerPar().
5856
5857 2003-08-27  John Levon  <levon@movementarian.org>
5858
5859         * funcrequest.C: properly initialise POD members
5860
5861 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5862
5863         * lyxtext.h (top_y): move top_y from here
5864         * text.C:
5865         * text2.C:
5866         * text3.C:
5867         * BufferView.[Ch]:
5868         * BufferView_pimpl.[Ch]: to here
5869         * frontends/screen.C:
5870         * insets/insettabular.C:
5871         * insets/insettext.C: adjust
5872         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5873
5874 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5875
5876         * BufferView.[Ch]:
5877         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5878
5879 2003-08-26  André Pönitz  <poenitz@gmx.net>
5880
5881         * paragraph_func.[Ch] (outerPar): new function
5882
5883         * paragraph.C:
5884         * paragraph_funcs.C:
5885         * paragraph_funcs.h:
5886         * paragraph_pimpl.C:
5887         * text2.C: remove Inset::par_owner
5888
5889 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5890
5891         * lyxrow_funcs.C:
5892         * lyxtext.h:
5893         * text.C:
5894         * text2.C: eliminates the needFullRow/display() stuff
5895         altogether, putting the logic in metrics/draw in the insets.
5896
5897 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5898
5899         * text2.C (redoParagraphInternal, redoParagraphs):
5900         * text.C (redoParagraph): add a call to updateRowPositions at the
5901         end of each 'metrics-like' call. Remove all others.
5902         (getRow): remove the 'y-computing' version.
5903         (getRowNearY): do not compute nor return the real y. Solve the
5904         'y < 0' problem and simplify.
5905
5906 2003-08-22  Angus Leeming  <leeming@lyx.org>
5907
5908         * *.[Ch]: clean-up of licence and author blurbs.
5909         Also move config.h out of a few .h files and into a few .C files.
5910
5911 2003-08-22  André Pönitz  <poenitz@gmx.net>
5912
5913         * lyxrow.[Ch]: add x_ and *fill_ members
5914
5915         * lyxtext.h:
5916         * text.C:
5917         * rowpainter.C:
5918         * text2.C: adjust/remove prepareToPrint() calls
5919
5920 2003-08-22  André Pönitz  <poenitz@gmx.net>
5921
5922         * lyxrow.[Ch]: add  end_ member
5923
5924         * lyxrow_funcs.C: use LyXRow::end_
5925
5926         * lyxtext.h (singleWidth): add LyXFont parameter
5927
5928         * rowpainter.C:
5929         * text2.C: adjust LyXText::singleWidth() calls
5930
5931         * text.C (redoParagraph): simplify row breaking logic
5932
5933
5934 2003-08-19  André Pönitz  <poenitz@gmx.net>
5935
5936         * funcrequest.C: initialize button_ member
5937
5938         * text3.C:
5939         * rowpainter.[Ch]: interface consolidation
5940
5941 2003-08-18  André Pönitz  <poenitz@gmx.net>
5942
5943         * BufferView.C:
5944         * BufferView_pimpl.C:
5945         * lyxfind.C:
5946         * paragraph_funcs.C:
5947         * rowpainter.C:
5948         * text3.C: remove LyXScreen::draw() and fitCursor calls
5949
5950         * BranchList.h: remove spurious semicolons
5951
5952         * MenuBackend.C: fix branchlist related crash
5953
5954 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5955
5956         * BranchList.[Ch]:
5957         * InsetList.[Ch]:
5958         * LColor.[Ch]:
5959         * LyXAction.C:
5960         * Makefile.am:
5961         * MenuBackend.[Ch]:
5962         * bufferparams.[Ch]:
5963         * factory.C:
5964         * lfuns.h:
5965         * lyxfunc.C:
5966         * text3.C: implements the 'branch inset'
5967         idea. This allows the output of various versions of a document
5968         from a single source version, selectively outputing or suppressing
5969         output of parts of the text.
5970         This implementation contains a 'branch list editor' in a separate
5971         tab of the document settings dialog. Branches are user definable
5972         and have a "display colour" to distinguish them on-screen.
5973
5974         ColorHandler was somewhat cleaned up.
5975         (1) make possible a dynamically growing LColor list by allowing
5976         the graphic context cache to grow along (vector);
5977         (2) eliminate an IMHO unnecessary step in colour allocation.
5978
5979 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5980
5981         * BufferView_pimpl.C: compile fix
5982
5983 2003-08-15  André Pönitz  <poenitz@gmx.net>
5984
5985         * rowpainter.C: remove extra metrics calls
5986
5987         * lyxtext.h: merge the two constructors into a single one,
5988           pass reference to owner's par list
5989
5990         * BufferView_pimpl.C:
5991         * text.C:
5992         * text2.C: adjust
5993
5994 2003-08-15  André Pönitz  <poenitz@gmx.net>
5995
5996         * lyxrow_funcs.[Ch]:
5997         * lyxtext.h:
5998         * paragraph.h:
5999         * paragraph_funcs.C:
6000         * rowpainter.C:
6001         * text.C:
6002         * text2.C:
6003         * text3.C:
6004         * text_funcs.C: split LyXText::rowlist_ into individual
6005         Paragraph::rows_ chunks
6006
6007         * BufferView.[Ch]:
6008         * BufferView_pimpl.[Ch]:
6009         * lyxfind.C:
6010         * lyxtext.h:
6011         * text3.C: remove toggleSelection()
6012
6013 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6014
6015         * bufferlist.C: beautify two alerts (shorter text of buttons)
6016         * buffer.C: Remove redundant ' ' from message
6017         * tabular.h:
6018         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6019         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6020         rename VALIGN_CENTER to VALIGN_MIDDLE
6021
6022 2003-08-11  André Pönitz  <poenitz@gmx.net>
6023
6024         * lyxtext.h (getPar):
6025         * text.C: new function
6026
6027 2003-08-11  André Pönitz  <poenitz@gmx.net>
6028
6029         * Makefile.am:
6030         * tracer.[Ch]: remove unneeded files
6031
6032         * InsetList.[Ch]: remove resizeInsetsLyXText()
6033
6034         * lyxtext.h:
6035         * text.C:
6036         * text2.C:
6037         * text3.C: merge insertParagraphs() and appendParagraph()
6038         remove breakAgain(), update()
6039
6040         * BufferView_pimpl.[Ch]:
6041         * bufferview_funcs.[Ch]:
6042         * lyxfunc.C:
6043         * paragraph.[Ch]:
6044         * rowpainter.C:
6045         * tabular.C: adjust after text & InsetList changes.
6046
6047 2003-08-08  André Pönitz  <poenitz@gmx.net>
6048
6049         * text.C (insertChar, backspace): replace rowlist fiddling
6050         with rebreak of full par
6051
6052         * lyxtext.h:
6053         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6054         checkParagraph, updateInset): removed
6055
6056 2003-08-07  André Pönitz  <poenitz@gmx.net>
6057
6058         * paragraph.C:
6059         * text3.C: merge some LFUN handlers, remove dead code
6060
6061 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6062
6063         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6064
6065 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6066
6067         * text2.C (DEPM): fix part of bug 1255 and 1256
6068
6069 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6070
6071         * BufferView_pimpl.C (workAreaDispatch): change to use
6072         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6073         that are no mouse related.
6074
6075 2003-08-05  André Pönitz  <poenitz@gmx.net>
6076
6077         * BufferView.[Ch]:
6078         * BufferView_pimpl.[Ch]:
6079         * bufferview_funcs.C:
6080         * text2.C:
6081         * text3.C: rip out "deep update"
6082
6083         * textcursor.[Ch] (last_sel_cursor): remove unused member
6084
6085 2003-08-04  André Pönitz  <poenitz@gmx.net>
6086
6087         * BufferView.[Ch]:
6088         * BufferView_pimpl.[Ch]:
6089         * ParagraphParameters.C:
6090         * bufferview_funcs.C:
6091         * lyx_cb.C:
6092         * lyxfind.C:
6093         * lyxfunc.C:
6094         * text.C:
6095         * text2.C:
6096         * text3.C: replace "complicated" BufferView::update(...) calls with
6097         simpler ones.
6098
6099         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6100
6101 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6102
6103         * Makefile.am (lyx_SOURCES): add paper.h
6104
6105 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6106
6107         * Makefile.am: move things around so that both lyx-qt and
6108         lyx-xforms can be built (according to --with-frontend). Then lyx
6109         is a symbolic link to lyx-[firstfrontend]
6110
6111 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6112
6113         * Always use std::endl with lyxerr
6114
6115 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6116
6117         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6118
6119 2003-08-01  André Pönitz  <poenitz@gmx.net>
6120
6121         * BufferView.[Ch]:
6122         * BufferView_pimpl.[Ch]:
6123         * lyxfunc.C:
6124         * text3.C: merge BufferView::repaint() and BufferView::update()
6125
6126 2003-08-01  José Matos  <jamatos@lyx.org>
6127
6128         * buffer.[Ch]: file_format is no longer a buffer data element.
6129
6130 2003-08-01  André Pönitz  <poenitz@gmx.net>
6131
6132         * BufferView.C:
6133         * lyxtext.h:
6134         * text.C:
6135         * text2.C: make redoParagraph more independent of current cursor
6136
6137         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6138         * text.C:
6139         * text2.C: remove unneeded members
6140
6141 2003-07-30  André Pönitz  <poenitz@gmx.net>
6142
6143         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6144
6145         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6146           create a single function...
6147
6148         * paragraph_funcs.C (moveItem): ... here.
6149
6150         * text.C:
6151           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6152
6153 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6154
6155         * LColor.[Ch]: Add comment and greyedout logical colors.
6156
6157 2003-07-30  André Pönitz  <poenitz@gmx.net>
6158
6159         * tabular.C: don't use Assert too heavily. This crashes where it
6160           shouldn't
6161
6162 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6163
6164         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6165         is disabled (bug 1232)
6166
6167 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6168
6169         * factory.C: limited 'arg' scope
6170
6171 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6172
6173         * factory.C: fixed Note submenu issues
6174
6175 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6176
6177         * factory.C: submenu for Note/Comment/Greyedout
6178
6179 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6180
6181         * lyx_main.C (LyX):
6182         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6183
6184 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6185
6186         * LaTeXFeatures.C:
6187         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6188         greyedout. Patch provided by Jürgen Spitzmüller.
6189
6190 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6191
6192         * kbmap.C (read): fix error message when reading bind files
6193
6194 2003-07-29  Angus Leeming  <leeming@lyx.org>
6195
6196         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6197         certainly does not do what it purports to do. I am doing it, and
6198         us, a favour by killing it.
6199
6200 2003-07-28  José Matos  <jamatos@lyx.org>
6201
6202         * buffer.C (readBody, do_writeFile):
6203         * paragraph.C(readParagraph): \end_document replaces \the_end.
6204
6205 2003-07-29  André Pönitz  <poenitz@gmx.net>
6206
6207         * BufferView.[Ch]:
6208         * BufferView_pimpl.[Ch]:
6209         * lyxfunc.C:
6210         * text2.C:
6211         * text3.C:
6212         * textcursor.[Ch]: remove toggleToggle & Co
6213
6214 2003-07-28  José Matos  <jamatos@fep.up.pt>
6215
6216         * buffer.C (readParagraph):
6217         * params_func (readParToken, readParagraph):
6218         * paragraph.C (write): \layout -> \begin_layout.
6219
6220 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6221
6222         * lyxlex_pimpl.C (setFile): clean up slightly.
6223
6224         * bufferparams.h: add compressed var
6225
6226         * buffer_funcs.C (readFile): adjust for LyXLex change
6227         (newFile): ditto + simplify
6228
6229         * buffer.C (writeFile): handle writing of compressed files
6230
6231         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6232         Check if the file is compressed and set a bufferparm if so.
6233
6234         * Makefile.am (lyx_LDADD): remove explicit -lz
6235
6236 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6237
6238         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6239         makeDocBookFile): put the real LyX version in the first line of
6240         the file
6241
6242         * version.h:
6243         * version.C.in: remove lyx_docversion
6244
6245         * tabular.C (write_attribute): add a template-based version to
6246         write enums properly
6247
6248 2003-07-28  André Pönitz  <poenitz@gmx.net>
6249
6250         * lyxtext.h:
6251         * text.C:
6252         * text2.C:
6253         * text3.C: use doubles again for x-coordinates. They are needed.
6254
6255 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6256
6257         * messages.C (getLocaleDir): use lyx_localedir()
6258
6259         * lyxlex_pimpl.C (setFile): compress stuff
6260
6261         * buffer.C (writeFile): add some compression stuff
6262         (do_writeFile): new func, dont call expliti close... will this
6263         breake anything?
6264
6265         * Makefile.am (lyx_LDADD): add -lz
6266
6267 2003-07-28  José Matos  <jamatos@fep.up.pt>
6268
6269         * buffer.C: increment file format.
6270         * paragraph_funcs (readParagraph, readParToken):
6271         * paragraph.C (readParagraph): add \end_layout.
6272
6273 2003-07-27  Angus Leeming  <leeming@lyx.org>
6274
6275         * Makefile.am: remove special casing for configure-time setting of
6276         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6277
6278         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6279         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6280
6281 2003-07-26  André Pönitz  <poenitz@gmx.net>
6282
6283         * paragraph_func.[Ch]:
6284         * paragraph.C (realizeFont): inline it whereever it is used
6285
6286         * rowpainter.C:
6287         * text.C:
6288         * text2.C:
6289         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6290
6291
6292 2003-07-26  André Pönitz  <poenitz@gmx.net>
6293
6294         *       lyxtext.h:
6295         * text.C:
6296         * text2.C: get rid of LyXText::need_break_row
6297
6298 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6299
6300         * toc.[Ch]: put namespace toc inside namespace lyx
6301
6302         * MenuBackend.C (expandToc2): adjust for lyx::toc
6303         (expandToc): ditto
6304
6305         * lyxfunc.C (dispatch): adjust for lyx::find
6306
6307         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6308         lyx::find instead. Reorganize a bit.
6309         (LyXReplace): rename to replace
6310         (LyXFind): rename to find
6311
6312         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6313         (dispatch): ditto
6314
6315 2003-07-26  André Pönitz  <poenitz@gmx.net>
6316
6317         * text.C (setHeightOfRow): restrict scope of temporary variable
6318
6319         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6320           code (never has been used?)
6321
6322 2003-07-27  Asger Alstrup  <alstrup@local>
6323
6324         * text.C (fill): Optimise algorithm to exploit that we can reuse
6325         the LyXFont for many characters.
6326         (setHeightOfRow): Same thing.
6327         (rowBreakPoint): Same thing.
6328
6329 2003-07-26  Asger Alstrup  <alstrup@local>
6330
6331         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6332
6333         * text.C (singleWidth): Spurious font copying in hot-spot
6334         singleWidth avoided. Reorder tests for arabic for efficiency.
6335
6336         * text.C (fill): handle empty paragraphs better.
6337
6338 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6339
6340         * ispell.C:
6341         * encoding.h: add includes
6342
6343         * lyxrc.C: remove reading of bind files
6344
6345         * lyx_main.C (init): setup bindings and menus only if we have a
6346         gui.
6347
6348         * kbmap.C (read): new method. Do the actual reading of bind
6349         files.
6350
6351         * converter.C (dvipdfm_options):
6352         * bufferparams.C:
6353         * lyxrc.C (read):
6354         (output): adapt PAPER_* enums.
6355
6356         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6357
6358         * bufferparams.h: remove paper-related enums from there
6359
6360         * paper.h: New file. A trivial header file to hold paper-related
6361         enums. It should later expand to contain many paper-related
6362         horrors access.
6363
6364         * lyxrc.C: declare extern displayTranslator
6365
6366 2003-07-27  José Matos  <jamatos@fep.up.pt>
6367
6368         * tabular.[Ch] (linuxdoc): add support for tables and figures
6369         (linuxdoc).
6370
6371 2003-07-27  José Matos  <jamatos@fep.up.pt>
6372
6373         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6374         consistency in both functions.
6375         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6376
6377 2003-07-26  Asger Alstrup  <alstrup@local>
6378
6379         * rowpainter.C (paintRows): Change algorithm to work directly on
6380         the insets rather than asking every character in the document
6381         whether its an inset.
6382
6383 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6384
6385         * buffer.C (openFileWrite): factorize some code
6386
6387 2003-07-26  Angus Leeming  <leeming@lyx.org>
6388
6389         * lyx_cb.C:
6390         * lyx_main.[Ch]: replace occurances of system_tempdir with
6391         os::getTmpDir().
6392
6393 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6394
6395         * rename Inset to InsetOld
6396
6397 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6398
6399         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6400         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6401         which I think is a bit clearer. EDIT is gone, since it was
6402         premature optimisation, and broken for mathed anyway.
6403         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6404         with cursor positioning in insets as well (math insets still do not
6405         work, but that's a different story anyway.) It mysteriously
6406         crashes sometimes with undo in the first paragraph, but I'm fairly
6407         confident that this is a compiler bug.
6408
6409 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6410
6411         * paragraph.C (Paragraph): adjust for new clone return type
6412         (operator==): ditto
6413         (copyIntoMinibuffer): ditto
6414
6415 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6416
6417         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6418         by not having a special case, and always doing a full rebreak of
6419         the document after undo.
6420
6421 2003-07-23  Angus Leeming  <leeming@lyx.org>
6422
6423         * factory.C (createInset): InsetExternal::setParams now takes a
6424         Buffer const * arg.
6425
6426 2003-07-23  Angus Leeming  <leeming@lyx.org>
6427
6428         * factory.C (createInset): changed interface to the external and
6429         graphics mailers' string2params functions.
6430
6431 2003-07-23  Angus Leeming  <leeming@lyx.org>
6432
6433         * factory.C (createInset): pass a
6434         Buffer const * parameter to InsetExternalMailer's string2params.
6435
6436 2003-07-22  John Levon  <levon@movementarian.org>
6437
6438         * Thesaurus.h: include the right aiksaurus header
6439
6440 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6441
6442         * MenuBackend.C (expand): check menu shortcuts unconditionally
6443
6444 2003-07-21  Angus Leeming  <leeming@lyx.org>
6445
6446         * factory.C (createInset): pass a
6447         buffer_path parameter to InsetGraphicsMailer's string2params.
6448
6449 2003-07-21  Angus Leeming  <leeming@lyx.org>
6450
6451         * BufferView_pimpl.C (buffer):
6452         * buffer.C (d-tor):
6453         * lyx_main.C (LyX):
6454         * lyxfunc.C (dispatch):
6455         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6456         rather than the grfx shortcut.
6457
6458 2003-07-21  André Pönitz  <poenitz@gmx.net>
6459
6460         * rowpainter.C: remove unused variables
6461
6462         * tabular_funcs.C:
6463         * tabular_funcs.h: move to tabular.C
6464         * Makefile.am: adjust
6465
6466         * tabular.[Ch]: basic optical cleaning
6467
6468         * author.h: pass references, not values
6469
6470 2003-07-18  André Pönitz  <poenitz@gmx.net>
6471
6472         * lyxtext.h:
6473         * metricsinfo.C:
6474         * metricsinfo.h:
6475         * rowpainter.C:
6476         * text.C:
6477         * text2.C:
6478         * text3.C: two-phase drawing for InsetText and InsetTabular
6479         some float -> int changes.
6480
6481 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6482
6483         * lyx_main.C: fix the fix
6484
6485 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6486
6487         * lyx_main.C: fix a crash in batch mode if no files specified
6488         * converter.C: ws
6489
6490 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6491
6492         * format.[Ch] (papersize): moved to BufferParams
6493         * converter.[Ch] (dvips_options): moved to BufferParams
6494         (dvipdfm_options): moved to anon namespace
6495         * bufferparams.[Ch]: added above functions.
6496
6497 2003-07-17  André Pönitz  <poenitz@gmx.net>
6498
6499         * lyxtext.h:
6500         * rowpainter.C:
6501         * text2.C: don't call inset->update() anymore
6502
6503         * metricsinfo.[Ch]: add convenience constructor
6504
6505 2003-07-16  André Pönitz  <poenitz@gmx.net>
6506
6507         * lyxcursor.[Ch]:
6508         * lyxfunc.[Ch]:
6509         * text.C:
6510         * text2.C: replace the LyXCursor::irow_ member with
6511          on-demand computation of the value
6512
6513 2003-07-16  John Levon  <levon@movementarian.org>
6514
6515         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6516
6517 2003-07-15  André Pönitz  <poenitz@gmx.net>
6518
6519         * text.C:
6520         * text2.C: remove no more needed refresh_row
6521
6522 2003-07-15  André Pönitz  <poenitz@gmx.net>
6523
6524         * lyxtext.h:
6525         * rowpainter.C:
6526         * text2.C:
6527         * text3.C: refresh_status tristate -> need_update bool
6528
6529 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6530
6531         * lyxtext.h (init): remove reinit argument (act as if always true)
6532         * text2.C: adjust to that
6533
6534 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6535
6536         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6537         * text3.C: use it to delete selections in some cases
6538         (bugs 441, 673, 702, 954).
6539
6540 2003-07-14  André Pönitz  <poenitz@gmx.net>
6541
6542         * rowpainter.[Ch]: reduce interface
6543
6544 2003-07-14  André Pönitz  <poenitz@gmx.net>
6545
6546         * BufferView_pimpl.C:
6547         * text2.C: adjust after removing unused BufferView * argument
6548
6549 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6550
6551         * text2.C (init): fix a crash fired on resize
6552
6553 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6554
6555         * buffer.[Ch]: added new closing signal
6556         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6557         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6558         BufferView::Pimpl via the closing the signal
6559
6560 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6561
6562         * buffer.[Ch]: take out all bv-related from buffer
6563         * BufferView.C:
6564         * BufferView_pimpl.[Ch]: connect to new signals
6565         * CutAndPaste.C: removed useless asserts
6566         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6567         * lyxvc.[Ch]:
6568         * vc-backend.[Ch]:
6569         * lyxfunc.C: moved view-related funciontality from vc here
6570         * paragraph.C: removed outdated comments
6571         * text.C: ws
6572
6573 2003-07-10  André Pönitz  <poenitz@gmx.net>
6574
6575         * BufferView_pimpl.C:
6576         * tabular.h:
6577         * tabular_funcs.C:
6578         * text.C:
6579         * text2.C: remove InsetText::InnerCache, clean up consequences
6580
6581 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6582
6583         * ispell.C: fix two typos in error messages
6584
6585 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6586
6587         * Extend Note inset to other forms of annotation like Comment
6588         and Greyedout. Right button click gives dialog.
6589
6590         Files modified or added (+):
6591
6592         * insetnote.[Ch]
6593         * FormNote.[Ch]      +
6594         * ControlNote.[Ch]   +
6595         * form_note.fd       +
6596         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6597         frontends/controllers
6598         * xforms/Dialogs.C
6599         * factory.C
6600
6601 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6602
6603         * aspell.C: add missing namespace lyx::support
6604
6605 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6606
6607         * BufferView.[Ch] (newFile): Add
6608         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6609         * LaTeX.[Ch] (message): added this signal and use it
6610         * buffer.[Ch] (busy, message): added these signals and use them
6611         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6612         * converter.C:
6613         * exporter.C:
6614         * format.C:
6615         * importer.C: use buffer signals instead of direct bv calling
6616         * lyx_cb.[Ch] (ShowMessage): removed
6617         * lyx_main.C:
6618         * lyxfunc.C:
6619         * paragraph_funcs.C:
6620         * text2.C: use buffer signals
6621
6622 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6623
6624         * introduce namespace lyx::graphics
6625
6626 2003-07-02  André Pönitz  <poenitz@gmx.net>
6627
6628         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6629
6630 2003-07-01  André Pönitz  <poenitz@gmx.net>
6631
6632         * text.C:
6633         * text2.C:
6634         * text3.C:
6635         * text_funcs.[Ch]:
6636         * textcursor.h:
6637         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6638           text*.C to text_func.C
6639
6640 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6641
6642         * introduce namespace lyx::support
6643
6644 2003-06-30  André Pönitz  <poenitz@gmx.net>
6645
6646         * Chktex.C:
6647         * funcrequest.C:
6648         * lyxtext.h:
6649         * text.C: re-enable --with-included-string
6650
6651 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6652
6653         * textcursor.C: add <config.h>
6654
6655         * text.C (getWord): remove const from word_location arg
6656
6657         * lyxvc.C (getLogFile): fix const type order
6658
6659         * lyxtext.h: remove const from word_location arg, add arg name
6660
6661         * lyxlayout.h: currect type on labeltype.
6662
6663         * importer.C: correct \file
6664
6665         * converter.C (intToFormat): use std:: on ret val, ws changes
6666
6667         * bufferlist.h: correct \file
6668
6669         * buffer.C (makeLinuxDocFile): fix const type order
6670         (makeDocBookFile): ditto
6671         (fillWithBibKeys): use std:: on stdlib args.
6672
6673         * CutAndPaste.C: fix authors.
6674         (availableSelections): use std:: on return vector
6675
6676 2003-06-27  André Pönitz  <poenitz@gmx.net>
6677
6678         * BufferView_pimpl.C:
6679         * bufferview_funcs.C:
6680         * lyxcursor.C:
6681         * lyxcursor.h:
6682         * lyxfunc.C:
6683         * lyxtext.h:
6684         * rowpainter.C:
6685         * text.C:
6686         * text2.C:
6687         * text3.C: remove LyXCursor::row_ member
6688
6689         * lyxtext.h:
6690         * text.C: rename fullRebreak() to partialRebreak() and implement
6691           a fullRebreak() that really bereks fully
6692
6693         * textcursor.h: new struct for cursor-related data
6694
6695 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6696
6697         * lyx_main.C (LyX): get full path of document loaded on the
6698         command line
6699
6700 2003-06-26  André Pönitz  <poenitz@gmx.net>
6701
6702         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6703           remove unused/broken operator>,<,>=.
6704
6705         *       text.C: remove only use of broken operator<= in an Assert().
6706
6707 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6708
6709         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6710         moved errorlist_.clear to showErrorList
6711
6712 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6713
6714         * converter.C (scanLog, runLaTeX):
6715         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6716         move the bv->showErrorList call to the callers
6717         * lyxfunc.C: i.e. here...
6718         * text2.C: and here
6719         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6720         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6721         namespace, the second to...
6722         * buffer_funcs (BufferFormat, parseErrors): added
6723         * errorlist.C (ErrorList(TeXErrors const &)): removed
6724
6725 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6726
6727         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6728
6729 2003-06-24  "Garst R. Reese" <reese@isn.net>
6730
6731         * debug.C: fix typo
6732
6733 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6734
6735         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6736
6737         * version.C.in: change docversion to 1.4
6738
6739 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6740
6741         * buffer.C: fix a bug just introduced
6742
6743 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6744
6745         * buffer.[Ch]: added the parseError signal and use it, removed
6746         sgmlError
6747         * BufferView.[Ch] (addError): moved to ...
6748         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6749         to the Buffer::parseError signal to catch (guess what) parse errors
6750         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6751
6752 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6753
6754         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6755         ability to create a buffer and to return an existing one from
6756         the list. Moved these functions to...
6757         * buffer_funcs.[Ch]: added
6758         * BufferView.[Ch] (loadLyXFile): added
6759         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6760         job removed from bufferlist::loadLyXFile.
6761         * buffer.C (setReadOnly): make it work without view
6762         (i.e added an if (users))
6763
6764 2003-06-19  Angus Leeming  <leeming@lyx.org>
6765
6766         * lfuns.h:
6767         * LyXAction.C (init):
6768         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6769         with LFUN_DIALOG_SHOW <name> <data>.
6770
6771 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6772
6773         * CutAndPaste.C (availableSelections): small compilation fix for
6774         ancient (gcc 2.9x) compilers
6775
6776 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6777
6778         * text3.C (cursorNext): add tmp var
6779
6780         * text2.C (updateCounters): for function calling out of for clause
6781         (replaceSelectionWithString): ditto
6782         (insertStringAsParagraphs): ditto
6783         (getColumnNearX): add tmp var
6784         (setCursorFromCoordinates): add tmp var
6785         (cursorDownParagraph): add tmp var
6786         (deleteEmptyParagraphMechanism): add tmp var
6787
6788         * text.C (insertChar): add tmp var
6789
6790         * rowpainter.C (paintDepthBar): add tmp var
6791
6792         * CutAndPaste.C (availableSelections): potentially check all
6793         paragraphs in a cut to fill the shown strings.
6794
6795 2003-06-18  André Pönitz  <poenitz@gmx.net>
6796
6797         * kbmap.[Ch]: use vector<> instead of list<>
6798
6799 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6800
6801         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6802         pasteSelection with index
6803
6804         * text2.C (pasteSelection): modify, call pasteSelection with index
6805
6806         * paragraph.C (asString): reimplement version with no interval to
6807         call the one with interval.
6808
6809         * lyxtext.h: add index arg to pasteSelection
6810
6811         * MenuBackend.C (MenuItem): handle PasteRecent
6812         (Menu::read::Menutags): add md_pasterecent
6813         (read): handle it
6814         (expandPasteRecent): new function
6815         (expand): use it
6816
6817         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6818
6819         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6820         the limited stack
6821         (availableSelections): new function
6822
6823 2003-06-17  Angus Leeming  <leeming@lyx.org>
6824
6825         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6826
6827 2003-06-17  Angus Leeming  <leeming@lyx.org>
6828
6829         * lfuns.h:
6830         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6831
6832         * lyxfunc.C (dispatch): invoke it.
6833
6834 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6835
6836         * iterators.C (operator++, ParPosition): reintroduce some
6837         const_cast for the benefit of older compilers.
6838
6839 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6840
6841         * text3.C (dispatch): do not modify clipboard when doing
6842         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6843         LFUN_DELETE_SKIP on a selection selection
6844
6845 2003-06-16  André Pönitz  <poenitz@gmx.net>
6846
6847         * BufferView.C:
6848         * buffer.C:
6849         * buffer.h:
6850         * paragraph.C:
6851         * tabular.[Ch]: IU of clone() and getLabelList();
6852
6853 2003-06-13  André Pönitz  <poenitz@gmx.net>
6854
6855         * tabular.h: compactification
6856
6857 2003-06-12  André Pönitz  <poenitz@gmx.net>
6858
6859         * tabular.C:
6860         * tabular.h:
6861         * tabular_funcs.h: some renaming plus whitespace
6862
6863 2003-06-12  André Pönitz  <poenitz@gmx.net>
6864
6865         * BufferView.C:
6866         * BufferView_pimpl.C:
6867         * CutAndPaste.C:
6868         * buffer.C:
6869         * iterators.[Ch]:
6870         * lyxfunc.C:
6871         * text.C:
6872         * toc.C: Return a Paragraph & for ParIterator::operator*()
6873
6874 2003-06-11  John Levon  <levon@movementarian.org>
6875
6876         * lyx_main.C:
6877         * ToolbarBackend.h:
6878         * ToolbarBackend.C: add "Toolbars" section and
6879         put the flags there
6880
6881 2003-06-10  Angus Leeming  <leeming@lyx.org>
6882
6883         * lfuns.h:
6884         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6885
6886         * lyxfunc.C (dispatch): invoke it.
6887
6888 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6889
6890         * main.C: protect <ios> with HAVE_IOS
6891         (main): protect sync_with_stdio with HAVE_IOS
6892
6893 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6894
6895         * text2.C (cutSelection): adjust
6896         (pasteSelection): adjust
6897
6898         * messages.C: handle get of empty string
6899
6900         * main.C (main): use sync_with_stdio(false)
6901
6902         * lyxfunc.C (dispatch): adjust
6903
6904         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6905         (WriteAs): remove unneeded BufferView arg.
6906
6907         * bufferparams.h: use correct types on papersize, papersize2 and
6908         paperpackage.
6909
6910         * bufferparams.C (readToken): adjust for type
6911         (writeLaTeX): add missing cases to switch.
6912
6913         * bufferlist.C (quitWriteBuffer): adjust
6914         (close): adjust
6915
6916         * buffer.C (asciiParagraph): remove some commented code.
6917
6918         * CutAndPaste.C: remove current_view extern variable.
6919         (cutSelection): add BufferParams arg.
6920         (eraseSelection): add BufferParams arg.
6921         (pasteSelection): add Buffer const & arg
6922
6923 2003-06-07  John Levon  <levon@movementarian.org>
6924
6925         * buffer.C:
6926         * paragraph_funcs.C:
6927         * paragraph_pimpl.C:
6928         * text.C:
6929         * text2.C:
6930         * paragraph.h:
6931         * paragraph.C: allow InsetERT to freely space lines,
6932         and some consolidation of code
6933
6934 2003-06-06  José Matos  <jamatos@fep.up.pt>
6935
6936         * buffer.C (makeDocBookFile): fix bug #821
6937
6938 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6939
6940         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6941
6942 2003-06-04  Angus Leeming  <leeming@lyx.org>
6943
6944         * buffer.C: bump format to 224.
6945
6946 2003-06-05  André Pönitz  <poenitz@gmx.net>
6947
6948         * text2.C (redoParagraphs): remove two const_cast<>
6949
6950 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6951
6952         * ParagraphList.h: remove last remnants of NO_STD_LIST
6953
6954 2003-06-03  Angus Leeming  <leeming@lyx.org>
6955
6956         * factory.C (createInset): small change to the way InsetExternal's params
6957         are set.
6958
6959 2003-06-04  André Pönitz  <poenitz@gmx.net>
6960
6961         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6962
6963         * paragraph_pimpl.h:
6964         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6965
6966         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6967
6968         * undo_funcs.C: make some simple cases of undo work again
6969
6970 2003-06-03  John Levon  <levon@movementarian.org>
6971
6972         * ispell.C: HPUX doesn't have sys/select.h
6973         (from Albert Chin)
6974
6975 2003-06-03  John Levon  <levon@movementarian.org>
6976
6977         * CutAndPaste.C: update tabular and include inset
6978         buffer references
6979
6980         * buffer.h:
6981         * paragraph.h:
6982         * paragraph.C: remove owningBuffer(), don't pass Buffer
6983         to clone()
6984
6985         * factory.C: insetGraphicsParams changed
6986
6987 2003-06-02  John Levon  <levon@movementarian.org>
6988
6989         * LyXAction.C:
6990         * factory.C:
6991         * lfuns.h:
6992         * lyxfunc.C:
6993         * text3.C: remove insetparent
6994
6995 2003-06-02  John Levon  <levon@movementarian.org>
6996
6997         * buffer.h:
6998         * buffer.C: fix inset_iterator.end(), move out of line
6999         (bug 1149)
7000
7001 2003-06-01  John Levon  <levon@movementarian.org>
7002
7003         * text3.C: use a proper cut/paste when doing inset
7004         insert (from Jürgen Spitzmüller)
7005
7006 2003-06-01  John Levon  <levon@movementarian.org>
7007
7008         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7009
7010 2003-05-30  André Pönitz  <poenitz@gmx.net>
7011
7012         * rowpainter.C: unify second drawing phase
7013
7014 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7015
7016         * trans_mgr.C: remove one case of current_view
7017
7018         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7019
7020         * paragraph_funcs.h: remove paragraph.h include
7021
7022         * paragraph.h: delete NO_STD_LIST stuff
7023
7024         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7025
7026         * buffer.h: remove paragraph.h include
7027
7028         * ParagraphList.C: delete file
7029
7030         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7031
7032         * toc.C (getTocList): adjust
7033
7034         * paragraph_pimpl.C (validate): adjust
7035
7036         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7037
7038         * paragraph.C (Paragraph): adjust
7039         (getPositionOfInset): use const_iterator, adjust
7040         (bibitem): use const_iterator, adjust
7041         (setInsetOwner): adjust
7042
7043         * iterators.C (operator++): adjust
7044
7045         * InsetList.[Ch]: Replace selfmade iterator with standard
7046         vector::iterator also introduce const_iterator. Remove getPos,
7047         getInset and setInset from InsetTable. Adjust accordingly.
7048
7049         * BufferView.C (lockInset): adjust
7050         (ChangeInsets): adjust
7051
7052         * tabular.[Ch]: delete commented same_id functions
7053
7054 2003-05-28  John Levon  <levon@movementarian.org>
7055
7056         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7057
7058 2003-05-28  André Pönitz  <poenitz@gmx.net>
7059
7060         * metricsinfo.[Ch]: remove 'fullredraw' member
7061
7062 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7063
7064         * lyxtextclass.C (operator): remove caching.
7065
7066 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7067
7068         * text3.C: adjust
7069
7070         * text2.C (cursorBottom): adjust
7071         (setCounter): use ParagraphList::find, adjust
7072
7073         * text.C (workWidth): use ParagraphList::find, adjust
7074
7075         * lyxcursor.C (LyXCursor): adjust
7076
7077         * buffer.C (inset_iterator): adjust
7078
7079         * ParagraphList.h: make iterator(value_type) private, make
7080         ParagraphList a friend of iterator.
7081
7082         * ParagraphList.C (find): new function
7083
7084         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7085
7086 2003-05-27  André Pönitz  <poenitz@gmx.net>
7087
7088         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7089
7090 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7091
7092         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7093
7094 2003-05-26  John Levon  <levon@movementarian.org>
7095
7096         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7097
7098 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7099
7100         * remove same_id from function signatures, adjust.
7101
7102 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7103
7104         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7105
7106         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7107
7108         * paragraph.C (Paragraph): get rid of same_ids parameter
7109
7110         * ParagraphList.C (insert): adjust
7111         (push_back): adjust
7112
7113 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7114
7115         * paragraph_funcs.C (breakParagraph): adjust
7116         (breakParagraphConservative): adjust
7117
7118         * buffer.C (readParagraph): adjust
7119
7120         * ParagraphList.C (insert): take a reference instead of a pointer
7121         (insert): adjust
7122
7123         * paragraph.[Ch] (id): new function
7124
7125         * bufferlist.C (newFile): adjust
7126
7127         * ParagraphList.C (ParagraphList): adjust
7128         (assign): adjust
7129         (push_back): take a reference instead of a pointer.
7130
7131         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7132
7133         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7134         instead.
7135
7136         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7137         set else use old code.
7138
7139         * ParagraphList.C: remove all NO_NEXT code and only compile this
7140         code of NO_STD_LIST is set.
7141
7142 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7143
7144         * BufferView_pimpl.C:
7145         * TextCache.C:
7146         * TextCache.h:
7147         * bufferlist.C:
7148         * errorlist.h:
7149         * format.C:
7150         * format.h:
7151         * graph.C:
7152         * lyxfunc.C:
7153         * lyxrc.C:
7154         * graphics/GraphicsConverter.C:
7155         * graphics/PreviewLoader.C: header adjustment
7156
7157 2003-05-23  Angus Leeming  <leeming@lyx.org>
7158
7159         * LaTeXFeatures.[Ch] (useBabel): new method.
7160         * bufferparams.C (writeLaTeX): use it.
7161
7162 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7163
7164         * ParagraphList.h (set): remove unused function.
7165
7166 2003-05-23  André Pönitz  <poenitz@gmx.net>
7167
7168         * BufferView.C:
7169         * BufferView_pimpl.C:
7170         * buffer.C:
7171         * buffer.h:
7172         * lyxfunc.C:
7173         * undo_funcs.C: setUndo reworked
7174
7175         * iterators.[Ch]: add access to topmost ParagraphList
7176
7177         * lyxtext.[Ch] (workWidth): add a const
7178
7179 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7180
7181         * texrow.[Ch] (increasePos): remove function
7182         * exporter.C (export): removed unused var and outdated comment
7183
7184 2003-05-23  Angus Leeming  <leeming@lyx.org>
7185
7186         * latexrunparams.h: rename fragile as moving_arg.
7187         * paragraph.C (simpleTeXOnePar): ditto.
7188         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7189
7190 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7191
7192         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7193         (createUndo): ditto
7194         (textUndoOrRedo): comment out a currently unused var.
7195
7196         * paragraph.h (NO_NEXT): enable NO_NEXT
7197
7198         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7199
7200         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7201
7202         * exporter.C (Export): adjust for removeAutoInsets removal.
7203
7204         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7205
7206         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7207
7208         * BufferView.[Ch] (removeAutoInsets): delete function
7209
7210 2003-05-22  Angus Leeming  <leeming@lyx.org>
7211
7212         * latexrunparams.h: add a free_spacing variable.
7213
7214         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7215         to pass moving_arg, as the data is stored in runparams.fragile.
7216
7217         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7218         to Inset::latexOptional or to simpleTeXOnePar.
7219
7220         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7221         free_spacing arg to Inset::latexOptional.
7222
7223         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7224         free_spacing arg.
7225
7226 2003-05-22  Angus Leeming  <leeming@lyx.org>
7227
7228         * latexrunparams.h: add fragile and use_babel variables.
7229
7230         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7231         * buffer.C (makeLaTeXFile): store this returned value in
7232         runparams.use_babel, thus passing it to the inset::latex methods.
7233
7234         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7235         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7236
7237         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7238         longer has a fragile arg, as it is stored in runparams.fragile.
7239
7240         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7241         moving_arg parameter as the data is stored in runparams.fragile.
7242
7243         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7244         a fragile parameter as the data is stored in runparams.fragile.
7245
7246 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7247
7248         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7249
7250 2003-05-22  Angus Leeming  <leeming@lyx.org>
7251
7252         * latexrunparams.h: add a 'bool nice' which defaults to false.
7253
7254         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7255         now encapsulated within runparams.
7256
7257         * bufferlist.C (updateIncludedTeXfiles):
7258         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7259
7260 2003-05-22  Angus Leeming  <leeming@lyx.org>
7261
7262         * latexrunparams.h: new file containing struct LatexRunParams.
7263         * Makefile.am: add new file.
7264
7265         * LaTeX.[Ch] (c-tor, run):
7266         * buffer.[Ch] (makeLaTeXFile):
7267         * bufferlist.[Ch] (updateIncludedTeXfiles):
7268         * converter.C (convert, scanLog):
7269         * converter.[Ch] (runLaTeX):
7270         * exporter.C (Export):
7271         * paragraph.[Ch] (simpleTeXOnePar):
7272         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7273         * paragraph_funcs.[Ch] (latexParagraphs):
7274         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7275         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7276         pass around a LatexRunParams parameter.
7277
7278 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7279
7280         * paragraph.[Ch]: remove unused constructor
7281
7282         * ParagraphList.C (erase): new function, taking two iterators
7283
7284 2003-05-22  André Pönitz  <poenitz@gmx.net>
7285
7286         * undo_funcs.C: remove duplicated code
7287
7288         * iterator.[Ch]: operator=
7289
7290 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7291
7292         * tabular.C (SetMultiColumn): ws changes
7293
7294         * rowpainter.C (paintFirst): get rid of a ->previous
7295
7296         * lyx_cb.C (getPossibleLabel): parlist simplification
7297
7298         * BufferView.C (ChangeInsets): simplify slightly.
7299
7300 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7301
7302         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7303         * lfuns.h: new LFUN_SPACE
7304         * lyxfunc.C: protected space has a new lfun
7305         * paragraph_funcs.C: read new space insets
7306         * text3.C:
7307         * factory.C: handle new space insets
7308
7309 2003-05-22  André Pönitz  <poenitz@gmx.net>
7310
7311         * BufferView.C:
7312         * BufferView_pimpl.C:
7313         * buffer.[Ch]:
7314         * lyxfunc.C:
7315         * undo_funcs.C: return a ParIterator from getParFromID.
7316
7317         * iterators.[Ch]: add two const's
7318
7319 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7320
7321         * toc.C (getTocList): adjust
7322
7323         * iterators.[Ch]: rework for parlist
7324
7325         * buffer.C (par_iterator_begin): adjust
7326         (par_iterator_end): adjust
7327
7328         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7329
7330         * BufferView.C (removeAutoInsets): adjust
7331         (ChangeInsets): adjust
7332
7333 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7334
7335         * text.C (top_y): fix bug 1110
7336
7337 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7338
7339         * errorlist.[Ch]: added
7340         * buffer.C:
7341         * BufferView.[Ch]:
7342         * BufferView_pimpl.C:
7343         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7344         instead
7345
7346 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7347
7348         * Makefile.am: ensure that lyx is relinked upon changes to the
7349         various "convenience" libs.
7350
7351 2003-05-20  Angus Leeming  <leeming@lyx.org>
7352
7353         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7354         files are compiled in alphabetical order again.
7355
7356         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7357
7358 2003-05-19  Angus Leeming  <leeming@lyx.org>
7359
7360         * gettext.[Ch]: remove "char const * _(char const *)".
7361
7362 2003-05-19  André Pönitz  <poenitz@gmx.net>
7363
7364         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7365
7366         * Makefile.am:
7367         * BufferView.C:
7368         * DepTable.h:
7369         * LaTeXFeatures.C:
7370         * buffer.C:
7371         * lyxfont.C:
7372         * lyxlex.h:
7373         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7374
7375 2003-05-19  André Pönitz  <poenitz@gmx.net>
7376
7377         * buffer.C:
7378         * lyxlayout.[Ch]:
7379         * lyxtextclass.[Ch]:
7380         * paragraph.C:
7381         * paragraph_funcs.[Ch]:
7382         * text2.C:
7383         * text3.C: more insetenv work
7384
7385 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7386
7387         * ParagraphParameters.C (params2string): small bug fixed
7388
7389 2003-05-16  André Pönitz  <poenitz@gmx.net>
7390
7391         * debug.C:
7392         * bufferview_funcs.C: patch from Kornel Benko to prevent
7393           crash when _(...) is called twice in a statement
7394
7395 2003-05-16  André Pönitz  <poenitz@gmx.net>
7396
7397         * BufferView.C:
7398         * lyxfunc.C:
7399         * text.C:
7400         * text2.C:
7401         * text3.C:
7402         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7403
7404 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7405
7406         * lyx_main.C (init): remove spurious static_cast
7407
7408 2003-05-14  André Pönitz  <poenitz@gmx.net>
7409
7410         * BufferView.C: fix format string
7411
7412 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7413
7414         * BufferView.[Ch] (insertErrors): removed
7415         * BufferView.[Ch] (showErrorList): added
7416         * buffer.C (runChkTeX):
7417         * converter.C (scanLog): call showErrorList instead of inserterrors
7418
7419 2003-05-13  André Pönitz  <poenitz@gmx.net>
7420
7421         * BufferView_pimpl.C:
7422         * buffer.C:
7423         * bufferview_func.C:
7424         * MenuBackend.C:
7425         * lyxfunc.C:
7426         * lyxrc.C:
7427         * tex-accent.C:
7428         * text3.C:
7429         * toc.C:
7430         * tabular_funcs.h: tostr() from its own header
7431
7432         * ParagraphParameters.C:
7433         * ToolbarBackend.C:
7434         * bufferparams.C:
7435         * format.C:
7436         * lyxlex_pimpl.C:
7437         * text3.C: STRCONV()
7438
7439 2003-05-12  André Pönitz  <poenitz@gmx.net>
7440
7441         * BufferView.C:
7442         * BufferView_pimpl.C:
7443         * CutAndPaste.C:
7444         * LaTeX.C:
7445         * LaTeXFeatures.C:
7446         * ParagraphParameters.C:
7447         * buffer.C:
7448         * bufferlist.C:
7449         * bufferparams.C:
7450         * bufferview_funcs.C:
7451         * converter.C:
7452         * counters.C:
7453         * debug.C:
7454         * exporter.C:
7455         * format.C:
7456         * importer.C:
7457         * lyx_cb.C:
7458         * lyx_main.C:
7459         * lyxfont.C:
7460         * lyxfunc.C:
7461         * lyxvc.C:
7462         * paragraph.C:
7463         * paragraph_funcs.C:
7464         * tabular.C:
7465         * tabular_funcs.C:
7466         * text2.C:
7467         * text3.C:  boost::format -> bformat  all over the place
7468
7469
7470 2003-05-09  André Pönitz  <poenitz@gmx.net>
7471
7472         * LColor.[Ch]: Pimpl the #include <map> away
7473
7474 2003-05-09  John Levon  <levon@movementarian.org>
7475
7476         * bufferlist.C: never remove emergency saves
7477
7478 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7479
7480         * Makefile.am: better lib building
7481
7482 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7483
7484         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7485         instead.
7486         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7487         (simpleTeXSpecialChars): adjust
7488         (simpleTeXSpecialChars): adjust
7489         * paragraph.C (simpleTeXOnePar): adjust
7490         * buffer.C (makeLaTeXFile): adjust
7491
7492         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7493
7494         * text2.C (changeDepth): parlist cleanup
7495         (getColumnNearX): ditto
7496
7497         * rowpainter.C (getLabelFont): parlist cleanup
7498
7499         * bufferlist.C (newFile): parlist cleanup
7500
7501         * CutAndPaste.C (eraseSelection): parlist cleanup
7502
7503         * BufferView_pimpl.C (trackChanges): parlist cleanup
7504         (dispatch): ditto
7505
7506         * BufferView.C (lockInset): parlist cleanup.
7507         (ChangeInsets): ditto
7508
7509 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7510
7511         * CutAndPaste.h: Update file header.
7512
7513         * CutAndPaste.C: Update file header.
7514         Store the parts cut out of the Document in a limited_stack.
7515         (copySelection): adjust
7516         (pasteSelection): new function, takes the index in the limited stack.
7517         (nrOfParagraphs): adjust
7518         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7519         simplify error inset insertion.
7520         (checkPastePossible): adjust
7521
7522 2003-05-06  John Levon  <levon@movementarian.org>
7523
7524         * text2.C: don't cast wrap inset to float
7525
7526 2003-05-05  André Pönitz  <poenitz@gmx.net>
7527
7528         * iterator.C:
7529         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7530
7531         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7532           few naked Paragraph *.
7533
7534 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7535
7536         * bufferparams.C: Output warning if a document with missing
7537         TeX document class is loaded
7538         * exporter.C: Disable TeX exports if the document class is missing
7539         * lyxtextclass.C:
7540         * lyxtextclass.h:
7541         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7542         isTeXClassAvailable()
7543
7544 2003-05-03  John Levon  <levon@movementarian.org>
7545
7546         * BufferView.h:
7547         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7548         explicit cursor show/hide
7549
7550         * BufferView_pimpl.h:
7551         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7552         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7553
7554         * lyxfunc.C: hide cursor before dispatching.
7555
7556         * lyx_cb.C:
7557         * lyxfind.C:
7558         * text.C:
7559         * text3.C: remove explicit cursor hides
7560
7561 2003-05-02  André Pönitz  <poenitz@gmx.net>
7562
7563         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7564
7565         * undo_funcs.C:
7566         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7567           linked lists
7568
7569         * text2.C: tiny whitespace
7570
7571 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7572
7573         * undo_funcs.C: almost only ws changes.
7574
7575         * ParagraphList.C (splice): just return if pl is empty.
7576
7577 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7578
7579         * ParagraphList.C (splice): new function.
7580
7581         * CutAndPaste.C (pasteSelection): use it
7582
7583 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7584
7585         * CutAndPaste.C (pasteSelection): remove the last next and
7586         previous from this file.
7587
7588 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7589
7590         * CutAndPaste.C (pasteSelection): more clean up, user proper
7591         ParagraphList functions for pasteing.
7592
7593         * ParagraphList.C (insert): new function, three arg insert
7594
7595 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7596
7597         * ParagraphList.C (insert): new function, three arg insert
7598
7599         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7600         not on paragraphs.
7601
7602 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7603
7604         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7605
7606 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7607
7608         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7609
7610 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7611
7612         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7613         (copySelection): clean up a bit.
7614         (pasteSelection): use make_pair
7615
7616         * ParagraphList.C (ParagraphList): implement copy constructor
7617         (operator=): implement, base on copy constructor.
7618         (assign): new func
7619
7620         * paragraph.C (erase): return a bool
7621
7622         * paragraph_pimpl.C (erasePos): remove function, move contents...
7623         (erase): ... here. Return a bool.
7624         (erase): call erase instead of erasePos.
7625
7626 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7627
7628         * ParagraphList.h: define PitPosPair
7629         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7630         ParagraphList, fix a bug on pasting multiple pars
7631         * text2.C: change interface to C&P
7632
7633 2003-04-30  André Pönitz  <poenitz@gmx.net>
7634
7635         * undo_func.C: revert part of yesterday's patch 2
7636
7637 2003-04-30  John Levon  <levon@movementarian.org>
7638
7639         * LColor.C: s/tabular/table/
7640
7641 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7642
7643         * text3.C (dispatch): do not convert iterator -> pointer
7644         * undo_funcs.C (setCursorParUndo): ditto
7645         * text_funcs.C (transposeChars): ditto
7646
7647         * text2.C (setLayout): ws changes only
7648
7649         * text.C (breakParagraph): do not convert iterator -> pointer
7650         (insertChar): ditto
7651         (acceptChange): ditto
7652         (rejectChange): ditto
7653         (changeCase): ditto
7654         (Delete): ditto
7655         (backspace): ditto
7656
7657         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7658         pointer
7659
7660 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7661
7662         * text3.C (gotoInset): YABG (yet another bad getChar)
7663
7664 2003-04-29  André Pönitz  <poenitz@gmx.net>
7665
7666         * paragraph.h: make operator= private unimplemented as long as
7667           it is unusable
7668
7669         * ParagraphList.C: whitespace
7670
7671         * paragraph.[Ch]:
7672         * paragraph_pimpl.[Ch]:
7673         * paragraph_funcs.C:
7674         * CutAndPaste.C:
7675         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7676
7677         * text2.C:
7678           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7679
7680 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7681
7682         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7683         * paragraph.[Ch] (erase):
7684         * paragraph_pimpl.[Ch] (erase): change return type and value
7685         * text2.C (cutSelection): some rework
7686
7687 2003-04-28  John Levon  <levon@movementarian.org>
7688
7689         * bufferlist.C: changes for unsaved changes dialog
7690
7691 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7692
7693         * bufferlist.C (newFile): set language (messages_) for new
7694         documents also.
7695
7696         * buffer.C (readFile): ws changes only.
7697
7698 2003-04-28  André Pönitz  <poenitz@gmx.net>
7699
7700         * undo_funcs.C:
7701         * lyxfunc.C:
7702         * buffer.[Ch]:
7703         * BufferView_pimpl.C:
7704         * BufferView.C: getParFromID related ParagraphList::iterator changes
7705
7706 2003-04-28  André Pönitz  <poenitz@gmx.net>
7707
7708         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7709           Changes
7710
7711 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7712
7713         * messages.C: remove one more localedir class variable.
7714
7715 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7716
7717         * messages.C (getLocaleDir): singleton generation function
7718         (Pimpl): use it.
7719         (Messages): add a default constructor.
7720
7721         * main.C (main): do not setup localedir here, do not call
7722         gettext_init.
7723
7724         * gettext.C (_): use it.
7725         (gettext_init): delete funciton
7726
7727 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7728
7729         * gettext.C (getLyXMessages): new singleton generating function.
7730
7731         * buffer.C (updateDocLang): adjust
7732
7733         * Makefile.am (messages.o): add target
7734         (main.o): remove target
7735
7736 2003-04-27  John Levon  <levon@movementarian.org>
7737
7738         * bufferlist.C:
7739         * lyx_cb.C:
7740         * lyxfunc.C:
7741         * lyxvc.C: specify cancel button in Alert::prompt
7742
7743 2003-04-26  John Levon  <levon@movementarian.org>
7744
7745         * text3.C:
7746         * lyxfunc.C:
7747         * lfuns.h:
7748         * LyXAction.C: add LFUN_INSET_SETTINGS
7749
7750         * lyxfunc.C: don't enable tabular-feature when there's
7751         just any locking inset
7752
7753 2003-04-26  John Levon  <levon@movementarian.org>
7754
7755         * bufferlist.C: re-add Cancel to buffer close question
7756
7757         * lyxfunc.C: fix import UI a bit
7758
7759 2003-04-25  John Levon  <levon@movementarian.org>
7760
7761         * gettext.C: remove the broken asserts for now
7762
7763 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7764
7765         * messages.C: make case where setlocale cannot comply work better.
7766
7767         * buffer.C (updateDocLang): new function
7768         (changeLanguage): use it
7769         (readFile): use it
7770
7771         * text2.C (setCounter): use B_ a bit.
7772
7773         * lyxlayout.C (Read): be sure to trim the label strings.
7774
7775         * messages.C (Messages): fix typo in comment
7776
7777         * buffer.C (readFile): set message_ after file is loaded.
7778         (makeDocBookFile): remove double return
7779         (changeLanguage): reset message_ upon language change.
7780         (B_): new func, use this to get translated buffer strings.
7781
7782         * main.C: add myself and Jean Marc as authors.
7783
7784 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7785
7786         * messages.[hC]: pimplify Messages, and three different pimpls to be
7787         used in different circumstances.
7788
7789         * gettext.[Ch]: change for use with new message code.
7790
7791 2003-04-24 André Pönitz <poenitz@gmx.net>
7792
7793         * factory.C: support for eqref
7794
7795 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7796
7797         * messages.[Ch]: add missing char
7798
7799         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7800
7801         * messages.[Ch]: New files
7802
7803 2003-04-18  John Levon  <levon@movementarian.org>
7804
7805         * BufferView.h:
7806         * BufferView.C:
7807         * BufferView_pimpl.C:
7808         * lfuns.h:
7809         * LyXAction.C:
7810         * lyxtext.h:
7811         * text2.C: remove layout-copy/paste (bug 778)
7812
7813 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7814
7815         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7816
7817 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7818
7819         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7820         if they succeed. Act accordingly.
7821
7822 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7823
7824         * text2.C (setCharFont): adjust
7825         (setCounter): adjust
7826         (insertStringAsLines): adjust
7827
7828         * text.C (leftMargin): adjust
7829         (setHeightOfRow): adjust
7830
7831         * rowpainter.C (paintFirst): adjust
7832         (paintLast): adjust
7833
7834         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7835         (outerHook): ditto
7836         (isFirstInSequence): ditto
7837         (getEndLabel): ditto
7838         (outerFont): adjust
7839
7840         * paragraph.C (getParLanguage): comment out some hard stuff.
7841
7842         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7843         (sgmlError): ditto
7844         (simpleDocBookOnePar): ditto
7845         (makeDocBookFile): use ParagraphList::iterator
7846
7847         * CutAndPaste.C (pasteSelection): adjust
7848
7849 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7850
7851         * text2.C (getFont): adjust
7852         (getLayoutFont): adjust
7853         (getLabelFont): adjust
7854
7855         * paragraph_funcs.C (TeXOnePar): adjust
7856
7857         * buffer.C (simpleLinuxDocOnePar): adjust
7858         (simpleDocBookOnePar): adjust
7859
7860         * CutAndPaste.C (pasteSelection): adjust
7861
7862         * BufferView.C (getEncoding): adjust
7863
7864         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7865
7866 2003-04-16  John Levon  <levon@movementarian.org>
7867
7868         * lyxfind.C: use parlist stuff for search/changes
7869
7870 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7871
7872         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7873
7874         * text2.C (deleteEmptyParagraphMechanism): adjust
7875
7876         * text2.[Ch] (ownerParagraph): delete func (both of them
7877
7878 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7879
7880         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7881
7882 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7883
7884         * ParagraphList.C: prepare for NO_NEXT
7885
7886 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7887
7888         * text2.C (getFont): adjust
7889         (getLayoutFont): adjust
7890         (getLabelFont): adjust
7891
7892         * paragraph.C (getFont): adjust
7893         (getLabelFont): adjust
7894         (getLayoutFont): adjust
7895
7896         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7897
7898 2003-04-15  John Levon  <levon@movementarian.org>
7899
7900         From Angus Leeming
7901
7902         * lyx_main.C: handle Include in .ui files
7903
7904 2003-04-15  John Levon  <levon@movementarian.org>
7905
7906         * MenuBackend.C: make the doc files length shorter
7907
7908         * ToolbarBackend.h:
7909         * ToolbarBackend.C: handle toolbar placement flags,
7910         Minibuffer
7911
7912 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7913
7914         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7915         adjust
7916
7917         * paragraph_funcs.C (TeXOnePar): adjust
7918
7919         * paragraph.C (getLabelFont): add outerfont arg, adjust
7920         (getLayoutFont): ditto
7921         (simpleTeXOnePar): adjust
7922
7923         * paragraph_pimpl.C (realizeFont): delete func
7924
7925 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7926
7927         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7928         row argument, constify cur argument.
7929
7930 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7931
7932         * text2.C (getFont): adjust
7933         (getLayoutFont): adjust
7934         (getLabelFont): adjust
7935
7936         * paragraph_funcs.C (TeXOnePar): adjust
7937         (outerFont): new func...
7938         (realizeFont): ...moved out from here, changed this to facilitate
7939         transition
7940
7941         * paragraph.C (getFont): take outerfont as arg, adjust
7942         (simpleTeXOnePar): add outerfont arg, adjust
7943
7944         * buffer.C (simpleLinuxDocOnePar): adjust
7945         (simpleDocBookOnePar): adjust
7946
7947         * CutAndPaste.C (pasteSelection): adjust
7948
7949         * BufferView.C (getEncoding): adjust
7950
7951 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7952
7953         * text2.C (setCharFont): adjust
7954         (setCounter): adjust
7955
7956         * text.C (leftMargin): adjust
7957         (setHeightOfRow): adjust
7958
7959         * rowpainter.C (paintFirst): adjust
7960         (paintLast): adjust
7961
7962         * paragraph_pimpl.C (realizeFont): adjust
7963
7964         * paragraph.C (isFirstInSequence): move from here...
7965         * paragraph_funcs.C (isFirstInSequence): ...to here
7966
7967         * paragraph.C (outerHook): move from here...
7968         * paragraph_funcs.C (outerHook): ...to here
7969
7970         * paragraph.C (depthHook): move from here...
7971         * paragraph_funcs.C (depthHook): ...to here
7972
7973         * paragraph.C (getEndLabel): move from here...
7974         * paragraph_funcs.C (getEndLabel): ...to here
7975
7976         * text2.C (realizeFont): move from here...
7977         * paragraph_funcs.C (realizeFont): ...to here
7978
7979 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7980
7981         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7982
7983 2003-04-14  Angus Leeming  <leeming@lyx.org>
7984
7985         * LColor.[Ch]: scrap LColor mathcursor.
7986
7987 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7988
7989         * lyxlex.[Ch] (text): delete function
7990         * trans.C (Load): adjust
7991         * paragraph_funcs.C (readParToken): adjust
7992
7993 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7994
7995         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7996         vector<char> instead of a char[].
7997
7998         * lyxlex_pimpl.C (getString): adjust
7999         (next): adjust
8000         (lex): use getString
8001         (eatLine): adjust
8002         (nextToken): adjust
8003
8004         * lyxlex.C (text): use pimpl_->getString()
8005         (getBool): ditto
8006         (findToken): ditto
8007
8008 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8009
8010         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8011         (makeFontEntriesLayoutSpecific): temp var for par.size()
8012         (setLayout): temp var for ownerParagraphs().end()
8013         (fullRebreak): temp var for rows().end()
8014         (selectionAsString): temp var for boost::next(startpit), realize
8015         that the while really is a regular for loop.
8016         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8017         setCursor in one place.
8018         (setParagraph): temp vr for ownerParagraphs().end()
8019         (updateCounters): make the while loop a for loop
8020         (cutSelection): temp var for ownerParagraphs().end()
8021         (updateInset): make the do {} while() a regular for loop
8022         (getCursorX): use temp vars
8023         (setCurrentFont): use temp vars
8024         (getColumnNearX): use temp vars
8025
8026 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8027
8028         * text.C (transformChar): use temp var for getChar
8029         (computeBidiTables): use temp var for row->par()
8030         (fill): move temp vars for row->par() and pit->layout() earlier in
8031         the function.
8032         (labelFill): use temp var for row->par()
8033         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8034         asc and desc, realize that pit never changes and that firstpit is
8035         just a duplicate and not needed. Exchange rit->par() with pit in a
8036         lot of places.
8037         (breakAgain): use a temp var for boost::next(rit)
8038         (breakAgainOneRow): ditto
8039         (breakParagraph): use a temp var for rows().begin()
8040         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8041         (cursorRightOneWord): use temp var for cursor.par() and
8042         cursor.pos(), remove usage of tmpcursor.
8043         (cursorLeftOneWord): use temp var for cursor.par() and
8044         cursor.pos() only set cur at end of function.
8045
8046 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8047
8048         * text.C, text2.C: exchange all usage of Paragraph::next with
8049         boost::next(ParagraphList::iterator)
8050
8051         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8052
8053         * text2.C (cursorTop): simplify implementation
8054         (cursorBottom): ditto
8055         (setParagraph): use ParagraphList::iterator
8056         (setCurrentFont): adjust
8057         (getColumnNearX): adjust
8058         (cursorRight): adjust
8059         (cursorLeft): remove usage of Paragraph::previous
8060         (cursorUpParagraph): ditto
8061         (deleteEmptyParagraphMechanism): slight cleanup
8062
8063         * text.C (isBoundary): take a Paragraph const & instead of a
8064         pointer as arg.
8065         (addressBreakPoint): ditto
8066         (leftMargin): remove usage of Paragraph::previous.
8067         (setHeightOfRow): ditto
8068         (cursorLeftOneWord): ditto
8069         (selectNextWordToSpellcheck): ditto
8070         (Delete): ditto
8071         (backspace): ditto
8072         (breakParagraph): remove one usage of Paragraph::next
8073         (redoParagraph): ditto
8074         (acceptChange): ditto
8075         (insertChar): adjust
8076         (rowBreakPoint): adjust
8077
8078         * bufferview_funcs.C (toggleAndShow): adjust
8079
8080 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8081
8082         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8083         methods to access it.
8084         * lyxtext.h:
8085         * text.C: Added updateRowPositions to compute all row positions.
8086         Make top_y and getRowNearY() to use the cached y position
8087
8088 2003-04-11  John Levon  <levon@movementarian.org>
8089
8090         * text.C (rowBreakPoint): reintroduce the labelEnd
8091         checks, code copied from the row fill stuff. Deep voodoo.
8092
8093         * text.C (fill): add a comment and debugging for the
8094         next poor soul.
8095
8096 2003-04-11  John Levon  <levon@movementarian.org>
8097
8098         * text.C: make sure fullrow insets get wrapped to the next line,
8099         even when they're in a manual label
8100
8101 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8102
8103         * text2.C (insertParagraph): make it take ParagraphList::iterator
8104         as arg.
8105         (setLayout): make it return ParagraphList::iterator
8106         (redoParagraphs): ditto
8107         (setCounter): ditto
8108         (checkParagraph): ditto
8109
8110         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8111
8112         * text2.C: adjust several funcs.
8113         (realizeFont): take a ParagraphList::iterator as arg.
8114         (getLayoutFont): ditto
8115         (getLabelFont): ditto
8116         (setCharFont): ditto
8117
8118         * text.C: adjust several funcs.
8119
8120 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8121
8122         * text.C (selectNextWordToSpellcheck): don't accidentally
8123         skip insets
8124
8125 2003-04-10  John Levon  <levon@movementarian.org>
8126
8127         * ToolbarBackend.C (getIcon): special handling for
8128         LFUN_MATH_DELIM
8129
8130 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8131
8132         * text2.C (cursorRight): a getChar assert fixed
8133
8134 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8135
8136         * text2.C (getFont): change to take a ParagraphList::iterator
8137         instead of Paragraph*
8138         Adjust several functions.
8139
8140         * text.C (transformChar): change to take a ParagraphList::iterator
8141         instead of Paragraph*
8142         (singleWidth): ditto
8143         Adjust several functions.
8144
8145         * rowpainter.C: adjust several functions
8146         * rowpainter.h:store a ParagraphList::iterator and not a
8147         Paragraph&.
8148
8149
8150 2003-04-09  John Levon  <levon@movementarian.org>
8151
8152         * lyxfunc.C:
8153         * lfuns.h:
8154         * LyXAction.h:
8155         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8156         and the "help" bits as well
8157
8158 2003-04-09  John Levon  <levon@movementarian.org>
8159
8160         * ToolbarBackend.h:
8161         * ToolbarBackend.C: allow multiple toolbars
8162
8163 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8164
8165         * undo_funcs.C (setCursorParUndo): adjust
8166
8167         * text_funcs.C (transposeChars): adjust
8168
8169         * text3.C (gotoNextInset): adjust
8170         (dispatch): adjust
8171
8172         * text2.C (setLayout): adjust
8173         (changeDepth): adjust
8174         (setFont): adjust
8175         (redoParagraphs): adjust
8176         (selectionAsString): adjust
8177         (setParagraph): adjust
8178         (insertInset): adjust
8179         (cutSelection): adjust
8180         (copySelection): adjust
8181         (pasteSelection): adjust
8182         (insertStringAsLines): adjust
8183         (updateInset): adjust
8184         (setCursor): change to take a ParagraphList::iterator parameter
8185         (setCursorIntern): change to take a ParagraphList::iterator parameter
8186         (setCurrentFont): adjust
8187         (cursorLeft): adjust
8188         (cursorRight): adjust
8189         (deleteEmptyParagraphMechanism): adjust
8190
8191         * text.C (breakParagraph): adjust
8192         (insertChar): adjust
8193         (acceptChange): adjust
8194         (rejectChange): adjust
8195         (selectNextWordToSpellcheck): adjust
8196         (changeCase): adjust
8197         (Delete): adjust
8198         (backspace): adjust
8199
8200         * lyxfind.C (SearchForward): adjust
8201         (SearchBackward): adjust
8202         (nextChange): adjust
8203
8204         * lyxcursor.C (par): adjust
8205
8206         * lyxcursor.h: store a ParagraphList::iterator instead of a
8207         Paragraph*
8208
8209         * lyx_cb.C (getPossibleLabel): adjust
8210
8211         * bufferview_funcs.C (toggleAndShow): adjust
8212
8213         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8214         (dispatch): adjust
8215
8216         * BufferView.C (removeAutoInsets): adjust
8217         (lockedInsetStoreUndo): adjust
8218
8219 2003-04-09  John Levon  <levon@movementarian.org>
8220
8221         * ToolbarBackend.C: try icon without argument
8222         if with argument fails
8223
8224 2003-04-08  John Levon  <levon@movementarian.org>
8225
8226         * ToolbarBackend.h:
8227         * ToolbarBackend.C: add getIcon(), handle tooltip,
8228         and change from "Icon" to "Item".
8229
8230 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8231
8232         * BufferView.C (lockInset): another bad getchar crunched
8233
8234 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8235
8236         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8237         again)
8238
8239 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8240
8241         * lyxfind.C (searchForward, searchBackwards): bug 782
8242
8243 2003-04-07  John Levon  <levon@movementarian.org>
8244
8245         * paragraph.C: remove dead comment
8246
8247         * text.C: remove troublesome depth-fiddling code
8248         in leftMargin() and rightMargin() (bug 1017)
8249
8250         * text.C: fix breaking of rows in nested lists
8251         (bug 1004)
8252
8253         * text2.C (updateCounters): fix up depth values
8254         (bug 1013)
8255
8256 2003-04-07  John Levon  <levon@movementarian.org>
8257
8258         * BufferView_pimpl.C: clear message when doc finishes resizing,
8259         and after a mouse event
8260
8261         * lyxfunc.C: clear message after exiting inset
8262
8263 2003-04-07  John Levon  <levon@movementarian.org>
8264
8265         * bufferview_funcs.C: show math status not outside
8266         status in the statusbar
8267
8268 2003-04-07  John Levon  <levon@movementarian.org>
8269
8270         * lyxfunc.C: note status changed after a depth change
8271
8272 2003-04-04  Angus Leeming  <leeming@lyx.org>
8273
8274         * LaTeX.h: move AuxInfo operator==, != out of line.
8275         Remove LaTeX virtual destructor; nothing derives from it.
8276         Move operator()() out of public area and rename it startscript().
8277         Change protected for private.
8278
8279 2003-04-04  Angus Leeming  <leeming@lyx.org>
8280
8281         * lyxfunc.C:
8282         * text2.C: remove unneeded #includes.
8283
8284 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8285
8286         * text2.C (dEPM): fix the heigth of the next row
8287
8288 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8289
8290         * text.C: squashed an invalid getChar requester + some ws changes
8291
8292 2003-04-03  John Levon  <levon@movementarian.org>
8293
8294         * bufferview_funcs.h:
8295         * bufferview_funcs.C:
8296         * lyxfunc.C:
8297         * lyxtext.h:
8298         * text2.C: make getStatus work for the env depth lfuns
8299
8300 2003-04-03  John Levon  <levon@movementarian.org>
8301
8302         * bufferview_funcs.h:
8303         * bufferview_funcs.C:
8304         * lyxfunc.C:
8305         * lyxtext.h:
8306         * text2.C: parlistize decDepth(), by merging it with incDepth()
8307
8308 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8309
8310         * lyxrow.h: store a ParagraphList::iterator instead of a
8311         Paragraph* and adjust other class functions to suit.
8312
8313         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8314         above.
8315
8316 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8317
8318         * text2.C (setCursor): do not anchor to cursor row for the time being
8319
8320 2003-04-02  John Levon  <levon@movementarian.org>
8321
8322         * LyXAction.C:
8323         * lfuns.h:
8324         * lyx_main.C:
8325         * lyxtext.h:
8326         * text.C:
8327         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8328
8329 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8330
8331         * paragraph.h: make ParagraphList and ParagraphList::iterator
8332         friends of Paragraph.
8333
8334         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8335
8336         * ParagraphList.C: Use the private next_ and previous_ from
8337         Paragraph.
8338
8339 2003-04-01  John Levon  <levon@movementarian.org>
8340
8341         * ToolbarBackend.h:
8342         * ToolbarBackend.C:
8343         * Makefile.am: rename, remove defaults gunk
8344
8345         * MenuBackend.h:
8346         * MenuBackend.C: remove defaults gunk
8347
8348         * Languages.h:
8349         * Languages.C: remove defaults gunk
8350
8351         * lyx_main.h:
8352         * lyx_main.C: error out if files couldn't be found.
8353
8354 2003-04-02  John Levon  <levon@movementarian.org>
8355
8356         * text2.C: make incDepth() use parlist
8357
8358 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8359
8360         * undo_funcs.C (firstUndoParagraph): adjust
8361
8362         * text3.C (gotoInset): adjust
8363         (dispatch): adjust, and rewrite loop.
8364
8365         * text2.C (init): adjust, and rewrite loop.
8366         (redoParagraphs): adjust
8367         (updateInset): adjust, and rewrite loop.
8368         (deleteEmptyParagraphMechanism): adjust
8369
8370         * tabular.C (LyXTabular): adjust
8371         (SetMultiColumn): adjust
8372         (TeXRow): adjust
8373
8374         * lyxtext.[Ch] (ownerParagraph): delete function
8375         (ownerParagraphs): new function returns a ParagraphList.
8376
8377         * BufferView.C (removeAutoInsets): adjust
8378         (insertErrors): adjust
8379         (setCursorFromRow): adjust
8380
8381 2003-04-01  Angus Leeming  <leeming@lyx.org>
8382
8383         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8384         in the frontends.
8385
8386 2003-04-02  John Levon  <levon@movementarian.org>
8387
8388         * lyxtext.h:
8389         * text.C:
8390         * Makefile.am:
8391         * text_funcs.h:
8392         * text_funcs.C: make transposeChars a free function
8393
8394         * lyxrow_funcs.C: remove wrong comment
8395
8396 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8397
8398         * lyxtext.h: adjust
8399         * rowpainter.C: adjust
8400         * text.C: adjust
8401         * text2.C: adjust
8402         * text3.C: adjust
8403
8404         * lyxrow_funcs. [Ch]: new files
8405
8406         * lyxrow.[Ch]: remove next and previous pointers
8407         (next,previous): remove accessor functions
8408         (isParEnd): move to lyxrow_funcs
8409         (lastPos): move to lyxrow_funcs
8410         (nextRowIsAllInset): move to lyxrow_funcs
8411         (lastPrintablePos): move to lyxrow_funcs
8412         (numberOfSeparators): move to lyxrow_funcs
8413         (numberOfHfills): move to lyxrow_funcs
8414         (numberOfLabelHfills): move to lyxrow_funcs
8415         (hfillExpansion): move to lyxrow_funcs
8416
8417         * lyxfunc.C: adjust
8418
8419         * bufferview_funcs.C (toggleAndShow): adjust
8420
8421         * RowList.h: Remove class RowList from file leave just a
8422         std::list<Row>.
8423
8424         * RowList.C: delete file
8425
8426         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8427         and lyxrow_funcs.h
8428
8429 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8430
8431         * text3.C (cursorPrevious): adjust
8432         (cursorNext): adjust
8433         (dispatch): adjust
8434
8435         * text2.C (redoHeightOfParagraph): adjust
8436         (redoDrawingOfParagraph): adjust
8437         (setCursor): adjust
8438
8439         * text.C (breakParagraph): adjust
8440         (insertChar): adjust
8441         (backspace): adjust
8442
8443         * rowpainter.C (RowPainter): adjust
8444         (leftMargin): simplify and adjust
8445         (most rowpainter functions): adjust.
8446
8447         * rowpainter.h: store the row as RowList::iterator not as Row*
8448
8449         * lyxcursor.C (row): taka RowList::iterator as arg
8450         (irow): ditto
8451
8452         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8453         of Row*.
8454
8455 2003-04-01  Angus Leeming  <leeming@lyx.org>
8456
8457         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8458         stuff like bool Bool.
8459
8460 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8461
8462         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8463         rewrite a loop
8464
8465 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8466
8467         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8468         RowList::iterator.
8469
8470         * lyxtext.h (rows): drop one version and leve a const variant that
8471         returns a RowList::iterator.
8472
8473 2003-03-31  Angus Leeming  <leeming@lyx.org>
8474
8475         * text.C (fill): ensure that the signature is the same as that in the
8476         header file.
8477
8478 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8479
8480         * text2.C (redoParagraphs): adjust
8481         (updateCounters): adjust
8482         (checkParagraph): adjust
8483         (getColumnNearX): adjust and reformat a bit.
8484
8485         * text.C (top_y): adjust
8486         (workWidth): adjust
8487         (leftMargin): adjust
8488         (prepareToPrint): adjust
8489         (getRow): adjust
8490         (getRowNearY): adjust
8491
8492         * lyxtext.h: make rowlist_ mutable.
8493
8494         * RowList.h: add const_iterator
8495         * RowList.C: adjust for RowList::const_iterator.
8496
8497         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8498         adjust.
8499
8500 2003-03-31  John Levon  <levon@movementarian.org>
8501
8502         * lyxrc.h:
8503         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8504
8505         * lyx_main.C: set default fonts from using lyx_gui funcs
8506
8507         * exporter.C: pdf_mode moved from lyxrc
8508
8509         * lyx_cb.C:
8510         * lyxfunc.C: changes from above
8511
8512 2003-03-31  John Levon  <levon@movementarian.org>
8513
8514         * lyx_main.C: fix to the last fix
8515
8516 2003-03-31  John Levon  <levon@movementarian.org>
8517
8518         * bufferlist.C: "Load original" -> "Load Original"
8519
8520         * converter.C:
8521         * exporter.C:
8522         * importer.C:
8523         * lyx_main.C:
8524         * format.C: more Alert cleanups
8525
8526 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8527
8528         * text2.C (removeParagraph): make it take a RowList::iterator as
8529         arg, adjust.
8530         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8531         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8532
8533         * text.C (anchor_row): make it take a RowList::iterator as arg,
8534         adjust.
8535         (computeBidiTables): make it take a const reference to Row instead
8536         of Row pointer, adjust.
8537         (leftMargin): make it take a RowList::iterator as arg, adjust.
8538         (rowBreakPoint): adjust
8539         (breakAgainOneRow): make it take a RowList::iterator as arg,
8540         adjust.
8541         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8542
8543         * bufferview_funcs.C (toggleAndShow): adjust
8544
8545 2003-03-30  John Levon  <levon@movementarian.org>
8546
8547         * Makefile.am:
8548         * BoostFormat.h:
8549         * boost-inst.C: moved to support
8550
8551         * several files: changes as a result
8552
8553 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8554
8555         * text2.C (LyXText): adjust.
8556         (init): adjust
8557         (removeRow): make it take a RowList::iterator as arg, adjust.
8558         (fullRebreak): adjust
8559         (deleteEmptyParagraphMechanism): adjust
8560         (clearPaint): adjust
8561         (postPaint): adjust
8562
8563         * text.C (top_y): adjust
8564         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8565         (breakAgain): make it take a RowList::iterator as arg, adjust.
8566         (breakParagraph): adjust
8567         (insertChar): adjust
8568         (backspace): adjust
8569
8570         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8571         need_break_row, and refresh_row.
8572
8573         * text3.C (dispatch): adjust
8574
8575         * text2.C (checkParagraph): adjust
8576         (setCursor): adjust
8577         (setCursorFromCoordinates): adjust
8578
8579         * text.C (top_y): adjust
8580         (workWidth): adjust
8581         (getRow): make it return a RowList::iterator, adjust
8582         (getRowNearY): make it return a RowList::iterator, adjust
8583
8584         * text2.C (init): adjust
8585         (insertRow): remove function
8586         (insertParagraph): adjust
8587         (redoParagraphs): adjust
8588         (fullRebreak): adjust
8589         (updateCounters): adjust
8590
8591         * text.C (top_y): rewrite to use RowList iterators.
8592         (top_y): adjust
8593         (setHeightOfRow): rewrite to sue RowList iterators.
8594         (appendParagraph): adjust
8595         (breakAgain): adjust
8596         (breakAgainOneRow): adjust
8597         (breakParagraph): adjust
8598         (getRow): adjust
8599         (getRowNearY): adjust, and remove commented code.
8600
8601         * lyxtext.h (firstRow): delete function
8602         (lastRow): delete function
8603         (rows): new function (const and non-const versions.)
8604         (insertRow): delete function
8605
8606         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8607
8608 2003-03-29  John Levon  <levon@movementarian.org>
8609
8610         * BufferView_pimpl.C: always update scrollbar top
8611         because pasting text when we're anchored could mean we
8612         miss an update altogether
8613
8614 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8615
8616         * text2.C (init): use rowlist_.end() and not 0.
8617         (insertRow): change to take a RowList::iterator as arg, adjust
8618         for this.
8619         (insertParagraph): change to take a RowList::iterator as arg,
8620         adjust for this.
8621         (redoParagraphs): remove some debug msgs.
8622
8623         * text.C (appendParagraph): change to take a RowList::iterator
8624         arg, adjust for this.
8625         (breakAgain): add an assert
8626         (breakAgainOneRow): ditto
8627
8628 2003-03-29  John Levon  <levon@movementarian.org>
8629
8630         * text2.C: do not clear selection after inc/decDepth
8631         (bug 550)
8632
8633 2003-03-29  John Levon  <levon@movementarian.org>
8634
8635         * BufferView.C:
8636         * buffer.C: fix broken strerrors according to Lars
8637
8638 2003-03-29  John Levon  <levon@movementarian.org>
8639
8640         * converters.C: more Alert cleanups
8641
8642 2003-03-29  John Levon  <levon@movementarian.org>
8643
8644         * bufferview_funcs.C: remove pointless Alert
8645
8646         * buffer.C: fix confusing error message when
8647         a template is chmoded 000
8648
8649 2003-03-29  John Levon  <levon@movementarian.org>
8650
8651         * BufferView.C:
8652         * BufferView.h:
8653         * BufferView_pimpl.C: Alert fixes
8654
8655         * Makefile.am:
8656         * tabular.C:
8657         * tabular-old.C: remove unused table compat reading
8658
8659 2003-03-29  John Levon  <levon@movementarian.org>
8660
8661         * BufferView.C:
8662         * buffer.C:
8663         * lyx_cb.h:
8664         * lyx_cb.C: more Alert cleanups
8665
8666         * lyxfunc.C: don't allow chktex if not latex document
8667
8668 2003-03-29  John Levon  <levon@movementarian.org>
8669
8670         * lyx_cb.C:
8671         * BufferView.C:
8672         * buffer.C: warnings pushed down from support/,
8673         kill err_alert
8674
8675 2003-03-29  John Levon  <levon@movementarian.org>
8676
8677         * lyxfunc.C: safety check for C-r (revert)
8678
8679 2003-03-29  John Levon  <levon@movementarian.org>
8680
8681         * bufferlist.h:
8682         * bufferlist.C: several UI fixes using Alert::prompt.
8683         Fix the pointless looping quit code. Fix stupid revert
8684         behaviour (bug 938)
8685
8686         * lyxvc.h:
8687         * lyxvc.C:
8688         * lyx_cb.C: use Alert::prompt
8689
8690         * lyx_main.C: remove a silly question
8691
8692         * lyxfunc.C: remove a couple of silly questions,
8693         use Alert::prompt
8694
8695 2003-03-28  John Levon  <levon@movementarian.org>
8696
8697         * text2.C: fix bug 974 (End on empty par)
8698
8699 2003-03-28  John Levon  <levon@movementarian.org>
8700
8701         * BufferView_pimpl.C:
8702         * LyXAction.C:
8703         * lfuns.h: remove do-nothing math greek lfuns
8704
8705 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8706
8707         * lyxgluelength.h (isValidGlueLength): add default arg on
8708         parameter 2. Remove default arg from friend in class.
8709
8710         * lyxlength.h (isValidLength): add default arg on parameter 2.
8711         Remove default arg from friend in class.
8712
8713         * text2.C (LyXText): adjust, initialize refresh_row.
8714         (init): adjust
8715         (removeRow): adjust
8716         (insertRow): adjust
8717         (insertParagraph): adjst
8718         (redoParagraphs): adjust
8719         (fullRebreak): adjust
8720         (updateCounters): adjust
8721         (deleteEmptyParagraphMechanism): first attempt at fixing a
8722         crashing bug.
8723
8724         * text.C (top_y): adjust
8725         (setHeightOfRow): adjust
8726         (getRow): adjust
8727         (getRowNearY): adjust
8728
8729         * lyxtext.h: include RowList.h
8730         (~LyXText): not needed anymore, deleted.
8731         (firstRow): modify for RowList
8732         (lastRow): new function
8733         Delete firstrow and lastrow class variables, add a Rowlist
8734         rowlist_ class variable.
8735
8736         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8737         paragraph is empty.
8738
8739         * RowList.C (insert): fix case where it == begin().
8740
8741 2003-03-26  Angus Leeming  <leeming@lyx.org>
8742
8743         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8744         the thesaurus dialog.
8745
8746 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8747
8748         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8749
8750         * RowList.[Ch]: new files
8751
8752         * ParagraphList.C (erase): handle the case where it == begin
8753         correctly.
8754
8755 2003-03-25  John Levon  <levon@movementarian.org>
8756
8757         * Makefile.am:
8758         * aspell_local.h:
8759         * aspell.C: add new aspell support
8760
8761         * lyxrc.h:
8762         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8763         have it accessible.
8764
8765 2003-03-25  Angus Leeming  <leeming@lyx.org>
8766
8767         * lfuns.h:
8768         * LyXAction.C (init): new LFUN_INSET_INSERT.
8769
8770         * BufferView_pimpl.C (dispatch): split out part of the
8771         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8772
8773         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8774         LFUN_INSET_APPLY.
8775
8776 2003-03-25  Angus Leeming  <leeming@lyx.org>
8777
8778         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8779
8780 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8781
8782         * text2.C:
8783         * text3.C: remove useless row->height(0)
8784
8785 2003-03-25  John Levon  <levon@movementarian.org>
8786
8787         * lyxtext.h:
8788         * text2.C:
8789         * text3.C: rename the refreshing stuff to better names
8790
8791 2003-03-24  John Levon  <levon@movementarian.org>
8792
8793         * BufferView_pimpl.h:
8794         * BufferView_pimpl.C: update layout choice on a mouse
8795         press/release
8796
8797 2003-03-23  John Levon  <levon@movementarian.org>
8798
8799         * Makefile.am: fix commandtags.h reference
8800
8801 2003-03-22  John Levon  <levon@movementarian.org>
8802
8803         * BufferView_pimpl.C:
8804         * lyxtext.h:
8805         * rowpainter.C:
8806         * rowpainter.h:
8807         * text.C:
8808         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8809
8810 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8811
8812         * lyxtext.h:
8813         * text.C: take the rtl methods out of line
8814
8815 2003-03-21 André Pönitz <poenitz@gmx.net>
8816
8817         * metricsinfo.[Ch]: new files containing structures to be passed around
8818         during the two-phase-drawing...
8819
8820 2003-03-21 André Pönitz <poenitz@gmx.net>
8821
8822         * lyxtextclass.C: read 'environment' tag.
8823
8824 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8825
8826         * text2.C (removeRow): fix bug 964
8827
8828 2003-03-20  John Levon  <levon@movementarian.org>
8829
8830         * rowpainter.C:
8831         * text.C:
8832         * text2.C: paint cleanups. Inset::update() dropped font
8833         parameter
8834
8835 2003-03-19  John Levon  <levon@movementarian.org>
8836
8837         * lyxfunc.C: only fitcursor/markDirty if available()
8838
8839 2003-03-19  John Levon  <levon@movementarian.org>
8840
8841         * commandtags.h: rename to ...
8842
8843         * lfuns.h: ... this, and renumber / cleanup
8844
8845 2003-03-19  John Levon  <levon@movementarian.org>
8846
8847         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8848         fit the cursor after an lfun
8849
8850         * BufferView.h:
8851         * BufferView.C:
8852         * BufferView_pimpl.h:
8853         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8854
8855         * LyXAction.C: layout-character should have ReadOnly
8856
8857         * ParagraphParameters.C:
8858         * buffer.C:
8859         * bufferview_funcs.C:
8860         * lyx_cb.C:
8861         * lyxfind.C:
8862         * lyxtext.h:
8863         * text.C:
8864         * text2.C:
8865         * text3.C:
8866         * undo_funcs.C: changes from above
8867
8868 2003-03-18  John Levon  <levon@movementarian.org>
8869
8870         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8871         remove it from update()
8872
8873         * lyxfunc.C: update layout choice after an lfun
8874
8875         * text3.C: remove extra updateLayoutChoice()s
8876
8877 2003-03-18  John Levon  <levon@movementarian.org>
8878
8879         * text.C: top_y change means full repaint, fix
8880         a drawing bug with cursor movement
8881
8882 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8883
8884         * lyxtext.h:
8885         * text.C:
8886         * text2.C: anchor row on setCursor
8887
8888 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8889
8890         * lyxtext.h: remove almost all mutable keywords
8891         * text.C:
8892         * text2.C:
8893         * text3.C: remove const keywords accordingly
8894
8895 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8896
8897         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8898         anon namespace
8899         (TeXEnvironment): ditto
8900         (TeXOnePar): ditto
8901
8902 2003-03-17  John Levon  <levon@movementarian.org>
8903
8904         * text.C (rowBreakPoint): remove attempt to fix displayed
8905         math insets inside a manual label
8906
8907 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8908
8909         * lyxtext.h: remove BufferView* as first arg from almost all class
8910         functions.
8911         * other files: adjust.
8912
8913 2003-03-17  John Levon  <levon@movementarian.org>
8914
8915         * lyxtext.h:
8916         * undo_funcs.C:
8917         * text2.C: more paint cleanups
8918
8919         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8920
8921         * rowpainter.h:
8922         * rowpainter.C: remove "smart" background painting code
8923
8924 2003-03-16  John Levon  <levon@movementarian.org>
8925
8926         * lyxtext.h:
8927         * text.C:
8928         * text2.C:
8929         * text3.C: add helper functions for setting refresh_row/y
8930
8931 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8932
8933         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8934         newline inset which *can* get inserted in the pass_thru layouts.
8935         This is primarily for literate documents.
8936
8937 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8938
8939         * buffer.C: increment LYX_FORMAT to 223
8940
8941 2003-03-14 André Pönitz <poenitz@gmx.net>
8942
8943         * textclass.h: prepare for environment handling, ws changes
8944         * lyxlayout.C: read latexheader and latexfooter tags
8945
8946 2003-03-14  John Levon  <levon@movementarian.org>
8947
8948         * text2.C: rewrite ::status() a bit
8949
8950 2003-03-13  John Levon  <levon@movementarian.org>
8951
8952         * lyxtext.h: add some docs
8953
8954 2003-03-13  John Levon  <levon@movementarian.org>
8955
8956         * lyxtext.h:
8957         * text.C:
8958         * text2.C:
8959         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8960
8961 2003-03-13  John Levon  <levon@movementarian.org>
8962
8963         * text3.C: fix appendix redrawing
8964
8965 2003-03-13  John Levon  <levon@movementarian.org>
8966
8967         * text.C (setHeightOfRow):
8968         * rowpainter.h:
8969         * rowpainter.C: make appendix mark have the text
8970           "Appendix" so the user knows what it is
8971
8972         * LColor.h:
8973         * LColor.C: s/appendixline/appendix/ from above
8974
8975 2003-03-13  John Levon  <levon@movementarian.org>
8976
8977         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8978
8979         * text.C: fix a getChar(pos) bug properly
8980
8981 2003-03-13  Angus Leeming  <leeming@lyx.org>
8982
8983         * commandtags.h:
8984         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8985         Probably only temporary. Let's see how things pan out.
8986
8987         * BufferView.C (unlockInset):
8988         * BufferView_pimpl.C (fitCursor):
8989         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8990
8991         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8992         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8993
8994         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8995         new functions that convert ParagraphParameters to and from a string.
8996
8997         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8998         BufferView::Pimpl's dispatch.
8999         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9000
9001 2003-03-13 André Pönitz <poenitz@gmx.net>
9002
9003         * lyxfunc.C:
9004         * text3.C:
9005         * factory.C: make it aware of InsetEnv
9006
9007 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9008
9009         * text2.C (setCursor): never ask for one past last
9010         (setCursor): add some debugging messages.
9011
9012         * text.C (singleWidth): never ask for one past last
9013         (singleWidth): ditto
9014         (leftMargin): ditto
9015         (rightMargin): ditto
9016         (rowBreakPoint): ditto
9017         (setHeightOfRow): ditto
9018         (prepareToPrint): ditto
9019
9020         * rowpainter.C (paintBackground): never ask for one past last
9021         (paintText): never ask for one past last
9022
9023         * paragraph_pimpl.C (getChar): make the assert stricter, never
9024         allow the one past last pos to be taken
9025
9026         * paragraph.C (getChar): ws changes only
9027
9028         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9029         (numberOfSeparators): ditto
9030         (numberOfHfills): ditto
9031
9032 2003-03-12  John Levon  <levon@movementarian.org>
9033
9034         * author.h:
9035         * author.C:
9036         * bufferparams.h:
9037         * bufferparams.C:
9038         * paragraph_funcs.C: fix per-buffer authorlists
9039
9040 2003-03-12  John Levon  <levon@movementarian.org>
9041
9042         * text.C: fix newline in right address
9043
9044 2003-03-12  Angus Leeming  <leeming@lyx.org>
9045
9046         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9047         duplicate those in LyXFunc::dispatch.
9048
9049         * commandtags.h:
9050         * LyXAction.C:
9051         * ToolbarDefaults.C:
9052         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9053         Add LFUN_FONTFREE_UPDATE.
9054
9055         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9056         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9057
9058         * bufferview_func.[Ch]: several new functions to facilliate
9059         transfer of data to and from the character dialog.
9060
9061 2003-03-12  John Levon  <levon@movementarian.org>
9062
9063         * buffer.C:
9064         * paragraph.h:
9065         * paragraph.C:
9066         * paragraph_funcs.C:
9067         * paragraph_pimpl.C:
9068         * sgml.C:
9069         * tabular.C:
9070         * text.C:
9071         * text3.C: remove META_NEWLINE in favour of an inset
9072
9073         * rowpainter.h:
9074         * rowpainter.C: remove paintNewline (done by inset)
9075
9076 2003-03-12  John Levon  <levon@movementarian.org>
9077
9078         * paragraph_pimpl.C: complain about bad getChar()s
9079         for a while at least
9080
9081 2003-03-12  John Levon  <levon@movementarian.org>
9082
9083         * buffer.h:
9084         * buffer.C: move paragraph read into a separate function,
9085         a little renaming to reflect that.
9086
9087         * bufferparams.h:
9088         * bufferparams.C: remove the author_ids map, not necessary now
9089
9090         * factory.h:
9091         * factory.C: moved Buffer::readInset to here
9092
9093         * paragraph_funcs.h:
9094         * paragraph_funcs.C: readParagraph free function moved from
9095         buffer.C
9096
9097         * tabular.C: name change
9098
9099 2003-03-12  John Levon  <levon@movementarian.org>
9100
9101         * buffer.C:
9102         * ParagraphParameters.C: move par params input to
9103         a read() method
9104
9105         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9106         behave like a normal read from the stream wrt reading
9107         a line vs. a \\token
9108
9109 2003-03-12  John Levon  <levon@movementarian.org>
9110
9111         * paragraph.C:
9112         * ParagraphParameters.h:
9113         * ParagraphParameters.C: move output code to a
9114         ::write() method
9115
9116 2003-03-12  John Levon  <levon@movementarian.org>
9117
9118         * BufferView.C (insertLyXFile):
9119         * buffer.h:
9120         * buffer.C:
9121         * tabular.C: use a parlist iterator for creating the
9122           document.
9123
9124 2003-03-12  John Levon  <levon@movementarian.org>
9125
9126         * buffer.C: make current_change static local not
9127           static file-scope
9128
9129 2003-03-12  John Levon  <levon@movementarian.org>
9130
9131         * buffer.C: fix insertStringAsLines for change tracking
9132
9133 2003-03-12  John Levon  <levon@movementarian.org>
9134
9135         * BufferView.C:
9136         * tabular.C:
9137         * buffer.h:
9138         * buffer.C:
9139         * bufferparams.h:
9140         * bufferparams.C: move author list into params. Rename some
9141           functions. Move the header reading into a separate token
9142           loop. Move the header token reading into BufferParams.
9143
9144 2003-03-12  John Levon  <levon@movementarian.org>
9145
9146         * changes.C: put debug inside lyxerr.debugging() checks
9147
9148 2003-03-11 André Pönitz <poenitz@gmx.net>
9149
9150         * factory.C: make it aware of InsetHFill
9151
9152 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9153
9154         * buffer.C (latexParagraphs): move function from here...
9155         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9156         args.
9157
9158 2003-03-10  Angus Leeming  <leeming@lyx.org>
9159
9160         * LyXAction.C (init): fix bug in poplating array with multiple entries
9161         with the same LFUN (spotted by JMarc).
9162
9163 2003-03-10  John Levon  <levon@movementarian.org>
9164
9165         * text.C:
9166         * text2.C: move getColumnNearX() near its
9167         only call site
9168
9169 2003-03-10  John Levon  <levon@movementarian.org>
9170
9171         * text.C: fix break before a minipage
9172
9173 2003-03-10  John Levon  <levon@movementarian.org>
9174
9175         * text.C: fix the last commit
9176
9177 2003-03-09  John Levon  <levon@movementarian.org>
9178
9179         * lyxtext.h:
9180         * text.C:
9181         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9182         bug 365 (don't break before insets unless needed). Don't
9183         return a value > last under any circumstances.
9184
9185 2003-03-09  Angus Leeming  <leeming@lyx.org>
9186
9187         * BufferView_pimpl.C (trackChanges, dispatch): call
9188         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9189
9190 2003-03-09  Angus Leeming  <leeming@lyx.org>
9191
9192         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9193         than Dialogs::showAboutlyx().
9194
9195 2003-03-09  Angus Leeming  <leeming@lyx.org>
9196
9197         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9198         than Dialogs::showTabularCreate().
9199
9200 2003-03-09  John Levon  <levon@movementarian.org>
9201
9202         * lyxtext.h:
9203         * text.C:
9204         * text2.C: 3rd arg to nextBreakPoint was always the same.
9205           Use references.
9206
9207 2003-03-08  John Levon  <levon@movementarian.org>
9208
9209         * lyxrow.C:
9210         * paragraph.C:
9211         * paragraph.h:
9212         * rowpainter.C:
9213         * text.C:
9214         * text2.C: Remove the "main" bit from the "main body"
9215           notion.
9216
9217 2003-03-08  John Levon  <levon@movementarian.org>
9218
9219         * text.C (leftMargin): The left margin of an empty
9220         manual label paragraph should not include the label width
9221         string length.
9222
9223         * text.C (prepareToPrint): don't attempt to measure hfills
9224         for empty manual label paragraphs - the answer should be 0
9225
9226 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9227
9228         * CutAndPaste.C: remove commented code and reindent.
9229
9230 2003-03-08  John Levon  <levon@movementarian.org>
9231
9232         * lyxfunc.h:
9233         * lyxfunc.C: move reloadBuffer()
9234
9235         * BufferView.h:
9236         * BufferView.C: to here
9237
9238         * lyxvc.C: add comment
9239
9240         * vc-backend.h:
9241         * vc-backend.C: call bv->reload() to avoid
9242           getStatus() check on MENURELOAD
9243
9244 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9245
9246         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9247         to an old format .dep file.
9248
9249 2003-03-07  Angus Leeming  <leeming@lyx.org>
9250
9251         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9252         when the LFUN_MOUSE_RELEASE should have been handled by
9253         inset->localDispatch.
9254
9255 2003-03-07  Angus Leeming  <leeming@lyx.org>
9256
9257         * BufferView_pimpl.C (dispatch):
9258         * LyXAction.C (init):
9259         * ToolbarDefaults.C (init):
9260         * commandtags.h:
9261         * lyxfunc.C (getStatus):
9262         remove LFUN_INSET_GRAPHICS.
9263
9264         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9265
9266 2003-03-07  Angus Leeming  <leeming@lyx.org>
9267
9268         * commandtags.h:
9269         * LyXAction.C (init):
9270         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9271
9272         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9273
9274         * commandtags.h:
9275         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9276
9277         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9278         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9279
9280 2003-03-07  Angus Leeming  <leeming@lyx.org>
9281
9282         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9283         remove "ert".
9284
9285 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9286
9287         * ParagraphList.C (front): new function
9288         (back): implement
9289
9290 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9291
9292         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9293         and top_row_offset_. removed var first_y.
9294         * text.C (top_y):
9295         * text2.C (LyXText, removeRow):
9296         * text3.C:
9297         * BufferView_pimpl.C:
9298         use these methods instead of using first_y
9299
9300 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9301
9302         * text2.C (pasteSelection): adjust for checkPastePossible
9303
9304         * CutAndPaste.C: remove Paragraph * buf and replace with
9305         ParagraphList paragraphs.
9306         (DeleteBuffer): delete
9307         (cutSelection): change the tc type to textclass_type
9308         (copySelection): change the tc type to textclass_type
9309         (copySelection): adjust for ParagraphList
9310         (pasteSelection): change the tc type to textclass_type
9311         (pasteSelection): adjust for Paragraphlist
9312         (nrOfParagraphs): simplify for ParagraphList
9313         (checkPastePossible): simplify for ParagraphList
9314         (checkPastePossible): remove unused arg
9315
9316         * ParagraphList.C (insert): handle the case where there are no
9317         paragraphs yet.
9318
9319         * CutAndPaste.h: make CutAndPaste a namespace.
9320
9321         * text3.C (dispatch): adjust
9322
9323         * text.C (breakParagraph): add a ParagraphList as arg
9324
9325         * paragraph_funcs.C (breakParagraph): change to take a
9326         BufferParams and a ParagraphList as args.
9327         (breakParagraphConservative): ditto
9328         (mergeParagraph): ditto
9329         (TeXDeeper): add a ParagraphList arg
9330         (TeXEnvironment): ditto
9331         (TeXOnePar): ditto
9332
9333         * buffer.C (readLyXformat2): adjust
9334         (insertStringAsLines): adjust
9335         (latexParagraphs): adjust
9336
9337         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9338         (cutSelection): adjust
9339         (pasteSelection): adjust
9340
9341         * BufferView_pimpl.C (insertInset): adjust
9342
9343 2003-03-05  Angus Leeming  <leeming@lyx.org>
9344
9345         * commandtags.h:
9346         * LyXAction.C (init):
9347         * BufferView_pimpl.C (dispatch):
9348         * lyxfunc.C (getStatus):
9349         remove LFUN_CHILD_INSERT.
9350
9351         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9352
9353 2003-03-05  Angus Leeming  <leeming@lyx.org>
9354
9355         * commandtags.h:
9356         * LyXAction.C (init):
9357         * src/factory.C (createInset):
9358         * lyxfunc.C (getStatus):
9359         * text3.C (dispatch):
9360         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9361
9362         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9363
9364 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9365
9366         * ParagraphList.C (insert): handle insert right before end()
9367         (erase): fix cases where it can be first or last paragraph.
9368
9369 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9370
9371         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9372         Paragraph::next and Paragraph::previous
9373         (TeXOnePar): ditto
9374
9375         * text.C (breakParagraph): adjust
9376
9377         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9378         BufferParams& as arg.
9379         (breakParagraph): use ParagraphList::insert
9380         (breakParagraphConservative): take a Buffer* instead of a
9381         BufferParams& as arg.
9382         (breakParagraphConservative): use ParagraphList::insert.
9383
9384         * buffer.C (insertStringAsLines): un-const it
9385         (insertStringAsLines): adjust
9386
9387         * ParagraphList.C (insert): new function
9388
9389         * CutAndPaste.C (pasteSelection): adjust
9390
9391         * text.C (backspace): adjust
9392
9393         * tabular.C (SetMultiColumn): adjust
9394
9395         * CutAndPaste.C (cutSelection): adjust
9396         (pasteSelection): adjust
9397
9398         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9399         Buffer const * as arg
9400
9401         * ParagraphList.C (erase): new function
9402         * paragraph_funcs.C (mergeParagraph): use it
9403         (mergeParagraph): make it take a Buffer* instead of a
9404         BufferParams* as arg
9405
9406         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9407         as arg
9408         (breakParagraphConservative): ditto
9409
9410         * paragraph.h: remove the breakParagraph friend
9411
9412         * paragraph.C (eraseIntern): new function
9413         (setChange): new function
9414
9415         * paragraph_funcs.C (mergeParagraph): make it take a
9416         ParagraphList::iterator instead of a Paragraph *, adjust
9417         accordingly.
9418
9419         * paragraph.h: move an #endif so that the change tracking stuff
9420         also works in the NO_NEXT case.
9421
9422 2003-03-04  Angus Leeming  <leeming@lyx.org>
9423
9424         * commandtags.h:
9425         * LyXAction.C: new LFUN_INSET_MODIFY.
9426
9427         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9428         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9429
9430 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9431
9432         * several files: ws changes only
9433
9434         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9435         (TeXEnvironment): ditto
9436         (TeXDeeper): ditto
9437
9438         * buffer.C (makeLaTeXFile): adjust
9439         (latexParagraphs): make it take ParagraphList::iterator as args
9440
9441 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9442
9443         * buffer.C (latexParagraphs): adjust
9444
9445         * paragraph.C (TeXOnePar): move function...
9446         (optArgInset): move function...
9447         (TeXEnvironment): move function...
9448         * paragraph_pimpl.C (TeXDeeper): move function...
9449         * paragraph_funcs.C: ...here
9450
9451         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9452
9453 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9454
9455         * buffer.C (readInset): remove compability code for old Figure and
9456         InsetInfo insets
9457
9458 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9459
9460         * buffer.C: ws changes
9461         (readInset):
9462
9463         * BufferView_pimpl.C: ditto
9464         * author.C: ditto
9465         * buffer.h: ditto
9466         * bufferlist.h: ditto
9467         * changes.h: ditto
9468         * lyxfunc.C: ditto
9469
9470 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9471
9472         * converter.[Ch]: split into itself +
9473         * graph.[Ch]
9474         * format.[Ch]
9475         * Makefile.am: += graph.[Ch] + format.[Ch]
9476         * MenuBackend.C
9477         * buffer.C
9478         * exporter.C
9479         * importer.C
9480         * lyx_main.C
9481         * lyxfunc.C
9482         * lyxrc.C: added #include "format.h"
9483
9484 2003-02-27  Angus Leeming  <leeming@lyx.org>
9485
9486         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9487           a label.
9488
9489         * factory.C (createInset): add "label" to the factory.
9490
9491         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9492           string and do no more.
9493
9494 2003-02-27  Angus Leeming  <leeming@lyx.org>
9495
9496         * commandtags.h:
9497         * LyXAction.C (init):
9498         * factory.C (createInset):
9499         * BufferView_pimpl.C (dispatch):
9500           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9501
9502         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9503
9504         * lyxfunc.C (dispatch):
9505         * text3.C (dispatch): pass name to params2string.
9506
9507 2003-02-26  Angus Leeming  <leeming@lyx.org>
9508
9509         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9510           blocks together.
9511           Rearrange the ~includes. Strip out the unnecessary ones.
9512
9513         * factory.C (createInset): reformat.
9514           create new insets for the various LFUN_XYZ_APPLY lfuns.
9515
9516 2003-02-26  John Levon  <levon@movementarian.org>
9517
9518         * lyxrow.h:
9519         * lyxrow.C: add isParStart,isParEnd helpers
9520
9521         * paragraph.h: make isInserted/DeletedText take refs
9522
9523         * paragraph_funcs.h:
9524         * paragraph_funcs.C: remove #if 0'd code
9525
9526         * lyxtext.h:
9527         * text3.C:
9528         * text2.C:
9529         * text.C: use lyxrow helpers above.
9530           Move draw and paint routines to RowPainter.
9531           Make several methods use refs not pointers.
9532           Make backgroundColor() const.
9533           Add markChangeInDraw(), isInInset().
9534           Merge changeRegionCase into changeCase.
9535           Make workWidth() shouldn't-happen code into an Assert.
9536
9537         * rowpainter.h:
9538         * rowpainter.C: new class for painting a row.
9539
9540         * vspace.h:
9541         * vspace.C: make inPixels take a ref
9542
9543 2003-02-26  Angus Leeming  <leeming@lyx.org>
9544
9545         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9546         LFUN_REF_APPLY.
9547
9548 2003-02-25  John Levon  <levon@movementarian.org>
9549
9550         * ispell.C: give the forked command a more accurate name
9551
9552 2003-02-22  John Levon  <levon@movementarian.org>
9553
9554         * toc.h:
9555         * toc.C: make TocItem store an id not a Paragraph *
9556           (bug #913)
9557
9558 2003-02-21  Angus Leeming  <leeming@lyx.org>
9559
9560         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9561           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9562           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9563           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9564           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9565           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9566
9567         * BufferView_pimpl.C (dispatch):
9568         * LyXAction.C (init):
9569         * factory.C (createInset):
9570         * lyxfunc.C (getStatus, dispatch):
9571         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9572
9573 2003-02-21  Angus Leeming  <leeming@lyx.org>
9574
9575         * BufferView_pimpl.C (MenuInsertLyXFile):
9576         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9577         * lyxfunc.C (menuNew, open, doImport):
9578           no longer pass a LyXView & to fileDlg.
9579
9580 2003-02-21  Angus Leeming  <leeming@lyx.org>
9581
9582         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9583         * LyXAction.C: change, BIBKEY to BIBITEM.
9584         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9585         Change InsetBibKey to InsetBibitem.
9586         Change BIBKEY_CODE to BIBITEM_CODE.
9587         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9588         * factory.C: replace insetbib.h with insetbibitem.h.
9589         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9590         * paragraph.C: replace insetbib.h with insetbibitem.h.
9591         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9592         Change bibkey() to bibitem().
9593         * text.C: remove insetbib.h.
9594         * text2.C: replace insetbib.h with insetbibitem.h.
9595         change bibkey() to bibitem().
9596         * text3.C: remove insetbib.h.
9597         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9598
9599 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9600
9601         * lyxrc.C (output): enclose user email in quotes (in case there are
9602         several words)
9603
9604 2003-02-18  John Levon  <levon@movementarian.org>
9605
9606         * buffer.h: add std::
9607
9608 2003-02-17  John Levon  <levon@movementarian.org>
9609
9610         * SpellBase.h:
9611         * ispell.h:
9612         * ispell.C:
9613         * pspell.h:
9614         * pspell.C: reworking. Especially in ispell, a large
9615           number of clean ups and bug fixes.
9616
9617         * lyxfunc.C: fix revert to behave sensibly
9618
9619 2003-02-17 André Pönitz <poenitz@gmx.net>
9620
9621         * LyXAction.C:
9622         * commandtags.h: new LFUN_INSERT_BIBKEY
9623
9624         * layout.h:
9625         * lyxlayout.C:
9626         * buffer.C:
9627         * factory.C:
9628         * text.C:
9629         * text2.C:
9630         * text3.C:
9631         * paragraph.[Ch]:
9632         * paragraph_func.C: remove special bibkey handling
9633
9634 2003-02-17  John Levon  <levon@movementarian.org>
9635
9636         * text.C (Delete): fix case where delete at the end of
9637           the very first paragraph would not merge the pars
9638
9639 2003-02-17  John Levon  <levon@movementarian.org>
9640
9641         * lyxrow.C: fix lastPrintablePos()
9642
9643 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9644
9645         * bufferparams.C (writeLaTeX): add a std:here
9646
9647         * buffer.C: and remove a using directive there
9648
9649 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9650
9651         * buffer.C (makeLaTeXFile): move the code that generates the
9652           preamble...
9653
9654         * bufferparams.C (writeLaTeX): ... in this new method
9655
9656         * LaTeXFeatures.C (getEncodingSet): make const
9657           (getLanguages): make const
9658
9659         * MenuBackend.C (binding): returns the binding associated to this
9660           action
9661           (add): sets the status of each item by calling getStatus. Adds
9662           some intelligence.
9663           (read): add support for OptSubMenu
9664           (expand): remove extra separator at the end of expanded menu
9665
9666 2003-02-15  John Levon  <levon@movementarian.org>
9667
9668         * BufferView.C:
9669         * BufferView_pimpl.C:
9670         * bufferlist.h:
9671         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9672           inset code that had no actual effect. Remove unneeded status
9673           code.
9674
9675 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9676
9677         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9678           in preamble
9679
9680 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9681
9682         * text.C (drawLengthMarker): also draw an arrow marker for
9683           symbolic lengths (medskip...)
9684
9685 2003-02-14  John Levon  <levon@movementarian.org>
9686
9687         * tabular.h:
9688         * tabular.C: better method names
9689
9690 2003-02-14  John Levon  <levon@movementarian.org>
9691
9692         * BufferView_pimpl.C:
9693         * bufferlist.C:
9694         * buffer.C:
9695         * converter.C:
9696         * lyx_cb.C:
9697         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9698           it's a more accurate name. Remove some pointless uses.
9699
9700 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9701
9702         * text2.C (LyXText): change order of initilizers to shut off
9703           warnings
9704
9705 2003-02-14  John Levon  <levon@movementarian.org>
9706
9707         * buffer.C: use ParIterator for getParFromID()
9708
9709         * paragraph.h:
9710         * paragraph.C:
9711         * paragraph_pimpl.h:
9712         * paragraph_pimpl.C: remove unused getParFromID()
9713
9714 2003-02-14  John Levon  <levon@movementarian.org>
9715
9716         * buffer.C: remove some very old #if 0'd parse code
9717
9718 2003-02-13  John Levon  <levon@movementarian.org>
9719
9720         * text.h:
9721         * text.C:
9722         * text2.C: move hfillExpansion(), numberOfSeparators(),
9723           rowLast(), rowLastPrintable(), numberofHfills(),
9724           numberOfLabelHfills() ...
9725
9726         * lyxrow.h:
9727         * lyxrow.C: ... to member functions here.
9728
9729         * paragraph.h:
9730         * paragraph.C:
9731         * lyxtext.h:
9732         * text.C: remove LyXText::beginningOfMainBody(), and call
9733           p->beginningOfMainBody() directly. Move the check for
9734           LABEL_MANUAL into the latter.
9735
9736         * text.h:
9737         * text.C:
9738         * text2.C:
9739         * vspace.C:
9740         * BufferView.h:
9741         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9742
9743         * text.h:
9744         * text.C:
9745         * text2.C:
9746         * text3.C:
9747         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9748           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9749
9750 2003-02-13  John Levon  <levon@movementarian.org>
9751
9752         * CutAndPaste.C: remove debug
9753
9754 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9755
9756         * paragraph.C (asString): remove two unused variables
9757
9758         * lyxtextclass.C (readTitleType):
9759           (Read):
9760           (LyXTextClass): handle new members titletype_ and titlename_
9761
9762         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9763
9764 2003-02-09  John Levon  <levon@movementarian.org>
9765
9766         * buffer.h:
9767         * buffer.C: replace hand-coded list with a map for the dep clean
9768
9769 2003-02-08  John Levon  <levon@movementarian.org>
9770
9771         * LaTeX.C: consolidate code into showRunMessage() helper
9772
9773 2003-02-08  John Levon  <levon@movementarian.org>
9774
9775         * lyxfind.C:
9776         * lyxtext.h:
9777         * text2.C:
9778         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9779           and pass the size in explicitly
9780
9781         * BufferView_pimpl.h:
9782         * BufferView_pimpl.C:
9783         * BufferView.h:
9784         * BufferView.C: add getCurrentChange()
9785
9786         * BufferView_pimpl.h:
9787         * BufferView_pimpl.C: handle change lfuns
9788
9789         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9790           for changes. Mark pasted paragraphs as new.
9791
9792         * support/lyxtime.h:
9793         * support/lyxtime.C:
9794         * DepTable.C: abstract time_t as lyx::time_type
9795
9796         * LColor.h:
9797         * LColor.C: add colours for new text, deleted text, changebars
9798
9799         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9800           package use "usenames" option.
9801
9802         * commandtags.h:
9803         * lyxfunc.C:
9804         * LyXAction.C: add change lfuns
9805
9806         * Makefile.am:
9807         * author.h:
9808         * author.C: author handling
9809
9810         * buffer.h:
9811         * buffer.C: add a per-buffer author list, with first entry as
9812           current author. Handle new .lyx tokens for change tracking. Output
9813           author list to .lyx file. Output dvipost stuff to .tex preamble.
9814           Bump lyx format to 222.
9815
9816         * bufferlist.h:
9817         * bufferlist.C: add setCurrentAuthor() to reset current author details
9818           in all buffers.
9819
9820         * bufferparams.h:
9821         * bufferparams.C: add param for tracking
9822
9823         * bufferview_funcs.C: output change info in minibuffer
9824
9825         * Makefile.am:
9826         * changes.h:
9827         * changes.C: add change-tracking structure
9828
9829         * debug.h:
9830         * debug.C: add CHANGES debug flag
9831
9832         * lyxfind.h:
9833         * lyxfind.C: add code for finding the next change piece
9834
9835         * lyxrc.h:
9836         * lyxrc.C: add user_name and user_email
9837
9838         * lyxrow.h:
9839         * lyxrow.C: add a metric for the top of the text line
9840
9841         * lyxtext.h:
9842         * text.C: implement accept/rejectChange()
9843
9844         * lyxtext.h:
9845         * text.C: paint changebars. Paint new/deleted text in the chosen
9846         colours. Strike through deleted text.
9847
9848         * paragraph.h:
9849         * paragraph.C:
9850         * paragraph_pimpl.h:
9851         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9852           in the current change to the insert functions. Rework erase to
9853           mark text as deleted, adding an eraseIntern() and a range-based
9854           erase(). Implement per-paragraph change lookup and
9855           accept/reject.
9856
9857         * paragraph_funcs.C: Fixup paste for change tracking.
9858
9859         * tabular.C: mark added row/columns as new.
9860
9861         * text.C: fix rowLast() to never return -1. Don't allow
9862           spellchecking of deleted text. Track transpose changes. Don't
9863           allow paragraph break or merge where appropriate.
9864
9865         * text2.C: leave cursor at end of selection after a cut.
9866
9867 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9868
9869         * text.C (getLengthMarkerHeight):
9870         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9871         visible on screen too.
9872
9873 2003-02-07  John Levon  <levon@movementarian.org>
9874
9875         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9876
9877 2003-02-05  Angus Leeming  <leeming@lyx.org>
9878
9879         * lyxserver.C (read_ready): revert my patch of 11 September last year
9880         as it sends PC cpu through the roof. Presumably this means that
9881         the lyxserver will no longer run on an Alpha...
9882
9883 2003-01-30  Angus Leeming  <leeming@lyx.org>
9884
9885         * factory.C (createInset): create an InsetCommandParam of type "index"
9886         and use it to 'do the right thing'.
9887
9888         * text2.C (getStringToIndex): ensure that cursor position is always
9889         reset to the reset_cursor position.
9890
9891 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9892
9893         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9894         disabled.
9895
9896 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9897
9898         * bufferview.C:
9899         * lyxcb.C:
9900         * lyxfunc.C: Output messages with identical spelling, punctuation,
9901         and spaces
9902
9903 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9904
9905         * MenuBackend.C (expandFormats): List only viewable export formats
9906         in "View" menu
9907
9908         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9909         message
9910
9911         * lyxfunc.C (getStatus): Make sure that formats other than
9912         "fax" can also be disabled
9913
9914 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9915
9916         * text3.C (dispatch): put the lfuns that insert insets in 3
9917         groups, and call doInsertInset with appropriate arguments.
9918         (doInsertInset): new function, that creates an inset and inserts
9919         it according to some boolean parameters.
9920
9921 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9922
9923         * buffer.C (readFile): remember to pass on 'par' when calling
9924         readFile recursively.
9925
9926 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9927
9928         * MenuBackend.C (expandFormats): add "..." to import formats.
9929
9930 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9931
9932         * paragraph.C (asString): Remove XForms RTL hacks.
9933
9934 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9935         * buffer.C: fix typo
9936
9937 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9938
9939         * Makefile.am (LIBS): delete var
9940         (lyx_LDADD): add @LIBS@ here instead.
9941
9942 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9943
9944         * Clarify the meaning of "wheel mouse jump"
9945
9946 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9947
9948         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9949         tabular in a float
9950
9951 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9952
9953         * importer.C (Loaders): do not preallocate 3 elements in the
9954         vector, since one ends up with 6 elements otherwise
9955
9956 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9957
9958         * DepTable.C (write): write the file name as last element of the
9959         .dep file (because it may contain spaces)
9960         (read): read info in the right order
9961
9962 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9963
9964         * paragraph_pimpl.C (simpleTeXBlanks):
9965         (simpleTeXSpecialChars):
9966         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9967
9968         * tabular.C (latex): add some missing case statements. Reindent.
9969
9970         * MenuBackend.C (expandToc): remove unused variable.
9971
9972 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9973
9974         * LColor.C:
9975         * LaTeX.C:
9976         * LyXAction.C:
9977         * MenuBackend.C:
9978         * buffer.C:
9979         * exporter.C:
9980         * lyxfunc.C:
9981         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9982         and the like.
9983
9984 2003-01-05  John Levon  <levon@movementarian.org>
9985
9986         * BufferView.h:
9987         * BufferView.C: add getEncoding()
9988
9989         * kbsequence.h:
9990         * kbsequence.C: do not store last keypress
9991
9992         * lyxfunc.h:
9993         * lyxfunc.C: store last keypress here instead. Pass encoding
9994           to getISOEncoded()
9995
9996 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9997
9998         * lyx_main.C (init): remove annoying error message when following
9999         symbolic links (bug #780)
10000
10001 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10002
10003         * text.C (insertChar):
10004         * lyxrc.C (getDescription): remove extra spaces
10005
10006 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10007
10008         * lyxrc.C (getDescription): remove extra spaces
10009
10010 2002-12-20  John Levon  <levon@movementarian.org>
10011
10012         * text3.C: hack fix for page up/down across tall rows
10013
10014 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10015
10016         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10017         not been invoked
10018
10019 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10020
10021         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10022         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10023         thesaurus is not compiled in
10024
10025 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10026
10027         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10028
10029 2002-12-16  Angus Leeming  <leeming@lyx.org>
10030
10031         * lyxrc.[Ch]:
10032         * lyx_main.C (init): remove override_x_deadkeys stuff.
10033
10034 2002-12-12  John Levon  <levon@movementarian.org>
10035
10036         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10037           insert. Only remove shift modifier under strict
10038           circumstances.
10039
10040 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10041
10042         * MenuBackend.C (expandToc): fix crash.
10043
10044 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10045
10046         * MenuBackend.C (expandToc): gettext on float names.
10047
10048 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10049
10050         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10051         implement bool empty() [bug 490]
10052
10053 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10054
10055         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10056
10057 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10058
10059         * several files: ws changes
10060
10061 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10062
10063         * text2.C (setCounter): clean up a bit, use boost.format.
10064         (updateCounters): initialize par upon declaration.
10065
10066         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10067         if the layout exists. We do not just store the layout any more.
10068         (SwitchLayoutsBetweenClasses): use boost.format
10069
10070 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10071
10072         * converter.C (convert): if from and to files are the same, use a
10073         temporary files as intermediary
10074
10075 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10076
10077         * commandtags.h:
10078         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10079
10080 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10081
10082         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10083
10084 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10085
10086         * tabular.C (asciiPrintCell): use string(size, char) instead of
10087         explicit loop.
10088
10089         * sgml.C (openTag): fix order of arguments to string constructor
10090         (closeTag): ditto
10091
10092         * lyxfunc.C (dispatch): use boost.format
10093
10094         * lots of files: change "c" -> 'c'
10095
10096 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10097
10098         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10099
10100 2002-11-25  Angus Leeming  <leeming@lyx.org>
10101
10102         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10103
10104         * lyx_main.C (init): compile fix.
10105
10106 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10107
10108         * lyx_cb.C (start): boost.formatify
10109         do not include <iostream>
10110
10111         * lengthcommon.C: ws only
10112
10113         * boost-inst.C,BoostFormat.h: add more explict instantations
10114
10115 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10116
10117         * lots of files: handle USE_BOOST_FORMAT
10118
10119 2002-11-21  John Levon  <levon@movementarian.org>
10120
10121         * pspell.C: fix compile
10122
10123 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10124
10125         * lyxfunc.C (dispatch): use boost::format
10126         (open): ditto
10127         (doImport): ditto
10128
10129         * lyxfont.C (stateText): use boost::format
10130
10131         * lyx_main.C (LyX): use boost::format
10132         (init): ditto
10133         (queryUserLyXDir): ditto
10134         (readRcFile): ditto
10135         (parse_dbg): ditto
10136         (typedef boost::function): use the recommened syntax.
10137
10138         * importer.C (Import): use boost::format
10139
10140         * debug.C (showLevel): use boost::format
10141
10142         * converter.C (view): use boost::format
10143         (convert): ditto
10144         (move): ditto
10145         (scanLog): ditto
10146
10147         * bufferview_funcs.C (currentState): use boost::format
10148
10149         * bufferlist.C (emergencyWrite): use boost::format
10150
10151         * buffer.C (readLyXformat2): use boost::format
10152         (parseSingleLyXformat2Token): ditto
10153
10154         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10155
10156         * LaTeX.C (run): use boost::format
10157
10158         * Chktex.C (scanLogFile): use boost::format
10159
10160         * BufferView_pimpl.C (savePosition): use boost::format
10161         (restorePosition): ditto
10162         (MenuInsertLyXFile): ditto
10163
10164         * BoostFormat.h: help file for explicit instation.
10165
10166 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10167
10168         * tabular.C (latex): Support for block alignment in fixed width
10169         columns.
10170
10171 2002-11-17  John Levon  <levon@movementarian.org>
10172
10173         * BufferView_pimpl.C:
10174         * lyx_cb.C:
10175         * lyxfunc.C: split filedialog into open/save
10176
10177 2002-11-08  Juergen Vigna  <jug@sad.it>
10178
10179         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10180         by my last patch (hopefully).
10181
10182 2002-11-08  John Levon  <levon@movementarian.org>
10183
10184         * iterators.h:
10185         * iterators.C:
10186         * buffer.h:
10187         * buffer.C:
10188         * paragraph.h:
10189         * paragraph.C:
10190         * toc.h:
10191         * toc.C: ParConstIterator, and use it (from Lars)
10192
10193 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10194
10195         * lyxtextclass.[Ch]: revise and add doxygen comments
10196
10197 2002-11-07  John Levon  <levon@movementarian.org>
10198
10199         * text.C: fix progress value for spellchecker
10200
10201         * toc.C: fix navigate menu for insetwrap inside minipage
10202
10203         * paragraph_funcs.C: added FIXME for suspect code
10204
10205 2002-11-07  John Levon  <levon@movementarian.org>
10206
10207         * BufferView_pimpl.C: fix redrawing of insets
10208           on buffer switch
10209
10210 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10211
10212         * text2.C (updateCounters): fix bug 668
10213
10214 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10215
10216         * text3.C (dispatch): Do not make the buffer dirty when moving the
10217         cursor.
10218
10219 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10220
10221         * vc-backend.C: STRCONV
10222         (scanMaster): ditto
10223
10224         * text2.C (setCounter): STRCONV
10225
10226         * paragraph.C (asString): STRCONV
10227
10228         * lyxlength.C (asString): STRCONV
10229         (asLatexString): ditto
10230
10231         * lyxgluelength.C (asString): STRCONV
10232         (asLatexString): ditto
10233
10234         * lyxfunc.C (dispatch): STRCONV
10235         (open): ditto
10236
10237         * lyxfont.C (stateText): STRCONV
10238
10239         * importer.C (Import): STRCONV
10240
10241         * counters.C (labelItem): STRCONV
10242         (numberLabel): ditto
10243         (numberLabel): remove unused ostringstream o
10244
10245         * chset.C: STRCONV
10246         (loadFile): ditto
10247
10248         * bufferview_funcs.C (currentState): STRCONV
10249
10250         * buffer.C (readFile): STRCONV
10251         (asciiParagraph): ditto
10252         (makeLaTeXFile): ditto
10253
10254         * Spacing.C (writeEnvirBegin): STRCONV
10255
10256         * LaTeXFeatures.C (getLanguages): STRCONV
10257         (getPackages): ditto
10258         (getMacros): ditto
10259         (getBabelOptions): ditto
10260         (getTClassPreamble): ditto
10261         (getLyXSGMLEntities): ditto
10262         (getIncludedFiles): ditto
10263
10264         * LaTeX.C: STRCONV
10265         (run): ditto
10266         (scanAuxFile): ditto
10267         (deplog): ditto
10268
10269         * LString.h: add the STRCONV macros
10270
10271         * BufferView_pimpl.C (savePosition): STRCONV
10272         (restorePosition): ditto
10273         (MenuInsertLyXFile): ditto
10274
10275         * vc-backend.C (scanMaster): change from submatch[...] to
10276         submatch.str(...)
10277
10278         * funcrequest.C: include config.h
10279
10280         * factory.C: include config.h
10281
10282         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10283
10284         * box.C: include config.h
10285
10286         * LaTeX.C (scanAuxFile): change from submatch[...] to
10287         submatch.str(...)
10288         (deplog): ditto
10289
10290 2002-10-25  Angus Leeming  <leeming@lyx.org>
10291
10292         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10293
10294         * ispell.[Ch] (setError): new method.
10295         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10296         Use setError() insetead of goto END.
10297
10298         * lyx_cb.C (AutoSave): move out child process into new class
10299         AutoSaveBuffer.
10300
10301 2002-10-30  John Levon  <levon@movementarian.org>
10302
10303         * text3.C: make start appendix undoable
10304
10305 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10306
10307         * lyxlength.C (inPixels): Fix returned value.
10308
10309         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10310         environment.
10311
10312 2002-10-24  Angus Leeming  <leeming@lyx.org>
10313
10314         * lyxgluelength.h: no need to forward declare BufferParams
10315         or BufferView, so don't.
10316
10317 2002-10-21  John Levon  <levon@movementarian.org>
10318
10319         * BufferView.C: menuUndo ->undo, redo
10320
10321         * BufferView.h: document, remove dead, make some methods private
10322
10323         * paragraph_funcs.h:
10324         * paragraph_funcs.C:
10325         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10326
10327         * buffer.h:
10328         * buffer.C:
10329         * sgml.h:
10330         * sgml.C: move sgml open/close tag into sgml.C
10331
10332         * bufferview_funcs.h: unused prototype
10333
10334         * lyxfunc.h:
10335         * lyxfunc.C: remove unused
10336
10337         * lyxtext.h:
10338         * text.C: remove unused
10339
10340 2002-10-21  John Levon  <levon@movementarian.org>
10341
10342         * BufferView.h:
10343         * BufferView.C:
10344         * BufferView_pimpl.h:
10345         * BufferView_pimpl.C: fix mouse wheel handling based on
10346           patch from Darren Freeman
10347
10348 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10349
10350         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10351
10352 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10353
10354         * lyxlength.C (inPixels): Fix hanfling of negative length.
10355         Fix LyXLength::MU case.
10356
10357 2002-10-16  John Levon  <levon@movementarian.org>
10358
10359         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10360
10361 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10362
10363         * converter.C (view): add support for $$i (file name) and $$p
10364         (file path) for the viewer command. If $$i is not specified, then
10365         it is appended to the command (for compatibility with old syntax)
10366
10367 2002-10-14  Juergen Vigna  <jug@sad.it>
10368
10369         * undo_funcs.C (textHandleUndo): alter the order in which the
10370         new undopar is added to the LyXText, as we have to set first
10371         the right prev/next and then add it as otherwise the rebuild of
10372         LyXText is not correct. Also reset the cursor to the right paragraph,
10373         with this IMO we could remove the hack in "redoParagraphs()".
10374
10375 2002-10-09  Angus Leeming  <leeming@lyx.org>
10376
10377         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10378         to turn off an optimisation if a new inset is to be inserted.
10379
10380 2002-10-11 André Pönitz <poenitz@gmx.net>
10381
10382         * lyxtext.h: make some functions public to allow access
10383         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10384
10385 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10386
10387         * text3.C (dispatch): when changing layout, avoid an infinite loop
10388         [bug #652]
10389
10390 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10391
10392         * lyxrc.C (read): treat a viewer or converter command of "none" as
10393         if it were empty.
10394
10395         * MenuBackend.C (expandFormats): for an update, also allow the
10396         formats that are not viewable
10397
10398         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10399         script if it is newer than the lyxrc.defaults in user directory
10400
10401 2002-10-07 André Pönitz <poenitz@gmx.net>
10402
10403         * text.C: Vitaly Lipatov's small i18n fix
10404
10405 2002-09-25  Angus Leeming  <leeming@lyx.org>
10406
10407         * ispell.h: doxygen fix.
10408
10409 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10410
10411         * buffer.h (readFile): Add a new argument to the method, to allow
10412         reading of old-format templates.
10413
10414 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10415
10416         * toc.C (getTocList): Get TOC from InsetWrap.
10417
10418 2002-09-16  John Levon  <levon@movementarian.org>
10419
10420         * lyxfunc.C: check tabular for cut/copy too
10421
10422 2002-09-12  John Levon  <levon@movementarian.org>
10423
10424         * LyXAction.C: tidy
10425
10426         * factory.h:
10427         * factory.C: add header
10428
10429         * paragraph_funcs.h:
10430         * paragraph_funcs.C: cleanup
10431
10432 2002-09-11  John Levon  <levon@movementarian.org>
10433
10434         * PrinterParams.h: odd/even default to true
10435
10436 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10437
10438         * PrinterParams.h: update printer parameters for new xforms dialog
10439
10440 2002-09-11  Angus Leeming  <leeming@lyx.org>
10441
10442         * lyxserver.C (read_ready): re-write to make it more transparent
10443         and to make it work in coherent fashion under Tru64 Unix.
10444
10445 2002-09-11  André Pönitz <poenitz@gmx.net>
10446
10447         * commandtags.h:
10448         * LyXAction.C:
10449         * text3.C: implement LFUN_WORDSEL
10450
10451 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10452
10453         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10454         make floatlist_ a boost::shared_ptr<FloatList>
10455
10456         * lyxtextclass.C: include FloatList.h
10457         (LyXTextClass): initialize floatlist_
10458         (TextClassTags): add TC_NOFLOAT
10459         (Read): match "nofloat" to TC_NOFLOAT and use it.
10460         (readFloat): modify call to floatlist_
10461         (floats): ditto
10462         (floats): ditto
10463
10464         * FloatList.[Ch] (FloatList): remove commented out float
10465         initialization.
10466         (erase): new function
10467
10468 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10469
10470         * MenuBackend.C (expandToc): fix crash when there is no document
10471         open
10472
10473 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10474
10475         * many files: Add insetwrap.
10476
10477 2002-09-09  John Levon  <levon@movementarian.org>
10478
10479         * text2.C: remove confusing and awkward depth wraparound
10480
10481 2002-09-09  John Levon  <levon@movementarian.org>
10482
10483         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10484
10485         * buffer.h:
10486         * buffer.C: remove getIncludeonlyList()
10487
10488         * paragraph.C:
10489         * lyxfunc.C: remove headers
10490
10491 2002-09-09  Juergen Vigna  <jug@sad.it>
10492
10493         * text.C (getColumnNearX): fix form Michael this is most
10494         probably a cut&paste bug.
10495
10496 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10497
10498         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10499
10500         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10501         references, ws changes.
10502
10503         * text2.C (init): update counters after init
10504         (insertParagraph): no need to set counter on idividual paragraphs.
10505         (setCounter): access the counters object in the textclass object
10506         on in the buffer object.
10507         (updateCounters): ditto
10508
10509         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10510         shared_ptr<Counters> to avoid loading counters.h in all
10511         compilation units.
10512         (LyXTextClass): initialize ctrs_
10513         (TextClassTags): add TC_COUNTER, and ...
10514         (Read): use it here.
10515         (CounterTags): new tags
10516         (readCounter): new function
10517         (counters): new funtion
10518         (defaultLayoutName): return a const reference
10519
10520         * counters.C (Counters): remove contructor
10521         (newCounter): remove a couple of unneeded statements.
10522         (newCounter): simplify a bit.
10523         (numberLabel): some small formatting changes.
10524
10525         * buffer.[Ch]: remove all traces of counters, move the Counters
10526         object to the LyXTextClass.
10527
10528 2002-09-06  Alain Castera  <castera@in2p3.fr>
10529
10530         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10531         package to set the horizontal alignment on fixed width columns.
10532
10533         * lyx_sty.C:
10534         * lyx_sty.h: added tabularnewline macro def.
10535
10536         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10537
10538 2002-09-06  John Levon  <levon@movementarian.org>
10539
10540         * LyXAction.C: tooltips for sub/superscript
10541
10542         * MenuBackend.C: a bit more verbose
10543
10544         * lyxfunc.C: tiny clean
10545
10546         * undo_funcs.C: document undo_frozen
10547
10548 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10549
10550         * counters.C (Counters): add missing algorithm counter.
10551
10552         * text2.C (setCounter): lookup the counter with layouts latexname
10553         instead of by section number.
10554         (setCounter): use a hackish way to lookup the correct enum
10555         counter.
10556         a float name->type change
10557         reset enum couners with counter name directly instead of depth value.
10558
10559         * counters.C (Counters): remove the push_backs, change to use the
10560         float type not the float name.
10561         (labelItem): remove unused string, float name->type change
10562
10563         * counters.h: don't include vector, loose the enums and sects vectors
10564
10565 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10566
10567         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10568         (Read): add float->TC_FLOAT to textclassTags
10569         (Read): and handle it in the switch
10570         (readFloat): new function
10571
10572         * FloatList.C (FloatList): comment out the hardcoded float
10573         definitions.
10574
10575         * lyxlayout.h: ws change.
10576
10577 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10578
10579         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10580
10581 2002-09-03  Angus Leeming  <leeming@lyx.org>
10582
10583         * BufferView_pimpl.h: qualified name is not allowed in member
10584         declaration: WorkArea & Pimpl::workarea() const;
10585
10586         * factory.C: added using std::endl directive.
10587
10588         * text3.C: added using std::find and std::vector directives.
10589
10590 2002-08-29  André Pönitz <poenitz@gmx.net>
10591
10592         * lyxtext.h:
10593         * text2.C: remove unused member number_of_rows
10594
10595         * Makefile.am:
10596         * BufferView2.C: remove file, move contents to...
10597         * BufferView.C: ... here
10598
10599         * BufferView_pimpl.C:
10600         * factory.C: move more inset creation to factory
10601
10602         * vspace.C: avoid direct usage of LyXText, ws changes
10603
10604         * BufferView.[Ch]:
10605                 don't provide direct access to WorkArea, use two simple
10606                 acessors haveSelction() and workHeight() instead
10607
10608
10609 2002-08-29  John Levon  <levon@movementarian.org>
10610
10611         * BufferView_pimpl.C (dispatch): do not continue when
10612           no buffer
10613
10614 2002-08-28  André Pönitz <poenitz@gmx.net>
10615
10616         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10617
10618         * BufferView.h:
10619         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10620
10621 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10622
10623         * buffer.C: increment LYX_FORMAT to 221
10624
10625         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10626         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10627
10628         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10629
10630         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10631
10632 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10633
10634         * factory.C (createInset): use LyXTextClass::floats
10635
10636         * MenuBackend.C (expandFloatListInsert):
10637         (expandFloatInsert):
10638         (expandToc):
10639
10640         * text2.C (setCounter):
10641
10642         * LaTeXFeatures.C (useFloat):
10643         (getFloatDefinitions):
10644
10645         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10646
10647         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10648         floatlist_, with accessor floats().
10649
10650         * FloatList.h: remove global FloatList
10651
10652 2002-08-26  André Pönitz <poenitz@gmx.net>
10653
10654         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10655
10656         * BufferView.h:
10657         * BufferView2.C:
10658         * BufferView_pimpl.C:
10659         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10660
10661 2002-08-25  John Levon  <levon@movementarian.org>
10662
10663         * LyXAction.C: fix margin note description
10664
10665 2002-08-24  John Levon  <levon@movementarian.org>
10666
10667         * buffer.C:
10668         * bufferlist.C:
10669         * bufferview_funcs.C:
10670         * lyxfont.C:
10671         * undo_funcs.C: cleanups
10672
10673         * lyxfunc.C: disable CUT/COPY when no selection
10674
10675 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10676
10677         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10678         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10679
10680         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10681         Add backward compatibility to "mono", "gray" and "no".
10682
10683 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10684
10685         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10686         (and file_format >= 200).
10687
10688 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10689
10690         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10691
10692 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10693
10694         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10695
10696 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10697
10698         * BufferView_pimpl.C:
10699         * LyXAction.C:
10700         * buffer.C:
10701         * commandtags.h:
10702         * lyxfunc.C:
10703         * paragraph.[Ch]:
10704         * text2.C:
10705         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10706         inset and code to make it  work with the paragraph code. The inset
10707         can be anywhere in the paragraph, but will only do the expected
10708         thing in LaTeX if the layout file contains the parameter line
10709                         OptionalArgs    1
10710         (or more generally, a nonzero value) for that layout.
10711
10712 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10713
10714         * paragraph.h: remove the declaration of undefined counters class
10715         function.
10716
10717 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10718
10719         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10720         Dr. Richard Hawkins.
10721
10722 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10723
10724         * paragraph_funcs.h: remove some unneeded includes
10725
10726         * text.C (backspace): pasteParagraph now in global scipe
10727
10728         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10729         (pasteSelection): ditto
10730
10731         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10732         * paragraph_funcs.C (pasteParagraph): ... here
10733
10734 2002-08-20  André Pönitz <poenitz@gmx.net>
10735
10736         * commandtags.h: new LFUNs for swapping/copying table row/colums
10737
10738         * LyXAction.C:
10739         * lyxfunc.C: support for new lfuns
10740
10741 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10742
10743         * tabular.C:
10744         * buffer.[Ch]: remove NO_COMPABILITY stuff
10745
10746 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10747
10748         * boost.C (throw_exception): new file, with helper function for
10749         boost compiled without exceptions.
10750
10751         * paragraph.h:
10752         * lyxlength.C:
10753         * buffer.C:
10754         * ParameterStruct.h:
10755         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10756
10757         * bufferlist.C (emergencyWriteAll): use boost bind
10758
10759         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10760
10761         * text.C: include paragraph_funcs.h
10762         (breakParagraph): breakParagraph is now in global scope
10763
10764         * paragraph_funcs.[Ch]: new files
10765
10766         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10767         global scope
10768
10769         * buffer.C: include paragraph_funcs.h
10770         (insertStringAsLines): breakParagraph is now in global scope
10771
10772         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10773         paragraph_funcs.C
10774
10775         * CutAndPaste.C: include paragraph_funcs.h
10776         (cutSelection): breakParagraphConservative is now in global scope
10777         (pasteSelection): ditto
10778
10779         * buffer.h: declare oprator== and operator!= for
10780         Buffer::inset_iterator
10781
10782         * bufferlist.C (emergencyWrite): don't use fmt(...)
10783
10784         * text3.C: add using std::endl
10785
10786         * BufferView.C (moveCursorUpdate): remove default arg
10787
10788 2002-08-20  André Pönitz <poenitz@gmx.net>
10789
10790         * buffer.[Ch]: move inline functions to .C
10791
10792         * BufferView2.C:
10793         * BufferView_pimpl.C:
10794         * text.C:
10795         * buffer.[Ch]: use improved inset_iterator
10796
10797         * buffer.C:
10798         * paragraph.[Ch]: write one paragraph at a time
10799
10800 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10801
10802         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10803         style if style is not specified.
10804
10805 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10806
10807         * text2.C (setCounter): when searching for right label for a
10808         caption, make sure to recurse to parent insets (so that a caption
10809         in a minipage in a figure float works) (bug #568)
10810
10811 2002-08-20  André Pönitz <poenitz@gmx.net>
10812
10813         * text3.C: new file for LyXText::dispatch() and helpers
10814
10815         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10816
10817         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10818
10819 2002-08-19  André Pönitz <poenitz@gmx.net>
10820
10821         * lyxtext.h:
10822         * text.C: new LyXText::dispatch()
10823
10824         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10825
10826 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10827
10828         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10829
10830         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10831         Hebrew text.
10832
10833 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10834
10835         * Makefile.am: use $(variables) instead of @substitutions@
10836
10837 2002-08-15  André Pönitz <poenitz@gmx.net>
10838
10839         * lyxfunc.C:
10840         * BufferView_pimpl.C: streamlining mathed <-> outer world
10841         interaction
10842
10843         * commandtags.h:
10844         * LyXAction.C: remove unused LFUN_MATH
10845
10846 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10847
10848         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10849
10850 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10851
10852         * paragraph.C (Paragraph): reformat a bit
10853         (cutIntoMinibuffer): use builtin InsetList function instad of
10854         doing it manually.
10855         (getInset): ditto
10856
10857         * buffer.C: include boost/bind.hpp, add using std::for_each
10858         (writeFileAscii): use ParagraphList iterators
10859         (validate): use for_each for validate traversal of paragraphs
10860         (getBibkeyList): use ParagraphList iterators
10861         (resizeInsets): use for_each to resizeInsetsLyXText for all
10862         paragraphs.
10863         (getParFromID): use ParagraphList iterators
10864
10865         * BufferView2.C (lockInset): use paragraph list and iterators
10866
10867 2002-08-14  John Levon  <levon@movementarian.org>
10868
10869         * lyxserver.C: remove spurious xforms include
10870
10871 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10872
10873         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10874
10875 2002-08-13  André Pönitz <poenitz@gmx.net>
10876
10877         * LyXAction.[Ch]:
10878         * lyxfunc.C: further cleaning
10879
10880 2002-08-13  André Pönitz <poenitz@gmx.net>
10881
10882         * funcrequest.h: new constructor
10883
10884         * funcrequest.C: move stuff here from .h
10885
10886         * Makefile.am:
10887         * BufferView_pimpl.C:
10888         * LyXAction.C:
10889         * toc.C:
10890         * lyxfunc.C: subsequent changes
10891
10892         * lyxfunc.h: new view() member function
10893
10894         * lyxfunc.C: subsequent changes
10895
10896 2002-08-13  Angus Leeming  <leeming@lyx.org>
10897
10898         * BufferView2.C:
10899         * BufferView_pimpl.C:
10900         * buffer.C:
10901         * converter.C:
10902         * importer.C:
10903         * lyxfunc.C:
10904         * lyxvc.C:
10905         * toc.C:
10906         * vc-backend.C:
10907         changes due to the changed LyXView interface that now returns references
10908         to member variables not pointers.
10909
10910 2002-08-13  Angus Leeming  <leeming@lyx.org>
10911
10912         * WordLangTuple (word, lang_code): return references to strings,
10913         not strings.
10914
10915         * BufferView.h:
10916         * SpellBase.h:
10917         * lyxtext.h: forward-declare WordLangTuple.
10918
10919         * BufferView2.C:
10920         * ispell.C:
10921         * pspell.C:
10922         * text.C: #include "WordLangTuple.h".
10923
10924         * lyxtext.h:
10925         * text.C: (selectNextWordToSpellcheck): constify return type.
10926
10927 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10928
10929         * buffer.C:
10930         * buffer.h:
10931         * lyxtext.h:
10932         * paragraph.C:
10933         * paragraph_pimpl.h:
10934         * text.C:
10935         * text2.C:
10936         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10937         suggested by Angus.
10938         Made updateCounter always count from start of buffer, and removed
10939         second argument (par).
10940         Reverted floats number display to '#'. Perhaps I'll try again when the
10941         code base is sanitized a bit.
10942
10943 2002-08-12  Angus Leeming  <leeming@lyx.org>
10944
10945         * buffer.[Ch] (getLabelList): constify.
10946
10947 2002-08-07  André Pönitz <poenitz@gmx.net>
10948
10949         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10950
10951         * funcrequest.h: extension to keep mouse (x,y) position
10952
10953 2002-08-12  Juergen Vigna  <jug@sad.it>
10954
10955         * BufferView2.C (insertErrors): forbid undo when inserting error
10956         insets.
10957
10958         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10959
10960 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10961
10962         * ParagraphList.[Ch]: new files
10963
10964         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10965
10966         * BufferView2.C (lockInset): ParagraphList changes
10967         * toc.C: ditto
10968         * text2.C: ditto
10969         * bufferlist.C: ditto
10970         * buffer.h: ditto
10971         * buffer.C: ditto
10972
10973 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10974
10975         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10976         unused class variable counter_,
10977
10978         * paragraph.[Ch] (getFirstCounter): delete unused function
10979
10980         * counters.C: include LAssert.h
10981         (reset): add a new function with no arg, change other version to
10982         not have def. arg and to not allow empty arg.
10983
10984         * text2.C (setCounter): remove empty arg from call to Counters::reset
10985
10986 2002-08-11  John Levon  <levon@movementarian.org>
10987
10988         * Makefile.am: add WordLangTuple.h
10989
10990 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10991
10992         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10993         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10994
10995         * insets/insettext.C: InsetList changes
10996
10997         * graphics/GraphicsSupport.C (operator()): InsetList changes
10998
10999         * toc.C (getTocList): InsetList changes
11000
11001         * paragraph_pimpl.[Ch]: InsetList changes
11002
11003         * paragraph.[Ch]: InsetList changes
11004
11005         * buffer.C (inset_iterator): InsetList changes
11006         (setParagraph): ditto
11007         * buffer.h (inset_iterator): ditto
11008         * iterators.C (operator++): ditto
11009         * iterators.h: ditto
11010
11011         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11012
11013         * InsetList.[Ch]: new files, most InsetList handling moved out of
11014         paragraph.C.
11015
11016         * BufferView2.C (removeAutoInsets): InsetList changes
11017         (lockInset): ditto
11018         (ChangeInsets): ditto
11019
11020 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11021
11022         * paragraph_pimpl.h (empty): new function
11023
11024         * paragraph.[Ch] (empty): new function
11025
11026         * other files: use the new Paragraph::empty function
11027
11028 2002-08-09  John Levon  <levon@movementarian.org>
11029
11030         * lyxtext.h: remove unused refresh_height
11031
11032 2002-08-09  John Levon  <levon@movementarian.org>
11033
11034         * Makefile.am:
11035         * sgml.h:
11036         * sgml.C:
11037         * buffer.C:
11038         * paragraph.h:
11039         * paragraph.C: move sgml char escaping out of paragraph
11040
11041         * paragraph.h:
11042         * paragraph.C: remove id setter
11043
11044         * buffer.C:
11045         * paragraph.C:
11046         * paragraph_pimpl.C: remove dead tex_code_break_column
11047
11048         * bufferview_funcs.C: small cleanup
11049
11050         * lyxfunc.C: remove dead proto
11051
11052         * lyxtext.h: make some stuff private. Remove some dead stuff.
11053
11054         * lyxgluelength.C: make as[LyX]String() readable
11055
11056 2002-08-08  John Levon  <levon@movementarian.org>
11057
11058         * LyXAction.h:
11059         * LyXAction.C:
11060         * MenuBackend.C:
11061         * ToolbarDefaults.C:
11062         * lyxfunc.C:
11063         * lyxrc.C:
11064         * toc.C: lyxaction cleanup
11065
11066 2002-08-08  John Levon  <levon@movementarian.org>
11067
11068         * BufferView2.C: small cleanup
11069
11070         * lyxfind.h:
11071         * lyxfind.C: move unnecessary header into the .C
11072
11073 2002-08-08  John Levon  <levon@movementarian.org>
11074
11075         * funcrequest.h: just tedious nonsense
11076
11077         * lyx_main.h:
11078         * lyx_main.C: cleanups
11079
11080         * buffer.C:
11081         * vspace.C: remove dead header lyx_main.h
11082
11083 2002-08-07  Angus Leeming  <leeming@lyx.org>
11084
11085         * Paragraph.[Ch]:
11086         * paragraph_pimpl.h:
11087         Forward declare class Counters in paragraph.h by moving the ctrs member
11088         variable into Paragraph::Pimpl.
11089         (counters): new method, returning a reference to pimpl_->ctrs.
11090
11091         * text2.C: ensuing changes.
11092
11093 2002-08-07  John Levon  <levon@movementarian.org>
11094
11095         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11096
11097         * BufferView_pimpl.C: announce X selection on double/triple
11098           click
11099
11100         * lyx_main.C: use correct bool in batch dispatch
11101
11102         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11103
11104 2002-08-07  André Pönitz <poenitz@gmx.net>
11105
11106         * funcrequest.h: new class to wrap a kb_action and its argument
11107
11108         * BufferView.[Ch]:
11109         * BufferView_pimpl[Ch]:
11110         * LaTeX.C:
11111         * LyXAction.[Ch]:
11112         * lyxfunc.[Ch]:
11113         * lyxrc.C: subsequent changes
11114
11115
11116 2002-08-07  John Levon  <levon@movementarian.org>
11117
11118         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11119           document options change.
11120
11121 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11122
11123         * counters.[Ch]
11124         * text2.C
11125         * paragraph.[Ch]
11126         * makefile.am: move counters functionality over from
11127         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11128
11129 2002-08-06  John Levon  <levon@movementarian.org>
11130
11131         * WordLangTuple.h: new file for word + language code tuple
11132
11133         * SpellBase.h:
11134         * pspell.h:
11135         * pspell.C:
11136         * ispell.h:
11137         * ispell.C:
11138         * lyxtext.h:
11139         * text.C:
11140         * text2.C:
11141         * BufferView.h:
11142         * BufferView2.C: use WordLangTuple
11143
11144         * layout.h:
11145         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11146
11147 2002-08-06  John Levon  <levon@movementarian.org>
11148
11149         * lyx_main.C: fix cmdline batch handling
11150
11151 2002-08-06  André Pönitz <poenitz@gmx.net>
11152
11153         * lyxrc.C: set default for show_banner to true
11154
11155 2002-08-06  John Levon  <levon@movementarian.org>
11156
11157         * pspell.C: fix a crash, and allow new aspell to work
11158
11159 2002-08-06  John Levon  <levon@movementarian.org>
11160
11161         * lyxfunc.C:
11162         * kbmap.C: small cleanup
11163
11164         * vspace.h:
11165         * vspace.C: add const
11166
11167 2002-08-05  John Levon  <levon@movementarian.org>
11168
11169         * LyXAction.C: back to tabular-insert
11170
11171 2002-08-04  John Levon  <levon@movementarian.org>
11172
11173         * BufferView.h:
11174         * BufferView.C: cosmetic change
11175
11176         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11177
11178         * bufferlist.C:
11179         * buffer.h:
11180         * buffer.C:
11181         * lyxcb.h:
11182         * lyxcb.C:
11183         * lyxserver.C:
11184         * lyxvc.C:
11185         * vc-backend.C:
11186         * BufferView2.C: purge all "Lyx" not "LyX" strings
11187
11188         * lyxcursor.h:
11189         * lyxcursor.C: attempt to add some documentation
11190
11191         * lyxfunc.C:
11192         * commandtags.h:
11193         * LyXAction.C:
11194         * ToolbarDefaults.C:
11195         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11196           merge with LFUN_TABULAR_INSERT
11197
11198         * Makefile.am:
11199         * SpellBase.h:
11200         * ispell.h:
11201         * ispell.C:
11202         * pspell.h:
11203         * pspell.C: split up i/pspell implementations into separate
11204           files, many cleanups
11205
11206         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11207
11208         * text2.C: some cleanup
11209
11210         * lyxfunc.C: don't check for isp_command == "none" any more, it
11211           didn't make any sense
11212
11213 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11214
11215         * counters.[Ch]
11216         * text2.C
11217         * paragraph.[Ch]
11218         * makefile.am: move counters functionality over
11219         from text2.C/paragraph.[Ch] to counters.[Ch], and
11220         make proper C++.
11221 2002-08-02  John Levon  <levon@movementarian.org>
11222
11223         * buffer.C: s/lyxconvert/lyx2lyx/
11224
11225 2002-08-02  Angus Leeming  <leeming@lyx.org>
11226
11227         * lyxlex.C: revert John's change as it breaks reading of the user
11228         preamble.
11229
11230 2002-08-02  Angus Leeming  <leeming@lyx.org>
11231
11232         * importer.C (Import):
11233         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11234         changes due to LyXView::view() now returning a boost::shared_ptr.
11235
11236 2002-08-02  John Levon  <levon@movementarian.org>
11237
11238         * lyxlex.C: small cleanup
11239
11240 2002-08-02  John Levon  <levon@movementarian.org>
11241
11242         * text2.C (status): small cleanup, no logic change
11243
11244 2002-08-01  John Levon  <levon@movementarian.org>
11245
11246         * buffer.h:
11247         * buffer.C (writeFile): don't output alerts, caller
11248           handles this
11249
11250         * bufferlist.C:
11251         * lyx_cb.C: from above
11252
11253         * lyxfunc.C: allow to open non-existent files
11254
11255 2002-07-31  John Levon  <levon@movementarian.org>
11256
11257         * lyxserver.C: don't let incidental errors get
11258           in the way (errno)
11259
11260 2002-07-30  John Levon  <levon@movementarian.org>
11261
11262         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11263
11264 2002-07-30  John Levon  <levon@movementarian.org>
11265
11266         * lyxserver.h:
11267         * lyxserver.C: remove I/O callback too
11268
11269 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11270
11271         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11272         log.
11273
11274 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11275
11276         * many files: strip,frontStrip -> trim,ltrim,rtrim
11277
11278 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11279
11280         * PrinterParams.h: remove extern containsOnly, and include
11281         support/lstrings.h instead.
11282
11283         * LaTeX.C (scanAuxFile): modify because of strip changes
11284         (deplog): ditto
11285         * buffer.C (makeLaTeXFile): ditto
11286         * bufferparams.C (writeFile): ditt
11287         * lyxfont.C (stateText): ditto
11288         * lyxserver.C (read_ready): ditto
11289         * vc-backend.C (scanMaster): ditto
11290
11291         * BufferView_pimpl.h: ws changes
11292
11293         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11294
11295 2002-07-26  André Pönitz <poenitz@gmx.net>
11296
11297         * kb_sequence.C: remove unnedred usings
11298
11299 2002-07-26  Juergen Vigna  <jug@sad.it>
11300
11301         * lyxfind.C (LyXReplace): we have to check better if the returned
11302         text is not of theLockingInset()->getLockingInset().
11303
11304 2002-07-25  Juergen Vigna  <jug@sad.it>
11305
11306         * lyxfind.C (LyXReplace): don't replace if we don't get the
11307         right LyXText.
11308
11309         * undo_funcs.C (createUndo): remove debugging code.
11310
11311 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11312
11313         * buffer.C (parseSingleLyXformat2Token): Use default placement
11314         when reading old floats.
11315
11316         * FloatList.C (FloatList): Change the default placement of figure
11317         and tables to "tbp".
11318
11319 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11320
11321         * MenuBackend.C: using std::max
11322
11323 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11324
11325         * MenuBackend.C (expandToc):
11326         (expandToc2): code moved from xforms menu frontend. It is now
11327         generic and TOCs are transparent to menu frontends.
11328
11329 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11330
11331         * toc.C (getTocList): protect against buf=0
11332
11333         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11334         Menu as first parameter. Now, this calls itself recursively to
11335         expand a whole tree (this will be useful for TOC handling)
11336         (expandFloatInsert): remove 'wide' version of floats
11337
11338         * MenuBackend.h (submenuname): returns the name of the submenu.
11339         (submenu): returns the submenu itself, provided it has been
11340         created by MenuBackend::expand
11341
11342 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11343
11344         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11345         insets which have noFontChange == true. (bug #172)
11346
11347 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11348
11349         * BufferView_pimpl.C: add connection objects and use them...
11350         (Pimpl): here.
11351
11352 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11353
11354         * MenuBackend.C (expandLastfiles):
11355         (expandDocuments):
11356         (expandFormats):
11357         (expandFloatListInsert):
11358         (expandFloatInsert):
11359         (expand): split expand in parts
11360
11361 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11362
11363         * lyx_gui.C: use lyx_gui::exit()
11364
11365 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11366
11367         * LyXAction.C: show the failing pseudo action
11368
11369 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11370
11371         * buffer.C (readFile): Run the lyxconvert script in order to read
11372         old files.
11373
11374 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11375
11376         * LyXAction.C:
11377         * commandtags.h:
11378         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11379
11380 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11381
11382         * LyXAction.C:
11383         * commandtags.h:
11384         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11385
11386 2002-07-22  Herbert Voss  <voss@lyx.org>
11387
11388         * lengthcommon.C:
11389         * lyxlength.[Ch]: add support for the vertical lengths
11390
11391 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11392
11393         * toc.[Ch]: std:: fixes
11394
11395 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11396
11397         * lyxrc.C: do not include lyx_main.h
11398
11399         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11400         for layouts
11401
11402         * lyxrc.C:
11403         * encoding.C:
11404         * bufferlist.C:
11405         * BufferView2.C: include "lyxlex.h"
11406
11407         * tabular.h:
11408         * bufferparams.h: do not #include "lyxlex.h"
11409
11410         * lyxtextclasslist.C (Add): remove method
11411         (classlist): renamed to classlist_
11412
11413         * paragraph_pimpl.C:
11414         * paragraph.C:
11415         * text2.C:
11416         * CutAndPaste.C:
11417         * bufferview_funcs.C:
11418         * bufferlist.C:
11419         * text.C:
11420         * LaTeXFeatures.C:
11421         * buffer.C:
11422         * toc.C (getTocList): use BufferParams::getLyXTextClass
11423
11424         * toc.C (getTocList): use InsetFloat::addToToc
11425
11426         * toc.[Ch]: new files, containing helper functions to handle table
11427         of contents
11428
11429         * lyxfunc.C (dispatch): no need to remove spaces around command
11430         given as a string
11431         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11432         first command of the sequence; it is not very clever, but I do not
11433         have a better idea, actually
11434
11435         * LyXAction.C (LookupFunc): make sure to remove space at the
11436         beginning and end of the command
11437
11438 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11439
11440         * MenuBackend.C (getMenubar): new method: return the menubar of
11441         this menu set
11442         (read): treat differently reading of menu and menubar (in
11443         particular, the menubar has no name now)
11444         (Menu::menubar): remove
11445
11446         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11447         saving is finished
11448
11449 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11450
11451         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11452         a bibitem inset in a RTL paragraph.
11453
11454 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11455
11456         * paragraph_pimpl.C: constify
11457
11458         * BufferView_pimpl.C:
11459         * LaTeX.C:
11460         * lyxfunc.C: fix dispatch in a nicer way
11461
11462 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11463
11464         * lyxfunc.C (dispatch):
11465         * BufferView_pimpl.C:
11466         * BufferView_pimpl.h:
11467         * BufferView.C:
11468         * BufferView.h: rename Dispatch() to dispatch()
11469
11470         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11471
11472         * lyxlayout.C (Read): honor DependsOn tag
11473
11474         * lyxlayout.[Ch] (depends_on): new method
11475
11476         * version.C.in: update lyx_docversion
11477
11478         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11479
11480         * paragraph.C (validate): remove from here...
11481         * paragraph_pimpl.C (validate): ... and move here
11482         (isTextAt): make it const
11483
11484         * buffer.C (getLists): ws cleanup
11485
11486 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11487
11488         * language.C (read): Use iso8859-1 encoding in latex_lang
11489         (this prevents LyX from crashing when using iso10646-1 encoding).
11490
11491 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11492
11493         * text2.C (toggleInset): if cursor is inside an inset, close the
11494         inset and leave cursor _after_ it
11495
11496 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11497
11498         * lyxfunc.C: move minibuffer completion handling out of here
11499
11500 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11501
11502         * BufferView_pimpl.C:
11503         * LaTeX.C: fix dispatch calls
11504
11505 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11506
11507         * text.C (drawChars): Fix Arabic text rendering.
11508
11509 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11510
11511         * LyXAction.C:
11512         * commandtags.h:
11513         * lyxfunc.C: remove message-push/pop
11514
11515         * lyxserver.C:
11516         * lyxfunc.h:
11517         * lyxfunc.C: rationalise some code by removing verboseDispatch
11518           in favour of a bool argument to dispatch()
11519
11520 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11521
11522         * lyx_main.C (init): make sure to read symlinks as absolute paths
11523
11524 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11525
11526         * lyxfunc.h:
11527         * lyxfunc.C: no need for commandshortcut to be a member
11528
11529 2002-07-15  André Pönitz <poenitz@gmx.net>
11530
11531         * converter.C: add support for $$s (scripts from lib/scripts dir)
11532         * lyx_main.C: white space
11533
11534 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11535
11536         * bufferlist.C:
11537         * lyxrc.h:
11538         * lyxrc.C: remove second exit confirmation
11539
11540 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11541
11542         * BufferView.h:
11543         * BufferView.C:
11544         * BufferView2.C:
11545         * BufferView_pimpl.h:
11546         * BufferView_pimpl.C:
11547         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11548
11549 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11550
11551         * MenuBackend.C (expand): add numeric shortcuts to document menu
11552
11553         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11554
11555 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11556
11557         * lyxfont.C (setLyXFamily):
11558         (setLyXSeries):
11559         (setLyXShape):
11560         (setLyXSize):
11561         (setLyXMisc):
11562         (lyxRead):
11563         * debug.C (value):
11564         * buffer.C (asciiParagraph): use ascii_lowercase
11565
11566 2002-07-15  Mike Fabian  <mfabian@suse.de>
11567
11568         * lyxlex_pimpl.C (search_kw):
11569         * lyxlex.C (getLongString):
11570         * converter.h (operator<):
11571         * converter.C (operator<):
11572         * buffer.C (parseSingleLyXformat2Token):
11573         (asciiParagraph):
11574         * ToolbarDefaults.C (read):
11575         * MenuBackend.C (checkShortcuts):
11576         (read):
11577         * LColor.C (getFromGUIName):
11578         (getFromLyXName): use the compare_ascii_no_case instead of
11579         compare_no_case, because in turkish, 'i' is not the lowercase
11580         version of 'I', and thus turkish locale breaks parsing of tags.
11581
11582 2002-07-16  Angus Leeming  <leeming@lyx.org>
11583
11584         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11585         now takes a Buffer const & argument.
11586
11587 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11588
11589         * BufferView.C (resize): check there's a buffer to resize
11590
11591 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11592
11593         * lyxfunc.C: remove dead code
11594
11595         * lyxserver.h:
11596         * lyxserver.C: use lyx_guii::set_read_callback
11597
11598 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11599
11600         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11601         an inset in a RTL paragraph.
11602
11603 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11604
11605         * lyxfunc.C: repaint after a font size update
11606
11607 2002-07-15  André Pönitz <poenitz@gmx.net>
11608
11609         * lyxlength.C: inBP should be able to return negative values
11610
11611 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11612
11613         * lyxfunc.C: use lyx_gui::update_fonts()
11614
11615 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11616
11617         * lyxfunc.C: use lyx_gui::update_color()
11618
11619 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11620
11621         * bufferlist.C:
11622         * lyxfunc.h:
11623         * lyxfunc.C:
11624         * lyxrc.h:
11625         * lyxrc.C: remove file->new asks for name option, and let
11626           buffer-new take an argument
11627
11628 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11629
11630         * BufferView_pimpl.C: remove unneeded extra repaint()
11631
11632 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11633
11634         * LyXAction.C: allow command-sequence with NoBuffer
11635
11636         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11637
11638 2002-07-10  Angus Leeming  <leeming@lyx.org>
11639
11640         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11641
11642 2002-07-09  Angus Leeming  <leeming@lyx.org>
11643
11644         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11645
11646 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11647
11648         * lengthcommon.h: whitespace
11649
11650         * lyxfunc.C: update scrollbar after goto paragraph
11651
11652         * lyxtext.h: factor out page break drawing, and fix it so
11653           page break/added space paints as selected nicely
11654
11655 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11656
11657         * BufferView_pimpl.C: add FIXMEs, clean up a little
11658
11659 2002-07-09  André Pönitz <poenitz@gmx.net>
11660
11661         * lyxfont.[Ch]: support for wasy symbols
11662
11663 2002-07-08  André Pönitz <poenitz@gmx.net>
11664
11665         * BufferView_pimpl.C: apply John's patch for #93.
11666
11667 2002-07-05  Angus Leeming  <leeming@lyx.org>
11668
11669         * BufferView_pimpl.C (buffer): generate previews if desired.
11670
11671         * LColor.h: add "preview" to the color enum.
11672
11673         * LColor.C (LColor): add a corresponding entry to the items array.
11674
11675         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11676         with this buffer.
11677
11678 2002-07-05  Angus Leeming  <leeming@lyx.org>
11679
11680         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11681         The body of the code is now in the method that is passed an ostream &
11682         rather than a file name.
11683         Pass an additional only_preamble parameter, useful for the forthcoming
11684         preview stuff.
11685
11686 2002-07-03  André Pönitz <poenitz@gmx.net>
11687
11688         * lyxfunc.C: simplify getStatus() a bit for math stuff
11689
11690 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11691
11692         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11693
11694 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11695
11696         * text.C (changeRegionCase): do not change case of all the
11697         document when region ends at paragraph end (bug #461)
11698
11699 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11700
11701         * paragraph.C (startTeXParParams):
11702         (endTeXParParams): add \protect when necessary
11703
11704 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11705
11706         * BufferView_pimpl.C (workAreaExpose): remove warning
11707
11708 2002-06-27  Angus Leeming  <leeming@lyx.org>
11709
11710         * Makefile.am: add lyxlayout_ptr_fwd.h.
11711
11712 2002-06-26  André Pönitz <poenitz@gmx.net>
11713
11714         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11715
11716 2002-06-25  Angus Leeming  <leeming@lyx.org>
11717
11718         * lyxfunc.C (dispatch): Comment out the call to
11719         grfx::GCache::changeDisplay. The method no longer exists now that the
11720         pixmap generation part of the graphics loader has been moved into
11721         InsetGraphics.
11722
11723 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11724
11725         * text2.C: layout as layout
11726
11727         * text.C: layout as layout
11728
11729         * tabular.C (OldFormatRead): layout as layout
11730
11731         * paragraph_pimpl.C (TeXDeeper): layout as layout
11732         (realizeFont): layout as layout
11733
11734         * paragraph.C (writeFile): layout as layout
11735         (validate): layout as layout
11736         (getFont): layout as layout
11737         (getLabelFont): layout as layout
11738         (getLayoutFont): layout as layout
11739         (breakParagraph): layout as layout
11740         (stripLeadingSpaces): layout as layout
11741         (getEndLabel): layout as layout
11742         (getMaxDepthAfter): layout as layout
11743         (applyLayout): layout as layout
11744         (TeXOnePar): layout as layout
11745         (simpleTeXOnePar): layout as layout
11746         (TeXEnvironment): layout as layout
11747         (layout): layout as layout
11748         (layout): layout as layout
11749
11750         * lyxtextclass.C (compare_name): new functor to work with
11751         shared_ptr, layout as layout
11752         (Read): layout as layout
11753         (hasLayout): layout as layout
11754         (operator): layout as layout
11755         (delete_layout): layout as layout
11756         (defaultLayout): layout as layout
11757
11758         * lyxlayout_ptr_fwd.h: new file
11759
11760         * lyxlayout.C (Read): layout as layout
11761
11762         * lyx_cb.C (MenuInsertLabel): layout as layout
11763
11764         * bufferlist.C (newFile): layout as layout
11765
11766         * buffer.C (readLyXformat2): layout as layout
11767         (parseSingleLyXformat2Token): layout as layout
11768         (insertStringAsLines): layout as layout
11769         (asciiParagraph): layout as layout
11770         (latexParagraphs): layout as layout
11771         (makeLinuxDocFile): layout as layout
11772         (simpleLinuxDocOnePar): layout as layout
11773         (makeDocBookFile): layout as layout
11774         (simpleDocBookOnePar): layout as layout
11775         (getLists): layout as layout
11776
11777         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11778
11779         * CutAndPaste.C (cutSelection): layout as layout
11780         (pasteSelection): layout as layout
11781         (SwitchLayoutsBetweenClasses): layout as layout
11782
11783         * BufferView_pimpl.C (Dispatch): layout as layout
11784         (smartQuote): layout as layout
11785
11786         * BufferView2.C (unlockInset): layout as layout
11787
11788 2002-06-24  André Pönitz <poenitz@gmx.net>
11789
11790         * lyxfunc.C: fix #487
11791
11792 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11793
11794         * lyxrc.h:
11795         * lyxrc.C:
11796         * lyxfunc.C: remove display_shortcuts, show_banner
11797
11798 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11799
11800         * Buffer_pimpl.C: oops, update on resize
11801
11802 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11803
11804         * buffer.C:
11805         * converter.C:
11806         * exporter.C:
11807         * lyxfunc.C:
11808         * BufferView.h:
11809         * BufferView.C: use repaint()
11810
11811         * BufferView_pimpl.h:
11812         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11813           as it's a clearer description. Remove superfluous
11814           redraws.
11815
11816 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11817
11818         * text.C: fix bug 488. Not ideal, but getting
11819           getWord() to work properly for the insets that
11820           matter is more difficult ...
11821
11822 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11823
11824         * BufferView_pimpl.C:
11825         * LyXAction.C:
11826         * commandtags.h:
11827         * lyxfunc.C: remove the six million index lyxfuncs to just
11828           one, and DTRT (bug 458)
11829
11830 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11831
11832         * BufferView.h:
11833         * BufferView.C:
11834         * BufferView_pimpl.h:
11835         * BufferView_pimpl.C: clean up resize() stuff,
11836           and unnecessary updateScreen()s
11837
11838 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11839
11840         * BufferView.h:
11841         * BufferView.C:
11842         * BufferView_pimpl.h:
11843         * BufferView_pimpl.C:
11844         * lyxfind.h:
11845         * lyxfind.C:
11846         * minibuffer.C: remove focus management of workarea,
11847           not needed. Use screen's greyOut()
11848
11849 2002-06-17  Herbert Voss  <voss@lyx.org>
11850
11851         * converter.C: (convert) do not post a message, when converting
11852         fails, let the calling function decide what to do in this case
11853
11854 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11855
11856         * lyxfunc.C: tidy up a little
11857
11858 2002-06-16    <alstrup@diku.dk>
11859
11860         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11861         Got rid of FORMS_H_LOCATION include. Now we are
11862         GUII.
11863
11864 2002-06-15  LyX Development team  <lyx@rilke>
11865
11866         * buffer.[Ch] (sgmlOpenTag):
11867         (sgmlCloseTag): Added support for avoiding pernicious mixed
11868         content. Return number of lines written.
11869
11870         (makeLinuxDocFile):
11871         (makeDocBookFile): Fixed calls to sgml*Tag.
11872         Simple white space clean.
11873
11874         (simpleDocBookOnePar): Simple white space clean.
11875
11876         * tabular.[Ch] (docBook): Renamed to docbook and got another
11877         argument to related with the pernicious mixed content.
11878
11879         (docbookRow): Fixed calls for docbook inset method.
11880
11881 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11882
11883         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11884         so it's X11 independent.
11885
11886         * kb*.[Ch]: ditto.
11887
11888         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11889
11890 2002-06-15  Lyx Development team  <lyx@electronia>
11891
11892         * intl.h: Renamed getTrans to getTransManager.
11893
11894 2002-06-14  Angus Leeming  <leeming@lyx.org>
11895
11896         * Makefile.am: nuke forgotten stl_string_fwd.h.
11897
11898 2002-06-12  Angus Leeming  <leeming@lyx.org>
11899
11900         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11901
11902 2002-06-13  Angus Leeming  <leeming@lyx.org>
11903
11904         * LaTeX.C:
11905         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11906
11907 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11908
11909         * kbmap.C (getiso): add support for cyrillic and greek
11910
11911 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11912
11913         * BufferView.h:
11914         * BufferView.C:
11915         * BufferView_pimpl.h:
11916         * BufferView_pimpl.C: move bogus scrolling logic
11917           to xforms
11918
11919 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11920
11921         * lyxfunc.C:
11922         * BufferView_pimpl.C: view->resize() change
11923
11924 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11925
11926         * BufferView_pimpl.C: topCursorVisible
11927           prototype change
11928
11929 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11930
11931         * Makefile.am:
11932         * lyx_gui.h:
11933         * lyx_gui.C: move to frontends/
11934
11935         * main.C:
11936         * lyx_main.h:
11937         * lyx_main.C: changes from above
11938
11939 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11940
11941         * intl.C:
11942         * intl.h:
11943         * kbmap.C:
11944         * kbsequence.C:
11945         * lyx_cb.C:
11946         * lyx_main.C: minor tidy
11947
11948 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11949
11950         * BufferView_pimpl.h:
11951         * BufferView_pimpl.C:
11952         * BufferView.h:
11953         * BufferView.C: make painter() const,
11954           remove dead code
11955
11956         * BufferView2.C: use screen() accessor
11957
11958         * lyx_main.h:
11959         * lyx_main.C: some minor cleanup
11960
11961 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11962
11963         * BufferView_pimpl.h:
11964         * BufferView_pimpl.C: remove enter/leaveView,
11965           use workHeight()
11966
11967 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11968
11969         * BufferView.h:
11970         * BufferView.C:
11971         * BufferView2.C:
11972         * BufferView_pimpl.h:
11973         * BufferView_pimpl.C: only construct screen once,
11974           rename
11975
11976         * lyxrc.C: remove pointless comment
11977
11978 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11979
11980         * BufferView.h:
11981         * BufferView.C: remove active() and belowMouse()
11982
11983         * BufferView_pimpl.h:
11984         * BufferView_pimpl.C: use workarea() not workarea_,
11985           and make it use a scoped_ptr instead
11986
11987 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11988
11989         * lyx_gui.C: add debug message on BadWindow
11990
11991 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11992
11993         * sp_spell.C: fdopen is not part of the C++ standard.
11994
11995         * paragraph.C (InsetIterator): use >= instead of ==
11996
11997 2002-06-07  Angus Leeming  <leeming@lyx.org>
11998
11999         Fixes needed to compile with Compaq cxx 6.5.
12000         * BufferView_pimpl.C:
12001         * DepTable.C:
12002         * buffer.C:
12003         * converter.C:
12004         * encoding.C:
12005         * lyx_gui.C:
12006         * lyx_main.C:
12007         * lyxtextclasslist.C:
12008         * minibuffer.C:
12009         * sp_spell.C:
12010         * tabular_funcs.C:
12011         * vc-backend.C:
12012         all c-library variables have been moved into namespace std. Wrap
12013         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12014
12015         * lyxlength.C:
12016         * tabular-old.C:
12017         * tabular.C:
12018         Add a using std::abs declaration.
12019
12020         * kbmap.h (modifier_pair):
12021         * paragraph.h (InsetTable, InsetList):
12022         * lyxfont.h (FontBits):
12023         type definition made public.
12024
12025         * bufferlist.C (emergencyWriteAll): the compiler complains that
12026         there is more than one possible lyx::class_fun template to choose from.
12027         I re-named the void specialisation as lyx::void_class_fun.
12028
12029         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12030
12031         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12032         the compiler is is unable to find tostr in write_attribute.
12033
12034 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12035
12036         * buffer.C (sgmlError): hide #warning
12037
12038 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12039
12040         * xtl/*: get rid of xtl, which is not in use anyway
12041
12042         * LyXAction.C (init):
12043         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12044         were unimplemented xtl experimentation
12045
12046 2002-06-04  André Pönitz <poenitz@gmx.net>
12047
12048         * lyxfunc.C: disable array operation on simple formulae
12049
12050 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12051
12052         * converter.C: constify a bit
12053
12054 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12055
12056         * lyx_gui.C: check xforms version correctly
12057
12058 2002-04-30  Herbert Voss  <voss@lyx.org>
12059
12060         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12061         "keep" option
12062
12063 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12064
12065         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12066           attempt to register it with a VCS)
12067
12068 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12069
12070         * lyx_main.C (init): honor variables LYX_DIR_13x and
12071         LYX_USERDIR_13x
12072
12073 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12074
12075         * buffer.h:
12076         * buffer.C:
12077         * lyx_main.C: fix a crash on bad command line,
12078           and give a useful exit status on error
12079
12080         * lyxfunc.C (doImport): allow -i lyx to work
12081
12082 2002-03-30  André Pönitz <poenitz@gmx.net>
12083
12084         * lyxfunc.C: mathed font changes
12085
12086 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12087
12088         * LaTeX.C:
12089         * importer.h:
12090         * importer.C:
12091         * lyx_sty.h:
12092         * lyx_sty.C:
12093         * lyxlex.C:
12094         * lyxrow.h:
12095         * lyxtext.h:
12096         * paragraph.h:
12097         * paragraph.C:
12098         * texrow.h:
12099         * texrow.C:
12100         * text.C:
12101         * trans_mgr.h: srcdocs, and some minor cleanups
12102
12103 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12104
12105         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12106         call getFont all the time)
12107
12108 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12109
12110         * switch from SigC signals to boost::signals
12111
12112 2002-05-29  André Pönitz <poenitz@gmx.net>
12113
12114         * paragraph_pimpl.C (getChar): don't call size() too often...
12115
12116 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12117
12118         * paragraph_pimpl.C (insertChar): do not try to update tables when
12119         appending (pos == size())
12120
12121         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12122         in order to reduce drastically the number of comparisons needed to
12123         parse a large document
12124
12125 2002-05-29  André Pönitz <poenitz@gmx.net>
12126
12127         * text.C:
12128         * text2.C:
12129         * lyxtextclass.C:
12130         * sp_pspell.h:
12131         * textclasslist.[Ch]:
12132         * sp_ispell.h: whitespace change
12133
12134 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12135
12136         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12137         lyxaction directly now.
12138
12139 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12140
12141         * trans.C:
12142         * lyxfont.C:
12143         * lyxvc.C: remove unused headers
12144
12145 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12146
12147         * Makefile.am:
12148         * buffer.h:
12149         * undostack.h:
12150         * undostack.C:
12151         * undo_funcs.h:
12152         * undo_funcs.C: some cleanups. Use shared_ptr
12153           and a template for the undo stacks.
12154
12155 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12156
12157         * BufferView_pimpl.h:
12158         * BufferView_pimpl.C:
12159         * kbmap.h:
12160         * kbmap.C:
12161         * kbsequence.h:
12162         * kbsequence.C:
12163         * lyxfunc.h:
12164         * lyxfunc.C:
12165         * text2.C: use key_state/mouse_state
12166
12167 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12168
12169         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12170         and LSubstring
12171
12172         * chset.C: change include order
12173         (loadFile): use boost regex and get rid of LRegex and LSubstring
12174
12175         * Makefile.am (BOOST_LIBS): new variable
12176         (lyx_LDADD): use it
12177
12178         * LaTeX.C: change include order.
12179         (scanAuxFile): use boost regex and get rid of LRegex and
12180         LSubstring
12181         (deplog): ditto
12182
12183 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12184
12185         * ColorHandler.h:
12186         * ColorHandler.C:
12187         * FontInfo.h:
12188         * FontInfo.C: moved to frontends/xforms/
12189
12190         * FontLoader.h:
12191         * FontLoader.C: moved into frontends for GUIIzation
12192
12193         * Makefile.am:
12194         * lyx_gui.C:
12195         * lyxfont.C:
12196         * lyxfunc.C: changes from above
12197
12198 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12199
12200         * LColor.C: remove spurious X include
12201
12202         * BufferView_pimpl.C:
12203         * Makefile.am:
12204         * font.h:
12205         * font.C:
12206         * text.C:
12207         * text2.C: move font metrics to frontends/
12208
12209 2002-05-24  Juergen Vigna  <jug@sad.it>
12210
12211         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12212         setting the undo_cursor.
12213
12214         * ParagraphParameters.h: include local includes first.
12215
12216 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12217
12218         * BufferView_pimpl.C:
12219         * BufferView_pimpl.h:
12220         * Makefile.am:
12221         * WorkArea.h:
12222         * WorkArea.C:
12223         * screen.C: move WorkArea into frontends/
12224
12225         * lyxscreen.h:
12226         * screen.C:
12227         * text.C:
12228         * BufferView.C:
12229         * BufferView2.C: move LyXScreen into frontends/
12230
12231         * lyxlookup.h:
12232         * lyxlookup.C:
12233         * lyx_gui.C: move lyxlookup into frontends/xforms/
12234
12235 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12236
12237         * BufferView2.C:
12238         * BufferView_pimpl.C:
12239         * FontLoader.C:
12240         * LyXView.h:
12241         * LyXView.C:
12242         * Makefile.am:
12243         * WorkArea.C:
12244         * XFormsView.h:
12245         * XFormsView.C:
12246         * buffer.C:
12247         * bufferlist.C:
12248         * bufferview_funcs.C:
12249         * converter.C:
12250         * importer.C:
12251         * lyx_cb.C:
12252         * lyx_gui.C:
12253         * lyx_main.C:
12254         * lyx_find.C:
12255         * lyxfunc.C:
12256         * lyxvc.C:
12257         * minibuffer.C:
12258         * text.C:
12259         * text2.C:
12260         * trans.C:
12261         * vc-backend.C: move LyX/XFormsView into frontends/
12262
12263 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12264
12265         * Makefile.am:
12266         * PainterBase.C:
12267         * PainterBase.h:
12268         * Painter.C:
12269         * Painter.h:
12270         * WorkArea.C:
12271         * WorkArea.h:
12272         * screen.C:
12273         * tabular.C:
12274         * text.C:
12275         * text2.C: move Painter to frontends/
12276
12277 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12278
12279         * buffer.C: comment out some some code that depend upon lyx_format
12280         < 220
12281
12282         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12283         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12284
12285         * buffer.h (NO_COMPABILITY): turn off compability
12286
12287         * ColorHandler.C: include scoped_array.hpp
12288
12289         * font.C: Use more specific smart_ptr header.
12290         * Painter.C: ditto
12291         * gettext.C: ditto
12292         * ShareContainer.h: ditto
12293         * lyx_main.h: ditto
12294         * kbmap.h: ditto
12295         * FontInfo.h: ditto
12296         * BufferView_pimpl.h: ditto
12297         * ColorHandler.h: ditto
12298
12299         * kbmap.C (defkey): change call to shared_ptr::reset
12300
12301 2002-05-21  Juergen Vigna  <jug@sad.it>
12302
12303         * buffer.C (insertErtContents): fix to insert ert asis if it is
12304         non empty. Skip it completely if it contains only whitespaces.
12305
12306 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12307
12308         * BufferView_pimpl.C:
12309         * BufferView2.C: clear selection on paste (bug 393)
12310
12311 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12312
12313         * DepTable.C: include ctime
12314
12315 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12316
12317         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12318
12319 2002-05-14  Juergen Vigna  <jug@sad.it>
12320
12321         * text.C (breakParagraph): fixed function to honor the keepempty
12322         layout in the right maner and also to permit the right breaking
12323         algorithm on empty or non empyt keepempty paragraphs.
12324
12325         * paragraph.C (breakParagraph): we have to check also if the par
12326         is really empty (!size()) for isempty otherwise we do the wrong
12327         paragraph break.
12328
12329 2002-05-10  Juergen Vigna  <jug@sad.it>
12330
12331         * buffer.[Ch] : The following are only changes to the ert
12332         compatibility read reading old LaTeX layout and font stuff and
12333         convert it to ERTInsets.
12334
12335         * buffer.h: added isErtInset().
12336
12337         * buffer.C (struct ErtComp): add a fromlayout bool to check
12338         if we're inside a LaTeX layout.
12339         (isErtInset): new helper function.
12340         (insertErtContents): look for other ert insets before this one
12341         and insert the contents there, so that we don't have subsequent
12342         ERT insets with nothing between them. This way we create only one
12343         inset with multiple paragraphs. Also check if we don't insert only
12344         spaces ' ' as they are ignored anyway afterwards in the .tex file
12345         so if we have only spaces we will ignore this latex part in the
12346         new file.
12347         (parseSingleLyXformat2Token \\layout): better compatibility when
12348         reading layout-latex stuff.
12349         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12350         language tag.
12351         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12352         stuff after reading the inset only get the information back from
12353         the stack.
12354
12355 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12356
12357         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12358
12359         * LaTeXFeatures.C (getBabelOptions): New method.
12360
12361 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12362
12363         * BufferView_pimpl.C (Dispatch): work around missing argument for
12364         'layout'
12365
12366 2002-05-08  Juergen Vigna  <jug@sad.it>
12367
12368         * text.C (leftMargin): handle paragraph leftindent.
12369
12370         * paragraph.C (writeFile): write the new \\leftindent tag.
12371         (validate): handle leftindent code.
12372         (TeXEnvironment): handle paragraphleftindent code again.
12373
12374         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12375
12376         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12377         for paragrap_extra indent code and new token \\leftindent.
12378         (latexParagraphs): handle the leftindent as environment.
12379
12380         * ParameterStruct.h: added leftindent support.
12381
12382         * ParagraphParameters.C (leftIndent): added support functions for
12383         the paragraph left indent.
12384
12385         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12386         more appropriate.
12387
12388 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12389
12390         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12391         inside insetERT.
12392
12393         * text.C (computeBidiTables): No bidi in insetERT.
12394
12395         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12396         in RTL documents.
12397
12398 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12399
12400         * version.C.in: pre 5
12401
12402 2002-05-02  José Matos  <jamatos@fep.up.pt>
12403         * buffer.C (makeDocBookFile): white space changes, add newline to
12404         command styles.
12405         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12406
12407         * tabular.C (docBook): fix typo.
12408
12409 2002-05-03  Juergen Vigna  <jug@sad.it>
12410
12411         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12412         change in LyXText as we can not be sure it was not freed.
12413         (drawOneRow): remove unused code.
12414
12415         * text.C (drawInset): redo the calculation of the need_break_row as
12416         it could have a row which was already freed.
12417         (draw): look at the return value of drawInset and return false if
12418         it also returned false.
12419         (paintRowText): look at the return value of draw and return false if
12420         it also returned false.
12421
12422         * lyxtext.h: added bool return type to drawInset() and draw() so that
12423         if we have a change in the row so that the rowbreak has to be redone
12424         we abort drawing as it will be called again.
12425
12426 2002-05-02  Juergen Vigna  <jug@sad.it>
12427
12428         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12429         a change in the maintext also if we're inside an inset.
12430         (Dispatch): set the cursor again after a break line and after the
12431         screen has been updated as it could be we're in a different row.
12432
12433         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12434         to set the cursor behind the pargraph with > size().
12435         (setCursor): check also for the same paragraph when checking where
12436         to put the cursor if we have a NFR inset.
12437
12438         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12439         parts of layout read further up as it still was in the wrong
12440         position.
12441
12442 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12443
12444         * screen.C (drawFromTo): change sine fullRebreak always return
12445         true.
12446
12447         * buffer.C (parseSingleLyXformat2Token): reindent some
12448
12449         * BufferView_pimpl.C (update): change since fullRebreak always
12450         return true.
12451         (Dispatch): git rid of the last hardcoded "Standard"s.
12452
12453 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12454
12455         * text2.[Ch] (fullRebreak): make it return void now that we always
12456         returned true.
12457
12458 2002-04-30  Juergen Vigna  <jug@sad.it>
12459
12460         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12461         ert compatibility check for "latex" layout.
12462
12463 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12464
12465         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12466         minipages: use col% instead of p%, and also use the current font.
12467         (makeLaTeXFile): Fix use babel condition.
12468         (parseSingleLyXformat2Token): Correct font when reading old floats.
12469
12470 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12471
12472         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12473         inserting list of floats.
12474
12475 2002-04-25  Herbert Voss  <voss@lyx.org>
12476
12477         * MenuBackend.C (expand): don't add the graphics extensions to the
12478         export menu
12479
12480 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12481
12482         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12483         non-existing layout, do not complain if it was the default layout
12484         of the original class (bug #342)
12485
12486 2002-04-24  Juergen Vigna  <jug@sad.it>
12487
12488         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12489         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12490
12491 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12492
12493         * buffer.C (getBibkeyList): If using \bibliography, return the
12494         option field with the reference itself. Enables us to provide natbib
12495         support when using \bibliography.
12496
12497 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12498
12499         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12500
12501         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12502         natbib is provided by the LaTeX class.
12503
12504 2002-04-23  Juergen Vigna  <jug@sad.it>
12505
12506         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12507         Wakeup functions.
12508
12509         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12510
12511 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12512
12513         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12514
12515         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12516         ensuremath around textordmasculine, textordfeminine and
12517         textdegree.
12518
12519 2002-04-19  Juergen Vigna  <jug@sad.it>
12520
12521         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12522         reinitializing the buffer otherwise row-dimensions may be wrong.
12523         (update): reset also the selection cursors if they do exits otherwise
12524         their x/y positions may be wrong.
12525
12526         * text2.C (cursorDown): don't enter the inset if we came from a row
12527         above and are one row over the inset.
12528
12529         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12530         really leaving an inset.
12531
12532 2002-04-18  Juergen Vigna  <jug@sad.it>
12533
12534         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12535         of the selected paragraph does not have the selected layout also if
12536         the last one had!
12537
12538         * text2.C (setLayout): fixed bug which did not change last selected
12539         paragraph.
12540
12541         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12542         changed the read and substituted \\end_float with \\end_inset!
12543
12544         * BufferView_pimpl.C (cursorPrevious):
12545         (cursorNext): fixed to make it work with rows heigher than the work
12546         area without moving the cursor only the draw of the row.
12547         (workAreaMotionNotify): fix jumping over high rows.
12548
12549 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12550
12551         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12552         Ressler.
12553
12554 2002-04-16  Juergen Vigna  <jug@sad.it>
12555
12556         * text2.C (setCursor): set also the irow().
12557         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12558         (cursorUp):
12559         (cursorDown): support for locking an inset if the x_fix value goes
12560         inside it. That way I can transverse insets too with cursor up/down.
12561
12562         * lyxrow.h: added irow helper function same as other (i) functions.
12563
12564         * BufferView_pimpl.C (cursorPrevious):
12565         (cursorNext): fixed for insets!
12566
12567 2002-04-15  Juergen Vigna  <jug@sad.it>
12568
12569         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12570         position otherwise it is wrong in some cases.
12571
12572         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12573         inside the inset before the call.
12574
12575 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12576
12577         * buffer.[Ch] (getBibkeyList): make it const.
12578
12579 2002-04-12  Juergen Vigna  <jug@sad.it>
12580
12581         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12582
12583         * text2.C (getCursorX): new helper function
12584         (setCursor): compute also ix_
12585         (setCursorFromCoordinates): set also ix.
12586
12587         * lyxcursor.h: added ix_ and helper functions.
12588
12589         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12590
12591         * buffer.C (insertStringAsLines): dont break paragraph if the this
12592         paragraph is inside an inset which does not permit it!
12593
12594         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12595         also with no chars on this paragraph.
12596         (paintRowText): only paint stuff if it's inside the workarea!
12597
12598         * paragraph.C (breakParagraph): honor keepempty flag and break the
12599         paragraph always below not above.
12600
12601         * BufferView2.C (unlockInset): update the paragraph layout on inset
12602         unlock as we changed paragraph in such a case.
12603
12604         * lyxfind.C (LyXFind): clear the former selection if not found!
12605
12606         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12607         again called in insertChar().
12608
12609         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12610         an inset which uses the whole row!
12611         (rightMargin): ditto.
12612         (insertChar): force a rebreak if we inserted an inset!
12613
12614 2002-03-28  Herbert Voss  <voss@lyx.org>
12615
12616         * lyxlength.[Ch]: add inBP() to get the right PS-point
12617         units (BigPoint). With inPixels we have rounding errors
12618
12619 2002-04-11  Juergen Vigna  <jug@sad.it>
12620
12621         * text2.C (setCursorFromCoordinates): set iy to the right value.
12622         (setCursor): add check if row->previous exists!
12623
12624         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12625         an old float_type as this was the case in the old code!
12626
12627         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12628
12629         * BufferView2.C (showLockedInsetCursor): use iy
12630         (fitLockedInsetCursor): ditto
12631
12632         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12633         locked insets as there we have the right value now.
12634
12635         * lyxcursor.C: added iy_ variable and iy functions to set to the
12636         baseline of cursor-y of the locked inset.
12637
12638         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12639         (setCursor): fixed for insets which need a full row.
12640
12641         * text.C (rowLastPrintable): don't ignore the last space when before
12642         an inset which needs a full row.
12643         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12644         as last character of a row when before a inset which needs a full row.
12645
12646 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12647
12648         * version.C.in: update date
12649
12650         * text2.C (fullRebreak): try to always return true and see what
12651         happens...
12652
12653 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12654
12655         * MenuBackend.C (expand): use Floating::listName
12656
12657         * FloatList.C (FloatList): add listName argument to the built-in
12658         floats
12659
12660         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12661         text associated with the float.
12662
12663 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12664
12665         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12666
12667 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12668
12669         * ShareContainer.h: add a couple of missing typenames.
12670
12671 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12672
12673         * lyxrc.C (getDescription): use _() correctly rather than N_().
12674
12675 2002-03-28  Herbert Voss  <voss@lyx.org>
12676
12677         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12678         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12679
12680 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12681
12682         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12683         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12684
12685 2002-03-29  Juergen Vigna  <jug@sad.it>
12686
12687         * lyxfunc.C (dispatch): add a missing fitCursor call.
12688
12689         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12690         it was scrolled by a cursor move, so return the bool status.
12691
12692         * BufferView.C (fitCursor): return the bool flag also to the outside
12693         world as this is needed.
12694
12695         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12696
12697         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12698         call the edit() as it is not needed (and wrong) IMO.
12699         (workAreaButtonPress): set the screen_first variable before evt.
12700         unlock the inset as this may change screen_first and then we have
12701         a wrong y position for the click!
12702
12703 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12704
12705         * MenuBackend.C (expand): another translation that I missed
12706
12707 2002-03-28  Juergen Vigna  <jug@sad.it>
12708
12709         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12710
12711         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12712
12713 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12714
12715         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12716
12717         * MenuBackend.C (expand): fix export/view/update when there is no
12718         document open.
12719
12720 2002-03-27  Herbert Voss  <voss@lyx.org>
12721
12722         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12723         and text%
12724
12725 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12726
12727         * bufferview_funcs.C (currentState): only show paragraph number
12728         for is DEVEL_VERSION is set.
12729
12730         * lyxfunc.C (dispatch): put warning in INFO channel
12731
12732         * MenuBackend.C (expand): translate the name of floats
12733
12734         * FloatList.C (FloatList): mark the float names for translation
12735
12736         * converter.C (convert): use LibScriptSearch
12737
12738 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12739
12740         * MenuBackend.C (defaults): fix default menu (we might as well get
12741         rid of it...)
12742
12743 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12744
12745         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12746         directory.
12747
12748 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12749
12750         * lyxvc.C: reorder includes.
12751
12752 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12753
12754         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12755           properly
12756
12757 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12758
12759         * CutAndPaste.C: change layouts earlier on paste
12760           to avoid crashing when calling getFont()
12761
12762 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12763
12764         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12765         irritating #error.
12766
12767 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12768
12769         * WorkArea.C: remove 'Pending' debug message.
12770
12771         * most files: ws cleanup
12772
12773         * buffer.[Ch]: ws changes
12774
12775         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12776
12777 2002-03-21  Juergen Vigna  <jug@sad.it>
12778
12779         * tabular.C (SetMultiColumn): collapse also the contents of the
12780         cells and set the last border right. Added a Buffer const * param.
12781
12782 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12783
12784         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12785         linking or not.
12786
12787 2002-03-19  Juergen Vigna  <jug@sad.it>
12788
12789         * text2.C (clearSelection): reset also xsel_cache.
12790
12791         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12792         where it needs to be called (John tells us to do so too :)
12793         (selectionLost): reset sel_cache.
12794
12795         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12796
12797 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12798
12799         * text2.C (setCursorIntern): put debuging code in INSETS channel
12800
12801 2002-03-19  André Pönitz <poenitz@gmx.net>
12802
12803         * lyxfunc.C: tiny whitespace change
12804
12805 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12806
12807         * ToolbarDefaults.C (init):
12808         * LyXAction.C (init):
12809         * commandtags.h:
12810         * BufferView_pimpl.C (Dispatch):
12811         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12812
12813 2002-03-19  Allan Rae  <rae@lyx.org>
12814
12815         * exporter.C (Export): removeAutoInsets before doing anything else.
12816         While I've just introduced a dependency on BufferView this really is
12817         the best place to clean the buffer otherwise you need to cleanup in
12818         a dozen places before calling export or cleanup in a dozen functions
12819         that export calls.
12820
12821         * converter.C (runLaTeX):
12822         (scanLog): Better handling of removeAutoInsets and screen updates.
12823
12824         * lyxfunc.C (dispatch): small whitespace changes
12825
12826 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12827
12828         * WorkArea.C (C_WorkAreaEvent): return a value.
12829         (event_cb): return 1 if we handled the event, 0 otherwise.
12830
12831         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12832
12833 2002-03-18  Juergen Vigna  <jug@sad.it>
12834
12835         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12836         (GetAdditionalWidth): ditto.
12837         (RightLine): ditto.
12838         (LeftLine): ditto.
12839
12840         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12841         inset if we're there actually (probably not used right now but this
12842         is the direction to go for unifying code).
12843         (paste): disable code to clear the selection.
12844
12845         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12846         inside an InsetText and move the check further up as it is in the
12847         wrong place.
12848
12849         * text2.C (pasteSelection): set a selection over the pasted text.
12850
12851 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12852
12853         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12854         and libgraphics to build on Cygwin.
12855
12856 2002-03-15  Juergen Vigna  <jug@sad.it>
12857
12858         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12859         inserting an Inset into the paragraph. I know this is not the best
12860         fix but we already use current_view in CutAndPaste so we will remove
12861         all of it's using at the same time.
12862
12863         * buffer.C (sgmlError): deactivated function till it is rewritten in
12864         the right mode, now it can create problems.
12865
12866         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12867         before accessing it.
12868
12869 2002-03-14  Juergen Vigna  <jug@sad.it>
12870
12871         * undo_funcs.C (textHandleUndo): do the right thing when updating
12872         the inset after the undo/redo.
12873
12874         * text2.C (setCursor): just some testcode for #44 not ready yet.
12875
12876         * undo_funcs.C (textHandleUndo): set the next() and previous()
12877         pointers of the paragraph to 0 before deleting otherwise we have
12878         problems with the Paragraph::[destructor].
12879
12880         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12881         on a paragraph insertion.
12882
12883 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12884
12885         * buffer.C (asciiParagraph): use += operator for char append to
12886         string.
12887
12888         * paragraph.C (getFontSettings): compare >= not just >
12889         (highestFontInRange): ditto
12890         (setFont): ditto
12891
12892 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12893
12894         * paragraph.C: change several algorithm to be more appripriate for
12895         the problem domain. This is lookip in FontList and in the InsetList.
12896
12897 2002-03-13  André Pönitz <poenitz@gmx.net>
12898
12899         * commandtags.h:
12900         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12901
12902 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12903
12904         * commandtags.h:
12905         * LyXAction.C:
12906         * lyxfunc.C:
12907         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12908
12909 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12910
12911         * Painter.C (display): anon helper function, adjust code for this
12912         change.
12913         (pixmap): remove function.
12914
12915         * Painter.h: remove private display variable.
12916
12917         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12918
12919 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12920
12921         * WorkArea.[Ch]: remove figinset_canvas cruft.
12922
12923 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12924
12925         * lyxtextclass.C (operator): add one item cache optimization.
12926
12927         * bufferlist.h: doxy changes
12928
12929         * bufferlist.C: ws changes
12930
12931         * DepTable.[Ch] (ext_exist): place const in the right spot.
12932
12933         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12934         call resizeInsets.
12935         (workAreaExpose): call resizeInsets when the with BufferView changes.
12936         (Dispatch): adjust for protectedBlank removal
12937         (specialChar): call updateInset if the insert went ok.
12938
12939         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12940         specialChar instead.
12941
12942         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12943
12944         * BufferView.h: doxy change
12945
12946         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12947
12948         * lyxtextclass.C (operator[]): remove non-const version
12949         (defaultLayout): remove non-const version
12950
12951 2002-03-12  Juergen Vigna  <jug@sad.it>
12952
12953         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12954         did resize the LyXText too.
12955
12956         * buffer.C (readLyXformat2): set layout information on newly allocated
12957         paragraphs.
12958
12959         * tabular.C (OldFormatRead): set layout information on the paragraph.
12960
12961 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
12962
12963         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12964
12965 2002-03-11  Juergen Vigna  <jug@sad.it>
12966
12967         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12968         plainly wrong.
12969         (resizeCurrentBuffer): force also the insets to resize themselfes.
12970         (moveCursorUpdate): fixed up for InsetText.
12971
12972 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12973
12974         * commandtags.h:
12975         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12976         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12977         value of Dialogs::tooltipsEnabled().
12978         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12979
12980 2002-03-08  Juergen Vigna  <jug@sad.it>
12981
12982         * BufferView_pimpl.C (updateInset): update inset inside inset also
12983         if it isn't inside theLockingInset().
12984
12985 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12986
12987         * buffer.C (asciiParagraph): redo some of the word and line length
12988         handling.
12989         (getLists): look for Caption instead of caption.
12990
12991 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12992
12993         * buffer.C (Buffer): initialize niceFile to true
12994         (makeLaTeXFile):
12995         (makeLinuxDocFile):
12996         (makeDocBookFile): make sure niceFile is true on exit
12997
12998 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12999
13000         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13001
13002 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13003
13004         * LyXSendto.C: remove.
13005         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13006         * lyx_gui.C: remove now-redundant comment.
13007         * ColorHandler.h: remove forward declaration of class WorkArea.
13008         * lyxfunc.C: remove #include "WorkArea.h".
13009
13010 2002-03-07  Juergen Vigna  <jug@sad.it>
13011
13012         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13013         got moved away with the DEPM and also set the inset_owner always
13014         right which before could have been omitted.
13015
13016 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13017
13018         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13019         wanted layout is not found.
13020
13021 2002-03-07  Juergen Vigna  <jug@sad.it>
13022
13023         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13024
13025 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13026
13027         * paragraph.C (breakParagraph): use default layout not layout of
13028         prev paragraph.
13029         (Paragraph): clear ParagraphParameters.
13030
13031 2002-03-06  Juergen Vigna  <jug@sad.it>
13032
13033         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13034         otherwise it would not be a valid lenght. Fixed a special case in
13035         the minipage compatibility read where we end the document with a
13036         minipage.
13037
13038         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13039         was set as it could be 0 for InsetTexts first entry.
13040
13041 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13042
13043         * paragraph.C (writeFile): if layout is empty write out
13044         defaultLayoutName().
13045
13046         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13047         file without named layout we set layout to defaultLayoutName().
13048
13049 2002-03-06  Juergen Vigna  <jug@sad.it>
13050
13051         * CutAndPaste.C (copySelection): set layout for new paragraph.
13052
13053         * text.C (prepareToPrint): leave ERT inset left aligned
13054         (leftMargin): don't indent paragraphs inside ERT insets
13055
13056 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13057
13058         * paragraph.C (breakParagraph): dont call clear do the work manually
13059
13060         * paragraph.[Ch] (clear): remove function
13061
13062 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13063
13064         * paragraph.C (Paragraph): dont call clear, the work has already
13065         been done.
13066
13067         * lyxtextclass.C (operator): assert if n is empty
13068
13069         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13070         work manually instead.
13071
13072 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13073
13074         * BufferView_pimpl.C: protect selectionLost against text == 0
13075
13076 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13077
13078         * text.C (breakParagraph): fix a setting layout to '0' problem.
13079
13080 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13081
13082         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13083         final location of file, for the included files, and graphics.
13084
13085 2002-03-05  Juergen Vigna  <jug@sad.it>
13086
13087         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13088
13089 2002-03-04  Juergen Vigna  <jug@sad.it>
13090
13091         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13092
13093         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13094         last column of multicolumn cells.
13095         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13096
13097 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13098
13099         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13100         file if it doesn't go to a temporary file.
13101
13102         * buffer.C (sgmlOpenTag):
13103         (sgmlCloseTag):  remove extra newline insertion.
13104
13105 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13106
13107         * text.C (getRowNearY): comment out debug msg
13108
13109 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13110
13111         * text2.C: first -> first_y
13112
13113         * text.C (getRowNearY): add some attemts at a possible
13114         optimization, not working.
13115
13116         * tabular.[Ch]: add BufferParams to several function so that newly
13117         created paragraph can be initialized to he default layotu for the
13118         buffers textclass.
13119
13120         * tabular-old.C (ReadOld): add buf->params to call of Init
13121
13122         * screen.C: rename text->first to text->first_y
13123
13124         * paragraph.C (breakParagraph): always set layout in the broken
13125         paragraph
13126
13127         * lyxtextclass.C (Read): remove lowercase
13128         (hasLayout): ditto
13129         (operator): ditto
13130         (delete_layout): ditto
13131
13132         * lyxtext.h: rename first -> first_y
13133
13134         * lyxlayout.C (Read): remove lowercase
13135         (name): ditto
13136         (setName): ditto
13137         (obsoleted_by): ditto
13138
13139         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13140
13141         * buffer.C (insertErtContents): add params are to InsetERT
13142         (parseSingleLyXformat2Token): add code to check if a paragraphs
13143         layout really exist.
13144         (parseSingleLyXformat2Token): add params to several inset
13145         constructors
13146         (asciiParagraph): remove lowercase, do the layout comparisons with
13147         no_case
13148
13149         * BufferView_pimpl.C (cursorNext): first -> first_y
13150         (resizeCurrentBuffer): first -> first_y
13151         (updateScrollbar): first -> first_y
13152         (scrollCB): first -> first_y
13153         (workAreaMotionNotify): first -> first_y
13154         (workAreaButtonPress): first -> first_y
13155         (checkInsetHit): first -> first_y
13156         (cursorPrevious): first -> first_y
13157         (cursorNext): first -> first_y
13158         (Dispatch): add buffer_->params to severl inset contructors
13159
13160 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13161
13162         * lyxlayout.C (Read): remove some debug info that I forgot.
13163
13164         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13165         clean up the code slightly.
13166         (makeLinuxDocFile): ditto
13167         (makeDocBookFile): ditto
13168
13169         * text2.C: layout as string
13170
13171         * text.C: layout as string
13172
13173         * paragraph_pimpl.C: layout as string
13174
13175         * paragraph.[Ch]: layout as string
13176
13177         * lyxtextclasslist.[Ch]: layout as string
13178
13179         * lyxtextclass.[Ch]: layout as string
13180
13181         * lyxtext.h: layout as string
13182
13183         * lyxlayout.[Ch]: layout as string
13184
13185         * lyx_cb.C: layout as string
13186
13187         * bufferview_funcs.C: layout as string
13188
13189         * bufferparams.C: layout as string
13190
13191         * buffer.C: layout as string
13192
13193         * LyXView.[Ch]: layout as string
13194
13195         * LaTeXFeatures.[Ch]: layout as string
13196
13197         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13198
13199         * BufferView_pimpl.C: change current_layout to string, remove
13200         lyx::layout_type.
13201         (Dispatch):
13202         (smartQuote):
13203         (insertInset):
13204         (workAreaButtonRelease): layout as string
13205
13206         * BufferView2.C (unlockInset): adjust
13207
13208         * vspace.C (asLatexCommand): use an explict temp variable.
13209
13210 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13211
13212         * Makefile.am: use FRONTEND_*
13213
13214 2002-03-01  Juergen Vigna  <jug@sad.it>
13215
13216         * tabular.C (SetWidthOfMulticolCell): changed to something better
13217         I hope but still work in progress.
13218         (recalculateMulticolumnsOfColumn): renamed function from
13219         recalculateMulticolCells as it is more appropriate now.
13220         (SetWidthOfCell): calculate multicols better.
13221
13222 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13223
13224         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13225
13226         * lyxfunc.C (processKeySym): print sequence also if it is
13227         `deleted' (complete)
13228
13229         * kbsequence.C (print): print sequence even if it is deleted
13230         (complete would be a better word, actually).
13231
13232         * lyxfunc.C (dispatch): print complete options after a prefix key
13233
13234         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13235
13236 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13237
13238         * text2.C (setCharFont): eliminate setCharFont code duplication.
13239
13240 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13241
13242         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13243         LFUN_TABULAR_FEATURE (bug #177)
13244
13245 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13246
13247         * Makefile.am: remove figure.h
13248
13249 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13250
13251         * Bufferview_pimpl.C:
13252         * CutAndPasteC:
13253         * LaTeX.C:
13254         * LyXSendto.C:
13255         * buffer.C:
13256         * bufferlist.C:
13257         * converter.C:
13258         * language.C:
13259         * lyxfunc.C:
13260         * lyxvc.C:
13261         * paragraph.C:
13262         * text.C:
13263         * text2.C: remove #include "lyx_gui_misc.h".
13264
13265         * LaTeX.C: added #include <cstdio>
13266
13267 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13268
13269         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13270         that the paragraph following this one can have.
13271
13272         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13273
13274         * vspace.C (asLatexCommand): fix bogus gcc warning
13275
13276         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13277
13278 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13279
13280         * text2.C (setLayout): get rid of redundant code
13281
13282 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13283
13284         * text2.C (incDepth): make sure depth cannot be increased beyond
13285         reasonable values.
13286
13287 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13288
13289         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13290         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13291
13292         * PainterBase.h (image):
13293         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13294         a LyXImage const *.
13295
13296 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13297
13298         * BufferView.C:
13299         * BufferView.h:
13300         * BufferView_pimpl.C:
13301         * BufferView_pimpl.h:
13302         * LaTeXFeatures.C:
13303         * LyXAction.C:
13304         * LyXView.C:
13305         * Makefile.am:
13306         * UpdateList.h:
13307         * UpdateList.C:
13308         * buffer.C:
13309         * figure.h:
13310         * figureForm.C:
13311         * figureForm.h:
13312         * figure_form.C:
13313         * figure_form.h:
13314         * lyx_cb.C:
13315         * lyx_gui.C:
13316         * lyx_gui_misc.C:
13317         * lyxfunc.C:
13318         * sp_base.h:
13319         * sp_ispell.h:
13320         * sp_pspell.h:
13321         * sp_spell.C: remove fig inset, and the crap house of
13322           cards that follows it
13323
13324 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13325
13326         * Makefile.am:
13327         * lyxserver.C:
13328         * os2_defines.h:
13329         * os2_errortable.h:
13330         * nt_defines.h: move .h into support/
13331
13332         * vms_defines.h: remove
13333
13334         * WorkArea.C: add space in debug output
13335
13336         * text2.C:
13337         * paragraph.C:
13338         * buffer.C: add WITH_WARNINGS
13339
13340         * vc-backend.h:
13341         * vc-backend.C:
13342         * bufferlist.C: s/retrive/retrieve/, add docs
13343
13344         * vspace.h:
13345         * vspace.C:
13346         * kbmap.h:
13347         * lyxlength.h:
13348         * lyxgluelength.h:
13349         * length_common.h:
13350         * chset.h:
13351         * chset.C: add docs
13352
13353         * lyxgui.C: add ID to X error handler
13354
13355         * lyxtestclass.c: fix typo
13356
13357 2002-02-26  Juergen Vigna  <jug@sad.it>
13358
13359         * tabular_funcs.C (write_attribute): changed so that some default
13360         attributes are not written at all.
13361         (getTokenValue): set default values before trying to read the
13362         value so we have the return value always set as default if we don't
13363         find the token we search for.
13364
13365         * tabular.C (Write): write bools as bools not as strings!
13366
13367 2002-02-22  Juergen Vigna  <jug@sad.it>
13368
13369         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13370         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13371
13372         * text.C (leftMargin): don't add an indent for paragraphs inside
13373         tabular cells (fix #208).
13374
13375 2002-02-21  José Matos  <jamatos@fep.up.pt>
13376
13377         * tabular.C (docBook): fixed support for long tables.
13378
13379 2002-02-20  Juergen Vigna  <jug@sad.it>
13380
13381         * text2.C (getFont): get the drawing font of the Inset if this
13382         paragraph is inside an inset (only important for InsetERT for now).
13383
13384         * buffer.C (insertErtContents): use new lanugage params in ERT
13385         constructor.
13386
13387         * CutAndPaste.C: commenting out seemingly uneeded code.
13388
13389 2002-02-19  Allan Rae  <rae@lyx.org>
13390
13391         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13392         Iterators might be simple to use but they also get invalidated.
13393         (removeAutoInsets): renamed saved cursor tracking variables and added
13394         some comments to clarify what everything does.
13395
13396 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13397
13398         * Chktex.C:
13399         * LaTeX.C:
13400         * LyXSendto.C:
13401         * converter.C:
13402         * lyx_cb.C:
13403         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13404         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13405
13406         * lyxfunc.C:
13407         * vc-backend.h: remove #include "support/syscall.h"
13408
13409         * LaTeX.C:
13410         * LyXSendto.C:
13411         * converter.C: rearrange #includes in Lars' approved fashion.
13412
13413         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13414         forward declare class Timeout in the header file.
13415
13416         * XFormsView.C: changes due to the above.
13417
13418         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13419         similar to LyXView.
13420
13421         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13422         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13423
13424 2002-02-18  José Matos  <jamatos@fep.up.pt>
13425
13426         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13427         insets contents.
13428
13429 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13430
13431         * a lot of small ws changes
13432         * add a lot of using std::XXX
13433         * use std construcs some places where approp.
13434         * use some exisint stuff from lyxfunctional where approp.
13435         * Make file changes to use partial linking (lets test this now...)
13436
13437 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13438
13439         * Chktex.C:
13440         * buffer.C:
13441         remove #include "support/syscontr.h" as it's redundant. Always has been.
13442
13443         * Chktex.C:
13444         * LaTeX.C:
13445         * LyXSendto.C:
13446         * converter.C:
13447         * lyx_cb.C:
13448         * vc-backend.C:
13449         change Systemcalls::System to Systemcalls::Wait and
13450         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13451         No change of functionality, just reflects the stripped down Systemcalls
13452         class.
13453
13454 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13455
13456         * debug.[Ch]: add a GRAPHICS type to the enum.
13457
13458 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13459
13460         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13461
13462         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13463         there is an inset.
13464
13465 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13466
13467         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13468         match the changes below.
13469
13470         * text2.C (toggleInset): if there is not editable inset at cursor
13471         position, try to see if cursor is _inside_ a collapsable inset
13472         and close it.
13473
13474 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13475
13476         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13477         document menu has a nice checkbox
13478
13479 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13480
13481         * lyxlength.C (asLatexString): change PW to output as percent of
13482         \textwidth.
13483
13484         * lengthcommon.C: change '%' to 't%'
13485
13486         * lyxfunc.C (dispatch): a few comments from Martin
13487
13488 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13489
13490         * WorkArea.h:
13491         * WorkArea.C:
13492         * BufferView_pimpl.h:
13493         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13494           the X selection.
13495
13496 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13497
13498         * vspace.C (inPixels): fix compiler warning
13499
13500 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13501
13502         * lyxfunc.C (getStatus): fix status message for disabled commands.
13503
13504 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13505
13506         * BufferView_pimpl.C: fix crash on close buffer
13507         during selection (#227)
13508
13509 2002-01-27  Herbert Voss  <voss@lyx.org>
13510
13511         * buffer.C: link old Figure to new graphic inset
13512
13513 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13514
13515         * FontLoader.C (getFontinfo): Change the latex font names in order
13516         to match the names of type1inst.
13517
13518 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13519
13520         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13521
13522         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13523         (extchanged): ditto
13524         (ext_exist): ditto
13525         (remove_files_with_extension): ditto
13526         (remove_file): ditto
13527         (write): ditto
13528
13529         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13530         document is smaller than the work area height. Do not initialize
13531         static variables to 0.
13532
13533 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13534
13535         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13536
13537         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13538         LFUN_LAYOUT_PARAGRAPHS.
13539
13540         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13541         tabular. It is possible to provide a possible cell, which will
13542         typically be the actcell from the corresponding insettabular
13543
13544         * lyxfunc.C (getStatus): small cleanup; disable
13545         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13546         true
13547
13548 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13549
13550         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13551
13552         * paragraph.C (startTeXParParams):
13553         (endTeXParParams): new methods. The LaTeX code to
13554         start/end paragraph formatting
13555         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13556         empty (fixes bug #200)
13557
13558         * vspace.C (inPixels): adapt to the change below
13559         (inPixels): [later] more cleanups (remove unused variables)
13560
13561         * lyxlength.C (inPixels): change to use a width and a height as
13562         parameter.
13563
13564 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13565
13566         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13567         Replaced with \paperwidth
13568
13569         * DepTable.C (insert): add std:: qualifier
13570
13571 2002-01-18  Allan Rae  <rae@lyx.org>
13572
13573         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13574         updated also?
13575
13576         * text.C (drawInset): Turned out I didn't know enough about how
13577         rebreaking worked.  This fixes most of the redraw problems.  I see
13578         an occasional cursor trail when a line is broken now and the cursor
13579         placement can seem out by a few pixels also after a rebreak.
13580
13581 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13582
13583         * buffer.C (parseSingleLyXformat2Token): update because minipage
13584         width is now a LyXLength
13585
13586         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13587
13588         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13589         math insets
13590
13591 2002-01-17  Juergen Vigna  <jug@sad.it>
13592
13593         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13594
13595         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13596         is set correctly and the inset is updated correctly.
13597
13598 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13599
13600         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13601         the beginning of the loop.
13602
13603 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13604
13605         * lyxrc.C: improve help for use_scalable_fonts
13606
13607 2002-01-17  Allan Rae  <rae@lyx.org>
13608
13609         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13610
13611 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13612
13613         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13614         make sure to set their inset_owner to the right value (bug #171)
13615
13616 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13617
13618         * DepTable.h
13619         * DepTable.C: Implement mtime checking to reduce time spent doing
13620         CRCs.
13621
13622 2002-01-16  Juergen Vigna  <jug@sad.it>
13623
13624         * tabular.C (GetAdditionalHeight): one of error fixed.
13625
13626         * lyxrc.C (output): small fix in writing use_pspell.
13627
13628 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13629
13630         * sp_base.h: #include LString.h
13631
13632 2002-01-16  Allan Rae  <rae@lyx.org>
13633
13634         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13635         Can someone check this please?
13636
13637         * text.C (drawInset): It was possible that p.row would be removed by
13638         breakAgainOneRow upsetting a few other settings.  There may be another
13639         small tweak possible by setting need_break_row = 0 when p.row has been
13640         removed but I don't know enough about the logic here.
13641
13642 2002-01-15  Allan Rae  <rae@lyx.org>
13643
13644         * text.C (insertChar): removed conditional truism.
13645
13646         * BufferView2.C (removeAutoInsets): More tweaks.
13647         cur_par_prev could be a stray pointer.  Check for trailing empty line
13648         in case last line was cur_par and only had an error inset on it.
13649
13650 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13651
13652         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13653         absolute
13654
13655         * vc-backend.C (most methods):
13656         * exporter.C (Export):
13657         * converter.C (convert):
13658         (runLaTeX):
13659         * LyXSendto.C (SendtoApplyCB):
13660         * lyxfunc.C (dispatch):
13661         (menuNew):
13662         (open):
13663         (doImport):
13664         * lyx_cb.C (AutoSave):
13665         (InsertAsciiFile):
13666         * BufferView_pimpl.C (MenuInsertLyXFile):
13667         * buffer.C (runChktex): use Buffer::filePath().
13668
13669         * buffer.h: rename filename to filename_; rename filepath to
13670         filepath_ and make it private
13671         (filePath): new method
13672
13673         * buffer.C (writeFile): use fileName()
13674         (getLatexName):
13675
13676         * lyx_main.C (init): fix starting  of LyX when the binary is a
13677         link from so,ewhere else.
13678
13679         * minibuffer.C: include <cctype> for isprint
13680
13681 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13682
13683         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13684         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13685         name clash with InsetCollapsable's width function.
13686
13687 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13688
13689         * lastfiles.C: include <iterator>
13690
13691 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13692
13693         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13694         std::count.
13695
13696         * buffer.C (makeLaTeXFile): ditto.
13697         Also make loop operation more transparent.
13698
13699 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13700
13701         * ToolbarDefaults.C: remove trailing comma closing namespace.
13702
13703         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13704
13705         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13706         as in WorkArea.
13707
13708         * trans.C (Load): comment out unused variable, allowed.
13709
13710 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13711
13712         * minibuffer.[Ch] (append_char): new method to recieve input from the
13713         drop-down completion browser. If a key was pressed, then recieve this
13714         char and append it to the existing string.
13715         (peek_event): modify the positioning data passed to the completion
13716         browser so that it can be placed above the minibuffer rather than below.
13717 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13718
13719         * LyXAction.C (init): alloe error-next for readonly documents.
13720
13721         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13722         count.
13723
13724 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13725
13726         * bufferlist.C (readFile): create the buffer _after_ checking that
13727         the file exists.
13728
13729         * lyxfunc.C (verboseDispatch): fix handling of arguments
13730
13731         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13732
13733         * lyxrc.C: use string::erase() instead of initializing to "".
13734
13735
13736 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13737
13738         * BufferView_pimpl.h:
13739         * BufferView_pimpl.C:
13740         * WorkArea.h:
13741         * WorkArea.C:
13742         * text2.C: tell X when we have made a selection for copying
13743
13744 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13745
13746         * BufferView_pimpl.C (MenuInsertLyXFile):
13747         * lyxfunc.C (menuNew):
13748         (open):
13749         (doImport): add shortcuts to directory buttons
13750
13751         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13752         open a float)
13753
13754         * lyxfunc.C (setStatusMessage):
13755         (getStatusMessage): new methods
13756         (getStatus):use setStatusMessage instead of setErrorMessage
13757         (dispatch): when function is disabled, set error message here
13758         [instead of in getStatus previously]
13759
13760         * BufferView_pimpl.C (workAreaButtonRelease): update
13761         toolbar/menubar here too.
13762
13763 2002-01-13  Allan Rae  <rae@lyx.org>
13764
13765         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13766         Now seems indestructible.  Remaining task is to audit all other
13767         code affected by deleteEmptyParagraphMechanism.  One small quirk
13768         left is that an empty document with an error in the preamble can
13769         be made to report an error but no error box appears.  I don't know
13770         where it goes.
13771         (removeAutoInsets): Improved comments.
13772
13773 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13774
13775         * Thesaurus.h:
13776         * Thesaurus.C: update for Aiksaurus 0.14
13777
13778 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13779
13780         * text2.C (firstParagraph): removed member function, all uses
13781         replaces with ownerParagraph
13782         (redoParagraphs): here
13783         (updateInset): here
13784         (toggleAppendix): here
13785         * BufferView2.C (insertErrors): here
13786         (setCursorFromRow): here
13787
13788 2002-01-13  Allan Rae  <rae@lyx.org>
13789
13790         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13791         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13792         There is still a way to segfault this although you may have to do this
13793         multiple times: Have an InsetERT with an unknown command in it.
13794         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13795         <down-arrow>, <Enter> again, View->DVI, BANG!
13796
13797         * text2.C (setCursor):
13798         (deleteEmptyParagraphMechanism):
13799         * lyxtext.h (setCursor):
13800         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13801         Making use of the return value may help fix other bugs.
13802
13803 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13804
13805         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13806
13807         * LyXView.C (updateMenubar): call MenuBar::update here
13808         (updateToolbar): but not here
13809         (showState): do not update toolbar/menubar
13810
13811         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13812         should need to care about that.
13813
13814         * lyxfunc.C (verboseDispatch): simplify a bit
13815         (getStatus): have a version which takes a pseudoaction, and
13816         another which requires a (kb_action,string).
13817
13818         * LyXAction.C (retrieveActionArg): make it work also when action
13819         is not a pseudo-action.
13820         (getActionName): simplify a bit
13821         (helpText):
13822
13823 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13824
13825         * lyxfunc.C (verboseDispatch): new families of methods with
13826         several ways to specify a command and a bool to indicate whether
13827         the command name and shortcut should be displayed in minibuffer
13828         (eventually, we could extend that to a finer bitmask like
13829         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13830         (dispatch): the pristine dispatch command which just, well,
13831         dispatchs! Note it still sets its result to minibuffer; I'm not
13832         sure we want that.
13833
13834         * lyxfunc.h: remove setHintMessage
13835
13836         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13837
13838 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13839
13840         * BufferView_pimpl.C (specialChar): delete new inset if we have
13841         not been able to insert it.
13842
13843         * kbmap.C: revert to using int instead of kb_action, since all we
13844         are dealing with is pseudo-actions.
13845
13846         * LyXAction.C (searchActionArg): change to return int instead of
13847         kb_action, since the result is a pseudoaction.
13848
13849 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13850
13851         * buffer.C (insertErtContents): Fix (partially) the font bug.
13852
13853 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13854
13855         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13856         as the other one is broken on my machine!
13857
13858 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13859
13860         * commandtags.h:
13861         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13862
13863 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13864
13865         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13866         reflect their actual use. Provide compatibility code for older lyxrc
13867         files.
13868
13869         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13870         FL_NORMAL_STYLE.
13871         change names of popup font variables in line with the changes to lyxrc.C
13872
13873 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13874
13875         * buffer.C (asciiParagraph): avoid outputing a word twice after
13876         an inset.
13877
13878         * lyxrc.C (getDescription): document that document_path and
13879         template_path can be empty.
13880
13881 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13882
13883         * LaTeXFeatures.C (getMacros):
13884         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13885
13886         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13887
13888         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13889         getPackages.
13890         (getPackages): rename feature "floats" to "float". Use an array to
13891         iterate over 'simple' features (i.e. just a \usepackage). Add
13892         handling of "amsmath" (renamed from "amsstyle").
13893
13894 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13895
13896         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13897         features list.
13898
13899 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13900
13901         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13902         FuncStaus::FuncStatus & FuncStaus::some_method().
13903
13904 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13905
13906         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13907         of the func_satus stuff. Edited and massaged in various ways by
13908         JMarc.
13909
13910         * lyxfunc.C (getStatus): use FuncStatus
13911
13912 2002-01-08  Juergen Vigna  <jug@sad.it>
13913
13914         * text.C (nextBreakPoint): use function Inset::isChar().
13915
13916         * paragraph.C (TeXOnePar): use function
13917         Inset::forceDefaultParagraphs.
13918
13919         * buffer.C (latexParagraphs): use function
13920         Inset::forceDefaultParagraphs.
13921
13922 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13923
13924         * lyx_gui.C (init): set the style of the menu popups to
13925         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13926
13927 2002-01-07  Juergen Vigna  <jug@sad.it>
13928
13929         * text.C (setHeightOfRow): small fix
13930         (prepareToPrint): don't look at alignment if we don't have the place
13931         for doing it.
13932
13933 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13934
13935         * box.C: New file. Move the Box methods and functions out of box.h,
13936         following Lars' suggestion.
13937
13938 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13939
13940         * box.h: #include "support/LOstream.h", needed for inlined function.
13941
13942         * lyxtextclass.C:
13943         * lyxtextclasslist.C: added some using std declarations.
13944
13945 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13946
13947         * box.h: make signed dimensions to allow insets wider than
13948           the screen (bug #162)
13949
13950         * BufferView_pimpl.C: add some insetHit debug
13951
13952 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13953
13954         * vc-backend.C: add FIXME
13955
13956 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13957
13958         * lyxfunc.C (getStatus): enable code for showing math font status
13959         in toolbar/menu.
13960
13961 2002-01-07  Juergen Vigna  <jug@sad.it>
13962
13963         * text.C (nextBreakPoint): removed debug output not needed anymore.
13964
13965 2002-01-06  Juergen Vigna  <jug@sad.it>
13966
13967         * text.C (nextBreakPoint): fixed up this function we had this bug
13968         since ever but now hopefully we break row better.
13969         (insertChar): we have to check if an inset is the next char as it
13970         could now happen that a large inset is causing a break.
13971
13972 2002-01-05  Juergen Vigna  <jug@sad.it>
13973
13974         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13975         if it doesn't like to be drawed.
13976
13977 2002-01-04  Juergen Vigna  <jug@sad.it>
13978
13979         * BufferView2.C (lockInset): forgot to set a cursor.
13980
13981         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13982
13983 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13984
13985         * FormMathsPanel.C:
13986         * FormMathsPanel.h
13987         * MathsSymbols.C:
13988         * form_maths_panel.C:
13989         * form_maths_panel.h:
13990         * form_maths_panel.fd: implemented sub- and super- buttons in math
13991         panel.
13992
13993         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13994         (or ^ space) to be used as in TeX (req'd by Andr�.
13995
13996         * lyxfunc.C: Allow ^ and _ again to be used both as
13997         super/subscript (mathed) and as themselves (in text).
13998
13999 2002-01-03  Allan Rae  <rae@lyx.org>
14000
14001         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14002         "LyX" or the filename of the current buffer if it has one.  This is a
14003         modified form of John Levon's patch.
14004
14005         * XFormsView.C (setWindowTitle): also set icon title.
14006
14007         * LyXView.h (setWindowTitle): signature changed.
14008         * XFormsView.h (setWindowTitle): ditto.
14009
14010 2002-01-02  Juergen Vigna  <jug@sad.it>
14011
14012         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14013
14014 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14015
14016         * screen.C (topCursorVisible): introduce a temp var for
14017         text->cursor.row(), handle the case where this row is null. (kindo
14018         hachish)
14019
14020         * text2.C (setCursor): add a couple of asserts.
14021
14022         * paragraph.h (inset_iterator): add -> operator
14023
14024         * paragraph.[Ch] (autoDeleteInsets): remove member function
14025
14026         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14027         cursor pos correctly and handle inset deletion by itself.
14028         (insertErrors): move iterator declaration out of for expression
14029
14030         * lyxtextclass.C: add <algorithm>
14031
14032         * Makefile.am: added the new files to sources, removed layout.C
14033
14034         * layout.C: removed file
14035
14036         * layout.h: remove LYX_DUMMY_LAYOUT
14037
14038         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14039         layout.
14040
14041         * lyxlayout.[Ch]:
14042         * lyxtextclass.[Ch]:
14043         * lyxtextclasslist.[Ch]: new files
14044
14045         * include order changes to a lot of files, also changes because of
14046         the six new files.
14047
14048 2001-12-27  Juergen Vigna  <jug@sad.it>
14049
14050         * buffer.C (asciiParagraph): more fixes.
14051
14052         * tabular.C (ascii): make ascii export support export of only the
14053         data separated by a column-delimiter.
14054         (ascii): better support for ascii export.
14055
14056         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14057
14058 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14059
14060         * tabular_funcs.C: use a "using std::getline" instead of the
14061         previous fix from Angus (necessary for cxx + lyxstring)
14062
14063 2001-12-24  Juergen Vigna  <jug@sad.it>
14064
14065         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14066
14067         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14068         problems. First check a minipage also if we have some ert-contents
14069         (not only on par->size(), second set the right depth of the paragraph
14070         on the relink to the root-paragraph-list!
14071
14072         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14073         which then did not anymore update the main paragraphs on undo/redo!
14074
14075 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14076
14077         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14078         code. Support all font-changing funcs (even those which are not in
14079         menu currently). Support for reporting font settings in
14080         mathed (disabled until Andre provides a function on mathed's side).
14081
14082         * func_status.h (toggle): small helper function to set toggle
14083         state on a flag.
14084
14085 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14086
14087         * tabular_funcs.C: getline -> std::getline
14088
14089 2001-12-21  Juergen Vigna  <jug@sad.it>
14090
14091         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14092         accessed and could be 0 (I couldn't generate this but it seems
14093         Michael could!).
14094
14095 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14096
14097         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14098         * tabular_funcs.h: here and include iosfwd
14099
14100 2001-12-20  Juergen Vigna  <jug@sad.it>
14101
14102         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14103         inside inset but undo_par was.
14104
14105 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14106
14107         * Thesaurus.C: always include <config.h> in sources.
14108
14109         * Painter.h:
14110         * lyxlookup.h:
14111         * box.h: do not include <config.h> in header files
14112
14113         * text.C (paintLastRow): remove unused variable
14114
14115         * text.C (transformChar):
14116         (insertChar):
14117         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14118
14119         * Painter.C (text):
14120         * font.C (width): rewrite to use uppercase() instead of
14121         islower/toupper.
14122
14123         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14124
14125 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14126
14127         * lyxfind.C: clean up of find failure position change
14128
14129 2001-12-20  Juergen Vigna  <jug@sad.it>
14130
14131         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14132
14133         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14134         (TeXRow): added to LaTeX a single tabular row.
14135         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14136         (Latex): simplified and finally good LT-h/f support.
14137         (various_functions): just small adaptions for LT-h/f support.
14138
14139         * tabular_funcs.[hC]: added and moved here all not classfunctions
14140         of LyXTabular.
14141
14142 2001-12-19  Juergen Vigna  <jug@sad.it>
14143
14144         * tabular.[Ch]: better support for longtabular options (not finished
14145         yet!)
14146
14147 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14148
14149         * text.C (paintLastRow): use the label font instead of the font of
14150         the last character to compute the size of *_BOX. This makes more
14151         sense and avoids a crash with empty paragraphs.
14152         Use Painter::rectangle to draw EMPTY_BOX.
14153
14154 2001-12-19  Juergen Vigna  <jug@sad.it>
14155
14156         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14157         the paragraphs if the replaced paragraph is not the first one!
14158         Tried to delete not used paragraphs but does not work yet so for
14159         now it's inside #ifdef's and by default off!
14160
14161 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14162
14163         * MenuBackend.C: include "lyx_main.h" instead of declaring
14164         lastfiles (actually was declared as LastFiles* instead of a
14165         scoped_ptr).
14166
14167 2001-12-17  Juergen Vigna  <jug@sad.it>
14168
14169         * tabular.C (AppendColumn): applied John's fix
14170
14171 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14172
14173         * BufferView.h:
14174         * BufferView.C:
14175         * BufferView_pimpl.h:
14176         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14177
14178         * Makefile.am:
14179         * box.h: new start of class for above
14180
14181         * lyxfunc.C: ignore space-only minibuffer dispatches.
14182           Show the command name when it doesn't exist
14183
14184         * minibuffer.C: don't add empty lines to the history
14185
14186         * minibuffer.C: add a space on dropdown completion
14187
14188 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14189
14190         * text.C: fix line above/below drawing in insets
14191
14192 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14193
14194         * lyxlength.C (LyXLength): Initialize private variables.
14195
14196 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14197
14198         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14199         when inserting error insets.
14200
14201 2001-12-13  Juergen Vigna  <jug@sad.it>
14202
14203         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14204         actually sometimes the before-paragraph.
14205         (setUndo): don't clear the redostack if we're not actually undoing!
14206
14207 2001-12-06  Juergen Vigna  <jug@sad.it>
14208
14209         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14210         and fixed redoing of main paragraph, so we can use it now ;)
14211
14212         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14213
14214 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14215
14216         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14217         Juergen's request
14218
14219 2001-12-13  André Pönitz <poenitz@gmx.net>
14220
14221         * undostack.[Ch]:
14222         * undo_func.C: minor cleanup
14223
14224 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14225
14226         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14227         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14228         font in urw-fonts package which is marked as -urw-fontspecific and
14229         does not work (incidentally, changing the encoding in the
14230         fonts.dir of this package to -adobe-fontspecific fixes the
14231         problem).
14232
14233         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14234         is a crash when undoing first paragraph (Juergen, please take a
14235         look). THis does not mean the undo fix is wrong, just that it
14236         uncovers problems.
14237
14238         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14239         the (Paragraph*) version when needed instead of duplicating the
14240         code.
14241
14242         * text.C (workWidth): use Inset::parOwner to find out where the
14243         inset has been inserted. This is a huge performance gain for large
14244         documents with lots of insets. If Inset::parOwner is not set, fall
14245         back on the brute force method
14246
14247         * paragraph_pimpl.C (insertInset):
14248         * paragraph.C (Paragraph):
14249         (cutIntoMinibuffer): set parOwner of insets when
14250         inserting/removing them
14251
14252         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14253
14254 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14255
14256         * commandtags.h:
14257         * LyXAction.C:
14258         * lyx_main.C:
14259         * lyxfunc.C:
14260         * mathed/formulabase.C:
14261         * mathed/math_cursor.[Ch]:
14262         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14263
14264
14265 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14266
14267         * lyxlength.[Ch] (operator!=): new function
14268
14269 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14270
14271         * text.C (workWidth): use Inset::parOwner to find out where the
14272         inset has been inserted. This is a huge performance gain for large
14273         documents with lots of insets. If Inset::parOwner is not set, fall
14274         back on the brute force method
14275
14276         * paragraph_pimpl.C (insertInset):
14277         * paragraph.C (Paragraph):
14278         (cutIntoMinibuffer): set parOwner of insets when
14279         inserting/removing them
14280
14281         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14282
14283 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14284
14285         * tabular-old.C (getTokenValue):
14286         * tabular.C (getTokenValue):
14287         (write_attribute): new versions for LyXLength
14288         (everywhere): adjust the use of widths
14289
14290         * tabular.h: change the type of widths from string to LyXLength
14291
14292 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14293
14294         * paragraph.C: fixed missing line number count when exporting
14295         Environments to LaTeX file
14296
14297         * buffer.C: added informational message for checking line numbers.
14298
14299 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14300
14301         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14302         paragraph, do the 'double space' part, but not the 'empty
14303         paragraph' one.
14304
14305         * text.C (workWidth): small optimization
14306         (getLengthMarkerHeight): use minimal size for negative lengths.
14307
14308 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14309
14310         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14311
14312         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14313
14314 2001-12-11  André Pönitz <poenitz@gmx.net>
14315
14316         * FontLoader.C:
14317         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14318
14319 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14320
14321         * text2.C: keep selection on a setFont()
14322
14323 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14324
14325         * lyx_cb.C: another bv->text misuse, from insert label
14326
14327 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14328
14329         * kbsequence.h:
14330         * kbsequence.C: re-instate nmodifier mask
14331
14332 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14333
14334         * lyx_main.h: make lyxGUI private.
14335
14336 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14337
14338         * lyxfind.C: place the cursor correctly on failed search
14339
14340 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14341
14342         * text.C (getLengthMarkerHeight): for small heights, the arrows
14343         are not always on top/bottom of the text
14344         (drawLengthMarker): smaller arrows; take the left margin in
14345         account; draw also vfills.
14346         (paintFirstRow):
14347         (paintLastRow): remove special code for vfill and standard spaces,
14348         since everything is handled in drawLengthMarker now.
14349
14350 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14351
14352         * buffer.C (insertErtContents): try to handle font and language
14353         interaction a bit better.g
14354
14355         * ColorHandler.C (updateColor): change the hash to cover the whole
14356         LColor enum, ws cleanup
14357         (getGCLinepars): ditto
14358         (getGCLinepars): only lookup in the linecache once.
14359
14360 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14361
14362         * iterators.C (operator++): Make the iterator more robust
14363
14364         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14365         (John's patch)
14366         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14367
14368 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14369
14370         * lyxtext.h:
14371         * text.C: better added space drawing
14372
14373 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14374
14375         * LyXView.C:
14376         * BufferView2.C: fix layout combo update on inset unlock
14377
14378 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14379
14380         * Makefile.am: don't compile unused files
14381
14382 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14383
14384         * lyxfunc.C:
14385         * commandtags.h:
14386         * LyXAction.C: remove old LFUN_LAYOUTNO
14387
14388 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14389
14390         * paragraph_pimpl.h:
14391         * paragraph_pimpl.C: isTextAt() doesn't need font param
14392
14393 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14394
14395         * lyxlex.h:
14396         * lyxlex.C: little cleanup
14397
14398 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14399
14400         * BufferView_pimpl.C: fix insertAscii for insets
14401
14402 2001-12-05  Juergen Vigna  <jug@sad.it>
14403
14404         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14405         set the right font on the "multi" paragraph paste!
14406
14407 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14408
14409         * trans_decl.h:
14410         * trans_mgr.[Ch]:
14411         * trans.[Ch]:
14412         * lyxgluelength.C:
14413         * lyxlength.C: remove out-commented code.
14414
14415         * BufferView_pimpl:
14416         * CutAndPaste.C:
14417         * DepTable.C:
14418         * buffer.C:
14419         * chset.C:
14420         * lastfiles.C:
14421         * lyxlex.C:
14422         * lyxlex_pimpl.C:
14423         * lyxserver.C:
14424         * screen.C:
14425         * tabular-old.C:
14426         * tabular.C:
14427         * text.C:
14428         * trans_mgr.C:
14429         * vc-backend.C: change "while(" to "while ("
14430
14431         * lyxlength.[Ch]: add zero function to check if length is zero or
14432         not
14433         * lyxgluelength.C: use it
14434
14435 2001-12-05  Allan Rae  <rae@lyx.org>
14436
14437         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14438         Works for 2.95.3, from what I understand of Garst's reports this should
14439         work for other g++ versions.  We're screwed if the abs(int) definition
14440         changed between bugfix releases of gcc.
14441
14442 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14443
14444         * text.C: fix chapter label offset !
14445
14446 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14447
14448         * lyxtext.h:
14449         * text.C: fix hfill at end of line, clean up
14450
14451 2001-12-04  Juergen Vigna  <jug@sad.it>
14452
14453         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14454         that we force an update of the inset and it's owners if neccessary.
14455
14456 2001-12-03  Juergen Vigna  <jug@sad.it>
14457
14458         * text.C (rowLast): simplified code
14459
14460 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14461
14462         * lyxfunc.C: fix show options on timeout
14463
14464 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14465
14466         * screen.C (topCursorVisible): scroll half a page when the cursor
14467         reached top of bottom of screen
14468
14469 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14470
14471         * minibuffer.C: deactivate on loss of focus
14472
14473 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14474
14475         * vspace.[Ch] (operator!=): add operator.
14476
14477 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14478
14479         * BufferView_pimpl.C: refuse to open an inset when
14480         there's a selection.
14481
14482 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14483
14484         * BufferView_pimpl.C: allow to click on RHS of full row insets
14485
14486 2001-11-30  Juergen Vigna  <jug@sad.it>
14487
14488         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14489         insets for undo reasons.
14490
14491 2001-11-28  André Pönitz <poenitz@gmx.net>
14492
14493         * vspace.[Ch]: cosmetical changes
14494
14495 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14496
14497         * LyXAction.h:
14498         * LyXAction.C:
14499         * lyxfunc.h:
14500         * lyxfunc.C:
14501         * kbmap.h:
14502         * kbmap.C:
14503         * lyxrc.C:
14504         * kbsequence.h:
14505         * kbsequence.C: part re-write of old kb code
14506
14507         * Painter.C:
14508         * WorkArea.C: remove Lgb_bug_find_hack
14509
14510 2001-11-30  José Matos <jamatos@fep.up.pt>
14511
14512         * buffer.C (makeDocBookFile): add a comment to point a hack.
14513         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14514         Fixed a double write of labels.
14515
14516 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14517
14518         * LaTeX.C:
14519         * LaTeX.h Fixed bug in LaTeX class where it would not
14520         re-run latex if no depfiles were changed, but the .dvi was removed.
14521
14522 2001-11-28  André Pönitz <poenitz@gmx.net>
14523
14524         * all the files from the change on 2001/11/26:
14525         use lyx::layout_type instead of LyXTextClass::size_type
14526         use lyx::textclass_type instead of LyXTextClassList::size_type
14527
14528 2001-11-29  Juergen Vigna  <jug@sad.it>
14529
14530         * text.C: added support for paragraph::isFreeSpacing()
14531
14532         * buffer.C: same as above
14533
14534         * paragraph.h: inserted isFreeSpacing() function to enable
14535         FreeSpacing inside InsetERT.
14536
14537         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14538         of the paragraph's in the cut/copy buffer to 0!
14539
14540         * text2.C (removeRow): remove the assert as it can!
14541
14542         * lyxtext.h: added helper function firstRow returning firstrow and
14543         made firstrow private again.
14544
14545         * BufferView2.C (lockInset): don't relock if we're already locked!
14546
14547         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14548         the only paragraph.
14549         (removeRow): added Assert::(firstrow)
14550
14551         * debug.C: forgot to add INSETTEXT here.
14552
14553 2001-11-28  Juergen Vigna  <jug@sad.it>
14554
14555         * sp_spell.C (initialize): changed error text to more general
14556         spellchecker command use (not only ispell!)
14557
14558         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14559
14560         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14561
14562 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14563
14564         * vspace.C: initialise lyxgluelength on failure
14565
14566 2001-11-28  Allan Rae  <rae@lyx.org>
14567
14568         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14569         declaration & definition that looks like a function declaration.
14570
14571 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14572
14573         * BufferView2.C (copy):
14574         (copyEnvironment): do not clear the selection when doing a copy.
14575
14576         * text.C (paintFirstRow): compilation fix
14577
14578 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14579
14580         * tabular.C (Latex): correct line count when writing latex.
14581
14582 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14583
14584         * paragraph_pimpl.h:
14585         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14586           bug a bit
14587
14588 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14589
14590         * text.C:
14591         * LColor.h:
14592         * LColor.C: change vfillline->added_space
14593
14594         * text.C: add markers and text for added space
14595
14596         * vspace.C: fix comment
14597
14598 2001-11-28  André Pönitz <poenitz@gmx.net>
14599
14600         * paragraph.C: whitespace changes
14601         * all the other files from the change on 2001/11/26:
14602         change *::pos_type into lyx::pos_type
14603
14604 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14605
14606         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14607         language of the document when inserting error insets.
14608
14609 2001-11-26  André Pönitz <poenitz@gmx.net>
14610
14611         * BufferView_pimpl.[Ch]:
14612         *       CutAndPaste.C:
14613         * buffer.[Ch]:
14614         * lyxcursor.[Ch]:
14615         * lyxfind.C:
14616         * lyxfunc.C:
14617         * lyxrow.[Ch]:
14618         * paragraph.[Ch]:
14619         * paragraph_pimpl.[Ch]:
14620         * sp_spell.C:
14621         * text.C:
14622         * text2.C: reduce header dependencies, introduce type for positions
14623
14624 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14625
14626         * <various>: change to use Alert.h
14627
14628 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14629
14630         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14631         when encountering an unknown token.
14632         (readLyXformat2): Show an error message if there were unknown tokens.
14633
14634 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14635
14636         * BufferView2.C:
14637         * BufferView_pimpl.C:
14638         * buffer.C:
14639         * paragraph.h:
14640         * text.C:
14641         * text2.C: use par->isInset()
14642
14643 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14644
14645         * paragraph_pimpl.h:
14646         * paragraph_pimpl.C: cleanup
14647
14648 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14649
14650         * text2.C (removeRow):
14651         * text.C (setHeightOfRow): remove useless (and costly) call to
14652         getRow.
14653
14654 2001-11-20  Allan Rae  <rae@lyx.org>
14655
14656         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14657         Now need Inset*::checkInsertChar() to return true for appropriate
14658         cases so that the characters in the minibuffer will actually be
14659         inserted.
14660
14661 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14662
14663         * text.C: change the order of the includes.
14664         (workWidth): initialize it at once.
14665         (workWidth): make maxw unsigned
14666         (setHeightOfRow): remove unused variable (inset)
14667         (selectSelectedWord): remove unused variable (inset)
14668         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14669
14670 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14671
14672         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14673         server is not running.
14674         (openConnection):
14675         (closeConnection): add debug info when server is disabled.
14676
14677         * ColorHandler.C (getGCForeground): send debug message to GUI
14678         channel.
14679
14680         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14681
14682         * kbmap.C (bind): modify because return conventions of
14683         kb_sequence::parse have changed.
14684
14685         * kbsequence.C (parse): only ignore spaces and not any stupid
14686         control character. This avoids tests like s[i] <= ' ', which are
14687         guaranteed to fail with 8bit characters and signed chars.
14688         Change return code to string::npos when there have been no error
14689         (0 was a bad idea when error is at first character)
14690
14691 2001-11-14  José Matos  <jamatos@fep.up.pt>
14692
14693         * buffer.h:
14694         * buffer.C (simpleDocBookOnePar): removed unused argument.
14695
14696 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14697
14698         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14699         insets which are part of a word. Paragraph::isLetter takes care of
14700         that now. Use Paragraph::isInset to identify insets.
14701         (selectSelectedWord): do not test for hyphenation break.
14702
14703         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14704         that protected spaces are considered as spaces.
14705
14706         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14707         Inset::isLetter.
14708
14709 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14710
14711         * lyxserver.h:
14712         * lyxserver.C: fix it. and small cleanup.
14713
14714 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14715
14716         * BufferView_pimpl.C: use inline helpers
14717
14718         * LaTeXFeatures.h:
14719         * LaTeXFeatures.C: fix typos
14720
14721         * Spacing.h:
14722         * Spacing.C: move spacing_string into class
14723
14724         * ToolbarDefaults.C: move stuff into namespace anon
14725
14726         * layout.h: update enum
14727
14728         * lyxfunc.C: use better debug
14729
14730         * minibuffer.h: fix typo
14731
14732         * debug.h:
14733         * debug.C:
14734         * WorkArea.C: add and use Debug::WORKAREA
14735
14736         * lyxtext.h:
14737         * text.C:
14738         * text2.C: code re-organisation, inline helpers
14739
14740 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14741
14742         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14743         std::vector.empty().
14744
14745 2001-11-09  Allan Rae  <rae@lyx.org>
14746
14747         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14748         '\n's after tables.  Tabular and ERT inset work now makes this no
14749         longer necessary.
14750
14751 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14752
14753         * minibuffer.h:
14754         * minibuffer.C: fix crash, improve drop-down completion
14755
14756 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14757
14758         * lyxserver.h:
14759         * lyxserver.C: invalidate fd's when doing endPipe()
14760
14761 2001-11-08  José Matos  <jamatos@fep.up.pt>
14762
14763         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14764         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14765
14766         * paragraph.h:
14767         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14768
14769 2001-11-07  José Matos  <jamatos@fep.up.pt>
14770
14771         * buffer.h:
14772         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14773         const qualifier.
14774
14775         * buffer.C (sgmlOpenTag):
14776         * buffer.C (sgmlCloseTag): removed debug info.
14777
14778         * buffer.h (sgmlOpenTag):
14779         * buffer.h (sgmlCloseTag): made public.
14780
14781 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14782
14783         * buffer.C (saveParamsAsDefaults):
14784         * lyx_cb.C (MenuLayoutSave): remove
14785
14786         * LyXAction.C (init):
14787         * commandtags.h:
14788         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14789
14790 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14791
14792         * buffer.C (setPaperStuff): removed from here...
14793
14794         * bufferparams.C (setPaperStuff): ... and moved there.
14795
14796 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14797
14798         * minibuffer.h:
14799         * minibuffer.C:
14800         * XFormsView.C: add support for drop-down completion
14801
14802 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14803
14804         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14805         commands.
14806
14807 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14808
14809         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14810         disabled.
14811
14812 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14813
14814         * lyx_main.C: change ref to known bugs
14815
14816 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14817
14818         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14819         to work around older babel problems.
14820
14821 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14822
14823         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14824
14825 2001-10-24  Juergen Vigna  <jug@sad.it>
14826
14827         * tabular-old.C (ReadOld): below variable changes reflected.
14828
14829         * tabular.[Ch]: added ltType struct for longtable header/footer
14830         defines and changed all instances where they are used. Added
14831         future support for double top/bottom rows.
14832
14833 2001-10-24  José Matos  <jamatos@fep.up.pt>
14834
14835         * buffer.h (docbookHandleCaption):
14836         * buffer.C (docbookHandleCaption): removed unused function.
14837         (makeDocBookFile): moved docbook supported version to v4.1.
14838
14839 2001-10-24  José Matos  <jamatos@fep.up.pt>
14840
14841         * tabular.h:
14842         * tabular.C (docbookRow): new function to export docbook code of a row.
14843         (DocBook): now honors the longtable flags.
14844
14845 2001-10-23  José Matos  <jamatos@fep.up.pt>
14846
14847         * LaTeXFeatures.h:
14848         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14849         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14850
14851         * buffer.C (makeLinuxDocFile):
14852         (makeDocBookFile): reworked the preamble, more clean, and with
14853         support for lyx defined entities. Changed the document declaration
14854         to be more XML friendly.
14855
14856         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14857         if we need to output XML that should be done with a filter.
14858
14859 2001-10-22  Juergen Vigna  <jug@sad.it>
14860
14861         * sp_pspell.h (class PSpell): add alive function needed in the
14862         controller to see if the spellchecker could be started.
14863
14864 2001-10-22  Juergen Vigna  <jug@sad.it>
14865
14866         * buffer.C (insertStringAsLines): modify the font for inserting
14867         chars in certain conditions by calling checkInsertChar(font).
14868
14869 2001-10-19  Juergen Vigna  <jug@sad.it>
14870
14871         * text.C (workWidth): use getRow instead of wrong algorithm.
14872         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14873
14874 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14875
14876         * lyxserver.h:
14877         * lyxserver.C:
14878         * lyx_main.h:
14879         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14880
14881 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14882
14883         * text.C (workWidth): do not search for the exact row when
14884         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14885         optimization for big documents.
14886
14887 2001-10-18  Juergen Vigna  <jug@sad.it>
14888
14889         * text.C (workWidth): new function with added Inset * parameter.
14890
14891 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14892
14893         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14894
14895         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14896         change return type of getColumnNearX.
14897
14898
14899         * text.C (changeRegionCase): use uppercase/lowercase instead of
14900         toupper/tolower.
14901         (leftMargin):
14902         (rightMargin): simplify code by factoring out the uses of
14903         textclasslist.
14904         (labelFill):
14905         (numberOfHfills):
14906         (setHeightOfRow):
14907         (appendParagraph): use Paragraph::size_type
14908
14909 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14910
14911         * vspace.C (asLatexString): add a missing break
14912
14913 2001-10-15  Herbert Voss  <voss@perce.de>
14914
14915         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14916
14917 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14918
14919         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14920         is not available.
14921
14922 2001-10-10  André Pönitz <poenitz@gmx.net>
14923
14924         * lyxfunc.C: removed greek_kb_flag.
14925
14926 2001-10-10  Herbert Voss  <voss@perce.de>
14927
14928         * lyx_main.C: delete global string help_lyxdir.
14929
14930 2001-10-09  Herbert Voss  <voss@perce.de>
14931
14932         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14933
14934         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14935
14936         * lyx_main.C: added global string help_lyxdir.
14937
14938         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14939
14940 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14941
14942         * lyxrc.C (set_font_norm_type): support iso8859-4
14943
14944 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14945
14946         * LaTeX.C (deplog): add another regex for MikTeX
14947
14948 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14949
14950         * lyxrc.C (set_font_norm_type): support iso8859-3
14951
14952 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14953
14954         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14955
14956         * LaTeXFeatures.C: remove special case of french and index
14957
14958         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14959         before \begin{document}). This solves several incompatibilities.
14960
14961 2001-10-03  Garst Reese  <reese@isn.net>
14962
14963         * lyx_cb.C: change CheckTex error msg.
14964
14965 2001-10-03  José Matos  <jamatos@fep.up.pt>
14966
14967         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14968
14969 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14970
14971         * .cvsignore: update
14972
14973         * lyx_main.C (commandLineVersionInfo): use new style version info.
14974
14975         * buffer.C (writeFile):
14976         (makeLaTeXFile):
14977         (makeLinuxDocFile):
14978         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14979
14980         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14981
14982         * version.h: update to use stuff in version.C
14983
14984         * version.C.in: new file. Contains version information determined
14985         at compile time. This is a merging of version.h and
14986         version_info.h.in.
14987
14988 2001-10-03  Juergen Vigna  <jug@sad.it>
14989
14990         * BufferView_pimpl.C (update): don't change "dirty" status in
14991         updateInset call.
14992
14993 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14994
14995         * WorkArea.C (c-tor): re-position version string slightly.
14996
14997 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14998
14999         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15000         revert to previous code.
15001
15002         WorkArea.[Ch]: (show, destroySplash): methods removed.
15003
15004         WorkArea.C: rework code so that it's an amalgam of the codes before and
15005         after the splash screen was moved to WorkArea.
15006
15007 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15008
15009         * lyxrc.C (read):
15010         * vspace.C (inPixels):
15011         (lyx_advance):
15012         * kbmap.C (bind):
15013         * buffer.C (insertStringAsLines):
15014         (asciiParagraph): fix types to be large enough
15015
15016         * lyxlex_pimpl.h: change member status from short to int
15017
15018         * layout.h: fix type of endlabeltype
15019
15020         * kbmap.C (bind):
15021         * kbsequence.C (parse): change return type to string::size_type
15022
15023         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15024         variable
15025
15026         * Bullet.C (bulletSize):
15027         (bulletEntry): do not use short ints as parameters
15028
15029         * BufferView2.C (insertLyXFile): change a char to an int.
15030
15031         * WorkArea.C (WorkArea): remove unneeded floats in computation
15032
15033 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15034
15035         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15036
15037         * paragraph.C (asString): Do not ignore newline/hfill chars when
15038         copying to the clipboard.
15039
15040 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15041
15042         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15043         after a multi-line inset.
15044
15045 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15046
15047         * paragraph.C (validate): Set NeedLyXFootnoteCode
15048
15049 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15050
15051         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15052         and decrease-error to decrease.
15053
15054 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15055
15056         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15057         it more readable (should be equivalent)
15058
15059 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15060
15061         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15062
15063 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15064
15065         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15066         of a cursor (row, etc.) after a character has been deleted
15067         (deleteEmptyParagraphMechanism): call the method above on _all_
15068         cursors held by the LyXText when a double space has been
15069         detected/deleted.
15070
15071 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15072
15073         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15074         pixmap.
15075         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15076
15077         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15078         background. Use greyOut() and the new show() methods to toggle between
15079         the foreground and background. Add code to remove the splash after
15080         its initial showing.
15081
15082         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15083         (create_forms): no longer call Dialogs::showSplash.
15084
15085 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15086
15087         * .cvsignore: add version_info.h
15088
15089 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15090
15091         * version_info.h.in: new file
15092
15093         * Makefile.am: add version_info.h.in
15094
15095         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15096         version_info.h instead of VERSION_INFO
15097
15098 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15099
15100         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15101         The ERT inset now returns string().
15102
15103 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15104
15105         * lyxtext.h, text.C (selectNextWord): renamed as
15106         selectNextWordToSpellcheck.
15107
15108         * text.C (selectNextWordToSpellcheck): Modified to not select
15109         words inside an ERT inset.
15110
15111 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15112
15113         * lyx_cb.C (MenuLayoutSave): change a bit the question
15114
15115         * sp_base.h: include <sys/types.h>
15116
15117 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15118
15119         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15120
15121 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15122
15123         * several files: fix typos in user-visible strings
15124
15125 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15126
15127         * text2.C (pasteSelection): do not set the selection, since it
15128         will be cleared later. Actually, the intent was to fix the way the
15129         selection was set, but I figured rmoving the code was just as good.
15130
15131 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15132
15133         * FontLoader.C (available): Check if font is available without
15134         loading the font.
15135
15136 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15137
15138         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15139
15140 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15141
15142         * lyxrc.[Ch]: added display_graphics variable and associated code.
15143
15144 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15145
15146         * bufferparams.C (hasClassDefaults): new method. Returns true if
15147         the buffer parameters correspond to known class defaults
15148
15149 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15150
15151         * XFormsView.C (show): set minimum size to the main window.
15152
15153 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15154
15155         * text2.C (copySelection):
15156         (cutSelection):
15157         * lyxfind.C (LyXReplace):
15158         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15159         LyXText::selectionAsString.
15160
15161         * paragraph.C (asString): add "label" argument to the second form
15162
15163         * text2.C (selectionAsString): add "label" argument and pass it to
15164         Paragraph::asString.
15165
15166 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15167
15168         * lyx_main.C (commandLineHelp): remove version information
15169
15170 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15171
15172         * lyx_main.C: add -version commandline option
15173
15174 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15175
15176         * paragraph.h: make the optional constructor arg required instead.
15177         some modifications to other files because of this.
15178
15179         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15180
15181         * lyxserver.C (C_LyXComm_callback): make it static
15182
15183         * lyx_main.C (error_handler): make it static
15184
15185         * lyx_gui.C (LyX_XErrHandler): make it static
15186
15187         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15188
15189         * WorkArea.C: make the extern "C" methods static.
15190
15191         * Makefile.am (lyx_LDADD): simplify
15192
15193 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15194
15195         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15196         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15197
15198         * LyXAction.C (init):
15199         * lyxfunc.C (dispatch): associated code removal.
15200
15201 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15202
15203         * lyxfont.h (isSymbolFont): shut off warning
15204
15205         * text.C (setHeightOfRow):
15206         (getVisibleRow): fix crash with empty paragraphs which have a
15207         bottom line
15208
15209 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15210
15211         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15212         code.
15213
15214 2001-09-04  José Matos  <jamatos@fep.up.pt>
15215         * buffer.C
15216         * buffer.h
15217         * tabular.C (docbook): rename docBook method to docbook.
15218
15219 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15220
15221         * Makefile.am: add dependencies to main.o.
15222
15223 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15224
15225         * FontLoader.C (available): Return false if !lyxrc.use_gui
15226
15227 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15228
15229         * FontInfo.C (query):
15230         * converter.C (view):
15231         * importer.C (Import):
15232         * exporter.C (Export): Can not -> cannot.
15233
15234 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15235
15236         * BufferView_pimpl.C: allow to create index inset even if
15237           string is empty
15238
15239 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15240
15241         * buffer.C (getLists): replace boost::tie code with an explicit pair
15242         as boost::tie can break some compilers.
15243
15244         * iterators.h: Added a std:: declaration to the return type of
15245         ParIterator::size.
15246
15247 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15248
15249         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15250           case.
15251
15252 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15253
15254         * iterators.[Ch]: New files. Provide paragraph iterators.
15255
15256         * buffer.C (changeLanguage): Use paragraph iterators.
15257         (isMultiLingual): ditto
15258
15259         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15260
15261 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15262
15263         * FontLoader.C: Support for cmr font.
15264
15265 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15266
15267         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15268         (available): New method.
15269
15270         * FontInfo.C (getFontname): Use scalable fonts even when
15271         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15272         found.
15273
15274 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15275
15276         * converter.C (Formats::view): reverted! Incorrect fix.
15277
15278 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15279
15280         * converter.C (Formats::view): only output the -paper option
15281         if the dvi viewer is xdvi, thereby fixing bug #233429.
15282
15283 2001-08-23  Herbert Voss  <voss@perce>
15284
15285         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15286
15287 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15288
15289         * Spacing.h (Spacing): Set space to Default on in the default
15290         constructor.
15291
15292 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15293
15294         * vc-backend.h (RCS::versionString): add RCS to version
15295         (CVS::versionString): add CVS to version
15296
15297         * vc-backend.C (scanMaster): do not add CVS to version.
15298         (scanMaster): do not add RCS to version
15299
15300         * lyxvc.C (versionString): new method
15301
15302         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15303
15304 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15305
15306         * Spacing.C (set): initialize fval
15307
15308 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15309
15310         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15311         " or \.
15312
15313 2001-08-16  Juergen Vigna  <jug@sad.it>
15314
15315         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15316
15317 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15318
15319         * BufferView_pimpl.C:
15320         * figureForm.C:
15321         * lyxtext.h:
15322         * text2.C: setParagraph takes linespacing now
15323
15324 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15325
15326         * LyxAction.C: add internal LFUN_CITATION_INSERT
15327
15328         * LyXView.C: actually apply fix
15329
15330         * bufferlist.C: fix open non-existent file
15331
15332         * lyxfind.C: fix indentation
15333
15334         * lyxfunc.C: remove unneeded assert, fix typo
15335
15336 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15337
15338         * MenuBackend.C: use "Floatname List"
15339
15340 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15341
15342         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15343         when converting LaTeX layout to insetERT.
15344         Generate a non-collapsed float when reading old float
15345
15346 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15347
15348         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15349         ERT insets.
15350
15351 2001-08-13  Juergen Vigna  <jug@sad.it>
15352
15353         * text.C (fill): return 0 instead of 20 as this seems to be the more
15354         correct value.
15355
15356 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15357
15358         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15359         lyxrc.font_norm.
15360
15361 2001-08-13  Juergen Vigna  <jug@sad.it>
15362
15363         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15364         casesensitive off.
15365         (SearchBackward): comment out the unlocking of the inset_owner this
15366         should not be needed!
15367
15368 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15369
15370         * Many files: Remove inherit_language, and add latex_language
15371
15372         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15373         collapsible insets.
15374
15375 2001-08-10  Juergen Vigna  <jug@sad.it>
15376
15377         * text.C (prepareToPrint): fixed hfill-width in draw!
15378
15379         * BufferView2.C (selectLastWord): save the selection cursor as this
15380         now is cleared in the function LyXText::clearSelection!
15381
15382 2001-08-08  Juergen Vigna  <jug@sad.it>
15383
15384         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15385         BACKSPACE type functions.
15386
15387         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15388         is only cutted from the document but not put in the cut-buffer, where
15389         still the old stuff should be.
15390
15391         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15392
15393         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15394
15395         * tabular.C (SetWidthOfCell): fixed special case where the width
15396         was not updated!
15397         (LeftLine): handle '|' in align_special.
15398         (RightLine): ditto
15399         (LeftAlreadyDrawed): ditto
15400         (SetWidthOfCell): ditto
15401
15402 2001-08-07  Juergen Vigna  <jug@sad.it>
15403
15404         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15405
15406 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15407
15408         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15409         * lyxlex.[hC]: ditto
15410
15411 2001-08-06  Juergen Vigna  <jug@sad.it>
15412
15413         * text.C (getVisibleRow): fix up row clearing a bit.
15414
15415 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15416
15417         * minibuffer.C: make sure the X server sees the changes in the input.
15418
15419 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15420
15421         * paragraph.C (getFont): split into...
15422         (getLabelFont): this
15423         (getLayoutFont): and this
15424         * paragraph_pimpl.C (realizeFont): calling this
15425
15426         * text2.C (getFont): split into...
15427         (getLayoutFont): this
15428         (getLabelFont): and this
15429         (realizeFont): all three calling this
15430
15431         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15432         files where used.
15433
15434 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15435
15436         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15437
15438 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15439
15440         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15441         layouts from the Quote inset insertion.
15442
15443 2001-08-03  Juergen Vigna  <jug@sad.it>
15444
15445         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15446
15447         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15448         only if status not is already CHANGED_IN_DRAW (second level).
15449
15450         * text.C (draw): don't set the need_break_row when inside an
15451         InsetText LyXText.
15452
15453 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15454
15455         * buffer.C (parseSingleLyXformat2Token): handle more latex
15456         conversion cases.
15457
15458         * bufferview_funcs.[hC]: change function names to
15459         begin with small char, adjust other files.
15460
15461 2001-08-02  André Pönitz <poenitz@gmx.net>
15462
15463         * lyxfunc.C:
15464         BufferView_pimpl.C: remove broken special code for math-greek
15465
15466 2001-08-02  Juergen Vigna  <jug@sad.it>
15467
15468         * BufferView_pimpl.C (update): redone this function so that we
15469         update the text again if there was a CHANGE_IN_DRAW.
15470
15471         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15472         (drawFromTo): added a new internal bool which is used by draw() and
15473         redraw() function.
15474         (general): some cursor drawing problems fixed.
15475
15476 2001-08-01  Juergen Vigna  <jug@sad.it>
15477
15478         * lyxfind.C (LyXFind): fixed
15479         (SearchForward): ditto
15480         (SearchBackward): ditto
15481
15482         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15483         spurius drawing of the cursor in the main area.
15484
15485         * text2.C (status): small fix which could lead to a segfault!
15486         (clearSelection): remove unneeded BufferView param.
15487
15488 2001-08-01  André Pönitz <poenitz@gmx.net>
15489
15490         * lyxfunc.C: small change due to changed mathed interface
15491
15492 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15493
15494         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15495
15496 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15497
15498         * lyxfunc.c: fail gracefully if file doesn't exist
15499
15500         * LyXSendto.C:
15501         * buffer.C:
15502         * lyxfunc.C:
15503         * BufferView_pimpl.C: IsDirWriteable() proto changed
15504
15505         * LyXView.C: fix updateWindowTitle() to store the last title
15506
15507 2001-07-31  Juergen Vigna  <jug@sad.it>
15508
15509         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15510         the font (wrong since using of Paragraph::highestFontInRange).
15511
15512         * paragraph.C (highestFontInRange): added a default_size parameter.
15513
15514         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15515         (setHeightOfRow): reformat
15516
15517 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15518
15519         * converter.[hC] + affected files: move to (inital-char)lowercase
15520         function names.
15521
15522         * ParagraphParameters.C (ParagraphParameters): remove commented code
15523
15524         * PainterBase.[Ch]: remove commented code
15525
15526         * LaTeXFeatures.h: add "bool floats" for float.sty
15527
15528         * LaTeXFeatures.C (LaTeXFeatures): init floats
15529         (require): handle float
15530         (getPackages): do it with floats
15531
15532 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15533
15534         * BufferView_pimpl.C (Dispatch): improve handling of
15535         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15536
15537         * commandtags.h: #include lyxfont.h here temporarily to avoid
15538         keybinding bug.
15539
15540         * bufferlist.h: include LString.h here.
15541
15542 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15543
15544         * text2.C (getStringToIndex): new method.
15545
15546 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15547
15548         * *: Reduced header file dependencies all over.
15549
15550 2001-07-30  Baruch Even  <baruch@lyx.org>
15551
15552         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15553
15554 2001-07-29  Baruch Even  <baruch@lyx.org>
15555
15556         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15557
15558 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15559
15560         * ParameterStruct.h (endif): add a default constructor to make
15561         sure that all variables is initialized.
15562
15563         * ParagraphParameters.C (ParagraphParameters): adjust
15564
15565 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15566
15567         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15568         index; also, check that there is something to index, and that it
15569         does not span over several paragraphs.
15570         (doubleClick): use WHOLE_WORD_STRICT for double click.
15571
15572         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15573
15574         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15575         scheme.
15576
15577 2001-07-26  Baruch Even  <baruch@lyx.org>
15578
15579         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15580         an InsetFig figure, backwards compatible reading of old figure code.
15581
15582 2001-07-27  Juergen Vigna  <jug@sad.it>
15583
15584         * text2.C: font.realize function adaption.
15585
15586         * text.C (draw): add a warnings lyxerr text if needed.
15587
15588         * layout.C: font.realize function adaption.
15589
15590         * language.C: add inherit_language and implement it's handlings
15591
15592         * bufferview_funcs.C (StyleReset): remove language parameter from
15593         font creation (should be language_inherit now).
15594
15595         * bufferparams.C (writeFile): handle ignore_language.
15596
15597         * paragraph.C (getFontSettings): the language has to be resolved
15598         otherwise we have problems in LyXFont!
15599
15600         * lyxfont.C (lyxWriteChanges): added document_language parameter
15601         (update): removed unneeded language parameter
15602
15603         * paragraph.C (validate): fixed wrong output of color-package when
15604         using interface colors for certain fonts in certain environments,
15605         which should not seen as that on the final output.
15606
15607 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15608
15609         * BufferView_pimpl.C:
15610         * Thesaurus.h:
15611         * Thesaurus.C:
15612         * Makefile.am:
15613         * commandtags.h:
15614         * LyXAction.C: add thesaurus support
15615
15616         * lyxfind.h:
15617         * lyxfind.C: add "once" parameter, for thesaurus, to not
15618           move to the next match
15619
15620 2001-07-26  Juergen Vigna  <jug@sad.it>
15621
15622         * lyxfont.C (realize): honor ignore_language too!
15623         (resolved): ditto.
15624
15625         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15626
15627         * text.C (draw): one place more for ignore_language to not draw
15628         itself!
15629
15630 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15631
15632         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15633
15634 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15635
15636         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15637         the minipage conversion problem.
15638
15639 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15640
15641         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15642         insert an inset.
15643
15644 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15645
15646         * BufferView.h: don't forward declare WorkArea
15647
15648         * BufferView.C: don't include WorkArea.h
15649
15650 2001-07-25  André Pönitz <poenitz@gmx.net>
15651
15652         * commandtags.h:
15653         * LyXAction.C:
15654         * lyxfunc.C:  new LFUN 'math-space'
15655
15656         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15657
15658 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15659
15660         * text2.C (toggleInset): call open/close
15661
15662 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15663
15664         * lyxfunc.C (dispatch): add debug for the disabled case
15665
15666         * font.C (buttonText): make similar to rectText
15667
15668         * buffer.C (readInset): comment out parsing of insetlist and
15669         insttheorem
15670
15671         * PainterBase.C (rectText): small correction
15672
15673         * BufferView_pimpl.C: comment out insettheorem and insetlist
15674         * LyXAction.C: ditto
15675         * commandtags.h: ditto
15676
15677 2001-07-24  Juergen Vigna  <jug@sad.it>
15678
15679         * text.C (draw): honor the ignore_language.
15680
15681         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15682
15683 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15684
15685         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15686         char inset.
15687
15688 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15689
15690         * lyxtext.h: remove unused (and unimplemented) methods
15691
15692 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15693
15694         * text.C (getVisibleRow): honor background color
15695
15696         * PainterBase.h:
15697         * Painter.h: remove default color argument for fillRectangle
15698
15699         * text.C (backgroundColor): new method
15700
15701 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15702
15703         * text.C (getVisibleRow): adjust
15704
15705         * font.[Ch] (rectText): new method, metrics
15706         (buttonText): new method, metrics
15707
15708         * PainterBase.[hC]: make rectText and buttonText always draw and take
15709         fewer paramteres.
15710
15711 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15712
15713         * ToolbarDefaults.C (read):
15714         * MenuBackend.C (read): allow escaping in all strings
15715
15716         * BufferView_pimpl.C (insertAndEditInset): new method.
15717         (Dispatch): use insertAndEditInset whenever appropriate.
15718
15719         * BufferView_pimpl.C (insertNote): removed
15720
15721         * BufferView_pimpl.C (smartQuote): new method, moved from
15722         BufferView; if an insetquote cannot be inserted, insert a '"'
15723         character instead.
15724
15725         * BufferView2.C: remove insertCorrectQuote();
15726
15727         * lyxfunc.C (getStatus): Add support for all remaingin
15728         inset-insert lfuns.
15729
15730         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15731
15732         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15733         command (necessary to pass " as parameter of self-insert.
15734
15735         * text.C (selectWordWhenUnderCursor):
15736         (selectWord): add word_location parameter
15737         (selectWordWhenUnderCursor): same + remove special code for word
15738         boundary.
15739         (selectNextWord): use kind() to guess type of insetspecialchar,
15740         not latex().
15741
15742         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15743         (insertErtContents): create ert insets as collapsed.
15744         (readInset): better compatibility code for Info inset.
15745
15746 2001-07-20  Juergen Vigna  <jug@sad.it>
15747
15748         * lyxfunc.C (dispatch): use always LyXFind now!
15749
15750         * text2.C (init): add a reinit flag so that the LyXText can be
15751         reinited instead of deleted and reallocated (used in InsetText).
15752
15753         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15754
15755         * text.C: ditto
15756
15757         * text2.C: ditto
15758
15759 2001-07-18  Juergen Vigna  <jug@sad.it>
15760
15761         * text.C (selectNextWord): handle insets inside inset by calling
15762         always the bv->text functions so that we can go up the_locking_inset!
15763
15764         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15765         in strange locations when inside an inset!
15766
15767         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15768         handling to include insets.
15769
15770         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15771
15772 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15773
15774         * LyXAction.C (init):
15775         * commandtags.h:
15776         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15777         LIGATURE_BREAK, since the name is so stupid.
15778
15779 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15780
15781         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15782         InsetInfos.
15783
15784         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15785
15786         * sp_form.[Ch]: remove.
15787
15788         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15789
15790         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15791         InsetInfo.
15792
15793         * src/buffer.C (readInset): ditto.
15794
15795 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15796
15797         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15798         menuSeparator(), endOfSentenceDot(), ldots() and
15799         hyphenationPoint(), which are therefore removed.
15800         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15801
15802         * LyXAction.C (init):
15803         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15804
15805         * paragraph.C (getWord): removed.
15806
15807         * BufferView_pimpl.C (Dispatch): use last word or selection for
15808         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15809
15810         * lyx_main.C (queryUserLyXDir): do not ask before creating
15811         user_dir, except if it has been named explicitely.
15812
15813 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15814
15815         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15816         a document of zero size.
15817
15818 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15819
15820         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15821         approriately in the c-tor and in require().
15822         (getPackages): output the appropriate LaTeX for natbib support.
15823
15824         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15825         variables "use_natbib" and "use_numerical_citations" when reading the
15826         LyX file.
15827         (readInset): read the various natbib cite commands.
15828         (validate): white-space change.
15829
15830         * bufferparams.[Ch]: new variables "bool use_natbib" and
15831         "bool use_numerical_citations".
15832         (writeFile): output them in the LyX file.
15833
15834 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15835
15836         * lyxfunc.C (getStatus): add support for all the inset insertion
15837         commands.
15838
15839         * text2.C (insertInset):
15840         * paragraph.C (insetAllowed):
15841         * BufferView_pimpl.C (insertInset): update to take in account the
15842         renaming of insertInsetAllowed
15843
15844         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15845
15846         * text2.C (getInset): new method. returns inset at cursor position.
15847
15848         * BufferView_pimpl.C (Dispatch): changes because of this.
15849
15850         * LyXAction.C (init): rename open-stuff to inset-toggle.
15851
15852         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15853
15854         * text2.C (toggleInset): renamed from openStuff; use
15855         Inset::open().
15856
15857 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15858
15859         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15860
15861         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15862
15863 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15864
15865         * buffer.C (readLyXformat2): Add filename to the error dialog
15866
15867 2001-07-18  Juergen Vigna  <jug@sad.it>
15868
15869         * tabular.C (GetCellNumber): put an assert here instead of the check!
15870
15871 2001-07-17  Juergen Vigna  <jug@sad.it>
15872
15873         * BufferView_pimpl.C (toggleSelection): adapted too.
15874
15875         * text.C (selectNextWord): adapted for use with insets.
15876         (selectSelectedWord): ditto
15877
15878 2001-07-17  Juergen Vigna  <jug@sad.it>
15879
15880         * sp_spell.C (PSpell): fix initialitation order.
15881
15882 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15883
15884         * paragraph.C: spacing
15885
15886 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15887
15888         * sp_spell.C: repair language selection for pspell
15889
15890 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15891
15892         * lyxfunc.h: change more methods to begin with lower char.
15893
15894 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15895
15896         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15897         for unknown layouts.
15898
15899 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15900
15901         * buffer.C (readLyXformat2): Generate an error dialog if there are
15902         unknown layouts.
15903
15904 2001-07-16  Juergen Vigna  <jug@sad.it>
15905
15906         * sp_spell.C: always compile ISpell part.
15907
15908         * lyxrc.C: added use_pspell entry and it's handling.
15909
15910 2001-07-13  Juergen Vigna  <jug@sad.it>
15911
15912         * sp_spell.C: removed double includes.
15913
15914 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15915
15916         Consistent use of Lsstream.h:
15917         * Lsstream.h: added using std::stringstream for consistencies sake.
15918
15919         * buffer.C: removed using std::stringstream
15920
15921         * lyxfont.C (stateText):
15922         * paragraph.C (asString):
15923         * text.C (selectNextWord, selectSelectedWord):
15924         * text2.C (setCounter):
15925         * vspace.C (asString, asLatexString):
15926         std::ostringstream -> ostringstream.
15927
15928 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15929
15930         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15931         * commandtags.h: add LFUN_HELP_ABOUTLYX
15932         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15933
15934 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15935
15936         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15937         cursorToggle()
15938         * lyx_gui_misc.C: remove spellchecker
15939         * lyxfunc.C: showSpellchecker
15940         * sp_base.h: added
15941         * sp_ispell.h: added
15942         * sp_pspell.h: added
15943         * sp_spell.C: added
15944         * sp_form.[Ch]: removed
15945         * spellchecker.[Ch]: removed
15946
15947 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15948
15949         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15950         is set.
15951         (simpleTeXSpecialChars): Simply print the input character without
15952         any special translation if pass_thru is set.
15953
15954         * layout.h: Added bool pass_thru to layout class for being able to
15955         implement pass through of a paragraph for Literate Programming.
15956
15957         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15958         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15959         * layout.C (Read): add "passthru" to list of layout tags and add
15960         code to set the pass_thru boolean when it is read.
15961
15962 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15963
15964         * trans_decl.h: remove allowed from KmodInfo
15965
15966         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15967         remove allowed code
15968         (Load): adjust
15969
15970         * paragraph_pimpl.C (erase): use boost::prior
15971
15972         * Painter.C (text): use data() instead of c_str() when length is
15973         also provided.
15974         * WorkArea.C (putClipboard): ditto
15975         * font.h (width): ditto
15976
15977         * BufferView2.C: use it-> instead of (*it). for iterators
15978         * texrow.C: ditto
15979         * paragraph_pimpl.C: ditto
15980         * paragraph.C: ditto
15981         * minibuffer.C: ditto
15982         * language.C: ditto
15983         * kbmap.C: ditto
15984         * encoding.C: ditto
15985         * counters.C: ditto
15986         * converter.C: ditto
15987         * chset.C: ditto
15988         * Variables.C: ditto
15989         * TextCache.C: ditto
15990         * MenuBackend.C: ditto
15991         * LyXAction.C: ditto
15992         * LColor.C: ditto
15993         * FloatList.C: ditto
15994         * DepTable.C: ditto
15995         * ColorHandler.C (LyXColorHandler): ditto
15996
15997 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15998
15999         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16000
16001         * text2.C (openStuff): reintroduce this method (which had been
16002         nuked in NEW_INSETS frenzy).
16003
16004         * lyxfunc.C (Dispatch): when an action has not been handled, use
16005         its name in the error message, not its number.
16006
16007         * paragraph.C (inInset): change method name to begin with lowercase.
16008
16009         * undo_funcs.C:
16010         * text2.C: updates because of this.
16011
16012 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16013
16014         * ToolbarDefaults.C (add): add spaces in error message
16015
16016 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16017
16018         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16019         (readLyXformat2): rename return_par to first_par, use lyxlex's
16020         pushToken and remove the manual push handling.
16021         (parseSingleLyXformat2Token): add another ert comp. variable:
16022         in_tabular, rename return_par to first_par. handle newlines better
16023
16024 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16025
16026         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16027
16028 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16029
16030         * text2.C (getParFromID): removed
16031
16032         * buffer.C (getParFromID): new method moved form lyxtext.
16033         * BufferView2.C (insertErrors): adjust
16034         (setCursorFromRow): adjust
16035         * BufferView_pimpl.C (restorePosition): adjust
16036         * lyxfunc.C (Dispatch): adjust
16037         * undo_funcs.C (textUndo): adjust
16038         (textRedo): adjust
16039         (textHandleUndo): adjust
16040         (textHandleUndo): adjust
16041
16042 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16043
16044         * buffer.C: up' the LYX_FORMAT
16045
16046         * lyxfont.h: turn NO_LATEX on as default
16047
16048         * buffer.C (insertErtContents): new methods of tex style compability.
16049         (parseSingleLyXformat2Token): use it several places.
16050         * tabular.C (OldFormatRead): and here
16051
16052 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16053
16054         * text2.C: remove some commented code.
16055         reindent file.
16056
16057         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16058         * trans.C: changes because of the above.
16059
16060 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16061
16062         * text2.C (setCounter): Fix counters bug with bibliography layout.
16063
16064 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16065
16066         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16067         own member functions
16068         (simpleTeXSpecialChars): ditto
16069
16070 2001-07-06  Juergen Vigna  <jug@sad.it>
16071
16072         * a lot of files: changed the access to LyXText::status and the
16073         call of undo-functions.
16074
16075         * undo.[Ch]: added a inset_id to the undo informations.
16076
16077         * undo_funcs.[Ch]: added and moved here all undo functions.
16078
16079         * lyxtext.h: give the status enum a weight, made status_ a private
16080         variable and made accessor functions for it, removed the whole bunch
16081         of undo-functions as they are now in their own file, make some
16082         functions publically available. Added function ownerParagraph with
16083         int parameter.
16084
16085         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16086         made InInset() a const function, added getParFromID() function.
16087
16088         * buffer.[Ch]: added const version for inset_iterator functions,
16089         added getInsetFromID() function.
16090
16091         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16092         changed undo functions for new version.
16093
16094 2001-07-05  Juergen Vigna  <jug@sad.it>
16095
16096         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16097         unknow mechanism does not call the proper constructor but only this
16098         one also if I request the other!?
16099
16100 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16101
16102         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16103
16104         * text2.C (LyXText): use initialization lists.
16105
16106         * lyxtext.h (Selection): initialize set_ and mark_
16107         (init): remove method
16108
16109 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16110
16111         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16112
16113 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16114
16115         * screen.[Ch]: change method names to begin with lowercase
16116
16117         * BufferView_pimpl.C (updateScrollbar): simplify further and
16118         hopefully make it a bit faster.
16119
16120 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16121
16122         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16123         calling directly xforms functions.
16124
16125         * Painter.C (Painter):
16126         * lyx_cb.C (MenuWrite):
16127         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16128         fl_display.
16129
16130         * lyx_gui.C: remove bogus guiruntime extern declaration.
16131
16132 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16133
16134         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16135         in NEW_INSETS
16136         (redoDrawingOfParagraph): ditto
16137         (redoParagraphs): ditto
16138         (cutSelection): don't create a object for CutAndPaste use the
16139         static method directly
16140         (pasteSelection): ditto
16141
16142         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16143         LyXview (+ rename)
16144
16145 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16146
16147         * modifications to some other files because of this.
16148
16149         * Makefile.am (lyx_SOURCES): add XFormsView
16150
16151         * XFormsView.[Ch]: new files
16152
16153         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16154         the main window. Move the gui dependent stuff to XFormsView
16155
16156 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16157
16158         * tabular.C (GetCellInset): update cur_cell also in the row/col
16159         version of this function.
16160
16161         * lyxfunc.C: no need to include figure_form.h here.
16162
16163         * FontLoader.h:
16164         * lyxfunc.h:
16165         * lyxscreen.h:
16166         * text2.C:
16167         * lyxvc.C: no need to include forms.h here.
16168
16169 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16170
16171         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16172
16173         * lyxfunc.C (Dispatch):
16174         * Spacing.C (set):
16175         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16176         constructor argument.
16177
16178 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16179
16180         * paragraph.C (Paragraph): dont't clear, and just set layout.
16181         (makeSameLayout): use params's copy contructor.
16182
16183         * ParagraphParameters.[Ch] (makeSame): delete method
16184
16185 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16186
16187         * Variables.[Ch]: fix indentation, rename set to isSet
16188
16189 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16190
16191         * lyxfunc.C (Dispatch): fix typo
16192
16193 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16194
16195         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16196         upper_bound.
16197
16198         * bufferlist.C: include assert.h for emergencyWrite().
16199
16200 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16201
16202         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16203           give up at last (bug #425202) !
16204
16205 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16206
16207         * lyx_gui_misc.C:
16208         * sp_form.h:
16209         * sp_form.C:
16210         * spellchecker.h:
16211         * spellchecker.C: strip spellchecker options and bring up
16212           preferences tab instead
16213
16214 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16215
16216         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16217         the istringstream constructor
16218
16219 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16220
16221         * paragraph.C (getLayout): fix return value
16222
16223         * paragraph.h: do not declare getLayout as inline.
16224
16225         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16226
16227 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16228
16229         * lyxcursor.h (operator<): new func
16230         (operator>): new func
16231         (operator>=): new func
16232         (operator<=): new func
16233
16234         * text.C (changeCase): use selection.start and selection.end
16235         (changeRegionCase): require from to be <= to. Require par to be a
16236         valid paragraph.
16237
16238         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16239
16240 2001-06-27  Juergen Vigna  <jug@sad.it>
16241
16242         * text.C (cursorLeftOneWord): changed to return the cursor and added
16243         overlay with BufferView * parameter which calls this one.
16244         (getWord): added
16245         (selectWord): use new getWord function.
16246         (changeCase): renamed from changeWordCase as and extended to work
16247         also on selections.
16248
16249         * lyxtext.h: added enum word_location
16250
16251         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16252         changeCase as this operates now also on selections.
16253
16254 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16255
16256         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16257
16258         * many files: send debug output to Debug::INFO instead of
16259         Debug::ANY.
16260
16261         * converter.C (View):
16262         (Convert):
16263         (Move): send debug output to Debug::FILES instead of console.
16264
16265 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16266
16267         * lyxfunc.C (getStatus): use func_status
16268
16269         * func_status.h: new header, describing the results of
16270         LyXFunc::getStatus;
16271
16272         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16273         LFUN_MATH_HALIGN.
16274
16275 2001-06-25  The LyX Project  <jug@sad.it>
16276
16277         * buffer.C (sgmlOpenTag):
16278         (sgmlCloseTag):
16279         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16280
16281 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16282
16283         * text2.C: remove some dead code
16284
16285         * tabular.C (GetCellInset): store the last cell checked (gotten)
16286
16287         * tabular.h: add the helper for the speedup
16288
16289         * lyxtext.h: remove some dead code
16290
16291 2001-06-26  The LyX Project  <Asger>
16292
16293         * paragraph.C: Change export to LaTeX of alignment to
16294         \begin{center} and family for better roundtrip work with reLyX.
16295
16296         * Tune the math drawing a bit.
16297
16298 2001-06-25  The LyX Project  <Asger>
16299
16300         * LColor.C (LColor): New color for math background. New color
16301         for buttons.
16302
16303 2001-06-25  The LyX Project  <jug@sad.it>
16304
16305         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16306
16307         * lyxfunc.C (Open):
16308         * bufferlist.C (newFile): do not restrict to files ending with
16309         .lyx
16310
16311         * BufferView_pimpl.C (MenuInsertLyXFile):
16312
16313 2001-06-24  The LyX Project  <jug@sad.it>
16314
16315         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16316         of compare_no_case
16317
16318 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16319
16320         * lyxtext.h: rename most methods to begin with a small char.
16321         Lots of changes because of this.
16322
16323         * paragraph.C (Paragraph): do not call fitToSize
16324         (erase): call Pimpl::erase
16325         (insertChar): call Pimpl::insertChar
16326         (insertInset): call Pipl::insertInset
16327         (breakParagraph): do not call fitToSize
16328         (breakParagraphConservative): do not call fitToSize
16329         (fitToSize): remove method
16330
16331         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16332
16333 2001-06-24  The LyX Project  <Asger>
16334
16335         * Fix Qt compilation^2
16336
16337 2001-06-24  The LyX Project  <jug@sad.it>
16338
16339         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16340         depthHook(getDepth()-1).
16341
16342         * paragraph.h:
16343         * ParagraphParameters.h:
16344         * ParameterStruct.h: change type of depth to unsigned int ==
16345         depth_type. Many adaptations to other files before of that.
16346
16347 2001-06-24  The LyX Project  <Asger>
16348
16349         * Fix Qt compilation.
16350
16351 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16352
16353         * paragraph.h: renamed several methods to begin with small letter.
16354         several changes to many parts of the code because of this.
16355
16356 2001-06-23  The LyX Project  <jug@sad.it>
16357
16358         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16359         rewritten to discard all double spaces when KeepEmpty is off
16360         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16361         to only handle newlines but not fiddle with spaces and friends.
16362
16363         * lyxfunc.C (MenuNew): when doing 'new from template', use
16364         template_path as default directory
16365
16366 2001-06-23  The LyX Project  <Asger>
16367
16368         * Clean-up of header file includes all over
16369         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16370
16371 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16372
16373         * paragraph.h: renamed from lyxparagraph.h
16374
16375 2001-06-23  Asger  <lyx@violet.home.sad.it>
16376
16377         * Buffer.h: Removed Buffer::resize
16378         * BufferList.h: Removed BufferList::resize
16379         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16380         the document lazily when we change the width, or the font settings.
16381
16382 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16383
16384         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16385
16386 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16387
16388         * buffer.h: remove out of date comment
16389
16390 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16391
16392         * lyxscreen.h:
16393         * screen.C: fix "theoretical" GC leak
16394
16395 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16396
16397         * LaTeX.C (scanAuxFile):
16398         (deplog): remove trailing \r when reading stream (useful under
16399         win32)
16400
16401 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16402
16403         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16404         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16405         and BufferView::theLockingInset(Inset*), so should use them and not
16406         access bv_->text->the_locking_inset directly.
16407
16408         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16409
16410 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16411
16412         * Makefile.am:
16413         * tex-defs.h: remove old unused file
16414
16415 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16416
16417         * BufferView_pimpl.C: fix typo, remove minibuffer message
16418           when buffer has loaded
16419
16420 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16421
16422         * lyxfunc.C (Dispatch): use stringstream
16423         (MenuNew): use stringstream
16424         (Open): use stringstream
16425
16426         * importer.C (Import): use stringstream
16427
16428         * bufferview_funcs.C (CurrentState): use stringstream
16429
16430         * LaTeX.C (run): use stringstream
16431
16432         * BufferView_pimpl.C (savePosition): use stringstream
16433         (restorePosition): use stringstream
16434         (MenuInsertLyXFile): use stringstream
16435
16436 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16437
16438         * BufferView.C:
16439         * Bullet.C:
16440         * ColorHandler.C:
16441         * FontInfo.C:
16442         * FontLoader.C:
16443         * LColor.C:
16444         * LaTeXFeatures.C:
16445         * Painter.C:
16446         * gettext.C:
16447         * lyx_gui_misc.C:
16448         * lyxserver.C:
16449         * vspace.C: removed // -*- C++ -*- as first line.
16450
16451         * lyxfind.h:
16452         * version.h: added // -*- C++ -*- as first line.
16453
16454 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16455
16456         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16457
16458         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16459         of string
16460
16461 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16462
16463         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16464         of floats.
16465
16466 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16467
16468         * gettext.C: include LString.h even when --disable-nls is on.
16469
16470 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16471
16472         * converter.h (Get): changed argument type from int to
16473         FormatList::size_type to avoid unnecessary conversion.
16474
16475         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16476         before using it.
16477
16478 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16479
16480         * gettext.h: include LString.h even when --disable-nls is on.
16481
16482 2001-06-07  Juergen Vigna  <jug@sad.it>
16483
16484         * text.C (BreakAgain): subst spaces with tabs.
16485
16486         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16487         (resizeInsetsLyXText): set force on resizeLyXText.
16488
16489 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16490
16491         * gettext.h (gettext_init):
16492         (locale_init): use a real definition instead of a macro
16493
16494 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16495
16496         * Bufferview_pimpl.C:
16497         * LColor.h:
16498         * LColor.C: further lcolor tidies
16499
16500 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16501
16502         * BufferView_pimpl.C (updateScrollbar): simplify.
16503
16504         * BufferView2.C: don't include insets/insetinfo.h, change
16505         prototype for insertInset and call the Pimpl version. let
16506         updateInset call Pimpl version.
16507
16508         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16509         gotoInset to BufferView::Pimpl
16510
16511 2001-06-01  Juergen Vigna  <jug@sad.it>
16512
16513         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16514         inside a LockingInset (is the update needed at all?).
16515
16516 2001-05-31  Juergen Vigna  <jug@sad.it>
16517
16518         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16519         here not the old one otherwise how should we compare it afterwards
16520         if it's the same!
16521
16522 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16523
16524         * lyxfont.C:
16525         * tabular.C:
16526         * tabular-old.C:
16527         * FontInfo.C: bring C functions into global namespace when
16528         necessary
16529
16530 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16531
16532         * LString.h: make sure config.h has been loaded before LString.h.
16533
16534         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16535         (one for each char read by EatLine!).
16536
16537         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16538         variables.
16539
16540 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16541
16542         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16543         to the same as the par we break from
16544
16545 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16546
16547         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16548
16549         * MenuBackend.C (expand): also create menu entries for wide
16550         versions of the floats.
16551
16552         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16553
16554         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16555
16556         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16557         frontends/Makefile.am
16558
16559         * text2.C: adjust
16560         * text.C: adjust
16561
16562
16563         * tabular.C (getTokenValue): add std::
16564
16565         * tabular-old.C (getTokenValue): add std::
16566         (getTokenValue): ditto
16567         (getTokenValue): ditto
16568
16569         * screen.C (ToggleSelection): adjust
16570
16571         * lyxtext.h: put selection cursors inside a Selection struct.
16572
16573         * lyxfunc.C (moveCursorUpdate): adjust
16574
16575         * lyxfont.C (latexWriteStartChanges): add std::
16576
16577         * lyxfind.C: adjust
16578
16579         * font.h: delete with(char const *, LyXFont const &)
16580
16581         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16582
16583         * FontInfo.C (getFontname): add std::
16584
16585         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16586         (workAreaButtonPress): adjust
16587         (tripleClick): adjust
16588         (update): adjust
16589         (moveCursorUpdate): adjust
16590         (Dispatch): adjust
16591
16592         * BufferView2.C (gotoInset): adjust
16593
16594 2001-05-30  Juergen Vigna  <jug@sad.it>
16595
16596         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16597         to check pspell I add this as default as I now have new pspell
16598         libraries and they seem to use this.
16599
16600 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16601
16602         * text2.C (CutSelection): make the cursor valid before the call to
16603         ClearSelection.
16604
16605 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16606
16607         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16608         relied on 0 terminated strings and other horrors. Bug found due to
16609         the new assert in lyxstring!
16610
16611         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16612         KP_ keys.
16613
16614 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16615
16616         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16617         to latinkeys.bind.
16618
16619         * lyxfunc.C (processKeySym): change method of getting to the
16620         self-insert char.
16621
16622         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16623         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16624         * BufferView_pimpl.[Ch]: here as private methods.
16625
16626 2001-05-28  Juergen Vigna  <jug@sad.it>
16627
16628         * text.C (SetHeightOfRow): added the update() call again as it is
16629         needed to initialize inset dimensions!
16630
16631 2001-05-16  Juergen Vigna  <jug@sad.it>
16632
16633         * text2.C (SetCharFont): Add new function with BufferView * and
16634         bool toggleall parameters for setting insets internal fonts.
16635         (SetFont): Freeze the undo as we may change fonts in Insets and
16636         all this change should be inside only one Undo!
16637
16638         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16639         setting font's in insets as for them we have the SetFont function!
16640
16641 2001-05-15  Juergen Vigna  <jug@sad.it>
16642
16643         * text2.C (ClearSelection): to be sure we REALLY don't have any
16644         selection anymore!
16645
16646         * tabular.C (TeXCellPreamble): fixed the left border problem for
16647         multicolumn cells.
16648
16649 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16650
16651         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16652         dependancy file
16653
16654 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16655
16656         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16657         LFUN_BREAKPARAGRAPH.
16658
16659         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16660         help test to "internal only", similar for LFUN_INSERT_URL
16661
16662         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16663         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16664         auto_region_delete and deadkeys.
16665
16666 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16667
16668         * LColor.h:
16669         * LColor.C: remove some dead entries, tidy a little
16670
16671 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16672
16673         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16674         commented code.
16675         (Dispatch): implement LFUN_ESCAPE
16676
16677         * commandtags.h: add LFUN_ESCAPE
16678
16679         * LyXAction.C (init): add entry for LFUN_ESCAPE
16680
16681         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16682         Remove commented code.
16683         (insertNote): moved here
16684         (open_new_inset): moved here
16685
16686         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16687         BufferView_pimpl
16688
16689 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16690
16691         * kbmap.C (findbinding): clean it up and make it work correctly.
16692
16693         * lyx_main.C (init): do not pass argc and argv as parameters
16694
16695 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16696
16697         * buffer.C: fix path for OS/2 & Win32
16698
16699         * lyx_gui.C:
16700         * lyx_main:
16701         * lyx_main.C: Added os:: class.
16702
16703         * os2_defines.h: update
16704
16705 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16706
16707         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16708         better by trying again with reduced state.
16709
16710 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16711
16712         * lyxrc.C (read): print error about invalid key sequence only when
16713         debugging (because not all latinX keysyms are known to some X
16714         servers)
16715
16716         * kbsequence.C (getiso): add a few std:: qualifiers
16717         (getiso): comment out extra return statement.
16718
16719 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16720
16721         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16722         handling.
16723         (Dispatch): enhance the accent inset a bit. (not perfect)
16724
16725 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16726
16727         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16728
16729 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16730
16731         * bufferlist.C (emergencyWrite): fix assert() call
16732
16733 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16734
16735         * text.C (InsertChar): Added trivial patch to only send the "you
16736         can not do multiple spaces this way" message once during a
16737         session.
16738
16739 2001-05-08  Baruch Even  <baruch@lyx.org>
16740
16741         * Makefile.am: Changed order of libraries to get LyX to link properly
16742         with the gnome frontend.
16743
16744 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16745
16746         * LaTeXFeatures.h: add a std:: qualifier
16747
16748 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16749
16750         * paragraph.C (String): use stringstream
16751
16752 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16753
16754         * paragraph.C (writeFile): remove footflag arg
16755
16756         * buffer.C (makeLaTeXFile): use stringstream
16757         (latexParagraphs): remove footnot gurba
16758
16759         * LaTeXFeatures.C (getPackages): use stringstream
16760         (getMacros): likewise
16761         (getTClassPreamble): likewise
16762         (getFloatDefinitions): new method
16763
16764         * paragraph.C (writeFile): reindent
16765         (Erase): reindent
16766
16767         * WorkArea.h: revert the xpos + etc changes.
16768
16769         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16770
16771         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16772
16773         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16774         (pasteSelection): likewise
16775         * text2.C (CreateUndo): likewise
16776
16777 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16778
16779         * minibuffer.C (peek_event): temporarily reduce the functionality
16780         of the minibuffer (to allow args on lfuns)
16781
16782         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16783         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16784
16785         * buffer.C (readInset): add compability reading of old float
16786         lists, add reading of new style float list.
16787         (readInset): avoid reevaluation of inscmd.getCmdName()
16788         (getLists): reindent
16789
16790         * MenuBackend.C (MenuItem): implement parsing of
16791         md_floatlistinsert and md_floatinsert.
16792         (expand::LastFiles): move initalizaton of iterators out of loop,
16793         avoid reevaluation.
16794         (expand::Documents): introduce typdedef vector<string> Strings,
16795         and use it.
16796         (expand::ExportFormats): introduce typedef vector<Format const *>
16797         Formats, and use it.
16798         (expand): implement FloatListInsert and FloatInsert.
16799
16800         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16801         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16802         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16803
16804         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16805         handling.
16806         (Dispatch::LFUN_FLOAT_LIST): implement
16807
16808 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16809
16810         * LaTeX.C (run): Fix problem with --export code.
16811
16812 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16813
16814         * BufferView.[Ch] (workarea): removed.
16815         (getClipboard) new method; wrapper for workarea()->getClipboard()
16816
16817         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16818         bug.
16819
16820         * WorkArea.h (width, height, xpos, ypos): These methods all
16821         returned the dimensions of the work_area sub-area of WorkArea,
16822         resulting in a position error if the WorkArea were resized. Now
16823         return the dimensions of the entire WorkArea.
16824
16825         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16826
16827 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16828
16829         * LaTeX.C (deplog): correct the syntax of regex reg1
16830
16831 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16832
16833         * undo.C: remove !NEW_INSETS cruft
16834
16835 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16836
16837         * text2.C: remove !NEW_INSETS cruft
16838
16839         * text.C: remove !NEW_INSETS cruft
16840
16841         * tabular.C: remove !NEW_INSETS cruft
16842
16843         * spellchecker.C: remove !NEW_INSETS cruft
16844
16845         * lyxtext.h: remove !NEW_INSETS cruft
16846
16847         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16848
16849         * lyxfunc.C: remove !NEW_INSETS cruft
16850
16851         * lyxfind.C: remove !NEW_INSETS cruft
16852
16853         * lyx_cb.C: remove !NEW_INSETS cruft
16854
16855         * figureForm.C: remove  !NEW_INSETS cruft
16856
16857         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16858
16859         * buffer.[Ch]: remove !NEW_INSETS cruft
16860
16861         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16862
16863         * CutAndPaste.C: remove !NEW_INSETS cruft
16864
16865         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16866
16867         * BufferView2.C: remove !NEW_INSETS cruft
16868
16869         * BufferView.h: remove !NEW_INSETS cruft
16870
16871 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16872
16873         * Lsstream.h: include LString.h before the sstream headers to
16874         fix problem with gcc 2.95.3 and lyxstring
16875
16876 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16877
16878         * lyx_main.C: add using directives when needed for C functions
16879         declared in std:: namespace.
16880
16881 2001-04-27  Juergen Vigna  <jug@sad.it>
16882
16883         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16884         (SetHeightOfRow): comment out the update call should not be needed!
16885
16886 2001-04-13  Juergen Vigna  <jug@sad.it>
16887
16888         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16889         (LyXTabular): tried to minimize operator= operations (and realized
16890         hopfully Lars wish).
16891
16892 2001-04-27  Juergen Vigna  <jug@sad.it>
16893
16894         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16895
16896 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16897
16898         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16899
16900         * buffer.C (readInset): hack to make listof algorithm work
16901
16902         * BufferView_pimpl.C: hack to make listof algorithm work
16903
16904 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16905
16906         * LyXAction.C: removed all !NEW_INSETS cruft
16907         (init): moved lfun_item in method
16908
16909         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16910
16911 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16912
16913         * BufferView2.C (theLockingInset): white space.
16914
16915 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16916
16917         * minibuffer.C: include <iostream>
16918
16919         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16920
16921         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16922
16923         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16924
16925         * text.[Ch] (TransposeChars): new method
16926
16927 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16928
16929         * call message directly through LyXView instead of through LyXFunc
16930         * BufferView2.C: adjust
16931         * BufferView_pimpl.C: adjust
16932         * FontLoader.C: adjust
16933         * buffer.C: adjust
16934         * bufferview_funcs.C: adjust
16935         * converter.C: adjust
16936         * figureForm.C: adjust
16937         * importer.C: adjust
16938         * lyx_cb.C: adjust
16939         * lyx_gui_misc.C: adjust
16940         * lyxfunc.C: adjust
16941         * lyxvc.C: adjust
16942         * text2.C: adjust
16943         + more files in subdirs
16944
16945         * lyxparagraph.h (size): move up int file
16946         (GetLayout): ditto
16947
16948         * adjust all uses of Assert to lyx::Assert.
16949
16950         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16951         lyxfunctional in namespace lyx
16952         * layout.C (hasLayout): ditto
16953         (GetLayout): ditto
16954         (GetLayout): ditto
16955         (delete_layout): ditto
16956         (NumberOfClass): ditto
16957         * converter.C (GetFormat): ditto
16958         (GetNumber): ditto
16959         (Add): ditto
16960         (Delete): ditto
16961         (SetViewer): ditto
16962         * bufferlist.C (getFileNames): ditto
16963         (emergencyWriteAll): ditto
16964         (exists): ditto
16965         (getBuffer): ditto
16966         * MenuBackend.C (hasSubmenu): ditto
16967         (hasMenu): ditto
16968         (getMenu): ditto
16969         * BufferView_pimpl.C (getInsetByCode): ditto
16970
16971 2001-04-18  Juergen Vigna  <jug@sad.it>
16972
16973         * vspace.C (asLatexString): fixed the 100% problem.
16974
16975 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16976
16977         * lyxfunc.C (Dispatch):
16978         * minibuffer.C:
16979         * minibuffer.h: add a few std:: qualifiers
16980
16981 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16982
16983         * minibuffer.[Ch]: reimplement so that commands is initiated and
16984         run from lyxfunc, simplified som handling, and made the completion
16985         and history code for complete. wip.
16986
16987         * lyxfunc.C (processKeySym): call message
16988         (miniDispatch): new temporary method
16989         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16990         (LFUN_MESSAGE): implement
16991         (LFUN_MESSAGE_PUSH): implement
16992         (LFUN_MESSAGE_POP): implement
16993         (initMiniBuffer): the initial/defualt minibuffer message.
16994
16995         * lyxfont.[Ch]: inline some more getters
16996
16997         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16998
16999         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17000
17001         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17002         (AutoSave): use LFUN_MESSAGE
17003         (Reconfigure): ditto
17004
17005         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17006
17007         * figureForm.C: use LFUN_MESSAGE
17008
17009         * converter.C (runLaTeX): use LFUN_MESSAGE
17010
17011         * bufferview_funcs.C: use LFUN_MESSAGE
17012         (Melt): ditto
17013         (changeDepth): ditto
17014
17015         * bufferparams.h: use boost::
17016
17017         * bufferlist.h: inherit privately from noncopyable
17018
17019         * bufferlist.C (loadLyXFile): remove some commented code.
17020
17021         * buffer.C (runChktex): use LFUN_MESSAGE
17022
17023         * ShareContainer.h: inherit privately from noncopyable
17024
17025         * ParagraphParameters.[hC] (depth): inline it.
17026
17027         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17028         methods.
17029         (message): new method
17030         (messagePush): ditto
17031         (messagePop): ditto
17032         (show): init minibuffer
17033         (showState): direct call
17034
17035         * LaTeX.[Ch]: inherit privately from noncopyable
17036         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17037         instead of WriteStatus.
17038
17039         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17040
17041         * BufferView_pimpl.C (buffer): don't init minibuffer
17042         (workAreaButtonPress): use LFUN_MESSAGE
17043         (workAreaButtonRelease): ditto
17044         (savePosition): ditto
17045         (restorePosition): ditto
17046         (MenuInsertLyXFile): ditto
17047         (workAreaExpose): don't init minibuffer
17048         (update): remove commented code, simplify
17049
17050         * BufferView2.C (openStuff): use LFUN_MESSAGE
17051         (toggleFloat): ditto
17052         (menuUndo): ditto
17053         (menuRedo): ditto
17054         (copyEnvironment): ditto
17055         (pasteEnvironment): ditto
17056         (copy): ditto
17057         (cut): ditto
17058         (paste): ditto
17059         (gotoInset): ditto
17060         (updateInset): remove some commented code
17061
17062         * lastfiles.h: inherit privately from noncopyable
17063         * layout.h: ditto
17064         * lyx_gui.h: ditto
17065         * lyx_main.h: ditto
17066         * lyxlex.h: ditto
17067         * lyxlex_pimpl.h: ditto
17068
17069         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17070         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17071         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17072
17073         * LyXAction.h: inherit privately from noncopyable, add methods
17074         func_begin, func_end, returning iterators to the func map.
17075
17076         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17077         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17078         (func_begin): new method
17079         (func_end): new method
17080
17081         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17082         and not)
17083         (copySelection): ditto
17084         (pasteSelection): ditto
17085
17086         * BufferView.C: whitespace change
17087         * BufferView.h: inherit privately from noncopyable
17088
17089 2001-04-16  Allan Rae  <rae@lyx.org>
17090
17091         * tabular-old.C (l_getline):
17092         * spellchecker.C (sc_check_word):
17093         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17094         an unrecognised preprocessor directive.  So ensure they're wrapped.
17095
17096 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17097
17098         * src/exporter.C (Export): Give an error message when path to file
17099         contains spaces.
17100
17101 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17102
17103         * LaTeX.C (deplog): Always check that foundfile exists.
17104
17105 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17106
17107         * lyx_main.h:
17108         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17109
17110 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17111
17112         * tabular.[Ch] (getLabelList): implement new method
17113
17114         * minibuffer.h: comment ouf setTiimer
17115
17116         * minibuffer.C (ExecutingCB): constify res
17117         (peek_event): constify s
17118         (Set): constify ntext
17119         (Init): constify nicename
17120
17121         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17122
17123         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17124         (savePosition): use two params to Minibuffer::Set
17125         (restorePosition): ditto
17126
17127 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17128
17129         * lyx_main.C: include language.h
17130
17131         * Makefile.am (lyx_main.o): add language.h
17132
17133 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17134
17135         * exporter.C:
17136         * paragraph.C:
17137         * screen.C:
17138         * tabular.C:
17139         * CutAndPaste.C: include gettext.h
17140
17141         * lyxfont.h: remove old hack with ON and OFF.
17142
17143         * lyxparagraph.h:
17144         * lyxfont.h: do not include language.h...
17145
17146         * BufferView2.C:
17147         * LaTeXFeatures.C:
17148         * Painter.C:
17149         * bufferview_funcs.C:
17150         * font.C:
17151         * lyxfont.C:
17152         * text.C:
17153         * text2.C:
17154         * trans_mgr.C:
17155         * paragraph.C: ... but do it here instead
17156
17157 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17158
17159         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17160
17161         * tabular.C: small reformat
17162
17163         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17164         NEW_INSETS version
17165         (GetChar): ditto
17166         (BreakParagraph): ditto
17167         (SetOnlyLayout): ditto
17168         (SetLayout): ditto
17169
17170         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17171         with one arg less.
17172
17173         * lastfiles.C: removed most using decl, add std:: where needed
17174
17175         * buffer.C: ws changes
17176
17177         * MenuBackend.C (class compare_format): put into anon namespace
17178         (expand): constify label, names, action, action2
17179         (expand):
17180
17181         * text.C (SingleWidth): constify font
17182         (IsBoundary): constify rtl2
17183         (GetVisibleRow): constify ww
17184
17185         * LaTeX.C (deplog): constify logfile
17186
17187         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17188         start_x, end_x
17189         (workAreaExpose): constify widthChange, heightChange
17190
17191         * lyxrow.C (par): moved
17192         (height): moved
17193         (next): moved
17194         * lyxrow.h: as inlines here
17195
17196         * lyxfont.h (shape): moved from lyxfont.C
17197         (emph): moved from lyxfont.C
17198
17199         * lyxfont.C (LyXFont): use initialization list for all
17200         constructors
17201         (shape): move to lyxfont.h as inline
17202         (emph): move to lyxfont.h as inline
17203
17204
17205 2001-04-04  Juergen Vigna  <jug@sad.it>
17206
17207         * vspace.C: had to include stdio.h for use of sscanf
17208
17209 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17210
17211         * BufferView.h:
17212         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17213         independent of xforms.
17214
17215 2001-04-02  Juergen Vigna  <jug@sad.it>
17216
17217         * spellchecker.C: fixed namespace placing!
17218
17219 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17220
17221         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17222         the LyXParagraph * is 0.
17223
17224 2001-03-29  Juergen Vigna  <jug@sad.it>
17225
17226         * vspace.C: added support for %, c%, p%, l%.
17227         (stringFromUnit): added helper function.
17228         (asLatexString): changed to give right results for the %-values.
17229
17230         * buffer.C: convert the widthp in a width%.
17231
17232 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17233
17234         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17235         figureForm.[Ch].
17236
17237         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17238         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17239
17240         * lyx_cb.[Ch]: see above.
17241
17242         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17243         form1.[Ch].
17244
17245         * form1.[Ch]:
17246         * lyx.[Ch]: replaced by figure_form.[Ch].
17247
17248         * lyx_gui.C:
17249         * lyx_gui_misc.C:
17250         * lyxfunc.C: changed headers associated with above changes.
17251
17252 2001-03-27  Juergen Vigna  <jug@sad.it>
17253
17254         * BufferView_pimpl.C: set the temporary cursor right!
17255
17256 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17257
17258         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17259
17260 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17261
17262         * LString.h: removed "using std::getline"!
17263
17264         * BufferView_pimpl.C (Dispatch): changes due to changes in
17265         InsetInclude::Params.
17266
17267         * buffer.C (tag_name): removed redundant break statements as they were
17268         producing lots of warnings with my compiler.
17269
17270 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17271
17272         * LString.h: add "using std::getline" when using the real <string>.
17273
17274 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17275
17276         * buffer.C: removed bitset usage.
17277         PAR_TAG moved to an anonymous name space.
17278         (tag_name): new funtion, also in the anonymous namespace.
17279         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17280         (makeDocBookFile): clean code. Completed transition from string arrays
17281         to string vectors.
17282         (SimpleDocBookOnePar): code clean.
17283
17284 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17285
17286         * tabular.C: add some comments.
17287
17288 2001-03-22  Juergen Vigna  <jug@sad.it>
17289
17290         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17291         compatibility read a bit and fixed bug with minipage in different
17292         depth.
17293
17294 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17295
17296         * buffer.C (pop_tag): removed.
17297         (push_tag): removed.
17298         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17299         array replaced with vector. Added support for CDATA sections.
17300         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17301         at any nest level.
17302         (makeDocBookFile): XML conformant declaration of CDATA section,
17303         fixed bug related to <emphasis> in the first paragraph char.
17304         (sgmlOpenTag): exclude empty tags.
17305         (sgmlCloseTag): ditto.
17306
17307         * buffer.h (pop_tag): removed.
17308         (push_tag): removed.
17309
17310 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17311
17312         * language.h (Languages): added size_type and size().
17313
17314 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17315
17316         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17317         response on compability reading of minipages. One probliem is that
17318         the old usage of minipages was flertydig
17319
17320         * several files here and in subdirs: don't use static at file
17321         scope use anon namespaces instead.
17322
17323 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17324
17325         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17326         LaTeX output. This is necessary for Literate document
17327         processing.
17328
17329 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17330
17331         * buffer.C: insert hfill when needed.
17332
17333         * tabular.C (l_getline): use string::erase, small whitespace change.
17334
17335         * BufferView_pimpl.C: try the anon namespace.
17336         * WorkArea.C: ditto
17337
17338 2001-03-16  Juergen Vigna  <jug@sad.it>
17339
17340         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17341         otherwise it won't open options-dialogs.
17342
17343         * buffer.C: honor pextraWidth(p) on converting minipages.
17344
17345         * tabular.C (l_getline): changed the functions to strip trailing \r.
17346
17347 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17348
17349         * BufferView_pimpl.C:
17350         * minibuffer..C: added "using SigC::slot" declaration.
17351
17352 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17353
17354         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17355
17356         * text2.C: ditto
17357
17358         * text.C: ditto
17359
17360         * paragraph.C: ditto
17361
17362         * lyxtext.h: NO_PEXTRA
17363
17364         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17365
17366         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17367         * ParameterStruct.h: ditto
17368         * ParagraphParameters.h: ditto
17369         * lyxparagraph.h: ditto
17370
17371 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17372
17373         * buffer.C: add compability for minipage alignment.
17374         (latexParagraphs): remove unwanted pextra check.
17375
17376         * several files: remove CXX_WORKING_NAMESPACES
17377
17378         * buffer.C (pop_tag): tie is in namespace boost
17379
17380         * BufferView.h: noncopyable is in namespace boost
17381         * lyxlex.h: ditto
17382         * lyx_main.h: ditto
17383         * lyx_gui.h: ditto
17384         * layout.h: ditto
17385         * lastfiles.h: ditto
17386         * bufferlist.h: ditto
17387         * ShareContainer.h: ditto
17388         * LyXView.h: ditto
17389         * LyXAction.h: ditto
17390         * LaTeX.h: ditto
17391
17392 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17393
17394         * Merging changes from BRANCH_MVC back into HEAD.
17395
17396         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17397
17398 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17399
17400         * BufferView_pimpl.C: change from intl.C
17401
17402         * combox.h:
17403         * combox.C:
17404         * Makefile.am: move combox.*
17405
17406         * form1.h:
17407         * form1.C:
17408         * lyx_gui.C:
17409         * intl.h:
17410         * intl.C: remove dialog (covered by prefs)
17411
17412 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17413
17414         * lyxfunc.C (Dispatch): removed redundant break statement.
17415
17416 2001-03-14  Juergen Vigna  <jug@sad.it>
17417
17418         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17419
17420 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17421
17422         * buffer.C: add hack to fix compability reading of minipages.
17423
17424 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17425
17426         * buffer.C (getLists): Cleanup.
17427
17428 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17429
17430         * lyxfont.C (update): don't honor toggleall on font size.
17431
17432 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17433
17434         * bmtable.c:
17435         * bmtable.h:
17436         * Makefile.am: moved to frontends/xforms/
17437
17438         * lyx_gui_misc.C:
17439         * lyxfunc.C:
17440         * BufferView_pimpl.C: changes for moved mathpanel
17441
17442 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17443
17444         * gettext.h: fix gettext_init() in --disable-nls
17445
17446 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17447
17448         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17449
17450 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17451
17452         * lyx.C:
17453         * lyx.h: strip external form
17454
17455 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17456
17457         * BufferView_pimpl.C: add comment, destroySplash()
17458
17459 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17460
17461         * BufferView_pimpl.C:
17462         * LyXAction.C:
17463         * buffer.C:
17464         * commandtags.h:
17465         * lyxfunc.C: use re-worked insetinclude
17466
17467 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17468
17469         * buffer.C: add using std::stringstream.
17470
17471         * lyx_cb.C: readd using std::ios.
17472
17473         * buffer.C: add using std::map.
17474
17475         * BufferView_pimpl.C: add using std::vector.
17476
17477         * ShareContainer.h: add std:: to swap.
17478
17479         * buffer.h: add some typedefs
17480         * buffer.C (getLists): use them
17481         (getLists): renamed from getTocList.
17482         add a counter for the different float types and use it in the
17483         generated string.
17484         (getLists): use the same counter for the NEW_INSETS and the "non"
17485         NEW_INSETS
17486
17487         * lyx_cb.h: remove unused items, includes, using etc.
17488
17489         * ShareContainer.h: remove some commented code, add more comments
17490         and "documentation".
17491
17492 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17493
17494         * buffer.C (getTocList): make the list also when NEW_INSETS is
17495         defined.
17496
17497         * buffer.h: remove TocType
17498
17499         * buffer.C (getTocList): change to return a map<string,
17500         vector<TocItem> >, implement for dynamic number of list.
17501
17502         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17503         * text2.C (PasteSelection): adjust
17504         * CutAndPaste.C (pasteSelection): adjust
17505
17506         * FloatList.C (FloatList): update from the new_insets branch.
17507         * Floating.[Ch]: ditto
17508         * LaTeXFeatures.C: ditto
17509         * buffer.C: ditto
17510         * lyxlex_pimpl.C: ditto
17511
17512         * paragraph.C (Last): remove when NEW_INSETS is defined.
17513
17514         * other file: changes because of the above.
17515
17516 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17517
17518         * lyxparagraph.h: rename next to next_, previous to previous_,
17519         make them private for NEW_INSETS. Rename Next() to next(),
17520         Previous() to previous().
17521
17522         * other files: changes because of the above.
17523
17524 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17525
17526         * BufferView.h:
17527         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17528         problem.
17529
17530 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17531
17532         * main.C (main): pass lyx_localedir to gettext_init().
17533
17534         * gettext.h: remove locale_init and gettext_init macros
17535
17536         * gettext.C (locale_init): new function
17537         (gettext_init): new function
17538
17539         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17540         setlocale().
17541
17542 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17543
17544         * Moved credits to frontends:
17545         * credits.[Ch]: removed
17546         * credits_form.[Ch]: removed
17547         * lyx_gui_misc.C: remove credits stuff
17548         * Makefile.am:
17549
17550 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17551
17552         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17553
17554         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17555         unneeded destructor.
17556
17557         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17558         a standalone pointer again.
17559
17560         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17561
17562 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17563
17564         * Makefile.am:
17565         * filedlg.h:
17566         * filedlg.C:
17567         * LyXAction.C:
17568         * ToolbarDefaults.C:
17569         * bufferlist.C:
17570         * commandtags.h:
17571         * form1.C:
17572         * form1.h:
17573         * lyx_cb.C:
17574         * lyx_cb.h:
17575         * lyxfunc.h:
17576         * lyxfunc.C:
17577         * BufferView_pimpl.C: use new file dialog in GUII
17578
17579         * lyx_cb.h:
17580         * lyx_cb.C: remove LayoutsCB to Toolbar
17581
17582 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17583
17584         * ShareContainer.h (get): add std:: qualifier
17585
17586 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17587
17588         * ShareContainer.h: define a proper ShareContainer::value_type
17589         type (and use typename to please compaq cxx)
17590
17591 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17592
17593         * lyxparagraph.h: move serveral local vars to
17594         ParameterStruct/ParagraphParameters., use ShareContainer in
17595         FontTable., make vars in FontTable private and add getter and
17596         setter.
17597
17598         * paragraph.C: changes because of the above.
17599
17600         * lyxfont.h: remove copy constructor and copy assignment. (the
17601         default ones is ok), move number inside FontBits. move inlines to
17602         lyxfont.C
17603
17604         * lyxfont.C: add number to initializaton of statics, move several
17605         inlines here. constify several local vars. some whitespace
17606         cleanup. Dont hide outerscope variables.
17607
17608         * Spacing.h: add two new constructors to match the set methods.
17609
17610         * ShareContainer.h: new file, will perhaps be moved to support
17611
17612         * ParameterStruct.h: new file
17613
17614         * ParagraphParameters.h: new file
17615
17616         * ParagraphParameters.C: new file
17617
17618         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17619         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17620
17621         * BufferView_pimpl.C: ParagraphParameter changes.
17622         * buffer.C: Likewise.
17623         * bufferview_funcs.C: Likewise.
17624         * text.C: Likewise.
17625         * text2.C: Likewise.
17626
17627 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17628
17629         * lyxfind.C (LyXReplace): do not redefine default argument in
17630         implementation.
17631         (IsStringInText): ditto
17632         (SearchForward): ditto
17633         (SearchBackward): ditto
17634
17635 2001-03-06  Juergen Vigna  <jug@sad.it>
17636
17637         * lyxfind.C (IsStringInText): put parentes around expressions.
17638
17639 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17640
17641         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17642
17643 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17644
17645         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17646
17647         * stl_string_fwd.h: add comment
17648
17649         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17650
17651         * tabular.h:
17652         * tabular.C: remove unused DocBook methods
17653
17654         * intl.C:
17655         * language.C:
17656         * paragraph.C:
17657         * buffer.C:
17658         killed DO_USE_DEFAULT_LANGUAGE
17659
17660 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17661
17662         * lyx_gui.C: do not include language.h.
17663
17664         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17665         arguments in function implementation.
17666
17667 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17668
17669         * BufferView_pimpl.C: add <ctime>
17670
17671 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17672
17673         * BufferView_pimpl.C: add using std::find_if
17674
17675 2001-02-27  José Matos  <jamatos@fep.up.pt>
17676
17677         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17678         by OnlyPath.
17679
17680 2001-02-11  José Matos  <jamatos@fep.up.pt>
17681
17682         * buffer.C (makeDocBookFile): command styles now have a parameter as
17683         "title" by default.
17684
17685 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17686
17687         * layout_forms.[Ch]: removed
17688         * lyx_cb.[Ch]: out character
17689         * lyx_gui.C: out character
17690         * lyx_gui_misc.C: out character
17691         * bufferview_funcs.C: : out character,
17692         added toggleall as parameter in ToggleAndShow
17693
17694 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17695
17696         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17697
17698         * text2.C (SetCurrentFont): Disable number property at boundary.
17699
17700 2001-02-26  Juergen Vigna  <jug@sad.it>
17701
17702         * lyxfunc.C (getStatus): added a string argument override function so
17703         that this is correctly called from LyXFunc::Dispatch if it contains a
17704         do_not_use_argument which is used!
17705         (Dispatch): added check for "custom" export and call appropriate func.
17706
17707 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17708
17709         * lyxrc.C: Add language_command_local, language_use_babel and
17710         language_global_options.
17711
17712         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17713
17714         * buffer.C (makeLaTeXFile): Use language_use_babel and
17715         language_global_options.
17716
17717 2001-02-23  Juergen Vigna  <jug@sad.it>
17718
17719         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17720         which works with LyXText and putted it inside BufferView. Here now we
17721         only call for that part the BufferView::Dispatch() function.
17722
17723         * BufferView.C (Dispatch): added.
17724
17725         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17726         functions which needs to use a LyXText over from LyXFunc.
17727         (MenuInsertLyXFile): added
17728         (getInsetByCode): added
17729         (moveCursorUpdate): added
17730         (static TEXT): added
17731
17732 2001-02-22  Juergen Vigna  <jug@sad.it>
17733
17734         * BufferView_pimpl.C (update): call a status update to see if LyXText
17735         needs it.
17736
17737 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17738
17739         * vc-backend.C (revert): implement for CVS
17740         (getLog): implement for CVS
17741
17742 2001-02-20  Juergen Vigna  <jug@sad.it>
17743
17744         * text2.C (ClearSelection): added BufferView param for inset_owner call
17745
17746         * lyxfunc.C (TEXT): added this function and use it instead of
17747         directly owner->view()-text of getLyXText().
17748
17749 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17750
17751         * src/layout_forms.C: out preamble
17752         * src/layout_forms.h: out preamble
17753         * src/lyx_cb.C: out preamble
17754         * src/lyx_cb.h: out preamble
17755         * src/lyx_gui.C: out preamble
17756         * src/lyx_gui_misc.C: out preamble
17757         * src/lyxfunc.C: connect with guii preamble
17758
17759 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17760
17761         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17762
17763 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17764
17765         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17766         whether to run bibtex.
17767
17768 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17769
17770         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17771
17772 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17773
17774         * Makefile.am (lyx_SOURCES): removed bibforms.h
17775
17776         * vspace.h: doxygen
17777
17778         * text.C (GetVisibleRow): make several local vars const
17779
17780         * tabular.C: small cleanup.
17781
17782         * lyxserver.C (callback): use compare instead of strncmp
17783
17784         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17785         inlines to after class or to paragraph.C
17786
17787         * lyxfont.h: remove friend operator!=
17788
17789         * converter.h: move friend bool operator< to non friend and after
17790         class def.
17791
17792         * combox.h: small cleanup
17793
17794         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17795         to inlines after class def.
17796
17797         * buffer.C (pop_tag): use string operations instead of strcmp
17798
17799         * bmtable.c: doxygen, small cleanup
17800
17801         * LaTeX.h: remove friend operator==
17802
17803 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17804
17805         * screen.C:
17806         * lyxrc.[Ch]:
17807         * lyxfunc.C:
17808         * lyxfont.[Ch]:
17809         * lyx_cb.C:
17810         * intl.[Ch]:
17811         * commandtags.h:
17812         * buffer.C:
17813         * WorkArea.[Ch]:
17814         * LyXAction.C:
17815         * BufferView_pimpl.C:
17816         * BufferView.[Ch]: remove cruft
17817
17818 2001-02-14  Juergen Vigna  <jug@sad.it>
17819
17820         * lyxfunc.C: removed #if 0 unused code
17821
17822         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17823
17824         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17825
17826         * text2.C (SetSelection): added a BufferView * parameter
17827
17828 2001-02-13  Juergen Vigna  <jug@sad.it>
17829
17830         * lyxfunc.C (Dispatch): fixed protected blank problem.
17831         * BufferView2.C (protectedBlank): added LyxText * parameter.
17832
17833         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17834         (AppendColumn): same as above for column_info.
17835
17836         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17837         (moveCursorUpdate): use a LyXText param for support of InsetText.
17838
17839         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17840         (tripleClick): ditto
17841
17842         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17843
17844         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17845
17846         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17847
17848         * text2.C (SetSelection): set correct update status if inset_owner
17849         (ToggleFree): ditto
17850
17851 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17852
17853         * tabular.C: remove some commented code.
17854
17855 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17856
17857         * BufferView_pimpl.C: call hideSplash()
17858
17859         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17860
17861         * include_form.h:
17862         * bibforms.h: remove
17863
17864         * lyxfunc.C:
17865         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17866           add LFUN_CHILD_CREATE
17867
17868         * counters.h: fix tiny typo
17869
17870         * lyx_cb.C:
17871         * lyx.h:
17872         * lyx_gui.C:
17873         * lyx.C: move splash to frontends/xforms/
17874
17875         * lyx_gui_misc.C: move Include and Bibform to frontends
17876
17877         * lyxvc.h: clarify comment
17878
17879         * vspace.C: tiny housekeeping
17880
17881 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17882
17883         * text.C (PrepareToPrint): RTL Fix.
17884
17885         * paragraph.C (GetUChar): New method.
17886         (String):  Use GetUChar.
17887
17888         * buffer.C (asciiParagraph): Use GetUChar.
17889
17890 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17891
17892         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17893
17894 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17895
17896         * buffer.h:
17897         * buffer.C: rename to getLogName(), handle
17898           build log / latex log nicely
17899
17900 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17901
17902         * MenuBackend.C:
17903         * MenuBackend.h: remove support for reference menuitem type.
17904
17905 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17906
17907         * BufferView_pimpl.C: housekeeping
17908         * BufferView_pimpl.h:
17909         * LyXView.h:
17910         * Makefile.am:
17911         * Timeout.C:
17912         * Timeout.h:
17913         * minibuffer.h: move Timeout GUI-I
17914
17915 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17916
17917         * lyxrc.C (read): Update converters data-structures.
17918
17919 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17920
17921         * LaTeX.h (operator!=): add operator != for Aux_Info
17922
17923 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17924
17925         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17926
17927         * LaTeXLog.C: deleted, useful code moved to Buffer
17928
17929         * buffer.h:
17930         * buffer.C: new function getLatexLogName()
17931
17932         * lyx_gui_misc.C:
17933         * lyx_gui.C:
17934         * lyxvc.C:
17935         * lyxvc.h:
17936         * lyxfunc.C: use frontends for LaTeX and VC logs
17937
17938 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17939
17940         * LaTeX.h: yet another std:: that Allan forgot.
17941
17942         * Variables.C (set): renamed from isset(), because this clashes
17943         with some HP-UX macros (grr).
17944
17945 2001-02-06  Allan Rae  <rae@lyx.org>
17946
17947         * LaTeX.h: Another bug fix.  Missing std:: this time.
17948
17949 2001-02-04  Allan Rae  <rae@lyx.org>
17950
17951         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17952         floats problem. I've left it commented out because it's not quite
17953         correct.  It should also test that the current object is a table or
17954         figure inset.  But I haven't gotten around to figuring out how to do
17955         that.  I *think* it'll be something like: "table" == inset.type()
17956
17957         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17958         bool.
17959
17960 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17961
17962         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17963         all the citation/databases/styles in the auxilary file.
17964         (run): Rerun latex if there was a babel language error.
17965
17966 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17967
17968         * text.C (Backspace): Preserve the font when changing newline char
17969         with a space.
17970         (BreakParagraph): If the cursor is before a space, delete the space.
17971
17972         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17973
17974 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17975
17976         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17977         new argument (code).
17978         (ChangeCitationsIfUnique): New method.
17979
17980         * paragraph.C (GetPositionOfInset): Handle bibkey.
17981
17982 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17983
17984         * BufferView_pimpl.h: change type of Position::par_pos to
17985         LyXParagraph::size_type.
17986
17987 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17988
17989         * BufferView_pimpl.C (savePosition, restorePosition): Write
17990         messages to minibuffer.
17991
17992 2001-01-28  José Matos  <jamatos@fep.up.pt>
17993
17994         * buffer.C (makeDocBookFile): adds support for document language.
17995         A silly restriction on the name of LatexCommand types where removed.
17996         Added support for CDATA sections, allows to chars unescaped, used
17997         among others in code, to avoid escape < and >.
17998
17999 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18000
18001         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18002         saved positions instrad of a stack. Furthermore, a position is
18003         stored using paragraph id/paragraph position.
18004
18005         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18006         Remove LFUN_REF_BACK.
18007
18008 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18009
18010         * converter.C (dvipdfm_options): New method.
18011
18012 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18013
18014         * vspace.C (isValidLength): Fix for empty input string.
18015
18016 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18017
18018         * LyXAction.C (init): change description of LFUN_FIGURE to
18019         "Insert Graphics"
18020
18021 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18022
18023         * LaTeX.C: add using directive
18024
18025 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18026
18027         * MenuBackend.C (expand): Fix the sorting of the formats.
18028
18029 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18030
18031         * lyx_main.C: tiny error message fix
18032
18033 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18034
18035         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18036         calling fl_initialize(). This fixes the problem with ',' as
18037         decimal separator in text files.
18038
18039 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18040
18041         * trans.C (process): Fix the keymap bug.
18042
18043 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18044
18045         * LaTeX.C (scanAuxFiles): New method. Provides support for
18046         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18047         (scanLogFile) Scan for "run BibTeX" messages.
18048
18049         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18050         OT1 font encoding. Also, load the aecompl package if the ae
18051         package is loaded.
18052
18053         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18054
18055 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18056
18057         * texrow.C (increasePos): turn two error messages into debug
18058         messages.
18059
18060 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18061
18062         * LaTeX.C (scanAux): Handle the \@input macro.
18063         (runBibTeX): Use scanAux().
18064
18065         * language.C (latex_options_): New field.
18066
18067         * LaTeXFeatures.C (getMacros): Add language macros.
18068
18069         * buffer.C (makeLaTeXFile): Small fix.
18070
18071 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18072
18073         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18074
18075         * text2.C: add a using directive.
18076
18077 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18078
18079         * BufferView2.C:
18080         * lyx_gui_misc.h:
18081         * lyxfr1.C:
18082         * lyxfunc.C: kill LyXBell.
18083
18084 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18085
18086         * text.C (IsBoundary): Remove the error message
18087
18088         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18089
18090         * lyxrc.C (setDefaults): Correct initialization value for
18091         font_norm_type.
18092
18093 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18094
18095         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18096         gotoError().
18097
18098         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18099         and GotoNextNote().
18100
18101         * src/LyXAction.C: Added reference-next.
18102
18103         * text.C (InsertChar): Use contains instead of strchr.
18104
18105         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18106
18107 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18108
18109         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18110         alignment commands (when needed).
18111
18112         * text.C (InsertChar): Add ':' to number separator chars.