]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
32ccda9556be63a3547aa5c62719e98a1e948ea8
[lyx.git] / src / ChangeLog
1 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
2
3         * text.C (readParToken): fix spelling.
4
5 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
6
7         * text2.C: fix counter update for DEPM problem reported by
8         Georg Baum
9
10 2005-07-17  Juergen Vigna  <jug@lyx.org>
11
12         * BufferView_pimpl.C (setBuffer): save/restore the
13         cursor/selection when switching buffers
14
15         * buffer.h: 
16         * buffer.C (saveCursor): add saveDocumentIterators to save the
17         cursor when switching buffer.
18
19 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
20
21         * debug.C: fix typo
22         * buffer.C: clarify message
23         
24 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
25
26         * dociterator.C (DocIterator): fix initialization order
27
28 2005-07-17  Juergen Vigna  <jug@lyx.org>
29
30         * text2.C (cursorHome): 
31         * text.C (drawSelection, cursorX): 
32         * dociterator.C (textRow): add boundary to getRow() call
33
34         * paragraph.C (getRow): implementation of below
35
36         * paragraph.h: add parameter boundary for getRow() function
37
38 2005-07-18  José Matos  <jamatos@fc.up.pt>
39
40         * buffer.C:
41         * bufferparams.[Ch]:
42         * tex-strings.[Ch]: new file format, remove support for a4.sty,
43         a4wide.sty and a4widemargins.
44
45 2005-07-17  Juergen Vigna  <jug@lyx.org>
46
47         * text2.C (cursorLeft): fix one of error
48
49 2005-07-17  Juergen Vigna  <jug@lyx.org>
50
51         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
52                    cursorEnd):
53         more fixes for boundary handling
54
55         * text3.C (dispatch): don't reset cursor if boundary has changed
56         on cursor movement.
57
58 2005-07-16  Juergen Vigna  <jug@lyx.org>
59
60         * text2.C (getColumnNearX): hopefully got it right now,
61         check if we are on column 0 for special case.
62
63 2005-07-16  Juergen Vigna  <jug@lyx.org>
64
65         * text2.C (getColumnNearX): handle special case Newline Inset
66
67         * text.C (singleWidth): Just remove bogus check
68
69 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
70
71         * funcrequest.C (split): avoid reading uninitialized char c
72
73 2005-07-16  José Matos  <jamatos@fc.up.pt>
74
75         * buffer.C:
76         * converter.C:
77         * lyxrc.C:
78         * paper.h:
79         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
80         single papersize variable.
81
82 2005-07-16  Juergen Vigna  <jug@lyx.org>
83
84         * text3.C (dispatch): honor boundary when checking if a cursor
85         movement has been done
86
87         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
88         (setCursor, setCursorIntern): fix cursor movement with boundary
89
90 2005-07-16  Juergen Vigna  <jug@lyx.org>
91
92         * text.C (currentState): output the actual Boundary
93
94 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
95
96         * factory.C (createInset): fix bad logic for tabular creation
97
98 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
99
100         * lyx_main.C (init): change some reLyX reference to tex2lyx
101
102 2005-07-16  Juergen Vigna  <jug@lyx.org>
103
104         * dociterator.C (DocIterator): initialize boundary
105
106 2005-07-16  Juergen Vigna  <jug@lyx.org>
107
108         * text2.C (getColumnNearX): Consider rows without trailing blank.  
109
110 2005-07-16  André Pönitz  <poenitz@gmx.net>
111
112         * lyxfont.h: Change order of declarations to give the compiler
113         a better chance to inline things
114
115         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
116         questions on unsaved docs for better scritability
117
118 2005-07-16  André Pönitz  <poenitz@gmx.net>
119
120         * paragraph.h (getChar): remove asserts as the same kind of security
121         can be achieved by using a suitable standard library implementation
122         and the function was in the critical path (25.9% in profiler)
123
124 2005-07-16  Juergen Vigna  <jug@lyx.org>
125
126         * cursor.C (bruteFind2):
127         * bufferview_funcs.C (coordOffset): 
128         * text.C (cursorX,cursorY): Handle cursor position after last char
129         in row before a inset which uses a whole row.
130
131 2005-07-15  José Matos <jamatos@lyx.org>
132
133         * output_plaintext.[Ch] (writeFileAscii): control reference title
134         printing.
135         (asciiParagraph): noparbreak was already deal and was incorrectly
136         used.
137
138 2005-07-15  Juergen Vigna <jug@lyx.org>
139
140         * lyxfunc.C (dispatch): save and restore the cursor after a
141         textclass switch.
142
143 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
144
145         * text.C (backspace): bug 806 for empty keepempty paragraphs we
146         change the layout to default before letting DEPM do its thing.
147
148         * paragraph_funcs.C (breakParagraph): dont reset the layout on
149         keepEmpty paragraphs
150
151         * text.C (setCursorFromCoordinates): add a debug statement
152
153         * text2.C (getColumnNearX): bug 1825 make sure that we don't
154         return a pos that is not on the row
155
156         * output_latex.C (TeXDeeper): get rid of potential dereferencing
157         of past the end iterator
158
159 2005-07-14  André Pönitz  <poenitz@gmx.net>
160
161         * undo.C (recordUndoFullBuffer): implement undo for
162         textclass switches
163
164 2005-07-14  André Pönitz  <poenitz@gmx.net>
165
166         * cursor.C (setSelection): open insets when selection is set there
167         to avoid crashs with cold coord cache
168
169 2005-07-14  André Pönitz  <poenitz@gmx.net>
170
171         * trans_mgr.C (insert): move cursor to the right after inserting
172         a char.
173
174 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
175
176         * BufferView_pimpl.C (update): dampen some of the debug blabbering
177         * factory.C (readInset): ditto
178         * text.C, text2.C: ditto
179
180 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
181
182         * buffer.C: format incremented to 242. There is no file format per
183         se, but the "frenchb" language has been removed from lib/language
184         and has to be translated to "french" by lyx2lyx.
185
186 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
187
188         * cursor_slice.h, dociterator.h: add some documentation
189         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
190
191 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
192
193         * text.C (leftMargin): do not add identation to display() style
194         insets, because they are always centered (bug 1293).
195
196 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
197
198         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
199         formatted_time methods in support/lyxtime.
200
201 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
202
203         * toc.[Ch]: new method getGuiName, which is used by the frontends 
204         to set the toc combo (fixes bug 1870). Make TOC string translatable.
205
206 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
207
208         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
209         StableDocIterator const &)
210         * undo.C (recordUndo): use the above instead of cell.size() comparison
211         (fixes bug 1808; instructed by André).
212
213 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
214
215         * cursor_slice.h: 
216         * dociterator.h: Fix the assert when copying rows/cols in math
217
218 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
219
220         * BufferView_pimpl.C:
221         * LyXAction.C:
222         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
223
224         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
225         (findInset): new functions, refactored from goto Inset that return 
226         the position of a certain inset without setting the buffer's cursor
227         (by Jean-Marc); 
228         (gotoInset): rewrite to call findInset and then set the cursor
229         (by Jean-Marc).
230
231 2005-06-16  Angus Leeming  <leeming@lyx.org>
232
233         * lyxrc.C (output, read): wrap all input and output of paths with
234         calls to os::internal_path and os::external_path, respectively.
235         (output): wrap bind_file inside quotes.
236
237         * format.C (view): enable the viewer to use the '$$s' placeholder.
238
239 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
240
241         * LColor.[Ch] (getFromLaTeXName): new
242
243 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
244
245         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
246
247 2005-06-14  Angus Leeming  <leeming@lyx.org>
248
249         * lyx_main.C (init): ensure that the LyX binary dir is the first
250         element in the PATH on non-POSIX builds.
251
252 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
253
254         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
255
256 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
257
258         * rowpainter.C (paintInset, paintHebrewComposeChar)
259         (paintArabicComposeChar, paintChars): add a LyXFont argument.
260         (paintChars): use getFontSpan to reduce calls to getFont to a
261         minimum; use Paragraph::lookupChange instead of isXXXText.
262         (paintForeignMark): rename LyXFont argument.
263         (paintFromPos): pass a LyXFont object to the various paintXXX
264         methods.
265
266         * FontIterator.C (FontIterator, operator++): use
267         Paragraph::getFontSpan
268
269         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
270         version that returns the font span as a pair.
271
272 2005-06-09  Angus Leeming  <leeming@lyx.org>
273
274         * converter.C (convert): Don't forget "outfile = real_outfile" as
275         the final step in a conversion where the input and output file names
276         are the same. Otherwise, future conversion steps won't work...
277
278 2005-06-09  Angus Leeming  <leeming@lyx.org>
279
280         * lyxsocket.C: remove stub code as it isn't needed by
281         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
282
283 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
284
285         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
286         effectively disabled -x
287
288 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
289
290         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
291         when it actually makes sense.
292
293 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
294
295         * BufferView_pimpl.C: revert to showCursor in connection with
296         Lars's front-end stack
297
298 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
299
300         * text.C (redoParagraph): move cursor right after a bibitem
301         has been inserted.
302
303         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
304
305 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
306
307         * buffer_funcs.C (bufferErrors): fix computation of the end of an
308         error range.
309
310 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
311
312         * BufferView.[Ch] (update):
313         * BufferView_pimpl.[Ch] (update, metrics):
314         * dimension.h (operator==):
315         * lyxfunc.C (dispatch):
316         * metricsinfo.h (ViewMetricsInfo):
317         * rowpainter.C (paintText):
318         * lyxtext.h:
319         * text.C (redoParagraph):
320         * text3.C (dispatch): Make LyX only repaint current paragraph in
321         case of character insert --> speedup. Also fix cursor draw
322         artifacts
323
324 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
325
326         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
327         avoid a crash (bug 1891)
328
329 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
330
331         Fix bug 1892:
332
333         * text2.C (getStringToIndex): constify cur argument.
334
335         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
336         argument has been given
337         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
338         try to invoke LFUN_INSET_APPLY).
339
340         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
341         if no inset was created by doInsertInset
342         (doInsertInset): return true if an inset has been inserted.
343
344 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
345
346         * vspace.C (asGUIName): new method. A version of the space
347         suitable for showing on screen.
348
349 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
350
351         * MenuBackend.C:
352         * lyxrc.C: rename "ASCII" to "Plain Text"
353
354 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
355
356         * buffer_funcs.C (expandLabel): take a Buffer as argument;
357         translate the labelstring.
358         (setCounter): translate labelstring as needed.
359
360         * output_docbook.C (makeCommand): fix expandLabel invokation
361
362 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
363
364         * BufferView.C: fix dialog title
365
366 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
367
368         * lyx_main.C (priv_exec): fix logic error with help from Angus
369         * lyx_main.C (parse_execute): set is_gui = false and remove now
370         obsolete comment about a segfault
371
372 2005-05-18  Angus Leeming  <leeming@lyx.org>
373
374         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
375
376 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
377
378         * tabular.[hC]: added setCellInset to fix tabular paste.
379
380 2005-05-11  Lars Gullik Bjonnes  <larsbj@gullik.net>
381
382         * buffer.C (save): check if destination is writable before trying
383         to copy a file
384
385 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
386
387         * BufferView_pimpl.C (update): fix processEvents -caused update
388         recursion bug
389
390 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
391
392         * buffer_funcs.C (setCounter): fix test for numbering of
393         environments.
394
395         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
396         depth correctly; use optional argument when it exists
397
398         * lyxtextclass.C: remove unused MaxCounterTags enum
399         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
400         (max_toclevel, min_toclevel): new methods.
401
402         * MenuBackend.C (expandToc2): fix case where depth is smaller than
403         the smallest depth in toc.
404
405         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
406         layouts that should not appear in a table of contents.
407
408 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
409
410         * cursor.h (undispatched, noUpdate): add comments from André
411
412 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
413
414         * lfuns.h:
415         * LyXAction.C:
416         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
417
418 2005-05-07  André Pönitz  <poenitz@gmx.net>
419
420         * cursor.[Ch] (leaveInset): new function
421
422 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
423
424         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
425
426 2005-05-04  Angus Leeming  <leeming@lyx.org>
427
428         * lyxfunc.C (getStatus): disable the spell checker dialog if
429         none of USE_[AIP]SPELL are defined.
430
431 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
432
433         * tabular.C (setWidthOfCell): remove obsolete comment
434
435 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
436
437         * paragraph.C (bibitem):
438         * buffer_funcs.C (setCounter):
439         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
440
441 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
442
443         * text3.C (getStatus): immediately return after setOnOff
444
445         * rowpainter.C: fix drawing of appendix start
446
447 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
448
449         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
450         SwitchBetweenClasses and remove the unused return value.
451         Handle character styles, too
452
453 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
454
455         * factory.C (createInset): handle undefined character styles
456
457 2005-05-02  Angus Leeming  <leeming@lyx.org>
458
459         * buffer.C: protect the #include of utime.h with a preprocessor
460         guard.
461
462 2005-05-02  Angus Leeming  <leeming@lyx.org>
463
464         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
465         function so that auto-saving works, albeit in a blocking manner.
466
467         * Makefile.am: make compilation of the client sub directory, of
468         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
469         on conditionals set at configure time.
470
471         * SpellBase.[Ch]: no longer an abstract base class. Instead,
472         it can be compiled in its own right but has no-op functionality.
473
474         * aspell.C, pspell.C: remove preprocessor guards. The files should
475         be compiled only if the necessary functionality exists.
476
477         * lyxserver.C, lyxsocket.C: disable on Windows.
478
479 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
480
481         * text.C (leftMargin): Fix the parindent use bug (1764)
482         by dirty trick
483
484 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
485
486         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
487         argument.
488
489 2005-04-25  Angus Leeming  <leeming@lyx.org>
490
491         * Bidi.[Ch]:
492         * coordcache.[Ch]:
493         * ispell.C:
494         * lyxserver.C:
495         * mover.C:
496         * pch.h:
497         include <config.h> in .C files, not .h ones.
498         add licence blurb.
499         protect headers inside preprocessor guards.
500
501 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
502
503         * FuncStatus.h (StatusCodes): document
504
505 2005-04-21  André Pönitz  <poenitz@gmx.net>
506
507         * FuncStatus.h (enabled, onoff): document
508
509 2005-04-19  Angus Leeming  <leeming@lyx.org>
510
511         * BufferView_pimpl.C (cursorToggle): no longer test whether
512         any child processes have been reaped before calling
513         handleCompletedProcesses().
514
515 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
516
517         * text3.C (dispatch): fix, finally fix, the language problem in
518         new lyxtexts, without disabling on-the-fly font changes (Helge's
519         bug report)
520
521 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
522
523         * text3.C (dispatch): set cursor on double/triple click events
524         (bug 1811)
525
526 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
527
528         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
529         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
530
531         * rowpainter.C (paintFirst): simplify the code a little bit. In
532         particular, remove the test for secnumdepth.
533         * text.C (setHeightOfRow): only allocate space for chapter number
534         when updateCounters provided an actual label, instead of looking
535         at secnumdepth directly.
536
537         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
538
539         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
540         paragraphs when secnumdepth is large enough or, for environments,
541         when they are not the first in a sequence.
542
543 2005-04-17  Angus Leeming  <leeming@lyx.org>
544
545         * buffer.C (makeLaTeXFile): replace code to manipulate a path
546         containing space and '~' characters with a call to latex_path().
547
548 2005-04-17  Angus Leeming  <leeming@lyx.org>
549
550         * converter.C (convert): protect all args of convertDefault.sh
551         script with quotes.
552
553 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
554
555         * text3.C (dispatch): change the layout to "Caption" after inserting
556         a float.
557
558 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
559
560         * text3.C (dispatch): fix language problem in newly created
561         textinsets (and main text) in non-english docs
562
563 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
564
565         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
566         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
567         * text3.C (getStatus): disable LFUN_INSET_MODIFY
568
569 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
570
571         * lyxtext.h:
572         * text.C (metrics):
573         * text2.C (getFont):
574         * rowpainter.C (getFont): Fix metrics bug introduced by inset
575         fonts fix
576
577 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
578
579         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
580         output of \item arguments without trailing text.
581
582 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
583
584         * FontIterator.C (operator*): avoid a copy of the font.
585
586 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
587
588         * rowpainter.C (getFont): fix language bug from previous fix
589
590 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
591
592         * rowpainter.C (RowPainter, getFont): fix font inside inset
593         (bugs 1766, 1809)
594
595 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
596
597         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
598         preventing inserted font, deco, delim insets jumping to start of
599         surrounding inset.
600
601 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
602
603         * lyxfunc.C (dispatch): translate message before sending it to the
604         minibuffer.
605
606 2005-03-29  Angus Leeming  <leeming@lyx.org>
607
608         * lyx_main.C (priv_exec): call os::internal_path on each file passed
609         to LyX on the command line.
610
611 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
612
613         * vc-backend.C: use QuoteName to protect file names wherever
614         necessary.
615
616 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
617
618         * buffer.[Ch]:
619         * BranchList.h: fix bugs 1844,1845: document settings don't
620         stick
621
622 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
623
624         * lyxrc.C (setDefaults, read, output, getDescription): add support
625         for tex_allows_spaces.
626
627         * exporter.C (Export): allows files in directory containing spaces
628         if tex_allows_spaces is true.
629
630         * buffer.C (makeLaTeXFile): if the document path contains spaces,
631         output it in double quotes.
632
633 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
634
635         * rowpainter.C: use default text height for drawing change tracker
636         strikeout lines.
637
638 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
639
640         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
641
642 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
643
644         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
645         directory is missing.
646
647 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
648
649         * text2.C: fixed the fix, extended to other case.
650
651 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
652
653         * text2.C: fix for cursor up/down stuck in math [bug 1792]
654
655 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
656
657         * text2.C (cursorUp): get rid of a crash
658         * text.C (x2pos): add an assert
659
660 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
661
662         * lyxfunc.C (getStatus): fix warning when assertions are disabled
663
664         * text3.C:
665         * lyxfunc.C:
666         * dociterator.C: include <boost/current_function.hpp>, which is
667         needed when assertions are disabled.
668
669 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
670
671         * text2.C: fix for stuck cursor when traversing two
672         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
673
674 2005-02-25  Andreas Vox  <avox@arcor.de>
675
676         * output_docbook.C (makeParagraph): suppress trailing newline
677         after a run of paragraphs
678
679 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
680
681         * paragraph.C: fix for confused change tracker when pasting
682         text that begins with a lineseparator. [bug 1827]
683         (setChange(0, Change::INSERTED);)
684
685         * paragraph_funcs.C: fix for lost changes on triple-paste
686         in change tracking mode [bug 1827] (par.setChange()).
687
688 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
689
690         * text2.C (updateCounters, setCounter, expandLabel): move to
691         buffer_funcs.
692
693         * buffer_funcs.C (updateCounters): turn into a free standing
694         function and add a buffer parameter. Remove dead code for tracking
695         labelstring change.
696         (setCounter): change into a free-standing function which gets a
697         dociterator as argument. Use this iterator to fix captions in a
698         simple way. When no float is found above the caption, use the
699         labelstring of the caption layout as default.
700
701         * text.C (breakParagraph, backspace):
702         * text2.C (init, setLayout, changeDepth):
703         * text3.C (dispatch):
704         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
705         updateCounters.
706
707         * dociterator.C (forwardPar): make it much faster by calling
708         forwardPos() only when really necessary.
709
710         * output_docbook.C (makeCommand): adapt to expandLabel move.
711
712         * cursor.C: remove unused variable
713
714 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
715
716         * paragraph_funcs.C: fix crash when pasting insets in change
717         tracking mode [bug 1277] (honour change type in moveItem).
718
719 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
720
721         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
722
723 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
724
725         * BufferView.C (setCursor): change to use a DocIterator.
726         (gotoLabel): use BufferView::setCursor (other part of bug 781).
727         (putSelectionAt): adapt to BufferView::setCursor change.
728
729         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
730         moved here from LyXText and rewritten to use proper cursor
731         methods. Fixes bug 1787, 616 and 835.
732
733         * BufferView_pimpl.C (restorePosition): set the cursor correctly
734         when inside an inset (part of bug 781).
735         (dispatch): adapt to change of BufferView::setCursor.
736         (getStatus, dispatch): handle LFUN_GOTOERROR,
737         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
738
739         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
740         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
741         * text3.C (gotoNextInset, gotoInset): removed.
742
743 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
744
745         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
746
747 2005-02-15  Angus Leeming  <leeming@lyx.org>
748
749         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
750         can be used meaningfully in a comparison.
751
752 2005-02-13  André Pönitz  <poenitz@gmx.net>
753
754         * bufferview_funcs.C (coordOffset): improve cursor drawing
755
756 2005-02-13  André Pönitz  <poenitz@gmx.net>
757
758         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
759         * Cursor.C (dispatch): use fixIfBroken
760         * lyxfunc.C (getStatus): use fixIfBroken
761
762 2005-02-15  Angus Leeming  <leeming@lyx.org>
763
764         * lyx_main.C (error_handler):
765         * lyxfunc.C:
766         * lyxrc.C (setDefaults):
767         s/GetEnv/getEnv/.
768         #include "environment.h".
769
770         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
771
772 2005-02-15  Angus Leeming  <leeming@lyx.org>
773
774         * lyxserver.C (startPipe): squash MSVC warning "local variable
775         'fd' used without having been initialized".
776
777 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
778
779         * BufferView_pimpl.C: revert accidental commit.
780
781 2005-02-14  André Pönitz  <poenitz@gmx.net>
782
783         * dociterator.[Ch]: new member forwardPosNoDescent(),
784         which doesn't enter nested insets.
785         * text2.C (setFont): use forwardPosNoDescent() instead
786         of ForwardPos() (fixes crash on font change).
787
788 2005-02-13  Angus Leeming  <leeming@lyx.org>
789
790         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
791         only if lyxrc.path_prefix is not empty.
792
793 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
794
795         * bufferparams.C (readGraphicsDriver): prevent crash
796
797 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
798
799         * text2.C (setCounter): check for inInset() == 0
800
801 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
802
803         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
804         but use update() to get correct screen display; use convert
805         instead of istringstream.
806         (getStatus): handle LFUN_GOTO_PARAGRAPH
807
808         * lyxfunc.C (dispatch, getStatus): do not handle
809         LFUN_GOTO_PARAGRAPH here.
810
811 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
812
813         * text3.C (dispatch): size() -> depth()
814
815         * text2.C: remove some debug output
816
817         * paragraph.C: ws changes only
818
819         * lyxfunc.C (getStatus): size() -> depth()
820
821         * dociterator.h (clear, push_back, pop_back, internalData,
822         operator[], resize, empty): new functions
823         Make StableDocIterator and operator== be friends. Don't inherit
824         from std::vector use a privat class variable slices_ instead.
825         Modify to fit.
826
827         * dociterator.C: update because of not inheriting from std::vector
828         anymore. Call explictly to slices_ instead. Use depth() instead of
829         size() and top() instead of back()
830
831         * cursor.C: chagne size() -> depth and back() -> top(). Also
832         remove some direct operator[](i) calls in favour of foo[i]
833         (getFont): remove some dead code
834
835         * bufferview_funcs.C (coordOffset): size() -> depth()
836
837         * buffer.C: ws changes only
838
839         * CutAndPaste.C (eraseSelection): back() -> top()
840
841         * BufferView_pimpl.C (selectionRequested): back() -> top()
842
843         * BufferView.C (setCursor): size() -> depth()
844
845 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
846
847         * text3.C (cursorPrevious): return true if depm changed something
848         (cursorNext): ditto
849         (dispatch): rename sl to oldTopSlice, remove moving use the new
850         NoUpdate func attrib instead. Make sure that needsUpdate is set
851         for function that have NoUpdate, but where depm might have changed
852         the buffer anyway.
853
854         * text2.C (cursorLeft): make us return true if depm changed
855         something
856         (cursorRight): ditto
857         (cursorUpParagraph): ditto
858         (curosrDownParagraph): ditto
859         (cursorUp, cursorDown): ditto, make sure to read comments in code
860         (deleteEmptyParagraphMechanism): remove an assert, also return
861         true if just a single char was deleted.
862
863         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
864         cursor that we modify, to avoid modifying an active cursor before
865         we call setCursor. This allows depm to run. Also return true if
866         depm deleted something.
867
868         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
869         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
870         cursorDownParagraph, cursorPrevious and cursorNext, return true if
871         something was changed in the buffer because of them (ie. depm run)
872
873         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
874         debug messages. Make update by default be false. Make sure that
875         the result of update is retained throught several calls down to
876         dispatch.
877
878         * LyXAction.h: add a new func_attrib: NoUpdate
879
880         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
881         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
882         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
883         and LFUN_WORDLEFT
884         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
885
886 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
887
888         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
889         bv_->owner(), bv_->buffer() by direct references to the private
890         members.
891         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
892         (getStatus): isSavedPosition() is in BufferView::Pimpl.
893         (fitCursor): center() is in BufferView::Pimpl.
894         (getStatus, trackChanges, dispatch): no need for a temporary buf
895         variable
896         (fitCursor, workAreaDispatch): use workarea().workheight()
897
898 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
899
900         * CutAndPaste.C (pasteSelectionHelper): fix a crash
901
902 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
903
904         * buffer.C: format up to 241.
905         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
906         break if pasting into ERT
907         * lyxfunc.C (getStatus): suppress mathpanel and
908         LFUN_DIALOG_SHOW_NEW_INSET in ERT
909
910 2005-02-01  Angus Leeming  <leeming@lyx.org>
911
912         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
913
914 2005-02-01  Angus Leeming  <leeming@lyx.org>
915
916         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
917         calling fs::is_directory().
918
919 2005-01-31  Angus Leeming  <leeming@lyx.org>
920
921         * lyx_main.C (priv_exec): specify explicitly the relative location
922         of the top level build directory when run in-place.
923
924 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
925
926         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
927         LyXText containing the cursor, not the top-level one.
928
929         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
930         true.
931         (insertStringAsLines): rename par to pit; use temporary variable
932         par to hold a Paragraph; do not store par.layout() in a variable,
933         since the pointer may die when breaking paragraphs; pass pars to
934         breakParagraph() instead of Buffer::paragraphs().
935
936 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
937
938         * lyxlex_pimpl.h: #include <fstream>.
939
940         * BufferView.[Ch] (getLyXText): add a const version.
941
942         * BufferView_pimpl.C: add debug aids.
943
944         * RowList_fwd.h:
945         * buffer.h:
946         * lyxrow.h:
947         * paragraph_funcs.h: add commentary explaining what the class does.
948
949
950         * coordcache.[Ch]: add lots of commentary.
951         (startUpdating, doneUpdating): debug aids.
952         (arrays, insets, parPos, getParPos): accessors to private data.
953
954         * cursor_slice.[Ch] (text): add a const version.
955         * dociterator.[Ch] (text, innerText): add const versions.
956
957         * lyxtext.h (breakParagraph): change the keep_layout arg to a
958         bool.
959
960         * paragraph.C (getRow, pos2ros): add asserts.
961
962         * paragraph.h: add commentary. Lots of.
963
964         * paragraph.[Ch] (metrucs, draw): removed.
965
966         * cursor.C:
967         * rowpainter.[Ch]: const-correct changes.
968
969         * text.C: various obvious clean-ups. Removal of ancient cruft.
970         Bug fixes, even.
971
972 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
973
974         * vc-backend.C (find_file): rewrite to use boost.filesystem
975         (scanMaster): ditto
976
977         * main.C (main): set default name check for boost.filesystem to
978         no check
979
980         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
981         (open): ditto
982         (doImport): ditto
983         (actOnUpdatedPrefs): ditto
984
985         * lyx_main.C (init): rewrite to use boost.filesystem
986         (queryUserLyXDir): ditto
987
988         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
989         (getContentsOfAsciiFile): ditto
990
991         * lastfiles.C (readFile): rewrite to use boost.filesystem
992
993         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
994
995         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
996         (loadLyXFile): ditto
997
998         * buffer.C (Buffer): adjust for destroydir
999         (getLogName): rewrite to use boost.filesystem
1000         (setFileName): ditto
1001         (save): use fs::copy_file (from fs_extras)
1002
1003         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1004
1005         * LaTeX.C (run): rewrite to use boost.filesystem
1006         (scanAuxFiles): ditto
1007         (handleFoundFile): ditto
1008
1009 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1010
1011         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1012
1013         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1014
1015 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1016
1017         * lyxlayout.[Ch]: change some vars from float to double
1018
1019         * buffer.C (readFile): make a local var const
1020
1021         * Several files: use convert<> instead of atoi,strToXXX and friends
1022
1023 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1024
1025         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1026         holds the contents of packages.lst. New functions getAvailable
1027         and isAvailable to parse and check that list, resp.
1028
1029         * LyXAction.C:
1030         * lfuns.h:
1031         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1032
1033         * bufferparams.[Ch]: new param output_changes.
1034
1035         * Buffer.C: increase file format to 240.
1036         Use output_changes and isVailable.
1037
1038         * changes.[Ch]:
1039         * paragraph.C:
1040         * paragraph_pimpl.C: Use output_changes and isVailable.
1041
1042 2005-01-23  Angus Leeming  <leeming@lyx.org>
1043
1044         * output_latex.C: #include "insetbibitem.h", rather than
1045         forward declare function bibitemWidest.
1046
1047 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1048
1049         * lyx_main.C (init): make it compile on the Mac.
1050
1051 2005-01-20  Angus Leeming  <leeming@lyx.org>
1052
1053         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1054         (setLyXMisc): (char string literal) != (char string literal) is
1055         performing a comparison on the addresses. Convert one operand
1056         explicitly to string to guarantee expected behaviour.
1057         From MSVC warning.
1058
1059 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1060
1061         * buffer.C:
1062         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1063
1064         * output_plaintext.C: remove unneeded #include gzstream.h.
1065
1066 2005-01-20  Angus Leeming  <leeming@lyx.org>
1067
1068         * SpellBase.h: rename some of the elements of the Result enum.
1069
1070         * aspell_local.h:
1071         * ispell.h:
1072         * pspell.h:
1073         * aspell.C (check):
1074         * ispell.C (check):
1075         * pspell.C (check): ditto
1076
1077 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1078
1079         * buffer.C: add #include <fstream>.
1080
1081         * lyx_main.C (init): Compile fix.
1082
1083         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1084
1085 2005-01-20  Angus Leeming  <leeming@lyx.org>
1086
1087         * mover.h: change commentary to reflect the changed meaning of
1088         the $$s placeholder.
1089
1090 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1091
1092         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1093
1094         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1095
1096 2005-01-20  Angus Leeming  <leeming@lyx.org>
1097
1098         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1099         printing diagnostic data by not dereferecing an iterator past the
1100         end.
1101
1102 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1103
1104         * buffer.C (readHeader): use "&&" rather than "and".
1105
1106         * lyxserver.h (inPipeName, outPipeName): make these const.
1107
1108 2005-01-19  Angus Leeming  <leeming@lyx.org>
1109
1110         * lyx_main.C (error_handler, init): protect SIGHUP with
1111         #ifdef SIGHUP guards.
1112
1113 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1114
1115         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1116
1117 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1118
1119         * text.C (setHeightOfRow): add a margin at the top and bottom of
1120         the document (bug 1761)
1121
1122 2005-01-17  Angus Leeming  <leeming@lyx.org>
1123
1124         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1125         with "python ". Workaround for a brain-dead Windows.
1126
1127 2005-01-16  Angus Leeming  <leeming@lyx.org>
1128
1129         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1130         for MacOSX and Windows to use prependEnvPath.
1131         Strip out the hard-coded block to add elements to the PATH for
1132         MacOSX and replace it with a call to prependEnvPath using the
1133         contents of LyXRC::path_prefix.
1134         (queryUserLyXDir): strip out the code to run reconfigure, instead
1135         returning a boolean indicating the necessity to do so.
1136         (reconfigureUserLyXDir): contains the code to reconfigure the
1137         user support directory. Is now called after the various LyXRC data
1138         files have been read.
1139
1140         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1141
1142 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1143
1144         * converter.[Ch] (convert): take a new parameter try_default. Use
1145         a default converter (imagemagick) if try_default is true.
1146
1147 2005-01-13  Angus Leeming  <leeming@lyx.org>
1148
1149         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1150         os::cygwin_path_fix.
1151         (write): output LyXRC::cygwin_path_fix as necessary.
1152
1153 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1154
1155         * lyxrc.h:
1156         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1157
1158 2005-01-12  Angus Leeming  <leeming@lyx.org>
1159
1160         * lyx_main.C (init): set the PATH variable to include the
1161         directory containing the LyX binary when running on Mac or Windows.
1162
1163 2005-01-12  Angus Leeming  <leeming@lyx.org>
1164
1165         * lyx_main.C (init): remove cruft that purports to set the locale
1166         dir. It doesn't and is not needed anyway.
1167
1168 2005-01-10  Angus Leeming  <leeming@lyx.org>
1169
1170         * Makefile.am: remove the lyx_main.C special casing.
1171
1172         * BufferView_pimpl.C:
1173         * bufferlist.C:
1174         * exporter.C:
1175         * lyx_cb.C:
1176         * lyx_main.C:
1177         * lyxfunc.C:
1178         * messages.C: use support/package.h to provide the paths to the
1179         various directories used by LyX.
1180
1181 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1182
1183         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1184         layout if pasting into an empty paragraph)
1185
1186 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1187
1188         * tex-accent.C: add <string>
1189
1190 2005-01-06  José Matos  <jamatos@lyx.org>
1191
1192         * ParagraphParameters.C (write): put every parameter in its own line.
1193         * paragraph.C (write): reduce number of consecutive empty lines exported.
1194         * buffer.C (LYX_FORMAT): increase file format to 239.
1195
1196 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1197
1198         * everywhere: change support/tostr.h -> support/convert.h
1199
1200         * tabular.C: make all write_attributes templates, tostr -> convert
1201
1202         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1203         (emptyTag): and -> &&, and fix type for ret from getChar
1204         (getFirstWord): fix type for ret from getChar
1205         (onlyText): and -> &&
1206         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1207         getChar
1208
1209         * toc.C (goTo, action):
1210         * text3.C (dispatch):
1211         * text.C (currentState):
1212         * tex-accent.C (DoAccent):
1213         * sgml.C:
1214         * lyxrc.C:
1215         * lyxfunc.C (menuNew):
1216         * lyxfinc.C (replace):
1217         * counters.C (laberItem):
1218         * bufferview_funcs.C (font2string):
1219         * bufferparams.C (writeFile):
1220         * buffer.C (readFile):
1221         * Spacing.C (set):
1222         * MenuBackend.C: tostr -> convert
1223
1224         * LaTeX.C (runMessage): fix format
1225         (scanAuxFiles): tostr -> convert
1226
1227         * BufferView_pimpl.C (savePosition): fix format
1228         (restorePosition): ditto
1229         (dispatch): ditto
1230
1231 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1232
1233         * Spacing.[Ch]: New method getValueAsString().
1234
1235         * Spacing.[Ch]:
1236         * bufferparams.C:
1237         * ParagraphParameters.C:
1238         * lyxlayout.C:
1239         * text.C:
1240         * text3.C: store/read spacing value as string.
1241
1242         * rowpainter.C: change float value (spacing_val) to double.
1243
1244         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1245         broken custom document spacing).
1246
1247 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1248
1249         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1250         namespace, also more use of temp references and const
1251
1252         * cursor.[Ch] (getStatus): move to lyxfunc.C
1253
1254         * bufferparams.C: reformat slightly
1255
1256         * bufferview_funcs.C (font2string): constify arg
1257
1258         * changes.C:
1259         * converter.C:
1260         * counters.C:
1261         * bufferlist.C:
1262         * buffer_funcs.C: (many funcs): constify arg on function
1263         definitions, also make more local vars const, also add ASSERTS on
1264         pointer args.
1265
1266         * buffer.C (LYX_FORMAT): put const in correct place
1267         (many funcs): constify arg on function definitions, also make
1268         more local vars const
1269
1270         * aspell_local.h: remove "struct" from typdef setup
1271
1272         * aspell.C (check): make word_ok const
1273         (nextMiss): simplify slightly
1274         (error): ditto
1275
1276 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1277
1278         * lyxrc.[Ch]: store all float values as strings.
1279         use int (not float) for lyxrc.dpi.
1280
1281 2005-01-04  Angus Leeming  <leeming@lyx.org>
1282
1283         * lyx_cb.C (Reconfigure):
1284         * lyx_main.C (queryUserLyXDir):
1285         to run the <system_lyxdir>/configure correctly on Windows, prefix
1286         the path to the script with "sh " when generating the string that
1287         is passed to system().
1288
1289 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1290
1291         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1292
1293 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1294
1295         * lyxlength.C (asLatexString): get rid of setprecision
1296
1297 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1298
1299         * text2.C (setLayout): remove unused variable endpit.
1300         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1301
1302         * paragraph.C (onlyText): remove unused variable style.
1303
1304         * cursor.C (bruteFind): remove unused variables beg and end.
1305
1306         * Makefile.am (dist_noinset_DATA): not needed anymore
1307
1308         * cheaders/*: remove.
1309
1310 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1311
1312         * text3.C: fix LFUN_MATH_MODE.
1313
1314 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1315
1316         * buffer_funcs.C (countWords): new function. Counts words between
1317         two iterators.
1318
1319         * BufferView_pimpl.C (getStatus, dispatch): handle
1320         LFUN_WORDS_COUNT.
1321
1322         * LyXAction.C (init):
1323         * lfuns.h: add LFUN_WORDS_COUNT.
1324
1325 2004-12-19  Angus Leeming  <leeming@lyx.org>
1326
1327         * buffer.C (save): s/slashify_path/internal_path/.
1328
1329 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1330
1331         * lyxfind.C (findChange): do not search for end of pars, because
1332         the change tracker cannot handle this (fixes bug 1719).
1333
1334 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1335
1336         * paragraph.[Ch] (autoBreakRows): remove
1337
1338         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1339
1340         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1341         avoid using the paragraph one
1342
1343         * text2.C (LyXText, insertStringAsLines): adjust
1344
1345 2004-12-16  Angus Leeming  <leeming@lyx.org>
1346
1347         * bufferlist.C:
1348         * lyx_main.C:
1349         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1350
1351 2004-12-14  Angus Leeming  <leeming@lyx.org>
1352
1353         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1354
1355         * bufferlist.C (emergencyWrite):
1356         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1357         GetEnvPath("HOME").
1358
1359 2004-12-14  Angus Leeming  <leeming@lyx.org>
1360
1361         * main.C: (main): no longer pass pointers to os::init.
1362
1363 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1364
1365         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1366         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1367
1368 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1369
1370         * lyxfunc.C:
1371         * text3.C: remove selection_possible global flag
1372
1373 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1374
1375         * text2.C (getSelectionSpan): remove
1376         (changeDepth, changeDepthAllowed): adjust
1377
1378 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1379
1380         * Makefile.am (BOOST_LIBS): use boost variables
1381
1382 2004-12-03  José Matos  <jamatos@lyx.org>
1383
1384         * buffer.C: format up to 238.
1385
1386 2004-12-03  José Matos  <jamatos@lyx.org>
1387
1388         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1389
1390 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
1391
1392         * cursor.C (goUpDown): remove call to idxUpDown2
1393
1394 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1395
1396         * tabular.[Ch]: use size_t-like types for cell, row and column
1397         indices
1398
1399 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1400
1401         * lyxfunc.C (getStatus): do not lose previous information when
1402         calling BufferView::getStatus; do not set a default "Command
1403         disabled" message at the beginning, but just before returning.
1404
1405 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1406
1407         * cursor.h (getStatus): add better comment from src/cursor.C
1408
1409 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1410
1411         * text3.C (getStatus): return false when the lfun is not handled
1412
1413 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1414
1415         * broken_headers.h: remove
1416
1417         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1418
1419 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1420
1421         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1422         offset_ref accessors
1423
1424         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1425         top_y_, merge fitcursor with update
1426         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1427         coord scheme
1428         (metrics): introduce
1429         (workAreaDispatch): adapt to new coord scheme
1430         (redoCurrentBuffer): remove
1431
1432         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1433
1434         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1435         CurStatus enum.
1436
1437         * coordcache.[Ch]: add paragraph cache and helpers
1438
1439         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1440         adjust everywhere
1441
1442         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1443         (targetX, setTargetX): introduce
1444
1445         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1446         baseline -> ascent, as the rest of lyx
1447
1448         * lyxtext.h: remove redoParagraphs, updateParPositions,
1449         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1450         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1451         have ascent/descent (ascent is ascent of first par)
1452
1453         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1454         step of BufferView
1455
1456         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1457
1458         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1459
1460         * pariterator.C: fix infinite loop introduced in par->pit renaming
1461
1462         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1463         in insets and LyXText, draw two off-screen paragraphs using
1464         NullPainter, and adapt to new coord scheme
1465
1466         * text.C:
1467         * text2.C:
1468         * text3.C: adapt lfun handlers to the new coord scheme, which
1469         means: there's only guaranteed coord information for onscreen pars
1470         plus one above and one below. This implies that one can do search
1471         from y coordinates in the range [-1,workHeight]
1472
1473 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1474
1475         * rename a lot of InsetOld to InsetBase
1476
1477 2004-11-25  Angus Leeming  <leeming@lyx.org>
1478
1479         * BufferView_pimpl.C:
1480         * lyx_cb.C:
1481         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1482
1483 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1484
1485         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1486         call BufferView::getStatus if LCursor::getStatus did nothing
1487         (setStatusMessage, getStatusMessage): removed.
1488
1489         * FuncStatus.C (message): new methods. Used to provide an error
1490         message indicating why a command is disabled.
1491         (clear, |=, FuncStatus): update for message.
1492
1493 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1494
1495         * lyxfunc.C (dispatch): always call sendDispatchMessage
1496
1497 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1498
1499         * BufferView.C:
1500         * BufferView_pimpl.C:
1501         * CutAndPaste.C:
1502         * FontIterator.C:
1503         * buffer.C:
1504         * cursor.C:
1505         * cursor_slice.[Ch]:
1506         * dociterator.[Ch]:
1507         * lyxfind.C:
1508         * paragraph_funcs.C:
1509         * pariterator.C:
1510         * rowpainter.C:
1511         * text.C:
1512         * text2.C:
1513         * text3.C:
1514         * undo.C: par->pit renaming
1515
1516 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1517
1518         * tabular.C (cellstruct): use initialization, store a shared_ptr
1519         to insettext instead of the insettext directly, adjust to fit.
1520         (operator=):  new function
1521         (swap): new function
1522         (rowstruct): use initialization
1523         (columnstruct): use initialization
1524         (ltType): use initialization
1525
1526
1527         * lyxlength.h (swap): new function
1528
1529         * LColor.[Ch] (operator=): use the common semantics
1530
1531 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1532
1533         * lyxfind.C (findNextChange): update the bufferview after setting
1534         the selection.
1535
1536 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1537
1538         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1539         number of InsetOptArgs has already been inserted.
1540
1541         * output_latex.C (latexOptArgInsets): new method. This outputs all
1542         the optarg insets, up to the limit defined in the layout file.
1543         (optArgInset): removed
1544         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1545
1546 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1547
1548         * paragraph.C (isLetter): remove special spellchecker-related
1549         code; return true also for digits
1550         (isWord, isKomma): remove
1551
1552         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1553         * lyxfind.C (MatchString()): use isLetter instead of isWord
1554
1555 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1556
1557         * pariterator.h (operatir=): comment out un-implemented member
1558         function.
1559
1560         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1561         static cast.
1562
1563 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1564
1565         * lyxfont.h: include LColor.h to satisfy concept checks.
1566
1567 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1568
1569         * pariterator.h: add typdefs for value_type, difference_type,
1570         pointer and reference to satisfy concept checks. Also add default
1571         constructor for same reason.
1572
1573         * pariterator.C (operator++): add post-increment operator to
1574         satisfy concept checks.
1575
1576         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1577         checks.
1578
1579         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1580
1581         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1582         checks. Also rename base_type to BaseType to follow naming
1583         standard better.
1584
1585         * FloatList.h: include Floating.h to satisfy concept checks.
1586
1587 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1588
1589         * lyxfunc.C (getStatus): when the origin of the request is menu or
1590         toolbar, and the LyXView does not have focus, do as if there was
1591         no buffer (bug 1720)
1592
1593         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1594         FuncRequest to individual entries of LFUN_SEQUENCE
1595
1596 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1597
1598         * output_latex.C (TeXOnePar): override runparams.moving_arg
1599         according to the needprotect value of the current paragraph (bug
1600         1739)
1601
1602         * paragraph.C (simpleTeXOnePar): no need to override
1603         runparams.moving_args here
1604
1605 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1606
1607         * vspace.C: fix off-by-one-error, related to fix #1682
1608
1609 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1610
1611         * lengthcommon.C: a more general fix for bug 1682
1612
1613 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1614
1615         * text.C (backspace): fix crash
1616
1617 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1618
1619         * format.[Ch] (getFormatFromFile): new method
1620         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1621
1622 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1623
1624         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1625
1626 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1627
1628         * lyxfunc.C (dispatch): remove the verbose argument
1629         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1630         instead
1631
1632         * kbmap.C (defkey): set the origin of func to KEYBOARD
1633
1634         * MenuBackend.C (MenuItem):
1635         * ToolbarBackend.C (add): set the origin of func to UI
1636
1637         * funcrequest.[Ch]: add origin member, which indicates which part
1638         of LyX requests an action
1639
1640 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1641
1642         * converter.C (move): don't lie in the error message
1643         * converter.h (isReachable, move): document
1644
1645 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1646
1647         * buffer.C: remove unused using lyx::support::atoi
1648         * paragraph_funcs.C: ditto
1649
1650 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1651
1652         * bufferlist.C (exists): use bind and equal_to instead of
1653         compare_memfun
1654         (getBuffer): ditto
1655         * lyxtextclasslist.C (NumberOfClass): ditto
1656
1657         * cursor.C (insert): use for_each instead of explicit for loop
1658
1659         * bufferlist.C (getFileNames): use std::transform and
1660         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1661
1662         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1663         for loop
1664
1665         * buffer.C (changeLanguage): use for_each instead of explicit for
1666         loop
1667         (hasParWithID): implement using getParFromID
1668
1669         * LaTeXFeatures.C: ws change only
1670
1671         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1672         to cleanup a bit.
1673
1674         * BufferView_pimpl.C (trackChanges): use for_each instead of
1675         expilicit for loop
1676
1677 2004-11-04  André Pönitz  <poenitz@gmx.net>
1678
1679         * undo.h:
1680         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1681
1682         * dociterator.C (asDocIterator): use hard assert again.
1683
1684 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1685
1686         * lyxlength.C (asLatexString): rewrite so that it does not use
1687         snprintf anymore
1688
1689 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1690
1691         * text3.C (specialChar, dispatch): make sure cursor moves to the
1692         right after inserting an inset
1693
1694 2004-11-02  José Matos  <jamatos@lyx.org>
1695
1696         * output_docbook.C (docbook):
1697         * paragraph.C (getID):
1698         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1699         garantee that the output is always legal.
1700
1701         * tabular.C (docbook):
1702         * outputprams.[Ch]: remove mixed contents.
1703
1704 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1705
1706         * text2.C (setCounter): prevent endless loop
1707
1708 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1709
1710         * exporter.C (copyFile): use the mover instead of support::copy()
1711         * exporter.C (Export): pass format and latex name to copyFile()
1712         * exporter.h (addExternalFile): document
1713         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1714
1715 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1716
1717         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1718
1719 2004-10-30  José Matos  <jamatos@lyx.org>
1720
1721         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1722         text and no inset or font change. This allows to use CDATA
1723         sections just for the whole paragraph.
1724
1725 2004-10-30  José Matos  <jamatos@lyx.org>
1726
1727         * paragraph.C (getFirstWord): remove unused variable.
1728
1729 2004-10-30  José Matos  <jamatos@lyx.org>
1730
1731         * paragraph.C (getFirstWord): the content should always be escaped
1732         there.
1733         (simpleDocBookOnePar):
1734         * output_docbook.C (makeEnvironment): replace reference to CDATA
1735         to style pass_thru.
1736
1737 2004-10-30  José Matos  <jamatos@lyx.org>
1738
1739         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1740
1741 2004-10-30  José Matos  <jamatos@lyx.org>
1742
1743         * output_docbook.C (makeParagraphs):
1744         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1745         standard paragraph has only a given type of content drop the wrapper.
1746
1747 2004-10-29  José Matos  <jamatos@lyx.org>
1748
1749         * output_docbook.C (makeEnvironment):
1750         * sgml.C (openTag):
1751         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1752
1753 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1754
1755         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1756         (cleanID): sanitize any id.
1757
1758 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1759
1760         * buffer.C, lyxlex_pimpl.C:
1761         * lyxlex_pimpl.C (setFile):
1762         s/getExtFromContents/getFormatFromContents/
1763
1764 2004-10-28  José Matos  <jamatos@lyx.org>
1765
1766         * output_docbook.C (makeEnvironment): move id to broadest possible
1767         scope.
1768
1769         * sgml.C (openTag): apply substitution of <> for all attributes.
1770
1771 2004-10-28  José Matos  <jamatos@lyx.org>
1772
1773         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1774         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1775         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1776
1777         * sgml.[Ch]: new version for open and closeTag for paragraph and
1778         for strings. Now they handle the ids of paragraphs.
1779
1780 2004-10-26  Angus Leeming  <leeming@lyx.org>
1781
1782         * Makefile.am: add mover.[Ch].
1783
1784         * converter.C (convert, move): use the new Movers to move external
1785         files to the temp directory.
1786
1787         * lyx_main.C (init): ensure that the global system_movers data
1788         is initialised.
1789
1790         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1791         preferences file.
1792
1793         * mover.[Ch]: new files, defining a Mover as a utility to move an
1794         external file between directories and, if necessary, manipulate this
1795         file using a helper script.
1796
1797 2004-10-25  José Matos  <jamatos@lyx.org>
1798
1799         * output_docbook.C (makeCommand): merge two if's that tested the
1800         same condition.
1801
1802 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1803
1804         * sgml.C (escapeString): fix warning in a better way
1805
1806 2004-10-25  José Matos  <jamatos@lyx.org>
1807
1808         * sgml.C (escapeString): import the require boosts header file for
1809         tie, and avoid a signed unsigned comparison.
1810
1811 2004-10-25  José Matos  <jamatos@lyx.org>
1812
1813         * sgml.h: add #include <string>
1814
1815 2004-10-25  José Matos  <jamatos@lyx.org>
1816
1817         * sgml.[Ch] (escapeString): new function to escape all the string.
1818
1819 2004-10-24  José Matos  <jamatos@lyx.org>
1820
1821         * paragraph.[Ch] (getFirstWord): new function to get the first
1822         word. Useful for description.
1823         (simpleDocBookOnePar): remove depth argument, add another that
1824         says where to start the paragraph.
1825
1826         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1827         use the new functions to fix cleanly the support for descriptions.
1828
1829 2004-10-24  José Matos  <jamatos@lyx.org>
1830
1831         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1832         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1833         * output_linuxdoc.C (linuxdocParagraphs):
1834         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1835         add buffer as argument.
1836
1837 2004-10-24  José Matos  <jamatos@lyx.org>
1838
1839         * output_docbook.C (makeEnvironment, searchEnvironment): place
1840         CDATA inside paragraphs and fix scope for listitems.
1841
1842 2004-10-24  José Matos  <jamatos@lyx.org>
1843
1844         * output_docbook.C: remove using statement for stack.
1845
1846 2004-10-23  José Matos  <jamatos@lyx.org>
1847
1848         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1849         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1850         docbook. The new scheme is recursive and makes use of iterators, the
1851         same as latex export works.
1852         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1853         directly with the paragraph contents. This code was moved up to
1854         output_docbook.C (docbookParagraphs).
1855         * sgml.C (openTag, closeTag): removed unneeded newlines.
1856         (closeEnvTags) removed.
1857
1858 2004-10-23  André Pönitz  <poenitz@gmx.net>
1859
1860         * undo.C (textUndoOrRedo):
1861         * dociterator.C (asDocIterator): work around crash
1862
1863         * cursor.C (getStatus): replace ASSERT by more verbose error message
1864           and manual correction of the problem. Should increase stability
1865           while providing more sensible information.
1866
1867 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1868
1869         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1870
1871         * bufferlist.C (previous, next): new methods
1872
1873         * lfuns.h:
1874         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1875
1876 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1877
1878         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1879         entities to preamble.
1880
1881 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1882
1883         * messages.C (Pimpl): strip off translation context information
1884
1885 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1886
1887         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1888         the cursor is correct (bug 1694)
1889
1890 2004-10-13  José Matos  <jamatos@lyx.org>
1891
1892         * output_docbook.C (docbookParagraphs): fix closing tags in the
1893         end of the document.
1894
1895 2004-10-09  José Matos  <jamatos@lyx.org>
1896
1897         * buffer.C: format up to 237.
1898         * bufferparams.C (write): use tostr to convert booleans to strings.
1899
1900 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1901
1902         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1903
1904 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1905
1906         * LaTeX.C: implement use of babel language in xindy.
1907
1908 2004-10-05  José Matos  <jamatos@lyx.org>
1909
1910         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1911         Add new translators to help reading and writing the lyx file.
1912
1913 2004-10-05  José Matos  <jamatos@lyx.org>
1914
1915         * ParagraphParameters.C (read):
1916         * text.C (readParToken): replace nexToken by more appropriate lex
1917         methods.
1918
1919 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1920
1921         * LaTeX.C (runMakeIndex):
1922         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1923         (usually 'makeindex') configurable.
1924
1925         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1926         with a variable rather than with a number.
1927
1928 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1929
1930         * output_latex.C (TeXOnePar): make sure font setting is the first
1931         thing that gets output (and the last at the end). Should fix bug
1932         1404.
1933
1934 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1935
1936         * pch.h: use proper signal include
1937
1938         * LaTeX.h: Use preferred calling of Boost.Signal
1939         * buffer.h: ditto
1940
1941 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1942
1943         * pch.h: dont include <boost/function/function0.hpp>
1944
1945         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1946
1947         * paragraph_pimpl.h: remove usage of ShareContainer
1948
1949         * paragraph_pimpl.C: remove initialization of ShareContainer.
1950
1951 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1952
1953         Fix bug #1666
1954
1955         * BufferView.C (putSelectionAt): change the semantics when
1956         backwards == true: now, this just swaps cursor and anchor wrt the
1957         forward case
1958
1959         * BufferView.h (putSelectionAt): add some documentation
1960
1961         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1962         make sure backwardChar is done at least once (to avoid getting
1963         stuck)
1964         (findNextChange): use putSelectionAt in the forward direction
1965         (operator()): use Paragraph::isWord
1966
1967 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1968
1969         * Spacing.C (set): c_str fix
1970
1971 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1972
1973         * lyx_cb.C (Reconfigure): quote the name of configure script in
1974         case it contains spaces
1975
1976 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1977
1978         * client: new dir
1979
1980         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1981         (BOOST_LIBS): use top_buildir when looking for the file
1982
1983 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1984
1985         * pch.h: do not use include boost/format.hpp, multiple symbols
1986                 will result (gcc bug)
1987
1988
1989 2004-08-23  José Matos  <jamatos@lyx.org>
1990
1991         * bufferparams.C (readToken): fix reading of the author field.
1992
1993 2004-08-20  José Matos  <jamatos@lyx.org>
1994
1995         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1996
1997 2004-08-20  José Matos  <jamatos@lyx.org>
1998
1999         * lyxlex.[Ch] (findToken): remove function.
2000
2001         * ParagraphParameters.C (findToken):
2002         * bufferparams.C (findToken): replace call for previous function
2003         with local copy. This local function has one more argument, the
2004         read string argument.
2005
2006 2004-08-16  José Matos  <jamatos@lyx.org>
2007
2008         * ParagraphParameters.C (write):
2009         * Spacing.C (writeFile):
2010         * bufferparams.C (writeLaTeX):
2011         * lyx_cb.C (Reconfigure):
2012         * paragraph.C (write):
2013         * tabular.C (write): remove unnecessary space at end of line.
2014
2015
2016 2004-08-16  José Matos  <jamatos@lyx.org>
2017
2018         * text.C (readParagraph): remove debug message.
2019
2020 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2021
2022         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2023         crash
2024
2025         * output_plaintext.C (asciiParagraph): set depth correctly
2026
2027         * outputparams.h: add member depth
2028
2029         * paragraph_funcs.C (ownerPar): remove.
2030
2031         * text2.C (setCounter): remove first_pit; comment out some
2032         non-working code that uses ownerPar
2033
2034         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2035         uses ownerPar
2036
2037 2004-08-16  José Matos  <jamatos@lyx.org>
2038
2039         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2040         For the same level of importance use the same chanel to report problems.
2041         (read): add code to deal with \begin_body and \end_body.
2042
2043
2044 2004-08-15  José Matos  <jamatos@lyx.org>
2045
2046         * lyxlex.C (getString): fix comment, buffer::readBody is now
2047         buffer:readDocument.
2048
2049         * tex-strings.C (string_papersize): Default -> default,
2050         Custom -> custom, for consistency with other options.
2051
2052 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
2053
2054         * pch.h: new file
2055
2056         * Makefile.am: support pch
2057
2058 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2059
2060         * text.C (readParToken): remove the static LyXFont variable and
2061         pass it as a parameter instead. This fixes a nasty bug where an
2062         inset will be inserted with a bad font in some situations
2063         (readParagraph): adapt
2064
2065         * text2.C (setCounter): reduce number of calls to pars_[pit]
2066
2067         * text.C (singleWidth): add an assert, fix a test
2068
2069         * rowpainter.C (paintText): reduce number of calls to singleWidth
2070
2071         * paragraph.C (isHfill):
2072         (isNewline): ws only
2073
2074 2004-08-14  André Pönitz  <poenitz@gmx.net>
2075
2076         * text.C:
2077         * text2.C:
2078         * rowpainter.C:
2079         * lyxtext.h (several functions): use a Paragraph & argument
2080         instead of par_type
2081
2082 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2083
2084         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2085
2086         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2087
2088         * text.C (singleWidth): remove useless test
2089
2090 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2091
2092         * tabular.h: remove bogus comments
2093
2094         * tabular.C (getDescentOfRow):
2095         (isPartOfMultiColumn): add assertions
2096
2097         * lyxlength.C (inPixels): remove #warning
2098
2099 2004-08-14  André Pönitz  <poenitz@gmx.net>
2100
2101         * paragraph.h: inline getChar()
2102
2103         * BufferView.h: remove unused declarations
2104
2105 2004-08-14  José Matos  <jamatos@lyx.org>
2106
2107         * Buffer.[Ch] (readDocument): new name for old readBody.
2108         * Buffer.C: new file format, new keywords: \begin_document,
2109         \begin_header, \begin_body, \end_body.
2110
2111         * bufferparams.C (readToken): replace all calls to lex.nextToken
2112         by lex.next(). Do the same to eatLine except where really needed.
2113
2114         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2115         line when writing to the lyx file.
2116
2117         * output_plaintext.C (asciiParagraph): fix Bibliography style
2118         handling.
2119
2120         * text.C (read): fix end of file handling.
2121
2122 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2123
2124         * MenuBackend.C (Menu::operator[]): new method to access
2125         individual menu items
2126         (Menu::hasFunc): new method. search for an item that corresponds
2127         to a given func
2128         (MenuBackend::specialMenu): new method
2129         (MenuBackend::expand): if a special menu has been set, skip
2130         entries whose func() appears in this menu
2131
2132 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
2133
2134         * text3.C: use Debug::DEBUG a bit more
2135
2136         * text.C (leftMargin): try to simplify a tiny bit change var x to
2137         l_margin. Dont output the wide margins always.
2138         (rightMargin): no margin in inner texts
2139
2140         * rowpainter.h (nestMargin): new func
2141         (changebarMargin): new func
2142         (rightMargin): new func
2143
2144         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2145         now functions.
2146         (paintLast): ditto
2147
2148         * factory.C (createInset): modify setDrawFrame
2149
2150         * cursor.C: use Debug::DEBUG a bit more
2151
2152 2004-08-14  André Pönitz  <poenitz@gmx.net>
2153
2154         * coordcache.[Ch]:
2155         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2156         cache for all insets in (at least partially) visible (top-level)
2157         paragraphs.
2158
2159         * BufferView_pimpl.C: reset external coord cache before every update.
2160         This means the coord cache only contains valid entries.
2161
2162 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
2163
2164         bug 1096
2165         * BufferView_pimpl.C (getInsetByCode): move function out of class
2166         and change in to a template in anon namespace. Also fix to do what
2167         suits us better.
2168
2169 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
2170
2171         bug 1305
2172         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2173         of char
2174         (breakParagraph): rename par to par_offset and use a local
2175         reference. Add code to keep the language over a rebreak.
2176         (breakParagraphConservative): rename par to par_offset, use a
2177         local reference
2178         (mergeParagraph): ditto
2179         (outerHook): ditto
2180         (isFirstInSequence): ditto
2181         (outerFont): rename pit to par_offset
2182
2183         * paragraph.C: ws change
2184         * paragraph.h: ditto
2185         * text3.C: ditto
2186         * text.C: ditto
2187
2188 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2189
2190         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2191         treatment for ']'
2192
2193         * paragraph.C (simpleTeXOnePar): when we have a \item with
2194         optional argument, enclose the argument with curly brackets (in
2195         case it contains a closing square bracket)
2196
2197         * text2.C (editXY):
2198         * text2.C (editXY):
2199         * text3.C (checkInsetHit): constify
2200
2201 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2202
2203         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2204         documents (bug 1629)
2205
2206 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2207
2208         Fix toggling of collapsable insets with the mouse (bug 1558)
2209
2210         * lyxfunc.C (dispatch): adapt to LCursor changes
2211
2212         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2213         make sure that dispatch is not invoked twice
2214
2215         * cursor.C (needsUpdate): new method
2216         (dispatch): return void
2217         (result): new method, to access the DispatchResult of the cursor.
2218
2219 2004-08-13  José Matos  <jamatos@lyx.org>
2220
2221         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2222
2223 2004-08-13  André Pönitz  <poenitz@gmx.net>
2224
2225         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2226
2227         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2228           multiple cells
2229
2230 2004-08-12  André Pönitz  <poenitz@gmx.net>
2231
2232         * text3.C: take out the 'cursor right' form insertInset and only
2233         do it in those places when it is really needed. Fixes crash on
2234         C-m...
2235
2236 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2237
2238         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2239
2240         * BufferView_pimpl.C (setBuffer): initialize the current font of
2241         the underlying LyXText
2242
2243 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2244
2245         * kbsequence.C (print): use UI native formatting for menu
2246         shortcuts
2247
2248         * text.C (insertChar): call Paragraph::insertChar with a font
2249         argument (cosmetic)
2250
2251         * paragraph.C (insertInset, insertChar): the version that takes a
2252         LyXFont argument is now a wrapper around the other one (the
2253         opposite used to be true).
2254
2255         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2256         argument. Font setting is done in Paragraph now.
2257
2258 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2259
2260         * outputparams.h: add new members intitle and lang.
2261
2262         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2263         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2264
2265 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2266
2267         * text3.C (dispatch): remove special handling of button 4 and 5,
2268         it is now taken care of in the frontend code.
2269
2270 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2271
2272         * Spacing.h: add <string> (STLPort compile fix)
2273
2274 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2275
2276         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2277
2278 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
2279
2280         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2281         to bool.
2282
2283         * converter.C (showMessage): inherit from unary_function, make
2284         operator() const.
2285
2286         * buffer.C (writeFile): initialize retval
2287
2288         * InsetList.h: rename private variable list to list_
2289         * InsetList.[Ch]: adjust accordingly.
2290
2291 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
2292
2293         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2294         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2295         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2296         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2297         * ParagraphParameters.C, LaTeXFeatures.C: replace
2298         "support/std_sstream.h" with <sstream>
2299
2300 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
2301
2302         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2303         * lyxsocket.C (LyXServerSocket): ditto
2304         (serverCallback): ditto
2305
2306 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2307
2308         * LaTeXFeatures.C: check release date when loading jurabib.
2309
2310 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2311
2312         * lyxserver.C (startPipe): call register_socket_callback
2313         (endPipe): call unregister_socket_callback
2314
2315 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
2316
2317         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2318         (LyXServerSocket): register the callback
2319         (LyXServerSocket): unregister the callback
2320         (fd): delete function
2321         (serverCallback): improve error checking and setup the callbacks.
2322         (dataCallback): change arg to fd.
2323         (writeln): new func (copied fro the client socket) used for server
2324         write to client.
2325         (LyXDataSocket): simplify
2326         (~LyXDataSocket): close ann unregiser callback
2327         (server): delete function
2328         (fd): delete function
2329         (readln): small changes, improve some std::string usage
2330         (writeln): constify a bit
2331
2332 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2333
2334         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2335         Qt frontend
2336
2337 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2338
2339         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2340         after it has been populated
2341
2342 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2343
2344         * text2.C (insertInset): move cursor when inserting inset.
2345
2346 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2347
2348         * kbmap.C (findbindings): a couple of new methods. returns a
2349         container of kb_sequence objects. The real work is done by the
2350         private recursive version
2351         (printbindings): uses findbindings to print out a bracketed list
2352         of bindings (renamed from findbinding).
2353
2354         * MenuBackend.C (binding): use kb_keymap::findbindings
2355
2356         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2357
2358 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2359
2360         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2361
2362 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2363
2364         * paragraph.C (isWord): return true on insets that report
2365         isLetter().
2366
2367         * text.C (getWord): use Paragraph::isWord to decide what is in a
2368         word and what is not; fix bug 1609.
2369
2370 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2371
2372         * tex-strings.C: add "none" to string_paperpackages[], fixes
2373         off-by-one-error in the paperpackage selection.
2374
2375         * lyxlex.[Ch]:
2376         * tex-strings.[Ch]: char const * string[n]
2377         -> char const * const string[]
2378
2379 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2380
2381         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2382         command, return early.
2383
2384 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
2385
2386         * debug.h: add DEBUG to enum and fix size of ANY.
2387
2388         * debug.C: add support for Debug::DEBUG
2389         (showTags): cast errorTags.level to unsigned int
2390
2391         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2392         (redoCurrentBuffer): ditto
2393         (updateScrollbar): ditto
2394         * cursor.C (dispatch): ditto
2395         * text2.C (setLayout): ditto
2396         (setFont): ditto
2397         (updateCounters): ditto
2398         (editXY): ditto
2399         (deleteEmptyParagraphMechanism): ditto
2400
2401 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
2402
2403         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2404         annotations to cleanup the Makefile slightly.
2405
2406 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2407
2408         * lyxrc.C: do not set user_email to a default value but use empty
2409         instead. The entry used to be translated, which does not work
2410         since at the point where lyxrc is constructed there is no
2411         translation service available
2412
2413         * messages.C (getLocaleDir): remove and use directly
2414         lyx_localedir() instead
2415
2416 2004-06-02  Angus Leeming  <leeming@lyx.org>
2417
2418         Fix crash caused by dereferencing null pointer 'exportdata' in
2419         OutputParams by creating a new ExportData variable on the heap,
2420         storing it in a boost::shared_ptr.
2421         The crash was triggered when generating an Instant Preview
2422         of an external inset.
2423
2424         * Makefile.am: add outputparams.C
2425
2426         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2427         (c-tor): allocate memory to it.
2428
2429         * exporter.C (c-tor): associated changes.
2430
2431 2004-06-01  Angus Leeming  <leeming@lyx.org>
2432
2433         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2434         contains data before calling isInset(0). (Bug 1513.)
2435
2436 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2437
2438         * exporter.C (checkOverwrite): new method
2439         * exporter.C (copyFile): new method
2440         * exporter.C (Export): copy referenced files to the document dir
2441         * exporter.[Ch]: new class ExportedFile
2442         * exporter.[Ch]: new class ExportData. Contains currently the
2443         names of referenced external files
2444         * outputparams.h: add exportdata member.
2445
2446 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2447
2448         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2449         version.C-tmp
2450
2451 2004-05-19  Angus Leeming  <leeming@lyx.org>
2452
2453         * LaTeXFeatures.C:
2454         * ToolbarBackend.C:
2455         * bufferparams.C:
2456         * lyxfunc.C: small changes due to the introduction of namespace
2457         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2458
2459 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2460
2461         * text3.C (dispatch): supress update when only moving the cursor
2462         * cursor.C (selHandle): remove commented code
2463
2464 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2465
2466         * paragraph.C (startTeXParParams): correct column count
2467         * CutAndPaste.C (pasteSelection): remove const_cast
2468         * output_docbook.C (docbookParagraphs): remove const_cast
2469         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2470         const_cast and return ParagraphList::const_iterator
2471         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2472         * output_plaintext.C (writeFileAscii): remove const_cast
2473         * paragraph.[Ch] (simpleTeXOnePar): make const
2474         * paragraph_funcs.C (outerPar): use const iterators
2475         * paragraph_pimpl.C (validate): use const iterators
2476         * text.C (setHeightOfRow): use const iterators
2477
2478 2004-05-17  Angus Leeming  <leeming@lyx.org>
2479
2480         * lfuns.h:
2481         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2482
2483         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2484         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2485         if the citation engine has changed.
2486
2487 2004-05-14  José Matos  <jamatos@lyx.org>
2488
2489         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2490         if the textclass does not provide it. Have it different for sgml and
2491         xml.
2492         support the language of document.
2493         * output_docbook.C (docbookParagraphs):
2494         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2495         first anchor as the id of the paragraph, remove special case code.
2496         * sgml.C (escapeChar): escape only < & >.
2497
2498 2004-05-14  Angus Leeming  <leeming@lyx.org>
2499
2500         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2501         dependencies on src/frontends/controllers/biblio.h. Define a
2502         CiteEngine_enum wrapper class to enable the enum to be forward
2503         declared.
2504
2505 2004-05-12  Angus Leeming  <leeming@lyx.org>
2506
2507         * buffer.C: up LYX_FORMAT to 234.
2508         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2509         use_numerical_citations with a single biblio::CiteEngine cite_engine
2510         variable.
2511         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2512
2513 2004-05-13  José Matos  <jamatos@lyx.org>
2514
2515         * converter.h:
2516         * converter.C (Converter, readFlags): add xml member.
2517         * outputparams.h: add XML flavor.
2518         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2519
2520 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2521
2522         * lyxfunc.C (dispatch):
2523         (getStatus): fix handling of LFUN_SEQUENCE
2524
2525 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2526
2527         * debug.C (showLevel): do not forget the end-of-line marker
2528
2529 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2530
2531         * kbmap.C (read): do not stop parsing a bind file when an error
2532         occurs (bug 1575)
2533
2534 2004-04-29  Angus Leeming  <leeming@lyx.org>
2535
2536         * cursor.C:
2537         * factory.C:
2538         * pariterator.C:
2539         * text2.C: wrap a bunch of #warning statements
2540         inside #ifdef WITH_WARNINGS blocks.
2541
2542 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2543
2544         * buffer.C: increment format to 233.
2545
2546 2004-04-28  Angus Leeming  <leeming@lyx.org>
2547
2548         * BufferView_pimpl.C:
2549         * lyxfunc.C:
2550         * text3.C:
2551         s/updateToolbar()/updateToolbars()/
2552         s/Toolbar.h/Toolbars.h/
2553
2554 2004-04-28  Angus Leeming  <leeming@lyx.org>
2555
2556         * BufferView.[Ch] (c-tor):
2557         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2558         No longer passes these data to the WorkArea generator.
2559
2560 2004-04-28  Angus Leeming  <leeming@lyx.org>
2561
2562         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2563
2564 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2565
2566         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2567
2568 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2569
2570         * output_latex.C (TeXEnvironment): make sure that there is a line
2571         break before \end{foo} for the last paragraph of a document
2572         (TeXOnePar): if the paragraph is at the end of the document (or
2573         inset) and the language has to be reset, then make sure that the
2574         line break is _before_ the language command, not after (fixes bug
2575         1225); also make sure that the language reset command is the first
2576         thing after the paragraph (to ensure proper nesting of
2577         environments and thus fix bug 1404)
2578
2579 2004-04-21  John Levon  <levon@movementarian.org>
2580
2581         * ToolbarBackend.h:
2582         * ToolbarBackend.C: make "name" be a programmatic name
2583         and a gui_name field.
2584
2585         * lyxfunc.C: display the minibuffer on M-x
2586
2587 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2588
2589         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2590         (bug 1526)
2591
2592 2004-04-19  Angus Leeming  <leeming@lyx.org>
2593
2594         * BufferView_pimpl.C (setBuffer): changed preview interface.
2595
2596         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2597         possible values.
2598
2599 2004-04-19  John Levon  <levon@movementarian.org>
2600
2601         * BufferView_pimpl.C:
2602         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2603
2604 2004-04-05  Angus Leeming  <leeming@lyx.org>
2605
2606         * text.C (redoParagraphs): add call to updateCounters(), thereby
2607         fixing the missing "Figure #:" label from the caption of a
2608         figure float.
2609
2610 2004-04-13  Angus Leeming  <leeming@lyx.org>
2611
2612         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2613         cursor is clicked out of an inset.
2614
2615 2004-04-13  Angus Leeming  <leeming@lyx.org>
2616
2617         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2618         than an InsetOld one.
2619
2620 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2621
2622         * format.[Ch]: add editor to Format
2623         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2624         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2625
2626 2004-04-08  André Pönitz  <poenitz@gmx.net>
2627
2628         * metricsinfo.h: remove PainterInfo::width member
2629
2630 2004-04-08  Angus Leeming  <leeming@lyx.org>
2631
2632         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2633         "\providecommand" rather than "\newcommand", thereby preventing
2634         clashes with packages that define "\boldsymbol" themselves.
2635         Eg, beamer.
2636
2637 2004-04-08  Angus Leeming  <leeming@lyx.org>
2638
2639         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2640         thereby squashing an unnecessary warning.
2641
2642 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2643
2644         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2645         setBuffer()
2646
2647 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2648
2649         * BufferView.C (setCursor): call redoParagraph (some insets could
2650         have been opened)
2651         (putSelectionAt): remove the 'double update' trick
2652
2653         * BufferView_pimpl.C (fitCursor): call refreshPar
2654         (workAreaDispatch): remove an uneeded update call
2655         (dispatch): remove some manual update calls
2656
2657         * cursor.[Ch]: remove cached_y_, updatePos
2658         (selHandle): set noUpdate when appropriate
2659
2660         * lyxfunc.C (dispatch): track if we need an update
2661
2662         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2663
2664         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2665         (paintSelection): cheap optimization, do not call cursorX when not
2666         needed
2667         (paintPars): change signature
2668         (refreshPar): add
2669         (paintText): adjust
2670         (paintTextInset): adjust
2671
2672         * text.C: adjust
2673
2674 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2675
2676         * lengthcommon.C: compilation fix: remove explicit array size from
2677         unit_name[] and friends
2678
2679 2004-04-05  Angus Leeming  <leeming@lyx.org>
2680
2681         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2682
2683         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2684         present only for the preferences dialog.
2685         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2686
2687 2004-04-05  Angus Leeming  <leeming@lyx.org>
2688
2689         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2690         to enable the frontends to export changes to lyxrc correctly.
2691
2692         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2693
2694 2004-04-07  André Pönitz  <poenitz@gmx.net>
2695
2696         * cursor.[Ch] (selClear, adjust): remove math
2697
2698         * cursor_slice.C: more agressive assert
2699
2700         * lyxfunc.C:
2701         * BufferView_pimpl.C: rework mouse event dispatch
2702
2703         * dociterator.C:
2704         * paragraph.C:
2705         * text2.C:
2706         * text3.C: adjust
2707
2708 2004-04-05  André Pönitz  <poenitz@gmx.net>
2709
2710         * cursor.[Ch] (valign, halign...): remove unneeded functions
2711
2712 2004-04-05  Angus Leeming  <leeming@lyx.org>
2713
2714         * lyxlength.[Ch] (unit_name et al.): const-correct.
2715
2716 2004-04-05  Angus Leeming  <leeming@lyx.org>
2717
2718         * BufferView_pimpl.C:
2719         * buffer.C:
2720         * counters.C:
2721         * cursor.C:
2722         * lyxfunc.C
2723         * paragraph.C:
2724         * pariterator.C:
2725         * text.C:
2726         * text2.C:
2727         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2728
2729 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2730
2731         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2732
2733 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2734
2735         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2736         * BufferView_pimpl.[Ch] (getStatus)
2737         * BufferView.[Ch] (getStatus): add
2738         * lyxfunc.C (getStatus): move lfuns handled in
2739         BufferView::dispatch to te function above
2740         * Cursor.C (setSelection): set selection() = true
2741
2742 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2743
2744         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2745
2746 2004-03-31  Angus Leeming  <leeming@lyx.org>
2747
2748         * lyxfunc.C (dispatch): Fall through to the generic
2749         Dialogs::show("preamble").
2750
2751 2004-03-31  Angus Leeming  <leeming@lyx.org>
2752
2753         * lyxfunc.C (dispatch): Fall through to the generic
2754         Dialogs::show("spellchecker").
2755
2756 2004-03-31  Angus Leeming  <leeming@lyx.org>
2757
2758         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2759         preferences dialog.
2760
2761 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2762
2763         * BufferView.C
2764         * cursor.[Ch]
2765         * dociterator.[Ch]:
2766         * insetiterator.[Ch]:
2767         * lyxfind.C:
2768         * lyxfunc.C:
2769         * pariterator.[Ch]:
2770         * text2.C:
2771         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2772
2773 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2774
2775         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2776         insets where we are putting the cursor.
2777
2778 2004-03-31  Angus Leeming  <leeming@lyx.org>
2779
2780         * lfuns.h:
2781         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2782
2783         * lyxrc.[Ch] (read, write): overloaded member functions taking
2784         a std::[io]stream arguments.
2785
2786         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2787
2788 2004-03-31  Angus Leeming  <leeming@lyx.org>
2789
2790         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2791         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2792
2793         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2794         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2795
2796 2004-03-31  Angus Leeming  <leeming@lyx.org>
2797
2798         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2799         the LFUN_ALL_INSETS_TOGGLE code.
2800
2801 2004-03-30  Angus Leeming  <leeming@lyx.org>
2802
2803         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2804         has died. Fall through to the generic Dialogs::show("document").
2805
2806 2004-03-30  Angus Leeming  <leeming@lyx.org>
2807
2808         * lfuns.h:
2809         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2810         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2811
2812         * lyxfunc.C (getStatus, dispatch): define the actions for these
2813         lfuns. Little more than a cut and pste job from ControlDocument.C
2814
2815         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2816
2817 2004-03-30  Angus Leeming  <leeming@lyx.org>
2818
2819         * lfuns.h:
2820         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2821         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2822
2823         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2824         open/closed state of ollapsable insets. Usage:
2825
2826         all-inset-toggle <state> <name>, where
2827         <state> == "open" || "closed" || "toggle" and
2828         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2829
2830         * lyxtext.h, text2.C (toggleInset): removed.
2831
2832         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2833         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2834         now passes LFUN_INSET_TOGGLE to the found inset.
2835
2836         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2837         is now invoked as "all-insets-toggle toggle branch".
2838
2839 2004-03-30  Angus Leeming  <leeming@lyx.org>
2840
2841         * dociterator.C:
2842         * insetiterator.C:
2843         * pariterator.[Ch]: added/corrected header blurb.
2844
2845 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2846
2847         * dociterator.[Ch]: add an inset_ member
2848         (backwardPos): implemented
2849         (backwardPos, forwardPos): use inset_ when the stack is empty.
2850         (doc_iterator_begin, doc_iterator_end): implemented
2851         * pariterator.[Ch]: adjust, add begin, end
2852         * insetiterator.[Ch]: adjust, add begin, end
2853         * cursor.C:
2854         * document.C:
2855         * BufferView.C:
2856         * BufferView_pimpl.C:
2857         * CutAndPaste.C: adjust
2858
2859 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2860
2861         * buffer.C: increment file format to 232.
2862         * LaTeXFeatures.C: add bibtopic package.
2863         * bufferparams.[Ch]: param \use_bibtopic.
2864
2865         * lyxrc.[Ch]: add lyxrc bibtex_command
2866         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2867
2868         * buffer.C: increment file format to 231.
2869
2870 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2871
2872         * dociterator.C: implement forwardPar
2873         * iterators.[Ch]: remove, replaced by
2874         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2875         * BufferView.C:
2876         * BufferView_pimpl.C:
2877         * CutAndPaste.C:
2878         * buffer.C:
2879         * bufferview_funcs.C:
2880         * cursor.C:
2881         * lyxfind.C
2882         * lyxfunc.C
2883         * paragraph_funcs.C
2884         * toc.C:
2885         * Makefile.am: adjust
2886
2887 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2888
2889         * CutAndPaste.C (pasteSelection): fix 2 crashes
2890         (eraseSelection): fix a crash
2891         * paragraph_funcs.C: remove a warning
2892
2893 2004-03-28  Angus Leeming  <leeming@lyx.org>
2894
2895         * lfuns.h:
2896         * LyXAction.C (init): new LFUN_PRINT.
2897
2898         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2899
2900 2004-03-27  Angus Leeming  <leeming@lyx.org>
2901
2902         * lfuns.h:
2903         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2904
2905         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2906
2907 2004-03-27  Angus Leeming  <leeming@lyx.org>
2908
2909         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2910         insetlist always contains non-null pointers to insets.
2911
2912 2004-03-26  Angus Leeming  <leeming@lyx.org>
2913
2914         * src/BufferView_pimpl.C:
2915         * src/CutAndPaste.C:
2916         * src/buffer.C:
2917         * src/iterators.C:
2918         * src/output_plaintext.C:
2919         * src/outputparams.h:
2920         * src/paragraph_funcs.C:
2921         * src/rowpainter.C:
2922         * src/text.C:
2923         * src/text2.C:
2924         * src/frontends/controllers/ControlErrorList.C:
2925         * src/frontends/gtk/FileDialogPrivate.C:
2926         * src/frontends/gtk/GPainter.C:
2927         * src/frontends/gtk/GToolbar.C:
2928         * src/frontends/qt2/QRef.C:
2929         * src/mathed/math_scriptinset.C: squash compiler warnings.
2930
2931 2004-03-26  Angus Leeming  <leeming@lyx.org>
2932
2933         * ispell.C (LaunchIspell::start):
2934         * lyx_cb.C (AutoSaveBuffer::start):
2935         invoke run(DontWait) rather than runNonBlocking().
2936
2937 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2938
2939         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2940
2941 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2942
2943         * kbsequence.C (print): adjust
2944
2945         * kbmap.C (printKeySym): rename and change signature
2946         (printKey): use LyXKeySym::print()
2947
2948 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2949
2950         * undo.C: add using std::advance to compile for stlport
2951
2952 2004-03-24  Angus Leeming  <leeming@lyx.org>
2953
2954         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2955         it leads to a crash when no buffer is present.
2956
2957 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2958             Martin Vermeer  <martin.vermeer@hut.fi>
2959
2960         * lyxfunc.C (dispatch):
2961         * bufferparams.C (readToken): use the new LColor::setColor
2962
2963         * LColor.[Ch] (setColor): new version that takes two strings as
2964         argument and creates a new color entry if necessary
2965
2966 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2967
2968         * buffer.C (makeLaTeXFile): if the main latex file that is
2969         processed is usually a subdocument of some master, then pretend
2970         for a while that it is actually the master
2971
2972 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2973
2974         * buffer.C (getLabelList):
2975         (getBibkeyList): use getMasterBuffer()
2976         (getMasterBuffer): new method. Returns the main document in the
2977         case where one is using included documents.
2978
2979 2004-03-25  André Pönitz  <poenitz@gmx.net>
2980
2981         * Makefile.am:
2982         * iterators.[Ch]:
2983         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2984
2985         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2986
2987         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2988         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2989
2990         * ParameterStruct.h: merge with ParagraphParameters
2991
2992         * lyxtext.h: remove LyXText::parOffset() and getPar()
2993
2994         * text3.C: Remove all 'manual' update calls. We do now one per user
2995         interaction which is completely sufficient.
2996
2997         * Bidi.C:
2998         * BufferView.[Ch]:
2999         * BufferView_pimpl.C:
3000         * FontIterator.[Ch]:
3001         * MenuBackend.C:
3002         * ParagraphParameters.[Ch]:
3003         * buffer.C:
3004         * buffer.h:
3005         * bufferlist.C:
3006         * cursor.[Ch]:
3007         * cursor_slice.[Ch]:
3008         * dociterator.[Ch]:
3009         * errorlist.[Ch]:
3010         * factory.C:
3011         * lfuns.h:
3012         * lyxfind.C:
3013         * lyxfunc.C:
3014         * output_docbook.[Ch]:
3015         * output_latex.[Ch]:
3016         * output_linuxdoc.[Ch]:
3017         * output_plaintext.[Ch]:
3018         * paragraph.[Ch]:
3019         * paragraph_funcs.[Ch]:
3020         * paragraph_pimpl.[Ch]:
3021         * rowpainter.C:
3022         * tabular.[Ch]:
3023         * text.C:
3024         * text2.C:
3025         * toc.C:
3026         * undo.[Ch]: adjust
3027
3028         * frontends/controllers/ControlDocument.C:
3029         * frontends/controllers/ControlErrorList.C:
3030         * frontends/controllers/ControlSpellchecker.C:
3031         * insets/inset.C:
3032         * insets/inset.h:
3033         * insets/insetbase.h:
3034         * insets/insetbibitem.C:
3035         * insets/insetbox.C:
3036         * insets/insetbranch.C:
3037         * insets/insetcaption.C:
3038         * insets/insetcharstyle.C:
3039         * insets/insetcharstyle.h:
3040         * insets/insetcollapsable.C:
3041         * insets/insetcollapsable.h:
3042         * insets/insetert.C:
3043         * insets/insetfloat.C:
3044         * insets/insetfoot.C:
3045         * insets/insetmarginal.C:
3046         * insets/insetnote.C:
3047         * insets/insetoptarg.C:
3048         * insets/insettabular.C:
3049         * insets/insettext.C:
3050         * insets/insettext.h:
3051         * insets/insetwrap.C:
3052         * mathed/math_mboxinset.C:
3053         * mathed/math_nestinset.C:
3054         * mathed/math_scriptinset.C:
3055         * mathed/math_scriptinset.h:
3056         * support/types.h:
3057
3058 2004-03-24  Angus Leeming  <leeming@lyx.org>
3059
3060         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3061         deal with any child processes that have finished but are waiting to
3062         communicate this fact to the rest of LyX.
3063
3064 2004-03-24  Angus Leeming  <leeming@lyx.org>
3065
3066         64-bit compile fixes.
3067
3068         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3069         (c-tor): pass lyx::pos_types rather than ints.
3070
3071         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3072         lyx::pos_type.
3073
3074         * text.C (Delete): compile fix.
3075         (getPar): ensure that function declaration is the same as that in
3076         the header file.
3077
3078 2004-03-23  Angus Leeming  <leeming@lyx.org>
3079
3080         * ispell.C (LaunchIspell):
3081         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3082         a boost::shred_ptr rather than a std::auto_ptr.
3083
3084 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3085
3086         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3087         handle LFUN_FILE_INSERT_*
3088
3089         * lyxrc.C (setDefaults, getDescription, output, read):
3090         * lyxrc.h: remove ps_command
3091
3092 2004-03-22  Angus Leeming  <leeming@lyx.org>
3093
3094         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3095         Ensure that error_handler is processed once only and that all data
3096         is saved before attempting to output any warning messages.
3097
3098         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3099
3100 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3101
3102         * tabular.C (TeXRow): crash fix (from Kayvan and André)
3103
3104 2004-03-19  André Pönitz  <poenitz@gmx.net>
3105
3106         * cursor.[Ch] (reset): take main text inset as argument
3107
3108         * BufferView: adjust
3109         * BufferView_pimpl.C: adjust
3110
3111         * paragraph.[Ch]: fix completely broken operator=()
3112
3113 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3114
3115         * LColor.C (getFromLyXName): make sure that the color name is used
3116         as lowercase.
3117
3118 2004-03-17  Angus Leeming  <leeming@lyx.org>
3119
3120         * lfuns.h:
3121         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3122
3123         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3124         dialog and to kill a forked process.
3125
3126 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3127
3128         * text2.C (setCursorFromCoordinates): fix font problem
3129
3130 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3131
3132         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3133         bogus "rebuild cursor" code
3134
3135 2004-03-11  André Pönitz  <poenitz@gmx.net>
3136
3137         * buffer.[Ch]: use InsetText instead of LyXText as container for
3138         the main lyx text.
3139
3140         * dociterator.[Ch]: drop the BufferView * member which is not needed
3141         anymore after the change to buffer.C
3142
3143         * paragraph_funcs.C:
3144         * text.C:
3145         * text2.C:
3146         * BufferView.[Ch]:
3147         * BufferView_pimpl.[Ch]:
3148         * cursor.[Ch]:
3149         * cursor_slice.[Ch]: adjust
3150
3151         * text3.C: fix bug in mathDispatch
3152
3153 2004-03-08  André Pönitz  <poenitz@gmx.net>
3154
3155         * undo.[Ch]: use 'StableDocumentIterator' as base for
3156         the Undo struct.
3157
3158 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3159
3160         * LaTeXFeatures.C:
3161         * bufferparams.[Ch]: add jurabib support and param.
3162
3163         * LaTeX.C: add FIXME/comment.
3164
3165 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3166
3167         * buffer.C: increment file format to 230.
3168
3169 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3170
3171         * cursor.C (dispatch): avoid infinite loops
3172
3173 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3174
3175         * rowpainter.C (paintSelection): fix x coordinates
3176
3177 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3178
3179         * text.C (rowBreakPoint): fix breaking before displayed insets
3180
3181 2004-03-01  André Pönitz  <poenitz@gmx.net>
3182
3183         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3184
3185         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3186
3187         * Makefile.am:
3188         * BufferView.C:
3189         * BufferView_pimpl.C:
3190         * buffer.C:
3191         * lyxfind.C:
3192         * lyxfunc.C:
3193         * text.C:
3194         * text2.C:
3195         * text3.C: adjust
3196
3197 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3198
3199         * lyxtext.h:
3200         * text.C:
3201         * text2.C:
3202         * rowpainter.C:
3203         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3204         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3205
3206 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3207
3208         * Bidi.[Ch] (computeTables): const correctness
3209         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3210         fill_hfill, fill_label_hfill and x from Row
3211         * lyxtext.h: prepareToPrint returns a RowMetrics
3212         * rowPainter.C: adjust
3213         * text.C (prepareToPrint): use width, not textWidth. adjust
3214         (redoParagraphInternal, cursorX): adjust
3215         * text2.C (getColumnNearX): adjust
3216         (init): put a default value to the top LyXText::width
3217
3218 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3219
3220         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3221
3222 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3223
3224         * lyxtext.h: add FontIterator class
3225
3226         * text.C (FontIterator, operator*, operator->, operator++): add
3227         (rowBreakPoint, setRowWidth): adjust (fixing a
3228         rebreaking bug)
3229
3230 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3231
3232         * BufferView_pimpl.C (workAreaDispatch): allow also
3233         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3234
3235 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3236
3237         * text.C (rowBreakPoint): fix a bug showing with very large insets
3238
3239 2004-02-25  André Pönitz  <poenitz@gmx.net>
3240
3241         * text3.C:
3242         * cursor.[Ch]: move some mathed specific code to mathed
3243
3244 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3245
3246         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3247         use_tempdir in preferences
3248         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3249         tempfile creation
3250         * lyx_main.C: ensure that tempdir is valid
3251         * lyxlex.h: correct typo
3252         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3253         * paragraph.[Ch] (isMultiLingual): make const
3254         * cursor.[Ch] (openable): make const
3255
3256 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3257
3258         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3259
3260 2004-02-20  André Pönitz  <poenitz@gmx.net>
3261
3262         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3263
3264         * cursor.[Ch]: prepare for localized getStatus()
3265
3266         * lyxtext.h:
3267         * tabular.C:
3268         * text.C:
3269         * text2.C:
3270         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3271
3272 2004-02-20  André Pönitz  <poenitz@gmx.net>
3273
3274         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3275
3276 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3277
3278         * text2.C (setCursorFromCoordinates): switch to absolute coords
3279         (cursorUp): adjust
3280         (cursorDown): adjust
3281         * text3.C (dispatch): adjust
3282
3283 2004-02-16  André Pönitz  <poenitz@gmx.net>
3284
3285         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3286           insets/ChangeLog)
3287
3288         * cursor_slice.[Ch]: remove unneeded acessor function
3289
3290         * lyxtext.h: rename rtl() to isRTL()
3291
3292         * rowpainter.C:
3293         * tabular.C:
3294         * text.C:
3295         * text2.C:
3296         * text3.C: adjust
3297
3298 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3299
3300         * rowpainter.C (paintSelection): coord fix
3301
3302 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3303
3304         * Spacing.C: compile fix
3305
3306 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3307
3308         * cursor.C (dispatch): restore current_ before returning
3309
3310 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3311
3312         * text2.C (cursorUp, cursorDown): fix coords
3313         (moveUp): fix crash
3314
3315 2004-02-12  André Pönitz  <poenitz@gmx.net>
3316
3317         * lyxtext.h:
3318         * text.C:
3319         * text2.C:
3320         * text3.C: add LCursor & parameter to most cursor movement functions
3321           remove usage of LyXText::cursorRow() and cursorPar()
3322
3323         * cursor.[Ch]: add textRow() needed members
3324
3325         * BufferView.C:
3326         * BufferView_pimpl.C:
3327         * paragraph.[Ch]:
3328         * BufferView.C:
3329         * BufferView_pimpl.C: adjust
3330
3331 2004-02-11  André Pönitz  <poenitz@gmx.net>
3332
3333         * lyxfunc.C:
3334         * BufferView.[Ch]:
3335         * BufferView_pimpl.C: shift undo/redo handling
3336
3337         * cursor.[Ch]: fix mathed crash
3338
3339         * lyxfind.C:
3340         * lyxtext.h: move selectionAsText to LCursor
3341
3342         * output_latex.C:
3343         * paragraph.C:
3344         * text.C:
3345         * text2.C:
3346         * text3.C: adjust
3347
3348         * rowpainter.C: fix excessive drawing
3349
3350 2004-02-06  André Pönitz  <poenitz@gmx.net>
3351
3352         * BufferView.[Ch]:
3353         * BufferView_pimpl.[Ch]:
3354         * text3.C: move some text specific LFUN handling
3355
3356 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3357
3358         * text3.C (checkInsetHit): adjust coords
3359         * text2.C (getColumnNearX): adjust coords
3360         (edit): adjust coords
3361         * text.C (getRowNearY): add two asserts
3362
3363 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3364
3365         * converter.C:
3366         * format.C: add using std::distance to compile on gcc 2.95/stlport
3367
3368 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3369
3370         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3371
3372 2004-02-04  André Pönitz  <poenitz@gmx.net>
3373
3374         * BufferView.[Ch] (insertInset):
3375         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3376
3377         * text2.C:
3378         * text3.C: adjust
3379
3380 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3381
3382         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3383         on the default clause of the switch
3384         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3385         wasn't catched by LCursor::dispatch
3386
3387 2004-02-03  André Pönitz  <poenitz@gmx.net>
3388
3389         * BufferView.C:
3390         * cursor.[Ch]: some additional asserts
3391
3392         * undo.[Ch]: remove LyXText dependency in interface
3393
3394         * lyxfunc.C: adjust
3395
3396         * lyxtext.h (firstPar, lastPar): remove dead functions
3397
3398         * text.C:
3399         * text2.C:
3400         * text3.C:
3401         * paragraph.[Ch]: adjust
3402
3403 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3404
3405         * lyxfind.C (find): fix argument order in call to ::find
3406
3407 2004-02-02  André Pönitz  <poenitz@gmx.net>
3408
3409         * cursor.[Ch]: remove direct access to anchor
3410
3411         * text.C: remove findText() hack
3412
3413 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3414
3415         * iterators.[Ch] (lockPath): remove in favour of...
3416         * BufferView.[Ch] (setCursor): this addition
3417         * BufferView.C (putSelectionAt): adjust
3418         * undo.C (performUndoOrRedo): adjust
3419         * lyxfunc.C (dispatch): adjust
3420
3421 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3422
3423         * iterators.C (lockPath): add a missing slice
3424         * undo.C (performUndoOrRedo): remove redundant positioning code
3425
3426 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
3427
3428         * vc-backend.C (scanMaster): ";" -> ';'
3429
3430 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
3431
3432         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3433         std::binary_function
3434
3435         * lyxtextclass.C (compare_name): rename to...
3436         (LayoutNamesEqual): ...this
3437
3438         * lyxlex_pimpl.C (compare_tags): inherit from
3439         std::binary_function, put back into anon namespace
3440
3441         * lyxfind.C (MatchString): inherig from std::binary_function
3442         (findChange): use empty() istead of !size()
3443
3444         * format.C (FormatNamesEqual): new functor
3445         (getFormat): use it
3446         (getNumber): use it
3447         (add): use it
3448         (erase): use it
3449         (setViewer): use it
3450
3451         * converter.C (compare_Converter): rename to...
3452         (ConverterEqual): ...this, and fixup a bit.
3453         (getConverter): use it, and make function const
3454         (getNumber): use it, and make function const
3455         (add): use it
3456         (erase): use it:
3457
3458         * bufferlist.C: add using boost::bind
3459
3460         * MenuBackend.C (MenuNamesEqual): new functor
3461         (hasMenu): use it, and make function const
3462         (hasSubmenu): use nested bind to get rid of compare_memfun.
3463
3464 2004-01-30  André Pönitz  <poenitz@gmx.net>
3465
3466         * BufferView_pimpl.C:
3467         * cursor.C:
3468         * cursor.h:
3469         * cursor_slice.[Ch]:
3470         * lyxfunc.C:
3471         * lyxtext.h:
3472         * paragraph_funcs.C:
3473         * paragraph_funcs.h:
3474         * rowpainter.C:
3475         * text.C:
3476         * text2.C:
3477         * text3.C: move some of the edit(x,y) handling to the insets
3478         some coordinate changes.
3479
3480 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
3481
3482         * text.C: add using statements for std::advance and std::distance
3483
3484         * paragraph.C: add using statement for std::distance
3485
3486         * lyxfind.C: add using statement for std::advance
3487
3488         * cursor.C (region): remove std:: from swap
3489         (openable): use nucleus in stead of operator->
3490
3491         * BufferView.C: add using statements for std::distance and std::swap
3492
3493 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
3494
3495         * iterators.C: Remove the pimple, move the needed structures to
3496         the header file. Create accessor for the positions stack.
3497         (asPosIterator): remove function
3498
3499         * PosIterator.C (PosIterator): move constructors to top of file
3500         (PosIterator): reimplement the constructor taking a ParIterator in
3501         terms of setFrom.
3502         (setFrom): new function
3503         (operator!=): inline it
3504
3505 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
3506
3507         * lyxfind.C (replaceAll): use std::advance
3508
3509         * iterators.h: inherit from std::iterator.
3510
3511         * PosIterator.C (advance, distance): remove
3512         * PosIterator.h: interit from std::iterator.
3513
3514 2004-01-26  André Pönitz  <poenitz@gmx.net>
3515
3516         * BufferView.[Ch]:
3517         * BufferView_pimpl.[Ch]:
3518         * InsetList.[Ch]:
3519         * PosIterator.[Ch]:
3520         * buffer.h:
3521         * bufferview_funcs.C:
3522         * cursor.[Ch]:
3523         * cursor_slice.h:
3524         * factory.[Ch]:
3525         * iterators.[Ch]:
3526         * lyxfind.C:
3527         * lyxfunc.C:
3528         * lyxtext.h:
3529         * output_docbook.C:
3530         * output_latex.C:
3531         * output_linuxdoc.C:
3532         * output_plaintext.C:
3533         * paragraph.[Ch]:
3534         * paragraph_funcs.[Ch]:
3535         * paragraph_pimpl.[Ch]:
3536         * rowpainter.C:
3537         * tabular.C:
3538         * tabular.h:
3539         * text.C:
3540         * text2.C:
3541         * text3.C: more IU:  dumps most of the rest of the mathcursor
3542     implementation into cursor.[Ch]; "globalize" a bit of it.
3543
3544 2004-01-25  Angus Leeming  <leeming@lyx.org>
3545
3546         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3547
3548 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3549
3550         * LaTeXFeatures.h: add nice_ and nice() const
3551         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3552
3553 2004-01-20  André Pönitz  <poenitz@gmx.net>
3554
3555         * BufferView.[Ch]:
3556         * BufferView_pimpl.C:
3557         * PosIterator.C:
3558         * bufferview_funcs.C:
3559         * cursor.[Ch]:
3560         * cursor_slice.[Ch]:
3561         * factory.C:
3562         * iterators.C:
3563         * lyx_cb.C:
3564         * lyxfind.C:
3565         * lyxfunc.C:
3566         * lyxtext.h:
3567         * rowpainter.C:
3568         * text.C:
3569         * text2.C:
3570         * text3.C:
3571         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3572           LCursor and mathcursor parts to LCursor and InsetBase.
3573
3574 2004-01-15  André Pönitz  <poenitz@gmx.net>
3575
3576         * cursor_slice.[Ch]: add a few covienience functions
3577
3578         * funcrequest.[Ch]: remove BufferView * member
3579
3580         * BufferView_pimpl.C:
3581         * cursor.C:
3582         * factory.[Ch]:
3583         * lyxfind.[Ch]:
3584         * lyxfunc.C:
3585         * lyxtext.h:
3586         * text3.C:
3587         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3588
3589 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3590
3591         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3592         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3593
3594 2004-01-13  André Pönitz  <poenitz@gmx.net>
3595
3596         * textcursor.[Ch]:
3597         * lyxtext.h: hide cursor and selection anchor behind accessor function
3598
3599         * BufferView.C:
3600         * BufferView_pimpl.[Ch]:
3601         * PosIterator.C:
3602         * bufferview_funcs.C:
3603         * cursor.h:
3604         * lyxfind.C:
3605         * lyxfunc.C:
3606         * text.C:
3607         * text2.C:
3608         * text3.C:
3609         * undo.C: adjust
3610
3611         * cursor.h:
3612         * cursor_slice.[Ch]: some integer type changes for inset unification
3613
3614         * lyxcursor.[hC]: remove, it's CursorSlice now.
3615
3616         * Makefile.am:
3617         * BufferView_pimpl.[Ch]:
3618         * bufferview_funcs.C:
3619         * cursor_slice.C:
3620         * lyxtext.h:
3621         * text.C:
3622         * text2.C:
3623         * text3.C:
3624         * textcursor.[Ch]: adjust
3625
3626 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3627
3628         * text2.C (undoSpan): add and use
3629         * text.C (breakParagraph): use undoSpan (fix bug 578)
3630         * lyxtext.h: adjust
3631
3632 2004-01-08  Angus Leeming  <leeming@lyx.org>
3633
3634         * BufferView_pimpl.C (MenuInsertLyXFile):
3635         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3636         * lyxfunc.C (menuNew, open, doImport):
3637         FileFilterList change to the FileDialog open and save functions.
3638
3639 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
3640
3641         * ShareContainer.h: make isEqual and isUnique adaptable
3642
3643         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3644
3645 2004-01-07  Angus Leeming  <leeming@lyx.org>
3646
3647         * LyXAction.C:
3648         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3649
3650         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3651
3652         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3653         functions replacing find, replace and replaceAll.
3654
3655         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3656         LFUN_WORDFIND(FORWARD|BACKWARD).
3657
3658 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3659
3660         * text.C (breakParagraph): remove an outdated #warning
3661
3662 2004-01-07  André Pönitz  <poenitz@gmx.net>
3663
3664         * lyxfind.C: somewhat clearer logic
3665
3666         * text.C: prevent crash in cursorX on unitialized row cache
3667
3668 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3669
3670         * lyxcursor.[Ch] (operator>): add
3671         * textcursor.C (selStart, selEnd): use std::min and std::max
3672
3673 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
3674
3675         * Chktex.C: include boost/format.hpp
3676
3677 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
3678
3679         * InsetList.C: replace functor MathcIt with adaptable functor
3680         InsetTablePosLess
3681         (insetIterator): modify accordingly
3682
3683         * BranchList.h: move the BranchNamesEqual functor here from...
3684         * BranchList.C: ... to here
3685
3686         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3687         SameName and match.
3688         (add): replace a finding loop with std::find_if.
3689
3690 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3691
3692         * output_docbook.C: moving LatexParam functionality into
3693         .layout files
3694
3695 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3696
3697         * buffer.C: increment format to 229.
3698
3699 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3700
3701         * LaTeXFeatures.C:
3702         * lyx_sty.[Ch]: remove minipageindent_def
3703
3704         * LyXAction.C:
3705         * factory.C:
3706         * lfuns.h:
3707         * lyxfunc.C:
3708         * text3.C: remove LFUN_INSET_MINIPAGE
3709
3710 2003-12-28  Angus Leeming  <leeming@lyx.org>
3711
3712         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3713
3714 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3715
3716         * text2.C (setParagraph): fix off-by-one crash
3717
3718 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3719
3720         * output_docbook.C: header stuff for AGU
3721
3722 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3723
3724         * text2.C (redoCursor): remove
3725         * text.C:
3726         * text3.C:
3727         * BufferView_pimpl.C: remove calls to redoCursor and
3728         setCursor(cursor.par(), cursor.pos()) all around
3729
3730 2003-12-15  Angus Leeming  <leeming@lyx.org>
3731
3732         * buffer.C: up the format to 228.
3733
3734 2003-12-15  André Pönitz  <poenitz@gmx.net>
3735
3736         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3737         slices
3738
3739         * Makefile.am:
3740
3741         * BufferView_pimpl.C:
3742         * cursor.[Ch]:
3743         * lyxcursor.[Ch]:
3744         * rowpainter.[Ch]:
3745         * lyxtext.h:
3746         * text.C:
3747         * text2.C:
3748         * text3.C: adjust
3749
3750 2003-12-15  Angus Leeming  <leeming@lyx.org>
3751
3752         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3753         than getFromGUIName to manipulate the color.
3754
3755 2003-12-14  Angus Leeming  <leeming@lyx.org>
3756
3757         * BranchList.[Ch]: minimize the API.
3758         (Branch::getBranch, getColor): now return a 'const &'.
3759         (Branch::setSelected) now returns a bool set to true if the
3760         selection status changes.
3761         (BranchList::clear, size, getColor, setColor, setSelected,
3762         allBranches, allSelected, separator): removed.
3763         (BranchList::find): new functions, returning the Branch with
3764         the given name.
3765         (BranchList::add, remove): return a bool indicating that
3766         the operation was successful.
3767
3768         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3769         new InsetBranch::isBranchSlected member function.
3770
3771         * LColor.[Ch]: mimimize the API.
3772         (fill): renamed as addColor and made private.
3773         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3774         versions of these functions taking a string arg have been removed.
3775
3776         * bufferparams.C (readToken):
3777         * lyxfunc.C (dispatch):
3778         * lyxrc.C (read): changes due to the altered BranchList and
3779         LColor APIs.
3780
3781         * factory.C (createInset, readInset): changes due to altered
3782         InsetBranch c-tor.
3783
3784 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3785
3786         * factory.C:
3787         * lyxfunc.C: remove insetminipage. "minipage-insert"
3788         now produces a frameless minipage box inset.
3789
3790 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3791
3792         * textcursor.[Ch] (selStart,selEnd): add new methods
3793         remove selection::start, end, use LyXCursor::operator<
3794         * lyxcursor.[Ch] (operator<): add
3795         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3796         * BufferView.[Ch] (unsetXSel): add
3797         * text2.C (clearSelection): use unsetXSel,adjust
3798         * text.C: adjust
3799         * text3.C: adjust
3800         * rowpainter.C: adjust
3801         * bufferview_funcs.C (put_selection_at): adjust
3802
3803 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3804
3805         * BufferView_pimpl.C: small coord. correction
3806
3807 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3808
3809         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3810         dragging over the splash screen.
3811
3812 2003-12-11  Angus Leeming  <leeming@lyx.org>
3813
3814         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3815         as it is now handled in LyXText::dispatch.
3816
3817         * text3.C (doInsertInset): remove a level of nesting.
3818
3819 2003-12-11  Angus Leeming  <leeming@lyx.org>
3820
3821         * factory.C (createInset): changes due to the changed interface to
3822         InsetCommandMailer::string2params.
3823
3824 2003-12-10  Angus Leeming  <leeming@lyx.org>
3825
3826         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3827         'dialog-show-new-inset <inset name>'
3828
3829 2003-12-10  Angus Leeming  <leeming@lyx.org>
3830
3831         * buffer.C: up the format to 227.
3832
3833         * factory.C: the box inset is now identified simply by 'Box'.
3834
3835 2003-12-10  Angus Leeming  <leeming@lyx.org>
3836
3837         * buffer.C: up the format to 226.
3838
3839         * factory.C: the note inset is now identified simply by 'Note'.
3840
3841 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3842
3843         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3844         when a pit is enough. Standarize a couple of loops.
3845
3846 2003-12-05  Angus Leeming  <leeming@lyx.org>
3847
3848         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3849         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3850         data to the re-worked "log" dialog.
3851
3852 2003-12-03  André Pönitz  <poenitz@gmx.net>
3853
3854         * PosIterator.C:
3855         * iterators.C:
3856         * lyxtext.h:
3857         * output_latex.C:
3858         * paragraph_funcs.C:
3859         * text.C:
3860         * text2.C: use Inset::getText instead of Inset::getParagraph
3861
3862 2003-12-03  André Pönitz  <poenitz@gmx.net>
3863
3864         * buffer.[Ch]:
3865         * lyxtext.h:
3866         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3867         InsetText::read() as LyXText::read()
3868
3869 2003-12-02  Angus Leeming  <leeming@lyx.org>
3870
3871         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3872         type. Add a comment in the implementation that the function uses
3873         the stream's bad() function rather than fail() as the std::streams
3874         would do.
3875
3876 2003-12-02  André Pönitz  <poenitz@gmx.net>
3877
3878         * lyxlex.[Ch]: make interface more similar to std::stream
3879
3880         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3881
3882 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3883
3884         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3885
3886 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3887
3888         * vspace.[Ch]: remove VSpace::NONE
3889
3890 2003-12-01  André Pönitz  <poenitz@gmx.net>
3891
3892         * buffer.[Ch]:
3893         * lyxtext.h: move ParagraphList member to LyXText
3894         rename LyXText::ownerParagraphs to LyXText::paragraph
3895
3896         * CutAndPaste.C:
3897         * bufferview_funcs.C:
3898         * iterators.[Ch]:
3899         * lyx_cb.C:
3900         * paragraph.C:
3901         * rowpainter.C:
3902         * tabular.C:
3903         * text.C:
3904         * text2.C:
3905         * text3.C: adjust
3906
3907         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3908
3909         * undo.C: fix cursor positioning
3910
3911 2003-12-01  John Levon  <levon@movementarian.org>
3912
3913         * BufferView_pimpl.C: fix a crash on exit with
3914         a buffer open
3915
3916 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3917
3918         * BranchList.C: fix setSelected() method.
3919
3920 2003-11-28  André Pönitz  <poenitz@gmx.net>
3921
3922         * ParagraphParameters.[Ch]:
3923         * ParameterStruct.h: remove space above/below from Paragraph to
3924          InsetVSpace
3925
3926         * BufferView_pimpl.C:
3927         * factory.C:
3928         * lyxfunc.C:
3929         * lyxtext.h:
3930         * output_latex.C:
3931         * paragraph.C:
3932         * paragraph_funcs.C:
3933         * rowpainter.[Ch]:
3934         * text.C:
3935         * text2.C:
3936         * text3.C: adjust
3937
3938 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3939
3940         * factory.C: Syntax change for CharStyles
3941
3942 2003-11-28  André Pönitz  <poenitz@gmx.net>
3943
3944         * BufferView.[Ch]:
3945         * BufferView.[Ch]:
3946         * buffer.[Ch]:
3947         * buffer.[Ch]: move LyXText member
3948
3949 2003-11-28  André Pönitz  <poenitz@gmx.net>
3950
3951         * BufferView.[Ch]: make LyXText * text a private member
3952
3953         * BufferView_pimpl.C:
3954         * cursor.C:
3955         * iterators.C:
3956         * lyx_cb.C:
3957         * lyxfind.C:
3958         * lyxtext.h:
3959         * rowpainter.[Ch]:
3960         * text.C:
3961         * text2.C:
3962         * undo.C: adjust
3963
3964         * output_plaintext.C: cleanup
3965
3966 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3967
3968         * buffer.C:
3969         * lyxtextclass.[Ch]: parametrize SGML document header
3970
3971 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3972
3973         * converter.[Ch]:
3974         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3975         getFlavor().
3976
3977 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3978
3979         * text2.C (setFont): rework using PosIterator (no more recursive)
3980         (setCharFont): no more needed
3981         (setLayout): no more selection cursors fiddling (done by redoCursor)
3982         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3983         destroy remaining ones)
3984
3985 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3986
3987         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3988         * lyxtext.h: ditto
3989         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3990         selection cursors
3991         * lyxfunc.C: adjust
3992         * text3.C: adjust + re-allow multi par depth changes
3993         * textcursor.C: simplify a bit
3994
3995 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3996
3997         * src/buffer.C:
3998         * src/lyxlayout.C:
3999         * src/lyxlayout.h:
4000         * src/lyxtext.h:
4001         * src/output_docbook.C:
4002         * src/output_latex.C:
4003         * src/paragraph.C:
4004         * src/paragraph.h:
4005         * src/sgml.C:
4006         * src/sgml.h:
4007         * src/text2.C: Introducing a number of tags parametrizing various
4008         XML formats that we may want to support
4009
4010 2003-11-25  André Pönitz  <poenitz@gmx.net>
4011
4012         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4013
4014         * lyxtext.h (leftMargin/rightMargin): simplify interface
4015
4016         * rowpainter.C:
4017         * text.C:
4018         * text2.C:
4019         * text3.C: adjust
4020
4021 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4022
4023         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4024         master file to any child files. Fixes bug 546.
4025
4026 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4027
4028         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4029
4030 2003-11-24  André Pönitz  <poenitz@gmx.net>
4031
4032         * rowpainter.C: simplification
4033
4034         * text2.C (updateCounters): remove call to redoParagraph on
4035         changed labels as this is far too expensive.
4036
4037 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4038
4039         * converter.C (convert): fix a crash: this function gets
4040         called with buffer == 0 from importer code.
4041
4042 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
4043
4044         * text3.C (cursorPrevious): make sure that we do not compare
4045         iterators form different containers.
4046         (cursorNext): ditto
4047
4048         * rowpainter.C (paintSelection): make sure that we do not compare
4049         iterators from different containers.
4050
4051         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4052         iterators from different ParagraphList containers.
4053         [NEXT] ditto
4054
4055         * text2.C (LyXText): change order of initialization slightly
4056         (operator=): new function. copy all variables except cache_par_
4057         (moveUp): make sure that we do not compare iterators from
4058         different ParagraphList constainers.
4059         (moveDown): ditto
4060
4061         * text.C (firstPar): new function
4062         (lastPar): new function
4063         (endPar): new function
4064
4065         * lyxtext.h: move things around and group public functions, public
4066         variables, private functions, private variables
4067
4068 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4069
4070         * factory.C: change call to InsetERT constructor to avoid
4071         additional invocation of method status
4072         * text2.C (toggleInset): remove redundant update() call
4073         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4074         instead of a Bufferview pointer
4075
4076 2003-11-21  André Pönitz  <poenitz@gmx.net>
4077
4078         * rowpainter.C: simplification
4079
4080 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4081
4082         * text3.C (dispatch): make possible to extend a word/row selection
4083         with the mouse
4084
4085 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4086
4087         * lyxtext.h: x0_,y0_ -> xo_,yo_
4088         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4089         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4090         * rowpainter.C (paintRows): paint full paragraphs
4091
4092 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4093
4094         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4095         screen coordinates)
4096
4097 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4098
4099         * lyxtext.h: add x0_, y0_
4100         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4101         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4102
4103 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4104
4105         * text2.C (setCursorIntern): move the x_target update here *
4106         * text3.C: change some bv() to true/false in calls to
4107         cursorUp/Down/Right/Left
4108         * cursor.C: use helper function.
4109
4110 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4111
4112         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4113         * paragraph_funcs.[Ch]: correct comment
4114         * rowpainter.C: do not paint selections away from bv->cursor()
4115         Fix a long standing selection painting bug.
4116         * text3.C: generalize mouse-selection code to LyXTexts other that
4117         top one
4118         * textcursor.C: do not use y coords if we can use par offsets
4119
4120 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4121
4122         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4123         cursor position after e.g. inset insert)
4124
4125 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4126
4127         * lyxfind.C (replace): adjust to locking removal + some
4128         code simplification
4129
4130 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4131
4132         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4133         of the path
4134
4135 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4136
4137         * lyxlayout.[Ch]:
4138         * output_docbook.C: XML sanitation: new layout
4139         parameters InnerTag and CommandDepth
4140
4141 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4142
4143         * BufferView_pimpl.C:
4144         * factory.C:
4145         * text3.C: Fix the insertion and modification of button-style
4146         insets
4147
4148 2003-11-13  André Pönitz  <poenitz@gmx.net>
4149
4150         * InsetList.[Ch]: remove deleteLyXText
4151
4152         * paragraph.[Ch]: cache beginOfBody position
4153
4154         * Bidi.C:
4155         * text.C:
4156         * text2.C:
4157         * text3.C: remove superfluous update() calls
4158
4159         * vspace.C: cleanup
4160
4161 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4162
4163         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4164         * BufferView.C (fitLockedInsetCursor): remove
4165         * cursor.[Ch] (getDim): add
4166         * text.C (getRowNearY): add faster version
4167         * text3.C: remove some update calls
4168
4169 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4170
4171         * LaTeXFeatures.C:
4172         * LyXAction.C:
4173         * MenuBackend.C:
4174         * MenuBackend.h:
4175         * dispatchresult.h:
4176         * factory.C:
4177         * lfuns.h:
4178         * lyxfunc.C:
4179         * lyxtextclass.C:
4180         * lyxtextclass.h:
4181         * text3.C: The Character Style /XML short element patch.
4182
4183 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4184
4185         * text3.C:
4186         * factory.C: Small step to solving 'unable to insert some insets'
4187         problem
4188
4189 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4190
4191         * cursor.[Ch] (updatePos): new function for updating the y
4192         position of the tip inset
4193         * bufferview_funcs.C (put_selection_at):
4194         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4195
4196 2003-11-11  André Pönitz  <poenitz@gmx.net>
4197
4198         * text.C: remove big comment on invalid Paragraph pointers as it is
4199         not valid anymore
4200
4201 2003-11-11  André Pönitz  <poenitz@gmx.net>
4202
4203         * text_funcs.[Ch]: merge with ...
4204
4205         * text.C: ... this
4206
4207         * lyxtext.h:
4208         * text2.C:
4209         * text3.C: adjust
4210
4211         * Makefile.am: remove text_funcs.[Ch]
4212
4213 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4214
4215         * cursor.C (getPos): return absolute cached y coord
4216
4217         * BufferView_pimpl.C (fitCursor): new simplistic code
4218         (workAreaDispatch): add a fitCursor call
4219
4220 2003-11-10  André Pönitz  <poenitz@gmx.net>
4221
4222         * BufferView.[Ch]:
4223         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4224
4225 2003-11-10  André Pönitz  <poenitz@gmx.net>
4226
4227         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4228         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4229         indicate that the cursor needs to leave an inset
4230
4231         * lyxtext.h: remove inset locking
4232
4233         * cursor.[Ch]: re-implement functionality provided by inset locking
4234
4235         * BufferView.[Ch]:
4236         * BufferView_pimpl.[Ch]:
4237         * LyXAction.C:
4238         * bufferview_funcs.[Ch]:
4239         * factory.C:
4240         * funcrequest.[Ch]:
4241         * iterators.C:
4242         * lyx_cb.C:
4243         * lyxfind.C:
4244         * lyxfunc.C:
4245         * text.C:
4246         * text2.C:
4247         * text3.C:
4248         * undo.C: adjust
4249
4250 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4251
4252         * PosIterator.[Ch]: replace the stack with a vector, add inset
4253         accesor
4254         * iterators.[C]: adjust
4255
4256 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4257
4258         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4259         replaced
4260         * paragraph_funcs.C (readParToken): put the correct id in the
4261         error item, not the id of the top paragraph
4262
4263 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4264
4265         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4266         * bufferview_funcs.C (put_selection_at): use the above
4267
4268 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4269
4270         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4271
4272 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4273
4274         * output_linuxdoc.h:
4275         * output_plaintext.h:
4276         * output.h:
4277         * output_docbook.h: add #include statements
4278
4279 2003-11-05  José Matos  <jamatos@lyx.org>
4280
4281         * output_docbook.[Ch]:
4282         * output_latex.[Ch]:
4283         * output_linuxdoc.[Ch]:
4284         * output_plaintext.[Ch]: New files for output formats.
4285         * output.[Ch]: New file for helper functions.
4286
4287         * buffer.[Ch]:
4288         * paragraph_funcs.[Ch]: output functions moved to new files.
4289
4290         * outputparams.h: rename of latexrunparams.h
4291
4292         * LaTeX.[Ch]:
4293         * buffer.[Ch]:
4294         * bufferlist.[Ch]:
4295         * converter.[Ch]:
4296         * exporter.C:
4297         * paragraph.[Ch]:
4298         * paragraph_funcs.[Ch]:
4299         * paragraph_pimpl.[Ch]:
4300         * tabular.[Ch]: rename ascii to plaintext
4301         and LatexRunParams to OutputParams.
4302
4303 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4304
4305         * iterators.[Ch] (text): require bv argument
4306         * undo.C (recordUndo):
4307         * lyxfunc.C (dispatch):
4308         * bufferview_funcs.C (put_selection_at): adjust
4309
4310 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
4311
4312         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4313
4314 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4315
4316         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4317         nestings
4318
4319 2003-11-04  André Pönitz  <poenitz@gmx.net>
4320
4321         * cursor.[Ch]: restructure
4322
4323         * BufferView.[Ch]:
4324         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4325
4326         * iterators.[Ch] (asCursor): remove
4327
4328         * lfuns.h: remove LFUN_INSET_EDIT
4329
4330         * lyxfunc.C:
4331         * tabular.C:
4332         * text.C:
4333         * text2.C:
4334         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4335
4336 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4337
4338         * lyxfind.[Ch]: complete overhaul
4339         * BufferView_pimpl.C:
4340         * lyxfunc.C: adjust
4341         * paragraph.[Ch] (insert): add
4342
4343 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4344
4345         * BufferView.[Ch]:
4346         * lyxtext.h:
4347         * text.C: remove dead spellcheck code
4348
4349 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4350
4351         * dispatchresult.h: add a val setter
4352
4353         * cursor.C (dispatch): use a tempvar for data_[i]
4354
4355 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4356
4357         * PosIterator.[Ch]: compile fix
4358
4359 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4360
4361         * text.C (cursorPar): deactivate the cursor cache
4362
4363 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4364
4365         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4366
4367 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4368
4369         * text3.C (dispatch): adjust for new DisptchResult semantics.
4370
4371         * lyxfunc.C (dispatch): handle update when return from
4372         Cursor::dispatch, adjust for new DispatchResult semantics.
4373
4374         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4375         DispatchResult(true) mean to not update. Add class functions for
4376         setting dispatched and update, as well as reading.
4377
4378         * cursor.C (dispatch): don't handle update here
4379
4380 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4381
4382         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4383         * trans_mgr.C: adjust
4384
4385         * paragraph_funcs.C (readParToken): exception safety
4386
4387         * lyxvc.h: store the vcs pointer in a scoped_ptr
4388         * lyxvc.C: adjust
4389
4390         * lyxsocket.C (serverCallback): exception safety
4391
4392         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4393
4394         * ispell.C (clone): make it return a auto_ptr
4395
4396         * factory.C (createInset): exception safety
4397         (readInset): exception safety
4398
4399         * bufferlist.C (newBuffer): exception safety
4400
4401         * Thesaurus.C (Thesaurus): use initialization for aik_
4402
4403         * MenuBackend.C (expandToc): exception safety.
4404
4405 2003-11-03  André Pönitz  <poenitz@gmx.net>
4406
4407         * buffer.C:
4408         * buffer.h:
4409         * bufferview_funcs.C: remove getInsetFromId()
4410
4411         * lyxcursor.[Ch]:
4412         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4413
4414         * lyxfunc.C:
4415         * text2.C:
4416         * text3.C: adjust
4417
4418 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4419
4420         * PosIterator.C (distance, advance): new
4421         * bufferview_funcs.[Ch] (put_selection_at): new
4422         * iterators.[Ch] (lockPath): new
4423
4424 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4425
4426         * iterators.[Ch] (asPosIterator): added
4427         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4428         * PosIterator.[Ch]: added
4429
4430 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4431
4432         * text3.C:
4433         * lyxfunc.C:
4434         * cursor.C (dispatch):
4435         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4436
4437         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4438         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4439         contructor, add a class function dispatched. Remove operator>=
4440
4441 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4442
4443         * debug.C: only use the default constructor for debugstream
4444         (lyxerr) here.
4445
4446         * main.C (main): include debug.h and setup the lyxerr streambuf
4447         here.
4448
4449 2003-10-31  José Matos  <jamatos@lyx.org>
4450
4451         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4452
4453         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4454         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4455         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4456         * paragraph_pimpl.C (simpleTeXSpecialC):
4457         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4458         add LatexRunParams argument.
4459
4460         * exporter.C (Export): change call accordingly.
4461
4462         * latexrunparams.h: add new member to take care of the other backends.
4463 2003-10-30  José Matos  <jamatos@lyx.org>
4464
4465         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4466         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4467         factorise code for paragraph output.
4468         * buffer.[Ch]:
4469         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4470         move functions.
4471
4472 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4473
4474         * text3.C (dispatch):
4475         * lyxfunc.C (dispatch):
4476         * cursor.C (dispatch):
4477         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4478
4479         * dispatchresult.h: make the dispatch_result_t ctor explicit
4480
4481 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4482
4483         * sgml.[Ch]:
4484         * buffer.C: small refactoring of docbook stuff
4485
4486 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4487
4488         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4489         meaning.
4490
4491 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4492
4493         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4494         operator dispatch_result_t, and operators for == != and >=
4495
4496         * cursor.C (dispatch): adjust for operator dispatch_result_t
4497         removal. comment out call to update
4498
4499         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4500
4501 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4502
4503         * text3.C:
4504         * text2.C:
4505         * text.C:
4506         * lyxtext.h:
4507         * lyxfunc.C:
4508         * cursor.C:
4509         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4510         (dispatch):
4511
4512         * dispatchresult.h: new file, DispatchResult broken out of
4513         insets/insetbase.h
4514
4515         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4516
4517 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4518
4519         * text.C (rowBreakPoint): put a hack inside #if 0
4520
4521 2003-10-28  André Pönitz  <poenitz@gmx.net>
4522
4523         * lyxtext.h:
4524         * metricsinfo.C:
4525         * paragraph_funcs.C:
4526         * rowpainter.C:
4527         * text.C:
4528         * text2.C: general cleanup (lots of small stuff)
4529
4530 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4531
4532         * text2.C (cursorEnd): simple fix to the "end key goes to one
4533         before the end on last row" bug
4534
4535 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4536
4537         * text.C (backspace): fix the "zombie characters"
4538
4539 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4540
4541         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4542
4543 2003-10-27  André Pönitz  <poenitz@gmx.net>
4544
4545         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4546
4547         * factory.C: handle new InsetPagebreak, InsetLine
4548
4549         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4550         and move handling into new InsetPagebreak, InsetLine
4551
4552         * BufferView_pimpl.C:
4553         * LyXAction.C:
4554         * ParagraphParameters.C:
4555         * ParameterStruct.h:
4556         * lyxfunc.C:
4557         * lyxtext.h:
4558         * paragraph.C:
4559         * paragraph.h:
4560         * paragraph_funcs.C:
4561         * paragraph_pimpl.C:
4562         * rowpainter.C:
4563         * text.C:
4564         * text2.C:
4565         * text3.C: adjust
4566
4567 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4568
4569         * text.C:
4570         * lyxrow_funcs.[Ch]:
4571         * Bidi.C:
4572         * paragraph.C:
4573         * lyxtext.h:
4574         * rowpainter.C:
4575         * text2.C:
4576         * text3.C: remove lastPos uses in favour of Row::endpos
4577
4578 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4579
4580         * undo.C (performUndoOrRedo): fix two crashes by setting a
4581         cursor by hand and reordering some calls. Use bv->lockInset instead
4582         of inset->edit because the latter loses cursor information
4583
4584 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4585
4586         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4587         by Martin
4588         (rowBreakPoint): fix width. change point to point + 1.
4589         Add a missing check.
4590
4591 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4592
4593         * MenuBackend.C:
4594         * lyxfunc.C: fix (at least partly) the problems
4595         with the Nav menu and headers inside branch insets
4596         reported by Kayvan
4597
4598 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4599
4600         * paragraph.C (getChar): add strong asserts
4601
4602         * lyxrow_funcs.C (lastPos): remove hideous hack
4603
4604         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4605         (fill): adjust to that (avoid an infinite loop)
4606
4607 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4608
4609         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4610
4611 2003-10-23  André Pönitz  <poenitz@gmx.net>
4612
4613         * RowList_fwd.h: change list<> to vector<> to gain speed
4614         after suggestion from Alfredo
4615
4616 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4617
4618         * lyxtext.h: move the bidi stuff from here...
4619         * text.C: and here
4620         * text2.C: and here
4621         * Bidi.[Ch]: ... to here
4622
4623 2003-10-23  André Pönitz  <poenitz@gmx.net>
4624
4625         * lyxtext.h:
4626         * text.C (isLastRow, isFirstRow): new functions
4627
4628         * paragraph.h: new width cache member
4629
4630         * rowpainter.C: replace RowList::iterator with Row & where possible
4631
4632         * lyxfunc.C: replace several view()->text with a single call
4633
4634         * toc.C: fix 'unused' warning
4635
4636 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4637
4638         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4639         when woring with stream::pos_type
4640         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4641
4642 2003-10-22  André Pönitz  <poenitz@gmx.net>
4643
4644         * lyxtext.h:
4645         * text.C: use Row & instead of RowList::iterator
4646
4647         * lyxrow.h: rename end() to endpos()
4648
4649         * rowpainter.C:
4650         * text.C:
4651         * text2.C: adjust
4652
4653 2003-10-22  Angus Leeming  <leeming@lyx.org>
4654
4655         * buffer.[Ch] (fully_loaded): new member function, returning true
4656         only when the file has been loaded fully.
4657         Used to prevent the premature generation of previews and by the
4658         citation inset to prevent computation of the natbib-style label.
4659
4660         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4661         templates are all set up.
4662
4663         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4664
4665 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4666
4667         * text.C: fixed an "oops" in the "is a bit silly"
4668         bug fix
4669
4670 2003-10-21  André Pönitz  <poenitz@gmx.net>
4671
4672         * FuncStatus.[Ch]: small stuff, whitespace
4673
4674         * lyxfont.[Ch]: operator<<() for debug reasons
4675
4676         * lyxfunc.C:
4677         * lyxrow_funcs.C:
4678         * lyxtext.h: whitespace, spelling
4679
4680         * paragraph.C: naming of variables
4681
4682         * text.C:
4683         * text2.C: small stuff
4684
4685
4686 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4687
4688         * text.C: (1) finish off the inset display() work;
4689         (2) fix the "is a bit silly" bug (accessing char
4690         past end of par).
4691
4692 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4693
4694         * text.C: re-introduce display() for insets, fixing the
4695         various bugs (stretch of line above, math inset
4696         positioning, ...)
4697
4698 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4699
4700         * text.C (rightMargin): remove spurious semicolon
4701
4702         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4703         1415)
4704
4705 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4706
4707         * text3.C: fix one crash due to wrong cursor def
4708
4709 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4710
4711         * vc-backend.C (scanMaster): make the regex static
4712
4713         * LaTeX.C (scanAuxFile): make the regexs static
4714
4715         * text3.C (doInsertInset, dispatch, dispatch):
4716         * text2.C (cursorUp, cursorDown):
4717         * text.C (selectNextWordToSpellcheck):
4718         * BufferView_pimpl.C (dispatch):
4719         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4720
4721 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4722
4723         * lyxsocket.C: include <cerrno>
4724
4725 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4726
4727         * lyxfunc.C (dispatch): remove textcache stuff
4728
4729         * bufferlist.C (release): remove textcache stuff
4730         (closeAll): ditto
4731
4732         * TextCache.C: delete file
4733         * TextCache.h: delete file
4734
4735         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4736
4737         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4738         delete of the bv_->text.
4739         (resizeCurrentBuffer): remove texcache stuff
4740         (workAreaResize): ditto
4741
4742 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4743
4744         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4745         action.
4746
4747 2003-10-16  André Pönitz  <poenitz@gmx.net>
4748
4749         * lyxrow.[Ch]:
4750         * paragraph.h:
4751         * rowpainter.C:
4752         * text.C:
4753         * text2.C:
4754         * text3.C: speed up by storing y positions per paragraph plus per-row
4755         offset instead of having a 'full' y position in the row.
4756
4757 2003-10-15  André Pönitz  <poenitz@gmx.net>
4758
4759         * iterators.[Ch]:
4760         * iterators.[Ch]:
4761         * undo.[Ch]: make undo aware of inner insets
4762
4763 2003-10-14  Angus Leeming  <leeming@lyx.org>
4764
4765         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4766         static member functions LyX::ref() and LyX::cref.
4767         (lastfiles): new accessor functions for the new lastfiles_ member var.
4768         (addLyXView, views_): add a new LyXView to the list of views_.
4769         (updateInset): loop over all LyXViews to call their own updateInset
4770         member function, returning a pointer to the Buffer owning the inset.
4771
4772         * BufferView_pimpl.C (loadLyXFile):
4773         * MenuBackend.C (expandLastfiles):
4774         * bufferlist.C (MenuWrite, QuitLyX):
4775         lastfiles is no longer a global variable.
4776         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4777
4778         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4779         static function. Access through LyX::cref().emergencyCleanup().
4780
4781 2003-10-14  André Pönitz  <poenitz@gmx.net>
4782
4783         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4784
4785         * undo.[Ch]: restoring part of 'undo in insets'
4786
4787         * Makefile.am:
4788         * undo_funcs.[Ch]: merge with undo.[Ch]
4789
4790         * tabular.C: small cleansing stuff
4791
4792 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4793
4794         * paragraph_funcs.C (readParToken): report unknown insets as error
4795         boxes. Use the outer paragraph as location (also for unknown
4796         tokens).
4797
4798         * factory.C (readInset): do not abort on reading an unknown inset.
4799         Eat it and return 0.
4800
4801 2003-10-13  Angus Leeming  <leeming@lyx.org>
4802
4803         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4804
4805         * lyxrc.C: displayTranslator is now a function,
4806         declared in GraphicsTypes.h.
4807
4808 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4809
4810         * format.C: new placeholder $$a to pass the socket address.
4811
4812         * bufferlist.[Ch]: new function getBufferFromTmp.
4813
4814         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4815           files in the temporary dir.
4816
4817 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4818
4819         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4820
4821         * Makefile.am: add lyxsocket.[Ch].
4822
4823         * lyx_main.C (error_handler): handle SIGPIPE.
4824
4825 2003-10-13  André Pönitz  <poenitz@gmx.net>
4826
4827         * BufferView_pimpl.C:
4828         * lyxtext.h:
4829         * text.C:
4830         * text2.C:
4831         * text3.C:
4832         * undo_funcs.[Ch]: use paroffset_type instead of
4833           ParagraphList::iterators to prevent multiple conversion
4834           (and get a more robust interface)
4835
4836 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4837
4838         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4839         * lyxtext.h: ditto
4840         * text3.C (dispatch): ditto
4841
4842 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4843
4844         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4845         move the onlyfile, use onlyfile instead of foundfile in a couple
4846         of places.
4847
4848         * DepTable.C (update): flush the error stream a bit more
4849
4850 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4851
4852         * lyxserver.C (callback): adjust
4853
4854         * lyxfunc.C (getStatus): add a missing brace in commented code
4855         (ensureBufferClean): reindent
4856         (dispatch): delete version taking a string
4857
4858 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4859
4860         * LaTeX.C (deplog): move found file handlig from here...
4861         (handleFoundFile): .. to new function here.
4862         (deplog): make sure to discover several files mentioned on the
4863         same log line.
4864
4865 2003-10-10  André Pönitz  <poenitz@gmx.net>
4866
4867         * lyxfunc.C:
4868         * lyxtext.h:
4869         * tabular.C:
4870         * text.C:
4871         * text2.C:
4872         * text3.C: fix some of the tabular crashes
4873
4874 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4875
4876         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4877
4878         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4879
4880 2003-10-09  André Pönitz  <poenitz@gmx.net>
4881
4882         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4883
4884         * BufferView.C:
4885         * BufferView_pimpl.C:
4886         * bufferview_funcs.C:
4887         * lyx_cb.C:
4888         * lyxcursor.C:
4889         * lyxfind.C:
4890         * lyxfunc.C:
4891         * lyxtext.h:
4892         * text.C:
4893         * text2.C:
4894         * text3.C:
4895         * text_funcs.[Ch]:
4896         * textcursor.[Ch]:
4897         * undo_funcs.C: adjust
4898
4899 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4900
4901         * text2.C (incrementItemDepth): new function, use a backtracking
4902         algorithm to discover the correct item depth.
4903         (resetEnumCounterIfNeeded): new function, use a backtracking
4904         algorithm to discover if counter reset is needed.
4905         (setCounter): use them. Simplify a bit. Add different labels for
4906         different item depths for itemize.
4907
4908         * paragraph.C (Paragraph): remove initialization of enumdepth
4909         (operator=): ditto
4910
4911         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4912         enumerate and itemize. Change the type of itemdepth to signed char.
4913
4914 2003-10-08  André Pönitz  <poenitz@gmx.net>
4915
4916         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4917           thing assignable.
4918         * text.C:
4919         * text2.C: adjust
4920
4921         * tabular.[Ch]: fix crash after 'row-insert'
4922
4923 2003-10-08  Angus Leeming  <leeming@lyx.org>
4924
4925         Fix doxygen warnings.
4926
4927         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4928         Remove CutAndPaste:: prefix from header file declaration.
4929
4930         * LColor.h (fill): remove LColor:: prefix from declaration.
4931
4932         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4933         use lyx::depth_type rather than Paragraph::depth_type so that
4934         header file and .C file match.
4935
4936         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4937
4938         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4939         * aspell.C: \file aspell_local.C -> \file aspell.C
4940         * gettext.C: \file gettext.C -> \file src/gettext.C
4941         * gettext.h: \file gettext.h -> \file src/gettext.h
4942         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4943         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4944         * text.C: \file text.C -> \file src/text.C
4945
4946         * toc.C: move comment so that doxygen is not confused.
4947
4948 2003-10-07  Angus Leeming  <leeming@lyx.org>
4949
4950         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4951
4952 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4953
4954         * aspell.C:
4955         * aspell_local.h: add forgotten std::string's.
4956
4957 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4958
4959         * LaTeXFeatures.C:
4960         * LyXAction.C:
4961         * factory.C:
4962         * lfuns.h:
4963         * lyxfunc.C:
4964         * text3.C: The Box patch. Fancybox support, minipage, parbox
4965
4966 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4967
4968         * CutAndPaste.h:
4969         * DepTable.h:
4970         * FloatList.h:
4971         * LaTeXFeatures.h:
4972         * ParagraphParameters.h:
4973         * TextCache.h:
4974         * Thesaurus.h:
4975         * bufferlist.h:
4976         * exporter.h:
4977         * importer.h:
4978         * lastfiles.h:
4979         * lyxfind.h:
4980         * lyxfont.h:
4981         * lyxlex.h:
4982         * lyxtextclasslist.h:
4983         * messages.h:
4984         * paragraph.h:
4985         * paragraph_pimpl.C:
4986         * textcursor.h: add <string> and other small fixes to make Lars'
4987         std::string patch compile with STLport.
4988
4989 2003-10-06  Angus Leeming  <leeming@lyx.org>
4990
4991         * LColor.h: Add missing #include <string>.
4992
4993 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4994
4995         * All most all file in all subdirs: Make <string> be the prefered
4996         way of getting to std::string, add using declarations.
4997
4998 2003-10-06  André Pönitz  <poenitz@gmx.net>
4999
5000         * metricsinfo.C: initialize LyXFont before changing attribute.
5001         (fixes the 'math in \emph is upright' bug)
5002
5003 2003-10-06  André Pönitz  <poenitz@gmx.net>
5004
5005         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5006
5007 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5008
5009         * graph.C:
5010         * paragraph_pimpl.C: Small fixes to build using STLport
5011
5012 2003-10-02  André Pönitz  <poenitz@gmx.net>
5013
5014         * lyxfunc.C:
5015         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5016
5017 2003-10-01  André Pönitz  <poenitz@gmx.net>
5018
5019         * factory.C: assert early
5020
5021 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5022
5023         * lyx_main.C: remove the global debug object
5024
5025         * debug.h: adjust for new debugstream
5026
5027         * debug.C: adjust for new debugstream and keep the global debug
5028         object here.
5029
5030 2003-09-22  Angus Leeming  <leeming@lyx.org>
5031
5032         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5033         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5034         an incomplete class LyXFont.
5035
5036 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5037
5038         * factory.C: bug fix in branches
5039
5040 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5041
5042         * lyxfunc.C (processKeySym): adjust
5043         (dispatch): adjust
5044         (dispatch): change arg name from ev to func, adjust
5045         (sendDispatchMessage): ditto
5046
5047         * lyx_main.C (defaultKeyBindings): adjust keybindings
5048         (deadKeyBindings): ditto
5049
5050         * kbsequence.C (addkey): return a FuncRequest
5051
5052         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5053
5054         * kbmap.C (bind): take a FuncRequest as arg, adjust
5055         (read): adjust
5056         (lookup): adjust
5057         (defkey): change to take a FuncRequest as arg, adjust
5058         (findbinding): take a FuncRequest as arg, adjust.
5059
5060         * funcrequest.h (operator=): added
5061
5062         * funcrequest.C (FuncRequest): default kb_action changed from
5063         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5064
5065         * buffer.C (dispatch): simplify
5066         (dispatch): adjust to take a FuncRequest as arg, adjust
5067
5068         * boost.C (assertion_failed): change assertion message slightly
5069
5070         * ToolbarBackend.C (read): simplify
5071
5072         * MenuBackend.C (binding): adjust call to findbinding, add a
5073         message if no binding is found.
5074         (read): simplify
5075         (expandToc): correct by adding a empty FuncRequest
5076
5077         * LyXAction.C: include <boost/assert.hpp>
5078         (isPseudoAction): delete function
5079         (LookupFunc): change name to...
5080         (lookupFunc): this. change return type to FuncRequest.
5081         (getActionName): take kb_action as arg, simplify
5082         (funcHasFlag): add an assert, simplify.
5083
5084 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5085
5086         * toc.C (action): return a FuncRequest, simplify
5087
5088         * lyxfunc.C (processKeySym): adjust
5089         (getStatus): delete version that takes an int.
5090         (getStatus): adjust
5091         (dispatch): delete version that takes action as int
5092         (dispatch): adjust
5093         (sendDispatchMessage): simplify and adjust
5094
5095         * funcrequest.C (getArg): take unsigned int as arg
5096
5097         * ToolbarBackend.C (read): adjust
5098         (add): delete version that takes func as a string.
5099         (getIton): take a FuncRequest as arg
5100
5101         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5102         action.
5103
5104         * MenuBackend.C (MenuItem): add a new construct that only takes a
5105         Kind, simplify the constructor use for submenus.
5106         (add): adjust
5107         (expandLastfiles): adjust
5108         (expandDocuments): adjust
5109         (expandFormats): adjust
5110         (expandFloatListInsert): adjust
5111         (expandFloatInsert): adjust
5112         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5113
5114         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5115         Remove class variables lyx_pseudo_map and lyx_arg_map
5116
5117         * LyXAction.C (searchActionArg): delete function
5118         (getPseudoAction): delete function
5119         (retrieveActionArg): delete function
5120         (LookupFunc): make it return kb_action, simplify.
5121         (getActionName): simplify
5122
5123         * factory.C (createInset): fix new bug
5124
5125 2003-09-19  Angus Leeming  <leeming@lyx.org>
5126
5127         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5128         masterFilename_ parameter in the include inset.
5129
5130         * factory.C (createInset): changes due to the changes to InsetInclude.
5131
5132 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5133
5134         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5135
5136 2003-09-18  Angus Leeming  <leeming@lyx.org>
5137
5138         * buffer.C:
5139         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5140         Inset::fillWithBibKeys.
5141         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5142
5143 2003-09-18  Angus Leeming  <leeming@lyx.org>
5144
5145         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5146         variables.
5147         (ctor): pass and store a 'Buffer const &'
5148         (buffer): new member function.
5149
5150         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5151         '*this' to the LaTeXFeatures ctor.
5152
5153 2003-09-18  Angus Leeming  <leeming@lyx.org>
5154
5155         * LColor.h:
5156         * lyxfont.C:
5157         * lyxfont.h:
5158         * lyxtext.h:
5159         * text.C: rename EnumLColor as LColor_color.
5160
5161 2003-09-18  Angus Leeming  <leeming@lyx.org>
5162
5163         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5164         remove #include "insets/insetbase.h" from cursor.h.
5165
5166 2003-09-18  Angus Leeming  <leeming@lyx.org>
5167
5168         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5169         InsetOld_code to remove #include "inset.h".
5170
5171         * iterators.C: add #include "insets/inset.h"
5172
5173 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5174
5175         * BufferView.C: remove more locking stuff that apparently doesn't
5176         do anything sensible.
5177
5178 2003-09-16  André Pönitz  <poenitz@gmx.net>
5179
5180         * paragraph.[Ch]:
5181         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5182           performance boost.
5183
5184 2003-09-16  Angus Leeming  <leeming@lyx.org>
5185
5186         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5187
5188         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5189         arg/return type.
5190
5191         * paragraph.h: remove #include "lyxfont.h". Forward declare
5192         LyXFont_size.
5193
5194 2003-09-16  Angus Leeming  <leeming@lyx.org>
5195
5196         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5197         of support/textutils.h.
5198         (isWord): move the contents of support/textutils.h's IsWordChar here.
5199
5200         * buffer.C:
5201         * lyxfind.C:
5202         * rowpainter.C:
5203         * text.C:
5204         * text2.C: add #include "paragraph.h".
5205
5206         * rowpainter.C:
5207         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5208
5209 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5210
5211         * main.C:
5212         * lyx_main.C:
5213         * lyx_cb.C:
5214         * buffer.C:
5215         * LaTeX.C: use namespace alias for lyx::support::os
5216
5217 2003-09-16  Angus Leeming  <leeming@lyx.org>
5218
5219         * bufferparams.C:
5220         * bufferview_funcs.C:
5221         * factory.C:
5222         * lyxfunc.C:
5223         * paragraph_pimpl.C:
5224         * rowpainter.C:
5225         * text.C: add #include "LColor.h".
5226
5227 2003-09-16  Angus Leeming  <leeming@lyx.org>
5228
5229         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5230         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5231         return LyXFont &.
5232         Store the FontBits::color variable as an int rather than as an
5233         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5234         file.
5235
5236         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5237         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5238         string calls together.
5239
5240         * lyxrc.C: add #include "LColor.h".
5241
5242 2003-09-15  Angus Leeming  <leeming@lyx.org>
5243
5244         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5245         a cow_ptr.
5246
5247 2003-09-15  Angus Leeming  <leeming@lyx.org>
5248
5249         * LColor.h: add an EnumLColor wrapper for LColor::color.
5250
5251         * lyxfont.[Ch] (color, setColor, realColor):
5252         * lyxtext.h, text.C (backgroundColor):
5253         pass EnumLColor args to/from the functions, rather than LColor::color
5254         ones.
5255
5256         * lyxfont.h:
5257         * lyxtext.h: forward declare EnumLColor.
5258
5259         * lyx_main.C: add #include "LColor.h".
5260
5261 2003-09-15  Angus Leeming  <leeming@lyx.org>
5262
5263         * .cvsignore: add lyx-gtk.
5264
5265 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5266
5267         * Chktex.C
5268         * LaTeX.C
5269         * LaTeXFeatures.C
5270         * ParagraphParameters.C
5271         * Spacing.C
5272         * buffer.C
5273         * bufferparams.C
5274         * bufferview_funcs.C
5275         * chset.C
5276         * counters.C
5277         * funcrequest.C
5278         * lyxfont.C
5279         * lyxgluelength.C
5280         * lyxlength.C
5281         * paragraph.C
5282         * paragraph_funcs.C
5283         * text3.C
5284         * vc-backend.C: remove usage of STRCONV
5285
5286 2003-09-15  Angus Leeming  <leeming@lyx.org>
5287
5288         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5289         explicitly define the color passed to the painter.
5290
5291 2003-09-15  Angus Leeming  <leeming@lyx.org>
5292
5293         * bufferparams.C (BufferParams): reorder member initializers to avoid
5294         compiler warning.
5295
5296 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5297
5298         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5299         * text.C (updateRowPositions): remove an unusual nop
5300
5301 2003-09-12  André Pönitz  <poenitz@gmx.net>
5302
5303         * BufferView_pimpl.C:
5304         * Bullet.C:
5305         * layout.h:
5306         * lyxfunc.C:
5307         * lyxlayout.[Ch]:
5308         * lyxtextclass.C:
5309         * rowpainter.C:
5310         * text.C:
5311         * text2.C:
5312         * Counters.[Ch]: finish the 'automatic counters' job
5313
5314 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5315
5316         * aspell.C: include <boost/assert.cpp> (compile fix)
5317
5318 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5319
5320         * boost.C (assertion_failed): use lyx::support::abort instead of
5321         assert.
5322
5323 2003-09-10  Angus Leeming  <leeming@lyx.org>
5324
5325         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5326         with their _fwd progeny.
5327
5328 2003-09-09  Angus Leeming  <leeming@lyx.org>
5329
5330         134 files throughtout the source tree: replace 'using namespace abc;'
5331         directives with the appropriate 'using abc::xyz;' declarations.
5332
5333 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5334
5335         * boost.C (emergencyCleanup): moved here from LAssert.c
5336         (assertion_failed): new function, called by BOOST_ASSERT
5337
5338         * several files: change Assert to BOOST_ASSERT
5339
5340 2003-09-09  Angus Leeming  <leeming@lyx.org>
5341
5342         * buffer.[Ch]: Add an Impl class and move Buffer's member
5343         variables into it. As a result move several header files out of
5344         buffer.h.
5345
5346         Add header files to lots of .C files all over the tree as a result.
5347
5348 2003-09-09  Angus Leeming  <leeming@lyx.org>
5349
5350         * buffer.[Ch]: make Buffer's member variables private. Add
5351         accessor functions.
5352
5353         Lots of changes all over the tree as a result.
5354
5355 2003-09-08  Angus Leeming  <leeming@lyx.org>
5356
5357         * graph.C: #include <config.h>.
5358
5359 2003-09-08  Angus Leeming  <leeming@lyx.org>
5360
5361         * BranchList.C:
5362         * BufferView.C:
5363         * BufferView_pimpl.C:
5364         * CutAndPaste.C:
5365         * DepTable.C:
5366         * LaTeX.C:
5367         * LaTeXFeatures.C:
5368         * LyXAction.C:
5369         * MenuBackend.C:
5370         * TextCache.C:
5371         * aspell.C:
5372         * buffer.C:
5373         * bufferlist.C:
5374         * changes.C:
5375         * chset.C:
5376         * converter.C:
5377         * counters.C:
5378         * debug.C:
5379         * graph.C:
5380         * ispell.C:
5381         * lyx_cb.C:
5382         * lyxfind.C:
5383         * lyxfunc.C:
5384         * lyxlex_pimpl.C:
5385         * lyxrc.C:
5386         * lyxrow.C:
5387         * paragraph.C:
5388         * rowpainter.C:
5389         * texrow.C:
5390         * text.C:
5391         * text2.C:
5392         * toc.C: remove redundant using directives.
5393
5394 2003-09-07  Angus Leeming  <leeming@lyx.org>
5395
5396         * LaTeXFeatures.h: remove #include "support/types.h".
5397         * ToolbarBackend.h: remove #include <algorithm>.
5398         * changes.h: remove #include <ctime>.
5399         * debug.h: remove #include <iosfwd>.
5400         * graph.h: remove #include "support/std_string.h".
5401         * lyx_main.h: remove #include <csignal>.
5402         * lyxlex_pimpl.h: remove #include <fstream>.
5403         * sgml.h: remove #include <algorithm>, <utility>.
5404         * toc.h: remove #include "support/std_ostream.h".
5405         Add #include <iosfwd>.
5406
5407 2003-09-07  Angus Leeming  <leeming@lyx.org>
5408
5409         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5410
5411         * converter.h: forward declare LatexRunParams.
5412         * encoding.h: remove #include "lyxrc.h".
5413         * lyxtext.h: remove #include "LColor.h".
5414         * lyxtextclass.h: remove #include "support/types.h".
5415         * trans.h: remove #include "tex-accent.h".
5416         * trans_mgr.h: remove #include "tex-accent.h".
5417         * insets/inset.h: remove #include "support/types.h", <vector>.
5418         * insets/insetcollapsable.h: remove #include "LColor.h".
5419         * insets/insetinclude.h: remove #include "dimension.h".
5420         * insets/insetlatexaccent.h: remove #include "dimension.h".
5421         * insets/insetoptarg.h:: remove #include "insettext.h".
5422         * insets/insettext.h: remove #include "dimension.h",
5423         <boost/shared_ptr.hpp>
5424
5425         * insets/renderers.h: add #include "dimension.h".
5426         * insets/updatableinset.h: add #include "support/types.h".
5427
5428         * many .C files: Associated changes.
5429
5430 2003-09-06  Angus Leeming  <leeming@lyx.org>
5431
5432         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5433         one, inside testInvariant.
5434
5435         * PrinterParams.C: new file.
5436         * PrinterParams.[Ch]: move the function bodies out of line.
5437
5438 2003-09-06  Angus Leeming  <leeming@lyx.org>
5439
5440         * ParagraphParameters.h: forward declare ParameterStruct rather than
5441         including its header file.
5442         (depth): moved out-of-line.
5443
5444 2003-09-06  Angus Leeming  <leeming@lyx.org>
5445
5446         * BufferView_pimpl.h:
5447         * kbmap.h:
5448         * kbsequence.h:
5449         * lyxfunc.h: forward declare LyXKeySym rather than
5450         #include "frontends/LyXKeySym.h".
5451
5452         * BufferView_pimpl.C:
5453         * kbmap.C:
5454         * kbsequence.C:
5455         * lyxfunc.C: associated changes.
5456
5457 2003-09-06  Angus Leeming  <leeming@lyx.org>
5458
5459         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5460         As a result, can remove the #include "insets/inset.h" from BufferView.h
5461
5462 2003-09-06  Angus Leeming  <leeming@lyx.org>
5463
5464         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5465         As a result, can remove the #include "insets/inset.h" from BufferView.h
5466
5467 2003-09-06  Angus Leeming  <leeming@lyx.org>
5468
5469         * buffer_funcs.C:
5470         * buffer.h:
5471         * bufferlist.C:
5472         * BufferView.C:
5473         * bufferview_funcs.C:
5474         * BufferView_pimpl.C:
5475         * CutAndPaste.C:
5476         * lyx_cb.C:
5477         * lyxfunc.C:
5478         * paragraph.h:
5479         * ParagraphParameters.C:
5480         * tabular.C:
5481         * text3.C:
5482         * toc.C:
5483         * undo_funcs.C:
5484         * frontends/controllers/ControlDocument.C:
5485         * insets/insetcaption.C: rearrange the #includes into some sort of
5486         coherent order.
5487
5488         * buffer.h: remove #includes ErrorList.h, undo.h
5489
5490 2003-09-06  Angus Leeming  <leeming@lyx.org>
5491
5492         * support/types.h: add a 'depth_type' typedef, used to store the
5493         nesting depth of a paragraph.
5494
5495         * paragraph.h:
5496         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5497         defining explicitly.
5498
5499         * buffer.h:
5500         * paragraph_funcs.h:
5501         * ParagraphParameters.h:
5502         * sgml.h: use lyx::depth_type rather than Paragraph or
5503         ParameterStruct's depth_type.
5504
5505         * buffer.h
5506         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5507
5508         * BufferView.C:
5509         * BufferView_pimpl.C:
5510         * CutAndPaste.C:
5511         * ParagraphParameters.C:
5512         * buffer_funcs.C:
5513         * bufferlist.C:
5514         * bufferview_funcs.C:
5515         * lyx_cb.C:
5516         * lyxfunc.C:
5517         * tabular.C:
5518         * text3.C:
5519         * toc.C:
5520         * undo_funcs.C:
5521         * frontends/LyXView.C:
5522         * frontends/controllers/ControlDocument.C:
5523         * frontends/controllers/ControlErrorList.C:
5524         * insets/insetbibitem.C:
5525         * insets/insetbranch.C:
5526         * insets/insetcaption.C:
5527         * insets/insetcollapsable.C:
5528         * insets/insetenv.C:
5529         * insets/insetert.C:
5530         * insets/insetfloat.C:
5531         * insets/insetfoot.C:
5532         * insets/insetfootlike.C:
5533         * insets/insetnewline.C:
5534         * insets/insetquotes.C:
5535         * insets/insettabular.C:
5536         * insets/insettext.C:
5537         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5538
5539         * frontends/controllers/ControlChanges.C: #include "changes.h".
5540
5541 2003-09-06  Angus Leeming  <leeming@lyx.org>
5542
5543         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5544         than #including paragraph.h.
5545
5546         * ParagraphList.h:
5547         * RowList.h: deleted. Superfluous.
5548
5549         * CutAndPaste.h:
5550         * iterators.h:
5551         * lyxcursor.h:
5552         * lyxtext.h:
5553         * text_funcs.h:
5554         * undo.h:
5555         * undo_funcs.h:
5556         * insets/inset.h:
5557         * insets/insettext.h: use ParagraphList_fwd.h rather than
5558         ParagraphList.h.
5559
5560         * paragraph.h: don't forward declare ParagraphList.
5561
5562         * buffer.h:
5563         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5564         rather than ParagraphList.h. paragraph.h is still needed for the
5565         Paragraph::depth_type parameters.
5566
5567         * textcursor.h: enable it to compile stand-alone in light of the
5568         above changes.
5569
5570         * bufferview_funcs.C:
5571         * iterators.C:
5572         * lyxfunc.C:
5573         * lyxrow_funcs.C:
5574         * paragraph.C:
5575         * rowpainter.C:
5576         * text.C:
5577         * text2.C:
5578         * text3.C:
5579         * text_funcs.C:
5580         * textcursor.C:
5581         * undo.C:
5582         * frontends/controllers/ControlParagraph.C:
5583         * frontends/controllers/ControlTabular.C:
5584         * insets/insetmarginal.C:
5585         * insets/insetminipage.C:
5586         * insets/insetnote.C:
5587         * insets/insetoptarg.C: add header files needed to compile again.
5588
5589 2003-09-06  Angus Leeming  <leeming@lyx.org>
5590
5591         * RowList_fwd.h: new file, forward-declaring Row rather than
5592         #including lyxrow.h.
5593
5594         * lyxrow_funcs.h:
5595         * lyxtext.h:
5596         * paragraph.h:
5597         * insets/insettext.h: use it instead of RowList.h
5598
5599         * bufferview_funcs.C:
5600         * lyxfunc.C:
5601         * lyxrow_funcs.C:
5602         * paragraph.C:
5603         * rowpainter.C:
5604         * text.C:
5605         * text2.C:
5606         * text3.C: #include "RowList.h".
5607
5608 2003-09-05  Angus Leeming  <leeming@lyx.org>
5609
5610         * factory.C (createInset):
5611         * vspace.C (c-tor): replace sscanf call with an istringstream.
5612         * ispell.C: re-add missing HP/UX headers.
5613         * lyxserver.C: re-add missing  os2 headers.
5614
5615 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5616
5617         * BranchList.C:
5618         * graph.C:
5619         * ispell.C:
5620         * lastfiles.C:
5621         * lyx_cb.C:
5622         * lyxserver.C:
5623         * texrow.C:
5624         * text3.C: re-add missing system headers, needed for 2.95.2.
5625
5626 2003-09-05  Angus Leeming  <leeming@lyx.org>
5627
5628         Changes most place everywhere due to the removal of using directives
5629         from support/std_sstream.h.
5630
5631 2003-09-05  Angus Leeming  <leeming@lyx.org>
5632
5633         Replace LString.h with support/std_string.h,
5634         Lsstream.h with support/std_sstream.h,
5635         support/LIstream.h with support/std_istream.h,
5636         support/LOstream.h with support/std_ostream.h.
5637
5638         Changes resulting throughout the tree.
5639
5640 2003-09-05  Angus Leeming  <leeming@lyx.org>
5641
5642         * sgml.h: ensure that the header file can be compiled stand-alone.
5643         * *.C: strip out redundant #includes. (320 in total.)
5644
5645 2003-09-04  Angus Leeming  <leeming@lyx.org>
5646
5647         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5648         here (from getPackages).
5649
5650         * debug.[Ch]: add a new EXTERNAL tag.
5651
5652 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5653
5654         * text2.C (cursorEnd): simplify
5655         (setCursor): adjust
5656         (getColumnNearX): adjust
5657
5658         * text.C (computeBidiTables): adjust
5659         (fill): adjust
5660
5661         * rowpainter.C (paintChars): adjust
5662         (paintSelection): adjust
5663         (paintChangeBar): adjust
5664         (paintText): adjust
5665
5666         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5667         lastPos instead.
5668         (numberOfSeparators): adjust
5669
5670 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5671
5672         * LyXAction.C:
5673         * box.[Ch]:
5674         * lfuns.h:
5675         * lyxfunc.C:
5676         * text3.C: Restricts the mouse click functionality
5677         of insets like bibtex, include, toc and floatlist to the visible
5678         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5679         up the dialogs. Cursor has to be in front of the inset (i.e.
5680         start of row) for this to function.
5681
5682 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5683
5684         * bufferview_funcs.C (currentState): output row information
5685
5686 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5687
5688         * bufferview_funcs.C (currentState): output paragraph position
5689
5690 2003-09-04  Angus Leeming  <leeming@lyx.org>
5691
5692         * FloatList.h: move out #include "Floating.h".
5693         * LaTeX.h: move out #include "DepTable.h".
5694         * LyXAction.h: move out #include "funcrequest.h".
5695         * buffer.h: move out #include "author.h", "iterators.h".
5696         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5697         * lyx_main.h: move out #include "errorlist.h".
5698         * lyxfunc.h: move out #include "FuncStatus.h".
5699         * lyxtext: move out #include "lyxcursor.h".
5700         * paragraph_pimpl.h: move out #include "counters.h".
5701
5702 2003-09-03  Angus Leeming  <leeming@lyx.org>
5703
5704         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5705         preamble_snippets list, enabling us to add snippets to the preamble
5706         only if the snippet was not there already.
5707
5708 2003-09-04  Angus Leeming  <leeming@lyx.org>
5709
5710         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5711
5712 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5713
5714         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5715         update
5716
5717 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5718
5719         * BranchList.C: point fix, earlier forgotten
5720
5721 2003-09-02  Angus Leeming  <leeming@lyx.org>
5722
5723         * box.C (contains): renamed from 'contained' after a fantastic
5724         amount of hot air.
5725
5726 2003-09-02  John Levon  <levon@movementarian.org>
5727
5728         * BufferView.C:
5729         * lyxcursor.h:
5730         * lyxcursor.C:
5731         * lyxfunc.C:
5732         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5733
5734 2003-09-02  John Levon  <levon@movementarian.org>
5735
5736         * text2.C: simplification of cursorEnd(), including partial
5737         fix for bug 1376
5738
5739 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5740
5741         * buffer.C (readFile): add a space
5742
5743 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5744
5745         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5746
5747 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5748
5749         * buffer.C (readFile): new function, take a filename and a
5750         ParagraphList::iterator
5751         (readFile): adjust
5752         (readFile): adjust, make it private. don't use setStream, make
5753         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5754         always contain the filename.
5755
5756         * BufferView.C (insertLyXFile): simplify and make it work for
5757         gzipped files.
5758
5759 2003-08-30  John Levon  <levon@movementarian.org>
5760
5761         * Makefile.am: fix dist (from Kayvan)
5762
5763 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5764
5765         * most files: change to use const Buffer refs
5766
5767 2003-08-27  André Pönitz  <poenitz@gmx.net>
5768
5769         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5770         on top of ownerPar().
5771
5772 2003-08-27  John Levon  <levon@movementarian.org>
5773
5774         * funcrequest.C: properly initialise POD members
5775
5776 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5777
5778         * lyxtext.h (top_y): move top_y from here
5779         * text.C:
5780         * text2.C:
5781         * text3.C:
5782         * BufferView.[Ch]:
5783         * BufferView_pimpl.[Ch]: to here
5784         * frontends/screen.C:
5785         * insets/insettabular.C:
5786         * insets/insettext.C: adjust
5787         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5788
5789 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5790
5791         * BufferView.[Ch]:
5792         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5793
5794 2003-08-26  André Pönitz  <poenitz@gmx.net>
5795
5796         * paragraph_func.[Ch] (outerPar): new function
5797
5798         * paragraph.C:
5799         * paragraph_funcs.C:
5800         * paragraph_funcs.h:
5801         * paragraph_pimpl.C:
5802         * text2.C: remove Inset::par_owner
5803
5804 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5805
5806         * lyxrow_funcs.C:
5807         * lyxtext.h:
5808         * text.C:
5809         * text2.C: eliminates the needFullRow/display() stuff
5810         altogether, putting the logic in metrics/draw in the insets.
5811
5812 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5813
5814         * text2.C (redoParagraphInternal, redoParagraphs):
5815         * text.C (redoParagraph): add a call to updateRowPositions at the
5816         end of each 'metrics-like' call. Remove all others.
5817         (getRow): remove the 'y-computing' version.
5818         (getRowNearY): do not compute nor return the real y. Solve the
5819         'y < 0' problem and simplify.
5820
5821 2003-08-22  Angus Leeming  <leeming@lyx.org>
5822
5823         * *.[Ch]: clean-up of licence and author blurbs.
5824         Also move config.h out of a few .h files and into a few .C files.
5825
5826 2003-08-22  André Pönitz  <poenitz@gmx.net>
5827
5828         * lyxrow.[Ch]: add x_ and *fill_ members
5829
5830         * lyxtext.h:
5831         * text.C:
5832         * rowpainter.C:
5833         * text2.C: adjust/remove prepareToPrint() calls
5834
5835 2003-08-22  André Pönitz  <poenitz@gmx.net>
5836
5837         * lyxrow.[Ch]: add  end_ member
5838
5839         * lyxrow_funcs.C: use LyXRow::end_
5840
5841         * lyxtext.h (singleWidth): add LyXFont parameter
5842
5843         * rowpainter.C:
5844         * text2.C: adjust LyXText::singleWidth() calls
5845
5846         * text.C (redoParagraph): simplify row breaking logic
5847
5848
5849 2003-08-19  André Pönitz  <poenitz@gmx.net>
5850
5851         * funcrequest.C: initialize button_ member
5852
5853         * text3.C:
5854         * rowpainter.[Ch]: interface consolidation
5855
5856 2003-08-18  André Pönitz  <poenitz@gmx.net>
5857
5858         * BufferView.C:
5859         * BufferView_pimpl.C:
5860         * lyxfind.C:
5861         * paragraph_funcs.C:
5862         * rowpainter.C:
5863         * text3.C: remove LyXScreen::draw() and fitCursor calls
5864
5865         * BranchList.h: remove spurious semicolons
5866
5867         * MenuBackend.C: fix branchlist related crash
5868
5869 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5870
5871         * BranchList.[Ch]:
5872         * InsetList.[Ch]:
5873         * LColor.[Ch]:
5874         * LyXAction.C:
5875         * Makefile.am:
5876         * MenuBackend.[Ch]:
5877         * bufferparams.[Ch]:
5878         * factory.C:
5879         * lfuns.h:
5880         * lyxfunc.C:
5881         * text3.C: implements the 'branch inset'
5882         idea. This allows the output of various versions of a document
5883         from a single source version, selectively outputing or suppressing
5884         output of parts of the text.
5885         This implementation contains a 'branch list editor' in a separate
5886         tab of the document settings dialog. Branches are user definable
5887         and have a "display colour" to distinguish them on-screen.
5888
5889         ColorHandler was somewhat cleaned up.
5890         (1) make possible a dynamically growing LColor list by allowing
5891         the graphic context cache to grow along (vector);
5892         (2) eliminate an IMHO unnecessary step in colour allocation.
5893
5894 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5895
5896         * BufferView_pimpl.C: compile fix
5897
5898 2003-08-15  André Pönitz  <poenitz@gmx.net>
5899
5900         * rowpainter.C: remove extra metrics calls
5901
5902         * lyxtext.h: merge the two constructors into a single one,
5903           pass reference to owner's par list
5904
5905         * BufferView_pimpl.C:
5906         * text.C:
5907         * text2.C: adjust
5908
5909 2003-08-15  André Pönitz  <poenitz@gmx.net>
5910
5911         * lyxrow_funcs.[Ch]:
5912         * lyxtext.h:
5913         * paragraph.h:
5914         * paragraph_funcs.C:
5915         * rowpainter.C:
5916         * text.C:
5917         * text2.C:
5918         * text3.C:
5919         * text_funcs.C: split LyXText::rowlist_ into individual
5920         Paragraph::rows_ chunks
5921
5922         * BufferView.[Ch]:
5923         * BufferView_pimpl.[Ch]:
5924         * lyxfind.C:
5925         * lyxtext.h:
5926         * text3.C: remove toggleSelection()
5927
5928 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5929
5930         * bufferlist.C: beautify two alerts (shorter text of buttons)
5931         * buffer.C: Remove redundant ' ' from message
5932         * tabular.h:
5933         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5934         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5935         rename VALIGN_CENTER to VALIGN_MIDDLE
5936
5937 2003-08-11  André Pönitz  <poenitz@gmx.net>
5938
5939         * lyxtext.h (getPar):
5940         * text.C: new function
5941
5942 2003-08-11  André Pönitz  <poenitz@gmx.net>
5943
5944         * Makefile.am:
5945         * tracer.[Ch]: remove unneeded files
5946
5947         * InsetList.[Ch]: remove resizeInsetsLyXText()
5948
5949         * lyxtext.h:
5950         * text.C:
5951         * text2.C:
5952         * text3.C: merge insertParagraphs() and appendParagraph()
5953         remove breakAgain(), update()
5954
5955         * BufferView_pimpl.[Ch]:
5956         * bufferview_funcs.[Ch]:
5957         * lyxfunc.C:
5958         * paragraph.[Ch]:
5959         * rowpainter.C:
5960         * tabular.C: adjust after text & InsetList changes.
5961
5962 2003-08-08  André Pönitz  <poenitz@gmx.net>
5963
5964         * text.C (insertChar, backspace): replace rowlist fiddling
5965         with rebreak of full par
5966
5967         * lyxtext.h:
5968         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5969         checkParagraph, updateInset): removed
5970
5971 2003-08-07  André Pönitz  <poenitz@gmx.net>
5972
5973         * paragraph.C:
5974         * text3.C: merge some LFUN handlers, remove dead code
5975
5976 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5977
5978         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5979
5980 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5981
5982         * text2.C (DEPM): fix part of bug 1255 and 1256
5983
5984 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5985
5986         * BufferView_pimpl.C (workAreaDispatch): change to use
5987         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5988         that are no mouse related.
5989
5990 2003-08-05  André Pönitz  <poenitz@gmx.net>
5991
5992         * BufferView.[Ch]:
5993         * BufferView_pimpl.[Ch]:
5994         * bufferview_funcs.C:
5995         * text2.C:
5996         * text3.C: rip out "deep update"
5997
5998         * textcursor.[Ch] (last_sel_cursor): remove unused member
5999
6000 2003-08-04  André Pönitz  <poenitz@gmx.net>
6001
6002         * BufferView.[Ch]:
6003         * BufferView_pimpl.[Ch]:
6004         * ParagraphParameters.C:
6005         * bufferview_funcs.C:
6006         * lyx_cb.C:
6007         * lyxfind.C:
6008         * lyxfunc.C:
6009         * text.C:
6010         * text2.C:
6011         * text3.C: replace "complicated" BufferView::update(...) calls with
6012         simpler ones.
6013
6014         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6015
6016 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6017
6018         * Makefile.am (lyx_SOURCES): add paper.h
6019
6020 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6021
6022         * Makefile.am: move things around so that both lyx-qt and
6023         lyx-xforms can be built (according to --with-frontend). Then lyx
6024         is a symbolic link to lyx-[firstfrontend]
6025
6026 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6027
6028         * Always use std::endl with lyxerr
6029
6030 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6031
6032         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6033
6034 2003-08-01  André Pönitz  <poenitz@gmx.net>
6035
6036         * BufferView.[Ch]:
6037         * BufferView_pimpl.[Ch]:
6038         * lyxfunc.C:
6039         * text3.C: merge BufferView::repaint() and BufferView::update()
6040
6041 2003-08-01  José Matos  <jamatos@lyx.org>
6042
6043         * buffer.[Ch]: file_format is no longer a buffer data element.
6044
6045 2003-08-01  André Pönitz  <poenitz@gmx.net>
6046
6047         * BufferView.C:
6048         * lyxtext.h:
6049         * text.C:
6050         * text2.C: make redoParagraph more independent of current cursor
6051
6052         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6053         * text.C:
6054         * text2.C: remove unneeded members
6055
6056 2003-07-30  André Pönitz  <poenitz@gmx.net>
6057
6058         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6059
6060         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6061           create a single function...
6062
6063         * paragraph_funcs.C (moveItem): ... here.
6064
6065         * text.C:
6066           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6067
6068 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6069
6070         * LColor.[Ch]: Add comment and greyedout logical colors.
6071
6072 2003-07-30  André Pönitz  <poenitz@gmx.net>
6073
6074         * tabular.C: don't use Assert too heavily. This crashes where it
6075           shouldn't
6076
6077 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6078
6079         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6080         is disabled (bug 1232)
6081
6082 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6083
6084         * factory.C: limited 'arg' scope
6085
6086 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6087
6088         * factory.C: fixed Note submenu issues
6089
6090 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6091
6092         * factory.C: submenu for Note/Comment/Greyedout
6093
6094 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6095
6096         * lyx_main.C (LyX):
6097         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6098
6099 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6100
6101         * LaTeXFeatures.C:
6102         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6103         greyedout. Patch provided by Jürgen Spitzmüller.
6104
6105 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6106
6107         * kbmap.C (read): fix error message when reading bind files
6108
6109 2003-07-29  Angus Leeming  <leeming@lyx.org>
6110
6111         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6112         certainly does not do what it purports to do. I am doing it, and
6113         us, a favour by killing it.
6114
6115 2003-07-28  José Matos  <jamatos@lyx.org>
6116
6117         * buffer.C (readBody, do_writeFile):
6118         * paragraph.C(readParagraph): \end_document replaces \the_end.
6119
6120 2003-07-29  André Pönitz  <poenitz@gmx.net>
6121
6122         * BufferView.[Ch]:
6123         * BufferView_pimpl.[Ch]:
6124         * lyxfunc.C:
6125         * text2.C:
6126         * text3.C:
6127         * textcursor.[Ch]: remove toggleToggle & Co
6128
6129 2003-07-28  José Matos  <jamatos@fep.up.pt>
6130
6131         * buffer.C (readParagraph):
6132         * params_func (readParToken, readParagraph):
6133         * paragraph.C (write): \layout -> \begin_layout.
6134
6135 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6136
6137         * lyxlex_pimpl.C (setFile): clean up slightly.
6138
6139         * bufferparams.h: add compressed var
6140
6141         * buffer_funcs.C (readFile): adjust for LyXLex change
6142         (newFile): ditto + simplify
6143
6144         * buffer.C (writeFile): handle writing of compressed files
6145
6146         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6147         Check if the file is compressed and set a bufferparm if so.
6148
6149         * Makefile.am (lyx_LDADD): remove explicit -lz
6150
6151 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6152
6153         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6154         makeDocBookFile): put the real LyX version in the first line of
6155         the file
6156
6157         * version.h:
6158         * version.C.in: remove lyx_docversion
6159
6160         * tabular.C (write_attribute): add a template-based version to
6161         write enums properly
6162
6163 2003-07-28  André Pönitz  <poenitz@gmx.net>
6164
6165         * lyxtext.h:
6166         * text.C:
6167         * text2.C:
6168         * text3.C: use doubles again for x-coordinates. They are needed.
6169
6170 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6171
6172         * messages.C (getLocaleDir): use lyx_localedir()
6173
6174         * lyxlex_pimpl.C (setFile): compress stuff
6175
6176         * buffer.C (writeFile): add some compression stuff
6177         (do_writeFile): new func, dont call expliti close... will this
6178         breake anything?
6179
6180         * Makefile.am (lyx_LDADD): add -lz
6181
6182 2003-07-28  José Matos  <jamatos@fep.up.pt>
6183
6184         * buffer.C: increment file format.
6185         * paragraph_funcs (readParagraph, readParToken):
6186         * paragraph.C (readParagraph): add \end_layout.
6187
6188 2003-07-27  Angus Leeming  <leeming@lyx.org>
6189
6190         * Makefile.am: remove special casing for configure-time setting of
6191         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6192
6193         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6194         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6195
6196 2003-07-26  André Pönitz  <poenitz@gmx.net>
6197
6198         * paragraph_func.[Ch]:
6199         * paragraph.C (realizeFont): inline it whereever it is used
6200
6201         * rowpainter.C:
6202         * text.C:
6203         * text2.C:
6204         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6205
6206
6207 2003-07-26  André Pönitz  <poenitz@gmx.net>
6208
6209         *       lyxtext.h:
6210         * text.C:
6211         * text2.C: get rid of LyXText::need_break_row
6212
6213 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6214
6215         * toc.[Ch]: put namespace toc inside namespace lyx
6216
6217         * MenuBackend.C (expandToc2): adjust for lyx::toc
6218         (expandToc): ditto
6219
6220         * lyxfunc.C (dispatch): adjust for lyx::find
6221
6222         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6223         lyx::find instead. Reorganize a bit.
6224         (LyXReplace): rename to replace
6225         (LyXFind): rename to find
6226
6227         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6228         (dispatch): ditto
6229
6230 2003-07-26  André Pönitz  <poenitz@gmx.net>
6231
6232         * text.C (setHeightOfRow): restrict scope of temporary variable
6233
6234         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6235           code (never has been used?)
6236
6237 2003-07-27  Asger Alstrup  <alstrup@local>
6238
6239         * text.C (fill): Optimise algorithm to exploit that we can reuse
6240         the LyXFont for many characters.
6241         (setHeightOfRow): Same thing.
6242         (rowBreakPoint): Same thing.
6243
6244 2003-07-26  Asger Alstrup  <alstrup@local>
6245
6246         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6247
6248         * text.C (singleWidth): Spurious font copying in hot-spot
6249         singleWidth avoided. Reorder tests for arabic for efficiency.
6250
6251         * text.C (fill): handle empty paragraphs better.
6252
6253 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6254
6255         * ispell.C:
6256         * encoding.h: add includes
6257
6258         * lyxrc.C: remove reading of bind files
6259
6260         * lyx_main.C (init): setup bindings and menus only if we have a
6261         gui.
6262
6263         * kbmap.C (read): new method. Do the actual reading of bind
6264         files.
6265
6266         * converter.C (dvipdfm_options):
6267         * bufferparams.C:
6268         * lyxrc.C (read):
6269         (output): adapt PAPER_* enums.
6270
6271         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6272
6273         * bufferparams.h: remove paper-related enums from there
6274
6275         * paper.h: New file. A trivial header file to hold paper-related
6276         enums. It should later expand to contain many paper-related
6277         horrors access.
6278
6279         * lyxrc.C: declare extern displayTranslator
6280
6281 2003-07-27  José Matos  <jamatos@fep.up.pt>
6282
6283         * tabular.[Ch] (linuxdoc): add support for tables and figures
6284         (linuxdoc).
6285
6286 2003-07-27  José Matos  <jamatos@fep.up.pt>
6287
6288         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6289         consistency in both functions.
6290         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6291
6292 2003-07-26  Asger Alstrup  <alstrup@local>
6293
6294         * rowpainter.C (paintRows): Change algorithm to work directly on
6295         the insets rather than asking every character in the document
6296         whether its an inset.
6297
6298 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6299
6300         * buffer.C (openFileWrite): factorize some code
6301
6302 2003-07-26  Angus Leeming  <leeming@lyx.org>
6303
6304         * lyx_cb.C:
6305         * lyx_main.[Ch]: replace occurances of system_tempdir with
6306         os::getTmpDir().
6307
6308 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6309
6310         * rename Inset to InsetOld
6311
6312 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6313
6314         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6315         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6316         which I think is a bit clearer. EDIT is gone, since it was
6317         premature optimisation, and broken for mathed anyway.
6318         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6319         with cursor positioning in insets as well (math insets still do not
6320         work, but that's a different story anyway.) It mysteriously
6321         crashes sometimes with undo in the first paragraph, but I'm fairly
6322         confident that this is a compiler bug.
6323
6324 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6325
6326         * paragraph.C (Paragraph): adjust for new clone return type
6327         (operator==): ditto
6328         (copyIntoMinibuffer): ditto
6329
6330 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6331
6332         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6333         by not having a special case, and always doing a full rebreak of
6334         the document after undo.
6335
6336 2003-07-23  Angus Leeming  <leeming@lyx.org>
6337
6338         * factory.C (createInset): InsetExternal::setParams now takes a
6339         Buffer const * arg.
6340
6341 2003-07-23  Angus Leeming  <leeming@lyx.org>
6342
6343         * factory.C (createInset): changed interface to the external and
6344         graphics mailers' string2params functions.
6345
6346 2003-07-23  Angus Leeming  <leeming@lyx.org>
6347
6348         * factory.C (createInset): pass a
6349         Buffer const * parameter to InsetExternalMailer's string2params.
6350
6351 2003-07-22  John Levon  <levon@movementarian.org>
6352
6353         * Thesaurus.h: include the right aiksaurus header
6354
6355 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6356
6357         * MenuBackend.C (expand): check menu shortcuts unconditionally
6358
6359 2003-07-21  Angus Leeming  <leeming@lyx.org>
6360
6361         * factory.C (createInset): pass a
6362         buffer_path parameter to InsetGraphicsMailer's string2params.
6363
6364 2003-07-21  Angus Leeming  <leeming@lyx.org>
6365
6366         * BufferView_pimpl.C (buffer):
6367         * buffer.C (d-tor):
6368         * lyx_main.C (LyX):
6369         * lyxfunc.C (dispatch):
6370         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6371         rather than the grfx shortcut.
6372
6373 2003-07-21  André Pönitz  <poenitz@gmx.net>
6374
6375         * rowpainter.C: remove unused variables
6376
6377         * tabular_funcs.C:
6378         * tabular_funcs.h: move to tabular.C
6379         * Makefile.am: adjust
6380
6381         * tabular.[Ch]: basic optical cleaning
6382
6383         * author.h: pass references, not values
6384
6385 2003-07-18  André Pönitz  <poenitz@gmx.net>
6386
6387         * lyxtext.h:
6388         * metricsinfo.C:
6389         * metricsinfo.h:
6390         * rowpainter.C:
6391         * text.C:
6392         * text2.C:
6393         * text3.C: two-phase drawing for InsetText and InsetTabular
6394         some float -> int changes.
6395
6396 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6397
6398         * lyx_main.C: fix the fix
6399
6400 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6401
6402         * lyx_main.C: fix a crash in batch mode if no files specified
6403         * converter.C: ws
6404
6405 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6406
6407         * format.[Ch] (papersize): moved to BufferParams
6408         * converter.[Ch] (dvips_options): moved to BufferParams
6409         (dvipdfm_options): moved to anon namespace
6410         * bufferparams.[Ch]: added above functions.
6411
6412 2003-07-17  André Pönitz  <poenitz@gmx.net>
6413
6414         * lyxtext.h:
6415         * rowpainter.C:
6416         * text2.C: don't call inset->update() anymore
6417
6418         * metricsinfo.[Ch]: add convenience constructor
6419
6420 2003-07-16  André Pönitz  <poenitz@gmx.net>
6421
6422         * lyxcursor.[Ch]:
6423         * lyxfunc.[Ch]:
6424         * text.C:
6425         * text2.C: replace the LyXCursor::irow_ member with
6426          on-demand computation of the value
6427
6428 2003-07-16  John Levon  <levon@movementarian.org>
6429
6430         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6431
6432 2003-07-15  André Pönitz  <poenitz@gmx.net>
6433
6434         * text.C:
6435         * text2.C: remove no more needed refresh_row
6436
6437 2003-07-15  André Pönitz  <poenitz@gmx.net>
6438
6439         * lyxtext.h:
6440         * rowpainter.C:
6441         * text2.C:
6442         * text3.C: refresh_status tristate -> need_update bool
6443
6444 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6445
6446         * lyxtext.h (init): remove reinit argument (act as if always true)
6447         * text2.C: adjust to that
6448
6449 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6450
6451         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6452         * text3.C: use it to delete selections in some cases
6453         (bugs 441, 673, 702, 954).
6454
6455 2003-07-14  André Pönitz  <poenitz@gmx.net>
6456
6457         * rowpainter.[Ch]: reduce interface
6458
6459 2003-07-14  André Pönitz  <poenitz@gmx.net>
6460
6461         * BufferView_pimpl.C:
6462         * text2.C: adjust after removing unused BufferView * argument
6463
6464 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6465
6466         * text2.C (init): fix a crash fired on resize
6467
6468 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6469
6470         * buffer.[Ch]: added new closing signal
6471         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6472         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6473         BufferView::Pimpl via the closing the signal
6474
6475 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6476
6477         * buffer.[Ch]: take out all bv-related from buffer
6478         * BufferView.C:
6479         * BufferView_pimpl.[Ch]: connect to new signals
6480         * CutAndPaste.C: removed useless asserts
6481         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6482         * lyxvc.[Ch]:
6483         * vc-backend.[Ch]:
6484         * lyxfunc.C: moved view-related funciontality from vc here
6485         * paragraph.C: removed outdated comments
6486         * text.C: ws
6487
6488 2003-07-10  André Pönitz  <poenitz@gmx.net>
6489
6490         * BufferView_pimpl.C:
6491         * tabular.h:
6492         * tabular_funcs.C:
6493         * text.C:
6494         * text2.C: remove InsetText::InnerCache, clean up consequences
6495
6496 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6497
6498         * ispell.C: fix two typos in error messages
6499
6500 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6501
6502         * Extend Note inset to other forms of annotation like Comment
6503         and Greyedout. Right button click gives dialog.
6504
6505         Files modified or added (+):
6506
6507         * insetnote.[Ch]
6508         * FormNote.[Ch]      +
6509         * ControlNote.[Ch]   +
6510         * form_note.fd       +
6511         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6512         frontends/controllers
6513         * xforms/Dialogs.C
6514         * factory.C
6515
6516 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6517
6518         * aspell.C: add missing namespace lyx::support
6519
6520 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6521
6522         * BufferView.[Ch] (newFile): Add
6523         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6524         * LaTeX.[Ch] (message): added this signal and use it
6525         * buffer.[Ch] (busy, message): added these signals and use them
6526         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6527         * converter.C:
6528         * exporter.C:
6529         * format.C:
6530         * importer.C: use buffer signals instead of direct bv calling
6531         * lyx_cb.[Ch] (ShowMessage): removed
6532         * lyx_main.C:
6533         * lyxfunc.C:
6534         * paragraph_funcs.C:
6535         * text2.C: use buffer signals
6536
6537 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6538
6539         * introduce namespace lyx::graphics
6540
6541 2003-07-02  André Pönitz  <poenitz@gmx.net>
6542
6543         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6544
6545 2003-07-01  André Pönitz  <poenitz@gmx.net>
6546
6547         * text.C:
6548         * text2.C:
6549         * text3.C:
6550         * text_funcs.[Ch]:
6551         * textcursor.h:
6552         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6553           text*.C to text_func.C
6554
6555 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6556
6557         * introduce namespace lyx::support
6558
6559 2003-06-30  André Pönitz  <poenitz@gmx.net>
6560
6561         * Chktex.C:
6562         * funcrequest.C:
6563         * lyxtext.h:
6564         * text.C: re-enable --with-included-string
6565
6566 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6567
6568         * textcursor.C: add <config.h>
6569
6570         * text.C (getWord): remove const from word_location arg
6571
6572         * lyxvc.C (getLogFile): fix const type order
6573
6574         * lyxtext.h: remove const from word_location arg, add arg name
6575
6576         * lyxlayout.h: currect type on labeltype.
6577
6578         * importer.C: correct \file
6579
6580         * converter.C (intToFormat): use std:: on ret val, ws changes
6581
6582         * bufferlist.h: correct \file
6583
6584         * buffer.C (makeLinuxDocFile): fix const type order
6585         (makeDocBookFile): ditto
6586         (fillWithBibKeys): use std:: on stdlib args.
6587
6588         * CutAndPaste.C: fix authors.
6589         (availableSelections): use std:: on return vector
6590
6591 2003-06-27  André Pönitz  <poenitz@gmx.net>
6592
6593         * BufferView_pimpl.C:
6594         * bufferview_funcs.C:
6595         * lyxcursor.C:
6596         * lyxcursor.h:
6597         * lyxfunc.C:
6598         * lyxtext.h:
6599         * rowpainter.C:
6600         * text.C:
6601         * text2.C:
6602         * text3.C: remove LyXCursor::row_ member
6603
6604         * lyxtext.h:
6605         * text.C: rename fullRebreak() to partialRebreak() and implement
6606           a fullRebreak() that really bereks fully
6607
6608         * textcursor.h: new struct for cursor-related data
6609
6610 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6611
6612         * lyx_main.C (LyX): get full path of document loaded on the
6613         command line
6614
6615 2003-06-26  André Pönitz  <poenitz@gmx.net>
6616
6617         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6618           remove unused/broken operator>,<,>=.
6619
6620         *       text.C: remove only use of broken operator<= in an Assert().
6621
6622 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6623
6624         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6625         moved errorlist_.clear to showErrorList
6626
6627 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6628
6629         * converter.C (scanLog, runLaTeX):
6630         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6631         move the bv->showErrorList call to the callers
6632         * lyxfunc.C: i.e. here...
6633         * text2.C: and here
6634         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6635         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6636         namespace, the second to...
6637         * buffer_funcs (BufferFormat, parseErrors): added
6638         * errorlist.C (ErrorList(TeXErrors const &)): removed
6639
6640 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6641
6642         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6643
6644 2003-06-24  "Garst R. Reese" <reese@isn.net>
6645
6646         * debug.C: fix typo
6647
6648 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6649
6650         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6651
6652         * version.C.in: change docversion to 1.4
6653
6654 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6655
6656         * buffer.C: fix a bug just introduced
6657
6658 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6659
6660         * buffer.[Ch]: added the parseError signal and use it, removed
6661         sgmlError
6662         * BufferView.[Ch] (addError): moved to ...
6663         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6664         to the Buffer::parseError signal to catch (guess what) parse errors
6665         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6666
6667 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6668
6669         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6670         ability to create a buffer and to return an existing one from
6671         the list. Moved these functions to...
6672         * buffer_funcs.[Ch]: added
6673         * BufferView.[Ch] (loadLyXFile): added
6674         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6675         job removed from bufferlist::loadLyXFile.
6676         * buffer.C (setReadOnly): make it work without view
6677         (i.e added an if (users))
6678
6679 2003-06-19  Angus Leeming  <leeming@lyx.org>
6680
6681         * lfuns.h:
6682         * LyXAction.C (init):
6683         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6684         with LFUN_DIALOG_SHOW <name> <data>.
6685
6686 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6687
6688         * CutAndPaste.C (availableSelections): small compilation fix for
6689         ancient (gcc 2.9x) compilers
6690
6691 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6692
6693         * text3.C (cursorNext): add tmp var
6694
6695         * text2.C (updateCounters): for function calling out of for clause
6696         (replaceSelectionWithString): ditto
6697         (insertStringAsParagraphs): ditto
6698         (getColumnNearX): add tmp var
6699         (setCursorFromCoordinates): add tmp var
6700         (cursorDownParagraph): add tmp var
6701         (deleteEmptyParagraphMechanism): add tmp var
6702
6703         * text.C (insertChar): add tmp var
6704
6705         * rowpainter.C (paintDepthBar): add tmp var
6706
6707         * CutAndPaste.C (availableSelections): potentially check all
6708         paragraphs in a cut to fill the shown strings.
6709
6710 2003-06-18  André Pönitz  <poenitz@gmx.net>
6711
6712         * kbmap.[Ch]: use vector<> instead of list<>
6713
6714 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6715
6716         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6717         pasteSelection with index
6718
6719         * text2.C (pasteSelection): modify, call pasteSelection with index
6720
6721         * paragraph.C (asString): reimplement version with no interval to
6722         call the one with interval.
6723
6724         * lyxtext.h: add index arg to pasteSelection
6725
6726         * MenuBackend.C (MenuItem): handle PasteRecent
6727         (Menu::read::Menutags): add md_pasterecent
6728         (read): handle it
6729         (expandPasteRecent): new function
6730         (expand): use it
6731
6732         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6733
6734         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6735         the limited stack
6736         (availableSelections): new function
6737
6738 2003-06-17  Angus Leeming  <leeming@lyx.org>
6739
6740         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6741
6742 2003-06-17  Angus Leeming  <leeming@lyx.org>
6743
6744         * lfuns.h:
6745         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6746
6747         * lyxfunc.C (dispatch): invoke it.
6748
6749 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6750
6751         * iterators.C (operator++, ParPosition): reintroduce some
6752         const_cast for the benefit of older compilers.
6753
6754 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6755
6756         * text3.C (dispatch): do not modify clipboard when doing
6757         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6758         LFUN_DELETE_SKIP on a selection selection
6759
6760 2003-06-16  André Pönitz  <poenitz@gmx.net>
6761
6762         * BufferView.C:
6763         * buffer.C:
6764         * buffer.h:
6765         * paragraph.C:
6766         * tabular.[Ch]: IU of clone() and getLabelList();
6767
6768 2003-06-13  André Pönitz  <poenitz@gmx.net>
6769
6770         * tabular.h: compactification
6771
6772 2003-06-12  André Pönitz  <poenitz@gmx.net>
6773
6774         * tabular.C:
6775         * tabular.h:
6776         * tabular_funcs.h: some renaming plus whitespace
6777
6778 2003-06-12  André Pönitz  <poenitz@gmx.net>
6779
6780         * BufferView.C:
6781         * BufferView_pimpl.C:
6782         * CutAndPaste.C:
6783         * buffer.C:
6784         * iterators.[Ch]:
6785         * lyxfunc.C:
6786         * text.C:
6787         * toc.C: Return a Paragraph & for ParIterator::operator*()
6788
6789 2003-06-11  John Levon  <levon@movementarian.org>
6790
6791         * lyx_main.C:
6792         * ToolbarBackend.h:
6793         * ToolbarBackend.C: add "Toolbars" section and
6794         put the flags there
6795
6796 2003-06-10  Angus Leeming  <leeming@lyx.org>
6797
6798         * lfuns.h:
6799         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6800
6801         * lyxfunc.C (dispatch): invoke it.
6802
6803 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6804
6805         * main.C: protect <ios> with HAVE_IOS
6806         (main): protect sync_with_stdio with HAVE_IOS
6807
6808 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6809
6810         * text2.C (cutSelection): adjust
6811         (pasteSelection): adjust
6812
6813         * messages.C: handle get of empty string
6814
6815         * main.C (main): use sync_with_stdio(false)
6816
6817         * lyxfunc.C (dispatch): adjust
6818
6819         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6820         (WriteAs): remove unneeded BufferView arg.
6821
6822         * bufferparams.h: use correct types on papersize, papersize2 and
6823         paperpackage.
6824
6825         * bufferparams.C (readToken): adjust for type
6826         (writeLaTeX): add missing cases to switch.
6827
6828         * bufferlist.C (quitWriteBuffer): adjust
6829         (close): adjust
6830
6831         * buffer.C (asciiParagraph): remove some commented code.
6832
6833         * CutAndPaste.C: remove current_view extern variable.
6834         (cutSelection): add BufferParams arg.
6835         (eraseSelection): add BufferParams arg.
6836         (pasteSelection): add Buffer const & arg
6837
6838 2003-06-07  John Levon  <levon@movementarian.org>
6839
6840         * buffer.C:
6841         * paragraph_funcs.C:
6842         * paragraph_pimpl.C:
6843         * text.C:
6844         * text2.C:
6845         * paragraph.h:
6846         * paragraph.C: allow InsetERT to freely space lines,
6847         and some consolidation of code
6848
6849 2003-06-06  José Matos  <jamatos@fep.up.pt>
6850
6851         * buffer.C (makeDocBookFile): fix bug #821
6852
6853 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6854
6855         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6856
6857 2003-06-04  Angus Leeming  <leeming@lyx.org>
6858
6859         * buffer.C: bump format to 224.
6860
6861 2003-06-05  André Pönitz  <poenitz@gmx.net>
6862
6863         * text2.C (redoParagraphs): remove two const_cast<>
6864
6865 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6866
6867         * ParagraphList.h: remove last remnants of NO_STD_LIST
6868
6869 2003-06-03  Angus Leeming  <leeming@lyx.org>
6870
6871         * factory.C (createInset): small change to the way InsetExternal's params
6872         are set.
6873
6874 2003-06-04  André Pönitz  <poenitz@gmx.net>
6875
6876         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6877
6878         * paragraph_pimpl.h:
6879         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6880
6881         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6882
6883         * undo_funcs.C: make some simple cases of undo work again
6884
6885 2003-06-03  John Levon  <levon@movementarian.org>
6886
6887         * ispell.C: HPUX doesn't have sys/select.h
6888         (from Albert Chin)
6889
6890 2003-06-03  John Levon  <levon@movementarian.org>
6891
6892         * CutAndPaste.C: update tabular and include inset
6893         buffer references
6894
6895         * buffer.h:
6896         * paragraph.h:
6897         * paragraph.C: remove owningBuffer(), don't pass Buffer
6898         to clone()
6899
6900         * factory.C: insetGraphicsParams changed
6901
6902 2003-06-02  John Levon  <levon@movementarian.org>
6903
6904         * LyXAction.C:
6905         * factory.C:
6906         * lfuns.h:
6907         * lyxfunc.C:
6908         * text3.C: remove insetparent
6909
6910 2003-06-02  John Levon  <levon@movementarian.org>
6911
6912         * buffer.h:
6913         * buffer.C: fix inset_iterator.end(), move out of line
6914         (bug 1149)
6915
6916 2003-06-01  John Levon  <levon@movementarian.org>
6917
6918         * text3.C: use a proper cut/paste when doing inset
6919         insert (from Jürgen Spitzmüller)
6920
6921 2003-06-01  John Levon  <levon@movementarian.org>
6922
6923         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6924
6925 2003-05-30  André Pönitz  <poenitz@gmx.net>
6926
6927         * rowpainter.C: unify second drawing phase
6928
6929 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6930
6931         * trans_mgr.C: remove one case of current_view
6932
6933         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6934
6935         * paragraph_funcs.h: remove paragraph.h include
6936
6937         * paragraph.h: delete NO_STD_LIST stuff
6938
6939         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6940
6941         * buffer.h: remove paragraph.h include
6942
6943         * ParagraphList.C: delete file
6944
6945         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6946
6947         * toc.C (getTocList): adjust
6948
6949         * paragraph_pimpl.C (validate): adjust
6950
6951         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6952
6953         * paragraph.C (Paragraph): adjust
6954         (getPositionOfInset): use const_iterator, adjust
6955         (bibitem): use const_iterator, adjust
6956         (setInsetOwner): adjust
6957
6958         * iterators.C (operator++): adjust
6959
6960         * InsetList.[Ch]: Replace selfmade iterator with standard
6961         vector::iterator also introduce const_iterator. Remove getPos,
6962         getInset and setInset from InsetTable. Adjust accordingly.
6963
6964         * BufferView.C (lockInset): adjust
6965         (ChangeInsets): adjust
6966
6967         * tabular.[Ch]: delete commented same_id functions
6968
6969 2003-05-28  John Levon  <levon@movementarian.org>
6970
6971         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6972
6973 2003-05-28  André Pönitz  <poenitz@gmx.net>
6974
6975         * metricsinfo.[Ch]: remove 'fullredraw' member
6976
6977 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6978
6979         * lyxtextclass.C (operator): remove caching.
6980
6981 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6982
6983         * text3.C: adjust
6984
6985         * text2.C (cursorBottom): adjust
6986         (setCounter): use ParagraphList::find, adjust
6987
6988         * text.C (workWidth): use ParagraphList::find, adjust
6989
6990         * lyxcursor.C (LyXCursor): adjust
6991
6992         * buffer.C (inset_iterator): adjust
6993
6994         * ParagraphList.h: make iterator(value_type) private, make
6995         ParagraphList a friend of iterator.
6996
6997         * ParagraphList.C (find): new function
6998
6999         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7000
7001 2003-05-27  André Pönitz  <poenitz@gmx.net>
7002
7003         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7004
7005 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7006
7007         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7008
7009 2003-05-26  John Levon  <levon@movementarian.org>
7010
7011         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7012
7013 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7014
7015         * remove same_id from function signatures, adjust.
7016
7017 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7018
7019         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7020
7021         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7022
7023         * paragraph.C (Paragraph): get rid of same_ids parameter
7024
7025         * ParagraphList.C (insert): adjust
7026         (push_back): adjust
7027
7028 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7029
7030         * paragraph_funcs.C (breakParagraph): adjust
7031         (breakParagraphConservative): adjust
7032
7033         * buffer.C (readParagraph): adjust
7034
7035         * ParagraphList.C (insert): take a reference instead of a pointer
7036         (insert): adjust
7037
7038         * paragraph.[Ch] (id): new function
7039
7040         * bufferlist.C (newFile): adjust
7041
7042         * ParagraphList.C (ParagraphList): adjust
7043         (assign): adjust
7044         (push_back): take a reference instead of a pointer.
7045
7046         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7047
7048         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7049         instead.
7050
7051         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7052         set else use old code.
7053
7054         * ParagraphList.C: remove all NO_NEXT code and only compile this
7055         code of NO_STD_LIST is set.
7056
7057 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7058
7059         * BufferView_pimpl.C:
7060         * TextCache.C:
7061         * TextCache.h:
7062         * bufferlist.C:
7063         * errorlist.h:
7064         * format.C:
7065         * format.h:
7066         * graph.C:
7067         * lyxfunc.C:
7068         * lyxrc.C:
7069         * graphics/GraphicsConverter.C:
7070         * graphics/PreviewLoader.C: header adjustment
7071
7072 2003-05-23  Angus Leeming  <leeming@lyx.org>
7073
7074         * LaTeXFeatures.[Ch] (useBabel): new method.
7075         * bufferparams.C (writeLaTeX): use it.
7076
7077 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7078
7079         * ParagraphList.h (set): remove unused function.
7080
7081 2003-05-23  André Pönitz  <poenitz@gmx.net>
7082
7083         * BufferView.C:
7084         * BufferView_pimpl.C:
7085         * buffer.C:
7086         * buffer.h:
7087         * lyxfunc.C:
7088         * undo_funcs.C: setUndo reworked
7089
7090         * iterators.[Ch]: add access to topmost ParagraphList
7091
7092         * lyxtext.[Ch] (workWidth): add a const
7093
7094 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7095
7096         * texrow.[Ch] (increasePos): remove function
7097         * exporter.C (export): removed unused var and outdated comment
7098
7099 2003-05-23  Angus Leeming  <leeming@lyx.org>
7100
7101         * latexrunparams.h: rename fragile as moving_arg.
7102         * paragraph.C (simpleTeXOnePar): ditto.
7103         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7104
7105 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7106
7107         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7108         (createUndo): ditto
7109         (textUndoOrRedo): comment out a currently unused var.
7110
7111         * paragraph.h (NO_NEXT): enable NO_NEXT
7112
7113         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7114
7115         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7116
7117         * exporter.C (Export): adjust for removeAutoInsets removal.
7118
7119         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7120
7121         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7122
7123         * BufferView.[Ch] (removeAutoInsets): delete function
7124
7125 2003-05-22  Angus Leeming  <leeming@lyx.org>
7126
7127         * latexrunparams.h: add a free_spacing variable.
7128
7129         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7130         to pass moving_arg, as the data is stored in runparams.fragile.
7131
7132         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7133         to Inset::latexOptional or to simpleTeXOnePar.
7134
7135         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7136         free_spacing arg to Inset::latexOptional.
7137
7138         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7139         free_spacing arg.
7140
7141 2003-05-22  Angus Leeming  <leeming@lyx.org>
7142
7143         * latexrunparams.h: add fragile and use_babel variables.
7144
7145         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7146         * buffer.C (makeLaTeXFile): store this returned value in
7147         runparams.use_babel, thus passing it to the inset::latex methods.
7148
7149         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7150         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7151
7152         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7153         longer has a fragile arg, as it is stored in runparams.fragile.
7154
7155         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7156         moving_arg parameter as the data is stored in runparams.fragile.
7157
7158         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7159         a fragile parameter as the data is stored in runparams.fragile.
7160
7161 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7162
7163         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7164
7165 2003-05-22  Angus Leeming  <leeming@lyx.org>
7166
7167         * latexrunparams.h: add a 'bool nice' which defaults to false.
7168
7169         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7170         now encapsulated within runparams.
7171
7172         * bufferlist.C (updateIncludedTeXfiles):
7173         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7174
7175 2003-05-22  Angus Leeming  <leeming@lyx.org>
7176
7177         * latexrunparams.h: new file containing struct LatexRunParams.
7178         * Makefile.am: add new file.
7179
7180         * LaTeX.[Ch] (c-tor, run):
7181         * buffer.[Ch] (makeLaTeXFile):
7182         * bufferlist.[Ch] (updateIncludedTeXfiles):
7183         * converter.C (convert, scanLog):
7184         * converter.[Ch] (runLaTeX):
7185         * exporter.C (Export):
7186         * paragraph.[Ch] (simpleTeXOnePar):
7187         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7188         * paragraph_funcs.[Ch] (latexParagraphs):
7189         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7190         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7191         pass around a LatexRunParams parameter.
7192
7193 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7194
7195         * paragraph.[Ch]: remove unused constructor
7196
7197         * ParagraphList.C (erase): new function, taking two iterators
7198
7199 2003-05-22  André Pönitz  <poenitz@gmx.net>
7200
7201         * undo_funcs.C: remove duplicated code
7202
7203         * iterator.[Ch]: operator=
7204
7205 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7206
7207         * tabular.C (SetMultiColumn): ws changes
7208
7209         * rowpainter.C (paintFirst): get rid of a ->previous
7210
7211         * lyx_cb.C (getPossibleLabel): parlist simplification
7212
7213         * BufferView.C (ChangeInsets): simplify slightly.
7214
7215 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7216
7217         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7218         * lfuns.h: new LFUN_SPACE
7219         * lyxfunc.C: protected space has a new lfun
7220         * paragraph_funcs.C: read new space insets
7221         * text3.C:
7222         * factory.C: handle new space insets
7223
7224 2003-05-22  André Pönitz  <poenitz@gmx.net>
7225
7226         * BufferView.C:
7227         * BufferView_pimpl.C:
7228         * buffer.[Ch]:
7229         * lyxfunc.C:
7230         * undo_funcs.C: return a ParIterator from getParFromID.
7231
7232         * iterators.[Ch]: add two const's
7233
7234 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7235
7236         * toc.C (getTocList): adjust
7237
7238         * iterators.[Ch]: rework for parlist
7239
7240         * buffer.C (par_iterator_begin): adjust
7241         (par_iterator_end): adjust
7242
7243         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7244
7245         * BufferView.C (removeAutoInsets): adjust
7246         (ChangeInsets): adjust
7247
7248 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7249
7250         * text.C (top_y): fix bug 1110
7251
7252 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7253
7254         * errorlist.[Ch]: added
7255         * buffer.C:
7256         * BufferView.[Ch]:
7257         * BufferView_pimpl.C:
7258         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7259         instead
7260
7261 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7262
7263         * Makefile.am: ensure that lyx is relinked upon changes to the
7264         various "convenience" libs.
7265
7266 2003-05-20  Angus Leeming  <leeming@lyx.org>
7267
7268         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7269         files are compiled in alphabetical order again.
7270
7271         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7272
7273 2003-05-19  Angus Leeming  <leeming@lyx.org>
7274
7275         * gettext.[Ch]: remove "char const * _(char const *)".
7276
7277 2003-05-19  André Pönitz  <poenitz@gmx.net>
7278
7279         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7280
7281         * Makefile.am:
7282         * BufferView.C:
7283         * DepTable.h:
7284         * LaTeXFeatures.C:
7285         * buffer.C:
7286         * lyxfont.C:
7287         * lyxlex.h:
7288         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7289
7290 2003-05-19  André Pönitz  <poenitz@gmx.net>
7291
7292         * buffer.C:
7293         * lyxlayout.[Ch]:
7294         * lyxtextclass.[Ch]:
7295         * paragraph.C:
7296         * paragraph_funcs.[Ch]:
7297         * text2.C:
7298         * text3.C: more insetenv work
7299
7300 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7301
7302         * ParagraphParameters.C (params2string): small bug fixed
7303
7304 2003-05-16  André Pönitz  <poenitz@gmx.net>
7305
7306         * debug.C:
7307         * bufferview_funcs.C: patch from Kornel Benko to prevent
7308           crash when _(...) is called twice in a statement
7309
7310 2003-05-16  André Pönitz  <poenitz@gmx.net>
7311
7312         * BufferView.C:
7313         * lyxfunc.C:
7314         * text.C:
7315         * text2.C:
7316         * text3.C:
7317         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7318
7319 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7320
7321         * lyx_main.C (init): remove spurious static_cast
7322
7323 2003-05-14  André Pönitz  <poenitz@gmx.net>
7324
7325         * BufferView.C: fix format string
7326
7327 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7328
7329         * BufferView.[Ch] (insertErrors): removed
7330         * BufferView.[Ch] (showErrorList): added
7331         * buffer.C (runChkTeX):
7332         * converter.C (scanLog): call showErrorList instead of inserterrors
7333
7334 2003-05-13  André Pönitz  <poenitz@gmx.net>
7335
7336         * BufferView_pimpl.C:
7337         * buffer.C:
7338         * bufferview_func.C:
7339         * MenuBackend.C:
7340         * lyxfunc.C:
7341         * lyxrc.C:
7342         * tex-accent.C:
7343         * text3.C:
7344         * toc.C:
7345         * tabular_funcs.h: tostr() from its own header
7346
7347         * ParagraphParameters.C:
7348         * ToolbarBackend.C:
7349         * bufferparams.C:
7350         * format.C:
7351         * lyxlex_pimpl.C:
7352         * text3.C: STRCONV()
7353
7354 2003-05-12  André Pönitz  <poenitz@gmx.net>
7355
7356         * BufferView.C:
7357         * BufferView_pimpl.C:
7358         * CutAndPaste.C:
7359         * LaTeX.C:
7360         * LaTeXFeatures.C:
7361         * ParagraphParameters.C:
7362         * buffer.C:
7363         * bufferlist.C:
7364         * bufferparams.C:
7365         * bufferview_funcs.C:
7366         * converter.C:
7367         * counters.C:
7368         * debug.C:
7369         * exporter.C:
7370         * format.C:
7371         * importer.C:
7372         * lyx_cb.C:
7373         * lyx_main.C:
7374         * lyxfont.C:
7375         * lyxfunc.C:
7376         * lyxvc.C:
7377         * paragraph.C:
7378         * paragraph_funcs.C:
7379         * tabular.C:
7380         * tabular_funcs.C:
7381         * text2.C:
7382         * text3.C:  boost::format -> bformat  all over the place
7383
7384
7385 2003-05-09  André Pönitz  <poenitz@gmx.net>
7386
7387         * LColor.[Ch]: Pimpl the #include <map> away
7388
7389 2003-05-09  John Levon  <levon@movementarian.org>
7390
7391         * bufferlist.C: never remove emergency saves
7392
7393 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7394
7395         * Makefile.am: better lib building
7396
7397 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7398
7399         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7400         instead.
7401         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7402         (simpleTeXSpecialChars): adjust
7403         (simpleTeXSpecialChars): adjust
7404         * paragraph.C (simpleTeXOnePar): adjust
7405         * buffer.C (makeLaTeXFile): adjust
7406
7407         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7408
7409         * text2.C (changeDepth): parlist cleanup
7410         (getColumnNearX): ditto
7411
7412         * rowpainter.C (getLabelFont): parlist cleanup
7413
7414         * bufferlist.C (newFile): parlist cleanup
7415
7416         * CutAndPaste.C (eraseSelection): parlist cleanup
7417
7418         * BufferView_pimpl.C (trackChanges): parlist cleanup
7419         (dispatch): ditto
7420
7421         * BufferView.C (lockInset): parlist cleanup.
7422         (ChangeInsets): ditto
7423
7424 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7425
7426         * CutAndPaste.h: Update file header.
7427
7428         * CutAndPaste.C: Update file header.
7429         Store the parts cut out of the Document in a limited_stack.
7430         (copySelection): adjust
7431         (pasteSelection): new function, takes the index in the limited stack.
7432         (nrOfParagraphs): adjust
7433         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7434         simplify error inset insertion.
7435         (checkPastePossible): adjust
7436
7437 2003-05-06  John Levon  <levon@movementarian.org>
7438
7439         * text2.C: don't cast wrap inset to float
7440
7441 2003-05-05  André Pönitz  <poenitz@gmx.net>
7442
7443         * iterator.C:
7444         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7445
7446         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7447           few naked Paragraph *.
7448
7449 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7450
7451         * bufferparams.C: Output warning if a document with missing
7452         TeX document class is loaded
7453         * exporter.C: Disable TeX exports if the document class is missing
7454         * lyxtextclass.C:
7455         * lyxtextclass.h:
7456         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7457         isTeXClassAvailable()
7458
7459 2003-05-03  John Levon  <levon@movementarian.org>
7460
7461         * BufferView.h:
7462         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7463         explicit cursor show/hide
7464
7465         * BufferView_pimpl.h:
7466         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7467         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7468
7469         * lyxfunc.C: hide cursor before dispatching.
7470
7471         * lyx_cb.C:
7472         * lyxfind.C:
7473         * text.C:
7474         * text3.C: remove explicit cursor hides
7475
7476 2003-05-02  André Pönitz  <poenitz@gmx.net>
7477
7478         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7479
7480         * undo_funcs.C:
7481         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7482           linked lists
7483
7484         * text2.C: tiny whitespace
7485
7486 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7487
7488         * undo_funcs.C: almost only ws changes.
7489
7490         * ParagraphList.C (splice): just return if pl is empty.
7491
7492 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7493
7494         * ParagraphList.C (splice): new function.
7495
7496         * CutAndPaste.C (pasteSelection): use it
7497
7498 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7499
7500         * CutAndPaste.C (pasteSelection): remove the last next and
7501         previous from this file.
7502
7503 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7504
7505         * CutAndPaste.C (pasteSelection): more clean up, user proper
7506         ParagraphList functions for pasteing.
7507
7508         * ParagraphList.C (insert): new function, three arg insert
7509
7510 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7511
7512         * ParagraphList.C (insert): new function, three arg insert
7513
7514         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7515         not on paragraphs.
7516
7517 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7518
7519         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7520
7521 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7522
7523         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7524
7525 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7526
7527         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7528         (copySelection): clean up a bit.
7529         (pasteSelection): use make_pair
7530
7531         * ParagraphList.C (ParagraphList): implement copy constructor
7532         (operator=): implement, base on copy constructor.
7533         (assign): new func
7534
7535         * paragraph.C (erase): return a bool
7536
7537         * paragraph_pimpl.C (erasePos): remove function, move contents...
7538         (erase): ... here. Return a bool.
7539         (erase): call erase instead of erasePos.
7540
7541 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7542
7543         * ParagraphList.h: define PitPosPair
7544         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7545         ParagraphList, fix a bug on pasting multiple pars
7546         * text2.C: change interface to C&P
7547
7548 2003-04-30  André Pönitz  <poenitz@gmx.net>
7549
7550         * undo_func.C: revert part of yesterday's patch 2
7551
7552 2003-04-30  John Levon  <levon@movementarian.org>
7553
7554         * LColor.C: s/tabular/table/
7555
7556 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7557
7558         * text3.C (dispatch): do not convert iterator -> pointer
7559         * undo_funcs.C (setCursorParUndo): ditto
7560         * text_funcs.C (transposeChars): ditto
7561
7562         * text2.C (setLayout): ws changes only
7563
7564         * text.C (breakParagraph): do not convert iterator -> pointer
7565         (insertChar): ditto
7566         (acceptChange): ditto
7567         (rejectChange): ditto
7568         (changeCase): ditto
7569         (Delete): ditto
7570         (backspace): ditto
7571
7572         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7573         pointer
7574
7575 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7576
7577         * text3.C (gotoInset): YABG (yet another bad getChar)
7578
7579 2003-04-29  André Pönitz  <poenitz@gmx.net>
7580
7581         * paragraph.h: make operator= private unimplemented as long as
7582           it is unusable
7583
7584         * ParagraphList.C: whitespace
7585
7586         * paragraph.[Ch]:
7587         * paragraph_pimpl.[Ch]:
7588         * paragraph_funcs.C:
7589         * CutAndPaste.C:
7590         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7591
7592         * text2.C:
7593           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7594
7595 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7596
7597         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7598         * paragraph.[Ch] (erase):
7599         * paragraph_pimpl.[Ch] (erase): change return type and value
7600         * text2.C (cutSelection): some rework
7601
7602 2003-04-28  John Levon  <levon@movementarian.org>
7603
7604         * bufferlist.C: changes for unsaved changes dialog
7605
7606 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7607
7608         * bufferlist.C (newFile): set language (messages_) for new
7609         documents also.
7610
7611         * buffer.C (readFile): ws changes only.
7612
7613 2003-04-28  André Pönitz  <poenitz@gmx.net>
7614
7615         * undo_funcs.C:
7616         * lyxfunc.C:
7617         * buffer.[Ch]:
7618         * BufferView_pimpl.C:
7619         * BufferView.C: getParFromID related ParagraphList::iterator changes
7620
7621 2003-04-28  André Pönitz  <poenitz@gmx.net>
7622
7623         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7624           Changes
7625
7626 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7627
7628         * messages.C: remove one more localedir class variable.
7629
7630 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7631
7632         * messages.C (getLocaleDir): singleton generation function
7633         (Pimpl): use it.
7634         (Messages): add a default constructor.
7635
7636         * main.C (main): do not setup localedir here, do not call
7637         gettext_init.
7638
7639         * gettext.C (_): use it.
7640         (gettext_init): delete funciton
7641
7642 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7643
7644         * gettext.C (getLyXMessages): new singleton generating function.
7645
7646         * buffer.C (updateDocLang): adjust
7647
7648         * Makefile.am (messages.o): add target
7649         (main.o): remove target
7650
7651 2003-04-27  John Levon  <levon@movementarian.org>
7652
7653         * bufferlist.C:
7654         * lyx_cb.C:
7655         * lyxfunc.C:
7656         * lyxvc.C: specify cancel button in Alert::prompt
7657
7658 2003-04-26  John Levon  <levon@movementarian.org>
7659
7660         * text3.C:
7661         * lyxfunc.C:
7662         * lfuns.h:
7663         * LyXAction.C: add LFUN_INSET_SETTINGS
7664
7665         * lyxfunc.C: don't enable tabular-feature when there's
7666         just any locking inset
7667
7668 2003-04-26  John Levon  <levon@movementarian.org>
7669
7670         * bufferlist.C: re-add Cancel to buffer close question
7671
7672         * lyxfunc.C: fix import UI a bit
7673
7674 2003-04-25  John Levon  <levon@movementarian.org>
7675
7676         * gettext.C: remove the broken asserts for now
7677
7678 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7679
7680         * messages.C: make case where setlocale cannot comply work better.
7681
7682         * buffer.C (updateDocLang): new function
7683         (changeLanguage): use it
7684         (readFile): use it
7685
7686         * text2.C (setCounter): use B_ a bit.
7687
7688         * lyxlayout.C (Read): be sure to trim the label strings.
7689
7690         * messages.C (Messages): fix typo in comment
7691
7692         * buffer.C (readFile): set message_ after file is loaded.
7693         (makeDocBookFile): remove double return
7694         (changeLanguage): reset message_ upon language change.
7695         (B_): new func, use this to get translated buffer strings.
7696
7697         * main.C: add myself and Jean Marc as authors.
7698
7699 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7700
7701         * messages.[hC]: pimplify Messages, and three different pimpls to be
7702         used in different circumstances.
7703
7704         * gettext.[Ch]: change for use with new message code.
7705
7706 2003-04-24 André Pönitz <poenitz@gmx.net>
7707
7708         * factory.C: support for eqref
7709
7710 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7711
7712         * messages.[Ch]: add missing char
7713
7714         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7715
7716         * messages.[Ch]: New files
7717
7718 2003-04-18  John Levon  <levon@movementarian.org>
7719
7720         * BufferView.h:
7721         * BufferView.C:
7722         * BufferView_pimpl.C:
7723         * lfuns.h:
7724         * LyXAction.C:
7725         * lyxtext.h:
7726         * text2.C: remove layout-copy/paste (bug 778)
7727
7728 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7729
7730         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7731
7732 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7733
7734         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7735         if they succeed. Act accordingly.
7736
7737 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7738
7739         * text2.C (setCharFont): adjust
7740         (setCounter): adjust
7741         (insertStringAsLines): adjust
7742
7743         * text.C (leftMargin): adjust
7744         (setHeightOfRow): adjust
7745
7746         * rowpainter.C (paintFirst): adjust
7747         (paintLast): adjust
7748
7749         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7750         (outerHook): ditto
7751         (isFirstInSequence): ditto
7752         (getEndLabel): ditto
7753         (outerFont): adjust
7754
7755         * paragraph.C (getParLanguage): comment out some hard stuff.
7756
7757         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7758         (sgmlError): ditto
7759         (simpleDocBookOnePar): ditto
7760         (makeDocBookFile): use ParagraphList::iterator
7761
7762         * CutAndPaste.C (pasteSelection): adjust
7763
7764 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7765
7766         * text2.C (getFont): adjust
7767         (getLayoutFont): adjust
7768         (getLabelFont): adjust
7769
7770         * paragraph_funcs.C (TeXOnePar): adjust
7771
7772         * buffer.C (simpleLinuxDocOnePar): adjust
7773         (simpleDocBookOnePar): adjust
7774
7775         * CutAndPaste.C (pasteSelection): adjust
7776
7777         * BufferView.C (getEncoding): adjust
7778
7779         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7780
7781 2003-04-16  John Levon  <levon@movementarian.org>
7782
7783         * lyxfind.C: use parlist stuff for search/changes
7784
7785 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7786
7787         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7788
7789         * text2.C (deleteEmptyParagraphMechanism): adjust
7790
7791         * text2.[Ch] (ownerParagraph): delete func (both of them
7792
7793 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7794
7795         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7796
7797 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7798
7799         * ParagraphList.C: prepare for NO_NEXT
7800
7801 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7802
7803         * text2.C (getFont): adjust
7804         (getLayoutFont): adjust
7805         (getLabelFont): adjust
7806
7807         * paragraph.C (getFont): adjust
7808         (getLabelFont): adjust
7809         (getLayoutFont): adjust
7810
7811         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7812
7813 2003-04-15  John Levon  <levon@movementarian.org>
7814
7815         From Angus Leeming
7816
7817         * lyx_main.C: handle Include in .ui files
7818
7819 2003-04-15  John Levon  <levon@movementarian.org>
7820
7821         * MenuBackend.C: make the doc files length shorter
7822
7823         * ToolbarBackend.h:
7824         * ToolbarBackend.C: handle toolbar placement flags,
7825         Minibuffer
7826
7827 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7828
7829         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7830         adjust
7831
7832         * paragraph_funcs.C (TeXOnePar): adjust
7833
7834         * paragraph.C (getLabelFont): add outerfont arg, adjust
7835         (getLayoutFont): ditto
7836         (simpleTeXOnePar): adjust
7837
7838         * paragraph_pimpl.C (realizeFont): delete func
7839
7840 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7841
7842         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7843         row argument, constify cur argument.
7844
7845 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7846
7847         * text2.C (getFont): adjust
7848         (getLayoutFont): adjust
7849         (getLabelFont): adjust
7850
7851         * paragraph_funcs.C (TeXOnePar): adjust
7852         (outerFont): new func...
7853         (realizeFont): ...moved out from here, changed this to facilitate
7854         transition
7855
7856         * paragraph.C (getFont): take outerfont as arg, adjust
7857         (simpleTeXOnePar): add outerfont arg, adjust
7858
7859         * buffer.C (simpleLinuxDocOnePar): adjust
7860         (simpleDocBookOnePar): adjust
7861
7862         * CutAndPaste.C (pasteSelection): adjust
7863
7864         * BufferView.C (getEncoding): adjust
7865
7866 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7867
7868         * text2.C (setCharFont): adjust
7869         (setCounter): adjust
7870
7871         * text.C (leftMargin): adjust
7872         (setHeightOfRow): adjust
7873
7874         * rowpainter.C (paintFirst): adjust
7875         (paintLast): adjust
7876
7877         * paragraph_pimpl.C (realizeFont): adjust
7878
7879         * paragraph.C (isFirstInSequence): move from here...
7880         * paragraph_funcs.C (isFirstInSequence): ...to here
7881
7882         * paragraph.C (outerHook): move from here...
7883         * paragraph_funcs.C (outerHook): ...to here
7884
7885         * paragraph.C (depthHook): move from here...
7886         * paragraph_funcs.C (depthHook): ...to here
7887
7888         * paragraph.C (getEndLabel): move from here...
7889         * paragraph_funcs.C (getEndLabel): ...to here
7890
7891         * text2.C (realizeFont): move from here...
7892         * paragraph_funcs.C (realizeFont): ...to here
7893
7894 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7895
7896         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7897
7898 2003-04-14  Angus Leeming  <leeming@lyx.org>
7899
7900         * LColor.[Ch]: scrap LColor mathcursor.
7901
7902 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7903
7904         * lyxlex.[Ch] (text): delete function
7905         * trans.C (Load): adjust
7906         * paragraph_funcs.C (readParToken): adjust
7907
7908 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7909
7910         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7911         vector<char> instead of a char[].
7912
7913         * lyxlex_pimpl.C (getString): adjust
7914         (next): adjust
7915         (lex): use getString
7916         (eatLine): adjust
7917         (nextToken): adjust
7918
7919         * lyxlex.C (text): use pimpl_->getString()
7920         (getBool): ditto
7921         (findToken): ditto
7922
7923 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7924
7925         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7926         (makeFontEntriesLayoutSpecific): temp var for par.size()
7927         (setLayout): temp var for ownerParagraphs().end()
7928         (fullRebreak): temp var for rows().end()
7929         (selectionAsString): temp var for boost::next(startpit), realize
7930         that the while really is a regular for loop.
7931         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7932         setCursor in one place.
7933         (setParagraph): temp vr for ownerParagraphs().end()
7934         (updateCounters): make the while loop a for loop
7935         (cutSelection): temp var for ownerParagraphs().end()
7936         (updateInset): make the do {} while() a regular for loop
7937         (getCursorX): use temp vars
7938         (setCurrentFont): use temp vars
7939         (getColumnNearX): use temp vars
7940
7941 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7942
7943         * text.C (transformChar): use temp var for getChar
7944         (computeBidiTables): use temp var for row->par()
7945         (fill): move temp vars for row->par() and pit->layout() earlier in
7946         the function.
7947         (labelFill): use temp var for row->par()
7948         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7949         asc and desc, realize that pit never changes and that firstpit is
7950         just a duplicate and not needed. Exchange rit->par() with pit in a
7951         lot of places.
7952         (breakAgain): use a temp var for boost::next(rit)
7953         (breakAgainOneRow): ditto
7954         (breakParagraph): use a temp var for rows().begin()
7955         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7956         (cursorRightOneWord): use temp var for cursor.par() and
7957         cursor.pos(), remove usage of tmpcursor.
7958         (cursorLeftOneWord): use temp var for cursor.par() and
7959         cursor.pos() only set cur at end of function.
7960
7961 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7962
7963         * text.C, text2.C: exchange all usage of Paragraph::next with
7964         boost::next(ParagraphList::iterator)
7965
7966         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7967
7968         * text2.C (cursorTop): simplify implementation
7969         (cursorBottom): ditto
7970         (setParagraph): use ParagraphList::iterator
7971         (setCurrentFont): adjust
7972         (getColumnNearX): adjust
7973         (cursorRight): adjust
7974         (cursorLeft): remove usage of Paragraph::previous
7975         (cursorUpParagraph): ditto
7976         (deleteEmptyParagraphMechanism): slight cleanup
7977
7978         * text.C (isBoundary): take a Paragraph const & instead of a
7979         pointer as arg.
7980         (addressBreakPoint): ditto
7981         (leftMargin): remove usage of Paragraph::previous.
7982         (setHeightOfRow): ditto
7983         (cursorLeftOneWord): ditto
7984         (selectNextWordToSpellcheck): ditto
7985         (Delete): ditto
7986         (backspace): ditto
7987         (breakParagraph): remove one usage of Paragraph::next
7988         (redoParagraph): ditto
7989         (acceptChange): ditto
7990         (insertChar): adjust
7991         (rowBreakPoint): adjust
7992
7993         * bufferview_funcs.C (toggleAndShow): adjust
7994
7995 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7996
7997         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7998         methods to access it.
7999         * lyxtext.h:
8000         * text.C: Added updateRowPositions to compute all row positions.
8001         Make top_y and getRowNearY() to use the cached y position
8002
8003 2003-04-11  John Levon  <levon@movementarian.org>
8004
8005         * text.C (rowBreakPoint): reintroduce the labelEnd
8006         checks, code copied from the row fill stuff. Deep voodoo.
8007
8008         * text.C (fill): add a comment and debugging for the
8009         next poor soul.
8010
8011 2003-04-11  John Levon  <levon@movementarian.org>
8012
8013         * text.C: make sure fullrow insets get wrapped to the next line,
8014         even when they're in a manual label
8015
8016 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8017
8018         * text2.C (insertParagraph): make it take ParagraphList::iterator
8019         as arg.
8020         (setLayout): make it return ParagraphList::iterator
8021         (redoParagraphs): ditto
8022         (setCounter): ditto
8023         (checkParagraph): ditto
8024
8025         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8026
8027         * text2.C: adjust several funcs.
8028         (realizeFont): take a ParagraphList::iterator as arg.
8029         (getLayoutFont): ditto
8030         (getLabelFont): ditto
8031         (setCharFont): ditto
8032
8033         * text.C: adjust several funcs.
8034
8035 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8036
8037         * text.C (selectNextWordToSpellcheck): don't accidentally
8038         skip insets
8039
8040 2003-04-10  John Levon  <levon@movementarian.org>
8041
8042         * ToolbarBackend.C (getIcon): special handling for
8043         LFUN_MATH_DELIM
8044
8045 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8046
8047         * text2.C (cursorRight): a getChar assert fixed
8048
8049 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8050
8051         * text2.C (getFont): change to take a ParagraphList::iterator
8052         instead of Paragraph*
8053         Adjust several functions.
8054
8055         * text.C (transformChar): change to take a ParagraphList::iterator
8056         instead of Paragraph*
8057         (singleWidth): ditto
8058         Adjust several functions.
8059
8060         * rowpainter.C: adjust several functions
8061         * rowpainter.h:store a ParagraphList::iterator and not a
8062         Paragraph&.
8063
8064
8065 2003-04-09  John Levon  <levon@movementarian.org>
8066
8067         * lyxfunc.C:
8068         * lfuns.h:
8069         * LyXAction.h:
8070         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8071         and the "help" bits as well
8072
8073 2003-04-09  John Levon  <levon@movementarian.org>
8074
8075         * ToolbarBackend.h:
8076         * ToolbarBackend.C: allow multiple toolbars
8077
8078 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8079
8080         * undo_funcs.C (setCursorParUndo): adjust
8081
8082         * text_funcs.C (transposeChars): adjust
8083
8084         * text3.C (gotoNextInset): adjust
8085         (dispatch): adjust
8086
8087         * text2.C (setLayout): adjust
8088         (changeDepth): adjust
8089         (setFont): adjust
8090         (redoParagraphs): adjust
8091         (selectionAsString): adjust
8092         (setParagraph): adjust
8093         (insertInset): adjust
8094         (cutSelection): adjust
8095         (copySelection): adjust
8096         (pasteSelection): adjust
8097         (insertStringAsLines): adjust
8098         (updateInset): adjust
8099         (setCursor): change to take a ParagraphList::iterator parameter
8100         (setCursorIntern): change to take a ParagraphList::iterator parameter
8101         (setCurrentFont): adjust
8102         (cursorLeft): adjust
8103         (cursorRight): adjust
8104         (deleteEmptyParagraphMechanism): adjust
8105
8106         * text.C (breakParagraph): adjust
8107         (insertChar): adjust
8108         (acceptChange): adjust
8109         (rejectChange): adjust
8110         (selectNextWordToSpellcheck): adjust
8111         (changeCase): adjust
8112         (Delete): adjust
8113         (backspace): adjust
8114
8115         * lyxfind.C (SearchForward): adjust
8116         (SearchBackward): adjust
8117         (nextChange): adjust
8118
8119         * lyxcursor.C (par): adjust
8120
8121         * lyxcursor.h: store a ParagraphList::iterator instead of a
8122         Paragraph*
8123
8124         * lyx_cb.C (getPossibleLabel): adjust
8125
8126         * bufferview_funcs.C (toggleAndShow): adjust
8127
8128         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8129         (dispatch): adjust
8130
8131         * BufferView.C (removeAutoInsets): adjust
8132         (lockedInsetStoreUndo): adjust
8133
8134 2003-04-09  John Levon  <levon@movementarian.org>
8135
8136         * ToolbarBackend.C: try icon without argument
8137         if with argument fails
8138
8139 2003-04-08  John Levon  <levon@movementarian.org>
8140
8141         * ToolbarBackend.h:
8142         * ToolbarBackend.C: add getIcon(), handle tooltip,
8143         and change from "Icon" to "Item".
8144
8145 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8146
8147         * BufferView.C (lockInset): another bad getchar crunched
8148
8149 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8150
8151         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8152         again)
8153
8154 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8155
8156         * lyxfind.C (searchForward, searchBackwards): bug 782
8157
8158 2003-04-07  John Levon  <levon@movementarian.org>
8159
8160         * paragraph.C: remove dead comment
8161
8162         * text.C: remove troublesome depth-fiddling code
8163         in leftMargin() and rightMargin() (bug 1017)
8164
8165         * text.C: fix breaking of rows in nested lists
8166         (bug 1004)
8167
8168         * text2.C (updateCounters): fix up depth values
8169         (bug 1013)
8170
8171 2003-04-07  John Levon  <levon@movementarian.org>
8172
8173         * BufferView_pimpl.C: clear message when doc finishes resizing,
8174         and after a mouse event
8175
8176         * lyxfunc.C: clear message after exiting inset
8177
8178 2003-04-07  John Levon  <levon@movementarian.org>
8179
8180         * bufferview_funcs.C: show math status not outside
8181         status in the statusbar
8182
8183 2003-04-07  John Levon  <levon@movementarian.org>
8184
8185         * lyxfunc.C: note status changed after a depth change
8186
8187 2003-04-04  Angus Leeming  <leeming@lyx.org>
8188
8189         * LaTeX.h: move AuxInfo operator==, != out of line.
8190         Remove LaTeX virtual destructor; nothing derives from it.
8191         Move operator()() out of public area and rename it startscript().
8192         Change protected for private.
8193
8194 2003-04-04  Angus Leeming  <leeming@lyx.org>
8195
8196         * lyxfunc.C:
8197         * text2.C: remove unneeded #includes.
8198
8199 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8200
8201         * text2.C (dEPM): fix the heigth of the next row
8202
8203 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8204
8205         * text.C: squashed an invalid getChar requester + some ws changes
8206
8207 2003-04-03  John Levon  <levon@movementarian.org>
8208
8209         * bufferview_funcs.h:
8210         * bufferview_funcs.C:
8211         * lyxfunc.C:
8212         * lyxtext.h:
8213         * text2.C: make getStatus work for the env depth lfuns
8214
8215 2003-04-03  John Levon  <levon@movementarian.org>
8216
8217         * bufferview_funcs.h:
8218         * bufferview_funcs.C:
8219         * lyxfunc.C:
8220         * lyxtext.h:
8221         * text2.C: parlistize decDepth(), by merging it with incDepth()
8222
8223 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8224
8225         * lyxrow.h: store a ParagraphList::iterator instead of a
8226         Paragraph* and adjust other class functions to suit.
8227
8228         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8229         above.
8230
8231 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8232
8233         * text2.C (setCursor): do not anchor to cursor row for the time being
8234
8235 2003-04-02  John Levon  <levon@movementarian.org>
8236
8237         * LyXAction.C:
8238         * lfuns.h:
8239         * lyx_main.C:
8240         * lyxtext.h:
8241         * text.C:
8242         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8243
8244 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8245
8246         * paragraph.h: make ParagraphList and ParagraphList::iterator
8247         friends of Paragraph.
8248
8249         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8250
8251         * ParagraphList.C: Use the private next_ and previous_ from
8252         Paragraph.
8253
8254 2003-04-01  John Levon  <levon@movementarian.org>
8255
8256         * ToolbarBackend.h:
8257         * ToolbarBackend.C:
8258         * Makefile.am: rename, remove defaults gunk
8259
8260         * MenuBackend.h:
8261         * MenuBackend.C: remove defaults gunk
8262
8263         * Languages.h:
8264         * Languages.C: remove defaults gunk
8265
8266         * lyx_main.h:
8267         * lyx_main.C: error out if files couldn't be found.
8268
8269 2003-04-02  John Levon  <levon@movementarian.org>
8270
8271         * text2.C: make incDepth() use parlist
8272
8273 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8274
8275         * undo_funcs.C (firstUndoParagraph): adjust
8276
8277         * text3.C (gotoInset): adjust
8278         (dispatch): adjust, and rewrite loop.
8279
8280         * text2.C (init): adjust, and rewrite loop.
8281         (redoParagraphs): adjust
8282         (updateInset): adjust, and rewrite loop.
8283         (deleteEmptyParagraphMechanism): adjust
8284
8285         * tabular.C (LyXTabular): adjust
8286         (SetMultiColumn): adjust
8287         (TeXRow): adjust
8288
8289         * lyxtext.[Ch] (ownerParagraph): delete function
8290         (ownerParagraphs): new function returns a ParagraphList.
8291
8292         * BufferView.C (removeAutoInsets): adjust
8293         (insertErrors): adjust
8294         (setCursorFromRow): adjust
8295
8296 2003-04-01  Angus Leeming  <leeming@lyx.org>
8297
8298         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8299         in the frontends.
8300
8301 2003-04-02  John Levon  <levon@movementarian.org>
8302
8303         * lyxtext.h:
8304         * text.C:
8305         * Makefile.am:
8306         * text_funcs.h:
8307         * text_funcs.C: make transposeChars a free function
8308
8309         * lyxrow_funcs.C: remove wrong comment
8310
8311 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8312
8313         * lyxtext.h: adjust
8314         * rowpainter.C: adjust
8315         * text.C: adjust
8316         * text2.C: adjust
8317         * text3.C: adjust
8318
8319         * lyxrow_funcs. [Ch]: new files
8320
8321         * lyxrow.[Ch]: remove next and previous pointers
8322         (next,previous): remove accessor functions
8323         (isParEnd): move to lyxrow_funcs
8324         (lastPos): move to lyxrow_funcs
8325         (nextRowIsAllInset): move to lyxrow_funcs
8326         (lastPrintablePos): move to lyxrow_funcs
8327         (numberOfSeparators): move to lyxrow_funcs
8328         (numberOfHfills): move to lyxrow_funcs
8329         (numberOfLabelHfills): move to lyxrow_funcs
8330         (hfillExpansion): move to lyxrow_funcs
8331
8332         * lyxfunc.C: adjust
8333
8334         * bufferview_funcs.C (toggleAndShow): adjust
8335
8336         * RowList.h: Remove class RowList from file leave just a
8337         std::list<Row>.
8338
8339         * RowList.C: delete file
8340
8341         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8342         and lyxrow_funcs.h
8343
8344 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8345
8346         * text3.C (cursorPrevious): adjust
8347         (cursorNext): adjust
8348         (dispatch): adjust
8349
8350         * text2.C (redoHeightOfParagraph): adjust
8351         (redoDrawingOfParagraph): adjust
8352         (setCursor): adjust
8353
8354         * text.C (breakParagraph): adjust
8355         (insertChar): adjust
8356         (backspace): adjust
8357
8358         * rowpainter.C (RowPainter): adjust
8359         (leftMargin): simplify and adjust
8360         (most rowpainter functions): adjust.
8361
8362         * rowpainter.h: store the row as RowList::iterator not as Row*
8363
8364         * lyxcursor.C (row): taka RowList::iterator as arg
8365         (irow): ditto
8366
8367         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8368         of Row*.
8369
8370 2003-04-01  Angus Leeming  <leeming@lyx.org>
8371
8372         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8373         stuff like bool Bool.
8374
8375 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8376
8377         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8378         rewrite a loop
8379
8380 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8381
8382         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8383         RowList::iterator.
8384
8385         * lyxtext.h (rows): drop one version and leve a const variant that
8386         returns a RowList::iterator.
8387
8388 2003-03-31  Angus Leeming  <leeming@lyx.org>
8389
8390         * text.C (fill): ensure that the signature is the same as that in the
8391         header file.
8392
8393 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8394
8395         * text2.C (redoParagraphs): adjust
8396         (updateCounters): adjust
8397         (checkParagraph): adjust
8398         (getColumnNearX): adjust and reformat a bit.
8399
8400         * text.C (top_y): adjust
8401         (workWidth): adjust
8402         (leftMargin): adjust
8403         (prepareToPrint): adjust
8404         (getRow): adjust
8405         (getRowNearY): adjust
8406
8407         * lyxtext.h: make rowlist_ mutable.
8408
8409         * RowList.h: add const_iterator
8410         * RowList.C: adjust for RowList::const_iterator.
8411
8412         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8413         adjust.
8414
8415 2003-03-31  John Levon  <levon@movementarian.org>
8416
8417         * lyxrc.h:
8418         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8419
8420         * lyx_main.C: set default fonts from using lyx_gui funcs
8421
8422         * exporter.C: pdf_mode moved from lyxrc
8423
8424         * lyx_cb.C:
8425         * lyxfunc.C: changes from above
8426
8427 2003-03-31  John Levon  <levon@movementarian.org>
8428
8429         * lyx_main.C: fix to the last fix
8430
8431 2003-03-31  John Levon  <levon@movementarian.org>
8432
8433         * bufferlist.C: "Load original" -> "Load Original"
8434
8435         * converter.C:
8436         * exporter.C:
8437         * importer.C:
8438         * lyx_main.C:
8439         * format.C: more Alert cleanups
8440
8441 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8442
8443         * text2.C (removeParagraph): make it take a RowList::iterator as
8444         arg, adjust.
8445         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8446         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8447
8448         * text.C (anchor_row): make it take a RowList::iterator as arg,
8449         adjust.
8450         (computeBidiTables): make it take a const reference to Row instead
8451         of Row pointer, adjust.
8452         (leftMargin): make it take a RowList::iterator as arg, adjust.
8453         (rowBreakPoint): adjust
8454         (breakAgainOneRow): make it take a RowList::iterator as arg,
8455         adjust.
8456         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8457
8458         * bufferview_funcs.C (toggleAndShow): adjust
8459
8460 2003-03-30  John Levon  <levon@movementarian.org>
8461
8462         * Makefile.am:
8463         * BoostFormat.h:
8464         * boost-inst.C: moved to support
8465
8466         * several files: changes as a result
8467
8468 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8469
8470         * text2.C (LyXText): adjust.
8471         (init): adjust
8472         (removeRow): make it take a RowList::iterator as arg, adjust.
8473         (fullRebreak): adjust
8474         (deleteEmptyParagraphMechanism): adjust
8475         (clearPaint): adjust
8476         (postPaint): adjust
8477
8478         * text.C (top_y): adjust
8479         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8480         (breakAgain): make it take a RowList::iterator as arg, adjust.
8481         (breakParagraph): adjust
8482         (insertChar): adjust
8483         (backspace): adjust
8484
8485         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8486         need_break_row, and refresh_row.
8487
8488         * text3.C (dispatch): adjust
8489
8490         * text2.C (checkParagraph): adjust
8491         (setCursor): adjust
8492         (setCursorFromCoordinates): adjust
8493
8494         * text.C (top_y): adjust
8495         (workWidth): adjust
8496         (getRow): make it return a RowList::iterator, adjust
8497         (getRowNearY): make it return a RowList::iterator, adjust
8498
8499         * text2.C (init): adjust
8500         (insertRow): remove function
8501         (insertParagraph): adjust
8502         (redoParagraphs): adjust
8503         (fullRebreak): adjust
8504         (updateCounters): adjust
8505
8506         * text.C (top_y): rewrite to use RowList iterators.
8507         (top_y): adjust
8508         (setHeightOfRow): rewrite to sue RowList iterators.
8509         (appendParagraph): adjust
8510         (breakAgain): adjust
8511         (breakAgainOneRow): adjust
8512         (breakParagraph): adjust
8513         (getRow): adjust
8514         (getRowNearY): adjust, and remove commented code.
8515
8516         * lyxtext.h (firstRow): delete function
8517         (lastRow): delete function
8518         (rows): new function (const and non-const versions.)
8519         (insertRow): delete function
8520
8521         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8522
8523 2003-03-29  John Levon  <levon@movementarian.org>
8524
8525         * BufferView_pimpl.C: always update scrollbar top
8526         because pasting text when we're anchored could mean we
8527         miss an update altogether
8528
8529 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8530
8531         * text2.C (init): use rowlist_.end() and not 0.
8532         (insertRow): change to take a RowList::iterator as arg, adjust
8533         for this.
8534         (insertParagraph): change to take a RowList::iterator as arg,
8535         adjust for this.
8536         (redoParagraphs): remove some debug msgs.
8537
8538         * text.C (appendParagraph): change to take a RowList::iterator
8539         arg, adjust for this.
8540         (breakAgain): add an assert
8541         (breakAgainOneRow): ditto
8542
8543 2003-03-29  John Levon  <levon@movementarian.org>
8544
8545         * text2.C: do not clear selection after inc/decDepth
8546         (bug 550)
8547
8548 2003-03-29  John Levon  <levon@movementarian.org>
8549
8550         * BufferView.C:
8551         * buffer.C: fix broken strerrors according to Lars
8552
8553 2003-03-29  John Levon  <levon@movementarian.org>
8554
8555         * converters.C: more Alert cleanups
8556
8557 2003-03-29  John Levon  <levon@movementarian.org>
8558
8559         * bufferview_funcs.C: remove pointless Alert
8560
8561         * buffer.C: fix confusing error message when
8562         a template is chmoded 000
8563
8564 2003-03-29  John Levon  <levon@movementarian.org>
8565
8566         * BufferView.C:
8567         * BufferView.h:
8568         * BufferView_pimpl.C: Alert fixes
8569
8570         * Makefile.am:
8571         * tabular.C:
8572         * tabular-old.C: remove unused table compat reading
8573
8574 2003-03-29  John Levon  <levon@movementarian.org>
8575
8576         * BufferView.C:
8577         * buffer.C:
8578         * lyx_cb.h:
8579         * lyx_cb.C: more Alert cleanups
8580
8581         * lyxfunc.C: don't allow chktex if not latex document
8582
8583 2003-03-29  John Levon  <levon@movementarian.org>
8584
8585         * lyx_cb.C:
8586         * BufferView.C:
8587         * buffer.C: warnings pushed down from support/,
8588         kill err_alert
8589
8590 2003-03-29  John Levon  <levon@movementarian.org>
8591
8592         * lyxfunc.C: safety check for C-r (revert)
8593
8594 2003-03-29  John Levon  <levon@movementarian.org>
8595
8596         * bufferlist.h:
8597         * bufferlist.C: several UI fixes using Alert::prompt.
8598         Fix the pointless looping quit code. Fix stupid revert
8599         behaviour (bug 938)
8600
8601         * lyxvc.h:
8602         * lyxvc.C:
8603         * lyx_cb.C: use Alert::prompt
8604
8605         * lyx_main.C: remove a silly question
8606
8607         * lyxfunc.C: remove a couple of silly questions,
8608         use Alert::prompt
8609
8610 2003-03-28  John Levon  <levon@movementarian.org>
8611
8612         * text2.C: fix bug 974 (End on empty par)
8613
8614 2003-03-28  John Levon  <levon@movementarian.org>
8615
8616         * BufferView_pimpl.C:
8617         * LyXAction.C:
8618         * lfuns.h: remove do-nothing math greek lfuns
8619
8620 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8621
8622         * lyxgluelength.h (isValidGlueLength): add default arg on
8623         parameter 2. Remove default arg from friend in class.
8624
8625         * lyxlength.h (isValidLength): add default arg on parameter 2.
8626         Remove default arg from friend in class.
8627
8628         * text2.C (LyXText): adjust, initialize refresh_row.
8629         (init): adjust
8630         (removeRow): adjust
8631         (insertRow): adjust
8632         (insertParagraph): adjst
8633         (redoParagraphs): adjust
8634         (fullRebreak): adjust
8635         (updateCounters): adjust
8636         (deleteEmptyParagraphMechanism): first attempt at fixing a
8637         crashing bug.
8638
8639         * text.C (top_y): adjust
8640         (setHeightOfRow): adjust
8641         (getRow): adjust
8642         (getRowNearY): adjust
8643
8644         * lyxtext.h: include RowList.h
8645         (~LyXText): not needed anymore, deleted.
8646         (firstRow): modify for RowList
8647         (lastRow): new function
8648         Delete firstrow and lastrow class variables, add a Rowlist
8649         rowlist_ class variable.
8650
8651         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8652         paragraph is empty.
8653
8654         * RowList.C (insert): fix case where it == begin().
8655
8656 2003-03-26  Angus Leeming  <leeming@lyx.org>
8657
8658         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8659         the thesaurus dialog.
8660
8661 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8662
8663         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8664
8665         * RowList.[Ch]: new files
8666
8667         * ParagraphList.C (erase): handle the case where it == begin
8668         correctly.
8669
8670 2003-03-25  John Levon  <levon@movementarian.org>
8671
8672         * Makefile.am:
8673         * aspell_local.h:
8674         * aspell.C: add new aspell support
8675
8676         * lyxrc.h:
8677         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8678         have it accessible.
8679
8680 2003-03-25  Angus Leeming  <leeming@lyx.org>
8681
8682         * lfuns.h:
8683         * LyXAction.C (init): new LFUN_INSET_INSERT.
8684
8685         * BufferView_pimpl.C (dispatch): split out part of the
8686         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8687
8688         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8689         LFUN_INSET_APPLY.
8690
8691 2003-03-25  Angus Leeming  <leeming@lyx.org>
8692
8693         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8694
8695 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8696
8697         * text2.C:
8698         * text3.C: remove useless row->height(0)
8699
8700 2003-03-25  John Levon  <levon@movementarian.org>
8701
8702         * lyxtext.h:
8703         * text2.C:
8704         * text3.C: rename the refreshing stuff to better names
8705
8706 2003-03-24  John Levon  <levon@movementarian.org>
8707
8708         * BufferView_pimpl.h:
8709         * BufferView_pimpl.C: update layout choice on a mouse
8710         press/release
8711
8712 2003-03-23  John Levon  <levon@movementarian.org>
8713
8714         * Makefile.am: fix commandtags.h reference
8715
8716 2003-03-22  John Levon  <levon@movementarian.org>
8717
8718         * BufferView_pimpl.C:
8719         * lyxtext.h:
8720         * rowpainter.C:
8721         * rowpainter.h:
8722         * text.C:
8723         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8724
8725 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8726
8727         * lyxtext.h:
8728         * text.C: take the rtl methods out of line
8729
8730 2003-03-21 André Pönitz <poenitz@gmx.net>
8731
8732         * metricsinfo.[Ch]: new files containing structures to be passed around
8733         during the two-phase-drawing...
8734
8735 2003-03-21 André Pönitz <poenitz@gmx.net>
8736
8737         * lyxtextclass.C: read 'environment' tag.
8738
8739 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8740
8741         * text2.C (removeRow): fix bug 964
8742
8743 2003-03-20  John Levon  <levon@movementarian.org>
8744
8745         * rowpainter.C:
8746         * text.C:
8747         * text2.C: paint cleanups. Inset::update() dropped font
8748         parameter
8749
8750 2003-03-19  John Levon  <levon@movementarian.org>
8751
8752         * lyxfunc.C: only fitcursor/markDirty if available()
8753
8754 2003-03-19  John Levon  <levon@movementarian.org>
8755
8756         * commandtags.h: rename to ...
8757
8758         * lfuns.h: ... this, and renumber / cleanup
8759
8760 2003-03-19  John Levon  <levon@movementarian.org>
8761
8762         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8763         fit the cursor after an lfun
8764
8765         * BufferView.h:
8766         * BufferView.C:
8767         * BufferView_pimpl.h:
8768         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8769
8770         * LyXAction.C: layout-character should have ReadOnly
8771
8772         * ParagraphParameters.C:
8773         * buffer.C:
8774         * bufferview_funcs.C:
8775         * lyx_cb.C:
8776         * lyxfind.C:
8777         * lyxtext.h:
8778         * text.C:
8779         * text2.C:
8780         * text3.C:
8781         * undo_funcs.C: changes from above
8782
8783 2003-03-18  John Levon  <levon@movementarian.org>
8784
8785         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8786         remove it from update()
8787
8788         * lyxfunc.C: update layout choice after an lfun
8789
8790         * text3.C: remove extra updateLayoutChoice()s
8791
8792 2003-03-18  John Levon  <levon@movementarian.org>
8793
8794         * text.C: top_y change means full repaint, fix
8795         a drawing bug with cursor movement
8796
8797 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8798
8799         * lyxtext.h:
8800         * text.C:
8801         * text2.C: anchor row on setCursor
8802
8803 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8804
8805         * lyxtext.h: remove almost all mutable keywords
8806         * text.C:
8807         * text2.C:
8808         * text3.C: remove const keywords accordingly
8809
8810 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8811
8812         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8813         anon namespace
8814         (TeXEnvironment): ditto
8815         (TeXOnePar): ditto
8816
8817 2003-03-17  John Levon  <levon@movementarian.org>
8818
8819         * text.C (rowBreakPoint): remove attempt to fix displayed
8820         math insets inside a manual label
8821
8822 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8823
8824         * lyxtext.h: remove BufferView* as first arg from almost all class
8825         functions.
8826         * other files: adjust.
8827
8828 2003-03-17  John Levon  <levon@movementarian.org>
8829
8830         * lyxtext.h:
8831         * undo_funcs.C:
8832         * text2.C: more paint cleanups
8833
8834         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8835
8836         * rowpainter.h:
8837         * rowpainter.C: remove "smart" background painting code
8838
8839 2003-03-16  John Levon  <levon@movementarian.org>
8840
8841         * lyxtext.h:
8842         * text.C:
8843         * text2.C:
8844         * text3.C: add helper functions for setting refresh_row/y
8845
8846 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8847
8848         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8849         newline inset which *can* get inserted in the pass_thru layouts.
8850         This is primarily for literate documents.
8851
8852 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8853
8854         * buffer.C: increment LYX_FORMAT to 223
8855
8856 2003-03-14 André Pönitz <poenitz@gmx.net>
8857
8858         * textclass.h: prepare for environment handling, ws changes
8859         * lyxlayout.C: read latexheader and latexfooter tags
8860
8861 2003-03-14  John Levon  <levon@movementarian.org>
8862
8863         * text2.C: rewrite ::status() a bit
8864
8865 2003-03-13  John Levon  <levon@movementarian.org>
8866
8867         * lyxtext.h: add some docs
8868
8869 2003-03-13  John Levon  <levon@movementarian.org>
8870
8871         * lyxtext.h:
8872         * text.C:
8873         * text2.C:
8874         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8875
8876 2003-03-13  John Levon  <levon@movementarian.org>
8877
8878         * text3.C: fix appendix redrawing
8879
8880 2003-03-13  John Levon  <levon@movementarian.org>
8881
8882         * text.C (setHeightOfRow):
8883         * rowpainter.h:
8884         * rowpainter.C: make appendix mark have the text
8885           "Appendix" so the user knows what it is
8886
8887         * LColor.h:
8888         * LColor.C: s/appendixline/appendix/ from above
8889
8890 2003-03-13  John Levon  <levon@movementarian.org>
8891
8892         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8893
8894         * text.C: fix a getChar(pos) bug properly
8895
8896 2003-03-13  Angus Leeming  <leeming@lyx.org>
8897
8898         * commandtags.h:
8899         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8900         Probably only temporary. Let's see how things pan out.
8901
8902         * BufferView.C (unlockInset):
8903         * BufferView_pimpl.C (fitCursor):
8904         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8905
8906         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8907         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8908
8909         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8910         new functions that convert ParagraphParameters to and from a string.
8911
8912         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8913         BufferView::Pimpl's dispatch.
8914         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8915
8916 2003-03-13 André Pönitz <poenitz@gmx.net>
8917
8918         * lyxfunc.C:
8919         * text3.C:
8920         * factory.C: make it aware of InsetEnv
8921
8922 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8923
8924         * text2.C (setCursor): never ask for one past last
8925         (setCursor): add some debugging messages.
8926
8927         * text.C (singleWidth): never ask for one past last
8928         (singleWidth): ditto
8929         (leftMargin): ditto
8930         (rightMargin): ditto
8931         (rowBreakPoint): ditto
8932         (setHeightOfRow): ditto
8933         (prepareToPrint): ditto
8934
8935         * rowpainter.C (paintBackground): never ask for one past last
8936         (paintText): never ask for one past last
8937
8938         * paragraph_pimpl.C (getChar): make the assert stricter, never
8939         allow the one past last pos to be taken
8940
8941         * paragraph.C (getChar): ws changes only
8942
8943         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8944         (numberOfSeparators): ditto
8945         (numberOfHfills): ditto
8946
8947 2003-03-12  John Levon  <levon@movementarian.org>
8948
8949         * author.h:
8950         * author.C:
8951         * bufferparams.h:
8952         * bufferparams.C:
8953         * paragraph_funcs.C: fix per-buffer authorlists
8954
8955 2003-03-12  John Levon  <levon@movementarian.org>
8956
8957         * text.C: fix newline in right address
8958
8959 2003-03-12  Angus Leeming  <leeming@lyx.org>
8960
8961         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8962         duplicate those in LyXFunc::dispatch.
8963
8964         * commandtags.h:
8965         * LyXAction.C:
8966         * ToolbarDefaults.C:
8967         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8968         Add LFUN_FONTFREE_UPDATE.
8969
8970         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8971         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8972
8973         * bufferview_func.[Ch]: several new functions to facilliate
8974         transfer of data to and from the character dialog.
8975
8976 2003-03-12  John Levon  <levon@movementarian.org>
8977
8978         * buffer.C:
8979         * paragraph.h:
8980         * paragraph.C:
8981         * paragraph_funcs.C:
8982         * paragraph_pimpl.C:
8983         * sgml.C:
8984         * tabular.C:
8985         * text.C:
8986         * text3.C: remove META_NEWLINE in favour of an inset
8987
8988         * rowpainter.h:
8989         * rowpainter.C: remove paintNewline (done by inset)
8990
8991 2003-03-12  John Levon  <levon@movementarian.org>
8992
8993         * paragraph_pimpl.C: complain about bad getChar()s
8994         for a while at least
8995
8996 2003-03-12  John Levon  <levon@movementarian.org>
8997
8998         * buffer.h:
8999         * buffer.C: move paragraph read into a separate function,
9000         a little renaming to reflect that.
9001
9002         * bufferparams.h:
9003         * bufferparams.C: remove the author_ids map, not necessary now
9004
9005         * factory.h:
9006         * factory.C: moved Buffer::readInset to here
9007
9008         * paragraph_funcs.h:
9009         * paragraph_funcs.C: readParagraph free function moved from
9010         buffer.C
9011
9012         * tabular.C: name change
9013
9014 2003-03-12  John Levon  <levon@movementarian.org>
9015
9016         * buffer.C:
9017         * ParagraphParameters.C: move par params input to
9018         a read() method
9019
9020         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9021         behave like a normal read from the stream wrt reading
9022         a line vs. a \\token
9023
9024 2003-03-12  John Levon  <levon@movementarian.org>
9025
9026         * paragraph.C:
9027         * ParagraphParameters.h:
9028         * ParagraphParameters.C: move output code to a
9029         ::write() method
9030
9031 2003-03-12  John Levon  <levon@movementarian.org>
9032
9033         * BufferView.C (insertLyXFile):
9034         * buffer.h:
9035         * buffer.C:
9036         * tabular.C: use a parlist iterator for creating the
9037           document.
9038
9039 2003-03-12  John Levon  <levon@movementarian.org>
9040
9041         * buffer.C: make current_change static local not
9042           static file-scope
9043
9044 2003-03-12  John Levon  <levon@movementarian.org>
9045
9046         * buffer.C: fix insertStringAsLines for change tracking
9047
9048 2003-03-12  John Levon  <levon@movementarian.org>
9049
9050         * BufferView.C:
9051         * tabular.C:
9052         * buffer.h:
9053         * buffer.C:
9054         * bufferparams.h:
9055         * bufferparams.C: move author list into params. Rename some
9056           functions. Move the header reading into a separate token
9057           loop. Move the header token reading into BufferParams.
9058
9059 2003-03-12  John Levon  <levon@movementarian.org>
9060
9061         * changes.C: put debug inside lyxerr.debugging() checks
9062
9063 2003-03-11 André Pönitz <poenitz@gmx.net>
9064
9065         * factory.C: make it aware of InsetHFill
9066
9067 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9068
9069         * buffer.C (latexParagraphs): move function from here...
9070         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9071         args.
9072
9073 2003-03-10  Angus Leeming  <leeming@lyx.org>
9074
9075         * LyXAction.C (init): fix bug in poplating array with multiple entries
9076         with the same LFUN (spotted by JMarc).
9077
9078 2003-03-10  John Levon  <levon@movementarian.org>
9079
9080         * text.C:
9081         * text2.C: move getColumnNearX() near its
9082         only call site
9083
9084 2003-03-10  John Levon  <levon@movementarian.org>
9085
9086         * text.C: fix break before a minipage
9087
9088 2003-03-10  John Levon  <levon@movementarian.org>
9089
9090         * text.C: fix the last commit
9091
9092 2003-03-09  John Levon  <levon@movementarian.org>
9093
9094         * lyxtext.h:
9095         * text.C:
9096         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9097         bug 365 (don't break before insets unless needed). Don't
9098         return a value > last under any circumstances.
9099
9100 2003-03-09  Angus Leeming  <leeming@lyx.org>
9101
9102         * BufferView_pimpl.C (trackChanges, dispatch): call
9103         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9104
9105 2003-03-09  Angus Leeming  <leeming@lyx.org>
9106
9107         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9108         than Dialogs::showAboutlyx().
9109
9110 2003-03-09  Angus Leeming  <leeming@lyx.org>
9111
9112         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9113         than Dialogs::showTabularCreate().
9114
9115 2003-03-09  John Levon  <levon@movementarian.org>
9116
9117         * lyxtext.h:
9118         * text.C:
9119         * text2.C: 3rd arg to nextBreakPoint was always the same.
9120           Use references.
9121
9122 2003-03-08  John Levon  <levon@movementarian.org>
9123
9124         * lyxrow.C:
9125         * paragraph.C:
9126         * paragraph.h:
9127         * rowpainter.C:
9128         * text.C:
9129         * text2.C: Remove the "main" bit from the "main body"
9130           notion.
9131
9132 2003-03-08  John Levon  <levon@movementarian.org>
9133
9134         * text.C (leftMargin): The left margin of an empty
9135         manual label paragraph should not include the label width
9136         string length.
9137
9138         * text.C (prepareToPrint): don't attempt to measure hfills
9139         for empty manual label paragraphs - the answer should be 0
9140
9141 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9142
9143         * CutAndPaste.C: remove commented code and reindent.
9144
9145 2003-03-08  John Levon  <levon@movementarian.org>
9146
9147         * lyxfunc.h:
9148         * lyxfunc.C: move reloadBuffer()
9149
9150         * BufferView.h:
9151         * BufferView.C: to here
9152
9153         * lyxvc.C: add comment
9154
9155         * vc-backend.h:
9156         * vc-backend.C: call bv->reload() to avoid
9157           getStatus() check on MENURELOAD
9158
9159 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9160
9161         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9162         to an old format .dep file.
9163
9164 2003-03-07  Angus Leeming  <leeming@lyx.org>
9165
9166         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9167         when the LFUN_MOUSE_RELEASE should have been handled by
9168         inset->localDispatch.
9169
9170 2003-03-07  Angus Leeming  <leeming@lyx.org>
9171
9172         * BufferView_pimpl.C (dispatch):
9173         * LyXAction.C (init):
9174         * ToolbarDefaults.C (init):
9175         * commandtags.h:
9176         * lyxfunc.C (getStatus):
9177         remove LFUN_INSET_GRAPHICS.
9178
9179         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9180
9181 2003-03-07  Angus Leeming  <leeming@lyx.org>
9182
9183         * commandtags.h:
9184         * LyXAction.C (init):
9185         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9186
9187         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9188
9189         * commandtags.h:
9190         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9191
9192         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9193         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9194
9195 2003-03-07  Angus Leeming  <leeming@lyx.org>
9196
9197         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9198         remove "ert".
9199
9200 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9201
9202         * ParagraphList.C (front): new function
9203         (back): implement
9204
9205 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9206
9207         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9208         and top_row_offset_. removed var first_y.
9209         * text.C (top_y):
9210         * text2.C (LyXText, removeRow):
9211         * text3.C:
9212         * BufferView_pimpl.C:
9213         use these methods instead of using first_y
9214
9215 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9216
9217         * text2.C (pasteSelection): adjust for checkPastePossible
9218
9219         * CutAndPaste.C: remove Paragraph * buf and replace with
9220         ParagraphList paragraphs.
9221         (DeleteBuffer): delete
9222         (cutSelection): change the tc type to textclass_type
9223         (copySelection): change the tc type to textclass_type
9224         (copySelection): adjust for ParagraphList
9225         (pasteSelection): change the tc type to textclass_type
9226         (pasteSelection): adjust for Paragraphlist
9227         (nrOfParagraphs): simplify for ParagraphList
9228         (checkPastePossible): simplify for ParagraphList
9229         (checkPastePossible): remove unused arg
9230
9231         * ParagraphList.C (insert): handle the case where there are no
9232         paragraphs yet.
9233
9234         * CutAndPaste.h: make CutAndPaste a namespace.
9235
9236         * text3.C (dispatch): adjust
9237
9238         * text.C (breakParagraph): add a ParagraphList as arg
9239
9240         * paragraph_funcs.C (breakParagraph): change to take a
9241         BufferParams and a ParagraphList as args.
9242         (breakParagraphConservative): ditto
9243         (mergeParagraph): ditto
9244         (TeXDeeper): add a ParagraphList arg
9245         (TeXEnvironment): ditto
9246         (TeXOnePar): ditto
9247
9248         * buffer.C (readLyXformat2): adjust
9249         (insertStringAsLines): adjust
9250         (latexParagraphs): adjust
9251
9252         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9253         (cutSelection): adjust
9254         (pasteSelection): adjust
9255
9256         * BufferView_pimpl.C (insertInset): adjust
9257
9258 2003-03-05  Angus Leeming  <leeming@lyx.org>
9259
9260         * commandtags.h:
9261         * LyXAction.C (init):
9262         * BufferView_pimpl.C (dispatch):
9263         * lyxfunc.C (getStatus):
9264         remove LFUN_CHILD_INSERT.
9265
9266         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9267
9268 2003-03-05  Angus Leeming  <leeming@lyx.org>
9269
9270         * commandtags.h:
9271         * LyXAction.C (init):
9272         * src/factory.C (createInset):
9273         * lyxfunc.C (getStatus):
9274         * text3.C (dispatch):
9275         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9276
9277         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9278
9279 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9280
9281         * ParagraphList.C (insert): handle insert right before end()
9282         (erase): fix cases where it can be first or last paragraph.
9283
9284 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9285
9286         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9287         Paragraph::next and Paragraph::previous
9288         (TeXOnePar): ditto
9289
9290         * text.C (breakParagraph): adjust
9291
9292         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9293         BufferParams& as arg.
9294         (breakParagraph): use ParagraphList::insert
9295         (breakParagraphConservative): take a Buffer* instead of a
9296         BufferParams& as arg.
9297         (breakParagraphConservative): use ParagraphList::insert.
9298
9299         * buffer.C (insertStringAsLines): un-const it
9300         (insertStringAsLines): adjust
9301
9302         * ParagraphList.C (insert): new function
9303
9304         * CutAndPaste.C (pasteSelection): adjust
9305
9306         * text.C (backspace): adjust
9307
9308         * tabular.C (SetMultiColumn): adjust
9309
9310         * CutAndPaste.C (cutSelection): adjust
9311         (pasteSelection): adjust
9312
9313         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9314         Buffer const * as arg
9315
9316         * ParagraphList.C (erase): new function
9317         * paragraph_funcs.C (mergeParagraph): use it
9318         (mergeParagraph): make it take a Buffer* instead of a
9319         BufferParams* as arg
9320
9321         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9322         as arg
9323         (breakParagraphConservative): ditto
9324
9325         * paragraph.h: remove the breakParagraph friend
9326
9327         * paragraph.C (eraseIntern): new function
9328         (setChange): new function
9329
9330         * paragraph_funcs.C (mergeParagraph): make it take a
9331         ParagraphList::iterator instead of a Paragraph *, adjust
9332         accordingly.
9333
9334         * paragraph.h: move an #endif so that the change tracking stuff
9335         also works in the NO_NEXT case.
9336
9337 2003-03-04  Angus Leeming  <leeming@lyx.org>
9338
9339         * commandtags.h:
9340         * LyXAction.C: new LFUN_INSET_MODIFY.
9341
9342         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9343         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9344
9345 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9346
9347         * several files: ws changes only
9348
9349         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9350         (TeXEnvironment): ditto
9351         (TeXDeeper): ditto
9352
9353         * buffer.C (makeLaTeXFile): adjust
9354         (latexParagraphs): make it take ParagraphList::iterator as args
9355
9356 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9357
9358         * buffer.C (latexParagraphs): adjust
9359
9360         * paragraph.C (TeXOnePar): move function...
9361         (optArgInset): move function...
9362         (TeXEnvironment): move function...
9363         * paragraph_pimpl.C (TeXDeeper): move function...
9364         * paragraph_funcs.C: ...here
9365
9366         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9367
9368 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9369
9370         * buffer.C (readInset): remove compability code for old Figure and
9371         InsetInfo insets
9372
9373 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9374
9375         * buffer.C: ws changes
9376         (readInset):
9377
9378         * BufferView_pimpl.C: ditto
9379         * author.C: ditto
9380         * buffer.h: ditto
9381         * bufferlist.h: ditto
9382         * changes.h: ditto
9383         * lyxfunc.C: ditto
9384
9385 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9386
9387         * converter.[Ch]: split into itself +
9388         * graph.[Ch]
9389         * format.[Ch]
9390         * Makefile.am: += graph.[Ch] + format.[Ch]
9391         * MenuBackend.C
9392         * buffer.C
9393         * exporter.C
9394         * importer.C
9395         * lyx_main.C
9396         * lyxfunc.C
9397         * lyxrc.C: added #include "format.h"
9398
9399 2003-02-27  Angus Leeming  <leeming@lyx.org>
9400
9401         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9402           a label.
9403
9404         * factory.C (createInset): add "label" to the factory.
9405
9406         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9407           string and do no more.
9408
9409 2003-02-27  Angus Leeming  <leeming@lyx.org>
9410
9411         * commandtags.h:
9412         * LyXAction.C (init):
9413         * factory.C (createInset):
9414         * BufferView_pimpl.C (dispatch):
9415           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9416
9417         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9418
9419         * lyxfunc.C (dispatch):
9420         * text3.C (dispatch): pass name to params2string.
9421
9422 2003-02-26  Angus Leeming  <leeming@lyx.org>
9423
9424         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9425           blocks together.
9426           Rearrange the ~includes. Strip out the unnecessary ones.
9427
9428         * factory.C (createInset): reformat.
9429           create new insets for the various LFUN_XYZ_APPLY lfuns.
9430
9431 2003-02-26  John Levon  <levon@movementarian.org>
9432
9433         * lyxrow.h:
9434         * lyxrow.C: add isParStart,isParEnd helpers
9435
9436         * paragraph.h: make isInserted/DeletedText take refs
9437
9438         * paragraph_funcs.h:
9439         * paragraph_funcs.C: remove #if 0'd code
9440
9441         * lyxtext.h:
9442         * text3.C:
9443         * text2.C:
9444         * text.C: use lyxrow helpers above.
9445           Move draw and paint routines to RowPainter.
9446           Make several methods use refs not pointers.
9447           Make backgroundColor() const.
9448           Add markChangeInDraw(), isInInset().
9449           Merge changeRegionCase into changeCase.
9450           Make workWidth() shouldn't-happen code into an Assert.
9451
9452         * rowpainter.h:
9453         * rowpainter.C: new class for painting a row.
9454
9455         * vspace.h:
9456         * vspace.C: make inPixels take a ref
9457
9458 2003-02-26  Angus Leeming  <leeming@lyx.org>
9459
9460         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9461         LFUN_REF_APPLY.
9462
9463 2003-02-25  John Levon  <levon@movementarian.org>
9464
9465         * ispell.C: give the forked command a more accurate name
9466
9467 2003-02-22  John Levon  <levon@movementarian.org>
9468
9469         * toc.h:
9470         * toc.C: make TocItem store an id not a Paragraph *
9471           (bug #913)
9472
9473 2003-02-21  Angus Leeming  <leeming@lyx.org>
9474
9475         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9476           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9477           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9478           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9479           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9480           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9481
9482         * BufferView_pimpl.C (dispatch):
9483         * LyXAction.C (init):
9484         * factory.C (createInset):
9485         * lyxfunc.C (getStatus, dispatch):
9486         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9487
9488 2003-02-21  Angus Leeming  <leeming@lyx.org>
9489
9490         * BufferView_pimpl.C (MenuInsertLyXFile):
9491         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9492         * lyxfunc.C (menuNew, open, doImport):
9493           no longer pass a LyXView & to fileDlg.
9494
9495 2003-02-21  Angus Leeming  <leeming@lyx.org>
9496
9497         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9498         * LyXAction.C: change, BIBKEY to BIBITEM.
9499         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9500         Change InsetBibKey to InsetBibitem.
9501         Change BIBKEY_CODE to BIBITEM_CODE.
9502         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9503         * factory.C: replace insetbib.h with insetbibitem.h.
9504         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9505         * paragraph.C: replace insetbib.h with insetbibitem.h.
9506         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9507         Change bibkey() to bibitem().
9508         * text.C: remove insetbib.h.
9509         * text2.C: replace insetbib.h with insetbibitem.h.
9510         change bibkey() to bibitem().
9511         * text3.C: remove insetbib.h.
9512         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9513
9514 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9515
9516         * lyxrc.C (output): enclose user email in quotes (in case there are
9517         several words)
9518
9519 2003-02-18  John Levon  <levon@movementarian.org>
9520
9521         * buffer.h: add std::
9522
9523 2003-02-17  John Levon  <levon@movementarian.org>
9524
9525         * SpellBase.h:
9526         * ispell.h:
9527         * ispell.C:
9528         * pspell.h:
9529         * pspell.C: reworking. Especially in ispell, a large
9530           number of clean ups and bug fixes.
9531
9532         * lyxfunc.C: fix revert to behave sensibly
9533
9534 2003-02-17 André Pönitz <poenitz@gmx.net>
9535
9536         * LyXAction.C:
9537         * commandtags.h: new LFUN_INSERT_BIBKEY
9538
9539         * layout.h:
9540         * lyxlayout.C:
9541         * buffer.C:
9542         * factory.C:
9543         * text.C:
9544         * text2.C:
9545         * text3.C:
9546         * paragraph.[Ch]:
9547         * paragraph_func.C: remove special bibkey handling
9548
9549 2003-02-17  John Levon  <levon@movementarian.org>
9550
9551         * text.C (Delete): fix case where delete at the end of
9552           the very first paragraph would not merge the pars
9553
9554 2003-02-17  John Levon  <levon@movementarian.org>
9555
9556         * lyxrow.C: fix lastPrintablePos()
9557
9558 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9559
9560         * bufferparams.C (writeLaTeX): add a std:here
9561
9562         * buffer.C: and remove a using directive there
9563
9564 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9565
9566         * buffer.C (makeLaTeXFile): move the code that generates the
9567           preamble...
9568
9569         * bufferparams.C (writeLaTeX): ... in this new method
9570
9571         * LaTeXFeatures.C (getEncodingSet): make const
9572           (getLanguages): make const
9573
9574         * MenuBackend.C (binding): returns the binding associated to this
9575           action
9576           (add): sets the status of each item by calling getStatus. Adds
9577           some intelligence.
9578           (read): add support for OptSubMenu
9579           (expand): remove extra separator at the end of expanded menu
9580
9581 2003-02-15  John Levon  <levon@movementarian.org>
9582
9583         * BufferView.C:
9584         * BufferView_pimpl.C:
9585         * bufferlist.h:
9586         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9587           inset code that had no actual effect. Remove unneeded status
9588           code.
9589
9590 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9591
9592         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9593           in preamble
9594
9595 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9596
9597         * text.C (drawLengthMarker): also draw an arrow marker for
9598           symbolic lengths (medskip...)
9599
9600 2003-02-14  John Levon  <levon@movementarian.org>
9601
9602         * tabular.h:
9603         * tabular.C: better method names
9604
9605 2003-02-14  John Levon  <levon@movementarian.org>
9606
9607         * BufferView_pimpl.C:
9608         * bufferlist.C:
9609         * buffer.C:
9610         * converter.C:
9611         * lyx_cb.C:
9612         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9613           it's a more accurate name. Remove some pointless uses.
9614
9615 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9616
9617         * text2.C (LyXText): change order of initilizers to shut off
9618           warnings
9619
9620 2003-02-14  John Levon  <levon@movementarian.org>
9621
9622         * buffer.C: use ParIterator for getParFromID()
9623
9624         * paragraph.h:
9625         * paragraph.C:
9626         * paragraph_pimpl.h:
9627         * paragraph_pimpl.C: remove unused getParFromID()
9628
9629 2003-02-14  John Levon  <levon@movementarian.org>
9630
9631         * buffer.C: remove some very old #if 0'd parse code
9632
9633 2003-02-13  John Levon  <levon@movementarian.org>
9634
9635         * text.h:
9636         * text.C:
9637         * text2.C: move hfillExpansion(), numberOfSeparators(),
9638           rowLast(), rowLastPrintable(), numberofHfills(),
9639           numberOfLabelHfills() ...
9640
9641         * lyxrow.h:
9642         * lyxrow.C: ... to member functions here.
9643
9644         * paragraph.h:
9645         * paragraph.C:
9646         * lyxtext.h:
9647         * text.C: remove LyXText::beginningOfMainBody(), and call
9648           p->beginningOfMainBody() directly. Move the check for
9649           LABEL_MANUAL into the latter.
9650
9651         * text.h:
9652         * text.C:
9653         * text2.C:
9654         * vspace.C:
9655         * BufferView.h:
9656         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9657
9658         * text.h:
9659         * text.C:
9660         * text2.C:
9661         * text3.C:
9662         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9663           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9664
9665 2003-02-13  John Levon  <levon@movementarian.org>
9666
9667         * CutAndPaste.C: remove debug
9668
9669 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9670
9671         * paragraph.C (asString): remove two unused variables
9672
9673         * lyxtextclass.C (readTitleType):
9674           (Read):
9675           (LyXTextClass): handle new members titletype_ and titlename_
9676
9677         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9678
9679 2003-02-09  John Levon  <levon@movementarian.org>
9680
9681         * buffer.h:
9682         * buffer.C: replace hand-coded list with a map for the dep clean
9683
9684 2003-02-08  John Levon  <levon@movementarian.org>
9685
9686         * LaTeX.C: consolidate code into showRunMessage() helper
9687
9688 2003-02-08  John Levon  <levon@movementarian.org>
9689
9690         * lyxfind.C:
9691         * lyxtext.h:
9692         * text2.C:
9693         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9694           and pass the size in explicitly
9695
9696         * BufferView_pimpl.h:
9697         * BufferView_pimpl.C:
9698         * BufferView.h:
9699         * BufferView.C: add getCurrentChange()
9700
9701         * BufferView_pimpl.h:
9702         * BufferView_pimpl.C: handle change lfuns
9703
9704         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9705           for changes. Mark pasted paragraphs as new.
9706
9707         * support/lyxtime.h:
9708         * support/lyxtime.C:
9709         * DepTable.C: abstract time_t as lyx::time_type
9710
9711         * LColor.h:
9712         * LColor.C: add colours for new text, deleted text, changebars
9713
9714         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9715           package use "usenames" option.
9716
9717         * commandtags.h:
9718         * lyxfunc.C:
9719         * LyXAction.C: add change lfuns
9720
9721         * Makefile.am:
9722         * author.h:
9723         * author.C: author handling
9724
9725         * buffer.h:
9726         * buffer.C: add a per-buffer author list, with first entry as
9727           current author. Handle new .lyx tokens for change tracking. Output
9728           author list to .lyx file. Output dvipost stuff to .tex preamble.
9729           Bump lyx format to 222.
9730
9731         * bufferlist.h:
9732         * bufferlist.C: add setCurrentAuthor() to reset current author details
9733           in all buffers.
9734
9735         * bufferparams.h:
9736         * bufferparams.C: add param for tracking
9737
9738         * bufferview_funcs.C: output change info in minibuffer
9739
9740         * Makefile.am:
9741         * changes.h:
9742         * changes.C: add change-tracking structure
9743
9744         * debug.h:
9745         * debug.C: add CHANGES debug flag
9746
9747         * lyxfind.h:
9748         * lyxfind.C: add code for finding the next change piece
9749
9750         * lyxrc.h:
9751         * lyxrc.C: add user_name and user_email
9752
9753         * lyxrow.h:
9754         * lyxrow.C: add a metric for the top of the text line
9755
9756         * lyxtext.h:
9757         * text.C: implement accept/rejectChange()
9758
9759         * lyxtext.h:
9760         * text.C: paint changebars. Paint new/deleted text in the chosen
9761         colours. Strike through deleted text.
9762
9763         * paragraph.h:
9764         * paragraph.C:
9765         * paragraph_pimpl.h:
9766         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9767           in the current change to the insert functions. Rework erase to
9768           mark text as deleted, adding an eraseIntern() and a range-based
9769           erase(). Implement per-paragraph change lookup and
9770           accept/reject.
9771
9772         * paragraph_funcs.C: Fixup paste for change tracking.
9773
9774         * tabular.C: mark added row/columns as new.
9775
9776         * text.C: fix rowLast() to never return -1. Don't allow
9777           spellchecking of deleted text. Track transpose changes. Don't
9778           allow paragraph break or merge where appropriate.
9779
9780         * text2.C: leave cursor at end of selection after a cut.
9781
9782 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9783
9784         * text.C (getLengthMarkerHeight):
9785         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9786         visible on screen too.
9787
9788 2003-02-07  John Levon  <levon@movementarian.org>
9789
9790         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9791
9792 2003-02-05  Angus Leeming  <leeming@lyx.org>
9793
9794         * lyxserver.C (read_ready): revert my patch of 11 September last year
9795         as it sends PC cpu through the roof. Presumably this means that
9796         the lyxserver will no longer run on an Alpha...
9797
9798 2003-01-30  Angus Leeming  <leeming@lyx.org>
9799
9800         * factory.C (createInset): create an InsetCommandParam of type "index"
9801         and use it to 'do the right thing'.
9802
9803         * text2.C (getStringToIndex): ensure that cursor position is always
9804         reset to the reset_cursor position.
9805
9806 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9807
9808         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9809         disabled.
9810
9811 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9812
9813         * bufferview.C:
9814         * lyxcb.C:
9815         * lyxfunc.C: Output messages with identical spelling, punctuation,
9816         and spaces
9817
9818 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9819
9820         * MenuBackend.C (expandFormats): List only viewable export formats
9821         in "View" menu
9822
9823         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9824         message
9825
9826         * lyxfunc.C (getStatus): Make sure that formats other than
9827         "fax" can also be disabled
9828
9829 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9830
9831         * text3.C (dispatch): put the lfuns that insert insets in 3
9832         groups, and call doInsertInset with appropriate arguments.
9833         (doInsertInset): new function, that creates an inset and inserts
9834         it according to some boolean parameters.
9835
9836 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9837
9838         * buffer.C (readFile): remember to pass on 'par' when calling
9839         readFile recursively.
9840
9841 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9842
9843         * MenuBackend.C (expandFormats): add "..." to import formats.
9844
9845 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9846
9847         * paragraph.C (asString): Remove XForms RTL hacks.
9848
9849 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9850         * buffer.C: fix typo
9851
9852 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9853
9854         * Makefile.am (LIBS): delete var
9855         (lyx_LDADD): add @LIBS@ here instead.
9856
9857 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9858
9859         * Clarify the meaning of "wheel mouse jump"
9860
9861 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9862
9863         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9864         tabular in a float
9865
9866 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9867
9868         * importer.C (Loaders): do not preallocate 3 elements in the
9869         vector, since one ends up with 6 elements otherwise
9870
9871 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9872
9873         * DepTable.C (write): write the file name as last element of the
9874         .dep file (because it may contain spaces)
9875         (read): read info in the right order
9876
9877 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9878
9879         * paragraph_pimpl.C (simpleTeXBlanks):
9880         (simpleTeXSpecialChars):
9881         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9882
9883         * tabular.C (latex): add some missing case statements. Reindent.
9884
9885         * MenuBackend.C (expandToc): remove unused variable.
9886
9887 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9888
9889         * LColor.C:
9890         * LaTeX.C:
9891         * LyXAction.C:
9892         * MenuBackend.C:
9893         * buffer.C:
9894         * exporter.C:
9895         * lyxfunc.C:
9896         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9897         and the like.
9898
9899 2003-01-05  John Levon  <levon@movementarian.org>
9900
9901         * BufferView.h:
9902         * BufferView.C: add getEncoding()
9903
9904         * kbsequence.h:
9905         * kbsequence.C: do not store last keypress
9906
9907         * lyxfunc.h:
9908         * lyxfunc.C: store last keypress here instead. Pass encoding
9909           to getISOEncoded()
9910
9911 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9912
9913         * lyx_main.C (init): remove annoying error message when following
9914         symbolic links (bug #780)
9915
9916 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9917
9918         * text.C (insertChar):
9919         * lyxrc.C (getDescription): remove extra spaces
9920
9921 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9922
9923         * lyxrc.C (getDescription): remove extra spaces
9924
9925 2002-12-20  John Levon  <levon@movementarian.org>
9926
9927         * text3.C: hack fix for page up/down across tall rows
9928
9929 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9930
9931         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9932         not been invoked
9933
9934 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9935
9936         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9937         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9938         thesaurus is not compiled in
9939
9940 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9941
9942         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9943
9944 2002-12-16  Angus Leeming  <leeming@lyx.org>
9945
9946         * lyxrc.[Ch]:
9947         * lyx_main.C (init): remove override_x_deadkeys stuff.
9948
9949 2002-12-12  John Levon  <levon@movementarian.org>
9950
9951         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9952           insert. Only remove shift modifier under strict
9953           circumstances.
9954
9955 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9956
9957         * MenuBackend.C (expandToc): fix crash.
9958
9959 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9960
9961         * MenuBackend.C (expandToc): gettext on float names.
9962
9963 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9964
9965         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9966         implement bool empty() [bug 490]
9967
9968 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9969
9970         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9971
9972 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9973
9974         * several files: ws changes
9975
9976 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9977
9978         * text2.C (setCounter): clean up a bit, use boost.format.
9979         (updateCounters): initialize par upon declaration.
9980
9981         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9982         if the layout exists. We do not just store the layout any more.
9983         (SwitchLayoutsBetweenClasses): use boost.format
9984
9985 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9986
9987         * converter.C (convert): if from and to files are the same, use a
9988         temporary files as intermediary
9989
9990 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9991
9992         * commandtags.h:
9993         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9994
9995 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9996
9997         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9998
9999 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10000
10001         * tabular.C (asciiPrintCell): use string(size, char) instead of
10002         explicit loop.
10003
10004         * sgml.C (openTag): fix order of arguments to string constructor
10005         (closeTag): ditto
10006
10007         * lyxfunc.C (dispatch): use boost.format
10008
10009         * lots of files: change "c" -> 'c'
10010
10011 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10012
10013         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10014
10015 2002-11-25  Angus Leeming  <leeming@lyx.org>
10016
10017         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10018
10019         * lyx_main.C (init): compile fix.
10020
10021 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10022
10023         * lyx_cb.C (start): boost.formatify
10024         do not include <iostream>
10025
10026         * lengthcommon.C: ws only
10027
10028         * boost-inst.C,BoostFormat.h: add more explict instantations
10029
10030 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10031
10032         * lots of files: handle USE_BOOST_FORMAT
10033
10034 2002-11-21  John Levon  <levon@movementarian.org>
10035
10036         * pspell.C: fix compile
10037
10038 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10039
10040         * lyxfunc.C (dispatch): use boost::format
10041         (open): ditto
10042         (doImport): ditto
10043
10044         * lyxfont.C (stateText): use boost::format
10045
10046         * lyx_main.C (LyX): use boost::format
10047         (init): ditto
10048         (queryUserLyXDir): ditto
10049         (readRcFile): ditto
10050         (parse_dbg): ditto
10051         (typedef boost::function): use the recommened syntax.
10052
10053         * importer.C (Import): use boost::format
10054
10055         * debug.C (showLevel): use boost::format
10056
10057         * converter.C (view): use boost::format
10058         (convert): ditto
10059         (move): ditto
10060         (scanLog): ditto
10061
10062         * bufferview_funcs.C (currentState): use boost::format
10063
10064         * bufferlist.C (emergencyWrite): use boost::format
10065
10066         * buffer.C (readLyXformat2): use boost::format
10067         (parseSingleLyXformat2Token): ditto
10068
10069         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10070
10071         * LaTeX.C (run): use boost::format
10072
10073         * Chktex.C (scanLogFile): use boost::format
10074
10075         * BufferView_pimpl.C (savePosition): use boost::format
10076         (restorePosition): ditto
10077         (MenuInsertLyXFile): ditto
10078
10079         * BoostFormat.h: help file for explicit instation.
10080
10081 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10082
10083         * tabular.C (latex): Support for block alignment in fixed width
10084         columns.
10085
10086 2002-11-17  John Levon  <levon@movementarian.org>
10087
10088         * BufferView_pimpl.C:
10089         * lyx_cb.C:
10090         * lyxfunc.C: split filedialog into open/save
10091
10092 2002-11-08  Juergen Vigna  <jug@sad.it>
10093
10094         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10095         by my last patch (hopefully).
10096
10097 2002-11-08  John Levon  <levon@movementarian.org>
10098
10099         * iterators.h:
10100         * iterators.C:
10101         * buffer.h:
10102         * buffer.C:
10103         * paragraph.h:
10104         * paragraph.C:
10105         * toc.h:
10106         * toc.C: ParConstIterator, and use it (from Lars)
10107
10108 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10109
10110         * lyxtextclass.[Ch]: revise and add doxygen comments
10111
10112 2002-11-07  John Levon  <levon@movementarian.org>
10113
10114         * text.C: fix progress value for spellchecker
10115
10116         * toc.C: fix navigate menu for insetwrap inside minipage
10117
10118         * paragraph_funcs.C: added FIXME for suspect code
10119
10120 2002-11-07  John Levon  <levon@movementarian.org>
10121
10122         * BufferView_pimpl.C: fix redrawing of insets
10123           on buffer switch
10124
10125 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10126
10127         * text2.C (updateCounters): fix bug 668
10128
10129 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10130
10131         * text3.C (dispatch): Do not make the buffer dirty when moving the
10132         cursor.
10133
10134 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10135
10136         * vc-backend.C: STRCONV
10137         (scanMaster): ditto
10138
10139         * text2.C (setCounter): STRCONV
10140
10141         * paragraph.C (asString): STRCONV
10142
10143         * lyxlength.C (asString): STRCONV
10144         (asLatexString): ditto
10145
10146         * lyxgluelength.C (asString): STRCONV
10147         (asLatexString): ditto
10148
10149         * lyxfunc.C (dispatch): STRCONV
10150         (open): ditto
10151
10152         * lyxfont.C (stateText): STRCONV
10153
10154         * importer.C (Import): STRCONV
10155
10156         * counters.C (labelItem): STRCONV
10157         (numberLabel): ditto
10158         (numberLabel): remove unused ostringstream o
10159
10160         * chset.C: STRCONV
10161         (loadFile): ditto
10162
10163         * bufferview_funcs.C (currentState): STRCONV
10164
10165         * buffer.C (readFile): STRCONV
10166         (asciiParagraph): ditto
10167         (makeLaTeXFile): ditto
10168
10169         * Spacing.C (writeEnvirBegin): STRCONV
10170
10171         * LaTeXFeatures.C (getLanguages): STRCONV
10172         (getPackages): ditto
10173         (getMacros): ditto
10174         (getBabelOptions): ditto
10175         (getTClassPreamble): ditto
10176         (getLyXSGMLEntities): ditto
10177         (getIncludedFiles): ditto
10178
10179         * LaTeX.C: STRCONV
10180         (run): ditto
10181         (scanAuxFile): ditto
10182         (deplog): ditto
10183
10184         * LString.h: add the STRCONV macros
10185
10186         * BufferView_pimpl.C (savePosition): STRCONV
10187         (restorePosition): ditto
10188         (MenuInsertLyXFile): ditto
10189
10190         * vc-backend.C (scanMaster): change from submatch[...] to
10191         submatch.str(...)
10192
10193         * funcrequest.C: include config.h
10194
10195         * factory.C: include config.h
10196
10197         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10198
10199         * box.C: include config.h
10200
10201         * LaTeX.C (scanAuxFile): change from submatch[...] to
10202         submatch.str(...)
10203         (deplog): ditto
10204
10205 2002-10-25  Angus Leeming  <leeming@lyx.org>
10206
10207         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10208
10209         * ispell.[Ch] (setError): new method.
10210         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10211         Use setError() insetead of goto END.
10212
10213         * lyx_cb.C (AutoSave): move out child process into new class
10214         AutoSaveBuffer.
10215
10216 2002-10-30  John Levon  <levon@movementarian.org>
10217
10218         * text3.C: make start appendix undoable
10219
10220 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10221
10222         * lyxlength.C (inPixels): Fix returned value.
10223
10224         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10225         environment.
10226
10227 2002-10-24  Angus Leeming  <leeming@lyx.org>
10228
10229         * lyxgluelength.h: no need to forward declare BufferParams
10230         or BufferView, so don't.
10231
10232 2002-10-21  John Levon  <levon@movementarian.org>
10233
10234         * BufferView.C: menuUndo ->undo, redo
10235
10236         * BufferView.h: document, remove dead, make some methods private
10237
10238         * paragraph_funcs.h:
10239         * paragraph_funcs.C:
10240         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10241
10242         * buffer.h:
10243         * buffer.C:
10244         * sgml.h:
10245         * sgml.C: move sgml open/close tag into sgml.C
10246
10247         * bufferview_funcs.h: unused prototype
10248
10249         * lyxfunc.h:
10250         * lyxfunc.C: remove unused
10251
10252         * lyxtext.h:
10253         * text.C: remove unused
10254
10255 2002-10-21  John Levon  <levon@movementarian.org>
10256
10257         * BufferView.h:
10258         * BufferView.C:
10259         * BufferView_pimpl.h:
10260         * BufferView_pimpl.C: fix mouse wheel handling based on
10261           patch from Darren Freeman
10262
10263 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10264
10265         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10266
10267 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10268
10269         * lyxlength.C (inPixels): Fix hanfling of negative length.
10270         Fix LyXLength::MU case.
10271
10272 2002-10-16  John Levon  <levon@movementarian.org>
10273
10274         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10275
10276 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10277
10278         * converter.C (view): add support for $$i (file name) and $$p
10279         (file path) for the viewer command. If $$i is not specified, then
10280         it is appended to the command (for compatibility with old syntax)
10281
10282 2002-10-14  Juergen Vigna  <jug@sad.it>
10283
10284         * undo_funcs.C (textHandleUndo): alter the order in which the
10285         new undopar is added to the LyXText, as we have to set first
10286         the right prev/next and then add it as otherwise the rebuild of
10287         LyXText is not correct. Also reset the cursor to the right paragraph,
10288         with this IMO we could remove the hack in "redoParagraphs()".
10289
10290 2002-10-09  Angus Leeming  <leeming@lyx.org>
10291
10292         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10293         to turn off an optimisation if a new inset is to be inserted.
10294
10295 2002-10-11 André Pönitz <poenitz@gmx.net>
10296
10297         * lyxtext.h: make some functions public to allow access
10298         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10299
10300 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10301
10302         * text3.C (dispatch): when changing layout, avoid an infinite loop
10303         [bug #652]
10304
10305 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10306
10307         * lyxrc.C (read): treat a viewer or converter command of "none" as
10308         if it were empty.
10309
10310         * MenuBackend.C (expandFormats): for an update, also allow the
10311         formats that are not viewable
10312
10313         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10314         script if it is newer than the lyxrc.defaults in user directory
10315
10316 2002-10-07 André Pönitz <poenitz@gmx.net>
10317
10318         * text.C: Vitaly Lipatov's small i18n fix
10319
10320 2002-09-25  Angus Leeming  <leeming@lyx.org>
10321
10322         * ispell.h: doxygen fix.
10323
10324 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10325
10326         * buffer.h (readFile): Add a new argument to the method, to allow
10327         reading of old-format templates.
10328
10329 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10330
10331         * toc.C (getTocList): Get TOC from InsetWrap.
10332
10333 2002-09-16  John Levon  <levon@movementarian.org>
10334
10335         * lyxfunc.C: check tabular for cut/copy too
10336
10337 2002-09-12  John Levon  <levon@movementarian.org>
10338
10339         * LyXAction.C: tidy
10340
10341         * factory.h:
10342         * factory.C: add header
10343
10344         * paragraph_funcs.h:
10345         * paragraph_funcs.C: cleanup
10346
10347 2002-09-11  John Levon  <levon@movementarian.org>
10348
10349         * PrinterParams.h: odd/even default to true
10350
10351 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10352
10353         * PrinterParams.h: update printer parameters for new xforms dialog
10354
10355 2002-09-11  Angus Leeming  <leeming@lyx.org>
10356
10357         * lyxserver.C (read_ready): re-write to make it more transparent
10358         and to make it work in coherent fashion under Tru64 Unix.
10359
10360 2002-09-11  André Pönitz <poenitz@gmx.net>
10361
10362         * commandtags.h:
10363         * LyXAction.C:
10364         * text3.C: implement LFUN_WORDSEL
10365
10366 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10367
10368         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10369         make floatlist_ a boost::shared_ptr<FloatList>
10370
10371         * lyxtextclass.C: include FloatList.h
10372         (LyXTextClass): initialize floatlist_
10373         (TextClassTags): add TC_NOFLOAT
10374         (Read): match "nofloat" to TC_NOFLOAT and use it.
10375         (readFloat): modify call to floatlist_
10376         (floats): ditto
10377         (floats): ditto
10378
10379         * FloatList.[Ch] (FloatList): remove commented out float
10380         initialization.
10381         (erase): new function
10382
10383 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10384
10385         * MenuBackend.C (expandToc): fix crash when there is no document
10386         open
10387
10388 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10389
10390         * many files: Add insetwrap.
10391
10392 2002-09-09  John Levon  <levon@movementarian.org>
10393
10394         * text2.C: remove confusing and awkward depth wraparound
10395
10396 2002-09-09  John Levon  <levon@movementarian.org>
10397
10398         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10399
10400         * buffer.h:
10401         * buffer.C: remove getIncludeonlyList()
10402
10403         * paragraph.C:
10404         * lyxfunc.C: remove headers
10405
10406 2002-09-09  Juergen Vigna  <jug@sad.it>
10407
10408         * text.C (getColumnNearX): fix form Michael this is most
10409         probably a cut&paste bug.
10410
10411 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10412
10413         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10414
10415         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10416         references, ws changes.
10417
10418         * text2.C (init): update counters after init
10419         (insertParagraph): no need to set counter on idividual paragraphs.
10420         (setCounter): access the counters object in the textclass object
10421         on in the buffer object.
10422         (updateCounters): ditto
10423
10424         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10425         shared_ptr<Counters> to avoid loading counters.h in all
10426         compilation units.
10427         (LyXTextClass): initialize ctrs_
10428         (TextClassTags): add TC_COUNTER, and ...
10429         (Read): use it here.
10430         (CounterTags): new tags
10431         (readCounter): new function
10432         (counters): new funtion
10433         (defaultLayoutName): return a const reference
10434
10435         * counters.C (Counters): remove contructor
10436         (newCounter): remove a couple of unneeded statements.
10437         (newCounter): simplify a bit.
10438         (numberLabel): some small formatting changes.
10439
10440         * buffer.[Ch]: remove all traces of counters, move the Counters
10441         object to the LyXTextClass.
10442
10443 2002-09-06  Alain Castera  <castera@in2p3.fr>
10444
10445         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10446         package to set the horizontal alignment on fixed width columns.
10447
10448         * lyx_sty.C:
10449         * lyx_sty.h: added tabularnewline macro def.
10450
10451         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10452
10453 2002-09-06  John Levon  <levon@movementarian.org>
10454
10455         * LyXAction.C: tooltips for sub/superscript
10456
10457         * MenuBackend.C: a bit more verbose
10458
10459         * lyxfunc.C: tiny clean
10460
10461         * undo_funcs.C: document undo_frozen
10462
10463 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10464
10465         * counters.C (Counters): add missing algorithm counter.
10466
10467         * text2.C (setCounter): lookup the counter with layouts latexname
10468         instead of by section number.
10469         (setCounter): use a hackish way to lookup the correct enum
10470         counter.
10471         a float name->type change
10472         reset enum couners with counter name directly instead of depth value.
10473
10474         * counters.C (Counters): remove the push_backs, change to use the
10475         float type not the float name.
10476         (labelItem): remove unused string, float name->type change
10477
10478         * counters.h: don't include vector, loose the enums and sects vectors
10479
10480 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10481
10482         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10483         (Read): add float->TC_FLOAT to textclassTags
10484         (Read): and handle it in the switch
10485         (readFloat): new function
10486
10487         * FloatList.C (FloatList): comment out the hardcoded float
10488         definitions.
10489
10490         * lyxlayout.h: ws change.
10491
10492 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10493
10494         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10495
10496 2002-09-03  Angus Leeming  <leeming@lyx.org>
10497
10498         * BufferView_pimpl.h: qualified name is not allowed in member
10499         declaration: WorkArea & Pimpl::workarea() const;
10500
10501         * factory.C: added using std::endl directive.
10502
10503         * text3.C: added using std::find and std::vector directives.
10504
10505 2002-08-29  André Pönitz <poenitz@gmx.net>
10506
10507         * lyxtext.h:
10508         * text2.C: remove unused member number_of_rows
10509
10510         * Makefile.am:
10511         * BufferView2.C: remove file, move contents to...
10512         * BufferView.C: ... here
10513
10514         * BufferView_pimpl.C:
10515         * factory.C: move more inset creation to factory
10516
10517         * vspace.C: avoid direct usage of LyXText, ws changes
10518
10519         * BufferView.[Ch]:
10520                 don't provide direct access to WorkArea, use two simple
10521                 acessors haveSelction() and workHeight() instead
10522
10523
10524 2002-08-29  John Levon  <levon@movementarian.org>
10525
10526         * BufferView_pimpl.C (dispatch): do not continue when
10527           no buffer
10528
10529 2002-08-28  André Pönitz <poenitz@gmx.net>
10530
10531         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10532
10533         * BufferView.h:
10534         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10535
10536 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10537
10538         * buffer.C: increment LYX_FORMAT to 221
10539
10540         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10541         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10542
10543         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10544
10545         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10546
10547 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10548
10549         * factory.C (createInset): use LyXTextClass::floats
10550
10551         * MenuBackend.C (expandFloatListInsert):
10552         (expandFloatInsert):
10553         (expandToc):
10554
10555         * text2.C (setCounter):
10556
10557         * LaTeXFeatures.C (useFloat):
10558         (getFloatDefinitions):
10559
10560         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10561
10562         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10563         floatlist_, with accessor floats().
10564
10565         * FloatList.h: remove global FloatList
10566
10567 2002-08-26  André Pönitz <poenitz@gmx.net>
10568
10569         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10570
10571         * BufferView.h:
10572         * BufferView2.C:
10573         * BufferView_pimpl.C:
10574         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10575
10576 2002-08-25  John Levon  <levon@movementarian.org>
10577
10578         * LyXAction.C: fix margin note description
10579
10580 2002-08-24  John Levon  <levon@movementarian.org>
10581
10582         * buffer.C:
10583         * bufferlist.C:
10584         * bufferview_funcs.C:
10585         * lyxfont.C:
10586         * undo_funcs.C: cleanups
10587
10588         * lyxfunc.C: disable CUT/COPY when no selection
10589
10590 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10591
10592         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10593         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10594
10595         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10596         Add backward compatibility to "mono", "gray" and "no".
10597
10598 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10599
10600         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10601         (and file_format >= 200).
10602
10603 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10604
10605         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10606
10607 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10608
10609         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10610
10611 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10612
10613         * BufferView_pimpl.C:
10614         * LyXAction.C:
10615         * buffer.C:
10616         * commandtags.h:
10617         * lyxfunc.C:
10618         * paragraph.[Ch]:
10619         * text2.C:
10620         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10621         inset and code to make it  work with the paragraph code. The inset
10622         can be anywhere in the paragraph, but will only do the expected
10623         thing in LaTeX if the layout file contains the parameter line
10624                         OptionalArgs    1
10625         (or more generally, a nonzero value) for that layout.
10626
10627 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10628
10629         * paragraph.h: remove the declaration of undefined counters class
10630         function.
10631
10632 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10633
10634         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10635         Dr. Richard Hawkins.
10636
10637 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10638
10639         * paragraph_funcs.h: remove some unneeded includes
10640
10641         * text.C (backspace): pasteParagraph now in global scipe
10642
10643         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10644         (pasteSelection): ditto
10645
10646         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10647         * paragraph_funcs.C (pasteParagraph): ... here
10648
10649 2002-08-20  André Pönitz <poenitz@gmx.net>
10650
10651         * commandtags.h: new LFUNs for swapping/copying table row/colums
10652
10653         * LyXAction.C:
10654         * lyxfunc.C: support for new lfuns
10655
10656 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10657
10658         * tabular.C:
10659         * buffer.[Ch]: remove NO_COMPABILITY stuff
10660
10661 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10662
10663         * boost.C (throw_exception): new file, with helper function for
10664         boost compiled without exceptions.
10665
10666         * paragraph.h:
10667         * lyxlength.C:
10668         * buffer.C:
10669         * ParameterStruct.h:
10670         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10671
10672         * bufferlist.C (emergencyWriteAll): use boost bind
10673
10674         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10675
10676         * text.C: include paragraph_funcs.h
10677         (breakParagraph): breakParagraph is now in global scope
10678
10679         * paragraph_funcs.[Ch]: new files
10680
10681         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10682         global scope
10683
10684         * buffer.C: include paragraph_funcs.h
10685         (insertStringAsLines): breakParagraph is now in global scope
10686
10687         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10688         paragraph_funcs.C
10689
10690         * CutAndPaste.C: include paragraph_funcs.h
10691         (cutSelection): breakParagraphConservative is now in global scope
10692         (pasteSelection): ditto
10693
10694         * buffer.h: declare oprator== and operator!= for
10695         Buffer::inset_iterator
10696
10697         * bufferlist.C (emergencyWrite): don't use fmt(...)
10698
10699         * text3.C: add using std::endl
10700
10701         * BufferView.C (moveCursorUpdate): remove default arg
10702
10703 2002-08-20  André Pönitz <poenitz@gmx.net>
10704
10705         * buffer.[Ch]: move inline functions to .C
10706
10707         * BufferView2.C:
10708         * BufferView_pimpl.C:
10709         * text.C:
10710         * buffer.[Ch]: use improved inset_iterator
10711
10712         * buffer.C:
10713         * paragraph.[Ch]: write one paragraph at a time
10714
10715 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10716
10717         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10718         style if style is not specified.
10719
10720 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10721
10722         * text2.C (setCounter): when searching for right label for a
10723         caption, make sure to recurse to parent insets (so that a caption
10724         in a minipage in a figure float works) (bug #568)
10725
10726 2002-08-20  André Pönitz <poenitz@gmx.net>
10727
10728         * text3.C: new file for LyXText::dispatch() and helpers
10729
10730         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10731
10732         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10733
10734 2002-08-19  André Pönitz <poenitz@gmx.net>
10735
10736         * lyxtext.h:
10737         * text.C: new LyXText::dispatch()
10738
10739         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10740
10741 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10742
10743         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10744
10745         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10746         Hebrew text.
10747
10748 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10749
10750         * Makefile.am: use $(variables) instead of @substitutions@
10751
10752 2002-08-15  André Pönitz <poenitz@gmx.net>
10753
10754         * lyxfunc.C:
10755         * BufferView_pimpl.C: streamlining mathed <-> outer world
10756         interaction
10757
10758         * commandtags.h:
10759         * LyXAction.C: remove unused LFUN_MATH
10760
10761 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10762
10763         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10764
10765 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10766
10767         * paragraph.C (Paragraph): reformat a bit
10768         (cutIntoMinibuffer): use builtin InsetList function instad of
10769         doing it manually.
10770         (getInset): ditto
10771
10772         * buffer.C: include boost/bind.hpp, add using std::for_each
10773         (writeFileAscii): use ParagraphList iterators
10774         (validate): use for_each for validate traversal of paragraphs
10775         (getBibkeyList): use ParagraphList iterators
10776         (resizeInsets): use for_each to resizeInsetsLyXText for all
10777         paragraphs.
10778         (getParFromID): use ParagraphList iterators
10779
10780         * BufferView2.C (lockInset): use paragraph list and iterators
10781
10782 2002-08-14  John Levon  <levon@movementarian.org>
10783
10784         * lyxserver.C: remove spurious xforms include
10785
10786 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10787
10788         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10789
10790 2002-08-13  André Pönitz <poenitz@gmx.net>
10791
10792         * LyXAction.[Ch]:
10793         * lyxfunc.C: further cleaning
10794
10795 2002-08-13  André Pönitz <poenitz@gmx.net>
10796
10797         * funcrequest.h: new constructor
10798
10799         * funcrequest.C: move stuff here from .h
10800
10801         * Makefile.am:
10802         * BufferView_pimpl.C:
10803         * LyXAction.C:
10804         * toc.C:
10805         * lyxfunc.C: subsequent changes
10806
10807         * lyxfunc.h: new view() member function
10808
10809         * lyxfunc.C: subsequent changes
10810
10811 2002-08-13  Angus Leeming  <leeming@lyx.org>
10812
10813         * BufferView2.C:
10814         * BufferView_pimpl.C:
10815         * buffer.C:
10816         * converter.C:
10817         * importer.C:
10818         * lyxfunc.C:
10819         * lyxvc.C:
10820         * toc.C:
10821         * vc-backend.C:
10822         changes due to the changed LyXView interface that now returns references
10823         to member variables not pointers.
10824
10825 2002-08-13  Angus Leeming  <leeming@lyx.org>
10826
10827         * WordLangTuple (word, lang_code): return references to strings,
10828         not strings.
10829
10830         * BufferView.h:
10831         * SpellBase.h:
10832         * lyxtext.h: forward-declare WordLangTuple.
10833
10834         * BufferView2.C:
10835         * ispell.C:
10836         * pspell.C:
10837         * text.C: #include "WordLangTuple.h".
10838
10839         * lyxtext.h:
10840         * text.C: (selectNextWordToSpellcheck): constify return type.
10841
10842 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10843
10844         * buffer.C:
10845         * buffer.h:
10846         * lyxtext.h:
10847         * paragraph.C:
10848         * paragraph_pimpl.h:
10849         * text.C:
10850         * text2.C:
10851         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10852         suggested by Angus.
10853         Made updateCounter always count from start of buffer, and removed
10854         second argument (par).
10855         Reverted floats number display to '#'. Perhaps I'll try again when the
10856         code base is sanitized a bit.
10857
10858 2002-08-12  Angus Leeming  <leeming@lyx.org>
10859
10860         * buffer.[Ch] (getLabelList): constify.
10861
10862 2002-08-07  André Pönitz <poenitz@gmx.net>
10863
10864         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10865
10866         * funcrequest.h: extension to keep mouse (x,y) position
10867
10868 2002-08-12  Juergen Vigna  <jug@sad.it>
10869
10870         * BufferView2.C (insertErrors): forbid undo when inserting error
10871         insets.
10872
10873         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10874
10875 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10876
10877         * ParagraphList.[Ch]: new files
10878
10879         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10880
10881         * BufferView2.C (lockInset): ParagraphList changes
10882         * toc.C: ditto
10883         * text2.C: ditto
10884         * bufferlist.C: ditto
10885         * buffer.h: ditto
10886         * buffer.C: ditto
10887
10888 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10889
10890         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10891         unused class variable counter_,
10892
10893         * paragraph.[Ch] (getFirstCounter): delete unused function
10894
10895         * counters.C: include LAssert.h
10896         (reset): add a new function with no arg, change other version to
10897         not have def. arg and to not allow empty arg.
10898
10899         * text2.C (setCounter): remove empty arg from call to Counters::reset
10900
10901 2002-08-11  John Levon  <levon@movementarian.org>
10902
10903         * Makefile.am: add WordLangTuple.h
10904
10905 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10906
10907         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10908         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10909
10910         * insets/insettext.C: InsetList changes
10911
10912         * graphics/GraphicsSupport.C (operator()): InsetList changes
10913
10914         * toc.C (getTocList): InsetList changes
10915
10916         * paragraph_pimpl.[Ch]: InsetList changes
10917
10918         * paragraph.[Ch]: InsetList changes
10919
10920         * buffer.C (inset_iterator): InsetList changes
10921         (setParagraph): ditto
10922         * buffer.h (inset_iterator): ditto
10923         * iterators.C (operator++): ditto
10924         * iterators.h: ditto
10925
10926         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10927
10928         * InsetList.[Ch]: new files, most InsetList handling moved out of
10929         paragraph.C.
10930
10931         * BufferView2.C (removeAutoInsets): InsetList changes
10932         (lockInset): ditto
10933         (ChangeInsets): ditto
10934
10935 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10936
10937         * paragraph_pimpl.h (empty): new function
10938
10939         * paragraph.[Ch] (empty): new function
10940
10941         * other files: use the new Paragraph::empty function
10942
10943 2002-08-09  John Levon  <levon@movementarian.org>
10944
10945         * lyxtext.h: remove unused refresh_height
10946
10947 2002-08-09  John Levon  <levon@movementarian.org>
10948
10949         * Makefile.am:
10950         * sgml.h:
10951         * sgml.C:
10952         * buffer.C:
10953         * paragraph.h:
10954         * paragraph.C: move sgml char escaping out of paragraph
10955
10956         * paragraph.h:
10957         * paragraph.C: remove id setter
10958
10959         * buffer.C:
10960         * paragraph.C:
10961         * paragraph_pimpl.C: remove dead tex_code_break_column
10962
10963         * bufferview_funcs.C: small cleanup
10964
10965         * lyxfunc.C: remove dead proto
10966
10967         * lyxtext.h: make some stuff private. Remove some dead stuff.
10968
10969         * lyxgluelength.C: make as[LyX]String() readable
10970
10971 2002-08-08  John Levon  <levon@movementarian.org>
10972
10973         * LyXAction.h:
10974         * LyXAction.C:
10975         * MenuBackend.C:
10976         * ToolbarDefaults.C:
10977         * lyxfunc.C:
10978         * lyxrc.C:
10979         * toc.C: lyxaction cleanup
10980
10981 2002-08-08  John Levon  <levon@movementarian.org>
10982
10983         * BufferView2.C: small cleanup
10984
10985         * lyxfind.h:
10986         * lyxfind.C: move unnecessary header into the .C
10987
10988 2002-08-08  John Levon  <levon@movementarian.org>
10989
10990         * funcrequest.h: just tedious nonsense
10991
10992         * lyx_main.h:
10993         * lyx_main.C: cleanups
10994
10995         * buffer.C:
10996         * vspace.C: remove dead header lyx_main.h
10997
10998 2002-08-07  Angus Leeming  <leeming@lyx.org>
10999
11000         * Paragraph.[Ch]:
11001         * paragraph_pimpl.h:
11002         Forward declare class Counters in paragraph.h by moving the ctrs member
11003         variable into Paragraph::Pimpl.
11004         (counters): new method, returning a reference to pimpl_->ctrs.
11005
11006         * text2.C: ensuing changes.
11007
11008 2002-08-07  John Levon  <levon@movementarian.org>
11009
11010         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11011
11012         * BufferView_pimpl.C: announce X selection on double/triple
11013           click
11014
11015         * lyx_main.C: use correct bool in batch dispatch
11016
11017         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11018
11019 2002-08-07  André Pönitz <poenitz@gmx.net>
11020
11021         * funcrequest.h: new class to wrap a kb_action and its argument
11022
11023         * BufferView.[Ch]:
11024         * BufferView_pimpl[Ch]:
11025         * LaTeX.C:
11026         * LyXAction.[Ch]:
11027         * lyxfunc.[Ch]:
11028         * lyxrc.C: subsequent changes
11029
11030
11031 2002-08-07  John Levon  <levon@movementarian.org>
11032
11033         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11034           document options change.
11035
11036 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11037
11038         * counters.[Ch]
11039         * text2.C
11040         * paragraph.[Ch]
11041         * makefile.am: move counters functionality over from
11042         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11043
11044 2002-08-06  John Levon  <levon@movementarian.org>
11045
11046         * WordLangTuple.h: new file for word + language code tuple
11047
11048         * SpellBase.h:
11049         * pspell.h:
11050         * pspell.C:
11051         * ispell.h:
11052         * ispell.C:
11053         * lyxtext.h:
11054         * text.C:
11055         * text2.C:
11056         * BufferView.h:
11057         * BufferView2.C: use WordLangTuple
11058
11059         * layout.h:
11060         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11061
11062 2002-08-06  John Levon  <levon@movementarian.org>
11063
11064         * lyx_main.C: fix cmdline batch handling
11065
11066 2002-08-06  André Pönitz <poenitz@gmx.net>
11067
11068         * lyxrc.C: set default for show_banner to true
11069
11070 2002-08-06  John Levon  <levon@movementarian.org>
11071
11072         * pspell.C: fix a crash, and allow new aspell to work
11073
11074 2002-08-06  John Levon  <levon@movementarian.org>
11075
11076         * lyxfunc.C:
11077         * kbmap.C: small cleanup
11078
11079         * vspace.h:
11080         * vspace.C: add const
11081
11082 2002-08-05  John Levon  <levon@movementarian.org>
11083
11084         * LyXAction.C: back to tabular-insert
11085
11086 2002-08-04  John Levon  <levon@movementarian.org>
11087
11088         * BufferView.h:
11089         * BufferView.C: cosmetic change
11090
11091         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11092
11093         * bufferlist.C:
11094         * buffer.h:
11095         * buffer.C:
11096         * lyxcb.h:
11097         * lyxcb.C:
11098         * lyxserver.C:
11099         * lyxvc.C:
11100         * vc-backend.C:
11101         * BufferView2.C: purge all "Lyx" not "LyX" strings
11102
11103         * lyxcursor.h:
11104         * lyxcursor.C: attempt to add some documentation
11105
11106         * lyxfunc.C:
11107         * commandtags.h:
11108         * LyXAction.C:
11109         * ToolbarDefaults.C:
11110         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11111           merge with LFUN_TABULAR_INSERT
11112
11113         * Makefile.am:
11114         * SpellBase.h:
11115         * ispell.h:
11116         * ispell.C:
11117         * pspell.h:
11118         * pspell.C: split up i/pspell implementations into separate
11119           files, many cleanups
11120
11121         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11122
11123         * text2.C: some cleanup
11124
11125         * lyxfunc.C: don't check for isp_command == "none" any more, it
11126           didn't make any sense
11127
11128 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11129
11130         * counters.[Ch]
11131         * text2.C
11132         * paragraph.[Ch]
11133         * makefile.am: move counters functionality over
11134         from text2.C/paragraph.[Ch] to counters.[Ch], and
11135         make proper C++.
11136 2002-08-02  John Levon  <levon@movementarian.org>
11137
11138         * buffer.C: s/lyxconvert/lyx2lyx/
11139
11140 2002-08-02  Angus Leeming  <leeming@lyx.org>
11141
11142         * lyxlex.C: revert John's change as it breaks reading of the user
11143         preamble.
11144
11145 2002-08-02  Angus Leeming  <leeming@lyx.org>
11146
11147         * importer.C (Import):
11148         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11149         changes due to LyXView::view() now returning a boost::shared_ptr.
11150
11151 2002-08-02  John Levon  <levon@movementarian.org>
11152
11153         * lyxlex.C: small cleanup
11154
11155 2002-08-02  John Levon  <levon@movementarian.org>
11156
11157         * text2.C (status): small cleanup, no logic change
11158
11159 2002-08-01  John Levon  <levon@movementarian.org>
11160
11161         * buffer.h:
11162         * buffer.C (writeFile): don't output alerts, caller
11163           handles this
11164
11165         * bufferlist.C:
11166         * lyx_cb.C: from above
11167
11168         * lyxfunc.C: allow to open non-existent files
11169
11170 2002-07-31  John Levon  <levon@movementarian.org>
11171
11172         * lyxserver.C: don't let incidental errors get
11173           in the way (errno)
11174
11175 2002-07-30  John Levon  <levon@movementarian.org>
11176
11177         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11178
11179 2002-07-30  John Levon  <levon@movementarian.org>
11180
11181         * lyxserver.h:
11182         * lyxserver.C: remove I/O callback too
11183
11184 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11185
11186         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11187         log.
11188
11189 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11190
11191         * many files: strip,frontStrip -> trim,ltrim,rtrim
11192
11193 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11194
11195         * PrinterParams.h: remove extern containsOnly, and include
11196         support/lstrings.h instead.
11197
11198         * LaTeX.C (scanAuxFile): modify because of strip changes
11199         (deplog): ditto
11200         * buffer.C (makeLaTeXFile): ditto
11201         * bufferparams.C (writeFile): ditt
11202         * lyxfont.C (stateText): ditto
11203         * lyxserver.C (read_ready): ditto
11204         * vc-backend.C (scanMaster): ditto
11205
11206         * BufferView_pimpl.h: ws changes
11207
11208         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11209
11210 2002-07-26  André Pönitz <poenitz@gmx.net>
11211
11212         * kb_sequence.C: remove unnedred usings
11213
11214 2002-07-26  Juergen Vigna  <jug@sad.it>
11215
11216         * lyxfind.C (LyXReplace): we have to check better if the returned
11217         text is not of theLockingInset()->getLockingInset().
11218
11219 2002-07-25  Juergen Vigna  <jug@sad.it>
11220
11221         * lyxfind.C (LyXReplace): don't replace if we don't get the
11222         right LyXText.
11223
11224         * undo_funcs.C (createUndo): remove debugging code.
11225
11226 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11227
11228         * buffer.C (parseSingleLyXformat2Token): Use default placement
11229         when reading old floats.
11230
11231         * FloatList.C (FloatList): Change the default placement of figure
11232         and tables to "tbp".
11233
11234 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11235
11236         * MenuBackend.C: using std::max
11237
11238 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11239
11240         * MenuBackend.C (expandToc):
11241         (expandToc2): code moved from xforms menu frontend. It is now
11242         generic and TOCs are transparent to menu frontends.
11243
11244 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11245
11246         * toc.C (getTocList): protect against buf=0
11247
11248         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11249         Menu as first parameter. Now, this calls itself recursively to
11250         expand a whole tree (this will be useful for TOC handling)
11251         (expandFloatInsert): remove 'wide' version of floats
11252
11253         * MenuBackend.h (submenuname): returns the name of the submenu.
11254         (submenu): returns the submenu itself, provided it has been
11255         created by MenuBackend::expand
11256
11257 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11258
11259         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11260         insets which have noFontChange == true. (bug #172)
11261
11262 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11263
11264         * BufferView_pimpl.C: add connection objects and use them...
11265         (Pimpl): here.
11266
11267 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11268
11269         * MenuBackend.C (expandLastfiles):
11270         (expandDocuments):
11271         (expandFormats):
11272         (expandFloatListInsert):
11273         (expandFloatInsert):
11274         (expand): split expand in parts
11275
11276 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11277
11278         * lyx_gui.C: use lyx_gui::exit()
11279
11280 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11281
11282         * LyXAction.C: show the failing pseudo action
11283
11284 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11285
11286         * buffer.C (readFile): Run the lyxconvert script in order to read
11287         old files.
11288
11289 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11290
11291         * LyXAction.C:
11292         * commandtags.h:
11293         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11294
11295 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11296
11297         * LyXAction.C:
11298         * commandtags.h:
11299         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11300
11301 2002-07-22  Herbert Voss  <voss@lyx.org>
11302
11303         * lengthcommon.C:
11304         * lyxlength.[Ch]: add support for the vertical lengths
11305
11306 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11307
11308         * toc.[Ch]: std:: fixes
11309
11310 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11311
11312         * lyxrc.C: do not include lyx_main.h
11313
11314         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11315         for layouts
11316
11317         * lyxrc.C:
11318         * encoding.C:
11319         * bufferlist.C:
11320         * BufferView2.C: include "lyxlex.h"
11321
11322         * tabular.h:
11323         * bufferparams.h: do not #include "lyxlex.h"
11324
11325         * lyxtextclasslist.C (Add): remove method
11326         (classlist): renamed to classlist_
11327
11328         * paragraph_pimpl.C:
11329         * paragraph.C:
11330         * text2.C:
11331         * CutAndPaste.C:
11332         * bufferview_funcs.C:
11333         * bufferlist.C:
11334         * text.C:
11335         * LaTeXFeatures.C:
11336         * buffer.C:
11337         * toc.C (getTocList): use BufferParams::getLyXTextClass
11338
11339         * toc.C (getTocList): use InsetFloat::addToToc
11340
11341         * toc.[Ch]: new files, containing helper functions to handle table
11342         of contents
11343
11344         * lyxfunc.C (dispatch): no need to remove spaces around command
11345         given as a string
11346         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11347         first command of the sequence; it is not very clever, but I do not
11348         have a better idea, actually
11349
11350         * LyXAction.C (LookupFunc): make sure to remove space at the
11351         beginning and end of the command
11352
11353 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11354
11355         * MenuBackend.C (getMenubar): new method: return the menubar of
11356         this menu set
11357         (read): treat differently reading of menu and menubar (in
11358         particular, the menubar has no name now)
11359         (Menu::menubar): remove
11360
11361         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11362         saving is finished
11363
11364 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11365
11366         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11367         a bibitem inset in a RTL paragraph.
11368
11369 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11370
11371         * paragraph_pimpl.C: constify
11372
11373         * BufferView_pimpl.C:
11374         * LaTeX.C:
11375         * lyxfunc.C: fix dispatch in a nicer way
11376
11377 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11378
11379         * lyxfunc.C (dispatch):
11380         * BufferView_pimpl.C:
11381         * BufferView_pimpl.h:
11382         * BufferView.C:
11383         * BufferView.h: rename Dispatch() to dispatch()
11384
11385         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11386
11387         * lyxlayout.C (Read): honor DependsOn tag
11388
11389         * lyxlayout.[Ch] (depends_on): new method
11390
11391         * version.C.in: update lyx_docversion
11392
11393         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11394
11395         * paragraph.C (validate): remove from here...
11396         * paragraph_pimpl.C (validate): ... and move here
11397         (isTextAt): make it const
11398
11399         * buffer.C (getLists): ws cleanup
11400
11401 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11402
11403         * language.C (read): Use iso8859-1 encoding in latex_lang
11404         (this prevents LyX from crashing when using iso10646-1 encoding).
11405
11406 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11407
11408         * text2.C (toggleInset): if cursor is inside an inset, close the
11409         inset and leave cursor _after_ it
11410
11411 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11412
11413         * lyxfunc.C: move minibuffer completion handling out of here
11414
11415 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11416
11417         * BufferView_pimpl.C:
11418         * LaTeX.C: fix dispatch calls
11419
11420 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11421
11422         * text.C (drawChars): Fix Arabic text rendering.
11423
11424 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11425
11426         * LyXAction.C:
11427         * commandtags.h:
11428         * lyxfunc.C: remove message-push/pop
11429
11430         * lyxserver.C:
11431         * lyxfunc.h:
11432         * lyxfunc.C: rationalise some code by removing verboseDispatch
11433           in favour of a bool argument to dispatch()
11434
11435 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11436
11437         * lyx_main.C (init): make sure to read symlinks as absolute paths
11438
11439 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11440
11441         * lyxfunc.h:
11442         * lyxfunc.C: no need for commandshortcut to be a member
11443
11444 2002-07-15  André Pönitz <poenitz@gmx.net>
11445
11446         * converter.C: add support for $$s (scripts from lib/scripts dir)
11447         * lyx_main.C: white space
11448
11449 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11450
11451         * bufferlist.C:
11452         * lyxrc.h:
11453         * lyxrc.C: remove second exit confirmation
11454
11455 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11456
11457         * BufferView.h:
11458         * BufferView.C:
11459         * BufferView2.C:
11460         * BufferView_pimpl.h:
11461         * BufferView_pimpl.C:
11462         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11463
11464 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11465
11466         * MenuBackend.C (expand): add numeric shortcuts to document menu
11467
11468         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11469
11470 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11471
11472         * lyxfont.C (setLyXFamily):
11473         (setLyXSeries):
11474         (setLyXShape):
11475         (setLyXSize):
11476         (setLyXMisc):
11477         (lyxRead):
11478         * debug.C (value):
11479         * buffer.C (asciiParagraph): use ascii_lowercase
11480
11481 2002-07-15  Mike Fabian  <mfabian@suse.de>
11482
11483         * lyxlex_pimpl.C (search_kw):
11484         * lyxlex.C (getLongString):
11485         * converter.h (operator<):
11486         * converter.C (operator<):
11487         * buffer.C (parseSingleLyXformat2Token):
11488         (asciiParagraph):
11489         * ToolbarDefaults.C (read):
11490         * MenuBackend.C (checkShortcuts):
11491         (read):
11492         * LColor.C (getFromGUIName):
11493         (getFromLyXName): use the compare_ascii_no_case instead of
11494         compare_no_case, because in turkish, 'i' is not the lowercase
11495         version of 'I', and thus turkish locale breaks parsing of tags.
11496
11497 2002-07-16  Angus Leeming  <leeming@lyx.org>
11498
11499         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11500         now takes a Buffer const & argument.
11501
11502 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11503
11504         * BufferView.C (resize): check there's a buffer to resize
11505
11506 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11507
11508         * lyxfunc.C: remove dead code
11509
11510         * lyxserver.h:
11511         * lyxserver.C: use lyx_guii::set_read_callback
11512
11513 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11514
11515         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11516         an inset in a RTL paragraph.
11517
11518 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11519
11520         * lyxfunc.C: repaint after a font size update
11521
11522 2002-07-15  André Pönitz <poenitz@gmx.net>
11523
11524         * lyxlength.C: inBP should be able to return negative values
11525
11526 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11527
11528         * lyxfunc.C: use lyx_gui::update_fonts()
11529
11530 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11531
11532         * lyxfunc.C: use lyx_gui::update_color()
11533
11534 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11535
11536         * bufferlist.C:
11537         * lyxfunc.h:
11538         * lyxfunc.C:
11539         * lyxrc.h:
11540         * lyxrc.C: remove file->new asks for name option, and let
11541           buffer-new take an argument
11542
11543 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11544
11545         * BufferView_pimpl.C: remove unneeded extra repaint()
11546
11547 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11548
11549         * LyXAction.C: allow command-sequence with NoBuffer
11550
11551         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11552
11553 2002-07-10  Angus Leeming  <leeming@lyx.org>
11554
11555         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11556
11557 2002-07-09  Angus Leeming  <leeming@lyx.org>
11558
11559         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11560
11561 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11562
11563         * lengthcommon.h: whitespace
11564
11565         * lyxfunc.C: update scrollbar after goto paragraph
11566
11567         * lyxtext.h: factor out page break drawing, and fix it so
11568           page break/added space paints as selected nicely
11569
11570 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11571
11572         * BufferView_pimpl.C: add FIXMEs, clean up a little
11573
11574 2002-07-09  André Pönitz <poenitz@gmx.net>
11575
11576         * lyxfont.[Ch]: support for wasy symbols
11577
11578 2002-07-08  André Pönitz <poenitz@gmx.net>
11579
11580         * BufferView_pimpl.C: apply John's patch for #93.
11581
11582 2002-07-05  Angus Leeming  <leeming@lyx.org>
11583
11584         * BufferView_pimpl.C (buffer): generate previews if desired.
11585
11586         * LColor.h: add "preview" to the color enum.
11587
11588         * LColor.C (LColor): add a corresponding entry to the items array.
11589
11590         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11591         with this buffer.
11592
11593 2002-07-05  Angus Leeming  <leeming@lyx.org>
11594
11595         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11596         The body of the code is now in the method that is passed an ostream &
11597         rather than a file name.
11598         Pass an additional only_preamble parameter, useful for the forthcoming
11599         preview stuff.
11600
11601 2002-07-03  André Pönitz <poenitz@gmx.net>
11602
11603         * lyxfunc.C: simplify getStatus() a bit for math stuff
11604
11605 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11606
11607         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11608
11609 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11610
11611         * text.C (changeRegionCase): do not change case of all the
11612         document when region ends at paragraph end (bug #461)
11613
11614 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11615
11616         * paragraph.C (startTeXParParams):
11617         (endTeXParParams): add \protect when necessary
11618
11619 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11620
11621         * BufferView_pimpl.C (workAreaExpose): remove warning
11622
11623 2002-06-27  Angus Leeming  <leeming@lyx.org>
11624
11625         * Makefile.am: add lyxlayout_ptr_fwd.h.
11626
11627 2002-06-26  André Pönitz <poenitz@gmx.net>
11628
11629         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11630
11631 2002-06-25  Angus Leeming  <leeming@lyx.org>
11632
11633         * lyxfunc.C (dispatch): Comment out the call to
11634         grfx::GCache::changeDisplay. The method no longer exists now that the
11635         pixmap generation part of the graphics loader has been moved into
11636         InsetGraphics.
11637
11638 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11639
11640         * text2.C: layout as layout
11641
11642         * text.C: layout as layout
11643
11644         * tabular.C (OldFormatRead): layout as layout
11645
11646         * paragraph_pimpl.C (TeXDeeper): layout as layout
11647         (realizeFont): layout as layout
11648
11649         * paragraph.C (writeFile): layout as layout
11650         (validate): layout as layout
11651         (getFont): layout as layout
11652         (getLabelFont): layout as layout
11653         (getLayoutFont): layout as layout
11654         (breakParagraph): layout as layout
11655         (stripLeadingSpaces): layout as layout
11656         (getEndLabel): layout as layout
11657         (getMaxDepthAfter): layout as layout
11658         (applyLayout): layout as layout
11659         (TeXOnePar): layout as layout
11660         (simpleTeXOnePar): layout as layout
11661         (TeXEnvironment): layout as layout
11662         (layout): layout as layout
11663         (layout): layout as layout
11664
11665         * lyxtextclass.C (compare_name): new functor to work with
11666         shared_ptr, layout as layout
11667         (Read): layout as layout
11668         (hasLayout): layout as layout
11669         (operator): layout as layout
11670         (delete_layout): layout as layout
11671         (defaultLayout): layout as layout
11672
11673         * lyxlayout_ptr_fwd.h: new file
11674
11675         * lyxlayout.C (Read): layout as layout
11676
11677         * lyx_cb.C (MenuInsertLabel): layout as layout
11678
11679         * bufferlist.C (newFile): layout as layout
11680
11681         * buffer.C (readLyXformat2): layout as layout
11682         (parseSingleLyXformat2Token): layout as layout
11683         (insertStringAsLines): layout as layout
11684         (asciiParagraph): layout as layout
11685         (latexParagraphs): layout as layout
11686         (makeLinuxDocFile): layout as layout
11687         (simpleLinuxDocOnePar): layout as layout
11688         (makeDocBookFile): layout as layout
11689         (simpleDocBookOnePar): layout as layout
11690         (getLists): layout as layout
11691
11692         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11693
11694         * CutAndPaste.C (cutSelection): layout as layout
11695         (pasteSelection): layout as layout
11696         (SwitchLayoutsBetweenClasses): layout as layout
11697
11698         * BufferView_pimpl.C (Dispatch): layout as layout
11699         (smartQuote): layout as layout
11700
11701         * BufferView2.C (unlockInset): layout as layout
11702
11703 2002-06-24  André Pönitz <poenitz@gmx.net>
11704
11705         * lyxfunc.C: fix #487
11706
11707 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11708
11709         * lyxrc.h:
11710         * lyxrc.C:
11711         * lyxfunc.C: remove display_shortcuts, show_banner
11712
11713 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11714
11715         * Buffer_pimpl.C: oops, update on resize
11716
11717 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11718
11719         * buffer.C:
11720         * converter.C:
11721         * exporter.C:
11722         * lyxfunc.C:
11723         * BufferView.h:
11724         * BufferView.C: use repaint()
11725
11726         * BufferView_pimpl.h:
11727         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11728           as it's a clearer description. Remove superfluous
11729           redraws.
11730
11731 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11732
11733         * text.C: fix bug 488. Not ideal, but getting
11734           getWord() to work properly for the insets that
11735           matter is more difficult ...
11736
11737 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11738
11739         * BufferView_pimpl.C:
11740         * LyXAction.C:
11741         * commandtags.h:
11742         * lyxfunc.C: remove the six million index lyxfuncs to just
11743           one, and DTRT (bug 458)
11744
11745 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11746
11747         * BufferView.h:
11748         * BufferView.C:
11749         * BufferView_pimpl.h:
11750         * BufferView_pimpl.C: clean up resize() stuff,
11751           and unnecessary updateScreen()s
11752
11753 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11754
11755         * BufferView.h:
11756         * BufferView.C:
11757         * BufferView_pimpl.h:
11758         * BufferView_pimpl.C:
11759         * lyxfind.h:
11760         * lyxfind.C:
11761         * minibuffer.C: remove focus management of workarea,
11762           not needed. Use screen's greyOut()
11763
11764 2002-06-17  Herbert Voss  <voss@lyx.org>
11765
11766         * converter.C: (convert) do not post a message, when converting
11767         fails, let the calling function decide what to do in this case
11768
11769 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11770
11771         * lyxfunc.C: tidy up a little
11772
11773 2002-06-16    <alstrup@diku.dk>
11774
11775         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11776         Got rid of FORMS_H_LOCATION include. Now we are
11777         GUII.
11778
11779 2002-06-15  LyX Development team  <lyx@rilke>
11780
11781         * buffer.[Ch] (sgmlOpenTag):
11782         (sgmlCloseTag): Added support for avoiding pernicious mixed
11783         content. Return number of lines written.
11784
11785         (makeLinuxDocFile):
11786         (makeDocBookFile): Fixed calls to sgml*Tag.
11787         Simple white space clean.
11788
11789         (simpleDocBookOnePar): Simple white space clean.
11790
11791         * tabular.[Ch] (docBook): Renamed to docbook and got another
11792         argument to related with the pernicious mixed content.
11793
11794         (docbookRow): Fixed calls for docbook inset method.
11795
11796 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11797
11798         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11799         so it's X11 independent.
11800
11801         * kb*.[Ch]: ditto.
11802
11803         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11804
11805 2002-06-15  Lyx Development team  <lyx@electronia>
11806
11807         * intl.h: Renamed getTrans to getTransManager.
11808
11809 2002-06-14  Angus Leeming  <leeming@lyx.org>
11810
11811         * Makefile.am: nuke forgotten stl_string_fwd.h.
11812
11813 2002-06-12  Angus Leeming  <leeming@lyx.org>
11814
11815         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11816
11817 2002-06-13  Angus Leeming  <leeming@lyx.org>
11818
11819         * LaTeX.C:
11820         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11821
11822 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11823
11824         * kbmap.C (getiso): add support for cyrillic and greek
11825
11826 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11827
11828         * BufferView.h:
11829         * BufferView.C:
11830         * BufferView_pimpl.h:
11831         * BufferView_pimpl.C: move bogus scrolling logic
11832           to xforms
11833
11834 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11835
11836         * lyxfunc.C:
11837         * BufferView_pimpl.C: view->resize() change
11838
11839 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11840
11841         * BufferView_pimpl.C: topCursorVisible
11842           prototype change
11843
11844 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11845
11846         * Makefile.am:
11847         * lyx_gui.h:
11848         * lyx_gui.C: move to frontends/
11849
11850         * main.C:
11851         * lyx_main.h:
11852         * lyx_main.C: changes from above
11853
11854 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11855
11856         * intl.C:
11857         * intl.h:
11858         * kbmap.C:
11859         * kbsequence.C:
11860         * lyx_cb.C:
11861         * lyx_main.C: minor tidy
11862
11863 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11864
11865         * BufferView_pimpl.h:
11866         * BufferView_pimpl.C:
11867         * BufferView.h:
11868         * BufferView.C: make painter() const,
11869           remove dead code
11870
11871         * BufferView2.C: use screen() accessor
11872
11873         * lyx_main.h:
11874         * lyx_main.C: some minor cleanup
11875
11876 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11877
11878         * BufferView_pimpl.h:
11879         * BufferView_pimpl.C: remove enter/leaveView,
11880           use workHeight()
11881
11882 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11883
11884         * BufferView.h:
11885         * BufferView.C:
11886         * BufferView2.C:
11887         * BufferView_pimpl.h:
11888         * BufferView_pimpl.C: only construct screen once,
11889           rename
11890
11891         * lyxrc.C: remove pointless comment
11892
11893 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11894
11895         * BufferView.h:
11896         * BufferView.C: remove active() and belowMouse()
11897
11898         * BufferView_pimpl.h:
11899         * BufferView_pimpl.C: use workarea() not workarea_,
11900           and make it use a scoped_ptr instead
11901
11902 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11903
11904         * lyx_gui.C: add debug message on BadWindow
11905
11906 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11907
11908         * sp_spell.C: fdopen is not part of the C++ standard.
11909
11910         * paragraph.C (InsetIterator): use >= instead of ==
11911
11912 2002-06-07  Angus Leeming  <leeming@lyx.org>
11913
11914         Fixes needed to compile with Compaq cxx 6.5.
11915         * BufferView_pimpl.C:
11916         * DepTable.C:
11917         * buffer.C:
11918         * converter.C:
11919         * encoding.C:
11920         * lyx_gui.C:
11921         * lyx_main.C:
11922         * lyxtextclasslist.C:
11923         * minibuffer.C:
11924         * sp_spell.C:
11925         * tabular_funcs.C:
11926         * vc-backend.C:
11927         all c-library variables have been moved into namespace std. Wrap
11928         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11929
11930         * lyxlength.C:
11931         * tabular-old.C:
11932         * tabular.C:
11933         Add a using std::abs declaration.
11934
11935         * kbmap.h (modifier_pair):
11936         * paragraph.h (InsetTable, InsetList):
11937         * lyxfont.h (FontBits):
11938         type definition made public.
11939
11940         * bufferlist.C (emergencyWriteAll): the compiler complains that
11941         there is more than one possible lyx::class_fun template to choose from.
11942         I re-named the void specialisation as lyx::void_class_fun.
11943
11944         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11945
11946         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11947         the compiler is is unable to find tostr in write_attribute.
11948
11949 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11950
11951         * buffer.C (sgmlError): hide #warning
11952
11953 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11954
11955         * xtl/*: get rid of xtl, which is not in use anyway
11956
11957         * LyXAction.C (init):
11958         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11959         were unimplemented xtl experimentation
11960
11961 2002-06-04  André Pönitz <poenitz@gmx.net>
11962
11963         * lyxfunc.C: disable array operation on simple formulae
11964
11965 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11966
11967         * converter.C: constify a bit
11968
11969 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11970
11971         * lyx_gui.C: check xforms version correctly
11972
11973 2002-04-30  Herbert Voss  <voss@lyx.org>
11974
11975         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11976         "keep" option
11977
11978 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11979
11980         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11981           attempt to register it with a VCS)
11982
11983 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11984
11985         * lyx_main.C (init): honor variables LYX_DIR_13x and
11986         LYX_USERDIR_13x
11987
11988 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11989
11990         * buffer.h:
11991         * buffer.C:
11992         * lyx_main.C: fix a crash on bad command line,
11993           and give a useful exit status on error
11994
11995         * lyxfunc.C (doImport): allow -i lyx to work
11996
11997 2002-03-30  André Pönitz <poenitz@gmx.net>
11998
11999         * lyxfunc.C: mathed font changes
12000
12001 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12002
12003         * LaTeX.C:
12004         * importer.h:
12005         * importer.C:
12006         * lyx_sty.h:
12007         * lyx_sty.C:
12008         * lyxlex.C:
12009         * lyxrow.h:
12010         * lyxtext.h:
12011         * paragraph.h:
12012         * paragraph.C:
12013         * texrow.h:
12014         * texrow.C:
12015         * text.C:
12016         * trans_mgr.h: srcdocs, and some minor cleanups
12017
12018 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12019
12020         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12021         call getFont all the time)
12022
12023 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12024
12025         * switch from SigC signals to boost::signals
12026
12027 2002-05-29  André Pönitz <poenitz@gmx.net>
12028
12029         * paragraph_pimpl.C (getChar): don't call size() too often...
12030
12031 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12032
12033         * paragraph_pimpl.C (insertChar): do not try to update tables when
12034         appending (pos == size())
12035
12036         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12037         in order to reduce drastically the number of comparisons needed to
12038         parse a large document
12039
12040 2002-05-29  André Pönitz <poenitz@gmx.net>
12041
12042         * text.C:
12043         * text2.C:
12044         * lyxtextclass.C:
12045         * sp_pspell.h:
12046         * textclasslist.[Ch]:
12047         * sp_ispell.h: whitespace change
12048
12049 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12050
12051         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12052         lyxaction directly now.
12053
12054 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12055
12056         * trans.C:
12057         * lyxfont.C:
12058         * lyxvc.C: remove unused headers
12059
12060 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12061
12062         * Makefile.am:
12063         * buffer.h:
12064         * undostack.h:
12065         * undostack.C:
12066         * undo_funcs.h:
12067         * undo_funcs.C: some cleanups. Use shared_ptr
12068           and a template for the undo stacks.
12069
12070 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12071
12072         * BufferView_pimpl.h:
12073         * BufferView_pimpl.C:
12074         * kbmap.h:
12075         * kbmap.C:
12076         * kbsequence.h:
12077         * kbsequence.C:
12078         * lyxfunc.h:
12079         * lyxfunc.C:
12080         * text2.C: use key_state/mouse_state
12081
12082 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12083
12084         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12085         and LSubstring
12086
12087         * chset.C: change include order
12088         (loadFile): use boost regex and get rid of LRegex and LSubstring
12089
12090         * Makefile.am (BOOST_LIBS): new variable
12091         (lyx_LDADD): use it
12092
12093         * LaTeX.C: change include order.
12094         (scanAuxFile): use boost regex and get rid of LRegex and
12095         LSubstring
12096         (deplog): ditto
12097
12098 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12099
12100         * ColorHandler.h:
12101         * ColorHandler.C:
12102         * FontInfo.h:
12103         * FontInfo.C: moved to frontends/xforms/
12104
12105         * FontLoader.h:
12106         * FontLoader.C: moved into frontends for GUIIzation
12107
12108         * Makefile.am:
12109         * lyx_gui.C:
12110         * lyxfont.C:
12111         * lyxfunc.C: changes from above
12112
12113 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12114
12115         * LColor.C: remove spurious X include
12116
12117         * BufferView_pimpl.C:
12118         * Makefile.am:
12119         * font.h:
12120         * font.C:
12121         * text.C:
12122         * text2.C: move font metrics to frontends/
12123
12124 2002-05-24  Juergen Vigna  <jug@sad.it>
12125
12126         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12127         setting the undo_cursor.
12128
12129         * ParagraphParameters.h: include local includes first.
12130
12131 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12132
12133         * BufferView_pimpl.C:
12134         * BufferView_pimpl.h:
12135         * Makefile.am:
12136         * WorkArea.h:
12137         * WorkArea.C:
12138         * screen.C: move WorkArea into frontends/
12139
12140         * lyxscreen.h:
12141         * screen.C:
12142         * text.C:
12143         * BufferView.C:
12144         * BufferView2.C: move LyXScreen into frontends/
12145
12146         * lyxlookup.h:
12147         * lyxlookup.C:
12148         * lyx_gui.C: move lyxlookup into frontends/xforms/
12149
12150 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12151
12152         * BufferView2.C:
12153         * BufferView_pimpl.C:
12154         * FontLoader.C:
12155         * LyXView.h:
12156         * LyXView.C:
12157         * Makefile.am:
12158         * WorkArea.C:
12159         * XFormsView.h:
12160         * XFormsView.C:
12161         * buffer.C:
12162         * bufferlist.C:
12163         * bufferview_funcs.C:
12164         * converter.C:
12165         * importer.C:
12166         * lyx_cb.C:
12167         * lyx_gui.C:
12168         * lyx_main.C:
12169         * lyx_find.C:
12170         * lyxfunc.C:
12171         * lyxvc.C:
12172         * minibuffer.C:
12173         * text.C:
12174         * text2.C:
12175         * trans.C:
12176         * vc-backend.C: move LyX/XFormsView into frontends/
12177
12178 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12179
12180         * Makefile.am:
12181         * PainterBase.C:
12182         * PainterBase.h:
12183         * Painter.C:
12184         * Painter.h:
12185         * WorkArea.C:
12186         * WorkArea.h:
12187         * screen.C:
12188         * tabular.C:
12189         * text.C:
12190         * text2.C: move Painter to frontends/
12191
12192 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12193
12194         * buffer.C: comment out some some code that depend upon lyx_format
12195         < 220
12196
12197         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12198         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12199
12200         * buffer.h (NO_COMPABILITY): turn off compability
12201
12202         * ColorHandler.C: include scoped_array.hpp
12203
12204         * font.C: Use more specific smart_ptr header.
12205         * Painter.C: ditto
12206         * gettext.C: ditto
12207         * ShareContainer.h: ditto
12208         * lyx_main.h: ditto
12209         * kbmap.h: ditto
12210         * FontInfo.h: ditto
12211         * BufferView_pimpl.h: ditto
12212         * ColorHandler.h: ditto
12213
12214         * kbmap.C (defkey): change call to shared_ptr::reset
12215
12216 2002-05-21  Juergen Vigna  <jug@sad.it>
12217
12218         * buffer.C (insertErtContents): fix to insert ert asis if it is
12219         non empty. Skip it completely if it contains only whitespaces.
12220
12221 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12222
12223         * BufferView_pimpl.C:
12224         * BufferView2.C: clear selection on paste (bug 393)
12225
12226 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12227
12228         * DepTable.C: include ctime
12229
12230 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12231
12232         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12233
12234 2002-05-14  Juergen Vigna  <jug@sad.it>
12235
12236         * text.C (breakParagraph): fixed function to honor the keepempty
12237         layout in the right maner and also to permit the right breaking
12238         algorithm on empty or non empyt keepempty paragraphs.
12239
12240         * paragraph.C (breakParagraph): we have to check also if the par
12241         is really empty (!size()) for isempty otherwise we do the wrong
12242         paragraph break.
12243
12244 2002-05-10  Juergen Vigna  <jug@sad.it>
12245
12246         * buffer.[Ch] : The following are only changes to the ert
12247         compatibility read reading old LaTeX layout and font stuff and
12248         convert it to ERTInsets.
12249
12250         * buffer.h: added isErtInset().
12251
12252         * buffer.C (struct ErtComp): add a fromlayout bool to check
12253         if we're inside a LaTeX layout.
12254         (isErtInset): new helper function.
12255         (insertErtContents): look for other ert insets before this one
12256         and insert the contents there, so that we don't have subsequent
12257         ERT insets with nothing between them. This way we create only one
12258         inset with multiple paragraphs. Also check if we don't insert only
12259         spaces ' ' as they are ignored anyway afterwards in the .tex file
12260         so if we have only spaces we will ignore this latex part in the
12261         new file.
12262         (parseSingleLyXformat2Token \\layout): better compatibility when
12263         reading layout-latex stuff.
12264         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12265         language tag.
12266         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12267         stuff after reading the inset only get the information back from
12268         the stack.
12269
12270 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12271
12272         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12273
12274         * LaTeXFeatures.C (getBabelOptions): New method.
12275
12276 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12277
12278         * BufferView_pimpl.C (Dispatch): work around missing argument for
12279         'layout'
12280
12281 2002-05-08  Juergen Vigna  <jug@sad.it>
12282
12283         * text.C (leftMargin): handle paragraph leftindent.
12284
12285         * paragraph.C (writeFile): write the new \\leftindent tag.
12286         (validate): handle leftindent code.
12287         (TeXEnvironment): handle paragraphleftindent code again.
12288
12289         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12290
12291         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12292         for paragrap_extra indent code and new token \\leftindent.
12293         (latexParagraphs): handle the leftindent as environment.
12294
12295         * ParameterStruct.h: added leftindent support.
12296
12297         * ParagraphParameters.C (leftIndent): added support functions for
12298         the paragraph left indent.
12299
12300         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12301         more appropriate.
12302
12303 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12304
12305         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12306         inside insetERT.
12307
12308         * text.C (computeBidiTables): No bidi in insetERT.
12309
12310         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12311         in RTL documents.
12312
12313 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12314
12315         * version.C.in: pre 5
12316
12317 2002-05-02  José Matos  <jamatos@fep.up.pt>
12318         * buffer.C (makeDocBookFile): white space changes, add newline to
12319         command styles.
12320         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12321
12322         * tabular.C (docBook): fix typo.
12323
12324 2002-05-03  Juergen Vigna  <jug@sad.it>
12325
12326         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12327         change in LyXText as we can not be sure it was not freed.
12328         (drawOneRow): remove unused code.
12329
12330         * text.C (drawInset): redo the calculation of the need_break_row as
12331         it could have a row which was already freed.
12332         (draw): look at the return value of drawInset and return false if
12333         it also returned false.
12334         (paintRowText): look at the return value of draw and return false if
12335         it also returned false.
12336
12337         * lyxtext.h: added bool return type to drawInset() and draw() so that
12338         if we have a change in the row so that the rowbreak has to be redone
12339         we abort drawing as it will be called again.
12340
12341 2002-05-02  Juergen Vigna  <jug@sad.it>
12342
12343         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12344         a change in the maintext also if we're inside an inset.
12345         (Dispatch): set the cursor again after a break line and after the
12346         screen has been updated as it could be we're in a different row.
12347
12348         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12349         to set the cursor behind the pargraph with > size().
12350         (setCursor): check also for the same paragraph when checking where
12351         to put the cursor if we have a NFR inset.
12352
12353         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12354         parts of layout read further up as it still was in the wrong
12355         position.
12356
12357 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12358
12359         * screen.C (drawFromTo): change sine fullRebreak always return
12360         true.
12361
12362         * buffer.C (parseSingleLyXformat2Token): reindent some
12363
12364         * BufferView_pimpl.C (update): change since fullRebreak always
12365         return true.
12366         (Dispatch): git rid of the last hardcoded "Standard"s.
12367
12368 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12369
12370         * text2.[Ch] (fullRebreak): make it return void now that we always
12371         returned true.
12372
12373 2002-04-30  Juergen Vigna  <jug@sad.it>
12374
12375         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12376         ert compatibility check for "latex" layout.
12377
12378 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12379
12380         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12381         minipages: use col% instead of p%, and also use the current font.
12382         (makeLaTeXFile): Fix use babel condition.
12383         (parseSingleLyXformat2Token): Correct font when reading old floats.
12384
12385 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12386
12387         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12388         inserting list of floats.
12389
12390 2002-04-25  Herbert Voss  <voss@lyx.org>
12391
12392         * MenuBackend.C (expand): don't add the graphics extensions to the
12393         export menu
12394
12395 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12396
12397         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12398         non-existing layout, do not complain if it was the default layout
12399         of the original class (bug #342)
12400
12401 2002-04-24  Juergen Vigna  <jug@sad.it>
12402
12403         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12404         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12405
12406 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12407
12408         * buffer.C (getBibkeyList): If using \bibliography, return the
12409         option field with the reference itself. Enables us to provide natbib
12410         support when using \bibliography.
12411
12412 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12413
12414         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12415
12416         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12417         natbib is provided by the LaTeX class.
12418
12419 2002-04-23  Juergen Vigna  <jug@sad.it>
12420
12421         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12422         Wakeup functions.
12423
12424         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12425
12426 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12427
12428         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12429
12430         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12431         ensuremath around textordmasculine, textordfeminine and
12432         textdegree.
12433
12434 2002-04-19  Juergen Vigna  <jug@sad.it>
12435
12436         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12437         reinitializing the buffer otherwise row-dimensions may be wrong.
12438         (update): reset also the selection cursors if they do exits otherwise
12439         their x/y positions may be wrong.
12440
12441         * text2.C (cursorDown): don't enter the inset if we came from a row
12442         above and are one row over the inset.
12443
12444         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12445         really leaving an inset.
12446
12447 2002-04-18  Juergen Vigna  <jug@sad.it>
12448
12449         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12450         of the selected paragraph does not have the selected layout also if
12451         the last one had!
12452
12453         * text2.C (setLayout): fixed bug which did not change last selected
12454         paragraph.
12455
12456         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12457         changed the read and substituted \\end_float with \\end_inset!
12458
12459         * BufferView_pimpl.C (cursorPrevious):
12460         (cursorNext): fixed to make it work with rows heigher than the work
12461         area without moving the cursor only the draw of the row.
12462         (workAreaMotionNotify): fix jumping over high rows.
12463
12464 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12465
12466         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12467         Ressler.
12468
12469 2002-04-16  Juergen Vigna  <jug@sad.it>
12470
12471         * text2.C (setCursor): set also the irow().
12472         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12473         (cursorUp):
12474         (cursorDown): support for locking an inset if the x_fix value goes
12475         inside it. That way I can transverse insets too with cursor up/down.
12476
12477         * lyxrow.h: added irow helper function same as other (i) functions.
12478
12479         * BufferView_pimpl.C (cursorPrevious):
12480         (cursorNext): fixed for insets!
12481
12482 2002-04-15  Juergen Vigna  <jug@sad.it>
12483
12484         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12485         position otherwise it is wrong in some cases.
12486
12487         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12488         inside the inset before the call.
12489
12490 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12491
12492         * buffer.[Ch] (getBibkeyList): make it const.
12493
12494 2002-04-12  Juergen Vigna  <jug@sad.it>
12495
12496         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12497
12498         * text2.C (getCursorX): new helper function
12499         (setCursor): compute also ix_
12500         (setCursorFromCoordinates): set also ix.
12501
12502         * lyxcursor.h: added ix_ and helper functions.
12503
12504         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12505
12506         * buffer.C (insertStringAsLines): dont break paragraph if the this
12507         paragraph is inside an inset which does not permit it!
12508
12509         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12510         also with no chars on this paragraph.
12511         (paintRowText): only paint stuff if it's inside the workarea!
12512
12513         * paragraph.C (breakParagraph): honor keepempty flag and break the
12514         paragraph always below not above.
12515
12516         * BufferView2.C (unlockInset): update the paragraph layout on inset
12517         unlock as we changed paragraph in such a case.
12518
12519         * lyxfind.C (LyXFind): clear the former selection if not found!
12520
12521         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12522         again called in insertChar().
12523
12524         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12525         an inset which uses the whole row!
12526         (rightMargin): ditto.
12527         (insertChar): force a rebreak if we inserted an inset!
12528
12529 2002-03-28  Herbert Voss  <voss@lyx.org>
12530
12531         * lyxlength.[Ch]: add inBP() to get the right PS-point
12532         units (BigPoint). With inPixels we have rounding errors
12533
12534 2002-04-11  Juergen Vigna  <jug@sad.it>
12535
12536         * text2.C (setCursorFromCoordinates): set iy to the right value.
12537         (setCursor): add check if row->previous exists!
12538
12539         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12540         an old float_type as this was the case in the old code!
12541
12542         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12543
12544         * BufferView2.C (showLockedInsetCursor): use iy
12545         (fitLockedInsetCursor): ditto
12546
12547         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12548         locked insets as there we have the right value now.
12549
12550         * lyxcursor.C: added iy_ variable and iy functions to set to the
12551         baseline of cursor-y of the locked inset.
12552
12553         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12554         (setCursor): fixed for insets which need a full row.
12555
12556         * text.C (rowLastPrintable): don't ignore the last space when before
12557         an inset which needs a full row.
12558         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12559         as last character of a row when before a inset which needs a full row.
12560
12561 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12562
12563         * version.C.in: update date
12564
12565         * text2.C (fullRebreak): try to always return true and see what
12566         happens...
12567
12568 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12569
12570         * MenuBackend.C (expand): use Floating::listName
12571
12572         * FloatList.C (FloatList): add listName argument to the built-in
12573         floats
12574
12575         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12576         text associated with the float.
12577
12578 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12579
12580         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12581
12582 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12583
12584         * ShareContainer.h: add a couple of missing typenames.
12585
12586 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12587
12588         * lyxrc.C (getDescription): use _() correctly rather than N_().
12589
12590 2002-03-28  Herbert Voss  <voss@lyx.org>
12591
12592         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12593         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12594
12595 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12596
12597         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12598         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12599
12600 2002-03-29  Juergen Vigna  <jug@sad.it>
12601
12602         * lyxfunc.C (dispatch): add a missing fitCursor call.
12603
12604         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12605         it was scrolled by a cursor move, so return the bool status.
12606
12607         * BufferView.C (fitCursor): return the bool flag also to the outside
12608         world as this is needed.
12609
12610         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12611
12612         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12613         call the edit() as it is not needed (and wrong) IMO.
12614         (workAreaButtonPress): set the screen_first variable before evt.
12615         unlock the inset as this may change screen_first and then we have
12616         a wrong y position for the click!
12617
12618 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12619
12620         * MenuBackend.C (expand): another translation that I missed
12621
12622 2002-03-28  Juergen Vigna  <jug@sad.it>
12623
12624         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12625
12626         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12627
12628 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12629
12630         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12631
12632         * MenuBackend.C (expand): fix export/view/update when there is no
12633         document open.
12634
12635 2002-03-27  Herbert Voss  <voss@lyx.org>
12636
12637         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12638         and text%
12639
12640 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12641
12642         * bufferview_funcs.C (currentState): only show paragraph number
12643         for is DEVEL_VERSION is set.
12644
12645         * lyxfunc.C (dispatch): put warning in INFO channel
12646
12647         * MenuBackend.C (expand): translate the name of floats
12648
12649         * FloatList.C (FloatList): mark the float names for translation
12650
12651         * converter.C (convert): use LibScriptSearch
12652
12653 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12654
12655         * MenuBackend.C (defaults): fix default menu (we might as well get
12656         rid of it...)
12657
12658 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12659
12660         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12661         directory.
12662
12663 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12664
12665         * lyxvc.C: reorder includes.
12666
12667 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12668
12669         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12670           properly
12671
12672 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12673
12674         * CutAndPaste.C: change layouts earlier on paste
12675           to avoid crashing when calling getFont()
12676
12677 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12678
12679         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12680         irritating #error.
12681
12682 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12683
12684         * WorkArea.C: remove 'Pending' debug message.
12685
12686         * most files: ws cleanup
12687
12688         * buffer.[Ch]: ws changes
12689
12690         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12691
12692 2002-03-21  Juergen Vigna  <jug@sad.it>
12693
12694         * tabular.C (SetMultiColumn): collapse also the contents of the
12695         cells and set the last border right. Added a Buffer const * param.
12696
12697 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12698
12699         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12700         linking or not.
12701
12702 2002-03-19  Juergen Vigna  <jug@sad.it>
12703
12704         * text2.C (clearSelection): reset also xsel_cache.
12705
12706         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12707         where it needs to be called (John tells us to do so too :)
12708         (selectionLost): reset sel_cache.
12709
12710         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12711
12712 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12713
12714         * text2.C (setCursorIntern): put debuging code in INSETS channel
12715
12716 2002-03-19  André Pönitz <poenitz@gmx.net>
12717
12718         * lyxfunc.C: tiny whitespace change
12719
12720 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12721
12722         * ToolbarDefaults.C (init):
12723         * LyXAction.C (init):
12724         * commandtags.h:
12725         * BufferView_pimpl.C (Dispatch):
12726         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12727
12728 2002-03-19  Allan Rae  <rae@lyx.org>
12729
12730         * exporter.C (Export): removeAutoInsets before doing anything else.
12731         While I've just introduced a dependency on BufferView this really is
12732         the best place to clean the buffer otherwise you need to cleanup in
12733         a dozen places before calling export or cleanup in a dozen functions
12734         that export calls.
12735
12736         * converter.C (runLaTeX):
12737         (scanLog): Better handling of removeAutoInsets and screen updates.
12738
12739         * lyxfunc.C (dispatch): small whitespace changes
12740
12741 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12742
12743         * WorkArea.C (C_WorkAreaEvent): return a value.
12744         (event_cb): return 1 if we handled the event, 0 otherwise.
12745
12746         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12747
12748 2002-03-18  Juergen Vigna  <jug@sad.it>
12749
12750         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12751         (GetAdditionalWidth): ditto.
12752         (RightLine): ditto.
12753         (LeftLine): ditto.
12754
12755         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12756         inset if we're there actually (probably not used right now but this
12757         is the direction to go for unifying code).
12758         (paste): disable code to clear the selection.
12759
12760         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12761         inside an InsetText and move the check further up as it is in the
12762         wrong place.
12763
12764         * text2.C (pasteSelection): set a selection over the pasted text.
12765
12766 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12767
12768         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12769         and libgraphics to build on Cygwin.
12770
12771 2002-03-15  Juergen Vigna  <jug@sad.it>
12772
12773         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12774         inserting an Inset into the paragraph. I know this is not the best
12775         fix but we already use current_view in CutAndPaste so we will remove
12776         all of it's using at the same time.
12777
12778         * buffer.C (sgmlError): deactivated function till it is rewritten in
12779         the right mode, now it can create problems.
12780
12781         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12782         before accessing it.
12783
12784 2002-03-14  Juergen Vigna  <jug@sad.it>
12785
12786         * undo_funcs.C (textHandleUndo): do the right thing when updating
12787         the inset after the undo/redo.
12788
12789         * text2.C (setCursor): just some testcode for #44 not ready yet.
12790
12791         * undo_funcs.C (textHandleUndo): set the next() and previous()
12792         pointers of the paragraph to 0 before deleting otherwise we have
12793         problems with the Paragraph::[destructor].
12794
12795         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12796         on a paragraph insertion.
12797
12798 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12799
12800         * buffer.C (asciiParagraph): use += operator for char append to
12801         string.
12802
12803         * paragraph.C (getFontSettings): compare >= not just >
12804         (highestFontInRange): ditto
12805         (setFont): ditto
12806
12807 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12808
12809         * paragraph.C: change several algorithm to be more appripriate for
12810         the problem domain. This is lookip in FontList and in the InsetList.
12811
12812 2002-03-13  André Pönitz <poenitz@gmx.net>
12813
12814         * commandtags.h:
12815         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12816
12817 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12818
12819         * commandtags.h:
12820         * LyXAction.C:
12821         * lyxfunc.C:
12822         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12823
12824 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12825
12826         * Painter.C (display): anon helper function, adjust code for this
12827         change.
12828         (pixmap): remove function.
12829
12830         * Painter.h: remove private display variable.
12831
12832         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12833
12834 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12835
12836         * WorkArea.[Ch]: remove figinset_canvas cruft.
12837
12838 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12839
12840         * lyxtextclass.C (operator): add one item cache optimization.
12841
12842         * bufferlist.h: doxy changes
12843
12844         * bufferlist.C: ws changes
12845
12846         * DepTable.[Ch] (ext_exist): place const in the right spot.
12847
12848         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12849         call resizeInsets.
12850         (workAreaExpose): call resizeInsets when the with BufferView changes.
12851         (Dispatch): adjust for protectedBlank removal
12852         (specialChar): call updateInset if the insert went ok.
12853
12854         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12855         specialChar instead.
12856
12857         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12858
12859         * BufferView.h: doxy change
12860
12861         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12862
12863         * lyxtextclass.C (operator[]): remove non-const version
12864         (defaultLayout): remove non-const version
12865
12866 2002-03-12  Juergen Vigna  <jug@sad.it>
12867
12868         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12869         did resize the LyXText too.
12870
12871         * buffer.C (readLyXformat2): set layout information on newly allocated
12872         paragraphs.
12873
12874         * tabular.C (OldFormatRead): set layout information on the paragraph.
12875
12876 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12877
12878         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12879
12880 2002-03-11  Juergen Vigna  <jug@sad.it>
12881
12882         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12883         plainly wrong.
12884         (resizeCurrentBuffer): force also the insets to resize themselfes.
12885         (moveCursorUpdate): fixed up for InsetText.
12886
12887 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12888
12889         * commandtags.h:
12890         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12891         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12892         value of Dialogs::tooltipsEnabled().
12893         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12894
12895 2002-03-08  Juergen Vigna  <jug@sad.it>
12896
12897         * BufferView_pimpl.C (updateInset): update inset inside inset also
12898         if it isn't inside theLockingInset().
12899
12900 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12901
12902         * buffer.C (asciiParagraph): redo some of the word and line length
12903         handling.
12904         (getLists): look for Caption instead of caption.
12905
12906 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12907
12908         * buffer.C (Buffer): initialize niceFile to true
12909         (makeLaTeXFile):
12910         (makeLinuxDocFile):
12911         (makeDocBookFile): make sure niceFile is true on exit
12912
12913 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12914
12915         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12916
12917 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12918
12919         * LyXSendto.C: remove.
12920         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12921         * lyx_gui.C: remove now-redundant comment.
12922         * ColorHandler.h: remove forward declaration of class WorkArea.
12923         * lyxfunc.C: remove #include "WorkArea.h".
12924
12925 2002-03-07  Juergen Vigna  <jug@sad.it>
12926
12927         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12928         got moved away with the DEPM and also set the inset_owner always
12929         right which before could have been omitted.
12930
12931 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12932
12933         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12934         wanted layout is not found.
12935
12936 2002-03-07  Juergen Vigna  <jug@sad.it>
12937
12938         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12939
12940 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12941
12942         * paragraph.C (breakParagraph): use default layout not layout of
12943         prev paragraph.
12944         (Paragraph): clear ParagraphParameters.
12945
12946 2002-03-06  Juergen Vigna  <jug@sad.it>
12947
12948         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12949         otherwise it would not be a valid lenght. Fixed a special case in
12950         the minipage compatibility read where we end the document with a
12951         minipage.
12952
12953         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12954         was set as it could be 0 for InsetTexts first entry.
12955
12956 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12957
12958         * paragraph.C (writeFile): if layout is empty write out
12959         defaultLayoutName().
12960
12961         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12962         file without named layout we set layout to defaultLayoutName().
12963
12964 2002-03-06  Juergen Vigna  <jug@sad.it>
12965
12966         * CutAndPaste.C (copySelection): set layout for new paragraph.
12967
12968         * text.C (prepareToPrint): leave ERT inset left aligned
12969         (leftMargin): don't indent paragraphs inside ERT insets
12970
12971 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12972
12973         * paragraph.C (breakParagraph): dont call clear do the work manually
12974
12975         * paragraph.[Ch] (clear): remove function
12976
12977 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12978
12979         * paragraph.C (Paragraph): dont call clear, the work has already
12980         been done.
12981
12982         * lyxtextclass.C (operator): assert if n is empty
12983
12984         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12985         work manually instead.
12986
12987 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12988
12989         * BufferView_pimpl.C: protect selectionLost against text == 0
12990
12991 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12992
12993         * text.C (breakParagraph): fix a setting layout to '0' problem.
12994
12995 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12996
12997         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12998         final location of file, for the included files, and graphics.
12999
13000 2002-03-05  Juergen Vigna  <jug@sad.it>
13001
13002         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13003
13004 2002-03-04  Juergen Vigna  <jug@sad.it>
13005
13006         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13007
13008         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13009         last column of multicolumn cells.
13010         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13011
13012 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13013
13014         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13015         file if it doesn't go to a temporary file.
13016
13017         * buffer.C (sgmlOpenTag):
13018         (sgmlCloseTag):  remove extra newline insertion.
13019
13020 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13021
13022         * text.C (getRowNearY): comment out debug msg
13023
13024 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13025
13026         * text2.C: first -> first_y
13027
13028         * text.C (getRowNearY): add some attemts at a possible
13029         optimization, not working.
13030
13031         * tabular.[Ch]: add BufferParams to several function so that newly
13032         created paragraph can be initialized to he default layotu for the
13033         buffers textclass.
13034
13035         * tabular-old.C (ReadOld): add buf->params to call of Init
13036
13037         * screen.C: rename text->first to text->first_y
13038
13039         * paragraph.C (breakParagraph): always set layout in the broken
13040         paragraph
13041
13042         * lyxtextclass.C (Read): remove lowercase
13043         (hasLayout): ditto
13044         (operator): ditto
13045         (delete_layout): ditto
13046
13047         * lyxtext.h: rename first -> first_y
13048
13049         * lyxlayout.C (Read): remove lowercase
13050         (name): ditto
13051         (setName): ditto
13052         (obsoleted_by): ditto
13053
13054         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13055
13056         * buffer.C (insertErtContents): add params are to InsetERT
13057         (parseSingleLyXformat2Token): add code to check if a paragraphs
13058         layout really exist.
13059         (parseSingleLyXformat2Token): add params to several inset
13060         constructors
13061         (asciiParagraph): remove lowercase, do the layout comparisons with
13062         no_case
13063
13064         * BufferView_pimpl.C (cursorNext): first -> first_y
13065         (resizeCurrentBuffer): first -> first_y
13066         (updateScrollbar): first -> first_y
13067         (scrollCB): first -> first_y
13068         (workAreaMotionNotify): first -> first_y
13069         (workAreaButtonPress): first -> first_y
13070         (checkInsetHit): first -> first_y
13071         (cursorPrevious): first -> first_y
13072         (cursorNext): first -> first_y
13073         (Dispatch): add buffer_->params to severl inset contructors
13074
13075 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13076
13077         * lyxlayout.C (Read): remove some debug info that I forgot.
13078
13079         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13080         clean up the code slightly.
13081         (makeLinuxDocFile): ditto
13082         (makeDocBookFile): ditto
13083
13084         * text2.C: layout as string
13085
13086         * text.C: layout as string
13087
13088         * paragraph_pimpl.C: layout as string
13089
13090         * paragraph.[Ch]: layout as string
13091
13092         * lyxtextclasslist.[Ch]: layout as string
13093
13094         * lyxtextclass.[Ch]: layout as string
13095
13096         * lyxtext.h: layout as string
13097
13098         * lyxlayout.[Ch]: layout as string
13099
13100         * lyx_cb.C: layout as string
13101
13102         * bufferview_funcs.C: layout as string
13103
13104         * bufferparams.C: layout as string
13105
13106         * buffer.C: layout as string
13107
13108         * LyXView.[Ch]: layout as string
13109
13110         * LaTeXFeatures.[Ch]: layout as string
13111
13112         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13113
13114         * BufferView_pimpl.C: change current_layout to string, remove
13115         lyx::layout_type.
13116         (Dispatch):
13117         (smartQuote):
13118         (insertInset):
13119         (workAreaButtonRelease): layout as string
13120
13121         * BufferView2.C (unlockInset): adjust
13122
13123         * vspace.C (asLatexCommand): use an explict temp variable.
13124
13125 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13126
13127         * Makefile.am: use FRONTEND_*
13128
13129 2002-03-01  Juergen Vigna  <jug@sad.it>
13130
13131         * tabular.C (SetWidthOfMulticolCell): changed to something better
13132         I hope but still work in progress.
13133         (recalculateMulticolumnsOfColumn): renamed function from
13134         recalculateMulticolCells as it is more appropriate now.
13135         (SetWidthOfCell): calculate multicols better.
13136
13137 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13138
13139         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13140
13141         * lyxfunc.C (processKeySym): print sequence also if it is
13142         `deleted' (complete)
13143
13144         * kbsequence.C (print): print sequence even if it is deleted
13145         (complete would be a better word, actually).
13146
13147         * lyxfunc.C (dispatch): print complete options after a prefix key
13148
13149         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13150
13151 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13152
13153         * text2.C (setCharFont): eliminate setCharFont code duplication.
13154
13155 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13156
13157         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13158         LFUN_TABULAR_FEATURE (bug #177)
13159
13160 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13161
13162         * Makefile.am: remove figure.h
13163
13164 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13165
13166         * Bufferview_pimpl.C:
13167         * CutAndPasteC:
13168         * LaTeX.C:
13169         * LyXSendto.C:
13170         * buffer.C:
13171         * bufferlist.C:
13172         * converter.C:
13173         * language.C:
13174         * lyxfunc.C:
13175         * lyxvc.C:
13176         * paragraph.C:
13177         * text.C:
13178         * text2.C: remove #include "lyx_gui_misc.h".
13179
13180         * LaTeX.C: added #include <cstdio>
13181
13182 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13183
13184         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13185         that the paragraph following this one can have.
13186
13187         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13188
13189         * vspace.C (asLatexCommand): fix bogus gcc warning
13190
13191         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13192
13193 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13194
13195         * text2.C (setLayout): get rid of redundant code
13196
13197 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13198
13199         * text2.C (incDepth): make sure depth cannot be increased beyond
13200         reasonable values.
13201
13202 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13203
13204         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13205         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13206
13207         * PainterBase.h (image):
13208         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13209         a LyXImage const *.
13210
13211 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13212
13213         * BufferView.C:
13214         * BufferView.h:
13215         * BufferView_pimpl.C:
13216         * BufferView_pimpl.h:
13217         * LaTeXFeatures.C:
13218         * LyXAction.C:
13219         * LyXView.C:
13220         * Makefile.am:
13221         * UpdateList.h:
13222         * UpdateList.C:
13223         * buffer.C:
13224         * figure.h:
13225         * figureForm.C:
13226         * figureForm.h:
13227         * figure_form.C:
13228         * figure_form.h:
13229         * lyx_cb.C:
13230         * lyx_gui.C:
13231         * lyx_gui_misc.C:
13232         * lyxfunc.C:
13233         * sp_base.h:
13234         * sp_ispell.h:
13235         * sp_pspell.h:
13236         * sp_spell.C: remove fig inset, and the crap house of
13237           cards that follows it
13238
13239 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13240
13241         * Makefile.am:
13242         * lyxserver.C:
13243         * os2_defines.h:
13244         * os2_errortable.h:
13245         * nt_defines.h: move .h into support/
13246
13247         * vms_defines.h: remove
13248
13249         * WorkArea.C: add space in debug output
13250
13251         * text2.C:
13252         * paragraph.C:
13253         * buffer.C: add WITH_WARNINGS
13254
13255         * vc-backend.h:
13256         * vc-backend.C:
13257         * bufferlist.C: s/retrive/retrieve/, add docs
13258
13259         * vspace.h:
13260         * vspace.C:
13261         * kbmap.h:
13262         * lyxlength.h:
13263         * lyxgluelength.h:
13264         * length_common.h:
13265         * chset.h:
13266         * chset.C: add docs
13267
13268         * lyxgui.C: add ID to X error handler
13269
13270         * lyxtestclass.c: fix typo
13271
13272 2002-02-26  Juergen Vigna  <jug@sad.it>
13273
13274         * tabular_funcs.C (write_attribute): changed so that some default
13275         attributes are not written at all.
13276         (getTokenValue): set default values before trying to read the
13277         value so we have the return value always set as default if we don't
13278         find the token we search for.
13279
13280         * tabular.C (Write): write bools as bools not as strings!
13281
13282 2002-02-22  Juergen Vigna  <jug@sad.it>
13283
13284         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13285         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13286
13287         * text.C (leftMargin): don't add an indent for paragraphs inside
13288         tabular cells (fix #208).
13289
13290 2002-02-21  José Matos  <jamatos@fep.up.pt>
13291
13292         * tabular.C (docBook): fixed support for long tables.
13293
13294 2002-02-20  Juergen Vigna  <jug@sad.it>
13295
13296         * text2.C (getFont): get the drawing font of the Inset if this
13297         paragraph is inside an inset (only important for InsetERT for now).
13298
13299         * buffer.C (insertErtContents): use new lanugage params in ERT
13300         constructor.
13301
13302         * CutAndPaste.C: commenting out seemingly uneeded code.
13303
13304 2002-02-19  Allan Rae  <rae@lyx.org>
13305
13306         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13307         Iterators might be simple to use but they also get invalidated.
13308         (removeAutoInsets): renamed saved cursor tracking variables and added
13309         some comments to clarify what everything does.
13310
13311 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13312
13313         * Chktex.C:
13314         * LaTeX.C:
13315         * LyXSendto.C:
13316         * converter.C:
13317         * lyx_cb.C:
13318         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13319         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13320
13321         * lyxfunc.C:
13322         * vc-backend.h: remove #include "support/syscall.h"
13323
13324         * LaTeX.C:
13325         * LyXSendto.C:
13326         * converter.C: rearrange #includes in Lars' approved fashion.
13327
13328         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13329         forward declare class Timeout in the header file.
13330
13331         * XFormsView.C: changes due to the above.
13332
13333         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13334         similar to LyXView.
13335
13336         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13337         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13338
13339 2002-02-18  José Matos  <jamatos@fep.up.pt>
13340
13341         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13342         insets contents.
13343
13344 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13345
13346         * a lot of small ws changes
13347         * add a lot of using std::XXX
13348         * use std construcs some places where approp.
13349         * use some exisint stuff from lyxfunctional where approp.
13350         * Make file changes to use partial linking (lets test this now...)
13351
13352 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13353
13354         * Chktex.C:
13355         * buffer.C:
13356         remove #include "support/syscontr.h" as it's redundant. Always has been.
13357
13358         * Chktex.C:
13359         * LaTeX.C:
13360         * LyXSendto.C:
13361         * converter.C:
13362         * lyx_cb.C:
13363         * vc-backend.C:
13364         change Systemcalls::System to Systemcalls::Wait and
13365         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13366         No change of functionality, just reflects the stripped down Systemcalls
13367         class.
13368
13369 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13370
13371         * debug.[Ch]: add a GRAPHICS type to the enum.
13372
13373 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13374
13375         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13376
13377         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13378         there is an inset.
13379
13380 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13381
13382         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13383         match the changes below.
13384
13385         * text2.C (toggleInset): if there is not editable inset at cursor
13386         position, try to see if cursor is _inside_ a collapsable inset
13387         and close it.
13388
13389 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13390
13391         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13392         document menu has a nice checkbox
13393
13394 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13395
13396         * lyxlength.C (asLatexString): change PW to output as percent of
13397         \textwidth.
13398
13399         * lengthcommon.C: change '%' to 't%'
13400
13401         * lyxfunc.C (dispatch): a few comments from Martin
13402
13403 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13404
13405         * WorkArea.h:
13406         * WorkArea.C:
13407         * BufferView_pimpl.h:
13408         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13409           the X selection.
13410
13411 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13412
13413         * vspace.C (inPixels): fix compiler warning
13414
13415 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13416
13417         * lyxfunc.C (getStatus): fix status message for disabled commands.
13418
13419 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13420
13421         * BufferView_pimpl.C: fix crash on close buffer
13422         during selection (#227)
13423
13424 2002-01-27  Herbert Voss  <voss@lyx.org>
13425
13426         * buffer.C: link old Figure to new graphic inset
13427
13428 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13429
13430         * FontLoader.C (getFontinfo): Change the latex font names in order
13431         to match the names of type1inst.
13432
13433 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13434
13435         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13436
13437         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13438         (extchanged): ditto
13439         (ext_exist): ditto
13440         (remove_files_with_extension): ditto
13441         (remove_file): ditto
13442         (write): ditto
13443
13444         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13445         document is smaller than the work area height. Do not initialize
13446         static variables to 0.
13447
13448 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13449
13450         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13451
13452         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13453         LFUN_LAYOUT_PARAGRAPHS.
13454
13455         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13456         tabular. It is possible to provide a possible cell, which will
13457         typically be the actcell from the corresponding insettabular
13458
13459         * lyxfunc.C (getStatus): small cleanup; disable
13460         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13461         true
13462
13463 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13464
13465         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13466
13467         * paragraph.C (startTeXParParams):
13468         (endTeXParParams): new methods. The LaTeX code to
13469         start/end paragraph formatting
13470         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13471         empty (fixes bug #200)
13472
13473         * vspace.C (inPixels): adapt to the change below
13474         (inPixels): [later] more cleanups (remove unused variables)
13475
13476         * lyxlength.C (inPixels): change to use a width and a height as
13477         parameter.
13478
13479 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13480
13481         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13482         Replaced with \paperwidth
13483
13484         * DepTable.C (insert): add std:: qualifier
13485
13486 2002-01-18  Allan Rae  <rae@lyx.org>
13487
13488         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13489         updated also?
13490
13491         * text.C (drawInset): Turned out I didn't know enough about how
13492         rebreaking worked.  This fixes most of the redraw problems.  I see
13493         an occasional cursor trail when a line is broken now and the cursor
13494         placement can seem out by a few pixels also after a rebreak.
13495
13496 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13497
13498         * buffer.C (parseSingleLyXformat2Token): update because minipage
13499         width is now a LyXLength
13500
13501         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13502
13503         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13504         math insets
13505
13506 2002-01-17  Juergen Vigna  <jug@sad.it>
13507
13508         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13509
13510         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13511         is set correctly and the inset is updated correctly.
13512
13513 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13514
13515         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13516         the beginning of the loop.
13517
13518 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13519
13520         * lyxrc.C: improve help for use_scalable_fonts
13521
13522 2002-01-17  Allan Rae  <rae@lyx.org>
13523
13524         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13525
13526 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13527
13528         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13529         make sure to set their inset_owner to the right value (bug #171)
13530
13531 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13532
13533         * DepTable.h
13534         * DepTable.C: Implement mtime checking to reduce time spent doing
13535         CRCs.
13536
13537 2002-01-16  Juergen Vigna  <jug@sad.it>
13538
13539         * tabular.C (GetAdditionalHeight): one of error fixed.
13540
13541         * lyxrc.C (output): small fix in writing use_pspell.
13542
13543 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13544
13545         * sp_base.h: #include LString.h
13546
13547 2002-01-16  Allan Rae  <rae@lyx.org>
13548
13549         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13550         Can someone check this please?
13551
13552         * text.C (drawInset): It was possible that p.row would be removed by
13553         breakAgainOneRow upsetting a few other settings.  There may be another
13554         small tweak possible by setting need_break_row = 0 when p.row has been
13555         removed but I don't know enough about the logic here.
13556
13557 2002-01-15  Allan Rae  <rae@lyx.org>
13558
13559         * text.C (insertChar): removed conditional truism.
13560
13561         * BufferView2.C (removeAutoInsets): More tweaks.
13562         cur_par_prev could be a stray pointer.  Check for trailing empty line
13563         in case last line was cur_par and only had an error inset on it.
13564
13565 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13566
13567         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13568         absolute
13569
13570         * vc-backend.C (most methods):
13571         * exporter.C (Export):
13572         * converter.C (convert):
13573         (runLaTeX):
13574         * LyXSendto.C (SendtoApplyCB):
13575         * lyxfunc.C (dispatch):
13576         (menuNew):
13577         (open):
13578         (doImport):
13579         * lyx_cb.C (AutoSave):
13580         (InsertAsciiFile):
13581         * BufferView_pimpl.C (MenuInsertLyXFile):
13582         * buffer.C (runChktex): use Buffer::filePath().
13583
13584         * buffer.h: rename filename to filename_; rename filepath to
13585         filepath_ and make it private
13586         (filePath): new method
13587
13588         * buffer.C (writeFile): use fileName()
13589         (getLatexName):
13590
13591         * lyx_main.C (init): fix starting  of LyX when the binary is a
13592         link from so,ewhere else.
13593
13594         * minibuffer.C: include <cctype> for isprint
13595
13596 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13597
13598         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13599         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13600         name clash with InsetCollapsable's width function.
13601
13602 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13603
13604         * lastfiles.C: include <iterator>
13605
13606 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13607
13608         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13609         std::count.
13610
13611         * buffer.C (makeLaTeXFile): ditto.
13612         Also make loop operation more transparent.
13613
13614 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13615
13616         * ToolbarDefaults.C: remove trailing comma closing namespace.
13617
13618         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13619
13620         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13621         as in WorkArea.
13622
13623         * trans.C (Load): comment out unused variable, allowed.
13624
13625 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13626
13627         * minibuffer.[Ch] (append_char): new method to recieve input from the
13628         drop-down completion browser. If a key was pressed, then recieve this
13629         char and append it to the existing string.
13630         (peek_event): modify the positioning data passed to the completion
13631         browser so that it can be placed above the minibuffer rather than below.
13632 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13633
13634         * LyXAction.C (init): alloe error-next for readonly documents.
13635
13636         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13637         count.
13638
13639 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13640
13641         * bufferlist.C (readFile): create the buffer _after_ checking that
13642         the file exists.
13643
13644         * lyxfunc.C (verboseDispatch): fix handling of arguments
13645
13646         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13647
13648         * lyxrc.C: use string::erase() instead of initializing to "".
13649
13650
13651 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13652
13653         * BufferView_pimpl.h:
13654         * BufferView_pimpl.C:
13655         * WorkArea.h:
13656         * WorkArea.C:
13657         * text2.C: tell X when we have made a selection for copying
13658
13659 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13660
13661         * BufferView_pimpl.C (MenuInsertLyXFile):
13662         * lyxfunc.C (menuNew):
13663         (open):
13664         (doImport): add shortcuts to directory buttons
13665
13666         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13667         open a float)
13668
13669         * lyxfunc.C (setStatusMessage):
13670         (getStatusMessage): new methods
13671         (getStatus):use setStatusMessage instead of setErrorMessage
13672         (dispatch): when function is disabled, set error message here
13673         [instead of in getStatus previously]
13674
13675         * BufferView_pimpl.C (workAreaButtonRelease): update
13676         toolbar/menubar here too.
13677
13678 2002-01-13  Allan Rae  <rae@lyx.org>
13679
13680         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13681         Now seems indestructible.  Remaining task is to audit all other
13682         code affected by deleteEmptyParagraphMechanism.  One small quirk
13683         left is that an empty document with an error in the preamble can
13684         be made to report an error but no error box appears.  I don't know
13685         where it goes.
13686         (removeAutoInsets): Improved comments.
13687
13688 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13689
13690         * Thesaurus.h:
13691         * Thesaurus.C: update for Aiksaurus 0.14
13692
13693 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13694
13695         * text2.C (firstParagraph): removed member function, all uses
13696         replaces with ownerParagraph
13697         (redoParagraphs): here
13698         (updateInset): here
13699         (toggleAppendix): here
13700         * BufferView2.C (insertErrors): here
13701         (setCursorFromRow): here
13702
13703 2002-01-13  Allan Rae  <rae@lyx.org>
13704
13705         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13706         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13707         There is still a way to segfault this although you may have to do this
13708         multiple times: Have an InsetERT with an unknown command in it.
13709         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13710         <down-arrow>, <Enter> again, View->DVI, BANG!
13711
13712         * text2.C (setCursor):
13713         (deleteEmptyParagraphMechanism):
13714         * lyxtext.h (setCursor):
13715         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13716         Making use of the return value may help fix other bugs.
13717
13718 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13719
13720         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13721
13722         * LyXView.C (updateMenubar): call MenuBar::update here
13723         (updateToolbar): but not here
13724         (showState): do not update toolbar/menubar
13725
13726         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13727         should need to care about that.
13728
13729         * lyxfunc.C (verboseDispatch): simplify a bit
13730         (getStatus): have a version which takes a pseudoaction, and
13731         another which requires a (kb_action,string).
13732
13733         * LyXAction.C (retrieveActionArg): make it work also when action
13734         is not a pseudo-action.
13735         (getActionName): simplify a bit
13736         (helpText):
13737
13738 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13739
13740         * lyxfunc.C (verboseDispatch): new families of methods with
13741         several ways to specify a command and a bool to indicate whether
13742         the command name and shortcut should be displayed in minibuffer
13743         (eventually, we could extend that to a finer bitmask like
13744         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13745         (dispatch): the pristine dispatch command which just, well,
13746         dispatchs! Note it still sets its result to minibuffer; I'm not
13747         sure we want that.
13748
13749         * lyxfunc.h: remove setHintMessage
13750
13751         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13752
13753 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13754
13755         * BufferView_pimpl.C (specialChar): delete new inset if we have
13756         not been able to insert it.
13757
13758         * kbmap.C: revert to using int instead of kb_action, since all we
13759         are dealing with is pseudo-actions.
13760
13761         * LyXAction.C (searchActionArg): change to return int instead of
13762         kb_action, since the result is a pseudoaction.
13763
13764 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13765
13766         * buffer.C (insertErtContents): Fix (partially) the font bug.
13767
13768 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13769
13770         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13771         as the other one is broken on my machine!
13772
13773 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13774
13775         * commandtags.h:
13776         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13777
13778 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13779
13780         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13781         reflect their actual use. Provide compatibility code for older lyxrc
13782         files.
13783
13784         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13785         FL_NORMAL_STYLE.
13786         change names of popup font variables in line with the changes to lyxrc.C
13787
13788 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13789
13790         * buffer.C (asciiParagraph): avoid outputing a word twice after
13791         an inset.
13792
13793         * lyxrc.C (getDescription): document that document_path and
13794         template_path can be empty.
13795
13796 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13797
13798         * LaTeXFeatures.C (getMacros):
13799         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13800
13801         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13802
13803         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13804         getPackages.
13805         (getPackages): rename feature "floats" to "float". Use an array to
13806         iterate over 'simple' features (i.e. just a \usepackage). Add
13807         handling of "amsmath" (renamed from "amsstyle").
13808
13809 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13810
13811         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13812         features list.
13813
13814 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13815
13816         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13817         FuncStaus::FuncStatus & FuncStaus::some_method().
13818
13819 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13820
13821         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13822         of the func_satus stuff. Edited and massaged in various ways by
13823         JMarc.
13824
13825         * lyxfunc.C (getStatus): use FuncStatus
13826
13827 2002-01-08  Juergen Vigna  <jug@sad.it>
13828
13829         * text.C (nextBreakPoint): use function Inset::isChar().
13830
13831         * paragraph.C (TeXOnePar): use function
13832         Inset::forceDefaultParagraphs.
13833
13834         * buffer.C (latexParagraphs): use function
13835         Inset::forceDefaultParagraphs.
13836
13837 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13838
13839         * lyx_gui.C (init): set the style of the menu popups to
13840         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13841
13842 2002-01-07  Juergen Vigna  <jug@sad.it>
13843
13844         * text.C (setHeightOfRow): small fix
13845         (prepareToPrint): don't look at alignment if we don't have the place
13846         for doing it.
13847
13848 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13849
13850         * box.C: New file. Move the Box methods and functions out of box.h,
13851         following Lars' suggestion.
13852
13853 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13854
13855         * box.h: #include "support/LOstream.h", needed for inlined function.
13856
13857         * lyxtextclass.C:
13858         * lyxtextclasslist.C: added some using std declarations.
13859
13860 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13861
13862         * box.h: make signed dimensions to allow insets wider than
13863           the screen (bug #162)
13864
13865         * BufferView_pimpl.C: add some insetHit debug
13866
13867 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13868
13869         * vc-backend.C: add FIXME
13870
13871 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13872
13873         * lyxfunc.C (getStatus): enable code for showing math font status
13874         in toolbar/menu.
13875
13876 2002-01-07  Juergen Vigna  <jug@sad.it>
13877
13878         * text.C (nextBreakPoint): removed debug output not needed anymore.
13879
13880 2002-01-06  Juergen Vigna  <jug@sad.it>
13881
13882         * text.C (nextBreakPoint): fixed up this function we had this bug
13883         since ever but now hopefully we break row better.
13884         (insertChar): we have to check if an inset is the next char as it
13885         could now happen that a large inset is causing a break.
13886
13887 2002-01-05  Juergen Vigna  <jug@sad.it>
13888
13889         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13890         if it doesn't like to be drawed.
13891
13892 2002-01-04  Juergen Vigna  <jug@sad.it>
13893
13894         * BufferView2.C (lockInset): forgot to set a cursor.
13895
13896         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13897
13898 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13899
13900         * FormMathsPanel.C:
13901         * FormMathsPanel.h
13902         * MathsSymbols.C:
13903         * form_maths_panel.C:
13904         * form_maths_panel.h:
13905         * form_maths_panel.fd: implemented sub- and super- buttons in math
13906         panel.
13907
13908         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13909         (or ^ space) to be used as in TeX (req'd by André).
13910
13911         * lyxfunc.C: Allow ^ and _ again to be used both as
13912         super/subscript (mathed) and as themselves (in text).
13913
13914 2002-01-03  Allan Rae  <rae@lyx.org>
13915
13916         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13917         "LyX" or the filename of the current buffer if it has one.  This is a
13918         modified form of John Levon's patch.
13919
13920         * XFormsView.C (setWindowTitle): also set icon title.
13921
13922         * LyXView.h (setWindowTitle): signature changed.
13923         * XFormsView.h (setWindowTitle): ditto.
13924
13925 2002-01-02  Juergen Vigna  <jug@sad.it>
13926
13927         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13928
13929 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13930
13931         * screen.C (topCursorVisible): introduce a temp var for
13932         text->cursor.row(), handle the case where this row is null. (kindo
13933         hachish)
13934
13935         * text2.C (setCursor): add a couple of asserts.
13936
13937         * paragraph.h (inset_iterator): add -> operator
13938
13939         * paragraph.[Ch] (autoDeleteInsets): remove member function
13940
13941         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13942         cursor pos correctly and handle inset deletion by itself.
13943         (insertErrors): move iterator declaration out of for expression
13944
13945         * lyxtextclass.C: add <algorithm>
13946
13947         * Makefile.am: added the new files to sources, removed layout.C
13948
13949         * layout.C: removed file
13950
13951         * layout.h: remove LYX_DUMMY_LAYOUT
13952
13953         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13954         layout.
13955
13956         * lyxlayout.[Ch]:
13957         * lyxtextclass.[Ch]:
13958         * lyxtextclasslist.[Ch]: new files
13959
13960         * include order changes to a lot of files, also changes because of
13961         the six new files.
13962
13963 2001-12-27  Juergen Vigna  <jug@sad.it>
13964
13965         * buffer.C (asciiParagraph): more fixes.
13966
13967         * tabular.C (ascii): make ascii export support export of only the
13968         data separated by a column-delimiter.
13969         (ascii): better support for ascii export.
13970
13971         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13972
13973 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13974
13975         * tabular_funcs.C: use a "using std::getline" instead of the
13976         previous fix from Angus (necessary for cxx + lyxstring)
13977
13978 2001-12-24  Juergen Vigna  <jug@sad.it>
13979
13980         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13981
13982         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13983         problems. First check a minipage also if we have some ert-contents
13984         (not only on par->size(), second set the right depth of the paragraph
13985         on the relink to the root-paragraph-list!
13986
13987         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13988         which then did not anymore update the main paragraphs on undo/redo!
13989
13990 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13991
13992         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13993         code. Support all font-changing funcs (even those which are not in
13994         menu currently). Support for reporting font settings in
13995         mathed (disabled until Andre provides a function on mathed's side).
13996
13997         * func_status.h (toggle): small helper function to set toggle
13998         state on a flag.
13999
14000 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14001
14002         * tabular_funcs.C: getline -> std::getline
14003
14004 2001-12-21  Juergen Vigna  <jug@sad.it>
14005
14006         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14007         accessed and could be 0 (I couldn't generate this but it seems
14008         Michael could!).
14009
14010 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14011
14012         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14013         * tabular_funcs.h: here and include iosfwd
14014
14015 2001-12-20  Juergen Vigna  <jug@sad.it>
14016
14017         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14018         inside inset but undo_par was.
14019
14020 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14021
14022         * Thesaurus.C: always include <config.h> in sources.
14023
14024         * Painter.h:
14025         * lyxlookup.h:
14026         * box.h: do not include <config.h> in header files
14027
14028         * text.C (paintLastRow): remove unused variable
14029
14030         * text.C (transformChar):
14031         (insertChar):
14032         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14033
14034         * Painter.C (text):
14035         * font.C (width): rewrite to use uppercase() instead of
14036         islower/toupper.
14037
14038         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14039
14040 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14041
14042         * lyxfind.C: clean up of find failure position change
14043
14044 2001-12-20  Juergen Vigna  <jug@sad.it>
14045
14046         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14047
14048         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14049         (TeXRow): added to LaTeX a single tabular row.
14050         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14051         (Latex): simplified and finally good LT-h/f support.
14052         (various_functions): just small adaptions for LT-h/f support.
14053
14054         * tabular_funcs.[hC]: added and moved here all not classfunctions
14055         of LyXTabular.
14056
14057 2001-12-19  Juergen Vigna  <jug@sad.it>
14058
14059         * tabular.[Ch]: better support for longtabular options (not finished
14060         yet!)
14061
14062 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14063
14064         * text.C (paintLastRow): use the label font instead of the font of
14065         the last character to compute the size of *_BOX. This makes more
14066         sense and avoids a crash with empty paragraphs.
14067         Use Painter::rectangle to draw EMPTY_BOX.
14068
14069 2001-12-19  Juergen Vigna  <jug@sad.it>
14070
14071         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14072         the paragraphs if the replaced paragraph is not the first one!
14073         Tried to delete not used paragraphs but does not work yet so for
14074         now it's inside #ifdef's and by default off!
14075
14076 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14077
14078         * MenuBackend.C: include "lyx_main.h" instead of declaring
14079         lastfiles (actually was declared as LastFiles* instead of a
14080         scoped_ptr).
14081
14082 2001-12-17  Juergen Vigna  <jug@sad.it>
14083
14084         * tabular.C (AppendColumn): applied John's fix
14085
14086 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14087
14088         * BufferView.h:
14089         * BufferView.C:
14090         * BufferView_pimpl.h:
14091         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14092
14093         * Makefile.am:
14094         * box.h: new start of class for above
14095
14096         * lyxfunc.C: ignore space-only minibuffer dispatches.
14097           Show the command name when it doesn't exist
14098
14099         * minibuffer.C: don't add empty lines to the history
14100
14101         * minibuffer.C: add a space on dropdown completion
14102
14103 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14104
14105         * text.C: fix line above/below drawing in insets
14106
14107 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14108
14109         * lyxlength.C (LyXLength): Initialize private variables.
14110
14111 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14112
14113         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14114         when inserting error insets.
14115
14116 2001-12-13  Juergen Vigna  <jug@sad.it>
14117
14118         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14119         actually sometimes the before-paragraph.
14120         (setUndo): don't clear the redostack if we're not actually undoing!
14121
14122 2001-12-06  Juergen Vigna  <jug@sad.it>
14123
14124         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14125         and fixed redoing of main paragraph, so we can use it now ;)
14126
14127         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14128
14129 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14130
14131         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14132         Juergen's request
14133
14134 2001-12-13  André Pönitz <poenitz@gmx.net>
14135
14136         * undostack.[Ch]:
14137         * undo_func.C: minor cleanup
14138
14139 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14140
14141         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14142         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14143         font in urw-fonts package which is marked as -urw-fontspecific and
14144         does not work (incidentally, changing the encoding in the
14145         fonts.dir of this package to -adobe-fontspecific fixes the
14146         problem).
14147
14148         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14149         is a crash when undoing first paragraph (Juergen, please take a
14150         look). THis does not mean the undo fix is wrong, just that it
14151         uncovers problems.
14152
14153         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14154         the (Paragraph*) version when needed instead of duplicating the
14155         code.
14156
14157         * text.C (workWidth): use Inset::parOwner to find out where the
14158         inset has been inserted. This is a huge performance gain for large
14159         documents with lots of insets. If Inset::parOwner is not set, fall
14160         back on the brute force method
14161
14162         * paragraph_pimpl.C (insertInset):
14163         * paragraph.C (Paragraph):
14164         (cutIntoMinibuffer): set parOwner of insets when
14165         inserting/removing them
14166
14167         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14168
14169 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14170
14171         * commandtags.h:
14172         * LyXAction.C:
14173         * lyx_main.C:
14174         * lyxfunc.C:
14175         * mathed/formulabase.C:
14176         * mathed/math_cursor.[Ch]:
14177         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14178
14179
14180 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14181
14182         * lyxlength.[Ch] (operator!=): new function
14183
14184 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14185
14186         * text.C (workWidth): use Inset::parOwner to find out where the
14187         inset has been inserted. This is a huge performance gain for large
14188         documents with lots of insets. If Inset::parOwner is not set, fall
14189         back on the brute force method
14190
14191         * paragraph_pimpl.C (insertInset):
14192         * paragraph.C (Paragraph):
14193         (cutIntoMinibuffer): set parOwner of insets when
14194         inserting/removing them
14195
14196         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14197
14198 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14199
14200         * tabular-old.C (getTokenValue):
14201         * tabular.C (getTokenValue):
14202         (write_attribute): new versions for LyXLength
14203         (everywhere): adjust the use of widths
14204
14205         * tabular.h: change the type of widths from string to LyXLength
14206
14207 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14208
14209         * paragraph.C: fixed missing line number count when exporting
14210         Environments to LaTeX file
14211
14212         * buffer.C: added informational message for checking line numbers.
14213
14214 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14215
14216         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14217         paragraph, do the 'double space' part, but not the 'empty
14218         paragraph' one.
14219
14220         * text.C (workWidth): small optimization
14221         (getLengthMarkerHeight): use minimal size for negative lengths.
14222
14223 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14224
14225         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14226
14227         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14228
14229 2001-12-11  André Pönitz <poenitz@gmx.net>
14230
14231         * FontLoader.C:
14232         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14233
14234 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14235
14236         * text2.C: keep selection on a setFont()
14237
14238 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14239
14240         * lyx_cb.C: another bv->text misuse, from insert label
14241
14242 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14243
14244         * kbsequence.h:
14245         * kbsequence.C: re-instate nmodifier mask
14246
14247 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14248
14249         * lyx_main.h: make lyxGUI private.
14250
14251 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14252
14253         * lyxfind.C: place the cursor correctly on failed search
14254
14255 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14256
14257         * text.C (getLengthMarkerHeight): for small heights, the arrows
14258         are not always on top/bottom of the text
14259         (drawLengthMarker): smaller arrows; take the left margin in
14260         account; draw also vfills.
14261         (paintFirstRow):
14262         (paintLastRow): remove special code for vfill and standard spaces,
14263         since everything is handled in drawLengthMarker now.
14264
14265 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14266
14267         * buffer.C (insertErtContents): try to handle font and language
14268         interaction a bit better.g
14269
14270         * ColorHandler.C (updateColor): change the hash to cover the whole
14271         LColor enum, ws cleanup
14272         (getGCLinepars): ditto
14273         (getGCLinepars): only lookup in the linecache once.
14274
14275 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14276
14277         * iterators.C (operator++): Make the iterator more robust
14278
14279         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14280         (John's patch)
14281         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14282
14283 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14284
14285         * lyxtext.h:
14286         * text.C: better added space drawing
14287
14288 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14289
14290         * LyXView.C:
14291         * BufferView2.C: fix layout combo update on inset unlock
14292
14293 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14294
14295         * Makefile.am: don't compile unused files
14296
14297 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14298
14299         * lyxfunc.C:
14300         * commandtags.h:
14301         * LyXAction.C: remove old LFUN_LAYOUTNO
14302
14303 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14304
14305         * paragraph_pimpl.h:
14306         * paragraph_pimpl.C: isTextAt() doesn't need font param
14307
14308 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14309
14310         * lyxlex.h:
14311         * lyxlex.C: little cleanup
14312
14313 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14314
14315         * BufferView_pimpl.C: fix insertAscii for insets
14316
14317 2001-12-05  Juergen Vigna  <jug@sad.it>
14318
14319         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14320         set the right font on the "multi" paragraph paste!
14321
14322 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14323
14324         * trans_decl.h:
14325         * trans_mgr.[Ch]:
14326         * trans.[Ch]:
14327         * lyxgluelength.C:
14328         * lyxlength.C: remove out-commented code.
14329
14330         * BufferView_pimpl:
14331         * CutAndPaste.C:
14332         * DepTable.C:
14333         * buffer.C:
14334         * chset.C:
14335         * lastfiles.C:
14336         * lyxlex.C:
14337         * lyxlex_pimpl.C:
14338         * lyxserver.C:
14339         * screen.C:
14340         * tabular-old.C:
14341         * tabular.C:
14342         * text.C:
14343         * trans_mgr.C:
14344         * vc-backend.C: change "while(" to "while ("
14345
14346         * lyxlength.[Ch]: add zero function to check if length is zero or
14347         not
14348         * lyxgluelength.C: use it
14349
14350 2001-12-05  Allan Rae  <rae@lyx.org>
14351
14352         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14353         Works for 2.95.3, from what I understand of Garst's reports this should
14354         work for other g++ versions.  We're screwed if the abs(int) definition
14355         changed between bugfix releases of gcc.
14356
14357 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14358
14359         * text.C: fix chapter label offset !
14360
14361 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14362
14363         * lyxtext.h:
14364         * text.C: fix hfill at end of line, clean up
14365
14366 2001-12-04  Juergen Vigna  <jug@sad.it>
14367
14368         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14369         that we force an update of the inset and it's owners if neccessary.
14370
14371 2001-12-03  Juergen Vigna  <jug@sad.it>
14372
14373         * text.C (rowLast): simplified code
14374
14375 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14376
14377         * lyxfunc.C: fix show options on timeout
14378
14379 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14380
14381         * screen.C (topCursorVisible): scroll half a page when the cursor
14382         reached top of bottom of screen
14383
14384 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14385
14386         * minibuffer.C: deactivate on loss of focus
14387
14388 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14389
14390         * vspace.[Ch] (operator!=): add operator.
14391
14392 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14393
14394         * BufferView_pimpl.C: refuse to open an inset when
14395         there's a selection.
14396
14397 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14398
14399         * BufferView_pimpl.C: allow to click on RHS of full row insets
14400
14401 2001-11-30  Juergen Vigna  <jug@sad.it>
14402
14403         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14404         insets for undo reasons.
14405
14406 2001-11-28  André Pönitz <poenitz@gmx.net>
14407
14408         * vspace.[Ch]: cosmetical changes
14409
14410 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14411
14412         * LyXAction.h:
14413         * LyXAction.C:
14414         * lyxfunc.h:
14415         * lyxfunc.C:
14416         * kbmap.h:
14417         * kbmap.C:
14418         * lyxrc.C:
14419         * kbsequence.h:
14420         * kbsequence.C: part re-write of old kb code
14421
14422         * Painter.C:
14423         * WorkArea.C: remove Lgb_bug_find_hack
14424
14425 2001-11-30  José Matos <jamatos@fep.up.pt>
14426
14427         * buffer.C (makeDocBookFile): add a comment to point a hack.
14428         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14429         Fixed a double write of labels.
14430
14431 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14432
14433         * LaTeX.C:
14434         * LaTeX.h Fixed bug in LaTeX class where it would not
14435         re-run latex if no depfiles were changed, but the .dvi was removed.
14436
14437 2001-11-28  André Pönitz <poenitz@gmx.net>
14438
14439         * all the files from the change on 2001/11/26:
14440         use lyx::layout_type instead of LyXTextClass::size_type
14441         use lyx::textclass_type instead of LyXTextClassList::size_type
14442
14443 2001-11-29  Juergen Vigna  <jug@sad.it>
14444
14445         * text.C: added support for paragraph::isFreeSpacing()
14446
14447         * buffer.C: same as above
14448
14449         * paragraph.h: inserted isFreeSpacing() function to enable
14450         FreeSpacing inside InsetERT.
14451
14452         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14453         of the paragraph's in the cut/copy buffer to 0!
14454
14455         * text2.C (removeRow): remove the assert as it can!
14456
14457         * lyxtext.h: added helper function firstRow returning firstrow and
14458         made firstrow private again.
14459
14460         * BufferView2.C (lockInset): don't relock if we're already locked!
14461
14462         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14463         the only paragraph.
14464         (removeRow): added Assert::(firstrow)
14465
14466         * debug.C: forgot to add INSETTEXT here.
14467
14468 2001-11-28  Juergen Vigna  <jug@sad.it>
14469
14470         * sp_spell.C (initialize): changed error text to more general
14471         spellchecker command use (not only ispell!)
14472
14473         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14474
14475         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14476
14477 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14478
14479         * vspace.C: initialise lyxgluelength on failure
14480
14481 2001-11-28  Allan Rae  <rae@lyx.org>
14482
14483         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14484         declaration & definition that looks like a function declaration.
14485
14486 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14487
14488         * BufferView2.C (copy):
14489         (copyEnvironment): do not clear the selection when doing a copy.
14490
14491         * text.C (paintFirstRow): compilation fix
14492
14493 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14494
14495         * tabular.C (Latex): correct line count when writing latex.
14496
14497 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14498
14499         * paragraph_pimpl.h:
14500         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14501           bug a bit
14502
14503 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14504
14505         * text.C:
14506         * LColor.h:
14507         * LColor.C: change vfillline->added_space
14508
14509         * text.C: add markers and text for added space
14510
14511         * vspace.C: fix comment
14512
14513 2001-11-28  André Pönitz <poenitz@gmx.net>
14514
14515         * paragraph.C: whitespace changes
14516         * all the other files from the change on 2001/11/26:
14517         change *::pos_type into lyx::pos_type
14518
14519 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14520
14521         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14522         language of the document when inserting error insets.
14523
14524 2001-11-26  André Pönitz <poenitz@gmx.net>
14525
14526         * BufferView_pimpl.[Ch]:
14527         *       CutAndPaste.C:
14528         * buffer.[Ch]:
14529         * lyxcursor.[Ch]:
14530         * lyxfind.C:
14531         * lyxfunc.C:
14532         * lyxrow.[Ch]:
14533         * paragraph.[Ch]:
14534         * paragraph_pimpl.[Ch]:
14535         * sp_spell.C:
14536         * text.C:
14537         * text2.C: reduce header dependencies, introduce type for positions
14538
14539 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14540
14541         * <various>: change to use Alert.h
14542
14543 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14544
14545         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14546         when encountering an unknown token.
14547         (readLyXformat2): Show an error message if there were unknown tokens.
14548
14549 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14550
14551         * BufferView2.C:
14552         * BufferView_pimpl.C:
14553         * buffer.C:
14554         * paragraph.h:
14555         * text.C:
14556         * text2.C: use par->isInset()
14557
14558 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14559
14560         * paragraph_pimpl.h:
14561         * paragraph_pimpl.C: cleanup
14562
14563 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14564
14565         * text2.C (removeRow):
14566         * text.C (setHeightOfRow): remove useless (and costly) call to
14567         getRow.
14568
14569 2001-11-20  Allan Rae  <rae@lyx.org>
14570
14571         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14572         Now need Inset*::checkInsertChar() to return true for appropriate
14573         cases so that the characters in the minibuffer will actually be
14574         inserted.
14575
14576 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14577
14578         * text.C: change the order of the includes.
14579         (workWidth): initialize it at once.
14580         (workWidth): make maxw unsigned
14581         (setHeightOfRow): remove unused variable (inset)
14582         (selectSelectedWord): remove unused variable (inset)
14583         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14584
14585 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14586
14587         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14588         server is not running.
14589         (openConnection):
14590         (closeConnection): add debug info when server is disabled.
14591
14592         * ColorHandler.C (getGCForeground): send debug message to GUI
14593         channel.
14594
14595         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14596
14597         * kbmap.C (bind): modify because return conventions of
14598         kb_sequence::parse have changed.
14599
14600         * kbsequence.C (parse): only ignore spaces and not any stupid
14601         control character. This avoids tests like s[i] <= ' ', which are
14602         guaranteed to fail with 8bit characters and signed chars.
14603         Change return code to string::npos when there have been no error
14604         (0 was a bad idea when error is at first character)
14605
14606 2001-11-14  José Matos  <jamatos@fep.up.pt>
14607
14608         * buffer.h:
14609         * buffer.C (simpleDocBookOnePar): removed unused argument.
14610
14611 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14612
14613         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14614         insets which are part of a word. Paragraph::isLetter takes care of
14615         that now. Use Paragraph::isInset to identify insets.
14616         (selectSelectedWord): do not test for hyphenation break.
14617
14618         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14619         that protected spaces are considered as spaces.
14620
14621         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14622         Inset::isLetter.
14623
14624 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14625
14626         * lyxserver.h:
14627         * lyxserver.C: fix it. and small cleanup.
14628
14629 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14630
14631         * BufferView_pimpl.C: use inline helpers
14632
14633         * LaTeXFeatures.h:
14634         * LaTeXFeatures.C: fix typos
14635
14636         * Spacing.h:
14637         * Spacing.C: move spacing_string into class
14638
14639         * ToolbarDefaults.C: move stuff into namespace anon
14640
14641         * layout.h: update enum
14642
14643         * lyxfunc.C: use better debug
14644
14645         * minibuffer.h: fix typo
14646
14647         * debug.h:
14648         * debug.C:
14649         * WorkArea.C: add and use Debug::WORKAREA
14650
14651         * lyxtext.h:
14652         * text.C:
14653         * text2.C: code re-organisation, inline helpers
14654
14655 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14656
14657         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14658         std::vector.empty().
14659
14660 2001-11-09  Allan Rae  <rae@lyx.org>
14661
14662         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14663         '\n's after tables.  Tabular and ERT inset work now makes this no
14664         longer necessary.
14665
14666 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14667
14668         * minibuffer.h:
14669         * minibuffer.C: fix crash, improve drop-down completion
14670
14671 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14672
14673         * lyxserver.h:
14674         * lyxserver.C: invalidate fd's when doing endPipe()
14675
14676 2001-11-08  José Matos  <jamatos@fep.up.pt>
14677
14678         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14679         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14680
14681         * paragraph.h:
14682         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14683
14684 2001-11-07  José Matos  <jamatos@fep.up.pt>
14685
14686         * buffer.h:
14687         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14688         const qualifier.
14689
14690         * buffer.C (sgmlOpenTag):
14691         * buffer.C (sgmlCloseTag): removed debug info.
14692
14693         * buffer.h (sgmlOpenTag):
14694         * buffer.h (sgmlCloseTag): made public.
14695
14696 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14697
14698         * buffer.C (saveParamsAsDefaults):
14699         * lyx_cb.C (MenuLayoutSave): remove
14700
14701         * LyXAction.C (init):
14702         * commandtags.h:
14703         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14704
14705 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14706
14707         * buffer.C (setPaperStuff): removed from here...
14708
14709         * bufferparams.C (setPaperStuff): ... and moved there.
14710
14711 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14712
14713         * minibuffer.h:
14714         * minibuffer.C:
14715         * XFormsView.C: add support for drop-down completion
14716
14717 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14718
14719         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14720         commands.
14721
14722 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14723
14724         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14725         disabled.
14726
14727 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14728
14729         * lyx_main.C: change ref to known bugs
14730
14731 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14732
14733         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14734         to work around older babel problems.
14735
14736 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14737
14738         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14739
14740 2001-10-24  Juergen Vigna  <jug@sad.it>
14741
14742         * tabular-old.C (ReadOld): below variable changes reflected.
14743
14744         * tabular.[Ch]: added ltType struct for longtable header/footer
14745         defines and changed all instances where they are used. Added
14746         future support for double top/bottom rows.
14747
14748 2001-10-24  José Matos  <jamatos@fep.up.pt>
14749
14750         * buffer.h (docbookHandleCaption):
14751         * buffer.C (docbookHandleCaption): removed unused function.
14752         (makeDocBookFile): moved docbook supported version to v4.1.
14753
14754 2001-10-24  José Matos  <jamatos@fep.up.pt>
14755
14756         * tabular.h:
14757         * tabular.C (docbookRow): new function to export docbook code of a row.
14758         (DocBook): now honors the longtable flags.
14759
14760 2001-10-23  José Matos  <jamatos@fep.up.pt>
14761
14762         * LaTeXFeatures.h:
14763         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14764         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14765
14766         * buffer.C (makeLinuxDocFile):
14767         (makeDocBookFile): reworked the preamble, more clean, and with
14768         support for lyx defined entities. Changed the document declaration
14769         to be more XML friendly.
14770
14771         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14772         if we need to output XML that should be done with a filter.
14773
14774 2001-10-22  Juergen Vigna  <jug@sad.it>
14775
14776         * sp_pspell.h (class PSpell): add alive function needed in the
14777         controller to see if the spellchecker could be started.
14778
14779 2001-10-22  Juergen Vigna  <jug@sad.it>
14780
14781         * buffer.C (insertStringAsLines): modify the font for inserting
14782         chars in certain conditions by calling checkInsertChar(font).
14783
14784 2001-10-19  Juergen Vigna  <jug@sad.it>
14785
14786         * text.C (workWidth): use getRow instead of wrong algorithm.
14787         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14788
14789 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14790
14791         * lyxserver.h:
14792         * lyxserver.C:
14793         * lyx_main.h:
14794         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14795
14796 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14797
14798         * text.C (workWidth): do not search for the exact row when
14799         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14800         optimization for big documents.
14801
14802 2001-10-18  Juergen Vigna  <jug@sad.it>
14803
14804         * text.C (workWidth): new function with added Inset * parameter.
14805
14806 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14807
14808         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14809
14810         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14811         change return type of getColumnNearX.
14812
14813
14814         * text.C (changeRegionCase): use uppercase/lowercase instead of
14815         toupper/tolower.
14816         (leftMargin):
14817         (rightMargin): simplify code by factoring out the uses of
14818         textclasslist.
14819         (labelFill):
14820         (numberOfHfills):
14821         (setHeightOfRow):
14822         (appendParagraph): use Paragraph::size_type
14823
14824 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14825
14826         * vspace.C (asLatexString): add a missing break
14827
14828 2001-10-15  Herbert Voss  <voss@perce.de>
14829
14830         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14831
14832 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14833
14834         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14835         is not available.
14836
14837 2001-10-10  André Pönitz <poenitz@gmx.net>
14838
14839         * lyxfunc.C: removed greek_kb_flag.
14840
14841 2001-10-10  Herbert Voss  <voss@perce.de>
14842
14843         * lyx_main.C: delete global string help_lyxdir.
14844
14845 2001-10-09  Herbert Voss  <voss@perce.de>
14846
14847         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14848
14849         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14850
14851         * lyx_main.C: added global string help_lyxdir.
14852
14853         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14854
14855 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14856
14857         * lyxrc.C (set_font_norm_type): support iso8859-4
14858
14859 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14860
14861         * LaTeX.C (deplog): add another regex for MikTeX
14862
14863 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14864
14865         * lyxrc.C (set_font_norm_type): support iso8859-3
14866
14867 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14868
14869         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14870
14871         * LaTeXFeatures.C: remove special case of french and index
14872
14873         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14874         before \begin{document}). This solves several incompatibilities.
14875
14876 2001-10-03  Garst Reese  <reese@isn.net>
14877
14878         * lyx_cb.C: change CheckTex error msg.
14879
14880 2001-10-03  José Matos  <jamatos@fep.up.pt>
14881
14882         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14883
14884 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14885
14886         * .cvsignore: update
14887
14888         * lyx_main.C (commandLineVersionInfo): use new style version info.
14889
14890         * buffer.C (writeFile):
14891         (makeLaTeXFile):
14892         (makeLinuxDocFile):
14893         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14894
14895         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14896
14897         * version.h: update to use stuff in version.C
14898
14899         * version.C.in: new file. Contains version information determined
14900         at compile time. This is a merging of version.h and
14901         version_info.h.in.
14902
14903 2001-10-03  Juergen Vigna  <jug@sad.it>
14904
14905         * BufferView_pimpl.C (update): don't change "dirty" status in
14906         updateInset call.
14907
14908 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14909
14910         * WorkArea.C (c-tor): re-position version string slightly.
14911
14912 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14913
14914         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14915         revert to previous code.
14916
14917         WorkArea.[Ch]: (show, destroySplash): methods removed.
14918
14919         WorkArea.C: rework code so that it's an amalgam of the codes before and
14920         after the splash screen was moved to WorkArea.
14921
14922 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14923
14924         * lyxrc.C (read):
14925         * vspace.C (inPixels):
14926         (lyx_advance):
14927         * kbmap.C (bind):
14928         * buffer.C (insertStringAsLines):
14929         (asciiParagraph): fix types to be large enough
14930
14931         * lyxlex_pimpl.h: change member status from short to int
14932
14933         * layout.h: fix type of endlabeltype
14934
14935         * kbmap.C (bind):
14936         * kbsequence.C (parse): change return type to string::size_type
14937
14938         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14939         variable
14940
14941         * Bullet.C (bulletSize):
14942         (bulletEntry): do not use short ints as parameters
14943
14944         * BufferView2.C (insertLyXFile): change a char to an int.
14945
14946         * WorkArea.C (WorkArea): remove unneeded floats in computation
14947
14948 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14949
14950         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14951
14952         * paragraph.C (asString): Do not ignore newline/hfill chars when
14953         copying to the clipboard.
14954
14955 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14956
14957         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14958         after a multi-line inset.
14959
14960 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14961
14962         * paragraph.C (validate): Set NeedLyXFootnoteCode
14963
14964 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14965
14966         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14967         and decrease-error to decrease.
14968
14969 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14970
14971         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14972         it more readable (should be equivalent)
14973
14974 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14975
14976         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14977
14978 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14979
14980         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14981         of a cursor (row, etc.) after a character has been deleted
14982         (deleteEmptyParagraphMechanism): call the method above on _all_
14983         cursors held by the LyXText when a double space has been
14984         detected/deleted.
14985
14986 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14987
14988         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14989         pixmap.
14990         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14991
14992         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14993         background. Use greyOut() and the new show() methods to toggle between
14994         the foreground and background. Add code to remove the splash after
14995         its initial showing.
14996
14997         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14998         (create_forms): no longer call Dialogs::showSplash.
14999
15000 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15001
15002         * .cvsignore: add version_info.h
15003
15004 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15005
15006         * version_info.h.in: new file
15007
15008         * Makefile.am: add version_info.h.in
15009
15010         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15011         version_info.h instead of VERSION_INFO
15012
15013 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15014
15015         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15016         The ERT inset now returns string().
15017
15018 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15019
15020         * lyxtext.h, text.C (selectNextWord): renamed as
15021         selectNextWordToSpellcheck.
15022
15023         * text.C (selectNextWordToSpellcheck): Modified to not select
15024         words inside an ERT inset.
15025
15026 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15027
15028         * lyx_cb.C (MenuLayoutSave): change a bit the question
15029
15030         * sp_base.h: include <sys/types.h>
15031
15032 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15033
15034         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15035
15036 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15037
15038         * several files: fix typos in user-visible strings
15039
15040 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15041
15042         * text2.C (pasteSelection): do not set the selection, since it
15043         will be cleared later. Actually, the intent was to fix the way the
15044         selection was set, but I figured rmoving the code was just as good.
15045
15046 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15047
15048         * FontLoader.C (available): Check if font is available without
15049         loading the font.
15050
15051 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15052
15053         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15054
15055 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15056
15057         * lyxrc.[Ch]: added display_graphics variable and associated code.
15058
15059 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15060
15061         * bufferparams.C (hasClassDefaults): new method. Returns true if
15062         the buffer parameters correspond to known class defaults
15063
15064 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15065
15066         * XFormsView.C (show): set minimum size to the main window.
15067
15068 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15069
15070         * text2.C (copySelection):
15071         (cutSelection):
15072         * lyxfind.C (LyXReplace):
15073         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15074         LyXText::selectionAsString.
15075
15076         * paragraph.C (asString): add "label" argument to the second form
15077
15078         * text2.C (selectionAsString): add "label" argument and pass it to
15079         Paragraph::asString.
15080
15081 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15082
15083         * lyx_main.C (commandLineHelp): remove version information
15084
15085 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15086
15087         * lyx_main.C: add -version commandline option
15088
15089 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15090
15091         * paragraph.h: make the optional constructor arg required instead.
15092         some modifications to other files because of this.
15093
15094         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15095
15096         * lyxserver.C (C_LyXComm_callback): make it static
15097
15098         * lyx_main.C (error_handler): make it static
15099
15100         * lyx_gui.C (LyX_XErrHandler): make it static
15101
15102         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15103
15104         * WorkArea.C: make the extern "C" methods static.
15105
15106         * Makefile.am (lyx_LDADD): simplify
15107
15108 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15109
15110         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15111         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15112
15113         * LyXAction.C (init):
15114         * lyxfunc.C (dispatch): associated code removal.
15115
15116 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15117
15118         * lyxfont.h (isSymbolFont): shut off warning
15119
15120         * text.C (setHeightOfRow):
15121         (getVisibleRow): fix crash with empty paragraphs which have a
15122         bottom line
15123
15124 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15125
15126         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15127         code.
15128
15129 2001-09-04  José Matos  <jamatos@fep.up.pt>
15130         * buffer.C
15131         * buffer.h
15132         * tabular.C (docbook): rename docBook method to docbook.
15133
15134 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15135
15136         * Makefile.am: add dependencies to main.o.
15137
15138 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15139
15140         * FontLoader.C (available): Return false if !lyxrc.use_gui
15141
15142 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15143
15144         * FontInfo.C (query):
15145         * converter.C (view):
15146         * importer.C (Import):
15147         * exporter.C (Export): Can not -> cannot.
15148
15149 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15150
15151         * BufferView_pimpl.C: allow to create index inset even if
15152           string is empty
15153
15154 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15155
15156         * buffer.C (getLists): replace boost::tie code with an explicit pair
15157         as boost::tie can break some compilers.
15158
15159         * iterators.h: Added a std:: declaration to the return type of
15160         ParIterator::size.
15161
15162 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15163
15164         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15165           case.
15166
15167 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15168
15169         * iterators.[Ch]: New files. Provide paragraph iterators.
15170
15171         * buffer.C (changeLanguage): Use paragraph iterators.
15172         (isMultiLingual): ditto
15173
15174         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15175
15176 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15177
15178         * FontLoader.C: Support for cmr font.
15179
15180 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15181
15182         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15183         (available): New method.
15184
15185         * FontInfo.C (getFontname): Use scalable fonts even when
15186         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15187         found.
15188
15189 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15190
15191         * converter.C (Formats::view): reverted! Incorrect fix.
15192
15193 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15194
15195         * converter.C (Formats::view): only output the -paper option
15196         if the dvi viewer is xdvi, thereby fixing bug #233429.
15197
15198 2001-08-23  Herbert Voss  <voss@perce>
15199
15200         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15201
15202 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15203
15204         * Spacing.h (Spacing): Set space to Default on in the default
15205         constructor.
15206
15207 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15208
15209         * vc-backend.h (RCS::versionString): add RCS to version
15210         (CVS::versionString): add CVS to version
15211
15212         * vc-backend.C (scanMaster): do not add CVS to version.
15213         (scanMaster): do not add RCS to version
15214
15215         * lyxvc.C (versionString): new method
15216
15217         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15218
15219 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15220
15221         * Spacing.C (set): initialize fval
15222
15223 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15224
15225         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15226         " or \.
15227
15228 2001-08-16  Juergen Vigna  <jug@sad.it>
15229
15230         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15231
15232 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15233
15234         * BufferView_pimpl.C:
15235         * figureForm.C:
15236         * lyxtext.h:
15237         * text2.C: setParagraph takes linespacing now
15238
15239 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15240
15241         * LyxAction.C: add internal LFUN_CITATION_INSERT
15242
15243         * LyXView.C: actually apply fix
15244
15245         * bufferlist.C: fix open non-existent file
15246
15247         * lyxfind.C: fix indentation
15248
15249         * lyxfunc.C: remove unneeded assert, fix typo
15250
15251 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15252
15253         * MenuBackend.C: use "Floatname List"
15254
15255 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15256
15257         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15258         when converting LaTeX layout to insetERT.
15259         Generate a non-collapsed float when reading old float
15260
15261 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15262
15263         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15264         ERT insets.
15265
15266 2001-08-13  Juergen Vigna  <jug@sad.it>
15267
15268         * text.C (fill): return 0 instead of 20 as this seems to be the more
15269         correct value.
15270
15271 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15272
15273         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15274         lyxrc.font_norm.
15275
15276 2001-08-13  Juergen Vigna  <jug@sad.it>
15277
15278         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15279         casesensitive off.
15280         (SearchBackward): comment out the unlocking of the inset_owner this
15281         should not be needed!
15282
15283 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15284
15285         * Many files: Remove inherit_language, and add latex_language
15286
15287         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15288         collapsible insets.
15289
15290 2001-08-10  Juergen Vigna  <jug@sad.it>
15291
15292         * text.C (prepareToPrint): fixed hfill-width in draw!
15293
15294         * BufferView2.C (selectLastWord): save the selection cursor as this
15295         now is cleared in the function LyXText::clearSelection!
15296
15297 2001-08-08  Juergen Vigna  <jug@sad.it>
15298
15299         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15300         BACKSPACE type functions.
15301
15302         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15303         is only cutted from the document but not put in the cut-buffer, where
15304         still the old stuff should be.
15305
15306         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15307
15308         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15309
15310         * tabular.C (SetWidthOfCell): fixed special case where the width
15311         was not updated!
15312         (LeftLine): handle '|' in align_special.
15313         (RightLine): ditto
15314         (LeftAlreadyDrawed): ditto
15315         (SetWidthOfCell): ditto
15316
15317 2001-08-07  Juergen Vigna  <jug@sad.it>
15318
15319         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15320
15321 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15322
15323         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15324         * lyxlex.[hC]: ditto
15325
15326 2001-08-06  Juergen Vigna  <jug@sad.it>
15327
15328         * text.C (getVisibleRow): fix up row clearing a bit.
15329
15330 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15331
15332         * minibuffer.C: make sure the X server sees the changes in the input.
15333
15334 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15335
15336         * paragraph.C (getFont): split into...
15337         (getLabelFont): this
15338         (getLayoutFont): and this
15339         * paragraph_pimpl.C (realizeFont): calling this
15340
15341         * text2.C (getFont): split into...
15342         (getLayoutFont): this
15343         (getLabelFont): and this
15344         (realizeFont): all three calling this
15345
15346         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15347         files where used.
15348
15349 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15350
15351         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15352
15353 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15354
15355         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15356         layouts from the Quote inset insertion.
15357
15358 2001-08-03  Juergen Vigna  <jug@sad.it>
15359
15360         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15361
15362         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15363         only if status not is already CHANGED_IN_DRAW (second level).
15364
15365         * text.C (draw): don't set the need_break_row when inside an
15366         InsetText LyXText.
15367
15368 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15369
15370         * buffer.C (parseSingleLyXformat2Token): handle more latex
15371         conversion cases.
15372
15373         * bufferview_funcs.[hC]: change function names to
15374         begin with small char, adjust other files.
15375
15376 2001-08-02  André Pönitz <poenitz@gmx.net>
15377
15378         * lyxfunc.C:
15379         BufferView_pimpl.C: remove broken special code for math-greek
15380
15381 2001-08-02  Juergen Vigna  <jug@sad.it>
15382
15383         * BufferView_pimpl.C (update): redone this function so that we
15384         update the text again if there was a CHANGE_IN_DRAW.
15385
15386         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15387         (drawFromTo): added a new internal bool which is used by draw() and
15388         redraw() function.
15389         (general): some cursor drawing problems fixed.
15390
15391 2001-08-01  Juergen Vigna  <jug@sad.it>
15392
15393         * lyxfind.C (LyXFind): fixed
15394         (SearchForward): ditto
15395         (SearchBackward): ditto
15396
15397         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15398         spurius drawing of the cursor in the main area.
15399
15400         * text2.C (status): small fix which could lead to a segfault!
15401         (clearSelection): remove unneeded BufferView param.
15402
15403 2001-08-01  André Pönitz <poenitz@gmx.net>
15404
15405         * lyxfunc.C: small change due to changed mathed interface
15406
15407 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15408
15409         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15410
15411 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15412
15413         * lyxfunc.c: fail gracefully if file doesn't exist
15414
15415         * LyXSendto.C:
15416         * buffer.C:
15417         * lyxfunc.C:
15418         * BufferView_pimpl.C: IsDirWriteable() proto changed
15419
15420         * LyXView.C: fix updateWindowTitle() to store the last title
15421
15422 2001-07-31  Juergen Vigna  <jug@sad.it>
15423
15424         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15425         the font (wrong since using of Paragraph::highestFontInRange).
15426
15427         * paragraph.C (highestFontInRange): added a default_size parameter.
15428
15429         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15430         (setHeightOfRow): reformat
15431
15432 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15433
15434         * converter.[hC] + affected files: move to (inital-char)lowercase
15435         function names.
15436
15437         * ParagraphParameters.C (ParagraphParameters): remove commented code
15438
15439         * PainterBase.[Ch]: remove commented code
15440
15441         * LaTeXFeatures.h: add "bool floats" for float.sty
15442
15443         * LaTeXFeatures.C (LaTeXFeatures): init floats
15444         (require): handle float
15445         (getPackages): do it with floats
15446
15447 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15448
15449         * BufferView_pimpl.C (Dispatch): improve handling of
15450         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15451
15452         * commandtags.h: #include lyxfont.h here temporarily to avoid
15453         keybinding bug.
15454
15455         * bufferlist.h: include LString.h here.
15456
15457 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15458
15459         * text2.C (getStringToIndex): new method.
15460
15461 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15462
15463         * *: Reduced header file dependencies all over.
15464
15465 2001-07-30  Baruch Even  <baruch@lyx.org>
15466
15467         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15468
15469 2001-07-29  Baruch Even  <baruch@lyx.org>
15470
15471         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15472
15473 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15474
15475         * ParameterStruct.h (endif): add a default constructor to make
15476         sure that all variables is initialized.
15477
15478         * ParagraphParameters.C (ParagraphParameters): adjust
15479
15480 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15481
15482         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15483         index; also, check that there is something to index, and that it
15484         does not span over several paragraphs.
15485         (doubleClick): use WHOLE_WORD_STRICT for double click.
15486
15487         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15488
15489         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15490         scheme.
15491
15492 2001-07-26  Baruch Even  <baruch@lyx.org>
15493
15494         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15495         an InsetFig figure, backwards compatible reading of old figure code.
15496
15497 2001-07-27  Juergen Vigna  <jug@sad.it>
15498
15499         * text2.C: font.realize function adaption.
15500
15501         * text.C (draw): add a warnings lyxerr text if needed.
15502
15503         * layout.C: font.realize function adaption.
15504
15505         * language.C: add inherit_language and implement it's handlings
15506
15507         * bufferview_funcs.C (StyleReset): remove language parameter from
15508         font creation (should be language_inherit now).
15509
15510         * bufferparams.C (writeFile): handle ignore_language.
15511
15512         * paragraph.C (getFontSettings): the language has to be resolved
15513         otherwise we have problems in LyXFont!
15514
15515         * lyxfont.C (lyxWriteChanges): added document_language parameter
15516         (update): removed unneeded language parameter
15517
15518         * paragraph.C (validate): fixed wrong output of color-package when
15519         using interface colors for certain fonts in certain environments,
15520         which should not seen as that on the final output.
15521
15522 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15523
15524         * BufferView_pimpl.C:
15525         * Thesaurus.h:
15526         * Thesaurus.C:
15527         * Makefile.am:
15528         * commandtags.h:
15529         * LyXAction.C: add thesaurus support
15530
15531         * lyxfind.h:
15532         * lyxfind.C: add "once" parameter, for thesaurus, to not
15533           move to the next match
15534
15535 2001-07-26  Juergen Vigna  <jug@sad.it>
15536
15537         * lyxfont.C (realize): honor ignore_language too!
15538         (resolved): ditto.
15539
15540         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15541
15542         * text.C (draw): one place more for ignore_language to not draw
15543         itself!
15544
15545 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15546
15547         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15548
15549 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15550
15551         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15552         the minipage conversion problem.
15553
15554 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15555
15556         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15557         insert an inset.
15558
15559 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15560
15561         * BufferView.h: don't forward declare WorkArea
15562
15563         * BufferView.C: don't include WorkArea.h
15564
15565 2001-07-25  André Pönitz <poenitz@gmx.net>
15566
15567         * commandtags.h:
15568         * LyXAction.C:
15569         * lyxfunc.C:  new LFUN 'math-space'
15570
15571         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15572
15573 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15574
15575         * text2.C (toggleInset): call open/close
15576
15577 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15578
15579         * lyxfunc.C (dispatch): add debug for the disabled case
15580
15581         * font.C (buttonText): make similar to rectText
15582
15583         * buffer.C (readInset): comment out parsing of insetlist and
15584         insttheorem
15585
15586         * PainterBase.C (rectText): small correction
15587
15588         * BufferView_pimpl.C: comment out insettheorem and insetlist
15589         * LyXAction.C: ditto
15590         * commandtags.h: ditto
15591
15592 2001-07-24  Juergen Vigna  <jug@sad.it>
15593
15594         * text.C (draw): honor the ignore_language.
15595
15596         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15597
15598 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15599
15600         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15601         char inset.
15602
15603 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15604
15605         * lyxtext.h: remove unused (and unimplemented) methods
15606
15607 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15608
15609         * text.C (getVisibleRow): honor background color
15610
15611         * PainterBase.h:
15612         * Painter.h: remove default color argument for fillRectangle
15613
15614         * text.C (backgroundColor): new method
15615
15616 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15617
15618         * text.C (getVisibleRow): adjust
15619
15620         * font.[Ch] (rectText): new method, metrics
15621         (buttonText): new method, metrics
15622
15623         * PainterBase.[hC]: make rectText and buttonText always draw and take
15624         fewer paramteres.
15625
15626 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15627
15628         * ToolbarDefaults.C (read):
15629         * MenuBackend.C (read): allow escaping in all strings
15630
15631         * BufferView_pimpl.C (insertAndEditInset): new method.
15632         (Dispatch): use insertAndEditInset whenever appropriate.
15633
15634         * BufferView_pimpl.C (insertNote): removed
15635
15636         * BufferView_pimpl.C (smartQuote): new method, moved from
15637         BufferView; if an insetquote cannot be inserted, insert a '"'
15638         character instead.
15639
15640         * BufferView2.C: remove insertCorrectQuote();
15641
15642         * lyxfunc.C (getStatus): Add support for all remaingin
15643         inset-insert lfuns.
15644
15645         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15646
15647         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15648         command (necessary to pass " as parameter of self-insert.
15649
15650         * text.C (selectWordWhenUnderCursor):
15651         (selectWord): add word_location parameter
15652         (selectWordWhenUnderCursor): same + remove special code for word
15653         boundary.
15654         (selectNextWord): use kind() to guess type of insetspecialchar,
15655         not latex().
15656
15657         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15658         (insertErtContents): create ert insets as collapsed.
15659         (readInset): better compatibility code for Info inset.
15660
15661 2001-07-20  Juergen Vigna  <jug@sad.it>
15662
15663         * lyxfunc.C (dispatch): use always LyXFind now!
15664
15665         * text2.C (init): add a reinit flag so that the LyXText can be
15666         reinited instead of deleted and reallocated (used in InsetText).
15667
15668         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15669
15670         * text.C: ditto
15671
15672         * text2.C: ditto
15673
15674 2001-07-18  Juergen Vigna  <jug@sad.it>
15675
15676         * text.C (selectNextWord): handle insets inside inset by calling
15677         always the bv->text functions so that we can go up the_locking_inset!
15678
15679         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15680         in strange locations when inside an inset!
15681
15682         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15683         handling to include insets.
15684
15685         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15686
15687 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15688
15689         * LyXAction.C (init):
15690         * commandtags.h:
15691         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15692         LIGATURE_BREAK, since the name is so stupid.
15693
15694 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15695
15696         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15697         InsetInfos.
15698
15699         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15700
15701         * sp_form.[Ch]: remove.
15702
15703         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15704
15705         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15706         InsetInfo.
15707
15708         * src/buffer.C (readInset): ditto.
15709
15710 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15711
15712         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15713         menuSeparator(), endOfSentenceDot(), ldots() and
15714         hyphenationPoint(), which are therefore removed.
15715         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15716
15717         * LyXAction.C (init):
15718         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15719
15720         * paragraph.C (getWord): removed.
15721
15722         * BufferView_pimpl.C (Dispatch): use last word or selection for
15723         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15724
15725         * lyx_main.C (queryUserLyXDir): do not ask before creating
15726         user_dir, except if it has been named explicitely.
15727
15728 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15729
15730         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15731         a document of zero size.
15732
15733 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15734
15735         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15736         approriately in the c-tor and in require().
15737         (getPackages): output the appropriate LaTeX for natbib support.
15738
15739         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15740         variables "use_natbib" and "use_numerical_citations" when reading the
15741         LyX file.
15742         (readInset): read the various natbib cite commands.
15743         (validate): white-space change.
15744
15745         * bufferparams.[Ch]: new variables "bool use_natbib" and
15746         "bool use_numerical_citations".
15747         (writeFile): output them in the LyX file.
15748
15749 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15750
15751         * lyxfunc.C (getStatus): add support for all the inset insertion
15752         commands.
15753
15754         * text2.C (insertInset):
15755         * paragraph.C (insetAllowed):
15756         * BufferView_pimpl.C (insertInset): update to take in account the
15757         renaming of insertInsetAllowed
15758
15759         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15760
15761         * text2.C (getInset): new method. returns inset at cursor position.
15762
15763         * BufferView_pimpl.C (Dispatch): changes because of this.
15764
15765         * LyXAction.C (init): rename open-stuff to inset-toggle.
15766
15767         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15768
15769         * text2.C (toggleInset): renamed from openStuff; use
15770         Inset::open().
15771
15772 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15773
15774         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15775
15776         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15777
15778 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15779
15780         * buffer.C (readLyXformat2): Add filename to the error dialog
15781
15782 2001-07-18  Juergen Vigna  <jug@sad.it>
15783
15784         * tabular.C (GetCellNumber): put an assert here instead of the check!
15785
15786 2001-07-17  Juergen Vigna  <jug@sad.it>
15787
15788         * BufferView_pimpl.C (toggleSelection): adapted too.
15789
15790         * text.C (selectNextWord): adapted for use with insets.
15791         (selectSelectedWord): ditto
15792
15793 2001-07-17  Juergen Vigna  <jug@sad.it>
15794
15795         * sp_spell.C (PSpell): fix initialitation order.
15796
15797 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15798
15799         * paragraph.C: spacing
15800
15801 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15802
15803         * sp_spell.C: repair language selection for pspell
15804
15805 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15806
15807         * lyxfunc.h: change more methods to begin with lower char.
15808
15809 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15810
15811         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15812         for unknown layouts.
15813
15814 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15815
15816         * buffer.C (readLyXformat2): Generate an error dialog if there are
15817         unknown layouts.
15818
15819 2001-07-16  Juergen Vigna  <jug@sad.it>
15820
15821         * sp_spell.C: always compile ISpell part.
15822
15823         * lyxrc.C: added use_pspell entry and it's handling.
15824
15825 2001-07-13  Juergen Vigna  <jug@sad.it>
15826
15827         * sp_spell.C: removed double includes.
15828
15829 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15830
15831         Consistent use of Lsstream.h:
15832         * Lsstream.h: added using std::stringstream for consistencies sake.
15833
15834         * buffer.C: removed using std::stringstream
15835
15836         * lyxfont.C (stateText):
15837         * paragraph.C (asString):
15838         * text.C (selectNextWord, selectSelectedWord):
15839         * text2.C (setCounter):
15840         * vspace.C (asString, asLatexString):
15841         std::ostringstream -> ostringstream.
15842
15843 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15844
15845         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15846         * commandtags.h: add LFUN_HELP_ABOUTLYX
15847         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15848
15849 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15850
15851         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15852         cursorToggle()
15853         * lyx_gui_misc.C: remove spellchecker
15854         * lyxfunc.C: showSpellchecker
15855         * sp_base.h: added
15856         * sp_ispell.h: added
15857         * sp_pspell.h: added
15858         * sp_spell.C: added
15859         * sp_form.[Ch]: removed
15860         * spellchecker.[Ch]: removed
15861
15862 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15863
15864         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15865         is set.
15866         (simpleTeXSpecialChars): Simply print the input character without
15867         any special translation if pass_thru is set.
15868
15869         * layout.h: Added bool pass_thru to layout class for being able to
15870         implement pass through of a paragraph for Literate Programming.
15871
15872         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15873         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15874         * layout.C (Read): add "passthru" to list of layout tags and add
15875         code to set the pass_thru boolean when it is read.
15876
15877 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15878
15879         * trans_decl.h: remove allowed from KmodInfo
15880
15881         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15882         remove allowed code
15883         (Load): adjust
15884
15885         * paragraph_pimpl.C (erase): use boost::prior
15886
15887         * Painter.C (text): use data() instead of c_str() when length is
15888         also provided.
15889         * WorkArea.C (putClipboard): ditto
15890         * font.h (width): ditto
15891
15892         * BufferView2.C: use it-> instead of (*it). for iterators
15893         * texrow.C: ditto
15894         * paragraph_pimpl.C: ditto
15895         * paragraph.C: ditto
15896         * minibuffer.C: ditto
15897         * language.C: ditto
15898         * kbmap.C: ditto
15899         * encoding.C: ditto
15900         * counters.C: ditto
15901         * converter.C: ditto
15902         * chset.C: ditto
15903         * Variables.C: ditto
15904         * TextCache.C: ditto
15905         * MenuBackend.C: ditto
15906         * LyXAction.C: ditto
15907         * LColor.C: ditto
15908         * FloatList.C: ditto
15909         * DepTable.C: ditto
15910         * ColorHandler.C (LyXColorHandler): ditto
15911
15912 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15913
15914         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15915
15916         * text2.C (openStuff): reintroduce this method (which had been
15917         nuked in NEW_INSETS frenzy).
15918
15919         * lyxfunc.C (Dispatch): when an action has not been handled, use
15920         its name in the error message, not its number.
15921
15922         * paragraph.C (inInset): change method name to begin with lowercase.
15923
15924         * undo_funcs.C:
15925         * text2.C: updates because of this.
15926
15927 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15928
15929         * ToolbarDefaults.C (add): add spaces in error message
15930
15931 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15932
15933         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15934         (readLyXformat2): rename return_par to first_par, use lyxlex's
15935         pushToken and remove the manual push handling.
15936         (parseSingleLyXformat2Token): add another ert comp. variable:
15937         in_tabular, rename return_par to first_par. handle newlines better
15938
15939 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15940
15941         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15942
15943 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15944
15945         * text2.C (getParFromID): removed
15946
15947         * buffer.C (getParFromID): new method moved form lyxtext.
15948         * BufferView2.C (insertErrors): adjust
15949         (setCursorFromRow): adjust
15950         * BufferView_pimpl.C (restorePosition): adjust
15951         * lyxfunc.C (Dispatch): adjust
15952         * undo_funcs.C (textUndo): adjust
15953         (textRedo): adjust
15954         (textHandleUndo): adjust
15955         (textHandleUndo): adjust
15956
15957 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15958
15959         * buffer.C: up' the LYX_FORMAT
15960
15961         * lyxfont.h: turn NO_LATEX on as default
15962
15963         * buffer.C (insertErtContents): new methods of tex style compability.
15964         (parseSingleLyXformat2Token): use it several places.
15965         * tabular.C (OldFormatRead): and here
15966
15967 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15968
15969         * text2.C: remove some commented code.
15970         reindent file.
15971
15972         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15973         * trans.C: changes because of the above.
15974
15975 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15976
15977         * text2.C (setCounter): Fix counters bug with bibliography layout.
15978
15979 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15980
15981         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15982         own member functions
15983         (simpleTeXSpecialChars): ditto
15984
15985 2001-07-06  Juergen Vigna  <jug@sad.it>
15986
15987         * a lot of files: changed the access to LyXText::status and the
15988         call of undo-functions.
15989
15990         * undo.[Ch]: added a inset_id to the undo informations.
15991
15992         * undo_funcs.[Ch]: added and moved here all undo functions.
15993
15994         * lyxtext.h: give the status enum a weight, made status_ a private
15995         variable and made accessor functions for it, removed the whole bunch
15996         of undo-functions as they are now in their own file, make some
15997         functions publically available. Added function ownerParagraph with
15998         int parameter.
15999
16000         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16001         made InInset() a const function, added getParFromID() function.
16002
16003         * buffer.[Ch]: added const version for inset_iterator functions,
16004         added getInsetFromID() function.
16005
16006         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16007         changed undo functions for new version.
16008
16009 2001-07-05  Juergen Vigna  <jug@sad.it>
16010
16011         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16012         unknow mechanism does not call the proper constructor but only this
16013         one also if I request the other!?
16014
16015 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16016
16017         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16018
16019         * text2.C (LyXText): use initialization lists.
16020
16021         * lyxtext.h (Selection): initialize set_ and mark_
16022         (init): remove method
16023
16024 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16025
16026         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16027
16028 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16029
16030         * screen.[Ch]: change method names to begin with lowercase
16031
16032         * BufferView_pimpl.C (updateScrollbar): simplify further and
16033         hopefully make it a bit faster.
16034
16035 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16036
16037         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16038         calling directly xforms functions.
16039
16040         * Painter.C (Painter):
16041         * lyx_cb.C (MenuWrite):
16042         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16043         fl_display.
16044
16045         * lyx_gui.C: remove bogus guiruntime extern declaration.
16046
16047 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16048
16049         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16050         in NEW_INSETS
16051         (redoDrawingOfParagraph): ditto
16052         (redoParagraphs): ditto
16053         (cutSelection): don't create a object for CutAndPaste use the
16054         static method directly
16055         (pasteSelection): ditto
16056
16057         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16058         LyXview (+ rename)
16059
16060 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16061
16062         * modifications to some other files because of this.
16063
16064         * Makefile.am (lyx_SOURCES): add XFormsView
16065
16066         * XFormsView.[Ch]: new files
16067
16068         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16069         the main window. Move the gui dependent stuff to XFormsView
16070
16071 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16072
16073         * tabular.C (GetCellInset): update cur_cell also in the row/col
16074         version of this function.
16075
16076         * lyxfunc.C: no need to include figure_form.h here.
16077
16078         * FontLoader.h:
16079         * lyxfunc.h:
16080         * lyxscreen.h:
16081         * text2.C:
16082         * lyxvc.C: no need to include forms.h here.
16083
16084 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16085
16086         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16087
16088         * lyxfunc.C (Dispatch):
16089         * Spacing.C (set):
16090         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16091         constructor argument.
16092
16093 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16094
16095         * paragraph.C (Paragraph): dont't clear, and just set layout.
16096         (makeSameLayout): use params's copy contructor.
16097
16098         * ParagraphParameters.[Ch] (makeSame): delete method
16099
16100 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16101
16102         * Variables.[Ch]: fix indentation, rename set to isSet
16103
16104 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16105
16106         * lyxfunc.C (Dispatch): fix typo
16107
16108 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16109
16110         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16111         upper_bound.
16112
16113         * bufferlist.C: include assert.h for emergencyWrite().
16114
16115 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16116
16117         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16118           give up at last (bug #425202) !
16119
16120 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16121
16122         * lyx_gui_misc.C:
16123         * sp_form.h:
16124         * sp_form.C:
16125         * spellchecker.h:
16126         * spellchecker.C: strip spellchecker options and bring up
16127           preferences tab instead
16128
16129 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16130
16131         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16132         the istringstream constructor
16133
16134 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16135
16136         * paragraph.C (getLayout): fix return value
16137
16138         * paragraph.h: do not declare getLayout as inline.
16139
16140         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16141
16142 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16143
16144         * lyxcursor.h (operator<): new func
16145         (operator>): new func
16146         (operator>=): new func
16147         (operator<=): new func
16148
16149         * text.C (changeCase): use selection.start and selection.end
16150         (changeRegionCase): require from to be <= to. Require par to be a
16151         valid paragraph.
16152
16153         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16154
16155 2001-06-27  Juergen Vigna  <jug@sad.it>
16156
16157         * text.C (cursorLeftOneWord): changed to return the cursor and added
16158         overlay with BufferView * parameter which calls this one.
16159         (getWord): added
16160         (selectWord): use new getWord function.
16161         (changeCase): renamed from changeWordCase as and extended to work
16162         also on selections.
16163
16164         * lyxtext.h: added enum word_location
16165
16166         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16167         changeCase as this operates now also on selections.
16168
16169 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16170
16171         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16172
16173         * many files: send debug output to Debug::INFO instead of
16174         Debug::ANY.
16175
16176         * converter.C (View):
16177         (Convert):
16178         (Move): send debug output to Debug::FILES instead of console.
16179
16180 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16181
16182         * lyxfunc.C (getStatus): use func_status
16183
16184         * func_status.h: new header, describing the results of
16185         LyXFunc::getStatus;
16186
16187         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16188         LFUN_MATH_HALIGN.
16189
16190 2001-06-25  The LyX Project  <jug@sad.it>
16191
16192         * buffer.C (sgmlOpenTag):
16193         (sgmlCloseTag):
16194         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16195
16196 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16197
16198         * text2.C: remove some dead code
16199
16200         * tabular.C (GetCellInset): store the last cell checked (gotten)
16201
16202         * tabular.h: add the helper for the speedup
16203
16204         * lyxtext.h: remove some dead code
16205
16206 2001-06-26  The LyX Project  <Asger>
16207
16208         * paragraph.C: Change export to LaTeX of alignment to
16209         \begin{center} and family for better roundtrip work with reLyX.
16210
16211         * Tune the math drawing a bit.
16212
16213 2001-06-25  The LyX Project  <Asger>
16214
16215         * LColor.C (LColor): New color for math background. New color
16216         for buttons.
16217
16218 2001-06-25  The LyX Project  <jug@sad.it>
16219
16220         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16221
16222         * lyxfunc.C (Open):
16223         * bufferlist.C (newFile): do not restrict to files ending with
16224         .lyx
16225
16226         * BufferView_pimpl.C (MenuInsertLyXFile):
16227
16228 2001-06-24  The LyX Project  <jug@sad.it>
16229
16230         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16231         of compare_no_case
16232
16233 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16234
16235         * lyxtext.h: rename most methods to begin with a small char.
16236         Lots of changes because of this.
16237
16238         * paragraph.C (Paragraph): do not call fitToSize
16239         (erase): call Pimpl::erase
16240         (insertChar): call Pimpl::insertChar
16241         (insertInset): call Pipl::insertInset
16242         (breakParagraph): do not call fitToSize
16243         (breakParagraphConservative): do not call fitToSize
16244         (fitToSize): remove method
16245
16246         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16247
16248 2001-06-24  The LyX Project  <Asger>
16249
16250         * Fix Qt compilation^2
16251
16252 2001-06-24  The LyX Project  <jug@sad.it>
16253
16254         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16255         depthHook(getDepth()-1).
16256
16257         * paragraph.h:
16258         * ParagraphParameters.h:
16259         * ParameterStruct.h: change type of depth to unsigned int ==
16260         depth_type. Many adaptations to other files before of that.
16261
16262 2001-06-24  The LyX Project  <Asger>
16263
16264         * Fix Qt compilation.
16265
16266 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16267
16268         * paragraph.h: renamed several methods to begin with small letter.
16269         several changes to many parts of the code because of this.
16270
16271 2001-06-23  The LyX Project  <jug@sad.it>
16272
16273         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16274         rewritten to discard all double spaces when KeepEmpty is off
16275         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16276         to only handle newlines but not fiddle with spaces and friends.
16277
16278         * lyxfunc.C (MenuNew): when doing 'new from template', use
16279         template_path as default directory
16280
16281 2001-06-23  The LyX Project  <Asger>
16282
16283         * Clean-up of header file includes all over
16284         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16285
16286 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16287
16288         * paragraph.h: renamed from lyxparagraph.h
16289
16290 2001-06-23  Asger  <lyx@violet.home.sad.it>
16291
16292         * Buffer.h: Removed Buffer::resize
16293         * BufferList.h: Removed BufferList::resize
16294         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16295         the document lazily when we change the width, or the font settings.
16296
16297 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16298
16299         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16300
16301 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16302
16303         * buffer.h: remove out of date comment
16304
16305 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16306
16307         * lyxscreen.h:
16308         * screen.C: fix "theoretical" GC leak
16309
16310 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16311
16312         * LaTeX.C (scanAuxFile):
16313         (deplog): remove trailing \r when reading stream (useful under
16314         win32)
16315
16316 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16317
16318         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16319         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16320         and BufferView::theLockingInset(Inset*), so should use them and not
16321         access bv_->text->the_locking_inset directly.
16322
16323         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16324
16325 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16326
16327         * Makefile.am:
16328         * tex-defs.h: remove old unused file
16329
16330 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16331
16332         * BufferView_pimpl.C: fix typo, remove minibuffer message
16333           when buffer has loaded
16334
16335 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16336
16337         * lyxfunc.C (Dispatch): use stringstream
16338         (MenuNew): use stringstream
16339         (Open): use stringstream
16340
16341         * importer.C (Import): use stringstream
16342
16343         * bufferview_funcs.C (CurrentState): use stringstream
16344
16345         * LaTeX.C (run): use stringstream
16346
16347         * BufferView_pimpl.C (savePosition): use stringstream
16348         (restorePosition): use stringstream
16349         (MenuInsertLyXFile): use stringstream
16350
16351 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16352
16353         * BufferView.C:
16354         * Bullet.C:
16355         * ColorHandler.C:
16356         * FontInfo.C:
16357         * FontLoader.C:
16358         * LColor.C:
16359         * LaTeXFeatures.C:
16360         * Painter.C:
16361         * gettext.C:
16362         * lyx_gui_misc.C:
16363         * lyxserver.C:
16364         * vspace.C: removed // -*- C++ -*- as first line.
16365
16366         * lyxfind.h:
16367         * version.h: added // -*- C++ -*- as first line.
16368
16369 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16370
16371         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16372
16373         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16374         of string
16375
16376 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16377
16378         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16379         of floats.
16380
16381 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16382
16383         * gettext.C: include LString.h even when --disable-nls is on.
16384
16385 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16386
16387         * converter.h (Get): changed argument type from int to
16388         FormatList::size_type to avoid unnecessary conversion.
16389
16390         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16391         before using it.
16392
16393 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16394
16395         * gettext.h: include LString.h even when --disable-nls is on.
16396
16397 2001-06-07  Juergen Vigna  <jug@sad.it>
16398
16399         * text.C (BreakAgain): subst spaces with tabs.
16400
16401         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16402         (resizeInsetsLyXText): set force on resizeLyXText.
16403
16404 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16405
16406         * gettext.h (gettext_init):
16407         (locale_init): use a real definition instead of a macro
16408
16409 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16410
16411         * Bufferview_pimpl.C:
16412         * LColor.h:
16413         * LColor.C: further lcolor tidies
16414
16415 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16416
16417         * BufferView_pimpl.C (updateScrollbar): simplify.
16418
16419         * BufferView2.C: don't include insets/insetinfo.h, change
16420         prototype for insertInset and call the Pimpl version. let
16421         updateInset call Pimpl version.
16422
16423         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16424         gotoInset to BufferView::Pimpl
16425
16426 2001-06-01  Juergen Vigna  <jug@sad.it>
16427
16428         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16429         inside a LockingInset (is the update needed at all?).
16430
16431 2001-05-31  Juergen Vigna  <jug@sad.it>
16432
16433         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16434         here not the old one otherwise how should we compare it afterwards
16435         if it's the same!
16436
16437 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16438
16439         * lyxfont.C:
16440         * tabular.C:
16441         * tabular-old.C:
16442         * FontInfo.C: bring C functions into global namespace when
16443         necessary
16444
16445 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16446
16447         * LString.h: make sure config.h has been loaded before LString.h.
16448
16449         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16450         (one for each char read by EatLine!).
16451
16452         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16453         variables.
16454
16455 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16456
16457         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16458         to the same as the par we break from
16459
16460 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16461
16462         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16463
16464         * MenuBackend.C (expand): also create menu entries for wide
16465         versions of the floats.
16466
16467         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16468
16469         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16470
16471         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16472         frontends/Makefile.am
16473
16474         * text2.C: adjust
16475         * text.C: adjust
16476
16477
16478         * tabular.C (getTokenValue): add std::
16479
16480         * tabular-old.C (getTokenValue): add std::
16481         (getTokenValue): ditto
16482         (getTokenValue): ditto
16483
16484         * screen.C (ToggleSelection): adjust
16485
16486         * lyxtext.h: put selection cursors inside a Selection struct.
16487
16488         * lyxfunc.C (moveCursorUpdate): adjust
16489
16490         * lyxfont.C (latexWriteStartChanges): add std::
16491
16492         * lyxfind.C: adjust
16493
16494         * font.h: delete with(char const *, LyXFont const &)
16495
16496         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16497
16498         * FontInfo.C (getFontname): add std::
16499
16500         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16501         (workAreaButtonPress): adjust
16502         (tripleClick): adjust
16503         (update): adjust
16504         (moveCursorUpdate): adjust
16505         (Dispatch): adjust
16506
16507         * BufferView2.C (gotoInset): adjust
16508
16509 2001-05-30  Juergen Vigna  <jug@sad.it>
16510
16511         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16512         to check pspell I add this as default as I now have new pspell
16513         libraries and they seem to use this.
16514
16515 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16516
16517         * text2.C (CutSelection): make the cursor valid before the call to
16518         ClearSelection.
16519
16520 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16521
16522         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16523         relied on 0 terminated strings and other horrors. Bug found due to
16524         the new assert in lyxstring!
16525
16526         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16527         KP_ keys.
16528
16529 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16530
16531         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16532         to latinkeys.bind.
16533
16534         * lyxfunc.C (processKeySym): change method of getting to the
16535         self-insert char.
16536
16537         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16538         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16539         * BufferView_pimpl.[Ch]: here as private methods.
16540
16541 2001-05-28  Juergen Vigna  <jug@sad.it>
16542
16543         * text.C (SetHeightOfRow): added the update() call again as it is
16544         needed to initialize inset dimensions!
16545
16546 2001-05-16  Juergen Vigna  <jug@sad.it>
16547
16548         * text2.C (SetCharFont): Add new function with BufferView * and
16549         bool toggleall parameters for setting insets internal fonts.
16550         (SetFont): Freeze the undo as we may change fonts in Insets and
16551         all this change should be inside only one Undo!
16552
16553         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16554         setting font's in insets as for them we have the SetFont function!
16555
16556 2001-05-15  Juergen Vigna  <jug@sad.it>
16557
16558         * text2.C (ClearSelection): to be sure we REALLY don't have any
16559         selection anymore!
16560
16561         * tabular.C (TeXCellPreamble): fixed the left border problem for
16562         multicolumn cells.
16563
16564 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16565
16566         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16567         dependancy file
16568
16569 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16570
16571         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16572         LFUN_BREAKPARAGRAPH.
16573
16574         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16575         help test to "internal only", similar for LFUN_INSERT_URL
16576
16577         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16578         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16579         auto_region_delete and deadkeys.
16580
16581 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16582
16583         * LColor.h:
16584         * LColor.C: remove some dead entries, tidy a little
16585
16586 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16587
16588         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16589         commented code.
16590         (Dispatch): implement LFUN_ESCAPE
16591
16592         * commandtags.h: add LFUN_ESCAPE
16593
16594         * LyXAction.C (init): add entry for LFUN_ESCAPE
16595
16596         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16597         Remove commented code.
16598         (insertNote): moved here
16599         (open_new_inset): moved here
16600
16601         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16602         BufferView_pimpl
16603
16604 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16605
16606         * kbmap.C (findbinding): clean it up and make it work correctly.
16607
16608         * lyx_main.C (init): do not pass argc and argv as parameters
16609
16610 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16611
16612         * buffer.C: fix path for OS/2 & Win32
16613
16614         * lyx_gui.C:
16615         * lyx_main:
16616         * lyx_main.C: Added os:: class.
16617
16618         * os2_defines.h: update
16619
16620 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16621
16622         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16623         better by trying again with reduced state.
16624
16625 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16626
16627         * lyxrc.C (read): print error about invalid key sequence only when
16628         debugging (because not all latinX keysyms are known to some X
16629         servers)
16630
16631         * kbsequence.C (getiso): add a few std:: qualifiers
16632         (getiso): comment out extra return statement.
16633
16634 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16635
16636         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16637         handling.
16638         (Dispatch): enhance the accent inset a bit. (not perfect)
16639
16640 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16641
16642         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16643
16644 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16645
16646         * bufferlist.C (emergencyWrite): fix assert() call
16647
16648 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16649
16650         * text.C (InsertChar): Added trivial patch to only send the "you
16651         can not do multiple spaces this way" message once during a
16652         session.
16653
16654 2001-05-08  Baruch Even  <baruch@lyx.org>
16655
16656         * Makefile.am: Changed order of libraries to get LyX to link properly
16657         with the gnome frontend.
16658
16659 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16660
16661         * LaTeXFeatures.h: add a std:: qualifier
16662
16663 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16664
16665         * paragraph.C (String): use stringstream
16666
16667 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16668
16669         * paragraph.C (writeFile): remove footflag arg
16670
16671         * buffer.C (makeLaTeXFile): use stringstream
16672         (latexParagraphs): remove footnot gurba
16673
16674         * LaTeXFeatures.C (getPackages): use stringstream
16675         (getMacros): likewise
16676         (getTClassPreamble): likewise
16677         (getFloatDefinitions): new method
16678
16679         * paragraph.C (writeFile): reindent
16680         (Erase): reindent
16681
16682         * WorkArea.h: revert the xpos + etc changes.
16683
16684         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16685
16686         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16687
16688         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16689         (pasteSelection): likewise
16690         * text2.C (CreateUndo): likewise
16691
16692 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16693
16694         * minibuffer.C (peek_event): temporarily reduce the functionality
16695         of the minibuffer (to allow args on lfuns)
16696
16697         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16698         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16699
16700         * buffer.C (readInset): add compability reading of old float
16701         lists, add reading of new style float list.
16702         (readInset): avoid reevaluation of inscmd.getCmdName()
16703         (getLists): reindent
16704
16705         * MenuBackend.C (MenuItem): implement parsing of
16706         md_floatlistinsert and md_floatinsert.
16707         (expand::LastFiles): move initalizaton of iterators out of loop,
16708         avoid reevaluation.
16709         (expand::Documents): introduce typdedef vector<string> Strings,
16710         and use it.
16711         (expand::ExportFormats): introduce typedef vector<Format const *>
16712         Formats, and use it.
16713         (expand): implement FloatListInsert and FloatInsert.
16714
16715         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16716         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16717         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16718
16719         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16720         handling.
16721         (Dispatch::LFUN_FLOAT_LIST): implement
16722
16723 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16724
16725         * LaTeX.C (run): Fix problem with --export code.
16726
16727 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16728
16729         * BufferView.[Ch] (workarea): removed.
16730         (getClipboard) new method; wrapper for workarea()->getClipboard()
16731
16732         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16733         bug.
16734
16735         * WorkArea.h (width, height, xpos, ypos): These methods all
16736         returned the dimensions of the work_area sub-area of WorkArea,
16737         resulting in a position error if the WorkArea were resized. Now
16738         return the dimensions of the entire WorkArea.
16739
16740         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16741
16742 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16743
16744         * LaTeX.C (deplog): correct the syntax of regex reg1
16745
16746 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16747
16748         * undo.C: remove !NEW_INSETS cruft
16749
16750 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16751
16752         * text2.C: remove !NEW_INSETS cruft
16753
16754         * text.C: remove !NEW_INSETS cruft
16755
16756         * tabular.C: remove !NEW_INSETS cruft
16757
16758         * spellchecker.C: remove !NEW_INSETS cruft
16759
16760         * lyxtext.h: remove !NEW_INSETS cruft
16761
16762         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16763
16764         * lyxfunc.C: remove !NEW_INSETS cruft
16765
16766         * lyxfind.C: remove !NEW_INSETS cruft
16767
16768         * lyx_cb.C: remove !NEW_INSETS cruft
16769
16770         * figureForm.C: remove  !NEW_INSETS cruft
16771
16772         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16773
16774         * buffer.[Ch]: remove !NEW_INSETS cruft
16775
16776         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16777
16778         * CutAndPaste.C: remove !NEW_INSETS cruft
16779
16780         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16781
16782         * BufferView2.C: remove !NEW_INSETS cruft
16783
16784         * BufferView.h: remove !NEW_INSETS cruft
16785
16786 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16787
16788         * Lsstream.h: include LString.h before the sstream headers to
16789         fix problem with gcc 2.95.3 and lyxstring
16790
16791 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16792
16793         * lyx_main.C: add using directives when needed for C functions
16794         declared in std:: namespace.
16795
16796 2001-04-27  Juergen Vigna  <jug@sad.it>
16797
16798         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16799         (SetHeightOfRow): comment out the update call should not be needed!
16800
16801 2001-04-13  Juergen Vigna  <jug@sad.it>
16802
16803         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16804         (LyXTabular): tried to minimize operator= operations (and realized
16805         hopfully Lars wish).
16806
16807 2001-04-27  Juergen Vigna  <jug@sad.it>
16808
16809         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16810
16811 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16812
16813         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16814
16815         * buffer.C (readInset): hack to make listof algorithm work
16816
16817         * BufferView_pimpl.C: hack to make listof algorithm work
16818
16819 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16820
16821         * LyXAction.C: removed all !NEW_INSETS cruft
16822         (init): moved lfun_item in method
16823
16824         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16825
16826 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16827
16828         * BufferView2.C (theLockingInset): white space.
16829
16830 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16831
16832         * minibuffer.C: include <iostream>
16833
16834         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16835
16836         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16837
16838         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16839
16840         * text.[Ch] (TransposeChars): new method
16841
16842 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16843
16844         * call message directly through LyXView instead of through LyXFunc
16845         * BufferView2.C: adjust
16846         * BufferView_pimpl.C: adjust
16847         * FontLoader.C: adjust
16848         * buffer.C: adjust
16849         * bufferview_funcs.C: adjust
16850         * converter.C: adjust
16851         * figureForm.C: adjust
16852         * importer.C: adjust
16853         * lyx_cb.C: adjust
16854         * lyx_gui_misc.C: adjust
16855         * lyxfunc.C: adjust
16856         * lyxvc.C: adjust
16857         * text2.C: adjust
16858         + more files in subdirs
16859
16860         * lyxparagraph.h (size): move up int file
16861         (GetLayout): ditto
16862
16863         * adjust all uses of Assert to lyx::Assert.
16864
16865         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16866         lyxfunctional in namespace lyx
16867         * layout.C (hasLayout): ditto
16868         (GetLayout): ditto
16869         (GetLayout): ditto
16870         (delete_layout): ditto
16871         (NumberOfClass): ditto
16872         * converter.C (GetFormat): ditto
16873         (GetNumber): ditto
16874         (Add): ditto
16875         (Delete): ditto
16876         (SetViewer): ditto
16877         * bufferlist.C (getFileNames): ditto
16878         (emergencyWriteAll): ditto
16879         (exists): ditto
16880         (getBuffer): ditto
16881         * MenuBackend.C (hasSubmenu): ditto
16882         (hasMenu): ditto
16883         (getMenu): ditto
16884         * BufferView_pimpl.C (getInsetByCode): ditto
16885
16886 2001-04-18  Juergen Vigna  <jug@sad.it>
16887
16888         * vspace.C (asLatexString): fixed the 100% problem.
16889
16890 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16891
16892         * lyxfunc.C (Dispatch):
16893         * minibuffer.C:
16894         * minibuffer.h: add a few std:: qualifiers
16895
16896 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16897
16898         * minibuffer.[Ch]: reimplement so that commands is initiated and
16899         run from lyxfunc, simplified som handling, and made the completion
16900         and history code for complete. wip.
16901
16902         * lyxfunc.C (processKeySym): call message
16903         (miniDispatch): new temporary method
16904         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16905         (LFUN_MESSAGE): implement
16906         (LFUN_MESSAGE_PUSH): implement
16907         (LFUN_MESSAGE_POP): implement
16908         (initMiniBuffer): the initial/defualt minibuffer message.
16909
16910         * lyxfont.[Ch]: inline some more getters
16911
16912         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16913
16914         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16915
16916         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16917         (AutoSave): use LFUN_MESSAGE
16918         (Reconfigure): ditto
16919
16920         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16921
16922         * figureForm.C: use LFUN_MESSAGE
16923
16924         * converter.C (runLaTeX): use LFUN_MESSAGE
16925
16926         * bufferview_funcs.C: use LFUN_MESSAGE
16927         (Melt): ditto
16928         (changeDepth): ditto
16929
16930         * bufferparams.h: use boost::
16931
16932         * bufferlist.h: inherit privately from noncopyable
16933
16934         * bufferlist.C (loadLyXFile): remove some commented code.
16935
16936         * buffer.C (runChktex): use LFUN_MESSAGE
16937
16938         * ShareContainer.h: inherit privately from noncopyable
16939
16940         * ParagraphParameters.[hC] (depth): inline it.
16941
16942         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16943         methods.
16944         (message): new method
16945         (messagePush): ditto
16946         (messagePop): ditto
16947         (show): init minibuffer
16948         (showState): direct call
16949
16950         * LaTeX.[Ch]: inherit privately from noncopyable
16951         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16952         instead of WriteStatus.
16953
16954         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16955
16956         * BufferView_pimpl.C (buffer): don't init minibuffer
16957         (workAreaButtonPress): use LFUN_MESSAGE
16958         (workAreaButtonRelease): ditto
16959         (savePosition): ditto
16960         (restorePosition): ditto
16961         (MenuInsertLyXFile): ditto
16962         (workAreaExpose): don't init minibuffer
16963         (update): remove commented code, simplify
16964
16965         * BufferView2.C (openStuff): use LFUN_MESSAGE
16966         (toggleFloat): ditto
16967         (menuUndo): ditto
16968         (menuRedo): ditto
16969         (copyEnvironment): ditto
16970         (pasteEnvironment): ditto
16971         (copy): ditto
16972         (cut): ditto
16973         (paste): ditto
16974         (gotoInset): ditto
16975         (updateInset): remove some commented code
16976
16977         * lastfiles.h: inherit privately from noncopyable
16978         * layout.h: ditto
16979         * lyx_gui.h: ditto
16980         * lyx_main.h: ditto
16981         * lyxlex.h: ditto
16982         * lyxlex_pimpl.h: ditto
16983
16984         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16985         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16986         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16987
16988         * LyXAction.h: inherit privately from noncopyable, add methods
16989         func_begin, func_end, returning iterators to the func map.
16990
16991         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16992         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16993         (func_begin): new method
16994         (func_end): new method
16995
16996         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16997         and not)
16998         (copySelection): ditto
16999         (pasteSelection): ditto
17000
17001         * BufferView.C: whitespace change
17002         * BufferView.h: inherit privately from noncopyable
17003
17004 2001-04-16  Allan Rae  <rae@lyx.org>
17005
17006         * tabular-old.C (l_getline):
17007         * spellchecker.C (sc_check_word):
17008         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17009         an unrecognised preprocessor directive.  So ensure they're wrapped.
17010
17011 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17012
17013         * src/exporter.C (Export): Give an error message when path to file
17014         contains spaces.
17015
17016 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17017
17018         * LaTeX.C (deplog): Always check that foundfile exists.
17019
17020 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17021
17022         * lyx_main.h:
17023         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17024
17025 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17026
17027         * tabular.[Ch] (getLabelList): implement new method
17028
17029         * minibuffer.h: comment ouf setTiimer
17030
17031         * minibuffer.C (ExecutingCB): constify res
17032         (peek_event): constify s
17033         (Set): constify ntext
17034         (Init): constify nicename
17035
17036         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17037
17038         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17039         (savePosition): use two params to Minibuffer::Set
17040         (restorePosition): ditto
17041
17042 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17043
17044         * lyx_main.C: include language.h
17045
17046         * Makefile.am (lyx_main.o): add language.h
17047
17048 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17049
17050         * exporter.C:
17051         * paragraph.C:
17052         * screen.C:
17053         * tabular.C:
17054         * CutAndPaste.C: include gettext.h
17055
17056         * lyxfont.h: remove old hack with ON and OFF.
17057
17058         * lyxparagraph.h:
17059         * lyxfont.h: do not include language.h...
17060
17061         * BufferView2.C:
17062         * LaTeXFeatures.C:
17063         * Painter.C:
17064         * bufferview_funcs.C:
17065         * font.C:
17066         * lyxfont.C:
17067         * text.C:
17068         * text2.C:
17069         * trans_mgr.C:
17070         * paragraph.C: ... but do it here instead
17071
17072 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17073
17074         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17075
17076         * tabular.C: small reformat
17077
17078         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17079         NEW_INSETS version
17080         (GetChar): ditto
17081         (BreakParagraph): ditto
17082         (SetOnlyLayout): ditto
17083         (SetLayout): ditto
17084
17085         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17086         with one arg less.
17087
17088         * lastfiles.C: removed most using decl, add std:: where needed
17089
17090         * buffer.C: ws changes
17091
17092         * MenuBackend.C (class compare_format): put into anon namespace
17093         (expand): constify label, names, action, action2
17094         (expand):
17095
17096         * text.C (SingleWidth): constify font
17097         (IsBoundary): constify rtl2
17098         (GetVisibleRow): constify ww
17099
17100         * LaTeX.C (deplog): constify logfile
17101
17102         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17103         start_x, end_x
17104         (workAreaExpose): constify widthChange, heightChange
17105
17106         * lyxrow.C (par): moved
17107         (height): moved
17108         (next): moved
17109         * lyxrow.h: as inlines here
17110
17111         * lyxfont.h (shape): moved from lyxfont.C
17112         (emph): moved from lyxfont.C
17113
17114         * lyxfont.C (LyXFont): use initialization list for all
17115         constructors
17116         (shape): move to lyxfont.h as inline
17117         (emph): move to lyxfont.h as inline
17118
17119
17120 2001-04-04  Juergen Vigna  <jug@sad.it>
17121
17122         * vspace.C: had to include stdio.h for use of sscanf
17123
17124 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17125
17126         * BufferView.h:
17127         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17128         independent of xforms.
17129
17130 2001-04-02  Juergen Vigna  <jug@sad.it>
17131
17132         * spellchecker.C: fixed namespace placing!
17133
17134 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17135
17136         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17137         the LyXParagraph * is 0.
17138
17139 2001-03-29  Juergen Vigna  <jug@sad.it>
17140
17141         * vspace.C: added support for %, c%, p%, l%.
17142         (stringFromUnit): added helper function.
17143         (asLatexString): changed to give right results for the %-values.
17144
17145         * buffer.C: convert the widthp in a width%.
17146
17147 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17148
17149         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17150         figureForm.[Ch].
17151
17152         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17153         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17154
17155         * lyx_cb.[Ch]: see above.
17156
17157         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17158         form1.[Ch].
17159
17160         * form1.[Ch]:
17161         * lyx.[Ch]: replaced by figure_form.[Ch].
17162
17163         * lyx_gui.C:
17164         * lyx_gui_misc.C:
17165         * lyxfunc.C: changed headers associated with above changes.
17166
17167 2001-03-27  Juergen Vigna  <jug@sad.it>
17168
17169         * BufferView_pimpl.C: set the temporary cursor right!
17170
17171 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17172
17173         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17174
17175 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17176
17177         * LString.h: removed "using std::getline"!
17178
17179         * BufferView_pimpl.C (Dispatch): changes due to changes in
17180         InsetInclude::Params.
17181
17182         * buffer.C (tag_name): removed redundant break statements as they were
17183         producing lots of warnings with my compiler.
17184
17185 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17186
17187         * LString.h: add "using std::getline" when using the real <string>.
17188
17189 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
17190
17191         * buffer.C: removed bitset usage.
17192         PAR_TAG moved to an anonymous name space.
17193         (tag_name): new funtion, also in the anonymous namespace.
17194         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17195         (makeDocBookFile): clean code. Completed transition from string arrays
17196         to string vectors.
17197         (SimpleDocBookOnePar): code clean.
17198
17199 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17200
17201         * tabular.C: add some comments.
17202
17203 2001-03-22  Juergen Vigna  <jug@sad.it>
17204
17205         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17206         compatibility read a bit and fixed bug with minipage in different
17207         depth.
17208
17209 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
17210
17211         * buffer.C (pop_tag): removed.
17212         (push_tag): removed.
17213         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17214         array replaced with vector. Added support for CDATA sections.
17215         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17216         at any nest level.
17217         (makeDocBookFile): XML conformant declaration of CDATA section,
17218         fixed bug related to <emphasis> in the first paragraph char.
17219         (sgmlOpenTag): exclude empty tags.
17220         (sgmlCloseTag): ditto.
17221
17222         * buffer.h (pop_tag): removed.
17223         (push_tag): removed.
17224
17225 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17226
17227         * language.h (Languages): added size_type and size().
17228
17229 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17230
17231         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17232         response on compability reading of minipages. One probliem is that
17233         the old usage of minipages was «flertydig»
17234
17235         * several files here and in subdirs: don't use static at file
17236         scope use anon namespaces instead.
17237
17238 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17239
17240         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17241         LaTeX output. This is necessary for Literate document
17242         processing.
17243
17244 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17245
17246         * buffer.C: insert hfill when needed.
17247
17248         * tabular.C (l_getline): use string::erase, small whitespace change.
17249
17250         * BufferView_pimpl.C: try the anon namespace.
17251         * WorkArea.C: ditto
17252
17253 2001-03-16  Juergen Vigna  <jug@sad.it>
17254
17255         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17256         otherwise it won't open options-dialogs.
17257
17258         * buffer.C: honor pextraWidth(p) on converting minipages.
17259
17260         * tabular.C (l_getline): changed the functions to strip trailing \r.
17261
17262 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17263
17264         * BufferView_pimpl.C:
17265         * minibuffer..C: added "using SigC::slot" declaration.
17266
17267 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17268
17269         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17270
17271         * text2.C: ditto
17272
17273         * text.C: ditto
17274
17275         * paragraph.C: ditto
17276
17277         * lyxtext.h: NO_PEXTRA
17278
17279         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17280
17281         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17282         * ParameterStruct.h: ditto
17283         * ParagraphParameters.h: ditto
17284         * lyxparagraph.h: ditto
17285
17286 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17287
17288         * buffer.C: add compability for minipage alignment.
17289         (latexParagraphs): remove unwanted pextra check.
17290
17291         * several files: remove CXX_WORKING_NAMESPACES
17292
17293         * buffer.C (pop_tag): tie is in namespace boost
17294
17295         * BufferView.h: noncopyable is in namespace boost
17296         * lyxlex.h: ditto
17297         * lyx_main.h: ditto
17298         * lyx_gui.h: ditto
17299         * layout.h: ditto
17300         * lastfiles.h: ditto
17301         * bufferlist.h: ditto
17302         * ShareContainer.h: ditto
17303         * LyXView.h: ditto
17304         * LyXAction.h: ditto
17305         * LaTeX.h: ditto
17306
17307 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17308
17309         * Merging changes from BRANCH_MVC back into HEAD.
17310
17311         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17312
17313 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17314
17315         * BufferView_pimpl.C: change from intl.C
17316
17317         * combox.h:
17318         * combox.C:
17319         * Makefile.am: move combox.*
17320
17321         * form1.h:
17322         * form1.C:
17323         * lyx_gui.C:
17324         * intl.h:
17325         * intl.C: remove dialog (covered by prefs)
17326
17327 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17328
17329         * lyxfunc.C (Dispatch): removed redundant break statement.
17330
17331 2001-03-14  Juergen Vigna  <jug@sad.it>
17332
17333         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17334
17335 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17336
17337         * buffer.C: add hack to fix compability reading of minipages.
17338
17339 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17340
17341         * buffer.C (getLists): Cleanup.
17342
17343 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17344
17345         * lyxfont.C (update): don't honor toggleall on font size.
17346
17347 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17348
17349         * bmtable.c:
17350         * bmtable.h:
17351         * Makefile.am: moved to frontends/xforms/
17352
17353         * lyx_gui_misc.C:
17354         * lyxfunc.C:
17355         * BufferView_pimpl.C: changes for moved mathpanel
17356
17357 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17358
17359         * gettext.h: fix gettext_init() in --disable-nls
17360
17361 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17362
17363         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17364
17365 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17366
17367         * lyx.C:
17368         * lyx.h: strip external form
17369
17370 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17371
17372         * BufferView_pimpl.C: add comment, destroySplash()
17373
17374 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17375
17376         * BufferView_pimpl.C:
17377         * LyXAction.C:
17378         * buffer.C:
17379         * commandtags.h:
17380         * lyxfunc.C: use re-worked insetinclude
17381
17382 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17383
17384         * buffer.C: add using std::stringstream.
17385
17386         * lyx_cb.C: readd using std::ios.
17387
17388         * buffer.C: add using std::map.
17389
17390         * BufferView_pimpl.C: add using std::vector.
17391
17392         * ShareContainer.h: add std:: to swap.
17393
17394         * buffer.h: add some typedefs
17395         * buffer.C (getLists): use them
17396         (getLists): renamed from getTocList.
17397         add a counter for the different float types and use it in the
17398         generated string.
17399         (getLists): use the same counter for the NEW_INSETS and the "non"
17400         NEW_INSETS
17401
17402         * lyx_cb.h: remove unused items, includes, using etc.
17403
17404         * ShareContainer.h: remove some commented code, add more comments
17405         and "documentation".
17406
17407 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17408
17409         * buffer.C (getTocList): make the list also when NEW_INSETS is
17410         defined.
17411
17412         * buffer.h: remove TocType
17413
17414         * buffer.C (getTocList): change to return a map<string,
17415         vector<TocItem> >, implement for dynamic number of list.
17416
17417         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17418         * text2.C (PasteSelection): adjust
17419         * CutAndPaste.C (pasteSelection): adjust
17420
17421         * FloatList.C (FloatList): update from the new_insets branch.
17422         * Floating.[Ch]: ditto
17423         * LaTeXFeatures.C: ditto
17424         * buffer.C: ditto
17425         * lyxlex_pimpl.C: ditto
17426
17427         * paragraph.C (Last): remove when NEW_INSETS is defined.
17428
17429         * other file: changes because of the above.
17430
17431 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17432
17433         * lyxparagraph.h: rename next to next_, previous to previous_,
17434         make them private for NEW_INSETS. Rename Next() to next(),
17435         Previous() to previous().
17436
17437         * other files: changes because of the above.
17438
17439 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17440
17441         * BufferView.h:
17442         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17443         problem.
17444
17445 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17446
17447         * main.C (main): pass lyx_localedir to gettext_init().
17448
17449         * gettext.h: remove locale_init and gettext_init macros
17450
17451         * gettext.C (locale_init): new function
17452         (gettext_init): new function
17453
17454         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17455         setlocale().
17456
17457 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17458
17459         * Moved credits to frontends:
17460         * credits.[Ch]: removed
17461         * credits_form.[Ch]: removed
17462         * lyx_gui_misc.C: remove credits stuff
17463         * Makefile.am:
17464
17465 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17466
17467         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17468
17469         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17470         unneeded destructor.
17471
17472         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17473         a standalone pointer again.
17474
17475         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17476
17477 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17478
17479         * Makefile.am:
17480         * filedlg.h:
17481         * filedlg.C:
17482         * LyXAction.C:
17483         * ToolbarDefaults.C:
17484         * bufferlist.C:
17485         * commandtags.h:
17486         * form1.C:
17487         * form1.h:
17488         * lyx_cb.C:
17489         * lyx_cb.h:
17490         * lyxfunc.h:
17491         * lyxfunc.C:
17492         * BufferView_pimpl.C: use new file dialog in GUII
17493
17494         * lyx_cb.h:
17495         * lyx_cb.C: remove LayoutsCB to Toolbar
17496
17497 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17498
17499         * ShareContainer.h (get): add std:: qualifier
17500
17501 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17502
17503         * ShareContainer.h: define a proper ShareContainer::value_type
17504         type (and use typename to please compaq cxx)
17505
17506 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17507
17508         * lyxparagraph.h: move serveral local vars to
17509         ParameterStruct/ParagraphParameters., use ShareContainer in
17510         FontTable., make vars in FontTable private and add getter and
17511         setter.
17512
17513         * paragraph.C: changes because of the above.
17514
17515         * lyxfont.h: remove copy constructor and copy assignment. (the
17516         default ones is ok), move number inside FontBits. move inlines to
17517         lyxfont.C
17518
17519         * lyxfont.C: add number to initializaton of statics, move several
17520         inlines here. constify several local vars. some whitespace
17521         cleanup. Dont hide outerscope variables.
17522
17523         * Spacing.h: add two new constructors to match the set methods.
17524
17525         * ShareContainer.h: new file, will perhaps be moved to support
17526
17527         * ParameterStruct.h: new file
17528
17529         * ParagraphParameters.h: new file
17530
17531         * ParagraphParameters.C: new file
17532
17533         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17534         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17535
17536         * BufferView_pimpl.C: ParagraphParameter changes.
17537         * buffer.C: Likewise.
17538         * bufferview_funcs.C: Likewise.
17539         * text.C: Likewise.
17540         * text2.C: Likewise.
17541
17542 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17543
17544         * lyxfind.C (LyXReplace): do not redefine default argument in
17545         implementation.
17546         (IsStringInText): ditto
17547         (SearchForward): ditto
17548         (SearchBackward): ditto
17549
17550 2001-03-06  Juergen Vigna  <jug@sad.it>
17551
17552         * lyxfind.C (IsStringInText): put parentes around expressions.
17553
17554 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17555
17556         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17557
17558 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17559
17560         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17561
17562         * stl_string_fwd.h: add comment
17563
17564         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17565
17566         * tabular.h:
17567         * tabular.C: remove unused DocBook methods
17568
17569         * intl.C:
17570         * language.C:
17571         * paragraph.C:
17572         * buffer.C:
17573         killed DO_USE_DEFAULT_LANGUAGE
17574
17575 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17576
17577         * lyx_gui.C: do not include language.h.
17578
17579         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17580         arguments in function implementation.
17581
17582 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17583
17584         * BufferView_pimpl.C: add <ctime>
17585
17586 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17587
17588         * BufferView_pimpl.C: add using std::find_if
17589
17590 2001-02-27  José Matos  <jamatos@fep.up.pt>
17591
17592         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17593         by OnlyPath.
17594
17595 2001-02-11  José Matos  <jamatos@fep.up.pt>
17596
17597         * buffer.C (makeDocBookFile): command styles now have a parameter as
17598         "title" by default.
17599
17600 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17601
17602         * layout_forms.[Ch]: removed
17603         * lyx_cb.[Ch]: out character
17604         * lyx_gui.C: out character
17605         * lyx_gui_misc.C: out character
17606         * bufferview_funcs.C: : out character,
17607         added toggleall as parameter in ToggleAndShow
17608
17609 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17610
17611         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17612
17613         * text2.C (SetCurrentFont): Disable number property at boundary.
17614
17615 2001-02-26  Juergen Vigna  <jug@sad.it>
17616
17617         * lyxfunc.C (getStatus): added a string argument override function so
17618         that this is correctly called from LyXFunc::Dispatch if it contains a
17619         do_not_use_argument which is used!
17620         (Dispatch): added check for "custom" export and call appropriate func.
17621
17622 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17623
17624         * lyxrc.C: Add language_command_local, language_use_babel and
17625         language_global_options.
17626
17627         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17628
17629         * buffer.C (makeLaTeXFile): Use language_use_babel and
17630         language_global_options.
17631
17632 2001-02-23  Juergen Vigna  <jug@sad.it>
17633
17634         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17635         which works with LyXText and putted it inside BufferView. Here now we
17636         only call for that part the BufferView::Dispatch() function.
17637
17638         * BufferView.C (Dispatch): added.
17639
17640         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17641         functions which needs to use a LyXText over from LyXFunc.
17642         (MenuInsertLyXFile): added
17643         (getInsetByCode): added
17644         (moveCursorUpdate): added
17645         (static TEXT): added
17646
17647 2001-02-22  Juergen Vigna  <jug@sad.it>
17648
17649         * BufferView_pimpl.C (update): call a status update to see if LyXText
17650         needs it.
17651
17652 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17653
17654         * vc-backend.C (revert): implement for CVS
17655         (getLog): implement for CVS
17656
17657 2001-02-20  Juergen Vigna  <jug@sad.it>
17658
17659         * text2.C (ClearSelection): added BufferView param for inset_owner call
17660
17661         * lyxfunc.C (TEXT): added this function and use it instead of
17662         directly owner->view()-text of getLyXText().
17663
17664 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17665
17666         * src/layout_forms.C: out preamble
17667         * src/layout_forms.h: out preamble
17668         * src/lyx_cb.C: out preamble
17669         * src/lyx_cb.h: out preamble
17670         * src/lyx_gui.C: out preamble
17671         * src/lyx_gui_misc.C: out preamble
17672         * src/lyxfunc.C: connect with guii preamble
17673
17674 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17675
17676         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17677
17678 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17679
17680         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17681         whether to run bibtex.
17682
17683 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17684
17685         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17686
17687 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17688
17689         * Makefile.am (lyx_SOURCES): removed bibforms.h
17690
17691         * vspace.h: doxygen
17692
17693         * text.C (GetVisibleRow): make several local vars const
17694
17695         * tabular.C: small cleanup.
17696
17697         * lyxserver.C (callback): use compare instead of strncmp
17698
17699         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17700         inlines to after class or to paragraph.C
17701
17702         * lyxfont.h: remove friend operator!=
17703
17704         * converter.h: move friend bool operator< to non friend and after
17705         class def.
17706
17707         * combox.h: small cleanup
17708
17709         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17710         to inlines after class def.
17711
17712         * buffer.C (pop_tag): use string operations instead of strcmp
17713
17714         * bmtable.c: doxygen, small cleanup
17715
17716         * LaTeX.h: remove friend operator==
17717
17718 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17719
17720         * screen.C:
17721         * lyxrc.[Ch]:
17722         * lyxfunc.C:
17723         * lyxfont.[Ch]:
17724         * lyx_cb.C:
17725         * intl.[Ch]:
17726         * commandtags.h:
17727         * buffer.C:
17728         * WorkArea.[Ch]:
17729         * LyXAction.C:
17730         * BufferView_pimpl.C:
17731         * BufferView.[Ch]: remove cruft
17732
17733 2001-02-14  Juergen Vigna  <jug@sad.it>
17734
17735         * lyxfunc.C: removed #if 0 unused code
17736
17737         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17738
17739         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17740
17741         * text2.C (SetSelection): added a BufferView * parameter
17742
17743 2001-02-13  Juergen Vigna  <jug@sad.it>
17744
17745         * lyxfunc.C (Dispatch): fixed protected blank problem.
17746         * BufferView2.C (protectedBlank): added LyxText * parameter.
17747
17748         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17749         (AppendColumn): same as above for column_info.
17750
17751         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17752         (moveCursorUpdate): use a LyXText param for support of InsetText.
17753
17754         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17755         (tripleClick): ditto
17756
17757         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17758
17759         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17760
17761         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17762
17763         * text2.C (SetSelection): set correct update status if inset_owner
17764         (ToggleFree): ditto
17765
17766 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17767
17768         * tabular.C: remove some commented code.
17769
17770 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17771
17772         * BufferView_pimpl.C: call hideSplash()
17773
17774         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17775
17776         * include_form.h:
17777         * bibforms.h: remove
17778
17779         * lyxfunc.C:
17780         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17781           add LFUN_CHILD_CREATE
17782
17783         * counters.h: fix tiny typo
17784
17785         * lyx_cb.C:
17786         * lyx.h:
17787         * lyx_gui.C:
17788         * lyx.C: move splash to frontends/xforms/
17789
17790         * lyx_gui_misc.C: move Include and Bibform to frontends
17791
17792         * lyxvc.h: clarify comment
17793
17794         * vspace.C: tiny housekeeping
17795
17796 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17797
17798         * text.C (PrepareToPrint): RTL Fix.
17799
17800         * paragraph.C (GetUChar): New method.
17801         (String):  Use GetUChar.
17802
17803         * buffer.C (asciiParagraph): Use GetUChar.
17804
17805 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17806
17807         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17808
17809 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17810
17811         * buffer.h:
17812         * buffer.C: rename to getLogName(), handle
17813           build log / latex log nicely
17814
17815 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17816
17817         * MenuBackend.C:
17818         * MenuBackend.h: remove support for reference menuitem type.
17819
17820 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17821
17822         * BufferView_pimpl.C: housekeeping
17823         * BufferView_pimpl.h:
17824         * LyXView.h:
17825         * Makefile.am:
17826         * Timeout.C:
17827         * Timeout.h:
17828         * minibuffer.h: move Timeout GUI-I
17829
17830 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17831
17832         * lyxrc.C (read): Update converters data-structures.
17833
17834 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17835
17836         * LaTeX.h (operator!=): add operator != for Aux_Info
17837
17838 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17839
17840         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17841
17842         * LaTeXLog.C: deleted, useful code moved to Buffer
17843
17844         * buffer.h:
17845         * buffer.C: new function getLatexLogName()
17846
17847         * lyx_gui_misc.C:
17848         * lyx_gui.C:
17849         * lyxvc.C:
17850         * lyxvc.h:
17851         * lyxfunc.C: use frontends for LaTeX and VC logs
17852
17853 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17854
17855         * LaTeX.h: yet another std:: that Allan forgot.
17856
17857         * Variables.C (set): renamed from isset(), because this clashes
17858         with some HP-UX macros (grr).
17859
17860 2001-02-06  Allan Rae  <rae@lyx.org>
17861
17862         * LaTeX.h: Another bug fix.  Missing std:: this time.
17863
17864 2001-02-04  Allan Rae  <rae@lyx.org>
17865
17866         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17867         floats problem. I've left it commented out because it's not quite
17868         correct.  It should also test that the current object is a table or
17869         figure inset.  But I haven't gotten around to figuring out how to do
17870         that.  I *think* it'll be something like: "table" == inset.type()
17871
17872         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17873         bool.
17874
17875 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17876
17877         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17878         all the citation/databases/styles in the auxilary file.
17879         (run): Rerun latex if there was a babel language error.
17880
17881 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17882
17883         * text.C (Backspace): Preserve the font when changing newline char
17884         with a space.
17885         (BreakParagraph): If the cursor is before a space, delete the space.
17886
17887         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17888
17889 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17890
17891         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17892         new argument (code).
17893         (ChangeCitationsIfUnique): New method.
17894
17895         * paragraph.C (GetPositionOfInset): Handle bibkey.
17896
17897 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17898
17899         * BufferView_pimpl.h: change type of Position::par_pos to
17900         LyXParagraph::size_type.
17901
17902 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17903
17904         * BufferView_pimpl.C (savePosition, restorePosition): Write
17905         messages to minibuffer.
17906
17907 2001-01-28  José Matos  <jamatos@fep.up.pt>
17908
17909         * buffer.C (makeDocBookFile): adds support for document language.
17910         A silly restriction on the name of LatexCommand types where removed.
17911         Added support for CDATA sections, allows to chars unescaped, used
17912         among others in code, to avoid escape < and >.
17913
17914 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17915
17916         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17917         saved positions instrad of a stack. Furthermore, a position is
17918         stored using paragraph id/paragraph position.
17919
17920         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17921         Remove LFUN_REF_BACK.
17922
17923 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17924
17925         * converter.C (dvipdfm_options): New method.
17926
17927 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17928
17929         * vspace.C (isValidLength): Fix for empty input string.
17930
17931 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17932
17933         * LyXAction.C (init): change description of LFUN_FIGURE to
17934         "Insert Graphics"
17935
17936 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17937
17938         * LaTeX.C: add using directive
17939
17940 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17941
17942         * MenuBackend.C (expand): Fix the sorting of the formats.
17943
17944 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17945
17946         * lyx_main.C: tiny error message fix
17947
17948 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17949
17950         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17951         calling fl_initialize(). This fixes the problem with ',' as
17952         decimal separator in text files.
17953
17954 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17955
17956         * trans.C (process): Fix the keymap bug.
17957
17958 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17959
17960         * LaTeX.C (scanAuxFiles): New method. Provides support for
17961         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17962         (scanLogFile) Scan for "run BibTeX" messages.
17963
17964         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17965         OT1 font encoding. Also, load the aecompl package if the ae
17966         package is loaded.
17967
17968         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17969
17970 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17971
17972         * texrow.C (increasePos): turn two error messages into debug
17973         messages.
17974
17975 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17976
17977         * LaTeX.C (scanAux): Handle the \@input macro.
17978         (runBibTeX): Use scanAux().
17979
17980         * language.C (latex_options_): New field.
17981
17982         * LaTeXFeatures.C (getMacros): Add language macros.
17983
17984         * buffer.C (makeLaTeXFile): Small fix.
17985
17986 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17987
17988         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17989
17990         * text2.C: add a using directive.
17991
17992 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17993
17994         * BufferView2.C:
17995         * lyx_gui_misc.h:
17996         * lyxfr1.C:
17997         * lyxfunc.C: kill LyXBell.
17998
17999 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18000
18001         * text.C (IsBoundary): Remove the error message
18002
18003         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18004
18005         * lyxrc.C (setDefaults): Correct initialization value for
18006         font_norm_type.
18007
18008 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18009
18010         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18011         gotoError().
18012
18013         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18014         and GotoNextNote().
18015
18016         * src/LyXAction.C: Added reference-next.
18017
18018         * text.C (InsertChar): Use contains instead of strchr.
18019
18020         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18021
18022 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18023
18024         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18025         alignment commands (when needed).
18026
18027         * text.C (InsertChar): Add ':' to number separator chars.