]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
e93df99fb7751a8bdad2dcdc2499367d0324f075
[lyx.git] / src / ChangeLog
1
2 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
3
4         * messages.C (get): add debug output.
5
6 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
7
8         * text.C (cursorX): fix bug 1965: cursor movement at
9         line end broken in RtL.
10         (drawSelection): fix bug 1970: drawing of single-line 
11         selection broken for RtL.
12
13 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14
15         bug 465.
16
17         * dociterator.h (clear, push_back, pop_back): change from
18         protected to public.
19
20         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
21         and changed to just return the value of the item depth; take a
22         ParIterator as argument; take the itemdepth at outer nesting level
23         in account if necessary; cleanup and comment the code.
24         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
25         and changed to just return true if reset is needed; take a
26         ParIterator as argument; cleanup and comment the code.
27         (setCounter): adapt to above changes.
28
29 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
30
31         * text3.C (dispatch): make debug message optional
32
33 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
34
35         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
36         inset. (bug 1963)
37
38 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
39
40         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
41
42 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
43
44         * text.C (insertChar):
45         * text2.C (deleteEmptyParagraphMechanism): take care whether 
46         a blank has been deleted (in change tracking mode) (bug 1254).
47
48 2005-07-20  John Levon  <levon@movementarian.org>
49
50         * text2.C (insertStringAsLines): remove old dubious code,
51         fixing bug 1939.
52
53 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
54
55         * MenuBackend.C (expandToc): use Floating::listName() as title of
56         the floats submenus.
57
58 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
59
60         * toc.[Ch]: Do not use translatable strings (bug 1870).
61
62 2005-07-20  John Levon  <levon@movementarian.org>
63
64         * tabular.C: fix 1748 - setting multicolumn adds
65           left line to the first cell
66
67 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
68
69         bug 1920
70         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
71         pars in one go.
72
73 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
74
75         * messages.C: supress some lyxerr messages
76
77 2005-07-18  Juergen Vigna  <jug@lyx.org>
78
79         * text.C (drawSelection): honor boundary when asking for cursorX.
80
81 2005-07-17  José Matos  <jamatos@fc.up.pt>
82
83         * tabular.C (recalculateMulticolumns): fix handling of one column
84         tables.
85
86 2005-07-17  Juergen Vigna  <jug@lyx.org>
87
88         * text.C (Delete, backspace): fixed so that paragraph with the
89         same layout can be merged by Delete/Backspace.
90
91 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
92
93         * text.C (readParToken): fix spelling.
94
95 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
96
97         * text2.C: fix counter update for DEPM problem reported by
98         Georg Baum
99
100 2005-07-17  Juergen Vigna  <jug@lyx.org>
101
102         * BufferView_pimpl.C (setBuffer): save/restore the
103         cursor/selection when switching buffers
104
105         * buffer.h: 
106         * buffer.C (saveCursor): add saveDocumentIterators to save the
107         cursor when switching buffer.
108
109 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
110
111         * debug.C: fix typo
112         * buffer.C: clarify message
113         
114 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
115
116         * dociterator.C (DocIterator): fix initialization order
117
118 2005-07-17  Juergen Vigna  <jug@lyx.org>
119
120         * text2.C (cursorHome): 
121         * text.C (drawSelection, cursorX): 
122         * dociterator.C (textRow): add boundary to getRow() call
123
124         * paragraph.C (getRow): implementation of below
125
126         * paragraph.h: add parameter boundary for getRow() function
127
128 2005-07-17  José Matos  <jamatos@fc.up.pt>
129
130         * buffer.C:
131         * bufferparams.[Ch]:
132         * tex-strings.[Ch]: new file format, remove support for a4.sty,
133         a4wide.sty and a4widemargins.
134
135 2005-07-17  Juergen Vigna  <jug@lyx.org>
136
137         * text2.C (cursorLeft): fix one of error
138
139 2005-07-17  Juergen Vigna  <jug@lyx.org>
140
141         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
142                    cursorEnd):
143         more fixes for boundary handling
144
145         * text3.C (dispatch): don't reset cursor if boundary has changed
146         on cursor movement.
147
148 2005-07-16  Juergen Vigna  <jug@lyx.org>
149
150         * text2.C (getColumnNearX): hopefully got it right now,
151         check if we are on column 0 for special case.
152
153 2005-07-16  Juergen Vigna  <jug@lyx.org>
154
155         * text2.C (getColumnNearX): handle special case Newline Inset
156
157         * text.C (singleWidth): Just remove bogus check
158
159 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
160
161         * funcrequest.C (split): avoid reading uninitialized char c
162
163 2005-07-16  José Matos  <jamatos@fc.up.pt>
164
165         * buffer.C:
166         * converter.C:
167         * lyxrc.C:
168         * paper.h:
169         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
170         single papersize variable.
171
172 2005-07-16  Juergen Vigna  <jug@lyx.org>
173
174         * text3.C (dispatch): honor boundary when checking if a cursor
175         movement has been done
176
177         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
178         (setCursor, setCursorIntern): fix cursor movement with boundary
179
180 2005-07-16  Juergen Vigna  <jug@lyx.org>
181
182         * text.C (currentState): output the actual Boundary
183
184 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
185
186         * factory.C (createInset): fix bad logic for tabular creation
187
188 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
189
190         * lyx_main.C (init): change some reLyX reference to tex2lyx
191
192 2005-07-16  Juergen Vigna  <jug@lyx.org>
193
194         * dociterator.C (DocIterator): initialize boundary
195
196 2005-07-16  Juergen Vigna  <jug@lyx.org>
197
198         * text2.C (getColumnNearX): Consider rows without trailing blank.  
199
200 2005-07-16  André Pönitz  <poenitz@gmx.net>
201
202         * lyxfont.h: Change order of declarations to give the compiler
203         a better chance to inline things
204
205         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
206         questions on unsaved docs for better scritability
207
208 2005-07-16  André Pönitz  <poenitz@gmx.net>
209
210         * paragraph.h (getChar): remove asserts as the same kind of security
211         can be achieved by using a suitable standard library implementation
212         and the function was in the critical path (25.9% in profiler)
213
214 2005-07-16  Juergen Vigna  <jug@lyx.org>
215
216         * cursor.C (bruteFind2):
217         * bufferview_funcs.C (coordOffset): 
218         * text.C (cursorX,cursorY): Handle cursor position after last char
219         in row before a inset which uses a whole row.
220
221 2005-07-15  José Matos <jamatos@lyx.org>
222
223         * output_plaintext.[Ch] (writeFileAscii): control reference title
224         printing.
225         (asciiParagraph): noparbreak was already deal and was incorrectly
226         used.
227
228 2005-07-15  Juergen Vigna <jug@lyx.org>
229
230         * lyxfunc.C (dispatch): save and restore the cursor after a
231         textclass switch.
232
233 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
234
235         * text.C (backspace): bug 806 for empty keepempty paragraphs we
236         change the layout to default before letting DEPM do its thing.
237
238         * paragraph_funcs.C (breakParagraph): dont reset the layout on
239         keepEmpty paragraphs
240
241         * text.C (setCursorFromCoordinates): add a debug statement
242
243         * text2.C (getColumnNearX): bug 1825 make sure that we don't
244         return a pos that is not on the row
245
246         * output_latex.C (TeXDeeper): get rid of potential dereferencing
247         of past the end iterator
248
249 2005-07-14  André Pönitz  <poenitz@gmx.net>
250
251         * undo.C (recordUndoFullBuffer): implement undo for
252         textclass switches
253
254 2005-07-14  André Pönitz  <poenitz@gmx.net>
255
256         * cursor.C (setSelection): open insets when selection is set there
257         to avoid crashs with cold coord cache
258
259 2005-07-14  André Pönitz  <poenitz@gmx.net>
260
261         * trans_mgr.C (insert): move cursor to the right after inserting
262         a char.
263
264 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
265
266         * BufferView_pimpl.C (update): dampen some of the debug blabbering
267         * factory.C (readInset): ditto
268         * text.C, text2.C: ditto
269
270 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
271
272         * buffer.C: format incremented to 242. There is no file format per
273         se, but the "frenchb" language has been removed from lib/language
274         and has to be translated to "french" by lyx2lyx.
275
276 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
277
278         * cursor_slice.h, dociterator.h: add some documentation
279         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
280
281 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
282
283         * text.C (leftMargin): do not add identation to display() style
284         insets, because they are always centered (bug 1293).
285
286 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
287
288         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
289         formatted_time methods in support/lyxtime.
290
291 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
292
293         * toc.[Ch]: new method getGuiName, which is used by the frontends 
294         to set the toc combo (fixes bug 1870). Make TOC string translatable.
295
296 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
297
298         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
299         StableDocIterator const &)
300         * undo.C (recordUndo): use the above instead of cell.size() comparison
301         (fixes bug 1808; instructed by Andr�.
302
303 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
304
305         * cursor_slice.h: 
306         * dociterator.h: Fix the assert when copying rows/cols in math
307
308 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
309
310         * BufferView_pimpl.C:
311         * LyXAction.C:
312         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
313
314         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
315         (findInset): new functions, refactored from goto Inset that return 
316         the position of a certain inset without setting the buffer's cursor
317         (by Jean-Marc); 
318         (gotoInset): rewrite to call findInset and then set the cursor
319         (by Jean-Marc).
320
321 2005-06-16  Angus Leeming  <leeming@lyx.org>
322
323         * lyxrc.C (output, read): wrap all input and output of paths with
324         calls to os::internal_path and os::external_path, respectively.
325         (output): wrap bind_file inside quotes.
326
327         * format.C (view): enable the viewer to use the '$$s' placeholder.
328
329 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
330
331         * LColor.[Ch] (getFromLaTeXName): new
332
333 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
334
335         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
336
337 2005-06-14  Angus Leeming  <leeming@lyx.org>
338
339         * lyx_main.C (init): ensure that the LyX binary dir is the first
340         element in the PATH on non-POSIX builds.
341
342 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
343
344         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
345
346 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
347
348         * rowpainter.C (paintInset, paintHebrewComposeChar)
349         (paintArabicComposeChar, paintChars): add a LyXFont argument.
350         (paintChars): use getFontSpan to reduce calls to getFont to a
351         minimum; use Paragraph::lookupChange instead of isXXXText.
352         (paintForeignMark): rename LyXFont argument.
353         (paintFromPos): pass a LyXFont object to the various paintXXX
354         methods.
355
356         * FontIterator.C (FontIterator, operator++): use
357         Paragraph::getFontSpan
358
359         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
360         version that returns the font span as a pair.
361
362 2005-06-09  Angus Leeming  <leeming@lyx.org>
363
364         * converter.C (convert): Don't forget "outfile = real_outfile" as
365         the final step in a conversion where the input and output file names
366         are the same. Otherwise, future conversion steps won't work...
367
368 2005-06-09  Angus Leeming  <leeming@lyx.org>
369
370         * lyxsocket.C: remove stub code as it isn't needed by
371         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
372
373 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
374
375         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
376         effectively disabled -x
377
378 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
379
380         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
381         when it actually makes sense.
382
383 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
384
385         * BufferView_pimpl.C: revert to showCursor in connection with
386         Lars's front-end stack
387
388 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
389
390         * text.C (redoParagraph): move cursor right after a bibitem
391         has been inserted.
392
393         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
394
395 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
396
397         * buffer_funcs.C (bufferErrors): fix computation of the end of an
398         error range.
399
400 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
401
402         * BufferView.[Ch] (update):
403         * BufferView_pimpl.[Ch] (update, metrics):
404         * dimension.h (operator==):
405         * lyxfunc.C (dispatch):
406         * metricsinfo.h (ViewMetricsInfo):
407         * rowpainter.C (paintText):
408         * lyxtext.h:
409         * text.C (redoParagraph):
410         * text3.C (dispatch): Make LyX only repaint current paragraph in
411         case of character insert --> speedup. Also fix cursor draw
412         artifacts
413
414 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
415
416         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
417         avoid a crash (bug 1891)
418
419 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
420
421         Fix bug 1892:
422
423         * text2.C (getStringToIndex): constify cur argument.
424
425         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
426         argument has been given
427         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
428         try to invoke LFUN_INSET_APPLY).
429
430         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
431         if no inset was created by doInsertInset
432         (doInsertInset): return true if an inset has been inserted.
433
434 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
435
436         * vspace.C (asGUIName): new method. A version of the space
437         suitable for showing on screen.
438
439 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
440
441         * MenuBackend.C:
442         * lyxrc.C: rename "ASCII" to "Plain Text"
443
444 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
445
446         * buffer_funcs.C (expandLabel): take a Buffer as argument;
447         translate the labelstring.
448         (setCounter): translate labelstring as needed.
449
450         * output_docbook.C (makeCommand): fix expandLabel invokation
451
452 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
453
454         * BufferView.C: fix dialog title
455
456 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
457
458         * lyx_main.C (priv_exec): fix logic error with help from Angus
459         * lyx_main.C (parse_execute): set is_gui = false and remove now
460         obsolete comment about a segfault
461
462 2005-05-18  Angus Leeming  <leeming@lyx.org>
463
464         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
465
466 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
467
468         * tabular.[hC]: added setCellInset to fix tabular paste.
469
470 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
471
472         * buffer.C (save): check if destination is writable before trying
473         to copy a file
474
475 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
476
477         * BufferView_pimpl.C (update): fix processEvents -caused update
478         recursion bug
479
480 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
481
482         * buffer_funcs.C (setCounter): fix test for numbering of
483         environments.
484
485         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
486         depth correctly; use optional argument when it exists
487
488         * lyxtextclass.C: remove unused MaxCounterTags enum
489         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
490         (max_toclevel, min_toclevel): new methods.
491
492         * MenuBackend.C (expandToc2): fix case where depth is smaller than
493         the smallest depth in toc.
494
495         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
496         layouts that should not appear in a table of contents.
497
498 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
499
500         * cursor.h (undispatched, noUpdate): add comments from Andr�
501 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
502
503         * lfuns.h:
504         * LyXAction.C:
505         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
506
507 2005-05-07  André Pönitz  <poenitz@gmx.net>
508
509         * cursor.[Ch] (leaveInset): new function
510
511 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
512
513         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
514
515 2005-05-04  Angus Leeming  <leeming@lyx.org>
516
517         * lyxfunc.C (getStatus): disable the spell checker dialog if
518         none of USE_[AIP]SPELL are defined.
519
520 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
521
522         * tabular.C (setWidthOfCell): remove obsolete comment
523
524 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
525
526         * paragraph.C (bibitem):
527         * buffer_funcs.C (setCounter):
528         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
529
530 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
531
532         * text3.C (getStatus): immediately return after setOnOff
533
534         * rowpainter.C: fix drawing of appendix start
535
536 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
537
538         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
539         SwitchBetweenClasses and remove the unused return value.
540         Handle character styles, too
541
542 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
543
544         * factory.C (createInset): handle undefined character styles
545
546 2005-05-02  Angus Leeming  <leeming@lyx.org>
547
548         * buffer.C: protect the #include of utime.h with a preprocessor
549         guard.
550
551 2005-05-02  Angus Leeming  <leeming@lyx.org>
552
553         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
554         function so that auto-saving works, albeit in a blocking manner.
555
556         * Makefile.am: make compilation of the client sub directory, of
557         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
558         on conditionals set at configure time.
559
560         * SpellBase.[Ch]: no longer an abstract base class. Instead,
561         it can be compiled in its own right but has no-op functionality.
562
563         * aspell.C, pspell.C: remove preprocessor guards. The files should
564         be compiled only if the necessary functionality exists.
565
566         * lyxserver.C, lyxsocket.C: disable on Windows.
567
568 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
569
570         * text.C (leftMargin): Fix the parindent use bug (1764)
571         by dirty trick
572
573 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
574
575         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
576         argument.
577
578 2005-04-25  Angus Leeming  <leeming@lyx.org>
579
580         * Bidi.[Ch]:
581         * coordcache.[Ch]:
582         * ispell.C:
583         * lyxserver.C:
584         * mover.C:
585         * pch.h:
586         include <config.h> in .C files, not .h ones.
587         add licence blurb.
588         protect headers inside preprocessor guards.
589
590 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
591
592         * FuncStatus.h (StatusCodes): document
593
594 2005-04-21  André Pönitz  <poenitz@gmx.net>
595
596         * FuncStatus.h (enabled, onoff): document
597
598 2005-04-19  Angus Leeming  <leeming@lyx.org>
599
600         * BufferView_pimpl.C (cursorToggle): no longer test whether
601         any child processes have been reaped before calling
602         handleCompletedProcesses().
603
604 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
605
606         * text3.C (dispatch): fix, finally fix, the language problem in
607         new lyxtexts, without disabling on-the-fly font changes (Helge's
608         bug report)
609
610 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
611
612         * text3.C (dispatch): set cursor on double/triple click events
613         (bug 1811)
614
615 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
616
617         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
618         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
619
620         * rowpainter.C (paintFirst): simplify the code a little bit. In
621         particular, remove the test for secnumdepth.
622         * text.C (setHeightOfRow): only allocate space for chapter number
623         when updateCounters provided an actual label, instead of looking
624         at secnumdepth directly.
625
626         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
627
628         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
629         paragraphs when secnumdepth is large enough or, for environments,
630         when they are not the first in a sequence.
631
632 2005-04-17  Angus Leeming  <leeming@lyx.org>
633
634         * buffer.C (makeLaTeXFile): replace code to manipulate a path
635         containing space and '~' characters with a call to latex_path().
636
637 2005-04-17  Angus Leeming  <leeming@lyx.org>
638
639         * converter.C (convert): protect all args of convertDefault.sh
640         script with quotes.
641
642 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
643
644         * text3.C (dispatch): change the layout to "Caption" after inserting
645         a float.
646
647 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
648
649         * text3.C (dispatch): fix language problem in newly created
650         textinsets (and main text) in non-english docs
651
652 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
653
654         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
655         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
656         * text3.C (getStatus): disable LFUN_INSET_MODIFY
657
658 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
659
660         * lyxtext.h:
661         * text.C (metrics):
662         * text2.C (getFont):
663         * rowpainter.C (getFont): Fix metrics bug introduced by inset
664         fonts fix
665
666 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
667
668         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
669         output of \item arguments without trailing text.
670
671 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
672
673         * FontIterator.C (operator*): avoid a copy of the font.
674
675 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
676
677         * rowpainter.C (getFont): fix language bug from previous fix
678
679 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
680
681         * rowpainter.C (RowPainter, getFont): fix font inside inset
682         (bugs 1766, 1809)
683
684 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
685
686         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
687         preventing inserted font, deco, delim insets jumping to start of
688         surrounding inset.
689
690 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
691
692         * lyxfunc.C (dispatch): translate message before sending it to the
693         minibuffer.
694
695 2005-03-29  Angus Leeming  <leeming@lyx.org>
696
697         * lyx_main.C (priv_exec): call os::internal_path on each file passed
698         to LyX on the command line.
699
700 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
701
702         * vc-backend.C: use QuoteName to protect file names wherever
703         necessary.
704
705 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
706
707         * buffer.[Ch]:
708         * BranchList.h: fix bugs 1844,1845: document settings don't
709         stick
710
711 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
712
713         * lyxrc.C (setDefaults, read, output, getDescription): add support
714         for tex_allows_spaces.
715
716         * exporter.C (Export): allows files in directory containing spaces
717         if tex_allows_spaces is true.
718
719         * buffer.C (makeLaTeXFile): if the document path contains spaces,
720         output it in double quotes.
721
722 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
723
724         * rowpainter.C: use default text height for drawing change tracker
725         strikeout lines.
726
727 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
728
729         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
730
731 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
732
733         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
734         directory is missing.
735
736 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
737
738         * text2.C: fixed the fix, extended to other case.
739
740 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
741
742         * text2.C: fix for cursor up/down stuck in math [bug 1792]
743
744 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
745
746         * text2.C (cursorUp): get rid of a crash
747         * text.C (x2pos): add an assert
748
749 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
750
751         * lyxfunc.C (getStatus): fix warning when assertions are disabled
752
753         * text3.C:
754         * lyxfunc.C:
755         * dociterator.C: include <boost/current_function.hpp>, which is
756         needed when assertions are disabled.
757
758 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
759
760         * text2.C: fix for stuck cursor when traversing two
761         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
762
763 2005-02-25  Andreas Vox  <avox@arcor.de>
764
765         * output_docbook.C (makeParagraph): suppress trailing newline
766         after a run of paragraphs
767
768 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
769
770         * paragraph.C: fix for confused change tracker when pasting
771         text that begins with a lineseparator. [bug 1827]
772         (setChange(0, Change::INSERTED);)
773
774         * paragraph_funcs.C: fix for lost changes on triple-paste
775         in change tracking mode [bug 1827] (par.setChange()).
776
777 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
778
779         * text2.C (updateCounters, setCounter, expandLabel): move to
780         buffer_funcs.
781
782         * buffer_funcs.C (updateCounters): turn into a free standing
783         function and add a buffer parameter. Remove dead code for tracking
784         labelstring change.
785         (setCounter): change into a free-standing function which gets a
786         dociterator as argument. Use this iterator to fix captions in a
787         simple way. When no float is found above the caption, use the
788         labelstring of the caption layout as default.
789
790         * text.C (breakParagraph, backspace):
791         * text2.C (init, setLayout, changeDepth):
792         * text3.C (dispatch):
793         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
794         updateCounters.
795
796         * dociterator.C (forwardPar): make it much faster by calling
797         forwardPos() only when really necessary.
798
799         * output_docbook.C (makeCommand): adapt to expandLabel move.
800
801         * cursor.C: remove unused variable
802
803 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
804
805         * paragraph_funcs.C: fix crash when pasting insets in change
806         tracking mode [bug 1277] (honour change type in moveItem).
807
808 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
809
810         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
811
812 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
813
814         * BufferView.C (setCursor): change to use a DocIterator.
815         (gotoLabel): use BufferView::setCursor (other part of bug 781).
816         (putSelectionAt): adapt to BufferView::setCursor change.
817
818         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
819         moved here from LyXText and rewritten to use proper cursor
820         methods. Fixes bug 1787, 616 and 835.
821
822         * BufferView_pimpl.C (restorePosition): set the cursor correctly
823         when inside an inset (part of bug 781).
824         (dispatch): adapt to change of BufferView::setCursor.
825         (getStatus, dispatch): handle LFUN_GOTOERROR,
826         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
827
828         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
829         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
830         * text3.C (gotoNextInset, gotoInset): removed.
831
832 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
833
834         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
835
836 2005-02-15  Angus Leeming  <leeming@lyx.org>
837
838         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
839         can be used meaningfully in a comparison.
840
841 2005-02-13  André Pönitz  <poenitz@gmx.net>
842
843         * bufferview_funcs.C (coordOffset): improve cursor drawing
844
845 2005-02-13  André Pönitz  <poenitz@gmx.net>
846
847         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
848         * Cursor.C (dispatch): use fixIfBroken
849         * lyxfunc.C (getStatus): use fixIfBroken
850
851 2005-02-15  Angus Leeming  <leeming@lyx.org>
852
853         * lyx_main.C (error_handler):
854         * lyxfunc.C:
855         * lyxrc.C (setDefaults):
856         s/GetEnv/getEnv/.
857         #include "environment.h".
858
859         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
860
861 2005-02-15  Angus Leeming  <leeming@lyx.org>
862
863         * lyxserver.C (startPipe): squash MSVC warning "local variable
864         'fd' used without having been initialized".
865
866 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
867
868         * BufferView_pimpl.C: revert accidental commit.
869
870 2005-02-14  André Pönitz  <poenitz@gmx.net>
871
872         * dociterator.[Ch]: new member forwardPosNoDescent(),
873         which doesn't enter nested insets.
874         * text2.C (setFont): use forwardPosNoDescent() instead
875         of ForwardPos() (fixes crash on font change).
876
877 2005-02-13  Angus Leeming  <leeming@lyx.org>
878
879         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
880         only if lyxrc.path_prefix is not empty.
881
882 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
883
884         * bufferparams.C (readGraphicsDriver): prevent crash
885
886 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
887
888         * text2.C (setCounter): check for inInset() == 0
889
890 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
891
892         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
893         but use update() to get correct screen display; use convert
894         instead of istringstream.
895         (getStatus): handle LFUN_GOTO_PARAGRAPH
896
897         * lyxfunc.C (dispatch, getStatus): do not handle
898         LFUN_GOTO_PARAGRAPH here.
899
900 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
901
902         * text3.C (dispatch): size() -> depth()
903
904         * text2.C: remove some debug output
905
906         * paragraph.C: ws changes only
907
908         * lyxfunc.C (getStatus): size() -> depth()
909
910         * dociterator.h (clear, push_back, pop_back, internalData,
911         operator[], resize, empty): new functions
912         Make StableDocIterator and operator== be friends. Don't inherit
913         from std::vector use a privat class variable slices_ instead.
914         Modify to fit.
915
916         * dociterator.C: update because of not inheriting from std::vector
917         anymore. Call explictly to slices_ instead. Use depth() instead of
918         size() and top() instead of back()
919
920         * cursor.C: chagne size() -> depth and back() -> top(). Also
921         remove some direct operator[](i) calls in favour of foo[i]
922         (getFont): remove some dead code
923
924         * bufferview_funcs.C (coordOffset): size() -> depth()
925
926         * buffer.C: ws changes only
927
928         * CutAndPaste.C (eraseSelection): back() -> top()
929
930         * BufferView_pimpl.C (selectionRequested): back() -> top()
931
932         * BufferView.C (setCursor): size() -> depth()
933
934 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
935
936         * text3.C (cursorPrevious): return true if depm changed something
937         (cursorNext): ditto
938         (dispatch): rename sl to oldTopSlice, remove moving use the new
939         NoUpdate func attrib instead. Make sure that needsUpdate is set
940         for function that have NoUpdate, but where depm might have changed
941         the buffer anyway.
942
943         * text2.C (cursorLeft): make us return true if depm changed
944         something
945         (cursorRight): ditto
946         (cursorUpParagraph): ditto
947         (curosrDownParagraph): ditto
948         (cursorUp, cursorDown): ditto, make sure to read comments in code
949         (deleteEmptyParagraphMechanism): remove an assert, also return
950         true if just a single char was deleted.
951
952         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
953         cursor that we modify, to avoid modifying an active cursor before
954         we call setCursor. This allows depm to run. Also return true if
955         depm deleted something.
956
957         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
958         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
959         cursorDownParagraph, cursorPrevious and cursorNext, return true if
960         something was changed in the buffer because of them (ie. depm run)
961
962         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
963         debug messages. Make update by default be false. Make sure that
964         the result of update is retained throught several calls down to
965         dispatch.
966
967         * LyXAction.h: add a new func_attrib: NoUpdate
968
969         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
970         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
971         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
972         and LFUN_WORDLEFT
973         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
974
975 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
976
977         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
978         bv_->owner(), bv_->buffer() by direct references to the private
979         members.
980         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
981         (getStatus): isSavedPosition() is in BufferView::Pimpl.
982         (fitCursor): center() is in BufferView::Pimpl.
983         (getStatus, trackChanges, dispatch): no need for a temporary buf
984         variable
985         (fitCursor, workAreaDispatch): use workarea().workheight()
986
987 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
988
989         * CutAndPaste.C (pasteSelectionHelper): fix a crash
990
991 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
992
993         * buffer.C: format up to 241.
994         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
995         break if pasting into ERT
996         * lyxfunc.C (getStatus): suppress mathpanel and
997         LFUN_DIALOG_SHOW_NEW_INSET in ERT
998
999 2005-02-01  Angus Leeming  <leeming@lyx.org>
1000
1001         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1002
1003 2005-02-01  Angus Leeming  <leeming@lyx.org>
1004
1005         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1006         calling fs::is_directory().
1007
1008 2005-01-31  Angus Leeming  <leeming@lyx.org>
1009
1010         * lyx_main.C (priv_exec): specify explicitly the relative location
1011         of the top level build directory when run in-place.
1012
1013 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1014
1015         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1016         LyXText containing the cursor, not the top-level one.
1017
1018         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1019         true.
1020         (insertStringAsLines): rename par to pit; use temporary variable
1021         par to hold a Paragraph; do not store par.layout() in a variable,
1022         since the pointer may die when breaking paragraphs; pass pars to
1023         breakParagraph() instead of Buffer::paragraphs().
1024
1025 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1026
1027         * lyxlex_pimpl.h: #include <fstream>.
1028
1029         * BufferView.[Ch] (getLyXText): add a const version.
1030
1031         * BufferView_pimpl.C: add debug aids.
1032
1033         * RowList_fwd.h:
1034         * buffer.h:
1035         * lyxrow.h:
1036         * paragraph_funcs.h: add commentary explaining what the class does.
1037
1038
1039         * coordcache.[Ch]: add lots of commentary.
1040         (startUpdating, doneUpdating): debug aids.
1041         (arrays, insets, parPos, getParPos): accessors to private data.
1042
1043         * cursor_slice.[Ch] (text): add a const version.
1044         * dociterator.[Ch] (text, innerText): add const versions.
1045
1046         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1047         bool.
1048
1049         * paragraph.C (getRow, pos2ros): add asserts.
1050
1051         * paragraph.h: add commentary. Lots of.
1052
1053         * paragraph.[Ch] (metrucs, draw): removed.
1054
1055         * cursor.C:
1056         * rowpainter.[Ch]: const-correct changes.
1057
1058         * text.C: various obvious clean-ups. Removal of ancient cruft.
1059         Bug fixes, even.
1060
1061 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1062
1063         * vc-backend.C (find_file): rewrite to use boost.filesystem
1064         (scanMaster): ditto
1065
1066         * main.C (main): set default name check for boost.filesystem to
1067         no check
1068
1069         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1070         (open): ditto
1071         (doImport): ditto
1072         (actOnUpdatedPrefs): ditto
1073
1074         * lyx_main.C (init): rewrite to use boost.filesystem
1075         (queryUserLyXDir): ditto
1076
1077         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1078         (getContentsOfAsciiFile): ditto
1079
1080         * lastfiles.C (readFile): rewrite to use boost.filesystem
1081
1082         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1083
1084         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1085         (loadLyXFile): ditto
1086
1087         * buffer.C (Buffer): adjust for destroydir
1088         (getLogName): rewrite to use boost.filesystem
1089         (setFileName): ditto
1090         (save): use fs::copy_file (from fs_extras)
1091
1092         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1093
1094         * LaTeX.C (run): rewrite to use boost.filesystem
1095         (scanAuxFiles): ditto
1096         (handleFoundFile): ditto
1097
1098 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1099
1100         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1101
1102         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1103
1104 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1105
1106         * lyxlayout.[Ch]: change some vars from float to double
1107
1108         * buffer.C (readFile): make a local var const
1109
1110         * Several files: use convert<> instead of atoi,strToXXX and friends
1111
1112 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1113
1114         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1115         holds the contents of packages.lst. New functions getAvailable
1116         and isAvailable to parse and check that list, resp.
1117
1118         * LyXAction.C:
1119         * lfuns.h:
1120         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1121
1122         * bufferparams.[Ch]: new param output_changes.
1123
1124         * Buffer.C: increase file format to 240.
1125         Use output_changes and isVailable.
1126
1127         * changes.[Ch]:
1128         * paragraph.C:
1129         * paragraph_pimpl.C: Use output_changes and isVailable.
1130
1131 2005-01-23  Angus Leeming  <leeming@lyx.org>
1132
1133         * output_latex.C: #include "insetbibitem.h", rather than
1134         forward declare function bibitemWidest.
1135
1136 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1137
1138         * lyx_main.C (init): make it compile on the Mac.
1139
1140 2005-01-20  Angus Leeming  <leeming@lyx.org>
1141
1142         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1143         (setLyXMisc): (char string literal) != (char string literal) is
1144         performing a comparison on the addresses. Convert one operand
1145         explicitly to string to guarantee expected behaviour.
1146         From MSVC warning.
1147
1148 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1149
1150         * buffer.C:
1151         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1152
1153         * output_plaintext.C: remove unneeded #include gzstream.h.
1154
1155 2005-01-20  Angus Leeming  <leeming@lyx.org>
1156
1157         * SpellBase.h: rename some of the elements of the Result enum.
1158
1159         * aspell_local.h:
1160         * ispell.h:
1161         * pspell.h:
1162         * aspell.C (check):
1163         * ispell.C (check):
1164         * pspell.C (check): ditto
1165
1166 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1167
1168         * buffer.C: add #include <fstream>.
1169
1170         * lyx_main.C (init): Compile fix.
1171
1172         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1173
1174 2005-01-20  Angus Leeming  <leeming@lyx.org>
1175
1176         * mover.h: change commentary to reflect the changed meaning of
1177         the $$s placeholder.
1178
1179 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1180
1181         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1182
1183         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1184
1185 2005-01-20  Angus Leeming  <leeming@lyx.org>
1186
1187         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1188         printing diagnostic data by not dereferecing an iterator past the
1189         end.
1190
1191 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1192
1193         * buffer.C (readHeader): use "&&" rather than "and".
1194
1195         * lyxserver.h (inPipeName, outPipeName): make these const.
1196
1197 2005-01-19  Angus Leeming  <leeming@lyx.org>
1198
1199         * lyx_main.C (error_handler, init): protect SIGHUP with
1200         #ifdef SIGHUP guards.
1201
1202 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1203
1204         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1205
1206 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1207
1208         * text.C (setHeightOfRow): add a margin at the top and bottom of
1209         the document (bug 1761)
1210
1211 2005-01-17  Angus Leeming  <leeming@lyx.org>
1212
1213         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1214         with "python ". Workaround for a brain-dead Windows.
1215
1216 2005-01-16  Angus Leeming  <leeming@lyx.org>
1217
1218         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1219         for MacOSX and Windows to use prependEnvPath.
1220         Strip out the hard-coded block to add elements to the PATH for
1221         MacOSX and replace it with a call to prependEnvPath using the
1222         contents of LyXRC::path_prefix.
1223         (queryUserLyXDir): strip out the code to run reconfigure, instead
1224         returning a boolean indicating the necessity to do so.
1225         (reconfigureUserLyXDir): contains the code to reconfigure the
1226         user support directory. Is now called after the various LyXRC data
1227         files have been read.
1228
1229         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1230
1231 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1232
1233         * converter.[Ch] (convert): take a new parameter try_default. Use
1234         a default converter (imagemagick) if try_default is true.
1235
1236 2005-01-13  Angus Leeming  <leeming@lyx.org>
1237
1238         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1239         os::cygwin_path_fix.
1240         (write): output LyXRC::cygwin_path_fix as necessary.
1241
1242 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1243
1244         * lyxrc.h:
1245         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1246
1247 2005-01-12  Angus Leeming  <leeming@lyx.org>
1248
1249         * lyx_main.C (init): set the PATH variable to include the
1250         directory containing the LyX binary when running on Mac or Windows.
1251
1252 2005-01-12  Angus Leeming  <leeming@lyx.org>
1253
1254         * lyx_main.C (init): remove cruft that purports to set the locale
1255         dir. It doesn't and is not needed anyway.
1256
1257 2005-01-10  Angus Leeming  <leeming@lyx.org>
1258
1259         * Makefile.am: remove the lyx_main.C special casing.
1260
1261         * BufferView_pimpl.C:
1262         * bufferlist.C:
1263         * exporter.C:
1264         * lyx_cb.C:
1265         * lyx_main.C:
1266         * lyxfunc.C:
1267         * messages.C: use support/package.h to provide the paths to the
1268         various directories used by LyX.
1269
1270 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1271
1272         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1273         layout if pasting into an empty paragraph)
1274
1275 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1276
1277         * tex-accent.C: add <string>
1278
1279 2005-01-06  José Matos  <jamatos@lyx.org>
1280
1281         * ParagraphParameters.C (write): put every parameter in its own line.
1282         * paragraph.C (write): reduce number of consecutive empty lines exported.
1283         * buffer.C (LYX_FORMAT): increase file format to 239.
1284
1285 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1286
1287         * everywhere: change support/tostr.h -> support/convert.h
1288
1289         * tabular.C: make all write_attributes templates, tostr -> convert
1290
1291         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1292         (emptyTag): and -> &&, and fix type for ret from getChar
1293         (getFirstWord): fix type for ret from getChar
1294         (onlyText): and -> &&
1295         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1296         getChar
1297
1298         * toc.C (goTo, action):
1299         * text3.C (dispatch):
1300         * text.C (currentState):
1301         * tex-accent.C (DoAccent):
1302         * sgml.C:
1303         * lyxrc.C:
1304         * lyxfunc.C (menuNew):
1305         * lyxfinc.C (replace):
1306         * counters.C (laberItem):
1307         * bufferview_funcs.C (font2string):
1308         * bufferparams.C (writeFile):
1309         * buffer.C (readFile):
1310         * Spacing.C (set):
1311         * MenuBackend.C: tostr -> convert
1312
1313         * LaTeX.C (runMessage): fix format
1314         (scanAuxFiles): tostr -> convert
1315
1316         * BufferView_pimpl.C (savePosition): fix format
1317         (restorePosition): ditto
1318         (dispatch): ditto
1319
1320 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1321
1322         * Spacing.[Ch]: New method getValueAsString().
1323
1324         * Spacing.[Ch]:
1325         * bufferparams.C:
1326         * ParagraphParameters.C:
1327         * lyxlayout.C:
1328         * text.C:
1329         * text3.C: store/read spacing value as string.
1330
1331         * rowpainter.C: change float value (spacing_val) to double.
1332
1333         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1334         broken custom document spacing).
1335
1336 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1337
1338         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1339         namespace, also more use of temp references and const
1340
1341         * cursor.[Ch] (getStatus): move to lyxfunc.C
1342
1343         * bufferparams.C: reformat slightly
1344
1345         * bufferview_funcs.C (font2string): constify arg
1346
1347         * changes.C:
1348         * converter.C:
1349         * counters.C:
1350         * bufferlist.C:
1351         * buffer_funcs.C: (many funcs): constify arg on function
1352         definitions, also make more local vars const, also add ASSERTS on
1353         pointer args.
1354
1355         * buffer.C (LYX_FORMAT): put const in correct place
1356         (many funcs): constify arg on function definitions, also make
1357         more local vars const
1358
1359         * aspell_local.h: remove "struct" from typdef setup
1360
1361         * aspell.C (check): make word_ok const
1362         (nextMiss): simplify slightly
1363         (error): ditto
1364
1365 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1366
1367         * lyxrc.[Ch]: store all float values as strings.
1368         use int (not float) for lyxrc.dpi.
1369
1370 2005-01-04  Angus Leeming  <leeming@lyx.org>
1371
1372         * lyx_cb.C (Reconfigure):
1373         * lyx_main.C (queryUserLyXDir):
1374         to run the <system_lyxdir>/configure correctly on Windows, prefix
1375         the path to the script with "sh " when generating the string that
1376         is passed to system().
1377
1378 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1379
1380         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1381
1382 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1383
1384         * lyxlength.C (asLatexString): get rid of setprecision
1385
1386 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1387
1388         * text2.C (setLayout): remove unused variable endpit.
1389         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1390
1391         * paragraph.C (onlyText): remove unused variable style.
1392
1393         * cursor.C (bruteFind): remove unused variables beg and end.
1394
1395         * Makefile.am (dist_noinset_DATA): not needed anymore
1396
1397         * cheaders/*: remove.
1398
1399 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1400
1401         * text3.C: fix LFUN_MATH_MODE.
1402
1403 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1404
1405         * buffer_funcs.C (countWords): new function. Counts words between
1406         two iterators.
1407
1408         * BufferView_pimpl.C (getStatus, dispatch): handle
1409         LFUN_WORDS_COUNT.
1410
1411         * LyXAction.C (init):
1412         * lfuns.h: add LFUN_WORDS_COUNT.
1413
1414 2004-12-19  Angus Leeming  <leeming@lyx.org>
1415
1416         * buffer.C (save): s/slashify_path/internal_path/.
1417
1418 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1419
1420         * lyxfind.C (findChange): do not search for end of pars, because
1421         the change tracker cannot handle this (fixes bug 1719).
1422
1423 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1424
1425         * paragraph.[Ch] (autoBreakRows): remove
1426
1427         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1428
1429         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1430         avoid using the paragraph one
1431
1432         * text2.C (LyXText, insertStringAsLines): adjust
1433
1434 2004-12-16  Angus Leeming  <leeming@lyx.org>
1435
1436         * bufferlist.C:
1437         * lyx_main.C:
1438         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1439
1440 2004-12-14  Angus Leeming  <leeming@lyx.org>
1441
1442         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1443
1444         * bufferlist.C (emergencyWrite):
1445         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1446         GetEnvPath("HOME").
1447
1448 2004-12-14  Angus Leeming  <leeming@lyx.org>
1449
1450         * main.C: (main): no longer pass pointers to os::init.
1451
1452 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1453
1454         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1455         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1456
1457 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1458
1459         * lyxfunc.C:
1460         * text3.C: remove selection_possible global flag
1461
1462 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1463
1464         * text2.C (getSelectionSpan): remove
1465         (changeDepth, changeDepthAllowed): adjust
1466
1467 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1468
1469         * Makefile.am (BOOST_LIBS): use boost variables
1470
1471 2004-12-03  José Matos  <jamatos@lyx.org>
1472
1473         * buffer.C: format up to 238.
1474
1475 2004-12-03  José Matos  <jamatos@lyx.org>
1476
1477         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1478
1479 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1480
1481         * cursor.C (goUpDown): remove call to idxUpDown2
1482
1483 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1484
1485         * tabular.[Ch]: use size_t-like types for cell, row and column
1486         indices
1487
1488 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1489
1490         * lyxfunc.C (getStatus): do not lose previous information when
1491         calling BufferView::getStatus; do not set a default "Command
1492         disabled" message at the beginning, but just before returning.
1493
1494 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1495
1496         * cursor.h (getStatus): add better comment from src/cursor.C
1497
1498 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1499
1500         * text3.C (getStatus): return false when the lfun is not handled
1501
1502 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1503
1504         * broken_headers.h: remove
1505
1506         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1507
1508 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1509
1510         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1511         offset_ref accessors
1512
1513         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1514         top_y_, merge fitcursor with update
1515         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1516         coord scheme
1517         (metrics): introduce
1518         (workAreaDispatch): adapt to new coord scheme
1519         (redoCurrentBuffer): remove
1520
1521         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1522
1523         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1524         CurStatus enum.
1525
1526         * coordcache.[Ch]: add paragraph cache and helpers
1527
1528         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1529         adjust everywhere
1530
1531         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1532         (targetX, setTargetX): introduce
1533
1534         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1535         baseline -> ascent, as the rest of lyx
1536
1537         * lyxtext.h: remove redoParagraphs, updateParPositions,
1538         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1539         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1540         have ascent/descent (ascent is ascent of first par)
1541
1542         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1543         step of BufferView
1544
1545         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1546
1547         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1548
1549         * pariterator.C: fix infinite loop introduced in par->pit renaming
1550
1551         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1552         in insets and LyXText, draw two off-screen paragraphs using
1553         NullPainter, and adapt to new coord scheme
1554
1555         * text.C:
1556         * text2.C:
1557         * text3.C: adapt lfun handlers to the new coord scheme, which
1558         means: there's only guaranteed coord information for onscreen pars
1559         plus one above and one below. This implies that one can do search
1560         from y coordinates in the range [-1,workHeight]
1561
1562 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1563
1564         * rename a lot of InsetOld to InsetBase
1565
1566 2004-11-25  Angus Leeming  <leeming@lyx.org>
1567
1568         * BufferView_pimpl.C:
1569         * lyx_cb.C:
1570         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1571
1572 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1573
1574         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1575         call BufferView::getStatus if LCursor::getStatus did nothing
1576         (setStatusMessage, getStatusMessage): removed.
1577
1578         * FuncStatus.C (message): new methods. Used to provide an error
1579         message indicating why a command is disabled.
1580         (clear, |=, FuncStatus): update for message.
1581
1582 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1583
1584         * lyxfunc.C (dispatch): always call sendDispatchMessage
1585
1586 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1587
1588         * BufferView.C:
1589         * BufferView_pimpl.C:
1590         * CutAndPaste.C:
1591         * FontIterator.C:
1592         * buffer.C:
1593         * cursor.C:
1594         * cursor_slice.[Ch]:
1595         * dociterator.[Ch]:
1596         * lyxfind.C:
1597         * paragraph_funcs.C:
1598         * pariterator.C:
1599         * rowpainter.C:
1600         * text.C:
1601         * text2.C:
1602         * text3.C:
1603         * undo.C: par->pit renaming
1604
1605 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1606
1607         * tabular.C (cellstruct): use initialization, store a shared_ptr
1608         to insettext instead of the insettext directly, adjust to fit.
1609         (operator=):  new function
1610         (swap): new function
1611         (rowstruct): use initialization
1612         (columnstruct): use initialization
1613         (ltType): use initialization
1614
1615
1616         * lyxlength.h (swap): new function
1617
1618         * LColor.[Ch] (operator=): use the common semantics
1619
1620 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1621
1622         * lyxfind.C (findNextChange): update the bufferview after setting
1623         the selection.
1624
1625 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1626
1627         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1628         number of InsetOptArgs has already been inserted.
1629
1630         * output_latex.C (latexOptArgInsets): new method. This outputs all
1631         the optarg insets, up to the limit defined in the layout file.
1632         (optArgInset): removed
1633         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1634
1635 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1636
1637         * paragraph.C (isLetter): remove special spellchecker-related
1638         code; return true also for digits
1639         (isWord, isKomma): remove
1640
1641         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1642         * lyxfind.C (MatchString()): use isLetter instead of isWord
1643
1644 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1645
1646         * pariterator.h (operatir=): comment out un-implemented member
1647         function.
1648
1649         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1650         static cast.
1651
1652 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1653
1654         * lyxfont.h: include LColor.h to satisfy concept checks.
1655
1656 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1657
1658         * pariterator.h: add typdefs for value_type, difference_type,
1659         pointer and reference to satisfy concept checks. Also add default
1660         constructor for same reason.
1661
1662         * pariterator.C (operator++): add post-increment operator to
1663         satisfy concept checks.
1664
1665         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1666         checks.
1667
1668         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1669
1670         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1671         checks. Also rename base_type to BaseType to follow naming
1672         standard better.
1673
1674         * FloatList.h: include Floating.h to satisfy concept checks.
1675
1676 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1677
1678         * lyxfunc.C (getStatus): when the origin of the request is menu or
1679         toolbar, and the LyXView does not have focus, do as if there was
1680         no buffer (bug 1720)
1681
1682         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1683         FuncRequest to individual entries of LFUN_SEQUENCE
1684
1685 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1686
1687         * output_latex.C (TeXOnePar): override runparams.moving_arg
1688         according to the needprotect value of the current paragraph (bug
1689         1739)
1690
1691         * paragraph.C (simpleTeXOnePar): no need to override
1692         runparams.moving_args here
1693
1694 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1695
1696         * vspace.C: fix off-by-one-error, related to fix #1682
1697
1698 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1699
1700         * lengthcommon.C: a more general fix for bug 1682
1701
1702 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1703
1704         * text.C (backspace): fix crash
1705
1706 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1707
1708         * format.[Ch] (getFormatFromFile): new method
1709         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1710
1711 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1712
1713         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1714
1715 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1716
1717         * lyxfunc.C (dispatch): remove the verbose argument
1718         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1719         instead
1720
1721         * kbmap.C (defkey): set the origin of func to KEYBOARD
1722
1723         * MenuBackend.C (MenuItem):
1724         * ToolbarBackend.C (add): set the origin of func to UI
1725
1726         * funcrequest.[Ch]: add origin member, which indicates which part
1727         of LyX requests an action
1728
1729 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1730
1731         * converter.C (move): don't lie in the error message
1732         * converter.h (isReachable, move): document
1733
1734 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1735
1736         * buffer.C: remove unused using lyx::support::atoi
1737         * paragraph_funcs.C: ditto
1738
1739 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1740
1741         * bufferlist.C (exists): use bind and equal_to instead of
1742         compare_memfun
1743         (getBuffer): ditto
1744         * lyxtextclasslist.C (NumberOfClass): ditto
1745
1746         * cursor.C (insert): use for_each instead of explicit for loop
1747
1748         * bufferlist.C (getFileNames): use std::transform and
1749         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1750
1751         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1752         for loop
1753
1754         * buffer.C (changeLanguage): use for_each instead of explicit for
1755         loop
1756         (hasParWithID): implement using getParFromID
1757
1758         * LaTeXFeatures.C: ws change only
1759
1760         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1761         to cleanup a bit.
1762
1763         * BufferView_pimpl.C (trackChanges): use for_each instead of
1764         expilicit for loop
1765
1766 2004-11-04  André Pönitz  <poenitz@gmx.net>
1767
1768         * undo.h:
1769         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1770
1771         * dociterator.C (asDocIterator): use hard assert again.
1772
1773 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1774
1775         * lyxlength.C (asLatexString): rewrite so that it does not use
1776         snprintf anymore
1777
1778 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1779
1780         * text3.C (specialChar, dispatch): make sure cursor moves to the
1781         right after inserting an inset
1782
1783 2004-11-02  José Matos  <jamatos@lyx.org>
1784
1785         * output_docbook.C (docbook):
1786         * paragraph.C (getID):
1787         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1788         garantee that the output is always legal.
1789
1790         * tabular.C (docbook):
1791         * outputprams.[Ch]: remove mixed contents.
1792
1793 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1794
1795         * text2.C (setCounter): prevent endless loop
1796
1797 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1798
1799         * exporter.C (copyFile): use the mover instead of support::copy()
1800         * exporter.C (Export): pass format and latex name to copyFile()
1801         * exporter.h (addExternalFile): document
1802         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1803
1804 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1805
1806         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1807
1808 2004-10-30  José Matos  <jamatos@lyx.org>
1809
1810         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1811         text and no inset or font change. This allows to use CDATA
1812         sections just for the whole paragraph.
1813
1814 2004-10-30  José Matos  <jamatos@lyx.org>
1815
1816         * paragraph.C (getFirstWord): remove unused variable.
1817
1818 2004-10-30  José Matos  <jamatos@lyx.org>
1819
1820         * paragraph.C (getFirstWord): the content should always be escaped
1821         there.
1822         (simpleDocBookOnePar):
1823         * output_docbook.C (makeEnvironment): replace reference to CDATA
1824         to style pass_thru.
1825
1826 2004-10-30  José Matos  <jamatos@lyx.org>
1827
1828         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1829
1830 2004-10-30  José Matos  <jamatos@lyx.org>
1831
1832         * output_docbook.C (makeParagraphs):
1833         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1834         standard paragraph has only a given type of content drop the wrapper.
1835
1836 2004-10-29  José Matos  <jamatos@lyx.org>
1837
1838         * output_docbook.C (makeEnvironment):
1839         * sgml.C (openTag):
1840         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1841
1842 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1843
1844         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1845         (cleanID): sanitize any id.
1846
1847 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1848
1849         * buffer.C, lyxlex_pimpl.C:
1850         * lyxlex_pimpl.C (setFile):
1851         s/getExtFromContents/getFormatFromContents/
1852
1853 2004-10-28  José Matos  <jamatos@lyx.org>
1854
1855         * output_docbook.C (makeEnvironment): move id to broadest possible
1856         scope.
1857
1858         * sgml.C (openTag): apply substitution of <> for all attributes.
1859
1860 2004-10-28  José Matos  <jamatos@lyx.org>
1861
1862         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1863         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1864         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1865
1866         * sgml.[Ch]: new version for open and closeTag for paragraph and
1867         for strings. Now they handle the ids of paragraphs.
1868
1869 2004-10-26  Angus Leeming  <leeming@lyx.org>
1870
1871         * Makefile.am: add mover.[Ch].
1872
1873         * converter.C (convert, move): use the new Movers to move external
1874         files to the temp directory.
1875
1876         * lyx_main.C (init): ensure that the global system_movers data
1877         is initialised.
1878
1879         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1880         preferences file.
1881
1882         * mover.[Ch]: new files, defining a Mover as a utility to move an
1883         external file between directories and, if necessary, manipulate this
1884         file using a helper script.
1885
1886 2004-10-25  José Matos  <jamatos@lyx.org>
1887
1888         * output_docbook.C (makeCommand): merge two if's that tested the
1889         same condition.
1890
1891 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1892
1893         * sgml.C (escapeString): fix warning in a better way
1894
1895 2004-10-25  José Matos  <jamatos@lyx.org>
1896
1897         * sgml.C (escapeString): import the require boosts header file for
1898         tie, and avoid a signed unsigned comparison.
1899
1900 2004-10-25  José Matos  <jamatos@lyx.org>
1901
1902         * sgml.h: add #include <string>
1903
1904 2004-10-25  José Matos  <jamatos@lyx.org>
1905
1906         * sgml.[Ch] (escapeString): new function to escape all the string.
1907
1908 2004-10-24  José Matos  <jamatos@lyx.org>
1909
1910         * paragraph.[Ch] (getFirstWord): new function to get the first
1911         word. Useful for description.
1912         (simpleDocBookOnePar): remove depth argument, add another that
1913         says where to start the paragraph.
1914
1915         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1916         use the new functions to fix cleanly the support for descriptions.
1917
1918 2004-10-24  José Matos  <jamatos@lyx.org>
1919
1920         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1921         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1922         * output_linuxdoc.C (linuxdocParagraphs):
1923         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1924         add buffer as argument.
1925
1926 2004-10-24  José Matos  <jamatos@lyx.org>
1927
1928         * output_docbook.C (makeEnvironment, searchEnvironment): place
1929         CDATA inside paragraphs and fix scope for listitems.
1930
1931 2004-10-24  José Matos  <jamatos@lyx.org>
1932
1933         * output_docbook.C: remove using statement for stack.
1934
1935 2004-10-23  José Matos  <jamatos@lyx.org>
1936
1937         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1938         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1939         docbook. The new scheme is recursive and makes use of iterators, the
1940         same as latex export works.
1941         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1942         directly with the paragraph contents. This code was moved up to
1943         output_docbook.C (docbookParagraphs).
1944         * sgml.C (openTag, closeTag): removed unneeded newlines.
1945         (closeEnvTags) removed.
1946
1947 2004-10-23  André Pönitz  <poenitz@gmx.net>
1948
1949         * undo.C (textUndoOrRedo):
1950         * dociterator.C (asDocIterator): work around crash
1951
1952         * cursor.C (getStatus): replace ASSERT by more verbose error message
1953           and manual correction of the problem. Should increase stability
1954           while providing more sensible information.
1955
1956 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1957
1958         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1959
1960         * bufferlist.C (previous, next): new methods
1961
1962         * lfuns.h:
1963         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1964
1965 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1966
1967         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1968         entities to preamble.
1969
1970 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1971
1972         * messages.C (Pimpl): strip off translation context information
1973
1974 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1975
1976         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1977         the cursor is correct (bug 1694)
1978
1979 2004-10-13  José Matos  <jamatos@lyx.org>
1980
1981         * output_docbook.C (docbookParagraphs): fix closing tags in the
1982         end of the document.
1983
1984 2004-10-09  José Matos  <jamatos@lyx.org>
1985
1986         * buffer.C: format up to 237.
1987         * bufferparams.C (write): use tostr to convert booleans to strings.
1988
1989 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1990
1991         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1992
1993 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1994
1995         * LaTeX.C: implement use of babel language in xindy.
1996
1997 2004-10-05  José Matos  <jamatos@lyx.org>
1998
1999         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2000         Add new translators to help reading and writing the lyx file.
2001
2002 2004-10-05  José Matos  <jamatos@lyx.org>
2003
2004         * ParagraphParameters.C (read):
2005         * text.C (readParToken): replace nexToken by more appropriate lex
2006         methods.
2007
2008 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2009
2010         * LaTeX.C (runMakeIndex):
2011         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2012         (usually 'makeindex') configurable.
2013
2014         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2015         with a variable rather than with a number.
2016
2017 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2018
2019         * output_latex.C (TeXOnePar): make sure font setting is the first
2020         thing that gets output (and the last at the end). Should fix bug
2021         1404.
2022
2023 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2024
2025         * pch.h: use proper signal include
2026
2027         * LaTeX.h: Use preferred calling of Boost.Signal
2028         * buffer.h: ditto
2029
2030 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2031
2032         * pch.h: dont include <boost/function/function0.hpp>
2033
2034         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2035
2036         * paragraph_pimpl.h: remove usage of ShareContainer
2037
2038         * paragraph_pimpl.C: remove initialization of ShareContainer.
2039
2040 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2041
2042         Fix bug #1666
2043
2044         * BufferView.C (putSelectionAt): change the semantics when
2045         backwards == true: now, this just swaps cursor and anchor wrt the
2046         forward case
2047
2048         * BufferView.h (putSelectionAt): add some documentation
2049
2050         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2051         make sure backwardChar is done at least once (to avoid getting
2052         stuck)
2053         (findNextChange): use putSelectionAt in the forward direction
2054         (operator()): use Paragraph::isWord
2055
2056 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2057
2058         * Spacing.C (set): c_str fix
2059
2060 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2061
2062         * lyx_cb.C (Reconfigure): quote the name of configure script in
2063         case it contains spaces
2064
2065 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2066
2067         * client: new dir
2068
2069         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2070         (BOOST_LIBS): use top_buildir when looking for the file
2071
2072 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2073
2074         * pch.h: do not use include boost/format.hpp, multiple symbols
2075                 will result (gcc bug)
2076
2077
2078 2004-08-23  José Matos  <jamatos@lyx.org>
2079
2080         * bufferparams.C (readToken): fix reading of the author field.
2081
2082 2004-08-20  José Matos  <jamatos@lyx.org>
2083
2084         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2085
2086 2004-08-20  José Matos  <jamatos@lyx.org>
2087
2088         * lyxlex.[Ch] (findToken): remove function.
2089
2090         * ParagraphParameters.C (findToken):
2091         * bufferparams.C (findToken): replace call for previous function
2092         with local copy. This local function has one more argument, the
2093         read string argument.
2094
2095 2004-08-16  José Matos  <jamatos@lyx.org>
2096
2097         * ParagraphParameters.C (write):
2098         * Spacing.C (writeFile):
2099         * bufferparams.C (writeLaTeX):
2100         * lyx_cb.C (Reconfigure):
2101         * paragraph.C (write):
2102         * tabular.C (write): remove unnecessary space at end of line.
2103
2104
2105 2004-08-16  José Matos  <jamatos@lyx.org>
2106
2107         * text.C (readParagraph): remove debug message.
2108
2109 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2110
2111         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2112         crash
2113
2114         * output_plaintext.C (asciiParagraph): set depth correctly
2115
2116         * outputparams.h: add member depth
2117
2118         * paragraph_funcs.C (ownerPar): remove.
2119
2120         * text2.C (setCounter): remove first_pit; comment out some
2121         non-working code that uses ownerPar
2122
2123         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2124         uses ownerPar
2125
2126 2004-08-16  José Matos  <jamatos@lyx.org>
2127
2128         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2129         For the same level of importance use the same chanel to report problems.
2130         (read): add code to deal with \begin_body and \end_body.
2131
2132
2133 2004-08-15  José Matos  <jamatos@lyx.org>
2134
2135         * lyxlex.C (getString): fix comment, buffer::readBody is now
2136         buffer:readDocument.
2137
2138         * tex-strings.C (string_papersize): Default -> default,
2139         Custom -> custom, for consistency with other options.
2140
2141 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2142
2143         * pch.h: new file
2144
2145         * Makefile.am: support pch
2146
2147 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2148
2149         * text.C (readParToken): remove the static LyXFont variable and
2150         pass it as a parameter instead. This fixes a nasty bug where an
2151         inset will be inserted with a bad font in some situations
2152         (readParagraph): adapt
2153
2154         * text2.C (setCounter): reduce number of calls to pars_[pit]
2155
2156         * text.C (singleWidth): add an assert, fix a test
2157
2158         * rowpainter.C (paintText): reduce number of calls to singleWidth
2159
2160         * paragraph.C (isHfill):
2161         (isNewline): ws only
2162
2163 2004-08-14  André Pönitz  <poenitz@gmx.net>
2164
2165         * text.C:
2166         * text2.C:
2167         * rowpainter.C:
2168         * lyxtext.h (several functions): use a Paragraph & argument
2169         instead of par_type
2170
2171 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2172
2173         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2174
2175         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2176
2177         * text.C (singleWidth): remove useless test
2178
2179 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2180
2181         * tabular.h: remove bogus comments
2182
2183         * tabular.C (getDescentOfRow):
2184         (isPartOfMultiColumn): add assertions
2185
2186         * lyxlength.C (inPixels): remove #warning
2187
2188 2004-08-14  André Pönitz  <poenitz@gmx.net>
2189
2190         * paragraph.h: inline getChar()
2191
2192         * BufferView.h: remove unused declarations
2193
2194 2004-08-14  José Matos  <jamatos@lyx.org>
2195
2196         * Buffer.[Ch] (readDocument): new name for old readBody.
2197         * Buffer.C: new file format, new keywords: \begin_document,
2198         \begin_header, \begin_body, \end_body.
2199
2200         * bufferparams.C (readToken): replace all calls to lex.nextToken
2201         by lex.next(). Do the same to eatLine except where really needed.
2202
2203         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2204         line when writing to the lyx file.
2205
2206         * output_plaintext.C (asciiParagraph): fix Bibliography style
2207         handling.
2208
2209         * text.C (read): fix end of file handling.
2210
2211 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2212
2213         * MenuBackend.C (Menu::operator[]): new method to access
2214         individual menu items
2215         (Menu::hasFunc): new method. search for an item that corresponds
2216         to a given func
2217         (MenuBackend::specialMenu): new method
2218         (MenuBackend::expand): if a special menu has been set, skip
2219         entries whose func() appears in this menu
2220
2221 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2222
2223         * text3.C: use Debug::DEBUG a bit more
2224
2225         * text.C (leftMargin): try to simplify a tiny bit change var x to
2226         l_margin. Dont output the wide margins always.
2227         (rightMargin): no margin in inner texts
2228
2229         * rowpainter.h (nestMargin): new func
2230         (changebarMargin): new func
2231         (rightMargin): new func
2232
2233         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2234         now functions.
2235         (paintLast): ditto
2236
2237         * factory.C (createInset): modify setDrawFrame
2238
2239         * cursor.C: use Debug::DEBUG a bit more
2240
2241 2004-08-14  André Pönitz  <poenitz@gmx.net>
2242
2243         * coordcache.[Ch]:
2244         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2245         cache for all insets in (at least partially) visible (top-level)
2246         paragraphs.
2247
2248         * BufferView_pimpl.C: reset external coord cache before every update.
2249         This means the coord cache only contains valid entries.
2250
2251 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2252
2253         bug 1096
2254         * BufferView_pimpl.C (getInsetByCode): move function out of class
2255         and change in to a template in anon namespace. Also fix to do what
2256         suits us better.
2257
2258 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2259
2260         bug 1305
2261         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2262         of char
2263         (breakParagraph): rename par to par_offset and use a local
2264         reference. Add code to keep the language over a rebreak.
2265         (breakParagraphConservative): rename par to par_offset, use a
2266         local reference
2267         (mergeParagraph): ditto
2268         (outerHook): ditto
2269         (isFirstInSequence): ditto
2270         (outerFont): rename pit to par_offset
2271
2272         * paragraph.C: ws change
2273         * paragraph.h: ditto
2274         * text3.C: ditto
2275         * text.C: ditto
2276
2277 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2278
2279         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2280         treatment for ']'
2281
2282         * paragraph.C (simpleTeXOnePar): when we have a \item with
2283         optional argument, enclose the argument with curly brackets (in
2284         case it contains a closing square bracket)
2285
2286         * text2.C (editXY):
2287         * text2.C (editXY):
2288         * text3.C (checkInsetHit): constify
2289
2290 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2291
2292         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2293         documents (bug 1629)
2294
2295 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2296
2297         Fix toggling of collapsable insets with the mouse (bug 1558)
2298
2299         * lyxfunc.C (dispatch): adapt to LCursor changes
2300
2301         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2302         make sure that dispatch is not invoked twice
2303
2304         * cursor.C (needsUpdate): new method
2305         (dispatch): return void
2306         (result): new method, to access the DispatchResult of the cursor.
2307
2308 2004-08-13  José Matos  <jamatos@lyx.org>
2309
2310         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2311
2312 2004-08-13  André Pönitz  <poenitz@gmx.net>
2313
2314         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2315
2316         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2317           multiple cells
2318
2319 2004-08-12  André Pönitz  <poenitz@gmx.net>
2320
2321         * text3.C: take out the 'cursor right' form insertInset and only
2322         do it in those places when it is really needed. Fixes crash on
2323         C-m...
2324
2325 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2326
2327         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2328
2329         * BufferView_pimpl.C (setBuffer): initialize the current font of
2330         the underlying LyXText
2331
2332 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2333
2334         * kbsequence.C (print): use UI native formatting for menu
2335         shortcuts
2336
2337         * text.C (insertChar): call Paragraph::insertChar with a font
2338         argument (cosmetic)
2339
2340         * paragraph.C (insertInset, insertChar): the version that takes a
2341         LyXFont argument is now a wrapper around the other one (the
2342         opposite used to be true).
2343
2344         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2345         argument. Font setting is done in Paragraph now.
2346
2347 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2348
2349         * outputparams.h: add new members intitle and lang.
2350
2351         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2352         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2353
2354 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2355
2356         * text3.C (dispatch): remove special handling of button 4 and 5,
2357         it is now taken care of in the frontend code.
2358
2359 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2360
2361         * Spacing.h: add <string> (STLPort compile fix)
2362
2363 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2364
2365         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2366
2367 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2368
2369         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2370         to bool.
2371
2372         * converter.C (showMessage): inherit from unary_function, make
2373         operator() const.
2374
2375         * buffer.C (writeFile): initialize retval
2376
2377         * InsetList.h: rename private variable list to list_
2378         * InsetList.[Ch]: adjust accordingly.
2379
2380 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2381
2382         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2383         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2384         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2385         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2386         * ParagraphParameters.C, LaTeXFeatures.C: replace
2387         "support/std_sstream.h" with <sstream>
2388
2389 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2390
2391         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2392         * lyxsocket.C (LyXServerSocket): ditto
2393         (serverCallback): ditto
2394
2395 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2396
2397         * LaTeXFeatures.C: check release date when loading jurabib.
2398
2399 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2400
2401         * lyxserver.C (startPipe): call register_socket_callback
2402         (endPipe): call unregister_socket_callback
2403
2404 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2405
2406         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2407         (LyXServerSocket): register the callback
2408         (LyXServerSocket): unregister the callback
2409         (fd): delete function
2410         (serverCallback): improve error checking and setup the callbacks.
2411         (dataCallback): change arg to fd.
2412         (writeln): new func (copied fro the client socket) used for server
2413         write to client.
2414         (LyXDataSocket): simplify
2415         (~LyXDataSocket): close ann unregiser callback
2416         (server): delete function
2417         (fd): delete function
2418         (readln): small changes, improve some std::string usage
2419         (writeln): constify a bit
2420
2421 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2422
2423         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2424         Qt frontend
2425
2426 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2427
2428         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2429         after it has been populated
2430
2431 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2432
2433         * text2.C (insertInset): move cursor when inserting inset.
2434
2435 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2436
2437         * kbmap.C (findbindings): a couple of new methods. returns a
2438         container of kb_sequence objects. The real work is done by the
2439         private recursive version
2440         (printbindings): uses findbindings to print out a bracketed list
2441         of bindings (renamed from findbinding).
2442
2443         * MenuBackend.C (binding): use kb_keymap::findbindings
2444
2445         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2446
2447 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2448
2449         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2450
2451 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2452
2453         * paragraph.C (isWord): return true on insets that report
2454         isLetter().
2455
2456         * text.C (getWord): use Paragraph::isWord to decide what is in a
2457         word and what is not; fix bug 1609.
2458
2459 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2460
2461         * tex-strings.C: add "none" to string_paperpackages[], fixes
2462         off-by-one-error in the paperpackage selection.
2463
2464         * lyxlex.[Ch]:
2465         * tex-strings.[Ch]: char const * string[n]
2466         -> char const * const string[]
2467
2468 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2469
2470         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2471         command, return early.
2472
2473 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2474
2475         * debug.h: add DEBUG to enum and fix size of ANY.
2476
2477         * debug.C: add support for Debug::DEBUG
2478         (showTags): cast errorTags.level to unsigned int
2479
2480         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2481         (redoCurrentBuffer): ditto
2482         (updateScrollbar): ditto
2483         * cursor.C (dispatch): ditto
2484         * text2.C (setLayout): ditto
2485         (setFont): ditto
2486         (updateCounters): ditto
2487         (editXY): ditto
2488         (deleteEmptyParagraphMechanism): ditto
2489
2490 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2491
2492         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2493         annotations to cleanup the Makefile slightly.
2494
2495 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2496
2497         * lyxrc.C: do not set user_email to a default value but use empty
2498         instead. The entry used to be translated, which does not work
2499         since at the point where lyxrc is constructed there is no
2500         translation service available
2501
2502         * messages.C (getLocaleDir): remove and use directly
2503         lyx_localedir() instead
2504
2505 2004-06-02  Angus Leeming  <leeming@lyx.org>
2506
2507         Fix crash caused by dereferencing null pointer 'exportdata' in
2508         OutputParams by creating a new ExportData variable on the heap,
2509         storing it in a boost::shared_ptr.
2510         The crash was triggered when generating an Instant Preview
2511         of an external inset.
2512
2513         * Makefile.am: add outputparams.C
2514
2515         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2516         (c-tor): allocate memory to it.
2517
2518         * exporter.C (c-tor): associated changes.
2519
2520 2004-06-01  Angus Leeming  <leeming@lyx.org>
2521
2522         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2523         contains data before calling isInset(0). (Bug 1513.)
2524
2525 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2526
2527         * exporter.C (checkOverwrite): new method
2528         * exporter.C (copyFile): new method
2529         * exporter.C (Export): copy referenced files to the document dir
2530         * exporter.[Ch]: new class ExportedFile
2531         * exporter.[Ch]: new class ExportData. Contains currently the
2532         names of referenced external files
2533         * outputparams.h: add exportdata member.
2534
2535 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2536
2537         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2538         version.C-tmp
2539
2540 2004-05-19  Angus Leeming  <leeming@lyx.org>
2541
2542         * LaTeXFeatures.C:
2543         * ToolbarBackend.C:
2544         * bufferparams.C:
2545         * lyxfunc.C: small changes due to the introduction of namespace
2546         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2547
2548 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2549
2550         * text3.C (dispatch): supress update when only moving the cursor
2551         * cursor.C (selHandle): remove commented code
2552
2553 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2554
2555         * paragraph.C (startTeXParParams): correct column count
2556         * CutAndPaste.C (pasteSelection): remove const_cast
2557         * output_docbook.C (docbookParagraphs): remove const_cast
2558         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2559         const_cast and return ParagraphList::const_iterator
2560         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2561         * output_plaintext.C (writeFileAscii): remove const_cast
2562         * paragraph.[Ch] (simpleTeXOnePar): make const
2563         * paragraph_funcs.C (outerPar): use const iterators
2564         * paragraph_pimpl.C (validate): use const iterators
2565         * text.C (setHeightOfRow): use const iterators
2566
2567 2004-05-17  Angus Leeming  <leeming@lyx.org>
2568
2569         * lfuns.h:
2570         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2571
2572         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2573         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2574         if the citation engine has changed.
2575
2576 2004-05-14  José Matos  <jamatos@lyx.org>
2577
2578         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2579         if the textclass does not provide it. Have it different for sgml and
2580         xml.
2581         support the language of document.
2582         * output_docbook.C (docbookParagraphs):
2583         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2584         first anchor as the id of the paragraph, remove special case code.
2585         * sgml.C (escapeChar): escape only < & >.
2586
2587 2004-05-14  Angus Leeming  <leeming@lyx.org>
2588
2589         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2590         dependencies on src/frontends/controllers/biblio.h. Define a
2591         CiteEngine_enum wrapper class to enable the enum to be forward
2592         declared.
2593
2594 2004-05-12  Angus Leeming  <leeming@lyx.org>
2595
2596         * buffer.C: up LYX_FORMAT to 234.
2597         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2598         use_numerical_citations with a single biblio::CiteEngine cite_engine
2599         variable.
2600         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2601
2602 2004-05-13  José Matos  <jamatos@lyx.org>
2603
2604         * converter.h:
2605         * converter.C (Converter, readFlags): add xml member.
2606         * outputparams.h: add XML flavor.
2607         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2608
2609 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2610
2611         * lyxfunc.C (dispatch):
2612         (getStatus): fix handling of LFUN_SEQUENCE
2613
2614 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2615
2616         * debug.C (showLevel): do not forget the end-of-line marker
2617
2618 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2619
2620         * kbmap.C (read): do not stop parsing a bind file when an error
2621         occurs (bug 1575)
2622
2623 2004-04-29  Angus Leeming  <leeming@lyx.org>
2624
2625         * cursor.C:
2626         * factory.C:
2627         * pariterator.C:
2628         * text2.C: wrap a bunch of #warning statements
2629         inside #ifdef WITH_WARNINGS blocks.
2630
2631 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2632
2633         * buffer.C: increment format to 233.
2634
2635 2004-04-28  Angus Leeming  <leeming@lyx.org>
2636
2637         * BufferView_pimpl.C:
2638         * lyxfunc.C:
2639         * text3.C:
2640         s/updateToolbar()/updateToolbars()/
2641         s/Toolbar.h/Toolbars.h/
2642
2643 2004-04-28  Angus Leeming  <leeming@lyx.org>
2644
2645         * BufferView.[Ch] (c-tor):
2646         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2647         No longer passes these data to the WorkArea generator.
2648
2649 2004-04-28  Angus Leeming  <leeming@lyx.org>
2650
2651         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2652
2653 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2654
2655         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2656
2657 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2658
2659         * output_latex.C (TeXEnvironment): make sure that there is a line
2660         break before \end{foo} for the last paragraph of a document
2661         (TeXOnePar): if the paragraph is at the end of the document (or
2662         inset) and the language has to be reset, then make sure that the
2663         line break is _before_ the language command, not after (fixes bug
2664         1225); also make sure that the language reset command is the first
2665         thing after the paragraph (to ensure proper nesting of
2666         environments and thus fix bug 1404)
2667
2668 2004-04-21  John Levon  <levon@movementarian.org>
2669
2670         * ToolbarBackend.h:
2671         * ToolbarBackend.C: make "name" be a programmatic name
2672         and a gui_name field.
2673
2674         * lyxfunc.C: display the minibuffer on M-x
2675
2676 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2677
2678         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2679         (bug 1526)
2680
2681 2004-04-19  Angus Leeming  <leeming@lyx.org>
2682
2683         * BufferView_pimpl.C (setBuffer): changed preview interface.
2684
2685         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2686         possible values.
2687
2688 2004-04-19  John Levon  <levon@movementarian.org>
2689
2690         * BufferView_pimpl.C:
2691         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2692
2693 2004-04-05  Angus Leeming  <leeming@lyx.org>
2694
2695         * text.C (redoParagraphs): add call to updateCounters(), thereby
2696         fixing the missing "Figure #:" label from the caption of a
2697         figure float.
2698
2699 2004-04-13  Angus Leeming  <leeming@lyx.org>
2700
2701         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2702         cursor is clicked out of an inset.
2703
2704 2004-04-13  Angus Leeming  <leeming@lyx.org>
2705
2706         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2707         than an InsetOld one.
2708
2709 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2710
2711         * format.[Ch]: add editor to Format
2712         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2713         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2714
2715 2004-04-08  André Pönitz  <poenitz@gmx.net>
2716
2717         * metricsinfo.h: remove PainterInfo::width member
2718
2719 2004-04-08  Angus Leeming  <leeming@lyx.org>
2720
2721         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2722         "\providecommand" rather than "\newcommand", thereby preventing
2723         clashes with packages that define "\boldsymbol" themselves.
2724         Eg, beamer.
2725
2726 2004-04-08  Angus Leeming  <leeming@lyx.org>
2727
2728         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2729         thereby squashing an unnecessary warning.
2730
2731 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2732
2733         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2734         setBuffer()
2735
2736 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2737
2738         * BufferView.C (setCursor): call redoParagraph (some insets could
2739         have been opened)
2740         (putSelectionAt): remove the 'double update' trick
2741
2742         * BufferView_pimpl.C (fitCursor): call refreshPar
2743         (workAreaDispatch): remove an uneeded update call
2744         (dispatch): remove some manual update calls
2745
2746         * cursor.[Ch]: remove cached_y_, updatePos
2747         (selHandle): set noUpdate when appropriate
2748
2749         * lyxfunc.C (dispatch): track if we need an update
2750
2751         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2752
2753         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2754         (paintSelection): cheap optimization, do not call cursorX when not
2755         needed
2756         (paintPars): change signature
2757         (refreshPar): add
2758         (paintText): adjust
2759         (paintTextInset): adjust
2760
2761         * text.C: adjust
2762
2763 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2764
2765         * lengthcommon.C: compilation fix: remove explicit array size from
2766         unit_name[] and friends
2767
2768 2004-04-05  Angus Leeming  <leeming@lyx.org>
2769
2770         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2771
2772         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2773         present only for the preferences dialog.
2774         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2775
2776 2004-04-05  Angus Leeming  <leeming@lyx.org>
2777
2778         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2779         to enable the frontends to export changes to lyxrc correctly.
2780
2781         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2782
2783 2004-04-07  André Pönitz  <poenitz@gmx.net>
2784
2785         * cursor.[Ch] (selClear, adjust): remove math
2786
2787         * cursor_slice.C: more agressive assert
2788
2789         * lyxfunc.C:
2790         * BufferView_pimpl.C: rework mouse event dispatch
2791
2792         * dociterator.C:
2793         * paragraph.C:
2794         * text2.C:
2795         * text3.C: adjust
2796
2797 2004-04-05  André Pönitz  <poenitz@gmx.net>
2798
2799         * cursor.[Ch] (valign, halign...): remove unneeded functions
2800
2801 2004-04-05  Angus Leeming  <leeming@lyx.org>
2802
2803         * lyxlength.[Ch] (unit_name et al.): const-correct.
2804
2805 2004-04-05  Angus Leeming  <leeming@lyx.org>
2806
2807         * BufferView_pimpl.C:
2808         * buffer.C:
2809         * counters.C:
2810         * cursor.C:
2811         * lyxfunc.C
2812         * paragraph.C:
2813         * pariterator.C:
2814         * text.C:
2815         * text2.C:
2816         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2817
2818 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2819
2820         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2821
2822 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2823
2824         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2825         * BufferView_pimpl.[Ch] (getStatus)
2826         * BufferView.[Ch] (getStatus): add
2827         * lyxfunc.C (getStatus): move lfuns handled in
2828         BufferView::dispatch to te function above
2829         * Cursor.C (setSelection): set selection() = true
2830
2831 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2832
2833         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2834
2835 2004-03-31  Angus Leeming  <leeming@lyx.org>
2836
2837         * lyxfunc.C (dispatch): Fall through to the generic
2838         Dialogs::show("preamble").
2839
2840 2004-03-31  Angus Leeming  <leeming@lyx.org>
2841
2842         * lyxfunc.C (dispatch): Fall through to the generic
2843         Dialogs::show("spellchecker").
2844
2845 2004-03-31  Angus Leeming  <leeming@lyx.org>
2846
2847         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2848         preferences dialog.
2849
2850 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2851
2852         * BufferView.C
2853         * cursor.[Ch]
2854         * dociterator.[Ch]:
2855         * insetiterator.[Ch]:
2856         * lyxfind.C:
2857         * lyxfunc.C:
2858         * pariterator.[Ch]:
2859         * text2.C:
2860         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2861
2862 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2863
2864         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2865         insets where we are putting the cursor.
2866
2867 2004-03-31  Angus Leeming  <leeming@lyx.org>
2868
2869         * lfuns.h:
2870         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2871
2872         * lyxrc.[Ch] (read, write): overloaded member functions taking
2873         a std::[io]stream arguments.
2874
2875         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2876
2877 2004-03-31  Angus Leeming  <leeming@lyx.org>
2878
2879         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2880         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2881
2882         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2883         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2884
2885 2004-03-31  Angus Leeming  <leeming@lyx.org>
2886
2887         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2888         the LFUN_ALL_INSETS_TOGGLE code.
2889
2890 2004-03-30  Angus Leeming  <leeming@lyx.org>
2891
2892         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2893         has died. Fall through to the generic Dialogs::show("document").
2894
2895 2004-03-30  Angus Leeming  <leeming@lyx.org>
2896
2897         * lfuns.h:
2898         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2899         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2900
2901         * lyxfunc.C (getStatus, dispatch): define the actions for these
2902         lfuns. Little more than a cut and pste job from ControlDocument.C
2903
2904         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2905
2906 2004-03-30  Angus Leeming  <leeming@lyx.org>
2907
2908         * lfuns.h:
2909         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2910         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2911
2912         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2913         open/closed state of ollapsable insets. Usage:
2914
2915         all-inset-toggle <state> <name>, where
2916         <state> == "open" || "closed" || "toggle" and
2917         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2918
2919         * lyxtext.h, text2.C (toggleInset): removed.
2920
2921         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2922         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2923         now passes LFUN_INSET_TOGGLE to the found inset.
2924
2925         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2926         is now invoked as "all-insets-toggle toggle branch".
2927
2928 2004-03-30  Angus Leeming  <leeming@lyx.org>
2929
2930         * dociterator.C:
2931         * insetiterator.C:
2932         * pariterator.[Ch]: added/corrected header blurb.
2933
2934 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2935
2936         * dociterator.[Ch]: add an inset_ member
2937         (backwardPos): implemented
2938         (backwardPos, forwardPos): use inset_ when the stack is empty.
2939         (doc_iterator_begin, doc_iterator_end): implemented
2940         * pariterator.[Ch]: adjust, add begin, end
2941         * insetiterator.[Ch]: adjust, add begin, end
2942         * cursor.C:
2943         * document.C:
2944         * BufferView.C:
2945         * BufferView_pimpl.C:
2946         * CutAndPaste.C: adjust
2947
2948 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2949
2950         * buffer.C: increment file format to 232.
2951         * LaTeXFeatures.C: add bibtopic package.
2952         * bufferparams.[Ch]: param \use_bibtopic.
2953
2954         * lyxrc.[Ch]: add lyxrc bibtex_command
2955         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2956
2957         * buffer.C: increment file format to 231.
2958
2959 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2960
2961         * dociterator.C: implement forwardPar
2962         * iterators.[Ch]: remove, replaced by
2963         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2964         * BufferView.C:
2965         * BufferView_pimpl.C:
2966         * CutAndPaste.C:
2967         * buffer.C:
2968         * bufferview_funcs.C:
2969         * cursor.C:
2970         * lyxfind.C
2971         * lyxfunc.C
2972         * paragraph_funcs.C
2973         * toc.C:
2974         * Makefile.am: adjust
2975
2976 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2977
2978         * CutAndPaste.C (pasteSelection): fix 2 crashes
2979         (eraseSelection): fix a crash
2980         * paragraph_funcs.C: remove a warning
2981
2982 2004-03-28  Angus Leeming  <leeming@lyx.org>
2983
2984         * lfuns.h:
2985         * LyXAction.C (init): new LFUN_PRINT.
2986
2987         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2988
2989 2004-03-27  Angus Leeming  <leeming@lyx.org>
2990
2991         * lfuns.h:
2992         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2993
2994         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2995
2996 2004-03-27  Angus Leeming  <leeming@lyx.org>
2997
2998         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2999         insetlist always contains non-null pointers to insets.
3000
3001 2004-03-26  Angus Leeming  <leeming@lyx.org>
3002
3003         * src/BufferView_pimpl.C:
3004         * src/CutAndPaste.C:
3005         * src/buffer.C:
3006         * src/iterators.C:
3007         * src/output_plaintext.C:
3008         * src/outputparams.h:
3009         * src/paragraph_funcs.C:
3010         * src/rowpainter.C:
3011         * src/text.C:
3012         * src/text2.C:
3013         * src/frontends/controllers/ControlErrorList.C:
3014         * src/frontends/gtk/FileDialogPrivate.C:
3015         * src/frontends/gtk/GPainter.C:
3016         * src/frontends/gtk/GToolbar.C:
3017         * src/frontends/qt2/QRef.C:
3018         * src/mathed/math_scriptinset.C: squash compiler warnings.
3019
3020 2004-03-26  Angus Leeming  <leeming@lyx.org>
3021
3022         * ispell.C (LaunchIspell::start):
3023         * lyx_cb.C (AutoSaveBuffer::start):
3024         invoke run(DontWait) rather than runNonBlocking().
3025
3026 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3027
3028         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3029
3030 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3031
3032         * kbsequence.C (print): adjust
3033
3034         * kbmap.C (printKeySym): rename and change signature
3035         (printKey): use LyXKeySym::print()
3036
3037 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3038
3039         * undo.C: add using std::advance to compile for stlport
3040
3041 2004-03-24  Angus Leeming  <leeming@lyx.org>
3042
3043         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3044         it leads to a crash when no buffer is present.
3045
3046 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3047             Martin Vermeer  <martin.vermeer@hut.fi>
3048
3049         * lyxfunc.C (dispatch):
3050         * bufferparams.C (readToken): use the new LColor::setColor
3051
3052         * LColor.[Ch] (setColor): new version that takes two strings as
3053         argument and creates a new color entry if necessary
3054
3055 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3056
3057         * buffer.C (makeLaTeXFile): if the main latex file that is
3058         processed is usually a subdocument of some master, then pretend
3059         for a while that it is actually the master
3060
3061 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3062
3063         * buffer.C (getLabelList):
3064         (getBibkeyList): use getMasterBuffer()
3065         (getMasterBuffer): new method. Returns the main document in the
3066         case where one is using included documents.
3067
3068 2004-03-25  André Pönitz  <poenitz@gmx.net>
3069
3070         * Makefile.am:
3071         * iterators.[Ch]:
3072         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3073
3074         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3075
3076         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3077         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3078
3079         * ParameterStruct.h: merge with ParagraphParameters
3080
3081         * lyxtext.h: remove LyXText::parOffset() and getPar()
3082
3083         * text3.C: Remove all 'manual' update calls. We do now one per user
3084         interaction which is completely sufficient.
3085
3086         * Bidi.C:
3087         * BufferView.[Ch]:
3088         * BufferView_pimpl.C:
3089         * FontIterator.[Ch]:
3090         * MenuBackend.C:
3091         * ParagraphParameters.[Ch]:
3092         * buffer.C:
3093         * buffer.h:
3094         * bufferlist.C:
3095         * cursor.[Ch]:
3096         * cursor_slice.[Ch]:
3097         * dociterator.[Ch]:
3098         * errorlist.[Ch]:
3099         * factory.C:
3100         * lfuns.h:
3101         * lyxfind.C:
3102         * lyxfunc.C:
3103         * output_docbook.[Ch]:
3104         * output_latex.[Ch]:
3105         * output_linuxdoc.[Ch]:
3106         * output_plaintext.[Ch]:
3107         * paragraph.[Ch]:
3108         * paragraph_funcs.[Ch]:
3109         * paragraph_pimpl.[Ch]:
3110         * rowpainter.C:
3111         * tabular.[Ch]:
3112         * text.C:
3113         * text2.C:
3114         * toc.C:
3115         * undo.[Ch]: adjust
3116
3117         * frontends/controllers/ControlDocument.C:
3118         * frontends/controllers/ControlErrorList.C:
3119         * frontends/controllers/ControlSpellchecker.C:
3120         * insets/inset.C:
3121         * insets/inset.h:
3122         * insets/insetbase.h:
3123         * insets/insetbibitem.C:
3124         * insets/insetbox.C:
3125         * insets/insetbranch.C:
3126         * insets/insetcaption.C:
3127         * insets/insetcharstyle.C:
3128         * insets/insetcharstyle.h:
3129         * insets/insetcollapsable.C:
3130         * insets/insetcollapsable.h:
3131         * insets/insetert.C:
3132         * insets/insetfloat.C:
3133         * insets/insetfoot.C:
3134         * insets/insetmarginal.C:
3135         * insets/insetnote.C:
3136         * insets/insetoptarg.C:
3137         * insets/insettabular.C:
3138         * insets/insettext.C:
3139         * insets/insettext.h:
3140         * insets/insetwrap.C:
3141         * mathed/math_mboxinset.C:
3142         * mathed/math_nestinset.C:
3143         * mathed/math_scriptinset.C:
3144         * mathed/math_scriptinset.h:
3145         * support/types.h:
3146
3147 2004-03-24  Angus Leeming  <leeming@lyx.org>
3148
3149         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3150         deal with any child processes that have finished but are waiting to
3151         communicate this fact to the rest of LyX.
3152
3153 2004-03-24  Angus Leeming  <leeming@lyx.org>
3154
3155         64-bit compile fixes.
3156
3157         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3158         (c-tor): pass lyx::pos_types rather than ints.
3159
3160         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3161         lyx::pos_type.
3162
3163         * text.C (Delete): compile fix.
3164         (getPar): ensure that function declaration is the same as that in
3165         the header file.
3166
3167 2004-03-23  Angus Leeming  <leeming@lyx.org>
3168
3169         * ispell.C (LaunchIspell):
3170         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3171         a boost::shred_ptr rather than a std::auto_ptr.
3172
3173 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3174
3175         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3176         handle LFUN_FILE_INSERT_*
3177
3178         * lyxrc.C (setDefaults, getDescription, output, read):
3179         * lyxrc.h: remove ps_command
3180
3181 2004-03-22  Angus Leeming  <leeming@lyx.org>
3182
3183         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3184         Ensure that error_handler is processed once only and that all data
3185         is saved before attempting to output any warning messages.
3186
3187         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3188
3189 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3190
3191         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3192
3193 2004-03-19  André Pönitz  <poenitz@gmx.net>
3194
3195         * cursor.[Ch] (reset): take main text inset as argument
3196
3197         * BufferView: adjust
3198         * BufferView_pimpl.C: adjust
3199
3200         * paragraph.[Ch]: fix completely broken operator=()
3201
3202 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3203
3204         * LColor.C (getFromLyXName): make sure that the color name is used
3205         as lowercase.
3206
3207 2004-03-17  Angus Leeming  <leeming@lyx.org>
3208
3209         * lfuns.h:
3210         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3211
3212         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3213         dialog and to kill a forked process.
3214
3215 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3216
3217         * text2.C (setCursorFromCoordinates): fix font problem
3218
3219 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3220
3221         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3222         bogus "rebuild cursor" code
3223
3224 2004-03-11  André Pönitz  <poenitz@gmx.net>
3225
3226         * buffer.[Ch]: use InsetText instead of LyXText as container for
3227         the main lyx text.
3228
3229         * dociterator.[Ch]: drop the BufferView * member which is not needed
3230         anymore after the change to buffer.C
3231
3232         * paragraph_funcs.C:
3233         * text.C:
3234         * text2.C:
3235         * BufferView.[Ch]:
3236         * BufferView_pimpl.[Ch]:
3237         * cursor.[Ch]:
3238         * cursor_slice.[Ch]: adjust
3239
3240         * text3.C: fix bug in mathDispatch
3241
3242 2004-03-08  André Pönitz  <poenitz@gmx.net>
3243
3244         * undo.[Ch]: use 'StableDocumentIterator' as base for
3245         the Undo struct.
3246
3247 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3248
3249         * LaTeXFeatures.C:
3250         * bufferparams.[Ch]: add jurabib support and param.
3251
3252         * LaTeX.C: add FIXME/comment.
3253
3254 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3255
3256         * buffer.C: increment file format to 230.
3257
3258 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3259
3260         * cursor.C (dispatch): avoid infinite loops
3261
3262 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3263
3264         * rowpainter.C (paintSelection): fix x coordinates
3265
3266 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3267
3268         * text.C (rowBreakPoint): fix breaking before displayed insets
3269
3270 2004-03-01  André Pönitz  <poenitz@gmx.net>
3271
3272         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3273
3274         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3275
3276         * Makefile.am:
3277         * BufferView.C:
3278         * BufferView_pimpl.C:
3279         * buffer.C:
3280         * lyxfind.C:
3281         * lyxfunc.C:
3282         * text.C:
3283         * text2.C:
3284         * text3.C: adjust
3285
3286 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3287
3288         * lyxtext.h:
3289         * text.C:
3290         * text2.C:
3291         * rowpainter.C:
3292         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3293         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3294
3295 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3296
3297         * Bidi.[Ch] (computeTables): const correctness
3298         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3299         fill_hfill, fill_label_hfill and x from Row
3300         * lyxtext.h: prepareToPrint returns a RowMetrics
3301         * rowPainter.C: adjust
3302         * text.C (prepareToPrint): use width, not textWidth. adjust
3303         (redoParagraphInternal, cursorX): adjust
3304         * text2.C (getColumnNearX): adjust
3305         (init): put a default value to the top LyXText::width
3306
3307 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3308
3309         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3310
3311 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3312
3313         * lyxtext.h: add FontIterator class
3314
3315         * text.C (FontIterator, operator*, operator->, operator++): add
3316         (rowBreakPoint, setRowWidth): adjust (fixing a
3317         rebreaking bug)
3318
3319 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3320
3321         * BufferView_pimpl.C (workAreaDispatch): allow also
3322         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3323
3324 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3325
3326         * text.C (rowBreakPoint): fix a bug showing with very large insets
3327
3328 2004-02-25  André Pönitz  <poenitz@gmx.net>
3329
3330         * text3.C:
3331         * cursor.[Ch]: move some mathed specific code to mathed
3332
3333 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3334
3335         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3336         use_tempdir in preferences
3337         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3338         tempfile creation
3339         * lyx_main.C: ensure that tempdir is valid
3340         * lyxlex.h: correct typo
3341         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3342         * paragraph.[Ch] (isMultiLingual): make const
3343         * cursor.[Ch] (openable): make const
3344
3345 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3346
3347         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3348
3349 2004-02-20  André Pönitz  <poenitz@gmx.net>
3350
3351         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3352
3353         * cursor.[Ch]: prepare for localized getStatus()
3354
3355         * lyxtext.h:
3356         * tabular.C:
3357         * text.C:
3358         * text2.C:
3359         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3360
3361 2004-02-20  André Pönitz  <poenitz@gmx.net>
3362
3363         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3364
3365 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3366
3367         * text2.C (setCursorFromCoordinates): switch to absolute coords
3368         (cursorUp): adjust
3369         (cursorDown): adjust
3370         * text3.C (dispatch): adjust
3371
3372 2004-02-16  André Pönitz  <poenitz@gmx.net>
3373
3374         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3375           insets/ChangeLog)
3376
3377         * cursor_slice.[Ch]: remove unneeded acessor function
3378
3379         * lyxtext.h: rename rtl() to isRTL()
3380
3381         * rowpainter.C:
3382         * tabular.C:
3383         * text.C:
3384         * text2.C:
3385         * text3.C: adjust
3386
3387 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3388
3389         * rowpainter.C (paintSelection): coord fix
3390
3391 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3392
3393         * Spacing.C: compile fix
3394
3395 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3396
3397         * cursor.C (dispatch): restore current_ before returning
3398
3399 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3400
3401         * text2.C (cursorUp, cursorDown): fix coords
3402         (moveUp): fix crash
3403
3404 2004-02-12  André Pönitz  <poenitz@gmx.net>
3405
3406         * lyxtext.h:
3407         * text.C:
3408         * text2.C:
3409         * text3.C: add LCursor & parameter to most cursor movement functions
3410           remove usage of LyXText::cursorRow() and cursorPar()
3411
3412         * cursor.[Ch]: add textRow() needed members
3413
3414         * BufferView.C:
3415         * BufferView_pimpl.C:
3416         * paragraph.[Ch]:
3417         * BufferView.C:
3418         * BufferView_pimpl.C: adjust
3419
3420 2004-02-11  André Pönitz  <poenitz@gmx.net>
3421
3422         * lyxfunc.C:
3423         * BufferView.[Ch]:
3424         * BufferView_pimpl.C: shift undo/redo handling
3425
3426         * cursor.[Ch]: fix mathed crash
3427
3428         * lyxfind.C:
3429         * lyxtext.h: move selectionAsText to LCursor
3430
3431         * output_latex.C:
3432         * paragraph.C:
3433         * text.C:
3434         * text2.C:
3435         * text3.C: adjust
3436
3437         * rowpainter.C: fix excessive drawing
3438
3439 2004-02-06  André Pönitz  <poenitz@gmx.net>
3440
3441         * BufferView.[Ch]:
3442         * BufferView_pimpl.[Ch]:
3443         * text3.C: move some text specific LFUN handling
3444
3445 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3446
3447         * text3.C (checkInsetHit): adjust coords
3448         * text2.C (getColumnNearX): adjust coords
3449         (edit): adjust coords
3450         * text.C (getRowNearY): add two asserts
3451
3452 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3453
3454         * converter.C:
3455         * format.C: add using std::distance to compile on gcc 2.95/stlport
3456
3457 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3458
3459         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3460
3461 2004-02-04  André Pönitz  <poenitz@gmx.net>
3462
3463         * BufferView.[Ch] (insertInset):
3464         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3465
3466         * text2.C:
3467         * text3.C: adjust
3468
3469 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3470
3471         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3472         on the default clause of the switch
3473         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3474         wasn't catched by LCursor::dispatch
3475
3476 2004-02-03  André Pönitz  <poenitz@gmx.net>
3477
3478         * BufferView.C:
3479         * cursor.[Ch]: some additional asserts
3480
3481         * undo.[Ch]: remove LyXText dependency in interface
3482
3483         * lyxfunc.C: adjust
3484
3485         * lyxtext.h (firstPar, lastPar): remove dead functions
3486
3487         * text.C:
3488         * text2.C:
3489         * text3.C:
3490         * paragraph.[Ch]: adjust
3491
3492 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3493
3494         * lyxfind.C (find): fix argument order in call to ::find
3495
3496 2004-02-02  André Pönitz  <poenitz@gmx.net>
3497
3498         * cursor.[Ch]: remove direct access to anchor
3499
3500         * text.C: remove findText() hack
3501
3502 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3503
3504         * iterators.[Ch] (lockPath): remove in favour of...
3505         * BufferView.[Ch] (setCursor): this addition
3506         * BufferView.C (putSelectionAt): adjust
3507         * undo.C (performUndoOrRedo): adjust
3508         * lyxfunc.C (dispatch): adjust
3509
3510 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3511
3512         * iterators.C (lockPath): add a missing slice
3513         * undo.C (performUndoOrRedo): remove redundant positioning code
3514
3515 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3516
3517         * vc-backend.C (scanMaster): ";" -> ';'
3518
3519 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3520
3521         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3522         std::binary_function
3523
3524         * lyxtextclass.C (compare_name): rename to...
3525         (LayoutNamesEqual): ...this
3526
3527         * lyxlex_pimpl.C (compare_tags): inherit from
3528         std::binary_function, put back into anon namespace
3529
3530         * lyxfind.C (MatchString): inherig from std::binary_function
3531         (findChange): use empty() istead of !size()
3532
3533         * format.C (FormatNamesEqual): new functor
3534         (getFormat): use it
3535         (getNumber): use it
3536         (add): use it
3537         (erase): use it
3538         (setViewer): use it
3539
3540         * converter.C (compare_Converter): rename to...
3541         (ConverterEqual): ...this, and fixup a bit.
3542         (getConverter): use it, and make function const
3543         (getNumber): use it, and make function const
3544         (add): use it
3545         (erase): use it:
3546
3547         * bufferlist.C: add using boost::bind
3548
3549         * MenuBackend.C (MenuNamesEqual): new functor
3550         (hasMenu): use it, and make function const
3551         (hasSubmenu): use nested bind to get rid of compare_memfun.
3552
3553 2004-01-30  André Pönitz  <poenitz@gmx.net>
3554
3555         * BufferView_pimpl.C:
3556         * cursor.C:
3557         * cursor.h:
3558         * cursor_slice.[Ch]:
3559         * lyxfunc.C:
3560         * lyxtext.h:
3561         * paragraph_funcs.C:
3562         * paragraph_funcs.h:
3563         * rowpainter.C:
3564         * text.C:
3565         * text2.C:
3566         * text3.C: move some of the edit(x,y) handling to the insets
3567         some coordinate changes.
3568
3569 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3570
3571         * text.C: add using statements for std::advance and std::distance
3572
3573         * paragraph.C: add using statement for std::distance
3574
3575         * lyxfind.C: add using statement for std::advance
3576
3577         * cursor.C (region): remove std:: from swap
3578         (openable): use nucleus in stead of operator->
3579
3580         * BufferView.C: add using statements for std::distance and std::swap
3581
3582 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3583
3584         * iterators.C: Remove the pimple, move the needed structures to
3585         the header file. Create accessor for the positions stack.
3586         (asPosIterator): remove function
3587
3588         * PosIterator.C (PosIterator): move constructors to top of file
3589         (PosIterator): reimplement the constructor taking a ParIterator in
3590         terms of setFrom.
3591         (setFrom): new function
3592         (operator!=): inline it
3593
3594 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3595
3596         * lyxfind.C (replaceAll): use std::advance
3597
3598         * iterators.h: inherit from std::iterator.
3599
3600         * PosIterator.C (advance, distance): remove
3601         * PosIterator.h: interit from std::iterator.
3602
3603 2004-01-26  André Pönitz  <poenitz@gmx.net>
3604
3605         * BufferView.[Ch]:
3606         * BufferView_pimpl.[Ch]:
3607         * InsetList.[Ch]:
3608         * PosIterator.[Ch]:
3609         * buffer.h:
3610         * bufferview_funcs.C:
3611         * cursor.[Ch]:
3612         * cursor_slice.h:
3613         * factory.[Ch]:
3614         * iterators.[Ch]:
3615         * lyxfind.C:
3616         * lyxfunc.C:
3617         * lyxtext.h:
3618         * output_docbook.C:
3619         * output_latex.C:
3620         * output_linuxdoc.C:
3621         * output_plaintext.C:
3622         * paragraph.[Ch]:
3623         * paragraph_funcs.[Ch]:
3624         * paragraph_pimpl.[Ch]:
3625         * rowpainter.C:
3626         * tabular.C:
3627         * tabular.h:
3628         * text.C:
3629         * text2.C:
3630         * text3.C: more IU:  dumps most of the rest of the mathcursor
3631     implementation into cursor.[Ch]; "globalize" a bit of it.
3632
3633 2004-01-25  Angus Leeming  <leeming@lyx.org>
3634
3635         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3636
3637 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3638
3639         * LaTeXFeatures.h: add nice_ and nice() const
3640         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3641
3642 2004-01-20  André Pönitz  <poenitz@gmx.net>
3643
3644         * BufferView.[Ch]:
3645         * BufferView_pimpl.C:
3646         * PosIterator.C:
3647         * bufferview_funcs.C:
3648         * cursor.[Ch]:
3649         * cursor_slice.[Ch]:
3650         * factory.C:
3651         * iterators.C:
3652         * lyx_cb.C:
3653         * lyxfind.C:
3654         * lyxfunc.C:
3655         * lyxtext.h:
3656         * rowpainter.C:
3657         * text.C:
3658         * text2.C:
3659         * text3.C:
3660         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3661           LCursor and mathcursor parts to LCursor and InsetBase.
3662
3663 2004-01-15  André Pönitz  <poenitz@gmx.net>
3664
3665         * cursor_slice.[Ch]: add a few covienience functions
3666
3667         * funcrequest.[Ch]: remove BufferView * member
3668
3669         * BufferView_pimpl.C:
3670         * cursor.C:
3671         * factory.[Ch]:
3672         * lyxfind.[Ch]:
3673         * lyxfunc.C:
3674         * lyxtext.h:
3675         * text3.C:
3676         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3677
3678 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3679
3680         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3681         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3682
3683 2004-01-13  André Pönitz  <poenitz@gmx.net>
3684
3685         * textcursor.[Ch]:
3686         * lyxtext.h: hide cursor and selection anchor behind accessor function
3687
3688         * BufferView.C:
3689         * BufferView_pimpl.[Ch]:
3690         * PosIterator.C:
3691         * bufferview_funcs.C:
3692         * cursor.h:
3693         * lyxfind.C:
3694         * lyxfunc.C:
3695         * text.C:
3696         * text2.C:
3697         * text3.C:
3698         * undo.C: adjust
3699
3700         * cursor.h:
3701         * cursor_slice.[Ch]: some integer type changes for inset unification
3702
3703         * lyxcursor.[hC]: remove, it's CursorSlice now.
3704
3705         * Makefile.am:
3706         * BufferView_pimpl.[Ch]:
3707         * bufferview_funcs.C:
3708         * cursor_slice.C:
3709         * lyxtext.h:
3710         * text.C:
3711         * text2.C:
3712         * text3.C:
3713         * textcursor.[Ch]: adjust
3714
3715 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3716
3717         * text2.C (undoSpan): add and use
3718         * text.C (breakParagraph): use undoSpan (fix bug 578)
3719         * lyxtext.h: adjust
3720
3721 2004-01-08  Angus Leeming  <leeming@lyx.org>
3722
3723         * BufferView_pimpl.C (MenuInsertLyXFile):
3724         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3725         * lyxfunc.C (menuNew, open, doImport):
3726         FileFilterList change to the FileDialog open and save functions.
3727
3728 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3729
3730         * ShareContainer.h: make isEqual and isUnique adaptable
3731
3732         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3733
3734 2004-01-07  Angus Leeming  <leeming@lyx.org>
3735
3736         * LyXAction.C:
3737         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3738
3739         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3740
3741         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3742         functions replacing find, replace and replaceAll.
3743
3744         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3745         LFUN_WORDFIND(FORWARD|BACKWARD).
3746
3747 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3748
3749         * text.C (breakParagraph): remove an outdated #warning
3750
3751 2004-01-07  André Pönitz  <poenitz@gmx.net>
3752
3753         * lyxfind.C: somewhat clearer logic
3754
3755         * text.C: prevent crash in cursorX on unitialized row cache
3756
3757 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3758
3759         * lyxcursor.[Ch] (operator>): add
3760         * textcursor.C (selStart, selEnd): use std::min and std::max
3761
3762 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3763
3764         * Chktex.C: include boost/format.hpp
3765
3766 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
3767
3768         * InsetList.C: replace functor MathcIt with adaptable functor
3769         InsetTablePosLess
3770         (insetIterator): modify accordingly
3771
3772         * BranchList.h: move the BranchNamesEqual functor here from...
3773         * BranchList.C: ... to here
3774
3775         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3776         SameName and match.
3777         (add): replace a finding loop with std::find_if.
3778
3779 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3780
3781         * output_docbook.C: moving LatexParam functionality into
3782         .layout files
3783
3784 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3785
3786         * buffer.C: increment format to 229.
3787
3788 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3789
3790         * LaTeXFeatures.C:
3791         * lyx_sty.[Ch]: remove minipageindent_def
3792
3793         * LyXAction.C:
3794         * factory.C:
3795         * lfuns.h:
3796         * lyxfunc.C:
3797         * text3.C: remove LFUN_INSET_MINIPAGE
3798
3799 2003-12-28  Angus Leeming  <leeming@lyx.org>
3800
3801         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3802
3803 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3804
3805         * text2.C (setParagraph): fix off-by-one crash
3806
3807 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3808
3809         * output_docbook.C: header stuff for AGU
3810
3811 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3812
3813         * text2.C (redoCursor): remove
3814         * text.C:
3815         * text3.C:
3816         * BufferView_pimpl.C: remove calls to redoCursor and
3817         setCursor(cursor.par(), cursor.pos()) all around
3818
3819 2003-12-15  Angus Leeming  <leeming@lyx.org>
3820
3821         * buffer.C: up the format to 228.
3822
3823 2003-12-15  André Pönitz  <poenitz@gmx.net>
3824
3825         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3826         slices
3827
3828         * Makefile.am:
3829
3830         * BufferView_pimpl.C:
3831         * cursor.[Ch]:
3832         * lyxcursor.[Ch]:
3833         * rowpainter.[Ch]:
3834         * lyxtext.h:
3835         * text.C:
3836         * text2.C:
3837         * text3.C: adjust
3838
3839 2003-12-15  Angus Leeming  <leeming@lyx.org>
3840
3841         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3842         than getFromGUIName to manipulate the color.
3843
3844 2003-12-14  Angus Leeming  <leeming@lyx.org>
3845
3846         * BranchList.[Ch]: minimize the API.
3847         (Branch::getBranch, getColor): now return a 'const &'.
3848         (Branch::setSelected) now returns a bool set to true if the
3849         selection status changes.
3850         (BranchList::clear, size, getColor, setColor, setSelected,
3851         allBranches, allSelected, separator): removed.
3852         (BranchList::find): new functions, returning the Branch with
3853         the given name.
3854         (BranchList::add, remove): return a bool indicating that
3855         the operation was successful.
3856
3857         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3858         new InsetBranch::isBranchSlected member function.
3859
3860         * LColor.[Ch]: mimimize the API.
3861         (fill): renamed as addColor and made private.
3862         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3863         versions of these functions taking a string arg have been removed.
3864
3865         * bufferparams.C (readToken):
3866         * lyxfunc.C (dispatch):
3867         * lyxrc.C (read): changes due to the altered BranchList and
3868         LColor APIs.
3869
3870         * factory.C (createInset, readInset): changes due to altered
3871         InsetBranch c-tor.
3872
3873 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3874
3875         * factory.C:
3876         * lyxfunc.C: remove insetminipage. "minipage-insert"
3877         now produces a frameless minipage box inset.
3878
3879 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3880
3881         * textcursor.[Ch] (selStart,selEnd): add new methods
3882         remove selection::start, end, use LyXCursor::operator<
3883         * lyxcursor.[Ch] (operator<): add
3884         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3885         * BufferView.[Ch] (unsetXSel): add
3886         * text2.C (clearSelection): use unsetXSel,adjust
3887         * text.C: adjust
3888         * text3.C: adjust
3889         * rowpainter.C: adjust
3890         * bufferview_funcs.C (put_selection_at): adjust
3891
3892 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3893
3894         * BufferView_pimpl.C: small coord. correction
3895
3896 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3897
3898         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3899         dragging over the splash screen.
3900
3901 2003-12-11  Angus Leeming  <leeming@lyx.org>
3902
3903         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3904         as it is now handled in LyXText::dispatch.
3905
3906         * text3.C (doInsertInset): remove a level of nesting.
3907
3908 2003-12-11  Angus Leeming  <leeming@lyx.org>
3909
3910         * factory.C (createInset): changes due to the changed interface to
3911         InsetCommandMailer::string2params.
3912
3913 2003-12-10  Angus Leeming  <leeming@lyx.org>
3914
3915         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3916         'dialog-show-new-inset <inset name>'
3917
3918 2003-12-10  Angus Leeming  <leeming@lyx.org>
3919
3920         * buffer.C: up the format to 227.
3921
3922         * factory.C: the box inset is now identified simply by 'Box'.
3923
3924 2003-12-10  Angus Leeming  <leeming@lyx.org>
3925
3926         * buffer.C: up the format to 226.
3927
3928         * factory.C: the note inset is now identified simply by 'Note'.
3929
3930 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3931
3932         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3933         when a pit is enough. Standarize a couple of loops.
3934
3935 2003-12-05  Angus Leeming  <leeming@lyx.org>
3936
3937         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3938         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3939         data to the re-worked "log" dialog.
3940
3941 2003-12-03  André Pönitz  <poenitz@gmx.net>
3942
3943         * PosIterator.C:
3944         * iterators.C:
3945         * lyxtext.h:
3946         * output_latex.C:
3947         * paragraph_funcs.C:
3948         * text.C:
3949         * text2.C: use Inset::getText instead of Inset::getParagraph
3950
3951 2003-12-03  André Pönitz  <poenitz@gmx.net>
3952
3953         * buffer.[Ch]:
3954         * lyxtext.h:
3955         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3956         InsetText::read() as LyXText::read()
3957
3958 2003-12-02  Angus Leeming  <leeming@lyx.org>
3959
3960         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3961         type. Add a comment in the implementation that the function uses
3962         the stream's bad() function rather than fail() as the std::streams
3963         would do.
3964
3965 2003-12-02  André Pönitz  <poenitz@gmx.net>
3966
3967         * lyxlex.[Ch]: make interface more similar to std::stream
3968
3969         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3970
3971 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3972
3973         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3974
3975 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3976
3977         * vspace.[Ch]: remove VSpace::NONE
3978
3979 2003-12-01  André Pönitz  <poenitz@gmx.net>
3980
3981         * buffer.[Ch]:
3982         * lyxtext.h: move ParagraphList member to LyXText
3983         rename LyXText::ownerParagraphs to LyXText::paragraph
3984
3985         * CutAndPaste.C:
3986         * bufferview_funcs.C:
3987         * iterators.[Ch]:
3988         * lyx_cb.C:
3989         * paragraph.C:
3990         * rowpainter.C:
3991         * tabular.C:
3992         * text.C:
3993         * text2.C:
3994         * text3.C: adjust
3995
3996         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3997
3998         * undo.C: fix cursor positioning
3999
4000 2003-12-01  John Levon  <levon@movementarian.org>
4001
4002         * BufferView_pimpl.C: fix a crash on exit with
4003         a buffer open
4004
4005 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4006
4007         * BranchList.C: fix setSelected() method.
4008
4009 2003-11-28  André Pönitz  <poenitz@gmx.net>
4010
4011         * ParagraphParameters.[Ch]:
4012         * ParameterStruct.h: remove space above/below from Paragraph to
4013          InsetVSpace
4014
4015         * BufferView_pimpl.C:
4016         * factory.C:
4017         * lyxfunc.C:
4018         * lyxtext.h:
4019         * output_latex.C:
4020         * paragraph.C:
4021         * paragraph_funcs.C:
4022         * rowpainter.[Ch]:
4023         * text.C:
4024         * text2.C:
4025         * text3.C: adjust
4026
4027 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4028
4029         * factory.C: Syntax change for CharStyles
4030
4031 2003-11-28  André Pönitz  <poenitz@gmx.net>
4032
4033         * BufferView.[Ch]:
4034         * BufferView.[Ch]:
4035         * buffer.[Ch]:
4036         * buffer.[Ch]: move LyXText member
4037
4038 2003-11-28  André Pönitz  <poenitz@gmx.net>
4039
4040         * BufferView.[Ch]: make LyXText * text a private member
4041
4042         * BufferView_pimpl.C:
4043         * cursor.C:
4044         * iterators.C:
4045         * lyx_cb.C:
4046         * lyxfind.C:
4047         * lyxtext.h:
4048         * rowpainter.[Ch]:
4049         * text.C:
4050         * text2.C:
4051         * undo.C: adjust
4052
4053         * output_plaintext.C: cleanup
4054
4055 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4056
4057         * buffer.C:
4058         * lyxtextclass.[Ch]: parametrize SGML document header
4059
4060 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4061
4062         * converter.[Ch]:
4063         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4064         getFlavor().
4065
4066 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4067
4068         * text2.C (setFont): rework using PosIterator (no more recursive)
4069         (setCharFont): no more needed
4070         (setLayout): no more selection cursors fiddling (done by redoCursor)
4071         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4072         destroy remaining ones)
4073
4074 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4075
4076         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4077         * lyxtext.h: ditto
4078         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4079         selection cursors
4080         * lyxfunc.C: adjust
4081         * text3.C: adjust + re-allow multi par depth changes
4082         * textcursor.C: simplify a bit
4083
4084 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4085
4086         * src/buffer.C:
4087         * src/lyxlayout.C:
4088         * src/lyxlayout.h:
4089         * src/lyxtext.h:
4090         * src/output_docbook.C:
4091         * src/output_latex.C:
4092         * src/paragraph.C:
4093         * src/paragraph.h:
4094         * src/sgml.C:
4095         * src/sgml.h:
4096         * src/text2.C: Introducing a number of tags parametrizing various
4097         XML formats that we may want to support
4098
4099 2003-11-25  André Pönitz  <poenitz@gmx.net>
4100
4101         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4102
4103         * lyxtext.h (leftMargin/rightMargin): simplify interface
4104
4105         * rowpainter.C:
4106         * text.C:
4107         * text2.C:
4108         * text3.C: adjust
4109
4110 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4111
4112         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4113         master file to any child files. Fixes bug 546.
4114
4115 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4116
4117         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4118
4119 2003-11-24  André Pönitz  <poenitz@gmx.net>
4120
4121         * rowpainter.C: simplification
4122
4123         * text2.C (updateCounters): remove call to redoParagraph on
4124         changed labels as this is far too expensive.
4125
4126 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4127
4128         * converter.C (convert): fix a crash: this function gets
4129         called with buffer == 0 from importer code.
4130
4131 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4132
4133         * text3.C (cursorPrevious): make sure that we do not compare
4134         iterators form different containers.
4135         (cursorNext): ditto
4136
4137         * rowpainter.C (paintSelection): make sure that we do not compare
4138         iterators from different containers.
4139
4140         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4141         iterators from different ParagraphList containers.
4142         [NEXT] ditto
4143
4144         * text2.C (LyXText): change order of initialization slightly
4145         (operator=): new function. copy all variables except cache_par_
4146         (moveUp): make sure that we do not compare iterators from
4147         different ParagraphList constainers.
4148         (moveDown): ditto
4149
4150         * text.C (firstPar): new function
4151         (lastPar): new function
4152         (endPar): new function
4153
4154         * lyxtext.h: move things around and group public functions, public
4155         variables, private functions, private variables
4156
4157 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4158
4159         * factory.C: change call to InsetERT constructor to avoid
4160         additional invocation of method status
4161         * text2.C (toggleInset): remove redundant update() call
4162         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4163         instead of a Bufferview pointer
4164
4165 2003-11-21  André Pönitz  <poenitz@gmx.net>
4166
4167         * rowpainter.C: simplification
4168
4169 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4170
4171         * text3.C (dispatch): make possible to extend a word/row selection
4172         with the mouse
4173
4174 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4175
4176         * lyxtext.h: x0_,y0_ -> xo_,yo_
4177         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4178         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4179         * rowpainter.C (paintRows): paint full paragraphs
4180
4181 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4182
4183         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4184         screen coordinates)
4185
4186 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4187
4188         * lyxtext.h: add x0_, y0_
4189         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4190         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4191
4192 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4193
4194         * text2.C (setCursorIntern): move the x_target update here *
4195         * text3.C: change some bv() to true/false in calls to
4196         cursorUp/Down/Right/Left
4197         * cursor.C: use helper function.
4198
4199 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4200
4201         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4202         * paragraph_funcs.[Ch]: correct comment
4203         * rowpainter.C: do not paint selections away from bv->cursor()
4204         Fix a long standing selection painting bug.
4205         * text3.C: generalize mouse-selection code to LyXTexts other that
4206         top one
4207         * textcursor.C: do not use y coords if we can use par offsets
4208
4209 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4210
4211         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4212         cursor position after e.g. inset insert)
4213
4214 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4215
4216         * lyxfind.C (replace): adjust to locking removal + some
4217         code simplification
4218
4219 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4220
4221         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4222         of the path
4223
4224 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4225
4226         * lyxlayout.[Ch]:
4227         * output_docbook.C: XML sanitation: new layout
4228         parameters InnerTag and CommandDepth
4229
4230 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4231
4232         * BufferView_pimpl.C:
4233         * factory.C:
4234         * text3.C: Fix the insertion and modification of button-style
4235         insets
4236
4237 2003-11-13  André Pönitz  <poenitz@gmx.net>
4238
4239         * InsetList.[Ch]: remove deleteLyXText
4240
4241         * paragraph.[Ch]: cache beginOfBody position
4242
4243         * Bidi.C:
4244         * text.C:
4245         * text2.C:
4246         * text3.C: remove superfluous update() calls
4247
4248         * vspace.C: cleanup
4249
4250 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4251
4252         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4253         * BufferView.C (fitLockedInsetCursor): remove
4254         * cursor.[Ch] (getDim): add
4255         * text.C (getRowNearY): add faster version
4256         * text3.C: remove some update calls
4257
4258 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4259
4260         * LaTeXFeatures.C:
4261         * LyXAction.C:
4262         * MenuBackend.C:
4263         * MenuBackend.h:
4264         * dispatchresult.h:
4265         * factory.C:
4266         * lfuns.h:
4267         * lyxfunc.C:
4268         * lyxtextclass.C:
4269         * lyxtextclass.h:
4270         * text3.C: The Character Style /XML short element patch.
4271
4272 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4273
4274         * text3.C:
4275         * factory.C: Small step to solving 'unable to insert some insets'
4276         problem
4277
4278 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4279
4280         * cursor.[Ch] (updatePos): new function for updating the y
4281         position of the tip inset
4282         * bufferview_funcs.C (put_selection_at):
4283         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4284
4285 2003-11-11  André Pönitz  <poenitz@gmx.net>
4286
4287         * text.C: remove big comment on invalid Paragraph pointers as it is
4288         not valid anymore
4289
4290 2003-11-11  André Pönitz  <poenitz@gmx.net>
4291
4292         * text_funcs.[Ch]: merge with ...
4293
4294         * text.C: ... this
4295
4296         * lyxtext.h:
4297         * text2.C:
4298         * text3.C: adjust
4299
4300         * Makefile.am: remove text_funcs.[Ch]
4301
4302 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4303
4304         * cursor.C (getPos): return absolute cached y coord
4305
4306         * BufferView_pimpl.C (fitCursor): new simplistic code
4307         (workAreaDispatch): add a fitCursor call
4308
4309 2003-11-10  André Pönitz  <poenitz@gmx.net>
4310
4311         * BufferView.[Ch]:
4312         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4313
4314 2003-11-10  André Pönitz  <poenitz@gmx.net>
4315
4316         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4317         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4318         indicate that the cursor needs to leave an inset
4319
4320         * lyxtext.h: remove inset locking
4321
4322         * cursor.[Ch]: re-implement functionality provided by inset locking
4323
4324         * BufferView.[Ch]:
4325         * BufferView_pimpl.[Ch]:
4326         * LyXAction.C:
4327         * bufferview_funcs.[Ch]:
4328         * factory.C:
4329         * funcrequest.[Ch]:
4330         * iterators.C:
4331         * lyx_cb.C:
4332         * lyxfind.C:
4333         * lyxfunc.C:
4334         * text.C:
4335         * text2.C:
4336         * text3.C:
4337         * undo.C: adjust
4338
4339 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4340
4341         * PosIterator.[Ch]: replace the stack with a vector, add inset
4342         accesor
4343         * iterators.[C]: adjust
4344
4345 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4346
4347         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4348         replaced
4349         * paragraph_funcs.C (readParToken): put the correct id in the
4350         error item, not the id of the top paragraph
4351
4352 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4353
4354         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4355         * bufferview_funcs.C (put_selection_at): use the above
4356
4357 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4358
4359         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4360
4361 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4362
4363         * output_linuxdoc.h:
4364         * output_plaintext.h:
4365         * output.h:
4366         * output_docbook.h: add #include statements
4367
4368 2003-11-05  José Matos  <jamatos@lyx.org>
4369
4370         * output_docbook.[Ch]:
4371         * output_latex.[Ch]:
4372         * output_linuxdoc.[Ch]:
4373         * output_plaintext.[Ch]: New files for output formats.
4374         * output.[Ch]: New file for helper functions.
4375
4376         * buffer.[Ch]:
4377         * paragraph_funcs.[Ch]: output functions moved to new files.
4378
4379         * outputparams.h: rename of latexrunparams.h
4380
4381         * LaTeX.[Ch]:
4382         * buffer.[Ch]:
4383         * bufferlist.[Ch]:
4384         * converter.[Ch]:
4385         * exporter.C:
4386         * paragraph.[Ch]:
4387         * paragraph_funcs.[Ch]:
4388         * paragraph_pimpl.[Ch]:
4389         * tabular.[Ch]: rename ascii to plaintext
4390         and LatexRunParams to OutputParams.
4391
4392 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4393
4394         * iterators.[Ch] (text): require bv argument
4395         * undo.C (recordUndo):
4396         * lyxfunc.C (dispatch):
4397         * bufferview_funcs.C (put_selection_at): adjust
4398
4399 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
4400
4401         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4402
4403 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4404
4405         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4406         nestings
4407
4408 2003-11-04  André Pönitz  <poenitz@gmx.net>
4409
4410         * cursor.[Ch]: restructure
4411
4412         * BufferView.[Ch]:
4413         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4414
4415         * iterators.[Ch] (asCursor): remove
4416
4417         * lfuns.h: remove LFUN_INSET_EDIT
4418
4419         * lyxfunc.C:
4420         * tabular.C:
4421         * text.C:
4422         * text2.C:
4423         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4424
4425 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4426
4427         * lyxfind.[Ch]: complete overhaul
4428         * BufferView_pimpl.C:
4429         * lyxfunc.C: adjust
4430         * paragraph.[Ch] (insert): add
4431
4432 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4433
4434         * BufferView.[Ch]:
4435         * lyxtext.h:
4436         * text.C: remove dead spellcheck code
4437
4438 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4439
4440         * dispatchresult.h: add a val setter
4441
4442         * cursor.C (dispatch): use a tempvar for data_[i]
4443
4444 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4445
4446         * PosIterator.[Ch]: compile fix
4447
4448 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4449
4450         * text.C (cursorPar): deactivate the cursor cache
4451
4452 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4453
4454         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4455
4456 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4457
4458         * text3.C (dispatch): adjust for new DisptchResult semantics.
4459
4460         * lyxfunc.C (dispatch): handle update when return from
4461         Cursor::dispatch, adjust for new DispatchResult semantics.
4462
4463         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4464         DispatchResult(true) mean to not update. Add class functions for
4465         setting dispatched and update, as well as reading.
4466
4467         * cursor.C (dispatch): don't handle update here
4468
4469 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4470
4471         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4472         * trans_mgr.C: adjust
4473
4474         * paragraph_funcs.C (readParToken): exception safety
4475
4476         * lyxvc.h: store the vcs pointer in a scoped_ptr
4477         * lyxvc.C: adjust
4478
4479         * lyxsocket.C (serverCallback): exception safety
4480
4481         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4482
4483         * ispell.C (clone): make it return a auto_ptr
4484
4485         * factory.C (createInset): exception safety
4486         (readInset): exception safety
4487
4488         * bufferlist.C (newBuffer): exception safety
4489
4490         * Thesaurus.C (Thesaurus): use initialization for aik_
4491
4492         * MenuBackend.C (expandToc): exception safety.
4493
4494 2003-11-03  André Pönitz  <poenitz@gmx.net>
4495
4496         * buffer.C:
4497         * buffer.h:
4498         * bufferview_funcs.C: remove getInsetFromId()
4499
4500         * lyxcursor.[Ch]:
4501         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4502
4503         * lyxfunc.C:
4504         * text2.C:
4505         * text3.C: adjust
4506
4507 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4508
4509         * PosIterator.C (distance, advance): new
4510         * bufferview_funcs.[Ch] (put_selection_at): new
4511         * iterators.[Ch] (lockPath): new
4512
4513 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4514
4515         * iterators.[Ch] (asPosIterator): added
4516         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4517         * PosIterator.[Ch]: added
4518
4519 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4520
4521         * text3.C:
4522         * lyxfunc.C:
4523         * cursor.C (dispatch):
4524         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4525
4526         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4527         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4528         contructor, add a class function dispatched. Remove operator>=
4529
4530 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4531
4532         * debug.C: only use the default constructor for debugstream
4533         (lyxerr) here.
4534
4535         * main.C (main): include debug.h and setup the lyxerr streambuf
4536         here.
4537
4538 2003-10-31  José Matos  <jamatos@lyx.org>
4539
4540         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4541
4542         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4543         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4544         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4545         * paragraph_pimpl.C (simpleTeXSpecialC):
4546         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4547         add LatexRunParams argument.
4548
4549         * exporter.C (Export): change call accordingly.
4550
4551         * latexrunparams.h: add new member to take care of the other backends.
4552 2003-10-30  José Matos  <jamatos@lyx.org>
4553
4554         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4555         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4556         factorise code for paragraph output.
4557         * buffer.[Ch]:
4558         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4559         move functions.
4560
4561 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4562
4563         * text3.C (dispatch):
4564         * lyxfunc.C (dispatch):
4565         * cursor.C (dispatch):
4566         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4567
4568         * dispatchresult.h: make the dispatch_result_t ctor explicit
4569
4570 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4571
4572         * sgml.[Ch]:
4573         * buffer.C: small refactoring of docbook stuff
4574
4575 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4576
4577         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4578         meaning.
4579
4580 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4581
4582         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4583         operator dispatch_result_t, and operators for == != and >=
4584
4585         * cursor.C (dispatch): adjust for operator dispatch_result_t
4586         removal. comment out call to update
4587
4588         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4589
4590 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4591
4592         * text3.C:
4593         * text2.C:
4594         * text.C:
4595         * lyxtext.h:
4596         * lyxfunc.C:
4597         * cursor.C:
4598         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4599         (dispatch):
4600
4601         * dispatchresult.h: new file, DispatchResult broken out of
4602         insets/insetbase.h
4603
4604         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4605
4606 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4607
4608         * text.C (rowBreakPoint): put a hack inside #if 0
4609
4610 2003-10-28  André Pönitz  <poenitz@gmx.net>
4611
4612         * lyxtext.h:
4613         * metricsinfo.C:
4614         * paragraph_funcs.C:
4615         * rowpainter.C:
4616         * text.C:
4617         * text2.C: general cleanup (lots of small stuff)
4618
4619 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4620
4621         * text2.C (cursorEnd): simple fix to the "end key goes to one
4622         before the end on last row" bug
4623
4624 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4625
4626         * text.C (backspace): fix the "zombie characters"
4627
4628 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4629
4630         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4631
4632 2003-10-27  André Pönitz  <poenitz@gmx.net>
4633
4634         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4635
4636         * factory.C: handle new InsetPagebreak, InsetLine
4637
4638         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4639         and move handling into new InsetPagebreak, InsetLine
4640
4641         * BufferView_pimpl.C:
4642         * LyXAction.C:
4643         * ParagraphParameters.C:
4644         * ParameterStruct.h:
4645         * lyxfunc.C:
4646         * lyxtext.h:
4647         * paragraph.C:
4648         * paragraph.h:
4649         * paragraph_funcs.C:
4650         * paragraph_pimpl.C:
4651         * rowpainter.C:
4652         * text.C:
4653         * text2.C:
4654         * text3.C: adjust
4655
4656 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4657
4658         * text.C:
4659         * lyxrow_funcs.[Ch]:
4660         * Bidi.C:
4661         * paragraph.C:
4662         * lyxtext.h:
4663         * rowpainter.C:
4664         * text2.C:
4665         * text3.C: remove lastPos uses in favour of Row::endpos
4666
4667 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4668
4669         * undo.C (performUndoOrRedo): fix two crashes by setting a
4670         cursor by hand and reordering some calls. Use bv->lockInset instead
4671         of inset->edit because the latter loses cursor information
4672
4673 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4674
4675         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4676         by Martin
4677         (rowBreakPoint): fix width. change point to point + 1.
4678         Add a missing check.
4679
4680 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4681
4682         * MenuBackend.C:
4683         * lyxfunc.C: fix (at least partly) the problems
4684         with the Nav menu and headers inside branch insets
4685         reported by Kayvan
4686
4687 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4688
4689         * paragraph.C (getChar): add strong asserts
4690
4691         * lyxrow_funcs.C (lastPos): remove hideous hack
4692
4693         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4694         (fill): adjust to that (avoid an infinite loop)
4695
4696 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4697
4698         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4699
4700 2003-10-23  André Pönitz  <poenitz@gmx.net>
4701
4702         * RowList_fwd.h: change list<> to vector<> to gain speed
4703         after suggestion from Alfredo
4704
4705 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4706
4707         * lyxtext.h: move the bidi stuff from here...
4708         * text.C: and here
4709         * text2.C: and here
4710         * Bidi.[Ch]: ... to here
4711
4712 2003-10-23  André Pönitz  <poenitz@gmx.net>
4713
4714         * lyxtext.h:
4715         * text.C (isLastRow, isFirstRow): new functions
4716
4717         * paragraph.h: new width cache member
4718
4719         * rowpainter.C: replace RowList::iterator with Row & where possible
4720
4721         * lyxfunc.C: replace several view()->text with a single call
4722
4723         * toc.C: fix 'unused' warning
4724
4725 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4726
4727         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4728         when woring with stream::pos_type
4729         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4730
4731 2003-10-22  André Pönitz  <poenitz@gmx.net>
4732
4733         * lyxtext.h:
4734         * text.C: use Row & instead of RowList::iterator
4735
4736         * lyxrow.h: rename end() to endpos()
4737
4738         * rowpainter.C:
4739         * text.C:
4740         * text2.C: adjust
4741
4742 2003-10-22  Angus Leeming  <leeming@lyx.org>
4743
4744         * buffer.[Ch] (fully_loaded): new member function, returning true
4745         only when the file has been loaded fully.
4746         Used to prevent the premature generation of previews and by the
4747         citation inset to prevent computation of the natbib-style label.
4748
4749         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4750         templates are all set up.
4751
4752         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4753
4754 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4755
4756         * text.C: fixed an "oops" in the "is a bit silly"
4757         bug fix
4758
4759 2003-10-21  André Pönitz  <poenitz@gmx.net>
4760
4761         * FuncStatus.[Ch]: small stuff, whitespace
4762
4763         * lyxfont.[Ch]: operator<<() for debug reasons
4764
4765         * lyxfunc.C:
4766         * lyxrow_funcs.C:
4767         * lyxtext.h: whitespace, spelling
4768
4769         * paragraph.C: naming of variables
4770
4771         * text.C:
4772         * text2.C: small stuff
4773
4774
4775 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4776
4777         * text.C: (1) finish off the inset display() work;
4778         (2) fix the "is a bit silly" bug (accessing char
4779         past end of par).
4780
4781 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4782
4783         * text.C: re-introduce display() for insets, fixing the
4784         various bugs (stretch of line above, math inset
4785         positioning, ...)
4786
4787 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4788
4789         * text.C (rightMargin): remove spurious semicolon
4790
4791         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4792         1415)
4793
4794 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4795
4796         * text3.C: fix one crash due to wrong cursor def
4797
4798 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4799
4800         * vc-backend.C (scanMaster): make the regex static
4801
4802         * LaTeX.C (scanAuxFile): make the regexs static
4803
4804         * text3.C (doInsertInset, dispatch, dispatch):
4805         * text2.C (cursorUp, cursorDown):
4806         * text.C (selectNextWordToSpellcheck):
4807         * BufferView_pimpl.C (dispatch):
4808         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4809
4810 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4811
4812         * lyxsocket.C: include <cerrno>
4813
4814 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4815
4816         * lyxfunc.C (dispatch): remove textcache stuff
4817
4818         * bufferlist.C (release): remove textcache stuff
4819         (closeAll): ditto
4820
4821         * TextCache.C: delete file
4822         * TextCache.h: delete file
4823
4824         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4825
4826         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4827         delete of the bv_->text.
4828         (resizeCurrentBuffer): remove texcache stuff
4829         (workAreaResize): ditto
4830
4831 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4832
4833         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4834         action.
4835
4836 2003-10-16  André Pönitz  <poenitz@gmx.net>
4837
4838         * lyxrow.[Ch]:
4839         * paragraph.h:
4840         * rowpainter.C:
4841         * text.C:
4842         * text2.C:
4843         * text3.C: speed up by storing y positions per paragraph plus per-row
4844         offset instead of having a 'full' y position in the row.
4845
4846 2003-10-15  André Pönitz  <poenitz@gmx.net>
4847
4848         * iterators.[Ch]:
4849         * iterators.[Ch]:
4850         * undo.[Ch]: make undo aware of inner insets
4851
4852 2003-10-14  Angus Leeming  <leeming@lyx.org>
4853
4854         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4855         static member functions LyX::ref() and LyX::cref.
4856         (lastfiles): new accessor functions for the new lastfiles_ member var.
4857         (addLyXView, views_): add a new LyXView to the list of views_.
4858         (updateInset): loop over all LyXViews to call their own updateInset
4859         member function, returning a pointer to the Buffer owning the inset.
4860
4861         * BufferView_pimpl.C (loadLyXFile):
4862         * MenuBackend.C (expandLastfiles):
4863         * bufferlist.C (MenuWrite, QuitLyX):
4864         lastfiles is no longer a global variable.
4865         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4866
4867         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4868         static function. Access through LyX::cref().emergencyCleanup().
4869
4870 2003-10-14  André Pönitz  <poenitz@gmx.net>
4871
4872         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4873
4874         * undo.[Ch]: restoring part of 'undo in insets'
4875
4876         * Makefile.am:
4877         * undo_funcs.[Ch]: merge with undo.[Ch]
4878
4879         * tabular.C: small cleansing stuff
4880
4881 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4882
4883         * paragraph_funcs.C (readParToken): report unknown insets as error
4884         boxes. Use the outer paragraph as location (also for unknown
4885         tokens).
4886
4887         * factory.C (readInset): do not abort on reading an unknown inset.
4888         Eat it and return 0.
4889
4890 2003-10-13  Angus Leeming  <leeming@lyx.org>
4891
4892         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4893
4894         * lyxrc.C: displayTranslator is now a function,
4895         declared in GraphicsTypes.h.
4896
4897 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4898
4899         * format.C: new placeholder $$a to pass the socket address.
4900
4901         * bufferlist.[Ch]: new function getBufferFromTmp.
4902
4903         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4904           files in the temporary dir.
4905
4906 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4907
4908         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4909
4910         * Makefile.am: add lyxsocket.[Ch].
4911
4912         * lyx_main.C (error_handler): handle SIGPIPE.
4913
4914 2003-10-13  André Pönitz  <poenitz@gmx.net>
4915
4916         * BufferView_pimpl.C:
4917         * lyxtext.h:
4918         * text.C:
4919         * text2.C:
4920         * text3.C:
4921         * undo_funcs.[Ch]: use paroffset_type instead of
4922           ParagraphList::iterators to prevent multiple conversion
4923           (and get a more robust interface)
4924
4925 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4926
4927         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4928         * lyxtext.h: ditto
4929         * text3.C (dispatch): ditto
4930
4931 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4932
4933         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4934         move the onlyfile, use onlyfile instead of foundfile in a couple
4935         of places.
4936
4937         * DepTable.C (update): flush the error stream a bit more
4938
4939 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4940
4941         * lyxserver.C (callback): adjust
4942
4943         * lyxfunc.C (getStatus): add a missing brace in commented code
4944         (ensureBufferClean): reindent
4945         (dispatch): delete version taking a string
4946
4947 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4948
4949         * LaTeX.C (deplog): move found file handlig from here...
4950         (handleFoundFile): .. to new function here.
4951         (deplog): make sure to discover several files mentioned on the
4952         same log line.
4953
4954 2003-10-10  André Pönitz  <poenitz@gmx.net>
4955
4956         * lyxfunc.C:
4957         * lyxtext.h:
4958         * tabular.C:
4959         * text.C:
4960         * text2.C:
4961         * text3.C: fix some of the tabular crashes
4962
4963 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4964
4965         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4966
4967         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4968
4969 2003-10-09  André Pönitz  <poenitz@gmx.net>
4970
4971         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4972
4973         * BufferView.C:
4974         * BufferView_pimpl.C:
4975         * bufferview_funcs.C:
4976         * lyx_cb.C:
4977         * lyxcursor.C:
4978         * lyxfind.C:
4979         * lyxfunc.C:
4980         * lyxtext.h:
4981         * text.C:
4982         * text2.C:
4983         * text3.C:
4984         * text_funcs.[Ch]:
4985         * textcursor.[Ch]:
4986         * undo_funcs.C: adjust
4987
4988 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4989
4990         * text2.C (incrementItemDepth): new function, use a backtracking
4991         algorithm to discover the correct item depth.
4992         (resetEnumCounterIfNeeded): new function, use a backtracking
4993         algorithm to discover if counter reset is needed.
4994         (setCounter): use them. Simplify a bit. Add different labels for
4995         different item depths for itemize.
4996
4997         * paragraph.C (Paragraph): remove initialization of enumdepth
4998         (operator=): ditto
4999
5000         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5001         enumerate and itemize. Change the type of itemdepth to signed char.
5002
5003 2003-10-08  André Pönitz  <poenitz@gmx.net>
5004
5005         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5006           thing assignable.
5007         * text.C:
5008         * text2.C: adjust
5009
5010         * tabular.[Ch]: fix crash after 'row-insert'
5011
5012 2003-10-08  Angus Leeming  <leeming@lyx.org>
5013
5014         Fix doxygen warnings.
5015
5016         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5017         Remove CutAndPaste:: prefix from header file declaration.
5018
5019         * LColor.h (fill): remove LColor:: prefix from declaration.
5020
5021         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5022         use lyx::depth_type rather than Paragraph::depth_type so that
5023         header file and .C file match.
5024
5025         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5026
5027         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5028         * aspell.C: \file aspell_local.C -> \file aspell.C
5029         * gettext.C: \file gettext.C -> \file src/gettext.C
5030         * gettext.h: \file gettext.h -> \file src/gettext.h
5031         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5032         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5033         * text.C: \file text.C -> \file src/text.C
5034
5035         * toc.C: move comment so that doxygen is not confused.
5036
5037 2003-10-07  Angus Leeming  <leeming@lyx.org>
5038
5039         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5040
5041 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5042
5043         * aspell.C:
5044         * aspell_local.h: add forgotten std::string's.
5045
5046 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5047
5048         * LaTeXFeatures.C:
5049         * LyXAction.C:
5050         * factory.C:
5051         * lfuns.h:
5052         * lyxfunc.C:
5053         * text3.C: The Box patch. Fancybox support, minipage, parbox
5054
5055 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5056
5057         * CutAndPaste.h:
5058         * DepTable.h:
5059         * FloatList.h:
5060         * LaTeXFeatures.h:
5061         * ParagraphParameters.h:
5062         * TextCache.h:
5063         * Thesaurus.h:
5064         * bufferlist.h:
5065         * exporter.h:
5066         * importer.h:
5067         * lastfiles.h:
5068         * lyxfind.h:
5069         * lyxfont.h:
5070         * lyxlex.h:
5071         * lyxtextclasslist.h:
5072         * messages.h:
5073         * paragraph.h:
5074         * paragraph_pimpl.C:
5075         * textcursor.h: add <string> and other small fixes to make Lars'
5076         std::string patch compile with STLport.
5077
5078 2003-10-06  Angus Leeming  <leeming@lyx.org>
5079
5080         * LColor.h: Add missing #include <string>.
5081
5082 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5083
5084         * All most all file in all subdirs: Make <string> be the prefered
5085         way of getting to std::string, add using declarations.
5086
5087 2003-10-06  André Pönitz  <poenitz@gmx.net>
5088
5089         * metricsinfo.C: initialize LyXFont before changing attribute.
5090         (fixes the 'math in \emph is upright' bug)
5091
5092 2003-10-06  André Pönitz  <poenitz@gmx.net>
5093
5094         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5095
5096 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5097
5098         * graph.C:
5099         * paragraph_pimpl.C: Small fixes to build using STLport
5100
5101 2003-10-02  André Pönitz  <poenitz@gmx.net>
5102
5103         * lyxfunc.C:
5104         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5105
5106 2003-10-01  André Pönitz  <poenitz@gmx.net>
5107
5108         * factory.C: assert early
5109
5110 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5111
5112         * lyx_main.C: remove the global debug object
5113
5114         * debug.h: adjust for new debugstream
5115
5116         * debug.C: adjust for new debugstream and keep the global debug
5117         object here.
5118
5119 2003-09-22  Angus Leeming  <leeming@lyx.org>
5120
5121         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5122         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5123         an incomplete class LyXFont.
5124
5125 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5126
5127         * factory.C: bug fix in branches
5128
5129 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5130
5131         * lyxfunc.C (processKeySym): adjust
5132         (dispatch): adjust
5133         (dispatch): change arg name from ev to func, adjust
5134         (sendDispatchMessage): ditto
5135
5136         * lyx_main.C (defaultKeyBindings): adjust keybindings
5137         (deadKeyBindings): ditto
5138
5139         * kbsequence.C (addkey): return a FuncRequest
5140
5141         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5142
5143         * kbmap.C (bind): take a FuncRequest as arg, adjust
5144         (read): adjust
5145         (lookup): adjust
5146         (defkey): change to take a FuncRequest as arg, adjust
5147         (findbinding): take a FuncRequest as arg, adjust.
5148
5149         * funcrequest.h (operator=): added
5150
5151         * funcrequest.C (FuncRequest): default kb_action changed from
5152         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5153
5154         * buffer.C (dispatch): simplify
5155         (dispatch): adjust to take a FuncRequest as arg, adjust
5156
5157         * boost.C (assertion_failed): change assertion message slightly
5158
5159         * ToolbarBackend.C (read): simplify
5160
5161         * MenuBackend.C (binding): adjust call to findbinding, add a
5162         message if no binding is found.
5163         (read): simplify
5164         (expandToc): correct by adding a empty FuncRequest
5165
5166         * LyXAction.C: include <boost/assert.hpp>
5167         (isPseudoAction): delete function
5168         (LookupFunc): change name to...
5169         (lookupFunc): this. change return type to FuncRequest.
5170         (getActionName): take kb_action as arg, simplify
5171         (funcHasFlag): add an assert, simplify.
5172
5173 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5174
5175         * toc.C (action): return a FuncRequest, simplify
5176
5177         * lyxfunc.C (processKeySym): adjust
5178         (getStatus): delete version that takes an int.
5179         (getStatus): adjust
5180         (dispatch): delete version that takes action as int
5181         (dispatch): adjust
5182         (sendDispatchMessage): simplify and adjust
5183
5184         * funcrequest.C (getArg): take unsigned int as arg
5185
5186         * ToolbarBackend.C (read): adjust
5187         (add): delete version that takes func as a string.
5188         (getIton): take a FuncRequest as arg
5189
5190         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5191         action.
5192
5193         * MenuBackend.C (MenuItem): add a new construct that only takes a
5194         Kind, simplify the constructor use for submenus.
5195         (add): adjust
5196         (expandLastfiles): adjust
5197         (expandDocuments): adjust
5198         (expandFormats): adjust
5199         (expandFloatListInsert): adjust
5200         (expandFloatInsert): adjust
5201         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5202
5203         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5204         Remove class variables lyx_pseudo_map and lyx_arg_map
5205
5206         * LyXAction.C (searchActionArg): delete function
5207         (getPseudoAction): delete function
5208         (retrieveActionArg): delete function
5209         (LookupFunc): make it return kb_action, simplify.
5210         (getActionName): simplify
5211
5212         * factory.C (createInset): fix new bug
5213
5214 2003-09-19  Angus Leeming  <leeming@lyx.org>
5215
5216         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5217         masterFilename_ parameter in the include inset.
5218
5219         * factory.C (createInset): changes due to the changes to InsetInclude.
5220
5221 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5222
5223         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5224
5225 2003-09-18  Angus Leeming  <leeming@lyx.org>
5226
5227         * buffer.C:
5228         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5229         Inset::fillWithBibKeys.
5230         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5231
5232 2003-09-18  Angus Leeming  <leeming@lyx.org>
5233
5234         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5235         variables.
5236         (ctor): pass and store a 'Buffer const &'
5237         (buffer): new member function.
5238
5239         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5240         '*this' to the LaTeXFeatures ctor.
5241
5242 2003-09-18  Angus Leeming  <leeming@lyx.org>
5243
5244         * LColor.h:
5245         * lyxfont.C:
5246         * lyxfont.h:
5247         * lyxtext.h:
5248         * text.C: rename EnumLColor as LColor_color.
5249
5250 2003-09-18  Angus Leeming  <leeming@lyx.org>
5251
5252         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5253         remove #include "insets/insetbase.h" from cursor.h.
5254
5255 2003-09-18  Angus Leeming  <leeming@lyx.org>
5256
5257         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5258         InsetOld_code to remove #include "inset.h".
5259
5260         * iterators.C: add #include "insets/inset.h"
5261
5262 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5263
5264         * BufferView.C: remove more locking stuff that apparently doesn't
5265         do anything sensible.
5266
5267 2003-09-16  André Pönitz  <poenitz@gmx.net>
5268
5269         * paragraph.[Ch]:
5270         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5271           performance boost.
5272
5273 2003-09-16  Angus Leeming  <leeming@lyx.org>
5274
5275         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5276
5277         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5278         arg/return type.
5279
5280         * paragraph.h: remove #include "lyxfont.h". Forward declare
5281         LyXFont_size.
5282
5283 2003-09-16  Angus Leeming  <leeming@lyx.org>
5284
5285         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5286         of support/textutils.h.
5287         (isWord): move the contents of support/textutils.h's IsWordChar here.
5288
5289         * buffer.C:
5290         * lyxfind.C:
5291         * rowpainter.C:
5292         * text.C:
5293         * text2.C: add #include "paragraph.h".
5294
5295         * rowpainter.C:
5296         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5297
5298 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5299
5300         * main.C:
5301         * lyx_main.C:
5302         * lyx_cb.C:
5303         * buffer.C:
5304         * LaTeX.C: use namespace alias for lyx::support::os
5305
5306 2003-09-16  Angus Leeming  <leeming@lyx.org>
5307
5308         * bufferparams.C:
5309         * bufferview_funcs.C:
5310         * factory.C:
5311         * lyxfunc.C:
5312         * paragraph_pimpl.C:
5313         * rowpainter.C:
5314         * text.C: add #include "LColor.h".
5315
5316 2003-09-16  Angus Leeming  <leeming@lyx.org>
5317
5318         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5319         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5320         return LyXFont &.
5321         Store the FontBits::color variable as an int rather than as an
5322         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5323         file.
5324
5325         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5326         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5327         string calls together.
5328
5329         * lyxrc.C: add #include "LColor.h".
5330
5331 2003-09-15  Angus Leeming  <leeming@lyx.org>
5332
5333         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5334         a cow_ptr.
5335
5336 2003-09-15  Angus Leeming  <leeming@lyx.org>
5337
5338         * LColor.h: add an EnumLColor wrapper for LColor::color.
5339
5340         * lyxfont.[Ch] (color, setColor, realColor):
5341         * lyxtext.h, text.C (backgroundColor):
5342         pass EnumLColor args to/from the functions, rather than LColor::color
5343         ones.
5344
5345         * lyxfont.h:
5346         * lyxtext.h: forward declare EnumLColor.
5347
5348         * lyx_main.C: add #include "LColor.h".
5349
5350 2003-09-15  Angus Leeming  <leeming@lyx.org>
5351
5352         * .cvsignore: add lyx-gtk.
5353
5354 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5355
5356         * Chktex.C
5357         * LaTeX.C
5358         * LaTeXFeatures.C
5359         * ParagraphParameters.C
5360         * Spacing.C
5361         * buffer.C
5362         * bufferparams.C
5363         * bufferview_funcs.C
5364         * chset.C
5365         * counters.C
5366         * funcrequest.C
5367         * lyxfont.C
5368         * lyxgluelength.C
5369         * lyxlength.C
5370         * paragraph.C
5371         * paragraph_funcs.C
5372         * text3.C
5373         * vc-backend.C: remove usage of STRCONV
5374
5375 2003-09-15  Angus Leeming  <leeming@lyx.org>
5376
5377         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5378         explicitly define the color passed to the painter.
5379
5380 2003-09-15  Angus Leeming  <leeming@lyx.org>
5381
5382         * bufferparams.C (BufferParams): reorder member initializers to avoid
5383         compiler warning.
5384
5385 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5386
5387         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5388         * text.C (updateRowPositions): remove an unusual nop
5389
5390 2003-09-12  André Pönitz  <poenitz@gmx.net>
5391
5392         * BufferView_pimpl.C:
5393         * Bullet.C:
5394         * layout.h:
5395         * lyxfunc.C:
5396         * lyxlayout.[Ch]:
5397         * lyxtextclass.C:
5398         * rowpainter.C:
5399         * text.C:
5400         * text2.C:
5401         * Counters.[Ch]: finish the 'automatic counters' job
5402
5403 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5404
5405         * aspell.C: include <boost/assert.cpp> (compile fix)
5406
5407 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5408
5409         * boost.C (assertion_failed): use lyx::support::abort instead of
5410         assert.
5411
5412 2003-09-10  Angus Leeming  <leeming@lyx.org>
5413
5414         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5415         with their _fwd progeny.
5416
5417 2003-09-09  Angus Leeming  <leeming@lyx.org>
5418
5419         134 files throughtout the source tree: replace 'using namespace abc;'
5420         directives with the appropriate 'using abc::xyz;' declarations.
5421
5422 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5423
5424         * boost.C (emergencyCleanup): moved here from LAssert.c
5425         (assertion_failed): new function, called by BOOST_ASSERT
5426
5427         * several files: change Assert to BOOST_ASSERT
5428
5429 2003-09-09  Angus Leeming  <leeming@lyx.org>
5430
5431         * buffer.[Ch]: Add an Impl class and move Buffer's member
5432         variables into it. As a result move several header files out of
5433         buffer.h.
5434
5435         Add header files to lots of .C files all over the tree as a result.
5436
5437 2003-09-09  Angus Leeming  <leeming@lyx.org>
5438
5439         * buffer.[Ch]: make Buffer's member variables private. Add
5440         accessor functions.
5441
5442         Lots of changes all over the tree as a result.
5443
5444 2003-09-08  Angus Leeming  <leeming@lyx.org>
5445
5446         * graph.C: #include <config.h>.
5447
5448 2003-09-08  Angus Leeming  <leeming@lyx.org>
5449
5450         * BranchList.C:
5451         * BufferView.C:
5452         * BufferView_pimpl.C:
5453         * CutAndPaste.C:
5454         * DepTable.C:
5455         * LaTeX.C:
5456         * LaTeXFeatures.C:
5457         * LyXAction.C:
5458         * MenuBackend.C:
5459         * TextCache.C:
5460         * aspell.C:
5461         * buffer.C:
5462         * bufferlist.C:
5463         * changes.C:
5464         * chset.C:
5465         * converter.C:
5466         * counters.C:
5467         * debug.C:
5468         * graph.C:
5469         * ispell.C:
5470         * lyx_cb.C:
5471         * lyxfind.C:
5472         * lyxfunc.C:
5473         * lyxlex_pimpl.C:
5474         * lyxrc.C:
5475         * lyxrow.C:
5476         * paragraph.C:
5477         * rowpainter.C:
5478         * texrow.C:
5479         * text.C:
5480         * text2.C:
5481         * toc.C: remove redundant using directives.
5482
5483 2003-09-07  Angus Leeming  <leeming@lyx.org>
5484
5485         * LaTeXFeatures.h: remove #include "support/types.h".
5486         * ToolbarBackend.h: remove #include <algorithm>.
5487         * changes.h: remove #include <ctime>.
5488         * debug.h: remove #include <iosfwd>.
5489         * graph.h: remove #include "support/std_string.h".
5490         * lyx_main.h: remove #include <csignal>.
5491         * lyxlex_pimpl.h: remove #include <fstream>.
5492         * sgml.h: remove #include <algorithm>, <utility>.
5493         * toc.h: remove #include "support/std_ostream.h".
5494         Add #include <iosfwd>.
5495
5496 2003-09-07  Angus Leeming  <leeming@lyx.org>
5497
5498         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5499
5500         * converter.h: forward declare LatexRunParams.
5501         * encoding.h: remove #include "lyxrc.h".
5502         * lyxtext.h: remove #include "LColor.h".
5503         * lyxtextclass.h: remove #include "support/types.h".
5504         * trans.h: remove #include "tex-accent.h".
5505         * trans_mgr.h: remove #include "tex-accent.h".
5506         * insets/inset.h: remove #include "support/types.h", <vector>.
5507         * insets/insetcollapsable.h: remove #include "LColor.h".
5508         * insets/insetinclude.h: remove #include "dimension.h".
5509         * insets/insetlatexaccent.h: remove #include "dimension.h".
5510         * insets/insetoptarg.h:: remove #include "insettext.h".
5511         * insets/insettext.h: remove #include "dimension.h",
5512         <boost/shared_ptr.hpp>
5513
5514         * insets/renderers.h: add #include "dimension.h".
5515         * insets/updatableinset.h: add #include "support/types.h".
5516
5517         * many .C files: Associated changes.
5518
5519 2003-09-06  Angus Leeming  <leeming@lyx.org>
5520
5521         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5522         one, inside testInvariant.
5523
5524         * PrinterParams.C: new file.
5525         * PrinterParams.[Ch]: move the function bodies out of line.
5526
5527 2003-09-06  Angus Leeming  <leeming@lyx.org>
5528
5529         * ParagraphParameters.h: forward declare ParameterStruct rather than
5530         including its header file.
5531         (depth): moved out-of-line.
5532
5533 2003-09-06  Angus Leeming  <leeming@lyx.org>
5534
5535         * BufferView_pimpl.h:
5536         * kbmap.h:
5537         * kbsequence.h:
5538         * lyxfunc.h: forward declare LyXKeySym rather than
5539         #include "frontends/LyXKeySym.h".
5540
5541         * BufferView_pimpl.C:
5542         * kbmap.C:
5543         * kbsequence.C:
5544         * lyxfunc.C: associated changes.
5545
5546 2003-09-06  Angus Leeming  <leeming@lyx.org>
5547
5548         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5549         As a result, can remove the #include "insets/inset.h" from BufferView.h
5550
5551 2003-09-06  Angus Leeming  <leeming@lyx.org>
5552
5553         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5554         As a result, can remove the #include "insets/inset.h" from BufferView.h
5555
5556 2003-09-06  Angus Leeming  <leeming@lyx.org>
5557
5558         * buffer_funcs.C:
5559         * buffer.h:
5560         * bufferlist.C:
5561         * BufferView.C:
5562         * bufferview_funcs.C:
5563         * BufferView_pimpl.C:
5564         * CutAndPaste.C:
5565         * lyx_cb.C:
5566         * lyxfunc.C:
5567         * paragraph.h:
5568         * ParagraphParameters.C:
5569         * tabular.C:
5570         * text3.C:
5571         * toc.C:
5572         * undo_funcs.C:
5573         * frontends/controllers/ControlDocument.C:
5574         * insets/insetcaption.C: rearrange the #includes into some sort of
5575         coherent order.
5576
5577         * buffer.h: remove #includes ErrorList.h, undo.h
5578
5579 2003-09-06  Angus Leeming  <leeming@lyx.org>
5580
5581         * support/types.h: add a 'depth_type' typedef, used to store the
5582         nesting depth of a paragraph.
5583
5584         * paragraph.h:
5585         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5586         defining explicitly.
5587
5588         * buffer.h:
5589         * paragraph_funcs.h:
5590         * ParagraphParameters.h:
5591         * sgml.h: use lyx::depth_type rather than Paragraph or
5592         ParameterStruct's depth_type.
5593
5594         * buffer.h
5595         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5596
5597         * BufferView.C:
5598         * BufferView_pimpl.C:
5599         * CutAndPaste.C:
5600         * ParagraphParameters.C:
5601         * buffer_funcs.C:
5602         * bufferlist.C:
5603         * bufferview_funcs.C:
5604         * lyx_cb.C:
5605         * lyxfunc.C:
5606         * tabular.C:
5607         * text3.C:
5608         * toc.C:
5609         * undo_funcs.C:
5610         * frontends/LyXView.C:
5611         * frontends/controllers/ControlDocument.C:
5612         * frontends/controllers/ControlErrorList.C:
5613         * insets/insetbibitem.C:
5614         * insets/insetbranch.C:
5615         * insets/insetcaption.C:
5616         * insets/insetcollapsable.C:
5617         * insets/insetenv.C:
5618         * insets/insetert.C:
5619         * insets/insetfloat.C:
5620         * insets/insetfoot.C:
5621         * insets/insetfootlike.C:
5622         * insets/insetnewline.C:
5623         * insets/insetquotes.C:
5624         * insets/insettabular.C:
5625         * insets/insettext.C:
5626         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5627
5628         * frontends/controllers/ControlChanges.C: #include "changes.h".
5629
5630 2003-09-06  Angus Leeming  <leeming@lyx.org>
5631
5632         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5633         than #including paragraph.h.
5634
5635         * ParagraphList.h:
5636         * RowList.h: deleted. Superfluous.
5637
5638         * CutAndPaste.h:
5639         * iterators.h:
5640         * lyxcursor.h:
5641         * lyxtext.h:
5642         * text_funcs.h:
5643         * undo.h:
5644         * undo_funcs.h:
5645         * insets/inset.h:
5646         * insets/insettext.h: use ParagraphList_fwd.h rather than
5647         ParagraphList.h.
5648
5649         * paragraph.h: don't forward declare ParagraphList.
5650
5651         * buffer.h:
5652         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5653         rather than ParagraphList.h. paragraph.h is still needed for the
5654         Paragraph::depth_type parameters.
5655
5656         * textcursor.h: enable it to compile stand-alone in light of the
5657         above changes.
5658
5659         * bufferview_funcs.C:
5660         * iterators.C:
5661         * lyxfunc.C:
5662         * lyxrow_funcs.C:
5663         * paragraph.C:
5664         * rowpainter.C:
5665         * text.C:
5666         * text2.C:
5667         * text3.C:
5668         * text_funcs.C:
5669         * textcursor.C:
5670         * undo.C:
5671         * frontends/controllers/ControlParagraph.C:
5672         * frontends/controllers/ControlTabular.C:
5673         * insets/insetmarginal.C:
5674         * insets/insetminipage.C:
5675         * insets/insetnote.C:
5676         * insets/insetoptarg.C: add header files needed to compile again.
5677
5678 2003-09-06  Angus Leeming  <leeming@lyx.org>
5679
5680         * RowList_fwd.h: new file, forward-declaring Row rather than
5681         #including lyxrow.h.
5682
5683         * lyxrow_funcs.h:
5684         * lyxtext.h:
5685         * paragraph.h:
5686         * insets/insettext.h: use it instead of RowList.h
5687
5688         * bufferview_funcs.C:
5689         * lyxfunc.C:
5690         * lyxrow_funcs.C:
5691         * paragraph.C:
5692         * rowpainter.C:
5693         * text.C:
5694         * text2.C:
5695         * text3.C: #include "RowList.h".
5696
5697 2003-09-05  Angus Leeming  <leeming@lyx.org>
5698
5699         * factory.C (createInset):
5700         * vspace.C (c-tor): replace sscanf call with an istringstream.
5701         * ispell.C: re-add missing HP/UX headers.
5702         * lyxserver.C: re-add missing  os2 headers.
5703
5704 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5705
5706         * BranchList.C:
5707         * graph.C:
5708         * ispell.C:
5709         * lastfiles.C:
5710         * lyx_cb.C:
5711         * lyxserver.C:
5712         * texrow.C:
5713         * text3.C: re-add missing system headers, needed for 2.95.2.
5714
5715 2003-09-05  Angus Leeming  <leeming@lyx.org>
5716
5717         Changes most place everywhere due to the removal of using directives
5718         from support/std_sstream.h.
5719
5720 2003-09-05  Angus Leeming  <leeming@lyx.org>
5721
5722         Replace LString.h with support/std_string.h,
5723         Lsstream.h with support/std_sstream.h,
5724         support/LIstream.h with support/std_istream.h,
5725         support/LOstream.h with support/std_ostream.h.
5726
5727         Changes resulting throughout the tree.
5728
5729 2003-09-05  Angus Leeming  <leeming@lyx.org>
5730
5731         * sgml.h: ensure that the header file can be compiled stand-alone.
5732         * *.C: strip out redundant #includes. (320 in total.)
5733
5734 2003-09-04  Angus Leeming  <leeming@lyx.org>
5735
5736         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5737         here (from getPackages).
5738
5739         * debug.[Ch]: add a new EXTERNAL tag.
5740
5741 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5742
5743         * text2.C (cursorEnd): simplify
5744         (setCursor): adjust
5745         (getColumnNearX): adjust
5746
5747         * text.C (computeBidiTables): adjust
5748         (fill): adjust
5749
5750         * rowpainter.C (paintChars): adjust
5751         (paintSelection): adjust
5752         (paintChangeBar): adjust
5753         (paintText): adjust
5754
5755         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5756         lastPos instead.
5757         (numberOfSeparators): adjust
5758
5759 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5760
5761         * LyXAction.C:
5762         * box.[Ch]:
5763         * lfuns.h:
5764         * lyxfunc.C:
5765         * text3.C: Restricts the mouse click functionality
5766         of insets like bibtex, include, toc and floatlist to the visible
5767         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5768         up the dialogs. Cursor has to be in front of the inset (i.e.
5769         start of row) for this to function.
5770
5771 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5772
5773         * bufferview_funcs.C (currentState): output row information
5774
5775 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5776
5777         * bufferview_funcs.C (currentState): output paragraph position
5778
5779 2003-09-04  Angus Leeming  <leeming@lyx.org>
5780
5781         * FloatList.h: move out #include "Floating.h".
5782         * LaTeX.h: move out #include "DepTable.h".
5783         * LyXAction.h: move out #include "funcrequest.h".
5784         * buffer.h: move out #include "author.h", "iterators.h".
5785         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5786         * lyx_main.h: move out #include "errorlist.h".
5787         * lyxfunc.h: move out #include "FuncStatus.h".
5788         * lyxtext: move out #include "lyxcursor.h".
5789         * paragraph_pimpl.h: move out #include "counters.h".
5790
5791 2003-09-03  Angus Leeming  <leeming@lyx.org>
5792
5793         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5794         preamble_snippets list, enabling us to add snippets to the preamble
5795         only if the snippet was not there already.
5796
5797 2003-09-04  Angus Leeming  <leeming@lyx.org>
5798
5799         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5800
5801 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5802
5803         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5804         update
5805
5806 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5807
5808         * BranchList.C: point fix, earlier forgotten
5809
5810 2003-09-02  Angus Leeming  <leeming@lyx.org>
5811
5812         * box.C (contains): renamed from 'contained' after a fantastic
5813         amount of hot air.
5814
5815 2003-09-02  John Levon  <levon@movementarian.org>
5816
5817         * BufferView.C:
5818         * lyxcursor.h:
5819         * lyxcursor.C:
5820         * lyxfunc.C:
5821         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5822
5823 2003-09-02  John Levon  <levon@movementarian.org>
5824
5825         * text2.C: simplification of cursorEnd(), including partial
5826         fix for bug 1376
5827
5828 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5829
5830         * buffer.C (readFile): add a space
5831
5832 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5833
5834         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5835
5836 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5837
5838         * buffer.C (readFile): new function, take a filename and a
5839         ParagraphList::iterator
5840         (readFile): adjust
5841         (readFile): adjust, make it private. don't use setStream, make
5842         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5843         always contain the filename.
5844
5845         * BufferView.C (insertLyXFile): simplify and make it work for
5846         gzipped files.
5847
5848 2003-08-30  John Levon  <levon@movementarian.org>
5849
5850         * Makefile.am: fix dist (from Kayvan)
5851
5852 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5853
5854         * most files: change to use const Buffer refs
5855
5856 2003-08-27  André Pönitz  <poenitz@gmx.net>
5857
5858         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5859         on top of ownerPar().
5860
5861 2003-08-27  John Levon  <levon@movementarian.org>
5862
5863         * funcrequest.C: properly initialise POD members
5864
5865 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5866
5867         * lyxtext.h (top_y): move top_y from here
5868         * text.C:
5869         * text2.C:
5870         * text3.C:
5871         * BufferView.[Ch]:
5872         * BufferView_pimpl.[Ch]: to here
5873         * frontends/screen.C:
5874         * insets/insettabular.C:
5875         * insets/insettext.C: adjust
5876         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5877
5878 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5879
5880         * BufferView.[Ch]:
5881         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5882
5883 2003-08-26  André Pönitz  <poenitz@gmx.net>
5884
5885         * paragraph_func.[Ch] (outerPar): new function
5886
5887         * paragraph.C:
5888         * paragraph_funcs.C:
5889         * paragraph_funcs.h:
5890         * paragraph_pimpl.C:
5891         * text2.C: remove Inset::par_owner
5892
5893 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5894
5895         * lyxrow_funcs.C:
5896         * lyxtext.h:
5897         * text.C:
5898         * text2.C: eliminates the needFullRow/display() stuff
5899         altogether, putting the logic in metrics/draw in the insets.
5900
5901 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5902
5903         * text2.C (redoParagraphInternal, redoParagraphs):
5904         * text.C (redoParagraph): add a call to updateRowPositions at the
5905         end of each 'metrics-like' call. Remove all others.
5906         (getRow): remove the 'y-computing' version.
5907         (getRowNearY): do not compute nor return the real y. Solve the
5908         'y < 0' problem and simplify.
5909
5910 2003-08-22  Angus Leeming  <leeming@lyx.org>
5911
5912         * *.[Ch]: clean-up of licence and author blurbs.
5913         Also move config.h out of a few .h files and into a few .C files.
5914
5915 2003-08-22  André Pönitz  <poenitz@gmx.net>
5916
5917         * lyxrow.[Ch]: add x_ and *fill_ members
5918
5919         * lyxtext.h:
5920         * text.C:
5921         * rowpainter.C:
5922         * text2.C: adjust/remove prepareToPrint() calls
5923
5924 2003-08-22  André Pönitz  <poenitz@gmx.net>
5925
5926         * lyxrow.[Ch]: add  end_ member
5927
5928         * lyxrow_funcs.C: use LyXRow::end_
5929
5930         * lyxtext.h (singleWidth): add LyXFont parameter
5931
5932         * rowpainter.C:
5933         * text2.C: adjust LyXText::singleWidth() calls
5934
5935         * text.C (redoParagraph): simplify row breaking logic
5936
5937
5938 2003-08-19  André Pönitz  <poenitz@gmx.net>
5939
5940         * funcrequest.C: initialize button_ member
5941
5942         * text3.C:
5943         * rowpainter.[Ch]: interface consolidation
5944
5945 2003-08-18  André Pönitz  <poenitz@gmx.net>
5946
5947         * BufferView.C:
5948         * BufferView_pimpl.C:
5949         * lyxfind.C:
5950         * paragraph_funcs.C:
5951         * rowpainter.C:
5952         * text3.C: remove LyXScreen::draw() and fitCursor calls
5953
5954         * BranchList.h: remove spurious semicolons
5955
5956         * MenuBackend.C: fix branchlist related crash
5957
5958 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5959
5960         * BranchList.[Ch]:
5961         * InsetList.[Ch]:
5962         * LColor.[Ch]:
5963         * LyXAction.C:
5964         * Makefile.am:
5965         * MenuBackend.[Ch]:
5966         * bufferparams.[Ch]:
5967         * factory.C:
5968         * lfuns.h:
5969         * lyxfunc.C:
5970         * text3.C: implements the 'branch inset'
5971         idea. This allows the output of various versions of a document
5972         from a single source version, selectively outputing or suppressing
5973         output of parts of the text.
5974         This implementation contains a 'branch list editor' in a separate
5975         tab of the document settings dialog. Branches are user definable
5976         and have a "display colour" to distinguish them on-screen.
5977
5978         ColorHandler was somewhat cleaned up.
5979         (1) make possible a dynamically growing LColor list by allowing
5980         the graphic context cache to grow along (vector);
5981         (2) eliminate an IMHO unnecessary step in colour allocation.
5982
5983 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5984
5985         * BufferView_pimpl.C: compile fix
5986
5987 2003-08-15  André Pönitz  <poenitz@gmx.net>
5988
5989         * rowpainter.C: remove extra metrics calls
5990
5991         * lyxtext.h: merge the two constructors into a single one,
5992           pass reference to owner's par list
5993
5994         * BufferView_pimpl.C:
5995         * text.C:
5996         * text2.C: adjust
5997
5998 2003-08-15  André Pönitz  <poenitz@gmx.net>
5999
6000         * lyxrow_funcs.[Ch]:
6001         * lyxtext.h:
6002         * paragraph.h:
6003         * paragraph_funcs.C:
6004         * rowpainter.C:
6005         * text.C:
6006         * text2.C:
6007         * text3.C:
6008         * text_funcs.C: split LyXText::rowlist_ into individual
6009         Paragraph::rows_ chunks
6010
6011         * BufferView.[Ch]:
6012         * BufferView_pimpl.[Ch]:
6013         * lyxfind.C:
6014         * lyxtext.h:
6015         * text3.C: remove toggleSelection()
6016
6017 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6018
6019         * bufferlist.C: beautify two alerts (shorter text of buttons)
6020         * buffer.C: Remove redundant ' ' from message
6021         * tabular.h:
6022         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6023         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6024         rename VALIGN_CENTER to VALIGN_MIDDLE
6025
6026 2003-08-11  André Pönitz  <poenitz@gmx.net>
6027
6028         * lyxtext.h (getPar):
6029         * text.C: new function
6030
6031 2003-08-11  André Pönitz  <poenitz@gmx.net>
6032
6033         * Makefile.am:
6034         * tracer.[Ch]: remove unneeded files
6035
6036         * InsetList.[Ch]: remove resizeInsetsLyXText()
6037
6038         * lyxtext.h:
6039         * text.C:
6040         * text2.C:
6041         * text3.C: merge insertParagraphs() and appendParagraph()
6042         remove breakAgain(), update()
6043
6044         * BufferView_pimpl.[Ch]:
6045         * bufferview_funcs.[Ch]:
6046         * lyxfunc.C:
6047         * paragraph.[Ch]:
6048         * rowpainter.C:
6049         * tabular.C: adjust after text & InsetList changes.
6050
6051 2003-08-08  André Pönitz  <poenitz@gmx.net>
6052
6053         * text.C (insertChar, backspace): replace rowlist fiddling
6054         with rebreak of full par
6055
6056         * lyxtext.h:
6057         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6058         checkParagraph, updateInset): removed
6059
6060 2003-08-07  André Pönitz  <poenitz@gmx.net>
6061
6062         * paragraph.C:
6063         * text3.C: merge some LFUN handlers, remove dead code
6064
6065 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6066
6067         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6068
6069 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6070
6071         * text2.C (DEPM): fix part of bug 1255 and 1256
6072
6073 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6074
6075         * BufferView_pimpl.C (workAreaDispatch): change to use
6076         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6077         that are no mouse related.
6078
6079 2003-08-05  André Pönitz  <poenitz@gmx.net>
6080
6081         * BufferView.[Ch]:
6082         * BufferView_pimpl.[Ch]:
6083         * bufferview_funcs.C:
6084         * text2.C:
6085         * text3.C: rip out "deep update"
6086
6087         * textcursor.[Ch] (last_sel_cursor): remove unused member
6088
6089 2003-08-04  André Pönitz  <poenitz@gmx.net>
6090
6091         * BufferView.[Ch]:
6092         * BufferView_pimpl.[Ch]:
6093         * ParagraphParameters.C:
6094         * bufferview_funcs.C:
6095         * lyx_cb.C:
6096         * lyxfind.C:
6097         * lyxfunc.C:
6098         * text.C:
6099         * text2.C:
6100         * text3.C: replace "complicated" BufferView::update(...) calls with
6101         simpler ones.
6102
6103         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6104
6105 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6106
6107         * Makefile.am (lyx_SOURCES): add paper.h
6108
6109 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6110
6111         * Makefile.am: move things around so that both lyx-qt and
6112         lyx-xforms can be built (according to --with-frontend). Then lyx
6113         is a symbolic link to lyx-[firstfrontend]
6114
6115 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6116
6117         * Always use std::endl with lyxerr
6118
6119 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6120
6121         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6122
6123 2003-08-01  André Pönitz  <poenitz@gmx.net>
6124
6125         * BufferView.[Ch]:
6126         * BufferView_pimpl.[Ch]:
6127         * lyxfunc.C:
6128         * text3.C: merge BufferView::repaint() and BufferView::update()
6129
6130 2003-08-01  José Matos  <jamatos@lyx.org>
6131
6132         * buffer.[Ch]: file_format is no longer a buffer data element.
6133
6134 2003-08-01  André Pönitz  <poenitz@gmx.net>
6135
6136         * BufferView.C:
6137         * lyxtext.h:
6138         * text.C:
6139         * text2.C: make redoParagraph more independent of current cursor
6140
6141         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6142         * text.C:
6143         * text2.C: remove unneeded members
6144
6145 2003-07-30  André Pönitz  <poenitz@gmx.net>
6146
6147         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6148
6149         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6150           create a single function...
6151
6152         * paragraph_funcs.C (moveItem): ... here.
6153
6154         * text.C:
6155           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6156
6157 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6158
6159         * LColor.[Ch]: Add comment and greyedout logical colors.
6160
6161 2003-07-30  André Pönitz  <poenitz@gmx.net>
6162
6163         * tabular.C: don't use Assert too heavily. This crashes where it
6164           shouldn't
6165
6166 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6167
6168         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6169         is disabled (bug 1232)
6170
6171 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6172
6173         * factory.C: limited 'arg' scope
6174
6175 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6176
6177         * factory.C: fixed Note submenu issues
6178
6179 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6180
6181         * factory.C: submenu for Note/Comment/Greyedout
6182
6183 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6184
6185         * lyx_main.C (LyX):
6186         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6187
6188 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6189
6190         * LaTeXFeatures.C:
6191         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6192         greyedout. Patch provided by Jürgen Spitzmüller.
6193
6194 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6195
6196         * kbmap.C (read): fix error message when reading bind files
6197
6198 2003-07-29  Angus Leeming  <leeming@lyx.org>
6199
6200         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6201         certainly does not do what it purports to do. I am doing it, and
6202         us, a favour by killing it.
6203
6204 2003-07-28  José Matos  <jamatos@lyx.org>
6205
6206         * buffer.C (readBody, do_writeFile):
6207         * paragraph.C(readParagraph): \end_document replaces \the_end.
6208
6209 2003-07-29  André Pönitz  <poenitz@gmx.net>
6210
6211         * BufferView.[Ch]:
6212         * BufferView_pimpl.[Ch]:
6213         * lyxfunc.C:
6214         * text2.C:
6215         * text3.C:
6216         * textcursor.[Ch]: remove toggleToggle & Co
6217
6218 2003-07-28  José Matos  <jamatos@fep.up.pt>
6219
6220         * buffer.C (readParagraph):
6221         * params_func (readParToken, readParagraph):
6222         * paragraph.C (write): \layout -> \begin_layout.
6223
6224 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6225
6226         * lyxlex_pimpl.C (setFile): clean up slightly.
6227
6228         * bufferparams.h: add compressed var
6229
6230         * buffer_funcs.C (readFile): adjust for LyXLex change
6231         (newFile): ditto + simplify
6232
6233         * buffer.C (writeFile): handle writing of compressed files
6234
6235         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6236         Check if the file is compressed and set a bufferparm if so.
6237
6238         * Makefile.am (lyx_LDADD): remove explicit -lz
6239
6240 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6241
6242         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6243         makeDocBookFile): put the real LyX version in the first line of
6244         the file
6245
6246         * version.h:
6247         * version.C.in: remove lyx_docversion
6248
6249         * tabular.C (write_attribute): add a template-based version to
6250         write enums properly
6251
6252 2003-07-28  André Pönitz  <poenitz@gmx.net>
6253
6254         * lyxtext.h:
6255         * text.C:
6256         * text2.C:
6257         * text3.C: use doubles again for x-coordinates. They are needed.
6258
6259 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6260
6261         * messages.C (getLocaleDir): use lyx_localedir()
6262
6263         * lyxlex_pimpl.C (setFile): compress stuff
6264
6265         * buffer.C (writeFile): add some compression stuff
6266         (do_writeFile): new func, dont call expliti close... will this
6267         breake anything?
6268
6269         * Makefile.am (lyx_LDADD): add -lz
6270
6271 2003-07-28  José Matos  <jamatos@fep.up.pt>
6272
6273         * buffer.C: increment file format.
6274         * paragraph_funcs (readParagraph, readParToken):
6275         * paragraph.C (readParagraph): add \end_layout.
6276
6277 2003-07-27  Angus Leeming  <leeming@lyx.org>
6278
6279         * Makefile.am: remove special casing for configure-time setting of
6280         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6281
6282         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6283         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6284
6285 2003-07-26  André Pönitz  <poenitz@gmx.net>
6286
6287         * paragraph_func.[Ch]:
6288         * paragraph.C (realizeFont): inline it whereever it is used
6289
6290         * rowpainter.C:
6291         * text.C:
6292         * text2.C:
6293         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6294
6295
6296 2003-07-26  André Pönitz  <poenitz@gmx.net>
6297
6298         *       lyxtext.h:
6299         * text.C:
6300         * text2.C: get rid of LyXText::need_break_row
6301
6302 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6303
6304         * toc.[Ch]: put namespace toc inside namespace lyx
6305
6306         * MenuBackend.C (expandToc2): adjust for lyx::toc
6307         (expandToc): ditto
6308
6309         * lyxfunc.C (dispatch): adjust for lyx::find
6310
6311         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6312         lyx::find instead. Reorganize a bit.
6313         (LyXReplace): rename to replace
6314         (LyXFind): rename to find
6315
6316         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6317         (dispatch): ditto
6318
6319 2003-07-26  André Pönitz  <poenitz@gmx.net>
6320
6321         * text.C (setHeightOfRow): restrict scope of temporary variable
6322
6323         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6324           code (never has been used?)
6325
6326 2003-07-27  Asger Alstrup  <alstrup@local>
6327
6328         * text.C (fill): Optimise algorithm to exploit that we can reuse
6329         the LyXFont for many characters.
6330         (setHeightOfRow): Same thing.
6331         (rowBreakPoint): Same thing.
6332
6333 2003-07-26  Asger Alstrup  <alstrup@local>
6334
6335         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6336
6337         * text.C (singleWidth): Spurious font copying in hot-spot
6338         singleWidth avoided. Reorder tests for arabic for efficiency.
6339
6340         * text.C (fill): handle empty paragraphs better.
6341
6342 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6343
6344         * ispell.C:
6345         * encoding.h: add includes
6346
6347         * lyxrc.C: remove reading of bind files
6348
6349         * lyx_main.C (init): setup bindings and menus only if we have a
6350         gui.
6351
6352         * kbmap.C (read): new method. Do the actual reading of bind
6353         files.
6354
6355         * converter.C (dvipdfm_options):
6356         * bufferparams.C:
6357         * lyxrc.C (read):
6358         (output): adapt PAPER_* enums.
6359
6360         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6361
6362         * bufferparams.h: remove paper-related enums from there
6363
6364         * paper.h: New file. A trivial header file to hold paper-related
6365         enums. It should later expand to contain many paper-related
6366         horrors access.
6367
6368         * lyxrc.C: declare extern displayTranslator
6369
6370 2003-07-27  José Matos  <jamatos@fep.up.pt>
6371
6372         * tabular.[Ch] (linuxdoc): add support for tables and figures
6373         (linuxdoc).
6374
6375 2003-07-27  José Matos  <jamatos@fep.up.pt>
6376
6377         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6378         consistency in both functions.
6379         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6380
6381 2003-07-26  Asger Alstrup  <alstrup@local>
6382
6383         * rowpainter.C (paintRows): Change algorithm to work directly on
6384         the insets rather than asking every character in the document
6385         whether its an inset.
6386
6387 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6388
6389         * buffer.C (openFileWrite): factorize some code
6390
6391 2003-07-26  Angus Leeming  <leeming@lyx.org>
6392
6393         * lyx_cb.C:
6394         * lyx_main.[Ch]: replace occurances of system_tempdir with
6395         os::getTmpDir().
6396
6397 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6398
6399         * rename Inset to InsetOld
6400
6401 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6402
6403         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6404         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6405         which I think is a bit clearer. EDIT is gone, since it was
6406         premature optimisation, and broken for mathed anyway.
6407         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6408         with cursor positioning in insets as well (math insets still do not
6409         work, but that's a different story anyway.) It mysteriously
6410         crashes sometimes with undo in the first paragraph, but I'm fairly
6411         confident that this is a compiler bug.
6412
6413 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6414
6415         * paragraph.C (Paragraph): adjust for new clone return type
6416         (operator==): ditto
6417         (copyIntoMinibuffer): ditto
6418
6419 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6420
6421         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6422         by not having a special case, and always doing a full rebreak of
6423         the document after undo.
6424
6425 2003-07-23  Angus Leeming  <leeming@lyx.org>
6426
6427         * factory.C (createInset): InsetExternal::setParams now takes a
6428         Buffer const * arg.
6429
6430 2003-07-23  Angus Leeming  <leeming@lyx.org>
6431
6432         * factory.C (createInset): changed interface to the external and
6433         graphics mailers' string2params functions.
6434
6435 2003-07-23  Angus Leeming  <leeming@lyx.org>
6436
6437         * factory.C (createInset): pass a
6438         Buffer const * parameter to InsetExternalMailer's string2params.
6439
6440 2003-07-22  John Levon  <levon@movementarian.org>
6441
6442         * Thesaurus.h: include the right aiksaurus header
6443
6444 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6445
6446         * MenuBackend.C (expand): check menu shortcuts unconditionally
6447
6448 2003-07-21  Angus Leeming  <leeming@lyx.org>
6449
6450         * factory.C (createInset): pass a
6451         buffer_path parameter to InsetGraphicsMailer's string2params.
6452
6453 2003-07-21  Angus Leeming  <leeming@lyx.org>
6454
6455         * BufferView_pimpl.C (buffer):
6456         * buffer.C (d-tor):
6457         * lyx_main.C (LyX):
6458         * lyxfunc.C (dispatch):
6459         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6460         rather than the grfx shortcut.
6461
6462 2003-07-21  André Pönitz  <poenitz@gmx.net>
6463
6464         * rowpainter.C: remove unused variables
6465
6466         * tabular_funcs.C:
6467         * tabular_funcs.h: move to tabular.C
6468         * Makefile.am: adjust
6469
6470         * tabular.[Ch]: basic optical cleaning
6471
6472         * author.h: pass references, not values
6473
6474 2003-07-18  André Pönitz  <poenitz@gmx.net>
6475
6476         * lyxtext.h:
6477         * metricsinfo.C:
6478         * metricsinfo.h:
6479         * rowpainter.C:
6480         * text.C:
6481         * text2.C:
6482         * text3.C: two-phase drawing for InsetText and InsetTabular
6483         some float -> int changes.
6484
6485 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6486
6487         * lyx_main.C: fix the fix
6488
6489 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6490
6491         * lyx_main.C: fix a crash in batch mode if no files specified
6492         * converter.C: ws
6493
6494 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6495
6496         * format.[Ch] (papersize): moved to BufferParams
6497         * converter.[Ch] (dvips_options): moved to BufferParams
6498         (dvipdfm_options): moved to anon namespace
6499         * bufferparams.[Ch]: added above functions.
6500
6501 2003-07-17  André Pönitz  <poenitz@gmx.net>
6502
6503         * lyxtext.h:
6504         * rowpainter.C:
6505         * text2.C: don't call inset->update() anymore
6506
6507         * metricsinfo.[Ch]: add convenience constructor
6508
6509 2003-07-16  André Pönitz  <poenitz@gmx.net>
6510
6511         * lyxcursor.[Ch]:
6512         * lyxfunc.[Ch]:
6513         * text.C:
6514         * text2.C: replace the LyXCursor::irow_ member with
6515          on-demand computation of the value
6516
6517 2003-07-16  John Levon  <levon@movementarian.org>
6518
6519         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6520
6521 2003-07-15  André Pönitz  <poenitz@gmx.net>
6522
6523         * text.C:
6524         * text2.C: remove no more needed refresh_row
6525
6526 2003-07-15  André Pönitz  <poenitz@gmx.net>
6527
6528         * lyxtext.h:
6529         * rowpainter.C:
6530         * text2.C:
6531         * text3.C: refresh_status tristate -> need_update bool
6532
6533 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6534
6535         * lyxtext.h (init): remove reinit argument (act as if always true)
6536         * text2.C: adjust to that
6537
6538 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6539
6540         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6541         * text3.C: use it to delete selections in some cases
6542         (bugs 441, 673, 702, 954).
6543
6544 2003-07-14  André Pönitz  <poenitz@gmx.net>
6545
6546         * rowpainter.[Ch]: reduce interface
6547
6548 2003-07-14  André Pönitz  <poenitz@gmx.net>
6549
6550         * BufferView_pimpl.C:
6551         * text2.C: adjust after removing unused BufferView * argument
6552
6553 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6554
6555         * text2.C (init): fix a crash fired on resize
6556
6557 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6558
6559         * buffer.[Ch]: added new closing signal
6560         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6561         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6562         BufferView::Pimpl via the closing the signal
6563
6564 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6565
6566         * buffer.[Ch]: take out all bv-related from buffer
6567         * BufferView.C:
6568         * BufferView_pimpl.[Ch]: connect to new signals
6569         * CutAndPaste.C: removed useless asserts
6570         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6571         * lyxvc.[Ch]:
6572         * vc-backend.[Ch]:
6573         * lyxfunc.C: moved view-related funciontality from vc here
6574         * paragraph.C: removed outdated comments
6575         * text.C: ws
6576
6577 2003-07-10  André Pönitz  <poenitz@gmx.net>
6578
6579         * BufferView_pimpl.C:
6580         * tabular.h:
6581         * tabular_funcs.C:
6582         * text.C:
6583         * text2.C: remove InsetText::InnerCache, clean up consequences
6584
6585 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6586
6587         * ispell.C: fix two typos in error messages
6588
6589 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6590
6591         * Extend Note inset to other forms of annotation like Comment
6592         and Greyedout. Right button click gives dialog.
6593
6594         Files modified or added (+):
6595
6596         * insetnote.[Ch]
6597         * FormNote.[Ch]      +
6598         * ControlNote.[Ch]   +
6599         * form_note.fd       +
6600         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6601         frontends/controllers
6602         * xforms/Dialogs.C
6603         * factory.C
6604
6605 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6606
6607         * aspell.C: add missing namespace lyx::support
6608
6609 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6610
6611         * BufferView.[Ch] (newFile): Add
6612         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6613         * LaTeX.[Ch] (message): added this signal and use it
6614         * buffer.[Ch] (busy, message): added these signals and use them
6615         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6616         * converter.C:
6617         * exporter.C:
6618         * format.C:
6619         * importer.C: use buffer signals instead of direct bv calling
6620         * lyx_cb.[Ch] (ShowMessage): removed
6621         * lyx_main.C:
6622         * lyxfunc.C:
6623         * paragraph_funcs.C:
6624         * text2.C: use buffer signals
6625
6626 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6627
6628         * introduce namespace lyx::graphics
6629
6630 2003-07-02  André Pönitz  <poenitz@gmx.net>
6631
6632         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6633
6634 2003-07-01  André Pönitz  <poenitz@gmx.net>
6635
6636         * text.C:
6637         * text2.C:
6638         * text3.C:
6639         * text_funcs.[Ch]:
6640         * textcursor.h:
6641         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6642           text*.C to text_func.C
6643
6644 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6645
6646         * introduce namespace lyx::support
6647
6648 2003-06-30  André Pönitz  <poenitz@gmx.net>
6649
6650         * Chktex.C:
6651         * funcrequest.C:
6652         * lyxtext.h:
6653         * text.C: re-enable --with-included-string
6654
6655 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6656
6657         * textcursor.C: add <config.h>
6658
6659         * text.C (getWord): remove const from word_location arg
6660
6661         * lyxvc.C (getLogFile): fix const type order
6662
6663         * lyxtext.h: remove const from word_location arg, add arg name
6664
6665         * lyxlayout.h: currect type on labeltype.
6666
6667         * importer.C: correct \file
6668
6669         * converter.C (intToFormat): use std:: on ret val, ws changes
6670
6671         * bufferlist.h: correct \file
6672
6673         * buffer.C (makeLinuxDocFile): fix const type order
6674         (makeDocBookFile): ditto
6675         (fillWithBibKeys): use std:: on stdlib args.
6676
6677         * CutAndPaste.C: fix authors.
6678         (availableSelections): use std:: on return vector
6679
6680 2003-06-27  André Pönitz  <poenitz@gmx.net>
6681
6682         * BufferView_pimpl.C:
6683         * bufferview_funcs.C:
6684         * lyxcursor.C:
6685         * lyxcursor.h:
6686         * lyxfunc.C:
6687         * lyxtext.h:
6688         * rowpainter.C:
6689         * text.C:
6690         * text2.C:
6691         * text3.C: remove LyXCursor::row_ member
6692
6693         * lyxtext.h:
6694         * text.C: rename fullRebreak() to partialRebreak() and implement
6695           a fullRebreak() that really bereks fully
6696
6697         * textcursor.h: new struct for cursor-related data
6698
6699 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6700
6701         * lyx_main.C (LyX): get full path of document loaded on the
6702         command line
6703
6704 2003-06-26  André Pönitz  <poenitz@gmx.net>
6705
6706         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6707           remove unused/broken operator>,<,>=.
6708
6709         *       text.C: remove only use of broken operator<= in an Assert().
6710
6711 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6712
6713         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6714         moved errorlist_.clear to showErrorList
6715
6716 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6717
6718         * converter.C (scanLog, runLaTeX):
6719         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6720         move the bv->showErrorList call to the callers
6721         * lyxfunc.C: i.e. here...
6722         * text2.C: and here
6723         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6724         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6725         namespace, the second to...
6726         * buffer_funcs (BufferFormat, parseErrors): added
6727         * errorlist.C (ErrorList(TeXErrors const &)): removed
6728
6729 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6730
6731         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6732
6733 2003-06-24  "Garst R. Reese" <reese@isn.net>
6734
6735         * debug.C: fix typo
6736
6737 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6738
6739         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6740
6741         * version.C.in: change docversion to 1.4
6742
6743 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6744
6745         * buffer.C: fix a bug just introduced
6746
6747 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6748
6749         * buffer.[Ch]: added the parseError signal and use it, removed
6750         sgmlError
6751         * BufferView.[Ch] (addError): moved to ...
6752         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6753         to the Buffer::parseError signal to catch (guess what) parse errors
6754         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6755
6756 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6757
6758         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6759         ability to create a buffer and to return an existing one from
6760         the list. Moved these functions to...
6761         * buffer_funcs.[Ch]: added
6762         * BufferView.[Ch] (loadLyXFile): added
6763         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6764         job removed from bufferlist::loadLyXFile.
6765         * buffer.C (setReadOnly): make it work without view
6766         (i.e added an if (users))
6767
6768 2003-06-19  Angus Leeming  <leeming@lyx.org>
6769
6770         * lfuns.h:
6771         * LyXAction.C (init):
6772         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6773         with LFUN_DIALOG_SHOW <name> <data>.
6774
6775 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6776
6777         * CutAndPaste.C (availableSelections): small compilation fix for
6778         ancient (gcc 2.9x) compilers
6779
6780 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6781
6782         * text3.C (cursorNext): add tmp var
6783
6784         * text2.C (updateCounters): for function calling out of for clause
6785         (replaceSelectionWithString): ditto
6786         (insertStringAsParagraphs): ditto
6787         (getColumnNearX): add tmp var
6788         (setCursorFromCoordinates): add tmp var
6789         (cursorDownParagraph): add tmp var
6790         (deleteEmptyParagraphMechanism): add tmp var
6791
6792         * text.C (insertChar): add tmp var
6793
6794         * rowpainter.C (paintDepthBar): add tmp var
6795
6796         * CutAndPaste.C (availableSelections): potentially check all
6797         paragraphs in a cut to fill the shown strings.
6798
6799 2003-06-18  André Pönitz  <poenitz@gmx.net>
6800
6801         * kbmap.[Ch]: use vector<> instead of list<>
6802
6803 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6804
6805         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6806         pasteSelection with index
6807
6808         * text2.C (pasteSelection): modify, call pasteSelection with index
6809
6810         * paragraph.C (asString): reimplement version with no interval to
6811         call the one with interval.
6812
6813         * lyxtext.h: add index arg to pasteSelection
6814
6815         * MenuBackend.C (MenuItem): handle PasteRecent
6816         (Menu::read::Menutags): add md_pasterecent
6817         (read): handle it
6818         (expandPasteRecent): new function
6819         (expand): use it
6820
6821         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6822
6823         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6824         the limited stack
6825         (availableSelections): new function
6826
6827 2003-06-17  Angus Leeming  <leeming@lyx.org>
6828
6829         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6830
6831 2003-06-17  Angus Leeming  <leeming@lyx.org>
6832
6833         * lfuns.h:
6834         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6835
6836         * lyxfunc.C (dispatch): invoke it.
6837
6838 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6839
6840         * iterators.C (operator++, ParPosition): reintroduce some
6841         const_cast for the benefit of older compilers.
6842
6843 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6844
6845         * text3.C (dispatch): do not modify clipboard when doing
6846         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6847         LFUN_DELETE_SKIP on a selection selection
6848
6849 2003-06-16  André Pönitz  <poenitz@gmx.net>
6850
6851         * BufferView.C:
6852         * buffer.C:
6853         * buffer.h:
6854         * paragraph.C:
6855         * tabular.[Ch]: IU of clone() and getLabelList();
6856
6857 2003-06-13  André Pönitz  <poenitz@gmx.net>
6858
6859         * tabular.h: compactification
6860
6861 2003-06-12  André Pönitz  <poenitz@gmx.net>
6862
6863         * tabular.C:
6864         * tabular.h:
6865         * tabular_funcs.h: some renaming plus whitespace
6866
6867 2003-06-12  André Pönitz  <poenitz@gmx.net>
6868
6869         * BufferView.C:
6870         * BufferView_pimpl.C:
6871         * CutAndPaste.C:
6872         * buffer.C:
6873         * iterators.[Ch]:
6874         * lyxfunc.C:
6875         * text.C:
6876         * toc.C: Return a Paragraph & for ParIterator::operator*()
6877
6878 2003-06-11  John Levon  <levon@movementarian.org>
6879
6880         * lyx_main.C:
6881         * ToolbarBackend.h:
6882         * ToolbarBackend.C: add "Toolbars" section and
6883         put the flags there
6884
6885 2003-06-10  Angus Leeming  <leeming@lyx.org>
6886
6887         * lfuns.h:
6888         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6889
6890         * lyxfunc.C (dispatch): invoke it.
6891
6892 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6893
6894         * main.C: protect <ios> with HAVE_IOS
6895         (main): protect sync_with_stdio with HAVE_IOS
6896
6897 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6898
6899         * text2.C (cutSelection): adjust
6900         (pasteSelection): adjust
6901
6902         * messages.C: handle get of empty string
6903
6904         * main.C (main): use sync_with_stdio(false)
6905
6906         * lyxfunc.C (dispatch): adjust
6907
6908         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6909         (WriteAs): remove unneeded BufferView arg.
6910
6911         * bufferparams.h: use correct types on papersize, papersize2 and
6912         paperpackage.
6913
6914         * bufferparams.C (readToken): adjust for type
6915         (writeLaTeX): add missing cases to switch.
6916
6917         * bufferlist.C (quitWriteBuffer): adjust
6918         (close): adjust
6919
6920         * buffer.C (asciiParagraph): remove some commented code.
6921
6922         * CutAndPaste.C: remove current_view extern variable.
6923         (cutSelection): add BufferParams arg.
6924         (eraseSelection): add BufferParams arg.
6925         (pasteSelection): add Buffer const & arg
6926
6927 2003-06-07  John Levon  <levon@movementarian.org>
6928
6929         * buffer.C:
6930         * paragraph_funcs.C:
6931         * paragraph_pimpl.C:
6932         * text.C:
6933         * text2.C:
6934         * paragraph.h:
6935         * paragraph.C: allow InsetERT to freely space lines,
6936         and some consolidation of code
6937
6938 2003-06-06  José Matos  <jamatos@fep.up.pt>
6939
6940         * buffer.C (makeDocBookFile): fix bug #821
6941
6942 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6943
6944         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6945
6946 2003-06-04  Angus Leeming  <leeming@lyx.org>
6947
6948         * buffer.C: bump format to 224.
6949
6950 2003-06-05  André Pönitz  <poenitz@gmx.net>
6951
6952         * text2.C (redoParagraphs): remove two const_cast<>
6953
6954 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6955
6956         * ParagraphList.h: remove last remnants of NO_STD_LIST
6957
6958 2003-06-03  Angus Leeming  <leeming@lyx.org>
6959
6960         * factory.C (createInset): small change to the way InsetExternal's params
6961         are set.
6962
6963 2003-06-04  André Pönitz  <poenitz@gmx.net>
6964
6965         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6966
6967         * paragraph_pimpl.h:
6968         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6969
6970         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6971
6972         * undo_funcs.C: make some simple cases of undo work again
6973
6974 2003-06-03  John Levon  <levon@movementarian.org>
6975
6976         * ispell.C: HPUX doesn't have sys/select.h
6977         (from Albert Chin)
6978
6979 2003-06-03  John Levon  <levon@movementarian.org>
6980
6981         * CutAndPaste.C: update tabular and include inset
6982         buffer references
6983
6984         * buffer.h:
6985         * paragraph.h:
6986         * paragraph.C: remove owningBuffer(), don't pass Buffer
6987         to clone()
6988
6989         * factory.C: insetGraphicsParams changed
6990
6991 2003-06-02  John Levon  <levon@movementarian.org>
6992
6993         * LyXAction.C:
6994         * factory.C:
6995         * lfuns.h:
6996         * lyxfunc.C:
6997         * text3.C: remove insetparent
6998
6999 2003-06-02  John Levon  <levon@movementarian.org>
7000
7001         * buffer.h:
7002         * buffer.C: fix inset_iterator.end(), move out of line
7003         (bug 1149)
7004
7005 2003-06-01  John Levon  <levon@movementarian.org>
7006
7007         * text3.C: use a proper cut/paste when doing inset
7008         insert (from Jürgen Spitzmüller)
7009
7010 2003-06-01  John Levon  <levon@movementarian.org>
7011
7012         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7013
7014 2003-05-30  André Pönitz  <poenitz@gmx.net>
7015
7016         * rowpainter.C: unify second drawing phase
7017
7018 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7019
7020         * trans_mgr.C: remove one case of current_view
7021
7022         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7023
7024         * paragraph_funcs.h: remove paragraph.h include
7025
7026         * paragraph.h: delete NO_STD_LIST stuff
7027
7028         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7029
7030         * buffer.h: remove paragraph.h include
7031
7032         * ParagraphList.C: delete file
7033
7034         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7035
7036         * toc.C (getTocList): adjust
7037
7038         * paragraph_pimpl.C (validate): adjust
7039
7040         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7041
7042         * paragraph.C (Paragraph): adjust
7043         (getPositionOfInset): use const_iterator, adjust
7044         (bibitem): use const_iterator, adjust
7045         (setInsetOwner): adjust
7046
7047         * iterators.C (operator++): adjust
7048
7049         * InsetList.[Ch]: Replace selfmade iterator with standard
7050         vector::iterator also introduce const_iterator. Remove getPos,
7051         getInset and setInset from InsetTable. Adjust accordingly.
7052
7053         * BufferView.C (lockInset): adjust
7054         (ChangeInsets): adjust
7055
7056         * tabular.[Ch]: delete commented same_id functions
7057
7058 2003-05-28  John Levon  <levon@movementarian.org>
7059
7060         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7061
7062 2003-05-28  André Pönitz  <poenitz@gmx.net>
7063
7064         * metricsinfo.[Ch]: remove 'fullredraw' member
7065
7066 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7067
7068         * lyxtextclass.C (operator): remove caching.
7069
7070 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7071
7072         * text3.C: adjust
7073
7074         * text2.C (cursorBottom): adjust
7075         (setCounter): use ParagraphList::find, adjust
7076
7077         * text.C (workWidth): use ParagraphList::find, adjust
7078
7079         * lyxcursor.C (LyXCursor): adjust
7080
7081         * buffer.C (inset_iterator): adjust
7082
7083         * ParagraphList.h: make iterator(value_type) private, make
7084         ParagraphList a friend of iterator.
7085
7086         * ParagraphList.C (find): new function
7087
7088         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7089
7090 2003-05-27  André Pönitz  <poenitz@gmx.net>
7091
7092         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7093
7094 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7095
7096         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7097
7098 2003-05-26  John Levon  <levon@movementarian.org>
7099
7100         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7101
7102 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7103
7104         * remove same_id from function signatures, adjust.
7105
7106 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7107
7108         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7109
7110         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7111
7112         * paragraph.C (Paragraph): get rid of same_ids parameter
7113
7114         * ParagraphList.C (insert): adjust
7115         (push_back): adjust
7116
7117 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7118
7119         * paragraph_funcs.C (breakParagraph): adjust
7120         (breakParagraphConservative): adjust
7121
7122         * buffer.C (readParagraph): adjust
7123
7124         * ParagraphList.C (insert): take a reference instead of a pointer
7125         (insert): adjust
7126
7127         * paragraph.[Ch] (id): new function
7128
7129         * bufferlist.C (newFile): adjust
7130
7131         * ParagraphList.C (ParagraphList): adjust
7132         (assign): adjust
7133         (push_back): take a reference instead of a pointer.
7134
7135         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7136
7137         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7138         instead.
7139
7140         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7141         set else use old code.
7142
7143         * ParagraphList.C: remove all NO_NEXT code and only compile this
7144         code of NO_STD_LIST is set.
7145
7146 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7147
7148         * BufferView_pimpl.C:
7149         * TextCache.C:
7150         * TextCache.h:
7151         * bufferlist.C:
7152         * errorlist.h:
7153         * format.C:
7154         * format.h:
7155         * graph.C:
7156         * lyxfunc.C:
7157         * lyxrc.C:
7158         * graphics/GraphicsConverter.C:
7159         * graphics/PreviewLoader.C: header adjustment
7160
7161 2003-05-23  Angus Leeming  <leeming@lyx.org>
7162
7163         * LaTeXFeatures.[Ch] (useBabel): new method.
7164         * bufferparams.C (writeLaTeX): use it.
7165
7166 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7167
7168         * ParagraphList.h (set): remove unused function.
7169
7170 2003-05-23  André Pönitz  <poenitz@gmx.net>
7171
7172         * BufferView.C:
7173         * BufferView_pimpl.C:
7174         * buffer.C:
7175         * buffer.h:
7176         * lyxfunc.C:
7177         * undo_funcs.C: setUndo reworked
7178
7179         * iterators.[Ch]: add access to topmost ParagraphList
7180
7181         * lyxtext.[Ch] (workWidth): add a const
7182
7183 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7184
7185         * texrow.[Ch] (increasePos): remove function
7186         * exporter.C (export): removed unused var and outdated comment
7187
7188 2003-05-23  Angus Leeming  <leeming@lyx.org>
7189
7190         * latexrunparams.h: rename fragile as moving_arg.
7191         * paragraph.C (simpleTeXOnePar): ditto.
7192         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7193
7194 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7195
7196         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7197         (createUndo): ditto
7198         (textUndoOrRedo): comment out a currently unused var.
7199
7200         * paragraph.h (NO_NEXT): enable NO_NEXT
7201
7202         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7203
7204         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7205
7206         * exporter.C (Export): adjust for removeAutoInsets removal.
7207
7208         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7209
7210         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7211
7212         * BufferView.[Ch] (removeAutoInsets): delete function
7213
7214 2003-05-22  Angus Leeming  <leeming@lyx.org>
7215
7216         * latexrunparams.h: add a free_spacing variable.
7217
7218         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7219         to pass moving_arg, as the data is stored in runparams.fragile.
7220
7221         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7222         to Inset::latexOptional or to simpleTeXOnePar.
7223
7224         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7225         free_spacing arg to Inset::latexOptional.
7226
7227         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7228         free_spacing arg.
7229
7230 2003-05-22  Angus Leeming  <leeming@lyx.org>
7231
7232         * latexrunparams.h: add fragile and use_babel variables.
7233
7234         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7235         * buffer.C (makeLaTeXFile): store this returned value in
7236         runparams.use_babel, thus passing it to the inset::latex methods.
7237
7238         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7239         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7240
7241         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7242         longer has a fragile arg, as it is stored in runparams.fragile.
7243
7244         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7245         moving_arg parameter as the data is stored in runparams.fragile.
7246
7247         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7248         a fragile parameter as the data is stored in runparams.fragile.
7249
7250 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7251
7252         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7253
7254 2003-05-22  Angus Leeming  <leeming@lyx.org>
7255
7256         * latexrunparams.h: add a 'bool nice' which defaults to false.
7257
7258         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7259         now encapsulated within runparams.
7260
7261         * bufferlist.C (updateIncludedTeXfiles):
7262         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7263
7264 2003-05-22  Angus Leeming  <leeming@lyx.org>
7265
7266         * latexrunparams.h: new file containing struct LatexRunParams.
7267         * Makefile.am: add new file.
7268
7269         * LaTeX.[Ch] (c-tor, run):
7270         * buffer.[Ch] (makeLaTeXFile):
7271         * bufferlist.[Ch] (updateIncludedTeXfiles):
7272         * converter.C (convert, scanLog):
7273         * converter.[Ch] (runLaTeX):
7274         * exporter.C (Export):
7275         * paragraph.[Ch] (simpleTeXOnePar):
7276         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7277         * paragraph_funcs.[Ch] (latexParagraphs):
7278         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7279         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7280         pass around a LatexRunParams parameter.
7281
7282 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7283
7284         * paragraph.[Ch]: remove unused constructor
7285
7286         * ParagraphList.C (erase): new function, taking two iterators
7287
7288 2003-05-22  André Pönitz  <poenitz@gmx.net>
7289
7290         * undo_funcs.C: remove duplicated code
7291
7292         * iterator.[Ch]: operator=
7293
7294 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7295
7296         * tabular.C (SetMultiColumn): ws changes
7297
7298         * rowpainter.C (paintFirst): get rid of a ->previous
7299
7300         * lyx_cb.C (getPossibleLabel): parlist simplification
7301
7302         * BufferView.C (ChangeInsets): simplify slightly.
7303
7304 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7305
7306         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7307         * lfuns.h: new LFUN_SPACE
7308         * lyxfunc.C: protected space has a new lfun
7309         * paragraph_funcs.C: read new space insets
7310         * text3.C:
7311         * factory.C: handle new space insets
7312
7313 2003-05-22  André Pönitz  <poenitz@gmx.net>
7314
7315         * BufferView.C:
7316         * BufferView_pimpl.C:
7317         * buffer.[Ch]:
7318         * lyxfunc.C:
7319         * undo_funcs.C: return a ParIterator from getParFromID.
7320
7321         * iterators.[Ch]: add two const's
7322
7323 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7324
7325         * toc.C (getTocList): adjust
7326
7327         * iterators.[Ch]: rework for parlist
7328
7329         * buffer.C (par_iterator_begin): adjust
7330         (par_iterator_end): adjust
7331
7332         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7333
7334         * BufferView.C (removeAutoInsets): adjust
7335         (ChangeInsets): adjust
7336
7337 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7338
7339         * text.C (top_y): fix bug 1110
7340
7341 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7342
7343         * errorlist.[Ch]: added
7344         * buffer.C:
7345         * BufferView.[Ch]:
7346         * BufferView_pimpl.C:
7347         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7348         instead
7349
7350 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7351
7352         * Makefile.am: ensure that lyx is relinked upon changes to the
7353         various "convenience" libs.
7354
7355 2003-05-20  Angus Leeming  <leeming@lyx.org>
7356
7357         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7358         files are compiled in alphabetical order again.
7359
7360         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7361
7362 2003-05-19  Angus Leeming  <leeming@lyx.org>
7363
7364         * gettext.[Ch]: remove "char const * _(char const *)".
7365
7366 2003-05-19  André Pönitz  <poenitz@gmx.net>
7367
7368         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7369
7370         * Makefile.am:
7371         * BufferView.C:
7372         * DepTable.h:
7373         * LaTeXFeatures.C:
7374         * buffer.C:
7375         * lyxfont.C:
7376         * lyxlex.h:
7377         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7378
7379 2003-05-19  André Pönitz  <poenitz@gmx.net>
7380
7381         * buffer.C:
7382         * lyxlayout.[Ch]:
7383         * lyxtextclass.[Ch]:
7384         * paragraph.C:
7385         * paragraph_funcs.[Ch]:
7386         * text2.C:
7387         * text3.C: more insetenv work
7388
7389 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7390
7391         * ParagraphParameters.C (params2string): small bug fixed
7392
7393 2003-05-16  André Pönitz  <poenitz@gmx.net>
7394
7395         * debug.C:
7396         * bufferview_funcs.C: patch from Kornel Benko to prevent
7397           crash when _(...) is called twice in a statement
7398
7399 2003-05-16  André Pönitz  <poenitz@gmx.net>
7400
7401         * BufferView.C:
7402         * lyxfunc.C:
7403         * text.C:
7404         * text2.C:
7405         * text3.C:
7406         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7407
7408 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7409
7410         * lyx_main.C (init): remove spurious static_cast
7411
7412 2003-05-14  André Pönitz  <poenitz@gmx.net>
7413
7414         * BufferView.C: fix format string
7415
7416 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7417
7418         * BufferView.[Ch] (insertErrors): removed
7419         * BufferView.[Ch] (showErrorList): added
7420         * buffer.C (runChkTeX):
7421         * converter.C (scanLog): call showErrorList instead of inserterrors
7422
7423 2003-05-13  André Pönitz  <poenitz@gmx.net>
7424
7425         * BufferView_pimpl.C:
7426         * buffer.C:
7427         * bufferview_func.C:
7428         * MenuBackend.C:
7429         * lyxfunc.C:
7430         * lyxrc.C:
7431         * tex-accent.C:
7432         * text3.C:
7433         * toc.C:
7434         * tabular_funcs.h: tostr() from its own header
7435
7436         * ParagraphParameters.C:
7437         * ToolbarBackend.C:
7438         * bufferparams.C:
7439         * format.C:
7440         * lyxlex_pimpl.C:
7441         * text3.C: STRCONV()
7442
7443 2003-05-12  André Pönitz  <poenitz@gmx.net>
7444
7445         * BufferView.C:
7446         * BufferView_pimpl.C:
7447         * CutAndPaste.C:
7448         * LaTeX.C:
7449         * LaTeXFeatures.C:
7450         * ParagraphParameters.C:
7451         * buffer.C:
7452         * bufferlist.C:
7453         * bufferparams.C:
7454         * bufferview_funcs.C:
7455         * converter.C:
7456         * counters.C:
7457         * debug.C:
7458         * exporter.C:
7459         * format.C:
7460         * importer.C:
7461         * lyx_cb.C:
7462         * lyx_main.C:
7463         * lyxfont.C:
7464         * lyxfunc.C:
7465         * lyxvc.C:
7466         * paragraph.C:
7467         * paragraph_funcs.C:
7468         * tabular.C:
7469         * tabular_funcs.C:
7470         * text2.C:
7471         * text3.C:  boost::format -> bformat  all over the place
7472
7473
7474 2003-05-09  André Pönitz  <poenitz@gmx.net>
7475
7476         * LColor.[Ch]: Pimpl the #include <map> away
7477
7478 2003-05-09  John Levon  <levon@movementarian.org>
7479
7480         * bufferlist.C: never remove emergency saves
7481
7482 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7483
7484         * Makefile.am: better lib building
7485
7486 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7487
7488         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7489         instead.
7490         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7491         (simpleTeXSpecialChars): adjust
7492         (simpleTeXSpecialChars): adjust
7493         * paragraph.C (simpleTeXOnePar): adjust
7494         * buffer.C (makeLaTeXFile): adjust
7495
7496         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7497
7498         * text2.C (changeDepth): parlist cleanup
7499         (getColumnNearX): ditto
7500
7501         * rowpainter.C (getLabelFont): parlist cleanup
7502
7503         * bufferlist.C (newFile): parlist cleanup
7504
7505         * CutAndPaste.C (eraseSelection): parlist cleanup
7506
7507         * BufferView_pimpl.C (trackChanges): parlist cleanup
7508         (dispatch): ditto
7509
7510         * BufferView.C (lockInset): parlist cleanup.
7511         (ChangeInsets): ditto
7512
7513 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7514
7515         * CutAndPaste.h: Update file header.
7516
7517         * CutAndPaste.C: Update file header.
7518         Store the parts cut out of the Document in a limited_stack.
7519         (copySelection): adjust
7520         (pasteSelection): new function, takes the index in the limited stack.
7521         (nrOfParagraphs): adjust
7522         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7523         simplify error inset insertion.
7524         (checkPastePossible): adjust
7525
7526 2003-05-06  John Levon  <levon@movementarian.org>
7527
7528         * text2.C: don't cast wrap inset to float
7529
7530 2003-05-05  André Pönitz  <poenitz@gmx.net>
7531
7532         * iterator.C:
7533         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7534
7535         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7536           few naked Paragraph *.
7537
7538 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7539
7540         * bufferparams.C: Output warning if a document with missing
7541         TeX document class is loaded
7542         * exporter.C: Disable TeX exports if the document class is missing
7543         * lyxtextclass.C:
7544         * lyxtextclass.h:
7545         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7546         isTeXClassAvailable()
7547
7548 2003-05-03  John Levon  <levon@movementarian.org>
7549
7550         * BufferView.h:
7551         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7552         explicit cursor show/hide
7553
7554         * BufferView_pimpl.h:
7555         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7556         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7557
7558         * lyxfunc.C: hide cursor before dispatching.
7559
7560         * lyx_cb.C:
7561         * lyxfind.C:
7562         * text.C:
7563         * text3.C: remove explicit cursor hides
7564
7565 2003-05-02  André Pönitz  <poenitz@gmx.net>
7566
7567         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7568
7569         * undo_funcs.C:
7570         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7571           linked lists
7572
7573         * text2.C: tiny whitespace
7574
7575 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7576
7577         * undo_funcs.C: almost only ws changes.
7578
7579         * ParagraphList.C (splice): just return if pl is empty.
7580
7581 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7582
7583         * ParagraphList.C (splice): new function.
7584
7585         * CutAndPaste.C (pasteSelection): use it
7586
7587 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7588
7589         * CutAndPaste.C (pasteSelection): remove the last next and
7590         previous from this file.
7591
7592 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7593
7594         * CutAndPaste.C (pasteSelection): more clean up, user proper
7595         ParagraphList functions for pasteing.
7596
7597         * ParagraphList.C (insert): new function, three arg insert
7598
7599 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7600
7601         * ParagraphList.C (insert): new function, three arg insert
7602
7603         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7604         not on paragraphs.
7605
7606 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7607
7608         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7609
7610 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7611
7612         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7613
7614 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7615
7616         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7617         (copySelection): clean up a bit.
7618         (pasteSelection): use make_pair
7619
7620         * ParagraphList.C (ParagraphList): implement copy constructor
7621         (operator=): implement, base on copy constructor.
7622         (assign): new func
7623
7624         * paragraph.C (erase): return a bool
7625
7626         * paragraph_pimpl.C (erasePos): remove function, move contents...
7627         (erase): ... here. Return a bool.
7628         (erase): call erase instead of erasePos.
7629
7630 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7631
7632         * ParagraphList.h: define PitPosPair
7633         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7634         ParagraphList, fix a bug on pasting multiple pars
7635         * text2.C: change interface to C&P
7636
7637 2003-04-30  André Pönitz  <poenitz@gmx.net>
7638
7639         * undo_func.C: revert part of yesterday's patch 2
7640
7641 2003-04-30  John Levon  <levon@movementarian.org>
7642
7643         * LColor.C: s/tabular/table/
7644
7645 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7646
7647         * text3.C (dispatch): do not convert iterator -> pointer
7648         * undo_funcs.C (setCursorParUndo): ditto
7649         * text_funcs.C (transposeChars): ditto
7650
7651         * text2.C (setLayout): ws changes only
7652
7653         * text.C (breakParagraph): do not convert iterator -> pointer
7654         (insertChar): ditto
7655         (acceptChange): ditto
7656         (rejectChange): ditto
7657         (changeCase): ditto
7658         (Delete): ditto
7659         (backspace): ditto
7660
7661         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7662         pointer
7663
7664 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7665
7666         * text3.C (gotoInset): YABG (yet another bad getChar)
7667
7668 2003-04-29  André Pönitz  <poenitz@gmx.net>
7669
7670         * paragraph.h: make operator= private unimplemented as long as
7671           it is unusable
7672
7673         * ParagraphList.C: whitespace
7674
7675         * paragraph.[Ch]:
7676         * paragraph_pimpl.[Ch]:
7677         * paragraph_funcs.C:
7678         * CutAndPaste.C:
7679         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7680
7681         * text2.C:
7682           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7683
7684 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7685
7686         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7687         * paragraph.[Ch] (erase):
7688         * paragraph_pimpl.[Ch] (erase): change return type and value
7689         * text2.C (cutSelection): some rework
7690
7691 2003-04-28  John Levon  <levon@movementarian.org>
7692
7693         * bufferlist.C: changes for unsaved changes dialog
7694
7695 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7696
7697         * bufferlist.C (newFile): set language (messages_) for new
7698         documents also.
7699
7700         * buffer.C (readFile): ws changes only.
7701
7702 2003-04-28  André Pönitz  <poenitz@gmx.net>
7703
7704         * undo_funcs.C:
7705         * lyxfunc.C:
7706         * buffer.[Ch]:
7707         * BufferView_pimpl.C:
7708         * BufferView.C: getParFromID related ParagraphList::iterator changes
7709
7710 2003-04-28  André Pönitz  <poenitz@gmx.net>
7711
7712         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7713           Changes
7714
7715 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7716
7717         * messages.C: remove one more localedir class variable.
7718
7719 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7720
7721         * messages.C (getLocaleDir): singleton generation function
7722         (Pimpl): use it.
7723         (Messages): add a default constructor.
7724
7725         * main.C (main): do not setup localedir here, do not call
7726         gettext_init.
7727
7728         * gettext.C (_): use it.
7729         (gettext_init): delete funciton
7730
7731 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7732
7733         * gettext.C (getLyXMessages): new singleton generating function.
7734
7735         * buffer.C (updateDocLang): adjust
7736
7737         * Makefile.am (messages.o): add target
7738         (main.o): remove target
7739
7740 2003-04-27  John Levon  <levon@movementarian.org>
7741
7742         * bufferlist.C:
7743         * lyx_cb.C:
7744         * lyxfunc.C:
7745         * lyxvc.C: specify cancel button in Alert::prompt
7746
7747 2003-04-26  John Levon  <levon@movementarian.org>
7748
7749         * text3.C:
7750         * lyxfunc.C:
7751         * lfuns.h:
7752         * LyXAction.C: add LFUN_INSET_SETTINGS
7753
7754         * lyxfunc.C: don't enable tabular-feature when there's
7755         just any locking inset
7756
7757 2003-04-26  John Levon  <levon@movementarian.org>
7758
7759         * bufferlist.C: re-add Cancel to buffer close question
7760
7761         * lyxfunc.C: fix import UI a bit
7762
7763 2003-04-25  John Levon  <levon@movementarian.org>
7764
7765         * gettext.C: remove the broken asserts for now
7766
7767 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7768
7769         * messages.C: make case where setlocale cannot comply work better.
7770
7771         * buffer.C (updateDocLang): new function
7772         (changeLanguage): use it
7773         (readFile): use it
7774
7775         * text2.C (setCounter): use B_ a bit.
7776
7777         * lyxlayout.C (Read): be sure to trim the label strings.
7778
7779         * messages.C (Messages): fix typo in comment
7780
7781         * buffer.C (readFile): set message_ after file is loaded.
7782         (makeDocBookFile): remove double return
7783         (changeLanguage): reset message_ upon language change.
7784         (B_): new func, use this to get translated buffer strings.
7785
7786         * main.C: add myself and Jean Marc as authors.
7787
7788 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7789
7790         * messages.[hC]: pimplify Messages, and three different pimpls to be
7791         used in different circumstances.
7792
7793         * gettext.[Ch]: change for use with new message code.
7794
7795 2003-04-24 André Pönitz <poenitz@gmx.net>
7796
7797         * factory.C: support for eqref
7798
7799 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7800
7801         * messages.[Ch]: add missing char
7802
7803         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7804
7805         * messages.[Ch]: New files
7806
7807 2003-04-18  John Levon  <levon@movementarian.org>
7808
7809         * BufferView.h:
7810         * BufferView.C:
7811         * BufferView_pimpl.C:
7812         * lfuns.h:
7813         * LyXAction.C:
7814         * lyxtext.h:
7815         * text2.C: remove layout-copy/paste (bug 778)
7816
7817 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7818
7819         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7820
7821 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7822
7823         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7824         if they succeed. Act accordingly.
7825
7826 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7827
7828         * text2.C (setCharFont): adjust
7829         (setCounter): adjust
7830         (insertStringAsLines): adjust
7831
7832         * text.C (leftMargin): adjust
7833         (setHeightOfRow): adjust
7834
7835         * rowpainter.C (paintFirst): adjust
7836         (paintLast): adjust
7837
7838         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7839         (outerHook): ditto
7840         (isFirstInSequence): ditto
7841         (getEndLabel): ditto
7842         (outerFont): adjust
7843
7844         * paragraph.C (getParLanguage): comment out some hard stuff.
7845
7846         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7847         (sgmlError): ditto
7848         (simpleDocBookOnePar): ditto
7849         (makeDocBookFile): use ParagraphList::iterator
7850
7851         * CutAndPaste.C (pasteSelection): adjust
7852
7853 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7854
7855         * text2.C (getFont): adjust
7856         (getLayoutFont): adjust
7857         (getLabelFont): adjust
7858
7859         * paragraph_funcs.C (TeXOnePar): adjust
7860
7861         * buffer.C (simpleLinuxDocOnePar): adjust
7862         (simpleDocBookOnePar): adjust
7863
7864         * CutAndPaste.C (pasteSelection): adjust
7865
7866         * BufferView.C (getEncoding): adjust
7867
7868         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7869
7870 2003-04-16  John Levon  <levon@movementarian.org>
7871
7872         * lyxfind.C: use parlist stuff for search/changes
7873
7874 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7875
7876         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7877
7878         * text2.C (deleteEmptyParagraphMechanism): adjust
7879
7880         * text2.[Ch] (ownerParagraph): delete func (both of them
7881
7882 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7883
7884         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7885
7886 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7887
7888         * ParagraphList.C: prepare for NO_NEXT
7889
7890 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7891
7892         * text2.C (getFont): adjust
7893         (getLayoutFont): adjust
7894         (getLabelFont): adjust
7895
7896         * paragraph.C (getFont): adjust
7897         (getLabelFont): adjust
7898         (getLayoutFont): adjust
7899
7900         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7901
7902 2003-04-15  John Levon  <levon@movementarian.org>
7903
7904         From Angus Leeming
7905
7906         * lyx_main.C: handle Include in .ui files
7907
7908 2003-04-15  John Levon  <levon@movementarian.org>
7909
7910         * MenuBackend.C: make the doc files length shorter
7911
7912         * ToolbarBackend.h:
7913         * ToolbarBackend.C: handle toolbar placement flags,
7914         Minibuffer
7915
7916 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7917
7918         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7919         adjust
7920
7921         * paragraph_funcs.C (TeXOnePar): adjust
7922
7923         * paragraph.C (getLabelFont): add outerfont arg, adjust
7924         (getLayoutFont): ditto
7925         (simpleTeXOnePar): adjust
7926
7927         * paragraph_pimpl.C (realizeFont): delete func
7928
7929 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7930
7931         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7932         row argument, constify cur argument.
7933
7934 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7935
7936         * text2.C (getFont): adjust
7937         (getLayoutFont): adjust
7938         (getLabelFont): adjust
7939
7940         * paragraph_funcs.C (TeXOnePar): adjust
7941         (outerFont): new func...
7942         (realizeFont): ...moved out from here, changed this to facilitate
7943         transition
7944
7945         * paragraph.C (getFont): take outerfont as arg, adjust
7946         (simpleTeXOnePar): add outerfont arg, adjust
7947
7948         * buffer.C (simpleLinuxDocOnePar): adjust
7949         (simpleDocBookOnePar): adjust
7950
7951         * CutAndPaste.C (pasteSelection): adjust
7952
7953         * BufferView.C (getEncoding): adjust
7954
7955 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7956
7957         * text2.C (setCharFont): adjust
7958         (setCounter): adjust
7959
7960         * text.C (leftMargin): adjust
7961         (setHeightOfRow): adjust
7962
7963         * rowpainter.C (paintFirst): adjust
7964         (paintLast): adjust
7965
7966         * paragraph_pimpl.C (realizeFont): adjust
7967
7968         * paragraph.C (isFirstInSequence): move from here...
7969         * paragraph_funcs.C (isFirstInSequence): ...to here
7970
7971         * paragraph.C (outerHook): move from here...
7972         * paragraph_funcs.C (outerHook): ...to here
7973
7974         * paragraph.C (depthHook): move from here...
7975         * paragraph_funcs.C (depthHook): ...to here
7976
7977         * paragraph.C (getEndLabel): move from here...
7978         * paragraph_funcs.C (getEndLabel): ...to here
7979
7980         * text2.C (realizeFont): move from here...
7981         * paragraph_funcs.C (realizeFont): ...to here
7982
7983 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7984
7985         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7986
7987 2003-04-14  Angus Leeming  <leeming@lyx.org>
7988
7989         * LColor.[Ch]: scrap LColor mathcursor.
7990
7991 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7992
7993         * lyxlex.[Ch] (text): delete function
7994         * trans.C (Load): adjust
7995         * paragraph_funcs.C (readParToken): adjust
7996
7997 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7998
7999         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8000         vector<char> instead of a char[].
8001
8002         * lyxlex_pimpl.C (getString): adjust
8003         (next): adjust
8004         (lex): use getString
8005         (eatLine): adjust
8006         (nextToken): adjust
8007
8008         * lyxlex.C (text): use pimpl_->getString()
8009         (getBool): ditto
8010         (findToken): ditto
8011
8012 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8013
8014         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8015         (makeFontEntriesLayoutSpecific): temp var for par.size()
8016         (setLayout): temp var for ownerParagraphs().end()
8017         (fullRebreak): temp var for rows().end()
8018         (selectionAsString): temp var for boost::next(startpit), realize
8019         that the while really is a regular for loop.
8020         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8021         setCursor in one place.
8022         (setParagraph): temp vr for ownerParagraphs().end()
8023         (updateCounters): make the while loop a for loop
8024         (cutSelection): temp var for ownerParagraphs().end()
8025         (updateInset): make the do {} while() a regular for loop
8026         (getCursorX): use temp vars
8027         (setCurrentFont): use temp vars
8028         (getColumnNearX): use temp vars
8029
8030 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8031
8032         * text.C (transformChar): use temp var for getChar
8033         (computeBidiTables): use temp var for row->par()
8034         (fill): move temp vars for row->par() and pit->layout() earlier in
8035         the function.
8036         (labelFill): use temp var for row->par()
8037         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8038         asc and desc, realize that pit never changes and that firstpit is
8039         just a duplicate and not needed. Exchange rit->par() with pit in a
8040         lot of places.
8041         (breakAgain): use a temp var for boost::next(rit)
8042         (breakAgainOneRow): ditto
8043         (breakParagraph): use a temp var for rows().begin()
8044         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8045         (cursorRightOneWord): use temp var for cursor.par() and
8046         cursor.pos(), remove usage of tmpcursor.
8047         (cursorLeftOneWord): use temp var for cursor.par() and
8048         cursor.pos() only set cur at end of function.
8049
8050 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8051
8052         * text.C, text2.C: exchange all usage of Paragraph::next with
8053         boost::next(ParagraphList::iterator)
8054
8055         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8056
8057         * text2.C (cursorTop): simplify implementation
8058         (cursorBottom): ditto
8059         (setParagraph): use ParagraphList::iterator
8060         (setCurrentFont): adjust
8061         (getColumnNearX): adjust
8062         (cursorRight): adjust
8063         (cursorLeft): remove usage of Paragraph::previous
8064         (cursorUpParagraph): ditto
8065         (deleteEmptyParagraphMechanism): slight cleanup
8066
8067         * text.C (isBoundary): take a Paragraph const & instead of a
8068         pointer as arg.
8069         (addressBreakPoint): ditto
8070         (leftMargin): remove usage of Paragraph::previous.
8071         (setHeightOfRow): ditto
8072         (cursorLeftOneWord): ditto
8073         (selectNextWordToSpellcheck): ditto
8074         (Delete): ditto
8075         (backspace): ditto
8076         (breakParagraph): remove one usage of Paragraph::next
8077         (redoParagraph): ditto
8078         (acceptChange): ditto
8079         (insertChar): adjust
8080         (rowBreakPoint): adjust
8081
8082         * bufferview_funcs.C (toggleAndShow): adjust
8083
8084 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8085
8086         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8087         methods to access it.
8088         * lyxtext.h:
8089         * text.C: Added updateRowPositions to compute all row positions.
8090         Make top_y and getRowNearY() to use the cached y position
8091
8092 2003-04-11  John Levon  <levon@movementarian.org>
8093
8094         * text.C (rowBreakPoint): reintroduce the labelEnd
8095         checks, code copied from the row fill stuff. Deep voodoo.
8096
8097         * text.C (fill): add a comment and debugging for the
8098         next poor soul.
8099
8100 2003-04-11  John Levon  <levon@movementarian.org>
8101
8102         * text.C: make sure fullrow insets get wrapped to the next line,
8103         even when they're in a manual label
8104
8105 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8106
8107         * text2.C (insertParagraph): make it take ParagraphList::iterator
8108         as arg.
8109         (setLayout): make it return ParagraphList::iterator
8110         (redoParagraphs): ditto
8111         (setCounter): ditto
8112         (checkParagraph): ditto
8113
8114         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8115
8116         * text2.C: adjust several funcs.
8117         (realizeFont): take a ParagraphList::iterator as arg.
8118         (getLayoutFont): ditto
8119         (getLabelFont): ditto
8120         (setCharFont): ditto
8121
8122         * text.C: adjust several funcs.
8123
8124 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8125
8126         * text.C (selectNextWordToSpellcheck): don't accidentally
8127         skip insets
8128
8129 2003-04-10  John Levon  <levon@movementarian.org>
8130
8131         * ToolbarBackend.C (getIcon): special handling for
8132         LFUN_MATH_DELIM
8133
8134 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8135
8136         * text2.C (cursorRight): a getChar assert fixed
8137
8138 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8139
8140         * text2.C (getFont): change to take a ParagraphList::iterator
8141         instead of Paragraph*
8142         Adjust several functions.
8143
8144         * text.C (transformChar): change to take a ParagraphList::iterator
8145         instead of Paragraph*
8146         (singleWidth): ditto
8147         Adjust several functions.
8148
8149         * rowpainter.C: adjust several functions
8150         * rowpainter.h:store a ParagraphList::iterator and not a
8151         Paragraph&.
8152
8153
8154 2003-04-09  John Levon  <levon@movementarian.org>
8155
8156         * lyxfunc.C:
8157         * lfuns.h:
8158         * LyXAction.h:
8159         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8160         and the "help" bits as well
8161
8162 2003-04-09  John Levon  <levon@movementarian.org>
8163
8164         * ToolbarBackend.h:
8165         * ToolbarBackend.C: allow multiple toolbars
8166
8167 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8168
8169         * undo_funcs.C (setCursorParUndo): adjust
8170
8171         * text_funcs.C (transposeChars): adjust
8172
8173         * text3.C (gotoNextInset): adjust
8174         (dispatch): adjust
8175
8176         * text2.C (setLayout): adjust
8177         (changeDepth): adjust
8178         (setFont): adjust
8179         (redoParagraphs): adjust
8180         (selectionAsString): adjust
8181         (setParagraph): adjust
8182         (insertInset): adjust
8183         (cutSelection): adjust
8184         (copySelection): adjust
8185         (pasteSelection): adjust
8186         (insertStringAsLines): adjust
8187         (updateInset): adjust
8188         (setCursor): change to take a ParagraphList::iterator parameter
8189         (setCursorIntern): change to take a ParagraphList::iterator parameter
8190         (setCurrentFont): adjust
8191         (cursorLeft): adjust
8192         (cursorRight): adjust
8193         (deleteEmptyParagraphMechanism): adjust
8194
8195         * text.C (breakParagraph): adjust
8196         (insertChar): adjust
8197         (acceptChange): adjust
8198         (rejectChange): adjust
8199         (selectNextWordToSpellcheck): adjust
8200         (changeCase): adjust
8201         (Delete): adjust
8202         (backspace): adjust
8203
8204         * lyxfind.C (SearchForward): adjust
8205         (SearchBackward): adjust
8206         (nextChange): adjust
8207
8208         * lyxcursor.C (par): adjust
8209
8210         * lyxcursor.h: store a ParagraphList::iterator instead of a
8211         Paragraph*
8212
8213         * lyx_cb.C (getPossibleLabel): adjust
8214
8215         * bufferview_funcs.C (toggleAndShow): adjust
8216
8217         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8218         (dispatch): adjust
8219
8220         * BufferView.C (removeAutoInsets): adjust
8221         (lockedInsetStoreUndo): adjust
8222
8223 2003-04-09  John Levon  <levon@movementarian.org>
8224
8225         * ToolbarBackend.C: try icon without argument
8226         if with argument fails
8227
8228 2003-04-08  John Levon  <levon@movementarian.org>
8229
8230         * ToolbarBackend.h:
8231         * ToolbarBackend.C: add getIcon(), handle tooltip,
8232         and change from "Icon" to "Item".
8233
8234 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8235
8236         * BufferView.C (lockInset): another bad getchar crunched
8237
8238 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8239
8240         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8241         again)
8242
8243 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8244
8245         * lyxfind.C (searchForward, searchBackwards): bug 782
8246
8247 2003-04-07  John Levon  <levon@movementarian.org>
8248
8249         * paragraph.C: remove dead comment
8250
8251         * text.C: remove troublesome depth-fiddling code
8252         in leftMargin() and rightMargin() (bug 1017)
8253
8254         * text.C: fix breaking of rows in nested lists
8255         (bug 1004)
8256
8257         * text2.C (updateCounters): fix up depth values
8258         (bug 1013)
8259
8260 2003-04-07  John Levon  <levon@movementarian.org>
8261
8262         * BufferView_pimpl.C: clear message when doc finishes resizing,
8263         and after a mouse event
8264
8265         * lyxfunc.C: clear message after exiting inset
8266
8267 2003-04-07  John Levon  <levon@movementarian.org>
8268
8269         * bufferview_funcs.C: show math status not outside
8270         status in the statusbar
8271
8272 2003-04-07  John Levon  <levon@movementarian.org>
8273
8274         * lyxfunc.C: note status changed after a depth change
8275
8276 2003-04-04  Angus Leeming  <leeming@lyx.org>
8277
8278         * LaTeX.h: move AuxInfo operator==, != out of line.
8279         Remove LaTeX virtual destructor; nothing derives from it.
8280         Move operator()() out of public area and rename it startscript().
8281         Change protected for private.
8282
8283 2003-04-04  Angus Leeming  <leeming@lyx.org>
8284
8285         * lyxfunc.C:
8286         * text2.C: remove unneeded #includes.
8287
8288 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8289
8290         * text2.C (dEPM): fix the heigth of the next row
8291
8292 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8293
8294         * text.C: squashed an invalid getChar requester + some ws changes
8295
8296 2003-04-03  John Levon  <levon@movementarian.org>
8297
8298         * bufferview_funcs.h:
8299         * bufferview_funcs.C:
8300         * lyxfunc.C:
8301         * lyxtext.h:
8302         * text2.C: make getStatus work for the env depth lfuns
8303
8304 2003-04-03  John Levon  <levon@movementarian.org>
8305
8306         * bufferview_funcs.h:
8307         * bufferview_funcs.C:
8308         * lyxfunc.C:
8309         * lyxtext.h:
8310         * text2.C: parlistize decDepth(), by merging it with incDepth()
8311
8312 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8313
8314         * lyxrow.h: store a ParagraphList::iterator instead of a
8315         Paragraph* and adjust other class functions to suit.
8316
8317         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8318         above.
8319
8320 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8321
8322         * text2.C (setCursor): do not anchor to cursor row for the time being
8323
8324 2003-04-02  John Levon  <levon@movementarian.org>
8325
8326         * LyXAction.C:
8327         * lfuns.h:
8328         * lyx_main.C:
8329         * lyxtext.h:
8330         * text.C:
8331         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8332
8333 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8334
8335         * paragraph.h: make ParagraphList and ParagraphList::iterator
8336         friends of Paragraph.
8337
8338         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8339
8340         * ParagraphList.C: Use the private next_ and previous_ from
8341         Paragraph.
8342
8343 2003-04-01  John Levon  <levon@movementarian.org>
8344
8345         * ToolbarBackend.h:
8346         * ToolbarBackend.C:
8347         * Makefile.am: rename, remove defaults gunk
8348
8349         * MenuBackend.h:
8350         * MenuBackend.C: remove defaults gunk
8351
8352         * Languages.h:
8353         * Languages.C: remove defaults gunk
8354
8355         * lyx_main.h:
8356         * lyx_main.C: error out if files couldn't be found.
8357
8358 2003-04-02  John Levon  <levon@movementarian.org>
8359
8360         * text2.C: make incDepth() use parlist
8361
8362 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8363
8364         * undo_funcs.C (firstUndoParagraph): adjust
8365
8366         * text3.C (gotoInset): adjust
8367         (dispatch): adjust, and rewrite loop.
8368
8369         * text2.C (init): adjust, and rewrite loop.
8370         (redoParagraphs): adjust
8371         (updateInset): adjust, and rewrite loop.
8372         (deleteEmptyParagraphMechanism): adjust
8373
8374         * tabular.C (LyXTabular): adjust
8375         (SetMultiColumn): adjust
8376         (TeXRow): adjust
8377
8378         * lyxtext.[Ch] (ownerParagraph): delete function
8379         (ownerParagraphs): new function returns a ParagraphList.
8380
8381         * BufferView.C (removeAutoInsets): adjust
8382         (insertErrors): adjust
8383         (setCursorFromRow): adjust
8384
8385 2003-04-01  Angus Leeming  <leeming@lyx.org>
8386
8387         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8388         in the frontends.
8389
8390 2003-04-02  John Levon  <levon@movementarian.org>
8391
8392         * lyxtext.h:
8393         * text.C:
8394         * Makefile.am:
8395         * text_funcs.h:
8396         * text_funcs.C: make transposeChars a free function
8397
8398         * lyxrow_funcs.C: remove wrong comment
8399
8400 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8401
8402         * lyxtext.h: adjust
8403         * rowpainter.C: adjust
8404         * text.C: adjust
8405         * text2.C: adjust
8406         * text3.C: adjust
8407
8408         * lyxrow_funcs. [Ch]: new files
8409
8410         * lyxrow.[Ch]: remove next and previous pointers
8411         (next,previous): remove accessor functions
8412         (isParEnd): move to lyxrow_funcs
8413         (lastPos): move to lyxrow_funcs
8414         (nextRowIsAllInset): move to lyxrow_funcs
8415         (lastPrintablePos): move to lyxrow_funcs
8416         (numberOfSeparators): move to lyxrow_funcs
8417         (numberOfHfills): move to lyxrow_funcs
8418         (numberOfLabelHfills): move to lyxrow_funcs
8419         (hfillExpansion): move to lyxrow_funcs
8420
8421         * lyxfunc.C: adjust
8422
8423         * bufferview_funcs.C (toggleAndShow): adjust
8424
8425         * RowList.h: Remove class RowList from file leave just a
8426         std::list<Row>.
8427
8428         * RowList.C: delete file
8429
8430         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8431         and lyxrow_funcs.h
8432
8433 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8434
8435         * text3.C (cursorPrevious): adjust
8436         (cursorNext): adjust
8437         (dispatch): adjust
8438
8439         * text2.C (redoHeightOfParagraph): adjust
8440         (redoDrawingOfParagraph): adjust
8441         (setCursor): adjust
8442
8443         * text.C (breakParagraph): adjust
8444         (insertChar): adjust
8445         (backspace): adjust
8446
8447         * rowpainter.C (RowPainter): adjust
8448         (leftMargin): simplify and adjust
8449         (most rowpainter functions): adjust.
8450
8451         * rowpainter.h: store the row as RowList::iterator not as Row*
8452
8453         * lyxcursor.C (row): taka RowList::iterator as arg
8454         (irow): ditto
8455
8456         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8457         of Row*.
8458
8459 2003-04-01  Angus Leeming  <leeming@lyx.org>
8460
8461         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8462         stuff like bool Bool.
8463
8464 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8465
8466         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8467         rewrite a loop
8468
8469 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8470
8471         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8472         RowList::iterator.
8473
8474         * lyxtext.h (rows): drop one version and leve a const variant that
8475         returns a RowList::iterator.
8476
8477 2003-03-31  Angus Leeming  <leeming@lyx.org>
8478
8479         * text.C (fill): ensure that the signature is the same as that in the
8480         header file.
8481
8482 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8483
8484         * text2.C (redoParagraphs): adjust
8485         (updateCounters): adjust
8486         (checkParagraph): adjust
8487         (getColumnNearX): adjust and reformat a bit.
8488
8489         * text.C (top_y): adjust
8490         (workWidth): adjust
8491         (leftMargin): adjust
8492         (prepareToPrint): adjust
8493         (getRow): adjust
8494         (getRowNearY): adjust
8495
8496         * lyxtext.h: make rowlist_ mutable.
8497
8498         * RowList.h: add const_iterator
8499         * RowList.C: adjust for RowList::const_iterator.
8500
8501         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8502         adjust.
8503
8504 2003-03-31  John Levon  <levon@movementarian.org>
8505
8506         * lyxrc.h:
8507         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8508
8509         * lyx_main.C: set default fonts from using lyx_gui funcs
8510
8511         * exporter.C: pdf_mode moved from lyxrc
8512
8513         * lyx_cb.C:
8514         * lyxfunc.C: changes from above
8515
8516 2003-03-31  John Levon  <levon@movementarian.org>
8517
8518         * lyx_main.C: fix to the last fix
8519
8520 2003-03-31  John Levon  <levon@movementarian.org>
8521
8522         * bufferlist.C: "Load original" -> "Load Original"
8523
8524         * converter.C:
8525         * exporter.C:
8526         * importer.C:
8527         * lyx_main.C:
8528         * format.C: more Alert cleanups
8529
8530 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8531
8532         * text2.C (removeParagraph): make it take a RowList::iterator as
8533         arg, adjust.
8534         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8535         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8536
8537         * text.C (anchor_row): make it take a RowList::iterator as arg,
8538         adjust.
8539         (computeBidiTables): make it take a const reference to Row instead
8540         of Row pointer, adjust.
8541         (leftMargin): make it take a RowList::iterator as arg, adjust.
8542         (rowBreakPoint): adjust
8543         (breakAgainOneRow): make it take a RowList::iterator as arg,
8544         adjust.
8545         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8546
8547         * bufferview_funcs.C (toggleAndShow): adjust
8548
8549 2003-03-30  John Levon  <levon@movementarian.org>
8550
8551         * Makefile.am:
8552         * BoostFormat.h:
8553         * boost-inst.C: moved to support
8554
8555         * several files: changes as a result
8556
8557 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8558
8559         * text2.C (LyXText): adjust.
8560         (init): adjust
8561         (removeRow): make it take a RowList::iterator as arg, adjust.
8562         (fullRebreak): adjust
8563         (deleteEmptyParagraphMechanism): adjust
8564         (clearPaint): adjust
8565         (postPaint): adjust
8566
8567         * text.C (top_y): adjust
8568         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8569         (breakAgain): make it take a RowList::iterator as arg, adjust.
8570         (breakParagraph): adjust
8571         (insertChar): adjust
8572         (backspace): adjust
8573
8574         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8575         need_break_row, and refresh_row.
8576
8577         * text3.C (dispatch): adjust
8578
8579         * text2.C (checkParagraph): adjust
8580         (setCursor): adjust
8581         (setCursorFromCoordinates): adjust
8582
8583         * text.C (top_y): adjust
8584         (workWidth): adjust
8585         (getRow): make it return a RowList::iterator, adjust
8586         (getRowNearY): make it return a RowList::iterator, adjust
8587
8588         * text2.C (init): adjust
8589         (insertRow): remove function
8590         (insertParagraph): adjust
8591         (redoParagraphs): adjust
8592         (fullRebreak): adjust
8593         (updateCounters): adjust
8594
8595         * text.C (top_y): rewrite to use RowList iterators.
8596         (top_y): adjust
8597         (setHeightOfRow): rewrite to sue RowList iterators.
8598         (appendParagraph): adjust
8599         (breakAgain): adjust
8600         (breakAgainOneRow): adjust
8601         (breakParagraph): adjust
8602         (getRow): adjust
8603         (getRowNearY): adjust, and remove commented code.
8604
8605         * lyxtext.h (firstRow): delete function
8606         (lastRow): delete function
8607         (rows): new function (const and non-const versions.)
8608         (insertRow): delete function
8609
8610         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8611
8612 2003-03-29  John Levon  <levon@movementarian.org>
8613
8614         * BufferView_pimpl.C: always update scrollbar top
8615         because pasting text when we're anchored could mean we
8616         miss an update altogether
8617
8618 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8619
8620         * text2.C (init): use rowlist_.end() and not 0.
8621         (insertRow): change to take a RowList::iterator as arg, adjust
8622         for this.
8623         (insertParagraph): change to take a RowList::iterator as arg,
8624         adjust for this.
8625         (redoParagraphs): remove some debug msgs.
8626
8627         * text.C (appendParagraph): change to take a RowList::iterator
8628         arg, adjust for this.
8629         (breakAgain): add an assert
8630         (breakAgainOneRow): ditto
8631
8632 2003-03-29  John Levon  <levon@movementarian.org>
8633
8634         * text2.C: do not clear selection after inc/decDepth
8635         (bug 550)
8636
8637 2003-03-29  John Levon  <levon@movementarian.org>
8638
8639         * BufferView.C:
8640         * buffer.C: fix broken strerrors according to Lars
8641
8642 2003-03-29  John Levon  <levon@movementarian.org>
8643
8644         * converters.C: more Alert cleanups
8645
8646 2003-03-29  John Levon  <levon@movementarian.org>
8647
8648         * bufferview_funcs.C: remove pointless Alert
8649
8650         * buffer.C: fix confusing error message when
8651         a template is chmoded 000
8652
8653 2003-03-29  John Levon  <levon@movementarian.org>
8654
8655         * BufferView.C:
8656         * BufferView.h:
8657         * BufferView_pimpl.C: Alert fixes
8658
8659         * Makefile.am:
8660         * tabular.C:
8661         * tabular-old.C: remove unused table compat reading
8662
8663 2003-03-29  John Levon  <levon@movementarian.org>
8664
8665         * BufferView.C:
8666         * buffer.C:
8667         * lyx_cb.h:
8668         * lyx_cb.C: more Alert cleanups
8669
8670         * lyxfunc.C: don't allow chktex if not latex document
8671
8672 2003-03-29  John Levon  <levon@movementarian.org>
8673
8674         * lyx_cb.C:
8675         * BufferView.C:
8676         * buffer.C: warnings pushed down from support/,
8677         kill err_alert
8678
8679 2003-03-29  John Levon  <levon@movementarian.org>
8680
8681         * lyxfunc.C: safety check for C-r (revert)
8682
8683 2003-03-29  John Levon  <levon@movementarian.org>
8684
8685         * bufferlist.h:
8686         * bufferlist.C: several UI fixes using Alert::prompt.
8687         Fix the pointless looping quit code. Fix stupid revert
8688         behaviour (bug 938)
8689
8690         * lyxvc.h:
8691         * lyxvc.C:
8692         * lyx_cb.C: use Alert::prompt
8693
8694         * lyx_main.C: remove a silly question
8695
8696         * lyxfunc.C: remove a couple of silly questions,
8697         use Alert::prompt
8698
8699 2003-03-28  John Levon  <levon@movementarian.org>
8700
8701         * text2.C: fix bug 974 (End on empty par)
8702
8703 2003-03-28  John Levon  <levon@movementarian.org>
8704
8705         * BufferView_pimpl.C:
8706         * LyXAction.C:
8707         * lfuns.h: remove do-nothing math greek lfuns
8708
8709 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8710
8711         * lyxgluelength.h (isValidGlueLength): add default arg on
8712         parameter 2. Remove default arg from friend in class.
8713
8714         * lyxlength.h (isValidLength): add default arg on parameter 2.
8715         Remove default arg from friend in class.
8716
8717         * text2.C (LyXText): adjust, initialize refresh_row.
8718         (init): adjust
8719         (removeRow): adjust
8720         (insertRow): adjust
8721         (insertParagraph): adjst
8722         (redoParagraphs): adjust
8723         (fullRebreak): adjust
8724         (updateCounters): adjust
8725         (deleteEmptyParagraphMechanism): first attempt at fixing a
8726         crashing bug.
8727
8728         * text.C (top_y): adjust
8729         (setHeightOfRow): adjust
8730         (getRow): adjust
8731         (getRowNearY): adjust
8732
8733         * lyxtext.h: include RowList.h
8734         (~LyXText): not needed anymore, deleted.
8735         (firstRow): modify for RowList
8736         (lastRow): new function
8737         Delete firstrow and lastrow class variables, add a Rowlist
8738         rowlist_ class variable.
8739
8740         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8741         paragraph is empty.
8742
8743         * RowList.C (insert): fix case where it == begin().
8744
8745 2003-03-26  Angus Leeming  <leeming@lyx.org>
8746
8747         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8748         the thesaurus dialog.
8749
8750 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8751
8752         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8753
8754         * RowList.[Ch]: new files
8755
8756         * ParagraphList.C (erase): handle the case where it == begin
8757         correctly.
8758
8759 2003-03-25  John Levon  <levon@movementarian.org>
8760
8761         * Makefile.am:
8762         * aspell_local.h:
8763         * aspell.C: add new aspell support
8764
8765         * lyxrc.h:
8766         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8767         have it accessible.
8768
8769 2003-03-25  Angus Leeming  <leeming@lyx.org>
8770
8771         * lfuns.h:
8772         * LyXAction.C (init): new LFUN_INSET_INSERT.
8773
8774         * BufferView_pimpl.C (dispatch): split out part of the
8775         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8776
8777         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8778         LFUN_INSET_APPLY.
8779
8780 2003-03-25  Angus Leeming  <leeming@lyx.org>
8781
8782         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8783
8784 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8785
8786         * text2.C:
8787         * text3.C: remove useless row->height(0)
8788
8789 2003-03-25  John Levon  <levon@movementarian.org>
8790
8791         * lyxtext.h:
8792         * text2.C:
8793         * text3.C: rename the refreshing stuff to better names
8794
8795 2003-03-24  John Levon  <levon@movementarian.org>
8796
8797         * BufferView_pimpl.h:
8798         * BufferView_pimpl.C: update layout choice on a mouse
8799         press/release
8800
8801 2003-03-23  John Levon  <levon@movementarian.org>
8802
8803         * Makefile.am: fix commandtags.h reference
8804
8805 2003-03-22  John Levon  <levon@movementarian.org>
8806
8807         * BufferView_pimpl.C:
8808         * lyxtext.h:
8809         * rowpainter.C:
8810         * rowpainter.h:
8811         * text.C:
8812         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8813
8814 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8815
8816         * lyxtext.h:
8817         * text.C: take the rtl methods out of line
8818
8819 2003-03-21 André Pönitz <poenitz@gmx.net>
8820
8821         * metricsinfo.[Ch]: new files containing structures to be passed around
8822         during the two-phase-drawing...
8823
8824 2003-03-21 André Pönitz <poenitz@gmx.net>
8825
8826         * lyxtextclass.C: read 'environment' tag.
8827
8828 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8829
8830         * text2.C (removeRow): fix bug 964
8831
8832 2003-03-20  John Levon  <levon@movementarian.org>
8833
8834         * rowpainter.C:
8835         * text.C:
8836         * text2.C: paint cleanups. Inset::update() dropped font
8837         parameter
8838
8839 2003-03-19  John Levon  <levon@movementarian.org>
8840
8841         * lyxfunc.C: only fitcursor/markDirty if available()
8842
8843 2003-03-19  John Levon  <levon@movementarian.org>
8844
8845         * commandtags.h: rename to ...
8846
8847         * lfuns.h: ... this, and renumber / cleanup
8848
8849 2003-03-19  John Levon  <levon@movementarian.org>
8850
8851         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8852         fit the cursor after an lfun
8853
8854         * BufferView.h:
8855         * BufferView.C:
8856         * BufferView_pimpl.h:
8857         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8858
8859         * LyXAction.C: layout-character should have ReadOnly
8860
8861         * ParagraphParameters.C:
8862         * buffer.C:
8863         * bufferview_funcs.C:
8864         * lyx_cb.C:
8865         * lyxfind.C:
8866         * lyxtext.h:
8867         * text.C:
8868         * text2.C:
8869         * text3.C:
8870         * undo_funcs.C: changes from above
8871
8872 2003-03-18  John Levon  <levon@movementarian.org>
8873
8874         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8875         remove it from update()
8876
8877         * lyxfunc.C: update layout choice after an lfun
8878
8879         * text3.C: remove extra updateLayoutChoice()s
8880
8881 2003-03-18  John Levon  <levon@movementarian.org>
8882
8883         * text.C: top_y change means full repaint, fix
8884         a drawing bug with cursor movement
8885
8886 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8887
8888         * lyxtext.h:
8889         * text.C:
8890         * text2.C: anchor row on setCursor
8891
8892 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8893
8894         * lyxtext.h: remove almost all mutable keywords
8895         * text.C:
8896         * text2.C:
8897         * text3.C: remove const keywords accordingly
8898
8899 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8900
8901         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8902         anon namespace
8903         (TeXEnvironment): ditto
8904         (TeXOnePar): ditto
8905
8906 2003-03-17  John Levon  <levon@movementarian.org>
8907
8908         * text.C (rowBreakPoint): remove attempt to fix displayed
8909         math insets inside a manual label
8910
8911 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8912
8913         * lyxtext.h: remove BufferView* as first arg from almost all class
8914         functions.
8915         * other files: adjust.
8916
8917 2003-03-17  John Levon  <levon@movementarian.org>
8918
8919         * lyxtext.h:
8920         * undo_funcs.C:
8921         * text2.C: more paint cleanups
8922
8923         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8924
8925         * rowpainter.h:
8926         * rowpainter.C: remove "smart" background painting code
8927
8928 2003-03-16  John Levon  <levon@movementarian.org>
8929
8930         * lyxtext.h:
8931         * text.C:
8932         * text2.C:
8933         * text3.C: add helper functions for setting refresh_row/y
8934
8935 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8936
8937         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8938         newline inset which *can* get inserted in the pass_thru layouts.
8939         This is primarily for literate documents.
8940
8941 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8942
8943         * buffer.C: increment LYX_FORMAT to 223
8944
8945 2003-03-14 André Pönitz <poenitz@gmx.net>
8946
8947         * textclass.h: prepare for environment handling, ws changes
8948         * lyxlayout.C: read latexheader and latexfooter tags
8949
8950 2003-03-14  John Levon  <levon@movementarian.org>
8951
8952         * text2.C: rewrite ::status() a bit
8953
8954 2003-03-13  John Levon  <levon@movementarian.org>
8955
8956         * lyxtext.h: add some docs
8957
8958 2003-03-13  John Levon  <levon@movementarian.org>
8959
8960         * lyxtext.h:
8961         * text.C:
8962         * text2.C:
8963         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8964
8965 2003-03-13  John Levon  <levon@movementarian.org>
8966
8967         * text3.C: fix appendix redrawing
8968
8969 2003-03-13  John Levon  <levon@movementarian.org>
8970
8971         * text.C (setHeightOfRow):
8972         * rowpainter.h:
8973         * rowpainter.C: make appendix mark have the text
8974           "Appendix" so the user knows what it is
8975
8976         * LColor.h:
8977         * LColor.C: s/appendixline/appendix/ from above
8978
8979 2003-03-13  John Levon  <levon@movementarian.org>
8980
8981         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8982
8983         * text.C: fix a getChar(pos) bug properly
8984
8985 2003-03-13  Angus Leeming  <leeming@lyx.org>
8986
8987         * commandtags.h:
8988         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8989         Probably only temporary. Let's see how things pan out.
8990
8991         * BufferView.C (unlockInset):
8992         * BufferView_pimpl.C (fitCursor):
8993         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8994
8995         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8996         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8997
8998         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8999         new functions that convert ParagraphParameters to and from a string.
9000
9001         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9002         BufferView::Pimpl's dispatch.
9003         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9004
9005 2003-03-13 André Pönitz <poenitz@gmx.net>
9006
9007         * lyxfunc.C:
9008         * text3.C:
9009         * factory.C: make it aware of InsetEnv
9010
9011 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9012
9013         * text2.C (setCursor): never ask for one past last
9014         (setCursor): add some debugging messages.
9015
9016         * text.C (singleWidth): never ask for one past last
9017         (singleWidth): ditto
9018         (leftMargin): ditto
9019         (rightMargin): ditto
9020         (rowBreakPoint): ditto
9021         (setHeightOfRow): ditto
9022         (prepareToPrint): ditto
9023
9024         * rowpainter.C (paintBackground): never ask for one past last
9025         (paintText): never ask for one past last
9026
9027         * paragraph_pimpl.C (getChar): make the assert stricter, never
9028         allow the one past last pos to be taken
9029
9030         * paragraph.C (getChar): ws changes only
9031
9032         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9033         (numberOfSeparators): ditto
9034         (numberOfHfills): ditto
9035
9036 2003-03-12  John Levon  <levon@movementarian.org>
9037
9038         * author.h:
9039         * author.C:
9040         * bufferparams.h:
9041         * bufferparams.C:
9042         * paragraph_funcs.C: fix per-buffer authorlists
9043
9044 2003-03-12  John Levon  <levon@movementarian.org>
9045
9046         * text.C: fix newline in right address
9047
9048 2003-03-12  Angus Leeming  <leeming@lyx.org>
9049
9050         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9051         duplicate those in LyXFunc::dispatch.
9052
9053         * commandtags.h:
9054         * LyXAction.C:
9055         * ToolbarDefaults.C:
9056         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9057         Add LFUN_FONTFREE_UPDATE.
9058
9059         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9060         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9061
9062         * bufferview_func.[Ch]: several new functions to facilliate
9063         transfer of data to and from the character dialog.
9064
9065 2003-03-12  John Levon  <levon@movementarian.org>
9066
9067         * buffer.C:
9068         * paragraph.h:
9069         * paragraph.C:
9070         * paragraph_funcs.C:
9071         * paragraph_pimpl.C:
9072         * sgml.C:
9073         * tabular.C:
9074         * text.C:
9075         * text3.C: remove META_NEWLINE in favour of an inset
9076
9077         * rowpainter.h:
9078         * rowpainter.C: remove paintNewline (done by inset)
9079
9080 2003-03-12  John Levon  <levon@movementarian.org>
9081
9082         * paragraph_pimpl.C: complain about bad getChar()s
9083         for a while at least
9084
9085 2003-03-12  John Levon  <levon@movementarian.org>
9086
9087         * buffer.h:
9088         * buffer.C: move paragraph read into a separate function,
9089         a little renaming to reflect that.
9090
9091         * bufferparams.h:
9092         * bufferparams.C: remove the author_ids map, not necessary now
9093
9094         * factory.h:
9095         * factory.C: moved Buffer::readInset to here
9096
9097         * paragraph_funcs.h:
9098         * paragraph_funcs.C: readParagraph free function moved from
9099         buffer.C
9100
9101         * tabular.C: name change
9102
9103 2003-03-12  John Levon  <levon@movementarian.org>
9104
9105         * buffer.C:
9106         * ParagraphParameters.C: move par params input to
9107         a read() method
9108
9109         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9110         behave like a normal read from the stream wrt reading
9111         a line vs. a \\token
9112
9113 2003-03-12  John Levon  <levon@movementarian.org>
9114
9115         * paragraph.C:
9116         * ParagraphParameters.h:
9117         * ParagraphParameters.C: move output code to a
9118         ::write() method
9119
9120 2003-03-12  John Levon  <levon@movementarian.org>
9121
9122         * BufferView.C (insertLyXFile):
9123         * buffer.h:
9124         * buffer.C:
9125         * tabular.C: use a parlist iterator for creating the
9126           document.
9127
9128 2003-03-12  John Levon  <levon@movementarian.org>
9129
9130         * buffer.C: make current_change static local not
9131           static file-scope
9132
9133 2003-03-12  John Levon  <levon@movementarian.org>
9134
9135         * buffer.C: fix insertStringAsLines for change tracking
9136
9137 2003-03-12  John Levon  <levon@movementarian.org>
9138
9139         * BufferView.C:
9140         * tabular.C:
9141         * buffer.h:
9142         * buffer.C:
9143         * bufferparams.h:
9144         * bufferparams.C: move author list into params. Rename some
9145           functions. Move the header reading into a separate token
9146           loop. Move the header token reading into BufferParams.
9147
9148 2003-03-12  John Levon  <levon@movementarian.org>
9149
9150         * changes.C: put debug inside lyxerr.debugging() checks
9151
9152 2003-03-11 André Pönitz <poenitz@gmx.net>
9153
9154         * factory.C: make it aware of InsetHFill
9155
9156 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9157
9158         * buffer.C (latexParagraphs): move function from here...
9159         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9160         args.
9161
9162 2003-03-10  Angus Leeming  <leeming@lyx.org>
9163
9164         * LyXAction.C (init): fix bug in poplating array with multiple entries
9165         with the same LFUN (spotted by JMarc).
9166
9167 2003-03-10  John Levon  <levon@movementarian.org>
9168
9169         * text.C:
9170         * text2.C: move getColumnNearX() near its
9171         only call site
9172
9173 2003-03-10  John Levon  <levon@movementarian.org>
9174
9175         * text.C: fix break before a minipage
9176
9177 2003-03-10  John Levon  <levon@movementarian.org>
9178
9179         * text.C: fix the last commit
9180
9181 2003-03-09  John Levon  <levon@movementarian.org>
9182
9183         * lyxtext.h:
9184         * text.C:
9185         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9186         bug 365 (don't break before insets unless needed). Don't
9187         return a value > last under any circumstances.
9188
9189 2003-03-09  Angus Leeming  <leeming@lyx.org>
9190
9191         * BufferView_pimpl.C (trackChanges, dispatch): call
9192         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9193
9194 2003-03-09  Angus Leeming  <leeming@lyx.org>
9195
9196         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9197         than Dialogs::showAboutlyx().
9198
9199 2003-03-09  Angus Leeming  <leeming@lyx.org>
9200
9201         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9202         than Dialogs::showTabularCreate().
9203
9204 2003-03-09  John Levon  <levon@movementarian.org>
9205
9206         * lyxtext.h:
9207         * text.C:
9208         * text2.C: 3rd arg to nextBreakPoint was always the same.
9209           Use references.
9210
9211 2003-03-08  John Levon  <levon@movementarian.org>
9212
9213         * lyxrow.C:
9214         * paragraph.C:
9215         * paragraph.h:
9216         * rowpainter.C:
9217         * text.C:
9218         * text2.C: Remove the "main" bit from the "main body"
9219           notion.
9220
9221 2003-03-08  John Levon  <levon@movementarian.org>
9222
9223         * text.C (leftMargin): The left margin of an empty
9224         manual label paragraph should not include the label width
9225         string length.
9226
9227         * text.C (prepareToPrint): don't attempt to measure hfills
9228         for empty manual label paragraphs - the answer should be 0
9229
9230 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9231
9232         * CutAndPaste.C: remove commented code and reindent.
9233
9234 2003-03-08  John Levon  <levon@movementarian.org>
9235
9236         * lyxfunc.h:
9237         * lyxfunc.C: move reloadBuffer()
9238
9239         * BufferView.h:
9240         * BufferView.C: to here
9241
9242         * lyxvc.C: add comment
9243
9244         * vc-backend.h:
9245         * vc-backend.C: call bv->reload() to avoid
9246           getStatus() check on MENURELOAD
9247
9248 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9249
9250         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9251         to an old format .dep file.
9252
9253 2003-03-07  Angus Leeming  <leeming@lyx.org>
9254
9255         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9256         when the LFUN_MOUSE_RELEASE should have been handled by
9257         inset->localDispatch.
9258
9259 2003-03-07  Angus Leeming  <leeming@lyx.org>
9260
9261         * BufferView_pimpl.C (dispatch):
9262         * LyXAction.C (init):
9263         * ToolbarDefaults.C (init):
9264         * commandtags.h:
9265         * lyxfunc.C (getStatus):
9266         remove LFUN_INSET_GRAPHICS.
9267
9268         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9269
9270 2003-03-07  Angus Leeming  <leeming@lyx.org>
9271
9272         * commandtags.h:
9273         * LyXAction.C (init):
9274         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9275
9276         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9277
9278         * commandtags.h:
9279         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9280
9281         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9282         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9283
9284 2003-03-07  Angus Leeming  <leeming@lyx.org>
9285
9286         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9287         remove "ert".
9288
9289 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9290
9291         * ParagraphList.C (front): new function
9292         (back): implement
9293
9294 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9295
9296         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9297         and top_row_offset_. removed var first_y.
9298         * text.C (top_y):
9299         * text2.C (LyXText, removeRow):
9300         * text3.C:
9301         * BufferView_pimpl.C:
9302         use these methods instead of using first_y
9303
9304 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9305
9306         * text2.C (pasteSelection): adjust for checkPastePossible
9307
9308         * CutAndPaste.C: remove Paragraph * buf and replace with
9309         ParagraphList paragraphs.
9310         (DeleteBuffer): delete
9311         (cutSelection): change the tc type to textclass_type
9312         (copySelection): change the tc type to textclass_type
9313         (copySelection): adjust for ParagraphList
9314         (pasteSelection): change the tc type to textclass_type
9315         (pasteSelection): adjust for Paragraphlist
9316         (nrOfParagraphs): simplify for ParagraphList
9317         (checkPastePossible): simplify for ParagraphList
9318         (checkPastePossible): remove unused arg
9319
9320         * ParagraphList.C (insert): handle the case where there are no
9321         paragraphs yet.
9322
9323         * CutAndPaste.h: make CutAndPaste a namespace.
9324
9325         * text3.C (dispatch): adjust
9326
9327         * text.C (breakParagraph): add a ParagraphList as arg
9328
9329         * paragraph_funcs.C (breakParagraph): change to take a
9330         BufferParams and a ParagraphList as args.
9331         (breakParagraphConservative): ditto
9332         (mergeParagraph): ditto
9333         (TeXDeeper): add a ParagraphList arg
9334         (TeXEnvironment): ditto
9335         (TeXOnePar): ditto
9336
9337         * buffer.C (readLyXformat2): adjust
9338         (insertStringAsLines): adjust
9339         (latexParagraphs): adjust
9340
9341         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9342         (cutSelection): adjust
9343         (pasteSelection): adjust
9344
9345         * BufferView_pimpl.C (insertInset): adjust
9346
9347 2003-03-05  Angus Leeming  <leeming@lyx.org>
9348
9349         * commandtags.h:
9350         * LyXAction.C (init):
9351         * BufferView_pimpl.C (dispatch):
9352         * lyxfunc.C (getStatus):
9353         remove LFUN_CHILD_INSERT.
9354
9355         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9356
9357 2003-03-05  Angus Leeming  <leeming@lyx.org>
9358
9359         * commandtags.h:
9360         * LyXAction.C (init):
9361         * src/factory.C (createInset):
9362         * lyxfunc.C (getStatus):
9363         * text3.C (dispatch):
9364         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9365
9366         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9367
9368 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9369
9370         * ParagraphList.C (insert): handle insert right before end()
9371         (erase): fix cases where it can be first or last paragraph.
9372
9373 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9374
9375         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9376         Paragraph::next and Paragraph::previous
9377         (TeXOnePar): ditto
9378
9379         * text.C (breakParagraph): adjust
9380
9381         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9382         BufferParams& as arg.
9383         (breakParagraph): use ParagraphList::insert
9384         (breakParagraphConservative): take a Buffer* instead of a
9385         BufferParams& as arg.
9386         (breakParagraphConservative): use ParagraphList::insert.
9387
9388         * buffer.C (insertStringAsLines): un-const it
9389         (insertStringAsLines): adjust
9390
9391         * ParagraphList.C (insert): new function
9392
9393         * CutAndPaste.C (pasteSelection): adjust
9394
9395         * text.C (backspace): adjust
9396
9397         * tabular.C (SetMultiColumn): adjust
9398
9399         * CutAndPaste.C (cutSelection): adjust
9400         (pasteSelection): adjust
9401
9402         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9403         Buffer const * as arg
9404
9405         * ParagraphList.C (erase): new function
9406         * paragraph_funcs.C (mergeParagraph): use it
9407         (mergeParagraph): make it take a Buffer* instead of a
9408         BufferParams* as arg
9409
9410         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9411         as arg
9412         (breakParagraphConservative): ditto
9413
9414         * paragraph.h: remove the breakParagraph friend
9415
9416         * paragraph.C (eraseIntern): new function
9417         (setChange): new function
9418
9419         * paragraph_funcs.C (mergeParagraph): make it take a
9420         ParagraphList::iterator instead of a Paragraph *, adjust
9421         accordingly.
9422
9423         * paragraph.h: move an #endif so that the change tracking stuff
9424         also works in the NO_NEXT case.
9425
9426 2003-03-04  Angus Leeming  <leeming@lyx.org>
9427
9428         * commandtags.h:
9429         * LyXAction.C: new LFUN_INSET_MODIFY.
9430
9431         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9432         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9433
9434 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9435
9436         * several files: ws changes only
9437
9438         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9439         (TeXEnvironment): ditto
9440         (TeXDeeper): ditto
9441
9442         * buffer.C (makeLaTeXFile): adjust
9443         (latexParagraphs): make it take ParagraphList::iterator as args
9444
9445 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9446
9447         * buffer.C (latexParagraphs): adjust
9448
9449         * paragraph.C (TeXOnePar): move function...
9450         (optArgInset): move function...
9451         (TeXEnvironment): move function...
9452         * paragraph_pimpl.C (TeXDeeper): move function...
9453         * paragraph_funcs.C: ...here
9454
9455         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9456
9457 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9458
9459         * buffer.C (readInset): remove compability code for old Figure and
9460         InsetInfo insets
9461
9462 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9463
9464         * buffer.C: ws changes
9465         (readInset):
9466
9467         * BufferView_pimpl.C: ditto
9468         * author.C: ditto
9469         * buffer.h: ditto
9470         * bufferlist.h: ditto
9471         * changes.h: ditto
9472         * lyxfunc.C: ditto
9473
9474 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9475
9476         * converter.[Ch]: split into itself +
9477         * graph.[Ch]
9478         * format.[Ch]
9479         * Makefile.am: += graph.[Ch] + format.[Ch]
9480         * MenuBackend.C
9481         * buffer.C
9482         * exporter.C
9483         * importer.C
9484         * lyx_main.C
9485         * lyxfunc.C
9486         * lyxrc.C: added #include "format.h"
9487
9488 2003-02-27  Angus Leeming  <leeming@lyx.org>
9489
9490         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9491           a label.
9492
9493         * factory.C (createInset): add "label" to the factory.
9494
9495         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9496           string and do no more.
9497
9498 2003-02-27  Angus Leeming  <leeming@lyx.org>
9499
9500         * commandtags.h:
9501         * LyXAction.C (init):
9502         * factory.C (createInset):
9503         * BufferView_pimpl.C (dispatch):
9504           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9505
9506         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9507
9508         * lyxfunc.C (dispatch):
9509         * text3.C (dispatch): pass name to params2string.
9510
9511 2003-02-26  Angus Leeming  <leeming@lyx.org>
9512
9513         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9514           blocks together.
9515           Rearrange the ~includes. Strip out the unnecessary ones.
9516
9517         * factory.C (createInset): reformat.
9518           create new insets for the various LFUN_XYZ_APPLY lfuns.
9519
9520 2003-02-26  John Levon  <levon@movementarian.org>
9521
9522         * lyxrow.h:
9523         * lyxrow.C: add isParStart,isParEnd helpers
9524
9525         * paragraph.h: make isInserted/DeletedText take refs
9526
9527         * paragraph_funcs.h:
9528         * paragraph_funcs.C: remove #if 0'd code
9529
9530         * lyxtext.h:
9531         * text3.C:
9532         * text2.C:
9533         * text.C: use lyxrow helpers above.
9534           Move draw and paint routines to RowPainter.
9535           Make several methods use refs not pointers.
9536           Make backgroundColor() const.
9537           Add markChangeInDraw(), isInInset().
9538           Merge changeRegionCase into changeCase.
9539           Make workWidth() shouldn't-happen code into an Assert.
9540
9541         * rowpainter.h:
9542         * rowpainter.C: new class for painting a row.
9543
9544         * vspace.h:
9545         * vspace.C: make inPixels take a ref
9546
9547 2003-02-26  Angus Leeming  <leeming@lyx.org>
9548
9549         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9550         LFUN_REF_APPLY.
9551
9552 2003-02-25  John Levon  <levon@movementarian.org>
9553
9554         * ispell.C: give the forked command a more accurate name
9555
9556 2003-02-22  John Levon  <levon@movementarian.org>
9557
9558         * toc.h:
9559         * toc.C: make TocItem store an id not a Paragraph *
9560           (bug #913)
9561
9562 2003-02-21  Angus Leeming  <leeming@lyx.org>
9563
9564         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9565           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9566           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9567           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9568           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9569           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9570
9571         * BufferView_pimpl.C (dispatch):
9572         * LyXAction.C (init):
9573         * factory.C (createInset):
9574         * lyxfunc.C (getStatus, dispatch):
9575         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9576
9577 2003-02-21  Angus Leeming  <leeming@lyx.org>
9578
9579         * BufferView_pimpl.C (MenuInsertLyXFile):
9580         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9581         * lyxfunc.C (menuNew, open, doImport):
9582           no longer pass a LyXView & to fileDlg.
9583
9584 2003-02-21  Angus Leeming  <leeming@lyx.org>
9585
9586         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9587         * LyXAction.C: change, BIBKEY to BIBITEM.
9588         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9589         Change InsetBibKey to InsetBibitem.
9590         Change BIBKEY_CODE to BIBITEM_CODE.
9591         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9592         * factory.C: replace insetbib.h with insetbibitem.h.
9593         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9594         * paragraph.C: replace insetbib.h with insetbibitem.h.
9595         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9596         Change bibkey() to bibitem().
9597         * text.C: remove insetbib.h.
9598         * text2.C: replace insetbib.h with insetbibitem.h.
9599         change bibkey() to bibitem().
9600         * text3.C: remove insetbib.h.
9601         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9602
9603 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9604
9605         * lyxrc.C (output): enclose user email in quotes (in case there are
9606         several words)
9607
9608 2003-02-18  John Levon  <levon@movementarian.org>
9609
9610         * buffer.h: add std::
9611
9612 2003-02-17  John Levon  <levon@movementarian.org>
9613
9614         * SpellBase.h:
9615         * ispell.h:
9616         * ispell.C:
9617         * pspell.h:
9618         * pspell.C: reworking. Especially in ispell, a large
9619           number of clean ups and bug fixes.
9620
9621         * lyxfunc.C: fix revert to behave sensibly
9622
9623 2003-02-17 André Pönitz <poenitz@gmx.net>
9624
9625         * LyXAction.C:
9626         * commandtags.h: new LFUN_INSERT_BIBKEY
9627
9628         * layout.h:
9629         * lyxlayout.C:
9630         * buffer.C:
9631         * factory.C:
9632         * text.C:
9633         * text2.C:
9634         * text3.C:
9635         * paragraph.[Ch]:
9636         * paragraph_func.C: remove special bibkey handling
9637
9638 2003-02-17  John Levon  <levon@movementarian.org>
9639
9640         * text.C (Delete): fix case where delete at the end of
9641           the very first paragraph would not merge the pars
9642
9643 2003-02-17  John Levon  <levon@movementarian.org>
9644
9645         * lyxrow.C: fix lastPrintablePos()
9646
9647 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9648
9649         * bufferparams.C (writeLaTeX): add a std:here
9650
9651         * buffer.C: and remove a using directive there
9652
9653 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9654
9655         * buffer.C (makeLaTeXFile): move the code that generates the
9656           preamble...
9657
9658         * bufferparams.C (writeLaTeX): ... in this new method
9659
9660         * LaTeXFeatures.C (getEncodingSet): make const
9661           (getLanguages): make const
9662
9663         * MenuBackend.C (binding): returns the binding associated to this
9664           action
9665           (add): sets the status of each item by calling getStatus. Adds
9666           some intelligence.
9667           (read): add support for OptSubMenu
9668           (expand): remove extra separator at the end of expanded menu
9669
9670 2003-02-15  John Levon  <levon@movementarian.org>
9671
9672         * BufferView.C:
9673         * BufferView_pimpl.C:
9674         * bufferlist.h:
9675         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9676           inset code that had no actual effect. Remove unneeded status
9677           code.
9678
9679 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9680
9681         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9682           in preamble
9683
9684 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9685
9686         * text.C (drawLengthMarker): also draw an arrow marker for
9687           symbolic lengths (medskip...)
9688
9689 2003-02-14  John Levon  <levon@movementarian.org>
9690
9691         * tabular.h:
9692         * tabular.C: better method names
9693
9694 2003-02-14  John Levon  <levon@movementarian.org>
9695
9696         * BufferView_pimpl.C:
9697         * bufferlist.C:
9698         * buffer.C:
9699         * converter.C:
9700         * lyx_cb.C:
9701         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9702           it's a more accurate name. Remove some pointless uses.
9703
9704 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9705
9706         * text2.C (LyXText): change order of initilizers to shut off
9707           warnings
9708
9709 2003-02-14  John Levon  <levon@movementarian.org>
9710
9711         * buffer.C: use ParIterator for getParFromID()
9712
9713         * paragraph.h:
9714         * paragraph.C:
9715         * paragraph_pimpl.h:
9716         * paragraph_pimpl.C: remove unused getParFromID()
9717
9718 2003-02-14  John Levon  <levon@movementarian.org>
9719
9720         * buffer.C: remove some very old #if 0'd parse code
9721
9722 2003-02-13  John Levon  <levon@movementarian.org>
9723
9724         * text.h:
9725         * text.C:
9726         * text2.C: move hfillExpansion(), numberOfSeparators(),
9727           rowLast(), rowLastPrintable(), numberofHfills(),
9728           numberOfLabelHfills() ...
9729
9730         * lyxrow.h:
9731         * lyxrow.C: ... to member functions here.
9732
9733         * paragraph.h:
9734         * paragraph.C:
9735         * lyxtext.h:
9736         * text.C: remove LyXText::beginningOfMainBody(), and call
9737           p->beginningOfMainBody() directly. Move the check for
9738           LABEL_MANUAL into the latter.
9739
9740         * text.h:
9741         * text.C:
9742         * text2.C:
9743         * vspace.C:
9744         * BufferView.h:
9745         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9746
9747         * text.h:
9748         * text.C:
9749         * text2.C:
9750         * text3.C:
9751         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9752           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9753
9754 2003-02-13  John Levon  <levon@movementarian.org>
9755
9756         * CutAndPaste.C: remove debug
9757
9758 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9759
9760         * paragraph.C (asString): remove two unused variables
9761
9762         * lyxtextclass.C (readTitleType):
9763           (Read):
9764           (LyXTextClass): handle new members titletype_ and titlename_
9765
9766         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9767
9768 2003-02-09  John Levon  <levon@movementarian.org>
9769
9770         * buffer.h:
9771         * buffer.C: replace hand-coded list with a map for the dep clean
9772
9773 2003-02-08  John Levon  <levon@movementarian.org>
9774
9775         * LaTeX.C: consolidate code into showRunMessage() helper
9776
9777 2003-02-08  John Levon  <levon@movementarian.org>
9778
9779         * lyxfind.C:
9780         * lyxtext.h:
9781         * text2.C:
9782         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9783           and pass the size in explicitly
9784
9785         * BufferView_pimpl.h:
9786         * BufferView_pimpl.C:
9787         * BufferView.h:
9788         * BufferView.C: add getCurrentChange()
9789
9790         * BufferView_pimpl.h:
9791         * BufferView_pimpl.C: handle change lfuns
9792
9793         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9794           for changes. Mark pasted paragraphs as new.
9795
9796         * support/lyxtime.h:
9797         * support/lyxtime.C:
9798         * DepTable.C: abstract time_t as lyx::time_type
9799
9800         * LColor.h:
9801         * LColor.C: add colours for new text, deleted text, changebars
9802
9803         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9804           package use "usenames" option.
9805
9806         * commandtags.h:
9807         * lyxfunc.C:
9808         * LyXAction.C: add change lfuns
9809
9810         * Makefile.am:
9811         * author.h:
9812         * author.C: author handling
9813
9814         * buffer.h:
9815         * buffer.C: add a per-buffer author list, with first entry as
9816           current author. Handle new .lyx tokens for change tracking. Output
9817           author list to .lyx file. Output dvipost stuff to .tex preamble.
9818           Bump lyx format to 222.
9819
9820         * bufferlist.h:
9821         * bufferlist.C: add setCurrentAuthor() to reset current author details
9822           in all buffers.
9823
9824         * bufferparams.h:
9825         * bufferparams.C: add param for tracking
9826
9827         * bufferview_funcs.C: output change info in minibuffer
9828
9829         * Makefile.am:
9830         * changes.h:
9831         * changes.C: add change-tracking structure
9832
9833         * debug.h:
9834         * debug.C: add CHANGES debug flag
9835
9836         * lyxfind.h:
9837         * lyxfind.C: add code for finding the next change piece
9838
9839         * lyxrc.h:
9840         * lyxrc.C: add user_name and user_email
9841
9842         * lyxrow.h:
9843         * lyxrow.C: add a metric for the top of the text line
9844
9845         * lyxtext.h:
9846         * text.C: implement accept/rejectChange()
9847
9848         * lyxtext.h:
9849         * text.C: paint changebars. Paint new/deleted text in the chosen
9850         colours. Strike through deleted text.
9851
9852         * paragraph.h:
9853         * paragraph.C:
9854         * paragraph_pimpl.h:
9855         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9856           in the current change to the insert functions. Rework erase to
9857           mark text as deleted, adding an eraseIntern() and a range-based
9858           erase(). Implement per-paragraph change lookup and
9859           accept/reject.
9860
9861         * paragraph_funcs.C: Fixup paste for change tracking.
9862
9863         * tabular.C: mark added row/columns as new.
9864
9865         * text.C: fix rowLast() to never return -1. Don't allow
9866           spellchecking of deleted text. Track transpose changes. Don't
9867           allow paragraph break or merge where appropriate.
9868
9869         * text2.C: leave cursor at end of selection after a cut.
9870
9871 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9872
9873         * text.C (getLengthMarkerHeight):
9874         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9875         visible on screen too.
9876
9877 2003-02-07  John Levon  <levon@movementarian.org>
9878
9879         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9880
9881 2003-02-05  Angus Leeming  <leeming@lyx.org>
9882
9883         * lyxserver.C (read_ready): revert my patch of 11 September last year
9884         as it sends PC cpu through the roof. Presumably this means that
9885         the lyxserver will no longer run on an Alpha...
9886
9887 2003-01-30  Angus Leeming  <leeming@lyx.org>
9888
9889         * factory.C (createInset): create an InsetCommandParam of type "index"
9890         and use it to 'do the right thing'.
9891
9892         * text2.C (getStringToIndex): ensure that cursor position is always
9893         reset to the reset_cursor position.
9894
9895 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9896
9897         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9898         disabled.
9899
9900 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9901
9902         * bufferview.C:
9903         * lyxcb.C:
9904         * lyxfunc.C: Output messages with identical spelling, punctuation,
9905         and spaces
9906
9907 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9908
9909         * MenuBackend.C (expandFormats): List only viewable export formats
9910         in "View" menu
9911
9912         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9913         message
9914
9915         * lyxfunc.C (getStatus): Make sure that formats other than
9916         "fax" can also be disabled
9917
9918 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9919
9920         * text3.C (dispatch): put the lfuns that insert insets in 3
9921         groups, and call doInsertInset with appropriate arguments.
9922         (doInsertInset): new function, that creates an inset and inserts
9923         it according to some boolean parameters.
9924
9925 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9926
9927         * buffer.C (readFile): remember to pass on 'par' when calling
9928         readFile recursively.
9929
9930 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9931
9932         * MenuBackend.C (expandFormats): add "..." to import formats.
9933
9934 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9935
9936         * paragraph.C (asString): Remove XForms RTL hacks.
9937
9938 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9939         * buffer.C: fix typo
9940
9941 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9942
9943         * Makefile.am (LIBS): delete var
9944         (lyx_LDADD): add @LIBS@ here instead.
9945
9946 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9947
9948         * Clarify the meaning of "wheel mouse jump"
9949
9950 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9951
9952         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9953         tabular in a float
9954
9955 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9956
9957         * importer.C (Loaders): do not preallocate 3 elements in the
9958         vector, since one ends up with 6 elements otherwise
9959
9960 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9961
9962         * DepTable.C (write): write the file name as last element of the
9963         .dep file (because it may contain spaces)
9964         (read): read info in the right order
9965
9966 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9967
9968         * paragraph_pimpl.C (simpleTeXBlanks):
9969         (simpleTeXSpecialChars):
9970         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9971
9972         * tabular.C (latex): add some missing case statements. Reindent.
9973
9974         * MenuBackend.C (expandToc): remove unused variable.
9975
9976 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9977
9978         * LColor.C:
9979         * LaTeX.C:
9980         * LyXAction.C:
9981         * MenuBackend.C:
9982         * buffer.C:
9983         * exporter.C:
9984         * lyxfunc.C:
9985         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9986         and the like.
9987
9988 2003-01-05  John Levon  <levon@movementarian.org>
9989
9990         * BufferView.h:
9991         * BufferView.C: add getEncoding()
9992
9993         * kbsequence.h:
9994         * kbsequence.C: do not store last keypress
9995
9996         * lyxfunc.h:
9997         * lyxfunc.C: store last keypress here instead. Pass encoding
9998           to getISOEncoded()
9999
10000 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10001
10002         * lyx_main.C (init): remove annoying error message when following
10003         symbolic links (bug #780)
10004
10005 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10006
10007         * text.C (insertChar):
10008         * lyxrc.C (getDescription): remove extra spaces
10009
10010 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10011
10012         * lyxrc.C (getDescription): remove extra spaces
10013
10014 2002-12-20  John Levon  <levon@movementarian.org>
10015
10016         * text3.C: hack fix for page up/down across tall rows
10017
10018 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10019
10020         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10021         not been invoked
10022
10023 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10024
10025         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10026         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10027         thesaurus is not compiled in
10028
10029 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10030
10031         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10032
10033 2002-12-16  Angus Leeming  <leeming@lyx.org>
10034
10035         * lyxrc.[Ch]:
10036         * lyx_main.C (init): remove override_x_deadkeys stuff.
10037
10038 2002-12-12  John Levon  <levon@movementarian.org>
10039
10040         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10041           insert. Only remove shift modifier under strict
10042           circumstances.
10043
10044 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10045
10046         * MenuBackend.C (expandToc): fix crash.
10047
10048 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10049
10050         * MenuBackend.C (expandToc): gettext on float names.
10051
10052 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10053
10054         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10055         implement bool empty() [bug 490]
10056
10057 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10058
10059         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10060
10061 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10062
10063         * several files: ws changes
10064
10065 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10066
10067         * text2.C (setCounter): clean up a bit, use boost.format.
10068         (updateCounters): initialize par upon declaration.
10069
10070         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10071         if the layout exists. We do not just store the layout any more.
10072         (SwitchLayoutsBetweenClasses): use boost.format
10073
10074 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10075
10076         * converter.C (convert): if from and to files are the same, use a
10077         temporary files as intermediary
10078
10079 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10080
10081         * commandtags.h:
10082         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10083
10084 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10085
10086         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10087
10088 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10089
10090         * tabular.C (asciiPrintCell): use string(size, char) instead of
10091         explicit loop.
10092
10093         * sgml.C (openTag): fix order of arguments to string constructor
10094         (closeTag): ditto
10095
10096         * lyxfunc.C (dispatch): use boost.format
10097
10098         * lots of files: change "c" -> 'c'
10099
10100 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10101
10102         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10103
10104 2002-11-25  Angus Leeming  <leeming@lyx.org>
10105
10106         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10107
10108         * lyx_main.C (init): compile fix.
10109
10110 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10111
10112         * lyx_cb.C (start): boost.formatify
10113         do not include <iostream>
10114
10115         * lengthcommon.C: ws only
10116
10117         * boost-inst.C,BoostFormat.h: add more explict instantations
10118
10119 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10120
10121         * lots of files: handle USE_BOOST_FORMAT
10122
10123 2002-11-21  John Levon  <levon@movementarian.org>
10124
10125         * pspell.C: fix compile
10126
10127 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10128
10129         * lyxfunc.C (dispatch): use boost::format
10130         (open): ditto
10131         (doImport): ditto
10132
10133         * lyxfont.C (stateText): use boost::format
10134
10135         * lyx_main.C (LyX): use boost::format
10136         (init): ditto
10137         (queryUserLyXDir): ditto
10138         (readRcFile): ditto
10139         (parse_dbg): ditto
10140         (typedef boost::function): use the recommened syntax.
10141
10142         * importer.C (Import): use boost::format
10143
10144         * debug.C (showLevel): use boost::format
10145
10146         * converter.C (view): use boost::format
10147         (convert): ditto
10148         (move): ditto
10149         (scanLog): ditto
10150
10151         * bufferview_funcs.C (currentState): use boost::format
10152
10153         * bufferlist.C (emergencyWrite): use boost::format
10154
10155         * buffer.C (readLyXformat2): use boost::format
10156         (parseSingleLyXformat2Token): ditto
10157
10158         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10159
10160         * LaTeX.C (run): use boost::format
10161
10162         * Chktex.C (scanLogFile): use boost::format
10163
10164         * BufferView_pimpl.C (savePosition): use boost::format
10165         (restorePosition): ditto
10166         (MenuInsertLyXFile): ditto
10167
10168         * BoostFormat.h: help file for explicit instation.
10169
10170 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10171
10172         * tabular.C (latex): Support for block alignment in fixed width
10173         columns.
10174
10175 2002-11-17  John Levon  <levon@movementarian.org>
10176
10177         * BufferView_pimpl.C:
10178         * lyx_cb.C:
10179         * lyxfunc.C: split filedialog into open/save
10180
10181 2002-11-08  Juergen Vigna  <jug@sad.it>
10182
10183         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10184         by my last patch (hopefully).
10185
10186 2002-11-08  John Levon  <levon@movementarian.org>
10187
10188         * iterators.h:
10189         * iterators.C:
10190         * buffer.h:
10191         * buffer.C:
10192         * paragraph.h:
10193         * paragraph.C:
10194         * toc.h:
10195         * toc.C: ParConstIterator, and use it (from Lars)
10196
10197 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10198
10199         * lyxtextclass.[Ch]: revise and add doxygen comments
10200
10201 2002-11-07  John Levon  <levon@movementarian.org>
10202
10203         * text.C: fix progress value for spellchecker
10204
10205         * toc.C: fix navigate menu for insetwrap inside minipage
10206
10207         * paragraph_funcs.C: added FIXME for suspect code
10208
10209 2002-11-07  John Levon  <levon@movementarian.org>
10210
10211         * BufferView_pimpl.C: fix redrawing of insets
10212           on buffer switch
10213
10214 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10215
10216         * text2.C (updateCounters): fix bug 668
10217
10218 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10219
10220         * text3.C (dispatch): Do not make the buffer dirty when moving the
10221         cursor.
10222
10223 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10224
10225         * vc-backend.C: STRCONV
10226         (scanMaster): ditto
10227
10228         * text2.C (setCounter): STRCONV
10229
10230         * paragraph.C (asString): STRCONV
10231
10232         * lyxlength.C (asString): STRCONV
10233         (asLatexString): ditto
10234
10235         * lyxgluelength.C (asString): STRCONV
10236         (asLatexString): ditto
10237
10238         * lyxfunc.C (dispatch): STRCONV
10239         (open): ditto
10240
10241         * lyxfont.C (stateText): STRCONV
10242
10243         * importer.C (Import): STRCONV
10244
10245         * counters.C (labelItem): STRCONV
10246         (numberLabel): ditto
10247         (numberLabel): remove unused ostringstream o
10248
10249         * chset.C: STRCONV
10250         (loadFile): ditto
10251
10252         * bufferview_funcs.C (currentState): STRCONV
10253
10254         * buffer.C (readFile): STRCONV
10255         (asciiParagraph): ditto
10256         (makeLaTeXFile): ditto
10257
10258         * Spacing.C (writeEnvirBegin): STRCONV
10259
10260         * LaTeXFeatures.C (getLanguages): STRCONV
10261         (getPackages): ditto
10262         (getMacros): ditto
10263         (getBabelOptions): ditto
10264         (getTClassPreamble): ditto
10265         (getLyXSGMLEntities): ditto
10266         (getIncludedFiles): ditto
10267
10268         * LaTeX.C: STRCONV
10269         (run): ditto
10270         (scanAuxFile): ditto
10271         (deplog): ditto
10272
10273         * LString.h: add the STRCONV macros
10274
10275         * BufferView_pimpl.C (savePosition): STRCONV
10276         (restorePosition): ditto
10277         (MenuInsertLyXFile): ditto
10278
10279         * vc-backend.C (scanMaster): change from submatch[...] to
10280         submatch.str(...)
10281
10282         * funcrequest.C: include config.h
10283
10284         * factory.C: include config.h
10285
10286         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10287
10288         * box.C: include config.h
10289
10290         * LaTeX.C (scanAuxFile): change from submatch[...] to
10291         submatch.str(...)
10292         (deplog): ditto
10293
10294 2002-10-25  Angus Leeming  <leeming@lyx.org>
10295
10296         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10297
10298         * ispell.[Ch] (setError): new method.
10299         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10300         Use setError() insetead of goto END.
10301
10302         * lyx_cb.C (AutoSave): move out child process into new class
10303         AutoSaveBuffer.
10304
10305 2002-10-30  John Levon  <levon@movementarian.org>
10306
10307         * text3.C: make start appendix undoable
10308
10309 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10310
10311         * lyxlength.C (inPixels): Fix returned value.
10312
10313         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10314         environment.
10315
10316 2002-10-24  Angus Leeming  <leeming@lyx.org>
10317
10318         * lyxgluelength.h: no need to forward declare BufferParams
10319         or BufferView, so don't.
10320
10321 2002-10-21  John Levon  <levon@movementarian.org>
10322
10323         * BufferView.C: menuUndo ->undo, redo
10324
10325         * BufferView.h: document, remove dead, make some methods private
10326
10327         * paragraph_funcs.h:
10328         * paragraph_funcs.C:
10329         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10330
10331         * buffer.h:
10332         * buffer.C:
10333         * sgml.h:
10334         * sgml.C: move sgml open/close tag into sgml.C
10335
10336         * bufferview_funcs.h: unused prototype
10337
10338         * lyxfunc.h:
10339         * lyxfunc.C: remove unused
10340
10341         * lyxtext.h:
10342         * text.C: remove unused
10343
10344 2002-10-21  John Levon  <levon@movementarian.org>
10345
10346         * BufferView.h:
10347         * BufferView.C:
10348         * BufferView_pimpl.h:
10349         * BufferView_pimpl.C: fix mouse wheel handling based on
10350           patch from Darren Freeman
10351
10352 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10353
10354         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10355
10356 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10357
10358         * lyxlength.C (inPixels): Fix hanfling of negative length.
10359         Fix LyXLength::MU case.
10360
10361 2002-10-16  John Levon  <levon@movementarian.org>
10362
10363         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10364
10365 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10366
10367         * converter.C (view): add support for $$i (file name) and $$p
10368         (file path) for the viewer command. If $$i is not specified, then
10369         it is appended to the command (for compatibility with old syntax)
10370
10371 2002-10-14  Juergen Vigna  <jug@sad.it>
10372
10373         * undo_funcs.C (textHandleUndo): alter the order in which the
10374         new undopar is added to the LyXText, as we have to set first
10375         the right prev/next and then add it as otherwise the rebuild of
10376         LyXText is not correct. Also reset the cursor to the right paragraph,
10377         with this IMO we could remove the hack in "redoParagraphs()".
10378
10379 2002-10-09  Angus Leeming  <leeming@lyx.org>
10380
10381         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10382         to turn off an optimisation if a new inset is to be inserted.
10383
10384 2002-10-11 André Pönitz <poenitz@gmx.net>
10385
10386         * lyxtext.h: make some functions public to allow access
10387         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10388
10389 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10390
10391         * text3.C (dispatch): when changing layout, avoid an infinite loop
10392         [bug #652]
10393
10394 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10395
10396         * lyxrc.C (read): treat a viewer or converter command of "none" as
10397         if it were empty.
10398
10399         * MenuBackend.C (expandFormats): for an update, also allow the
10400         formats that are not viewable
10401
10402         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10403         script if it is newer than the lyxrc.defaults in user directory
10404
10405 2002-10-07 André Pönitz <poenitz@gmx.net>
10406
10407         * text.C: Vitaly Lipatov's small i18n fix
10408
10409 2002-09-25  Angus Leeming  <leeming@lyx.org>
10410
10411         * ispell.h: doxygen fix.
10412
10413 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10414
10415         * buffer.h (readFile): Add a new argument to the method, to allow
10416         reading of old-format templates.
10417
10418 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10419
10420         * toc.C (getTocList): Get TOC from InsetWrap.
10421
10422 2002-09-16  John Levon  <levon@movementarian.org>
10423
10424         * lyxfunc.C: check tabular for cut/copy too
10425
10426 2002-09-12  John Levon  <levon@movementarian.org>
10427
10428         * LyXAction.C: tidy
10429
10430         * factory.h:
10431         * factory.C: add header
10432
10433         * paragraph_funcs.h:
10434         * paragraph_funcs.C: cleanup
10435
10436 2002-09-11  John Levon  <levon@movementarian.org>
10437
10438         * PrinterParams.h: odd/even default to true
10439
10440 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10441
10442         * PrinterParams.h: update printer parameters for new xforms dialog
10443
10444 2002-09-11  Angus Leeming  <leeming@lyx.org>
10445
10446         * lyxserver.C (read_ready): re-write to make it more transparent
10447         and to make it work in coherent fashion under Tru64 Unix.
10448
10449 2002-09-11  André Pönitz <poenitz@gmx.net>
10450
10451         * commandtags.h:
10452         * LyXAction.C:
10453         * text3.C: implement LFUN_WORDSEL
10454
10455 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10456
10457         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10458         make floatlist_ a boost::shared_ptr<FloatList>
10459
10460         * lyxtextclass.C: include FloatList.h
10461         (LyXTextClass): initialize floatlist_
10462         (TextClassTags): add TC_NOFLOAT
10463         (Read): match "nofloat" to TC_NOFLOAT and use it.
10464         (readFloat): modify call to floatlist_
10465         (floats): ditto
10466         (floats): ditto
10467
10468         * FloatList.[Ch] (FloatList): remove commented out float
10469         initialization.
10470         (erase): new function
10471
10472 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10473
10474         * MenuBackend.C (expandToc): fix crash when there is no document
10475         open
10476
10477 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10478
10479         * many files: Add insetwrap.
10480
10481 2002-09-09  John Levon  <levon@movementarian.org>
10482
10483         * text2.C: remove confusing and awkward depth wraparound
10484
10485 2002-09-09  John Levon  <levon@movementarian.org>
10486
10487         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10488
10489         * buffer.h:
10490         * buffer.C: remove getIncludeonlyList()
10491
10492         * paragraph.C:
10493         * lyxfunc.C: remove headers
10494
10495 2002-09-09  Juergen Vigna  <jug@sad.it>
10496
10497         * text.C (getColumnNearX): fix form Michael this is most
10498         probably a cut&paste bug.
10499
10500 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10501
10502         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10503
10504         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10505         references, ws changes.
10506
10507         * text2.C (init): update counters after init
10508         (insertParagraph): no need to set counter on idividual paragraphs.
10509         (setCounter): access the counters object in the textclass object
10510         on in the buffer object.
10511         (updateCounters): ditto
10512
10513         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10514         shared_ptr<Counters> to avoid loading counters.h in all
10515         compilation units.
10516         (LyXTextClass): initialize ctrs_
10517         (TextClassTags): add TC_COUNTER, and ...
10518         (Read): use it here.
10519         (CounterTags): new tags
10520         (readCounter): new function
10521         (counters): new funtion
10522         (defaultLayoutName): return a const reference
10523
10524         * counters.C (Counters): remove contructor
10525         (newCounter): remove a couple of unneeded statements.
10526         (newCounter): simplify a bit.
10527         (numberLabel): some small formatting changes.
10528
10529         * buffer.[Ch]: remove all traces of counters, move the Counters
10530         object to the LyXTextClass.
10531
10532 2002-09-06  Alain Castera  <castera@in2p3.fr>
10533
10534         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10535         package to set the horizontal alignment on fixed width columns.
10536
10537         * lyx_sty.C:
10538         * lyx_sty.h: added tabularnewline macro def.
10539
10540         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10541
10542 2002-09-06  John Levon  <levon@movementarian.org>
10543
10544         * LyXAction.C: tooltips for sub/superscript
10545
10546         * MenuBackend.C: a bit more verbose
10547
10548         * lyxfunc.C: tiny clean
10549
10550         * undo_funcs.C: document undo_frozen
10551
10552 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10553
10554         * counters.C (Counters): add missing algorithm counter.
10555
10556         * text2.C (setCounter): lookup the counter with layouts latexname
10557         instead of by section number.
10558         (setCounter): use a hackish way to lookup the correct enum
10559         counter.
10560         a float name->type change
10561         reset enum couners with counter name directly instead of depth value.
10562
10563         * counters.C (Counters): remove the push_backs, change to use the
10564         float type not the float name.
10565         (labelItem): remove unused string, float name->type change
10566
10567         * counters.h: don't include vector, loose the enums and sects vectors
10568
10569 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10570
10571         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10572         (Read): add float->TC_FLOAT to textclassTags
10573         (Read): and handle it in the switch
10574         (readFloat): new function
10575
10576         * FloatList.C (FloatList): comment out the hardcoded float
10577         definitions.
10578
10579         * lyxlayout.h: ws change.
10580
10581 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10582
10583         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10584
10585 2002-09-03  Angus Leeming  <leeming@lyx.org>
10586
10587         * BufferView_pimpl.h: qualified name is not allowed in member
10588         declaration: WorkArea & Pimpl::workarea() const;
10589
10590         * factory.C: added using std::endl directive.
10591
10592         * text3.C: added using std::find and std::vector directives.
10593
10594 2002-08-29  André Pönitz <poenitz@gmx.net>
10595
10596         * lyxtext.h:
10597         * text2.C: remove unused member number_of_rows
10598
10599         * Makefile.am:
10600         * BufferView2.C: remove file, move contents to...
10601         * BufferView.C: ... here
10602
10603         * BufferView_pimpl.C:
10604         * factory.C: move more inset creation to factory
10605
10606         * vspace.C: avoid direct usage of LyXText, ws changes
10607
10608         * BufferView.[Ch]:
10609                 don't provide direct access to WorkArea, use two simple
10610                 acessors haveSelction() and workHeight() instead
10611
10612
10613 2002-08-29  John Levon  <levon@movementarian.org>
10614
10615         * BufferView_pimpl.C (dispatch): do not continue when
10616           no buffer
10617
10618 2002-08-28  André Pönitz <poenitz@gmx.net>
10619
10620         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10621
10622         * BufferView.h:
10623         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10624
10625 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10626
10627         * buffer.C: increment LYX_FORMAT to 221
10628
10629         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10630         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10631
10632         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10633
10634         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10635
10636 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10637
10638         * factory.C (createInset): use LyXTextClass::floats
10639
10640         * MenuBackend.C (expandFloatListInsert):
10641         (expandFloatInsert):
10642         (expandToc):
10643
10644         * text2.C (setCounter):
10645
10646         * LaTeXFeatures.C (useFloat):
10647         (getFloatDefinitions):
10648
10649         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10650
10651         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10652         floatlist_, with accessor floats().
10653
10654         * FloatList.h: remove global FloatList
10655
10656 2002-08-26  André Pönitz <poenitz@gmx.net>
10657
10658         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10659
10660         * BufferView.h:
10661         * BufferView2.C:
10662         * BufferView_pimpl.C:
10663         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10664
10665 2002-08-25  John Levon  <levon@movementarian.org>
10666
10667         * LyXAction.C: fix margin note description
10668
10669 2002-08-24  John Levon  <levon@movementarian.org>
10670
10671         * buffer.C:
10672         * bufferlist.C:
10673         * bufferview_funcs.C:
10674         * lyxfont.C:
10675         * undo_funcs.C: cleanups
10676
10677         * lyxfunc.C: disable CUT/COPY when no selection
10678
10679 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10680
10681         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10682         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10683
10684         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10685         Add backward compatibility to "mono", "gray" and "no".
10686
10687 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10688
10689         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10690         (and file_format >= 200).
10691
10692 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10693
10694         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10695
10696 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10697
10698         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10699
10700 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10701
10702         * BufferView_pimpl.C:
10703         * LyXAction.C:
10704         * buffer.C:
10705         * commandtags.h:
10706         * lyxfunc.C:
10707         * paragraph.[Ch]:
10708         * text2.C:
10709         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10710         inset and code to make it  work with the paragraph code. The inset
10711         can be anywhere in the paragraph, but will only do the expected
10712         thing in LaTeX if the layout file contains the parameter line
10713                         OptionalArgs    1
10714         (or more generally, a nonzero value) for that layout.
10715
10716 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10717
10718         * paragraph.h: remove the declaration of undefined counters class
10719         function.
10720
10721 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10722
10723         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10724         Dr. Richard Hawkins.
10725
10726 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10727
10728         * paragraph_funcs.h: remove some unneeded includes
10729
10730         * text.C (backspace): pasteParagraph now in global scipe
10731
10732         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10733         (pasteSelection): ditto
10734
10735         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10736         * paragraph_funcs.C (pasteParagraph): ... here
10737
10738 2002-08-20  André Pönitz <poenitz@gmx.net>
10739
10740         * commandtags.h: new LFUNs for swapping/copying table row/colums
10741
10742         * LyXAction.C:
10743         * lyxfunc.C: support for new lfuns
10744
10745 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10746
10747         * tabular.C:
10748         * buffer.[Ch]: remove NO_COMPABILITY stuff
10749
10750 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10751
10752         * boost.C (throw_exception): new file, with helper function for
10753         boost compiled without exceptions.
10754
10755         * paragraph.h:
10756         * lyxlength.C:
10757         * buffer.C:
10758         * ParameterStruct.h:
10759         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10760
10761         * bufferlist.C (emergencyWriteAll): use boost bind
10762
10763         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10764
10765         * text.C: include paragraph_funcs.h
10766         (breakParagraph): breakParagraph is now in global scope
10767
10768         * paragraph_funcs.[Ch]: new files
10769
10770         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10771         global scope
10772
10773         * buffer.C: include paragraph_funcs.h
10774         (insertStringAsLines): breakParagraph is now in global scope
10775
10776         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10777         paragraph_funcs.C
10778
10779         * CutAndPaste.C: include paragraph_funcs.h
10780         (cutSelection): breakParagraphConservative is now in global scope
10781         (pasteSelection): ditto
10782
10783         * buffer.h: declare oprator== and operator!= for
10784         Buffer::inset_iterator
10785
10786         * bufferlist.C (emergencyWrite): don't use fmt(...)
10787
10788         * text3.C: add using std::endl
10789
10790         * BufferView.C (moveCursorUpdate): remove default arg
10791
10792 2002-08-20  André Pönitz <poenitz@gmx.net>
10793
10794         * buffer.[Ch]: move inline functions to .C
10795
10796         * BufferView2.C:
10797         * BufferView_pimpl.C:
10798         * text.C:
10799         * buffer.[Ch]: use improved inset_iterator
10800
10801         * buffer.C:
10802         * paragraph.[Ch]: write one paragraph at a time
10803
10804 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10805
10806         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10807         style if style is not specified.
10808
10809 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10810
10811         * text2.C (setCounter): when searching for right label for a
10812         caption, make sure to recurse to parent insets (so that a caption
10813         in a minipage in a figure float works) (bug #568)
10814
10815 2002-08-20  André Pönitz <poenitz@gmx.net>
10816
10817         * text3.C: new file for LyXText::dispatch() and helpers
10818
10819         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10820
10821         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10822
10823 2002-08-19  André Pönitz <poenitz@gmx.net>
10824
10825         * lyxtext.h:
10826         * text.C: new LyXText::dispatch()
10827
10828         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10829
10830 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10831
10832         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10833
10834         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10835         Hebrew text.
10836
10837 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10838
10839         * Makefile.am: use $(variables) instead of @substitutions@
10840
10841 2002-08-15  André Pönitz <poenitz@gmx.net>
10842
10843         * lyxfunc.C:
10844         * BufferView_pimpl.C: streamlining mathed <-> outer world
10845         interaction
10846
10847         * commandtags.h:
10848         * LyXAction.C: remove unused LFUN_MATH
10849
10850 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10851
10852         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10853
10854 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10855
10856         * paragraph.C (Paragraph): reformat a bit
10857         (cutIntoMinibuffer): use builtin InsetList function instad of
10858         doing it manually.
10859         (getInset): ditto
10860
10861         * buffer.C: include boost/bind.hpp, add using std::for_each
10862         (writeFileAscii): use ParagraphList iterators
10863         (validate): use for_each for validate traversal of paragraphs
10864         (getBibkeyList): use ParagraphList iterators
10865         (resizeInsets): use for_each to resizeInsetsLyXText for all
10866         paragraphs.
10867         (getParFromID): use ParagraphList iterators
10868
10869         * BufferView2.C (lockInset): use paragraph list and iterators
10870
10871 2002-08-14  John Levon  <levon@movementarian.org>
10872
10873         * lyxserver.C: remove spurious xforms include
10874
10875 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10876
10877         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10878
10879 2002-08-13  André Pönitz <poenitz@gmx.net>
10880
10881         * LyXAction.[Ch]:
10882         * lyxfunc.C: further cleaning
10883
10884 2002-08-13  André Pönitz <poenitz@gmx.net>
10885
10886         * funcrequest.h: new constructor
10887
10888         * funcrequest.C: move stuff here from .h
10889
10890         * Makefile.am:
10891         * BufferView_pimpl.C:
10892         * LyXAction.C:
10893         * toc.C:
10894         * lyxfunc.C: subsequent changes
10895
10896         * lyxfunc.h: new view() member function
10897
10898         * lyxfunc.C: subsequent changes
10899
10900 2002-08-13  Angus Leeming  <leeming@lyx.org>
10901
10902         * BufferView2.C:
10903         * BufferView_pimpl.C:
10904         * buffer.C:
10905         * converter.C:
10906         * importer.C:
10907         * lyxfunc.C:
10908         * lyxvc.C:
10909         * toc.C:
10910         * vc-backend.C:
10911         changes due to the changed LyXView interface that now returns references
10912         to member variables not pointers.
10913
10914 2002-08-13  Angus Leeming  <leeming@lyx.org>
10915
10916         * WordLangTuple (word, lang_code): return references to strings,
10917         not strings.
10918
10919         * BufferView.h:
10920         * SpellBase.h:
10921         * lyxtext.h: forward-declare WordLangTuple.
10922
10923         * BufferView2.C:
10924         * ispell.C:
10925         * pspell.C:
10926         * text.C: #include "WordLangTuple.h".
10927
10928         * lyxtext.h:
10929         * text.C: (selectNextWordToSpellcheck): constify return type.
10930
10931 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10932
10933         * buffer.C:
10934         * buffer.h:
10935         * lyxtext.h:
10936         * paragraph.C:
10937         * paragraph_pimpl.h:
10938         * text.C:
10939         * text2.C:
10940         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10941         suggested by Angus.
10942         Made updateCounter always count from start of buffer, and removed
10943         second argument (par).
10944         Reverted floats number display to '#'. Perhaps I'll try again when the
10945         code base is sanitized a bit.
10946
10947 2002-08-12  Angus Leeming  <leeming@lyx.org>
10948
10949         * buffer.[Ch] (getLabelList): constify.
10950
10951 2002-08-07  André Pönitz <poenitz@gmx.net>
10952
10953         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10954
10955         * funcrequest.h: extension to keep mouse (x,y) position
10956
10957 2002-08-12  Juergen Vigna  <jug@sad.it>
10958
10959         * BufferView2.C (insertErrors): forbid undo when inserting error
10960         insets.
10961
10962         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10963
10964 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10965
10966         * ParagraphList.[Ch]: new files
10967
10968         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10969
10970         * BufferView2.C (lockInset): ParagraphList changes
10971         * toc.C: ditto
10972         * text2.C: ditto
10973         * bufferlist.C: ditto
10974         * buffer.h: ditto
10975         * buffer.C: ditto
10976
10977 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10978
10979         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10980         unused class variable counter_,
10981
10982         * paragraph.[Ch] (getFirstCounter): delete unused function
10983
10984         * counters.C: include LAssert.h
10985         (reset): add a new function with no arg, change other version to
10986         not have def. arg and to not allow empty arg.
10987
10988         * text2.C (setCounter): remove empty arg from call to Counters::reset
10989
10990 2002-08-11  John Levon  <levon@movementarian.org>
10991
10992         * Makefile.am: add WordLangTuple.h
10993
10994 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10995
10996         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10997         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10998
10999         * insets/insettext.C: InsetList changes
11000
11001         * graphics/GraphicsSupport.C (operator()): InsetList changes
11002
11003         * toc.C (getTocList): InsetList changes
11004
11005         * paragraph_pimpl.[Ch]: InsetList changes
11006
11007         * paragraph.[Ch]: InsetList changes
11008
11009         * buffer.C (inset_iterator): InsetList changes
11010         (setParagraph): ditto
11011         * buffer.h (inset_iterator): ditto
11012         * iterators.C (operator++): ditto
11013         * iterators.h: ditto
11014
11015         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11016
11017         * InsetList.[Ch]: new files, most InsetList handling moved out of
11018         paragraph.C.
11019
11020         * BufferView2.C (removeAutoInsets): InsetList changes
11021         (lockInset): ditto
11022         (ChangeInsets): ditto
11023
11024 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11025
11026         * paragraph_pimpl.h (empty): new function
11027
11028         * paragraph.[Ch] (empty): new function
11029
11030         * other files: use the new Paragraph::empty function
11031
11032 2002-08-09  John Levon  <levon@movementarian.org>
11033
11034         * lyxtext.h: remove unused refresh_height
11035
11036 2002-08-09  John Levon  <levon@movementarian.org>
11037
11038         * Makefile.am:
11039         * sgml.h:
11040         * sgml.C:
11041         * buffer.C:
11042         * paragraph.h:
11043         * paragraph.C: move sgml char escaping out of paragraph
11044
11045         * paragraph.h:
11046         * paragraph.C: remove id setter
11047
11048         * buffer.C:
11049         * paragraph.C:
11050         * paragraph_pimpl.C: remove dead tex_code_break_column
11051
11052         * bufferview_funcs.C: small cleanup
11053
11054         * lyxfunc.C: remove dead proto
11055
11056         * lyxtext.h: make some stuff private. Remove some dead stuff.
11057
11058         * lyxgluelength.C: make as[LyX]String() readable
11059
11060 2002-08-08  John Levon  <levon@movementarian.org>
11061
11062         * LyXAction.h:
11063         * LyXAction.C:
11064         * MenuBackend.C:
11065         * ToolbarDefaults.C:
11066         * lyxfunc.C:
11067         * lyxrc.C:
11068         * toc.C: lyxaction cleanup
11069
11070 2002-08-08  John Levon  <levon@movementarian.org>
11071
11072         * BufferView2.C: small cleanup
11073
11074         * lyxfind.h:
11075         * lyxfind.C: move unnecessary header into the .C
11076
11077 2002-08-08  John Levon  <levon@movementarian.org>
11078
11079         * funcrequest.h: just tedious nonsense
11080
11081         * lyx_main.h:
11082         * lyx_main.C: cleanups
11083
11084         * buffer.C:
11085         * vspace.C: remove dead header lyx_main.h
11086
11087 2002-08-07  Angus Leeming  <leeming@lyx.org>
11088
11089         * Paragraph.[Ch]:
11090         * paragraph_pimpl.h:
11091         Forward declare class Counters in paragraph.h by moving the ctrs member
11092         variable into Paragraph::Pimpl.
11093         (counters): new method, returning a reference to pimpl_->ctrs.
11094
11095         * text2.C: ensuing changes.
11096
11097 2002-08-07  John Levon  <levon@movementarian.org>
11098
11099         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11100
11101         * BufferView_pimpl.C: announce X selection on double/triple
11102           click
11103
11104         * lyx_main.C: use correct bool in batch dispatch
11105
11106         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11107
11108 2002-08-07  André Pönitz <poenitz@gmx.net>
11109
11110         * funcrequest.h: new class to wrap a kb_action and its argument
11111
11112         * BufferView.[Ch]:
11113         * BufferView_pimpl[Ch]:
11114         * LaTeX.C:
11115         * LyXAction.[Ch]:
11116         * lyxfunc.[Ch]:
11117         * lyxrc.C: subsequent changes
11118
11119
11120 2002-08-07  John Levon  <levon@movementarian.org>
11121
11122         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11123           document options change.
11124
11125 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11126
11127         * counters.[Ch]
11128         * text2.C
11129         * paragraph.[Ch]
11130         * makefile.am: move counters functionality over from
11131         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11132
11133 2002-08-06  John Levon  <levon@movementarian.org>
11134
11135         * WordLangTuple.h: new file for word + language code tuple
11136
11137         * SpellBase.h:
11138         * pspell.h:
11139         * pspell.C:
11140         * ispell.h:
11141         * ispell.C:
11142         * lyxtext.h:
11143         * text.C:
11144         * text2.C:
11145         * BufferView.h:
11146         * BufferView2.C: use WordLangTuple
11147
11148         * layout.h:
11149         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11150
11151 2002-08-06  John Levon  <levon@movementarian.org>
11152
11153         * lyx_main.C: fix cmdline batch handling
11154
11155 2002-08-06  André Pönitz <poenitz@gmx.net>
11156
11157         * lyxrc.C: set default for show_banner to true
11158
11159 2002-08-06  John Levon  <levon@movementarian.org>
11160
11161         * pspell.C: fix a crash, and allow new aspell to work
11162
11163 2002-08-06  John Levon  <levon@movementarian.org>
11164
11165         * lyxfunc.C:
11166         * kbmap.C: small cleanup
11167
11168         * vspace.h:
11169         * vspace.C: add const
11170
11171 2002-08-05  John Levon  <levon@movementarian.org>
11172
11173         * LyXAction.C: back to tabular-insert
11174
11175 2002-08-04  John Levon  <levon@movementarian.org>
11176
11177         * BufferView.h:
11178         * BufferView.C: cosmetic change
11179
11180         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11181
11182         * bufferlist.C:
11183         * buffer.h:
11184         * buffer.C:
11185         * lyxcb.h:
11186         * lyxcb.C:
11187         * lyxserver.C:
11188         * lyxvc.C:
11189         * vc-backend.C:
11190         * BufferView2.C: purge all "Lyx" not "LyX" strings
11191
11192         * lyxcursor.h:
11193         * lyxcursor.C: attempt to add some documentation
11194
11195         * lyxfunc.C:
11196         * commandtags.h:
11197         * LyXAction.C:
11198         * ToolbarDefaults.C:
11199         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11200           merge with LFUN_TABULAR_INSERT
11201
11202         * Makefile.am:
11203         * SpellBase.h:
11204         * ispell.h:
11205         * ispell.C:
11206         * pspell.h:
11207         * pspell.C: split up i/pspell implementations into separate
11208           files, many cleanups
11209
11210         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11211
11212         * text2.C: some cleanup
11213
11214         * lyxfunc.C: don't check for isp_command == "none" any more, it
11215           didn't make any sense
11216
11217 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11218
11219         * counters.[Ch]
11220         * text2.C
11221         * paragraph.[Ch]
11222         * makefile.am: move counters functionality over
11223         from text2.C/paragraph.[Ch] to counters.[Ch], and
11224         make proper C++.
11225 2002-08-02  John Levon  <levon@movementarian.org>
11226
11227         * buffer.C: s/lyxconvert/lyx2lyx/
11228
11229 2002-08-02  Angus Leeming  <leeming@lyx.org>
11230
11231         * lyxlex.C: revert John's change as it breaks reading of the user
11232         preamble.
11233
11234 2002-08-02  Angus Leeming  <leeming@lyx.org>
11235
11236         * importer.C (Import):
11237         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11238         changes due to LyXView::view() now returning a boost::shared_ptr.
11239
11240 2002-08-02  John Levon  <levon@movementarian.org>
11241
11242         * lyxlex.C: small cleanup
11243
11244 2002-08-02  John Levon  <levon@movementarian.org>
11245
11246         * text2.C (status): small cleanup, no logic change
11247
11248 2002-08-01  John Levon  <levon@movementarian.org>
11249
11250         * buffer.h:
11251         * buffer.C (writeFile): don't output alerts, caller
11252           handles this
11253
11254         * bufferlist.C:
11255         * lyx_cb.C: from above
11256
11257         * lyxfunc.C: allow to open non-existent files
11258
11259 2002-07-31  John Levon  <levon@movementarian.org>
11260
11261         * lyxserver.C: don't let incidental errors get
11262           in the way (errno)
11263
11264 2002-07-30  John Levon  <levon@movementarian.org>
11265
11266         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11267
11268 2002-07-30  John Levon  <levon@movementarian.org>
11269
11270         * lyxserver.h:
11271         * lyxserver.C: remove I/O callback too
11272
11273 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11274
11275         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11276         log.
11277
11278 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11279
11280         * many files: strip,frontStrip -> trim,ltrim,rtrim
11281
11282 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11283
11284         * PrinterParams.h: remove extern containsOnly, and include
11285         support/lstrings.h instead.
11286
11287         * LaTeX.C (scanAuxFile): modify because of strip changes
11288         (deplog): ditto
11289         * buffer.C (makeLaTeXFile): ditto
11290         * bufferparams.C (writeFile): ditt
11291         * lyxfont.C (stateText): ditto
11292         * lyxserver.C (read_ready): ditto
11293         * vc-backend.C (scanMaster): ditto
11294
11295         * BufferView_pimpl.h: ws changes
11296
11297         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11298
11299 2002-07-26  André Pönitz <poenitz@gmx.net>
11300
11301         * kb_sequence.C: remove unnedred usings
11302
11303 2002-07-26  Juergen Vigna  <jug@sad.it>
11304
11305         * lyxfind.C (LyXReplace): we have to check better if the returned
11306         text is not of theLockingInset()->getLockingInset().
11307
11308 2002-07-25  Juergen Vigna  <jug@sad.it>
11309
11310         * lyxfind.C (LyXReplace): don't replace if we don't get the
11311         right LyXText.
11312
11313         * undo_funcs.C (createUndo): remove debugging code.
11314
11315 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11316
11317         * buffer.C (parseSingleLyXformat2Token): Use default placement
11318         when reading old floats.
11319
11320         * FloatList.C (FloatList): Change the default placement of figure
11321         and tables to "tbp".
11322
11323 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11324
11325         * MenuBackend.C: using std::max
11326
11327 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11328
11329         * MenuBackend.C (expandToc):
11330         (expandToc2): code moved from xforms menu frontend. It is now
11331         generic and TOCs are transparent to menu frontends.
11332
11333 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11334
11335         * toc.C (getTocList): protect against buf=0
11336
11337         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11338         Menu as first parameter. Now, this calls itself recursively to
11339         expand a whole tree (this will be useful for TOC handling)
11340         (expandFloatInsert): remove 'wide' version of floats
11341
11342         * MenuBackend.h (submenuname): returns the name of the submenu.
11343         (submenu): returns the submenu itself, provided it has been
11344         created by MenuBackend::expand
11345
11346 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11347
11348         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11349         insets which have noFontChange == true. (bug #172)
11350
11351 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11352
11353         * BufferView_pimpl.C: add connection objects and use them...
11354         (Pimpl): here.
11355
11356 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11357
11358         * MenuBackend.C (expandLastfiles):
11359         (expandDocuments):
11360         (expandFormats):
11361         (expandFloatListInsert):
11362         (expandFloatInsert):
11363         (expand): split expand in parts
11364
11365 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11366
11367         * lyx_gui.C: use lyx_gui::exit()
11368
11369 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11370
11371         * LyXAction.C: show the failing pseudo action
11372
11373 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11374
11375         * buffer.C (readFile): Run the lyxconvert script in order to read
11376         old files.
11377
11378 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11379
11380         * LyXAction.C:
11381         * commandtags.h:
11382         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11383
11384 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11385
11386         * LyXAction.C:
11387         * commandtags.h:
11388         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11389
11390 2002-07-22  Herbert Voss  <voss@lyx.org>
11391
11392         * lengthcommon.C:
11393         * lyxlength.[Ch]: add support for the vertical lengths
11394
11395 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11396
11397         * toc.[Ch]: std:: fixes
11398
11399 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11400
11401         * lyxrc.C: do not include lyx_main.h
11402
11403         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11404         for layouts
11405
11406         * lyxrc.C:
11407         * encoding.C:
11408         * bufferlist.C:
11409         * BufferView2.C: include "lyxlex.h"
11410
11411         * tabular.h:
11412         * bufferparams.h: do not #include "lyxlex.h"
11413
11414         * lyxtextclasslist.C (Add): remove method
11415         (classlist): renamed to classlist_
11416
11417         * paragraph_pimpl.C:
11418         * paragraph.C:
11419         * text2.C:
11420         * CutAndPaste.C:
11421         * bufferview_funcs.C:
11422         * bufferlist.C:
11423         * text.C:
11424         * LaTeXFeatures.C:
11425         * buffer.C:
11426         * toc.C (getTocList): use BufferParams::getLyXTextClass
11427
11428         * toc.C (getTocList): use InsetFloat::addToToc
11429
11430         * toc.[Ch]: new files, containing helper functions to handle table
11431         of contents
11432
11433         * lyxfunc.C (dispatch): no need to remove spaces around command
11434         given as a string
11435         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11436         first command of the sequence; it is not very clever, but I do not
11437         have a better idea, actually
11438
11439         * LyXAction.C (LookupFunc): make sure to remove space at the
11440         beginning and end of the command
11441
11442 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11443
11444         * MenuBackend.C (getMenubar): new method: return the menubar of
11445         this menu set
11446         (read): treat differently reading of menu and menubar (in
11447         particular, the menubar has no name now)
11448         (Menu::menubar): remove
11449
11450         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11451         saving is finished
11452
11453 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11454
11455         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11456         a bibitem inset in a RTL paragraph.
11457
11458 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11459
11460         * paragraph_pimpl.C: constify
11461
11462         * BufferView_pimpl.C:
11463         * LaTeX.C:
11464         * lyxfunc.C: fix dispatch in a nicer way
11465
11466 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11467
11468         * lyxfunc.C (dispatch):
11469         * BufferView_pimpl.C:
11470         * BufferView_pimpl.h:
11471         * BufferView.C:
11472         * BufferView.h: rename Dispatch() to dispatch()
11473
11474         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11475
11476         * lyxlayout.C (Read): honor DependsOn tag
11477
11478         * lyxlayout.[Ch] (depends_on): new method
11479
11480         * version.C.in: update lyx_docversion
11481
11482         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11483
11484         * paragraph.C (validate): remove from here...
11485         * paragraph_pimpl.C (validate): ... and move here
11486         (isTextAt): make it const
11487
11488         * buffer.C (getLists): ws cleanup
11489
11490 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11491
11492         * language.C (read): Use iso8859-1 encoding in latex_lang
11493         (this prevents LyX from crashing when using iso10646-1 encoding).
11494
11495 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11496
11497         * text2.C (toggleInset): if cursor is inside an inset, close the
11498         inset and leave cursor _after_ it
11499
11500 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11501
11502         * lyxfunc.C: move minibuffer completion handling out of here
11503
11504 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11505
11506         * BufferView_pimpl.C:
11507         * LaTeX.C: fix dispatch calls
11508
11509 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11510
11511         * text.C (drawChars): Fix Arabic text rendering.
11512
11513 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11514
11515         * LyXAction.C:
11516         * commandtags.h:
11517         * lyxfunc.C: remove message-push/pop
11518
11519         * lyxserver.C:
11520         * lyxfunc.h:
11521         * lyxfunc.C: rationalise some code by removing verboseDispatch
11522           in favour of a bool argument to dispatch()
11523
11524 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11525
11526         * lyx_main.C (init): make sure to read symlinks as absolute paths
11527
11528 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11529
11530         * lyxfunc.h:
11531         * lyxfunc.C: no need for commandshortcut to be a member
11532
11533 2002-07-15  André Pönitz <poenitz@gmx.net>
11534
11535         * converter.C: add support for $$s (scripts from lib/scripts dir)
11536         * lyx_main.C: white space
11537
11538 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11539
11540         * bufferlist.C:
11541         * lyxrc.h:
11542         * lyxrc.C: remove second exit confirmation
11543
11544 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11545
11546         * BufferView.h:
11547         * BufferView.C:
11548         * BufferView2.C:
11549         * BufferView_pimpl.h:
11550         * BufferView_pimpl.C:
11551         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11552
11553 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11554
11555         * MenuBackend.C (expand): add numeric shortcuts to document menu
11556
11557         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11558
11559 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11560
11561         * lyxfont.C (setLyXFamily):
11562         (setLyXSeries):
11563         (setLyXShape):
11564         (setLyXSize):
11565         (setLyXMisc):
11566         (lyxRead):
11567         * debug.C (value):
11568         * buffer.C (asciiParagraph): use ascii_lowercase
11569
11570 2002-07-15  Mike Fabian  <mfabian@suse.de>
11571
11572         * lyxlex_pimpl.C (search_kw):
11573         * lyxlex.C (getLongString):
11574         * converter.h (operator<):
11575         * converter.C (operator<):
11576         * buffer.C (parseSingleLyXformat2Token):
11577         (asciiParagraph):
11578         * ToolbarDefaults.C (read):
11579         * MenuBackend.C (checkShortcuts):
11580         (read):
11581         * LColor.C (getFromGUIName):
11582         (getFromLyXName): use the compare_ascii_no_case instead of
11583         compare_no_case, because in turkish, 'i' is not the lowercase
11584         version of 'I', and thus turkish locale breaks parsing of tags.
11585
11586 2002-07-16  Angus Leeming  <leeming@lyx.org>
11587
11588         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11589         now takes a Buffer const & argument.
11590
11591 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11592
11593         * BufferView.C (resize): check there's a buffer to resize
11594
11595 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11596
11597         * lyxfunc.C: remove dead code
11598
11599         * lyxserver.h:
11600         * lyxserver.C: use lyx_guii::set_read_callback
11601
11602 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11603
11604         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11605         an inset in a RTL paragraph.
11606
11607 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11608
11609         * lyxfunc.C: repaint after a font size update
11610
11611 2002-07-15  André Pönitz <poenitz@gmx.net>
11612
11613         * lyxlength.C: inBP should be able to return negative values
11614
11615 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11616
11617         * lyxfunc.C: use lyx_gui::update_fonts()
11618
11619 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11620
11621         * lyxfunc.C: use lyx_gui::update_color()
11622
11623 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11624
11625         * bufferlist.C:
11626         * lyxfunc.h:
11627         * lyxfunc.C:
11628         * lyxrc.h:
11629         * lyxrc.C: remove file->new asks for name option, and let
11630           buffer-new take an argument
11631
11632 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11633
11634         * BufferView_pimpl.C: remove unneeded extra repaint()
11635
11636 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11637
11638         * LyXAction.C: allow command-sequence with NoBuffer
11639
11640         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11641
11642 2002-07-10  Angus Leeming  <leeming@lyx.org>
11643
11644         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11645
11646 2002-07-09  Angus Leeming  <leeming@lyx.org>
11647
11648         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11649
11650 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11651
11652         * lengthcommon.h: whitespace
11653
11654         * lyxfunc.C: update scrollbar after goto paragraph
11655
11656         * lyxtext.h: factor out page break drawing, and fix it so
11657           page break/added space paints as selected nicely
11658
11659 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11660
11661         * BufferView_pimpl.C: add FIXMEs, clean up a little
11662
11663 2002-07-09  André Pönitz <poenitz@gmx.net>
11664
11665         * lyxfont.[Ch]: support for wasy symbols
11666
11667 2002-07-08  André Pönitz <poenitz@gmx.net>
11668
11669         * BufferView_pimpl.C: apply John's patch for #93.
11670
11671 2002-07-05  Angus Leeming  <leeming@lyx.org>
11672
11673         * BufferView_pimpl.C (buffer): generate previews if desired.
11674
11675         * LColor.h: add "preview" to the color enum.
11676
11677         * LColor.C (LColor): add a corresponding entry to the items array.
11678
11679         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11680         with this buffer.
11681
11682 2002-07-05  Angus Leeming  <leeming@lyx.org>
11683
11684         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11685         The body of the code is now in the method that is passed an ostream &
11686         rather than a file name.
11687         Pass an additional only_preamble parameter, useful for the forthcoming
11688         preview stuff.
11689
11690 2002-07-03  André Pönitz <poenitz@gmx.net>
11691
11692         * lyxfunc.C: simplify getStatus() a bit for math stuff
11693
11694 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11695
11696         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11697
11698 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11699
11700         * text.C (changeRegionCase): do not change case of all the
11701         document when region ends at paragraph end (bug #461)
11702
11703 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11704
11705         * paragraph.C (startTeXParParams):
11706         (endTeXParParams): add \protect when necessary
11707
11708 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11709
11710         * BufferView_pimpl.C (workAreaExpose): remove warning
11711
11712 2002-06-27  Angus Leeming  <leeming@lyx.org>
11713
11714         * Makefile.am: add lyxlayout_ptr_fwd.h.
11715
11716 2002-06-26  André Pönitz <poenitz@gmx.net>
11717
11718         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11719
11720 2002-06-25  Angus Leeming  <leeming@lyx.org>
11721
11722         * lyxfunc.C (dispatch): Comment out the call to
11723         grfx::GCache::changeDisplay. The method no longer exists now that the
11724         pixmap generation part of the graphics loader has been moved into
11725         InsetGraphics.
11726
11727 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11728
11729         * text2.C: layout as layout
11730
11731         * text.C: layout as layout
11732
11733         * tabular.C (OldFormatRead): layout as layout
11734
11735         * paragraph_pimpl.C (TeXDeeper): layout as layout
11736         (realizeFont): layout as layout
11737
11738         * paragraph.C (writeFile): layout as layout
11739         (validate): layout as layout
11740         (getFont): layout as layout
11741         (getLabelFont): layout as layout
11742         (getLayoutFont): layout as layout
11743         (breakParagraph): layout as layout
11744         (stripLeadingSpaces): layout as layout
11745         (getEndLabel): layout as layout
11746         (getMaxDepthAfter): layout as layout
11747         (applyLayout): layout as layout
11748         (TeXOnePar): layout as layout
11749         (simpleTeXOnePar): layout as layout
11750         (TeXEnvironment): layout as layout
11751         (layout): layout as layout
11752         (layout): layout as layout
11753
11754         * lyxtextclass.C (compare_name): new functor to work with
11755         shared_ptr, layout as layout
11756         (Read): layout as layout
11757         (hasLayout): layout as layout
11758         (operator): layout as layout
11759         (delete_layout): layout as layout
11760         (defaultLayout): layout as layout
11761
11762         * lyxlayout_ptr_fwd.h: new file
11763
11764         * lyxlayout.C (Read): layout as layout
11765
11766         * lyx_cb.C (MenuInsertLabel): layout as layout
11767
11768         * bufferlist.C (newFile): layout as layout
11769
11770         * buffer.C (readLyXformat2): layout as layout
11771         (parseSingleLyXformat2Token): layout as layout
11772         (insertStringAsLines): layout as layout
11773         (asciiParagraph): layout as layout
11774         (latexParagraphs): layout as layout
11775         (makeLinuxDocFile): layout as layout
11776         (simpleLinuxDocOnePar): layout as layout
11777         (makeDocBookFile): layout as layout
11778         (simpleDocBookOnePar): layout as layout
11779         (getLists): layout as layout
11780
11781         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11782
11783         * CutAndPaste.C (cutSelection): layout as layout
11784         (pasteSelection): layout as layout
11785         (SwitchLayoutsBetweenClasses): layout as layout
11786
11787         * BufferView_pimpl.C (Dispatch): layout as layout
11788         (smartQuote): layout as layout
11789
11790         * BufferView2.C (unlockInset): layout as layout
11791
11792 2002-06-24  André Pönitz <poenitz@gmx.net>
11793
11794         * lyxfunc.C: fix #487
11795
11796 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11797
11798         * lyxrc.h:
11799         * lyxrc.C:
11800         * lyxfunc.C: remove display_shortcuts, show_banner
11801
11802 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11803
11804         * Buffer_pimpl.C: oops, update on resize
11805
11806 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11807
11808         * buffer.C:
11809         * converter.C:
11810         * exporter.C:
11811         * lyxfunc.C:
11812         * BufferView.h:
11813         * BufferView.C: use repaint()
11814
11815         * BufferView_pimpl.h:
11816         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11817           as it's a clearer description. Remove superfluous
11818           redraws.
11819
11820 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11821
11822         * text.C: fix bug 488. Not ideal, but getting
11823           getWord() to work properly for the insets that
11824           matter is more difficult ...
11825
11826 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11827
11828         * BufferView_pimpl.C:
11829         * LyXAction.C:
11830         * commandtags.h:
11831         * lyxfunc.C: remove the six million index lyxfuncs to just
11832           one, and DTRT (bug 458)
11833
11834 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11835
11836         * BufferView.h:
11837         * BufferView.C:
11838         * BufferView_pimpl.h:
11839         * BufferView_pimpl.C: clean up resize() stuff,
11840           and unnecessary updateScreen()s
11841
11842 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11843
11844         * BufferView.h:
11845         * BufferView.C:
11846         * BufferView_pimpl.h:
11847         * BufferView_pimpl.C:
11848         * lyxfind.h:
11849         * lyxfind.C:
11850         * minibuffer.C: remove focus management of workarea,
11851           not needed. Use screen's greyOut()
11852
11853 2002-06-17  Herbert Voss  <voss@lyx.org>
11854
11855         * converter.C: (convert) do not post a message, when converting
11856         fails, let the calling function decide what to do in this case
11857
11858 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11859
11860         * lyxfunc.C: tidy up a little
11861
11862 2002-06-16    <alstrup@diku.dk>
11863
11864         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11865         Got rid of FORMS_H_LOCATION include. Now we are
11866         GUII.
11867
11868 2002-06-15  LyX Development team  <lyx@rilke>
11869
11870         * buffer.[Ch] (sgmlOpenTag):
11871         (sgmlCloseTag): Added support for avoiding pernicious mixed
11872         content. Return number of lines written.
11873
11874         (makeLinuxDocFile):
11875         (makeDocBookFile): Fixed calls to sgml*Tag.
11876         Simple white space clean.
11877
11878         (simpleDocBookOnePar): Simple white space clean.
11879
11880         * tabular.[Ch] (docBook): Renamed to docbook and got another
11881         argument to related with the pernicious mixed content.
11882
11883         (docbookRow): Fixed calls for docbook inset method.
11884
11885 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11886
11887         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11888         so it's X11 independent.
11889
11890         * kb*.[Ch]: ditto.
11891
11892         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11893
11894 2002-06-15  Lyx Development team  <lyx@electronia>
11895
11896         * intl.h: Renamed getTrans to getTransManager.
11897
11898 2002-06-14  Angus Leeming  <leeming@lyx.org>
11899
11900         * Makefile.am: nuke forgotten stl_string_fwd.h.
11901
11902 2002-06-12  Angus Leeming  <leeming@lyx.org>
11903
11904         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11905
11906 2002-06-13  Angus Leeming  <leeming@lyx.org>
11907
11908         * LaTeX.C:
11909         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11910
11911 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11912
11913         * kbmap.C (getiso): add support for cyrillic and greek
11914
11915 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11916
11917         * BufferView.h:
11918         * BufferView.C:
11919         * BufferView_pimpl.h:
11920         * BufferView_pimpl.C: move bogus scrolling logic
11921           to xforms
11922
11923 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11924
11925         * lyxfunc.C:
11926         * BufferView_pimpl.C: view->resize() change
11927
11928 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11929
11930         * BufferView_pimpl.C: topCursorVisible
11931           prototype change
11932
11933 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11934
11935         * Makefile.am:
11936         * lyx_gui.h:
11937         * lyx_gui.C: move to frontends/
11938
11939         * main.C:
11940         * lyx_main.h:
11941         * lyx_main.C: changes from above
11942
11943 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11944
11945         * intl.C:
11946         * intl.h:
11947         * kbmap.C:
11948         * kbsequence.C:
11949         * lyx_cb.C:
11950         * lyx_main.C: minor tidy
11951
11952 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11953
11954         * BufferView_pimpl.h:
11955         * BufferView_pimpl.C:
11956         * BufferView.h:
11957         * BufferView.C: make painter() const,
11958           remove dead code
11959
11960         * BufferView2.C: use screen() accessor
11961
11962         * lyx_main.h:
11963         * lyx_main.C: some minor cleanup
11964
11965 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11966
11967         * BufferView_pimpl.h:
11968         * BufferView_pimpl.C: remove enter/leaveView,
11969           use workHeight()
11970
11971 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11972
11973         * BufferView.h:
11974         * BufferView.C:
11975         * BufferView2.C:
11976         * BufferView_pimpl.h:
11977         * BufferView_pimpl.C: only construct screen once,
11978           rename
11979
11980         * lyxrc.C: remove pointless comment
11981
11982 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11983
11984         * BufferView.h:
11985         * BufferView.C: remove active() and belowMouse()
11986
11987         * BufferView_pimpl.h:
11988         * BufferView_pimpl.C: use workarea() not workarea_,
11989           and make it use a scoped_ptr instead
11990
11991 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11992
11993         * lyx_gui.C: add debug message on BadWindow
11994
11995 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11996
11997         * sp_spell.C: fdopen is not part of the C++ standard.
11998
11999         * paragraph.C (InsetIterator): use >= instead of ==
12000
12001 2002-06-07  Angus Leeming  <leeming@lyx.org>
12002
12003         Fixes needed to compile with Compaq cxx 6.5.
12004         * BufferView_pimpl.C:
12005         * DepTable.C:
12006         * buffer.C:
12007         * converter.C:
12008         * encoding.C:
12009         * lyx_gui.C:
12010         * lyx_main.C:
12011         * lyxtextclasslist.C:
12012         * minibuffer.C:
12013         * sp_spell.C:
12014         * tabular_funcs.C:
12015         * vc-backend.C:
12016         all c-library variables have been moved into namespace std. Wrap
12017         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12018
12019         * lyxlength.C:
12020         * tabular-old.C:
12021         * tabular.C:
12022         Add a using std::abs declaration.
12023
12024         * kbmap.h (modifier_pair):
12025         * paragraph.h (InsetTable, InsetList):
12026         * lyxfont.h (FontBits):
12027         type definition made public.
12028
12029         * bufferlist.C (emergencyWriteAll): the compiler complains that
12030         there is more than one possible lyx::class_fun template to choose from.
12031         I re-named the void specialisation as lyx::void_class_fun.
12032
12033         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12034
12035         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12036         the compiler is is unable to find tostr in write_attribute.
12037
12038 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12039
12040         * buffer.C (sgmlError): hide #warning
12041
12042 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12043
12044         * xtl/*: get rid of xtl, which is not in use anyway
12045
12046         * LyXAction.C (init):
12047         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12048         were unimplemented xtl experimentation
12049
12050 2002-06-04  André Pönitz <poenitz@gmx.net>
12051
12052         * lyxfunc.C: disable array operation on simple formulae
12053
12054 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12055
12056         * converter.C: constify a bit
12057
12058 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12059
12060         * lyx_gui.C: check xforms version correctly
12061
12062 2002-04-30  Herbert Voss  <voss@lyx.org>
12063
12064         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12065         "keep" option
12066
12067 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12068
12069         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12070           attempt to register it with a VCS)
12071
12072 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12073
12074         * lyx_main.C (init): honor variables LYX_DIR_13x and
12075         LYX_USERDIR_13x
12076
12077 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12078
12079         * buffer.h:
12080         * buffer.C:
12081         * lyx_main.C: fix a crash on bad command line,
12082           and give a useful exit status on error
12083
12084         * lyxfunc.C (doImport): allow -i lyx to work
12085
12086 2002-03-30  André Pönitz <poenitz@gmx.net>
12087
12088         * lyxfunc.C: mathed font changes
12089
12090 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12091
12092         * LaTeX.C:
12093         * importer.h:
12094         * importer.C:
12095         * lyx_sty.h:
12096         * lyx_sty.C:
12097         * lyxlex.C:
12098         * lyxrow.h:
12099         * lyxtext.h:
12100         * paragraph.h:
12101         * paragraph.C:
12102         * texrow.h:
12103         * texrow.C:
12104         * text.C:
12105         * trans_mgr.h: srcdocs, and some minor cleanups
12106
12107 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12108
12109         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12110         call getFont all the time)
12111
12112 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12113
12114         * switch from SigC signals to boost::signals
12115
12116 2002-05-29  André Pönitz <poenitz@gmx.net>
12117
12118         * paragraph_pimpl.C (getChar): don't call size() too often...
12119
12120 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12121
12122         * paragraph_pimpl.C (insertChar): do not try to update tables when
12123         appending (pos == size())
12124
12125         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12126         in order to reduce drastically the number of comparisons needed to
12127         parse a large document
12128
12129 2002-05-29  André Pönitz <poenitz@gmx.net>
12130
12131         * text.C:
12132         * text2.C:
12133         * lyxtextclass.C:
12134         * sp_pspell.h:
12135         * textclasslist.[Ch]:
12136         * sp_ispell.h: whitespace change
12137
12138 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12139
12140         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12141         lyxaction directly now.
12142
12143 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12144
12145         * trans.C:
12146         * lyxfont.C:
12147         * lyxvc.C: remove unused headers
12148
12149 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12150
12151         * Makefile.am:
12152         * buffer.h:
12153         * undostack.h:
12154         * undostack.C:
12155         * undo_funcs.h:
12156         * undo_funcs.C: some cleanups. Use shared_ptr
12157           and a template for the undo stacks.
12158
12159 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12160
12161         * BufferView_pimpl.h:
12162         * BufferView_pimpl.C:
12163         * kbmap.h:
12164         * kbmap.C:
12165         * kbsequence.h:
12166         * kbsequence.C:
12167         * lyxfunc.h:
12168         * lyxfunc.C:
12169         * text2.C: use key_state/mouse_state
12170
12171 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12172
12173         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12174         and LSubstring
12175
12176         * chset.C: change include order
12177         (loadFile): use boost regex and get rid of LRegex and LSubstring
12178
12179         * Makefile.am (BOOST_LIBS): new variable
12180         (lyx_LDADD): use it
12181
12182         * LaTeX.C: change include order.
12183         (scanAuxFile): use boost regex and get rid of LRegex and
12184         LSubstring
12185         (deplog): ditto
12186
12187 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12188
12189         * ColorHandler.h:
12190         * ColorHandler.C:
12191         * FontInfo.h:
12192         * FontInfo.C: moved to frontends/xforms/
12193
12194         * FontLoader.h:
12195         * FontLoader.C: moved into frontends for GUIIzation
12196
12197         * Makefile.am:
12198         * lyx_gui.C:
12199         * lyxfont.C:
12200         * lyxfunc.C: changes from above
12201
12202 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12203
12204         * LColor.C: remove spurious X include
12205
12206         * BufferView_pimpl.C:
12207         * Makefile.am:
12208         * font.h:
12209         * font.C:
12210         * text.C:
12211         * text2.C: move font metrics to frontends/
12212
12213 2002-05-24  Juergen Vigna  <jug@sad.it>
12214
12215         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12216         setting the undo_cursor.
12217
12218         * ParagraphParameters.h: include local includes first.
12219
12220 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12221
12222         * BufferView_pimpl.C:
12223         * BufferView_pimpl.h:
12224         * Makefile.am:
12225         * WorkArea.h:
12226         * WorkArea.C:
12227         * screen.C: move WorkArea into frontends/
12228
12229         * lyxscreen.h:
12230         * screen.C:
12231         * text.C:
12232         * BufferView.C:
12233         * BufferView2.C: move LyXScreen into frontends/
12234
12235         * lyxlookup.h:
12236         * lyxlookup.C:
12237         * lyx_gui.C: move lyxlookup into frontends/xforms/
12238
12239 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12240
12241         * BufferView2.C:
12242         * BufferView_pimpl.C:
12243         * FontLoader.C:
12244         * LyXView.h:
12245         * LyXView.C:
12246         * Makefile.am:
12247         * WorkArea.C:
12248         * XFormsView.h:
12249         * XFormsView.C:
12250         * buffer.C:
12251         * bufferlist.C:
12252         * bufferview_funcs.C:
12253         * converter.C:
12254         * importer.C:
12255         * lyx_cb.C:
12256         * lyx_gui.C:
12257         * lyx_main.C:
12258         * lyx_find.C:
12259         * lyxfunc.C:
12260         * lyxvc.C:
12261         * minibuffer.C:
12262         * text.C:
12263         * text2.C:
12264         * trans.C:
12265         * vc-backend.C: move LyX/XFormsView into frontends/
12266
12267 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12268
12269         * Makefile.am:
12270         * PainterBase.C:
12271         * PainterBase.h:
12272         * Painter.C:
12273         * Painter.h:
12274         * WorkArea.C:
12275         * WorkArea.h:
12276         * screen.C:
12277         * tabular.C:
12278         * text.C:
12279         * text2.C: move Painter to frontends/
12280
12281 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12282
12283         * buffer.C: comment out some some code that depend upon lyx_format
12284         < 220
12285
12286         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12287         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12288
12289         * buffer.h (NO_COMPABILITY): turn off compability
12290
12291         * ColorHandler.C: include scoped_array.hpp
12292
12293         * font.C: Use more specific smart_ptr header.
12294         * Painter.C: ditto
12295         * gettext.C: ditto
12296         * ShareContainer.h: ditto
12297         * lyx_main.h: ditto
12298         * kbmap.h: ditto
12299         * FontInfo.h: ditto
12300         * BufferView_pimpl.h: ditto
12301         * ColorHandler.h: ditto
12302
12303         * kbmap.C (defkey): change call to shared_ptr::reset
12304
12305 2002-05-21  Juergen Vigna  <jug@sad.it>
12306
12307         * buffer.C (insertErtContents): fix to insert ert asis if it is
12308         non empty. Skip it completely if it contains only whitespaces.
12309
12310 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12311
12312         * BufferView_pimpl.C:
12313         * BufferView2.C: clear selection on paste (bug 393)
12314
12315 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12316
12317         * DepTable.C: include ctime
12318
12319 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12320
12321         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12322
12323 2002-05-14  Juergen Vigna  <jug@sad.it>
12324
12325         * text.C (breakParagraph): fixed function to honor the keepempty
12326         layout in the right maner and also to permit the right breaking
12327         algorithm on empty or non empyt keepempty paragraphs.
12328
12329         * paragraph.C (breakParagraph): we have to check also if the par
12330         is really empty (!size()) for isempty otherwise we do the wrong
12331         paragraph break.
12332
12333 2002-05-10  Juergen Vigna  <jug@sad.it>
12334
12335         * buffer.[Ch] : The following are only changes to the ert
12336         compatibility read reading old LaTeX layout and font stuff and
12337         convert it to ERTInsets.
12338
12339         * buffer.h: added isErtInset().
12340
12341         * buffer.C (struct ErtComp): add a fromlayout bool to check
12342         if we're inside a LaTeX layout.
12343         (isErtInset): new helper function.
12344         (insertErtContents): look for other ert insets before this one
12345         and insert the contents there, so that we don't have subsequent
12346         ERT insets with nothing between them. This way we create only one
12347         inset with multiple paragraphs. Also check if we don't insert only
12348         spaces ' ' as they are ignored anyway afterwards in the .tex file
12349         so if we have only spaces we will ignore this latex part in the
12350         new file.
12351         (parseSingleLyXformat2Token \\layout): better compatibility when
12352         reading layout-latex stuff.
12353         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12354         language tag.
12355         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12356         stuff after reading the inset only get the information back from
12357         the stack.
12358
12359 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12360
12361         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12362
12363         * LaTeXFeatures.C (getBabelOptions): New method.
12364
12365 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12366
12367         * BufferView_pimpl.C (Dispatch): work around missing argument for
12368         'layout'
12369
12370 2002-05-08  Juergen Vigna  <jug@sad.it>
12371
12372         * text.C (leftMargin): handle paragraph leftindent.
12373
12374         * paragraph.C (writeFile): write the new \\leftindent tag.
12375         (validate): handle leftindent code.
12376         (TeXEnvironment): handle paragraphleftindent code again.
12377
12378         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12379
12380         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12381         for paragrap_extra indent code and new token \\leftindent.
12382         (latexParagraphs): handle the leftindent as environment.
12383
12384         * ParameterStruct.h: added leftindent support.
12385
12386         * ParagraphParameters.C (leftIndent): added support functions for
12387         the paragraph left indent.
12388
12389         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12390         more appropriate.
12391
12392 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12393
12394         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12395         inside insetERT.
12396
12397         * text.C (computeBidiTables): No bidi in insetERT.
12398
12399         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12400         in RTL documents.
12401
12402 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12403
12404         * version.C.in: pre 5
12405
12406 2002-05-02  José Matos  <jamatos@fep.up.pt>
12407         * buffer.C (makeDocBookFile): white space changes, add newline to
12408         command styles.
12409         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12410
12411         * tabular.C (docBook): fix typo.
12412
12413 2002-05-03  Juergen Vigna  <jug@sad.it>
12414
12415         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12416         change in LyXText as we can not be sure it was not freed.
12417         (drawOneRow): remove unused code.
12418
12419         * text.C (drawInset): redo the calculation of the need_break_row as
12420         it could have a row which was already freed.
12421         (draw): look at the return value of drawInset and return false if
12422         it also returned false.
12423         (paintRowText): look at the return value of draw and return false if
12424         it also returned false.
12425
12426         * lyxtext.h: added bool return type to drawInset() and draw() so that
12427         if we have a change in the row so that the rowbreak has to be redone
12428         we abort drawing as it will be called again.
12429
12430 2002-05-02  Juergen Vigna  <jug@sad.it>
12431
12432         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12433         a change in the maintext also if we're inside an inset.
12434         (Dispatch): set the cursor again after a break line and after the
12435         screen has been updated as it could be we're in a different row.
12436
12437         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12438         to set the cursor behind the pargraph with > size().
12439         (setCursor): check also for the same paragraph when checking where
12440         to put the cursor if we have a NFR inset.
12441
12442         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12443         parts of layout read further up as it still was in the wrong
12444         position.
12445
12446 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12447
12448         * screen.C (drawFromTo): change sine fullRebreak always return
12449         true.
12450
12451         * buffer.C (parseSingleLyXformat2Token): reindent some
12452
12453         * BufferView_pimpl.C (update): change since fullRebreak always
12454         return true.
12455         (Dispatch): git rid of the last hardcoded "Standard"s.
12456
12457 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12458
12459         * text2.[Ch] (fullRebreak): make it return void now that we always
12460         returned true.
12461
12462 2002-04-30  Juergen Vigna  <jug@sad.it>
12463
12464         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12465         ert compatibility check for "latex" layout.
12466
12467 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12468
12469         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12470         minipages: use col% instead of p%, and also use the current font.
12471         (makeLaTeXFile): Fix use babel condition.
12472         (parseSingleLyXformat2Token): Correct font when reading old floats.
12473
12474 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12475
12476         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12477         inserting list of floats.
12478
12479 2002-04-25  Herbert Voss  <voss@lyx.org>
12480
12481         * MenuBackend.C (expand): don't add the graphics extensions to the
12482         export menu
12483
12484 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12485
12486         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12487         non-existing layout, do not complain if it was the default layout
12488         of the original class (bug #342)
12489
12490 2002-04-24  Juergen Vigna  <jug@sad.it>
12491
12492         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12493         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12494
12495 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12496
12497         * buffer.C (getBibkeyList): If using \bibliography, return the
12498         option field with the reference itself. Enables us to provide natbib
12499         support when using \bibliography.
12500
12501 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12502
12503         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12504
12505         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12506         natbib is provided by the LaTeX class.
12507
12508 2002-04-23  Juergen Vigna  <jug@sad.it>
12509
12510         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12511         Wakeup functions.
12512
12513         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12514
12515 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12516
12517         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12518
12519         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12520         ensuremath around textordmasculine, textordfeminine and
12521         textdegree.
12522
12523 2002-04-19  Juergen Vigna  <jug@sad.it>
12524
12525         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12526         reinitializing the buffer otherwise row-dimensions may be wrong.
12527         (update): reset also the selection cursors if they do exits otherwise
12528         their x/y positions may be wrong.
12529
12530         * text2.C (cursorDown): don't enter the inset if we came from a row
12531         above and are one row over the inset.
12532
12533         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12534         really leaving an inset.
12535
12536 2002-04-18  Juergen Vigna  <jug@sad.it>
12537
12538         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12539         of the selected paragraph does not have the selected layout also if
12540         the last one had!
12541
12542         * text2.C (setLayout): fixed bug which did not change last selected
12543         paragraph.
12544
12545         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12546         changed the read and substituted \\end_float with \\end_inset!
12547
12548         * BufferView_pimpl.C (cursorPrevious):
12549         (cursorNext): fixed to make it work with rows heigher than the work
12550         area without moving the cursor only the draw of the row.
12551         (workAreaMotionNotify): fix jumping over high rows.
12552
12553 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12554
12555         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12556         Ressler.
12557
12558 2002-04-16  Juergen Vigna  <jug@sad.it>
12559
12560         * text2.C (setCursor): set also the irow().
12561         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12562         (cursorUp):
12563         (cursorDown): support for locking an inset if the x_fix value goes
12564         inside it. That way I can transverse insets too with cursor up/down.
12565
12566         * lyxrow.h: added irow helper function same as other (i) functions.
12567
12568         * BufferView_pimpl.C (cursorPrevious):
12569         (cursorNext): fixed for insets!
12570
12571 2002-04-15  Juergen Vigna  <jug@sad.it>
12572
12573         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12574         position otherwise it is wrong in some cases.
12575
12576         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12577         inside the inset before the call.
12578
12579 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12580
12581         * buffer.[Ch] (getBibkeyList): make it const.
12582
12583 2002-04-12  Juergen Vigna  <jug@sad.it>
12584
12585         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12586
12587         * text2.C (getCursorX): new helper function
12588         (setCursor): compute also ix_
12589         (setCursorFromCoordinates): set also ix.
12590
12591         * lyxcursor.h: added ix_ and helper functions.
12592
12593         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12594
12595         * buffer.C (insertStringAsLines): dont break paragraph if the this
12596         paragraph is inside an inset which does not permit it!
12597
12598         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12599         also with no chars on this paragraph.
12600         (paintRowText): only paint stuff if it's inside the workarea!
12601
12602         * paragraph.C (breakParagraph): honor keepempty flag and break the
12603         paragraph always below not above.
12604
12605         * BufferView2.C (unlockInset): update the paragraph layout on inset
12606         unlock as we changed paragraph in such a case.
12607
12608         * lyxfind.C (LyXFind): clear the former selection if not found!
12609
12610         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12611         again called in insertChar().
12612
12613         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12614         an inset which uses the whole row!
12615         (rightMargin): ditto.
12616         (insertChar): force a rebreak if we inserted an inset!
12617
12618 2002-03-28  Herbert Voss  <voss@lyx.org>
12619
12620         * lyxlength.[Ch]: add inBP() to get the right PS-point
12621         units (BigPoint). With inPixels we have rounding errors
12622
12623 2002-04-11  Juergen Vigna  <jug@sad.it>
12624
12625         * text2.C (setCursorFromCoordinates): set iy to the right value.
12626         (setCursor): add check if row->previous exists!
12627
12628         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12629         an old float_type as this was the case in the old code!
12630
12631         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12632
12633         * BufferView2.C (showLockedInsetCursor): use iy
12634         (fitLockedInsetCursor): ditto
12635
12636         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12637         locked insets as there we have the right value now.
12638
12639         * lyxcursor.C: added iy_ variable and iy functions to set to the
12640         baseline of cursor-y of the locked inset.
12641
12642         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12643         (setCursor): fixed for insets which need a full row.
12644
12645         * text.C (rowLastPrintable): don't ignore the last space when before
12646         an inset which needs a full row.
12647         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12648         as last character of a row when before a inset which needs a full row.
12649
12650 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12651
12652         * version.C.in: update date
12653
12654         * text2.C (fullRebreak): try to always return true and see what
12655         happens...
12656
12657 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12658
12659         * MenuBackend.C (expand): use Floating::listName
12660
12661         * FloatList.C (FloatList): add listName argument to the built-in
12662         floats
12663
12664         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12665         text associated with the float.
12666
12667 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12668
12669         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12670
12671 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12672
12673         * ShareContainer.h: add a couple of missing typenames.
12674
12675 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12676
12677         * lyxrc.C (getDescription): use _() correctly rather than N_().
12678
12679 2002-03-28  Herbert Voss  <voss@lyx.org>
12680
12681         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12682         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12683
12684 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12685
12686         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12687         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12688
12689 2002-03-29  Juergen Vigna  <jug@sad.it>
12690
12691         * lyxfunc.C (dispatch): add a missing fitCursor call.
12692
12693         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12694         it was scrolled by a cursor move, so return the bool status.
12695
12696         * BufferView.C (fitCursor): return the bool flag also to the outside
12697         world as this is needed.
12698
12699         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12700
12701         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12702         call the edit() as it is not needed (and wrong) IMO.
12703         (workAreaButtonPress): set the screen_first variable before evt.
12704         unlock the inset as this may change screen_first and then we have
12705         a wrong y position for the click!
12706
12707 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12708
12709         * MenuBackend.C (expand): another translation that I missed
12710
12711 2002-03-28  Juergen Vigna  <jug@sad.it>
12712
12713         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12714
12715         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12716
12717 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12718
12719         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12720
12721         * MenuBackend.C (expand): fix export/view/update when there is no
12722         document open.
12723
12724 2002-03-27  Herbert Voss  <voss@lyx.org>
12725
12726         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12727         and text%
12728
12729 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12730
12731         * bufferview_funcs.C (currentState): only show paragraph number
12732         for is DEVEL_VERSION is set.
12733
12734         * lyxfunc.C (dispatch): put warning in INFO channel
12735
12736         * MenuBackend.C (expand): translate the name of floats
12737
12738         * FloatList.C (FloatList): mark the float names for translation
12739
12740         * converter.C (convert): use LibScriptSearch
12741
12742 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12743
12744         * MenuBackend.C (defaults): fix default menu (we might as well get
12745         rid of it...)
12746
12747 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12748
12749         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12750         directory.
12751
12752 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12753
12754         * lyxvc.C: reorder includes.
12755
12756 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12757
12758         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12759           properly
12760
12761 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12762
12763         * CutAndPaste.C: change layouts earlier on paste
12764           to avoid crashing when calling getFont()
12765
12766 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12767
12768         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12769         irritating #error.
12770
12771 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12772
12773         * WorkArea.C: remove 'Pending' debug message.
12774
12775         * most files: ws cleanup
12776
12777         * buffer.[Ch]: ws changes
12778
12779         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12780
12781 2002-03-21  Juergen Vigna  <jug@sad.it>
12782
12783         * tabular.C (SetMultiColumn): collapse also the contents of the
12784         cells and set the last border right. Added a Buffer const * param.
12785
12786 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12787
12788         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12789         linking or not.
12790
12791 2002-03-19  Juergen Vigna  <jug@sad.it>
12792
12793         * text2.C (clearSelection): reset also xsel_cache.
12794
12795         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12796         where it needs to be called (John tells us to do so too :)
12797         (selectionLost): reset sel_cache.
12798
12799         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12800
12801 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12802
12803         * text2.C (setCursorIntern): put debuging code in INSETS channel
12804
12805 2002-03-19  André Pönitz <poenitz@gmx.net>
12806
12807         * lyxfunc.C: tiny whitespace change
12808
12809 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12810
12811         * ToolbarDefaults.C (init):
12812         * LyXAction.C (init):
12813         * commandtags.h:
12814         * BufferView_pimpl.C (Dispatch):
12815         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12816
12817 2002-03-19  Allan Rae  <rae@lyx.org>
12818
12819         * exporter.C (Export): removeAutoInsets before doing anything else.
12820         While I've just introduced a dependency on BufferView this really is
12821         the best place to clean the buffer otherwise you need to cleanup in
12822         a dozen places before calling export or cleanup in a dozen functions
12823         that export calls.
12824
12825         * converter.C (runLaTeX):
12826         (scanLog): Better handling of removeAutoInsets and screen updates.
12827
12828         * lyxfunc.C (dispatch): small whitespace changes
12829
12830 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12831
12832         * WorkArea.C (C_WorkAreaEvent): return a value.
12833         (event_cb): return 1 if we handled the event, 0 otherwise.
12834
12835         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12836
12837 2002-03-18  Juergen Vigna  <jug@sad.it>
12838
12839         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12840         (GetAdditionalWidth): ditto.
12841         (RightLine): ditto.
12842         (LeftLine): ditto.
12843
12844         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12845         inset if we're there actually (probably not used right now but this
12846         is the direction to go for unifying code).
12847         (paste): disable code to clear the selection.
12848
12849         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12850         inside an InsetText and move the check further up as it is in the
12851         wrong place.
12852
12853         * text2.C (pasteSelection): set a selection over the pasted text.
12854
12855 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12856
12857         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12858         and libgraphics to build on Cygwin.
12859
12860 2002-03-15  Juergen Vigna  <jug@sad.it>
12861
12862         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12863         inserting an Inset into the paragraph. I know this is not the best
12864         fix but we already use current_view in CutAndPaste so we will remove
12865         all of it's using at the same time.
12866
12867         * buffer.C (sgmlError): deactivated function till it is rewritten in
12868         the right mode, now it can create problems.
12869
12870         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12871         before accessing it.
12872
12873 2002-03-14  Juergen Vigna  <jug@sad.it>
12874
12875         * undo_funcs.C (textHandleUndo): do the right thing when updating
12876         the inset after the undo/redo.
12877
12878         * text2.C (setCursor): just some testcode for #44 not ready yet.
12879
12880         * undo_funcs.C (textHandleUndo): set the next() and previous()
12881         pointers of the paragraph to 0 before deleting otherwise we have
12882         problems with the Paragraph::[destructor].
12883
12884         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12885         on a paragraph insertion.
12886
12887 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12888
12889         * buffer.C (asciiParagraph): use += operator for char append to
12890         string.
12891
12892         * paragraph.C (getFontSettings): compare >= not just >
12893         (highestFontInRange): ditto
12894         (setFont): ditto
12895
12896 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12897
12898         * paragraph.C: change several algorithm to be more appripriate for
12899         the problem domain. This is lookip in FontList and in the InsetList.
12900
12901 2002-03-13  André Pönitz <poenitz@gmx.net>
12902
12903         * commandtags.h:
12904         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12905
12906 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12907
12908         * commandtags.h:
12909         * LyXAction.C:
12910         * lyxfunc.C:
12911         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12912
12913 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12914
12915         * Painter.C (display): anon helper function, adjust code for this
12916         change.
12917         (pixmap): remove function.
12918
12919         * Painter.h: remove private display variable.
12920
12921         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12922
12923 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12924
12925         * WorkArea.[Ch]: remove figinset_canvas cruft.
12926
12927 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12928
12929         * lyxtextclass.C (operator): add one item cache optimization.
12930
12931         * bufferlist.h: doxy changes
12932
12933         * bufferlist.C: ws changes
12934
12935         * DepTable.[Ch] (ext_exist): place const in the right spot.
12936
12937         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12938         call resizeInsets.
12939         (workAreaExpose): call resizeInsets when the with BufferView changes.
12940         (Dispatch): adjust for protectedBlank removal
12941         (specialChar): call updateInset if the insert went ok.
12942
12943         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12944         specialChar instead.
12945
12946         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12947
12948         * BufferView.h: doxy change
12949
12950         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12951
12952         * lyxtextclass.C (operator[]): remove non-const version
12953         (defaultLayout): remove non-const version
12954
12955 2002-03-12  Juergen Vigna  <jug@sad.it>
12956
12957         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12958         did resize the LyXText too.
12959
12960         * buffer.C (readLyXformat2): set layout information on newly allocated
12961         paragraphs.
12962
12963         * tabular.C (OldFormatRead): set layout information on the paragraph.
12964
12965 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
12966
12967         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12968
12969 2002-03-11  Juergen Vigna  <jug@sad.it>
12970
12971         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12972         plainly wrong.
12973         (resizeCurrentBuffer): force also the insets to resize themselfes.
12974         (moveCursorUpdate): fixed up for InsetText.
12975
12976 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12977
12978         * commandtags.h:
12979         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12980         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12981         value of Dialogs::tooltipsEnabled().
12982         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12983
12984 2002-03-08  Juergen Vigna  <jug@sad.it>
12985
12986         * BufferView_pimpl.C (updateInset): update inset inside inset also
12987         if it isn't inside theLockingInset().
12988
12989 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12990
12991         * buffer.C (asciiParagraph): redo some of the word and line length
12992         handling.
12993         (getLists): look for Caption instead of caption.
12994
12995 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12996
12997         * buffer.C (Buffer): initialize niceFile to true
12998         (makeLaTeXFile):
12999         (makeLinuxDocFile):
13000         (makeDocBookFile): make sure niceFile is true on exit
13001
13002 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13003
13004         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13005
13006 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13007
13008         * LyXSendto.C: remove.
13009         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13010         * lyx_gui.C: remove now-redundant comment.
13011         * ColorHandler.h: remove forward declaration of class WorkArea.
13012         * lyxfunc.C: remove #include "WorkArea.h".
13013
13014 2002-03-07  Juergen Vigna  <jug@sad.it>
13015
13016         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13017         got moved away with the DEPM and also set the inset_owner always
13018         right which before could have been omitted.
13019
13020 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13021
13022         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13023         wanted layout is not found.
13024
13025 2002-03-07  Juergen Vigna  <jug@sad.it>
13026
13027         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13028
13029 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13030
13031         * paragraph.C (breakParagraph): use default layout not layout of
13032         prev paragraph.
13033         (Paragraph): clear ParagraphParameters.
13034
13035 2002-03-06  Juergen Vigna  <jug@sad.it>
13036
13037         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13038         otherwise it would not be a valid lenght. Fixed a special case in
13039         the minipage compatibility read where we end the document with a
13040         minipage.
13041
13042         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13043         was set as it could be 0 for InsetTexts first entry.
13044
13045 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13046
13047         * paragraph.C (writeFile): if layout is empty write out
13048         defaultLayoutName().
13049
13050         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13051         file without named layout we set layout to defaultLayoutName().
13052
13053 2002-03-06  Juergen Vigna  <jug@sad.it>
13054
13055         * CutAndPaste.C (copySelection): set layout for new paragraph.
13056
13057         * text.C (prepareToPrint): leave ERT inset left aligned
13058         (leftMargin): don't indent paragraphs inside ERT insets
13059
13060 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13061
13062         * paragraph.C (breakParagraph): dont call clear do the work manually
13063
13064         * paragraph.[Ch] (clear): remove function
13065
13066 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13067
13068         * paragraph.C (Paragraph): dont call clear, the work has already
13069         been done.
13070
13071         * lyxtextclass.C (operator): assert if n is empty
13072
13073         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13074         work manually instead.
13075
13076 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13077
13078         * BufferView_pimpl.C: protect selectionLost against text == 0
13079
13080 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13081
13082         * text.C (breakParagraph): fix a setting layout to '0' problem.
13083
13084 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13085
13086         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13087         final location of file, for the included files, and graphics.
13088
13089 2002-03-05  Juergen Vigna  <jug@sad.it>
13090
13091         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13092
13093 2002-03-04  Juergen Vigna  <jug@sad.it>
13094
13095         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13096
13097         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13098         last column of multicolumn cells.
13099         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13100
13101 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13102
13103         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13104         file if it doesn't go to a temporary file.
13105
13106         * buffer.C (sgmlOpenTag):
13107         (sgmlCloseTag):  remove extra newline insertion.
13108
13109 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13110
13111         * text.C (getRowNearY): comment out debug msg
13112
13113 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13114
13115         * text2.C: first -> first_y
13116
13117         * text.C (getRowNearY): add some attemts at a possible
13118         optimization, not working.
13119
13120         * tabular.[Ch]: add BufferParams to several function so that newly
13121         created paragraph can be initialized to he default layotu for the
13122         buffers textclass.
13123
13124         * tabular-old.C (ReadOld): add buf->params to call of Init
13125
13126         * screen.C: rename text->first to text->first_y
13127
13128         * paragraph.C (breakParagraph): always set layout in the broken
13129         paragraph
13130
13131         * lyxtextclass.C (Read): remove lowercase
13132         (hasLayout): ditto
13133         (operator): ditto
13134         (delete_layout): ditto
13135
13136         * lyxtext.h: rename first -> first_y
13137
13138         * lyxlayout.C (Read): remove lowercase
13139         (name): ditto
13140         (setName): ditto
13141         (obsoleted_by): ditto
13142
13143         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13144
13145         * buffer.C (insertErtContents): add params are to InsetERT
13146         (parseSingleLyXformat2Token): add code to check if a paragraphs
13147         layout really exist.
13148         (parseSingleLyXformat2Token): add params to several inset
13149         constructors
13150         (asciiParagraph): remove lowercase, do the layout comparisons with
13151         no_case
13152
13153         * BufferView_pimpl.C (cursorNext): first -> first_y
13154         (resizeCurrentBuffer): first -> first_y
13155         (updateScrollbar): first -> first_y
13156         (scrollCB): first -> first_y
13157         (workAreaMotionNotify): first -> first_y
13158         (workAreaButtonPress): first -> first_y
13159         (checkInsetHit): first -> first_y
13160         (cursorPrevious): first -> first_y
13161         (cursorNext): first -> first_y
13162         (Dispatch): add buffer_->params to severl inset contructors
13163
13164 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13165
13166         * lyxlayout.C (Read): remove some debug info that I forgot.
13167
13168         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13169         clean up the code slightly.
13170         (makeLinuxDocFile): ditto
13171         (makeDocBookFile): ditto
13172
13173         * text2.C: layout as string
13174
13175         * text.C: layout as string
13176
13177         * paragraph_pimpl.C: layout as string
13178
13179         * paragraph.[Ch]: layout as string
13180
13181         * lyxtextclasslist.[Ch]: layout as string
13182
13183         * lyxtextclass.[Ch]: layout as string
13184
13185         * lyxtext.h: layout as string
13186
13187         * lyxlayout.[Ch]: layout as string
13188
13189         * lyx_cb.C: layout as string
13190
13191         * bufferview_funcs.C: layout as string
13192
13193         * bufferparams.C: layout as string
13194
13195         * buffer.C: layout as string
13196
13197         * LyXView.[Ch]: layout as string
13198
13199         * LaTeXFeatures.[Ch]: layout as string
13200
13201         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13202
13203         * BufferView_pimpl.C: change current_layout to string, remove
13204         lyx::layout_type.
13205         (Dispatch):
13206         (smartQuote):
13207         (insertInset):
13208         (workAreaButtonRelease): layout as string
13209
13210         * BufferView2.C (unlockInset): adjust
13211
13212         * vspace.C (asLatexCommand): use an explict temp variable.
13213
13214 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13215
13216         * Makefile.am: use FRONTEND_*
13217
13218 2002-03-01  Juergen Vigna  <jug@sad.it>
13219
13220         * tabular.C (SetWidthOfMulticolCell): changed to something better
13221         I hope but still work in progress.
13222         (recalculateMulticolumnsOfColumn): renamed function from
13223         recalculateMulticolCells as it is more appropriate now.
13224         (SetWidthOfCell): calculate multicols better.
13225
13226 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13227
13228         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13229
13230         * lyxfunc.C (processKeySym): print sequence also if it is
13231         `deleted' (complete)
13232
13233         * kbsequence.C (print): print sequence even if it is deleted
13234         (complete would be a better word, actually).
13235
13236         * lyxfunc.C (dispatch): print complete options after a prefix key
13237
13238         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13239
13240 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13241
13242         * text2.C (setCharFont): eliminate setCharFont code duplication.
13243
13244 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13245
13246         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13247         LFUN_TABULAR_FEATURE (bug #177)
13248
13249 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13250
13251         * Makefile.am: remove figure.h
13252
13253 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13254
13255         * Bufferview_pimpl.C:
13256         * CutAndPasteC:
13257         * LaTeX.C:
13258         * LyXSendto.C:
13259         * buffer.C:
13260         * bufferlist.C:
13261         * converter.C:
13262         * language.C:
13263         * lyxfunc.C:
13264         * lyxvc.C:
13265         * paragraph.C:
13266         * text.C:
13267         * text2.C: remove #include "lyx_gui_misc.h".
13268
13269         * LaTeX.C: added #include <cstdio>
13270
13271 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13272
13273         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13274         that the paragraph following this one can have.
13275
13276         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13277
13278         * vspace.C (asLatexCommand): fix bogus gcc warning
13279
13280         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13281
13282 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13283
13284         * text2.C (setLayout): get rid of redundant code
13285
13286 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13287
13288         * text2.C (incDepth): make sure depth cannot be increased beyond
13289         reasonable values.
13290
13291 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13292
13293         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13294         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13295
13296         * PainterBase.h (image):
13297         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13298         a LyXImage const *.
13299
13300 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13301
13302         * BufferView.C:
13303         * BufferView.h:
13304         * BufferView_pimpl.C:
13305         * BufferView_pimpl.h:
13306         * LaTeXFeatures.C:
13307         * LyXAction.C:
13308         * LyXView.C:
13309         * Makefile.am:
13310         * UpdateList.h:
13311         * UpdateList.C:
13312         * buffer.C:
13313         * figure.h:
13314         * figureForm.C:
13315         * figureForm.h:
13316         * figure_form.C:
13317         * figure_form.h:
13318         * lyx_cb.C:
13319         * lyx_gui.C:
13320         * lyx_gui_misc.C:
13321         * lyxfunc.C:
13322         * sp_base.h:
13323         * sp_ispell.h:
13324         * sp_pspell.h:
13325         * sp_spell.C: remove fig inset, and the crap house of
13326           cards that follows it
13327
13328 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13329
13330         * Makefile.am:
13331         * lyxserver.C:
13332         * os2_defines.h:
13333         * os2_errortable.h:
13334         * nt_defines.h: move .h into support/
13335
13336         * vms_defines.h: remove
13337
13338         * WorkArea.C: add space in debug output
13339
13340         * text2.C:
13341         * paragraph.C:
13342         * buffer.C: add WITH_WARNINGS
13343
13344         * vc-backend.h:
13345         * vc-backend.C:
13346         * bufferlist.C: s/retrive/retrieve/, add docs
13347
13348         * vspace.h:
13349         * vspace.C:
13350         * kbmap.h:
13351         * lyxlength.h:
13352         * lyxgluelength.h:
13353         * length_common.h:
13354         * chset.h:
13355         * chset.C: add docs
13356
13357         * lyxgui.C: add ID to X error handler
13358
13359         * lyxtestclass.c: fix typo
13360
13361 2002-02-26  Juergen Vigna  <jug@sad.it>
13362
13363         * tabular_funcs.C (write_attribute): changed so that some default
13364         attributes are not written at all.
13365         (getTokenValue): set default values before trying to read the
13366         value so we have the return value always set as default if we don't
13367         find the token we search for.
13368
13369         * tabular.C (Write): write bools as bools not as strings!
13370
13371 2002-02-22  Juergen Vigna  <jug@sad.it>
13372
13373         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13374         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13375
13376         * text.C (leftMargin): don't add an indent for paragraphs inside
13377         tabular cells (fix #208).
13378
13379 2002-02-21  José Matos  <jamatos@fep.up.pt>
13380
13381         * tabular.C (docBook): fixed support for long tables.
13382
13383 2002-02-20  Juergen Vigna  <jug@sad.it>
13384
13385         * text2.C (getFont): get the drawing font of the Inset if this
13386         paragraph is inside an inset (only important for InsetERT for now).
13387
13388         * buffer.C (insertErtContents): use new lanugage params in ERT
13389         constructor.
13390
13391         * CutAndPaste.C: commenting out seemingly uneeded code.
13392
13393 2002-02-19  Allan Rae  <rae@lyx.org>
13394
13395         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13396         Iterators might be simple to use but they also get invalidated.
13397         (removeAutoInsets): renamed saved cursor tracking variables and added
13398         some comments to clarify what everything does.
13399
13400 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13401
13402         * Chktex.C:
13403         * LaTeX.C:
13404         * LyXSendto.C:
13405         * converter.C:
13406         * lyx_cb.C:
13407         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13408         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13409
13410         * lyxfunc.C:
13411         * vc-backend.h: remove #include "support/syscall.h"
13412
13413         * LaTeX.C:
13414         * LyXSendto.C:
13415         * converter.C: rearrange #includes in Lars' approved fashion.
13416
13417         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13418         forward declare class Timeout in the header file.
13419
13420         * XFormsView.C: changes due to the above.
13421
13422         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13423         similar to LyXView.
13424
13425         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13426         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13427
13428 2002-02-18  José Matos  <jamatos@fep.up.pt>
13429
13430         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13431         insets contents.
13432
13433 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13434
13435         * a lot of small ws changes
13436         * add a lot of using std::XXX
13437         * use std construcs some places where approp.
13438         * use some exisint stuff from lyxfunctional where approp.
13439         * Make file changes to use partial linking (lets test this now...)
13440
13441 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13442
13443         * Chktex.C:
13444         * buffer.C:
13445         remove #include "support/syscontr.h" as it's redundant. Always has been.
13446
13447         * Chktex.C:
13448         * LaTeX.C:
13449         * LyXSendto.C:
13450         * converter.C:
13451         * lyx_cb.C:
13452         * vc-backend.C:
13453         change Systemcalls::System to Systemcalls::Wait and
13454         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13455         No change of functionality, just reflects the stripped down Systemcalls
13456         class.
13457
13458 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13459
13460         * debug.[Ch]: add a GRAPHICS type to the enum.
13461
13462 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13463
13464         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13465
13466         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13467         there is an inset.
13468
13469 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13470
13471         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13472         match the changes below.
13473
13474         * text2.C (toggleInset): if there is not editable inset at cursor
13475         position, try to see if cursor is _inside_ a collapsable inset
13476         and close it.
13477
13478 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13479
13480         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13481         document menu has a nice checkbox
13482
13483 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13484
13485         * lyxlength.C (asLatexString): change PW to output as percent of
13486         \textwidth.
13487
13488         * lengthcommon.C: change '%' to 't%'
13489
13490         * lyxfunc.C (dispatch): a few comments from Martin
13491
13492 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13493
13494         * WorkArea.h:
13495         * WorkArea.C:
13496         * BufferView_pimpl.h:
13497         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13498           the X selection.
13499
13500 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13501
13502         * vspace.C (inPixels): fix compiler warning
13503
13504 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13505
13506         * lyxfunc.C (getStatus): fix status message for disabled commands.
13507
13508 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13509
13510         * BufferView_pimpl.C: fix crash on close buffer
13511         during selection (#227)
13512
13513 2002-01-27  Herbert Voss  <voss@lyx.org>
13514
13515         * buffer.C: link old Figure to new graphic inset
13516
13517 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13518
13519         * FontLoader.C (getFontinfo): Change the latex font names in order
13520         to match the names of type1inst.
13521
13522 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13523
13524         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13525
13526         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13527         (extchanged): ditto
13528         (ext_exist): ditto
13529         (remove_files_with_extension): ditto
13530         (remove_file): ditto
13531         (write): ditto
13532
13533         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13534         document is smaller than the work area height. Do not initialize
13535         static variables to 0.
13536
13537 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13538
13539         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13540
13541         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13542         LFUN_LAYOUT_PARAGRAPHS.
13543
13544         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13545         tabular. It is possible to provide a possible cell, which will
13546         typically be the actcell from the corresponding insettabular
13547
13548         * lyxfunc.C (getStatus): small cleanup; disable
13549         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13550         true
13551
13552 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13553
13554         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13555
13556         * paragraph.C (startTeXParParams):
13557         (endTeXParParams): new methods. The LaTeX code to
13558         start/end paragraph formatting
13559         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13560         empty (fixes bug #200)
13561
13562         * vspace.C (inPixels): adapt to the change below
13563         (inPixels): [later] more cleanups (remove unused variables)
13564
13565         * lyxlength.C (inPixels): change to use a width and a height as
13566         parameter.
13567
13568 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13569
13570         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13571         Replaced with \paperwidth
13572
13573         * DepTable.C (insert): add std:: qualifier
13574
13575 2002-01-18  Allan Rae  <rae@lyx.org>
13576
13577         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13578         updated also?
13579
13580         * text.C (drawInset): Turned out I didn't know enough about how
13581         rebreaking worked.  This fixes most of the redraw problems.  I see
13582         an occasional cursor trail when a line is broken now and the cursor
13583         placement can seem out by a few pixels also after a rebreak.
13584
13585 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13586
13587         * buffer.C (parseSingleLyXformat2Token): update because minipage
13588         width is now a LyXLength
13589
13590         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13591
13592         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13593         math insets
13594
13595 2002-01-17  Juergen Vigna  <jug@sad.it>
13596
13597         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13598
13599         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13600         is set correctly and the inset is updated correctly.
13601
13602 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13603
13604         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13605         the beginning of the loop.
13606
13607 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13608
13609         * lyxrc.C: improve help for use_scalable_fonts
13610
13611 2002-01-17  Allan Rae  <rae@lyx.org>
13612
13613         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13614
13615 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13616
13617         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13618         make sure to set their inset_owner to the right value (bug #171)
13619
13620 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13621
13622         * DepTable.h
13623         * DepTable.C: Implement mtime checking to reduce time spent doing
13624         CRCs.
13625
13626 2002-01-16  Juergen Vigna  <jug@sad.it>
13627
13628         * tabular.C (GetAdditionalHeight): one of error fixed.
13629
13630         * lyxrc.C (output): small fix in writing use_pspell.
13631
13632 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13633
13634         * sp_base.h: #include LString.h
13635
13636 2002-01-16  Allan Rae  <rae@lyx.org>
13637
13638         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13639         Can someone check this please?
13640
13641         * text.C (drawInset): It was possible that p.row would be removed by
13642         breakAgainOneRow upsetting a few other settings.  There may be another
13643         small tweak possible by setting need_break_row = 0 when p.row has been
13644         removed but I don't know enough about the logic here.
13645
13646 2002-01-15  Allan Rae  <rae@lyx.org>
13647
13648         * text.C (insertChar): removed conditional truism.
13649
13650         * BufferView2.C (removeAutoInsets): More tweaks.
13651         cur_par_prev could be a stray pointer.  Check for trailing empty line
13652         in case last line was cur_par and only had an error inset on it.
13653
13654 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13655
13656         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13657         absolute
13658
13659         * vc-backend.C (most methods):
13660         * exporter.C (Export):
13661         * converter.C (convert):
13662         (runLaTeX):
13663         * LyXSendto.C (SendtoApplyCB):
13664         * lyxfunc.C (dispatch):
13665         (menuNew):
13666         (open):
13667         (doImport):
13668         * lyx_cb.C (AutoSave):
13669         (InsertAsciiFile):
13670         * BufferView_pimpl.C (MenuInsertLyXFile):
13671         * buffer.C (runChktex): use Buffer::filePath().
13672
13673         * buffer.h: rename filename to filename_; rename filepath to
13674         filepath_ and make it private
13675         (filePath): new method
13676
13677         * buffer.C (writeFile): use fileName()
13678         (getLatexName):
13679
13680         * lyx_main.C (init): fix starting  of LyX when the binary is a
13681         link from so,ewhere else.
13682
13683         * minibuffer.C: include <cctype> for isprint
13684
13685 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13686
13687         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13688         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13689         name clash with InsetCollapsable's width function.
13690
13691 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13692
13693         * lastfiles.C: include <iterator>
13694
13695 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13696
13697         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13698         std::count.
13699
13700         * buffer.C (makeLaTeXFile): ditto.
13701         Also make loop operation more transparent.
13702
13703 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13704
13705         * ToolbarDefaults.C: remove trailing comma closing namespace.
13706
13707         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13708
13709         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13710         as in WorkArea.
13711
13712         * trans.C (Load): comment out unused variable, allowed.
13713
13714 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13715
13716         * minibuffer.[Ch] (append_char): new method to recieve input from the
13717         drop-down completion browser. If a key was pressed, then recieve this
13718         char and append it to the existing string.
13719         (peek_event): modify the positioning data passed to the completion
13720         browser so that it can be placed above the minibuffer rather than below.
13721 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13722
13723         * LyXAction.C (init): alloe error-next for readonly documents.
13724
13725         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13726         count.
13727
13728 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13729
13730         * bufferlist.C (readFile): create the buffer _after_ checking that
13731         the file exists.
13732
13733         * lyxfunc.C (verboseDispatch): fix handling of arguments
13734
13735         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13736
13737         * lyxrc.C: use string::erase() instead of initializing to "".
13738
13739
13740 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13741
13742         * BufferView_pimpl.h:
13743         * BufferView_pimpl.C:
13744         * WorkArea.h:
13745         * WorkArea.C:
13746         * text2.C: tell X when we have made a selection for copying
13747
13748 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13749
13750         * BufferView_pimpl.C (MenuInsertLyXFile):
13751         * lyxfunc.C (menuNew):
13752         (open):
13753         (doImport): add shortcuts to directory buttons
13754
13755         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13756         open a float)
13757
13758         * lyxfunc.C (setStatusMessage):
13759         (getStatusMessage): new methods
13760         (getStatus):use setStatusMessage instead of setErrorMessage
13761         (dispatch): when function is disabled, set error message here
13762         [instead of in getStatus previously]
13763
13764         * BufferView_pimpl.C (workAreaButtonRelease): update
13765         toolbar/menubar here too.
13766
13767 2002-01-13  Allan Rae  <rae@lyx.org>
13768
13769         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13770         Now seems indestructible.  Remaining task is to audit all other
13771         code affected by deleteEmptyParagraphMechanism.  One small quirk
13772         left is that an empty document with an error in the preamble can
13773         be made to report an error but no error box appears.  I don't know
13774         where it goes.
13775         (removeAutoInsets): Improved comments.
13776
13777 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13778
13779         * Thesaurus.h:
13780         * Thesaurus.C: update for Aiksaurus 0.14
13781
13782 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13783
13784         * text2.C (firstParagraph): removed member function, all uses
13785         replaces with ownerParagraph
13786         (redoParagraphs): here
13787         (updateInset): here
13788         (toggleAppendix): here
13789         * BufferView2.C (insertErrors): here
13790         (setCursorFromRow): here
13791
13792 2002-01-13  Allan Rae  <rae@lyx.org>
13793
13794         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13795         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13796         There is still a way to segfault this although you may have to do this
13797         multiple times: Have an InsetERT with an unknown command in it.
13798         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13799         <down-arrow>, <Enter> again, View->DVI, BANG!
13800
13801         * text2.C (setCursor):
13802         (deleteEmptyParagraphMechanism):
13803         * lyxtext.h (setCursor):
13804         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13805         Making use of the return value may help fix other bugs.
13806
13807 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13808
13809         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13810
13811         * LyXView.C (updateMenubar): call MenuBar::update here
13812         (updateToolbar): but not here
13813         (showState): do not update toolbar/menubar
13814
13815         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13816         should need to care about that.
13817
13818         * lyxfunc.C (verboseDispatch): simplify a bit
13819         (getStatus): have a version which takes a pseudoaction, and
13820         another which requires a (kb_action,string).
13821
13822         * LyXAction.C (retrieveActionArg): make it work also when action
13823         is not a pseudo-action.
13824         (getActionName): simplify a bit
13825         (helpText):
13826
13827 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13828
13829         * lyxfunc.C (verboseDispatch): new families of methods with
13830         several ways to specify a command and a bool to indicate whether
13831         the command name and shortcut should be displayed in minibuffer
13832         (eventually, we could extend that to a finer bitmask like
13833         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13834         (dispatch): the pristine dispatch command which just, well,
13835         dispatchs! Note it still sets its result to minibuffer; I'm not
13836         sure we want that.
13837
13838         * lyxfunc.h: remove setHintMessage
13839
13840         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13841
13842 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13843
13844         * BufferView_pimpl.C (specialChar): delete new inset if we have
13845         not been able to insert it.
13846
13847         * kbmap.C: revert to using int instead of kb_action, since all we
13848         are dealing with is pseudo-actions.
13849
13850         * LyXAction.C (searchActionArg): change to return int instead of
13851         kb_action, since the result is a pseudoaction.
13852
13853 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13854
13855         * buffer.C (insertErtContents): Fix (partially) the font bug.
13856
13857 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13858
13859         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13860         as the other one is broken on my machine!
13861
13862 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13863
13864         * commandtags.h:
13865         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13866
13867 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13868
13869         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13870         reflect their actual use. Provide compatibility code for older lyxrc
13871         files.
13872
13873         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13874         FL_NORMAL_STYLE.
13875         change names of popup font variables in line with the changes to lyxrc.C
13876
13877 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13878
13879         * buffer.C (asciiParagraph): avoid outputing a word twice after
13880         an inset.
13881
13882         * lyxrc.C (getDescription): document that document_path and
13883         template_path can be empty.
13884
13885 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13886
13887         * LaTeXFeatures.C (getMacros):
13888         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13889
13890         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13891
13892         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13893         getPackages.
13894         (getPackages): rename feature "floats" to "float". Use an array to
13895         iterate over 'simple' features (i.e. just a \usepackage). Add
13896         handling of "amsmath" (renamed from "amsstyle").
13897
13898 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13899
13900         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13901         features list.
13902
13903 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13904
13905         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13906         FuncStaus::FuncStatus & FuncStaus::some_method().
13907
13908 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13909
13910         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13911         of the func_satus stuff. Edited and massaged in various ways by
13912         JMarc.
13913
13914         * lyxfunc.C (getStatus): use FuncStatus
13915
13916 2002-01-08  Juergen Vigna  <jug@sad.it>
13917
13918         * text.C (nextBreakPoint): use function Inset::isChar().
13919
13920         * paragraph.C (TeXOnePar): use function
13921         Inset::forceDefaultParagraphs.
13922
13923         * buffer.C (latexParagraphs): use function
13924         Inset::forceDefaultParagraphs.
13925
13926 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13927
13928         * lyx_gui.C (init): set the style of the menu popups to
13929         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13930
13931 2002-01-07  Juergen Vigna  <jug@sad.it>
13932
13933         * text.C (setHeightOfRow): small fix
13934         (prepareToPrint): don't look at alignment if we don't have the place
13935         for doing it.
13936
13937 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13938
13939         * box.C: New file. Move the Box methods and functions out of box.h,
13940         following Lars' suggestion.
13941
13942 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13943
13944         * box.h: #include "support/LOstream.h", needed for inlined function.
13945
13946         * lyxtextclass.C:
13947         * lyxtextclasslist.C: added some using std declarations.
13948
13949 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13950
13951         * box.h: make signed dimensions to allow insets wider than
13952           the screen (bug #162)
13953
13954         * BufferView_pimpl.C: add some insetHit debug
13955
13956 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13957
13958         * vc-backend.C: add FIXME
13959
13960 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13961
13962         * lyxfunc.C (getStatus): enable code for showing math font status
13963         in toolbar/menu.
13964
13965 2002-01-07  Juergen Vigna  <jug@sad.it>
13966
13967         * text.C (nextBreakPoint): removed debug output not needed anymore.
13968
13969 2002-01-06  Juergen Vigna  <jug@sad.it>
13970
13971         * text.C (nextBreakPoint): fixed up this function we had this bug
13972         since ever but now hopefully we break row better.
13973         (insertChar): we have to check if an inset is the next char as it
13974         could now happen that a large inset is causing a break.
13975
13976 2002-01-05  Juergen Vigna  <jug@sad.it>
13977
13978         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13979         if it doesn't like to be drawed.
13980
13981 2002-01-04  Juergen Vigna  <jug@sad.it>
13982
13983         * BufferView2.C (lockInset): forgot to set a cursor.
13984
13985         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13986
13987 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13988
13989         * FormMathsPanel.C:
13990         * FormMathsPanel.h
13991         * MathsSymbols.C:
13992         * form_maths_panel.C:
13993         * form_maths_panel.h:
13994         * form_maths_panel.fd: implemented sub- and super- buttons in math
13995         panel.
13996
13997         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13998         (or ^ space) to be used as in TeX (req'd by Andr�.
13999
14000         * lyxfunc.C: Allow ^ and _ again to be used both as
14001         super/subscript (mathed) and as themselves (in text).
14002
14003 2002-01-03  Allan Rae  <rae@lyx.org>
14004
14005         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14006         "LyX" or the filename of the current buffer if it has one.  This is a
14007         modified form of John Levon's patch.
14008
14009         * XFormsView.C (setWindowTitle): also set icon title.
14010
14011         * LyXView.h (setWindowTitle): signature changed.
14012         * XFormsView.h (setWindowTitle): ditto.
14013
14014 2002-01-02  Juergen Vigna  <jug@sad.it>
14015
14016         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14017
14018 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14019
14020         * screen.C (topCursorVisible): introduce a temp var for
14021         text->cursor.row(), handle the case where this row is null. (kindo
14022         hachish)
14023
14024         * text2.C (setCursor): add a couple of asserts.
14025
14026         * paragraph.h (inset_iterator): add -> operator
14027
14028         * paragraph.[Ch] (autoDeleteInsets): remove member function
14029
14030         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14031         cursor pos correctly and handle inset deletion by itself.
14032         (insertErrors): move iterator declaration out of for expression
14033
14034         * lyxtextclass.C: add <algorithm>
14035
14036         * Makefile.am: added the new files to sources, removed layout.C
14037
14038         * layout.C: removed file
14039
14040         * layout.h: remove LYX_DUMMY_LAYOUT
14041
14042         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14043         layout.
14044
14045         * lyxlayout.[Ch]:
14046         * lyxtextclass.[Ch]:
14047         * lyxtextclasslist.[Ch]: new files
14048
14049         * include order changes to a lot of files, also changes because of
14050         the six new files.
14051
14052 2001-12-27  Juergen Vigna  <jug@sad.it>
14053
14054         * buffer.C (asciiParagraph): more fixes.
14055
14056         * tabular.C (ascii): make ascii export support export of only the
14057         data separated by a column-delimiter.
14058         (ascii): better support for ascii export.
14059
14060         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14061
14062 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14063
14064         * tabular_funcs.C: use a "using std::getline" instead of the
14065         previous fix from Angus (necessary for cxx + lyxstring)
14066
14067 2001-12-24  Juergen Vigna  <jug@sad.it>
14068
14069         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14070
14071         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14072         problems. First check a minipage also if we have some ert-contents
14073         (not only on par->size(), second set the right depth of the paragraph
14074         on the relink to the root-paragraph-list!
14075
14076         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14077         which then did not anymore update the main paragraphs on undo/redo!
14078
14079 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14080
14081         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14082         code. Support all font-changing funcs (even those which are not in
14083         menu currently). Support for reporting font settings in
14084         mathed (disabled until Andre provides a function on mathed's side).
14085
14086         * func_status.h (toggle): small helper function to set toggle
14087         state on a flag.
14088
14089 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14090
14091         * tabular_funcs.C: getline -> std::getline
14092
14093 2001-12-21  Juergen Vigna  <jug@sad.it>
14094
14095         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14096         accessed and could be 0 (I couldn't generate this but it seems
14097         Michael could!).
14098
14099 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14100
14101         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14102         * tabular_funcs.h: here and include iosfwd
14103
14104 2001-12-20  Juergen Vigna  <jug@sad.it>
14105
14106         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14107         inside inset but undo_par was.
14108
14109 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14110
14111         * Thesaurus.C: always include <config.h> in sources.
14112
14113         * Painter.h:
14114         * lyxlookup.h:
14115         * box.h: do not include <config.h> in header files
14116
14117         * text.C (paintLastRow): remove unused variable
14118
14119         * text.C (transformChar):
14120         (insertChar):
14121         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14122
14123         * Painter.C (text):
14124         * font.C (width): rewrite to use uppercase() instead of
14125         islower/toupper.
14126
14127         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14128
14129 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14130
14131         * lyxfind.C: clean up of find failure position change
14132
14133 2001-12-20  Juergen Vigna  <jug@sad.it>
14134
14135         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14136
14137         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14138         (TeXRow): added to LaTeX a single tabular row.
14139         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14140         (Latex): simplified and finally good LT-h/f support.
14141         (various_functions): just small adaptions for LT-h/f support.
14142
14143         * tabular_funcs.[hC]: added and moved here all not classfunctions
14144         of LyXTabular.
14145
14146 2001-12-19  Juergen Vigna  <jug@sad.it>
14147
14148         * tabular.[Ch]: better support for longtabular options (not finished
14149         yet!)
14150
14151 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14152
14153         * text.C (paintLastRow): use the label font instead of the font of
14154         the last character to compute the size of *_BOX. This makes more
14155         sense and avoids a crash with empty paragraphs.
14156         Use Painter::rectangle to draw EMPTY_BOX.
14157
14158 2001-12-19  Juergen Vigna  <jug@sad.it>
14159
14160         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14161         the paragraphs if the replaced paragraph is not the first one!
14162         Tried to delete not used paragraphs but does not work yet so for
14163         now it's inside #ifdef's and by default off!
14164
14165 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14166
14167         * MenuBackend.C: include "lyx_main.h" instead of declaring
14168         lastfiles (actually was declared as LastFiles* instead of a
14169         scoped_ptr).
14170
14171 2001-12-17  Juergen Vigna  <jug@sad.it>
14172
14173         * tabular.C (AppendColumn): applied John's fix
14174
14175 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14176
14177         * BufferView.h:
14178         * BufferView.C:
14179         * BufferView_pimpl.h:
14180         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14181
14182         * Makefile.am:
14183         * box.h: new start of class for above
14184
14185         * lyxfunc.C: ignore space-only minibuffer dispatches.
14186           Show the command name when it doesn't exist
14187
14188         * minibuffer.C: don't add empty lines to the history
14189
14190         * minibuffer.C: add a space on dropdown completion
14191
14192 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14193
14194         * text.C: fix line above/below drawing in insets
14195
14196 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14197
14198         * lyxlength.C (LyXLength): Initialize private variables.
14199
14200 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14201
14202         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14203         when inserting error insets.
14204
14205 2001-12-13  Juergen Vigna  <jug@sad.it>
14206
14207         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14208         actually sometimes the before-paragraph.
14209         (setUndo): don't clear the redostack if we're not actually undoing!
14210
14211 2001-12-06  Juergen Vigna  <jug@sad.it>
14212
14213         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14214         and fixed redoing of main paragraph, so we can use it now ;)
14215
14216         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14217
14218 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14219
14220         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14221         Juergen's request
14222
14223 2001-12-13  André Pönitz <poenitz@gmx.net>
14224
14225         * undostack.[Ch]:
14226         * undo_func.C: minor cleanup
14227
14228 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14229
14230         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14231         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14232         font in urw-fonts package which is marked as -urw-fontspecific and
14233         does not work (incidentally, changing the encoding in the
14234         fonts.dir of this package to -adobe-fontspecific fixes the
14235         problem).
14236
14237         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14238         is a crash when undoing first paragraph (Juergen, please take a
14239         look). THis does not mean the undo fix is wrong, just that it
14240         uncovers problems.
14241
14242         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14243         the (Paragraph*) version when needed instead of duplicating the
14244         code.
14245
14246         * text.C (workWidth): use Inset::parOwner to find out where the
14247         inset has been inserted. This is a huge performance gain for large
14248         documents with lots of insets. If Inset::parOwner is not set, fall
14249         back on the brute force method
14250
14251         * paragraph_pimpl.C (insertInset):
14252         * paragraph.C (Paragraph):
14253         (cutIntoMinibuffer): set parOwner of insets when
14254         inserting/removing them
14255
14256         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14257
14258 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14259
14260         * commandtags.h:
14261         * LyXAction.C:
14262         * lyx_main.C:
14263         * lyxfunc.C:
14264         * mathed/formulabase.C:
14265         * mathed/math_cursor.[Ch]:
14266         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14267
14268
14269 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14270
14271         * lyxlength.[Ch] (operator!=): new function
14272
14273 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14274
14275         * text.C (workWidth): use Inset::parOwner to find out where the
14276         inset has been inserted. This is a huge performance gain for large
14277         documents with lots of insets. If Inset::parOwner is not set, fall
14278         back on the brute force method
14279
14280         * paragraph_pimpl.C (insertInset):
14281         * paragraph.C (Paragraph):
14282         (cutIntoMinibuffer): set parOwner of insets when
14283         inserting/removing them
14284
14285         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14286
14287 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14288
14289         * tabular-old.C (getTokenValue):
14290         * tabular.C (getTokenValue):
14291         (write_attribute): new versions for LyXLength
14292         (everywhere): adjust the use of widths
14293
14294         * tabular.h: change the type of widths from string to LyXLength
14295
14296 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14297
14298         * paragraph.C: fixed missing line number count when exporting
14299         Environments to LaTeX file
14300
14301         * buffer.C: added informational message for checking line numbers.
14302
14303 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14304
14305         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14306         paragraph, do the 'double space' part, but not the 'empty
14307         paragraph' one.
14308
14309         * text.C (workWidth): small optimization
14310         (getLengthMarkerHeight): use minimal size for negative lengths.
14311
14312 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14313
14314         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14315
14316         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14317
14318 2001-12-11  André Pönitz <poenitz@gmx.net>
14319
14320         * FontLoader.C:
14321         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14322
14323 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14324
14325         * text2.C: keep selection on a setFont()
14326
14327 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14328
14329         * lyx_cb.C: another bv->text misuse, from insert label
14330
14331 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14332
14333         * kbsequence.h:
14334         * kbsequence.C: re-instate nmodifier mask
14335
14336 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14337
14338         * lyx_main.h: make lyxGUI private.
14339
14340 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14341
14342         * lyxfind.C: place the cursor correctly on failed search
14343
14344 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14345
14346         * text.C (getLengthMarkerHeight): for small heights, the arrows
14347         are not always on top/bottom of the text
14348         (drawLengthMarker): smaller arrows; take the left margin in
14349         account; draw also vfills.
14350         (paintFirstRow):
14351         (paintLastRow): remove special code for vfill and standard spaces,
14352         since everything is handled in drawLengthMarker now.
14353
14354 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14355
14356         * buffer.C (insertErtContents): try to handle font and language
14357         interaction a bit better.g
14358
14359         * ColorHandler.C (updateColor): change the hash to cover the whole
14360         LColor enum, ws cleanup
14361         (getGCLinepars): ditto
14362         (getGCLinepars): only lookup in the linecache once.
14363
14364 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14365
14366         * iterators.C (operator++): Make the iterator more robust
14367
14368         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14369         (John's patch)
14370         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14371
14372 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14373
14374         * lyxtext.h:
14375         * text.C: better added space drawing
14376
14377 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14378
14379         * LyXView.C:
14380         * BufferView2.C: fix layout combo update on inset unlock
14381
14382 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14383
14384         * Makefile.am: don't compile unused files
14385
14386 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14387
14388         * lyxfunc.C:
14389         * commandtags.h:
14390         * LyXAction.C: remove old LFUN_LAYOUTNO
14391
14392 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14393
14394         * paragraph_pimpl.h:
14395         * paragraph_pimpl.C: isTextAt() doesn't need font param
14396
14397 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14398
14399         * lyxlex.h:
14400         * lyxlex.C: little cleanup
14401
14402 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14403
14404         * BufferView_pimpl.C: fix insertAscii for insets
14405
14406 2001-12-05  Juergen Vigna  <jug@sad.it>
14407
14408         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14409         set the right font on the "multi" paragraph paste!
14410
14411 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14412
14413         * trans_decl.h:
14414         * trans_mgr.[Ch]:
14415         * trans.[Ch]:
14416         * lyxgluelength.C:
14417         * lyxlength.C: remove out-commented code.
14418
14419         * BufferView_pimpl:
14420         * CutAndPaste.C:
14421         * DepTable.C:
14422         * buffer.C:
14423         * chset.C:
14424         * lastfiles.C:
14425         * lyxlex.C:
14426         * lyxlex_pimpl.C:
14427         * lyxserver.C:
14428         * screen.C:
14429         * tabular-old.C:
14430         * tabular.C:
14431         * text.C:
14432         * trans_mgr.C:
14433         * vc-backend.C: change "while(" to "while ("
14434
14435         * lyxlength.[Ch]: add zero function to check if length is zero or
14436         not
14437         * lyxgluelength.C: use it
14438
14439 2001-12-05  Allan Rae  <rae@lyx.org>
14440
14441         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14442         Works for 2.95.3, from what I understand of Garst's reports this should
14443         work for other g++ versions.  We're screwed if the abs(int) definition
14444         changed between bugfix releases of gcc.
14445
14446 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14447
14448         * text.C: fix chapter label offset !
14449
14450 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14451
14452         * lyxtext.h:
14453         * text.C: fix hfill at end of line, clean up
14454
14455 2001-12-04  Juergen Vigna  <jug@sad.it>
14456
14457         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14458         that we force an update of the inset and it's owners if neccessary.
14459
14460 2001-12-03  Juergen Vigna  <jug@sad.it>
14461
14462         * text.C (rowLast): simplified code
14463
14464 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14465
14466         * lyxfunc.C: fix show options on timeout
14467
14468 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14469
14470         * screen.C (topCursorVisible): scroll half a page when the cursor
14471         reached top of bottom of screen
14472
14473 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14474
14475         * minibuffer.C: deactivate on loss of focus
14476
14477 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14478
14479         * vspace.[Ch] (operator!=): add operator.
14480
14481 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14482
14483         * BufferView_pimpl.C: refuse to open an inset when
14484         there's a selection.
14485
14486 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14487
14488         * BufferView_pimpl.C: allow to click on RHS of full row insets
14489
14490 2001-11-30  Juergen Vigna  <jug@sad.it>
14491
14492         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14493         insets for undo reasons.
14494
14495 2001-11-28  André Pönitz <poenitz@gmx.net>
14496
14497         * vspace.[Ch]: cosmetical changes
14498
14499 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14500
14501         * LyXAction.h:
14502         * LyXAction.C:
14503         * lyxfunc.h:
14504         * lyxfunc.C:
14505         * kbmap.h:
14506         * kbmap.C:
14507         * lyxrc.C:
14508         * kbsequence.h:
14509         * kbsequence.C: part re-write of old kb code
14510
14511         * Painter.C:
14512         * WorkArea.C: remove Lgb_bug_find_hack
14513
14514 2001-11-30  José Matos <jamatos@fep.up.pt>
14515
14516         * buffer.C (makeDocBookFile): add a comment to point a hack.
14517         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14518         Fixed a double write of labels.
14519
14520 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14521
14522         * LaTeX.C:
14523         * LaTeX.h Fixed bug in LaTeX class where it would not
14524         re-run latex if no depfiles were changed, but the .dvi was removed.
14525
14526 2001-11-28  André Pönitz <poenitz@gmx.net>
14527
14528         * all the files from the change on 2001/11/26:
14529         use lyx::layout_type instead of LyXTextClass::size_type
14530         use lyx::textclass_type instead of LyXTextClassList::size_type
14531
14532 2001-11-29  Juergen Vigna  <jug@sad.it>
14533
14534         * text.C: added support for paragraph::isFreeSpacing()
14535
14536         * buffer.C: same as above
14537
14538         * paragraph.h: inserted isFreeSpacing() function to enable
14539         FreeSpacing inside InsetERT.
14540
14541         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14542         of the paragraph's in the cut/copy buffer to 0!
14543
14544         * text2.C (removeRow): remove the assert as it can!
14545
14546         * lyxtext.h: added helper function firstRow returning firstrow and
14547         made firstrow private again.
14548
14549         * BufferView2.C (lockInset): don't relock if we're already locked!
14550
14551         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14552         the only paragraph.
14553         (removeRow): added Assert::(firstrow)
14554
14555         * debug.C: forgot to add INSETTEXT here.
14556
14557 2001-11-28  Juergen Vigna  <jug@sad.it>
14558
14559         * sp_spell.C (initialize): changed error text to more general
14560         spellchecker command use (not only ispell!)
14561
14562         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14563
14564         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14565
14566 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14567
14568         * vspace.C: initialise lyxgluelength on failure
14569
14570 2001-11-28  Allan Rae  <rae@lyx.org>
14571
14572         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14573         declaration & definition that looks like a function declaration.
14574
14575 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14576
14577         * BufferView2.C (copy):
14578         (copyEnvironment): do not clear the selection when doing a copy.
14579
14580         * text.C (paintFirstRow): compilation fix
14581
14582 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14583
14584         * tabular.C (Latex): correct line count when writing latex.
14585
14586 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14587
14588         * paragraph_pimpl.h:
14589         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14590           bug a bit
14591
14592 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14593
14594         * text.C:
14595         * LColor.h:
14596         * LColor.C: change vfillline->added_space
14597
14598         * text.C: add markers and text for added space
14599
14600         * vspace.C: fix comment
14601
14602 2001-11-28  André Pönitz <poenitz@gmx.net>
14603
14604         * paragraph.C: whitespace changes
14605         * all the other files from the change on 2001/11/26:
14606         change *::pos_type into lyx::pos_type
14607
14608 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14609
14610         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14611         language of the document when inserting error insets.
14612
14613 2001-11-26  André Pönitz <poenitz@gmx.net>
14614
14615         * BufferView_pimpl.[Ch]:
14616         *       CutAndPaste.C:
14617         * buffer.[Ch]:
14618         * lyxcursor.[Ch]:
14619         * lyxfind.C:
14620         * lyxfunc.C:
14621         * lyxrow.[Ch]:
14622         * paragraph.[Ch]:
14623         * paragraph_pimpl.[Ch]:
14624         * sp_spell.C:
14625         * text.C:
14626         * text2.C: reduce header dependencies, introduce type for positions
14627
14628 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14629
14630         * <various>: change to use Alert.h
14631
14632 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14633
14634         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14635         when encountering an unknown token.
14636         (readLyXformat2): Show an error message if there were unknown tokens.
14637
14638 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14639
14640         * BufferView2.C:
14641         * BufferView_pimpl.C:
14642         * buffer.C:
14643         * paragraph.h:
14644         * text.C:
14645         * text2.C: use par->isInset()
14646
14647 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14648
14649         * paragraph_pimpl.h:
14650         * paragraph_pimpl.C: cleanup
14651
14652 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14653
14654         * text2.C (removeRow):
14655         * text.C (setHeightOfRow): remove useless (and costly) call to
14656         getRow.
14657
14658 2001-11-20  Allan Rae  <rae@lyx.org>
14659
14660         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14661         Now need Inset*::checkInsertChar() to return true for appropriate
14662         cases so that the characters in the minibuffer will actually be
14663         inserted.
14664
14665 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14666
14667         * text.C: change the order of the includes.
14668         (workWidth): initialize it at once.
14669         (workWidth): make maxw unsigned
14670         (setHeightOfRow): remove unused variable (inset)
14671         (selectSelectedWord): remove unused variable (inset)
14672         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14673
14674 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14675
14676         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14677         server is not running.
14678         (openConnection):
14679         (closeConnection): add debug info when server is disabled.
14680
14681         * ColorHandler.C (getGCForeground): send debug message to GUI
14682         channel.
14683
14684         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14685
14686         * kbmap.C (bind): modify because return conventions of
14687         kb_sequence::parse have changed.
14688
14689         * kbsequence.C (parse): only ignore spaces and not any stupid
14690         control character. This avoids tests like s[i] <= ' ', which are
14691         guaranteed to fail with 8bit characters and signed chars.
14692         Change return code to string::npos when there have been no error
14693         (0 was a bad idea when error is at first character)
14694
14695 2001-11-14  José Matos  <jamatos@fep.up.pt>
14696
14697         * buffer.h:
14698         * buffer.C (simpleDocBookOnePar): removed unused argument.
14699
14700 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14701
14702         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14703         insets which are part of a word. Paragraph::isLetter takes care of
14704         that now. Use Paragraph::isInset to identify insets.
14705         (selectSelectedWord): do not test for hyphenation break.
14706
14707         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14708         that protected spaces are considered as spaces.
14709
14710         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14711         Inset::isLetter.
14712
14713 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14714
14715         * lyxserver.h:
14716         * lyxserver.C: fix it. and small cleanup.
14717
14718 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14719
14720         * BufferView_pimpl.C: use inline helpers
14721
14722         * LaTeXFeatures.h:
14723         * LaTeXFeatures.C: fix typos
14724
14725         * Spacing.h:
14726         * Spacing.C: move spacing_string into class
14727
14728         * ToolbarDefaults.C: move stuff into namespace anon
14729
14730         * layout.h: update enum
14731
14732         * lyxfunc.C: use better debug
14733
14734         * minibuffer.h: fix typo
14735
14736         * debug.h:
14737         * debug.C:
14738         * WorkArea.C: add and use Debug::WORKAREA
14739
14740         * lyxtext.h:
14741         * text.C:
14742         * text2.C: code re-organisation, inline helpers
14743
14744 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14745
14746         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14747         std::vector.empty().
14748
14749 2001-11-09  Allan Rae  <rae@lyx.org>
14750
14751         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14752         '\n's after tables.  Tabular and ERT inset work now makes this no
14753         longer necessary.
14754
14755 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14756
14757         * minibuffer.h:
14758         * minibuffer.C: fix crash, improve drop-down completion
14759
14760 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14761
14762         * lyxserver.h:
14763         * lyxserver.C: invalidate fd's when doing endPipe()
14764
14765 2001-11-08  José Matos  <jamatos@fep.up.pt>
14766
14767         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14768         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14769
14770         * paragraph.h:
14771         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14772
14773 2001-11-07  José Matos  <jamatos@fep.up.pt>
14774
14775         * buffer.h:
14776         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14777         const qualifier.
14778
14779         * buffer.C (sgmlOpenTag):
14780         * buffer.C (sgmlCloseTag): removed debug info.
14781
14782         * buffer.h (sgmlOpenTag):
14783         * buffer.h (sgmlCloseTag): made public.
14784
14785 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14786
14787         * buffer.C (saveParamsAsDefaults):
14788         * lyx_cb.C (MenuLayoutSave): remove
14789
14790         * LyXAction.C (init):
14791         * commandtags.h:
14792         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14793
14794 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14795
14796         * buffer.C (setPaperStuff): removed from here...
14797
14798         * bufferparams.C (setPaperStuff): ... and moved there.
14799
14800 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14801
14802         * minibuffer.h:
14803         * minibuffer.C:
14804         * XFormsView.C: add support for drop-down completion
14805
14806 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14807
14808         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14809         commands.
14810
14811 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14812
14813         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14814         disabled.
14815
14816 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14817
14818         * lyx_main.C: change ref to known bugs
14819
14820 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14821
14822         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14823         to work around older babel problems.
14824
14825 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14826
14827         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14828
14829 2001-10-24  Juergen Vigna  <jug@sad.it>
14830
14831         * tabular-old.C (ReadOld): below variable changes reflected.
14832
14833         * tabular.[Ch]: added ltType struct for longtable header/footer
14834         defines and changed all instances where they are used. Added
14835         future support for double top/bottom rows.
14836
14837 2001-10-24  José Matos  <jamatos@fep.up.pt>
14838
14839         * buffer.h (docbookHandleCaption):
14840         * buffer.C (docbookHandleCaption): removed unused function.
14841         (makeDocBookFile): moved docbook supported version to v4.1.
14842
14843 2001-10-24  José Matos  <jamatos@fep.up.pt>
14844
14845         * tabular.h:
14846         * tabular.C (docbookRow): new function to export docbook code of a row.
14847         (DocBook): now honors the longtable flags.
14848
14849 2001-10-23  José Matos  <jamatos@fep.up.pt>
14850
14851         * LaTeXFeatures.h:
14852         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14853         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14854
14855         * buffer.C (makeLinuxDocFile):
14856         (makeDocBookFile): reworked the preamble, more clean, and with
14857         support for lyx defined entities. Changed the document declaration
14858         to be more XML friendly.
14859
14860         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14861         if we need to output XML that should be done with a filter.
14862
14863 2001-10-22  Juergen Vigna  <jug@sad.it>
14864
14865         * sp_pspell.h (class PSpell): add alive function needed in the
14866         controller to see if the spellchecker could be started.
14867
14868 2001-10-22  Juergen Vigna  <jug@sad.it>
14869
14870         * buffer.C (insertStringAsLines): modify the font for inserting
14871         chars in certain conditions by calling checkInsertChar(font).
14872
14873 2001-10-19  Juergen Vigna  <jug@sad.it>
14874
14875         * text.C (workWidth): use getRow instead of wrong algorithm.
14876         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14877
14878 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14879
14880         * lyxserver.h:
14881         * lyxserver.C:
14882         * lyx_main.h:
14883         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14884
14885 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14886
14887         * text.C (workWidth): do not search for the exact row when
14888         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14889         optimization for big documents.
14890
14891 2001-10-18  Juergen Vigna  <jug@sad.it>
14892
14893         * text.C (workWidth): new function with added Inset * parameter.
14894
14895 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14896
14897         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14898
14899         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14900         change return type of getColumnNearX.
14901
14902
14903         * text.C (changeRegionCase): use uppercase/lowercase instead of
14904         toupper/tolower.
14905         (leftMargin):
14906         (rightMargin): simplify code by factoring out the uses of
14907         textclasslist.
14908         (labelFill):
14909         (numberOfHfills):
14910         (setHeightOfRow):
14911         (appendParagraph): use Paragraph::size_type
14912
14913 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14914
14915         * vspace.C (asLatexString): add a missing break
14916
14917 2001-10-15  Herbert Voss  <voss@perce.de>
14918
14919         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14920
14921 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14922
14923         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14924         is not available.
14925
14926 2001-10-10  André Pönitz <poenitz@gmx.net>
14927
14928         * lyxfunc.C: removed greek_kb_flag.
14929
14930 2001-10-10  Herbert Voss  <voss@perce.de>
14931
14932         * lyx_main.C: delete global string help_lyxdir.
14933
14934 2001-10-09  Herbert Voss  <voss@perce.de>
14935
14936         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14937
14938         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14939
14940         * lyx_main.C: added global string help_lyxdir.
14941
14942         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14943
14944 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14945
14946         * lyxrc.C (set_font_norm_type): support iso8859-4
14947
14948 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14949
14950         * LaTeX.C (deplog): add another regex for MikTeX
14951
14952 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14953
14954         * lyxrc.C (set_font_norm_type): support iso8859-3
14955
14956 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14957
14958         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14959
14960         * LaTeXFeatures.C: remove special case of french and index
14961
14962         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14963         before \begin{document}). This solves several incompatibilities.
14964
14965 2001-10-03  Garst Reese  <reese@isn.net>
14966
14967         * lyx_cb.C: change CheckTex error msg.
14968
14969 2001-10-03  José Matos  <jamatos@fep.up.pt>
14970
14971         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14972
14973 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14974
14975         * .cvsignore: update
14976
14977         * lyx_main.C (commandLineVersionInfo): use new style version info.
14978
14979         * buffer.C (writeFile):
14980         (makeLaTeXFile):
14981         (makeLinuxDocFile):
14982         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14983
14984         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14985
14986         * version.h: update to use stuff in version.C
14987
14988         * version.C.in: new file. Contains version information determined
14989         at compile time. This is a merging of version.h and
14990         version_info.h.in.
14991
14992 2001-10-03  Juergen Vigna  <jug@sad.it>
14993
14994         * BufferView_pimpl.C (update): don't change "dirty" status in
14995         updateInset call.
14996
14997 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14998
14999         * WorkArea.C (c-tor): re-position version string slightly.
15000
15001 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15002
15003         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15004         revert to previous code.
15005
15006         WorkArea.[Ch]: (show, destroySplash): methods removed.
15007
15008         WorkArea.C: rework code so that it's an amalgam of the codes before and
15009         after the splash screen was moved to WorkArea.
15010
15011 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15012
15013         * lyxrc.C (read):
15014         * vspace.C (inPixels):
15015         (lyx_advance):
15016         * kbmap.C (bind):
15017         * buffer.C (insertStringAsLines):
15018         (asciiParagraph): fix types to be large enough
15019
15020         * lyxlex_pimpl.h: change member status from short to int
15021
15022         * layout.h: fix type of endlabeltype
15023
15024         * kbmap.C (bind):
15025         * kbsequence.C (parse): change return type to string::size_type
15026
15027         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15028         variable
15029
15030         * Bullet.C (bulletSize):
15031         (bulletEntry): do not use short ints as parameters
15032
15033         * BufferView2.C (insertLyXFile): change a char to an int.
15034
15035         * WorkArea.C (WorkArea): remove unneeded floats in computation
15036
15037 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15038
15039         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15040
15041         * paragraph.C (asString): Do not ignore newline/hfill chars when
15042         copying to the clipboard.
15043
15044 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15045
15046         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15047         after a multi-line inset.
15048
15049 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15050
15051         * paragraph.C (validate): Set NeedLyXFootnoteCode
15052
15053 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15054
15055         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15056         and decrease-error to decrease.
15057
15058 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15059
15060         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15061         it more readable (should be equivalent)
15062
15063 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15064
15065         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15066
15067 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15068
15069         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15070         of a cursor (row, etc.) after a character has been deleted
15071         (deleteEmptyParagraphMechanism): call the method above on _all_
15072         cursors held by the LyXText when a double space has been
15073         detected/deleted.
15074
15075 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15076
15077         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15078         pixmap.
15079         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15080
15081         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15082         background. Use greyOut() and the new show() methods to toggle between
15083         the foreground and background. Add code to remove the splash after
15084         its initial showing.
15085
15086         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15087         (create_forms): no longer call Dialogs::showSplash.
15088
15089 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15090
15091         * .cvsignore: add version_info.h
15092
15093 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15094
15095         * version_info.h.in: new file
15096
15097         * Makefile.am: add version_info.h.in
15098
15099         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15100         version_info.h instead of VERSION_INFO
15101
15102 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15103
15104         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15105         The ERT inset now returns string().
15106
15107 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15108
15109         * lyxtext.h, text.C (selectNextWord): renamed as
15110         selectNextWordToSpellcheck.
15111
15112         * text.C (selectNextWordToSpellcheck): Modified to not select
15113         words inside an ERT inset.
15114
15115 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15116
15117         * lyx_cb.C (MenuLayoutSave): change a bit the question
15118
15119         * sp_base.h: include <sys/types.h>
15120
15121 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15122
15123         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15124
15125 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15126
15127         * several files: fix typos in user-visible strings
15128
15129 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15130
15131         * text2.C (pasteSelection): do not set the selection, since it
15132         will be cleared later. Actually, the intent was to fix the way the
15133         selection was set, but I figured rmoving the code was just as good.
15134
15135 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15136
15137         * FontLoader.C (available): Check if font is available without
15138         loading the font.
15139
15140 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15141
15142         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15143
15144 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15145
15146         * lyxrc.[Ch]: added display_graphics variable and associated code.
15147
15148 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15149
15150         * bufferparams.C (hasClassDefaults): new method. Returns true if
15151         the buffer parameters correspond to known class defaults
15152
15153 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15154
15155         * XFormsView.C (show): set minimum size to the main window.
15156
15157 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15158
15159         * text2.C (copySelection):
15160         (cutSelection):
15161         * lyxfind.C (LyXReplace):
15162         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15163         LyXText::selectionAsString.
15164
15165         * paragraph.C (asString): add "label" argument to the second form
15166
15167         * text2.C (selectionAsString): add "label" argument and pass it to
15168         Paragraph::asString.
15169
15170 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15171
15172         * lyx_main.C (commandLineHelp): remove version information
15173
15174 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15175
15176         * lyx_main.C: add -version commandline option
15177
15178 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15179
15180         * paragraph.h: make the optional constructor arg required instead.
15181         some modifications to other files because of this.
15182
15183         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15184
15185         * lyxserver.C (C_LyXComm_callback): make it static
15186
15187         * lyx_main.C (error_handler): make it static
15188
15189         * lyx_gui.C (LyX_XErrHandler): make it static
15190
15191         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15192
15193         * WorkArea.C: make the extern "C" methods static.
15194
15195         * Makefile.am (lyx_LDADD): simplify
15196
15197 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15198
15199         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15200         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15201
15202         * LyXAction.C (init):
15203         * lyxfunc.C (dispatch): associated code removal.
15204
15205 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15206
15207         * lyxfont.h (isSymbolFont): shut off warning
15208
15209         * text.C (setHeightOfRow):
15210         (getVisibleRow): fix crash with empty paragraphs which have a
15211         bottom line
15212
15213 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15214
15215         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15216         code.
15217
15218 2001-09-04  José Matos  <jamatos@fep.up.pt>
15219         * buffer.C
15220         * buffer.h
15221         * tabular.C (docbook): rename docBook method to docbook.
15222
15223 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15224
15225         * Makefile.am: add dependencies to main.o.
15226
15227 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15228
15229         * FontLoader.C (available): Return false if !lyxrc.use_gui
15230
15231 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15232
15233         * FontInfo.C (query):
15234         * converter.C (view):
15235         * importer.C (Import):
15236         * exporter.C (Export): Can not -> cannot.
15237
15238 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15239
15240         * BufferView_pimpl.C: allow to create index inset even if
15241           string is empty
15242
15243 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15244
15245         * buffer.C (getLists): replace boost::tie code with an explicit pair
15246         as boost::tie can break some compilers.
15247
15248         * iterators.h: Added a std:: declaration to the return type of
15249         ParIterator::size.
15250
15251 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15252
15253         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15254           case.
15255
15256 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15257
15258         * iterators.[Ch]: New files. Provide paragraph iterators.
15259
15260         * buffer.C (changeLanguage): Use paragraph iterators.
15261         (isMultiLingual): ditto
15262
15263         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15264
15265 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15266
15267         * FontLoader.C: Support for cmr font.
15268
15269 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15270
15271         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15272         (available): New method.
15273
15274         * FontInfo.C (getFontname): Use scalable fonts even when
15275         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15276         found.
15277
15278 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15279
15280         * converter.C (Formats::view): reverted! Incorrect fix.
15281
15282 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15283
15284         * converter.C (Formats::view): only output the -paper option
15285         if the dvi viewer is xdvi, thereby fixing bug #233429.
15286
15287 2001-08-23  Herbert Voss  <voss@perce>
15288
15289         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15290
15291 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15292
15293         * Spacing.h (Spacing): Set space to Default on in the default
15294         constructor.
15295
15296 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15297
15298         * vc-backend.h (RCS::versionString): add RCS to version
15299         (CVS::versionString): add CVS to version
15300
15301         * vc-backend.C (scanMaster): do not add CVS to version.
15302         (scanMaster): do not add RCS to version
15303
15304         * lyxvc.C (versionString): new method
15305
15306         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15307
15308 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15309
15310         * Spacing.C (set): initialize fval
15311
15312 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15313
15314         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15315         " or \.
15316
15317 2001-08-16  Juergen Vigna  <jug@sad.it>
15318
15319         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15320
15321 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15322
15323         * BufferView_pimpl.C:
15324         * figureForm.C:
15325         * lyxtext.h:
15326         * text2.C: setParagraph takes linespacing now
15327
15328 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15329
15330         * LyxAction.C: add internal LFUN_CITATION_INSERT
15331
15332         * LyXView.C: actually apply fix
15333
15334         * bufferlist.C: fix open non-existent file
15335
15336         * lyxfind.C: fix indentation
15337
15338         * lyxfunc.C: remove unneeded assert, fix typo
15339
15340 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15341
15342         * MenuBackend.C: use "Floatname List"
15343
15344 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15345
15346         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15347         when converting LaTeX layout to insetERT.
15348         Generate a non-collapsed float when reading old float
15349
15350 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15351
15352         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15353         ERT insets.
15354
15355 2001-08-13  Juergen Vigna  <jug@sad.it>
15356
15357         * text.C (fill): return 0 instead of 20 as this seems to be the more
15358         correct value.
15359
15360 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15361
15362         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15363         lyxrc.font_norm.
15364
15365 2001-08-13  Juergen Vigna  <jug@sad.it>
15366
15367         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15368         casesensitive off.
15369         (SearchBackward): comment out the unlocking of the inset_owner this
15370         should not be needed!
15371
15372 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15373
15374         * Many files: Remove inherit_language, and add latex_language
15375
15376         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15377         collapsible insets.
15378
15379 2001-08-10  Juergen Vigna  <jug@sad.it>
15380
15381         * text.C (prepareToPrint): fixed hfill-width in draw!
15382
15383         * BufferView2.C (selectLastWord): save the selection cursor as this
15384         now is cleared in the function LyXText::clearSelection!
15385
15386 2001-08-08  Juergen Vigna  <jug@sad.it>
15387
15388         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15389         BACKSPACE type functions.
15390
15391         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15392         is only cutted from the document but not put in the cut-buffer, where
15393         still the old stuff should be.
15394
15395         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15396
15397         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15398
15399         * tabular.C (SetWidthOfCell): fixed special case where the width
15400         was not updated!
15401         (LeftLine): handle '|' in align_special.
15402         (RightLine): ditto
15403         (LeftAlreadyDrawed): ditto
15404         (SetWidthOfCell): ditto
15405
15406 2001-08-07  Juergen Vigna  <jug@sad.it>
15407
15408         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15409
15410 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15411
15412         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15413         * lyxlex.[hC]: ditto
15414
15415 2001-08-06  Juergen Vigna  <jug@sad.it>
15416
15417         * text.C (getVisibleRow): fix up row clearing a bit.
15418
15419 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15420
15421         * minibuffer.C: make sure the X server sees the changes in the input.
15422
15423 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15424
15425         * paragraph.C (getFont): split into...
15426         (getLabelFont): this
15427         (getLayoutFont): and this
15428         * paragraph_pimpl.C (realizeFont): calling this
15429
15430         * text2.C (getFont): split into...
15431         (getLayoutFont): this
15432         (getLabelFont): and this
15433         (realizeFont): all three calling this
15434
15435         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15436         files where used.
15437
15438 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15439
15440         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15441
15442 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15443
15444         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15445         layouts from the Quote inset insertion.
15446
15447 2001-08-03  Juergen Vigna  <jug@sad.it>
15448
15449         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15450
15451         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15452         only if status not is already CHANGED_IN_DRAW (second level).
15453
15454         * text.C (draw): don't set the need_break_row when inside an
15455         InsetText LyXText.
15456
15457 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15458
15459         * buffer.C (parseSingleLyXformat2Token): handle more latex
15460         conversion cases.
15461
15462         * bufferview_funcs.[hC]: change function names to
15463         begin with small char, adjust other files.
15464
15465 2001-08-02  André Pönitz <poenitz@gmx.net>
15466
15467         * lyxfunc.C:
15468         BufferView_pimpl.C: remove broken special code for math-greek
15469
15470 2001-08-02  Juergen Vigna  <jug@sad.it>
15471
15472         * BufferView_pimpl.C (update): redone this function so that we
15473         update the text again if there was a CHANGE_IN_DRAW.
15474
15475         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15476         (drawFromTo): added a new internal bool which is used by draw() and
15477         redraw() function.
15478         (general): some cursor drawing problems fixed.
15479
15480 2001-08-01  Juergen Vigna  <jug@sad.it>
15481
15482         * lyxfind.C (LyXFind): fixed
15483         (SearchForward): ditto
15484         (SearchBackward): ditto
15485
15486         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15487         spurius drawing of the cursor in the main area.
15488
15489         * text2.C (status): small fix which could lead to a segfault!
15490         (clearSelection): remove unneeded BufferView param.
15491
15492 2001-08-01  André Pönitz <poenitz@gmx.net>
15493
15494         * lyxfunc.C: small change due to changed mathed interface
15495
15496 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15497
15498         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15499
15500 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15501
15502         * lyxfunc.c: fail gracefully if file doesn't exist
15503
15504         * LyXSendto.C:
15505         * buffer.C:
15506         * lyxfunc.C:
15507         * BufferView_pimpl.C: IsDirWriteable() proto changed
15508
15509         * LyXView.C: fix updateWindowTitle() to store the last title
15510
15511 2001-07-31  Juergen Vigna  <jug@sad.it>
15512
15513         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15514         the font (wrong since using of Paragraph::highestFontInRange).
15515
15516         * paragraph.C (highestFontInRange): added a default_size parameter.
15517
15518         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15519         (setHeightOfRow): reformat
15520
15521 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15522
15523         * converter.[hC] + affected files: move to (inital-char)lowercase
15524         function names.
15525
15526         * ParagraphParameters.C (ParagraphParameters): remove commented code
15527
15528         * PainterBase.[Ch]: remove commented code
15529
15530         * LaTeXFeatures.h: add "bool floats" for float.sty
15531
15532         * LaTeXFeatures.C (LaTeXFeatures): init floats
15533         (require): handle float
15534         (getPackages): do it with floats
15535
15536 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15537
15538         * BufferView_pimpl.C (Dispatch): improve handling of
15539         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15540
15541         * commandtags.h: #include lyxfont.h here temporarily to avoid
15542         keybinding bug.
15543
15544         * bufferlist.h: include LString.h here.
15545
15546 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15547
15548         * text2.C (getStringToIndex): new method.
15549
15550 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15551
15552         * *: Reduced header file dependencies all over.
15553
15554 2001-07-30  Baruch Even  <baruch@lyx.org>
15555
15556         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15557
15558 2001-07-29  Baruch Even  <baruch@lyx.org>
15559
15560         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15561
15562 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15563
15564         * ParameterStruct.h (endif): add a default constructor to make
15565         sure that all variables is initialized.
15566
15567         * ParagraphParameters.C (ParagraphParameters): adjust
15568
15569 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15570
15571         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15572         index; also, check that there is something to index, and that it
15573         does not span over several paragraphs.
15574         (doubleClick): use WHOLE_WORD_STRICT for double click.
15575
15576         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15577
15578         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15579         scheme.
15580
15581 2001-07-26  Baruch Even  <baruch@lyx.org>
15582
15583         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15584         an InsetFig figure, backwards compatible reading of old figure code.
15585
15586 2001-07-27  Juergen Vigna  <jug@sad.it>
15587
15588         * text2.C: font.realize function adaption.
15589
15590         * text.C (draw): add a warnings lyxerr text if needed.
15591
15592         * layout.C: font.realize function adaption.
15593
15594         * language.C: add inherit_language and implement it's handlings
15595
15596         * bufferview_funcs.C (StyleReset): remove language parameter from
15597         font creation (should be language_inherit now).
15598
15599         * bufferparams.C (writeFile): handle ignore_language.
15600
15601         * paragraph.C (getFontSettings): the language has to be resolved
15602         otherwise we have problems in LyXFont!
15603
15604         * lyxfont.C (lyxWriteChanges): added document_language parameter
15605         (update): removed unneeded language parameter
15606
15607         * paragraph.C (validate): fixed wrong output of color-package when
15608         using interface colors for certain fonts in certain environments,
15609         which should not seen as that on the final output.
15610
15611 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15612
15613         * BufferView_pimpl.C:
15614         * Thesaurus.h:
15615         * Thesaurus.C:
15616         * Makefile.am:
15617         * commandtags.h:
15618         * LyXAction.C: add thesaurus support
15619
15620         * lyxfind.h:
15621         * lyxfind.C: add "once" parameter, for thesaurus, to not
15622           move to the next match
15623
15624 2001-07-26  Juergen Vigna  <jug@sad.it>
15625
15626         * lyxfont.C (realize): honor ignore_language too!
15627         (resolved): ditto.
15628
15629         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15630
15631         * text.C (draw): one place more for ignore_language to not draw
15632         itself!
15633
15634 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15635
15636         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15637
15638 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15639
15640         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15641         the minipage conversion problem.
15642
15643 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15644
15645         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15646         insert an inset.
15647
15648 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15649
15650         * BufferView.h: don't forward declare WorkArea
15651
15652         * BufferView.C: don't include WorkArea.h
15653
15654 2001-07-25  André Pönitz <poenitz@gmx.net>
15655
15656         * commandtags.h:
15657         * LyXAction.C:
15658         * lyxfunc.C:  new LFUN 'math-space'
15659
15660         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15661
15662 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15663
15664         * text2.C (toggleInset): call open/close
15665
15666 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15667
15668         * lyxfunc.C (dispatch): add debug for the disabled case
15669
15670         * font.C (buttonText): make similar to rectText
15671
15672         * buffer.C (readInset): comment out parsing of insetlist and
15673         insttheorem
15674
15675         * PainterBase.C (rectText): small correction
15676
15677         * BufferView_pimpl.C: comment out insettheorem and insetlist
15678         * LyXAction.C: ditto
15679         * commandtags.h: ditto
15680
15681 2001-07-24  Juergen Vigna  <jug@sad.it>
15682
15683         * text.C (draw): honor the ignore_language.
15684
15685         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15686
15687 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15688
15689         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15690         char inset.
15691
15692 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15693
15694         * lyxtext.h: remove unused (and unimplemented) methods
15695
15696 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15697
15698         * text.C (getVisibleRow): honor background color
15699
15700         * PainterBase.h:
15701         * Painter.h: remove default color argument for fillRectangle
15702
15703         * text.C (backgroundColor): new method
15704
15705 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15706
15707         * text.C (getVisibleRow): adjust
15708
15709         * font.[Ch] (rectText): new method, metrics
15710         (buttonText): new method, metrics
15711
15712         * PainterBase.[hC]: make rectText and buttonText always draw and take
15713         fewer paramteres.
15714
15715 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15716
15717         * ToolbarDefaults.C (read):
15718         * MenuBackend.C (read): allow escaping in all strings
15719
15720         * BufferView_pimpl.C (insertAndEditInset): new method.
15721         (Dispatch): use insertAndEditInset whenever appropriate.
15722
15723         * BufferView_pimpl.C (insertNote): removed
15724
15725         * BufferView_pimpl.C (smartQuote): new method, moved from
15726         BufferView; if an insetquote cannot be inserted, insert a '"'
15727         character instead.
15728
15729         * BufferView2.C: remove insertCorrectQuote();
15730
15731         * lyxfunc.C (getStatus): Add support for all remaingin
15732         inset-insert lfuns.
15733
15734         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15735
15736         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15737         command (necessary to pass " as parameter of self-insert.
15738
15739         * text.C (selectWordWhenUnderCursor):
15740         (selectWord): add word_location parameter
15741         (selectWordWhenUnderCursor): same + remove special code for word
15742         boundary.
15743         (selectNextWord): use kind() to guess type of insetspecialchar,
15744         not latex().
15745
15746         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15747         (insertErtContents): create ert insets as collapsed.
15748         (readInset): better compatibility code for Info inset.
15749
15750 2001-07-20  Juergen Vigna  <jug@sad.it>
15751
15752         * lyxfunc.C (dispatch): use always LyXFind now!
15753
15754         * text2.C (init): add a reinit flag so that the LyXText can be
15755         reinited instead of deleted and reallocated (used in InsetText).
15756
15757         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15758
15759         * text.C: ditto
15760
15761         * text2.C: ditto
15762
15763 2001-07-18  Juergen Vigna  <jug@sad.it>
15764
15765         * text.C (selectNextWord): handle insets inside inset by calling
15766         always the bv->text functions so that we can go up the_locking_inset!
15767
15768         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15769         in strange locations when inside an inset!
15770
15771         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15772         handling to include insets.
15773
15774         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15775
15776 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15777
15778         * LyXAction.C (init):
15779         * commandtags.h:
15780         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15781         LIGATURE_BREAK, since the name is so stupid.
15782
15783 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15784
15785         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15786         InsetInfos.
15787
15788         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15789
15790         * sp_form.[Ch]: remove.
15791
15792         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15793
15794         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15795         InsetInfo.
15796
15797         * src/buffer.C (readInset): ditto.
15798
15799 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15800
15801         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15802         menuSeparator(), endOfSentenceDot(), ldots() and
15803         hyphenationPoint(), which are therefore removed.
15804         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15805
15806         * LyXAction.C (init):
15807         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15808
15809         * paragraph.C (getWord): removed.
15810
15811         * BufferView_pimpl.C (Dispatch): use last word or selection for
15812         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15813
15814         * lyx_main.C (queryUserLyXDir): do not ask before creating
15815         user_dir, except if it has been named explicitely.
15816
15817 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15818
15819         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15820         a document of zero size.
15821
15822 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15823
15824         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15825         approriately in the c-tor and in require().
15826         (getPackages): output the appropriate LaTeX for natbib support.
15827
15828         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15829         variables "use_natbib" and "use_numerical_citations" when reading the
15830         LyX file.
15831         (readInset): read the various natbib cite commands.
15832         (validate): white-space change.
15833
15834         * bufferparams.[Ch]: new variables "bool use_natbib" and
15835         "bool use_numerical_citations".
15836         (writeFile): output them in the LyX file.
15837
15838 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15839
15840         * lyxfunc.C (getStatus): add support for all the inset insertion
15841         commands.
15842
15843         * text2.C (insertInset):
15844         * paragraph.C (insetAllowed):
15845         * BufferView_pimpl.C (insertInset): update to take in account the
15846         renaming of insertInsetAllowed
15847
15848         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15849
15850         * text2.C (getInset): new method. returns inset at cursor position.
15851
15852         * BufferView_pimpl.C (Dispatch): changes because of this.
15853
15854         * LyXAction.C (init): rename open-stuff to inset-toggle.
15855
15856         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15857
15858         * text2.C (toggleInset): renamed from openStuff; use
15859         Inset::open().
15860
15861 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15862
15863         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15864
15865         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15866
15867 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15868
15869         * buffer.C (readLyXformat2): Add filename to the error dialog
15870
15871 2001-07-18  Juergen Vigna  <jug@sad.it>
15872
15873         * tabular.C (GetCellNumber): put an assert here instead of the check!
15874
15875 2001-07-17  Juergen Vigna  <jug@sad.it>
15876
15877         * BufferView_pimpl.C (toggleSelection): adapted too.
15878
15879         * text.C (selectNextWord): adapted for use with insets.
15880         (selectSelectedWord): ditto
15881
15882 2001-07-17  Juergen Vigna  <jug@sad.it>
15883
15884         * sp_spell.C (PSpell): fix initialitation order.
15885
15886 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15887
15888         * paragraph.C: spacing
15889
15890 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15891
15892         * sp_spell.C: repair language selection for pspell
15893
15894 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15895
15896         * lyxfunc.h: change more methods to begin with lower char.
15897
15898 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15899
15900         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15901         for unknown layouts.
15902
15903 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15904
15905         * buffer.C (readLyXformat2): Generate an error dialog if there are
15906         unknown layouts.
15907
15908 2001-07-16  Juergen Vigna  <jug@sad.it>
15909
15910         * sp_spell.C: always compile ISpell part.
15911
15912         * lyxrc.C: added use_pspell entry and it's handling.
15913
15914 2001-07-13  Juergen Vigna  <jug@sad.it>
15915
15916         * sp_spell.C: removed double includes.
15917
15918 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15919
15920         Consistent use of Lsstream.h:
15921         * Lsstream.h: added using std::stringstream for consistencies sake.
15922
15923         * buffer.C: removed using std::stringstream
15924
15925         * lyxfont.C (stateText):
15926         * paragraph.C (asString):
15927         * text.C (selectNextWord, selectSelectedWord):
15928         * text2.C (setCounter):
15929         * vspace.C (asString, asLatexString):
15930         std::ostringstream -> ostringstream.
15931
15932 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15933
15934         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15935         * commandtags.h: add LFUN_HELP_ABOUTLYX
15936         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15937
15938 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15939
15940         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15941         cursorToggle()
15942         * lyx_gui_misc.C: remove spellchecker
15943         * lyxfunc.C: showSpellchecker
15944         * sp_base.h: added
15945         * sp_ispell.h: added
15946         * sp_pspell.h: added
15947         * sp_spell.C: added
15948         * sp_form.[Ch]: removed
15949         * spellchecker.[Ch]: removed
15950
15951 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15952
15953         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15954         is set.
15955         (simpleTeXSpecialChars): Simply print the input character without
15956         any special translation if pass_thru is set.
15957
15958         * layout.h: Added bool pass_thru to layout class for being able to
15959         implement pass through of a paragraph for Literate Programming.
15960
15961         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15962         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15963         * layout.C (Read): add "passthru" to list of layout tags and add
15964         code to set the pass_thru boolean when it is read.
15965
15966 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15967
15968         * trans_decl.h: remove allowed from KmodInfo
15969
15970         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15971         remove allowed code
15972         (Load): adjust
15973
15974         * paragraph_pimpl.C (erase): use boost::prior
15975
15976         * Painter.C (text): use data() instead of c_str() when length is
15977         also provided.
15978         * WorkArea.C (putClipboard): ditto
15979         * font.h (width): ditto
15980
15981         * BufferView2.C: use it-> instead of (*it). for iterators
15982         * texrow.C: ditto
15983         * paragraph_pimpl.C: ditto
15984         * paragraph.C: ditto
15985         * minibuffer.C: ditto
15986         * language.C: ditto
15987         * kbmap.C: ditto
15988         * encoding.C: ditto
15989         * counters.C: ditto
15990         * converter.C: ditto
15991         * chset.C: ditto
15992         * Variables.C: ditto
15993         * TextCache.C: ditto
15994         * MenuBackend.C: ditto
15995         * LyXAction.C: ditto
15996         * LColor.C: ditto
15997         * FloatList.C: ditto
15998         * DepTable.C: ditto
15999         * ColorHandler.C (LyXColorHandler): ditto
16000
16001 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16002
16003         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16004
16005         * text2.C (openStuff): reintroduce this method (which had been
16006         nuked in NEW_INSETS frenzy).
16007
16008         * lyxfunc.C (Dispatch): when an action has not been handled, use
16009         its name in the error message, not its number.
16010
16011         * paragraph.C (inInset): change method name to begin with lowercase.
16012
16013         * undo_funcs.C:
16014         * text2.C: updates because of this.
16015
16016 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16017
16018         * ToolbarDefaults.C (add): add spaces in error message
16019
16020 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16021
16022         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16023         (readLyXformat2): rename return_par to first_par, use lyxlex's
16024         pushToken and remove the manual push handling.
16025         (parseSingleLyXformat2Token): add another ert comp. variable:
16026         in_tabular, rename return_par to first_par. handle newlines better
16027
16028 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16029
16030         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16031
16032 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16033
16034         * text2.C (getParFromID): removed
16035
16036         * buffer.C (getParFromID): new method moved form lyxtext.
16037         * BufferView2.C (insertErrors): adjust
16038         (setCursorFromRow): adjust
16039         * BufferView_pimpl.C (restorePosition): adjust
16040         * lyxfunc.C (Dispatch): adjust
16041         * undo_funcs.C (textUndo): adjust
16042         (textRedo): adjust
16043         (textHandleUndo): adjust
16044         (textHandleUndo): adjust
16045
16046 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16047
16048         * buffer.C: up' the LYX_FORMAT
16049
16050         * lyxfont.h: turn NO_LATEX on as default
16051
16052         * buffer.C (insertErtContents): new methods of tex style compability.
16053         (parseSingleLyXformat2Token): use it several places.
16054         * tabular.C (OldFormatRead): and here
16055
16056 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16057
16058         * text2.C: remove some commented code.
16059         reindent file.
16060
16061         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16062         * trans.C: changes because of the above.
16063
16064 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16065
16066         * text2.C (setCounter): Fix counters bug with bibliography layout.
16067
16068 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16069
16070         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16071         own member functions
16072         (simpleTeXSpecialChars): ditto
16073
16074 2001-07-06  Juergen Vigna  <jug@sad.it>
16075
16076         * a lot of files: changed the access to LyXText::status and the
16077         call of undo-functions.
16078
16079         * undo.[Ch]: added a inset_id to the undo informations.
16080
16081         * undo_funcs.[Ch]: added and moved here all undo functions.
16082
16083         * lyxtext.h: give the status enum a weight, made status_ a private
16084         variable and made accessor functions for it, removed the whole bunch
16085         of undo-functions as they are now in their own file, make some
16086         functions publically available. Added function ownerParagraph with
16087         int parameter.
16088
16089         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16090         made InInset() a const function, added getParFromID() function.
16091
16092         * buffer.[Ch]: added const version for inset_iterator functions,
16093         added getInsetFromID() function.
16094
16095         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16096         changed undo functions for new version.
16097
16098 2001-07-05  Juergen Vigna  <jug@sad.it>
16099
16100         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16101         unknow mechanism does not call the proper constructor but only this
16102         one also if I request the other!?
16103
16104 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16105
16106         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16107
16108         * text2.C (LyXText): use initialization lists.
16109
16110         * lyxtext.h (Selection): initialize set_ and mark_
16111         (init): remove method
16112
16113 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16114
16115         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16116
16117 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16118
16119         * screen.[Ch]: change method names to begin with lowercase
16120
16121         * BufferView_pimpl.C (updateScrollbar): simplify further and
16122         hopefully make it a bit faster.
16123
16124 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16125
16126         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16127         calling directly xforms functions.
16128
16129         * Painter.C (Painter):
16130         * lyx_cb.C (MenuWrite):
16131         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16132         fl_display.
16133
16134         * lyx_gui.C: remove bogus guiruntime extern declaration.
16135
16136 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16137
16138         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16139         in NEW_INSETS
16140         (redoDrawingOfParagraph): ditto
16141         (redoParagraphs): ditto
16142         (cutSelection): don't create a object for CutAndPaste use the
16143         static method directly
16144         (pasteSelection): ditto
16145
16146         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16147         LyXview (+ rename)
16148
16149 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16150
16151         * modifications to some other files because of this.
16152
16153         * Makefile.am (lyx_SOURCES): add XFormsView
16154
16155         * XFormsView.[Ch]: new files
16156
16157         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16158         the main window. Move the gui dependent stuff to XFormsView
16159
16160 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16161
16162         * tabular.C (GetCellInset): update cur_cell also in the row/col
16163         version of this function.
16164
16165         * lyxfunc.C: no need to include figure_form.h here.
16166
16167         * FontLoader.h:
16168         * lyxfunc.h:
16169         * lyxscreen.h:
16170         * text2.C:
16171         * lyxvc.C: no need to include forms.h here.
16172
16173 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16174
16175         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16176
16177         * lyxfunc.C (Dispatch):
16178         * Spacing.C (set):
16179         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16180         constructor argument.
16181
16182 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16183
16184         * paragraph.C (Paragraph): dont't clear, and just set layout.
16185         (makeSameLayout): use params's copy contructor.
16186
16187         * ParagraphParameters.[Ch] (makeSame): delete method
16188
16189 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16190
16191         * Variables.[Ch]: fix indentation, rename set to isSet
16192
16193 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16194
16195         * lyxfunc.C (Dispatch): fix typo
16196
16197 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16198
16199         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16200         upper_bound.
16201
16202         * bufferlist.C: include assert.h for emergencyWrite().
16203
16204 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16205
16206         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16207           give up at last (bug #425202) !
16208
16209 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16210
16211         * lyx_gui_misc.C:
16212         * sp_form.h:
16213         * sp_form.C:
16214         * spellchecker.h:
16215         * spellchecker.C: strip spellchecker options and bring up
16216           preferences tab instead
16217
16218 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16219
16220         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16221         the istringstream constructor
16222
16223 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16224
16225         * paragraph.C (getLayout): fix return value
16226
16227         * paragraph.h: do not declare getLayout as inline.
16228
16229         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16230
16231 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16232
16233         * lyxcursor.h (operator<): new func
16234         (operator>): new func
16235         (operator>=): new func
16236         (operator<=): new func
16237
16238         * text.C (changeCase): use selection.start and selection.end
16239         (changeRegionCase): require from to be <= to. Require par to be a
16240         valid paragraph.
16241
16242         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16243
16244 2001-06-27  Juergen Vigna  <jug@sad.it>
16245
16246         * text.C (cursorLeftOneWord): changed to return the cursor and added
16247         overlay with BufferView * parameter which calls this one.
16248         (getWord): added
16249         (selectWord): use new getWord function.
16250         (changeCase): renamed from changeWordCase as and extended to work
16251         also on selections.
16252
16253         * lyxtext.h: added enum word_location
16254
16255         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16256         changeCase as this operates now also on selections.
16257
16258 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16259
16260         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16261
16262         * many files: send debug output to Debug::INFO instead of
16263         Debug::ANY.
16264
16265         * converter.C (View):
16266         (Convert):
16267         (Move): send debug output to Debug::FILES instead of console.
16268
16269 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16270
16271         * lyxfunc.C (getStatus): use func_status
16272
16273         * func_status.h: new header, describing the results of
16274         LyXFunc::getStatus;
16275
16276         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16277         LFUN_MATH_HALIGN.
16278
16279 2001-06-25  The LyX Project  <jug@sad.it>
16280
16281         * buffer.C (sgmlOpenTag):
16282         (sgmlCloseTag):
16283         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16284
16285 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16286
16287         * text2.C: remove some dead code
16288
16289         * tabular.C (GetCellInset): store the last cell checked (gotten)
16290
16291         * tabular.h: add the helper for the speedup
16292
16293         * lyxtext.h: remove some dead code
16294
16295 2001-06-26  The LyX Project  <Asger>
16296
16297         * paragraph.C: Change export to LaTeX of alignment to
16298         \begin{center} and family for better roundtrip work with reLyX.
16299
16300         * Tune the math drawing a bit.
16301
16302 2001-06-25  The LyX Project  <Asger>
16303
16304         * LColor.C (LColor): New color for math background. New color
16305         for buttons.
16306
16307 2001-06-25  The LyX Project  <jug@sad.it>
16308
16309         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16310
16311         * lyxfunc.C (Open):
16312         * bufferlist.C (newFile): do not restrict to files ending with
16313         .lyx
16314
16315         * BufferView_pimpl.C (MenuInsertLyXFile):
16316
16317 2001-06-24  The LyX Project  <jug@sad.it>
16318
16319         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16320         of compare_no_case
16321
16322 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16323
16324         * lyxtext.h: rename most methods to begin with a small char.
16325         Lots of changes because of this.
16326
16327         * paragraph.C (Paragraph): do not call fitToSize
16328         (erase): call Pimpl::erase
16329         (insertChar): call Pimpl::insertChar
16330         (insertInset): call Pipl::insertInset
16331         (breakParagraph): do not call fitToSize
16332         (breakParagraphConservative): do not call fitToSize
16333         (fitToSize): remove method
16334
16335         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16336
16337 2001-06-24  The LyX Project  <Asger>
16338
16339         * Fix Qt compilation^2
16340
16341 2001-06-24  The LyX Project  <jug@sad.it>
16342
16343         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16344         depthHook(getDepth()-1).
16345
16346         * paragraph.h:
16347         * ParagraphParameters.h:
16348         * ParameterStruct.h: change type of depth to unsigned int ==
16349         depth_type. Many adaptations to other files before of that.
16350
16351 2001-06-24  The LyX Project  <Asger>
16352
16353         * Fix Qt compilation.
16354
16355 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16356
16357         * paragraph.h: renamed several methods to begin with small letter.
16358         several changes to many parts of the code because of this.
16359
16360 2001-06-23  The LyX Project  <jug@sad.it>
16361
16362         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16363         rewritten to discard all double spaces when KeepEmpty is off
16364         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16365         to only handle newlines but not fiddle with spaces and friends.
16366
16367         * lyxfunc.C (MenuNew): when doing 'new from template', use
16368         template_path as default directory
16369
16370 2001-06-23  The LyX Project  <Asger>
16371
16372         * Clean-up of header file includes all over
16373         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16374
16375 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16376
16377         * paragraph.h: renamed from lyxparagraph.h
16378
16379 2001-06-23  Asger  <lyx@violet.home.sad.it>
16380
16381         * Buffer.h: Removed Buffer::resize
16382         * BufferList.h: Removed BufferList::resize
16383         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16384         the document lazily when we change the width, or the font settings.
16385
16386 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16387
16388         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16389
16390 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16391
16392         * buffer.h: remove out of date comment
16393
16394 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16395
16396         * lyxscreen.h:
16397         * screen.C: fix "theoretical" GC leak
16398
16399 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16400
16401         * LaTeX.C (scanAuxFile):
16402         (deplog): remove trailing \r when reading stream (useful under
16403         win32)
16404
16405 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16406
16407         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16408         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16409         and BufferView::theLockingInset(Inset*), so should use them and not
16410         access bv_->text->the_locking_inset directly.
16411
16412         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16413
16414 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16415
16416         * Makefile.am:
16417         * tex-defs.h: remove old unused file
16418
16419 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16420
16421         * BufferView_pimpl.C: fix typo, remove minibuffer message
16422           when buffer has loaded
16423
16424 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16425
16426         * lyxfunc.C (Dispatch): use stringstream
16427         (MenuNew): use stringstream
16428         (Open): use stringstream
16429
16430         * importer.C (Import): use stringstream
16431
16432         * bufferview_funcs.C (CurrentState): use stringstream
16433
16434         * LaTeX.C (run): use stringstream
16435
16436         * BufferView_pimpl.C (savePosition): use stringstream
16437         (restorePosition): use stringstream
16438         (MenuInsertLyXFile): use stringstream
16439
16440 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16441
16442         * BufferView.C:
16443         * Bullet.C:
16444         * ColorHandler.C:
16445         * FontInfo.C:
16446         * FontLoader.C:
16447         * LColor.C:
16448         * LaTeXFeatures.C:
16449         * Painter.C:
16450         * gettext.C:
16451         * lyx_gui_misc.C:
16452         * lyxserver.C:
16453         * vspace.C: removed // -*- C++ -*- as first line.
16454
16455         * lyxfind.h:
16456         * version.h: added // -*- C++ -*- as first line.
16457
16458 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16459
16460         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16461
16462         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16463         of string
16464
16465 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16466
16467         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16468         of floats.
16469
16470 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16471
16472         * gettext.C: include LString.h even when --disable-nls is on.
16473
16474 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16475
16476         * converter.h (Get): changed argument type from int to
16477         FormatList::size_type to avoid unnecessary conversion.
16478
16479         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16480         before using it.
16481
16482 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16483
16484         * gettext.h: include LString.h even when --disable-nls is on.
16485
16486 2001-06-07  Juergen Vigna  <jug@sad.it>
16487
16488         * text.C (BreakAgain): subst spaces with tabs.
16489
16490         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16491         (resizeInsetsLyXText): set force on resizeLyXText.
16492
16493 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16494
16495         * gettext.h (gettext_init):
16496         (locale_init): use a real definition instead of a macro
16497
16498 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16499
16500         * Bufferview_pimpl.C:
16501         * LColor.h:
16502         * LColor.C: further lcolor tidies
16503
16504 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16505
16506         * BufferView_pimpl.C (updateScrollbar): simplify.
16507
16508         * BufferView2.C: don't include insets/insetinfo.h, change
16509         prototype for insertInset and call the Pimpl version. let
16510         updateInset call Pimpl version.
16511
16512         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16513         gotoInset to BufferView::Pimpl
16514
16515 2001-06-01  Juergen Vigna  <jug@sad.it>
16516
16517         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16518         inside a LockingInset (is the update needed at all?).
16519
16520 2001-05-31  Juergen Vigna  <jug@sad.it>
16521
16522         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16523         here not the old one otherwise how should we compare it afterwards
16524         if it's the same!
16525
16526 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16527
16528         * lyxfont.C:
16529         * tabular.C:
16530         * tabular-old.C:
16531         * FontInfo.C: bring C functions into global namespace when
16532         necessary
16533
16534 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16535
16536         * LString.h: make sure config.h has been loaded before LString.h.
16537
16538         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16539         (one for each char read by EatLine!).
16540
16541         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16542         variables.
16543
16544 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16545
16546         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16547         to the same as the par we break from
16548
16549 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16550
16551         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16552
16553         * MenuBackend.C (expand): also create menu entries for wide
16554         versions of the floats.
16555
16556         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16557
16558         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16559
16560         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16561         frontends/Makefile.am
16562
16563         * text2.C: adjust
16564         * text.C: adjust
16565
16566
16567         * tabular.C (getTokenValue): add std::
16568
16569         * tabular-old.C (getTokenValue): add std::
16570         (getTokenValue): ditto
16571         (getTokenValue): ditto
16572
16573         * screen.C (ToggleSelection): adjust
16574
16575         * lyxtext.h: put selection cursors inside a Selection struct.
16576
16577         * lyxfunc.C (moveCursorUpdate): adjust
16578
16579         * lyxfont.C (latexWriteStartChanges): add std::
16580
16581         * lyxfind.C: adjust
16582
16583         * font.h: delete with(char const *, LyXFont const &)
16584
16585         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16586
16587         * FontInfo.C (getFontname): add std::
16588
16589         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16590         (workAreaButtonPress): adjust
16591         (tripleClick): adjust
16592         (update): adjust
16593         (moveCursorUpdate): adjust
16594         (Dispatch): adjust
16595
16596         * BufferView2.C (gotoInset): adjust
16597
16598 2001-05-30  Juergen Vigna  <jug@sad.it>
16599
16600         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16601         to check pspell I add this as default as I now have new pspell
16602         libraries and they seem to use this.
16603
16604 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16605
16606         * text2.C (CutSelection): make the cursor valid before the call to
16607         ClearSelection.
16608
16609 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16610
16611         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16612         relied on 0 terminated strings and other horrors. Bug found due to
16613         the new assert in lyxstring!
16614
16615         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16616         KP_ keys.
16617
16618 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16619
16620         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16621         to latinkeys.bind.
16622
16623         * lyxfunc.C (processKeySym): change method of getting to the
16624         self-insert char.
16625
16626         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16627         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16628         * BufferView_pimpl.[Ch]: here as private methods.
16629
16630 2001-05-28  Juergen Vigna  <jug@sad.it>
16631
16632         * text.C (SetHeightOfRow): added the update() call again as it is
16633         needed to initialize inset dimensions!
16634
16635 2001-05-16  Juergen Vigna  <jug@sad.it>
16636
16637         * text2.C (SetCharFont): Add new function with BufferView * and
16638         bool toggleall parameters for setting insets internal fonts.
16639         (SetFont): Freeze the undo as we may change fonts in Insets and
16640         all this change should be inside only one Undo!
16641
16642         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16643         setting font's in insets as for them we have the SetFont function!
16644
16645 2001-05-15  Juergen Vigna  <jug@sad.it>
16646
16647         * text2.C (ClearSelection): to be sure we REALLY don't have any
16648         selection anymore!
16649
16650         * tabular.C (TeXCellPreamble): fixed the left border problem for
16651         multicolumn cells.
16652
16653 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16654
16655         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16656         dependancy file
16657
16658 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16659
16660         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16661         LFUN_BREAKPARAGRAPH.
16662
16663         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16664         help test to "internal only", similar for LFUN_INSERT_URL
16665
16666         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16667         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16668         auto_region_delete and deadkeys.
16669
16670 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16671
16672         * LColor.h:
16673         * LColor.C: remove some dead entries, tidy a little
16674
16675 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16676
16677         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16678         commented code.
16679         (Dispatch): implement LFUN_ESCAPE
16680
16681         * commandtags.h: add LFUN_ESCAPE
16682
16683         * LyXAction.C (init): add entry for LFUN_ESCAPE
16684
16685         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16686         Remove commented code.
16687         (insertNote): moved here
16688         (open_new_inset): moved here
16689
16690         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16691         BufferView_pimpl
16692
16693 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16694
16695         * kbmap.C (findbinding): clean it up and make it work correctly.
16696
16697         * lyx_main.C (init): do not pass argc and argv as parameters
16698
16699 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16700
16701         * buffer.C: fix path for OS/2 & Win32
16702
16703         * lyx_gui.C:
16704         * lyx_main:
16705         * lyx_main.C: Added os:: class.
16706
16707         * os2_defines.h: update
16708
16709 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16710
16711         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16712         better by trying again with reduced state.
16713
16714 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16715
16716         * lyxrc.C (read): print error about invalid key sequence only when
16717         debugging (because not all latinX keysyms are known to some X
16718         servers)
16719
16720         * kbsequence.C (getiso): add a few std:: qualifiers
16721         (getiso): comment out extra return statement.
16722
16723 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16724
16725         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16726         handling.
16727         (Dispatch): enhance the accent inset a bit. (not perfect)
16728
16729 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16730
16731         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16732
16733 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16734
16735         * bufferlist.C (emergencyWrite): fix assert() call
16736
16737 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16738
16739         * text.C (InsertChar): Added trivial patch to only send the "you
16740         can not do multiple spaces this way" message once during a
16741         session.
16742
16743 2001-05-08  Baruch Even  <baruch@lyx.org>
16744
16745         * Makefile.am: Changed order of libraries to get LyX to link properly
16746         with the gnome frontend.
16747
16748 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16749
16750         * LaTeXFeatures.h: add a std:: qualifier
16751
16752 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16753
16754         * paragraph.C (String): use stringstream
16755
16756 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16757
16758         * paragraph.C (writeFile): remove footflag arg
16759
16760         * buffer.C (makeLaTeXFile): use stringstream
16761         (latexParagraphs): remove footnot gurba
16762
16763         * LaTeXFeatures.C (getPackages): use stringstream
16764         (getMacros): likewise
16765         (getTClassPreamble): likewise
16766         (getFloatDefinitions): new method
16767
16768         * paragraph.C (writeFile): reindent
16769         (Erase): reindent
16770
16771         * WorkArea.h: revert the xpos + etc changes.
16772
16773         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16774
16775         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16776
16777         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16778         (pasteSelection): likewise
16779         * text2.C (CreateUndo): likewise
16780
16781 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16782
16783         * minibuffer.C (peek_event): temporarily reduce the functionality
16784         of the minibuffer (to allow args on lfuns)
16785
16786         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16787         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16788
16789         * buffer.C (readInset): add compability reading of old float
16790         lists, add reading of new style float list.
16791         (readInset): avoid reevaluation of inscmd.getCmdName()
16792         (getLists): reindent
16793
16794         * MenuBackend.C (MenuItem): implement parsing of
16795         md_floatlistinsert and md_floatinsert.
16796         (expand::LastFiles): move initalizaton of iterators out of loop,
16797         avoid reevaluation.
16798         (expand::Documents): introduce typdedef vector<string> Strings,
16799         and use it.
16800         (expand::ExportFormats): introduce typedef vector<Format const *>
16801         Formats, and use it.
16802         (expand): implement FloatListInsert and FloatInsert.
16803
16804         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16805         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16806         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16807
16808         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16809         handling.
16810         (Dispatch::LFUN_FLOAT_LIST): implement
16811
16812 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16813
16814         * LaTeX.C (run): Fix problem with --export code.
16815
16816 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16817
16818         * BufferView.[Ch] (workarea): removed.
16819         (getClipboard) new method; wrapper for workarea()->getClipboard()
16820
16821         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16822         bug.
16823
16824         * WorkArea.h (width, height, xpos, ypos): These methods all
16825         returned the dimensions of the work_area sub-area of WorkArea,
16826         resulting in a position error if the WorkArea were resized. Now
16827         return the dimensions of the entire WorkArea.
16828
16829         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16830
16831 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16832
16833         * LaTeX.C (deplog): correct the syntax of regex reg1
16834
16835 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16836
16837         * undo.C: remove !NEW_INSETS cruft
16838
16839 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16840
16841         * text2.C: remove !NEW_INSETS cruft
16842
16843         * text.C: remove !NEW_INSETS cruft
16844
16845         * tabular.C: remove !NEW_INSETS cruft
16846
16847         * spellchecker.C: remove !NEW_INSETS cruft
16848
16849         * lyxtext.h: remove !NEW_INSETS cruft
16850
16851         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16852
16853         * lyxfunc.C: remove !NEW_INSETS cruft
16854
16855         * lyxfind.C: remove !NEW_INSETS cruft
16856
16857         * lyx_cb.C: remove !NEW_INSETS cruft
16858
16859         * figureForm.C: remove  !NEW_INSETS cruft
16860
16861         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16862
16863         * buffer.[Ch]: remove !NEW_INSETS cruft
16864
16865         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16866
16867         * CutAndPaste.C: remove !NEW_INSETS cruft
16868
16869         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16870
16871         * BufferView2.C: remove !NEW_INSETS cruft
16872
16873         * BufferView.h: remove !NEW_INSETS cruft
16874
16875 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16876
16877         * Lsstream.h: include LString.h before the sstream headers to
16878         fix problem with gcc 2.95.3 and lyxstring
16879
16880 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16881
16882         * lyx_main.C: add using directives when needed for C functions
16883         declared in std:: namespace.
16884
16885 2001-04-27  Juergen Vigna  <jug@sad.it>
16886
16887         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16888         (SetHeightOfRow): comment out the update call should not be needed!
16889
16890 2001-04-13  Juergen Vigna  <jug@sad.it>
16891
16892         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16893         (LyXTabular): tried to minimize operator= operations (and realized
16894         hopfully Lars wish).
16895
16896 2001-04-27  Juergen Vigna  <jug@sad.it>
16897
16898         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16899
16900 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16901
16902         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16903
16904         * buffer.C (readInset): hack to make listof algorithm work
16905
16906         * BufferView_pimpl.C: hack to make listof algorithm work
16907
16908 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16909
16910         * LyXAction.C: removed all !NEW_INSETS cruft
16911         (init): moved lfun_item in method
16912
16913         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16914
16915 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16916
16917         * BufferView2.C (theLockingInset): white space.
16918
16919 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16920
16921         * minibuffer.C: include <iostream>
16922
16923         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16924
16925         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16926
16927         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16928
16929         * text.[Ch] (TransposeChars): new method
16930
16931 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16932
16933         * call message directly through LyXView instead of through LyXFunc
16934         * BufferView2.C: adjust
16935         * BufferView_pimpl.C: adjust
16936         * FontLoader.C: adjust
16937         * buffer.C: adjust
16938         * bufferview_funcs.C: adjust
16939         * converter.C: adjust
16940         * figureForm.C: adjust
16941         * importer.C: adjust
16942         * lyx_cb.C: adjust
16943         * lyx_gui_misc.C: adjust
16944         * lyxfunc.C: adjust
16945         * lyxvc.C: adjust
16946         * text2.C: adjust
16947         + more files in subdirs
16948
16949         * lyxparagraph.h (size): move up int file
16950         (GetLayout): ditto
16951
16952         * adjust all uses of Assert to lyx::Assert.
16953
16954         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16955         lyxfunctional in namespace lyx
16956         * layout.C (hasLayout): ditto
16957         (GetLayout): ditto
16958         (GetLayout): ditto
16959         (delete_layout): ditto
16960         (NumberOfClass): ditto
16961         * converter.C (GetFormat): ditto
16962         (GetNumber): ditto
16963         (Add): ditto
16964         (Delete): ditto
16965         (SetViewer): ditto
16966         * bufferlist.C (getFileNames): ditto
16967         (emergencyWriteAll): ditto
16968         (exists): ditto
16969         (getBuffer): ditto
16970         * MenuBackend.C (hasSubmenu): ditto
16971         (hasMenu): ditto
16972         (getMenu): ditto
16973         * BufferView_pimpl.C (getInsetByCode): ditto
16974
16975 2001-04-18  Juergen Vigna  <jug@sad.it>
16976
16977         * vspace.C (asLatexString): fixed the 100% problem.
16978
16979 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16980
16981         * lyxfunc.C (Dispatch):
16982         * minibuffer.C:
16983         * minibuffer.h: add a few std:: qualifiers
16984
16985 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16986
16987         * minibuffer.[Ch]: reimplement so that commands is initiated and
16988         run from lyxfunc, simplified som handling, and made the completion
16989         and history code for complete. wip.
16990
16991         * lyxfunc.C (processKeySym): call message
16992         (miniDispatch): new temporary method
16993         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16994         (LFUN_MESSAGE): implement
16995         (LFUN_MESSAGE_PUSH): implement
16996         (LFUN_MESSAGE_POP): implement
16997         (initMiniBuffer): the initial/defualt minibuffer message.
16998
16999         * lyxfont.[Ch]: inline some more getters
17000
17001         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17002
17003         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17004
17005         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17006         (AutoSave): use LFUN_MESSAGE
17007         (Reconfigure): ditto
17008
17009         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17010
17011         * figureForm.C: use LFUN_MESSAGE
17012
17013         * converter.C (runLaTeX): use LFUN_MESSAGE
17014
17015         * bufferview_funcs.C: use LFUN_MESSAGE
17016         (Melt): ditto
17017         (changeDepth): ditto
17018
17019         * bufferparams.h: use boost::
17020
17021         * bufferlist.h: inherit privately from noncopyable
17022
17023         * bufferlist.C (loadLyXFile): remove some commented code.
17024
17025         * buffer.C (runChktex): use LFUN_MESSAGE
17026
17027         * ShareContainer.h: inherit privately from noncopyable
17028
17029         * ParagraphParameters.[hC] (depth): inline it.
17030
17031         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17032         methods.
17033         (message): new method
17034         (messagePush): ditto
17035         (messagePop): ditto
17036         (show): init minibuffer
17037         (showState): direct call
17038
17039         * LaTeX.[Ch]: inherit privately from noncopyable
17040         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17041         instead of WriteStatus.
17042
17043         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17044
17045         * BufferView_pimpl.C (buffer): don't init minibuffer
17046         (workAreaButtonPress): use LFUN_MESSAGE
17047         (workAreaButtonRelease): ditto
17048         (savePosition): ditto
17049         (restorePosition): ditto
17050         (MenuInsertLyXFile): ditto
17051         (workAreaExpose): don't init minibuffer
17052         (update): remove commented code, simplify
17053
17054         * BufferView2.C (openStuff): use LFUN_MESSAGE
17055         (toggleFloat): ditto
17056         (menuUndo): ditto
17057         (menuRedo): ditto
17058         (copyEnvironment): ditto
17059         (pasteEnvironment): ditto
17060         (copy): ditto
17061         (cut): ditto
17062         (paste): ditto
17063         (gotoInset): ditto
17064         (updateInset): remove some commented code
17065
17066         * lastfiles.h: inherit privately from noncopyable
17067         * layout.h: ditto
17068         * lyx_gui.h: ditto
17069         * lyx_main.h: ditto
17070         * lyxlex.h: ditto
17071         * lyxlex_pimpl.h: ditto
17072
17073         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17074         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17075         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17076
17077         * LyXAction.h: inherit privately from noncopyable, add methods
17078         func_begin, func_end, returning iterators to the func map.
17079
17080         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17081         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17082         (func_begin): new method
17083         (func_end): new method
17084
17085         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17086         and not)
17087         (copySelection): ditto
17088         (pasteSelection): ditto
17089
17090         * BufferView.C: whitespace change
17091         * BufferView.h: inherit privately from noncopyable
17092
17093 2001-04-16  Allan Rae  <rae@lyx.org>
17094
17095         * tabular-old.C (l_getline):
17096         * spellchecker.C (sc_check_word):
17097         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17098         an unrecognised preprocessor directive.  So ensure they're wrapped.
17099
17100 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17101
17102         * src/exporter.C (Export): Give an error message when path to file
17103         contains spaces.
17104
17105 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17106
17107         * LaTeX.C (deplog): Always check that foundfile exists.
17108
17109 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17110
17111         * lyx_main.h:
17112         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17113
17114 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17115
17116         * tabular.[Ch] (getLabelList): implement new method
17117
17118         * minibuffer.h: comment ouf setTiimer
17119
17120         * minibuffer.C (ExecutingCB): constify res
17121         (peek_event): constify s
17122         (Set): constify ntext
17123         (Init): constify nicename
17124
17125         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17126
17127         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17128         (savePosition): use two params to Minibuffer::Set
17129         (restorePosition): ditto
17130
17131 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17132
17133         * lyx_main.C: include language.h
17134
17135         * Makefile.am (lyx_main.o): add language.h
17136
17137 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17138
17139         * exporter.C:
17140         * paragraph.C:
17141         * screen.C:
17142         * tabular.C:
17143         * CutAndPaste.C: include gettext.h
17144
17145         * lyxfont.h: remove old hack with ON and OFF.
17146
17147         * lyxparagraph.h:
17148         * lyxfont.h: do not include language.h...
17149
17150         * BufferView2.C:
17151         * LaTeXFeatures.C:
17152         * Painter.C:
17153         * bufferview_funcs.C:
17154         * font.C:
17155         * lyxfont.C:
17156         * text.C:
17157         * text2.C:
17158         * trans_mgr.C:
17159         * paragraph.C: ... but do it here instead
17160
17161 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17162
17163         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17164
17165         * tabular.C: small reformat
17166
17167         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17168         NEW_INSETS version
17169         (GetChar): ditto
17170         (BreakParagraph): ditto
17171         (SetOnlyLayout): ditto
17172         (SetLayout): ditto
17173
17174         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17175         with one arg less.
17176
17177         * lastfiles.C: removed most using decl, add std:: where needed
17178
17179         * buffer.C: ws changes
17180
17181         * MenuBackend.C (class compare_format): put into anon namespace
17182         (expand): constify label, names, action, action2
17183         (expand):
17184
17185         * text.C (SingleWidth): constify font
17186         (IsBoundary): constify rtl2
17187         (GetVisibleRow): constify ww
17188
17189         * LaTeX.C (deplog): constify logfile
17190
17191         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17192         start_x, end_x
17193         (workAreaExpose): constify widthChange, heightChange
17194
17195         * lyxrow.C (par): moved
17196         (height): moved
17197         (next): moved
17198         * lyxrow.h: as inlines here
17199
17200         * lyxfont.h (shape): moved from lyxfont.C
17201         (emph): moved from lyxfont.C
17202
17203         * lyxfont.C (LyXFont): use initialization list for all
17204         constructors
17205         (shape): move to lyxfont.h as inline
17206         (emph): move to lyxfont.h as inline
17207
17208
17209 2001-04-04  Juergen Vigna  <jug@sad.it>
17210
17211         * vspace.C: had to include stdio.h for use of sscanf
17212
17213 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17214
17215         * BufferView.h:
17216         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17217         independent of xforms.
17218
17219 2001-04-02  Juergen Vigna  <jug@sad.it>
17220
17221         * spellchecker.C: fixed namespace placing!
17222
17223 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17224
17225         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17226         the LyXParagraph * is 0.
17227
17228 2001-03-29  Juergen Vigna  <jug@sad.it>
17229
17230         * vspace.C: added support for %, c%, p%, l%.
17231         (stringFromUnit): added helper function.
17232         (asLatexString): changed to give right results for the %-values.
17233
17234         * buffer.C: convert the widthp in a width%.
17235
17236 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17237
17238         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17239         figureForm.[Ch].
17240
17241         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17242         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17243
17244         * lyx_cb.[Ch]: see above.
17245
17246         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17247         form1.[Ch].
17248
17249         * form1.[Ch]:
17250         * lyx.[Ch]: replaced by figure_form.[Ch].
17251
17252         * lyx_gui.C:
17253         * lyx_gui_misc.C:
17254         * lyxfunc.C: changed headers associated with above changes.
17255
17256 2001-03-27  Juergen Vigna  <jug@sad.it>
17257
17258         * BufferView_pimpl.C: set the temporary cursor right!
17259
17260 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17261
17262         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17263
17264 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17265
17266         * LString.h: removed "using std::getline"!
17267
17268         * BufferView_pimpl.C (Dispatch): changes due to changes in
17269         InsetInclude::Params.
17270
17271         * buffer.C (tag_name): removed redundant break statements as they were
17272         producing lots of warnings with my compiler.
17273
17274 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17275
17276         * LString.h: add "using std::getline" when using the real <string>.
17277
17278 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17279
17280         * buffer.C: removed bitset usage.
17281         PAR_TAG moved to an anonymous name space.
17282         (tag_name): new funtion, also in the anonymous namespace.
17283         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17284         (makeDocBookFile): clean code. Completed transition from string arrays
17285         to string vectors.
17286         (SimpleDocBookOnePar): code clean.
17287
17288 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17289
17290         * tabular.C: add some comments.
17291
17292 2001-03-22  Juergen Vigna  <jug@sad.it>
17293
17294         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17295         compatibility read a bit and fixed bug with minipage in different
17296         depth.
17297
17298 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17299
17300         * buffer.C (pop_tag): removed.
17301         (push_tag): removed.
17302         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17303         array replaced with vector. Added support for CDATA sections.
17304         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17305         at any nest level.
17306         (makeDocBookFile): XML conformant declaration of CDATA section,
17307         fixed bug related to <emphasis> in the first paragraph char.
17308         (sgmlOpenTag): exclude empty tags.
17309         (sgmlCloseTag): ditto.
17310
17311         * buffer.h (pop_tag): removed.
17312         (push_tag): removed.
17313
17314 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17315
17316         * language.h (Languages): added size_type and size().
17317
17318 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17319
17320         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17321         response on compability reading of minipages. One probliem is that
17322         the old usage of minipages was flertydig
17323
17324         * several files here and in subdirs: don't use static at file
17325         scope use anon namespaces instead.
17326
17327 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17328
17329         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17330         LaTeX output. This is necessary for Literate document
17331         processing.
17332
17333 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17334
17335         * buffer.C: insert hfill when needed.
17336
17337         * tabular.C (l_getline): use string::erase, small whitespace change.
17338
17339         * BufferView_pimpl.C: try the anon namespace.
17340         * WorkArea.C: ditto
17341
17342 2001-03-16  Juergen Vigna  <jug@sad.it>
17343
17344         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17345         otherwise it won't open options-dialogs.
17346
17347         * buffer.C: honor pextraWidth(p) on converting minipages.
17348
17349         * tabular.C (l_getline): changed the functions to strip trailing \r.
17350
17351 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17352
17353         * BufferView_pimpl.C:
17354         * minibuffer..C: added "using SigC::slot" declaration.
17355
17356 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17357
17358         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17359
17360         * text2.C: ditto
17361
17362         * text.C: ditto
17363
17364         * paragraph.C: ditto
17365
17366         * lyxtext.h: NO_PEXTRA
17367
17368         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17369
17370         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17371         * ParameterStruct.h: ditto
17372         * ParagraphParameters.h: ditto
17373         * lyxparagraph.h: ditto
17374
17375 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17376
17377         * buffer.C: add compability for minipage alignment.
17378         (latexParagraphs): remove unwanted pextra check.
17379
17380         * several files: remove CXX_WORKING_NAMESPACES
17381
17382         * buffer.C (pop_tag): tie is in namespace boost
17383
17384         * BufferView.h: noncopyable is in namespace boost
17385         * lyxlex.h: ditto
17386         * lyx_main.h: ditto
17387         * lyx_gui.h: ditto
17388         * layout.h: ditto
17389         * lastfiles.h: ditto
17390         * bufferlist.h: ditto
17391         * ShareContainer.h: ditto
17392         * LyXView.h: ditto
17393         * LyXAction.h: ditto
17394         * LaTeX.h: ditto
17395
17396 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17397
17398         * Merging changes from BRANCH_MVC back into HEAD.
17399
17400         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17401
17402 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17403
17404         * BufferView_pimpl.C: change from intl.C
17405
17406         * combox.h:
17407         * combox.C:
17408         * Makefile.am: move combox.*
17409
17410         * form1.h:
17411         * form1.C:
17412         * lyx_gui.C:
17413         * intl.h:
17414         * intl.C: remove dialog (covered by prefs)
17415
17416 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17417
17418         * lyxfunc.C (Dispatch): removed redundant break statement.
17419
17420 2001-03-14  Juergen Vigna  <jug@sad.it>
17421
17422         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17423
17424 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17425
17426         * buffer.C: add hack to fix compability reading of minipages.
17427
17428 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17429
17430         * buffer.C (getLists): Cleanup.
17431
17432 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17433
17434         * lyxfont.C (update): don't honor toggleall on font size.
17435
17436 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17437
17438         * bmtable.c:
17439         * bmtable.h:
17440         * Makefile.am: moved to frontends/xforms/
17441
17442         * lyx_gui_misc.C:
17443         * lyxfunc.C:
17444         * BufferView_pimpl.C: changes for moved mathpanel
17445
17446 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17447
17448         * gettext.h: fix gettext_init() in --disable-nls
17449
17450 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17451
17452         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17453
17454 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17455
17456         * lyx.C:
17457         * lyx.h: strip external form
17458
17459 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17460
17461         * BufferView_pimpl.C: add comment, destroySplash()
17462
17463 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17464
17465         * BufferView_pimpl.C:
17466         * LyXAction.C:
17467         * buffer.C:
17468         * commandtags.h:
17469         * lyxfunc.C: use re-worked insetinclude
17470
17471 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17472
17473         * buffer.C: add using std::stringstream.
17474
17475         * lyx_cb.C: readd using std::ios.
17476
17477         * buffer.C: add using std::map.
17478
17479         * BufferView_pimpl.C: add using std::vector.
17480
17481         * ShareContainer.h: add std:: to swap.
17482
17483         * buffer.h: add some typedefs
17484         * buffer.C (getLists): use them
17485         (getLists): renamed from getTocList.
17486         add a counter for the different float types and use it in the
17487         generated string.
17488         (getLists): use the same counter for the NEW_INSETS and the "non"
17489         NEW_INSETS
17490
17491         * lyx_cb.h: remove unused items, includes, using etc.
17492
17493         * ShareContainer.h: remove some commented code, add more comments
17494         and "documentation".
17495
17496 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17497
17498         * buffer.C (getTocList): make the list also when NEW_INSETS is
17499         defined.
17500
17501         * buffer.h: remove TocType
17502
17503         * buffer.C (getTocList): change to return a map<string,
17504         vector<TocItem> >, implement for dynamic number of list.
17505
17506         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17507         * text2.C (PasteSelection): adjust
17508         * CutAndPaste.C (pasteSelection): adjust
17509
17510         * FloatList.C (FloatList): update from the new_insets branch.
17511         * Floating.[Ch]: ditto
17512         * LaTeXFeatures.C: ditto
17513         * buffer.C: ditto
17514         * lyxlex_pimpl.C: ditto
17515
17516         * paragraph.C (Last): remove when NEW_INSETS is defined.
17517
17518         * other file: changes because of the above.
17519
17520 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17521
17522         * lyxparagraph.h: rename next to next_, previous to previous_,
17523         make them private for NEW_INSETS. Rename Next() to next(),
17524         Previous() to previous().
17525
17526         * other files: changes because of the above.
17527
17528 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17529
17530         * BufferView.h:
17531         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17532         problem.
17533
17534 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17535
17536         * main.C (main): pass lyx_localedir to gettext_init().
17537
17538         * gettext.h: remove locale_init and gettext_init macros
17539
17540         * gettext.C (locale_init): new function
17541         (gettext_init): new function
17542
17543         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17544         setlocale().
17545
17546 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17547
17548         * Moved credits to frontends:
17549         * credits.[Ch]: removed
17550         * credits_form.[Ch]: removed
17551         * lyx_gui_misc.C: remove credits stuff
17552         * Makefile.am:
17553
17554 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17555
17556         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17557
17558         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17559         unneeded destructor.
17560
17561         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17562         a standalone pointer again.
17563
17564         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17565
17566 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17567
17568         * Makefile.am:
17569         * filedlg.h:
17570         * filedlg.C:
17571         * LyXAction.C:
17572         * ToolbarDefaults.C:
17573         * bufferlist.C:
17574         * commandtags.h:
17575         * form1.C:
17576         * form1.h:
17577         * lyx_cb.C:
17578         * lyx_cb.h:
17579         * lyxfunc.h:
17580         * lyxfunc.C:
17581         * BufferView_pimpl.C: use new file dialog in GUII
17582
17583         * lyx_cb.h:
17584         * lyx_cb.C: remove LayoutsCB to Toolbar
17585
17586 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17587
17588         * ShareContainer.h (get): add std:: qualifier
17589
17590 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17591
17592         * ShareContainer.h: define a proper ShareContainer::value_type
17593         type (and use typename to please compaq cxx)
17594
17595 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17596
17597         * lyxparagraph.h: move serveral local vars to
17598         ParameterStruct/ParagraphParameters., use ShareContainer in
17599         FontTable., make vars in FontTable private and add getter and
17600         setter.
17601
17602         * paragraph.C: changes because of the above.
17603
17604         * lyxfont.h: remove copy constructor and copy assignment. (the
17605         default ones is ok), move number inside FontBits. move inlines to
17606         lyxfont.C
17607
17608         * lyxfont.C: add number to initializaton of statics, move several
17609         inlines here. constify several local vars. some whitespace
17610         cleanup. Dont hide outerscope variables.
17611
17612         * Spacing.h: add two new constructors to match the set methods.
17613
17614         * ShareContainer.h: new file, will perhaps be moved to support
17615
17616         * ParameterStruct.h: new file
17617
17618         * ParagraphParameters.h: new file
17619
17620         * ParagraphParameters.C: new file
17621
17622         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17623         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17624
17625         * BufferView_pimpl.C: ParagraphParameter changes.
17626         * buffer.C: Likewise.
17627         * bufferview_funcs.C: Likewise.
17628         * text.C: Likewise.
17629         * text2.C: Likewise.
17630
17631 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17632
17633         * lyxfind.C (LyXReplace): do not redefine default argument in
17634         implementation.
17635         (IsStringInText): ditto
17636         (SearchForward): ditto
17637         (SearchBackward): ditto
17638
17639 2001-03-06  Juergen Vigna  <jug@sad.it>
17640
17641         * lyxfind.C (IsStringInText): put parentes around expressions.
17642
17643 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17644
17645         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17646
17647 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17648
17649         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17650
17651         * stl_string_fwd.h: add comment
17652
17653         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17654
17655         * tabular.h:
17656         * tabular.C: remove unused DocBook methods
17657
17658         * intl.C:
17659         * language.C:
17660         * paragraph.C:
17661         * buffer.C:
17662         killed DO_USE_DEFAULT_LANGUAGE
17663
17664 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17665
17666         * lyx_gui.C: do not include language.h.
17667
17668         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17669         arguments in function implementation.
17670
17671 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17672
17673         * BufferView_pimpl.C: add <ctime>
17674
17675 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17676
17677         * BufferView_pimpl.C: add using std::find_if
17678
17679 2001-02-27  José Matos  <jamatos@fep.up.pt>
17680
17681         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17682         by OnlyPath.
17683
17684 2001-02-11  José Matos  <jamatos@fep.up.pt>
17685
17686         * buffer.C (makeDocBookFile): command styles now have a parameter as
17687         "title" by default.
17688
17689 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17690
17691         * layout_forms.[Ch]: removed
17692         * lyx_cb.[Ch]: out character
17693         * lyx_gui.C: out character
17694         * lyx_gui_misc.C: out character
17695         * bufferview_funcs.C: : out character,
17696         added toggleall as parameter in ToggleAndShow
17697
17698 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17699
17700         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17701
17702         * text2.C (SetCurrentFont): Disable number property at boundary.
17703
17704 2001-02-26  Juergen Vigna  <jug@sad.it>
17705
17706         * lyxfunc.C (getStatus): added a string argument override function so
17707         that this is correctly called from LyXFunc::Dispatch if it contains a
17708         do_not_use_argument which is used!
17709         (Dispatch): added check for "custom" export and call appropriate func.
17710
17711 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17712
17713         * lyxrc.C: Add language_command_local, language_use_babel and
17714         language_global_options.
17715
17716         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17717
17718         * buffer.C (makeLaTeXFile): Use language_use_babel and
17719         language_global_options.
17720
17721 2001-02-23  Juergen Vigna  <jug@sad.it>
17722
17723         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17724         which works with LyXText and putted it inside BufferView. Here now we
17725         only call for that part the BufferView::Dispatch() function.
17726
17727         * BufferView.C (Dispatch): added.
17728
17729         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17730         functions which needs to use a LyXText over from LyXFunc.
17731         (MenuInsertLyXFile): added
17732         (getInsetByCode): added
17733         (moveCursorUpdate): added
17734         (static TEXT): added
17735
17736 2001-02-22  Juergen Vigna  <jug@sad.it>
17737
17738         * BufferView_pimpl.C (update): call a status update to see if LyXText
17739         needs it.
17740
17741 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17742
17743         * vc-backend.C (revert): implement for CVS
17744         (getLog): implement for CVS
17745
17746 2001-02-20  Juergen Vigna  <jug@sad.it>
17747
17748         * text2.C (ClearSelection): added BufferView param for inset_owner call
17749
17750         * lyxfunc.C (TEXT): added this function and use it instead of
17751         directly owner->view()-text of getLyXText().
17752
17753 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17754
17755         * src/layout_forms.C: out preamble
17756         * src/layout_forms.h: out preamble
17757         * src/lyx_cb.C: out preamble
17758         * src/lyx_cb.h: out preamble
17759         * src/lyx_gui.C: out preamble
17760         * src/lyx_gui_misc.C: out preamble
17761         * src/lyxfunc.C: connect with guii preamble
17762
17763 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17764
17765         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17766
17767 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17768
17769         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17770         whether to run bibtex.
17771
17772 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17773
17774         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17775
17776 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17777
17778         * Makefile.am (lyx_SOURCES): removed bibforms.h
17779
17780         * vspace.h: doxygen
17781
17782         * text.C (GetVisibleRow): make several local vars const
17783
17784         * tabular.C: small cleanup.
17785
17786         * lyxserver.C (callback): use compare instead of strncmp
17787
17788         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17789         inlines to after class or to paragraph.C
17790
17791         * lyxfont.h: remove friend operator!=
17792
17793         * converter.h: move friend bool operator< to non friend and after
17794         class def.
17795
17796         * combox.h: small cleanup
17797
17798         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17799         to inlines after class def.
17800
17801         * buffer.C (pop_tag): use string operations instead of strcmp
17802
17803         * bmtable.c: doxygen, small cleanup
17804
17805         * LaTeX.h: remove friend operator==
17806
17807 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17808
17809         * screen.C:
17810         * lyxrc.[Ch]:
17811         * lyxfunc.C:
17812         * lyxfont.[Ch]:
17813         * lyx_cb.C:
17814         * intl.[Ch]:
17815         * commandtags.h:
17816         * buffer.C:
17817         * WorkArea.[Ch]:
17818         * LyXAction.C:
17819         * BufferView_pimpl.C:
17820         * BufferView.[Ch]: remove cruft
17821
17822 2001-02-14  Juergen Vigna  <jug@sad.it>
17823
17824         * lyxfunc.C: removed #if 0 unused code
17825
17826         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17827
17828         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17829
17830         * text2.C (SetSelection): added a BufferView * parameter
17831
17832 2001-02-13  Juergen Vigna  <jug@sad.it>
17833
17834         * lyxfunc.C (Dispatch): fixed protected blank problem.
17835         * BufferView2.C (protectedBlank): added LyxText * parameter.
17836
17837         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17838         (AppendColumn): same as above for column_info.
17839
17840         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17841         (moveCursorUpdate): use a LyXText param for support of InsetText.
17842
17843         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17844         (tripleClick): ditto
17845
17846         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17847
17848         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17849
17850         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17851
17852         * text2.C (SetSelection): set correct update status if inset_owner
17853         (ToggleFree): ditto
17854
17855 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17856
17857         * tabular.C: remove some commented code.
17858
17859 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17860
17861         * BufferView_pimpl.C: call hideSplash()
17862
17863         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17864
17865         * include_form.h:
17866         * bibforms.h: remove
17867
17868         * lyxfunc.C:
17869         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17870           add LFUN_CHILD_CREATE
17871
17872         * counters.h: fix tiny typo
17873
17874         * lyx_cb.C:
17875         * lyx.h:
17876         * lyx_gui.C:
17877         * lyx.C: move splash to frontends/xforms/
17878
17879         * lyx_gui_misc.C: move Include and Bibform to frontends
17880
17881         * lyxvc.h: clarify comment
17882
17883         * vspace.C: tiny housekeeping
17884
17885 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17886
17887         * text.C (PrepareToPrint): RTL Fix.
17888
17889         * paragraph.C (GetUChar): New method.
17890         (String):  Use GetUChar.
17891
17892         * buffer.C (asciiParagraph): Use GetUChar.
17893
17894 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17895
17896         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17897
17898 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17899
17900         * buffer.h:
17901         * buffer.C: rename to getLogName(), handle
17902           build log / latex log nicely
17903
17904 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17905
17906         * MenuBackend.C:
17907         * MenuBackend.h: remove support for reference menuitem type.
17908
17909 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17910
17911         * BufferView_pimpl.C: housekeeping
17912         * BufferView_pimpl.h:
17913         * LyXView.h:
17914         * Makefile.am:
17915         * Timeout.C:
17916         * Timeout.h:
17917         * minibuffer.h: move Timeout GUI-I
17918
17919 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17920
17921         * lyxrc.C (read): Update converters data-structures.
17922
17923 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17924
17925         * LaTeX.h (operator!=): add operator != for Aux_Info
17926
17927 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17928
17929         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17930
17931         * LaTeXLog.C: deleted, useful code moved to Buffer
17932
17933         * buffer.h:
17934         * buffer.C: new function getLatexLogName()
17935
17936         * lyx_gui_misc.C:
17937         * lyx_gui.C:
17938         * lyxvc.C:
17939         * lyxvc.h:
17940         * lyxfunc.C: use frontends for LaTeX and VC logs
17941
17942 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17943
17944         * LaTeX.h: yet another std:: that Allan forgot.
17945
17946         * Variables.C (set): renamed from isset(), because this clashes
17947         with some HP-UX macros (grr).
17948
17949 2001-02-06  Allan Rae  <rae@lyx.org>
17950
17951         * LaTeX.h: Another bug fix.  Missing std:: this time.
17952
17953 2001-02-04  Allan Rae  <rae@lyx.org>
17954
17955         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17956         floats problem. I've left it commented out because it's not quite
17957         correct.  It should also test that the current object is a table or
17958         figure inset.  But I haven't gotten around to figuring out how to do
17959         that.  I *think* it'll be something like: "table" == inset.type()
17960
17961         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17962         bool.
17963
17964 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17965
17966         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17967         all the citation/databases/styles in the auxilary file.
17968         (run): Rerun latex if there was a babel language error.
17969
17970 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17971
17972         * text.C (Backspace): Preserve the font when changing newline char
17973         with a space.
17974         (BreakParagraph): If the cursor is before a space, delete the space.
17975
17976         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17977
17978 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17979
17980         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17981         new argument (code).
17982         (ChangeCitationsIfUnique): New method.
17983
17984         * paragraph.C (GetPositionOfInset): Handle bibkey.
17985
17986 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17987
17988         * BufferView_pimpl.h: change type of Position::par_pos to
17989         LyXParagraph::size_type.
17990
17991 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17992
17993         * BufferView_pimpl.C (savePosition, restorePosition): Write
17994         messages to minibuffer.
17995
17996 2001-01-28  José Matos  <jamatos@fep.up.pt>
17997
17998         * buffer.C (makeDocBookFile): adds support for document language.
17999         A silly restriction on the name of LatexCommand types where removed.
18000         Added support for CDATA sections, allows to chars unescaped, used
18001         among others in code, to avoid escape < and >.
18002
18003 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18004
18005         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18006         saved positions instrad of a stack. Furthermore, a position is
18007         stored using paragraph id/paragraph position.
18008
18009         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18010         Remove LFUN_REF_BACK.
18011
18012 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18013
18014         * converter.C (dvipdfm_options): New method.
18015
18016 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18017
18018         * vspace.C (isValidLength): Fix for empty input string.
18019
18020 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18021
18022         * LyXAction.C (init): change description of LFUN_FIGURE to
18023         "Insert Graphics"
18024
18025 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18026
18027         * LaTeX.C: add using directive
18028
18029 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18030
18031         * MenuBackend.C (expand): Fix the sorting of the formats.
18032
18033 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18034
18035         * lyx_main.C: tiny error message fix
18036
18037 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18038
18039         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18040         calling fl_initialize(). This fixes the problem with ',' as
18041         decimal separator in text files.
18042
18043 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18044
18045         * trans.C (process): Fix the keymap bug.
18046
18047 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18048
18049         * LaTeX.C (scanAuxFiles): New method. Provides support for
18050         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18051         (scanLogFile) Scan for "run BibTeX" messages.
18052
18053         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18054         OT1 font encoding. Also, load the aecompl package if the ae
18055         package is loaded.
18056
18057         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18058
18059 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18060
18061         * texrow.C (increasePos): turn two error messages into debug
18062         messages.
18063
18064 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18065
18066         * LaTeX.C (scanAux): Handle the \@input macro.
18067         (runBibTeX): Use scanAux().
18068
18069         * language.C (latex_options_): New field.
18070
18071         * LaTeXFeatures.C (getMacros): Add language macros.
18072
18073         * buffer.C (makeLaTeXFile): Small fix.
18074
18075 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18076
18077         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18078
18079         * text2.C: add a using directive.
18080
18081 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18082
18083         * BufferView2.C:
18084         * lyx_gui_misc.h:
18085         * lyxfr1.C:
18086         * lyxfunc.C: kill LyXBell.
18087
18088 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18089
18090         * text.C (IsBoundary): Remove the error message
18091
18092         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18093
18094         * lyxrc.C (setDefaults): Correct initialization value for
18095         font_norm_type.
18096
18097 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18098
18099         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18100         gotoError().
18101
18102         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18103         and GotoNextNote().
18104
18105         * src/LyXAction.C: Added reference-next.
18106
18107         * text.C (InsertChar): Use contains instead of strchr.
18108
18109         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18110
18111 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18112
18113         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18114         alignment commands (when needed).
18115
18116         * text.C (InsertChar): Add ':' to number separator chars.