]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
d8fa7f67628b3632b22557260b13a1d1d9dfbea5
[lyx.git] / src / ChangeLog
1 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
2
3         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
4
5 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6
7         * text.C (insertChar):
8         * text2.C (deleteEmptyParagraphMechanism): take care whether 
9         a blank has been deleted (in change tracking mode) (bug 1254).
10
11 2005-07-20  John Levon  <levon@movementarian.org>
12
13         * text2.C (insertStringAsLines): remove old dubious code,
14         fixing bug 1939.
15
16 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
17
18         * MenuBackend.C (expandToc): use Floating::listName() as title of
19         the floats submenus.
20
21 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
22
23         * toc.[Ch]: Do not use translatable strings (bug 1870).
24
25 2005-07-20  John Levon  <levon@movementarian.org>
26
27         * tabular.C: fix 1748 - setting multicolumn adds
28           left line to the first cell
29
30 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
31
32         bug 1920
33         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
34         pars in one go.
35
36 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
37
38         * messages.C: supress some lyxerr messages
39
40 2005-07-18  Juergen Vigna  <jug@lyx.org>
41
42         * text.C (drawSelection): honor boundary when asking for cursorX.
43
44 2005-07-17  José Matos  <jamatos@fc.up.pt>
45
46         * tabular.C (recalculateMulticolumns): fix handling of one column
47         tables.
48
49 2005-07-17  Juergen Vigna  <jug@lyx.org>
50
51         * text.C (Delete, backspace): fixed so that paragraph with the
52         same layout can be merged by Delete/Backspace.
53
54 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
55
56         * text.C (readParToken): fix spelling.
57
58 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
59
60         * text2.C: fix counter update for DEPM problem reported by
61         Georg Baum
62
63 2005-07-17  Juergen Vigna  <jug@lyx.org>
64
65         * BufferView_pimpl.C (setBuffer): save/restore the
66         cursor/selection when switching buffers
67
68         * buffer.h: 
69         * buffer.C (saveCursor): add saveDocumentIterators to save the
70         cursor when switching buffer.
71
72 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
73
74         * debug.C: fix typo
75         * buffer.C: clarify message
76         
77 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
78
79         * dociterator.C (DocIterator): fix initialization order
80
81 2005-07-17  Juergen Vigna  <jug@lyx.org>
82
83         * text2.C (cursorHome): 
84         * text.C (drawSelection, cursorX): 
85         * dociterator.C (textRow): add boundary to getRow() call
86
87         * paragraph.C (getRow): implementation of below
88
89         * paragraph.h: add parameter boundary for getRow() function
90
91 2005-07-17  José Matos  <jamatos@fc.up.pt>
92
93         * buffer.C:
94         * bufferparams.[Ch]:
95         * tex-strings.[Ch]: new file format, remove support for a4.sty,
96         a4wide.sty and a4widemargins.
97
98 2005-07-17  Juergen Vigna  <jug@lyx.org>
99
100         * text2.C (cursorLeft): fix one of error
101
102 2005-07-17  Juergen Vigna  <jug@lyx.org>
103
104         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
105                    cursorEnd):
106         more fixes for boundary handling
107
108         * text3.C (dispatch): don't reset cursor if boundary has changed
109         on cursor movement.
110
111 2005-07-16  Juergen Vigna  <jug@lyx.org>
112
113         * text2.C (getColumnNearX): hopefully got it right now,
114         check if we are on column 0 for special case.
115
116 2005-07-16  Juergen Vigna  <jug@lyx.org>
117
118         * text2.C (getColumnNearX): handle special case Newline Inset
119
120         * text.C (singleWidth): Just remove bogus check
121
122 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
123
124         * funcrequest.C (split): avoid reading uninitialized char c
125
126 2005-07-16  José Matos  <jamatos@fc.up.pt>
127
128         * buffer.C:
129         * converter.C:
130         * lyxrc.C:
131         * paper.h:
132         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
133         single papersize variable.
134
135 2005-07-16  Juergen Vigna  <jug@lyx.org>
136
137         * text3.C (dispatch): honor boundary when checking if a cursor
138         movement has been done
139
140         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
141         (setCursor, setCursorIntern): fix cursor movement with boundary
142
143 2005-07-16  Juergen Vigna  <jug@lyx.org>
144
145         * text.C (currentState): output the actual Boundary
146
147 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
148
149         * factory.C (createInset): fix bad logic for tabular creation
150
151 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
152
153         * lyx_main.C (init): change some reLyX reference to tex2lyx
154
155 2005-07-16  Juergen Vigna  <jug@lyx.org>
156
157         * dociterator.C (DocIterator): initialize boundary
158
159 2005-07-16  Juergen Vigna  <jug@lyx.org>
160
161         * text2.C (getColumnNearX): Consider rows without trailing blank.  
162
163 2005-07-16  André Pönitz  <poenitz@gmx.net>
164
165         * lyxfont.h: Change order of declarations to give the compiler
166         a better chance to inline things
167
168         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
169         questions on unsaved docs for better scritability
170
171 2005-07-16  André Pönitz  <poenitz@gmx.net>
172
173         * paragraph.h (getChar): remove asserts as the same kind of security
174         can be achieved by using a suitable standard library implementation
175         and the function was in the critical path (25.9% in profiler)
176
177 2005-07-16  Juergen Vigna  <jug@lyx.org>
178
179         * cursor.C (bruteFind2):
180         * bufferview_funcs.C (coordOffset): 
181         * text.C (cursorX,cursorY): Handle cursor position after last char
182         in row before a inset which uses a whole row.
183
184 2005-07-15  José Matos <jamatos@lyx.org>
185
186         * output_plaintext.[Ch] (writeFileAscii): control reference title
187         printing.
188         (asciiParagraph): noparbreak was already deal and was incorrectly
189         used.
190
191 2005-07-15  Juergen Vigna <jug@lyx.org>
192
193         * lyxfunc.C (dispatch): save and restore the cursor after a
194         textclass switch.
195
196 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
197
198         * text.C (backspace): bug 806 for empty keepempty paragraphs we
199         change the layout to default before letting DEPM do its thing.
200
201         * paragraph_funcs.C (breakParagraph): dont reset the layout on
202         keepEmpty paragraphs
203
204         * text.C (setCursorFromCoordinates): add a debug statement
205
206         * text2.C (getColumnNearX): bug 1825 make sure that we don't
207         return a pos that is not on the row
208
209         * output_latex.C (TeXDeeper): get rid of potential dereferencing
210         of past the end iterator
211
212 2005-07-14  André Pönitz  <poenitz@gmx.net>
213
214         * undo.C (recordUndoFullBuffer): implement undo for
215         textclass switches
216
217 2005-07-14  André Pönitz  <poenitz@gmx.net>
218
219         * cursor.C (setSelection): open insets when selection is set there
220         to avoid crashs with cold coord cache
221
222 2005-07-14  André Pönitz  <poenitz@gmx.net>
223
224         * trans_mgr.C (insert): move cursor to the right after inserting
225         a char.
226
227 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
228
229         * BufferView_pimpl.C (update): dampen some of the debug blabbering
230         * factory.C (readInset): ditto
231         * text.C, text2.C: ditto
232
233 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
234
235         * buffer.C: format incremented to 242. There is no file format per
236         se, but the "frenchb" language has been removed from lib/language
237         and has to be translated to "french" by lyx2lyx.
238
239 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
240
241         * cursor_slice.h, dociterator.h: add some documentation
242         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
243
244 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
245
246         * text.C (leftMargin): do not add identation to display() style
247         insets, because they are always centered (bug 1293).
248
249 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
250
251         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
252         formatted_time methods in support/lyxtime.
253
254 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
255
256         * toc.[Ch]: new method getGuiName, which is used by the frontends 
257         to set the toc combo (fixes bug 1870). Make TOC string translatable.
258
259 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
260
261         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
262         StableDocIterator const &)
263         * undo.C (recordUndo): use the above instead of cell.size() comparison
264         (fixes bug 1808; instructed by Andr�.
265
266 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
267
268         * cursor_slice.h: 
269         * dociterator.h: Fix the assert when copying rows/cols in math
270
271 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
272
273         * BufferView_pimpl.C:
274         * LyXAction.C:
275         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
276
277         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
278         (findInset): new functions, refactored from goto Inset that return 
279         the position of a certain inset without setting the buffer's cursor
280         (by Jean-Marc); 
281         (gotoInset): rewrite to call findInset and then set the cursor
282         (by Jean-Marc).
283
284 2005-06-16  Angus Leeming  <leeming@lyx.org>
285
286         * lyxrc.C (output, read): wrap all input and output of paths with
287         calls to os::internal_path and os::external_path, respectively.
288         (output): wrap bind_file inside quotes.
289
290         * format.C (view): enable the viewer to use the '$$s' placeholder.
291
292 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
293
294         * LColor.[Ch] (getFromLaTeXName): new
295
296 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
297
298         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
299
300 2005-06-14  Angus Leeming  <leeming@lyx.org>
301
302         * lyx_main.C (init): ensure that the LyX binary dir is the first
303         element in the PATH on non-POSIX builds.
304
305 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
306
307         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
308
309 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
310
311         * rowpainter.C (paintInset, paintHebrewComposeChar)
312         (paintArabicComposeChar, paintChars): add a LyXFont argument.
313         (paintChars): use getFontSpan to reduce calls to getFont to a
314         minimum; use Paragraph::lookupChange instead of isXXXText.
315         (paintForeignMark): rename LyXFont argument.
316         (paintFromPos): pass a LyXFont object to the various paintXXX
317         methods.
318
319         * FontIterator.C (FontIterator, operator++): use
320         Paragraph::getFontSpan
321
322         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
323         version that returns the font span as a pair.
324
325 2005-06-09  Angus Leeming  <leeming@lyx.org>
326
327         * converter.C (convert): Don't forget "outfile = real_outfile" as
328         the final step in a conversion where the input and output file names
329         are the same. Otherwise, future conversion steps won't work...
330
331 2005-06-09  Angus Leeming  <leeming@lyx.org>
332
333         * lyxsocket.C: remove stub code as it isn't needed by
334         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
335
336 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
337
338         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
339         effectively disabled -x
340
341 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
342
343         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
344         when it actually makes sense.
345
346 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
347
348         * BufferView_pimpl.C: revert to showCursor in connection with
349         Lars's front-end stack
350
351 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
352
353         * text.C (redoParagraph): move cursor right after a bibitem
354         has been inserted.
355
356         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
357
358 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
359
360         * buffer_funcs.C (bufferErrors): fix computation of the end of an
361         error range.
362
363 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
364
365         * BufferView.[Ch] (update):
366         * BufferView_pimpl.[Ch] (update, metrics):
367         * dimension.h (operator==):
368         * lyxfunc.C (dispatch):
369         * metricsinfo.h (ViewMetricsInfo):
370         * rowpainter.C (paintText):
371         * lyxtext.h:
372         * text.C (redoParagraph):
373         * text3.C (dispatch): Make LyX only repaint current paragraph in
374         case of character insert --> speedup. Also fix cursor draw
375         artifacts
376
377 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
378
379         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
380         avoid a crash (bug 1891)
381
382 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
383
384         Fix bug 1892:
385
386         * text2.C (getStringToIndex): constify cur argument.
387
388         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
389         argument has been given
390         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
391         try to invoke LFUN_INSET_APPLY).
392
393         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
394         if no inset was created by doInsertInset
395         (doInsertInset): return true if an inset has been inserted.
396
397 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
398
399         * vspace.C (asGUIName): new method. A version of the space
400         suitable for showing on screen.
401
402 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
403
404         * MenuBackend.C:
405         * lyxrc.C: rename "ASCII" to "Plain Text"
406
407 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
408
409         * buffer_funcs.C (expandLabel): take a Buffer as argument;
410         translate the labelstring.
411         (setCounter): translate labelstring as needed.
412
413         * output_docbook.C (makeCommand): fix expandLabel invokation
414
415 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
416
417         * BufferView.C: fix dialog title
418
419 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
420
421         * lyx_main.C (priv_exec): fix logic error with help from Angus
422         * lyx_main.C (parse_execute): set is_gui = false and remove now
423         obsolete comment about a segfault
424
425 2005-05-18  Angus Leeming  <leeming@lyx.org>
426
427         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
428
429 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
430
431         * tabular.[hC]: added setCellInset to fix tabular paste.
432
433 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
434
435         * buffer.C (save): check if destination is writable before trying
436         to copy a file
437
438 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
439
440         * BufferView_pimpl.C (update): fix processEvents -caused update
441         recursion bug
442
443 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
444
445         * buffer_funcs.C (setCounter): fix test for numbering of
446         environments.
447
448         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
449         depth correctly; use optional argument when it exists
450
451         * lyxtextclass.C: remove unused MaxCounterTags enum
452         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
453         (max_toclevel, min_toclevel): new methods.
454
455         * MenuBackend.C (expandToc2): fix case where depth is smaller than
456         the smallest depth in toc.
457
458         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
459         layouts that should not appear in a table of contents.
460
461 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
462
463         * cursor.h (undispatched, noUpdate): add comments from Andr�
464 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
465
466         * lfuns.h:
467         * LyXAction.C:
468         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
469
470 2005-05-07  André Pönitz  <poenitz@gmx.net>
471
472         * cursor.[Ch] (leaveInset): new function
473
474 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
475
476         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
477
478 2005-05-04  Angus Leeming  <leeming@lyx.org>
479
480         * lyxfunc.C (getStatus): disable the spell checker dialog if
481         none of USE_[AIP]SPELL are defined.
482
483 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
484
485         * tabular.C (setWidthOfCell): remove obsolete comment
486
487 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
488
489         * paragraph.C (bibitem):
490         * buffer_funcs.C (setCounter):
491         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
492
493 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
494
495         * text3.C (getStatus): immediately return after setOnOff
496
497         * rowpainter.C: fix drawing of appendix start
498
499 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
500
501         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
502         SwitchBetweenClasses and remove the unused return value.
503         Handle character styles, too
504
505 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
506
507         * factory.C (createInset): handle undefined character styles
508
509 2005-05-02  Angus Leeming  <leeming@lyx.org>
510
511         * buffer.C: protect the #include of utime.h with a preprocessor
512         guard.
513
514 2005-05-02  Angus Leeming  <leeming@lyx.org>
515
516         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
517         function so that auto-saving works, albeit in a blocking manner.
518
519         * Makefile.am: make compilation of the client sub directory, of
520         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
521         on conditionals set at configure time.
522
523         * SpellBase.[Ch]: no longer an abstract base class. Instead,
524         it can be compiled in its own right but has no-op functionality.
525
526         * aspell.C, pspell.C: remove preprocessor guards. The files should
527         be compiled only if the necessary functionality exists.
528
529         * lyxserver.C, lyxsocket.C: disable on Windows.
530
531 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
532
533         * text.C (leftMargin): Fix the parindent use bug (1764)
534         by dirty trick
535
536 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
537
538         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
539         argument.
540
541 2005-04-25  Angus Leeming  <leeming@lyx.org>
542
543         * Bidi.[Ch]:
544         * coordcache.[Ch]:
545         * ispell.C:
546         * lyxserver.C:
547         * mover.C:
548         * pch.h:
549         include <config.h> in .C files, not .h ones.
550         add licence blurb.
551         protect headers inside preprocessor guards.
552
553 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
554
555         * FuncStatus.h (StatusCodes): document
556
557 2005-04-21  André Pönitz  <poenitz@gmx.net>
558
559         * FuncStatus.h (enabled, onoff): document
560
561 2005-04-19  Angus Leeming  <leeming@lyx.org>
562
563         * BufferView_pimpl.C (cursorToggle): no longer test whether
564         any child processes have been reaped before calling
565         handleCompletedProcesses().
566
567 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
568
569         * text3.C (dispatch): fix, finally fix, the language problem in
570         new lyxtexts, without disabling on-the-fly font changes (Helge's
571         bug report)
572
573 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
574
575         * text3.C (dispatch): set cursor on double/triple click events
576         (bug 1811)
577
578 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
579
580         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
581         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
582
583         * rowpainter.C (paintFirst): simplify the code a little bit. In
584         particular, remove the test for secnumdepth.
585         * text.C (setHeightOfRow): only allocate space for chapter number
586         when updateCounters provided an actual label, instead of looking
587         at secnumdepth directly.
588
589         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
590
591         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
592         paragraphs when secnumdepth is large enough or, for environments,
593         when they are not the first in a sequence.
594
595 2005-04-17  Angus Leeming  <leeming@lyx.org>
596
597         * buffer.C (makeLaTeXFile): replace code to manipulate a path
598         containing space and '~' characters with a call to latex_path().
599
600 2005-04-17  Angus Leeming  <leeming@lyx.org>
601
602         * converter.C (convert): protect all args of convertDefault.sh
603         script with quotes.
604
605 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
606
607         * text3.C (dispatch): change the layout to "Caption" after inserting
608         a float.
609
610 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
611
612         * text3.C (dispatch): fix language problem in newly created
613         textinsets (and main text) in non-english docs
614
615 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
616
617         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
618         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
619         * text3.C (getStatus): disable LFUN_INSET_MODIFY
620
621 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
622
623         * lyxtext.h:
624         * text.C (metrics):
625         * text2.C (getFont):
626         * rowpainter.C (getFont): Fix metrics bug introduced by inset
627         fonts fix
628
629 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
630
631         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
632         output of \item arguments without trailing text.
633
634 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
635
636         * FontIterator.C (operator*): avoid a copy of the font.
637
638 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
639
640         * rowpainter.C (getFont): fix language bug from previous fix
641
642 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
643
644         * rowpainter.C (RowPainter, getFont): fix font inside inset
645         (bugs 1766, 1809)
646
647 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
648
649         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
650         preventing inserted font, deco, delim insets jumping to start of
651         surrounding inset.
652
653 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
654
655         * lyxfunc.C (dispatch): translate message before sending it to the
656         minibuffer.
657
658 2005-03-29  Angus Leeming  <leeming@lyx.org>
659
660         * lyx_main.C (priv_exec): call os::internal_path on each file passed
661         to LyX on the command line.
662
663 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
664
665         * vc-backend.C: use QuoteName to protect file names wherever
666         necessary.
667
668 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
669
670         * buffer.[Ch]:
671         * BranchList.h: fix bugs 1844,1845: document settings don't
672         stick
673
674 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
675
676         * lyxrc.C (setDefaults, read, output, getDescription): add support
677         for tex_allows_spaces.
678
679         * exporter.C (Export): allows files in directory containing spaces
680         if tex_allows_spaces is true.
681
682         * buffer.C (makeLaTeXFile): if the document path contains spaces,
683         output it in double quotes.
684
685 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
686
687         * rowpainter.C: use default text height for drawing change tracker
688         strikeout lines.
689
690 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
691
692         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
693
694 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
695
696         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
697         directory is missing.
698
699 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
700
701         * text2.C: fixed the fix, extended to other case.
702
703 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
704
705         * text2.C: fix for cursor up/down stuck in math [bug 1792]
706
707 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
708
709         * text2.C (cursorUp): get rid of a crash
710         * text.C (x2pos): add an assert
711
712 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
713
714         * lyxfunc.C (getStatus): fix warning when assertions are disabled
715
716         * text3.C:
717         * lyxfunc.C:
718         * dociterator.C: include <boost/current_function.hpp>, which is
719         needed when assertions are disabled.
720
721 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
722
723         * text2.C: fix for stuck cursor when traversing two
724         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
725
726 2005-02-25  Andreas Vox  <avox@arcor.de>
727
728         * output_docbook.C (makeParagraph): suppress trailing newline
729         after a run of paragraphs
730
731 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
732
733         * paragraph.C: fix for confused change tracker when pasting
734         text that begins with a lineseparator. [bug 1827]
735         (setChange(0, Change::INSERTED);)
736
737         * paragraph_funcs.C: fix for lost changes on triple-paste
738         in change tracking mode [bug 1827] (par.setChange()).
739
740 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
741
742         * text2.C (updateCounters, setCounter, expandLabel): move to
743         buffer_funcs.
744
745         * buffer_funcs.C (updateCounters): turn into a free standing
746         function and add a buffer parameter. Remove dead code for tracking
747         labelstring change.
748         (setCounter): change into a free-standing function which gets a
749         dociterator as argument. Use this iterator to fix captions in a
750         simple way. When no float is found above the caption, use the
751         labelstring of the caption layout as default.
752
753         * text.C (breakParagraph, backspace):
754         * text2.C (init, setLayout, changeDepth):
755         * text3.C (dispatch):
756         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
757         updateCounters.
758
759         * dociterator.C (forwardPar): make it much faster by calling
760         forwardPos() only when really necessary.
761
762         * output_docbook.C (makeCommand): adapt to expandLabel move.
763
764         * cursor.C: remove unused variable
765
766 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
767
768         * paragraph_funcs.C: fix crash when pasting insets in change
769         tracking mode [bug 1277] (honour change type in moveItem).
770
771 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
772
773         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
774
775 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
776
777         * BufferView.C (setCursor): change to use a DocIterator.
778         (gotoLabel): use BufferView::setCursor (other part of bug 781).
779         (putSelectionAt): adapt to BufferView::setCursor change.
780
781         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
782         moved here from LyXText and rewritten to use proper cursor
783         methods. Fixes bug 1787, 616 and 835.
784
785         * BufferView_pimpl.C (restorePosition): set the cursor correctly
786         when inside an inset (part of bug 781).
787         (dispatch): adapt to change of BufferView::setCursor.
788         (getStatus, dispatch): handle LFUN_GOTOERROR,
789         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
790
791         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
792         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
793         * text3.C (gotoNextInset, gotoInset): removed.
794
795 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
796
797         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
798
799 2005-02-15  Angus Leeming  <leeming@lyx.org>
800
801         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
802         can be used meaningfully in a comparison.
803
804 2005-02-13  André Pönitz  <poenitz@gmx.net>
805
806         * bufferview_funcs.C (coordOffset): improve cursor drawing
807
808 2005-02-13  André Pönitz  <poenitz@gmx.net>
809
810         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
811         * Cursor.C (dispatch): use fixIfBroken
812         * lyxfunc.C (getStatus): use fixIfBroken
813
814 2005-02-15  Angus Leeming  <leeming@lyx.org>
815
816         * lyx_main.C (error_handler):
817         * lyxfunc.C:
818         * lyxrc.C (setDefaults):
819         s/GetEnv/getEnv/.
820         #include "environment.h".
821
822         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
823
824 2005-02-15  Angus Leeming  <leeming@lyx.org>
825
826         * lyxserver.C (startPipe): squash MSVC warning "local variable
827         'fd' used without having been initialized".
828
829 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
830
831         * BufferView_pimpl.C: revert accidental commit.
832
833 2005-02-14  André Pönitz  <poenitz@gmx.net>
834
835         * dociterator.[Ch]: new member forwardPosNoDescent(),
836         which doesn't enter nested insets.
837         * text2.C (setFont): use forwardPosNoDescent() instead
838         of ForwardPos() (fixes crash on font change).
839
840 2005-02-13  Angus Leeming  <leeming@lyx.org>
841
842         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
843         only if lyxrc.path_prefix is not empty.
844
845 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
846
847         * bufferparams.C (readGraphicsDriver): prevent crash
848
849 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
850
851         * text2.C (setCounter): check for inInset() == 0
852
853 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
854
855         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
856         but use update() to get correct screen display; use convert
857         instead of istringstream.
858         (getStatus): handle LFUN_GOTO_PARAGRAPH
859
860         * lyxfunc.C (dispatch, getStatus): do not handle
861         LFUN_GOTO_PARAGRAPH here.
862
863 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
864
865         * text3.C (dispatch): size() -> depth()
866
867         * text2.C: remove some debug output
868
869         * paragraph.C: ws changes only
870
871         * lyxfunc.C (getStatus): size() -> depth()
872
873         * dociterator.h (clear, push_back, pop_back, internalData,
874         operator[], resize, empty): new functions
875         Make StableDocIterator and operator== be friends. Don't inherit
876         from std::vector use a privat class variable slices_ instead.
877         Modify to fit.
878
879         * dociterator.C: update because of not inheriting from std::vector
880         anymore. Call explictly to slices_ instead. Use depth() instead of
881         size() and top() instead of back()
882
883         * cursor.C: chagne size() -> depth and back() -> top(). Also
884         remove some direct operator[](i) calls in favour of foo[i]
885         (getFont): remove some dead code
886
887         * bufferview_funcs.C (coordOffset): size() -> depth()
888
889         * buffer.C: ws changes only
890
891         * CutAndPaste.C (eraseSelection): back() -> top()
892
893         * BufferView_pimpl.C (selectionRequested): back() -> top()
894
895         * BufferView.C (setCursor): size() -> depth()
896
897 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
898
899         * text3.C (cursorPrevious): return true if depm changed something
900         (cursorNext): ditto
901         (dispatch): rename sl to oldTopSlice, remove moving use the new
902         NoUpdate func attrib instead. Make sure that needsUpdate is set
903         for function that have NoUpdate, but where depm might have changed
904         the buffer anyway.
905
906         * text2.C (cursorLeft): make us return true if depm changed
907         something
908         (cursorRight): ditto
909         (cursorUpParagraph): ditto
910         (curosrDownParagraph): ditto
911         (cursorUp, cursorDown): ditto, make sure to read comments in code
912         (deleteEmptyParagraphMechanism): remove an assert, also return
913         true if just a single char was deleted.
914
915         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
916         cursor that we modify, to avoid modifying an active cursor before
917         we call setCursor. This allows depm to run. Also return true if
918         depm deleted something.
919
920         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
921         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
922         cursorDownParagraph, cursorPrevious and cursorNext, return true if
923         something was changed in the buffer because of them (ie. depm run)
924
925         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
926         debug messages. Make update by default be false. Make sure that
927         the result of update is retained throught several calls down to
928         dispatch.
929
930         * LyXAction.h: add a new func_attrib: NoUpdate
931
932         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
933         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
934         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
935         and LFUN_WORDLEFT
936         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
937
938 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
939
940         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
941         bv_->owner(), bv_->buffer() by direct references to the private
942         members.
943         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
944         (getStatus): isSavedPosition() is in BufferView::Pimpl.
945         (fitCursor): center() is in BufferView::Pimpl.
946         (getStatus, trackChanges, dispatch): no need for a temporary buf
947         variable
948         (fitCursor, workAreaDispatch): use workarea().workheight()
949
950 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
951
952         * CutAndPaste.C (pasteSelectionHelper): fix a crash
953
954 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
955
956         * buffer.C: format up to 241.
957         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
958         break if pasting into ERT
959         * lyxfunc.C (getStatus): suppress mathpanel and
960         LFUN_DIALOG_SHOW_NEW_INSET in ERT
961
962 2005-02-01  Angus Leeming  <leeming@lyx.org>
963
964         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
965
966 2005-02-01  Angus Leeming  <leeming@lyx.org>
967
968         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
969         calling fs::is_directory().
970
971 2005-01-31  Angus Leeming  <leeming@lyx.org>
972
973         * lyx_main.C (priv_exec): specify explicitly the relative location
974         of the top level build directory when run in-place.
975
976 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
977
978         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
979         LyXText containing the cursor, not the top-level one.
980
981         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
982         true.
983         (insertStringAsLines): rename par to pit; use temporary variable
984         par to hold a Paragraph; do not store par.layout() in a variable,
985         since the pointer may die when breaking paragraphs; pass pars to
986         breakParagraph() instead of Buffer::paragraphs().
987
988 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
989
990         * lyxlex_pimpl.h: #include <fstream>.
991
992         * BufferView.[Ch] (getLyXText): add a const version.
993
994         * BufferView_pimpl.C: add debug aids.
995
996         * RowList_fwd.h:
997         * buffer.h:
998         * lyxrow.h:
999         * paragraph_funcs.h: add commentary explaining what the class does.
1000
1001
1002         * coordcache.[Ch]: add lots of commentary.
1003         (startUpdating, doneUpdating): debug aids.
1004         (arrays, insets, parPos, getParPos): accessors to private data.
1005
1006         * cursor_slice.[Ch] (text): add a const version.
1007         * dociterator.[Ch] (text, innerText): add const versions.
1008
1009         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1010         bool.
1011
1012         * paragraph.C (getRow, pos2ros): add asserts.
1013
1014         * paragraph.h: add commentary. Lots of.
1015
1016         * paragraph.[Ch] (metrucs, draw): removed.
1017
1018         * cursor.C:
1019         * rowpainter.[Ch]: const-correct changes.
1020
1021         * text.C: various obvious clean-ups. Removal of ancient cruft.
1022         Bug fixes, even.
1023
1024 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1025
1026         * vc-backend.C (find_file): rewrite to use boost.filesystem
1027         (scanMaster): ditto
1028
1029         * main.C (main): set default name check for boost.filesystem to
1030         no check
1031
1032         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1033         (open): ditto
1034         (doImport): ditto
1035         (actOnUpdatedPrefs): ditto
1036
1037         * lyx_main.C (init): rewrite to use boost.filesystem
1038         (queryUserLyXDir): ditto
1039
1040         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1041         (getContentsOfAsciiFile): ditto
1042
1043         * lastfiles.C (readFile): rewrite to use boost.filesystem
1044
1045         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1046
1047         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1048         (loadLyXFile): ditto
1049
1050         * buffer.C (Buffer): adjust for destroydir
1051         (getLogName): rewrite to use boost.filesystem
1052         (setFileName): ditto
1053         (save): use fs::copy_file (from fs_extras)
1054
1055         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1056
1057         * LaTeX.C (run): rewrite to use boost.filesystem
1058         (scanAuxFiles): ditto
1059         (handleFoundFile): ditto
1060
1061 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1062
1063         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1064
1065         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1066
1067 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1068
1069         * lyxlayout.[Ch]: change some vars from float to double
1070
1071         * buffer.C (readFile): make a local var const
1072
1073         * Several files: use convert<> instead of atoi,strToXXX and friends
1074
1075 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1076
1077         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1078         holds the contents of packages.lst. New functions getAvailable
1079         and isAvailable to parse and check that list, resp.
1080
1081         * LyXAction.C:
1082         * lfuns.h:
1083         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1084
1085         * bufferparams.[Ch]: new param output_changes.
1086
1087         * Buffer.C: increase file format to 240.
1088         Use output_changes and isVailable.
1089
1090         * changes.[Ch]:
1091         * paragraph.C:
1092         * paragraph_pimpl.C: Use output_changes and isVailable.
1093
1094 2005-01-23  Angus Leeming  <leeming@lyx.org>
1095
1096         * output_latex.C: #include "insetbibitem.h", rather than
1097         forward declare function bibitemWidest.
1098
1099 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1100
1101         * lyx_main.C (init): make it compile on the Mac.
1102
1103 2005-01-20  Angus Leeming  <leeming@lyx.org>
1104
1105         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1106         (setLyXMisc): (char string literal) != (char string literal) is
1107         performing a comparison on the addresses. Convert one operand
1108         explicitly to string to guarantee expected behaviour.
1109         From MSVC warning.
1110
1111 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1112
1113         * buffer.C:
1114         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1115
1116         * output_plaintext.C: remove unneeded #include gzstream.h.
1117
1118 2005-01-20  Angus Leeming  <leeming@lyx.org>
1119
1120         * SpellBase.h: rename some of the elements of the Result enum.
1121
1122         * aspell_local.h:
1123         * ispell.h:
1124         * pspell.h:
1125         * aspell.C (check):
1126         * ispell.C (check):
1127         * pspell.C (check): ditto
1128
1129 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1130
1131         * buffer.C: add #include <fstream>.
1132
1133         * lyx_main.C (init): Compile fix.
1134
1135         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1136
1137 2005-01-20  Angus Leeming  <leeming@lyx.org>
1138
1139         * mover.h: change commentary to reflect the changed meaning of
1140         the $$s placeholder.
1141
1142 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1143
1144         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1145
1146         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1147
1148 2005-01-20  Angus Leeming  <leeming@lyx.org>
1149
1150         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1151         printing diagnostic data by not dereferecing an iterator past the
1152         end.
1153
1154 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1155
1156         * buffer.C (readHeader): use "&&" rather than "and".
1157
1158         * lyxserver.h (inPipeName, outPipeName): make these const.
1159
1160 2005-01-19  Angus Leeming  <leeming@lyx.org>
1161
1162         * lyx_main.C (error_handler, init): protect SIGHUP with
1163         #ifdef SIGHUP guards.
1164
1165 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1166
1167         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1168
1169 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1170
1171         * text.C (setHeightOfRow): add a margin at the top and bottom of
1172         the document (bug 1761)
1173
1174 2005-01-17  Angus Leeming  <leeming@lyx.org>
1175
1176         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1177         with "python ". Workaround for a brain-dead Windows.
1178
1179 2005-01-16  Angus Leeming  <leeming@lyx.org>
1180
1181         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1182         for MacOSX and Windows to use prependEnvPath.
1183         Strip out the hard-coded block to add elements to the PATH for
1184         MacOSX and replace it with a call to prependEnvPath using the
1185         contents of LyXRC::path_prefix.
1186         (queryUserLyXDir): strip out the code to run reconfigure, instead
1187         returning a boolean indicating the necessity to do so.
1188         (reconfigureUserLyXDir): contains the code to reconfigure the
1189         user support directory. Is now called after the various LyXRC data
1190         files have been read.
1191
1192         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1193
1194 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1195
1196         * converter.[Ch] (convert): take a new parameter try_default. Use
1197         a default converter (imagemagick) if try_default is true.
1198
1199 2005-01-13  Angus Leeming  <leeming@lyx.org>
1200
1201         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1202         os::cygwin_path_fix.
1203         (write): output LyXRC::cygwin_path_fix as necessary.
1204
1205 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1206
1207         * lyxrc.h:
1208         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1209
1210 2005-01-12  Angus Leeming  <leeming@lyx.org>
1211
1212         * lyx_main.C (init): set the PATH variable to include the
1213         directory containing the LyX binary when running on Mac or Windows.
1214
1215 2005-01-12  Angus Leeming  <leeming@lyx.org>
1216
1217         * lyx_main.C (init): remove cruft that purports to set the locale
1218         dir. It doesn't and is not needed anyway.
1219
1220 2005-01-10  Angus Leeming  <leeming@lyx.org>
1221
1222         * Makefile.am: remove the lyx_main.C special casing.
1223
1224         * BufferView_pimpl.C:
1225         * bufferlist.C:
1226         * exporter.C:
1227         * lyx_cb.C:
1228         * lyx_main.C:
1229         * lyxfunc.C:
1230         * messages.C: use support/package.h to provide the paths to the
1231         various directories used by LyX.
1232
1233 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1234
1235         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1236         layout if pasting into an empty paragraph)
1237
1238 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1239
1240         * tex-accent.C: add <string>
1241
1242 2005-01-06  José Matos  <jamatos@lyx.org>
1243
1244         * ParagraphParameters.C (write): put every parameter in its own line.
1245         * paragraph.C (write): reduce number of consecutive empty lines exported.
1246         * buffer.C (LYX_FORMAT): increase file format to 239.
1247
1248 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1249
1250         * everywhere: change support/tostr.h -> support/convert.h
1251
1252         * tabular.C: make all write_attributes templates, tostr -> convert
1253
1254         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1255         (emptyTag): and -> &&, and fix type for ret from getChar
1256         (getFirstWord): fix type for ret from getChar
1257         (onlyText): and -> &&
1258         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1259         getChar
1260
1261         * toc.C (goTo, action):
1262         * text3.C (dispatch):
1263         * text.C (currentState):
1264         * tex-accent.C (DoAccent):
1265         * sgml.C:
1266         * lyxrc.C:
1267         * lyxfunc.C (menuNew):
1268         * lyxfinc.C (replace):
1269         * counters.C (laberItem):
1270         * bufferview_funcs.C (font2string):
1271         * bufferparams.C (writeFile):
1272         * buffer.C (readFile):
1273         * Spacing.C (set):
1274         * MenuBackend.C: tostr -> convert
1275
1276         * LaTeX.C (runMessage): fix format
1277         (scanAuxFiles): tostr -> convert
1278
1279         * BufferView_pimpl.C (savePosition): fix format
1280         (restorePosition): ditto
1281         (dispatch): ditto
1282
1283 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1284
1285         * Spacing.[Ch]: New method getValueAsString().
1286
1287         * Spacing.[Ch]:
1288         * bufferparams.C:
1289         * ParagraphParameters.C:
1290         * lyxlayout.C:
1291         * text.C:
1292         * text3.C: store/read spacing value as string.
1293
1294         * rowpainter.C: change float value (spacing_val) to double.
1295
1296         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1297         broken custom document spacing).
1298
1299 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1300
1301         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1302         namespace, also more use of temp references and const
1303
1304         * cursor.[Ch] (getStatus): move to lyxfunc.C
1305
1306         * bufferparams.C: reformat slightly
1307
1308         * bufferview_funcs.C (font2string): constify arg
1309
1310         * changes.C:
1311         * converter.C:
1312         * counters.C:
1313         * bufferlist.C:
1314         * buffer_funcs.C: (many funcs): constify arg on function
1315         definitions, also make more local vars const, also add ASSERTS on
1316         pointer args.
1317
1318         * buffer.C (LYX_FORMAT): put const in correct place
1319         (many funcs): constify arg on function definitions, also make
1320         more local vars const
1321
1322         * aspell_local.h: remove "struct" from typdef setup
1323
1324         * aspell.C (check): make word_ok const
1325         (nextMiss): simplify slightly
1326         (error): ditto
1327
1328 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1329
1330         * lyxrc.[Ch]: store all float values as strings.
1331         use int (not float) for lyxrc.dpi.
1332
1333 2005-01-04  Angus Leeming  <leeming@lyx.org>
1334
1335         * lyx_cb.C (Reconfigure):
1336         * lyx_main.C (queryUserLyXDir):
1337         to run the <system_lyxdir>/configure correctly on Windows, prefix
1338         the path to the script with "sh " when generating the string that
1339         is passed to system().
1340
1341 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1342
1343         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1344
1345 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1346
1347         * lyxlength.C (asLatexString): get rid of setprecision
1348
1349 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1350
1351         * text2.C (setLayout): remove unused variable endpit.
1352         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1353
1354         * paragraph.C (onlyText): remove unused variable style.
1355
1356         * cursor.C (bruteFind): remove unused variables beg and end.
1357
1358         * Makefile.am (dist_noinset_DATA): not needed anymore
1359
1360         * cheaders/*: remove.
1361
1362 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1363
1364         * text3.C: fix LFUN_MATH_MODE.
1365
1366 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1367
1368         * buffer_funcs.C (countWords): new function. Counts words between
1369         two iterators.
1370
1371         * BufferView_pimpl.C (getStatus, dispatch): handle
1372         LFUN_WORDS_COUNT.
1373
1374         * LyXAction.C (init):
1375         * lfuns.h: add LFUN_WORDS_COUNT.
1376
1377 2004-12-19  Angus Leeming  <leeming@lyx.org>
1378
1379         * buffer.C (save): s/slashify_path/internal_path/.
1380
1381 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1382
1383         * lyxfind.C (findChange): do not search for end of pars, because
1384         the change tracker cannot handle this (fixes bug 1719).
1385
1386 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1387
1388         * paragraph.[Ch] (autoBreakRows): remove
1389
1390         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1391
1392         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1393         avoid using the paragraph one
1394
1395         * text2.C (LyXText, insertStringAsLines): adjust
1396
1397 2004-12-16  Angus Leeming  <leeming@lyx.org>
1398
1399         * bufferlist.C:
1400         * lyx_main.C:
1401         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1402
1403 2004-12-14  Angus Leeming  <leeming@lyx.org>
1404
1405         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1406
1407         * bufferlist.C (emergencyWrite):
1408         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1409         GetEnvPath("HOME").
1410
1411 2004-12-14  Angus Leeming  <leeming@lyx.org>
1412
1413         * main.C: (main): no longer pass pointers to os::init.
1414
1415 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1416
1417         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1418         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1419
1420 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1421
1422         * lyxfunc.C:
1423         * text3.C: remove selection_possible global flag
1424
1425 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1426
1427         * text2.C (getSelectionSpan): remove
1428         (changeDepth, changeDepthAllowed): adjust
1429
1430 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1431
1432         * Makefile.am (BOOST_LIBS): use boost variables
1433
1434 2004-12-03  José Matos  <jamatos@lyx.org>
1435
1436         * buffer.C: format up to 238.
1437
1438 2004-12-03  José Matos  <jamatos@lyx.org>
1439
1440         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1441
1442 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1443
1444         * cursor.C (goUpDown): remove call to idxUpDown2
1445
1446 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1447
1448         * tabular.[Ch]: use size_t-like types for cell, row and column
1449         indices
1450
1451 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1452
1453         * lyxfunc.C (getStatus): do not lose previous information when
1454         calling BufferView::getStatus; do not set a default "Command
1455         disabled" message at the beginning, but just before returning.
1456
1457 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1458
1459         * cursor.h (getStatus): add better comment from src/cursor.C
1460
1461 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1462
1463         * text3.C (getStatus): return false when the lfun is not handled
1464
1465 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1466
1467         * broken_headers.h: remove
1468
1469         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1470
1471 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1472
1473         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1474         offset_ref accessors
1475
1476         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1477         top_y_, merge fitcursor with update
1478         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1479         coord scheme
1480         (metrics): introduce
1481         (workAreaDispatch): adapt to new coord scheme
1482         (redoCurrentBuffer): remove
1483
1484         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1485
1486         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1487         CurStatus enum.
1488
1489         * coordcache.[Ch]: add paragraph cache and helpers
1490
1491         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1492         adjust everywhere
1493
1494         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1495         (targetX, setTargetX): introduce
1496
1497         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1498         baseline -> ascent, as the rest of lyx
1499
1500         * lyxtext.h: remove redoParagraphs, updateParPositions,
1501         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1502         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1503         have ascent/descent (ascent is ascent of first par)
1504
1505         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1506         step of BufferView
1507
1508         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1509
1510         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1511
1512         * pariterator.C: fix infinite loop introduced in par->pit renaming
1513
1514         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1515         in insets and LyXText, draw two off-screen paragraphs using
1516         NullPainter, and adapt to new coord scheme
1517
1518         * text.C:
1519         * text2.C:
1520         * text3.C: adapt lfun handlers to the new coord scheme, which
1521         means: there's only guaranteed coord information for onscreen pars
1522         plus one above and one below. This implies that one can do search
1523         from y coordinates in the range [-1,workHeight]
1524
1525 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1526
1527         * rename a lot of InsetOld to InsetBase
1528
1529 2004-11-25  Angus Leeming  <leeming@lyx.org>
1530
1531         * BufferView_pimpl.C:
1532         * lyx_cb.C:
1533         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1534
1535 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1536
1537         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1538         call BufferView::getStatus if LCursor::getStatus did nothing
1539         (setStatusMessage, getStatusMessage): removed.
1540
1541         * FuncStatus.C (message): new methods. Used to provide an error
1542         message indicating why a command is disabled.
1543         (clear, |=, FuncStatus): update for message.
1544
1545 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1546
1547         * lyxfunc.C (dispatch): always call sendDispatchMessage
1548
1549 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1550
1551         * BufferView.C:
1552         * BufferView_pimpl.C:
1553         * CutAndPaste.C:
1554         * FontIterator.C:
1555         * buffer.C:
1556         * cursor.C:
1557         * cursor_slice.[Ch]:
1558         * dociterator.[Ch]:
1559         * lyxfind.C:
1560         * paragraph_funcs.C:
1561         * pariterator.C:
1562         * rowpainter.C:
1563         * text.C:
1564         * text2.C:
1565         * text3.C:
1566         * undo.C: par->pit renaming
1567
1568 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1569
1570         * tabular.C (cellstruct): use initialization, store a shared_ptr
1571         to insettext instead of the insettext directly, adjust to fit.
1572         (operator=):  new function
1573         (swap): new function
1574         (rowstruct): use initialization
1575         (columnstruct): use initialization
1576         (ltType): use initialization
1577
1578
1579         * lyxlength.h (swap): new function
1580
1581         * LColor.[Ch] (operator=): use the common semantics
1582
1583 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1584
1585         * lyxfind.C (findNextChange): update the bufferview after setting
1586         the selection.
1587
1588 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1589
1590         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1591         number of InsetOptArgs has already been inserted.
1592
1593         * output_latex.C (latexOptArgInsets): new method. This outputs all
1594         the optarg insets, up to the limit defined in the layout file.
1595         (optArgInset): removed
1596         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1597
1598 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1599
1600         * paragraph.C (isLetter): remove special spellchecker-related
1601         code; return true also for digits
1602         (isWord, isKomma): remove
1603
1604         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1605         * lyxfind.C (MatchString()): use isLetter instead of isWord
1606
1607 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1608
1609         * pariterator.h (operatir=): comment out un-implemented member
1610         function.
1611
1612         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1613         static cast.
1614
1615 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1616
1617         * lyxfont.h: include LColor.h to satisfy concept checks.
1618
1619 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1620
1621         * pariterator.h: add typdefs for value_type, difference_type,
1622         pointer and reference to satisfy concept checks. Also add default
1623         constructor for same reason.
1624
1625         * pariterator.C (operator++): add post-increment operator to
1626         satisfy concept checks.
1627
1628         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1629         checks.
1630
1631         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1632
1633         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1634         checks. Also rename base_type to BaseType to follow naming
1635         standard better.
1636
1637         * FloatList.h: include Floating.h to satisfy concept checks.
1638
1639 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1640
1641         * lyxfunc.C (getStatus): when the origin of the request is menu or
1642         toolbar, and the LyXView does not have focus, do as if there was
1643         no buffer (bug 1720)
1644
1645         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1646         FuncRequest to individual entries of LFUN_SEQUENCE
1647
1648 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1649
1650         * output_latex.C (TeXOnePar): override runparams.moving_arg
1651         according to the needprotect value of the current paragraph (bug
1652         1739)
1653
1654         * paragraph.C (simpleTeXOnePar): no need to override
1655         runparams.moving_args here
1656
1657 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1658
1659         * vspace.C: fix off-by-one-error, related to fix #1682
1660
1661 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1662
1663         * lengthcommon.C: a more general fix for bug 1682
1664
1665 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1666
1667         * text.C (backspace): fix crash
1668
1669 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1670
1671         * format.[Ch] (getFormatFromFile): new method
1672         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1673
1674 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1675
1676         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1677
1678 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1679
1680         * lyxfunc.C (dispatch): remove the verbose argument
1681         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1682         instead
1683
1684         * kbmap.C (defkey): set the origin of func to KEYBOARD
1685
1686         * MenuBackend.C (MenuItem):
1687         * ToolbarBackend.C (add): set the origin of func to UI
1688
1689         * funcrequest.[Ch]: add origin member, which indicates which part
1690         of LyX requests an action
1691
1692 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1693
1694         * converter.C (move): don't lie in the error message
1695         * converter.h (isReachable, move): document
1696
1697 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1698
1699         * buffer.C: remove unused using lyx::support::atoi
1700         * paragraph_funcs.C: ditto
1701
1702 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1703
1704         * bufferlist.C (exists): use bind and equal_to instead of
1705         compare_memfun
1706         (getBuffer): ditto
1707         * lyxtextclasslist.C (NumberOfClass): ditto
1708
1709         * cursor.C (insert): use for_each instead of explicit for loop
1710
1711         * bufferlist.C (getFileNames): use std::transform and
1712         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1713
1714         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1715         for loop
1716
1717         * buffer.C (changeLanguage): use for_each instead of explicit for
1718         loop
1719         (hasParWithID): implement using getParFromID
1720
1721         * LaTeXFeatures.C: ws change only
1722
1723         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1724         to cleanup a bit.
1725
1726         * BufferView_pimpl.C (trackChanges): use for_each instead of
1727         expilicit for loop
1728
1729 2004-11-04  André Pönitz  <poenitz@gmx.net>
1730
1731         * undo.h:
1732         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1733
1734         * dociterator.C (asDocIterator): use hard assert again.
1735
1736 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1737
1738         * lyxlength.C (asLatexString): rewrite so that it does not use
1739         snprintf anymore
1740
1741 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1742
1743         * text3.C (specialChar, dispatch): make sure cursor moves to the
1744         right after inserting an inset
1745
1746 2004-11-02  José Matos  <jamatos@lyx.org>
1747
1748         * output_docbook.C (docbook):
1749         * paragraph.C (getID):
1750         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1751         garantee that the output is always legal.
1752
1753         * tabular.C (docbook):
1754         * outputprams.[Ch]: remove mixed contents.
1755
1756 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1757
1758         * text2.C (setCounter): prevent endless loop
1759
1760 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1761
1762         * exporter.C (copyFile): use the mover instead of support::copy()
1763         * exporter.C (Export): pass format and latex name to copyFile()
1764         * exporter.h (addExternalFile): document
1765         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1766
1767 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1768
1769         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1770
1771 2004-10-30  José Matos  <jamatos@lyx.org>
1772
1773         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1774         text and no inset or font change. This allows to use CDATA
1775         sections just for the whole paragraph.
1776
1777 2004-10-30  José Matos  <jamatos@lyx.org>
1778
1779         * paragraph.C (getFirstWord): remove unused variable.
1780
1781 2004-10-30  José Matos  <jamatos@lyx.org>
1782
1783         * paragraph.C (getFirstWord): the content should always be escaped
1784         there.
1785         (simpleDocBookOnePar):
1786         * output_docbook.C (makeEnvironment): replace reference to CDATA
1787         to style pass_thru.
1788
1789 2004-10-30  José Matos  <jamatos@lyx.org>
1790
1791         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1792
1793 2004-10-30  José Matos  <jamatos@lyx.org>
1794
1795         * output_docbook.C (makeParagraphs):
1796         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1797         standard paragraph has only a given type of content drop the wrapper.
1798
1799 2004-10-29  José Matos  <jamatos@lyx.org>
1800
1801         * output_docbook.C (makeEnvironment):
1802         * sgml.C (openTag):
1803         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1804
1805 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1806
1807         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1808         (cleanID): sanitize any id.
1809
1810 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1811
1812         * buffer.C, lyxlex_pimpl.C:
1813         * lyxlex_pimpl.C (setFile):
1814         s/getExtFromContents/getFormatFromContents/
1815
1816 2004-10-28  José Matos  <jamatos@lyx.org>
1817
1818         * output_docbook.C (makeEnvironment): move id to broadest possible
1819         scope.
1820
1821         * sgml.C (openTag): apply substitution of <> for all attributes.
1822
1823 2004-10-28  José Matos  <jamatos@lyx.org>
1824
1825         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1826         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1827         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1828
1829         * sgml.[Ch]: new version for open and closeTag for paragraph and
1830         for strings. Now they handle the ids of paragraphs.
1831
1832 2004-10-26  Angus Leeming  <leeming@lyx.org>
1833
1834         * Makefile.am: add mover.[Ch].
1835
1836         * converter.C (convert, move): use the new Movers to move external
1837         files to the temp directory.
1838
1839         * lyx_main.C (init): ensure that the global system_movers data
1840         is initialised.
1841
1842         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1843         preferences file.
1844
1845         * mover.[Ch]: new files, defining a Mover as a utility to move an
1846         external file between directories and, if necessary, manipulate this
1847         file using a helper script.
1848
1849 2004-10-25  José Matos  <jamatos@lyx.org>
1850
1851         * output_docbook.C (makeCommand): merge two if's that tested the
1852         same condition.
1853
1854 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1855
1856         * sgml.C (escapeString): fix warning in a better way
1857
1858 2004-10-25  José Matos  <jamatos@lyx.org>
1859
1860         * sgml.C (escapeString): import the require boosts header file for
1861         tie, and avoid a signed unsigned comparison.
1862
1863 2004-10-25  José Matos  <jamatos@lyx.org>
1864
1865         * sgml.h: add #include <string>
1866
1867 2004-10-25  José Matos  <jamatos@lyx.org>
1868
1869         * sgml.[Ch] (escapeString): new function to escape all the string.
1870
1871 2004-10-24  José Matos  <jamatos@lyx.org>
1872
1873         * paragraph.[Ch] (getFirstWord): new function to get the first
1874         word. Useful for description.
1875         (simpleDocBookOnePar): remove depth argument, add another that
1876         says where to start the paragraph.
1877
1878         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1879         use the new functions to fix cleanly the support for descriptions.
1880
1881 2004-10-24  José Matos  <jamatos@lyx.org>
1882
1883         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1884         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1885         * output_linuxdoc.C (linuxdocParagraphs):
1886         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1887         add buffer as argument.
1888
1889 2004-10-24  José Matos  <jamatos@lyx.org>
1890
1891         * output_docbook.C (makeEnvironment, searchEnvironment): place
1892         CDATA inside paragraphs and fix scope for listitems.
1893
1894 2004-10-24  José Matos  <jamatos@lyx.org>
1895
1896         * output_docbook.C: remove using statement for stack.
1897
1898 2004-10-23  José Matos  <jamatos@lyx.org>
1899
1900         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1901         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1902         docbook. The new scheme is recursive and makes use of iterators, the
1903         same as latex export works.
1904         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1905         directly with the paragraph contents. This code was moved up to
1906         output_docbook.C (docbookParagraphs).
1907         * sgml.C (openTag, closeTag): removed unneeded newlines.
1908         (closeEnvTags) removed.
1909
1910 2004-10-23  André Pönitz  <poenitz@gmx.net>
1911
1912         * undo.C (textUndoOrRedo):
1913         * dociterator.C (asDocIterator): work around crash
1914
1915         * cursor.C (getStatus): replace ASSERT by more verbose error message
1916           and manual correction of the problem. Should increase stability
1917           while providing more sensible information.
1918
1919 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1920
1921         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1922
1923         * bufferlist.C (previous, next): new methods
1924
1925         * lfuns.h:
1926         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1927
1928 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1929
1930         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1931         entities to preamble.
1932
1933 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1934
1935         * messages.C (Pimpl): strip off translation context information
1936
1937 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1938
1939         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1940         the cursor is correct (bug 1694)
1941
1942 2004-10-13  José Matos  <jamatos@lyx.org>
1943
1944         * output_docbook.C (docbookParagraphs): fix closing tags in the
1945         end of the document.
1946
1947 2004-10-09  José Matos  <jamatos@lyx.org>
1948
1949         * buffer.C: format up to 237.
1950         * bufferparams.C (write): use tostr to convert booleans to strings.
1951
1952 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1953
1954         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1955
1956 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1957
1958         * LaTeX.C: implement use of babel language in xindy.
1959
1960 2004-10-05  José Matos  <jamatos@lyx.org>
1961
1962         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1963         Add new translators to help reading and writing the lyx file.
1964
1965 2004-10-05  José Matos  <jamatos@lyx.org>
1966
1967         * ParagraphParameters.C (read):
1968         * text.C (readParToken): replace nexToken by more appropriate lex
1969         methods.
1970
1971 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1972
1973         * LaTeX.C (runMakeIndex):
1974         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1975         (usually 'makeindex') configurable.
1976
1977         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1978         with a variable rather than with a number.
1979
1980 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1981
1982         * output_latex.C (TeXOnePar): make sure font setting is the first
1983         thing that gets output (and the last at the end). Should fix bug
1984         1404.
1985
1986 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1987
1988         * pch.h: use proper signal include
1989
1990         * LaTeX.h: Use preferred calling of Boost.Signal
1991         * buffer.h: ditto
1992
1993 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1994
1995         * pch.h: dont include <boost/function/function0.hpp>
1996
1997         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1998
1999         * paragraph_pimpl.h: remove usage of ShareContainer
2000
2001         * paragraph_pimpl.C: remove initialization of ShareContainer.
2002
2003 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2004
2005         Fix bug #1666
2006
2007         * BufferView.C (putSelectionAt): change the semantics when
2008         backwards == true: now, this just swaps cursor and anchor wrt the
2009         forward case
2010
2011         * BufferView.h (putSelectionAt): add some documentation
2012
2013         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2014         make sure backwardChar is done at least once (to avoid getting
2015         stuck)
2016         (findNextChange): use putSelectionAt in the forward direction
2017         (operator()): use Paragraph::isWord
2018
2019 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2020
2021         * Spacing.C (set): c_str fix
2022
2023 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2024
2025         * lyx_cb.C (Reconfigure): quote the name of configure script in
2026         case it contains spaces
2027
2028 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2029
2030         * client: new dir
2031
2032         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2033         (BOOST_LIBS): use top_buildir when looking for the file
2034
2035 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2036
2037         * pch.h: do not use include boost/format.hpp, multiple symbols
2038                 will result (gcc bug)
2039
2040
2041 2004-08-23  José Matos  <jamatos@lyx.org>
2042
2043         * bufferparams.C (readToken): fix reading of the author field.
2044
2045 2004-08-20  José Matos  <jamatos@lyx.org>
2046
2047         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2048
2049 2004-08-20  José Matos  <jamatos@lyx.org>
2050
2051         * lyxlex.[Ch] (findToken): remove function.
2052
2053         * ParagraphParameters.C (findToken):
2054         * bufferparams.C (findToken): replace call for previous function
2055         with local copy. This local function has one more argument, the
2056         read string argument.
2057
2058 2004-08-16  José Matos  <jamatos@lyx.org>
2059
2060         * ParagraphParameters.C (write):
2061         * Spacing.C (writeFile):
2062         * bufferparams.C (writeLaTeX):
2063         * lyx_cb.C (Reconfigure):
2064         * paragraph.C (write):
2065         * tabular.C (write): remove unnecessary space at end of line.
2066
2067
2068 2004-08-16  José Matos  <jamatos@lyx.org>
2069
2070         * text.C (readParagraph): remove debug message.
2071
2072 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2073
2074         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2075         crash
2076
2077         * output_plaintext.C (asciiParagraph): set depth correctly
2078
2079         * outputparams.h: add member depth
2080
2081         * paragraph_funcs.C (ownerPar): remove.
2082
2083         * text2.C (setCounter): remove first_pit; comment out some
2084         non-working code that uses ownerPar
2085
2086         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2087         uses ownerPar
2088
2089 2004-08-16  José Matos  <jamatos@lyx.org>
2090
2091         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2092         For the same level of importance use the same chanel to report problems.
2093         (read): add code to deal with \begin_body and \end_body.
2094
2095
2096 2004-08-15  José Matos  <jamatos@lyx.org>
2097
2098         * lyxlex.C (getString): fix comment, buffer::readBody is now
2099         buffer:readDocument.
2100
2101         * tex-strings.C (string_papersize): Default -> default,
2102         Custom -> custom, for consistency with other options.
2103
2104 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2105
2106         * pch.h: new file
2107
2108         * Makefile.am: support pch
2109
2110 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2111
2112         * text.C (readParToken): remove the static LyXFont variable and
2113         pass it as a parameter instead. This fixes a nasty bug where an
2114         inset will be inserted with a bad font in some situations
2115         (readParagraph): adapt
2116
2117         * text2.C (setCounter): reduce number of calls to pars_[pit]
2118
2119         * text.C (singleWidth): add an assert, fix a test
2120
2121         * rowpainter.C (paintText): reduce number of calls to singleWidth
2122
2123         * paragraph.C (isHfill):
2124         (isNewline): ws only
2125
2126 2004-08-14  André Pönitz  <poenitz@gmx.net>
2127
2128         * text.C:
2129         * text2.C:
2130         * rowpainter.C:
2131         * lyxtext.h (several functions): use a Paragraph & argument
2132         instead of par_type
2133
2134 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2135
2136         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2137
2138         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2139
2140         * text.C (singleWidth): remove useless test
2141
2142 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2143
2144         * tabular.h: remove bogus comments
2145
2146         * tabular.C (getDescentOfRow):
2147         (isPartOfMultiColumn): add assertions
2148
2149         * lyxlength.C (inPixels): remove #warning
2150
2151 2004-08-14  André Pönitz  <poenitz@gmx.net>
2152
2153         * paragraph.h: inline getChar()
2154
2155         * BufferView.h: remove unused declarations
2156
2157 2004-08-14  José Matos  <jamatos@lyx.org>
2158
2159         * Buffer.[Ch] (readDocument): new name for old readBody.
2160         * Buffer.C: new file format, new keywords: \begin_document,
2161         \begin_header, \begin_body, \end_body.
2162
2163         * bufferparams.C (readToken): replace all calls to lex.nextToken
2164         by lex.next(). Do the same to eatLine except where really needed.
2165
2166         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2167         line when writing to the lyx file.
2168
2169         * output_plaintext.C (asciiParagraph): fix Bibliography style
2170         handling.
2171
2172         * text.C (read): fix end of file handling.
2173
2174 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2175
2176         * MenuBackend.C (Menu::operator[]): new method to access
2177         individual menu items
2178         (Menu::hasFunc): new method. search for an item that corresponds
2179         to a given func
2180         (MenuBackend::specialMenu): new method
2181         (MenuBackend::expand): if a special menu has been set, skip
2182         entries whose func() appears in this menu
2183
2184 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2185
2186         * text3.C: use Debug::DEBUG a bit more
2187
2188         * text.C (leftMargin): try to simplify a tiny bit change var x to
2189         l_margin. Dont output the wide margins always.
2190         (rightMargin): no margin in inner texts
2191
2192         * rowpainter.h (nestMargin): new func
2193         (changebarMargin): new func
2194         (rightMargin): new func
2195
2196         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2197         now functions.
2198         (paintLast): ditto
2199
2200         * factory.C (createInset): modify setDrawFrame
2201
2202         * cursor.C: use Debug::DEBUG a bit more
2203
2204 2004-08-14  André Pönitz  <poenitz@gmx.net>
2205
2206         * coordcache.[Ch]:
2207         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2208         cache for all insets in (at least partially) visible (top-level)
2209         paragraphs.
2210
2211         * BufferView_pimpl.C: reset external coord cache before every update.
2212         This means the coord cache only contains valid entries.
2213
2214 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2215
2216         bug 1096
2217         * BufferView_pimpl.C (getInsetByCode): move function out of class
2218         and change in to a template in anon namespace. Also fix to do what
2219         suits us better.
2220
2221 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2222
2223         bug 1305
2224         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2225         of char
2226         (breakParagraph): rename par to par_offset and use a local
2227         reference. Add code to keep the language over a rebreak.
2228         (breakParagraphConservative): rename par to par_offset, use a
2229         local reference
2230         (mergeParagraph): ditto
2231         (outerHook): ditto
2232         (isFirstInSequence): ditto
2233         (outerFont): rename pit to par_offset
2234
2235         * paragraph.C: ws change
2236         * paragraph.h: ditto
2237         * text3.C: ditto
2238         * text.C: ditto
2239
2240 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2241
2242         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2243         treatment for ']'
2244
2245         * paragraph.C (simpleTeXOnePar): when we have a \item with
2246         optional argument, enclose the argument with curly brackets (in
2247         case it contains a closing square bracket)
2248
2249         * text2.C (editXY):
2250         * text2.C (editXY):
2251         * text3.C (checkInsetHit): constify
2252
2253 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2254
2255         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2256         documents (bug 1629)
2257
2258 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2259
2260         Fix toggling of collapsable insets with the mouse (bug 1558)
2261
2262         * lyxfunc.C (dispatch): adapt to LCursor changes
2263
2264         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2265         make sure that dispatch is not invoked twice
2266
2267         * cursor.C (needsUpdate): new method
2268         (dispatch): return void
2269         (result): new method, to access the DispatchResult of the cursor.
2270
2271 2004-08-13  José Matos  <jamatos@lyx.org>
2272
2273         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2274
2275 2004-08-13  André Pönitz  <poenitz@gmx.net>
2276
2277         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2278
2279         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2280           multiple cells
2281
2282 2004-08-12  André Pönitz  <poenitz@gmx.net>
2283
2284         * text3.C: take out the 'cursor right' form insertInset and only
2285         do it in those places when it is really needed. Fixes crash on
2286         C-m...
2287
2288 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2289
2290         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2291
2292         * BufferView_pimpl.C (setBuffer): initialize the current font of
2293         the underlying LyXText
2294
2295 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2296
2297         * kbsequence.C (print): use UI native formatting for menu
2298         shortcuts
2299
2300         * text.C (insertChar): call Paragraph::insertChar with a font
2301         argument (cosmetic)
2302
2303         * paragraph.C (insertInset, insertChar): the version that takes a
2304         LyXFont argument is now a wrapper around the other one (the
2305         opposite used to be true).
2306
2307         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2308         argument. Font setting is done in Paragraph now.
2309
2310 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2311
2312         * outputparams.h: add new members intitle and lang.
2313
2314         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2315         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2316
2317 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2318
2319         * text3.C (dispatch): remove special handling of button 4 and 5,
2320         it is now taken care of in the frontend code.
2321
2322 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2323
2324         * Spacing.h: add <string> (STLPort compile fix)
2325
2326 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2327
2328         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2329
2330 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2331
2332         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2333         to bool.
2334
2335         * converter.C (showMessage): inherit from unary_function, make
2336         operator() const.
2337
2338         * buffer.C (writeFile): initialize retval
2339
2340         * InsetList.h: rename private variable list to list_
2341         * InsetList.[Ch]: adjust accordingly.
2342
2343 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2344
2345         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2346         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2347         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2348         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2349         * ParagraphParameters.C, LaTeXFeatures.C: replace
2350         "support/std_sstream.h" with <sstream>
2351
2352 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2353
2354         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2355         * lyxsocket.C (LyXServerSocket): ditto
2356         (serverCallback): ditto
2357
2358 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2359
2360         * LaTeXFeatures.C: check release date when loading jurabib.
2361
2362 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2363
2364         * lyxserver.C (startPipe): call register_socket_callback
2365         (endPipe): call unregister_socket_callback
2366
2367 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2368
2369         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2370         (LyXServerSocket): register the callback
2371         (LyXServerSocket): unregister the callback
2372         (fd): delete function
2373         (serverCallback): improve error checking and setup the callbacks.
2374         (dataCallback): change arg to fd.
2375         (writeln): new func (copied fro the client socket) used for server
2376         write to client.
2377         (LyXDataSocket): simplify
2378         (~LyXDataSocket): close ann unregiser callback
2379         (server): delete function
2380         (fd): delete function
2381         (readln): small changes, improve some std::string usage
2382         (writeln): constify a bit
2383
2384 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2385
2386         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2387         Qt frontend
2388
2389 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2390
2391         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2392         after it has been populated
2393
2394 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2395
2396         * text2.C (insertInset): move cursor when inserting inset.
2397
2398 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2399
2400         * kbmap.C (findbindings): a couple of new methods. returns a
2401         container of kb_sequence objects. The real work is done by the
2402         private recursive version
2403         (printbindings): uses findbindings to print out a bracketed list
2404         of bindings (renamed from findbinding).
2405
2406         * MenuBackend.C (binding): use kb_keymap::findbindings
2407
2408         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2409
2410 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2411
2412         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2413
2414 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2415
2416         * paragraph.C (isWord): return true on insets that report
2417         isLetter().
2418
2419         * text.C (getWord): use Paragraph::isWord to decide what is in a
2420         word and what is not; fix bug 1609.
2421
2422 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2423
2424         * tex-strings.C: add "none" to string_paperpackages[], fixes
2425         off-by-one-error in the paperpackage selection.
2426
2427         * lyxlex.[Ch]:
2428         * tex-strings.[Ch]: char const * string[n]
2429         -> char const * const string[]
2430
2431 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2432
2433         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2434         command, return early.
2435
2436 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2437
2438         * debug.h: add DEBUG to enum and fix size of ANY.
2439
2440         * debug.C: add support for Debug::DEBUG
2441         (showTags): cast errorTags.level to unsigned int
2442
2443         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2444         (redoCurrentBuffer): ditto
2445         (updateScrollbar): ditto
2446         * cursor.C (dispatch): ditto
2447         * text2.C (setLayout): ditto
2448         (setFont): ditto
2449         (updateCounters): ditto
2450         (editXY): ditto
2451         (deleteEmptyParagraphMechanism): ditto
2452
2453 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2454
2455         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2456         annotations to cleanup the Makefile slightly.
2457
2458 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2459
2460         * lyxrc.C: do not set user_email to a default value but use empty
2461         instead. The entry used to be translated, which does not work
2462         since at the point where lyxrc is constructed there is no
2463         translation service available
2464
2465         * messages.C (getLocaleDir): remove and use directly
2466         lyx_localedir() instead
2467
2468 2004-06-02  Angus Leeming  <leeming@lyx.org>
2469
2470         Fix crash caused by dereferencing null pointer 'exportdata' in
2471         OutputParams by creating a new ExportData variable on the heap,
2472         storing it in a boost::shared_ptr.
2473         The crash was triggered when generating an Instant Preview
2474         of an external inset.
2475
2476         * Makefile.am: add outputparams.C
2477
2478         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2479         (c-tor): allocate memory to it.
2480
2481         * exporter.C (c-tor): associated changes.
2482
2483 2004-06-01  Angus Leeming  <leeming@lyx.org>
2484
2485         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2486         contains data before calling isInset(0). (Bug 1513.)
2487
2488 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2489
2490         * exporter.C (checkOverwrite): new method
2491         * exporter.C (copyFile): new method
2492         * exporter.C (Export): copy referenced files to the document dir
2493         * exporter.[Ch]: new class ExportedFile
2494         * exporter.[Ch]: new class ExportData. Contains currently the
2495         names of referenced external files
2496         * outputparams.h: add exportdata member.
2497
2498 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2499
2500         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2501         version.C-tmp
2502
2503 2004-05-19  Angus Leeming  <leeming@lyx.org>
2504
2505         * LaTeXFeatures.C:
2506         * ToolbarBackend.C:
2507         * bufferparams.C:
2508         * lyxfunc.C: small changes due to the introduction of namespace
2509         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2510
2511 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2512
2513         * text3.C (dispatch): supress update when only moving the cursor
2514         * cursor.C (selHandle): remove commented code
2515
2516 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2517
2518         * paragraph.C (startTeXParParams): correct column count
2519         * CutAndPaste.C (pasteSelection): remove const_cast
2520         * output_docbook.C (docbookParagraphs): remove const_cast
2521         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2522         const_cast and return ParagraphList::const_iterator
2523         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2524         * output_plaintext.C (writeFileAscii): remove const_cast
2525         * paragraph.[Ch] (simpleTeXOnePar): make const
2526         * paragraph_funcs.C (outerPar): use const iterators
2527         * paragraph_pimpl.C (validate): use const iterators
2528         * text.C (setHeightOfRow): use const iterators
2529
2530 2004-05-17  Angus Leeming  <leeming@lyx.org>
2531
2532         * lfuns.h:
2533         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2534
2535         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2536         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2537         if the citation engine has changed.
2538
2539 2004-05-14  José Matos  <jamatos@lyx.org>
2540
2541         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2542         if the textclass does not provide it. Have it different for sgml and
2543         xml.
2544         support the language of document.
2545         * output_docbook.C (docbookParagraphs):
2546         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2547         first anchor as the id of the paragraph, remove special case code.
2548         * sgml.C (escapeChar): escape only < & >.
2549
2550 2004-05-14  Angus Leeming  <leeming@lyx.org>
2551
2552         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2553         dependencies on src/frontends/controllers/biblio.h. Define a
2554         CiteEngine_enum wrapper class to enable the enum to be forward
2555         declared.
2556
2557 2004-05-12  Angus Leeming  <leeming@lyx.org>
2558
2559         * buffer.C: up LYX_FORMAT to 234.
2560         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2561         use_numerical_citations with a single biblio::CiteEngine cite_engine
2562         variable.
2563         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2564
2565 2004-05-13  José Matos  <jamatos@lyx.org>
2566
2567         * converter.h:
2568         * converter.C (Converter, readFlags): add xml member.
2569         * outputparams.h: add XML flavor.
2570         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2571
2572 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2573
2574         * lyxfunc.C (dispatch):
2575         (getStatus): fix handling of LFUN_SEQUENCE
2576
2577 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2578
2579         * debug.C (showLevel): do not forget the end-of-line marker
2580
2581 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2582
2583         * kbmap.C (read): do not stop parsing a bind file when an error
2584         occurs (bug 1575)
2585
2586 2004-04-29  Angus Leeming  <leeming@lyx.org>
2587
2588         * cursor.C:
2589         * factory.C:
2590         * pariterator.C:
2591         * text2.C: wrap a bunch of #warning statements
2592         inside #ifdef WITH_WARNINGS blocks.
2593
2594 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2595
2596         * buffer.C: increment format to 233.
2597
2598 2004-04-28  Angus Leeming  <leeming@lyx.org>
2599
2600         * BufferView_pimpl.C:
2601         * lyxfunc.C:
2602         * text3.C:
2603         s/updateToolbar()/updateToolbars()/
2604         s/Toolbar.h/Toolbars.h/
2605
2606 2004-04-28  Angus Leeming  <leeming@lyx.org>
2607
2608         * BufferView.[Ch] (c-tor):
2609         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2610         No longer passes these data to the WorkArea generator.
2611
2612 2004-04-28  Angus Leeming  <leeming@lyx.org>
2613
2614         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2615
2616 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2617
2618         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2619
2620 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2621
2622         * output_latex.C (TeXEnvironment): make sure that there is a line
2623         break before \end{foo} for the last paragraph of a document
2624         (TeXOnePar): if the paragraph is at the end of the document (or
2625         inset) and the language has to be reset, then make sure that the
2626         line break is _before_ the language command, not after (fixes bug
2627         1225); also make sure that the language reset command is the first
2628         thing after the paragraph (to ensure proper nesting of
2629         environments and thus fix bug 1404)
2630
2631 2004-04-21  John Levon  <levon@movementarian.org>
2632
2633         * ToolbarBackend.h:
2634         * ToolbarBackend.C: make "name" be a programmatic name
2635         and a gui_name field.
2636
2637         * lyxfunc.C: display the minibuffer on M-x
2638
2639 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2640
2641         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2642         (bug 1526)
2643
2644 2004-04-19  Angus Leeming  <leeming@lyx.org>
2645
2646         * BufferView_pimpl.C (setBuffer): changed preview interface.
2647
2648         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2649         possible values.
2650
2651 2004-04-19  John Levon  <levon@movementarian.org>
2652
2653         * BufferView_pimpl.C:
2654         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2655
2656 2004-04-05  Angus Leeming  <leeming@lyx.org>
2657
2658         * text.C (redoParagraphs): add call to updateCounters(), thereby
2659         fixing the missing "Figure #:" label from the caption of a
2660         figure float.
2661
2662 2004-04-13  Angus Leeming  <leeming@lyx.org>
2663
2664         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2665         cursor is clicked out of an inset.
2666
2667 2004-04-13  Angus Leeming  <leeming@lyx.org>
2668
2669         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2670         than an InsetOld one.
2671
2672 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2673
2674         * format.[Ch]: add editor to Format
2675         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2676         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2677
2678 2004-04-08  André Pönitz  <poenitz@gmx.net>
2679
2680         * metricsinfo.h: remove PainterInfo::width member
2681
2682 2004-04-08  Angus Leeming  <leeming@lyx.org>
2683
2684         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2685         "\providecommand" rather than "\newcommand", thereby preventing
2686         clashes with packages that define "\boldsymbol" themselves.
2687         Eg, beamer.
2688
2689 2004-04-08  Angus Leeming  <leeming@lyx.org>
2690
2691         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2692         thereby squashing an unnecessary warning.
2693
2694 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2695
2696         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2697         setBuffer()
2698
2699 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2700
2701         * BufferView.C (setCursor): call redoParagraph (some insets could
2702         have been opened)
2703         (putSelectionAt): remove the 'double update' trick
2704
2705         * BufferView_pimpl.C (fitCursor): call refreshPar
2706         (workAreaDispatch): remove an uneeded update call
2707         (dispatch): remove some manual update calls
2708
2709         * cursor.[Ch]: remove cached_y_, updatePos
2710         (selHandle): set noUpdate when appropriate
2711
2712         * lyxfunc.C (dispatch): track if we need an update
2713
2714         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2715
2716         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2717         (paintSelection): cheap optimization, do not call cursorX when not
2718         needed
2719         (paintPars): change signature
2720         (refreshPar): add
2721         (paintText): adjust
2722         (paintTextInset): adjust
2723
2724         * text.C: adjust
2725
2726 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2727
2728         * lengthcommon.C: compilation fix: remove explicit array size from
2729         unit_name[] and friends
2730
2731 2004-04-05  Angus Leeming  <leeming@lyx.org>
2732
2733         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2734
2735         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2736         present only for the preferences dialog.
2737         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2738
2739 2004-04-05  Angus Leeming  <leeming@lyx.org>
2740
2741         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2742         to enable the frontends to export changes to lyxrc correctly.
2743
2744         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2745
2746 2004-04-07  André Pönitz  <poenitz@gmx.net>
2747
2748         * cursor.[Ch] (selClear, adjust): remove math
2749
2750         * cursor_slice.C: more agressive assert
2751
2752         * lyxfunc.C:
2753         * BufferView_pimpl.C: rework mouse event dispatch
2754
2755         * dociterator.C:
2756         * paragraph.C:
2757         * text2.C:
2758         * text3.C: adjust
2759
2760 2004-04-05  André Pönitz  <poenitz@gmx.net>
2761
2762         * cursor.[Ch] (valign, halign...): remove unneeded functions
2763
2764 2004-04-05  Angus Leeming  <leeming@lyx.org>
2765
2766         * lyxlength.[Ch] (unit_name et al.): const-correct.
2767
2768 2004-04-05  Angus Leeming  <leeming@lyx.org>
2769
2770         * BufferView_pimpl.C:
2771         * buffer.C:
2772         * counters.C:
2773         * cursor.C:
2774         * lyxfunc.C
2775         * paragraph.C:
2776         * pariterator.C:
2777         * text.C:
2778         * text2.C:
2779         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2780
2781 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2782
2783         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2784
2785 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2786
2787         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2788         * BufferView_pimpl.[Ch] (getStatus)
2789         * BufferView.[Ch] (getStatus): add
2790         * lyxfunc.C (getStatus): move lfuns handled in
2791         BufferView::dispatch to te function above
2792         * Cursor.C (setSelection): set selection() = true
2793
2794 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2795
2796         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2797
2798 2004-03-31  Angus Leeming  <leeming@lyx.org>
2799
2800         * lyxfunc.C (dispatch): Fall through to the generic
2801         Dialogs::show("preamble").
2802
2803 2004-03-31  Angus Leeming  <leeming@lyx.org>
2804
2805         * lyxfunc.C (dispatch): Fall through to the generic
2806         Dialogs::show("spellchecker").
2807
2808 2004-03-31  Angus Leeming  <leeming@lyx.org>
2809
2810         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2811         preferences dialog.
2812
2813 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2814
2815         * BufferView.C
2816         * cursor.[Ch]
2817         * dociterator.[Ch]:
2818         * insetiterator.[Ch]:
2819         * lyxfind.C:
2820         * lyxfunc.C:
2821         * pariterator.[Ch]:
2822         * text2.C:
2823         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2824
2825 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2826
2827         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2828         insets where we are putting the cursor.
2829
2830 2004-03-31  Angus Leeming  <leeming@lyx.org>
2831
2832         * lfuns.h:
2833         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2834
2835         * lyxrc.[Ch] (read, write): overloaded member functions taking
2836         a std::[io]stream arguments.
2837
2838         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2839
2840 2004-03-31  Angus Leeming  <leeming@lyx.org>
2841
2842         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2843         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2844
2845         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2846         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2847
2848 2004-03-31  Angus Leeming  <leeming@lyx.org>
2849
2850         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2851         the LFUN_ALL_INSETS_TOGGLE code.
2852
2853 2004-03-30  Angus Leeming  <leeming@lyx.org>
2854
2855         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2856         has died. Fall through to the generic Dialogs::show("document").
2857
2858 2004-03-30  Angus Leeming  <leeming@lyx.org>
2859
2860         * lfuns.h:
2861         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2862         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2863
2864         * lyxfunc.C (getStatus, dispatch): define the actions for these
2865         lfuns. Little more than a cut and pste job from ControlDocument.C
2866
2867         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2868
2869 2004-03-30  Angus Leeming  <leeming@lyx.org>
2870
2871         * lfuns.h:
2872         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2873         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2874
2875         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2876         open/closed state of ollapsable insets. Usage:
2877
2878         all-inset-toggle <state> <name>, where
2879         <state> == "open" || "closed" || "toggle" and
2880         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2881
2882         * lyxtext.h, text2.C (toggleInset): removed.
2883
2884         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2885         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2886         now passes LFUN_INSET_TOGGLE to the found inset.
2887
2888         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2889         is now invoked as "all-insets-toggle toggle branch".
2890
2891 2004-03-30  Angus Leeming  <leeming@lyx.org>
2892
2893         * dociterator.C:
2894         * insetiterator.C:
2895         * pariterator.[Ch]: added/corrected header blurb.
2896
2897 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2898
2899         * dociterator.[Ch]: add an inset_ member
2900         (backwardPos): implemented
2901         (backwardPos, forwardPos): use inset_ when the stack is empty.
2902         (doc_iterator_begin, doc_iterator_end): implemented
2903         * pariterator.[Ch]: adjust, add begin, end
2904         * insetiterator.[Ch]: adjust, add begin, end
2905         * cursor.C:
2906         * document.C:
2907         * BufferView.C:
2908         * BufferView_pimpl.C:
2909         * CutAndPaste.C: adjust
2910
2911 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2912
2913         * buffer.C: increment file format to 232.
2914         * LaTeXFeatures.C: add bibtopic package.
2915         * bufferparams.[Ch]: param \use_bibtopic.
2916
2917         * lyxrc.[Ch]: add lyxrc bibtex_command
2918         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2919
2920         * buffer.C: increment file format to 231.
2921
2922 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2923
2924         * dociterator.C: implement forwardPar
2925         * iterators.[Ch]: remove, replaced by
2926         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2927         * BufferView.C:
2928         * BufferView_pimpl.C:
2929         * CutAndPaste.C:
2930         * buffer.C:
2931         * bufferview_funcs.C:
2932         * cursor.C:
2933         * lyxfind.C
2934         * lyxfunc.C
2935         * paragraph_funcs.C
2936         * toc.C:
2937         * Makefile.am: adjust
2938
2939 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2940
2941         * CutAndPaste.C (pasteSelection): fix 2 crashes
2942         (eraseSelection): fix a crash
2943         * paragraph_funcs.C: remove a warning
2944
2945 2004-03-28  Angus Leeming  <leeming@lyx.org>
2946
2947         * lfuns.h:
2948         * LyXAction.C (init): new LFUN_PRINT.
2949
2950         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2951
2952 2004-03-27  Angus Leeming  <leeming@lyx.org>
2953
2954         * lfuns.h:
2955         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2956
2957         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2958
2959 2004-03-27  Angus Leeming  <leeming@lyx.org>
2960
2961         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2962         insetlist always contains non-null pointers to insets.
2963
2964 2004-03-26  Angus Leeming  <leeming@lyx.org>
2965
2966         * src/BufferView_pimpl.C:
2967         * src/CutAndPaste.C:
2968         * src/buffer.C:
2969         * src/iterators.C:
2970         * src/output_plaintext.C:
2971         * src/outputparams.h:
2972         * src/paragraph_funcs.C:
2973         * src/rowpainter.C:
2974         * src/text.C:
2975         * src/text2.C:
2976         * src/frontends/controllers/ControlErrorList.C:
2977         * src/frontends/gtk/FileDialogPrivate.C:
2978         * src/frontends/gtk/GPainter.C:
2979         * src/frontends/gtk/GToolbar.C:
2980         * src/frontends/qt2/QRef.C:
2981         * src/mathed/math_scriptinset.C: squash compiler warnings.
2982
2983 2004-03-26  Angus Leeming  <leeming@lyx.org>
2984
2985         * ispell.C (LaunchIspell::start):
2986         * lyx_cb.C (AutoSaveBuffer::start):
2987         invoke run(DontWait) rather than runNonBlocking().
2988
2989 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2990
2991         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2992
2993 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2994
2995         * kbsequence.C (print): adjust
2996
2997         * kbmap.C (printKeySym): rename and change signature
2998         (printKey): use LyXKeySym::print()
2999
3000 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3001
3002         * undo.C: add using std::advance to compile for stlport
3003
3004 2004-03-24  Angus Leeming  <leeming@lyx.org>
3005
3006         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3007         it leads to a crash when no buffer is present.
3008
3009 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3010             Martin Vermeer  <martin.vermeer@hut.fi>
3011
3012         * lyxfunc.C (dispatch):
3013         * bufferparams.C (readToken): use the new LColor::setColor
3014
3015         * LColor.[Ch] (setColor): new version that takes two strings as
3016         argument and creates a new color entry if necessary
3017
3018 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3019
3020         * buffer.C (makeLaTeXFile): if the main latex file that is
3021         processed is usually a subdocument of some master, then pretend
3022         for a while that it is actually the master
3023
3024 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3025
3026         * buffer.C (getLabelList):
3027         (getBibkeyList): use getMasterBuffer()
3028         (getMasterBuffer): new method. Returns the main document in the
3029         case where one is using included documents.
3030
3031 2004-03-25  André Pönitz  <poenitz@gmx.net>
3032
3033         * Makefile.am:
3034         * iterators.[Ch]:
3035         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3036
3037         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3038
3039         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3040         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3041
3042         * ParameterStruct.h: merge with ParagraphParameters
3043
3044         * lyxtext.h: remove LyXText::parOffset() and getPar()
3045
3046         * text3.C: Remove all 'manual' update calls. We do now one per user
3047         interaction which is completely sufficient.
3048
3049         * Bidi.C:
3050         * BufferView.[Ch]:
3051         * BufferView_pimpl.C:
3052         * FontIterator.[Ch]:
3053         * MenuBackend.C:
3054         * ParagraphParameters.[Ch]:
3055         * buffer.C:
3056         * buffer.h:
3057         * bufferlist.C:
3058         * cursor.[Ch]:
3059         * cursor_slice.[Ch]:
3060         * dociterator.[Ch]:
3061         * errorlist.[Ch]:
3062         * factory.C:
3063         * lfuns.h:
3064         * lyxfind.C:
3065         * lyxfunc.C:
3066         * output_docbook.[Ch]:
3067         * output_latex.[Ch]:
3068         * output_linuxdoc.[Ch]:
3069         * output_plaintext.[Ch]:
3070         * paragraph.[Ch]:
3071         * paragraph_funcs.[Ch]:
3072         * paragraph_pimpl.[Ch]:
3073         * rowpainter.C:
3074         * tabular.[Ch]:
3075         * text.C:
3076         * text2.C:
3077         * toc.C:
3078         * undo.[Ch]: adjust
3079
3080         * frontends/controllers/ControlDocument.C:
3081         * frontends/controllers/ControlErrorList.C:
3082         * frontends/controllers/ControlSpellchecker.C:
3083         * insets/inset.C:
3084         * insets/inset.h:
3085         * insets/insetbase.h:
3086         * insets/insetbibitem.C:
3087         * insets/insetbox.C:
3088         * insets/insetbranch.C:
3089         * insets/insetcaption.C:
3090         * insets/insetcharstyle.C:
3091         * insets/insetcharstyle.h:
3092         * insets/insetcollapsable.C:
3093         * insets/insetcollapsable.h:
3094         * insets/insetert.C:
3095         * insets/insetfloat.C:
3096         * insets/insetfoot.C:
3097         * insets/insetmarginal.C:
3098         * insets/insetnote.C:
3099         * insets/insetoptarg.C:
3100         * insets/insettabular.C:
3101         * insets/insettext.C:
3102         * insets/insettext.h:
3103         * insets/insetwrap.C:
3104         * mathed/math_mboxinset.C:
3105         * mathed/math_nestinset.C:
3106         * mathed/math_scriptinset.C:
3107         * mathed/math_scriptinset.h:
3108         * support/types.h:
3109
3110 2004-03-24  Angus Leeming  <leeming@lyx.org>
3111
3112         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3113         deal with any child processes that have finished but are waiting to
3114         communicate this fact to the rest of LyX.
3115
3116 2004-03-24  Angus Leeming  <leeming@lyx.org>
3117
3118         64-bit compile fixes.
3119
3120         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3121         (c-tor): pass lyx::pos_types rather than ints.
3122
3123         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3124         lyx::pos_type.
3125
3126         * text.C (Delete): compile fix.
3127         (getPar): ensure that function declaration is the same as that in
3128         the header file.
3129
3130 2004-03-23  Angus Leeming  <leeming@lyx.org>
3131
3132         * ispell.C (LaunchIspell):
3133         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3134         a boost::shred_ptr rather than a std::auto_ptr.
3135
3136 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3137
3138         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3139         handle LFUN_FILE_INSERT_*
3140
3141         * lyxrc.C (setDefaults, getDescription, output, read):
3142         * lyxrc.h: remove ps_command
3143
3144 2004-03-22  Angus Leeming  <leeming@lyx.org>
3145
3146         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3147         Ensure that error_handler is processed once only and that all data
3148         is saved before attempting to output any warning messages.
3149
3150         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3151
3152 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3153
3154         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3155
3156 2004-03-19  André Pönitz  <poenitz@gmx.net>
3157
3158         * cursor.[Ch] (reset): take main text inset as argument
3159
3160         * BufferView: adjust
3161         * BufferView_pimpl.C: adjust
3162
3163         * paragraph.[Ch]: fix completely broken operator=()
3164
3165 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3166
3167         * LColor.C (getFromLyXName): make sure that the color name is used
3168         as lowercase.
3169
3170 2004-03-17  Angus Leeming  <leeming@lyx.org>
3171
3172         * lfuns.h:
3173         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3174
3175         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3176         dialog and to kill a forked process.
3177
3178 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3179
3180         * text2.C (setCursorFromCoordinates): fix font problem
3181
3182 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3183
3184         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3185         bogus "rebuild cursor" code
3186
3187 2004-03-11  André Pönitz  <poenitz@gmx.net>
3188
3189         * buffer.[Ch]: use InsetText instead of LyXText as container for
3190         the main lyx text.
3191
3192         * dociterator.[Ch]: drop the BufferView * member which is not needed
3193         anymore after the change to buffer.C
3194
3195         * paragraph_funcs.C:
3196         * text.C:
3197         * text2.C:
3198         * BufferView.[Ch]:
3199         * BufferView_pimpl.[Ch]:
3200         * cursor.[Ch]:
3201         * cursor_slice.[Ch]: adjust
3202
3203         * text3.C: fix bug in mathDispatch
3204
3205 2004-03-08  André Pönitz  <poenitz@gmx.net>
3206
3207         * undo.[Ch]: use 'StableDocumentIterator' as base for
3208         the Undo struct.
3209
3210 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3211
3212         * LaTeXFeatures.C:
3213         * bufferparams.[Ch]: add jurabib support and param.
3214
3215         * LaTeX.C: add FIXME/comment.
3216
3217 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3218
3219         * buffer.C: increment file format to 230.
3220
3221 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3222
3223         * cursor.C (dispatch): avoid infinite loops
3224
3225 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3226
3227         * rowpainter.C (paintSelection): fix x coordinates
3228
3229 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3230
3231         * text.C (rowBreakPoint): fix breaking before displayed insets
3232
3233 2004-03-01  André Pönitz  <poenitz@gmx.net>
3234
3235         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3236
3237         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3238
3239         * Makefile.am:
3240         * BufferView.C:
3241         * BufferView_pimpl.C:
3242         * buffer.C:
3243         * lyxfind.C:
3244         * lyxfunc.C:
3245         * text.C:
3246         * text2.C:
3247         * text3.C: adjust
3248
3249 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3250
3251         * lyxtext.h:
3252         * text.C:
3253         * text2.C:
3254         * rowpainter.C:
3255         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3256         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3257
3258 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3259
3260         * Bidi.[Ch] (computeTables): const correctness
3261         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3262         fill_hfill, fill_label_hfill and x from Row
3263         * lyxtext.h: prepareToPrint returns a RowMetrics
3264         * rowPainter.C: adjust
3265         * text.C (prepareToPrint): use width, not textWidth. adjust
3266         (redoParagraphInternal, cursorX): adjust
3267         * text2.C (getColumnNearX): adjust
3268         (init): put a default value to the top LyXText::width
3269
3270 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3271
3272         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3273
3274 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3275
3276         * lyxtext.h: add FontIterator class
3277
3278         * text.C (FontIterator, operator*, operator->, operator++): add
3279         (rowBreakPoint, setRowWidth): adjust (fixing a
3280         rebreaking bug)
3281
3282 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3283
3284         * BufferView_pimpl.C (workAreaDispatch): allow also
3285         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3286
3287 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3288
3289         * text.C (rowBreakPoint): fix a bug showing with very large insets
3290
3291 2004-02-25  André Pönitz  <poenitz@gmx.net>
3292
3293         * text3.C:
3294         * cursor.[Ch]: move some mathed specific code to mathed
3295
3296 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3297
3298         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3299         use_tempdir in preferences
3300         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3301         tempfile creation
3302         * lyx_main.C: ensure that tempdir is valid
3303         * lyxlex.h: correct typo
3304         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3305         * paragraph.[Ch] (isMultiLingual): make const
3306         * cursor.[Ch] (openable): make const
3307
3308 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3309
3310         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3311
3312 2004-02-20  André Pönitz  <poenitz@gmx.net>
3313
3314         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3315
3316         * cursor.[Ch]: prepare for localized getStatus()
3317
3318         * lyxtext.h:
3319         * tabular.C:
3320         * text.C:
3321         * text2.C:
3322         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3323
3324 2004-02-20  André Pönitz  <poenitz@gmx.net>
3325
3326         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3327
3328 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3329
3330         * text2.C (setCursorFromCoordinates): switch to absolute coords
3331         (cursorUp): adjust
3332         (cursorDown): adjust
3333         * text3.C (dispatch): adjust
3334
3335 2004-02-16  André Pönitz  <poenitz@gmx.net>
3336
3337         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3338           insets/ChangeLog)
3339
3340         * cursor_slice.[Ch]: remove unneeded acessor function
3341
3342         * lyxtext.h: rename rtl() to isRTL()
3343
3344         * rowpainter.C:
3345         * tabular.C:
3346         * text.C:
3347         * text2.C:
3348         * text3.C: adjust
3349
3350 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3351
3352         * rowpainter.C (paintSelection): coord fix
3353
3354 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3355
3356         * Spacing.C: compile fix
3357
3358 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3359
3360         * cursor.C (dispatch): restore current_ before returning
3361
3362 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3363
3364         * text2.C (cursorUp, cursorDown): fix coords
3365         (moveUp): fix crash
3366
3367 2004-02-12  André Pönitz  <poenitz@gmx.net>
3368
3369         * lyxtext.h:
3370         * text.C:
3371         * text2.C:
3372         * text3.C: add LCursor & parameter to most cursor movement functions
3373           remove usage of LyXText::cursorRow() and cursorPar()
3374
3375         * cursor.[Ch]: add textRow() needed members
3376
3377         * BufferView.C:
3378         * BufferView_pimpl.C:
3379         * paragraph.[Ch]:
3380         * BufferView.C:
3381         * BufferView_pimpl.C: adjust
3382
3383 2004-02-11  André Pönitz  <poenitz@gmx.net>
3384
3385         * lyxfunc.C:
3386         * BufferView.[Ch]:
3387         * BufferView_pimpl.C: shift undo/redo handling
3388
3389         * cursor.[Ch]: fix mathed crash
3390
3391         * lyxfind.C:
3392         * lyxtext.h: move selectionAsText to LCursor
3393
3394         * output_latex.C:
3395         * paragraph.C:
3396         * text.C:
3397         * text2.C:
3398         * text3.C: adjust
3399
3400         * rowpainter.C: fix excessive drawing
3401
3402 2004-02-06  André Pönitz  <poenitz@gmx.net>
3403
3404         * BufferView.[Ch]:
3405         * BufferView_pimpl.[Ch]:
3406         * text3.C: move some text specific LFUN handling
3407
3408 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3409
3410         * text3.C (checkInsetHit): adjust coords
3411         * text2.C (getColumnNearX): adjust coords
3412         (edit): adjust coords
3413         * text.C (getRowNearY): add two asserts
3414
3415 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3416
3417         * converter.C:
3418         * format.C: add using std::distance to compile on gcc 2.95/stlport
3419
3420 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3421
3422         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3423
3424 2004-02-04  André Pönitz  <poenitz@gmx.net>
3425
3426         * BufferView.[Ch] (insertInset):
3427         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3428
3429         * text2.C:
3430         * text3.C: adjust
3431
3432 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3433
3434         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3435         on the default clause of the switch
3436         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3437         wasn't catched by LCursor::dispatch
3438
3439 2004-02-03  André Pönitz  <poenitz@gmx.net>
3440
3441         * BufferView.C:
3442         * cursor.[Ch]: some additional asserts
3443
3444         * undo.[Ch]: remove LyXText dependency in interface
3445
3446         * lyxfunc.C: adjust
3447
3448         * lyxtext.h (firstPar, lastPar): remove dead functions
3449
3450         * text.C:
3451         * text2.C:
3452         * text3.C:
3453         * paragraph.[Ch]: adjust
3454
3455 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3456
3457         * lyxfind.C (find): fix argument order in call to ::find
3458
3459 2004-02-02  André Pönitz  <poenitz@gmx.net>
3460
3461         * cursor.[Ch]: remove direct access to anchor
3462
3463         * text.C: remove findText() hack
3464
3465 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3466
3467         * iterators.[Ch] (lockPath): remove in favour of...
3468         * BufferView.[Ch] (setCursor): this addition
3469         * BufferView.C (putSelectionAt): adjust
3470         * undo.C (performUndoOrRedo): adjust
3471         * lyxfunc.C (dispatch): adjust
3472
3473 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3474
3475         * iterators.C (lockPath): add a missing slice
3476         * undo.C (performUndoOrRedo): remove redundant positioning code
3477
3478 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3479
3480         * vc-backend.C (scanMaster): ";" -> ';'
3481
3482 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3483
3484         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3485         std::binary_function
3486
3487         * lyxtextclass.C (compare_name): rename to...
3488         (LayoutNamesEqual): ...this
3489
3490         * lyxlex_pimpl.C (compare_tags): inherit from
3491         std::binary_function, put back into anon namespace
3492
3493         * lyxfind.C (MatchString): inherig from std::binary_function
3494         (findChange): use empty() istead of !size()
3495
3496         * format.C (FormatNamesEqual): new functor
3497         (getFormat): use it
3498         (getNumber): use it
3499         (add): use it
3500         (erase): use it
3501         (setViewer): use it
3502
3503         * converter.C (compare_Converter): rename to...
3504         (ConverterEqual): ...this, and fixup a bit.
3505         (getConverter): use it, and make function const
3506         (getNumber): use it, and make function const
3507         (add): use it
3508         (erase): use it:
3509
3510         * bufferlist.C: add using boost::bind
3511
3512         * MenuBackend.C (MenuNamesEqual): new functor
3513         (hasMenu): use it, and make function const
3514         (hasSubmenu): use nested bind to get rid of compare_memfun.
3515
3516 2004-01-30  André Pönitz  <poenitz@gmx.net>
3517
3518         * BufferView_pimpl.C:
3519         * cursor.C:
3520         * cursor.h:
3521         * cursor_slice.[Ch]:
3522         * lyxfunc.C:
3523         * lyxtext.h:
3524         * paragraph_funcs.C:
3525         * paragraph_funcs.h:
3526         * rowpainter.C:
3527         * text.C:
3528         * text2.C:
3529         * text3.C: move some of the edit(x,y) handling to the insets
3530         some coordinate changes.
3531
3532 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3533
3534         * text.C: add using statements for std::advance and std::distance
3535
3536         * paragraph.C: add using statement for std::distance
3537
3538         * lyxfind.C: add using statement for std::advance
3539
3540         * cursor.C (region): remove std:: from swap
3541         (openable): use nucleus in stead of operator->
3542
3543         * BufferView.C: add using statements for std::distance and std::swap
3544
3545 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3546
3547         * iterators.C: Remove the pimple, move the needed structures to
3548         the header file. Create accessor for the positions stack.
3549         (asPosIterator): remove function
3550
3551         * PosIterator.C (PosIterator): move constructors to top of file
3552         (PosIterator): reimplement the constructor taking a ParIterator in
3553         terms of setFrom.
3554         (setFrom): new function
3555         (operator!=): inline it
3556
3557 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3558
3559         * lyxfind.C (replaceAll): use std::advance
3560
3561         * iterators.h: inherit from std::iterator.
3562
3563         * PosIterator.C (advance, distance): remove
3564         * PosIterator.h: interit from std::iterator.
3565
3566 2004-01-26  André Pönitz  <poenitz@gmx.net>
3567
3568         * BufferView.[Ch]:
3569         * BufferView_pimpl.[Ch]:
3570         * InsetList.[Ch]:
3571         * PosIterator.[Ch]:
3572         * buffer.h:
3573         * bufferview_funcs.C:
3574         * cursor.[Ch]:
3575         * cursor_slice.h:
3576         * factory.[Ch]:
3577         * iterators.[Ch]:
3578         * lyxfind.C:
3579         * lyxfunc.C:
3580         * lyxtext.h:
3581         * output_docbook.C:
3582         * output_latex.C:
3583         * output_linuxdoc.C:
3584         * output_plaintext.C:
3585         * paragraph.[Ch]:
3586         * paragraph_funcs.[Ch]:
3587         * paragraph_pimpl.[Ch]:
3588         * rowpainter.C:
3589         * tabular.C:
3590         * tabular.h:
3591         * text.C:
3592         * text2.C:
3593         * text3.C: more IU:  dumps most of the rest of the mathcursor
3594     implementation into cursor.[Ch]; "globalize" a bit of it.
3595
3596 2004-01-25  Angus Leeming  <leeming@lyx.org>
3597
3598         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3599
3600 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3601
3602         * LaTeXFeatures.h: add nice_ and nice() const
3603         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3604
3605 2004-01-20  André Pönitz  <poenitz@gmx.net>
3606
3607         * BufferView.[Ch]:
3608         * BufferView_pimpl.C:
3609         * PosIterator.C:
3610         * bufferview_funcs.C:
3611         * cursor.[Ch]:
3612         * cursor_slice.[Ch]:
3613         * factory.C:
3614         * iterators.C:
3615         * lyx_cb.C:
3616         * lyxfind.C:
3617         * lyxfunc.C:
3618         * lyxtext.h:
3619         * rowpainter.C:
3620         * text.C:
3621         * text2.C:
3622         * text3.C:
3623         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3624           LCursor and mathcursor parts to LCursor and InsetBase.
3625
3626 2004-01-15  André Pönitz  <poenitz@gmx.net>
3627
3628         * cursor_slice.[Ch]: add a few covienience functions
3629
3630         * funcrequest.[Ch]: remove BufferView * member
3631
3632         * BufferView_pimpl.C:
3633         * cursor.C:
3634         * factory.[Ch]:
3635         * lyxfind.[Ch]:
3636         * lyxfunc.C:
3637         * lyxtext.h:
3638         * text3.C:
3639         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3640
3641 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3642
3643         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3644         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3645
3646 2004-01-13  André Pönitz  <poenitz@gmx.net>
3647
3648         * textcursor.[Ch]:
3649         * lyxtext.h: hide cursor and selection anchor behind accessor function
3650
3651         * BufferView.C:
3652         * BufferView_pimpl.[Ch]:
3653         * PosIterator.C:
3654         * bufferview_funcs.C:
3655         * cursor.h:
3656         * lyxfind.C:
3657         * lyxfunc.C:
3658         * text.C:
3659         * text2.C:
3660         * text3.C:
3661         * undo.C: adjust
3662
3663         * cursor.h:
3664         * cursor_slice.[Ch]: some integer type changes for inset unification
3665
3666         * lyxcursor.[hC]: remove, it's CursorSlice now.
3667
3668         * Makefile.am:
3669         * BufferView_pimpl.[Ch]:
3670         * bufferview_funcs.C:
3671         * cursor_slice.C:
3672         * lyxtext.h:
3673         * text.C:
3674         * text2.C:
3675         * text3.C:
3676         * textcursor.[Ch]: adjust
3677
3678 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3679
3680         * text2.C (undoSpan): add and use
3681         * text.C (breakParagraph): use undoSpan (fix bug 578)
3682         * lyxtext.h: adjust
3683
3684 2004-01-08  Angus Leeming  <leeming@lyx.org>
3685
3686         * BufferView_pimpl.C (MenuInsertLyXFile):
3687         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3688         * lyxfunc.C (menuNew, open, doImport):
3689         FileFilterList change to the FileDialog open and save functions.
3690
3691 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3692
3693         * ShareContainer.h: make isEqual and isUnique adaptable
3694
3695         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3696
3697 2004-01-07  Angus Leeming  <leeming@lyx.org>
3698
3699         * LyXAction.C:
3700         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3701
3702         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3703
3704         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3705         functions replacing find, replace and replaceAll.
3706
3707         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3708         LFUN_WORDFIND(FORWARD|BACKWARD).
3709
3710 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3711
3712         * text.C (breakParagraph): remove an outdated #warning
3713
3714 2004-01-07  André Pönitz  <poenitz@gmx.net>
3715
3716         * lyxfind.C: somewhat clearer logic
3717
3718         * text.C: prevent crash in cursorX on unitialized row cache
3719
3720 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3721
3722         * lyxcursor.[Ch] (operator>): add
3723         * textcursor.C (selStart, selEnd): use std::min and std::max
3724
3725 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3726
3727         * Chktex.C: include boost/format.hpp
3728
3729 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
3730
3731         * InsetList.C: replace functor MathcIt with adaptable functor
3732         InsetTablePosLess
3733         (insetIterator): modify accordingly
3734
3735         * BranchList.h: move the BranchNamesEqual functor here from...
3736         * BranchList.C: ... to here
3737
3738         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3739         SameName and match.
3740         (add): replace a finding loop with std::find_if.
3741
3742 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3743
3744         * output_docbook.C: moving LatexParam functionality into
3745         .layout files
3746
3747 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3748
3749         * buffer.C: increment format to 229.
3750
3751 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3752
3753         * LaTeXFeatures.C:
3754         * lyx_sty.[Ch]: remove minipageindent_def
3755
3756         * LyXAction.C:
3757         * factory.C:
3758         * lfuns.h:
3759         * lyxfunc.C:
3760         * text3.C: remove LFUN_INSET_MINIPAGE
3761
3762 2003-12-28  Angus Leeming  <leeming@lyx.org>
3763
3764         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3765
3766 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3767
3768         * text2.C (setParagraph): fix off-by-one crash
3769
3770 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3771
3772         * output_docbook.C: header stuff for AGU
3773
3774 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3775
3776         * text2.C (redoCursor): remove
3777         * text.C:
3778         * text3.C:
3779         * BufferView_pimpl.C: remove calls to redoCursor and
3780         setCursor(cursor.par(), cursor.pos()) all around
3781
3782 2003-12-15  Angus Leeming  <leeming@lyx.org>
3783
3784         * buffer.C: up the format to 228.
3785
3786 2003-12-15  André Pönitz  <poenitz@gmx.net>
3787
3788         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3789         slices
3790
3791         * Makefile.am:
3792
3793         * BufferView_pimpl.C:
3794         * cursor.[Ch]:
3795         * lyxcursor.[Ch]:
3796         * rowpainter.[Ch]:
3797         * lyxtext.h:
3798         * text.C:
3799         * text2.C:
3800         * text3.C: adjust
3801
3802 2003-12-15  Angus Leeming  <leeming@lyx.org>
3803
3804         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3805         than getFromGUIName to manipulate the color.
3806
3807 2003-12-14  Angus Leeming  <leeming@lyx.org>
3808
3809         * BranchList.[Ch]: minimize the API.
3810         (Branch::getBranch, getColor): now return a 'const &'.
3811         (Branch::setSelected) now returns a bool set to true if the
3812         selection status changes.
3813         (BranchList::clear, size, getColor, setColor, setSelected,
3814         allBranches, allSelected, separator): removed.
3815         (BranchList::find): new functions, returning the Branch with
3816         the given name.
3817         (BranchList::add, remove): return a bool indicating that
3818         the operation was successful.
3819
3820         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3821         new InsetBranch::isBranchSlected member function.
3822
3823         * LColor.[Ch]: mimimize the API.
3824         (fill): renamed as addColor and made private.
3825         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3826         versions of these functions taking a string arg have been removed.
3827
3828         * bufferparams.C (readToken):
3829         * lyxfunc.C (dispatch):
3830         * lyxrc.C (read): changes due to the altered BranchList and
3831         LColor APIs.
3832
3833         * factory.C (createInset, readInset): changes due to altered
3834         InsetBranch c-tor.
3835
3836 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3837
3838         * factory.C:
3839         * lyxfunc.C: remove insetminipage. "minipage-insert"
3840         now produces a frameless minipage box inset.
3841
3842 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3843
3844         * textcursor.[Ch] (selStart,selEnd): add new methods
3845         remove selection::start, end, use LyXCursor::operator<
3846         * lyxcursor.[Ch] (operator<): add
3847         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3848         * BufferView.[Ch] (unsetXSel): add
3849         * text2.C (clearSelection): use unsetXSel,adjust
3850         * text.C: adjust
3851         * text3.C: adjust
3852         * rowpainter.C: adjust
3853         * bufferview_funcs.C (put_selection_at): adjust
3854
3855 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3856
3857         * BufferView_pimpl.C: small coord. correction
3858
3859 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3860
3861         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3862         dragging over the splash screen.
3863
3864 2003-12-11  Angus Leeming  <leeming@lyx.org>
3865
3866         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3867         as it is now handled in LyXText::dispatch.
3868
3869         * text3.C (doInsertInset): remove a level of nesting.
3870
3871 2003-12-11  Angus Leeming  <leeming@lyx.org>
3872
3873         * factory.C (createInset): changes due to the changed interface to
3874         InsetCommandMailer::string2params.
3875
3876 2003-12-10  Angus Leeming  <leeming@lyx.org>
3877
3878         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3879         'dialog-show-new-inset <inset name>'
3880
3881 2003-12-10  Angus Leeming  <leeming@lyx.org>
3882
3883         * buffer.C: up the format to 227.
3884
3885         * factory.C: the box inset is now identified simply by 'Box'.
3886
3887 2003-12-10  Angus Leeming  <leeming@lyx.org>
3888
3889         * buffer.C: up the format to 226.
3890
3891         * factory.C: the note inset is now identified simply by 'Note'.
3892
3893 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3894
3895         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3896         when a pit is enough. Standarize a couple of loops.
3897
3898 2003-12-05  Angus Leeming  <leeming@lyx.org>
3899
3900         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3901         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3902         data to the re-worked "log" dialog.
3903
3904 2003-12-03  André Pönitz  <poenitz@gmx.net>
3905
3906         * PosIterator.C:
3907         * iterators.C:
3908         * lyxtext.h:
3909         * output_latex.C:
3910         * paragraph_funcs.C:
3911         * text.C:
3912         * text2.C: use Inset::getText instead of Inset::getParagraph
3913
3914 2003-12-03  André Pönitz  <poenitz@gmx.net>
3915
3916         * buffer.[Ch]:
3917         * lyxtext.h:
3918         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3919         InsetText::read() as LyXText::read()
3920
3921 2003-12-02  Angus Leeming  <leeming@lyx.org>
3922
3923         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3924         type. Add a comment in the implementation that the function uses
3925         the stream's bad() function rather than fail() as the std::streams
3926         would do.
3927
3928 2003-12-02  André Pönitz  <poenitz@gmx.net>
3929
3930         * lyxlex.[Ch]: make interface more similar to std::stream
3931
3932         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3933
3934 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3935
3936         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3937
3938 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3939
3940         * vspace.[Ch]: remove VSpace::NONE
3941
3942 2003-12-01  André Pönitz  <poenitz@gmx.net>
3943
3944         * buffer.[Ch]:
3945         * lyxtext.h: move ParagraphList member to LyXText
3946         rename LyXText::ownerParagraphs to LyXText::paragraph
3947
3948         * CutAndPaste.C:
3949         * bufferview_funcs.C:
3950         * iterators.[Ch]:
3951         * lyx_cb.C:
3952         * paragraph.C:
3953         * rowpainter.C:
3954         * tabular.C:
3955         * text.C:
3956         * text2.C:
3957         * text3.C: adjust
3958
3959         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3960
3961         * undo.C: fix cursor positioning
3962
3963 2003-12-01  John Levon  <levon@movementarian.org>
3964
3965         * BufferView_pimpl.C: fix a crash on exit with
3966         a buffer open
3967
3968 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3969
3970         * BranchList.C: fix setSelected() method.
3971
3972 2003-11-28  André Pönitz  <poenitz@gmx.net>
3973
3974         * ParagraphParameters.[Ch]:
3975         * ParameterStruct.h: remove space above/below from Paragraph to
3976          InsetVSpace
3977
3978         * BufferView_pimpl.C:
3979         * factory.C:
3980         * lyxfunc.C:
3981         * lyxtext.h:
3982         * output_latex.C:
3983         * paragraph.C:
3984         * paragraph_funcs.C:
3985         * rowpainter.[Ch]:
3986         * text.C:
3987         * text2.C:
3988         * text3.C: adjust
3989
3990 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3991
3992         * factory.C: Syntax change for CharStyles
3993
3994 2003-11-28  André Pönitz  <poenitz@gmx.net>
3995
3996         * BufferView.[Ch]:
3997         * BufferView.[Ch]:
3998         * buffer.[Ch]:
3999         * buffer.[Ch]: move LyXText member
4000
4001 2003-11-28  André Pönitz  <poenitz@gmx.net>
4002
4003         * BufferView.[Ch]: make LyXText * text a private member
4004
4005         * BufferView_pimpl.C:
4006         * cursor.C:
4007         * iterators.C:
4008         * lyx_cb.C:
4009         * lyxfind.C:
4010         * lyxtext.h:
4011         * rowpainter.[Ch]:
4012         * text.C:
4013         * text2.C:
4014         * undo.C: adjust
4015
4016         * output_plaintext.C: cleanup
4017
4018 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4019
4020         * buffer.C:
4021         * lyxtextclass.[Ch]: parametrize SGML document header
4022
4023 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4024
4025         * converter.[Ch]:
4026         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4027         getFlavor().
4028
4029 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4030
4031         * text2.C (setFont): rework using PosIterator (no more recursive)
4032         (setCharFont): no more needed
4033         (setLayout): no more selection cursors fiddling (done by redoCursor)
4034         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4035         destroy remaining ones)
4036
4037 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4038
4039         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4040         * lyxtext.h: ditto
4041         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4042         selection cursors
4043         * lyxfunc.C: adjust
4044         * text3.C: adjust + re-allow multi par depth changes
4045         * textcursor.C: simplify a bit
4046
4047 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4048
4049         * src/buffer.C:
4050         * src/lyxlayout.C:
4051         * src/lyxlayout.h:
4052         * src/lyxtext.h:
4053         * src/output_docbook.C:
4054         * src/output_latex.C:
4055         * src/paragraph.C:
4056         * src/paragraph.h:
4057         * src/sgml.C:
4058         * src/sgml.h:
4059         * src/text2.C: Introducing a number of tags parametrizing various
4060         XML formats that we may want to support
4061
4062 2003-11-25  André Pönitz  <poenitz@gmx.net>
4063
4064         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4065
4066         * lyxtext.h (leftMargin/rightMargin): simplify interface
4067
4068         * rowpainter.C:
4069         * text.C:
4070         * text2.C:
4071         * text3.C: adjust
4072
4073 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4074
4075         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4076         master file to any child files. Fixes bug 546.
4077
4078 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4079
4080         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4081
4082 2003-11-24  André Pönitz  <poenitz@gmx.net>
4083
4084         * rowpainter.C: simplification
4085
4086         * text2.C (updateCounters): remove call to redoParagraph on
4087         changed labels as this is far too expensive.
4088
4089 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4090
4091         * converter.C (convert): fix a crash: this function gets
4092         called with buffer == 0 from importer code.
4093
4094 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4095
4096         * text3.C (cursorPrevious): make sure that we do not compare
4097         iterators form different containers.
4098         (cursorNext): ditto
4099
4100         * rowpainter.C (paintSelection): make sure that we do not compare
4101         iterators from different containers.
4102
4103         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4104         iterators from different ParagraphList containers.
4105         [NEXT] ditto
4106
4107         * text2.C (LyXText): change order of initialization slightly
4108         (operator=): new function. copy all variables except cache_par_
4109         (moveUp): make sure that we do not compare iterators from
4110         different ParagraphList constainers.
4111         (moveDown): ditto
4112
4113         * text.C (firstPar): new function
4114         (lastPar): new function
4115         (endPar): new function
4116
4117         * lyxtext.h: move things around and group public functions, public
4118         variables, private functions, private variables
4119
4120 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4121
4122         * factory.C: change call to InsetERT constructor to avoid
4123         additional invocation of method status
4124         * text2.C (toggleInset): remove redundant update() call
4125         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4126         instead of a Bufferview pointer
4127
4128 2003-11-21  André Pönitz  <poenitz@gmx.net>
4129
4130         * rowpainter.C: simplification
4131
4132 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4133
4134         * text3.C (dispatch): make possible to extend a word/row selection
4135         with the mouse
4136
4137 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4138
4139         * lyxtext.h: x0_,y0_ -> xo_,yo_
4140         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4141         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4142         * rowpainter.C (paintRows): paint full paragraphs
4143
4144 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4145
4146         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4147         screen coordinates)
4148
4149 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4150
4151         * lyxtext.h: add x0_, y0_
4152         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4153         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4154
4155 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4156
4157         * text2.C (setCursorIntern): move the x_target update here *
4158         * text3.C: change some bv() to true/false in calls to
4159         cursorUp/Down/Right/Left
4160         * cursor.C: use helper function.
4161
4162 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4163
4164         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4165         * paragraph_funcs.[Ch]: correct comment
4166         * rowpainter.C: do not paint selections away from bv->cursor()
4167         Fix a long standing selection painting bug.
4168         * text3.C: generalize mouse-selection code to LyXTexts other that
4169         top one
4170         * textcursor.C: do not use y coords if we can use par offsets
4171
4172 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4173
4174         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4175         cursor position after e.g. inset insert)
4176
4177 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4178
4179         * lyxfind.C (replace): adjust to locking removal + some
4180         code simplification
4181
4182 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4183
4184         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4185         of the path
4186
4187 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4188
4189         * lyxlayout.[Ch]:
4190         * output_docbook.C: XML sanitation: new layout
4191         parameters InnerTag and CommandDepth
4192
4193 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4194
4195         * BufferView_pimpl.C:
4196         * factory.C:
4197         * text3.C: Fix the insertion and modification of button-style
4198         insets
4199
4200 2003-11-13  André Pönitz  <poenitz@gmx.net>
4201
4202         * InsetList.[Ch]: remove deleteLyXText
4203
4204         * paragraph.[Ch]: cache beginOfBody position
4205
4206         * Bidi.C:
4207         * text.C:
4208         * text2.C:
4209         * text3.C: remove superfluous update() calls
4210
4211         * vspace.C: cleanup
4212
4213 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4214
4215         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4216         * BufferView.C (fitLockedInsetCursor): remove
4217         * cursor.[Ch] (getDim): add
4218         * text.C (getRowNearY): add faster version
4219         * text3.C: remove some update calls
4220
4221 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4222
4223         * LaTeXFeatures.C:
4224         * LyXAction.C:
4225         * MenuBackend.C:
4226         * MenuBackend.h:
4227         * dispatchresult.h:
4228         * factory.C:
4229         * lfuns.h:
4230         * lyxfunc.C:
4231         * lyxtextclass.C:
4232         * lyxtextclass.h:
4233         * text3.C: The Character Style /XML short element patch.
4234
4235 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4236
4237         * text3.C:
4238         * factory.C: Small step to solving 'unable to insert some insets'
4239         problem
4240
4241 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4242
4243         * cursor.[Ch] (updatePos): new function for updating the y
4244         position of the tip inset
4245         * bufferview_funcs.C (put_selection_at):
4246         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4247
4248 2003-11-11  André Pönitz  <poenitz@gmx.net>
4249
4250         * text.C: remove big comment on invalid Paragraph pointers as it is
4251         not valid anymore
4252
4253 2003-11-11  André Pönitz  <poenitz@gmx.net>
4254
4255         * text_funcs.[Ch]: merge with ...
4256
4257         * text.C: ... this
4258
4259         * lyxtext.h:
4260         * text2.C:
4261         * text3.C: adjust
4262
4263         * Makefile.am: remove text_funcs.[Ch]
4264
4265 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4266
4267         * cursor.C (getPos): return absolute cached y coord
4268
4269         * BufferView_pimpl.C (fitCursor): new simplistic code
4270         (workAreaDispatch): add a fitCursor call
4271
4272 2003-11-10  André Pönitz  <poenitz@gmx.net>
4273
4274         * BufferView.[Ch]:
4275         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4276
4277 2003-11-10  André Pönitz  <poenitz@gmx.net>
4278
4279         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4280         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4281         indicate that the cursor needs to leave an inset
4282
4283         * lyxtext.h: remove inset locking
4284
4285         * cursor.[Ch]: re-implement functionality provided by inset locking
4286
4287         * BufferView.[Ch]:
4288         * BufferView_pimpl.[Ch]:
4289         * LyXAction.C:
4290         * bufferview_funcs.[Ch]:
4291         * factory.C:
4292         * funcrequest.[Ch]:
4293         * iterators.C:
4294         * lyx_cb.C:
4295         * lyxfind.C:
4296         * lyxfunc.C:
4297         * text.C:
4298         * text2.C:
4299         * text3.C:
4300         * undo.C: adjust
4301
4302 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4303
4304         * PosIterator.[Ch]: replace the stack with a vector, add inset
4305         accesor
4306         * iterators.[C]: adjust
4307
4308 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4309
4310         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4311         replaced
4312         * paragraph_funcs.C (readParToken): put the correct id in the
4313         error item, not the id of the top paragraph
4314
4315 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4316
4317         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4318         * bufferview_funcs.C (put_selection_at): use the above
4319
4320 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4321
4322         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4323
4324 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4325
4326         * output_linuxdoc.h:
4327         * output_plaintext.h:
4328         * output.h:
4329         * output_docbook.h: add #include statements
4330
4331 2003-11-05  José Matos  <jamatos@lyx.org>
4332
4333         * output_docbook.[Ch]:
4334         * output_latex.[Ch]:
4335         * output_linuxdoc.[Ch]:
4336         * output_plaintext.[Ch]: New files for output formats.
4337         * output.[Ch]: New file for helper functions.
4338
4339         * buffer.[Ch]:
4340         * paragraph_funcs.[Ch]: output functions moved to new files.
4341
4342         * outputparams.h: rename of latexrunparams.h
4343
4344         * LaTeX.[Ch]:
4345         * buffer.[Ch]:
4346         * bufferlist.[Ch]:
4347         * converter.[Ch]:
4348         * exporter.C:
4349         * paragraph.[Ch]:
4350         * paragraph_funcs.[Ch]:
4351         * paragraph_pimpl.[Ch]:
4352         * tabular.[Ch]: rename ascii to plaintext
4353         and LatexRunParams to OutputParams.
4354
4355 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4356
4357         * iterators.[Ch] (text): require bv argument
4358         * undo.C (recordUndo):
4359         * lyxfunc.C (dispatch):
4360         * bufferview_funcs.C (put_selection_at): adjust
4361
4362 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
4363
4364         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4365
4366 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4367
4368         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4369         nestings
4370
4371 2003-11-04  André Pönitz  <poenitz@gmx.net>
4372
4373         * cursor.[Ch]: restructure
4374
4375         * BufferView.[Ch]:
4376         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4377
4378         * iterators.[Ch] (asCursor): remove
4379
4380         * lfuns.h: remove LFUN_INSET_EDIT
4381
4382         * lyxfunc.C:
4383         * tabular.C:
4384         * text.C:
4385         * text2.C:
4386         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4387
4388 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4389
4390         * lyxfind.[Ch]: complete overhaul
4391         * BufferView_pimpl.C:
4392         * lyxfunc.C: adjust
4393         * paragraph.[Ch] (insert): add
4394
4395 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4396
4397         * BufferView.[Ch]:
4398         * lyxtext.h:
4399         * text.C: remove dead spellcheck code
4400
4401 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4402
4403         * dispatchresult.h: add a val setter
4404
4405         * cursor.C (dispatch): use a tempvar for data_[i]
4406
4407 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4408
4409         * PosIterator.[Ch]: compile fix
4410
4411 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4412
4413         * text.C (cursorPar): deactivate the cursor cache
4414
4415 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4416
4417         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4418
4419 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4420
4421         * text3.C (dispatch): adjust for new DisptchResult semantics.
4422
4423         * lyxfunc.C (dispatch): handle update when return from
4424         Cursor::dispatch, adjust for new DispatchResult semantics.
4425
4426         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4427         DispatchResult(true) mean to not update. Add class functions for
4428         setting dispatched and update, as well as reading.
4429
4430         * cursor.C (dispatch): don't handle update here
4431
4432 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4433
4434         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4435         * trans_mgr.C: adjust
4436
4437         * paragraph_funcs.C (readParToken): exception safety
4438
4439         * lyxvc.h: store the vcs pointer in a scoped_ptr
4440         * lyxvc.C: adjust
4441
4442         * lyxsocket.C (serverCallback): exception safety
4443
4444         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4445
4446         * ispell.C (clone): make it return a auto_ptr
4447
4448         * factory.C (createInset): exception safety
4449         (readInset): exception safety
4450
4451         * bufferlist.C (newBuffer): exception safety
4452
4453         * Thesaurus.C (Thesaurus): use initialization for aik_
4454
4455         * MenuBackend.C (expandToc): exception safety.
4456
4457 2003-11-03  André Pönitz  <poenitz@gmx.net>
4458
4459         * buffer.C:
4460         * buffer.h:
4461         * bufferview_funcs.C: remove getInsetFromId()
4462
4463         * lyxcursor.[Ch]:
4464         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4465
4466         * lyxfunc.C:
4467         * text2.C:
4468         * text3.C: adjust
4469
4470 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4471
4472         * PosIterator.C (distance, advance): new
4473         * bufferview_funcs.[Ch] (put_selection_at): new
4474         * iterators.[Ch] (lockPath): new
4475
4476 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4477
4478         * iterators.[Ch] (asPosIterator): added
4479         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4480         * PosIterator.[Ch]: added
4481
4482 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4483
4484         * text3.C:
4485         * lyxfunc.C:
4486         * cursor.C (dispatch):
4487         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4488
4489         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4490         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4491         contructor, add a class function dispatched. Remove operator>=
4492
4493 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4494
4495         * debug.C: only use the default constructor for debugstream
4496         (lyxerr) here.
4497
4498         * main.C (main): include debug.h and setup the lyxerr streambuf
4499         here.
4500
4501 2003-10-31  José Matos  <jamatos@lyx.org>
4502
4503         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4504
4505         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4506         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4507         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4508         * paragraph_pimpl.C (simpleTeXSpecialC):
4509         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4510         add LatexRunParams argument.
4511
4512         * exporter.C (Export): change call accordingly.
4513
4514         * latexrunparams.h: add new member to take care of the other backends.
4515 2003-10-30  José Matos  <jamatos@lyx.org>
4516
4517         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4518         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4519         factorise code for paragraph output.
4520         * buffer.[Ch]:
4521         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4522         move functions.
4523
4524 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4525
4526         * text3.C (dispatch):
4527         * lyxfunc.C (dispatch):
4528         * cursor.C (dispatch):
4529         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4530
4531         * dispatchresult.h: make the dispatch_result_t ctor explicit
4532
4533 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4534
4535         * sgml.[Ch]:
4536         * buffer.C: small refactoring of docbook stuff
4537
4538 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4539
4540         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4541         meaning.
4542
4543 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4544
4545         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4546         operator dispatch_result_t, and operators for == != and >=
4547
4548         * cursor.C (dispatch): adjust for operator dispatch_result_t
4549         removal. comment out call to update
4550
4551         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4552
4553 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4554
4555         * text3.C:
4556         * text2.C:
4557         * text.C:
4558         * lyxtext.h:
4559         * lyxfunc.C:
4560         * cursor.C:
4561         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4562         (dispatch):
4563
4564         * dispatchresult.h: new file, DispatchResult broken out of
4565         insets/insetbase.h
4566
4567         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4568
4569 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4570
4571         * text.C (rowBreakPoint): put a hack inside #if 0
4572
4573 2003-10-28  André Pönitz  <poenitz@gmx.net>
4574
4575         * lyxtext.h:
4576         * metricsinfo.C:
4577         * paragraph_funcs.C:
4578         * rowpainter.C:
4579         * text.C:
4580         * text2.C: general cleanup (lots of small stuff)
4581
4582 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4583
4584         * text2.C (cursorEnd): simple fix to the "end key goes to one
4585         before the end on last row" bug
4586
4587 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4588
4589         * text.C (backspace): fix the "zombie characters"
4590
4591 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4592
4593         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4594
4595 2003-10-27  André Pönitz  <poenitz@gmx.net>
4596
4597         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4598
4599         * factory.C: handle new InsetPagebreak, InsetLine
4600
4601         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4602         and move handling into new InsetPagebreak, InsetLine
4603
4604         * BufferView_pimpl.C:
4605         * LyXAction.C:
4606         * ParagraphParameters.C:
4607         * ParameterStruct.h:
4608         * lyxfunc.C:
4609         * lyxtext.h:
4610         * paragraph.C:
4611         * paragraph.h:
4612         * paragraph_funcs.C:
4613         * paragraph_pimpl.C:
4614         * rowpainter.C:
4615         * text.C:
4616         * text2.C:
4617         * text3.C: adjust
4618
4619 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4620
4621         * text.C:
4622         * lyxrow_funcs.[Ch]:
4623         * Bidi.C:
4624         * paragraph.C:
4625         * lyxtext.h:
4626         * rowpainter.C:
4627         * text2.C:
4628         * text3.C: remove lastPos uses in favour of Row::endpos
4629
4630 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4631
4632         * undo.C (performUndoOrRedo): fix two crashes by setting a
4633         cursor by hand and reordering some calls. Use bv->lockInset instead
4634         of inset->edit because the latter loses cursor information
4635
4636 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4637
4638         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4639         by Martin
4640         (rowBreakPoint): fix width. change point to point + 1.
4641         Add a missing check.
4642
4643 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4644
4645         * MenuBackend.C:
4646         * lyxfunc.C: fix (at least partly) the problems
4647         with the Nav menu and headers inside branch insets
4648         reported by Kayvan
4649
4650 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4651
4652         * paragraph.C (getChar): add strong asserts
4653
4654         * lyxrow_funcs.C (lastPos): remove hideous hack
4655
4656         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4657         (fill): adjust to that (avoid an infinite loop)
4658
4659 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4660
4661         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4662
4663 2003-10-23  André Pönitz  <poenitz@gmx.net>
4664
4665         * RowList_fwd.h: change list<> to vector<> to gain speed
4666         after suggestion from Alfredo
4667
4668 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4669
4670         * lyxtext.h: move the bidi stuff from here...
4671         * text.C: and here
4672         * text2.C: and here
4673         * Bidi.[Ch]: ... to here
4674
4675 2003-10-23  André Pönitz  <poenitz@gmx.net>
4676
4677         * lyxtext.h:
4678         * text.C (isLastRow, isFirstRow): new functions
4679
4680         * paragraph.h: new width cache member
4681
4682         * rowpainter.C: replace RowList::iterator with Row & where possible
4683
4684         * lyxfunc.C: replace several view()->text with a single call
4685
4686         * toc.C: fix 'unused' warning
4687
4688 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4689
4690         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4691         when woring with stream::pos_type
4692         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4693
4694 2003-10-22  André Pönitz  <poenitz@gmx.net>
4695
4696         * lyxtext.h:
4697         * text.C: use Row & instead of RowList::iterator
4698
4699         * lyxrow.h: rename end() to endpos()
4700
4701         * rowpainter.C:
4702         * text.C:
4703         * text2.C: adjust
4704
4705 2003-10-22  Angus Leeming  <leeming@lyx.org>
4706
4707         * buffer.[Ch] (fully_loaded): new member function, returning true
4708         only when the file has been loaded fully.
4709         Used to prevent the premature generation of previews and by the
4710         citation inset to prevent computation of the natbib-style label.
4711
4712         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4713         templates are all set up.
4714
4715         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4716
4717 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4718
4719         * text.C: fixed an "oops" in the "is a bit silly"
4720         bug fix
4721
4722 2003-10-21  André Pönitz  <poenitz@gmx.net>
4723
4724         * FuncStatus.[Ch]: small stuff, whitespace
4725
4726         * lyxfont.[Ch]: operator<<() for debug reasons
4727
4728         * lyxfunc.C:
4729         * lyxrow_funcs.C:
4730         * lyxtext.h: whitespace, spelling
4731
4732         * paragraph.C: naming of variables
4733
4734         * text.C:
4735         * text2.C: small stuff
4736
4737
4738 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4739
4740         * text.C: (1) finish off the inset display() work;
4741         (2) fix the "is a bit silly" bug (accessing char
4742         past end of par).
4743
4744 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4745
4746         * text.C: re-introduce display() for insets, fixing the
4747         various bugs (stretch of line above, math inset
4748         positioning, ...)
4749
4750 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4751
4752         * text.C (rightMargin): remove spurious semicolon
4753
4754         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4755         1415)
4756
4757 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4758
4759         * text3.C: fix one crash due to wrong cursor def
4760
4761 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4762
4763         * vc-backend.C (scanMaster): make the regex static
4764
4765         * LaTeX.C (scanAuxFile): make the regexs static
4766
4767         * text3.C (doInsertInset, dispatch, dispatch):
4768         * text2.C (cursorUp, cursorDown):
4769         * text.C (selectNextWordToSpellcheck):
4770         * BufferView_pimpl.C (dispatch):
4771         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4772
4773 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4774
4775         * lyxsocket.C: include <cerrno>
4776
4777 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4778
4779         * lyxfunc.C (dispatch): remove textcache stuff
4780
4781         * bufferlist.C (release): remove textcache stuff
4782         (closeAll): ditto
4783
4784         * TextCache.C: delete file
4785         * TextCache.h: delete file
4786
4787         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4788
4789         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4790         delete of the bv_->text.
4791         (resizeCurrentBuffer): remove texcache stuff
4792         (workAreaResize): ditto
4793
4794 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4795
4796         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4797         action.
4798
4799 2003-10-16  André Pönitz  <poenitz@gmx.net>
4800
4801         * lyxrow.[Ch]:
4802         * paragraph.h:
4803         * rowpainter.C:
4804         * text.C:
4805         * text2.C:
4806         * text3.C: speed up by storing y positions per paragraph plus per-row
4807         offset instead of having a 'full' y position in the row.
4808
4809 2003-10-15  André Pönitz  <poenitz@gmx.net>
4810
4811         * iterators.[Ch]:
4812         * iterators.[Ch]:
4813         * undo.[Ch]: make undo aware of inner insets
4814
4815 2003-10-14  Angus Leeming  <leeming@lyx.org>
4816
4817         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4818         static member functions LyX::ref() and LyX::cref.
4819         (lastfiles): new accessor functions for the new lastfiles_ member var.
4820         (addLyXView, views_): add a new LyXView to the list of views_.
4821         (updateInset): loop over all LyXViews to call their own updateInset
4822         member function, returning a pointer to the Buffer owning the inset.
4823
4824         * BufferView_pimpl.C (loadLyXFile):
4825         * MenuBackend.C (expandLastfiles):
4826         * bufferlist.C (MenuWrite, QuitLyX):
4827         lastfiles is no longer a global variable.
4828         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4829
4830         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4831         static function. Access through LyX::cref().emergencyCleanup().
4832
4833 2003-10-14  André Pönitz  <poenitz@gmx.net>
4834
4835         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4836
4837         * undo.[Ch]: restoring part of 'undo in insets'
4838
4839         * Makefile.am:
4840         * undo_funcs.[Ch]: merge with undo.[Ch]
4841
4842         * tabular.C: small cleansing stuff
4843
4844 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4845
4846         * paragraph_funcs.C (readParToken): report unknown insets as error
4847         boxes. Use the outer paragraph as location (also for unknown
4848         tokens).
4849
4850         * factory.C (readInset): do not abort on reading an unknown inset.
4851         Eat it and return 0.
4852
4853 2003-10-13  Angus Leeming  <leeming@lyx.org>
4854
4855         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4856
4857         * lyxrc.C: displayTranslator is now a function,
4858         declared in GraphicsTypes.h.
4859
4860 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4861
4862         * format.C: new placeholder $$a to pass the socket address.
4863
4864         * bufferlist.[Ch]: new function getBufferFromTmp.
4865
4866         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4867           files in the temporary dir.
4868
4869 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4870
4871         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4872
4873         * Makefile.am: add lyxsocket.[Ch].
4874
4875         * lyx_main.C (error_handler): handle SIGPIPE.
4876
4877 2003-10-13  André Pönitz  <poenitz@gmx.net>
4878
4879         * BufferView_pimpl.C:
4880         * lyxtext.h:
4881         * text.C:
4882         * text2.C:
4883         * text3.C:
4884         * undo_funcs.[Ch]: use paroffset_type instead of
4885           ParagraphList::iterators to prevent multiple conversion
4886           (and get a more robust interface)
4887
4888 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4889
4890         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4891         * lyxtext.h: ditto
4892         * text3.C (dispatch): ditto
4893
4894 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4895
4896         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4897         move the onlyfile, use onlyfile instead of foundfile in a couple
4898         of places.
4899
4900         * DepTable.C (update): flush the error stream a bit more
4901
4902 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4903
4904         * lyxserver.C (callback): adjust
4905
4906         * lyxfunc.C (getStatus): add a missing brace in commented code
4907         (ensureBufferClean): reindent
4908         (dispatch): delete version taking a string
4909
4910 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4911
4912         * LaTeX.C (deplog): move found file handlig from here...
4913         (handleFoundFile): .. to new function here.
4914         (deplog): make sure to discover several files mentioned on the
4915         same log line.
4916
4917 2003-10-10  André Pönitz  <poenitz@gmx.net>
4918
4919         * lyxfunc.C:
4920         * lyxtext.h:
4921         * tabular.C:
4922         * text.C:
4923         * text2.C:
4924         * text3.C: fix some of the tabular crashes
4925
4926 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4927
4928         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4929
4930         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4931
4932 2003-10-09  André Pönitz  <poenitz@gmx.net>
4933
4934         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4935
4936         * BufferView.C:
4937         * BufferView_pimpl.C:
4938         * bufferview_funcs.C:
4939         * lyx_cb.C:
4940         * lyxcursor.C:
4941         * lyxfind.C:
4942         * lyxfunc.C:
4943         * lyxtext.h:
4944         * text.C:
4945         * text2.C:
4946         * text3.C:
4947         * text_funcs.[Ch]:
4948         * textcursor.[Ch]:
4949         * undo_funcs.C: adjust
4950
4951 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4952
4953         * text2.C (incrementItemDepth): new function, use a backtracking
4954         algorithm to discover the correct item depth.
4955         (resetEnumCounterIfNeeded): new function, use a backtracking
4956         algorithm to discover if counter reset is needed.
4957         (setCounter): use them. Simplify a bit. Add different labels for
4958         different item depths for itemize.
4959
4960         * paragraph.C (Paragraph): remove initialization of enumdepth
4961         (operator=): ditto
4962
4963         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4964         enumerate and itemize. Change the type of itemdepth to signed char.
4965
4966 2003-10-08  André Pönitz  <poenitz@gmx.net>
4967
4968         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4969           thing assignable.
4970         * text.C:
4971         * text2.C: adjust
4972
4973         * tabular.[Ch]: fix crash after 'row-insert'
4974
4975 2003-10-08  Angus Leeming  <leeming@lyx.org>
4976
4977         Fix doxygen warnings.
4978
4979         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4980         Remove CutAndPaste:: prefix from header file declaration.
4981
4982         * LColor.h (fill): remove LColor:: prefix from declaration.
4983
4984         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4985         use lyx::depth_type rather than Paragraph::depth_type so that
4986         header file and .C file match.
4987
4988         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4989
4990         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4991         * aspell.C: \file aspell_local.C -> \file aspell.C
4992         * gettext.C: \file gettext.C -> \file src/gettext.C
4993         * gettext.h: \file gettext.h -> \file src/gettext.h
4994         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4995         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4996         * text.C: \file text.C -> \file src/text.C
4997
4998         * toc.C: move comment so that doxygen is not confused.
4999
5000 2003-10-07  Angus Leeming  <leeming@lyx.org>
5001
5002         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5003
5004 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5005
5006         * aspell.C:
5007         * aspell_local.h: add forgotten std::string's.
5008
5009 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5010
5011         * LaTeXFeatures.C:
5012         * LyXAction.C:
5013         * factory.C:
5014         * lfuns.h:
5015         * lyxfunc.C:
5016         * text3.C: The Box patch. Fancybox support, minipage, parbox
5017
5018 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5019
5020         * CutAndPaste.h:
5021         * DepTable.h:
5022         * FloatList.h:
5023         * LaTeXFeatures.h:
5024         * ParagraphParameters.h:
5025         * TextCache.h:
5026         * Thesaurus.h:
5027         * bufferlist.h:
5028         * exporter.h:
5029         * importer.h:
5030         * lastfiles.h:
5031         * lyxfind.h:
5032         * lyxfont.h:
5033         * lyxlex.h:
5034         * lyxtextclasslist.h:
5035         * messages.h:
5036         * paragraph.h:
5037         * paragraph_pimpl.C:
5038         * textcursor.h: add <string> and other small fixes to make Lars'
5039         std::string patch compile with STLport.
5040
5041 2003-10-06  Angus Leeming  <leeming@lyx.org>
5042
5043         * LColor.h: Add missing #include <string>.
5044
5045 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5046
5047         * All most all file in all subdirs: Make <string> be the prefered
5048         way of getting to std::string, add using declarations.
5049
5050 2003-10-06  André Pönitz  <poenitz@gmx.net>
5051
5052         * metricsinfo.C: initialize LyXFont before changing attribute.
5053         (fixes the 'math in \emph is upright' bug)
5054
5055 2003-10-06  André Pönitz  <poenitz@gmx.net>
5056
5057         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5058
5059 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5060
5061         * graph.C:
5062         * paragraph_pimpl.C: Small fixes to build using STLport
5063
5064 2003-10-02  André Pönitz  <poenitz@gmx.net>
5065
5066         * lyxfunc.C:
5067         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5068
5069 2003-10-01  André Pönitz  <poenitz@gmx.net>
5070
5071         * factory.C: assert early
5072
5073 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5074
5075         * lyx_main.C: remove the global debug object
5076
5077         * debug.h: adjust for new debugstream
5078
5079         * debug.C: adjust for new debugstream and keep the global debug
5080         object here.
5081
5082 2003-09-22  Angus Leeming  <leeming@lyx.org>
5083
5084         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5085         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5086         an incomplete class LyXFont.
5087
5088 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5089
5090         * factory.C: bug fix in branches
5091
5092 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5093
5094         * lyxfunc.C (processKeySym): adjust
5095         (dispatch): adjust
5096         (dispatch): change arg name from ev to func, adjust
5097         (sendDispatchMessage): ditto
5098
5099         * lyx_main.C (defaultKeyBindings): adjust keybindings
5100         (deadKeyBindings): ditto
5101
5102         * kbsequence.C (addkey): return a FuncRequest
5103
5104         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5105
5106         * kbmap.C (bind): take a FuncRequest as arg, adjust
5107         (read): adjust
5108         (lookup): adjust
5109         (defkey): change to take a FuncRequest as arg, adjust
5110         (findbinding): take a FuncRequest as arg, adjust.
5111
5112         * funcrequest.h (operator=): added
5113
5114         * funcrequest.C (FuncRequest): default kb_action changed from
5115         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5116
5117         * buffer.C (dispatch): simplify
5118         (dispatch): adjust to take a FuncRequest as arg, adjust
5119
5120         * boost.C (assertion_failed): change assertion message slightly
5121
5122         * ToolbarBackend.C (read): simplify
5123
5124         * MenuBackend.C (binding): adjust call to findbinding, add a
5125         message if no binding is found.
5126         (read): simplify
5127         (expandToc): correct by adding a empty FuncRequest
5128
5129         * LyXAction.C: include <boost/assert.hpp>
5130         (isPseudoAction): delete function
5131         (LookupFunc): change name to...
5132         (lookupFunc): this. change return type to FuncRequest.
5133         (getActionName): take kb_action as arg, simplify
5134         (funcHasFlag): add an assert, simplify.
5135
5136 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5137
5138         * toc.C (action): return a FuncRequest, simplify
5139
5140         * lyxfunc.C (processKeySym): adjust
5141         (getStatus): delete version that takes an int.
5142         (getStatus): adjust
5143         (dispatch): delete version that takes action as int
5144         (dispatch): adjust
5145         (sendDispatchMessage): simplify and adjust
5146
5147         * funcrequest.C (getArg): take unsigned int as arg
5148
5149         * ToolbarBackend.C (read): adjust
5150         (add): delete version that takes func as a string.
5151         (getIton): take a FuncRequest as arg
5152
5153         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5154         action.
5155
5156         * MenuBackend.C (MenuItem): add a new construct that only takes a
5157         Kind, simplify the constructor use for submenus.
5158         (add): adjust
5159         (expandLastfiles): adjust
5160         (expandDocuments): adjust
5161         (expandFormats): adjust
5162         (expandFloatListInsert): adjust
5163         (expandFloatInsert): adjust
5164         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5165
5166         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5167         Remove class variables lyx_pseudo_map and lyx_arg_map
5168
5169         * LyXAction.C (searchActionArg): delete function
5170         (getPseudoAction): delete function
5171         (retrieveActionArg): delete function
5172         (LookupFunc): make it return kb_action, simplify.
5173         (getActionName): simplify
5174
5175         * factory.C (createInset): fix new bug
5176
5177 2003-09-19  Angus Leeming  <leeming@lyx.org>
5178
5179         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5180         masterFilename_ parameter in the include inset.
5181
5182         * factory.C (createInset): changes due to the changes to InsetInclude.
5183
5184 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5185
5186         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5187
5188 2003-09-18  Angus Leeming  <leeming@lyx.org>
5189
5190         * buffer.C:
5191         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5192         Inset::fillWithBibKeys.
5193         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5194
5195 2003-09-18  Angus Leeming  <leeming@lyx.org>
5196
5197         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5198         variables.
5199         (ctor): pass and store a 'Buffer const &'
5200         (buffer): new member function.
5201
5202         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5203         '*this' to the LaTeXFeatures ctor.
5204
5205 2003-09-18  Angus Leeming  <leeming@lyx.org>
5206
5207         * LColor.h:
5208         * lyxfont.C:
5209         * lyxfont.h:
5210         * lyxtext.h:
5211         * text.C: rename EnumLColor as LColor_color.
5212
5213 2003-09-18  Angus Leeming  <leeming@lyx.org>
5214
5215         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5216         remove #include "insets/insetbase.h" from cursor.h.
5217
5218 2003-09-18  Angus Leeming  <leeming@lyx.org>
5219
5220         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5221         InsetOld_code to remove #include "inset.h".
5222
5223         * iterators.C: add #include "insets/inset.h"
5224
5225 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5226
5227         * BufferView.C: remove more locking stuff that apparently doesn't
5228         do anything sensible.
5229
5230 2003-09-16  André Pönitz  <poenitz@gmx.net>
5231
5232         * paragraph.[Ch]:
5233         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5234           performance boost.
5235
5236 2003-09-16  Angus Leeming  <leeming@lyx.org>
5237
5238         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5239
5240         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5241         arg/return type.
5242
5243         * paragraph.h: remove #include "lyxfont.h". Forward declare
5244         LyXFont_size.
5245
5246 2003-09-16  Angus Leeming  <leeming@lyx.org>
5247
5248         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5249         of support/textutils.h.
5250         (isWord): move the contents of support/textutils.h's IsWordChar here.
5251
5252         * buffer.C:
5253         * lyxfind.C:
5254         * rowpainter.C:
5255         * text.C:
5256         * text2.C: add #include "paragraph.h".
5257
5258         * rowpainter.C:
5259         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5260
5261 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5262
5263         * main.C:
5264         * lyx_main.C:
5265         * lyx_cb.C:
5266         * buffer.C:
5267         * LaTeX.C: use namespace alias for lyx::support::os
5268
5269 2003-09-16  Angus Leeming  <leeming@lyx.org>
5270
5271         * bufferparams.C:
5272         * bufferview_funcs.C:
5273         * factory.C:
5274         * lyxfunc.C:
5275         * paragraph_pimpl.C:
5276         * rowpainter.C:
5277         * text.C: add #include "LColor.h".
5278
5279 2003-09-16  Angus Leeming  <leeming@lyx.org>
5280
5281         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5282         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5283         return LyXFont &.
5284         Store the FontBits::color variable as an int rather than as an
5285         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5286         file.
5287
5288         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5289         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5290         string calls together.
5291
5292         * lyxrc.C: add #include "LColor.h".
5293
5294 2003-09-15  Angus Leeming  <leeming@lyx.org>
5295
5296         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5297         a cow_ptr.
5298
5299 2003-09-15  Angus Leeming  <leeming@lyx.org>
5300
5301         * LColor.h: add an EnumLColor wrapper for LColor::color.
5302
5303         * lyxfont.[Ch] (color, setColor, realColor):
5304         * lyxtext.h, text.C (backgroundColor):
5305         pass EnumLColor args to/from the functions, rather than LColor::color
5306         ones.
5307
5308         * lyxfont.h:
5309         * lyxtext.h: forward declare EnumLColor.
5310
5311         * lyx_main.C: add #include "LColor.h".
5312
5313 2003-09-15  Angus Leeming  <leeming@lyx.org>
5314
5315         * .cvsignore: add lyx-gtk.
5316
5317 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5318
5319         * Chktex.C
5320         * LaTeX.C
5321         * LaTeXFeatures.C
5322         * ParagraphParameters.C
5323         * Spacing.C
5324         * buffer.C
5325         * bufferparams.C
5326         * bufferview_funcs.C
5327         * chset.C
5328         * counters.C
5329         * funcrequest.C
5330         * lyxfont.C
5331         * lyxgluelength.C
5332         * lyxlength.C
5333         * paragraph.C
5334         * paragraph_funcs.C
5335         * text3.C
5336         * vc-backend.C: remove usage of STRCONV
5337
5338 2003-09-15  Angus Leeming  <leeming@lyx.org>
5339
5340         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5341         explicitly define the color passed to the painter.
5342
5343 2003-09-15  Angus Leeming  <leeming@lyx.org>
5344
5345         * bufferparams.C (BufferParams): reorder member initializers to avoid
5346         compiler warning.
5347
5348 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5349
5350         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5351         * text.C (updateRowPositions): remove an unusual nop
5352
5353 2003-09-12  André Pönitz  <poenitz@gmx.net>
5354
5355         * BufferView_pimpl.C:
5356         * Bullet.C:
5357         * layout.h:
5358         * lyxfunc.C:
5359         * lyxlayout.[Ch]:
5360         * lyxtextclass.C:
5361         * rowpainter.C:
5362         * text.C:
5363         * text2.C:
5364         * Counters.[Ch]: finish the 'automatic counters' job
5365
5366 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5367
5368         * aspell.C: include <boost/assert.cpp> (compile fix)
5369
5370 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5371
5372         * boost.C (assertion_failed): use lyx::support::abort instead of
5373         assert.
5374
5375 2003-09-10  Angus Leeming  <leeming@lyx.org>
5376
5377         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5378         with their _fwd progeny.
5379
5380 2003-09-09  Angus Leeming  <leeming@lyx.org>
5381
5382         134 files throughtout the source tree: replace 'using namespace abc;'
5383         directives with the appropriate 'using abc::xyz;' declarations.
5384
5385 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5386
5387         * boost.C (emergencyCleanup): moved here from LAssert.c
5388         (assertion_failed): new function, called by BOOST_ASSERT
5389
5390         * several files: change Assert to BOOST_ASSERT
5391
5392 2003-09-09  Angus Leeming  <leeming@lyx.org>
5393
5394         * buffer.[Ch]: Add an Impl class and move Buffer's member
5395         variables into it. As a result move several header files out of
5396         buffer.h.
5397
5398         Add header files to lots of .C files all over the tree as a result.
5399
5400 2003-09-09  Angus Leeming  <leeming@lyx.org>
5401
5402         * buffer.[Ch]: make Buffer's member variables private. Add
5403         accessor functions.
5404
5405         Lots of changes all over the tree as a result.
5406
5407 2003-09-08  Angus Leeming  <leeming@lyx.org>
5408
5409         * graph.C: #include <config.h>.
5410
5411 2003-09-08  Angus Leeming  <leeming@lyx.org>
5412
5413         * BranchList.C:
5414         * BufferView.C:
5415         * BufferView_pimpl.C:
5416         * CutAndPaste.C:
5417         * DepTable.C:
5418         * LaTeX.C:
5419         * LaTeXFeatures.C:
5420         * LyXAction.C:
5421         * MenuBackend.C:
5422         * TextCache.C:
5423         * aspell.C:
5424         * buffer.C:
5425         * bufferlist.C:
5426         * changes.C:
5427         * chset.C:
5428         * converter.C:
5429         * counters.C:
5430         * debug.C:
5431         * graph.C:
5432         * ispell.C:
5433         * lyx_cb.C:
5434         * lyxfind.C:
5435         * lyxfunc.C:
5436         * lyxlex_pimpl.C:
5437         * lyxrc.C:
5438         * lyxrow.C:
5439         * paragraph.C:
5440         * rowpainter.C:
5441         * texrow.C:
5442         * text.C:
5443         * text2.C:
5444         * toc.C: remove redundant using directives.
5445
5446 2003-09-07  Angus Leeming  <leeming@lyx.org>
5447
5448         * LaTeXFeatures.h: remove #include "support/types.h".
5449         * ToolbarBackend.h: remove #include <algorithm>.
5450         * changes.h: remove #include <ctime>.
5451         * debug.h: remove #include <iosfwd>.
5452         * graph.h: remove #include "support/std_string.h".
5453         * lyx_main.h: remove #include <csignal>.
5454         * lyxlex_pimpl.h: remove #include <fstream>.
5455         * sgml.h: remove #include <algorithm>, <utility>.
5456         * toc.h: remove #include "support/std_ostream.h".
5457         Add #include <iosfwd>.
5458
5459 2003-09-07  Angus Leeming  <leeming@lyx.org>
5460
5461         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5462
5463         * converter.h: forward declare LatexRunParams.
5464         * encoding.h: remove #include "lyxrc.h".
5465         * lyxtext.h: remove #include "LColor.h".
5466         * lyxtextclass.h: remove #include "support/types.h".
5467         * trans.h: remove #include "tex-accent.h".
5468         * trans_mgr.h: remove #include "tex-accent.h".
5469         * insets/inset.h: remove #include "support/types.h", <vector>.
5470         * insets/insetcollapsable.h: remove #include "LColor.h".
5471         * insets/insetinclude.h: remove #include "dimension.h".
5472         * insets/insetlatexaccent.h: remove #include "dimension.h".
5473         * insets/insetoptarg.h:: remove #include "insettext.h".
5474         * insets/insettext.h: remove #include "dimension.h",
5475         <boost/shared_ptr.hpp>
5476
5477         * insets/renderers.h: add #include "dimension.h".
5478         * insets/updatableinset.h: add #include "support/types.h".
5479
5480         * many .C files: Associated changes.
5481
5482 2003-09-06  Angus Leeming  <leeming@lyx.org>
5483
5484         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5485         one, inside testInvariant.
5486
5487         * PrinterParams.C: new file.
5488         * PrinterParams.[Ch]: move the function bodies out of line.
5489
5490 2003-09-06  Angus Leeming  <leeming@lyx.org>
5491
5492         * ParagraphParameters.h: forward declare ParameterStruct rather than
5493         including its header file.
5494         (depth): moved out-of-line.
5495
5496 2003-09-06  Angus Leeming  <leeming@lyx.org>
5497
5498         * BufferView_pimpl.h:
5499         * kbmap.h:
5500         * kbsequence.h:
5501         * lyxfunc.h: forward declare LyXKeySym rather than
5502         #include "frontends/LyXKeySym.h".
5503
5504         * BufferView_pimpl.C:
5505         * kbmap.C:
5506         * kbsequence.C:
5507         * lyxfunc.C: associated changes.
5508
5509 2003-09-06  Angus Leeming  <leeming@lyx.org>
5510
5511         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5512         As a result, can remove the #include "insets/inset.h" from BufferView.h
5513
5514 2003-09-06  Angus Leeming  <leeming@lyx.org>
5515
5516         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5517         As a result, can remove the #include "insets/inset.h" from BufferView.h
5518
5519 2003-09-06  Angus Leeming  <leeming@lyx.org>
5520
5521         * buffer_funcs.C:
5522         * buffer.h:
5523         * bufferlist.C:
5524         * BufferView.C:
5525         * bufferview_funcs.C:
5526         * BufferView_pimpl.C:
5527         * CutAndPaste.C:
5528         * lyx_cb.C:
5529         * lyxfunc.C:
5530         * paragraph.h:
5531         * ParagraphParameters.C:
5532         * tabular.C:
5533         * text3.C:
5534         * toc.C:
5535         * undo_funcs.C:
5536         * frontends/controllers/ControlDocument.C:
5537         * insets/insetcaption.C: rearrange the #includes into some sort of
5538         coherent order.
5539
5540         * buffer.h: remove #includes ErrorList.h, undo.h
5541
5542 2003-09-06  Angus Leeming  <leeming@lyx.org>
5543
5544         * support/types.h: add a 'depth_type' typedef, used to store the
5545         nesting depth of a paragraph.
5546
5547         * paragraph.h:
5548         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5549         defining explicitly.
5550
5551         * buffer.h:
5552         * paragraph_funcs.h:
5553         * ParagraphParameters.h:
5554         * sgml.h: use lyx::depth_type rather than Paragraph or
5555         ParameterStruct's depth_type.
5556
5557         * buffer.h
5558         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5559
5560         * BufferView.C:
5561         * BufferView_pimpl.C:
5562         * CutAndPaste.C:
5563         * ParagraphParameters.C:
5564         * buffer_funcs.C:
5565         * bufferlist.C:
5566         * bufferview_funcs.C:
5567         * lyx_cb.C:
5568         * lyxfunc.C:
5569         * tabular.C:
5570         * text3.C:
5571         * toc.C:
5572         * undo_funcs.C:
5573         * frontends/LyXView.C:
5574         * frontends/controllers/ControlDocument.C:
5575         * frontends/controllers/ControlErrorList.C:
5576         * insets/insetbibitem.C:
5577         * insets/insetbranch.C:
5578         * insets/insetcaption.C:
5579         * insets/insetcollapsable.C:
5580         * insets/insetenv.C:
5581         * insets/insetert.C:
5582         * insets/insetfloat.C:
5583         * insets/insetfoot.C:
5584         * insets/insetfootlike.C:
5585         * insets/insetnewline.C:
5586         * insets/insetquotes.C:
5587         * insets/insettabular.C:
5588         * insets/insettext.C:
5589         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5590
5591         * frontends/controllers/ControlChanges.C: #include "changes.h".
5592
5593 2003-09-06  Angus Leeming  <leeming@lyx.org>
5594
5595         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5596         than #including paragraph.h.
5597
5598         * ParagraphList.h:
5599         * RowList.h: deleted. Superfluous.
5600
5601         * CutAndPaste.h:
5602         * iterators.h:
5603         * lyxcursor.h:
5604         * lyxtext.h:
5605         * text_funcs.h:
5606         * undo.h:
5607         * undo_funcs.h:
5608         * insets/inset.h:
5609         * insets/insettext.h: use ParagraphList_fwd.h rather than
5610         ParagraphList.h.
5611
5612         * paragraph.h: don't forward declare ParagraphList.
5613
5614         * buffer.h:
5615         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5616         rather than ParagraphList.h. paragraph.h is still needed for the
5617         Paragraph::depth_type parameters.
5618
5619         * textcursor.h: enable it to compile stand-alone in light of the
5620         above changes.
5621
5622         * bufferview_funcs.C:
5623         * iterators.C:
5624         * lyxfunc.C:
5625         * lyxrow_funcs.C:
5626         * paragraph.C:
5627         * rowpainter.C:
5628         * text.C:
5629         * text2.C:
5630         * text3.C:
5631         * text_funcs.C:
5632         * textcursor.C:
5633         * undo.C:
5634         * frontends/controllers/ControlParagraph.C:
5635         * frontends/controllers/ControlTabular.C:
5636         * insets/insetmarginal.C:
5637         * insets/insetminipage.C:
5638         * insets/insetnote.C:
5639         * insets/insetoptarg.C: add header files needed to compile again.
5640
5641 2003-09-06  Angus Leeming  <leeming@lyx.org>
5642
5643         * RowList_fwd.h: new file, forward-declaring Row rather than
5644         #including lyxrow.h.
5645
5646         * lyxrow_funcs.h:
5647         * lyxtext.h:
5648         * paragraph.h:
5649         * insets/insettext.h: use it instead of RowList.h
5650
5651         * bufferview_funcs.C:
5652         * lyxfunc.C:
5653         * lyxrow_funcs.C:
5654         * paragraph.C:
5655         * rowpainter.C:
5656         * text.C:
5657         * text2.C:
5658         * text3.C: #include "RowList.h".
5659
5660 2003-09-05  Angus Leeming  <leeming@lyx.org>
5661
5662         * factory.C (createInset):
5663         * vspace.C (c-tor): replace sscanf call with an istringstream.
5664         * ispell.C: re-add missing HP/UX headers.
5665         * lyxserver.C: re-add missing  os2 headers.
5666
5667 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5668
5669         * BranchList.C:
5670         * graph.C:
5671         * ispell.C:
5672         * lastfiles.C:
5673         * lyx_cb.C:
5674         * lyxserver.C:
5675         * texrow.C:
5676         * text3.C: re-add missing system headers, needed for 2.95.2.
5677
5678 2003-09-05  Angus Leeming  <leeming@lyx.org>
5679
5680         Changes most place everywhere due to the removal of using directives
5681         from support/std_sstream.h.
5682
5683 2003-09-05  Angus Leeming  <leeming@lyx.org>
5684
5685         Replace LString.h with support/std_string.h,
5686         Lsstream.h with support/std_sstream.h,
5687         support/LIstream.h with support/std_istream.h,
5688         support/LOstream.h with support/std_ostream.h.
5689
5690         Changes resulting throughout the tree.
5691
5692 2003-09-05  Angus Leeming  <leeming@lyx.org>
5693
5694         * sgml.h: ensure that the header file can be compiled stand-alone.
5695         * *.C: strip out redundant #includes. (320 in total.)
5696
5697 2003-09-04  Angus Leeming  <leeming@lyx.org>
5698
5699         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5700         here (from getPackages).
5701
5702         * debug.[Ch]: add a new EXTERNAL tag.
5703
5704 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5705
5706         * text2.C (cursorEnd): simplify
5707         (setCursor): adjust
5708         (getColumnNearX): adjust
5709
5710         * text.C (computeBidiTables): adjust
5711         (fill): adjust
5712
5713         * rowpainter.C (paintChars): adjust
5714         (paintSelection): adjust
5715         (paintChangeBar): adjust
5716         (paintText): adjust
5717
5718         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5719         lastPos instead.
5720         (numberOfSeparators): adjust
5721
5722 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5723
5724         * LyXAction.C:
5725         * box.[Ch]:
5726         * lfuns.h:
5727         * lyxfunc.C:
5728         * text3.C: Restricts the mouse click functionality
5729         of insets like bibtex, include, toc and floatlist to the visible
5730         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5731         up the dialogs. Cursor has to be in front of the inset (i.e.
5732         start of row) for this to function.
5733
5734 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5735
5736         * bufferview_funcs.C (currentState): output row information
5737
5738 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5739
5740         * bufferview_funcs.C (currentState): output paragraph position
5741
5742 2003-09-04  Angus Leeming  <leeming@lyx.org>
5743
5744         * FloatList.h: move out #include "Floating.h".
5745         * LaTeX.h: move out #include "DepTable.h".
5746         * LyXAction.h: move out #include "funcrequest.h".
5747         * buffer.h: move out #include "author.h", "iterators.h".
5748         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5749         * lyx_main.h: move out #include "errorlist.h".
5750         * lyxfunc.h: move out #include "FuncStatus.h".
5751         * lyxtext: move out #include "lyxcursor.h".
5752         * paragraph_pimpl.h: move out #include "counters.h".
5753
5754 2003-09-03  Angus Leeming  <leeming@lyx.org>
5755
5756         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5757         preamble_snippets list, enabling us to add snippets to the preamble
5758         only if the snippet was not there already.
5759
5760 2003-09-04  Angus Leeming  <leeming@lyx.org>
5761
5762         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5763
5764 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5765
5766         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5767         update
5768
5769 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5770
5771         * BranchList.C: point fix, earlier forgotten
5772
5773 2003-09-02  Angus Leeming  <leeming@lyx.org>
5774
5775         * box.C (contains): renamed from 'contained' after a fantastic
5776         amount of hot air.
5777
5778 2003-09-02  John Levon  <levon@movementarian.org>
5779
5780         * BufferView.C:
5781         * lyxcursor.h:
5782         * lyxcursor.C:
5783         * lyxfunc.C:
5784         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5785
5786 2003-09-02  John Levon  <levon@movementarian.org>
5787
5788         * text2.C: simplification of cursorEnd(), including partial
5789         fix for bug 1376
5790
5791 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5792
5793         * buffer.C (readFile): add a space
5794
5795 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5796
5797         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5798
5799 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5800
5801         * buffer.C (readFile): new function, take a filename and a
5802         ParagraphList::iterator
5803         (readFile): adjust
5804         (readFile): adjust, make it private. don't use setStream, make
5805         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5806         always contain the filename.
5807
5808         * BufferView.C (insertLyXFile): simplify and make it work for
5809         gzipped files.
5810
5811 2003-08-30  John Levon  <levon@movementarian.org>
5812
5813         * Makefile.am: fix dist (from Kayvan)
5814
5815 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5816
5817         * most files: change to use const Buffer refs
5818
5819 2003-08-27  André Pönitz  <poenitz@gmx.net>
5820
5821         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5822         on top of ownerPar().
5823
5824 2003-08-27  John Levon  <levon@movementarian.org>
5825
5826         * funcrequest.C: properly initialise POD members
5827
5828 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5829
5830         * lyxtext.h (top_y): move top_y from here
5831         * text.C:
5832         * text2.C:
5833         * text3.C:
5834         * BufferView.[Ch]:
5835         * BufferView_pimpl.[Ch]: to here
5836         * frontends/screen.C:
5837         * insets/insettabular.C:
5838         * insets/insettext.C: adjust
5839         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5840
5841 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5842
5843         * BufferView.[Ch]:
5844         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5845
5846 2003-08-26  André Pönitz  <poenitz@gmx.net>
5847
5848         * paragraph_func.[Ch] (outerPar): new function
5849
5850         * paragraph.C:
5851         * paragraph_funcs.C:
5852         * paragraph_funcs.h:
5853         * paragraph_pimpl.C:
5854         * text2.C: remove Inset::par_owner
5855
5856 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5857
5858         * lyxrow_funcs.C:
5859         * lyxtext.h:
5860         * text.C:
5861         * text2.C: eliminates the needFullRow/display() stuff
5862         altogether, putting the logic in metrics/draw in the insets.
5863
5864 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5865
5866         * text2.C (redoParagraphInternal, redoParagraphs):
5867         * text.C (redoParagraph): add a call to updateRowPositions at the
5868         end of each 'metrics-like' call. Remove all others.
5869         (getRow): remove the 'y-computing' version.
5870         (getRowNearY): do not compute nor return the real y. Solve the
5871         'y < 0' problem and simplify.
5872
5873 2003-08-22  Angus Leeming  <leeming@lyx.org>
5874
5875         * *.[Ch]: clean-up of licence and author blurbs.
5876         Also move config.h out of a few .h files and into a few .C files.
5877
5878 2003-08-22  André Pönitz  <poenitz@gmx.net>
5879
5880         * lyxrow.[Ch]: add x_ and *fill_ members
5881
5882         * lyxtext.h:
5883         * text.C:
5884         * rowpainter.C:
5885         * text2.C: adjust/remove prepareToPrint() calls
5886
5887 2003-08-22  André Pönitz  <poenitz@gmx.net>
5888
5889         * lyxrow.[Ch]: add  end_ member
5890
5891         * lyxrow_funcs.C: use LyXRow::end_
5892
5893         * lyxtext.h (singleWidth): add LyXFont parameter
5894
5895         * rowpainter.C:
5896         * text2.C: adjust LyXText::singleWidth() calls
5897
5898         * text.C (redoParagraph): simplify row breaking logic
5899
5900
5901 2003-08-19  André Pönitz  <poenitz@gmx.net>
5902
5903         * funcrequest.C: initialize button_ member
5904
5905         * text3.C:
5906         * rowpainter.[Ch]: interface consolidation
5907
5908 2003-08-18  André Pönitz  <poenitz@gmx.net>
5909
5910         * BufferView.C:
5911         * BufferView_pimpl.C:
5912         * lyxfind.C:
5913         * paragraph_funcs.C:
5914         * rowpainter.C:
5915         * text3.C: remove LyXScreen::draw() and fitCursor calls
5916
5917         * BranchList.h: remove spurious semicolons
5918
5919         * MenuBackend.C: fix branchlist related crash
5920
5921 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5922
5923         * BranchList.[Ch]:
5924         * InsetList.[Ch]:
5925         * LColor.[Ch]:
5926         * LyXAction.C:
5927         * Makefile.am:
5928         * MenuBackend.[Ch]:
5929         * bufferparams.[Ch]:
5930         * factory.C:
5931         * lfuns.h:
5932         * lyxfunc.C:
5933         * text3.C: implements the 'branch inset'
5934         idea. This allows the output of various versions of a document
5935         from a single source version, selectively outputing or suppressing
5936         output of parts of the text.
5937         This implementation contains a 'branch list editor' in a separate
5938         tab of the document settings dialog. Branches are user definable
5939         and have a "display colour" to distinguish them on-screen.
5940
5941         ColorHandler was somewhat cleaned up.
5942         (1) make possible a dynamically growing LColor list by allowing
5943         the graphic context cache to grow along (vector);
5944         (2) eliminate an IMHO unnecessary step in colour allocation.
5945
5946 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5947
5948         * BufferView_pimpl.C: compile fix
5949
5950 2003-08-15  André Pönitz  <poenitz@gmx.net>
5951
5952         * rowpainter.C: remove extra metrics calls
5953
5954         * lyxtext.h: merge the two constructors into a single one,
5955           pass reference to owner's par list
5956
5957         * BufferView_pimpl.C:
5958         * text.C:
5959         * text2.C: adjust
5960
5961 2003-08-15  André Pönitz  <poenitz@gmx.net>
5962
5963         * lyxrow_funcs.[Ch]:
5964         * lyxtext.h:
5965         * paragraph.h:
5966         * paragraph_funcs.C:
5967         * rowpainter.C:
5968         * text.C:
5969         * text2.C:
5970         * text3.C:
5971         * text_funcs.C: split LyXText::rowlist_ into individual
5972         Paragraph::rows_ chunks
5973
5974         * BufferView.[Ch]:
5975         * BufferView_pimpl.[Ch]:
5976         * lyxfind.C:
5977         * lyxtext.h:
5978         * text3.C: remove toggleSelection()
5979
5980 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5981
5982         * bufferlist.C: beautify two alerts (shorter text of buttons)
5983         * buffer.C: Remove redundant ' ' from message
5984         * tabular.h:
5985         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5986         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5987         rename VALIGN_CENTER to VALIGN_MIDDLE
5988
5989 2003-08-11  André Pönitz  <poenitz@gmx.net>
5990
5991         * lyxtext.h (getPar):
5992         * text.C: new function
5993
5994 2003-08-11  André Pönitz  <poenitz@gmx.net>
5995
5996         * Makefile.am:
5997         * tracer.[Ch]: remove unneeded files
5998
5999         * InsetList.[Ch]: remove resizeInsetsLyXText()
6000
6001         * lyxtext.h:
6002         * text.C:
6003         * text2.C:
6004         * text3.C: merge insertParagraphs() and appendParagraph()
6005         remove breakAgain(), update()
6006
6007         * BufferView_pimpl.[Ch]:
6008         * bufferview_funcs.[Ch]:
6009         * lyxfunc.C:
6010         * paragraph.[Ch]:
6011         * rowpainter.C:
6012         * tabular.C: adjust after text & InsetList changes.
6013
6014 2003-08-08  André Pönitz  <poenitz@gmx.net>
6015
6016         * text.C (insertChar, backspace): replace rowlist fiddling
6017         with rebreak of full par
6018
6019         * lyxtext.h:
6020         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6021         checkParagraph, updateInset): removed
6022
6023 2003-08-07  André Pönitz  <poenitz@gmx.net>
6024
6025         * paragraph.C:
6026         * text3.C: merge some LFUN handlers, remove dead code
6027
6028 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6029
6030         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6031
6032 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6033
6034         * text2.C (DEPM): fix part of bug 1255 and 1256
6035
6036 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6037
6038         * BufferView_pimpl.C (workAreaDispatch): change to use
6039         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6040         that are no mouse related.
6041
6042 2003-08-05  André Pönitz  <poenitz@gmx.net>
6043
6044         * BufferView.[Ch]:
6045         * BufferView_pimpl.[Ch]:
6046         * bufferview_funcs.C:
6047         * text2.C:
6048         * text3.C: rip out "deep update"
6049
6050         * textcursor.[Ch] (last_sel_cursor): remove unused member
6051
6052 2003-08-04  André Pönitz  <poenitz@gmx.net>
6053
6054         * BufferView.[Ch]:
6055         * BufferView_pimpl.[Ch]:
6056         * ParagraphParameters.C:
6057         * bufferview_funcs.C:
6058         * lyx_cb.C:
6059         * lyxfind.C:
6060         * lyxfunc.C:
6061         * text.C:
6062         * text2.C:
6063         * text3.C: replace "complicated" BufferView::update(...) calls with
6064         simpler ones.
6065
6066         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6067
6068 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6069
6070         * Makefile.am (lyx_SOURCES): add paper.h
6071
6072 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6073
6074         * Makefile.am: move things around so that both lyx-qt and
6075         lyx-xforms can be built (according to --with-frontend). Then lyx
6076         is a symbolic link to lyx-[firstfrontend]
6077
6078 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6079
6080         * Always use std::endl with lyxerr
6081
6082 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6083
6084         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6085
6086 2003-08-01  André Pönitz  <poenitz@gmx.net>
6087
6088         * BufferView.[Ch]:
6089         * BufferView_pimpl.[Ch]:
6090         * lyxfunc.C:
6091         * text3.C: merge BufferView::repaint() and BufferView::update()
6092
6093 2003-08-01  José Matos  <jamatos@lyx.org>
6094
6095         * buffer.[Ch]: file_format is no longer a buffer data element.
6096
6097 2003-08-01  André Pönitz  <poenitz@gmx.net>
6098
6099         * BufferView.C:
6100         * lyxtext.h:
6101         * text.C:
6102         * text2.C: make redoParagraph more independent of current cursor
6103
6104         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6105         * text.C:
6106         * text2.C: remove unneeded members
6107
6108 2003-07-30  André Pönitz  <poenitz@gmx.net>
6109
6110         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6111
6112         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6113           create a single function...
6114
6115         * paragraph_funcs.C (moveItem): ... here.
6116
6117         * text.C:
6118           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6119
6120 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6121
6122         * LColor.[Ch]: Add comment and greyedout logical colors.
6123
6124 2003-07-30  André Pönitz  <poenitz@gmx.net>
6125
6126         * tabular.C: don't use Assert too heavily. This crashes where it
6127           shouldn't
6128
6129 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6130
6131         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6132         is disabled (bug 1232)
6133
6134 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6135
6136         * factory.C: limited 'arg' scope
6137
6138 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6139
6140         * factory.C: fixed Note submenu issues
6141
6142 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6143
6144         * factory.C: submenu for Note/Comment/Greyedout
6145
6146 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6147
6148         * lyx_main.C (LyX):
6149         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6150
6151 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6152
6153         * LaTeXFeatures.C:
6154         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6155         greyedout. Patch provided by Jürgen Spitzmüller.
6156
6157 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6158
6159         * kbmap.C (read): fix error message when reading bind files
6160
6161 2003-07-29  Angus Leeming  <leeming@lyx.org>
6162
6163         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6164         certainly does not do what it purports to do. I am doing it, and
6165         us, a favour by killing it.
6166
6167 2003-07-28  José Matos  <jamatos@lyx.org>
6168
6169         * buffer.C (readBody, do_writeFile):
6170         * paragraph.C(readParagraph): \end_document replaces \the_end.
6171
6172 2003-07-29  André Pönitz  <poenitz@gmx.net>
6173
6174         * BufferView.[Ch]:
6175         * BufferView_pimpl.[Ch]:
6176         * lyxfunc.C:
6177         * text2.C:
6178         * text3.C:
6179         * textcursor.[Ch]: remove toggleToggle & Co
6180
6181 2003-07-28  José Matos  <jamatos@fep.up.pt>
6182
6183         * buffer.C (readParagraph):
6184         * params_func (readParToken, readParagraph):
6185         * paragraph.C (write): \layout -> \begin_layout.
6186
6187 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6188
6189         * lyxlex_pimpl.C (setFile): clean up slightly.
6190
6191         * bufferparams.h: add compressed var
6192
6193         * buffer_funcs.C (readFile): adjust for LyXLex change
6194         (newFile): ditto + simplify
6195
6196         * buffer.C (writeFile): handle writing of compressed files
6197
6198         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6199         Check if the file is compressed and set a bufferparm if so.
6200
6201         * Makefile.am (lyx_LDADD): remove explicit -lz
6202
6203 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6204
6205         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6206         makeDocBookFile): put the real LyX version in the first line of
6207         the file
6208
6209         * version.h:
6210         * version.C.in: remove lyx_docversion
6211
6212         * tabular.C (write_attribute): add a template-based version to
6213         write enums properly
6214
6215 2003-07-28  André Pönitz  <poenitz@gmx.net>
6216
6217         * lyxtext.h:
6218         * text.C:
6219         * text2.C:
6220         * text3.C: use doubles again for x-coordinates. They are needed.
6221
6222 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6223
6224         * messages.C (getLocaleDir): use lyx_localedir()
6225
6226         * lyxlex_pimpl.C (setFile): compress stuff
6227
6228         * buffer.C (writeFile): add some compression stuff
6229         (do_writeFile): new func, dont call expliti close... will this
6230         breake anything?
6231
6232         * Makefile.am (lyx_LDADD): add -lz
6233
6234 2003-07-28  José Matos  <jamatos@fep.up.pt>
6235
6236         * buffer.C: increment file format.
6237         * paragraph_funcs (readParagraph, readParToken):
6238         * paragraph.C (readParagraph): add \end_layout.
6239
6240 2003-07-27  Angus Leeming  <leeming@lyx.org>
6241
6242         * Makefile.am: remove special casing for configure-time setting of
6243         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6244
6245         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6246         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6247
6248 2003-07-26  André Pönitz  <poenitz@gmx.net>
6249
6250         * paragraph_func.[Ch]:
6251         * paragraph.C (realizeFont): inline it whereever it is used
6252
6253         * rowpainter.C:
6254         * text.C:
6255         * text2.C:
6256         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6257
6258
6259 2003-07-26  André Pönitz  <poenitz@gmx.net>
6260
6261         *       lyxtext.h:
6262         * text.C:
6263         * text2.C: get rid of LyXText::need_break_row
6264
6265 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6266
6267         * toc.[Ch]: put namespace toc inside namespace lyx
6268
6269         * MenuBackend.C (expandToc2): adjust for lyx::toc
6270         (expandToc): ditto
6271
6272         * lyxfunc.C (dispatch): adjust for lyx::find
6273
6274         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6275         lyx::find instead. Reorganize a bit.
6276         (LyXReplace): rename to replace
6277         (LyXFind): rename to find
6278
6279         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6280         (dispatch): ditto
6281
6282 2003-07-26  André Pönitz  <poenitz@gmx.net>
6283
6284         * text.C (setHeightOfRow): restrict scope of temporary variable
6285
6286         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6287           code (never has been used?)
6288
6289 2003-07-27  Asger Alstrup  <alstrup@local>
6290
6291         * text.C (fill): Optimise algorithm to exploit that we can reuse
6292         the LyXFont for many characters.
6293         (setHeightOfRow): Same thing.
6294         (rowBreakPoint): Same thing.
6295
6296 2003-07-26  Asger Alstrup  <alstrup@local>
6297
6298         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6299
6300         * text.C (singleWidth): Spurious font copying in hot-spot
6301         singleWidth avoided. Reorder tests for arabic for efficiency.
6302
6303         * text.C (fill): handle empty paragraphs better.
6304
6305 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6306
6307         * ispell.C:
6308         * encoding.h: add includes
6309
6310         * lyxrc.C: remove reading of bind files
6311
6312         * lyx_main.C (init): setup bindings and menus only if we have a
6313         gui.
6314
6315         * kbmap.C (read): new method. Do the actual reading of bind
6316         files.
6317
6318         * converter.C (dvipdfm_options):
6319         * bufferparams.C:
6320         * lyxrc.C (read):
6321         (output): adapt PAPER_* enums.
6322
6323         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6324
6325         * bufferparams.h: remove paper-related enums from there
6326
6327         * paper.h: New file. A trivial header file to hold paper-related
6328         enums. It should later expand to contain many paper-related
6329         horrors access.
6330
6331         * lyxrc.C: declare extern displayTranslator
6332
6333 2003-07-27  José Matos  <jamatos@fep.up.pt>
6334
6335         * tabular.[Ch] (linuxdoc): add support for tables and figures
6336         (linuxdoc).
6337
6338 2003-07-27  José Matos  <jamatos@fep.up.pt>
6339
6340         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6341         consistency in both functions.
6342         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6343
6344 2003-07-26  Asger Alstrup  <alstrup@local>
6345
6346         * rowpainter.C (paintRows): Change algorithm to work directly on
6347         the insets rather than asking every character in the document
6348         whether its an inset.
6349
6350 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6351
6352         * buffer.C (openFileWrite): factorize some code
6353
6354 2003-07-26  Angus Leeming  <leeming@lyx.org>
6355
6356         * lyx_cb.C:
6357         * lyx_main.[Ch]: replace occurances of system_tempdir with
6358         os::getTmpDir().
6359
6360 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6361
6362         * rename Inset to InsetOld
6363
6364 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6365
6366         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6367         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6368         which I think is a bit clearer. EDIT is gone, since it was
6369         premature optimisation, and broken for mathed anyway.
6370         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6371         with cursor positioning in insets as well (math insets still do not
6372         work, but that's a different story anyway.) It mysteriously
6373         crashes sometimes with undo in the first paragraph, but I'm fairly
6374         confident that this is a compiler bug.
6375
6376 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6377
6378         * paragraph.C (Paragraph): adjust for new clone return type
6379         (operator==): ditto
6380         (copyIntoMinibuffer): ditto
6381
6382 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6383
6384         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6385         by not having a special case, and always doing a full rebreak of
6386         the document after undo.
6387
6388 2003-07-23  Angus Leeming  <leeming@lyx.org>
6389
6390         * factory.C (createInset): InsetExternal::setParams now takes a
6391         Buffer const * arg.
6392
6393 2003-07-23  Angus Leeming  <leeming@lyx.org>
6394
6395         * factory.C (createInset): changed interface to the external and
6396         graphics mailers' string2params functions.
6397
6398 2003-07-23  Angus Leeming  <leeming@lyx.org>
6399
6400         * factory.C (createInset): pass a
6401         Buffer const * parameter to InsetExternalMailer's string2params.
6402
6403 2003-07-22  John Levon  <levon@movementarian.org>
6404
6405         * Thesaurus.h: include the right aiksaurus header
6406
6407 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6408
6409         * MenuBackend.C (expand): check menu shortcuts unconditionally
6410
6411 2003-07-21  Angus Leeming  <leeming@lyx.org>
6412
6413         * factory.C (createInset): pass a
6414         buffer_path parameter to InsetGraphicsMailer's string2params.
6415
6416 2003-07-21  Angus Leeming  <leeming@lyx.org>
6417
6418         * BufferView_pimpl.C (buffer):
6419         * buffer.C (d-tor):
6420         * lyx_main.C (LyX):
6421         * lyxfunc.C (dispatch):
6422         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6423         rather than the grfx shortcut.
6424
6425 2003-07-21  André Pönitz  <poenitz@gmx.net>
6426
6427         * rowpainter.C: remove unused variables
6428
6429         * tabular_funcs.C:
6430         * tabular_funcs.h: move to tabular.C
6431         * Makefile.am: adjust
6432
6433         * tabular.[Ch]: basic optical cleaning
6434
6435         * author.h: pass references, not values
6436
6437 2003-07-18  André Pönitz  <poenitz@gmx.net>
6438
6439         * lyxtext.h:
6440         * metricsinfo.C:
6441         * metricsinfo.h:
6442         * rowpainter.C:
6443         * text.C:
6444         * text2.C:
6445         * text3.C: two-phase drawing for InsetText and InsetTabular
6446         some float -> int changes.
6447
6448 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6449
6450         * lyx_main.C: fix the fix
6451
6452 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6453
6454         * lyx_main.C: fix a crash in batch mode if no files specified
6455         * converter.C: ws
6456
6457 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6458
6459         * format.[Ch] (papersize): moved to BufferParams
6460         * converter.[Ch] (dvips_options): moved to BufferParams
6461         (dvipdfm_options): moved to anon namespace
6462         * bufferparams.[Ch]: added above functions.
6463
6464 2003-07-17  André Pönitz  <poenitz@gmx.net>
6465
6466         * lyxtext.h:
6467         * rowpainter.C:
6468         * text2.C: don't call inset->update() anymore
6469
6470         * metricsinfo.[Ch]: add convenience constructor
6471
6472 2003-07-16  André Pönitz  <poenitz@gmx.net>
6473
6474         * lyxcursor.[Ch]:
6475         * lyxfunc.[Ch]:
6476         * text.C:
6477         * text2.C: replace the LyXCursor::irow_ member with
6478          on-demand computation of the value
6479
6480 2003-07-16  John Levon  <levon@movementarian.org>
6481
6482         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6483
6484 2003-07-15  André Pönitz  <poenitz@gmx.net>
6485
6486         * text.C:
6487         * text2.C: remove no more needed refresh_row
6488
6489 2003-07-15  André Pönitz  <poenitz@gmx.net>
6490
6491         * lyxtext.h:
6492         * rowpainter.C:
6493         * text2.C:
6494         * text3.C: refresh_status tristate -> need_update bool
6495
6496 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6497
6498         * lyxtext.h (init): remove reinit argument (act as if always true)
6499         * text2.C: adjust to that
6500
6501 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6502
6503         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6504         * text3.C: use it to delete selections in some cases
6505         (bugs 441, 673, 702, 954).
6506
6507 2003-07-14  André Pönitz  <poenitz@gmx.net>
6508
6509         * rowpainter.[Ch]: reduce interface
6510
6511 2003-07-14  André Pönitz  <poenitz@gmx.net>
6512
6513         * BufferView_pimpl.C:
6514         * text2.C: adjust after removing unused BufferView * argument
6515
6516 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6517
6518         * text2.C (init): fix a crash fired on resize
6519
6520 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6521
6522         * buffer.[Ch]: added new closing signal
6523         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6524         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6525         BufferView::Pimpl via the closing the signal
6526
6527 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6528
6529         * buffer.[Ch]: take out all bv-related from buffer
6530         * BufferView.C:
6531         * BufferView_pimpl.[Ch]: connect to new signals
6532         * CutAndPaste.C: removed useless asserts
6533         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6534         * lyxvc.[Ch]:
6535         * vc-backend.[Ch]:
6536         * lyxfunc.C: moved view-related funciontality from vc here
6537         * paragraph.C: removed outdated comments
6538         * text.C: ws
6539
6540 2003-07-10  André Pönitz  <poenitz@gmx.net>
6541
6542         * BufferView_pimpl.C:
6543         * tabular.h:
6544         * tabular_funcs.C:
6545         * text.C:
6546         * text2.C: remove InsetText::InnerCache, clean up consequences
6547
6548 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6549
6550         * ispell.C: fix two typos in error messages
6551
6552 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6553
6554         * Extend Note inset to other forms of annotation like Comment
6555         and Greyedout. Right button click gives dialog.
6556
6557         Files modified or added (+):
6558
6559         * insetnote.[Ch]
6560         * FormNote.[Ch]      +
6561         * ControlNote.[Ch]   +
6562         * form_note.fd       +
6563         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6564         frontends/controllers
6565         * xforms/Dialogs.C
6566         * factory.C
6567
6568 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6569
6570         * aspell.C: add missing namespace lyx::support
6571
6572 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6573
6574         * BufferView.[Ch] (newFile): Add
6575         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6576         * LaTeX.[Ch] (message): added this signal and use it
6577         * buffer.[Ch] (busy, message): added these signals and use them
6578         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6579         * converter.C:
6580         * exporter.C:
6581         * format.C:
6582         * importer.C: use buffer signals instead of direct bv calling
6583         * lyx_cb.[Ch] (ShowMessage): removed
6584         * lyx_main.C:
6585         * lyxfunc.C:
6586         * paragraph_funcs.C:
6587         * text2.C: use buffer signals
6588
6589 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6590
6591         * introduce namespace lyx::graphics
6592
6593 2003-07-02  André Pönitz  <poenitz@gmx.net>
6594
6595         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6596
6597 2003-07-01  André Pönitz  <poenitz@gmx.net>
6598
6599         * text.C:
6600         * text2.C:
6601         * text3.C:
6602         * text_funcs.[Ch]:
6603         * textcursor.h:
6604         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6605           text*.C to text_func.C
6606
6607 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6608
6609         * introduce namespace lyx::support
6610
6611 2003-06-30  André Pönitz  <poenitz@gmx.net>
6612
6613         * Chktex.C:
6614         * funcrequest.C:
6615         * lyxtext.h:
6616         * text.C: re-enable --with-included-string
6617
6618 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6619
6620         * textcursor.C: add <config.h>
6621
6622         * text.C (getWord): remove const from word_location arg
6623
6624         * lyxvc.C (getLogFile): fix const type order
6625
6626         * lyxtext.h: remove const from word_location arg, add arg name
6627
6628         * lyxlayout.h: currect type on labeltype.
6629
6630         * importer.C: correct \file
6631
6632         * converter.C (intToFormat): use std:: on ret val, ws changes
6633
6634         * bufferlist.h: correct \file
6635
6636         * buffer.C (makeLinuxDocFile): fix const type order
6637         (makeDocBookFile): ditto
6638         (fillWithBibKeys): use std:: on stdlib args.
6639
6640         * CutAndPaste.C: fix authors.
6641         (availableSelections): use std:: on return vector
6642
6643 2003-06-27  André Pönitz  <poenitz@gmx.net>
6644
6645         * BufferView_pimpl.C:
6646         * bufferview_funcs.C:
6647         * lyxcursor.C:
6648         * lyxcursor.h:
6649         * lyxfunc.C:
6650         * lyxtext.h:
6651         * rowpainter.C:
6652         * text.C:
6653         * text2.C:
6654         * text3.C: remove LyXCursor::row_ member
6655
6656         * lyxtext.h:
6657         * text.C: rename fullRebreak() to partialRebreak() and implement
6658           a fullRebreak() that really bereks fully
6659
6660         * textcursor.h: new struct for cursor-related data
6661
6662 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6663
6664         * lyx_main.C (LyX): get full path of document loaded on the
6665         command line
6666
6667 2003-06-26  André Pönitz  <poenitz@gmx.net>
6668
6669         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6670           remove unused/broken operator>,<,>=.
6671
6672         *       text.C: remove only use of broken operator<= in an Assert().
6673
6674 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6675
6676         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6677         moved errorlist_.clear to showErrorList
6678
6679 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6680
6681         * converter.C (scanLog, runLaTeX):
6682         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6683         move the bv->showErrorList call to the callers
6684         * lyxfunc.C: i.e. here...
6685         * text2.C: and here
6686         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6687         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6688         namespace, the second to...
6689         * buffer_funcs (BufferFormat, parseErrors): added
6690         * errorlist.C (ErrorList(TeXErrors const &)): removed
6691
6692 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6693
6694         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6695
6696 2003-06-24  "Garst R. Reese" <reese@isn.net>
6697
6698         * debug.C: fix typo
6699
6700 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6701
6702         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6703
6704         * version.C.in: change docversion to 1.4
6705
6706 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6707
6708         * buffer.C: fix a bug just introduced
6709
6710 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6711
6712         * buffer.[Ch]: added the parseError signal and use it, removed
6713         sgmlError
6714         * BufferView.[Ch] (addError): moved to ...
6715         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6716         to the Buffer::parseError signal to catch (guess what) parse errors
6717         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6718
6719 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6720
6721         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6722         ability to create a buffer and to return an existing one from
6723         the list. Moved these functions to...
6724         * buffer_funcs.[Ch]: added
6725         * BufferView.[Ch] (loadLyXFile): added
6726         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6727         job removed from bufferlist::loadLyXFile.
6728         * buffer.C (setReadOnly): make it work without view
6729         (i.e added an if (users))
6730
6731 2003-06-19  Angus Leeming  <leeming@lyx.org>
6732
6733         * lfuns.h:
6734         * LyXAction.C (init):
6735         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6736         with LFUN_DIALOG_SHOW <name> <data>.
6737
6738 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6739
6740         * CutAndPaste.C (availableSelections): small compilation fix for
6741         ancient (gcc 2.9x) compilers
6742
6743 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6744
6745         * text3.C (cursorNext): add tmp var
6746
6747         * text2.C (updateCounters): for function calling out of for clause
6748         (replaceSelectionWithString): ditto
6749         (insertStringAsParagraphs): ditto
6750         (getColumnNearX): add tmp var
6751         (setCursorFromCoordinates): add tmp var
6752         (cursorDownParagraph): add tmp var
6753         (deleteEmptyParagraphMechanism): add tmp var
6754
6755         * text.C (insertChar): add tmp var
6756
6757         * rowpainter.C (paintDepthBar): add tmp var
6758
6759         * CutAndPaste.C (availableSelections): potentially check all
6760         paragraphs in a cut to fill the shown strings.
6761
6762 2003-06-18  André Pönitz  <poenitz@gmx.net>
6763
6764         * kbmap.[Ch]: use vector<> instead of list<>
6765
6766 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6767
6768         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6769         pasteSelection with index
6770
6771         * text2.C (pasteSelection): modify, call pasteSelection with index
6772
6773         * paragraph.C (asString): reimplement version with no interval to
6774         call the one with interval.
6775
6776         * lyxtext.h: add index arg to pasteSelection
6777
6778         * MenuBackend.C (MenuItem): handle PasteRecent
6779         (Menu::read::Menutags): add md_pasterecent
6780         (read): handle it
6781         (expandPasteRecent): new function
6782         (expand): use it
6783
6784         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6785
6786         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6787         the limited stack
6788         (availableSelections): new function
6789
6790 2003-06-17  Angus Leeming  <leeming@lyx.org>
6791
6792         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6793
6794 2003-06-17  Angus Leeming  <leeming@lyx.org>
6795
6796         * lfuns.h:
6797         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6798
6799         * lyxfunc.C (dispatch): invoke it.
6800
6801 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6802
6803         * iterators.C (operator++, ParPosition): reintroduce some
6804         const_cast for the benefit of older compilers.
6805
6806 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6807
6808         * text3.C (dispatch): do not modify clipboard when doing
6809         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6810         LFUN_DELETE_SKIP on a selection selection
6811
6812 2003-06-16  André Pönitz  <poenitz@gmx.net>
6813
6814         * BufferView.C:
6815         * buffer.C:
6816         * buffer.h:
6817         * paragraph.C:
6818         * tabular.[Ch]: IU of clone() and getLabelList();
6819
6820 2003-06-13  André Pönitz  <poenitz@gmx.net>
6821
6822         * tabular.h: compactification
6823
6824 2003-06-12  André Pönitz  <poenitz@gmx.net>
6825
6826         * tabular.C:
6827         * tabular.h:
6828         * tabular_funcs.h: some renaming plus whitespace
6829
6830 2003-06-12  André Pönitz  <poenitz@gmx.net>
6831
6832         * BufferView.C:
6833         * BufferView_pimpl.C:
6834         * CutAndPaste.C:
6835         * buffer.C:
6836         * iterators.[Ch]:
6837         * lyxfunc.C:
6838         * text.C:
6839         * toc.C: Return a Paragraph & for ParIterator::operator*()
6840
6841 2003-06-11  John Levon  <levon@movementarian.org>
6842
6843         * lyx_main.C:
6844         * ToolbarBackend.h:
6845         * ToolbarBackend.C: add "Toolbars" section and
6846         put the flags there
6847
6848 2003-06-10  Angus Leeming  <leeming@lyx.org>
6849
6850         * lfuns.h:
6851         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6852
6853         * lyxfunc.C (dispatch): invoke it.
6854
6855 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6856
6857         * main.C: protect <ios> with HAVE_IOS
6858         (main): protect sync_with_stdio with HAVE_IOS
6859
6860 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6861
6862         * text2.C (cutSelection): adjust
6863         (pasteSelection): adjust
6864
6865         * messages.C: handle get of empty string
6866
6867         * main.C (main): use sync_with_stdio(false)
6868
6869         * lyxfunc.C (dispatch): adjust
6870
6871         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6872         (WriteAs): remove unneeded BufferView arg.
6873
6874         * bufferparams.h: use correct types on papersize, papersize2 and
6875         paperpackage.
6876
6877         * bufferparams.C (readToken): adjust for type
6878         (writeLaTeX): add missing cases to switch.
6879
6880         * bufferlist.C (quitWriteBuffer): adjust
6881         (close): adjust
6882
6883         * buffer.C (asciiParagraph): remove some commented code.
6884
6885         * CutAndPaste.C: remove current_view extern variable.
6886         (cutSelection): add BufferParams arg.
6887         (eraseSelection): add BufferParams arg.
6888         (pasteSelection): add Buffer const & arg
6889
6890 2003-06-07  John Levon  <levon@movementarian.org>
6891
6892         * buffer.C:
6893         * paragraph_funcs.C:
6894         * paragraph_pimpl.C:
6895         * text.C:
6896         * text2.C:
6897         * paragraph.h:
6898         * paragraph.C: allow InsetERT to freely space lines,
6899         and some consolidation of code
6900
6901 2003-06-06  José Matos  <jamatos@fep.up.pt>
6902
6903         * buffer.C (makeDocBookFile): fix bug #821
6904
6905 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6906
6907         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6908
6909 2003-06-04  Angus Leeming  <leeming@lyx.org>
6910
6911         * buffer.C: bump format to 224.
6912
6913 2003-06-05  André Pönitz  <poenitz@gmx.net>
6914
6915         * text2.C (redoParagraphs): remove two const_cast<>
6916
6917 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6918
6919         * ParagraphList.h: remove last remnants of NO_STD_LIST
6920
6921 2003-06-03  Angus Leeming  <leeming@lyx.org>
6922
6923         * factory.C (createInset): small change to the way InsetExternal's params
6924         are set.
6925
6926 2003-06-04  André Pönitz  <poenitz@gmx.net>
6927
6928         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6929
6930         * paragraph_pimpl.h:
6931         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6932
6933         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6934
6935         * undo_funcs.C: make some simple cases of undo work again
6936
6937 2003-06-03  John Levon  <levon@movementarian.org>
6938
6939         * ispell.C: HPUX doesn't have sys/select.h
6940         (from Albert Chin)
6941
6942 2003-06-03  John Levon  <levon@movementarian.org>
6943
6944         * CutAndPaste.C: update tabular and include inset
6945         buffer references
6946
6947         * buffer.h:
6948         * paragraph.h:
6949         * paragraph.C: remove owningBuffer(), don't pass Buffer
6950         to clone()
6951
6952         * factory.C: insetGraphicsParams changed
6953
6954 2003-06-02  John Levon  <levon@movementarian.org>
6955
6956         * LyXAction.C:
6957         * factory.C:
6958         * lfuns.h:
6959         * lyxfunc.C:
6960         * text3.C: remove insetparent
6961
6962 2003-06-02  John Levon  <levon@movementarian.org>
6963
6964         * buffer.h:
6965         * buffer.C: fix inset_iterator.end(), move out of line
6966         (bug 1149)
6967
6968 2003-06-01  John Levon  <levon@movementarian.org>
6969
6970         * text3.C: use a proper cut/paste when doing inset
6971         insert (from Jürgen Spitzmüller)
6972
6973 2003-06-01  John Levon  <levon@movementarian.org>
6974
6975         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6976
6977 2003-05-30  André Pönitz  <poenitz@gmx.net>
6978
6979         * rowpainter.C: unify second drawing phase
6980
6981 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6982
6983         * trans_mgr.C: remove one case of current_view
6984
6985         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6986
6987         * paragraph_funcs.h: remove paragraph.h include
6988
6989         * paragraph.h: delete NO_STD_LIST stuff
6990
6991         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6992
6993         * buffer.h: remove paragraph.h include
6994
6995         * ParagraphList.C: delete file
6996
6997         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6998
6999         * toc.C (getTocList): adjust
7000
7001         * paragraph_pimpl.C (validate): adjust
7002
7003         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7004
7005         * paragraph.C (Paragraph): adjust
7006         (getPositionOfInset): use const_iterator, adjust
7007         (bibitem): use const_iterator, adjust
7008         (setInsetOwner): adjust
7009
7010         * iterators.C (operator++): adjust
7011
7012         * InsetList.[Ch]: Replace selfmade iterator with standard
7013         vector::iterator also introduce const_iterator. Remove getPos,
7014         getInset and setInset from InsetTable. Adjust accordingly.
7015
7016         * BufferView.C (lockInset): adjust
7017         (ChangeInsets): adjust
7018
7019         * tabular.[Ch]: delete commented same_id functions
7020
7021 2003-05-28  John Levon  <levon@movementarian.org>
7022
7023         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7024
7025 2003-05-28  André Pönitz  <poenitz@gmx.net>
7026
7027         * metricsinfo.[Ch]: remove 'fullredraw' member
7028
7029 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7030
7031         * lyxtextclass.C (operator): remove caching.
7032
7033 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7034
7035         * text3.C: adjust
7036
7037         * text2.C (cursorBottom): adjust
7038         (setCounter): use ParagraphList::find, adjust
7039
7040         * text.C (workWidth): use ParagraphList::find, adjust
7041
7042         * lyxcursor.C (LyXCursor): adjust
7043
7044         * buffer.C (inset_iterator): adjust
7045
7046         * ParagraphList.h: make iterator(value_type) private, make
7047         ParagraphList a friend of iterator.
7048
7049         * ParagraphList.C (find): new function
7050
7051         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7052
7053 2003-05-27  André Pönitz  <poenitz@gmx.net>
7054
7055         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7056
7057 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7058
7059         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7060
7061 2003-05-26  John Levon  <levon@movementarian.org>
7062
7063         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7064
7065 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7066
7067         * remove same_id from function signatures, adjust.
7068
7069 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7070
7071         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7072
7073         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7074
7075         * paragraph.C (Paragraph): get rid of same_ids parameter
7076
7077         * ParagraphList.C (insert): adjust
7078         (push_back): adjust
7079
7080 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7081
7082         * paragraph_funcs.C (breakParagraph): adjust
7083         (breakParagraphConservative): adjust
7084
7085         * buffer.C (readParagraph): adjust
7086
7087         * ParagraphList.C (insert): take a reference instead of a pointer
7088         (insert): adjust
7089
7090         * paragraph.[Ch] (id): new function
7091
7092         * bufferlist.C (newFile): adjust
7093
7094         * ParagraphList.C (ParagraphList): adjust
7095         (assign): adjust
7096         (push_back): take a reference instead of a pointer.
7097
7098         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7099
7100         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7101         instead.
7102
7103         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7104         set else use old code.
7105
7106         * ParagraphList.C: remove all NO_NEXT code and only compile this
7107         code of NO_STD_LIST is set.
7108
7109 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7110
7111         * BufferView_pimpl.C:
7112         * TextCache.C:
7113         * TextCache.h:
7114         * bufferlist.C:
7115         * errorlist.h:
7116         * format.C:
7117         * format.h:
7118         * graph.C:
7119         * lyxfunc.C:
7120         * lyxrc.C:
7121         * graphics/GraphicsConverter.C:
7122         * graphics/PreviewLoader.C: header adjustment
7123
7124 2003-05-23  Angus Leeming  <leeming@lyx.org>
7125
7126         * LaTeXFeatures.[Ch] (useBabel): new method.
7127         * bufferparams.C (writeLaTeX): use it.
7128
7129 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7130
7131         * ParagraphList.h (set): remove unused function.
7132
7133 2003-05-23  André Pönitz  <poenitz@gmx.net>
7134
7135         * BufferView.C:
7136         * BufferView_pimpl.C:
7137         * buffer.C:
7138         * buffer.h:
7139         * lyxfunc.C:
7140         * undo_funcs.C: setUndo reworked
7141
7142         * iterators.[Ch]: add access to topmost ParagraphList
7143
7144         * lyxtext.[Ch] (workWidth): add a const
7145
7146 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7147
7148         * texrow.[Ch] (increasePos): remove function
7149         * exporter.C (export): removed unused var and outdated comment
7150
7151 2003-05-23  Angus Leeming  <leeming@lyx.org>
7152
7153         * latexrunparams.h: rename fragile as moving_arg.
7154         * paragraph.C (simpleTeXOnePar): ditto.
7155         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7156
7157 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7158
7159         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7160         (createUndo): ditto
7161         (textUndoOrRedo): comment out a currently unused var.
7162
7163         * paragraph.h (NO_NEXT): enable NO_NEXT
7164
7165         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7166
7167         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7168
7169         * exporter.C (Export): adjust for removeAutoInsets removal.
7170
7171         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7172
7173         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7174
7175         * BufferView.[Ch] (removeAutoInsets): delete function
7176
7177 2003-05-22  Angus Leeming  <leeming@lyx.org>
7178
7179         * latexrunparams.h: add a free_spacing variable.
7180
7181         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7182         to pass moving_arg, as the data is stored in runparams.fragile.
7183
7184         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7185         to Inset::latexOptional or to simpleTeXOnePar.
7186
7187         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7188         free_spacing arg to Inset::latexOptional.
7189
7190         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7191         free_spacing arg.
7192
7193 2003-05-22  Angus Leeming  <leeming@lyx.org>
7194
7195         * latexrunparams.h: add fragile and use_babel variables.
7196
7197         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7198         * buffer.C (makeLaTeXFile): store this returned value in
7199         runparams.use_babel, thus passing it to the inset::latex methods.
7200
7201         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7202         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7203
7204         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7205         longer has a fragile arg, as it is stored in runparams.fragile.
7206
7207         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7208         moving_arg parameter as the data is stored in runparams.fragile.
7209
7210         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7211         a fragile parameter as the data is stored in runparams.fragile.
7212
7213 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7214
7215         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7216
7217 2003-05-22  Angus Leeming  <leeming@lyx.org>
7218
7219         * latexrunparams.h: add a 'bool nice' which defaults to false.
7220
7221         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7222         now encapsulated within runparams.
7223
7224         * bufferlist.C (updateIncludedTeXfiles):
7225         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7226
7227 2003-05-22  Angus Leeming  <leeming@lyx.org>
7228
7229         * latexrunparams.h: new file containing struct LatexRunParams.
7230         * Makefile.am: add new file.
7231
7232         * LaTeX.[Ch] (c-tor, run):
7233         * buffer.[Ch] (makeLaTeXFile):
7234         * bufferlist.[Ch] (updateIncludedTeXfiles):
7235         * converter.C (convert, scanLog):
7236         * converter.[Ch] (runLaTeX):
7237         * exporter.C (Export):
7238         * paragraph.[Ch] (simpleTeXOnePar):
7239         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7240         * paragraph_funcs.[Ch] (latexParagraphs):
7241         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7242         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7243         pass around a LatexRunParams parameter.
7244
7245 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7246
7247         * paragraph.[Ch]: remove unused constructor
7248
7249         * ParagraphList.C (erase): new function, taking two iterators
7250
7251 2003-05-22  André Pönitz  <poenitz@gmx.net>
7252
7253         * undo_funcs.C: remove duplicated code
7254
7255         * iterator.[Ch]: operator=
7256
7257 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7258
7259         * tabular.C (SetMultiColumn): ws changes
7260
7261         * rowpainter.C (paintFirst): get rid of a ->previous
7262
7263         * lyx_cb.C (getPossibleLabel): parlist simplification
7264
7265         * BufferView.C (ChangeInsets): simplify slightly.
7266
7267 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7268
7269         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7270         * lfuns.h: new LFUN_SPACE
7271         * lyxfunc.C: protected space has a new lfun
7272         * paragraph_funcs.C: read new space insets
7273         * text3.C:
7274         * factory.C: handle new space insets
7275
7276 2003-05-22  André Pönitz  <poenitz@gmx.net>
7277
7278         * BufferView.C:
7279         * BufferView_pimpl.C:
7280         * buffer.[Ch]:
7281         * lyxfunc.C:
7282         * undo_funcs.C: return a ParIterator from getParFromID.
7283
7284         * iterators.[Ch]: add two const's
7285
7286 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7287
7288         * toc.C (getTocList): adjust
7289
7290         * iterators.[Ch]: rework for parlist
7291
7292         * buffer.C (par_iterator_begin): adjust
7293         (par_iterator_end): adjust
7294
7295         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7296
7297         * BufferView.C (removeAutoInsets): adjust
7298         (ChangeInsets): adjust
7299
7300 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7301
7302         * text.C (top_y): fix bug 1110
7303
7304 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7305
7306         * errorlist.[Ch]: added
7307         * buffer.C:
7308         * BufferView.[Ch]:
7309         * BufferView_pimpl.C:
7310         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7311         instead
7312
7313 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7314
7315         * Makefile.am: ensure that lyx is relinked upon changes to the
7316         various "convenience" libs.
7317
7318 2003-05-20  Angus Leeming  <leeming@lyx.org>
7319
7320         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7321         files are compiled in alphabetical order again.
7322
7323         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7324
7325 2003-05-19  Angus Leeming  <leeming@lyx.org>
7326
7327         * gettext.[Ch]: remove "char const * _(char const *)".
7328
7329 2003-05-19  André Pönitz  <poenitz@gmx.net>
7330
7331         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7332
7333         * Makefile.am:
7334         * BufferView.C:
7335         * DepTable.h:
7336         * LaTeXFeatures.C:
7337         * buffer.C:
7338         * lyxfont.C:
7339         * lyxlex.h:
7340         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7341
7342 2003-05-19  André Pönitz  <poenitz@gmx.net>
7343
7344         * buffer.C:
7345         * lyxlayout.[Ch]:
7346         * lyxtextclass.[Ch]:
7347         * paragraph.C:
7348         * paragraph_funcs.[Ch]:
7349         * text2.C:
7350         * text3.C: more insetenv work
7351
7352 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7353
7354         * ParagraphParameters.C (params2string): small bug fixed
7355
7356 2003-05-16  André Pönitz  <poenitz@gmx.net>
7357
7358         * debug.C:
7359         * bufferview_funcs.C: patch from Kornel Benko to prevent
7360           crash when _(...) is called twice in a statement
7361
7362 2003-05-16  André Pönitz  <poenitz@gmx.net>
7363
7364         * BufferView.C:
7365         * lyxfunc.C:
7366         * text.C:
7367         * text2.C:
7368         * text3.C:
7369         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7370
7371 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7372
7373         * lyx_main.C (init): remove spurious static_cast
7374
7375 2003-05-14  André Pönitz  <poenitz@gmx.net>
7376
7377         * BufferView.C: fix format string
7378
7379 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7380
7381         * BufferView.[Ch] (insertErrors): removed
7382         * BufferView.[Ch] (showErrorList): added
7383         * buffer.C (runChkTeX):
7384         * converter.C (scanLog): call showErrorList instead of inserterrors
7385
7386 2003-05-13  André Pönitz  <poenitz@gmx.net>
7387
7388         * BufferView_pimpl.C:
7389         * buffer.C:
7390         * bufferview_func.C:
7391         * MenuBackend.C:
7392         * lyxfunc.C:
7393         * lyxrc.C:
7394         * tex-accent.C:
7395         * text3.C:
7396         * toc.C:
7397         * tabular_funcs.h: tostr() from its own header
7398
7399         * ParagraphParameters.C:
7400         * ToolbarBackend.C:
7401         * bufferparams.C:
7402         * format.C:
7403         * lyxlex_pimpl.C:
7404         * text3.C: STRCONV()
7405
7406 2003-05-12  André Pönitz  <poenitz@gmx.net>
7407
7408         * BufferView.C:
7409         * BufferView_pimpl.C:
7410         * CutAndPaste.C:
7411         * LaTeX.C:
7412         * LaTeXFeatures.C:
7413         * ParagraphParameters.C:
7414         * buffer.C:
7415         * bufferlist.C:
7416         * bufferparams.C:
7417         * bufferview_funcs.C:
7418         * converter.C:
7419         * counters.C:
7420         * debug.C:
7421         * exporter.C:
7422         * format.C:
7423         * importer.C:
7424         * lyx_cb.C:
7425         * lyx_main.C:
7426         * lyxfont.C:
7427         * lyxfunc.C:
7428         * lyxvc.C:
7429         * paragraph.C:
7430         * paragraph_funcs.C:
7431         * tabular.C:
7432         * tabular_funcs.C:
7433         * text2.C:
7434         * text3.C:  boost::format -> bformat  all over the place
7435
7436
7437 2003-05-09  André Pönitz  <poenitz@gmx.net>
7438
7439         * LColor.[Ch]: Pimpl the #include <map> away
7440
7441 2003-05-09  John Levon  <levon@movementarian.org>
7442
7443         * bufferlist.C: never remove emergency saves
7444
7445 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7446
7447         * Makefile.am: better lib building
7448
7449 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7450
7451         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7452         instead.
7453         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7454         (simpleTeXSpecialChars): adjust
7455         (simpleTeXSpecialChars): adjust
7456         * paragraph.C (simpleTeXOnePar): adjust
7457         * buffer.C (makeLaTeXFile): adjust
7458
7459         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7460
7461         * text2.C (changeDepth): parlist cleanup
7462         (getColumnNearX): ditto
7463
7464         * rowpainter.C (getLabelFont): parlist cleanup
7465
7466         * bufferlist.C (newFile): parlist cleanup
7467
7468         * CutAndPaste.C (eraseSelection): parlist cleanup
7469
7470         * BufferView_pimpl.C (trackChanges): parlist cleanup
7471         (dispatch): ditto
7472
7473         * BufferView.C (lockInset): parlist cleanup.
7474         (ChangeInsets): ditto
7475
7476 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7477
7478         * CutAndPaste.h: Update file header.
7479
7480         * CutAndPaste.C: Update file header.
7481         Store the parts cut out of the Document in a limited_stack.
7482         (copySelection): adjust
7483         (pasteSelection): new function, takes the index in the limited stack.
7484         (nrOfParagraphs): adjust
7485         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7486         simplify error inset insertion.
7487         (checkPastePossible): adjust
7488
7489 2003-05-06  John Levon  <levon@movementarian.org>
7490
7491         * text2.C: don't cast wrap inset to float
7492
7493 2003-05-05  André Pönitz  <poenitz@gmx.net>
7494
7495         * iterator.C:
7496         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7497
7498         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7499           few naked Paragraph *.
7500
7501 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7502
7503         * bufferparams.C: Output warning if a document with missing
7504         TeX document class is loaded
7505         * exporter.C: Disable TeX exports if the document class is missing
7506         * lyxtextclass.C:
7507         * lyxtextclass.h:
7508         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7509         isTeXClassAvailable()
7510
7511 2003-05-03  John Levon  <levon@movementarian.org>
7512
7513         * BufferView.h:
7514         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7515         explicit cursor show/hide
7516
7517         * BufferView_pimpl.h:
7518         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7519         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7520
7521         * lyxfunc.C: hide cursor before dispatching.
7522
7523         * lyx_cb.C:
7524         * lyxfind.C:
7525         * text.C:
7526         * text3.C: remove explicit cursor hides
7527
7528 2003-05-02  André Pönitz  <poenitz@gmx.net>
7529
7530         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7531
7532         * undo_funcs.C:
7533         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7534           linked lists
7535
7536         * text2.C: tiny whitespace
7537
7538 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7539
7540         * undo_funcs.C: almost only ws changes.
7541
7542         * ParagraphList.C (splice): just return if pl is empty.
7543
7544 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7545
7546         * ParagraphList.C (splice): new function.
7547
7548         * CutAndPaste.C (pasteSelection): use it
7549
7550 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7551
7552         * CutAndPaste.C (pasteSelection): remove the last next and
7553         previous from this file.
7554
7555 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7556
7557         * CutAndPaste.C (pasteSelection): more clean up, user proper
7558         ParagraphList functions for pasteing.
7559
7560         * ParagraphList.C (insert): new function, three arg insert
7561
7562 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7563
7564         * ParagraphList.C (insert): new function, three arg insert
7565
7566         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7567         not on paragraphs.
7568
7569 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7570
7571         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7572
7573 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7574
7575         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7576
7577 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7578
7579         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7580         (copySelection): clean up a bit.
7581         (pasteSelection): use make_pair
7582
7583         * ParagraphList.C (ParagraphList): implement copy constructor
7584         (operator=): implement, base on copy constructor.
7585         (assign): new func
7586
7587         * paragraph.C (erase): return a bool
7588
7589         * paragraph_pimpl.C (erasePos): remove function, move contents...
7590         (erase): ... here. Return a bool.
7591         (erase): call erase instead of erasePos.
7592
7593 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7594
7595         * ParagraphList.h: define PitPosPair
7596         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7597         ParagraphList, fix a bug on pasting multiple pars
7598         * text2.C: change interface to C&P
7599
7600 2003-04-30  André Pönitz  <poenitz@gmx.net>
7601
7602         * undo_func.C: revert part of yesterday's patch 2
7603
7604 2003-04-30  John Levon  <levon@movementarian.org>
7605
7606         * LColor.C: s/tabular/table/
7607
7608 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7609
7610         * text3.C (dispatch): do not convert iterator -> pointer
7611         * undo_funcs.C (setCursorParUndo): ditto
7612         * text_funcs.C (transposeChars): ditto
7613
7614         * text2.C (setLayout): ws changes only
7615
7616         * text.C (breakParagraph): do not convert iterator -> pointer
7617         (insertChar): ditto
7618         (acceptChange): ditto
7619         (rejectChange): ditto
7620         (changeCase): ditto
7621         (Delete): ditto
7622         (backspace): ditto
7623
7624         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7625         pointer
7626
7627 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7628
7629         * text3.C (gotoInset): YABG (yet another bad getChar)
7630
7631 2003-04-29  André Pönitz  <poenitz@gmx.net>
7632
7633         * paragraph.h: make operator= private unimplemented as long as
7634           it is unusable
7635
7636         * ParagraphList.C: whitespace
7637
7638         * paragraph.[Ch]:
7639         * paragraph_pimpl.[Ch]:
7640         * paragraph_funcs.C:
7641         * CutAndPaste.C:
7642         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7643
7644         * text2.C:
7645           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7646
7647 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7648
7649         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7650         * paragraph.[Ch] (erase):
7651         * paragraph_pimpl.[Ch] (erase): change return type and value
7652         * text2.C (cutSelection): some rework
7653
7654 2003-04-28  John Levon  <levon@movementarian.org>
7655
7656         * bufferlist.C: changes for unsaved changes dialog
7657
7658 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7659
7660         * bufferlist.C (newFile): set language (messages_) for new
7661         documents also.
7662
7663         * buffer.C (readFile): ws changes only.
7664
7665 2003-04-28  André Pönitz  <poenitz@gmx.net>
7666
7667         * undo_funcs.C:
7668         * lyxfunc.C:
7669         * buffer.[Ch]:
7670         * BufferView_pimpl.C:
7671         * BufferView.C: getParFromID related ParagraphList::iterator changes
7672
7673 2003-04-28  André Pönitz  <poenitz@gmx.net>
7674
7675         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7676           Changes
7677
7678 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7679
7680         * messages.C: remove one more localedir class variable.
7681
7682 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7683
7684         * messages.C (getLocaleDir): singleton generation function
7685         (Pimpl): use it.
7686         (Messages): add a default constructor.
7687
7688         * main.C (main): do not setup localedir here, do not call
7689         gettext_init.
7690
7691         * gettext.C (_): use it.
7692         (gettext_init): delete funciton
7693
7694 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7695
7696         * gettext.C (getLyXMessages): new singleton generating function.
7697
7698         * buffer.C (updateDocLang): adjust
7699
7700         * Makefile.am (messages.o): add target
7701         (main.o): remove target
7702
7703 2003-04-27  John Levon  <levon@movementarian.org>
7704
7705         * bufferlist.C:
7706         * lyx_cb.C:
7707         * lyxfunc.C:
7708         * lyxvc.C: specify cancel button in Alert::prompt
7709
7710 2003-04-26  John Levon  <levon@movementarian.org>
7711
7712         * text3.C:
7713         * lyxfunc.C:
7714         * lfuns.h:
7715         * LyXAction.C: add LFUN_INSET_SETTINGS
7716
7717         * lyxfunc.C: don't enable tabular-feature when there's
7718         just any locking inset
7719
7720 2003-04-26  John Levon  <levon@movementarian.org>
7721
7722         * bufferlist.C: re-add Cancel to buffer close question
7723
7724         * lyxfunc.C: fix import UI a bit
7725
7726 2003-04-25  John Levon  <levon@movementarian.org>
7727
7728         * gettext.C: remove the broken asserts for now
7729
7730 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7731
7732         * messages.C: make case where setlocale cannot comply work better.
7733
7734         * buffer.C (updateDocLang): new function
7735         (changeLanguage): use it
7736         (readFile): use it
7737
7738         * text2.C (setCounter): use B_ a bit.
7739
7740         * lyxlayout.C (Read): be sure to trim the label strings.
7741
7742         * messages.C (Messages): fix typo in comment
7743
7744         * buffer.C (readFile): set message_ after file is loaded.
7745         (makeDocBookFile): remove double return
7746         (changeLanguage): reset message_ upon language change.
7747         (B_): new func, use this to get translated buffer strings.
7748
7749         * main.C: add myself and Jean Marc as authors.
7750
7751 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7752
7753         * messages.[hC]: pimplify Messages, and three different pimpls to be
7754         used in different circumstances.
7755
7756         * gettext.[Ch]: change for use with new message code.
7757
7758 2003-04-24 André Pönitz <poenitz@gmx.net>
7759
7760         * factory.C: support for eqref
7761
7762 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7763
7764         * messages.[Ch]: add missing char
7765
7766         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7767
7768         * messages.[Ch]: New files
7769
7770 2003-04-18  John Levon  <levon@movementarian.org>
7771
7772         * BufferView.h:
7773         * BufferView.C:
7774         * BufferView_pimpl.C:
7775         * lfuns.h:
7776         * LyXAction.C:
7777         * lyxtext.h:
7778         * text2.C: remove layout-copy/paste (bug 778)
7779
7780 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7781
7782         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7783
7784 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7785
7786         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7787         if they succeed. Act accordingly.
7788
7789 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7790
7791         * text2.C (setCharFont): adjust
7792         (setCounter): adjust
7793         (insertStringAsLines): adjust
7794
7795         * text.C (leftMargin): adjust
7796         (setHeightOfRow): adjust
7797
7798         * rowpainter.C (paintFirst): adjust
7799         (paintLast): adjust
7800
7801         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7802         (outerHook): ditto
7803         (isFirstInSequence): ditto
7804         (getEndLabel): ditto
7805         (outerFont): adjust
7806
7807         * paragraph.C (getParLanguage): comment out some hard stuff.
7808
7809         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7810         (sgmlError): ditto
7811         (simpleDocBookOnePar): ditto
7812         (makeDocBookFile): use ParagraphList::iterator
7813
7814         * CutAndPaste.C (pasteSelection): adjust
7815
7816 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7817
7818         * text2.C (getFont): adjust
7819         (getLayoutFont): adjust
7820         (getLabelFont): adjust
7821
7822         * paragraph_funcs.C (TeXOnePar): adjust
7823
7824         * buffer.C (simpleLinuxDocOnePar): adjust
7825         (simpleDocBookOnePar): adjust
7826
7827         * CutAndPaste.C (pasteSelection): adjust
7828
7829         * BufferView.C (getEncoding): adjust
7830
7831         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7832
7833 2003-04-16  John Levon  <levon@movementarian.org>
7834
7835         * lyxfind.C: use parlist stuff for search/changes
7836
7837 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7838
7839         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7840
7841         * text2.C (deleteEmptyParagraphMechanism): adjust
7842
7843         * text2.[Ch] (ownerParagraph): delete func (both of them
7844
7845 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7846
7847         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7848
7849 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7850
7851         * ParagraphList.C: prepare for NO_NEXT
7852
7853 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7854
7855         * text2.C (getFont): adjust
7856         (getLayoutFont): adjust
7857         (getLabelFont): adjust
7858
7859         * paragraph.C (getFont): adjust
7860         (getLabelFont): adjust
7861         (getLayoutFont): adjust
7862
7863         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7864
7865 2003-04-15  John Levon  <levon@movementarian.org>
7866
7867         From Angus Leeming
7868
7869         * lyx_main.C: handle Include in .ui files
7870
7871 2003-04-15  John Levon  <levon@movementarian.org>
7872
7873         * MenuBackend.C: make the doc files length shorter
7874
7875         * ToolbarBackend.h:
7876         * ToolbarBackend.C: handle toolbar placement flags,
7877         Minibuffer
7878
7879 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7880
7881         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7882         adjust
7883
7884         * paragraph_funcs.C (TeXOnePar): adjust
7885
7886         * paragraph.C (getLabelFont): add outerfont arg, adjust
7887         (getLayoutFont): ditto
7888         (simpleTeXOnePar): adjust
7889
7890         * paragraph_pimpl.C (realizeFont): delete func
7891
7892 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7893
7894         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7895         row argument, constify cur argument.
7896
7897 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7898
7899         * text2.C (getFont): adjust
7900         (getLayoutFont): adjust
7901         (getLabelFont): adjust
7902
7903         * paragraph_funcs.C (TeXOnePar): adjust
7904         (outerFont): new func...
7905         (realizeFont): ...moved out from here, changed this to facilitate
7906         transition
7907
7908         * paragraph.C (getFont): take outerfont as arg, adjust
7909         (simpleTeXOnePar): add outerfont arg, adjust
7910
7911         * buffer.C (simpleLinuxDocOnePar): adjust
7912         (simpleDocBookOnePar): adjust
7913
7914         * CutAndPaste.C (pasteSelection): adjust
7915
7916         * BufferView.C (getEncoding): adjust
7917
7918 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7919
7920         * text2.C (setCharFont): adjust
7921         (setCounter): adjust
7922
7923         * text.C (leftMargin): adjust
7924         (setHeightOfRow): adjust
7925
7926         * rowpainter.C (paintFirst): adjust
7927         (paintLast): adjust
7928
7929         * paragraph_pimpl.C (realizeFont): adjust
7930
7931         * paragraph.C (isFirstInSequence): move from here...
7932         * paragraph_funcs.C (isFirstInSequence): ...to here
7933
7934         * paragraph.C (outerHook): move from here...
7935         * paragraph_funcs.C (outerHook): ...to here
7936
7937         * paragraph.C (depthHook): move from here...
7938         * paragraph_funcs.C (depthHook): ...to here
7939
7940         * paragraph.C (getEndLabel): move from here...
7941         * paragraph_funcs.C (getEndLabel): ...to here
7942
7943         * text2.C (realizeFont): move from here...
7944         * paragraph_funcs.C (realizeFont): ...to here
7945
7946 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7947
7948         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7949
7950 2003-04-14  Angus Leeming  <leeming@lyx.org>
7951
7952         * LColor.[Ch]: scrap LColor mathcursor.
7953
7954 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7955
7956         * lyxlex.[Ch] (text): delete function
7957         * trans.C (Load): adjust
7958         * paragraph_funcs.C (readParToken): adjust
7959
7960 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7961
7962         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7963         vector<char> instead of a char[].
7964
7965         * lyxlex_pimpl.C (getString): adjust
7966         (next): adjust
7967         (lex): use getString
7968         (eatLine): adjust
7969         (nextToken): adjust
7970
7971         * lyxlex.C (text): use pimpl_->getString()
7972         (getBool): ditto
7973         (findToken): ditto
7974
7975 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7976
7977         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7978         (makeFontEntriesLayoutSpecific): temp var for par.size()
7979         (setLayout): temp var for ownerParagraphs().end()
7980         (fullRebreak): temp var for rows().end()
7981         (selectionAsString): temp var for boost::next(startpit), realize
7982         that the while really is a regular for loop.
7983         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7984         setCursor in one place.
7985         (setParagraph): temp vr for ownerParagraphs().end()
7986         (updateCounters): make the while loop a for loop
7987         (cutSelection): temp var for ownerParagraphs().end()
7988         (updateInset): make the do {} while() a regular for loop
7989         (getCursorX): use temp vars
7990         (setCurrentFont): use temp vars
7991         (getColumnNearX): use temp vars
7992
7993 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7994
7995         * text.C (transformChar): use temp var for getChar
7996         (computeBidiTables): use temp var for row->par()
7997         (fill): move temp vars for row->par() and pit->layout() earlier in
7998         the function.
7999         (labelFill): use temp var for row->par()
8000         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8001         asc and desc, realize that pit never changes and that firstpit is
8002         just a duplicate and not needed. Exchange rit->par() with pit in a
8003         lot of places.
8004         (breakAgain): use a temp var for boost::next(rit)
8005         (breakAgainOneRow): ditto
8006         (breakParagraph): use a temp var for rows().begin()
8007         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8008         (cursorRightOneWord): use temp var for cursor.par() and
8009         cursor.pos(), remove usage of tmpcursor.
8010         (cursorLeftOneWord): use temp var for cursor.par() and
8011         cursor.pos() only set cur at end of function.
8012
8013 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8014
8015         * text.C, text2.C: exchange all usage of Paragraph::next with
8016         boost::next(ParagraphList::iterator)
8017
8018         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8019
8020         * text2.C (cursorTop): simplify implementation
8021         (cursorBottom): ditto
8022         (setParagraph): use ParagraphList::iterator
8023         (setCurrentFont): adjust
8024         (getColumnNearX): adjust
8025         (cursorRight): adjust
8026         (cursorLeft): remove usage of Paragraph::previous
8027         (cursorUpParagraph): ditto
8028         (deleteEmptyParagraphMechanism): slight cleanup
8029
8030         * text.C (isBoundary): take a Paragraph const & instead of a
8031         pointer as arg.
8032         (addressBreakPoint): ditto
8033         (leftMargin): remove usage of Paragraph::previous.
8034         (setHeightOfRow): ditto
8035         (cursorLeftOneWord): ditto
8036         (selectNextWordToSpellcheck): ditto
8037         (Delete): ditto
8038         (backspace): ditto
8039         (breakParagraph): remove one usage of Paragraph::next
8040         (redoParagraph): ditto
8041         (acceptChange): ditto
8042         (insertChar): adjust
8043         (rowBreakPoint): adjust
8044
8045         * bufferview_funcs.C (toggleAndShow): adjust
8046
8047 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8048
8049         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8050         methods to access it.
8051         * lyxtext.h:
8052         * text.C: Added updateRowPositions to compute all row positions.
8053         Make top_y and getRowNearY() to use the cached y position
8054
8055 2003-04-11  John Levon  <levon@movementarian.org>
8056
8057         * text.C (rowBreakPoint): reintroduce the labelEnd
8058         checks, code copied from the row fill stuff. Deep voodoo.
8059
8060         * text.C (fill): add a comment and debugging for the
8061         next poor soul.
8062
8063 2003-04-11  John Levon  <levon@movementarian.org>
8064
8065         * text.C: make sure fullrow insets get wrapped to the next line,
8066         even when they're in a manual label
8067
8068 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8069
8070         * text2.C (insertParagraph): make it take ParagraphList::iterator
8071         as arg.
8072         (setLayout): make it return ParagraphList::iterator
8073         (redoParagraphs): ditto
8074         (setCounter): ditto
8075         (checkParagraph): ditto
8076
8077         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8078
8079         * text2.C: adjust several funcs.
8080         (realizeFont): take a ParagraphList::iterator as arg.
8081         (getLayoutFont): ditto
8082         (getLabelFont): ditto
8083         (setCharFont): ditto
8084
8085         * text.C: adjust several funcs.
8086
8087 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8088
8089         * text.C (selectNextWordToSpellcheck): don't accidentally
8090         skip insets
8091
8092 2003-04-10  John Levon  <levon@movementarian.org>
8093
8094         * ToolbarBackend.C (getIcon): special handling for
8095         LFUN_MATH_DELIM
8096
8097 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8098
8099         * text2.C (cursorRight): a getChar assert fixed
8100
8101 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8102
8103         * text2.C (getFont): change to take a ParagraphList::iterator
8104         instead of Paragraph*
8105         Adjust several functions.
8106
8107         * text.C (transformChar): change to take a ParagraphList::iterator
8108         instead of Paragraph*
8109         (singleWidth): ditto
8110         Adjust several functions.
8111
8112         * rowpainter.C: adjust several functions
8113         * rowpainter.h:store a ParagraphList::iterator and not a
8114         Paragraph&.
8115
8116
8117 2003-04-09  John Levon  <levon@movementarian.org>
8118
8119         * lyxfunc.C:
8120         * lfuns.h:
8121         * LyXAction.h:
8122         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8123         and the "help" bits as well
8124
8125 2003-04-09  John Levon  <levon@movementarian.org>
8126
8127         * ToolbarBackend.h:
8128         * ToolbarBackend.C: allow multiple toolbars
8129
8130 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8131
8132         * undo_funcs.C (setCursorParUndo): adjust
8133
8134         * text_funcs.C (transposeChars): adjust
8135
8136         * text3.C (gotoNextInset): adjust
8137         (dispatch): adjust
8138
8139         * text2.C (setLayout): adjust
8140         (changeDepth): adjust
8141         (setFont): adjust
8142         (redoParagraphs): adjust
8143         (selectionAsString): adjust
8144         (setParagraph): adjust
8145         (insertInset): adjust
8146         (cutSelection): adjust
8147         (copySelection): adjust
8148         (pasteSelection): adjust
8149         (insertStringAsLines): adjust
8150         (updateInset): adjust
8151         (setCursor): change to take a ParagraphList::iterator parameter
8152         (setCursorIntern): change to take a ParagraphList::iterator parameter
8153         (setCurrentFont): adjust
8154         (cursorLeft): adjust
8155         (cursorRight): adjust
8156         (deleteEmptyParagraphMechanism): adjust
8157
8158         * text.C (breakParagraph): adjust
8159         (insertChar): adjust
8160         (acceptChange): adjust
8161         (rejectChange): adjust
8162         (selectNextWordToSpellcheck): adjust
8163         (changeCase): adjust
8164         (Delete): adjust
8165         (backspace): adjust
8166
8167         * lyxfind.C (SearchForward): adjust
8168         (SearchBackward): adjust
8169         (nextChange): adjust
8170
8171         * lyxcursor.C (par): adjust
8172
8173         * lyxcursor.h: store a ParagraphList::iterator instead of a
8174         Paragraph*
8175
8176         * lyx_cb.C (getPossibleLabel): adjust
8177
8178         * bufferview_funcs.C (toggleAndShow): adjust
8179
8180         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8181         (dispatch): adjust
8182
8183         * BufferView.C (removeAutoInsets): adjust
8184         (lockedInsetStoreUndo): adjust
8185
8186 2003-04-09  John Levon  <levon@movementarian.org>
8187
8188         * ToolbarBackend.C: try icon without argument
8189         if with argument fails
8190
8191 2003-04-08  John Levon  <levon@movementarian.org>
8192
8193         * ToolbarBackend.h:
8194         * ToolbarBackend.C: add getIcon(), handle tooltip,
8195         and change from "Icon" to "Item".
8196
8197 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8198
8199         * BufferView.C (lockInset): another bad getchar crunched
8200
8201 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8202
8203         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8204         again)
8205
8206 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8207
8208         * lyxfind.C (searchForward, searchBackwards): bug 782
8209
8210 2003-04-07  John Levon  <levon@movementarian.org>
8211
8212         * paragraph.C: remove dead comment
8213
8214         * text.C: remove troublesome depth-fiddling code
8215         in leftMargin() and rightMargin() (bug 1017)
8216
8217         * text.C: fix breaking of rows in nested lists
8218         (bug 1004)
8219
8220         * text2.C (updateCounters): fix up depth values
8221         (bug 1013)
8222
8223 2003-04-07  John Levon  <levon@movementarian.org>
8224
8225         * BufferView_pimpl.C: clear message when doc finishes resizing,
8226         and after a mouse event
8227
8228         * lyxfunc.C: clear message after exiting inset
8229
8230 2003-04-07  John Levon  <levon@movementarian.org>
8231
8232         * bufferview_funcs.C: show math status not outside
8233         status in the statusbar
8234
8235 2003-04-07  John Levon  <levon@movementarian.org>
8236
8237         * lyxfunc.C: note status changed after a depth change
8238
8239 2003-04-04  Angus Leeming  <leeming@lyx.org>
8240
8241         * LaTeX.h: move AuxInfo operator==, != out of line.
8242         Remove LaTeX virtual destructor; nothing derives from it.
8243         Move operator()() out of public area and rename it startscript().
8244         Change protected for private.
8245
8246 2003-04-04  Angus Leeming  <leeming@lyx.org>
8247
8248         * lyxfunc.C:
8249         * text2.C: remove unneeded #includes.
8250
8251 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8252
8253         * text2.C (dEPM): fix the heigth of the next row
8254
8255 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8256
8257         * text.C: squashed an invalid getChar requester + some ws changes
8258
8259 2003-04-03  John Levon  <levon@movementarian.org>
8260
8261         * bufferview_funcs.h:
8262         * bufferview_funcs.C:
8263         * lyxfunc.C:
8264         * lyxtext.h:
8265         * text2.C: make getStatus work for the env depth lfuns
8266
8267 2003-04-03  John Levon  <levon@movementarian.org>
8268
8269         * bufferview_funcs.h:
8270         * bufferview_funcs.C:
8271         * lyxfunc.C:
8272         * lyxtext.h:
8273         * text2.C: parlistize decDepth(), by merging it with incDepth()
8274
8275 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8276
8277         * lyxrow.h: store a ParagraphList::iterator instead of a
8278         Paragraph* and adjust other class functions to suit.
8279
8280         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8281         above.
8282
8283 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8284
8285         * text2.C (setCursor): do not anchor to cursor row for the time being
8286
8287 2003-04-02  John Levon  <levon@movementarian.org>
8288
8289         * LyXAction.C:
8290         * lfuns.h:
8291         * lyx_main.C:
8292         * lyxtext.h:
8293         * text.C:
8294         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8295
8296 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8297
8298         * paragraph.h: make ParagraphList and ParagraphList::iterator
8299         friends of Paragraph.
8300
8301         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8302
8303         * ParagraphList.C: Use the private next_ and previous_ from
8304         Paragraph.
8305
8306 2003-04-01  John Levon  <levon@movementarian.org>
8307
8308         * ToolbarBackend.h:
8309         * ToolbarBackend.C:
8310         * Makefile.am: rename, remove defaults gunk
8311
8312         * MenuBackend.h:
8313         * MenuBackend.C: remove defaults gunk
8314
8315         * Languages.h:
8316         * Languages.C: remove defaults gunk
8317
8318         * lyx_main.h:
8319         * lyx_main.C: error out if files couldn't be found.
8320
8321 2003-04-02  John Levon  <levon@movementarian.org>
8322
8323         * text2.C: make incDepth() use parlist
8324
8325 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8326
8327         * undo_funcs.C (firstUndoParagraph): adjust
8328
8329         * text3.C (gotoInset): adjust
8330         (dispatch): adjust, and rewrite loop.
8331
8332         * text2.C (init): adjust, and rewrite loop.
8333         (redoParagraphs): adjust
8334         (updateInset): adjust, and rewrite loop.
8335         (deleteEmptyParagraphMechanism): adjust
8336
8337         * tabular.C (LyXTabular): adjust
8338         (SetMultiColumn): adjust
8339         (TeXRow): adjust
8340
8341         * lyxtext.[Ch] (ownerParagraph): delete function
8342         (ownerParagraphs): new function returns a ParagraphList.
8343
8344         * BufferView.C (removeAutoInsets): adjust
8345         (insertErrors): adjust
8346         (setCursorFromRow): adjust
8347
8348 2003-04-01  Angus Leeming  <leeming@lyx.org>
8349
8350         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8351         in the frontends.
8352
8353 2003-04-02  John Levon  <levon@movementarian.org>
8354
8355         * lyxtext.h:
8356         * text.C:
8357         * Makefile.am:
8358         * text_funcs.h:
8359         * text_funcs.C: make transposeChars a free function
8360
8361         * lyxrow_funcs.C: remove wrong comment
8362
8363 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8364
8365         * lyxtext.h: adjust
8366         * rowpainter.C: adjust
8367         * text.C: adjust
8368         * text2.C: adjust
8369         * text3.C: adjust
8370
8371         * lyxrow_funcs. [Ch]: new files
8372
8373         * lyxrow.[Ch]: remove next and previous pointers
8374         (next,previous): remove accessor functions
8375         (isParEnd): move to lyxrow_funcs
8376         (lastPos): move to lyxrow_funcs
8377         (nextRowIsAllInset): move to lyxrow_funcs
8378         (lastPrintablePos): move to lyxrow_funcs
8379         (numberOfSeparators): move to lyxrow_funcs
8380         (numberOfHfills): move to lyxrow_funcs
8381         (numberOfLabelHfills): move to lyxrow_funcs
8382         (hfillExpansion): move to lyxrow_funcs
8383
8384         * lyxfunc.C: adjust
8385
8386         * bufferview_funcs.C (toggleAndShow): adjust
8387
8388         * RowList.h: Remove class RowList from file leave just a
8389         std::list<Row>.
8390
8391         * RowList.C: delete file
8392
8393         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8394         and lyxrow_funcs.h
8395
8396 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8397
8398         * text3.C (cursorPrevious): adjust
8399         (cursorNext): adjust
8400         (dispatch): adjust
8401
8402         * text2.C (redoHeightOfParagraph): adjust
8403         (redoDrawingOfParagraph): adjust
8404         (setCursor): adjust
8405
8406         * text.C (breakParagraph): adjust
8407         (insertChar): adjust
8408         (backspace): adjust
8409
8410         * rowpainter.C (RowPainter): adjust
8411         (leftMargin): simplify and adjust
8412         (most rowpainter functions): adjust.
8413
8414         * rowpainter.h: store the row as RowList::iterator not as Row*
8415
8416         * lyxcursor.C (row): taka RowList::iterator as arg
8417         (irow): ditto
8418
8419         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8420         of Row*.
8421
8422 2003-04-01  Angus Leeming  <leeming@lyx.org>
8423
8424         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8425         stuff like bool Bool.
8426
8427 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8428
8429         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8430         rewrite a loop
8431
8432 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8433
8434         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8435         RowList::iterator.
8436
8437         * lyxtext.h (rows): drop one version and leve a const variant that
8438         returns a RowList::iterator.
8439
8440 2003-03-31  Angus Leeming  <leeming@lyx.org>
8441
8442         * text.C (fill): ensure that the signature is the same as that in the
8443         header file.
8444
8445 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8446
8447         * text2.C (redoParagraphs): adjust
8448         (updateCounters): adjust
8449         (checkParagraph): adjust
8450         (getColumnNearX): adjust and reformat a bit.
8451
8452         * text.C (top_y): adjust
8453         (workWidth): adjust
8454         (leftMargin): adjust
8455         (prepareToPrint): adjust
8456         (getRow): adjust
8457         (getRowNearY): adjust
8458
8459         * lyxtext.h: make rowlist_ mutable.
8460
8461         * RowList.h: add const_iterator
8462         * RowList.C: adjust for RowList::const_iterator.
8463
8464         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8465         adjust.
8466
8467 2003-03-31  John Levon  <levon@movementarian.org>
8468
8469         * lyxrc.h:
8470         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8471
8472         * lyx_main.C: set default fonts from using lyx_gui funcs
8473
8474         * exporter.C: pdf_mode moved from lyxrc
8475
8476         * lyx_cb.C:
8477         * lyxfunc.C: changes from above
8478
8479 2003-03-31  John Levon  <levon@movementarian.org>
8480
8481         * lyx_main.C: fix to the last fix
8482
8483 2003-03-31  John Levon  <levon@movementarian.org>
8484
8485         * bufferlist.C: "Load original" -> "Load Original"
8486
8487         * converter.C:
8488         * exporter.C:
8489         * importer.C:
8490         * lyx_main.C:
8491         * format.C: more Alert cleanups
8492
8493 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8494
8495         * text2.C (removeParagraph): make it take a RowList::iterator as
8496         arg, adjust.
8497         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8498         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8499
8500         * text.C (anchor_row): make it take a RowList::iterator as arg,
8501         adjust.
8502         (computeBidiTables): make it take a const reference to Row instead
8503         of Row pointer, adjust.
8504         (leftMargin): make it take a RowList::iterator as arg, adjust.
8505         (rowBreakPoint): adjust
8506         (breakAgainOneRow): make it take a RowList::iterator as arg,
8507         adjust.
8508         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8509
8510         * bufferview_funcs.C (toggleAndShow): adjust
8511
8512 2003-03-30  John Levon  <levon@movementarian.org>
8513
8514         * Makefile.am:
8515         * BoostFormat.h:
8516         * boost-inst.C: moved to support
8517
8518         * several files: changes as a result
8519
8520 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8521
8522         * text2.C (LyXText): adjust.
8523         (init): adjust
8524         (removeRow): make it take a RowList::iterator as arg, adjust.
8525         (fullRebreak): adjust
8526         (deleteEmptyParagraphMechanism): adjust
8527         (clearPaint): adjust
8528         (postPaint): adjust
8529
8530         * text.C (top_y): adjust
8531         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8532         (breakAgain): make it take a RowList::iterator as arg, adjust.
8533         (breakParagraph): adjust
8534         (insertChar): adjust
8535         (backspace): adjust
8536
8537         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8538         need_break_row, and refresh_row.
8539
8540         * text3.C (dispatch): adjust
8541
8542         * text2.C (checkParagraph): adjust
8543         (setCursor): adjust
8544         (setCursorFromCoordinates): adjust
8545
8546         * text.C (top_y): adjust
8547         (workWidth): adjust
8548         (getRow): make it return a RowList::iterator, adjust
8549         (getRowNearY): make it return a RowList::iterator, adjust
8550
8551         * text2.C (init): adjust
8552         (insertRow): remove function
8553         (insertParagraph): adjust
8554         (redoParagraphs): adjust
8555         (fullRebreak): adjust
8556         (updateCounters): adjust
8557
8558         * text.C (top_y): rewrite to use RowList iterators.
8559         (top_y): adjust
8560         (setHeightOfRow): rewrite to sue RowList iterators.
8561         (appendParagraph): adjust
8562         (breakAgain): adjust
8563         (breakAgainOneRow): adjust
8564         (breakParagraph): adjust
8565         (getRow): adjust
8566         (getRowNearY): adjust, and remove commented code.
8567
8568         * lyxtext.h (firstRow): delete function
8569         (lastRow): delete function
8570         (rows): new function (const and non-const versions.)
8571         (insertRow): delete function
8572
8573         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8574
8575 2003-03-29  John Levon  <levon@movementarian.org>
8576
8577         * BufferView_pimpl.C: always update scrollbar top
8578         because pasting text when we're anchored could mean we
8579         miss an update altogether
8580
8581 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8582
8583         * text2.C (init): use rowlist_.end() and not 0.
8584         (insertRow): change to take a RowList::iterator as arg, adjust
8585         for this.
8586         (insertParagraph): change to take a RowList::iterator as arg,
8587         adjust for this.
8588         (redoParagraphs): remove some debug msgs.
8589
8590         * text.C (appendParagraph): change to take a RowList::iterator
8591         arg, adjust for this.
8592         (breakAgain): add an assert
8593         (breakAgainOneRow): ditto
8594
8595 2003-03-29  John Levon  <levon@movementarian.org>
8596
8597         * text2.C: do not clear selection after inc/decDepth
8598         (bug 550)
8599
8600 2003-03-29  John Levon  <levon@movementarian.org>
8601
8602         * BufferView.C:
8603         * buffer.C: fix broken strerrors according to Lars
8604
8605 2003-03-29  John Levon  <levon@movementarian.org>
8606
8607         * converters.C: more Alert cleanups
8608
8609 2003-03-29  John Levon  <levon@movementarian.org>
8610
8611         * bufferview_funcs.C: remove pointless Alert
8612
8613         * buffer.C: fix confusing error message when
8614         a template is chmoded 000
8615
8616 2003-03-29  John Levon  <levon@movementarian.org>
8617
8618         * BufferView.C:
8619         * BufferView.h:
8620         * BufferView_pimpl.C: Alert fixes
8621
8622         * Makefile.am:
8623         * tabular.C:
8624         * tabular-old.C: remove unused table compat reading
8625
8626 2003-03-29  John Levon  <levon@movementarian.org>
8627
8628         * BufferView.C:
8629         * buffer.C:
8630         * lyx_cb.h:
8631         * lyx_cb.C: more Alert cleanups
8632
8633         * lyxfunc.C: don't allow chktex if not latex document
8634
8635 2003-03-29  John Levon  <levon@movementarian.org>
8636
8637         * lyx_cb.C:
8638         * BufferView.C:
8639         * buffer.C: warnings pushed down from support/,
8640         kill err_alert
8641
8642 2003-03-29  John Levon  <levon@movementarian.org>
8643
8644         * lyxfunc.C: safety check for C-r (revert)
8645
8646 2003-03-29  John Levon  <levon@movementarian.org>
8647
8648         * bufferlist.h:
8649         * bufferlist.C: several UI fixes using Alert::prompt.
8650         Fix the pointless looping quit code. Fix stupid revert
8651         behaviour (bug 938)
8652
8653         * lyxvc.h:
8654         * lyxvc.C:
8655         * lyx_cb.C: use Alert::prompt
8656
8657         * lyx_main.C: remove a silly question
8658
8659         * lyxfunc.C: remove a couple of silly questions,
8660         use Alert::prompt
8661
8662 2003-03-28  John Levon  <levon@movementarian.org>
8663
8664         * text2.C: fix bug 974 (End on empty par)
8665
8666 2003-03-28  John Levon  <levon@movementarian.org>
8667
8668         * BufferView_pimpl.C:
8669         * LyXAction.C:
8670         * lfuns.h: remove do-nothing math greek lfuns
8671
8672 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8673
8674         * lyxgluelength.h (isValidGlueLength): add default arg on
8675         parameter 2. Remove default arg from friend in class.
8676
8677         * lyxlength.h (isValidLength): add default arg on parameter 2.
8678         Remove default arg from friend in class.
8679
8680         * text2.C (LyXText): adjust, initialize refresh_row.
8681         (init): adjust
8682         (removeRow): adjust
8683         (insertRow): adjust
8684         (insertParagraph): adjst
8685         (redoParagraphs): adjust
8686         (fullRebreak): adjust
8687         (updateCounters): adjust
8688         (deleteEmptyParagraphMechanism): first attempt at fixing a
8689         crashing bug.
8690
8691         * text.C (top_y): adjust
8692         (setHeightOfRow): adjust
8693         (getRow): adjust
8694         (getRowNearY): adjust
8695
8696         * lyxtext.h: include RowList.h
8697         (~LyXText): not needed anymore, deleted.
8698         (firstRow): modify for RowList
8699         (lastRow): new function
8700         Delete firstrow and lastrow class variables, add a Rowlist
8701         rowlist_ class variable.
8702
8703         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8704         paragraph is empty.
8705
8706         * RowList.C (insert): fix case where it == begin().
8707
8708 2003-03-26  Angus Leeming  <leeming@lyx.org>
8709
8710         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8711         the thesaurus dialog.
8712
8713 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8714
8715         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8716
8717         * RowList.[Ch]: new files
8718
8719         * ParagraphList.C (erase): handle the case where it == begin
8720         correctly.
8721
8722 2003-03-25  John Levon  <levon@movementarian.org>
8723
8724         * Makefile.am:
8725         * aspell_local.h:
8726         * aspell.C: add new aspell support
8727
8728         * lyxrc.h:
8729         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8730         have it accessible.
8731
8732 2003-03-25  Angus Leeming  <leeming@lyx.org>
8733
8734         * lfuns.h:
8735         * LyXAction.C (init): new LFUN_INSET_INSERT.
8736
8737         * BufferView_pimpl.C (dispatch): split out part of the
8738         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8739
8740         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8741         LFUN_INSET_APPLY.
8742
8743 2003-03-25  Angus Leeming  <leeming@lyx.org>
8744
8745         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8746
8747 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8748
8749         * text2.C:
8750         * text3.C: remove useless row->height(0)
8751
8752 2003-03-25  John Levon  <levon@movementarian.org>
8753
8754         * lyxtext.h:
8755         * text2.C:
8756         * text3.C: rename the refreshing stuff to better names
8757
8758 2003-03-24  John Levon  <levon@movementarian.org>
8759
8760         * BufferView_pimpl.h:
8761         * BufferView_pimpl.C: update layout choice on a mouse
8762         press/release
8763
8764 2003-03-23  John Levon  <levon@movementarian.org>
8765
8766         * Makefile.am: fix commandtags.h reference
8767
8768 2003-03-22  John Levon  <levon@movementarian.org>
8769
8770         * BufferView_pimpl.C:
8771         * lyxtext.h:
8772         * rowpainter.C:
8773         * rowpainter.h:
8774         * text.C:
8775         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8776
8777 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8778
8779         * lyxtext.h:
8780         * text.C: take the rtl methods out of line
8781
8782 2003-03-21 André Pönitz <poenitz@gmx.net>
8783
8784         * metricsinfo.[Ch]: new files containing structures to be passed around
8785         during the two-phase-drawing...
8786
8787 2003-03-21 André Pönitz <poenitz@gmx.net>
8788
8789         * lyxtextclass.C: read 'environment' tag.
8790
8791 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8792
8793         * text2.C (removeRow): fix bug 964
8794
8795 2003-03-20  John Levon  <levon@movementarian.org>
8796
8797         * rowpainter.C:
8798         * text.C:
8799         * text2.C: paint cleanups. Inset::update() dropped font
8800         parameter
8801
8802 2003-03-19  John Levon  <levon@movementarian.org>
8803
8804         * lyxfunc.C: only fitcursor/markDirty if available()
8805
8806 2003-03-19  John Levon  <levon@movementarian.org>
8807
8808         * commandtags.h: rename to ...
8809
8810         * lfuns.h: ... this, and renumber / cleanup
8811
8812 2003-03-19  John Levon  <levon@movementarian.org>
8813
8814         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8815         fit the cursor after an lfun
8816
8817         * BufferView.h:
8818         * BufferView.C:
8819         * BufferView_pimpl.h:
8820         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8821
8822         * LyXAction.C: layout-character should have ReadOnly
8823
8824         * ParagraphParameters.C:
8825         * buffer.C:
8826         * bufferview_funcs.C:
8827         * lyx_cb.C:
8828         * lyxfind.C:
8829         * lyxtext.h:
8830         * text.C:
8831         * text2.C:
8832         * text3.C:
8833         * undo_funcs.C: changes from above
8834
8835 2003-03-18  John Levon  <levon@movementarian.org>
8836
8837         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8838         remove it from update()
8839
8840         * lyxfunc.C: update layout choice after an lfun
8841
8842         * text3.C: remove extra updateLayoutChoice()s
8843
8844 2003-03-18  John Levon  <levon@movementarian.org>
8845
8846         * text.C: top_y change means full repaint, fix
8847         a drawing bug with cursor movement
8848
8849 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8850
8851         * lyxtext.h:
8852         * text.C:
8853         * text2.C: anchor row on setCursor
8854
8855 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8856
8857         * lyxtext.h: remove almost all mutable keywords
8858         * text.C:
8859         * text2.C:
8860         * text3.C: remove const keywords accordingly
8861
8862 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8863
8864         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8865         anon namespace
8866         (TeXEnvironment): ditto
8867         (TeXOnePar): ditto
8868
8869 2003-03-17  John Levon  <levon@movementarian.org>
8870
8871         * text.C (rowBreakPoint): remove attempt to fix displayed
8872         math insets inside a manual label
8873
8874 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8875
8876         * lyxtext.h: remove BufferView* as first arg from almost all class
8877         functions.
8878         * other files: adjust.
8879
8880 2003-03-17  John Levon  <levon@movementarian.org>
8881
8882         * lyxtext.h:
8883         * undo_funcs.C:
8884         * text2.C: more paint cleanups
8885
8886         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8887
8888         * rowpainter.h:
8889         * rowpainter.C: remove "smart" background painting code
8890
8891 2003-03-16  John Levon  <levon@movementarian.org>
8892
8893         * lyxtext.h:
8894         * text.C:
8895         * text2.C:
8896         * text3.C: add helper functions for setting refresh_row/y
8897
8898 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8899
8900         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8901         newline inset which *can* get inserted in the pass_thru layouts.
8902         This is primarily for literate documents.
8903
8904 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8905
8906         * buffer.C: increment LYX_FORMAT to 223
8907
8908 2003-03-14 André Pönitz <poenitz@gmx.net>
8909
8910         * textclass.h: prepare for environment handling, ws changes
8911         * lyxlayout.C: read latexheader and latexfooter tags
8912
8913 2003-03-14  John Levon  <levon@movementarian.org>
8914
8915         * text2.C: rewrite ::status() a bit
8916
8917 2003-03-13  John Levon  <levon@movementarian.org>
8918
8919         * lyxtext.h: add some docs
8920
8921 2003-03-13  John Levon  <levon@movementarian.org>
8922
8923         * lyxtext.h:
8924         * text.C:
8925         * text2.C:
8926         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8927
8928 2003-03-13  John Levon  <levon@movementarian.org>
8929
8930         * text3.C: fix appendix redrawing
8931
8932 2003-03-13  John Levon  <levon@movementarian.org>
8933
8934         * text.C (setHeightOfRow):
8935         * rowpainter.h:
8936         * rowpainter.C: make appendix mark have the text
8937           "Appendix" so the user knows what it is
8938
8939         * LColor.h:
8940         * LColor.C: s/appendixline/appendix/ from above
8941
8942 2003-03-13  John Levon  <levon@movementarian.org>
8943
8944         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8945
8946         * text.C: fix a getChar(pos) bug properly
8947
8948 2003-03-13  Angus Leeming  <leeming@lyx.org>
8949
8950         * commandtags.h:
8951         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8952         Probably only temporary. Let's see how things pan out.
8953
8954         * BufferView.C (unlockInset):
8955         * BufferView_pimpl.C (fitCursor):
8956         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8957
8958         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8959         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8960
8961         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8962         new functions that convert ParagraphParameters to and from a string.
8963
8964         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8965         BufferView::Pimpl's dispatch.
8966         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8967
8968 2003-03-13 André Pönitz <poenitz@gmx.net>
8969
8970         * lyxfunc.C:
8971         * text3.C:
8972         * factory.C: make it aware of InsetEnv
8973
8974 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8975
8976         * text2.C (setCursor): never ask for one past last
8977         (setCursor): add some debugging messages.
8978
8979         * text.C (singleWidth): never ask for one past last
8980         (singleWidth): ditto
8981         (leftMargin): ditto
8982         (rightMargin): ditto
8983         (rowBreakPoint): ditto
8984         (setHeightOfRow): ditto
8985         (prepareToPrint): ditto
8986
8987         * rowpainter.C (paintBackground): never ask for one past last
8988         (paintText): never ask for one past last
8989
8990         * paragraph_pimpl.C (getChar): make the assert stricter, never
8991         allow the one past last pos to be taken
8992
8993         * paragraph.C (getChar): ws changes only
8994
8995         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8996         (numberOfSeparators): ditto
8997         (numberOfHfills): ditto
8998
8999 2003-03-12  John Levon  <levon@movementarian.org>
9000
9001         * author.h:
9002         * author.C:
9003         * bufferparams.h:
9004         * bufferparams.C:
9005         * paragraph_funcs.C: fix per-buffer authorlists
9006
9007 2003-03-12  John Levon  <levon@movementarian.org>
9008
9009         * text.C: fix newline in right address
9010
9011 2003-03-12  Angus Leeming  <leeming@lyx.org>
9012
9013         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9014         duplicate those in LyXFunc::dispatch.
9015
9016         * commandtags.h:
9017         * LyXAction.C:
9018         * ToolbarDefaults.C:
9019         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9020         Add LFUN_FONTFREE_UPDATE.
9021
9022         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9023         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9024
9025         * bufferview_func.[Ch]: several new functions to facilliate
9026         transfer of data to and from the character dialog.
9027
9028 2003-03-12  John Levon  <levon@movementarian.org>
9029
9030         * buffer.C:
9031         * paragraph.h:
9032         * paragraph.C:
9033         * paragraph_funcs.C:
9034         * paragraph_pimpl.C:
9035         * sgml.C:
9036         * tabular.C:
9037         * text.C:
9038         * text3.C: remove META_NEWLINE in favour of an inset
9039
9040         * rowpainter.h:
9041         * rowpainter.C: remove paintNewline (done by inset)
9042
9043 2003-03-12  John Levon  <levon@movementarian.org>
9044
9045         * paragraph_pimpl.C: complain about bad getChar()s
9046         for a while at least
9047
9048 2003-03-12  John Levon  <levon@movementarian.org>
9049
9050         * buffer.h:
9051         * buffer.C: move paragraph read into a separate function,
9052         a little renaming to reflect that.
9053
9054         * bufferparams.h:
9055         * bufferparams.C: remove the author_ids map, not necessary now
9056
9057         * factory.h:
9058         * factory.C: moved Buffer::readInset to here
9059
9060         * paragraph_funcs.h:
9061         * paragraph_funcs.C: readParagraph free function moved from
9062         buffer.C
9063
9064         * tabular.C: name change
9065
9066 2003-03-12  John Levon  <levon@movementarian.org>
9067
9068         * buffer.C:
9069         * ParagraphParameters.C: move par params input to
9070         a read() method
9071
9072         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9073         behave like a normal read from the stream wrt reading
9074         a line vs. a \\token
9075
9076 2003-03-12  John Levon  <levon@movementarian.org>
9077
9078         * paragraph.C:
9079         * ParagraphParameters.h:
9080         * ParagraphParameters.C: move output code to a
9081         ::write() method
9082
9083 2003-03-12  John Levon  <levon@movementarian.org>
9084
9085         * BufferView.C (insertLyXFile):
9086         * buffer.h:
9087         * buffer.C:
9088         * tabular.C: use a parlist iterator for creating the
9089           document.
9090
9091 2003-03-12  John Levon  <levon@movementarian.org>
9092
9093         * buffer.C: make current_change static local not
9094           static file-scope
9095
9096 2003-03-12  John Levon  <levon@movementarian.org>
9097
9098         * buffer.C: fix insertStringAsLines for change tracking
9099
9100 2003-03-12  John Levon  <levon@movementarian.org>
9101
9102         * BufferView.C:
9103         * tabular.C:
9104         * buffer.h:
9105         * buffer.C:
9106         * bufferparams.h:
9107         * bufferparams.C: move author list into params. Rename some
9108           functions. Move the header reading into a separate token
9109           loop. Move the header token reading into BufferParams.
9110
9111 2003-03-12  John Levon  <levon@movementarian.org>
9112
9113         * changes.C: put debug inside lyxerr.debugging() checks
9114
9115 2003-03-11 André Pönitz <poenitz@gmx.net>
9116
9117         * factory.C: make it aware of InsetHFill
9118
9119 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9120
9121         * buffer.C (latexParagraphs): move function from here...
9122         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9123         args.
9124
9125 2003-03-10  Angus Leeming  <leeming@lyx.org>
9126
9127         * LyXAction.C (init): fix bug in poplating array with multiple entries
9128         with the same LFUN (spotted by JMarc).
9129
9130 2003-03-10  John Levon  <levon@movementarian.org>
9131
9132         * text.C:
9133         * text2.C: move getColumnNearX() near its
9134         only call site
9135
9136 2003-03-10  John Levon  <levon@movementarian.org>
9137
9138         * text.C: fix break before a minipage
9139
9140 2003-03-10  John Levon  <levon@movementarian.org>
9141
9142         * text.C: fix the last commit
9143
9144 2003-03-09  John Levon  <levon@movementarian.org>
9145
9146         * lyxtext.h:
9147         * text.C:
9148         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9149         bug 365 (don't break before insets unless needed). Don't
9150         return a value > last under any circumstances.
9151
9152 2003-03-09  Angus Leeming  <leeming@lyx.org>
9153
9154         * BufferView_pimpl.C (trackChanges, dispatch): call
9155         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9156
9157 2003-03-09  Angus Leeming  <leeming@lyx.org>
9158
9159         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9160         than Dialogs::showAboutlyx().
9161
9162 2003-03-09  Angus Leeming  <leeming@lyx.org>
9163
9164         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9165         than Dialogs::showTabularCreate().
9166
9167 2003-03-09  John Levon  <levon@movementarian.org>
9168
9169         * lyxtext.h:
9170         * text.C:
9171         * text2.C: 3rd arg to nextBreakPoint was always the same.
9172           Use references.
9173
9174 2003-03-08  John Levon  <levon@movementarian.org>
9175
9176         * lyxrow.C:
9177         * paragraph.C:
9178         * paragraph.h:
9179         * rowpainter.C:
9180         * text.C:
9181         * text2.C: Remove the "main" bit from the "main body"
9182           notion.
9183
9184 2003-03-08  John Levon  <levon@movementarian.org>
9185
9186         * text.C (leftMargin): The left margin of an empty
9187         manual label paragraph should not include the label width
9188         string length.
9189
9190         * text.C (prepareToPrint): don't attempt to measure hfills
9191         for empty manual label paragraphs - the answer should be 0
9192
9193 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9194
9195         * CutAndPaste.C: remove commented code and reindent.
9196
9197 2003-03-08  John Levon  <levon@movementarian.org>
9198
9199         * lyxfunc.h:
9200         * lyxfunc.C: move reloadBuffer()
9201
9202         * BufferView.h:
9203         * BufferView.C: to here
9204
9205         * lyxvc.C: add comment
9206
9207         * vc-backend.h:
9208         * vc-backend.C: call bv->reload() to avoid
9209           getStatus() check on MENURELOAD
9210
9211 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9212
9213         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9214         to an old format .dep file.
9215
9216 2003-03-07  Angus Leeming  <leeming@lyx.org>
9217
9218         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9219         when the LFUN_MOUSE_RELEASE should have been handled by
9220         inset->localDispatch.
9221
9222 2003-03-07  Angus Leeming  <leeming@lyx.org>
9223
9224         * BufferView_pimpl.C (dispatch):
9225         * LyXAction.C (init):
9226         * ToolbarDefaults.C (init):
9227         * commandtags.h:
9228         * lyxfunc.C (getStatus):
9229         remove LFUN_INSET_GRAPHICS.
9230
9231         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9232
9233 2003-03-07  Angus Leeming  <leeming@lyx.org>
9234
9235         * commandtags.h:
9236         * LyXAction.C (init):
9237         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9238
9239         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9240
9241         * commandtags.h:
9242         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9243
9244         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9245         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9246
9247 2003-03-07  Angus Leeming  <leeming@lyx.org>
9248
9249         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9250         remove "ert".
9251
9252 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9253
9254         * ParagraphList.C (front): new function
9255         (back): implement
9256
9257 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9258
9259         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9260         and top_row_offset_. removed var first_y.
9261         * text.C (top_y):
9262         * text2.C (LyXText, removeRow):
9263         * text3.C:
9264         * BufferView_pimpl.C:
9265         use these methods instead of using first_y
9266
9267 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9268
9269         * text2.C (pasteSelection): adjust for checkPastePossible
9270
9271         * CutAndPaste.C: remove Paragraph * buf and replace with
9272         ParagraphList paragraphs.
9273         (DeleteBuffer): delete
9274         (cutSelection): change the tc type to textclass_type
9275         (copySelection): change the tc type to textclass_type
9276         (copySelection): adjust for ParagraphList
9277         (pasteSelection): change the tc type to textclass_type
9278         (pasteSelection): adjust for Paragraphlist
9279         (nrOfParagraphs): simplify for ParagraphList
9280         (checkPastePossible): simplify for ParagraphList
9281         (checkPastePossible): remove unused arg
9282
9283         * ParagraphList.C (insert): handle the case where there are no
9284         paragraphs yet.
9285
9286         * CutAndPaste.h: make CutAndPaste a namespace.
9287
9288         * text3.C (dispatch): adjust
9289
9290         * text.C (breakParagraph): add a ParagraphList as arg
9291
9292         * paragraph_funcs.C (breakParagraph): change to take a
9293         BufferParams and a ParagraphList as args.
9294         (breakParagraphConservative): ditto
9295         (mergeParagraph): ditto
9296         (TeXDeeper): add a ParagraphList arg
9297         (TeXEnvironment): ditto
9298         (TeXOnePar): ditto
9299
9300         * buffer.C (readLyXformat2): adjust
9301         (insertStringAsLines): adjust
9302         (latexParagraphs): adjust
9303
9304         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9305         (cutSelection): adjust
9306         (pasteSelection): adjust
9307
9308         * BufferView_pimpl.C (insertInset): adjust
9309
9310 2003-03-05  Angus Leeming  <leeming@lyx.org>
9311
9312         * commandtags.h:
9313         * LyXAction.C (init):
9314         * BufferView_pimpl.C (dispatch):
9315         * lyxfunc.C (getStatus):
9316         remove LFUN_CHILD_INSERT.
9317
9318         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9319
9320 2003-03-05  Angus Leeming  <leeming@lyx.org>
9321
9322         * commandtags.h:
9323         * LyXAction.C (init):
9324         * src/factory.C (createInset):
9325         * lyxfunc.C (getStatus):
9326         * text3.C (dispatch):
9327         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9328
9329         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9330
9331 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9332
9333         * ParagraphList.C (insert): handle insert right before end()
9334         (erase): fix cases where it can be first or last paragraph.
9335
9336 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9337
9338         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9339         Paragraph::next and Paragraph::previous
9340         (TeXOnePar): ditto
9341
9342         * text.C (breakParagraph): adjust
9343
9344         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9345         BufferParams& as arg.
9346         (breakParagraph): use ParagraphList::insert
9347         (breakParagraphConservative): take a Buffer* instead of a
9348         BufferParams& as arg.
9349         (breakParagraphConservative): use ParagraphList::insert.
9350
9351         * buffer.C (insertStringAsLines): un-const it
9352         (insertStringAsLines): adjust
9353
9354         * ParagraphList.C (insert): new function
9355
9356         * CutAndPaste.C (pasteSelection): adjust
9357
9358         * text.C (backspace): adjust
9359
9360         * tabular.C (SetMultiColumn): adjust
9361
9362         * CutAndPaste.C (cutSelection): adjust
9363         (pasteSelection): adjust
9364
9365         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9366         Buffer const * as arg
9367
9368         * ParagraphList.C (erase): new function
9369         * paragraph_funcs.C (mergeParagraph): use it
9370         (mergeParagraph): make it take a Buffer* instead of a
9371         BufferParams* as arg
9372
9373         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9374         as arg
9375         (breakParagraphConservative): ditto
9376
9377         * paragraph.h: remove the breakParagraph friend
9378
9379         * paragraph.C (eraseIntern): new function
9380         (setChange): new function
9381
9382         * paragraph_funcs.C (mergeParagraph): make it take a
9383         ParagraphList::iterator instead of a Paragraph *, adjust
9384         accordingly.
9385
9386         * paragraph.h: move an #endif so that the change tracking stuff
9387         also works in the NO_NEXT case.
9388
9389 2003-03-04  Angus Leeming  <leeming@lyx.org>
9390
9391         * commandtags.h:
9392         * LyXAction.C: new LFUN_INSET_MODIFY.
9393
9394         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9395         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9396
9397 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9398
9399         * several files: ws changes only
9400
9401         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9402         (TeXEnvironment): ditto
9403         (TeXDeeper): ditto
9404
9405         * buffer.C (makeLaTeXFile): adjust
9406         (latexParagraphs): make it take ParagraphList::iterator as args
9407
9408 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9409
9410         * buffer.C (latexParagraphs): adjust
9411
9412         * paragraph.C (TeXOnePar): move function...
9413         (optArgInset): move function...
9414         (TeXEnvironment): move function...
9415         * paragraph_pimpl.C (TeXDeeper): move function...
9416         * paragraph_funcs.C: ...here
9417
9418         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9419
9420 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9421
9422         * buffer.C (readInset): remove compability code for old Figure and
9423         InsetInfo insets
9424
9425 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9426
9427         * buffer.C: ws changes
9428         (readInset):
9429
9430         * BufferView_pimpl.C: ditto
9431         * author.C: ditto
9432         * buffer.h: ditto
9433         * bufferlist.h: ditto
9434         * changes.h: ditto
9435         * lyxfunc.C: ditto
9436
9437 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9438
9439         * converter.[Ch]: split into itself +
9440         * graph.[Ch]
9441         * format.[Ch]
9442         * Makefile.am: += graph.[Ch] + format.[Ch]
9443         * MenuBackend.C
9444         * buffer.C
9445         * exporter.C
9446         * importer.C
9447         * lyx_main.C
9448         * lyxfunc.C
9449         * lyxrc.C: added #include "format.h"
9450
9451 2003-02-27  Angus Leeming  <leeming@lyx.org>
9452
9453         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9454           a label.
9455
9456         * factory.C (createInset): add "label" to the factory.
9457
9458         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9459           string and do no more.
9460
9461 2003-02-27  Angus Leeming  <leeming@lyx.org>
9462
9463         * commandtags.h:
9464         * LyXAction.C (init):
9465         * factory.C (createInset):
9466         * BufferView_pimpl.C (dispatch):
9467           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9468
9469         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9470
9471         * lyxfunc.C (dispatch):
9472         * text3.C (dispatch): pass name to params2string.
9473
9474 2003-02-26  Angus Leeming  <leeming@lyx.org>
9475
9476         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9477           blocks together.
9478           Rearrange the ~includes. Strip out the unnecessary ones.
9479
9480         * factory.C (createInset): reformat.
9481           create new insets for the various LFUN_XYZ_APPLY lfuns.
9482
9483 2003-02-26  John Levon  <levon@movementarian.org>
9484
9485         * lyxrow.h:
9486         * lyxrow.C: add isParStart,isParEnd helpers
9487
9488         * paragraph.h: make isInserted/DeletedText take refs
9489
9490         * paragraph_funcs.h:
9491         * paragraph_funcs.C: remove #if 0'd code
9492
9493         * lyxtext.h:
9494         * text3.C:
9495         * text2.C:
9496         * text.C: use lyxrow helpers above.
9497           Move draw and paint routines to RowPainter.
9498           Make several methods use refs not pointers.
9499           Make backgroundColor() const.
9500           Add markChangeInDraw(), isInInset().
9501           Merge changeRegionCase into changeCase.
9502           Make workWidth() shouldn't-happen code into an Assert.
9503
9504         * rowpainter.h:
9505         * rowpainter.C: new class for painting a row.
9506
9507         * vspace.h:
9508         * vspace.C: make inPixels take a ref
9509
9510 2003-02-26  Angus Leeming  <leeming@lyx.org>
9511
9512         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9513         LFUN_REF_APPLY.
9514
9515 2003-02-25  John Levon  <levon@movementarian.org>
9516
9517         * ispell.C: give the forked command a more accurate name
9518
9519 2003-02-22  John Levon  <levon@movementarian.org>
9520
9521         * toc.h:
9522         * toc.C: make TocItem store an id not a Paragraph *
9523           (bug #913)
9524
9525 2003-02-21  Angus Leeming  <leeming@lyx.org>
9526
9527         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9528           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9529           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9530           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9531           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9532           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9533
9534         * BufferView_pimpl.C (dispatch):
9535         * LyXAction.C (init):
9536         * factory.C (createInset):
9537         * lyxfunc.C (getStatus, dispatch):
9538         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9539
9540 2003-02-21  Angus Leeming  <leeming@lyx.org>
9541
9542         * BufferView_pimpl.C (MenuInsertLyXFile):
9543         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9544         * lyxfunc.C (menuNew, open, doImport):
9545           no longer pass a LyXView & to fileDlg.
9546
9547 2003-02-21  Angus Leeming  <leeming@lyx.org>
9548
9549         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9550         * LyXAction.C: change, BIBKEY to BIBITEM.
9551         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9552         Change InsetBibKey to InsetBibitem.
9553         Change BIBKEY_CODE to BIBITEM_CODE.
9554         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9555         * factory.C: replace insetbib.h with insetbibitem.h.
9556         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9557         * paragraph.C: replace insetbib.h with insetbibitem.h.
9558         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9559         Change bibkey() to bibitem().
9560         * text.C: remove insetbib.h.
9561         * text2.C: replace insetbib.h with insetbibitem.h.
9562         change bibkey() to bibitem().
9563         * text3.C: remove insetbib.h.
9564         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9565
9566 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9567
9568         * lyxrc.C (output): enclose user email in quotes (in case there are
9569         several words)
9570
9571 2003-02-18  John Levon  <levon@movementarian.org>
9572
9573         * buffer.h: add std::
9574
9575 2003-02-17  John Levon  <levon@movementarian.org>
9576
9577         * SpellBase.h:
9578         * ispell.h:
9579         * ispell.C:
9580         * pspell.h:
9581         * pspell.C: reworking. Especially in ispell, a large
9582           number of clean ups and bug fixes.
9583
9584         * lyxfunc.C: fix revert to behave sensibly
9585
9586 2003-02-17 André Pönitz <poenitz@gmx.net>
9587
9588         * LyXAction.C:
9589         * commandtags.h: new LFUN_INSERT_BIBKEY
9590
9591         * layout.h:
9592         * lyxlayout.C:
9593         * buffer.C:
9594         * factory.C:
9595         * text.C:
9596         * text2.C:
9597         * text3.C:
9598         * paragraph.[Ch]:
9599         * paragraph_func.C: remove special bibkey handling
9600
9601 2003-02-17  John Levon  <levon@movementarian.org>
9602
9603         * text.C (Delete): fix case where delete at the end of
9604           the very first paragraph would not merge the pars
9605
9606 2003-02-17  John Levon  <levon@movementarian.org>
9607
9608         * lyxrow.C: fix lastPrintablePos()
9609
9610 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9611
9612         * bufferparams.C (writeLaTeX): add a std:here
9613
9614         * buffer.C: and remove a using directive there
9615
9616 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9617
9618         * buffer.C (makeLaTeXFile): move the code that generates the
9619           preamble...
9620
9621         * bufferparams.C (writeLaTeX): ... in this new method
9622
9623         * LaTeXFeatures.C (getEncodingSet): make const
9624           (getLanguages): make const
9625
9626         * MenuBackend.C (binding): returns the binding associated to this
9627           action
9628           (add): sets the status of each item by calling getStatus. Adds
9629           some intelligence.
9630           (read): add support for OptSubMenu
9631           (expand): remove extra separator at the end of expanded menu
9632
9633 2003-02-15  John Levon  <levon@movementarian.org>
9634
9635         * BufferView.C:
9636         * BufferView_pimpl.C:
9637         * bufferlist.h:
9638         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9639           inset code that had no actual effect. Remove unneeded status
9640           code.
9641
9642 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9643
9644         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9645           in preamble
9646
9647 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9648
9649         * text.C (drawLengthMarker): also draw an arrow marker for
9650           symbolic lengths (medskip...)
9651
9652 2003-02-14  John Levon  <levon@movementarian.org>
9653
9654         * tabular.h:
9655         * tabular.C: better method names
9656
9657 2003-02-14  John Levon  <levon@movementarian.org>
9658
9659         * BufferView_pimpl.C:
9660         * bufferlist.C:
9661         * buffer.C:
9662         * converter.C:
9663         * lyx_cb.C:
9664         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9665           it's a more accurate name. Remove some pointless uses.
9666
9667 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9668
9669         * text2.C (LyXText): change order of initilizers to shut off
9670           warnings
9671
9672 2003-02-14  John Levon  <levon@movementarian.org>
9673
9674         * buffer.C: use ParIterator for getParFromID()
9675
9676         * paragraph.h:
9677         * paragraph.C:
9678         * paragraph_pimpl.h:
9679         * paragraph_pimpl.C: remove unused getParFromID()
9680
9681 2003-02-14  John Levon  <levon@movementarian.org>
9682
9683         * buffer.C: remove some very old #if 0'd parse code
9684
9685 2003-02-13  John Levon  <levon@movementarian.org>
9686
9687         * text.h:
9688         * text.C:
9689         * text2.C: move hfillExpansion(), numberOfSeparators(),
9690           rowLast(), rowLastPrintable(), numberofHfills(),
9691           numberOfLabelHfills() ...
9692
9693         * lyxrow.h:
9694         * lyxrow.C: ... to member functions here.
9695
9696         * paragraph.h:
9697         * paragraph.C:
9698         * lyxtext.h:
9699         * text.C: remove LyXText::beginningOfMainBody(), and call
9700           p->beginningOfMainBody() directly. Move the check for
9701           LABEL_MANUAL into the latter.
9702
9703         * text.h:
9704         * text.C:
9705         * text2.C:
9706         * vspace.C:
9707         * BufferView.h:
9708         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9709
9710         * text.h:
9711         * text.C:
9712         * text2.C:
9713         * text3.C:
9714         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9715           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9716
9717 2003-02-13  John Levon  <levon@movementarian.org>
9718
9719         * CutAndPaste.C: remove debug
9720
9721 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9722
9723         * paragraph.C (asString): remove two unused variables
9724
9725         * lyxtextclass.C (readTitleType):
9726           (Read):
9727           (LyXTextClass): handle new members titletype_ and titlename_
9728
9729         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9730
9731 2003-02-09  John Levon  <levon@movementarian.org>
9732
9733         * buffer.h:
9734         * buffer.C: replace hand-coded list with a map for the dep clean
9735
9736 2003-02-08  John Levon  <levon@movementarian.org>
9737
9738         * LaTeX.C: consolidate code into showRunMessage() helper
9739
9740 2003-02-08  John Levon  <levon@movementarian.org>
9741
9742         * lyxfind.C:
9743         * lyxtext.h:
9744         * text2.C:
9745         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9746           and pass the size in explicitly
9747
9748         * BufferView_pimpl.h:
9749         * BufferView_pimpl.C:
9750         * BufferView.h:
9751         * BufferView.C: add getCurrentChange()
9752
9753         * BufferView_pimpl.h:
9754         * BufferView_pimpl.C: handle change lfuns
9755
9756         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9757           for changes. Mark pasted paragraphs as new.
9758
9759         * support/lyxtime.h:
9760         * support/lyxtime.C:
9761         * DepTable.C: abstract time_t as lyx::time_type
9762
9763         * LColor.h:
9764         * LColor.C: add colours for new text, deleted text, changebars
9765
9766         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9767           package use "usenames" option.
9768
9769         * commandtags.h:
9770         * lyxfunc.C:
9771         * LyXAction.C: add change lfuns
9772
9773         * Makefile.am:
9774         * author.h:
9775         * author.C: author handling
9776
9777         * buffer.h:
9778         * buffer.C: add a per-buffer author list, with first entry as
9779           current author. Handle new .lyx tokens for change tracking. Output
9780           author list to .lyx file. Output dvipost stuff to .tex preamble.
9781           Bump lyx format to 222.
9782
9783         * bufferlist.h:
9784         * bufferlist.C: add setCurrentAuthor() to reset current author details
9785           in all buffers.
9786
9787         * bufferparams.h:
9788         * bufferparams.C: add param for tracking
9789
9790         * bufferview_funcs.C: output change info in minibuffer
9791
9792         * Makefile.am:
9793         * changes.h:
9794         * changes.C: add change-tracking structure
9795
9796         * debug.h:
9797         * debug.C: add CHANGES debug flag
9798
9799         * lyxfind.h:
9800         * lyxfind.C: add code for finding the next change piece
9801
9802         * lyxrc.h:
9803         * lyxrc.C: add user_name and user_email
9804
9805         * lyxrow.h:
9806         * lyxrow.C: add a metric for the top of the text line
9807
9808         * lyxtext.h:
9809         * text.C: implement accept/rejectChange()
9810
9811         * lyxtext.h:
9812         * text.C: paint changebars. Paint new/deleted text in the chosen
9813         colours. Strike through deleted text.
9814
9815         * paragraph.h:
9816         * paragraph.C:
9817         * paragraph_pimpl.h:
9818         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9819           in the current change to the insert functions. Rework erase to
9820           mark text as deleted, adding an eraseIntern() and a range-based
9821           erase(). Implement per-paragraph change lookup and
9822           accept/reject.
9823
9824         * paragraph_funcs.C: Fixup paste for change tracking.
9825
9826         * tabular.C: mark added row/columns as new.
9827
9828         * text.C: fix rowLast() to never return -1. Don't allow
9829           spellchecking of deleted text. Track transpose changes. Don't
9830           allow paragraph break or merge where appropriate.
9831
9832         * text2.C: leave cursor at end of selection after a cut.
9833
9834 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9835
9836         * text.C (getLengthMarkerHeight):
9837         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9838         visible on screen too.
9839
9840 2003-02-07  John Levon  <levon@movementarian.org>
9841
9842         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9843
9844 2003-02-05  Angus Leeming  <leeming@lyx.org>
9845
9846         * lyxserver.C (read_ready): revert my patch of 11 September last year
9847         as it sends PC cpu through the roof. Presumably this means that
9848         the lyxserver will no longer run on an Alpha...
9849
9850 2003-01-30  Angus Leeming  <leeming@lyx.org>
9851
9852         * factory.C (createInset): create an InsetCommandParam of type "index"
9853         and use it to 'do the right thing'.
9854
9855         * text2.C (getStringToIndex): ensure that cursor position is always
9856         reset to the reset_cursor position.
9857
9858 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9859
9860         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9861         disabled.
9862
9863 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9864
9865         * bufferview.C:
9866         * lyxcb.C:
9867         * lyxfunc.C: Output messages with identical spelling, punctuation,
9868         and spaces
9869
9870 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9871
9872         * MenuBackend.C (expandFormats): List only viewable export formats
9873         in "View" menu
9874
9875         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9876         message
9877
9878         * lyxfunc.C (getStatus): Make sure that formats other than
9879         "fax" can also be disabled
9880
9881 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9882
9883         * text3.C (dispatch): put the lfuns that insert insets in 3
9884         groups, and call doInsertInset with appropriate arguments.
9885         (doInsertInset): new function, that creates an inset and inserts
9886         it according to some boolean parameters.
9887
9888 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9889
9890         * buffer.C (readFile): remember to pass on 'par' when calling
9891         readFile recursively.
9892
9893 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9894
9895         * MenuBackend.C (expandFormats): add "..." to import formats.
9896
9897 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9898
9899         * paragraph.C (asString): Remove XForms RTL hacks.
9900
9901 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9902         * buffer.C: fix typo
9903
9904 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9905
9906         * Makefile.am (LIBS): delete var
9907         (lyx_LDADD): add @LIBS@ here instead.
9908
9909 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9910
9911         * Clarify the meaning of "wheel mouse jump"
9912
9913 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9914
9915         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9916         tabular in a float
9917
9918 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9919
9920         * importer.C (Loaders): do not preallocate 3 elements in the
9921         vector, since one ends up with 6 elements otherwise
9922
9923 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9924
9925         * DepTable.C (write): write the file name as last element of the
9926         .dep file (because it may contain spaces)
9927         (read): read info in the right order
9928
9929 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9930
9931         * paragraph_pimpl.C (simpleTeXBlanks):
9932         (simpleTeXSpecialChars):
9933         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9934
9935         * tabular.C (latex): add some missing case statements. Reindent.
9936
9937         * MenuBackend.C (expandToc): remove unused variable.
9938
9939 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9940
9941         * LColor.C:
9942         * LaTeX.C:
9943         * LyXAction.C:
9944         * MenuBackend.C:
9945         * buffer.C:
9946         * exporter.C:
9947         * lyxfunc.C:
9948         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9949         and the like.
9950
9951 2003-01-05  John Levon  <levon@movementarian.org>
9952
9953         * BufferView.h:
9954         * BufferView.C: add getEncoding()
9955
9956         * kbsequence.h:
9957         * kbsequence.C: do not store last keypress
9958
9959         * lyxfunc.h:
9960         * lyxfunc.C: store last keypress here instead. Pass encoding
9961           to getISOEncoded()
9962
9963 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9964
9965         * lyx_main.C (init): remove annoying error message when following
9966         symbolic links (bug #780)
9967
9968 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9969
9970         * text.C (insertChar):
9971         * lyxrc.C (getDescription): remove extra spaces
9972
9973 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9974
9975         * lyxrc.C (getDescription): remove extra spaces
9976
9977 2002-12-20  John Levon  <levon@movementarian.org>
9978
9979         * text3.C: hack fix for page up/down across tall rows
9980
9981 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9982
9983         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9984         not been invoked
9985
9986 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9987
9988         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9989         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9990         thesaurus is not compiled in
9991
9992 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9993
9994         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9995
9996 2002-12-16  Angus Leeming  <leeming@lyx.org>
9997
9998         * lyxrc.[Ch]:
9999         * lyx_main.C (init): remove override_x_deadkeys stuff.
10000
10001 2002-12-12  John Levon  <levon@movementarian.org>
10002
10003         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10004           insert. Only remove shift modifier under strict
10005           circumstances.
10006
10007 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10008
10009         * MenuBackend.C (expandToc): fix crash.
10010
10011 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10012
10013         * MenuBackend.C (expandToc): gettext on float names.
10014
10015 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10016
10017         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10018         implement bool empty() [bug 490]
10019
10020 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10021
10022         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10023
10024 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10025
10026         * several files: ws changes
10027
10028 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10029
10030         * text2.C (setCounter): clean up a bit, use boost.format.
10031         (updateCounters): initialize par upon declaration.
10032
10033         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10034         if the layout exists. We do not just store the layout any more.
10035         (SwitchLayoutsBetweenClasses): use boost.format
10036
10037 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10038
10039         * converter.C (convert): if from and to files are the same, use a
10040         temporary files as intermediary
10041
10042 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10043
10044         * commandtags.h:
10045         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10046
10047 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10048
10049         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10050
10051 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10052
10053         * tabular.C (asciiPrintCell): use string(size, char) instead of
10054         explicit loop.
10055
10056         * sgml.C (openTag): fix order of arguments to string constructor
10057         (closeTag): ditto
10058
10059         * lyxfunc.C (dispatch): use boost.format
10060
10061         * lots of files: change "c" -> 'c'
10062
10063 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10064
10065         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10066
10067 2002-11-25  Angus Leeming  <leeming@lyx.org>
10068
10069         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10070
10071         * lyx_main.C (init): compile fix.
10072
10073 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10074
10075         * lyx_cb.C (start): boost.formatify
10076         do not include <iostream>
10077
10078         * lengthcommon.C: ws only
10079
10080         * boost-inst.C,BoostFormat.h: add more explict instantations
10081
10082 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10083
10084         * lots of files: handle USE_BOOST_FORMAT
10085
10086 2002-11-21  John Levon  <levon@movementarian.org>
10087
10088         * pspell.C: fix compile
10089
10090 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10091
10092         * lyxfunc.C (dispatch): use boost::format
10093         (open): ditto
10094         (doImport): ditto
10095
10096         * lyxfont.C (stateText): use boost::format
10097
10098         * lyx_main.C (LyX): use boost::format
10099         (init): ditto
10100         (queryUserLyXDir): ditto
10101         (readRcFile): ditto
10102         (parse_dbg): ditto
10103         (typedef boost::function): use the recommened syntax.
10104
10105         * importer.C (Import): use boost::format
10106
10107         * debug.C (showLevel): use boost::format
10108
10109         * converter.C (view): use boost::format
10110         (convert): ditto
10111         (move): ditto
10112         (scanLog): ditto
10113
10114         * bufferview_funcs.C (currentState): use boost::format
10115
10116         * bufferlist.C (emergencyWrite): use boost::format
10117
10118         * buffer.C (readLyXformat2): use boost::format
10119         (parseSingleLyXformat2Token): ditto
10120
10121         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10122
10123         * LaTeX.C (run): use boost::format
10124
10125         * Chktex.C (scanLogFile): use boost::format
10126
10127         * BufferView_pimpl.C (savePosition): use boost::format
10128         (restorePosition): ditto
10129         (MenuInsertLyXFile): ditto
10130
10131         * BoostFormat.h: help file for explicit instation.
10132
10133 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10134
10135         * tabular.C (latex): Support for block alignment in fixed width
10136         columns.
10137
10138 2002-11-17  John Levon  <levon@movementarian.org>
10139
10140         * BufferView_pimpl.C:
10141         * lyx_cb.C:
10142         * lyxfunc.C: split filedialog into open/save
10143
10144 2002-11-08  Juergen Vigna  <jug@sad.it>
10145
10146         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10147         by my last patch (hopefully).
10148
10149 2002-11-08  John Levon  <levon@movementarian.org>
10150
10151         * iterators.h:
10152         * iterators.C:
10153         * buffer.h:
10154         * buffer.C:
10155         * paragraph.h:
10156         * paragraph.C:
10157         * toc.h:
10158         * toc.C: ParConstIterator, and use it (from Lars)
10159
10160 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10161
10162         * lyxtextclass.[Ch]: revise and add doxygen comments
10163
10164 2002-11-07  John Levon  <levon@movementarian.org>
10165
10166         * text.C: fix progress value for spellchecker
10167
10168         * toc.C: fix navigate menu for insetwrap inside minipage
10169
10170         * paragraph_funcs.C: added FIXME for suspect code
10171
10172 2002-11-07  John Levon  <levon@movementarian.org>
10173
10174         * BufferView_pimpl.C: fix redrawing of insets
10175           on buffer switch
10176
10177 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10178
10179         * text2.C (updateCounters): fix bug 668
10180
10181 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10182
10183         * text3.C (dispatch): Do not make the buffer dirty when moving the
10184         cursor.
10185
10186 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10187
10188         * vc-backend.C: STRCONV
10189         (scanMaster): ditto
10190
10191         * text2.C (setCounter): STRCONV
10192
10193         * paragraph.C (asString): STRCONV
10194
10195         * lyxlength.C (asString): STRCONV
10196         (asLatexString): ditto
10197
10198         * lyxgluelength.C (asString): STRCONV
10199         (asLatexString): ditto
10200
10201         * lyxfunc.C (dispatch): STRCONV
10202         (open): ditto
10203
10204         * lyxfont.C (stateText): STRCONV
10205
10206         * importer.C (Import): STRCONV
10207
10208         * counters.C (labelItem): STRCONV
10209         (numberLabel): ditto
10210         (numberLabel): remove unused ostringstream o
10211
10212         * chset.C: STRCONV
10213         (loadFile): ditto
10214
10215         * bufferview_funcs.C (currentState): STRCONV
10216
10217         * buffer.C (readFile): STRCONV
10218         (asciiParagraph): ditto
10219         (makeLaTeXFile): ditto
10220
10221         * Spacing.C (writeEnvirBegin): STRCONV
10222
10223         * LaTeXFeatures.C (getLanguages): STRCONV
10224         (getPackages): ditto
10225         (getMacros): ditto
10226         (getBabelOptions): ditto
10227         (getTClassPreamble): ditto
10228         (getLyXSGMLEntities): ditto
10229         (getIncludedFiles): ditto
10230
10231         * LaTeX.C: STRCONV
10232         (run): ditto
10233         (scanAuxFile): ditto
10234         (deplog): ditto
10235
10236         * LString.h: add the STRCONV macros
10237
10238         * BufferView_pimpl.C (savePosition): STRCONV
10239         (restorePosition): ditto
10240         (MenuInsertLyXFile): ditto
10241
10242         * vc-backend.C (scanMaster): change from submatch[...] to
10243         submatch.str(...)
10244
10245         * funcrequest.C: include config.h
10246
10247         * factory.C: include config.h
10248
10249         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10250
10251         * box.C: include config.h
10252
10253         * LaTeX.C (scanAuxFile): change from submatch[...] to
10254         submatch.str(...)
10255         (deplog): ditto
10256
10257 2002-10-25  Angus Leeming  <leeming@lyx.org>
10258
10259         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10260
10261         * ispell.[Ch] (setError): new method.
10262         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10263         Use setError() insetead of goto END.
10264
10265         * lyx_cb.C (AutoSave): move out child process into new class
10266         AutoSaveBuffer.
10267
10268 2002-10-30  John Levon  <levon@movementarian.org>
10269
10270         * text3.C: make start appendix undoable
10271
10272 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10273
10274         * lyxlength.C (inPixels): Fix returned value.
10275
10276         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10277         environment.
10278
10279 2002-10-24  Angus Leeming  <leeming@lyx.org>
10280
10281         * lyxgluelength.h: no need to forward declare BufferParams
10282         or BufferView, so don't.
10283
10284 2002-10-21  John Levon  <levon@movementarian.org>
10285
10286         * BufferView.C: menuUndo ->undo, redo
10287
10288         * BufferView.h: document, remove dead, make some methods private
10289
10290         * paragraph_funcs.h:
10291         * paragraph_funcs.C:
10292         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10293
10294         * buffer.h:
10295         * buffer.C:
10296         * sgml.h:
10297         * sgml.C: move sgml open/close tag into sgml.C
10298
10299         * bufferview_funcs.h: unused prototype
10300
10301         * lyxfunc.h:
10302         * lyxfunc.C: remove unused
10303
10304         * lyxtext.h:
10305         * text.C: remove unused
10306
10307 2002-10-21  John Levon  <levon@movementarian.org>
10308
10309         * BufferView.h:
10310         * BufferView.C:
10311         * BufferView_pimpl.h:
10312         * BufferView_pimpl.C: fix mouse wheel handling based on
10313           patch from Darren Freeman
10314
10315 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10316
10317         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10318
10319 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10320
10321         * lyxlength.C (inPixels): Fix hanfling of negative length.
10322         Fix LyXLength::MU case.
10323
10324 2002-10-16  John Levon  <levon@movementarian.org>
10325
10326         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10327
10328 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10329
10330         * converter.C (view): add support for $$i (file name) and $$p
10331         (file path) for the viewer command. If $$i is not specified, then
10332         it is appended to the command (for compatibility with old syntax)
10333
10334 2002-10-14  Juergen Vigna  <jug@sad.it>
10335
10336         * undo_funcs.C (textHandleUndo): alter the order in which the
10337         new undopar is added to the LyXText, as we have to set first
10338         the right prev/next and then add it as otherwise the rebuild of
10339         LyXText is not correct. Also reset the cursor to the right paragraph,
10340         with this IMO we could remove the hack in "redoParagraphs()".
10341
10342 2002-10-09  Angus Leeming  <leeming@lyx.org>
10343
10344         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10345         to turn off an optimisation if a new inset is to be inserted.
10346
10347 2002-10-11 André Pönitz <poenitz@gmx.net>
10348
10349         * lyxtext.h: make some functions public to allow access
10350         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10351
10352 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10353
10354         * text3.C (dispatch): when changing layout, avoid an infinite loop
10355         [bug #652]
10356
10357 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10358
10359         * lyxrc.C (read): treat a viewer or converter command of "none" as
10360         if it were empty.
10361
10362         * MenuBackend.C (expandFormats): for an update, also allow the
10363         formats that are not viewable
10364
10365         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10366         script if it is newer than the lyxrc.defaults in user directory
10367
10368 2002-10-07 André Pönitz <poenitz@gmx.net>
10369
10370         * text.C: Vitaly Lipatov's small i18n fix
10371
10372 2002-09-25  Angus Leeming  <leeming@lyx.org>
10373
10374         * ispell.h: doxygen fix.
10375
10376 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10377
10378         * buffer.h (readFile): Add a new argument to the method, to allow
10379         reading of old-format templates.
10380
10381 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10382
10383         * toc.C (getTocList): Get TOC from InsetWrap.
10384
10385 2002-09-16  John Levon  <levon@movementarian.org>
10386
10387         * lyxfunc.C: check tabular for cut/copy too
10388
10389 2002-09-12  John Levon  <levon@movementarian.org>
10390
10391         * LyXAction.C: tidy
10392
10393         * factory.h:
10394         * factory.C: add header
10395
10396         * paragraph_funcs.h:
10397         * paragraph_funcs.C: cleanup
10398
10399 2002-09-11  John Levon  <levon@movementarian.org>
10400
10401         * PrinterParams.h: odd/even default to true
10402
10403 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10404
10405         * PrinterParams.h: update printer parameters for new xforms dialog
10406
10407 2002-09-11  Angus Leeming  <leeming@lyx.org>
10408
10409         * lyxserver.C (read_ready): re-write to make it more transparent
10410         and to make it work in coherent fashion under Tru64 Unix.
10411
10412 2002-09-11  André Pönitz <poenitz@gmx.net>
10413
10414         * commandtags.h:
10415         * LyXAction.C:
10416         * text3.C: implement LFUN_WORDSEL
10417
10418 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10419
10420         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10421         make floatlist_ a boost::shared_ptr<FloatList>
10422
10423         * lyxtextclass.C: include FloatList.h
10424         (LyXTextClass): initialize floatlist_
10425         (TextClassTags): add TC_NOFLOAT
10426         (Read): match "nofloat" to TC_NOFLOAT and use it.
10427         (readFloat): modify call to floatlist_
10428         (floats): ditto
10429         (floats): ditto
10430
10431         * FloatList.[Ch] (FloatList): remove commented out float
10432         initialization.
10433         (erase): new function
10434
10435 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10436
10437         * MenuBackend.C (expandToc): fix crash when there is no document
10438         open
10439
10440 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10441
10442         * many files: Add insetwrap.
10443
10444 2002-09-09  John Levon  <levon@movementarian.org>
10445
10446         * text2.C: remove confusing and awkward depth wraparound
10447
10448 2002-09-09  John Levon  <levon@movementarian.org>
10449
10450         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10451
10452         * buffer.h:
10453         * buffer.C: remove getIncludeonlyList()
10454
10455         * paragraph.C:
10456         * lyxfunc.C: remove headers
10457
10458 2002-09-09  Juergen Vigna  <jug@sad.it>
10459
10460         * text.C (getColumnNearX): fix form Michael this is most
10461         probably a cut&paste bug.
10462
10463 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10464
10465         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10466
10467         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10468         references, ws changes.
10469
10470         * text2.C (init): update counters after init
10471         (insertParagraph): no need to set counter on idividual paragraphs.
10472         (setCounter): access the counters object in the textclass object
10473         on in the buffer object.
10474         (updateCounters): ditto
10475
10476         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10477         shared_ptr<Counters> to avoid loading counters.h in all
10478         compilation units.
10479         (LyXTextClass): initialize ctrs_
10480         (TextClassTags): add TC_COUNTER, and ...
10481         (Read): use it here.
10482         (CounterTags): new tags
10483         (readCounter): new function
10484         (counters): new funtion
10485         (defaultLayoutName): return a const reference
10486
10487         * counters.C (Counters): remove contructor
10488         (newCounter): remove a couple of unneeded statements.
10489         (newCounter): simplify a bit.
10490         (numberLabel): some small formatting changes.
10491
10492         * buffer.[Ch]: remove all traces of counters, move the Counters
10493         object to the LyXTextClass.
10494
10495 2002-09-06  Alain Castera  <castera@in2p3.fr>
10496
10497         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10498         package to set the horizontal alignment on fixed width columns.
10499
10500         * lyx_sty.C:
10501         * lyx_sty.h: added tabularnewline macro def.
10502
10503         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10504
10505 2002-09-06  John Levon  <levon@movementarian.org>
10506
10507         * LyXAction.C: tooltips for sub/superscript
10508
10509         * MenuBackend.C: a bit more verbose
10510
10511         * lyxfunc.C: tiny clean
10512
10513         * undo_funcs.C: document undo_frozen
10514
10515 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10516
10517         * counters.C (Counters): add missing algorithm counter.
10518
10519         * text2.C (setCounter): lookup the counter with layouts latexname
10520         instead of by section number.
10521         (setCounter): use a hackish way to lookup the correct enum
10522         counter.
10523         a float name->type change
10524         reset enum couners with counter name directly instead of depth value.
10525
10526         * counters.C (Counters): remove the push_backs, change to use the
10527         float type not the float name.
10528         (labelItem): remove unused string, float name->type change
10529
10530         * counters.h: don't include vector, loose the enums and sects vectors
10531
10532 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10533
10534         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10535         (Read): add float->TC_FLOAT to textclassTags
10536         (Read): and handle it in the switch
10537         (readFloat): new function
10538
10539         * FloatList.C (FloatList): comment out the hardcoded float
10540         definitions.
10541
10542         * lyxlayout.h: ws change.
10543
10544 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10545
10546         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10547
10548 2002-09-03  Angus Leeming  <leeming@lyx.org>
10549
10550         * BufferView_pimpl.h: qualified name is not allowed in member
10551         declaration: WorkArea & Pimpl::workarea() const;
10552
10553         * factory.C: added using std::endl directive.
10554
10555         * text3.C: added using std::find and std::vector directives.
10556
10557 2002-08-29  André Pönitz <poenitz@gmx.net>
10558
10559         * lyxtext.h:
10560         * text2.C: remove unused member number_of_rows
10561
10562         * Makefile.am:
10563         * BufferView2.C: remove file, move contents to...
10564         * BufferView.C: ... here
10565
10566         * BufferView_pimpl.C:
10567         * factory.C: move more inset creation to factory
10568
10569         * vspace.C: avoid direct usage of LyXText, ws changes
10570
10571         * BufferView.[Ch]:
10572                 don't provide direct access to WorkArea, use two simple
10573                 acessors haveSelction() and workHeight() instead
10574
10575
10576 2002-08-29  John Levon  <levon@movementarian.org>
10577
10578         * BufferView_pimpl.C (dispatch): do not continue when
10579           no buffer
10580
10581 2002-08-28  André Pönitz <poenitz@gmx.net>
10582
10583         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10584
10585         * BufferView.h:
10586         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10587
10588 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10589
10590         * buffer.C: increment LYX_FORMAT to 221
10591
10592         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10593         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10594
10595         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10596
10597         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10598
10599 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10600
10601         * factory.C (createInset): use LyXTextClass::floats
10602
10603         * MenuBackend.C (expandFloatListInsert):
10604         (expandFloatInsert):
10605         (expandToc):
10606
10607         * text2.C (setCounter):
10608
10609         * LaTeXFeatures.C (useFloat):
10610         (getFloatDefinitions):
10611
10612         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10613
10614         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10615         floatlist_, with accessor floats().
10616
10617         * FloatList.h: remove global FloatList
10618
10619 2002-08-26  André Pönitz <poenitz@gmx.net>
10620
10621         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10622
10623         * BufferView.h:
10624         * BufferView2.C:
10625         * BufferView_pimpl.C:
10626         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10627
10628 2002-08-25  John Levon  <levon@movementarian.org>
10629
10630         * LyXAction.C: fix margin note description
10631
10632 2002-08-24  John Levon  <levon@movementarian.org>
10633
10634         * buffer.C:
10635         * bufferlist.C:
10636         * bufferview_funcs.C:
10637         * lyxfont.C:
10638         * undo_funcs.C: cleanups
10639
10640         * lyxfunc.C: disable CUT/COPY when no selection
10641
10642 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10643
10644         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10645         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10646
10647         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10648         Add backward compatibility to "mono", "gray" and "no".
10649
10650 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10651
10652         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10653         (and file_format >= 200).
10654
10655 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10656
10657         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10658
10659 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10660
10661         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10662
10663 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10664
10665         * BufferView_pimpl.C:
10666         * LyXAction.C:
10667         * buffer.C:
10668         * commandtags.h:
10669         * lyxfunc.C:
10670         * paragraph.[Ch]:
10671         * text2.C:
10672         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10673         inset and code to make it  work with the paragraph code. The inset
10674         can be anywhere in the paragraph, but will only do the expected
10675         thing in LaTeX if the layout file contains the parameter line
10676                         OptionalArgs    1
10677         (or more generally, a nonzero value) for that layout.
10678
10679 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10680
10681         * paragraph.h: remove the declaration of undefined counters class
10682         function.
10683
10684 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10685
10686         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10687         Dr. Richard Hawkins.
10688
10689 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10690
10691         * paragraph_funcs.h: remove some unneeded includes
10692
10693         * text.C (backspace): pasteParagraph now in global scipe
10694
10695         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10696         (pasteSelection): ditto
10697
10698         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10699         * paragraph_funcs.C (pasteParagraph): ... here
10700
10701 2002-08-20  André Pönitz <poenitz@gmx.net>
10702
10703         * commandtags.h: new LFUNs for swapping/copying table row/colums
10704
10705         * LyXAction.C:
10706         * lyxfunc.C: support for new lfuns
10707
10708 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10709
10710         * tabular.C:
10711         * buffer.[Ch]: remove NO_COMPABILITY stuff
10712
10713 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10714
10715         * boost.C (throw_exception): new file, with helper function for
10716         boost compiled without exceptions.
10717
10718         * paragraph.h:
10719         * lyxlength.C:
10720         * buffer.C:
10721         * ParameterStruct.h:
10722         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10723
10724         * bufferlist.C (emergencyWriteAll): use boost bind
10725
10726         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10727
10728         * text.C: include paragraph_funcs.h
10729         (breakParagraph): breakParagraph is now in global scope
10730
10731         * paragraph_funcs.[Ch]: new files
10732
10733         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10734         global scope
10735
10736         * buffer.C: include paragraph_funcs.h
10737         (insertStringAsLines): breakParagraph is now in global scope
10738
10739         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10740         paragraph_funcs.C
10741
10742         * CutAndPaste.C: include paragraph_funcs.h
10743         (cutSelection): breakParagraphConservative is now in global scope
10744         (pasteSelection): ditto
10745
10746         * buffer.h: declare oprator== and operator!= for
10747         Buffer::inset_iterator
10748
10749         * bufferlist.C (emergencyWrite): don't use fmt(...)
10750
10751         * text3.C: add using std::endl
10752
10753         * BufferView.C (moveCursorUpdate): remove default arg
10754
10755 2002-08-20  André Pönitz <poenitz@gmx.net>
10756
10757         * buffer.[Ch]: move inline functions to .C
10758
10759         * BufferView2.C:
10760         * BufferView_pimpl.C:
10761         * text.C:
10762         * buffer.[Ch]: use improved inset_iterator
10763
10764         * buffer.C:
10765         * paragraph.[Ch]: write one paragraph at a time
10766
10767 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10768
10769         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10770         style if style is not specified.
10771
10772 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10773
10774         * text2.C (setCounter): when searching for right label for a
10775         caption, make sure to recurse to parent insets (so that a caption
10776         in a minipage in a figure float works) (bug #568)
10777
10778 2002-08-20  André Pönitz <poenitz@gmx.net>
10779
10780         * text3.C: new file for LyXText::dispatch() and helpers
10781
10782         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10783
10784         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10785
10786 2002-08-19  André Pönitz <poenitz@gmx.net>
10787
10788         * lyxtext.h:
10789         * text.C: new LyXText::dispatch()
10790
10791         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10792
10793 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10794
10795         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10796
10797         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10798         Hebrew text.
10799
10800 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10801
10802         * Makefile.am: use $(variables) instead of @substitutions@
10803
10804 2002-08-15  André Pönitz <poenitz@gmx.net>
10805
10806         * lyxfunc.C:
10807         * BufferView_pimpl.C: streamlining mathed <-> outer world
10808         interaction
10809
10810         * commandtags.h:
10811         * LyXAction.C: remove unused LFUN_MATH
10812
10813 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10814
10815         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10816
10817 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10818
10819         * paragraph.C (Paragraph): reformat a bit
10820         (cutIntoMinibuffer): use builtin InsetList function instad of
10821         doing it manually.
10822         (getInset): ditto
10823
10824         * buffer.C: include boost/bind.hpp, add using std::for_each
10825         (writeFileAscii): use ParagraphList iterators
10826         (validate): use for_each for validate traversal of paragraphs
10827         (getBibkeyList): use ParagraphList iterators
10828         (resizeInsets): use for_each to resizeInsetsLyXText for all
10829         paragraphs.
10830         (getParFromID): use ParagraphList iterators
10831
10832         * BufferView2.C (lockInset): use paragraph list and iterators
10833
10834 2002-08-14  John Levon  <levon@movementarian.org>
10835
10836         * lyxserver.C: remove spurious xforms include
10837
10838 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10839
10840         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10841
10842 2002-08-13  André Pönitz <poenitz@gmx.net>
10843
10844         * LyXAction.[Ch]:
10845         * lyxfunc.C: further cleaning
10846
10847 2002-08-13  André Pönitz <poenitz@gmx.net>
10848
10849         * funcrequest.h: new constructor
10850
10851         * funcrequest.C: move stuff here from .h
10852
10853         * Makefile.am:
10854         * BufferView_pimpl.C:
10855         * LyXAction.C:
10856         * toc.C:
10857         * lyxfunc.C: subsequent changes
10858
10859         * lyxfunc.h: new view() member function
10860
10861         * lyxfunc.C: subsequent changes
10862
10863 2002-08-13  Angus Leeming  <leeming@lyx.org>
10864
10865         * BufferView2.C:
10866         * BufferView_pimpl.C:
10867         * buffer.C:
10868         * converter.C:
10869         * importer.C:
10870         * lyxfunc.C:
10871         * lyxvc.C:
10872         * toc.C:
10873         * vc-backend.C:
10874         changes due to the changed LyXView interface that now returns references
10875         to member variables not pointers.
10876
10877 2002-08-13  Angus Leeming  <leeming@lyx.org>
10878
10879         * WordLangTuple (word, lang_code): return references to strings,
10880         not strings.
10881
10882         * BufferView.h:
10883         * SpellBase.h:
10884         * lyxtext.h: forward-declare WordLangTuple.
10885
10886         * BufferView2.C:
10887         * ispell.C:
10888         * pspell.C:
10889         * text.C: #include "WordLangTuple.h".
10890
10891         * lyxtext.h:
10892         * text.C: (selectNextWordToSpellcheck): constify return type.
10893
10894 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10895
10896         * buffer.C:
10897         * buffer.h:
10898         * lyxtext.h:
10899         * paragraph.C:
10900         * paragraph_pimpl.h:
10901         * text.C:
10902         * text2.C:
10903         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10904         suggested by Angus.
10905         Made updateCounter always count from start of buffer, and removed
10906         second argument (par).
10907         Reverted floats number display to '#'. Perhaps I'll try again when the
10908         code base is sanitized a bit.
10909
10910 2002-08-12  Angus Leeming  <leeming@lyx.org>
10911
10912         * buffer.[Ch] (getLabelList): constify.
10913
10914 2002-08-07  André Pönitz <poenitz@gmx.net>
10915
10916         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10917
10918         * funcrequest.h: extension to keep mouse (x,y) position
10919
10920 2002-08-12  Juergen Vigna  <jug@sad.it>
10921
10922         * BufferView2.C (insertErrors): forbid undo when inserting error
10923         insets.
10924
10925         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10926
10927 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10928
10929         * ParagraphList.[Ch]: new files
10930
10931         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10932
10933         * BufferView2.C (lockInset): ParagraphList changes
10934         * toc.C: ditto
10935         * text2.C: ditto
10936         * bufferlist.C: ditto
10937         * buffer.h: ditto
10938         * buffer.C: ditto
10939
10940 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10941
10942         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10943         unused class variable counter_,
10944
10945         * paragraph.[Ch] (getFirstCounter): delete unused function
10946
10947         * counters.C: include LAssert.h
10948         (reset): add a new function with no arg, change other version to
10949         not have def. arg and to not allow empty arg.
10950
10951         * text2.C (setCounter): remove empty arg from call to Counters::reset
10952
10953 2002-08-11  John Levon  <levon@movementarian.org>
10954
10955         * Makefile.am: add WordLangTuple.h
10956
10957 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10958
10959         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10960         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10961
10962         * insets/insettext.C: InsetList changes
10963
10964         * graphics/GraphicsSupport.C (operator()): InsetList changes
10965
10966         * toc.C (getTocList): InsetList changes
10967
10968         * paragraph_pimpl.[Ch]: InsetList changes
10969
10970         * paragraph.[Ch]: InsetList changes
10971
10972         * buffer.C (inset_iterator): InsetList changes
10973         (setParagraph): ditto
10974         * buffer.h (inset_iterator): ditto
10975         * iterators.C (operator++): ditto
10976         * iterators.h: ditto
10977
10978         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10979
10980         * InsetList.[Ch]: new files, most InsetList handling moved out of
10981         paragraph.C.
10982
10983         * BufferView2.C (removeAutoInsets): InsetList changes
10984         (lockInset): ditto
10985         (ChangeInsets): ditto
10986
10987 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10988
10989         * paragraph_pimpl.h (empty): new function
10990
10991         * paragraph.[Ch] (empty): new function
10992
10993         * other files: use the new Paragraph::empty function
10994
10995 2002-08-09  John Levon  <levon@movementarian.org>
10996
10997         * lyxtext.h: remove unused refresh_height
10998
10999 2002-08-09  John Levon  <levon@movementarian.org>
11000
11001         * Makefile.am:
11002         * sgml.h:
11003         * sgml.C:
11004         * buffer.C:
11005         * paragraph.h:
11006         * paragraph.C: move sgml char escaping out of paragraph
11007
11008         * paragraph.h:
11009         * paragraph.C: remove id setter
11010
11011         * buffer.C:
11012         * paragraph.C:
11013         * paragraph_pimpl.C: remove dead tex_code_break_column
11014
11015         * bufferview_funcs.C: small cleanup
11016
11017         * lyxfunc.C: remove dead proto
11018
11019         * lyxtext.h: make some stuff private. Remove some dead stuff.
11020
11021         * lyxgluelength.C: make as[LyX]String() readable
11022
11023 2002-08-08  John Levon  <levon@movementarian.org>
11024
11025         * LyXAction.h:
11026         * LyXAction.C:
11027         * MenuBackend.C:
11028         * ToolbarDefaults.C:
11029         * lyxfunc.C:
11030         * lyxrc.C:
11031         * toc.C: lyxaction cleanup
11032
11033 2002-08-08  John Levon  <levon@movementarian.org>
11034
11035         * BufferView2.C: small cleanup
11036
11037         * lyxfind.h:
11038         * lyxfind.C: move unnecessary header into the .C
11039
11040 2002-08-08  John Levon  <levon@movementarian.org>
11041
11042         * funcrequest.h: just tedious nonsense
11043
11044         * lyx_main.h:
11045         * lyx_main.C: cleanups
11046
11047         * buffer.C:
11048         * vspace.C: remove dead header lyx_main.h
11049
11050 2002-08-07  Angus Leeming  <leeming@lyx.org>
11051
11052         * Paragraph.[Ch]:
11053         * paragraph_pimpl.h:
11054         Forward declare class Counters in paragraph.h by moving the ctrs member
11055         variable into Paragraph::Pimpl.
11056         (counters): new method, returning a reference to pimpl_->ctrs.
11057
11058         * text2.C: ensuing changes.
11059
11060 2002-08-07  John Levon  <levon@movementarian.org>
11061
11062         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11063
11064         * BufferView_pimpl.C: announce X selection on double/triple
11065           click
11066
11067         * lyx_main.C: use correct bool in batch dispatch
11068
11069         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11070
11071 2002-08-07  André Pönitz <poenitz@gmx.net>
11072
11073         * funcrequest.h: new class to wrap a kb_action and its argument
11074
11075         * BufferView.[Ch]:
11076         * BufferView_pimpl[Ch]:
11077         * LaTeX.C:
11078         * LyXAction.[Ch]:
11079         * lyxfunc.[Ch]:
11080         * lyxrc.C: subsequent changes
11081
11082
11083 2002-08-07  John Levon  <levon@movementarian.org>
11084
11085         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11086           document options change.
11087
11088 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11089
11090         * counters.[Ch]
11091         * text2.C
11092         * paragraph.[Ch]
11093         * makefile.am: move counters functionality over from
11094         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11095
11096 2002-08-06  John Levon  <levon@movementarian.org>
11097
11098         * WordLangTuple.h: new file for word + language code tuple
11099
11100         * SpellBase.h:
11101         * pspell.h:
11102         * pspell.C:
11103         * ispell.h:
11104         * ispell.C:
11105         * lyxtext.h:
11106         * text.C:
11107         * text2.C:
11108         * BufferView.h:
11109         * BufferView2.C: use WordLangTuple
11110
11111         * layout.h:
11112         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11113
11114 2002-08-06  John Levon  <levon@movementarian.org>
11115
11116         * lyx_main.C: fix cmdline batch handling
11117
11118 2002-08-06  André Pönitz <poenitz@gmx.net>
11119
11120         * lyxrc.C: set default for show_banner to true
11121
11122 2002-08-06  John Levon  <levon@movementarian.org>
11123
11124         * pspell.C: fix a crash, and allow new aspell to work
11125
11126 2002-08-06  John Levon  <levon@movementarian.org>
11127
11128         * lyxfunc.C:
11129         * kbmap.C: small cleanup
11130
11131         * vspace.h:
11132         * vspace.C: add const
11133
11134 2002-08-05  John Levon  <levon@movementarian.org>
11135
11136         * LyXAction.C: back to tabular-insert
11137
11138 2002-08-04  John Levon  <levon@movementarian.org>
11139
11140         * BufferView.h:
11141         * BufferView.C: cosmetic change
11142
11143         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11144
11145         * bufferlist.C:
11146         * buffer.h:
11147         * buffer.C:
11148         * lyxcb.h:
11149         * lyxcb.C:
11150         * lyxserver.C:
11151         * lyxvc.C:
11152         * vc-backend.C:
11153         * BufferView2.C: purge all "Lyx" not "LyX" strings
11154
11155         * lyxcursor.h:
11156         * lyxcursor.C: attempt to add some documentation
11157
11158         * lyxfunc.C:
11159         * commandtags.h:
11160         * LyXAction.C:
11161         * ToolbarDefaults.C:
11162         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11163           merge with LFUN_TABULAR_INSERT
11164
11165         * Makefile.am:
11166         * SpellBase.h:
11167         * ispell.h:
11168         * ispell.C:
11169         * pspell.h:
11170         * pspell.C: split up i/pspell implementations into separate
11171           files, many cleanups
11172
11173         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11174
11175         * text2.C: some cleanup
11176
11177         * lyxfunc.C: don't check for isp_command == "none" any more, it
11178           didn't make any sense
11179
11180 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11181
11182         * counters.[Ch]
11183         * text2.C
11184         * paragraph.[Ch]
11185         * makefile.am: move counters functionality over
11186         from text2.C/paragraph.[Ch] to counters.[Ch], and
11187         make proper C++.
11188 2002-08-02  John Levon  <levon@movementarian.org>
11189
11190         * buffer.C: s/lyxconvert/lyx2lyx/
11191
11192 2002-08-02  Angus Leeming  <leeming@lyx.org>
11193
11194         * lyxlex.C: revert John's change as it breaks reading of the user
11195         preamble.
11196
11197 2002-08-02  Angus Leeming  <leeming@lyx.org>
11198
11199         * importer.C (Import):
11200         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11201         changes due to LyXView::view() now returning a boost::shared_ptr.
11202
11203 2002-08-02  John Levon  <levon@movementarian.org>
11204
11205         * lyxlex.C: small cleanup
11206
11207 2002-08-02  John Levon  <levon@movementarian.org>
11208
11209         * text2.C (status): small cleanup, no logic change
11210
11211 2002-08-01  John Levon  <levon@movementarian.org>
11212
11213         * buffer.h:
11214         * buffer.C (writeFile): don't output alerts, caller
11215           handles this
11216
11217         * bufferlist.C:
11218         * lyx_cb.C: from above
11219
11220         * lyxfunc.C: allow to open non-existent files
11221
11222 2002-07-31  John Levon  <levon@movementarian.org>
11223
11224         * lyxserver.C: don't let incidental errors get
11225           in the way (errno)
11226
11227 2002-07-30  John Levon  <levon@movementarian.org>
11228
11229         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11230
11231 2002-07-30  John Levon  <levon@movementarian.org>
11232
11233         * lyxserver.h:
11234         * lyxserver.C: remove I/O callback too
11235
11236 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11237
11238         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11239         log.
11240
11241 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11242
11243         * many files: strip,frontStrip -> trim,ltrim,rtrim
11244
11245 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11246
11247         * PrinterParams.h: remove extern containsOnly, and include
11248         support/lstrings.h instead.
11249
11250         * LaTeX.C (scanAuxFile): modify because of strip changes
11251         (deplog): ditto
11252         * buffer.C (makeLaTeXFile): ditto
11253         * bufferparams.C (writeFile): ditt
11254         * lyxfont.C (stateText): ditto
11255         * lyxserver.C (read_ready): ditto
11256         * vc-backend.C (scanMaster): ditto
11257
11258         * BufferView_pimpl.h: ws changes
11259
11260         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11261
11262 2002-07-26  André Pönitz <poenitz@gmx.net>
11263
11264         * kb_sequence.C: remove unnedred usings
11265
11266 2002-07-26  Juergen Vigna  <jug@sad.it>
11267
11268         * lyxfind.C (LyXReplace): we have to check better if the returned
11269         text is not of theLockingInset()->getLockingInset().
11270
11271 2002-07-25  Juergen Vigna  <jug@sad.it>
11272
11273         * lyxfind.C (LyXReplace): don't replace if we don't get the
11274         right LyXText.
11275
11276         * undo_funcs.C (createUndo): remove debugging code.
11277
11278 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11279
11280         * buffer.C (parseSingleLyXformat2Token): Use default placement
11281         when reading old floats.
11282
11283         * FloatList.C (FloatList): Change the default placement of figure
11284         and tables to "tbp".
11285
11286 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11287
11288         * MenuBackend.C: using std::max
11289
11290 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11291
11292         * MenuBackend.C (expandToc):
11293         (expandToc2): code moved from xforms menu frontend. It is now
11294         generic and TOCs are transparent to menu frontends.
11295
11296 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11297
11298         * toc.C (getTocList): protect against buf=0
11299
11300         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11301         Menu as first parameter. Now, this calls itself recursively to
11302         expand a whole tree (this will be useful for TOC handling)
11303         (expandFloatInsert): remove 'wide' version of floats
11304
11305         * MenuBackend.h (submenuname): returns the name of the submenu.
11306         (submenu): returns the submenu itself, provided it has been
11307         created by MenuBackend::expand
11308
11309 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11310
11311         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11312         insets which have noFontChange == true. (bug #172)
11313
11314 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11315
11316         * BufferView_pimpl.C: add connection objects and use them...
11317         (Pimpl): here.
11318
11319 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11320
11321         * MenuBackend.C (expandLastfiles):
11322         (expandDocuments):
11323         (expandFormats):
11324         (expandFloatListInsert):
11325         (expandFloatInsert):
11326         (expand): split expand in parts
11327
11328 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11329
11330         * lyx_gui.C: use lyx_gui::exit()
11331
11332 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11333
11334         * LyXAction.C: show the failing pseudo action
11335
11336 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11337
11338         * buffer.C (readFile): Run the lyxconvert script in order to read
11339         old files.
11340
11341 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11342
11343         * LyXAction.C:
11344         * commandtags.h:
11345         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11346
11347 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11348
11349         * LyXAction.C:
11350         * commandtags.h:
11351         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11352
11353 2002-07-22  Herbert Voss  <voss@lyx.org>
11354
11355         * lengthcommon.C:
11356         * lyxlength.[Ch]: add support for the vertical lengths
11357
11358 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11359
11360         * toc.[Ch]: std:: fixes
11361
11362 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11363
11364         * lyxrc.C: do not include lyx_main.h
11365
11366         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11367         for layouts
11368
11369         * lyxrc.C:
11370         * encoding.C:
11371         * bufferlist.C:
11372         * BufferView2.C: include "lyxlex.h"
11373
11374         * tabular.h:
11375         * bufferparams.h: do not #include "lyxlex.h"
11376
11377         * lyxtextclasslist.C (Add): remove method
11378         (classlist): renamed to classlist_
11379
11380         * paragraph_pimpl.C:
11381         * paragraph.C:
11382         * text2.C:
11383         * CutAndPaste.C:
11384         * bufferview_funcs.C:
11385         * bufferlist.C:
11386         * text.C:
11387         * LaTeXFeatures.C:
11388         * buffer.C:
11389         * toc.C (getTocList): use BufferParams::getLyXTextClass
11390
11391         * toc.C (getTocList): use InsetFloat::addToToc
11392
11393         * toc.[Ch]: new files, containing helper functions to handle table
11394         of contents
11395
11396         * lyxfunc.C (dispatch): no need to remove spaces around command
11397         given as a string
11398         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11399         first command of the sequence; it is not very clever, but I do not
11400         have a better idea, actually
11401
11402         * LyXAction.C (LookupFunc): make sure to remove space at the
11403         beginning and end of the command
11404
11405 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11406
11407         * MenuBackend.C (getMenubar): new method: return the menubar of
11408         this menu set
11409         (read): treat differently reading of menu and menubar (in
11410         particular, the menubar has no name now)
11411         (Menu::menubar): remove
11412
11413         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11414         saving is finished
11415
11416 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11417
11418         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11419         a bibitem inset in a RTL paragraph.
11420
11421 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11422
11423         * paragraph_pimpl.C: constify
11424
11425         * BufferView_pimpl.C:
11426         * LaTeX.C:
11427         * lyxfunc.C: fix dispatch in a nicer way
11428
11429 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11430
11431         * lyxfunc.C (dispatch):
11432         * BufferView_pimpl.C:
11433         * BufferView_pimpl.h:
11434         * BufferView.C:
11435         * BufferView.h: rename Dispatch() to dispatch()
11436
11437         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11438
11439         * lyxlayout.C (Read): honor DependsOn tag
11440
11441         * lyxlayout.[Ch] (depends_on): new method
11442
11443         * version.C.in: update lyx_docversion
11444
11445         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11446
11447         * paragraph.C (validate): remove from here...
11448         * paragraph_pimpl.C (validate): ... and move here
11449         (isTextAt): make it const
11450
11451         * buffer.C (getLists): ws cleanup
11452
11453 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11454
11455         * language.C (read): Use iso8859-1 encoding in latex_lang
11456         (this prevents LyX from crashing when using iso10646-1 encoding).
11457
11458 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11459
11460         * text2.C (toggleInset): if cursor is inside an inset, close the
11461         inset and leave cursor _after_ it
11462
11463 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11464
11465         * lyxfunc.C: move minibuffer completion handling out of here
11466
11467 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11468
11469         * BufferView_pimpl.C:
11470         * LaTeX.C: fix dispatch calls
11471
11472 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11473
11474         * text.C (drawChars): Fix Arabic text rendering.
11475
11476 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11477
11478         * LyXAction.C:
11479         * commandtags.h:
11480         * lyxfunc.C: remove message-push/pop
11481
11482         * lyxserver.C:
11483         * lyxfunc.h:
11484         * lyxfunc.C: rationalise some code by removing verboseDispatch
11485           in favour of a bool argument to dispatch()
11486
11487 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11488
11489         * lyx_main.C (init): make sure to read symlinks as absolute paths
11490
11491 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11492
11493         * lyxfunc.h:
11494         * lyxfunc.C: no need for commandshortcut to be a member
11495
11496 2002-07-15  André Pönitz <poenitz@gmx.net>
11497
11498         * converter.C: add support for $$s (scripts from lib/scripts dir)
11499         * lyx_main.C: white space
11500
11501 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11502
11503         * bufferlist.C:
11504         * lyxrc.h:
11505         * lyxrc.C: remove second exit confirmation
11506
11507 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11508
11509         * BufferView.h:
11510         * BufferView.C:
11511         * BufferView2.C:
11512         * BufferView_pimpl.h:
11513         * BufferView_pimpl.C:
11514         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11515
11516 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11517
11518         * MenuBackend.C (expand): add numeric shortcuts to document menu
11519
11520         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11521
11522 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11523
11524         * lyxfont.C (setLyXFamily):
11525         (setLyXSeries):
11526         (setLyXShape):
11527         (setLyXSize):
11528         (setLyXMisc):
11529         (lyxRead):
11530         * debug.C (value):
11531         * buffer.C (asciiParagraph): use ascii_lowercase
11532
11533 2002-07-15  Mike Fabian  <mfabian@suse.de>
11534
11535         * lyxlex_pimpl.C (search_kw):
11536         * lyxlex.C (getLongString):
11537         * converter.h (operator<):
11538         * converter.C (operator<):
11539         * buffer.C (parseSingleLyXformat2Token):
11540         (asciiParagraph):
11541         * ToolbarDefaults.C (read):
11542         * MenuBackend.C (checkShortcuts):
11543         (read):
11544         * LColor.C (getFromGUIName):
11545         (getFromLyXName): use the compare_ascii_no_case instead of
11546         compare_no_case, because in turkish, 'i' is not the lowercase
11547         version of 'I', and thus turkish locale breaks parsing of tags.
11548
11549 2002-07-16  Angus Leeming  <leeming@lyx.org>
11550
11551         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11552         now takes a Buffer const & argument.
11553
11554 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11555
11556         * BufferView.C (resize): check there's a buffer to resize
11557
11558 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11559
11560         * lyxfunc.C: remove dead code
11561
11562         * lyxserver.h:
11563         * lyxserver.C: use lyx_guii::set_read_callback
11564
11565 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11566
11567         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11568         an inset in a RTL paragraph.
11569
11570 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11571
11572         * lyxfunc.C: repaint after a font size update
11573
11574 2002-07-15  André Pönitz <poenitz@gmx.net>
11575
11576         * lyxlength.C: inBP should be able to return negative values
11577
11578 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11579
11580         * lyxfunc.C: use lyx_gui::update_fonts()
11581
11582 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11583
11584         * lyxfunc.C: use lyx_gui::update_color()
11585
11586 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11587
11588         * bufferlist.C:
11589         * lyxfunc.h:
11590         * lyxfunc.C:
11591         * lyxrc.h:
11592         * lyxrc.C: remove file->new asks for name option, and let
11593           buffer-new take an argument
11594
11595 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11596
11597         * BufferView_pimpl.C: remove unneeded extra repaint()
11598
11599 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11600
11601         * LyXAction.C: allow command-sequence with NoBuffer
11602
11603         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11604
11605 2002-07-10  Angus Leeming  <leeming@lyx.org>
11606
11607         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11608
11609 2002-07-09  Angus Leeming  <leeming@lyx.org>
11610
11611         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11612
11613 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11614
11615         * lengthcommon.h: whitespace
11616
11617         * lyxfunc.C: update scrollbar after goto paragraph
11618
11619         * lyxtext.h: factor out page break drawing, and fix it so
11620           page break/added space paints as selected nicely
11621
11622 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11623
11624         * BufferView_pimpl.C: add FIXMEs, clean up a little
11625
11626 2002-07-09  André Pönitz <poenitz@gmx.net>
11627
11628         * lyxfont.[Ch]: support for wasy symbols
11629
11630 2002-07-08  André Pönitz <poenitz@gmx.net>
11631
11632         * BufferView_pimpl.C: apply John's patch for #93.
11633
11634 2002-07-05  Angus Leeming  <leeming@lyx.org>
11635
11636         * BufferView_pimpl.C (buffer): generate previews if desired.
11637
11638         * LColor.h: add "preview" to the color enum.
11639
11640         * LColor.C (LColor): add a corresponding entry to the items array.
11641
11642         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11643         with this buffer.
11644
11645 2002-07-05  Angus Leeming  <leeming@lyx.org>
11646
11647         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11648         The body of the code is now in the method that is passed an ostream &
11649         rather than a file name.
11650         Pass an additional only_preamble parameter, useful for the forthcoming
11651         preview stuff.
11652
11653 2002-07-03  André Pönitz <poenitz@gmx.net>
11654
11655         * lyxfunc.C: simplify getStatus() a bit for math stuff
11656
11657 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11658
11659         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11660
11661 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11662
11663         * text.C (changeRegionCase): do not change case of all the
11664         document when region ends at paragraph end (bug #461)
11665
11666 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11667
11668         * paragraph.C (startTeXParParams):
11669         (endTeXParParams): add \protect when necessary
11670
11671 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11672
11673         * BufferView_pimpl.C (workAreaExpose): remove warning
11674
11675 2002-06-27  Angus Leeming  <leeming@lyx.org>
11676
11677         * Makefile.am: add lyxlayout_ptr_fwd.h.
11678
11679 2002-06-26  André Pönitz <poenitz@gmx.net>
11680
11681         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11682
11683 2002-06-25  Angus Leeming  <leeming@lyx.org>
11684
11685         * lyxfunc.C (dispatch): Comment out the call to
11686         grfx::GCache::changeDisplay. The method no longer exists now that the
11687         pixmap generation part of the graphics loader has been moved into
11688         InsetGraphics.
11689
11690 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11691
11692         * text2.C: layout as layout
11693
11694         * text.C: layout as layout
11695
11696         * tabular.C (OldFormatRead): layout as layout
11697
11698         * paragraph_pimpl.C (TeXDeeper): layout as layout
11699         (realizeFont): layout as layout
11700
11701         * paragraph.C (writeFile): layout as layout
11702         (validate): layout as layout
11703         (getFont): layout as layout
11704         (getLabelFont): layout as layout
11705         (getLayoutFont): layout as layout
11706         (breakParagraph): layout as layout
11707         (stripLeadingSpaces): layout as layout
11708         (getEndLabel): layout as layout
11709         (getMaxDepthAfter): layout as layout
11710         (applyLayout): layout as layout
11711         (TeXOnePar): layout as layout
11712         (simpleTeXOnePar): layout as layout
11713         (TeXEnvironment): layout as layout
11714         (layout): layout as layout
11715         (layout): layout as layout
11716
11717         * lyxtextclass.C (compare_name): new functor to work with
11718         shared_ptr, layout as layout
11719         (Read): layout as layout
11720         (hasLayout): layout as layout
11721         (operator): layout as layout
11722         (delete_layout): layout as layout
11723         (defaultLayout): layout as layout
11724
11725         * lyxlayout_ptr_fwd.h: new file
11726
11727         * lyxlayout.C (Read): layout as layout
11728
11729         * lyx_cb.C (MenuInsertLabel): layout as layout
11730
11731         * bufferlist.C (newFile): layout as layout
11732
11733         * buffer.C (readLyXformat2): layout as layout
11734         (parseSingleLyXformat2Token): layout as layout
11735         (insertStringAsLines): layout as layout
11736         (asciiParagraph): layout as layout
11737         (latexParagraphs): layout as layout
11738         (makeLinuxDocFile): layout as layout
11739         (simpleLinuxDocOnePar): layout as layout
11740         (makeDocBookFile): layout as layout
11741         (simpleDocBookOnePar): layout as layout
11742         (getLists): layout as layout
11743
11744         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11745
11746         * CutAndPaste.C (cutSelection): layout as layout
11747         (pasteSelection): layout as layout
11748         (SwitchLayoutsBetweenClasses): layout as layout
11749
11750         * BufferView_pimpl.C (Dispatch): layout as layout
11751         (smartQuote): layout as layout
11752
11753         * BufferView2.C (unlockInset): layout as layout
11754
11755 2002-06-24  André Pönitz <poenitz@gmx.net>
11756
11757         * lyxfunc.C: fix #487
11758
11759 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11760
11761         * lyxrc.h:
11762         * lyxrc.C:
11763         * lyxfunc.C: remove display_shortcuts, show_banner
11764
11765 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11766
11767         * Buffer_pimpl.C: oops, update on resize
11768
11769 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11770
11771         * buffer.C:
11772         * converter.C:
11773         * exporter.C:
11774         * lyxfunc.C:
11775         * BufferView.h:
11776         * BufferView.C: use repaint()
11777
11778         * BufferView_pimpl.h:
11779         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11780           as it's a clearer description. Remove superfluous
11781           redraws.
11782
11783 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11784
11785         * text.C: fix bug 488. Not ideal, but getting
11786           getWord() to work properly for the insets that
11787           matter is more difficult ...
11788
11789 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11790
11791         * BufferView_pimpl.C:
11792         * LyXAction.C:
11793         * commandtags.h:
11794         * lyxfunc.C: remove the six million index lyxfuncs to just
11795           one, and DTRT (bug 458)
11796
11797 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11798
11799         * BufferView.h:
11800         * BufferView.C:
11801         * BufferView_pimpl.h:
11802         * BufferView_pimpl.C: clean up resize() stuff,
11803           and unnecessary updateScreen()s
11804
11805 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11806
11807         * BufferView.h:
11808         * BufferView.C:
11809         * BufferView_pimpl.h:
11810         * BufferView_pimpl.C:
11811         * lyxfind.h:
11812         * lyxfind.C:
11813         * minibuffer.C: remove focus management of workarea,
11814           not needed. Use screen's greyOut()
11815
11816 2002-06-17  Herbert Voss  <voss@lyx.org>
11817
11818         * converter.C: (convert) do not post a message, when converting
11819         fails, let the calling function decide what to do in this case
11820
11821 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11822
11823         * lyxfunc.C: tidy up a little
11824
11825 2002-06-16    <alstrup@diku.dk>
11826
11827         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11828         Got rid of FORMS_H_LOCATION include. Now we are
11829         GUII.
11830
11831 2002-06-15  LyX Development team  <lyx@rilke>
11832
11833         * buffer.[Ch] (sgmlOpenTag):
11834         (sgmlCloseTag): Added support for avoiding pernicious mixed
11835         content. Return number of lines written.
11836
11837         (makeLinuxDocFile):
11838         (makeDocBookFile): Fixed calls to sgml*Tag.
11839         Simple white space clean.
11840
11841         (simpleDocBookOnePar): Simple white space clean.
11842
11843         * tabular.[Ch] (docBook): Renamed to docbook and got another
11844         argument to related with the pernicious mixed content.
11845
11846         (docbookRow): Fixed calls for docbook inset method.
11847
11848 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11849
11850         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11851         so it's X11 independent.
11852
11853         * kb*.[Ch]: ditto.
11854
11855         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11856
11857 2002-06-15  Lyx Development team  <lyx@electronia>
11858
11859         * intl.h: Renamed getTrans to getTransManager.
11860
11861 2002-06-14  Angus Leeming  <leeming@lyx.org>
11862
11863         * Makefile.am: nuke forgotten stl_string_fwd.h.
11864
11865 2002-06-12  Angus Leeming  <leeming@lyx.org>
11866
11867         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11868
11869 2002-06-13  Angus Leeming  <leeming@lyx.org>
11870
11871         * LaTeX.C:
11872         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11873
11874 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11875
11876         * kbmap.C (getiso): add support for cyrillic and greek
11877
11878 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11879
11880         * BufferView.h:
11881         * BufferView.C:
11882         * BufferView_pimpl.h:
11883         * BufferView_pimpl.C: move bogus scrolling logic
11884           to xforms
11885
11886 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11887
11888         * lyxfunc.C:
11889         * BufferView_pimpl.C: view->resize() change
11890
11891 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11892
11893         * BufferView_pimpl.C: topCursorVisible
11894           prototype change
11895
11896 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11897
11898         * Makefile.am:
11899         * lyx_gui.h:
11900         * lyx_gui.C: move to frontends/
11901
11902         * main.C:
11903         * lyx_main.h:
11904         * lyx_main.C: changes from above
11905
11906 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11907
11908         * intl.C:
11909         * intl.h:
11910         * kbmap.C:
11911         * kbsequence.C:
11912         * lyx_cb.C:
11913         * lyx_main.C: minor tidy
11914
11915 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11916
11917         * BufferView_pimpl.h:
11918         * BufferView_pimpl.C:
11919         * BufferView.h:
11920         * BufferView.C: make painter() const,
11921           remove dead code
11922
11923         * BufferView2.C: use screen() accessor
11924
11925         * lyx_main.h:
11926         * lyx_main.C: some minor cleanup
11927
11928 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11929
11930         * BufferView_pimpl.h:
11931         * BufferView_pimpl.C: remove enter/leaveView,
11932           use workHeight()
11933
11934 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11935
11936         * BufferView.h:
11937         * BufferView.C:
11938         * BufferView2.C:
11939         * BufferView_pimpl.h:
11940         * BufferView_pimpl.C: only construct screen once,
11941           rename
11942
11943         * lyxrc.C: remove pointless comment
11944
11945 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11946
11947         * BufferView.h:
11948         * BufferView.C: remove active() and belowMouse()
11949
11950         * BufferView_pimpl.h:
11951         * BufferView_pimpl.C: use workarea() not workarea_,
11952           and make it use a scoped_ptr instead
11953
11954 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11955
11956         * lyx_gui.C: add debug message on BadWindow
11957
11958 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11959
11960         * sp_spell.C: fdopen is not part of the C++ standard.
11961
11962         * paragraph.C (InsetIterator): use >= instead of ==
11963
11964 2002-06-07  Angus Leeming  <leeming@lyx.org>
11965
11966         Fixes needed to compile with Compaq cxx 6.5.
11967         * BufferView_pimpl.C:
11968         * DepTable.C:
11969         * buffer.C:
11970         * converter.C:
11971         * encoding.C:
11972         * lyx_gui.C:
11973         * lyx_main.C:
11974         * lyxtextclasslist.C:
11975         * minibuffer.C:
11976         * sp_spell.C:
11977         * tabular_funcs.C:
11978         * vc-backend.C:
11979         all c-library variables have been moved into namespace std. Wrap
11980         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11981
11982         * lyxlength.C:
11983         * tabular-old.C:
11984         * tabular.C:
11985         Add a using std::abs declaration.
11986
11987         * kbmap.h (modifier_pair):
11988         * paragraph.h (InsetTable, InsetList):
11989         * lyxfont.h (FontBits):
11990         type definition made public.
11991
11992         * bufferlist.C (emergencyWriteAll): the compiler complains that
11993         there is more than one possible lyx::class_fun template to choose from.
11994         I re-named the void specialisation as lyx::void_class_fun.
11995
11996         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11997
11998         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11999         the compiler is is unable to find tostr in write_attribute.
12000
12001 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12002
12003         * buffer.C (sgmlError): hide #warning
12004
12005 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12006
12007         * xtl/*: get rid of xtl, which is not in use anyway
12008
12009         * LyXAction.C (init):
12010         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12011         were unimplemented xtl experimentation
12012
12013 2002-06-04  André Pönitz <poenitz@gmx.net>
12014
12015         * lyxfunc.C: disable array operation on simple formulae
12016
12017 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12018
12019         * converter.C: constify a bit
12020
12021 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12022
12023         * lyx_gui.C: check xforms version correctly
12024
12025 2002-04-30  Herbert Voss  <voss@lyx.org>
12026
12027         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12028         "keep" option
12029
12030 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12031
12032         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12033           attempt to register it with a VCS)
12034
12035 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12036
12037         * lyx_main.C (init): honor variables LYX_DIR_13x and
12038         LYX_USERDIR_13x
12039
12040 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12041
12042         * buffer.h:
12043         * buffer.C:
12044         * lyx_main.C: fix a crash on bad command line,
12045           and give a useful exit status on error
12046
12047         * lyxfunc.C (doImport): allow -i lyx to work
12048
12049 2002-03-30  André Pönitz <poenitz@gmx.net>
12050
12051         * lyxfunc.C: mathed font changes
12052
12053 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12054
12055         * LaTeX.C:
12056         * importer.h:
12057         * importer.C:
12058         * lyx_sty.h:
12059         * lyx_sty.C:
12060         * lyxlex.C:
12061         * lyxrow.h:
12062         * lyxtext.h:
12063         * paragraph.h:
12064         * paragraph.C:
12065         * texrow.h:
12066         * texrow.C:
12067         * text.C:
12068         * trans_mgr.h: srcdocs, and some minor cleanups
12069
12070 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12071
12072         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12073         call getFont all the time)
12074
12075 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12076
12077         * switch from SigC signals to boost::signals
12078
12079 2002-05-29  André Pönitz <poenitz@gmx.net>
12080
12081         * paragraph_pimpl.C (getChar): don't call size() too often...
12082
12083 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12084
12085         * paragraph_pimpl.C (insertChar): do not try to update tables when
12086         appending (pos == size())
12087
12088         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12089         in order to reduce drastically the number of comparisons needed to
12090         parse a large document
12091
12092 2002-05-29  André Pönitz <poenitz@gmx.net>
12093
12094         * text.C:
12095         * text2.C:
12096         * lyxtextclass.C:
12097         * sp_pspell.h:
12098         * textclasslist.[Ch]:
12099         * sp_ispell.h: whitespace change
12100
12101 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12102
12103         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12104         lyxaction directly now.
12105
12106 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12107
12108         * trans.C:
12109         * lyxfont.C:
12110         * lyxvc.C: remove unused headers
12111
12112 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12113
12114         * Makefile.am:
12115         * buffer.h:
12116         * undostack.h:
12117         * undostack.C:
12118         * undo_funcs.h:
12119         * undo_funcs.C: some cleanups. Use shared_ptr
12120           and a template for the undo stacks.
12121
12122 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12123
12124         * BufferView_pimpl.h:
12125         * BufferView_pimpl.C:
12126         * kbmap.h:
12127         * kbmap.C:
12128         * kbsequence.h:
12129         * kbsequence.C:
12130         * lyxfunc.h:
12131         * lyxfunc.C:
12132         * text2.C: use key_state/mouse_state
12133
12134 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12135
12136         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12137         and LSubstring
12138
12139         * chset.C: change include order
12140         (loadFile): use boost regex and get rid of LRegex and LSubstring
12141
12142         * Makefile.am (BOOST_LIBS): new variable
12143         (lyx_LDADD): use it
12144
12145         * LaTeX.C: change include order.
12146         (scanAuxFile): use boost regex and get rid of LRegex and
12147         LSubstring
12148         (deplog): ditto
12149
12150 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12151
12152         * ColorHandler.h:
12153         * ColorHandler.C:
12154         * FontInfo.h:
12155         * FontInfo.C: moved to frontends/xforms/
12156
12157         * FontLoader.h:
12158         * FontLoader.C: moved into frontends for GUIIzation
12159
12160         * Makefile.am:
12161         * lyx_gui.C:
12162         * lyxfont.C:
12163         * lyxfunc.C: changes from above
12164
12165 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12166
12167         * LColor.C: remove spurious X include
12168
12169         * BufferView_pimpl.C:
12170         * Makefile.am:
12171         * font.h:
12172         * font.C:
12173         * text.C:
12174         * text2.C: move font metrics to frontends/
12175
12176 2002-05-24  Juergen Vigna  <jug@sad.it>
12177
12178         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12179         setting the undo_cursor.
12180
12181         * ParagraphParameters.h: include local includes first.
12182
12183 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12184
12185         * BufferView_pimpl.C:
12186         * BufferView_pimpl.h:
12187         * Makefile.am:
12188         * WorkArea.h:
12189         * WorkArea.C:
12190         * screen.C: move WorkArea into frontends/
12191
12192         * lyxscreen.h:
12193         * screen.C:
12194         * text.C:
12195         * BufferView.C:
12196         * BufferView2.C: move LyXScreen into frontends/
12197
12198         * lyxlookup.h:
12199         * lyxlookup.C:
12200         * lyx_gui.C: move lyxlookup into frontends/xforms/
12201
12202 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12203
12204         * BufferView2.C:
12205         * BufferView_pimpl.C:
12206         * FontLoader.C:
12207         * LyXView.h:
12208         * LyXView.C:
12209         * Makefile.am:
12210         * WorkArea.C:
12211         * XFormsView.h:
12212         * XFormsView.C:
12213         * buffer.C:
12214         * bufferlist.C:
12215         * bufferview_funcs.C:
12216         * converter.C:
12217         * importer.C:
12218         * lyx_cb.C:
12219         * lyx_gui.C:
12220         * lyx_main.C:
12221         * lyx_find.C:
12222         * lyxfunc.C:
12223         * lyxvc.C:
12224         * minibuffer.C:
12225         * text.C:
12226         * text2.C:
12227         * trans.C:
12228         * vc-backend.C: move LyX/XFormsView into frontends/
12229
12230 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12231
12232         * Makefile.am:
12233         * PainterBase.C:
12234         * PainterBase.h:
12235         * Painter.C:
12236         * Painter.h:
12237         * WorkArea.C:
12238         * WorkArea.h:
12239         * screen.C:
12240         * tabular.C:
12241         * text.C:
12242         * text2.C: move Painter to frontends/
12243
12244 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12245
12246         * buffer.C: comment out some some code that depend upon lyx_format
12247         < 220
12248
12249         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12250         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12251
12252         * buffer.h (NO_COMPABILITY): turn off compability
12253
12254         * ColorHandler.C: include scoped_array.hpp
12255
12256         * font.C: Use more specific smart_ptr header.
12257         * Painter.C: ditto
12258         * gettext.C: ditto
12259         * ShareContainer.h: ditto
12260         * lyx_main.h: ditto
12261         * kbmap.h: ditto
12262         * FontInfo.h: ditto
12263         * BufferView_pimpl.h: ditto
12264         * ColorHandler.h: ditto
12265
12266         * kbmap.C (defkey): change call to shared_ptr::reset
12267
12268 2002-05-21  Juergen Vigna  <jug@sad.it>
12269
12270         * buffer.C (insertErtContents): fix to insert ert asis if it is
12271         non empty. Skip it completely if it contains only whitespaces.
12272
12273 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12274
12275         * BufferView_pimpl.C:
12276         * BufferView2.C: clear selection on paste (bug 393)
12277
12278 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12279
12280         * DepTable.C: include ctime
12281
12282 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12283
12284         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12285
12286 2002-05-14  Juergen Vigna  <jug@sad.it>
12287
12288         * text.C (breakParagraph): fixed function to honor the keepempty
12289         layout in the right maner and also to permit the right breaking
12290         algorithm on empty or non empyt keepempty paragraphs.
12291
12292         * paragraph.C (breakParagraph): we have to check also if the par
12293         is really empty (!size()) for isempty otherwise we do the wrong
12294         paragraph break.
12295
12296 2002-05-10  Juergen Vigna  <jug@sad.it>
12297
12298         * buffer.[Ch] : The following are only changes to the ert
12299         compatibility read reading old LaTeX layout and font stuff and
12300         convert it to ERTInsets.
12301
12302         * buffer.h: added isErtInset().
12303
12304         * buffer.C (struct ErtComp): add a fromlayout bool to check
12305         if we're inside a LaTeX layout.
12306         (isErtInset): new helper function.
12307         (insertErtContents): look for other ert insets before this one
12308         and insert the contents there, so that we don't have subsequent
12309         ERT insets with nothing between them. This way we create only one
12310         inset with multiple paragraphs. Also check if we don't insert only
12311         spaces ' ' as they are ignored anyway afterwards in the .tex file
12312         so if we have only spaces we will ignore this latex part in the
12313         new file.
12314         (parseSingleLyXformat2Token \\layout): better compatibility when
12315         reading layout-latex stuff.
12316         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12317         language tag.
12318         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12319         stuff after reading the inset only get the information back from
12320         the stack.
12321
12322 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12323
12324         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12325
12326         * LaTeXFeatures.C (getBabelOptions): New method.
12327
12328 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12329
12330         * BufferView_pimpl.C (Dispatch): work around missing argument for
12331         'layout'
12332
12333 2002-05-08  Juergen Vigna  <jug@sad.it>
12334
12335         * text.C (leftMargin): handle paragraph leftindent.
12336
12337         * paragraph.C (writeFile): write the new \\leftindent tag.
12338         (validate): handle leftindent code.
12339         (TeXEnvironment): handle paragraphleftindent code again.
12340
12341         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12342
12343         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12344         for paragrap_extra indent code and new token \\leftindent.
12345         (latexParagraphs): handle the leftindent as environment.
12346
12347         * ParameterStruct.h: added leftindent support.
12348
12349         * ParagraphParameters.C (leftIndent): added support functions for
12350         the paragraph left indent.
12351
12352         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12353         more appropriate.
12354
12355 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12356
12357         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12358         inside insetERT.
12359
12360         * text.C (computeBidiTables): No bidi in insetERT.
12361
12362         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12363         in RTL documents.
12364
12365 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12366
12367         * version.C.in: pre 5
12368
12369 2002-05-02  José Matos  <jamatos@fep.up.pt>
12370         * buffer.C (makeDocBookFile): white space changes, add newline to
12371         command styles.
12372         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12373
12374         * tabular.C (docBook): fix typo.
12375
12376 2002-05-03  Juergen Vigna  <jug@sad.it>
12377
12378         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12379         change in LyXText as we can not be sure it was not freed.
12380         (drawOneRow): remove unused code.
12381
12382         * text.C (drawInset): redo the calculation of the need_break_row as
12383         it could have a row which was already freed.
12384         (draw): look at the return value of drawInset and return false if
12385         it also returned false.
12386         (paintRowText): look at the return value of draw and return false if
12387         it also returned false.
12388
12389         * lyxtext.h: added bool return type to drawInset() and draw() so that
12390         if we have a change in the row so that the rowbreak has to be redone
12391         we abort drawing as it will be called again.
12392
12393 2002-05-02  Juergen Vigna  <jug@sad.it>
12394
12395         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12396         a change in the maintext also if we're inside an inset.
12397         (Dispatch): set the cursor again after a break line and after the
12398         screen has been updated as it could be we're in a different row.
12399
12400         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12401         to set the cursor behind the pargraph with > size().
12402         (setCursor): check also for the same paragraph when checking where
12403         to put the cursor if we have a NFR inset.
12404
12405         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12406         parts of layout read further up as it still was in the wrong
12407         position.
12408
12409 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12410
12411         * screen.C (drawFromTo): change sine fullRebreak always return
12412         true.
12413
12414         * buffer.C (parseSingleLyXformat2Token): reindent some
12415
12416         * BufferView_pimpl.C (update): change since fullRebreak always
12417         return true.
12418         (Dispatch): git rid of the last hardcoded "Standard"s.
12419
12420 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12421
12422         * text2.[Ch] (fullRebreak): make it return void now that we always
12423         returned true.
12424
12425 2002-04-30  Juergen Vigna  <jug@sad.it>
12426
12427         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12428         ert compatibility check for "latex" layout.
12429
12430 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12431
12432         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12433         minipages: use col% instead of p%, and also use the current font.
12434         (makeLaTeXFile): Fix use babel condition.
12435         (parseSingleLyXformat2Token): Correct font when reading old floats.
12436
12437 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12438
12439         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12440         inserting list of floats.
12441
12442 2002-04-25  Herbert Voss  <voss@lyx.org>
12443
12444         * MenuBackend.C (expand): don't add the graphics extensions to the
12445         export menu
12446
12447 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12448
12449         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12450         non-existing layout, do not complain if it was the default layout
12451         of the original class (bug #342)
12452
12453 2002-04-24  Juergen Vigna  <jug@sad.it>
12454
12455         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12456         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12457
12458 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12459
12460         * buffer.C (getBibkeyList): If using \bibliography, return the
12461         option field with the reference itself. Enables us to provide natbib
12462         support when using \bibliography.
12463
12464 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12465
12466         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12467
12468         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12469         natbib is provided by the LaTeX class.
12470
12471 2002-04-23  Juergen Vigna  <jug@sad.it>
12472
12473         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12474         Wakeup functions.
12475
12476         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12477
12478 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12479
12480         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12481
12482         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12483         ensuremath around textordmasculine, textordfeminine and
12484         textdegree.
12485
12486 2002-04-19  Juergen Vigna  <jug@sad.it>
12487
12488         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12489         reinitializing the buffer otherwise row-dimensions may be wrong.
12490         (update): reset also the selection cursors if they do exits otherwise
12491         their x/y positions may be wrong.
12492
12493         * text2.C (cursorDown): don't enter the inset if we came from a row
12494         above and are one row over the inset.
12495
12496         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12497         really leaving an inset.
12498
12499 2002-04-18  Juergen Vigna  <jug@sad.it>
12500
12501         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12502         of the selected paragraph does not have the selected layout also if
12503         the last one had!
12504
12505         * text2.C (setLayout): fixed bug which did not change last selected
12506         paragraph.
12507
12508         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12509         changed the read and substituted \\end_float with \\end_inset!
12510
12511         * BufferView_pimpl.C (cursorPrevious):
12512         (cursorNext): fixed to make it work with rows heigher than the work
12513         area without moving the cursor only the draw of the row.
12514         (workAreaMotionNotify): fix jumping over high rows.
12515
12516 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12517
12518         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12519         Ressler.
12520
12521 2002-04-16  Juergen Vigna  <jug@sad.it>
12522
12523         * text2.C (setCursor): set also the irow().
12524         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12525         (cursorUp):
12526         (cursorDown): support for locking an inset if the x_fix value goes
12527         inside it. That way I can transverse insets too with cursor up/down.
12528
12529         * lyxrow.h: added irow helper function same as other (i) functions.
12530
12531         * BufferView_pimpl.C (cursorPrevious):
12532         (cursorNext): fixed for insets!
12533
12534 2002-04-15  Juergen Vigna  <jug@sad.it>
12535
12536         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12537         position otherwise it is wrong in some cases.
12538
12539         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12540         inside the inset before the call.
12541
12542 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12543
12544         * buffer.[Ch] (getBibkeyList): make it const.
12545
12546 2002-04-12  Juergen Vigna  <jug@sad.it>
12547
12548         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12549
12550         * text2.C (getCursorX): new helper function
12551         (setCursor): compute also ix_
12552         (setCursorFromCoordinates): set also ix.
12553
12554         * lyxcursor.h: added ix_ and helper functions.
12555
12556         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12557
12558         * buffer.C (insertStringAsLines): dont break paragraph if the this
12559         paragraph is inside an inset which does not permit it!
12560
12561         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12562         also with no chars on this paragraph.
12563         (paintRowText): only paint stuff if it's inside the workarea!
12564
12565         * paragraph.C (breakParagraph): honor keepempty flag and break the
12566         paragraph always below not above.
12567
12568         * BufferView2.C (unlockInset): update the paragraph layout on inset
12569         unlock as we changed paragraph in such a case.
12570
12571         * lyxfind.C (LyXFind): clear the former selection if not found!
12572
12573         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12574         again called in insertChar().
12575
12576         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12577         an inset which uses the whole row!
12578         (rightMargin): ditto.
12579         (insertChar): force a rebreak if we inserted an inset!
12580
12581 2002-03-28  Herbert Voss  <voss@lyx.org>
12582
12583         * lyxlength.[Ch]: add inBP() to get the right PS-point
12584         units (BigPoint). With inPixels we have rounding errors
12585
12586 2002-04-11  Juergen Vigna  <jug@sad.it>
12587
12588         * text2.C (setCursorFromCoordinates): set iy to the right value.
12589         (setCursor): add check if row->previous exists!
12590
12591         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12592         an old float_type as this was the case in the old code!
12593
12594         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12595
12596         * BufferView2.C (showLockedInsetCursor): use iy
12597         (fitLockedInsetCursor): ditto
12598
12599         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12600         locked insets as there we have the right value now.
12601
12602         * lyxcursor.C: added iy_ variable and iy functions to set to the
12603         baseline of cursor-y of the locked inset.
12604
12605         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12606         (setCursor): fixed for insets which need a full row.
12607
12608         * text.C (rowLastPrintable): don't ignore the last space when before
12609         an inset which needs a full row.
12610         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12611         as last character of a row when before a inset which needs a full row.
12612
12613 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12614
12615         * version.C.in: update date
12616
12617         * text2.C (fullRebreak): try to always return true and see what
12618         happens...
12619
12620 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12621
12622         * MenuBackend.C (expand): use Floating::listName
12623
12624         * FloatList.C (FloatList): add listName argument to the built-in
12625         floats
12626
12627         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12628         text associated with the float.
12629
12630 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12631
12632         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12633
12634 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12635
12636         * ShareContainer.h: add a couple of missing typenames.
12637
12638 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12639
12640         * lyxrc.C (getDescription): use _() correctly rather than N_().
12641
12642 2002-03-28  Herbert Voss  <voss@lyx.org>
12643
12644         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12645         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12646
12647 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12648
12649         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12650         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12651
12652 2002-03-29  Juergen Vigna  <jug@sad.it>
12653
12654         * lyxfunc.C (dispatch): add a missing fitCursor call.
12655
12656         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12657         it was scrolled by a cursor move, so return the bool status.
12658
12659         * BufferView.C (fitCursor): return the bool flag also to the outside
12660         world as this is needed.
12661
12662         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12663
12664         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12665         call the edit() as it is not needed (and wrong) IMO.
12666         (workAreaButtonPress): set the screen_first variable before evt.
12667         unlock the inset as this may change screen_first and then we have
12668         a wrong y position for the click!
12669
12670 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12671
12672         * MenuBackend.C (expand): another translation that I missed
12673
12674 2002-03-28  Juergen Vigna  <jug@sad.it>
12675
12676         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12677
12678         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12679
12680 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12681
12682         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12683
12684         * MenuBackend.C (expand): fix export/view/update when there is no
12685         document open.
12686
12687 2002-03-27  Herbert Voss  <voss@lyx.org>
12688
12689         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12690         and text%
12691
12692 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12693
12694         * bufferview_funcs.C (currentState): only show paragraph number
12695         for is DEVEL_VERSION is set.
12696
12697         * lyxfunc.C (dispatch): put warning in INFO channel
12698
12699         * MenuBackend.C (expand): translate the name of floats
12700
12701         * FloatList.C (FloatList): mark the float names for translation
12702
12703         * converter.C (convert): use LibScriptSearch
12704
12705 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12706
12707         * MenuBackend.C (defaults): fix default menu (we might as well get
12708         rid of it...)
12709
12710 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12711
12712         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12713         directory.
12714
12715 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12716
12717         * lyxvc.C: reorder includes.
12718
12719 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12720
12721         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12722           properly
12723
12724 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12725
12726         * CutAndPaste.C: change layouts earlier on paste
12727           to avoid crashing when calling getFont()
12728
12729 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12730
12731         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12732         irritating #error.
12733
12734 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12735
12736         * WorkArea.C: remove 'Pending' debug message.
12737
12738         * most files: ws cleanup
12739
12740         * buffer.[Ch]: ws changes
12741
12742         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12743
12744 2002-03-21  Juergen Vigna  <jug@sad.it>
12745
12746         * tabular.C (SetMultiColumn): collapse also the contents of the
12747         cells and set the last border right. Added a Buffer const * param.
12748
12749 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12750
12751         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12752         linking or not.
12753
12754 2002-03-19  Juergen Vigna  <jug@sad.it>
12755
12756         * text2.C (clearSelection): reset also xsel_cache.
12757
12758         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12759         where it needs to be called (John tells us to do so too :)
12760         (selectionLost): reset sel_cache.
12761
12762         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12763
12764 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12765
12766         * text2.C (setCursorIntern): put debuging code in INSETS channel
12767
12768 2002-03-19  André Pönitz <poenitz@gmx.net>
12769
12770         * lyxfunc.C: tiny whitespace change
12771
12772 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12773
12774         * ToolbarDefaults.C (init):
12775         * LyXAction.C (init):
12776         * commandtags.h:
12777         * BufferView_pimpl.C (Dispatch):
12778         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12779
12780 2002-03-19  Allan Rae  <rae@lyx.org>
12781
12782         * exporter.C (Export): removeAutoInsets before doing anything else.
12783         While I've just introduced a dependency on BufferView this really is
12784         the best place to clean the buffer otherwise you need to cleanup in
12785         a dozen places before calling export or cleanup in a dozen functions
12786         that export calls.
12787
12788         * converter.C (runLaTeX):
12789         (scanLog): Better handling of removeAutoInsets and screen updates.
12790
12791         * lyxfunc.C (dispatch): small whitespace changes
12792
12793 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12794
12795         * WorkArea.C (C_WorkAreaEvent): return a value.
12796         (event_cb): return 1 if we handled the event, 0 otherwise.
12797
12798         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12799
12800 2002-03-18  Juergen Vigna  <jug@sad.it>
12801
12802         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12803         (GetAdditionalWidth): ditto.
12804         (RightLine): ditto.
12805         (LeftLine): ditto.
12806
12807         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12808         inset if we're there actually (probably not used right now but this
12809         is the direction to go for unifying code).
12810         (paste): disable code to clear the selection.
12811
12812         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12813         inside an InsetText and move the check further up as it is in the
12814         wrong place.
12815
12816         * text2.C (pasteSelection): set a selection over the pasted text.
12817
12818 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12819
12820         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12821         and libgraphics to build on Cygwin.
12822
12823 2002-03-15  Juergen Vigna  <jug@sad.it>
12824
12825         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12826         inserting an Inset into the paragraph. I know this is not the best
12827         fix but we already use current_view in CutAndPaste so we will remove
12828         all of it's using at the same time.
12829
12830         * buffer.C (sgmlError): deactivated function till it is rewritten in
12831         the right mode, now it can create problems.
12832
12833         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12834         before accessing it.
12835
12836 2002-03-14  Juergen Vigna  <jug@sad.it>
12837
12838         * undo_funcs.C (textHandleUndo): do the right thing when updating
12839         the inset after the undo/redo.
12840
12841         * text2.C (setCursor): just some testcode for #44 not ready yet.
12842
12843         * undo_funcs.C (textHandleUndo): set the next() and previous()
12844         pointers of the paragraph to 0 before deleting otherwise we have
12845         problems with the Paragraph::[destructor].
12846
12847         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12848         on a paragraph insertion.
12849
12850 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12851
12852         * buffer.C (asciiParagraph): use += operator for char append to
12853         string.
12854
12855         * paragraph.C (getFontSettings): compare >= not just >
12856         (highestFontInRange): ditto
12857         (setFont): ditto
12858
12859 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12860
12861         * paragraph.C: change several algorithm to be more appripriate for
12862         the problem domain. This is lookip in FontList and in the InsetList.
12863
12864 2002-03-13  André Pönitz <poenitz@gmx.net>
12865
12866         * commandtags.h:
12867         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12868
12869 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12870
12871         * commandtags.h:
12872         * LyXAction.C:
12873         * lyxfunc.C:
12874         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12875
12876 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12877
12878         * Painter.C (display): anon helper function, adjust code for this
12879         change.
12880         (pixmap): remove function.
12881
12882         * Painter.h: remove private display variable.
12883
12884         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12885
12886 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12887
12888         * WorkArea.[Ch]: remove figinset_canvas cruft.
12889
12890 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12891
12892         * lyxtextclass.C (operator): add one item cache optimization.
12893
12894         * bufferlist.h: doxy changes
12895
12896         * bufferlist.C: ws changes
12897
12898         * DepTable.[Ch] (ext_exist): place const in the right spot.
12899
12900         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12901         call resizeInsets.
12902         (workAreaExpose): call resizeInsets when the with BufferView changes.
12903         (Dispatch): adjust for protectedBlank removal
12904         (specialChar): call updateInset if the insert went ok.
12905
12906         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12907         specialChar instead.
12908
12909         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12910
12911         * BufferView.h: doxy change
12912
12913         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12914
12915         * lyxtextclass.C (operator[]): remove non-const version
12916         (defaultLayout): remove non-const version
12917
12918 2002-03-12  Juergen Vigna  <jug@sad.it>
12919
12920         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12921         did resize the LyXText too.
12922
12923         * buffer.C (readLyXformat2): set layout information on newly allocated
12924         paragraphs.
12925
12926         * tabular.C (OldFormatRead): set layout information on the paragraph.
12927
12928 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
12929
12930         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12931
12932 2002-03-11  Juergen Vigna  <jug@sad.it>
12933
12934         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12935         plainly wrong.
12936         (resizeCurrentBuffer): force also the insets to resize themselfes.
12937         (moveCursorUpdate): fixed up for InsetText.
12938
12939 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12940
12941         * commandtags.h:
12942         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12943         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12944         value of Dialogs::tooltipsEnabled().
12945         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12946
12947 2002-03-08  Juergen Vigna  <jug@sad.it>
12948
12949         * BufferView_pimpl.C (updateInset): update inset inside inset also
12950         if it isn't inside theLockingInset().
12951
12952 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12953
12954         * buffer.C (asciiParagraph): redo some of the word and line length
12955         handling.
12956         (getLists): look for Caption instead of caption.
12957
12958 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12959
12960         * buffer.C (Buffer): initialize niceFile to true
12961         (makeLaTeXFile):
12962         (makeLinuxDocFile):
12963         (makeDocBookFile): make sure niceFile is true on exit
12964
12965 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12966
12967         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12968
12969 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12970
12971         * LyXSendto.C: remove.
12972         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12973         * lyx_gui.C: remove now-redundant comment.
12974         * ColorHandler.h: remove forward declaration of class WorkArea.
12975         * lyxfunc.C: remove #include "WorkArea.h".
12976
12977 2002-03-07  Juergen Vigna  <jug@sad.it>
12978
12979         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12980         got moved away with the DEPM and also set the inset_owner always
12981         right which before could have been omitted.
12982
12983 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12984
12985         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12986         wanted layout is not found.
12987
12988 2002-03-07  Juergen Vigna  <jug@sad.it>
12989
12990         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12991
12992 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12993
12994         * paragraph.C (breakParagraph): use default layout not layout of
12995         prev paragraph.
12996         (Paragraph): clear ParagraphParameters.
12997
12998 2002-03-06  Juergen Vigna  <jug@sad.it>
12999
13000         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13001         otherwise it would not be a valid lenght. Fixed a special case in
13002         the minipage compatibility read where we end the document with a
13003         minipage.
13004
13005         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13006         was set as it could be 0 for InsetTexts first entry.
13007
13008 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13009
13010         * paragraph.C (writeFile): if layout is empty write out
13011         defaultLayoutName().
13012
13013         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13014         file without named layout we set layout to defaultLayoutName().
13015
13016 2002-03-06  Juergen Vigna  <jug@sad.it>
13017
13018         * CutAndPaste.C (copySelection): set layout for new paragraph.
13019
13020         * text.C (prepareToPrint): leave ERT inset left aligned
13021         (leftMargin): don't indent paragraphs inside ERT insets
13022
13023 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13024
13025         * paragraph.C (breakParagraph): dont call clear do the work manually
13026
13027         * paragraph.[Ch] (clear): remove function
13028
13029 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13030
13031         * paragraph.C (Paragraph): dont call clear, the work has already
13032         been done.
13033
13034         * lyxtextclass.C (operator): assert if n is empty
13035
13036         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13037         work manually instead.
13038
13039 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13040
13041         * BufferView_pimpl.C: protect selectionLost against text == 0
13042
13043 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13044
13045         * text.C (breakParagraph): fix a setting layout to '0' problem.
13046
13047 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13048
13049         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13050         final location of file, for the included files, and graphics.
13051
13052 2002-03-05  Juergen Vigna  <jug@sad.it>
13053
13054         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13055
13056 2002-03-04  Juergen Vigna  <jug@sad.it>
13057
13058         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13059
13060         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13061         last column of multicolumn cells.
13062         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13063
13064 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13065
13066         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13067         file if it doesn't go to a temporary file.
13068
13069         * buffer.C (sgmlOpenTag):
13070         (sgmlCloseTag):  remove extra newline insertion.
13071
13072 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13073
13074         * text.C (getRowNearY): comment out debug msg
13075
13076 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13077
13078         * text2.C: first -> first_y
13079
13080         * text.C (getRowNearY): add some attemts at a possible
13081         optimization, not working.
13082
13083         * tabular.[Ch]: add BufferParams to several function so that newly
13084         created paragraph can be initialized to he default layotu for the
13085         buffers textclass.
13086
13087         * tabular-old.C (ReadOld): add buf->params to call of Init
13088
13089         * screen.C: rename text->first to text->first_y
13090
13091         * paragraph.C (breakParagraph): always set layout in the broken
13092         paragraph
13093
13094         * lyxtextclass.C (Read): remove lowercase
13095         (hasLayout): ditto
13096         (operator): ditto
13097         (delete_layout): ditto
13098
13099         * lyxtext.h: rename first -> first_y
13100
13101         * lyxlayout.C (Read): remove lowercase
13102         (name): ditto
13103         (setName): ditto
13104         (obsoleted_by): ditto
13105
13106         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13107
13108         * buffer.C (insertErtContents): add params are to InsetERT
13109         (parseSingleLyXformat2Token): add code to check if a paragraphs
13110         layout really exist.
13111         (parseSingleLyXformat2Token): add params to several inset
13112         constructors
13113         (asciiParagraph): remove lowercase, do the layout comparisons with
13114         no_case
13115
13116         * BufferView_pimpl.C (cursorNext): first -> first_y
13117         (resizeCurrentBuffer): first -> first_y
13118         (updateScrollbar): first -> first_y
13119         (scrollCB): first -> first_y
13120         (workAreaMotionNotify): first -> first_y
13121         (workAreaButtonPress): first -> first_y
13122         (checkInsetHit): first -> first_y
13123         (cursorPrevious): first -> first_y
13124         (cursorNext): first -> first_y
13125         (Dispatch): add buffer_->params to severl inset contructors
13126
13127 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13128
13129         * lyxlayout.C (Read): remove some debug info that I forgot.
13130
13131         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13132         clean up the code slightly.
13133         (makeLinuxDocFile): ditto
13134         (makeDocBookFile): ditto
13135
13136         * text2.C: layout as string
13137
13138         * text.C: layout as string
13139
13140         * paragraph_pimpl.C: layout as string
13141
13142         * paragraph.[Ch]: layout as string
13143
13144         * lyxtextclasslist.[Ch]: layout as string
13145
13146         * lyxtextclass.[Ch]: layout as string
13147
13148         * lyxtext.h: layout as string
13149
13150         * lyxlayout.[Ch]: layout as string
13151
13152         * lyx_cb.C: layout as string
13153
13154         * bufferview_funcs.C: layout as string
13155
13156         * bufferparams.C: layout as string
13157
13158         * buffer.C: layout as string
13159
13160         * LyXView.[Ch]: layout as string
13161
13162         * LaTeXFeatures.[Ch]: layout as string
13163
13164         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13165
13166         * BufferView_pimpl.C: change current_layout to string, remove
13167         lyx::layout_type.
13168         (Dispatch):
13169         (smartQuote):
13170         (insertInset):
13171         (workAreaButtonRelease): layout as string
13172
13173         * BufferView2.C (unlockInset): adjust
13174
13175         * vspace.C (asLatexCommand): use an explict temp variable.
13176
13177 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13178
13179         * Makefile.am: use FRONTEND_*
13180
13181 2002-03-01  Juergen Vigna  <jug@sad.it>
13182
13183         * tabular.C (SetWidthOfMulticolCell): changed to something better
13184         I hope but still work in progress.
13185         (recalculateMulticolumnsOfColumn): renamed function from
13186         recalculateMulticolCells as it is more appropriate now.
13187         (SetWidthOfCell): calculate multicols better.
13188
13189 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13190
13191         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13192
13193         * lyxfunc.C (processKeySym): print sequence also if it is
13194         `deleted' (complete)
13195
13196         * kbsequence.C (print): print sequence even if it is deleted
13197         (complete would be a better word, actually).
13198
13199         * lyxfunc.C (dispatch): print complete options after a prefix key
13200
13201         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13202
13203 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13204
13205         * text2.C (setCharFont): eliminate setCharFont code duplication.
13206
13207 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13208
13209         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13210         LFUN_TABULAR_FEATURE (bug #177)
13211
13212 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13213
13214         * Makefile.am: remove figure.h
13215
13216 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13217
13218         * Bufferview_pimpl.C:
13219         * CutAndPasteC:
13220         * LaTeX.C:
13221         * LyXSendto.C:
13222         * buffer.C:
13223         * bufferlist.C:
13224         * converter.C:
13225         * language.C:
13226         * lyxfunc.C:
13227         * lyxvc.C:
13228         * paragraph.C:
13229         * text.C:
13230         * text2.C: remove #include "lyx_gui_misc.h".
13231
13232         * LaTeX.C: added #include <cstdio>
13233
13234 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13235
13236         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13237         that the paragraph following this one can have.
13238
13239         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13240
13241         * vspace.C (asLatexCommand): fix bogus gcc warning
13242
13243         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13244
13245 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13246
13247         * text2.C (setLayout): get rid of redundant code
13248
13249 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13250
13251         * text2.C (incDepth): make sure depth cannot be increased beyond
13252         reasonable values.
13253
13254 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13255
13256         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13257         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13258
13259         * PainterBase.h (image):
13260         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13261         a LyXImage const *.
13262
13263 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13264
13265         * BufferView.C:
13266         * BufferView.h:
13267         * BufferView_pimpl.C:
13268         * BufferView_pimpl.h:
13269         * LaTeXFeatures.C:
13270         * LyXAction.C:
13271         * LyXView.C:
13272         * Makefile.am:
13273         * UpdateList.h:
13274         * UpdateList.C:
13275         * buffer.C:
13276         * figure.h:
13277         * figureForm.C:
13278         * figureForm.h:
13279         * figure_form.C:
13280         * figure_form.h:
13281         * lyx_cb.C:
13282         * lyx_gui.C:
13283         * lyx_gui_misc.C:
13284         * lyxfunc.C:
13285         * sp_base.h:
13286         * sp_ispell.h:
13287         * sp_pspell.h:
13288         * sp_spell.C: remove fig inset, and the crap house of
13289           cards that follows it
13290
13291 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13292
13293         * Makefile.am:
13294         * lyxserver.C:
13295         * os2_defines.h:
13296         * os2_errortable.h:
13297         * nt_defines.h: move .h into support/
13298
13299         * vms_defines.h: remove
13300
13301         * WorkArea.C: add space in debug output
13302
13303         * text2.C:
13304         * paragraph.C:
13305         * buffer.C: add WITH_WARNINGS
13306
13307         * vc-backend.h:
13308         * vc-backend.C:
13309         * bufferlist.C: s/retrive/retrieve/, add docs
13310
13311         * vspace.h:
13312         * vspace.C:
13313         * kbmap.h:
13314         * lyxlength.h:
13315         * lyxgluelength.h:
13316         * length_common.h:
13317         * chset.h:
13318         * chset.C: add docs
13319
13320         * lyxgui.C: add ID to X error handler
13321
13322         * lyxtestclass.c: fix typo
13323
13324 2002-02-26  Juergen Vigna  <jug@sad.it>
13325
13326         * tabular_funcs.C (write_attribute): changed so that some default
13327         attributes are not written at all.
13328         (getTokenValue): set default values before trying to read the
13329         value so we have the return value always set as default if we don't
13330         find the token we search for.
13331
13332         * tabular.C (Write): write bools as bools not as strings!
13333
13334 2002-02-22  Juergen Vigna  <jug@sad.it>
13335
13336         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13337         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13338
13339         * text.C (leftMargin): don't add an indent for paragraphs inside
13340         tabular cells (fix #208).
13341
13342 2002-02-21  José Matos  <jamatos@fep.up.pt>
13343
13344         * tabular.C (docBook): fixed support for long tables.
13345
13346 2002-02-20  Juergen Vigna  <jug@sad.it>
13347
13348         * text2.C (getFont): get the drawing font of the Inset if this
13349         paragraph is inside an inset (only important for InsetERT for now).
13350
13351         * buffer.C (insertErtContents): use new lanugage params in ERT
13352         constructor.
13353
13354         * CutAndPaste.C: commenting out seemingly uneeded code.
13355
13356 2002-02-19  Allan Rae  <rae@lyx.org>
13357
13358         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13359         Iterators might be simple to use but they also get invalidated.
13360         (removeAutoInsets): renamed saved cursor tracking variables and added
13361         some comments to clarify what everything does.
13362
13363 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13364
13365         * Chktex.C:
13366         * LaTeX.C:
13367         * LyXSendto.C:
13368         * converter.C:
13369         * lyx_cb.C:
13370         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13371         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13372
13373         * lyxfunc.C:
13374         * vc-backend.h: remove #include "support/syscall.h"
13375
13376         * LaTeX.C:
13377         * LyXSendto.C:
13378         * converter.C: rearrange #includes in Lars' approved fashion.
13379
13380         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13381         forward declare class Timeout in the header file.
13382
13383         * XFormsView.C: changes due to the above.
13384
13385         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13386         similar to LyXView.
13387
13388         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13389         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13390
13391 2002-02-18  José Matos  <jamatos@fep.up.pt>
13392
13393         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13394         insets contents.
13395
13396 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13397
13398         * a lot of small ws changes
13399         * add a lot of using std::XXX
13400         * use std construcs some places where approp.
13401         * use some exisint stuff from lyxfunctional where approp.
13402         * Make file changes to use partial linking (lets test this now...)
13403
13404 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13405
13406         * Chktex.C:
13407         * buffer.C:
13408         remove #include "support/syscontr.h" as it's redundant. Always has been.
13409
13410         * Chktex.C:
13411         * LaTeX.C:
13412         * LyXSendto.C:
13413         * converter.C:
13414         * lyx_cb.C:
13415         * vc-backend.C:
13416         change Systemcalls::System to Systemcalls::Wait and
13417         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13418         No change of functionality, just reflects the stripped down Systemcalls
13419         class.
13420
13421 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13422
13423         * debug.[Ch]: add a GRAPHICS type to the enum.
13424
13425 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13426
13427         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13428
13429         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13430         there is an inset.
13431
13432 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13433
13434         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13435         match the changes below.
13436
13437         * text2.C (toggleInset): if there is not editable inset at cursor
13438         position, try to see if cursor is _inside_ a collapsable inset
13439         and close it.
13440
13441 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13442
13443         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13444         document menu has a nice checkbox
13445
13446 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13447
13448         * lyxlength.C (asLatexString): change PW to output as percent of
13449         \textwidth.
13450
13451         * lengthcommon.C: change '%' to 't%'
13452
13453         * lyxfunc.C (dispatch): a few comments from Martin
13454
13455 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13456
13457         * WorkArea.h:
13458         * WorkArea.C:
13459         * BufferView_pimpl.h:
13460         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13461           the X selection.
13462
13463 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13464
13465         * vspace.C (inPixels): fix compiler warning
13466
13467 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13468
13469         * lyxfunc.C (getStatus): fix status message for disabled commands.
13470
13471 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13472
13473         * BufferView_pimpl.C: fix crash on close buffer
13474         during selection (#227)
13475
13476 2002-01-27  Herbert Voss  <voss@lyx.org>
13477
13478         * buffer.C: link old Figure to new graphic inset
13479
13480 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13481
13482         * FontLoader.C (getFontinfo): Change the latex font names in order
13483         to match the names of type1inst.
13484
13485 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13486
13487         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13488
13489         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13490         (extchanged): ditto
13491         (ext_exist): ditto
13492         (remove_files_with_extension): ditto
13493         (remove_file): ditto
13494         (write): ditto
13495
13496         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13497         document is smaller than the work area height. Do not initialize
13498         static variables to 0.
13499
13500 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13501
13502         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13503
13504         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13505         LFUN_LAYOUT_PARAGRAPHS.
13506
13507         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13508         tabular. It is possible to provide a possible cell, which will
13509         typically be the actcell from the corresponding insettabular
13510
13511         * lyxfunc.C (getStatus): small cleanup; disable
13512         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13513         true
13514
13515 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13516
13517         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13518
13519         * paragraph.C (startTeXParParams):
13520         (endTeXParParams): new methods. The LaTeX code to
13521         start/end paragraph formatting
13522         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13523         empty (fixes bug #200)
13524
13525         * vspace.C (inPixels): adapt to the change below
13526         (inPixels): [later] more cleanups (remove unused variables)
13527
13528         * lyxlength.C (inPixels): change to use a width and a height as
13529         parameter.
13530
13531 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13532
13533         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13534         Replaced with \paperwidth
13535
13536         * DepTable.C (insert): add std:: qualifier
13537
13538 2002-01-18  Allan Rae  <rae@lyx.org>
13539
13540         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13541         updated also?
13542
13543         * text.C (drawInset): Turned out I didn't know enough about how
13544         rebreaking worked.  This fixes most of the redraw problems.  I see
13545         an occasional cursor trail when a line is broken now and the cursor
13546         placement can seem out by a few pixels also after a rebreak.
13547
13548 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13549
13550         * buffer.C (parseSingleLyXformat2Token): update because minipage
13551         width is now a LyXLength
13552
13553         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13554
13555         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13556         math insets
13557
13558 2002-01-17  Juergen Vigna  <jug@sad.it>
13559
13560         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13561
13562         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13563         is set correctly and the inset is updated correctly.
13564
13565 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13566
13567         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13568         the beginning of the loop.
13569
13570 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13571
13572         * lyxrc.C: improve help for use_scalable_fonts
13573
13574 2002-01-17  Allan Rae  <rae@lyx.org>
13575
13576         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13577
13578 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13579
13580         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13581         make sure to set their inset_owner to the right value (bug #171)
13582
13583 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13584
13585         * DepTable.h
13586         * DepTable.C: Implement mtime checking to reduce time spent doing
13587         CRCs.
13588
13589 2002-01-16  Juergen Vigna  <jug@sad.it>
13590
13591         * tabular.C (GetAdditionalHeight): one of error fixed.
13592
13593         * lyxrc.C (output): small fix in writing use_pspell.
13594
13595 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13596
13597         * sp_base.h: #include LString.h
13598
13599 2002-01-16  Allan Rae  <rae@lyx.org>
13600
13601         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13602         Can someone check this please?
13603
13604         * text.C (drawInset): It was possible that p.row would be removed by
13605         breakAgainOneRow upsetting a few other settings.  There may be another
13606         small tweak possible by setting need_break_row = 0 when p.row has been
13607         removed but I don't know enough about the logic here.
13608
13609 2002-01-15  Allan Rae  <rae@lyx.org>
13610
13611         * text.C (insertChar): removed conditional truism.
13612
13613         * BufferView2.C (removeAutoInsets): More tweaks.
13614         cur_par_prev could be a stray pointer.  Check for trailing empty line
13615         in case last line was cur_par and only had an error inset on it.
13616
13617 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13618
13619         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13620         absolute
13621
13622         * vc-backend.C (most methods):
13623         * exporter.C (Export):
13624         * converter.C (convert):
13625         (runLaTeX):
13626         * LyXSendto.C (SendtoApplyCB):
13627         * lyxfunc.C (dispatch):
13628         (menuNew):
13629         (open):
13630         (doImport):
13631         * lyx_cb.C (AutoSave):
13632         (InsertAsciiFile):
13633         * BufferView_pimpl.C (MenuInsertLyXFile):
13634         * buffer.C (runChktex): use Buffer::filePath().
13635
13636         * buffer.h: rename filename to filename_; rename filepath to
13637         filepath_ and make it private
13638         (filePath): new method
13639
13640         * buffer.C (writeFile): use fileName()
13641         (getLatexName):
13642
13643         * lyx_main.C (init): fix starting  of LyX when the binary is a
13644         link from so,ewhere else.
13645
13646         * minibuffer.C: include <cctype> for isprint
13647
13648 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13649
13650         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13651         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13652         name clash with InsetCollapsable's width function.
13653
13654 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13655
13656         * lastfiles.C: include <iterator>
13657
13658 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13659
13660         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13661         std::count.
13662
13663         * buffer.C (makeLaTeXFile): ditto.
13664         Also make loop operation more transparent.
13665
13666 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13667
13668         * ToolbarDefaults.C: remove trailing comma closing namespace.
13669
13670         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13671
13672         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13673         as in WorkArea.
13674
13675         * trans.C (Load): comment out unused variable, allowed.
13676
13677 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13678
13679         * minibuffer.[Ch] (append_char): new method to recieve input from the
13680         drop-down completion browser. If a key was pressed, then recieve this
13681         char and append it to the existing string.
13682         (peek_event): modify the positioning data passed to the completion
13683         browser so that it can be placed above the minibuffer rather than below.
13684 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13685
13686         * LyXAction.C (init): alloe error-next for readonly documents.
13687
13688         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13689         count.
13690
13691 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13692
13693         * bufferlist.C (readFile): create the buffer _after_ checking that
13694         the file exists.
13695
13696         * lyxfunc.C (verboseDispatch): fix handling of arguments
13697
13698         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13699
13700         * lyxrc.C: use string::erase() instead of initializing to "".
13701
13702
13703 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13704
13705         * BufferView_pimpl.h:
13706         * BufferView_pimpl.C:
13707         * WorkArea.h:
13708         * WorkArea.C:
13709         * text2.C: tell X when we have made a selection for copying
13710
13711 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13712
13713         * BufferView_pimpl.C (MenuInsertLyXFile):
13714         * lyxfunc.C (menuNew):
13715         (open):
13716         (doImport): add shortcuts to directory buttons
13717
13718         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13719         open a float)
13720
13721         * lyxfunc.C (setStatusMessage):
13722         (getStatusMessage): new methods
13723         (getStatus):use setStatusMessage instead of setErrorMessage
13724         (dispatch): when function is disabled, set error message here
13725         [instead of in getStatus previously]
13726
13727         * BufferView_pimpl.C (workAreaButtonRelease): update
13728         toolbar/menubar here too.
13729
13730 2002-01-13  Allan Rae  <rae@lyx.org>
13731
13732         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13733         Now seems indestructible.  Remaining task is to audit all other
13734         code affected by deleteEmptyParagraphMechanism.  One small quirk
13735         left is that an empty document with an error in the preamble can
13736         be made to report an error but no error box appears.  I don't know
13737         where it goes.
13738         (removeAutoInsets): Improved comments.
13739
13740 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13741
13742         * Thesaurus.h:
13743         * Thesaurus.C: update for Aiksaurus 0.14
13744
13745 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13746
13747         * text2.C (firstParagraph): removed member function, all uses
13748         replaces with ownerParagraph
13749         (redoParagraphs): here
13750         (updateInset): here
13751         (toggleAppendix): here
13752         * BufferView2.C (insertErrors): here
13753         (setCursorFromRow): here
13754
13755 2002-01-13  Allan Rae  <rae@lyx.org>
13756
13757         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13758         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13759         There is still a way to segfault this although you may have to do this
13760         multiple times: Have an InsetERT with an unknown command in it.
13761         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13762         <down-arrow>, <Enter> again, View->DVI, BANG!
13763
13764         * text2.C (setCursor):
13765         (deleteEmptyParagraphMechanism):
13766         * lyxtext.h (setCursor):
13767         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13768         Making use of the return value may help fix other bugs.
13769
13770 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13771
13772         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13773
13774         * LyXView.C (updateMenubar): call MenuBar::update here
13775         (updateToolbar): but not here
13776         (showState): do not update toolbar/menubar
13777
13778         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13779         should need to care about that.
13780
13781         * lyxfunc.C (verboseDispatch): simplify a bit
13782         (getStatus): have a version which takes a pseudoaction, and
13783         another which requires a (kb_action,string).
13784
13785         * LyXAction.C (retrieveActionArg): make it work also when action
13786         is not a pseudo-action.
13787         (getActionName): simplify a bit
13788         (helpText):
13789
13790 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13791
13792         * lyxfunc.C (verboseDispatch): new families of methods with
13793         several ways to specify a command and a bool to indicate whether
13794         the command name and shortcut should be displayed in minibuffer
13795         (eventually, we could extend that to a finer bitmask like
13796         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13797         (dispatch): the pristine dispatch command which just, well,
13798         dispatchs! Note it still sets its result to minibuffer; I'm not
13799         sure we want that.
13800
13801         * lyxfunc.h: remove setHintMessage
13802
13803         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13804
13805 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13806
13807         * BufferView_pimpl.C (specialChar): delete new inset if we have
13808         not been able to insert it.
13809
13810         * kbmap.C: revert to using int instead of kb_action, since all we
13811         are dealing with is pseudo-actions.
13812
13813         * LyXAction.C (searchActionArg): change to return int instead of
13814         kb_action, since the result is a pseudoaction.
13815
13816 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13817
13818         * buffer.C (insertErtContents): Fix (partially) the font bug.
13819
13820 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13821
13822         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13823         as the other one is broken on my machine!
13824
13825 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13826
13827         * commandtags.h:
13828         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13829
13830 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13831
13832         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13833         reflect their actual use. Provide compatibility code for older lyxrc
13834         files.
13835
13836         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13837         FL_NORMAL_STYLE.
13838         change names of popup font variables in line with the changes to lyxrc.C
13839
13840 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13841
13842         * buffer.C (asciiParagraph): avoid outputing a word twice after
13843         an inset.
13844
13845         * lyxrc.C (getDescription): document that document_path and
13846         template_path can be empty.
13847
13848 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13849
13850         * LaTeXFeatures.C (getMacros):
13851         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13852
13853         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13854
13855         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13856         getPackages.
13857         (getPackages): rename feature "floats" to "float". Use an array to
13858         iterate over 'simple' features (i.e. just a \usepackage). Add
13859         handling of "amsmath" (renamed from "amsstyle").
13860
13861 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13862
13863         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13864         features list.
13865
13866 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13867
13868         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13869         FuncStaus::FuncStatus & FuncStaus::some_method().
13870
13871 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13872
13873         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13874         of the func_satus stuff. Edited and massaged in various ways by
13875         JMarc.
13876
13877         * lyxfunc.C (getStatus): use FuncStatus
13878
13879 2002-01-08  Juergen Vigna  <jug@sad.it>
13880
13881         * text.C (nextBreakPoint): use function Inset::isChar().
13882
13883         * paragraph.C (TeXOnePar): use function
13884         Inset::forceDefaultParagraphs.
13885
13886         * buffer.C (latexParagraphs): use function
13887         Inset::forceDefaultParagraphs.
13888
13889 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13890
13891         * lyx_gui.C (init): set the style of the menu popups to
13892         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13893
13894 2002-01-07  Juergen Vigna  <jug@sad.it>
13895
13896         * text.C (setHeightOfRow): small fix
13897         (prepareToPrint): don't look at alignment if we don't have the place
13898         for doing it.
13899
13900 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13901
13902         * box.C: New file. Move the Box methods and functions out of box.h,
13903         following Lars' suggestion.
13904
13905 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13906
13907         * box.h: #include "support/LOstream.h", needed for inlined function.
13908
13909         * lyxtextclass.C:
13910         * lyxtextclasslist.C: added some using std declarations.
13911
13912 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13913
13914         * box.h: make signed dimensions to allow insets wider than
13915           the screen (bug #162)
13916
13917         * BufferView_pimpl.C: add some insetHit debug
13918
13919 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13920
13921         * vc-backend.C: add FIXME
13922
13923 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13924
13925         * lyxfunc.C (getStatus): enable code for showing math font status
13926         in toolbar/menu.
13927
13928 2002-01-07  Juergen Vigna  <jug@sad.it>
13929
13930         * text.C (nextBreakPoint): removed debug output not needed anymore.
13931
13932 2002-01-06  Juergen Vigna  <jug@sad.it>
13933
13934         * text.C (nextBreakPoint): fixed up this function we had this bug
13935         since ever but now hopefully we break row better.
13936         (insertChar): we have to check if an inset is the next char as it
13937         could now happen that a large inset is causing a break.
13938
13939 2002-01-05  Juergen Vigna  <jug@sad.it>
13940
13941         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13942         if it doesn't like to be drawed.
13943
13944 2002-01-04  Juergen Vigna  <jug@sad.it>
13945
13946         * BufferView2.C (lockInset): forgot to set a cursor.
13947
13948         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13949
13950 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13951
13952         * FormMathsPanel.C:
13953         * FormMathsPanel.h
13954         * MathsSymbols.C:
13955         * form_maths_panel.C:
13956         * form_maths_panel.h:
13957         * form_maths_panel.fd: implemented sub- and super- buttons in math
13958         panel.
13959
13960         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13961         (or ^ space) to be used as in TeX (req'd by Andr�.
13962
13963         * lyxfunc.C: Allow ^ and _ again to be used both as
13964         super/subscript (mathed) and as themselves (in text).
13965
13966 2002-01-03  Allan Rae  <rae@lyx.org>
13967
13968         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13969         "LyX" or the filename of the current buffer if it has one.  This is a
13970         modified form of John Levon's patch.
13971
13972         * XFormsView.C (setWindowTitle): also set icon title.
13973
13974         * LyXView.h (setWindowTitle): signature changed.
13975         * XFormsView.h (setWindowTitle): ditto.
13976
13977 2002-01-02  Juergen Vigna  <jug@sad.it>
13978
13979         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13980
13981 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13982
13983         * screen.C (topCursorVisible): introduce a temp var for
13984         text->cursor.row(), handle the case where this row is null. (kindo
13985         hachish)
13986
13987         * text2.C (setCursor): add a couple of asserts.
13988
13989         * paragraph.h (inset_iterator): add -> operator
13990
13991         * paragraph.[Ch] (autoDeleteInsets): remove member function
13992
13993         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13994         cursor pos correctly and handle inset deletion by itself.
13995         (insertErrors): move iterator declaration out of for expression
13996
13997         * lyxtextclass.C: add <algorithm>
13998
13999         * Makefile.am: added the new files to sources, removed layout.C
14000
14001         * layout.C: removed file
14002
14003         * layout.h: remove LYX_DUMMY_LAYOUT
14004
14005         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14006         layout.
14007
14008         * lyxlayout.[Ch]:
14009         * lyxtextclass.[Ch]:
14010         * lyxtextclasslist.[Ch]: new files
14011
14012         * include order changes to a lot of files, also changes because of
14013         the six new files.
14014
14015 2001-12-27  Juergen Vigna  <jug@sad.it>
14016
14017         * buffer.C (asciiParagraph): more fixes.
14018
14019         * tabular.C (ascii): make ascii export support export of only the
14020         data separated by a column-delimiter.
14021         (ascii): better support for ascii export.
14022
14023         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14024
14025 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14026
14027         * tabular_funcs.C: use a "using std::getline" instead of the
14028         previous fix from Angus (necessary for cxx + lyxstring)
14029
14030 2001-12-24  Juergen Vigna  <jug@sad.it>
14031
14032         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14033
14034         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14035         problems. First check a minipage also if we have some ert-contents
14036         (not only on par->size(), second set the right depth of the paragraph
14037         on the relink to the root-paragraph-list!
14038
14039         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14040         which then did not anymore update the main paragraphs on undo/redo!
14041
14042 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14043
14044         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14045         code. Support all font-changing funcs (even those which are not in
14046         menu currently). Support for reporting font settings in
14047         mathed (disabled until Andre provides a function on mathed's side).
14048
14049         * func_status.h (toggle): small helper function to set toggle
14050         state on a flag.
14051
14052 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14053
14054         * tabular_funcs.C: getline -> std::getline
14055
14056 2001-12-21  Juergen Vigna  <jug@sad.it>
14057
14058         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14059         accessed and could be 0 (I couldn't generate this but it seems
14060         Michael could!).
14061
14062 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14063
14064         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14065         * tabular_funcs.h: here and include iosfwd
14066
14067 2001-12-20  Juergen Vigna  <jug@sad.it>
14068
14069         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14070         inside inset but undo_par was.
14071
14072 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14073
14074         * Thesaurus.C: always include <config.h> in sources.
14075
14076         * Painter.h:
14077         * lyxlookup.h:
14078         * box.h: do not include <config.h> in header files
14079
14080         * text.C (paintLastRow): remove unused variable
14081
14082         * text.C (transformChar):
14083         (insertChar):
14084         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14085
14086         * Painter.C (text):
14087         * font.C (width): rewrite to use uppercase() instead of
14088         islower/toupper.
14089
14090         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14091
14092 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14093
14094         * lyxfind.C: clean up of find failure position change
14095
14096 2001-12-20  Juergen Vigna  <jug@sad.it>
14097
14098         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14099
14100         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14101         (TeXRow): added to LaTeX a single tabular row.
14102         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14103         (Latex): simplified and finally good LT-h/f support.
14104         (various_functions): just small adaptions for LT-h/f support.
14105
14106         * tabular_funcs.[hC]: added and moved here all not classfunctions
14107         of LyXTabular.
14108
14109 2001-12-19  Juergen Vigna  <jug@sad.it>
14110
14111         * tabular.[Ch]: better support for longtabular options (not finished
14112         yet!)
14113
14114 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14115
14116         * text.C (paintLastRow): use the label font instead of the font of
14117         the last character to compute the size of *_BOX. This makes more
14118         sense and avoids a crash with empty paragraphs.
14119         Use Painter::rectangle to draw EMPTY_BOX.
14120
14121 2001-12-19  Juergen Vigna  <jug@sad.it>
14122
14123         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14124         the paragraphs if the replaced paragraph is not the first one!
14125         Tried to delete not used paragraphs but does not work yet so for
14126         now it's inside #ifdef's and by default off!
14127
14128 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14129
14130         * MenuBackend.C: include "lyx_main.h" instead of declaring
14131         lastfiles (actually was declared as LastFiles* instead of a
14132         scoped_ptr).
14133
14134 2001-12-17  Juergen Vigna  <jug@sad.it>
14135
14136         * tabular.C (AppendColumn): applied John's fix
14137
14138 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14139
14140         * BufferView.h:
14141         * BufferView.C:
14142         * BufferView_pimpl.h:
14143         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14144
14145         * Makefile.am:
14146         * box.h: new start of class for above
14147
14148         * lyxfunc.C: ignore space-only minibuffer dispatches.
14149           Show the command name when it doesn't exist
14150
14151         * minibuffer.C: don't add empty lines to the history
14152
14153         * minibuffer.C: add a space on dropdown completion
14154
14155 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14156
14157         * text.C: fix line above/below drawing in insets
14158
14159 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14160
14161         * lyxlength.C (LyXLength): Initialize private variables.
14162
14163 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14164
14165         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14166         when inserting error insets.
14167
14168 2001-12-13  Juergen Vigna  <jug@sad.it>
14169
14170         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14171         actually sometimes the before-paragraph.
14172         (setUndo): don't clear the redostack if we're not actually undoing!
14173
14174 2001-12-06  Juergen Vigna  <jug@sad.it>
14175
14176         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14177         and fixed redoing of main paragraph, so we can use it now ;)
14178
14179         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14180
14181 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14182
14183         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14184         Juergen's request
14185
14186 2001-12-13  André Pönitz <poenitz@gmx.net>
14187
14188         * undostack.[Ch]:
14189         * undo_func.C: minor cleanup
14190
14191 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14192
14193         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14194         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14195         font in urw-fonts package which is marked as -urw-fontspecific and
14196         does not work (incidentally, changing the encoding in the
14197         fonts.dir of this package to -adobe-fontspecific fixes the
14198         problem).
14199
14200         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14201         is a crash when undoing first paragraph (Juergen, please take a
14202         look). THis does not mean the undo fix is wrong, just that it
14203         uncovers problems.
14204
14205         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14206         the (Paragraph*) version when needed instead of duplicating the
14207         code.
14208
14209         * text.C (workWidth): use Inset::parOwner to find out where the
14210         inset has been inserted. This is a huge performance gain for large
14211         documents with lots of insets. If Inset::parOwner is not set, fall
14212         back on the brute force method
14213
14214         * paragraph_pimpl.C (insertInset):
14215         * paragraph.C (Paragraph):
14216         (cutIntoMinibuffer): set parOwner of insets when
14217         inserting/removing them
14218
14219         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14220
14221 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14222
14223         * commandtags.h:
14224         * LyXAction.C:
14225         * lyx_main.C:
14226         * lyxfunc.C:
14227         * mathed/formulabase.C:
14228         * mathed/math_cursor.[Ch]:
14229         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14230
14231
14232 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14233
14234         * lyxlength.[Ch] (operator!=): new function
14235
14236 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14237
14238         * text.C (workWidth): use Inset::parOwner to find out where the
14239         inset has been inserted. This is a huge performance gain for large
14240         documents with lots of insets. If Inset::parOwner is not set, fall
14241         back on the brute force method
14242
14243         * paragraph_pimpl.C (insertInset):
14244         * paragraph.C (Paragraph):
14245         (cutIntoMinibuffer): set parOwner of insets when
14246         inserting/removing them
14247
14248         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14249
14250 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14251
14252         * tabular-old.C (getTokenValue):
14253         * tabular.C (getTokenValue):
14254         (write_attribute): new versions for LyXLength
14255         (everywhere): adjust the use of widths
14256
14257         * tabular.h: change the type of widths from string to LyXLength
14258
14259 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14260
14261         * paragraph.C: fixed missing line number count when exporting
14262         Environments to LaTeX file
14263
14264         * buffer.C: added informational message for checking line numbers.
14265
14266 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14267
14268         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14269         paragraph, do the 'double space' part, but not the 'empty
14270         paragraph' one.
14271
14272         * text.C (workWidth): small optimization
14273         (getLengthMarkerHeight): use minimal size for negative lengths.
14274
14275 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14276
14277         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14278
14279         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14280
14281 2001-12-11  André Pönitz <poenitz@gmx.net>
14282
14283         * FontLoader.C:
14284         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14285
14286 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14287
14288         * text2.C: keep selection on a setFont()
14289
14290 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14291
14292         * lyx_cb.C: another bv->text misuse, from insert label
14293
14294 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14295
14296         * kbsequence.h:
14297         * kbsequence.C: re-instate nmodifier mask
14298
14299 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14300
14301         * lyx_main.h: make lyxGUI private.
14302
14303 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14304
14305         * lyxfind.C: place the cursor correctly on failed search
14306
14307 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14308
14309         * text.C (getLengthMarkerHeight): for small heights, the arrows
14310         are not always on top/bottom of the text
14311         (drawLengthMarker): smaller arrows; take the left margin in
14312         account; draw also vfills.
14313         (paintFirstRow):
14314         (paintLastRow): remove special code for vfill and standard spaces,
14315         since everything is handled in drawLengthMarker now.
14316
14317 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14318
14319         * buffer.C (insertErtContents): try to handle font and language
14320         interaction a bit better.g
14321
14322         * ColorHandler.C (updateColor): change the hash to cover the whole
14323         LColor enum, ws cleanup
14324         (getGCLinepars): ditto
14325         (getGCLinepars): only lookup in the linecache once.
14326
14327 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14328
14329         * iterators.C (operator++): Make the iterator more robust
14330
14331         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14332         (John's patch)
14333         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14334
14335 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14336
14337         * lyxtext.h:
14338         * text.C: better added space drawing
14339
14340 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14341
14342         * LyXView.C:
14343         * BufferView2.C: fix layout combo update on inset unlock
14344
14345 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14346
14347         * Makefile.am: don't compile unused files
14348
14349 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14350
14351         * lyxfunc.C:
14352         * commandtags.h:
14353         * LyXAction.C: remove old LFUN_LAYOUTNO
14354
14355 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14356
14357         * paragraph_pimpl.h:
14358         * paragraph_pimpl.C: isTextAt() doesn't need font param
14359
14360 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14361
14362         * lyxlex.h:
14363         * lyxlex.C: little cleanup
14364
14365 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14366
14367         * BufferView_pimpl.C: fix insertAscii for insets
14368
14369 2001-12-05  Juergen Vigna  <jug@sad.it>
14370
14371         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14372         set the right font on the "multi" paragraph paste!
14373
14374 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14375
14376         * trans_decl.h:
14377         * trans_mgr.[Ch]:
14378         * trans.[Ch]:
14379         * lyxgluelength.C:
14380         * lyxlength.C: remove out-commented code.
14381
14382         * BufferView_pimpl:
14383         * CutAndPaste.C:
14384         * DepTable.C:
14385         * buffer.C:
14386         * chset.C:
14387         * lastfiles.C:
14388         * lyxlex.C:
14389         * lyxlex_pimpl.C:
14390         * lyxserver.C:
14391         * screen.C:
14392         * tabular-old.C:
14393         * tabular.C:
14394         * text.C:
14395         * trans_mgr.C:
14396         * vc-backend.C: change "while(" to "while ("
14397
14398         * lyxlength.[Ch]: add zero function to check if length is zero or
14399         not
14400         * lyxgluelength.C: use it
14401
14402 2001-12-05  Allan Rae  <rae@lyx.org>
14403
14404         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14405         Works for 2.95.3, from what I understand of Garst's reports this should
14406         work for other g++ versions.  We're screwed if the abs(int) definition
14407         changed between bugfix releases of gcc.
14408
14409 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14410
14411         * text.C: fix chapter label offset !
14412
14413 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14414
14415         * lyxtext.h:
14416         * text.C: fix hfill at end of line, clean up
14417
14418 2001-12-04  Juergen Vigna  <jug@sad.it>
14419
14420         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14421         that we force an update of the inset and it's owners if neccessary.
14422
14423 2001-12-03  Juergen Vigna  <jug@sad.it>
14424
14425         * text.C (rowLast): simplified code
14426
14427 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14428
14429         * lyxfunc.C: fix show options on timeout
14430
14431 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14432
14433         * screen.C (topCursorVisible): scroll half a page when the cursor
14434         reached top of bottom of screen
14435
14436 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14437
14438         * minibuffer.C: deactivate on loss of focus
14439
14440 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14441
14442         * vspace.[Ch] (operator!=): add operator.
14443
14444 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14445
14446         * BufferView_pimpl.C: refuse to open an inset when
14447         there's a selection.
14448
14449 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14450
14451         * BufferView_pimpl.C: allow to click on RHS of full row insets
14452
14453 2001-11-30  Juergen Vigna  <jug@sad.it>
14454
14455         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14456         insets for undo reasons.
14457
14458 2001-11-28  André Pönitz <poenitz@gmx.net>
14459
14460         * vspace.[Ch]: cosmetical changes
14461
14462 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14463
14464         * LyXAction.h:
14465         * LyXAction.C:
14466         * lyxfunc.h:
14467         * lyxfunc.C:
14468         * kbmap.h:
14469         * kbmap.C:
14470         * lyxrc.C:
14471         * kbsequence.h:
14472         * kbsequence.C: part re-write of old kb code
14473
14474         * Painter.C:
14475         * WorkArea.C: remove Lgb_bug_find_hack
14476
14477 2001-11-30  José Matos <jamatos@fep.up.pt>
14478
14479         * buffer.C (makeDocBookFile): add a comment to point a hack.
14480         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14481         Fixed a double write of labels.
14482
14483 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14484
14485         * LaTeX.C:
14486         * LaTeX.h Fixed bug in LaTeX class where it would not
14487         re-run latex if no depfiles were changed, but the .dvi was removed.
14488
14489 2001-11-28  André Pönitz <poenitz@gmx.net>
14490
14491         * all the files from the change on 2001/11/26:
14492         use lyx::layout_type instead of LyXTextClass::size_type
14493         use lyx::textclass_type instead of LyXTextClassList::size_type
14494
14495 2001-11-29  Juergen Vigna  <jug@sad.it>
14496
14497         * text.C: added support for paragraph::isFreeSpacing()
14498
14499         * buffer.C: same as above
14500
14501         * paragraph.h: inserted isFreeSpacing() function to enable
14502         FreeSpacing inside InsetERT.
14503
14504         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14505         of the paragraph's in the cut/copy buffer to 0!
14506
14507         * text2.C (removeRow): remove the assert as it can!
14508
14509         * lyxtext.h: added helper function firstRow returning firstrow and
14510         made firstrow private again.
14511
14512         * BufferView2.C (lockInset): don't relock if we're already locked!
14513
14514         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14515         the only paragraph.
14516         (removeRow): added Assert::(firstrow)
14517
14518         * debug.C: forgot to add INSETTEXT here.
14519
14520 2001-11-28  Juergen Vigna  <jug@sad.it>
14521
14522         * sp_spell.C (initialize): changed error text to more general
14523         spellchecker command use (not only ispell!)
14524
14525         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14526
14527         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14528
14529 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14530
14531         * vspace.C: initialise lyxgluelength on failure
14532
14533 2001-11-28  Allan Rae  <rae@lyx.org>
14534
14535         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14536         declaration & definition that looks like a function declaration.
14537
14538 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14539
14540         * BufferView2.C (copy):
14541         (copyEnvironment): do not clear the selection when doing a copy.
14542
14543         * text.C (paintFirstRow): compilation fix
14544
14545 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14546
14547         * tabular.C (Latex): correct line count when writing latex.
14548
14549 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14550
14551         * paragraph_pimpl.h:
14552         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14553           bug a bit
14554
14555 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14556
14557         * text.C:
14558         * LColor.h:
14559         * LColor.C: change vfillline->added_space
14560
14561         * text.C: add markers and text for added space
14562
14563         * vspace.C: fix comment
14564
14565 2001-11-28  André Pönitz <poenitz@gmx.net>
14566
14567         * paragraph.C: whitespace changes
14568         * all the other files from the change on 2001/11/26:
14569         change *::pos_type into lyx::pos_type
14570
14571 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14572
14573         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14574         language of the document when inserting error insets.
14575
14576 2001-11-26  André Pönitz <poenitz@gmx.net>
14577
14578         * BufferView_pimpl.[Ch]:
14579         *       CutAndPaste.C:
14580         * buffer.[Ch]:
14581         * lyxcursor.[Ch]:
14582         * lyxfind.C:
14583         * lyxfunc.C:
14584         * lyxrow.[Ch]:
14585         * paragraph.[Ch]:
14586         * paragraph_pimpl.[Ch]:
14587         * sp_spell.C:
14588         * text.C:
14589         * text2.C: reduce header dependencies, introduce type for positions
14590
14591 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14592
14593         * <various>: change to use Alert.h
14594
14595 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14596
14597         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14598         when encountering an unknown token.
14599         (readLyXformat2): Show an error message if there were unknown tokens.
14600
14601 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14602
14603         * BufferView2.C:
14604         * BufferView_pimpl.C:
14605         * buffer.C:
14606         * paragraph.h:
14607         * text.C:
14608         * text2.C: use par->isInset()
14609
14610 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14611
14612         * paragraph_pimpl.h:
14613         * paragraph_pimpl.C: cleanup
14614
14615 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14616
14617         * text2.C (removeRow):
14618         * text.C (setHeightOfRow): remove useless (and costly) call to
14619         getRow.
14620
14621 2001-11-20  Allan Rae  <rae@lyx.org>
14622
14623         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14624         Now need Inset*::checkInsertChar() to return true for appropriate
14625         cases so that the characters in the minibuffer will actually be
14626         inserted.
14627
14628 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14629
14630         * text.C: change the order of the includes.
14631         (workWidth): initialize it at once.
14632         (workWidth): make maxw unsigned
14633         (setHeightOfRow): remove unused variable (inset)
14634         (selectSelectedWord): remove unused variable (inset)
14635         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14636
14637 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14638
14639         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14640         server is not running.
14641         (openConnection):
14642         (closeConnection): add debug info when server is disabled.
14643
14644         * ColorHandler.C (getGCForeground): send debug message to GUI
14645         channel.
14646
14647         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14648
14649         * kbmap.C (bind): modify because return conventions of
14650         kb_sequence::parse have changed.
14651
14652         * kbsequence.C (parse): only ignore spaces and not any stupid
14653         control character. This avoids tests like s[i] <= ' ', which are
14654         guaranteed to fail with 8bit characters and signed chars.
14655         Change return code to string::npos when there have been no error
14656         (0 was a bad idea when error is at first character)
14657
14658 2001-11-14  José Matos  <jamatos@fep.up.pt>
14659
14660         * buffer.h:
14661         * buffer.C (simpleDocBookOnePar): removed unused argument.
14662
14663 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14664
14665         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14666         insets which are part of a word. Paragraph::isLetter takes care of
14667         that now. Use Paragraph::isInset to identify insets.
14668         (selectSelectedWord): do not test for hyphenation break.
14669
14670         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14671         that protected spaces are considered as spaces.
14672
14673         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14674         Inset::isLetter.
14675
14676 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14677
14678         * lyxserver.h:
14679         * lyxserver.C: fix it. and small cleanup.
14680
14681 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14682
14683         * BufferView_pimpl.C: use inline helpers
14684
14685         * LaTeXFeatures.h:
14686         * LaTeXFeatures.C: fix typos
14687
14688         * Spacing.h:
14689         * Spacing.C: move spacing_string into class
14690
14691         * ToolbarDefaults.C: move stuff into namespace anon
14692
14693         * layout.h: update enum
14694
14695         * lyxfunc.C: use better debug
14696
14697         * minibuffer.h: fix typo
14698
14699         * debug.h:
14700         * debug.C:
14701         * WorkArea.C: add and use Debug::WORKAREA
14702
14703         * lyxtext.h:
14704         * text.C:
14705         * text2.C: code re-organisation, inline helpers
14706
14707 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14708
14709         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14710         std::vector.empty().
14711
14712 2001-11-09  Allan Rae  <rae@lyx.org>
14713
14714         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14715         '\n's after tables.  Tabular and ERT inset work now makes this no
14716         longer necessary.
14717
14718 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14719
14720         * minibuffer.h:
14721         * minibuffer.C: fix crash, improve drop-down completion
14722
14723 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14724
14725         * lyxserver.h:
14726         * lyxserver.C: invalidate fd's when doing endPipe()
14727
14728 2001-11-08  José Matos  <jamatos@fep.up.pt>
14729
14730         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14731         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14732
14733         * paragraph.h:
14734         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14735
14736 2001-11-07  José Matos  <jamatos@fep.up.pt>
14737
14738         * buffer.h:
14739         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14740         const qualifier.
14741
14742         * buffer.C (sgmlOpenTag):
14743         * buffer.C (sgmlCloseTag): removed debug info.
14744
14745         * buffer.h (sgmlOpenTag):
14746         * buffer.h (sgmlCloseTag): made public.
14747
14748 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14749
14750         * buffer.C (saveParamsAsDefaults):
14751         * lyx_cb.C (MenuLayoutSave): remove
14752
14753         * LyXAction.C (init):
14754         * commandtags.h:
14755         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14756
14757 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14758
14759         * buffer.C (setPaperStuff): removed from here...
14760
14761         * bufferparams.C (setPaperStuff): ... and moved there.
14762
14763 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14764
14765         * minibuffer.h:
14766         * minibuffer.C:
14767         * XFormsView.C: add support for drop-down completion
14768
14769 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14770
14771         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14772         commands.
14773
14774 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14775
14776         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14777         disabled.
14778
14779 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14780
14781         * lyx_main.C: change ref to known bugs
14782
14783 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14784
14785         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14786         to work around older babel problems.
14787
14788 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14789
14790         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14791
14792 2001-10-24  Juergen Vigna  <jug@sad.it>
14793
14794         * tabular-old.C (ReadOld): below variable changes reflected.
14795
14796         * tabular.[Ch]: added ltType struct for longtable header/footer
14797         defines and changed all instances where they are used. Added
14798         future support for double top/bottom rows.
14799
14800 2001-10-24  José Matos  <jamatos@fep.up.pt>
14801
14802         * buffer.h (docbookHandleCaption):
14803         * buffer.C (docbookHandleCaption): removed unused function.
14804         (makeDocBookFile): moved docbook supported version to v4.1.
14805
14806 2001-10-24  José Matos  <jamatos@fep.up.pt>
14807
14808         * tabular.h:
14809         * tabular.C (docbookRow): new function to export docbook code of a row.
14810         (DocBook): now honors the longtable flags.
14811
14812 2001-10-23  José Matos  <jamatos@fep.up.pt>
14813
14814         * LaTeXFeatures.h:
14815         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14816         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14817
14818         * buffer.C (makeLinuxDocFile):
14819         (makeDocBookFile): reworked the preamble, more clean, and with
14820         support for lyx defined entities. Changed the document declaration
14821         to be more XML friendly.
14822
14823         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14824         if we need to output XML that should be done with a filter.
14825
14826 2001-10-22  Juergen Vigna  <jug@sad.it>
14827
14828         * sp_pspell.h (class PSpell): add alive function needed in the
14829         controller to see if the spellchecker could be started.
14830
14831 2001-10-22  Juergen Vigna  <jug@sad.it>
14832
14833         * buffer.C (insertStringAsLines): modify the font for inserting
14834         chars in certain conditions by calling checkInsertChar(font).
14835
14836 2001-10-19  Juergen Vigna  <jug@sad.it>
14837
14838         * text.C (workWidth): use getRow instead of wrong algorithm.
14839         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14840
14841 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14842
14843         * lyxserver.h:
14844         * lyxserver.C:
14845         * lyx_main.h:
14846         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14847
14848 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14849
14850         * text.C (workWidth): do not search for the exact row when
14851         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14852         optimization for big documents.
14853
14854 2001-10-18  Juergen Vigna  <jug@sad.it>
14855
14856         * text.C (workWidth): new function with added Inset * parameter.
14857
14858 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14859
14860         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14861
14862         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14863         change return type of getColumnNearX.
14864
14865
14866         * text.C (changeRegionCase): use uppercase/lowercase instead of
14867         toupper/tolower.
14868         (leftMargin):
14869         (rightMargin): simplify code by factoring out the uses of
14870         textclasslist.
14871         (labelFill):
14872         (numberOfHfills):
14873         (setHeightOfRow):
14874         (appendParagraph): use Paragraph::size_type
14875
14876 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14877
14878         * vspace.C (asLatexString): add a missing break
14879
14880 2001-10-15  Herbert Voss  <voss@perce.de>
14881
14882         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14883
14884 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14885
14886         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14887         is not available.
14888
14889 2001-10-10  André Pönitz <poenitz@gmx.net>
14890
14891         * lyxfunc.C: removed greek_kb_flag.
14892
14893 2001-10-10  Herbert Voss  <voss@perce.de>
14894
14895         * lyx_main.C: delete global string help_lyxdir.
14896
14897 2001-10-09  Herbert Voss  <voss@perce.de>
14898
14899         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14900
14901         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14902
14903         * lyx_main.C: added global string help_lyxdir.
14904
14905         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14906
14907 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14908
14909         * lyxrc.C (set_font_norm_type): support iso8859-4
14910
14911 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14912
14913         * LaTeX.C (deplog): add another regex for MikTeX
14914
14915 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14916
14917         * lyxrc.C (set_font_norm_type): support iso8859-3
14918
14919 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14920
14921         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14922
14923         * LaTeXFeatures.C: remove special case of french and index
14924
14925         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14926         before \begin{document}). This solves several incompatibilities.
14927
14928 2001-10-03  Garst Reese  <reese@isn.net>
14929
14930         * lyx_cb.C: change CheckTex error msg.
14931
14932 2001-10-03  José Matos  <jamatos@fep.up.pt>
14933
14934         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14935
14936 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14937
14938         * .cvsignore: update
14939
14940         * lyx_main.C (commandLineVersionInfo): use new style version info.
14941
14942         * buffer.C (writeFile):
14943         (makeLaTeXFile):
14944         (makeLinuxDocFile):
14945         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14946
14947         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14948
14949         * version.h: update to use stuff in version.C
14950
14951         * version.C.in: new file. Contains version information determined
14952         at compile time. This is a merging of version.h and
14953         version_info.h.in.
14954
14955 2001-10-03  Juergen Vigna  <jug@sad.it>
14956
14957         * BufferView_pimpl.C (update): don't change "dirty" status in
14958         updateInset call.
14959
14960 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14961
14962         * WorkArea.C (c-tor): re-position version string slightly.
14963
14964 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14965
14966         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14967         revert to previous code.
14968
14969         WorkArea.[Ch]: (show, destroySplash): methods removed.
14970
14971         WorkArea.C: rework code so that it's an amalgam of the codes before and
14972         after the splash screen was moved to WorkArea.
14973
14974 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14975
14976         * lyxrc.C (read):
14977         * vspace.C (inPixels):
14978         (lyx_advance):
14979         * kbmap.C (bind):
14980         * buffer.C (insertStringAsLines):
14981         (asciiParagraph): fix types to be large enough
14982
14983         * lyxlex_pimpl.h: change member status from short to int
14984
14985         * layout.h: fix type of endlabeltype
14986
14987         * kbmap.C (bind):
14988         * kbsequence.C (parse): change return type to string::size_type
14989
14990         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14991         variable
14992
14993         * Bullet.C (bulletSize):
14994         (bulletEntry): do not use short ints as parameters
14995
14996         * BufferView2.C (insertLyXFile): change a char to an int.
14997
14998         * WorkArea.C (WorkArea): remove unneeded floats in computation
14999
15000 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15001
15002         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15003
15004         * paragraph.C (asString): Do not ignore newline/hfill chars when
15005         copying to the clipboard.
15006
15007 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15008
15009         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15010         after a multi-line inset.
15011
15012 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15013
15014         * paragraph.C (validate): Set NeedLyXFootnoteCode
15015
15016 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15017
15018         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15019         and decrease-error to decrease.
15020
15021 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15022
15023         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15024         it more readable (should be equivalent)
15025
15026 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15027
15028         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15029
15030 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15031
15032         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15033         of a cursor (row, etc.) after a character has been deleted
15034         (deleteEmptyParagraphMechanism): call the method above on _all_
15035         cursors held by the LyXText when a double space has been
15036         detected/deleted.
15037
15038 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15039
15040         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15041         pixmap.
15042         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15043
15044         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15045         background. Use greyOut() and the new show() methods to toggle between
15046         the foreground and background. Add code to remove the splash after
15047         its initial showing.
15048
15049         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15050         (create_forms): no longer call Dialogs::showSplash.
15051
15052 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15053
15054         * .cvsignore: add version_info.h
15055
15056 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15057
15058         * version_info.h.in: new file
15059
15060         * Makefile.am: add version_info.h.in
15061
15062         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15063         version_info.h instead of VERSION_INFO
15064
15065 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15066
15067         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15068         The ERT inset now returns string().
15069
15070 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15071
15072         * lyxtext.h, text.C (selectNextWord): renamed as
15073         selectNextWordToSpellcheck.
15074
15075         * text.C (selectNextWordToSpellcheck): Modified to not select
15076         words inside an ERT inset.
15077
15078 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15079
15080         * lyx_cb.C (MenuLayoutSave): change a bit the question
15081
15082         * sp_base.h: include <sys/types.h>
15083
15084 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15085
15086         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15087
15088 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15089
15090         * several files: fix typos in user-visible strings
15091
15092 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15093
15094         * text2.C (pasteSelection): do not set the selection, since it
15095         will be cleared later. Actually, the intent was to fix the way the
15096         selection was set, but I figured rmoving the code was just as good.
15097
15098 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15099
15100         * FontLoader.C (available): Check if font is available without
15101         loading the font.
15102
15103 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15104
15105         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15106
15107 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15108
15109         * lyxrc.[Ch]: added display_graphics variable and associated code.
15110
15111 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15112
15113         * bufferparams.C (hasClassDefaults): new method. Returns true if
15114         the buffer parameters correspond to known class defaults
15115
15116 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15117
15118         * XFormsView.C (show): set minimum size to the main window.
15119
15120 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15121
15122         * text2.C (copySelection):
15123         (cutSelection):
15124         * lyxfind.C (LyXReplace):
15125         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15126         LyXText::selectionAsString.
15127
15128         * paragraph.C (asString): add "label" argument to the second form
15129
15130         * text2.C (selectionAsString): add "label" argument and pass it to
15131         Paragraph::asString.
15132
15133 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15134
15135         * lyx_main.C (commandLineHelp): remove version information
15136
15137 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15138
15139         * lyx_main.C: add -version commandline option
15140
15141 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15142
15143         * paragraph.h: make the optional constructor arg required instead.
15144         some modifications to other files because of this.
15145
15146         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15147
15148         * lyxserver.C (C_LyXComm_callback): make it static
15149
15150         * lyx_main.C (error_handler): make it static
15151
15152         * lyx_gui.C (LyX_XErrHandler): make it static
15153
15154         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15155
15156         * WorkArea.C: make the extern "C" methods static.
15157
15158         * Makefile.am (lyx_LDADD): simplify
15159
15160 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15161
15162         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15163         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15164
15165         * LyXAction.C (init):
15166         * lyxfunc.C (dispatch): associated code removal.
15167
15168 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15169
15170         * lyxfont.h (isSymbolFont): shut off warning
15171
15172         * text.C (setHeightOfRow):
15173         (getVisibleRow): fix crash with empty paragraphs which have a
15174         bottom line
15175
15176 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15177
15178         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15179         code.
15180
15181 2001-09-04  José Matos  <jamatos@fep.up.pt>
15182         * buffer.C
15183         * buffer.h
15184         * tabular.C (docbook): rename docBook method to docbook.
15185
15186 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15187
15188         * Makefile.am: add dependencies to main.o.
15189
15190 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15191
15192         * FontLoader.C (available): Return false if !lyxrc.use_gui
15193
15194 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15195
15196         * FontInfo.C (query):
15197         * converter.C (view):
15198         * importer.C (Import):
15199         * exporter.C (Export): Can not -> cannot.
15200
15201 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15202
15203         * BufferView_pimpl.C: allow to create index inset even if
15204           string is empty
15205
15206 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15207
15208         * buffer.C (getLists): replace boost::tie code with an explicit pair
15209         as boost::tie can break some compilers.
15210
15211         * iterators.h: Added a std:: declaration to the return type of
15212         ParIterator::size.
15213
15214 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15215
15216         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15217           case.
15218
15219 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15220
15221         * iterators.[Ch]: New files. Provide paragraph iterators.
15222
15223         * buffer.C (changeLanguage): Use paragraph iterators.
15224         (isMultiLingual): ditto
15225
15226         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15227
15228 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15229
15230         * FontLoader.C: Support for cmr font.
15231
15232 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15233
15234         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15235         (available): New method.
15236
15237         * FontInfo.C (getFontname): Use scalable fonts even when
15238         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15239         found.
15240
15241 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15242
15243         * converter.C (Formats::view): reverted! Incorrect fix.
15244
15245 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15246
15247         * converter.C (Formats::view): only output the -paper option
15248         if the dvi viewer is xdvi, thereby fixing bug #233429.
15249
15250 2001-08-23  Herbert Voss  <voss@perce>
15251
15252         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15253
15254 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15255
15256         * Spacing.h (Spacing): Set space to Default on in the default
15257         constructor.
15258
15259 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15260
15261         * vc-backend.h (RCS::versionString): add RCS to version
15262         (CVS::versionString): add CVS to version
15263
15264         * vc-backend.C (scanMaster): do not add CVS to version.
15265         (scanMaster): do not add RCS to version
15266
15267         * lyxvc.C (versionString): new method
15268
15269         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15270
15271 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15272
15273         * Spacing.C (set): initialize fval
15274
15275 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15276
15277         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15278         " or \.
15279
15280 2001-08-16  Juergen Vigna  <jug@sad.it>
15281
15282         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15283
15284 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15285
15286         * BufferView_pimpl.C:
15287         * figureForm.C:
15288         * lyxtext.h:
15289         * text2.C: setParagraph takes linespacing now
15290
15291 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15292
15293         * LyxAction.C: add internal LFUN_CITATION_INSERT
15294
15295         * LyXView.C: actually apply fix
15296
15297         * bufferlist.C: fix open non-existent file
15298
15299         * lyxfind.C: fix indentation
15300
15301         * lyxfunc.C: remove unneeded assert, fix typo
15302
15303 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15304
15305         * MenuBackend.C: use "Floatname List"
15306
15307 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15308
15309         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15310         when converting LaTeX layout to insetERT.
15311         Generate a non-collapsed float when reading old float
15312
15313 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15314
15315         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15316         ERT insets.
15317
15318 2001-08-13  Juergen Vigna  <jug@sad.it>
15319
15320         * text.C (fill): return 0 instead of 20 as this seems to be the more
15321         correct value.
15322
15323 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15324
15325         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15326         lyxrc.font_norm.
15327
15328 2001-08-13  Juergen Vigna  <jug@sad.it>
15329
15330         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15331         casesensitive off.
15332         (SearchBackward): comment out the unlocking of the inset_owner this
15333         should not be needed!
15334
15335 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15336
15337         * Many files: Remove inherit_language, and add latex_language
15338
15339         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15340         collapsible insets.
15341
15342 2001-08-10  Juergen Vigna  <jug@sad.it>
15343
15344         * text.C (prepareToPrint): fixed hfill-width in draw!
15345
15346         * BufferView2.C (selectLastWord): save the selection cursor as this
15347         now is cleared in the function LyXText::clearSelection!
15348
15349 2001-08-08  Juergen Vigna  <jug@sad.it>
15350
15351         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15352         BACKSPACE type functions.
15353
15354         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15355         is only cutted from the document but not put in the cut-buffer, where
15356         still the old stuff should be.
15357
15358         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15359
15360         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15361
15362         * tabular.C (SetWidthOfCell): fixed special case where the width
15363         was not updated!
15364         (LeftLine): handle '|' in align_special.
15365         (RightLine): ditto
15366         (LeftAlreadyDrawed): ditto
15367         (SetWidthOfCell): ditto
15368
15369 2001-08-07  Juergen Vigna  <jug@sad.it>
15370
15371         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15372
15373 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15374
15375         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15376         * lyxlex.[hC]: ditto
15377
15378 2001-08-06  Juergen Vigna  <jug@sad.it>
15379
15380         * text.C (getVisibleRow): fix up row clearing a bit.
15381
15382 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15383
15384         * minibuffer.C: make sure the X server sees the changes in the input.
15385
15386 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15387
15388         * paragraph.C (getFont): split into...
15389         (getLabelFont): this
15390         (getLayoutFont): and this
15391         * paragraph_pimpl.C (realizeFont): calling this
15392
15393         * text2.C (getFont): split into...
15394         (getLayoutFont): this
15395         (getLabelFont): and this
15396         (realizeFont): all three calling this
15397
15398         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15399         files where used.
15400
15401 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15402
15403         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15404
15405 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15406
15407         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15408         layouts from the Quote inset insertion.
15409
15410 2001-08-03  Juergen Vigna  <jug@sad.it>
15411
15412         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15413
15414         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15415         only if status not is already CHANGED_IN_DRAW (second level).
15416
15417         * text.C (draw): don't set the need_break_row when inside an
15418         InsetText LyXText.
15419
15420 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15421
15422         * buffer.C (parseSingleLyXformat2Token): handle more latex
15423         conversion cases.
15424
15425         * bufferview_funcs.[hC]: change function names to
15426         begin with small char, adjust other files.
15427
15428 2001-08-02  André Pönitz <poenitz@gmx.net>
15429
15430         * lyxfunc.C:
15431         BufferView_pimpl.C: remove broken special code for math-greek
15432
15433 2001-08-02  Juergen Vigna  <jug@sad.it>
15434
15435         * BufferView_pimpl.C (update): redone this function so that we
15436         update the text again if there was a CHANGE_IN_DRAW.
15437
15438         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15439         (drawFromTo): added a new internal bool which is used by draw() and
15440         redraw() function.
15441         (general): some cursor drawing problems fixed.
15442
15443 2001-08-01  Juergen Vigna  <jug@sad.it>
15444
15445         * lyxfind.C (LyXFind): fixed
15446         (SearchForward): ditto
15447         (SearchBackward): ditto
15448
15449         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15450         spurius drawing of the cursor in the main area.
15451
15452         * text2.C (status): small fix which could lead to a segfault!
15453         (clearSelection): remove unneeded BufferView param.
15454
15455 2001-08-01  André Pönitz <poenitz@gmx.net>
15456
15457         * lyxfunc.C: small change due to changed mathed interface
15458
15459 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15460
15461         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15462
15463 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15464
15465         * lyxfunc.c: fail gracefully if file doesn't exist
15466
15467         * LyXSendto.C:
15468         * buffer.C:
15469         * lyxfunc.C:
15470         * BufferView_pimpl.C: IsDirWriteable() proto changed
15471
15472         * LyXView.C: fix updateWindowTitle() to store the last title
15473
15474 2001-07-31  Juergen Vigna  <jug@sad.it>
15475
15476         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15477         the font (wrong since using of Paragraph::highestFontInRange).
15478
15479         * paragraph.C (highestFontInRange): added a default_size parameter.
15480
15481         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15482         (setHeightOfRow): reformat
15483
15484 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15485
15486         * converter.[hC] + affected files: move to (inital-char)lowercase
15487         function names.
15488
15489         * ParagraphParameters.C (ParagraphParameters): remove commented code
15490
15491         * PainterBase.[Ch]: remove commented code
15492
15493         * LaTeXFeatures.h: add "bool floats" for float.sty
15494
15495         * LaTeXFeatures.C (LaTeXFeatures): init floats
15496         (require): handle float
15497         (getPackages): do it with floats
15498
15499 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15500
15501         * BufferView_pimpl.C (Dispatch): improve handling of
15502         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15503
15504         * commandtags.h: #include lyxfont.h here temporarily to avoid
15505         keybinding bug.
15506
15507         * bufferlist.h: include LString.h here.
15508
15509 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15510
15511         * text2.C (getStringToIndex): new method.
15512
15513 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15514
15515         * *: Reduced header file dependencies all over.
15516
15517 2001-07-30  Baruch Even  <baruch@lyx.org>
15518
15519         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15520
15521 2001-07-29  Baruch Even  <baruch@lyx.org>
15522
15523         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15524
15525 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15526
15527         * ParameterStruct.h (endif): add a default constructor to make
15528         sure that all variables is initialized.
15529
15530         * ParagraphParameters.C (ParagraphParameters): adjust
15531
15532 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15533
15534         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15535         index; also, check that there is something to index, and that it
15536         does not span over several paragraphs.
15537         (doubleClick): use WHOLE_WORD_STRICT for double click.
15538
15539         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15540
15541         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15542         scheme.
15543
15544 2001-07-26  Baruch Even  <baruch@lyx.org>
15545
15546         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15547         an InsetFig figure, backwards compatible reading of old figure code.
15548
15549 2001-07-27  Juergen Vigna  <jug@sad.it>
15550
15551         * text2.C: font.realize function adaption.
15552
15553         * text.C (draw): add a warnings lyxerr text if needed.
15554
15555         * layout.C: font.realize function adaption.
15556
15557         * language.C: add inherit_language and implement it's handlings
15558
15559         * bufferview_funcs.C (StyleReset): remove language parameter from
15560         font creation (should be language_inherit now).
15561
15562         * bufferparams.C (writeFile): handle ignore_language.
15563
15564         * paragraph.C (getFontSettings): the language has to be resolved
15565         otherwise we have problems in LyXFont!
15566
15567         * lyxfont.C (lyxWriteChanges): added document_language parameter
15568         (update): removed unneeded language parameter
15569
15570         * paragraph.C (validate): fixed wrong output of color-package when
15571         using interface colors for certain fonts in certain environments,
15572         which should not seen as that on the final output.
15573
15574 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15575
15576         * BufferView_pimpl.C:
15577         * Thesaurus.h:
15578         * Thesaurus.C:
15579         * Makefile.am:
15580         * commandtags.h:
15581         * LyXAction.C: add thesaurus support
15582
15583         * lyxfind.h:
15584         * lyxfind.C: add "once" parameter, for thesaurus, to not
15585           move to the next match
15586
15587 2001-07-26  Juergen Vigna  <jug@sad.it>
15588
15589         * lyxfont.C (realize): honor ignore_language too!
15590         (resolved): ditto.
15591
15592         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15593
15594         * text.C (draw): one place more for ignore_language to not draw
15595         itself!
15596
15597 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15598
15599         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15600
15601 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15602
15603         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15604         the minipage conversion problem.
15605
15606 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15607
15608         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15609         insert an inset.
15610
15611 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15612
15613         * BufferView.h: don't forward declare WorkArea
15614
15615         * BufferView.C: don't include WorkArea.h
15616
15617 2001-07-25  André Pönitz <poenitz@gmx.net>
15618
15619         * commandtags.h:
15620         * LyXAction.C:
15621         * lyxfunc.C:  new LFUN 'math-space'
15622
15623         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15624
15625 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15626
15627         * text2.C (toggleInset): call open/close
15628
15629 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15630
15631         * lyxfunc.C (dispatch): add debug for the disabled case
15632
15633         * font.C (buttonText): make similar to rectText
15634
15635         * buffer.C (readInset): comment out parsing of insetlist and
15636         insttheorem
15637
15638         * PainterBase.C (rectText): small correction
15639
15640         * BufferView_pimpl.C: comment out insettheorem and insetlist
15641         * LyXAction.C: ditto
15642         * commandtags.h: ditto
15643
15644 2001-07-24  Juergen Vigna  <jug@sad.it>
15645
15646         * text.C (draw): honor the ignore_language.
15647
15648         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15649
15650 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15651
15652         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15653         char inset.
15654
15655 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15656
15657         * lyxtext.h: remove unused (and unimplemented) methods
15658
15659 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15660
15661         * text.C (getVisibleRow): honor background color
15662
15663         * PainterBase.h:
15664         * Painter.h: remove default color argument for fillRectangle
15665
15666         * text.C (backgroundColor): new method
15667
15668 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15669
15670         * text.C (getVisibleRow): adjust
15671
15672         * font.[Ch] (rectText): new method, metrics
15673         (buttonText): new method, metrics
15674
15675         * PainterBase.[hC]: make rectText and buttonText always draw and take
15676         fewer paramteres.
15677
15678 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15679
15680         * ToolbarDefaults.C (read):
15681         * MenuBackend.C (read): allow escaping in all strings
15682
15683         * BufferView_pimpl.C (insertAndEditInset): new method.
15684         (Dispatch): use insertAndEditInset whenever appropriate.
15685
15686         * BufferView_pimpl.C (insertNote): removed
15687
15688         * BufferView_pimpl.C (smartQuote): new method, moved from
15689         BufferView; if an insetquote cannot be inserted, insert a '"'
15690         character instead.
15691
15692         * BufferView2.C: remove insertCorrectQuote();
15693
15694         * lyxfunc.C (getStatus): Add support for all remaingin
15695         inset-insert lfuns.
15696
15697         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15698
15699         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15700         command (necessary to pass " as parameter of self-insert.
15701
15702         * text.C (selectWordWhenUnderCursor):
15703         (selectWord): add word_location parameter
15704         (selectWordWhenUnderCursor): same + remove special code for word
15705         boundary.
15706         (selectNextWord): use kind() to guess type of insetspecialchar,
15707         not latex().
15708
15709         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15710         (insertErtContents): create ert insets as collapsed.
15711         (readInset): better compatibility code for Info inset.
15712
15713 2001-07-20  Juergen Vigna  <jug@sad.it>
15714
15715         * lyxfunc.C (dispatch): use always LyXFind now!
15716
15717         * text2.C (init): add a reinit flag so that the LyXText can be
15718         reinited instead of deleted and reallocated (used in InsetText).
15719
15720         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15721
15722         * text.C: ditto
15723
15724         * text2.C: ditto
15725
15726 2001-07-18  Juergen Vigna  <jug@sad.it>
15727
15728         * text.C (selectNextWord): handle insets inside inset by calling
15729         always the bv->text functions so that we can go up the_locking_inset!
15730
15731         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15732         in strange locations when inside an inset!
15733
15734         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15735         handling to include insets.
15736
15737         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15738
15739 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15740
15741         * LyXAction.C (init):
15742         * commandtags.h:
15743         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15744         LIGATURE_BREAK, since the name is so stupid.
15745
15746 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15747
15748         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15749         InsetInfos.
15750
15751         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15752
15753         * sp_form.[Ch]: remove.
15754
15755         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15756
15757         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15758         InsetInfo.
15759
15760         * src/buffer.C (readInset): ditto.
15761
15762 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15763
15764         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15765         menuSeparator(), endOfSentenceDot(), ldots() and
15766         hyphenationPoint(), which are therefore removed.
15767         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15768
15769         * LyXAction.C (init):
15770         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15771
15772         * paragraph.C (getWord): removed.
15773
15774         * BufferView_pimpl.C (Dispatch): use last word or selection for
15775         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15776
15777         * lyx_main.C (queryUserLyXDir): do not ask before creating
15778         user_dir, except if it has been named explicitely.
15779
15780 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15781
15782         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15783         a document of zero size.
15784
15785 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15786
15787         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15788         approriately in the c-tor and in require().
15789         (getPackages): output the appropriate LaTeX for natbib support.
15790
15791         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15792         variables "use_natbib" and "use_numerical_citations" when reading the
15793         LyX file.
15794         (readInset): read the various natbib cite commands.
15795         (validate): white-space change.
15796
15797         * bufferparams.[Ch]: new variables "bool use_natbib" and
15798         "bool use_numerical_citations".
15799         (writeFile): output them in the LyX file.
15800
15801 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15802
15803         * lyxfunc.C (getStatus): add support for all the inset insertion
15804         commands.
15805
15806         * text2.C (insertInset):
15807         * paragraph.C (insetAllowed):
15808         * BufferView_pimpl.C (insertInset): update to take in account the
15809         renaming of insertInsetAllowed
15810
15811         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15812
15813         * text2.C (getInset): new method. returns inset at cursor position.
15814
15815         * BufferView_pimpl.C (Dispatch): changes because of this.
15816
15817         * LyXAction.C (init): rename open-stuff to inset-toggle.
15818
15819         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15820
15821         * text2.C (toggleInset): renamed from openStuff; use
15822         Inset::open().
15823
15824 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15825
15826         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15827
15828         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15829
15830 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15831
15832         * buffer.C (readLyXformat2): Add filename to the error dialog
15833
15834 2001-07-18  Juergen Vigna  <jug@sad.it>
15835
15836         * tabular.C (GetCellNumber): put an assert here instead of the check!
15837
15838 2001-07-17  Juergen Vigna  <jug@sad.it>
15839
15840         * BufferView_pimpl.C (toggleSelection): adapted too.
15841
15842         * text.C (selectNextWord): adapted for use with insets.
15843         (selectSelectedWord): ditto
15844
15845 2001-07-17  Juergen Vigna  <jug@sad.it>
15846
15847         * sp_spell.C (PSpell): fix initialitation order.
15848
15849 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15850
15851         * paragraph.C: spacing
15852
15853 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15854
15855         * sp_spell.C: repair language selection for pspell
15856
15857 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15858
15859         * lyxfunc.h: change more methods to begin with lower char.
15860
15861 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15862
15863         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15864         for unknown layouts.
15865
15866 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15867
15868         * buffer.C (readLyXformat2): Generate an error dialog if there are
15869         unknown layouts.
15870
15871 2001-07-16  Juergen Vigna  <jug@sad.it>
15872
15873         * sp_spell.C: always compile ISpell part.
15874
15875         * lyxrc.C: added use_pspell entry and it's handling.
15876
15877 2001-07-13  Juergen Vigna  <jug@sad.it>
15878
15879         * sp_spell.C: removed double includes.
15880
15881 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15882
15883         Consistent use of Lsstream.h:
15884         * Lsstream.h: added using std::stringstream for consistencies sake.
15885
15886         * buffer.C: removed using std::stringstream
15887
15888         * lyxfont.C (stateText):
15889         * paragraph.C (asString):
15890         * text.C (selectNextWord, selectSelectedWord):
15891         * text2.C (setCounter):
15892         * vspace.C (asString, asLatexString):
15893         std::ostringstream -> ostringstream.
15894
15895 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15896
15897         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15898         * commandtags.h: add LFUN_HELP_ABOUTLYX
15899         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15900
15901 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15902
15903         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15904         cursorToggle()
15905         * lyx_gui_misc.C: remove spellchecker
15906         * lyxfunc.C: showSpellchecker
15907         * sp_base.h: added
15908         * sp_ispell.h: added
15909         * sp_pspell.h: added
15910         * sp_spell.C: added
15911         * sp_form.[Ch]: removed
15912         * spellchecker.[Ch]: removed
15913
15914 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15915
15916         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15917         is set.
15918         (simpleTeXSpecialChars): Simply print the input character without
15919         any special translation if pass_thru is set.
15920
15921         * layout.h: Added bool pass_thru to layout class for being able to
15922         implement pass through of a paragraph for Literate Programming.
15923
15924         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15925         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15926         * layout.C (Read): add "passthru" to list of layout tags and add
15927         code to set the pass_thru boolean when it is read.
15928
15929 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15930
15931         * trans_decl.h: remove allowed from KmodInfo
15932
15933         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15934         remove allowed code
15935         (Load): adjust
15936
15937         * paragraph_pimpl.C (erase): use boost::prior
15938
15939         * Painter.C (text): use data() instead of c_str() when length is
15940         also provided.
15941         * WorkArea.C (putClipboard): ditto
15942         * font.h (width): ditto
15943
15944         * BufferView2.C: use it-> instead of (*it). for iterators
15945         * texrow.C: ditto
15946         * paragraph_pimpl.C: ditto
15947         * paragraph.C: ditto
15948         * minibuffer.C: ditto
15949         * language.C: ditto
15950         * kbmap.C: ditto
15951         * encoding.C: ditto
15952         * counters.C: ditto
15953         * converter.C: ditto
15954         * chset.C: ditto
15955         * Variables.C: ditto
15956         * TextCache.C: ditto
15957         * MenuBackend.C: ditto
15958         * LyXAction.C: ditto
15959         * LColor.C: ditto
15960         * FloatList.C: ditto
15961         * DepTable.C: ditto
15962         * ColorHandler.C (LyXColorHandler): ditto
15963
15964 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15965
15966         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15967
15968         * text2.C (openStuff): reintroduce this method (which had been
15969         nuked in NEW_INSETS frenzy).
15970
15971         * lyxfunc.C (Dispatch): when an action has not been handled, use
15972         its name in the error message, not its number.
15973
15974         * paragraph.C (inInset): change method name to begin with lowercase.
15975
15976         * undo_funcs.C:
15977         * text2.C: updates because of this.
15978
15979 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15980
15981         * ToolbarDefaults.C (add): add spaces in error message
15982
15983 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15984
15985         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15986         (readLyXformat2): rename return_par to first_par, use lyxlex's
15987         pushToken and remove the manual push handling.
15988         (parseSingleLyXformat2Token): add another ert comp. variable:
15989         in_tabular, rename return_par to first_par. handle newlines better
15990
15991 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15992
15993         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15994
15995 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15996
15997         * text2.C (getParFromID): removed
15998
15999         * buffer.C (getParFromID): new method moved form lyxtext.
16000         * BufferView2.C (insertErrors): adjust
16001         (setCursorFromRow): adjust
16002         * BufferView_pimpl.C (restorePosition): adjust
16003         * lyxfunc.C (Dispatch): adjust
16004         * undo_funcs.C (textUndo): adjust
16005         (textRedo): adjust
16006         (textHandleUndo): adjust
16007         (textHandleUndo): adjust
16008
16009 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16010
16011         * buffer.C: up' the LYX_FORMAT
16012
16013         * lyxfont.h: turn NO_LATEX on as default
16014
16015         * buffer.C (insertErtContents): new methods of tex style compability.
16016         (parseSingleLyXformat2Token): use it several places.
16017         * tabular.C (OldFormatRead): and here
16018
16019 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16020
16021         * text2.C: remove some commented code.
16022         reindent file.
16023
16024         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16025         * trans.C: changes because of the above.
16026
16027 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16028
16029         * text2.C (setCounter): Fix counters bug with bibliography layout.
16030
16031 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16032
16033         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16034         own member functions
16035         (simpleTeXSpecialChars): ditto
16036
16037 2001-07-06  Juergen Vigna  <jug@sad.it>
16038
16039         * a lot of files: changed the access to LyXText::status and the
16040         call of undo-functions.
16041
16042         * undo.[Ch]: added a inset_id to the undo informations.
16043
16044         * undo_funcs.[Ch]: added and moved here all undo functions.
16045
16046         * lyxtext.h: give the status enum a weight, made status_ a private
16047         variable and made accessor functions for it, removed the whole bunch
16048         of undo-functions as they are now in their own file, make some
16049         functions publically available. Added function ownerParagraph with
16050         int parameter.
16051
16052         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16053         made InInset() a const function, added getParFromID() function.
16054
16055         * buffer.[Ch]: added const version for inset_iterator functions,
16056         added getInsetFromID() function.
16057
16058         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16059         changed undo functions for new version.
16060
16061 2001-07-05  Juergen Vigna  <jug@sad.it>
16062
16063         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16064         unknow mechanism does not call the proper constructor but only this
16065         one also if I request the other!?
16066
16067 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16068
16069         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16070
16071         * text2.C (LyXText): use initialization lists.
16072
16073         * lyxtext.h (Selection): initialize set_ and mark_
16074         (init): remove method
16075
16076 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16077
16078         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16079
16080 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16081
16082         * screen.[Ch]: change method names to begin with lowercase
16083
16084         * BufferView_pimpl.C (updateScrollbar): simplify further and
16085         hopefully make it a bit faster.
16086
16087 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16088
16089         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16090         calling directly xforms functions.
16091
16092         * Painter.C (Painter):
16093         * lyx_cb.C (MenuWrite):
16094         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16095         fl_display.
16096
16097         * lyx_gui.C: remove bogus guiruntime extern declaration.
16098
16099 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16100
16101         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16102         in NEW_INSETS
16103         (redoDrawingOfParagraph): ditto
16104         (redoParagraphs): ditto
16105         (cutSelection): don't create a object for CutAndPaste use the
16106         static method directly
16107         (pasteSelection): ditto
16108
16109         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16110         LyXview (+ rename)
16111
16112 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16113
16114         * modifications to some other files because of this.
16115
16116         * Makefile.am (lyx_SOURCES): add XFormsView
16117
16118         * XFormsView.[Ch]: new files
16119
16120         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16121         the main window. Move the gui dependent stuff to XFormsView
16122
16123 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16124
16125         * tabular.C (GetCellInset): update cur_cell also in the row/col
16126         version of this function.
16127
16128         * lyxfunc.C: no need to include figure_form.h here.
16129
16130         * FontLoader.h:
16131         * lyxfunc.h:
16132         * lyxscreen.h:
16133         * text2.C:
16134         * lyxvc.C: no need to include forms.h here.
16135
16136 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16137
16138         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16139
16140         * lyxfunc.C (Dispatch):
16141         * Spacing.C (set):
16142         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16143         constructor argument.
16144
16145 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16146
16147         * paragraph.C (Paragraph): dont't clear, and just set layout.
16148         (makeSameLayout): use params's copy contructor.
16149
16150         * ParagraphParameters.[Ch] (makeSame): delete method
16151
16152 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16153
16154         * Variables.[Ch]: fix indentation, rename set to isSet
16155
16156 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16157
16158         * lyxfunc.C (Dispatch): fix typo
16159
16160 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16161
16162         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16163         upper_bound.
16164
16165         * bufferlist.C: include assert.h for emergencyWrite().
16166
16167 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16168
16169         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16170           give up at last (bug #425202) !
16171
16172 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16173
16174         * lyx_gui_misc.C:
16175         * sp_form.h:
16176         * sp_form.C:
16177         * spellchecker.h:
16178         * spellchecker.C: strip spellchecker options and bring up
16179           preferences tab instead
16180
16181 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16182
16183         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16184         the istringstream constructor
16185
16186 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16187
16188         * paragraph.C (getLayout): fix return value
16189
16190         * paragraph.h: do not declare getLayout as inline.
16191
16192         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16193
16194 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16195
16196         * lyxcursor.h (operator<): new func
16197         (operator>): new func
16198         (operator>=): new func
16199         (operator<=): new func
16200
16201         * text.C (changeCase): use selection.start and selection.end
16202         (changeRegionCase): require from to be <= to. Require par to be a
16203         valid paragraph.
16204
16205         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16206
16207 2001-06-27  Juergen Vigna  <jug@sad.it>
16208
16209         * text.C (cursorLeftOneWord): changed to return the cursor and added
16210         overlay with BufferView * parameter which calls this one.
16211         (getWord): added
16212         (selectWord): use new getWord function.
16213         (changeCase): renamed from changeWordCase as and extended to work
16214         also on selections.
16215
16216         * lyxtext.h: added enum word_location
16217
16218         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16219         changeCase as this operates now also on selections.
16220
16221 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16222
16223         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16224
16225         * many files: send debug output to Debug::INFO instead of
16226         Debug::ANY.
16227
16228         * converter.C (View):
16229         (Convert):
16230         (Move): send debug output to Debug::FILES instead of console.
16231
16232 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16233
16234         * lyxfunc.C (getStatus): use func_status
16235
16236         * func_status.h: new header, describing the results of
16237         LyXFunc::getStatus;
16238
16239         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16240         LFUN_MATH_HALIGN.
16241
16242 2001-06-25  The LyX Project  <jug@sad.it>
16243
16244         * buffer.C (sgmlOpenTag):
16245         (sgmlCloseTag):
16246         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16247
16248 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16249
16250         * text2.C: remove some dead code
16251
16252         * tabular.C (GetCellInset): store the last cell checked (gotten)
16253
16254         * tabular.h: add the helper for the speedup
16255
16256         * lyxtext.h: remove some dead code
16257
16258 2001-06-26  The LyX Project  <Asger>
16259
16260         * paragraph.C: Change export to LaTeX of alignment to
16261         \begin{center} and family for better roundtrip work with reLyX.
16262
16263         * Tune the math drawing a bit.
16264
16265 2001-06-25  The LyX Project  <Asger>
16266
16267         * LColor.C (LColor): New color for math background. New color
16268         for buttons.
16269
16270 2001-06-25  The LyX Project  <jug@sad.it>
16271
16272         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16273
16274         * lyxfunc.C (Open):
16275         * bufferlist.C (newFile): do not restrict to files ending with
16276         .lyx
16277
16278         * BufferView_pimpl.C (MenuInsertLyXFile):
16279
16280 2001-06-24  The LyX Project  <jug@sad.it>
16281
16282         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16283         of compare_no_case
16284
16285 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16286
16287         * lyxtext.h: rename most methods to begin with a small char.
16288         Lots of changes because of this.
16289
16290         * paragraph.C (Paragraph): do not call fitToSize
16291         (erase): call Pimpl::erase
16292         (insertChar): call Pimpl::insertChar
16293         (insertInset): call Pipl::insertInset
16294         (breakParagraph): do not call fitToSize
16295         (breakParagraphConservative): do not call fitToSize
16296         (fitToSize): remove method
16297
16298         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16299
16300 2001-06-24  The LyX Project  <Asger>
16301
16302         * Fix Qt compilation^2
16303
16304 2001-06-24  The LyX Project  <jug@sad.it>
16305
16306         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16307         depthHook(getDepth()-1).
16308
16309         * paragraph.h:
16310         * ParagraphParameters.h:
16311         * ParameterStruct.h: change type of depth to unsigned int ==
16312         depth_type. Many adaptations to other files before of that.
16313
16314 2001-06-24  The LyX Project  <Asger>
16315
16316         * Fix Qt compilation.
16317
16318 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16319
16320         * paragraph.h: renamed several methods to begin with small letter.
16321         several changes to many parts of the code because of this.
16322
16323 2001-06-23  The LyX Project  <jug@sad.it>
16324
16325         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16326         rewritten to discard all double spaces when KeepEmpty is off
16327         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16328         to only handle newlines but not fiddle with spaces and friends.
16329
16330         * lyxfunc.C (MenuNew): when doing 'new from template', use
16331         template_path as default directory
16332
16333 2001-06-23  The LyX Project  <Asger>
16334
16335         * Clean-up of header file includes all over
16336         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16337
16338 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16339
16340         * paragraph.h: renamed from lyxparagraph.h
16341
16342 2001-06-23  Asger  <lyx@violet.home.sad.it>
16343
16344         * Buffer.h: Removed Buffer::resize
16345         * BufferList.h: Removed BufferList::resize
16346         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16347         the document lazily when we change the width, or the font settings.
16348
16349 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16350
16351         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16352
16353 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16354
16355         * buffer.h: remove out of date comment
16356
16357 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16358
16359         * lyxscreen.h:
16360         * screen.C: fix "theoretical" GC leak
16361
16362 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16363
16364         * LaTeX.C (scanAuxFile):
16365         (deplog): remove trailing \r when reading stream (useful under
16366         win32)
16367
16368 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16369
16370         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16371         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16372         and BufferView::theLockingInset(Inset*), so should use them and not
16373         access bv_->text->the_locking_inset directly.
16374
16375         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16376
16377 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16378
16379         * Makefile.am:
16380         * tex-defs.h: remove old unused file
16381
16382 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16383
16384         * BufferView_pimpl.C: fix typo, remove minibuffer message
16385           when buffer has loaded
16386
16387 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16388
16389         * lyxfunc.C (Dispatch): use stringstream
16390         (MenuNew): use stringstream
16391         (Open): use stringstream
16392
16393         * importer.C (Import): use stringstream
16394
16395         * bufferview_funcs.C (CurrentState): use stringstream
16396
16397         * LaTeX.C (run): use stringstream
16398
16399         * BufferView_pimpl.C (savePosition): use stringstream
16400         (restorePosition): use stringstream
16401         (MenuInsertLyXFile): use stringstream
16402
16403 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16404
16405         * BufferView.C:
16406         * Bullet.C:
16407         * ColorHandler.C:
16408         * FontInfo.C:
16409         * FontLoader.C:
16410         * LColor.C:
16411         * LaTeXFeatures.C:
16412         * Painter.C:
16413         * gettext.C:
16414         * lyx_gui_misc.C:
16415         * lyxserver.C:
16416         * vspace.C: removed // -*- C++ -*- as first line.
16417
16418         * lyxfind.h:
16419         * version.h: added // -*- C++ -*- as first line.
16420
16421 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16422
16423         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16424
16425         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16426         of string
16427
16428 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16429
16430         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16431         of floats.
16432
16433 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16434
16435         * gettext.C: include LString.h even when --disable-nls is on.
16436
16437 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16438
16439         * converter.h (Get): changed argument type from int to
16440         FormatList::size_type to avoid unnecessary conversion.
16441
16442         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16443         before using it.
16444
16445 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16446
16447         * gettext.h: include LString.h even when --disable-nls is on.
16448
16449 2001-06-07  Juergen Vigna  <jug@sad.it>
16450
16451         * text.C (BreakAgain): subst spaces with tabs.
16452
16453         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16454         (resizeInsetsLyXText): set force on resizeLyXText.
16455
16456 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16457
16458         * gettext.h (gettext_init):
16459         (locale_init): use a real definition instead of a macro
16460
16461 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16462
16463         * Bufferview_pimpl.C:
16464         * LColor.h:
16465         * LColor.C: further lcolor tidies
16466
16467 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16468
16469         * BufferView_pimpl.C (updateScrollbar): simplify.
16470
16471         * BufferView2.C: don't include insets/insetinfo.h, change
16472         prototype for insertInset and call the Pimpl version. let
16473         updateInset call Pimpl version.
16474
16475         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16476         gotoInset to BufferView::Pimpl
16477
16478 2001-06-01  Juergen Vigna  <jug@sad.it>
16479
16480         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16481         inside a LockingInset (is the update needed at all?).
16482
16483 2001-05-31  Juergen Vigna  <jug@sad.it>
16484
16485         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16486         here not the old one otherwise how should we compare it afterwards
16487         if it's the same!
16488
16489 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16490
16491         * lyxfont.C:
16492         * tabular.C:
16493         * tabular-old.C:
16494         * FontInfo.C: bring C functions into global namespace when
16495         necessary
16496
16497 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16498
16499         * LString.h: make sure config.h has been loaded before LString.h.
16500
16501         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16502         (one for each char read by EatLine!).
16503
16504         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16505         variables.
16506
16507 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16508
16509         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16510         to the same as the par we break from
16511
16512 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16513
16514         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16515
16516         * MenuBackend.C (expand): also create menu entries for wide
16517         versions of the floats.
16518
16519         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16520
16521         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16522
16523         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16524         frontends/Makefile.am
16525
16526         * text2.C: adjust
16527         * text.C: adjust
16528
16529
16530         * tabular.C (getTokenValue): add std::
16531
16532         * tabular-old.C (getTokenValue): add std::
16533         (getTokenValue): ditto
16534         (getTokenValue): ditto
16535
16536         * screen.C (ToggleSelection): adjust
16537
16538         * lyxtext.h: put selection cursors inside a Selection struct.
16539
16540         * lyxfunc.C (moveCursorUpdate): adjust
16541
16542         * lyxfont.C (latexWriteStartChanges): add std::
16543
16544         * lyxfind.C: adjust
16545
16546         * font.h: delete with(char const *, LyXFont const &)
16547
16548         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16549
16550         * FontInfo.C (getFontname): add std::
16551
16552         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16553         (workAreaButtonPress): adjust
16554         (tripleClick): adjust
16555         (update): adjust
16556         (moveCursorUpdate): adjust
16557         (Dispatch): adjust
16558
16559         * BufferView2.C (gotoInset): adjust
16560
16561 2001-05-30  Juergen Vigna  <jug@sad.it>
16562
16563         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16564         to check pspell I add this as default as I now have new pspell
16565         libraries and they seem to use this.
16566
16567 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16568
16569         * text2.C (CutSelection): make the cursor valid before the call to
16570         ClearSelection.
16571
16572 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16573
16574         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16575         relied on 0 terminated strings and other horrors. Bug found due to
16576         the new assert in lyxstring!
16577
16578         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16579         KP_ keys.
16580
16581 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16582
16583         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16584         to latinkeys.bind.
16585
16586         * lyxfunc.C (processKeySym): change method of getting to the
16587         self-insert char.
16588
16589         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16590         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16591         * BufferView_pimpl.[Ch]: here as private methods.
16592
16593 2001-05-28  Juergen Vigna  <jug@sad.it>
16594
16595         * text.C (SetHeightOfRow): added the update() call again as it is
16596         needed to initialize inset dimensions!
16597
16598 2001-05-16  Juergen Vigna  <jug@sad.it>
16599
16600         * text2.C (SetCharFont): Add new function with BufferView * and
16601         bool toggleall parameters for setting insets internal fonts.
16602         (SetFont): Freeze the undo as we may change fonts in Insets and
16603         all this change should be inside only one Undo!
16604
16605         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16606         setting font's in insets as for them we have the SetFont function!
16607
16608 2001-05-15  Juergen Vigna  <jug@sad.it>
16609
16610         * text2.C (ClearSelection): to be sure we REALLY don't have any
16611         selection anymore!
16612
16613         * tabular.C (TeXCellPreamble): fixed the left border problem for
16614         multicolumn cells.
16615
16616 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16617
16618         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16619         dependancy file
16620
16621 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16622
16623         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16624         LFUN_BREAKPARAGRAPH.
16625
16626         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16627         help test to "internal only", similar for LFUN_INSERT_URL
16628
16629         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16630         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16631         auto_region_delete and deadkeys.
16632
16633 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16634
16635         * LColor.h:
16636         * LColor.C: remove some dead entries, tidy a little
16637
16638 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16639
16640         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16641         commented code.
16642         (Dispatch): implement LFUN_ESCAPE
16643
16644         * commandtags.h: add LFUN_ESCAPE
16645
16646         * LyXAction.C (init): add entry for LFUN_ESCAPE
16647
16648         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16649         Remove commented code.
16650         (insertNote): moved here
16651         (open_new_inset): moved here
16652
16653         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16654         BufferView_pimpl
16655
16656 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16657
16658         * kbmap.C (findbinding): clean it up and make it work correctly.
16659
16660         * lyx_main.C (init): do not pass argc and argv as parameters
16661
16662 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16663
16664         * buffer.C: fix path for OS/2 & Win32
16665
16666         * lyx_gui.C:
16667         * lyx_main:
16668         * lyx_main.C: Added os:: class.
16669
16670         * os2_defines.h: update
16671
16672 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16673
16674         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16675         better by trying again with reduced state.
16676
16677 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16678
16679         * lyxrc.C (read): print error about invalid key sequence only when
16680         debugging (because not all latinX keysyms are known to some X
16681         servers)
16682
16683         * kbsequence.C (getiso): add a few std:: qualifiers
16684         (getiso): comment out extra return statement.
16685
16686 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16687
16688         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16689         handling.
16690         (Dispatch): enhance the accent inset a bit. (not perfect)
16691
16692 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16693
16694         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16695
16696 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16697
16698         * bufferlist.C (emergencyWrite): fix assert() call
16699
16700 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16701
16702         * text.C (InsertChar): Added trivial patch to only send the "you
16703         can not do multiple spaces this way" message once during a
16704         session.
16705
16706 2001-05-08  Baruch Even  <baruch@lyx.org>
16707
16708         * Makefile.am: Changed order of libraries to get LyX to link properly
16709         with the gnome frontend.
16710
16711 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16712
16713         * LaTeXFeatures.h: add a std:: qualifier
16714
16715 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16716
16717         * paragraph.C (String): use stringstream
16718
16719 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16720
16721         * paragraph.C (writeFile): remove footflag arg
16722
16723         * buffer.C (makeLaTeXFile): use stringstream
16724         (latexParagraphs): remove footnot gurba
16725
16726         * LaTeXFeatures.C (getPackages): use stringstream
16727         (getMacros): likewise
16728         (getTClassPreamble): likewise
16729         (getFloatDefinitions): new method
16730
16731         * paragraph.C (writeFile): reindent
16732         (Erase): reindent
16733
16734         * WorkArea.h: revert the xpos + etc changes.
16735
16736         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16737
16738         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16739
16740         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16741         (pasteSelection): likewise
16742         * text2.C (CreateUndo): likewise
16743
16744 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16745
16746         * minibuffer.C (peek_event): temporarily reduce the functionality
16747         of the minibuffer (to allow args on lfuns)
16748
16749         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16750         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16751
16752         * buffer.C (readInset): add compability reading of old float
16753         lists, add reading of new style float list.
16754         (readInset): avoid reevaluation of inscmd.getCmdName()
16755         (getLists): reindent
16756
16757         * MenuBackend.C (MenuItem): implement parsing of
16758         md_floatlistinsert and md_floatinsert.
16759         (expand::LastFiles): move initalizaton of iterators out of loop,
16760         avoid reevaluation.
16761         (expand::Documents): introduce typdedef vector<string> Strings,
16762         and use it.
16763         (expand::ExportFormats): introduce typedef vector<Format const *>
16764         Formats, and use it.
16765         (expand): implement FloatListInsert and FloatInsert.
16766
16767         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16768         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16769         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16770
16771         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16772         handling.
16773         (Dispatch::LFUN_FLOAT_LIST): implement
16774
16775 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16776
16777         * LaTeX.C (run): Fix problem with --export code.
16778
16779 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16780
16781         * BufferView.[Ch] (workarea): removed.
16782         (getClipboard) new method; wrapper for workarea()->getClipboard()
16783
16784         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16785         bug.
16786
16787         * WorkArea.h (width, height, xpos, ypos): These methods all
16788         returned the dimensions of the work_area sub-area of WorkArea,
16789         resulting in a position error if the WorkArea were resized. Now
16790         return the dimensions of the entire WorkArea.
16791
16792         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16793
16794 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16795
16796         * LaTeX.C (deplog): correct the syntax of regex reg1
16797
16798 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16799
16800         * undo.C: remove !NEW_INSETS cruft
16801
16802 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16803
16804         * text2.C: remove !NEW_INSETS cruft
16805
16806         * text.C: remove !NEW_INSETS cruft
16807
16808         * tabular.C: remove !NEW_INSETS cruft
16809
16810         * spellchecker.C: remove !NEW_INSETS cruft
16811
16812         * lyxtext.h: remove !NEW_INSETS cruft
16813
16814         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16815
16816         * lyxfunc.C: remove !NEW_INSETS cruft
16817
16818         * lyxfind.C: remove !NEW_INSETS cruft
16819
16820         * lyx_cb.C: remove !NEW_INSETS cruft
16821
16822         * figureForm.C: remove  !NEW_INSETS cruft
16823
16824         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16825
16826         * buffer.[Ch]: remove !NEW_INSETS cruft
16827
16828         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16829
16830         * CutAndPaste.C: remove !NEW_INSETS cruft
16831
16832         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16833
16834         * BufferView2.C: remove !NEW_INSETS cruft
16835
16836         * BufferView.h: remove !NEW_INSETS cruft
16837
16838 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16839
16840         * Lsstream.h: include LString.h before the sstream headers to
16841         fix problem with gcc 2.95.3 and lyxstring
16842
16843 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16844
16845         * lyx_main.C: add using directives when needed for C functions
16846         declared in std:: namespace.
16847
16848 2001-04-27  Juergen Vigna  <jug@sad.it>
16849
16850         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16851         (SetHeightOfRow): comment out the update call should not be needed!
16852
16853 2001-04-13  Juergen Vigna  <jug@sad.it>
16854
16855         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16856         (LyXTabular): tried to minimize operator= operations (and realized
16857         hopfully Lars wish).
16858
16859 2001-04-27  Juergen Vigna  <jug@sad.it>
16860
16861         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16862
16863 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16864
16865         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16866
16867         * buffer.C (readInset): hack to make listof algorithm work
16868
16869         * BufferView_pimpl.C: hack to make listof algorithm work
16870
16871 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16872
16873         * LyXAction.C: removed all !NEW_INSETS cruft
16874         (init): moved lfun_item in method
16875
16876         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16877
16878 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16879
16880         * BufferView2.C (theLockingInset): white space.
16881
16882 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16883
16884         * minibuffer.C: include <iostream>
16885
16886         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16887
16888         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16889
16890         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16891
16892         * text.[Ch] (TransposeChars): new method
16893
16894 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16895
16896         * call message directly through LyXView instead of through LyXFunc
16897         * BufferView2.C: adjust
16898         * BufferView_pimpl.C: adjust
16899         * FontLoader.C: adjust
16900         * buffer.C: adjust
16901         * bufferview_funcs.C: adjust
16902         * converter.C: adjust
16903         * figureForm.C: adjust
16904         * importer.C: adjust
16905         * lyx_cb.C: adjust
16906         * lyx_gui_misc.C: adjust
16907         * lyxfunc.C: adjust
16908         * lyxvc.C: adjust
16909         * text2.C: adjust
16910         + more files in subdirs
16911
16912         * lyxparagraph.h (size): move up int file
16913         (GetLayout): ditto
16914
16915         * adjust all uses of Assert to lyx::Assert.
16916
16917         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16918         lyxfunctional in namespace lyx
16919         * layout.C (hasLayout): ditto
16920         (GetLayout): ditto
16921         (GetLayout): ditto
16922         (delete_layout): ditto
16923         (NumberOfClass): ditto
16924         * converter.C (GetFormat): ditto
16925         (GetNumber): ditto
16926         (Add): ditto
16927         (Delete): ditto
16928         (SetViewer): ditto
16929         * bufferlist.C (getFileNames): ditto
16930         (emergencyWriteAll): ditto
16931         (exists): ditto
16932         (getBuffer): ditto
16933         * MenuBackend.C (hasSubmenu): ditto
16934         (hasMenu): ditto
16935         (getMenu): ditto
16936         * BufferView_pimpl.C (getInsetByCode): ditto
16937
16938 2001-04-18  Juergen Vigna  <jug@sad.it>
16939
16940         * vspace.C (asLatexString): fixed the 100% problem.
16941
16942 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16943
16944         * lyxfunc.C (Dispatch):
16945         * minibuffer.C:
16946         * minibuffer.h: add a few std:: qualifiers
16947
16948 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16949
16950         * minibuffer.[Ch]: reimplement so that commands is initiated and
16951         run from lyxfunc, simplified som handling, and made the completion
16952         and history code for complete. wip.
16953
16954         * lyxfunc.C (processKeySym): call message
16955         (miniDispatch): new temporary method
16956         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16957         (LFUN_MESSAGE): implement
16958         (LFUN_MESSAGE_PUSH): implement
16959         (LFUN_MESSAGE_POP): implement
16960         (initMiniBuffer): the initial/defualt minibuffer message.
16961
16962         * lyxfont.[Ch]: inline some more getters
16963
16964         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16965
16966         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16967
16968         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16969         (AutoSave): use LFUN_MESSAGE
16970         (Reconfigure): ditto
16971
16972         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16973
16974         * figureForm.C: use LFUN_MESSAGE
16975
16976         * converter.C (runLaTeX): use LFUN_MESSAGE
16977
16978         * bufferview_funcs.C: use LFUN_MESSAGE
16979         (Melt): ditto
16980         (changeDepth): ditto
16981
16982         * bufferparams.h: use boost::
16983
16984         * bufferlist.h: inherit privately from noncopyable
16985
16986         * bufferlist.C (loadLyXFile): remove some commented code.
16987
16988         * buffer.C (runChktex): use LFUN_MESSAGE
16989
16990         * ShareContainer.h: inherit privately from noncopyable
16991
16992         * ParagraphParameters.[hC] (depth): inline it.
16993
16994         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16995         methods.
16996         (message): new method
16997         (messagePush): ditto
16998         (messagePop): ditto
16999         (show): init minibuffer
17000         (showState): direct call
17001
17002         * LaTeX.[Ch]: inherit privately from noncopyable
17003         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17004         instead of WriteStatus.
17005
17006         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17007
17008         * BufferView_pimpl.C (buffer): don't init minibuffer
17009         (workAreaButtonPress): use LFUN_MESSAGE
17010         (workAreaButtonRelease): ditto
17011         (savePosition): ditto
17012         (restorePosition): ditto
17013         (MenuInsertLyXFile): ditto
17014         (workAreaExpose): don't init minibuffer
17015         (update): remove commented code, simplify
17016
17017         * BufferView2.C (openStuff): use LFUN_MESSAGE
17018         (toggleFloat): ditto
17019         (menuUndo): ditto
17020         (menuRedo): ditto
17021         (copyEnvironment): ditto
17022         (pasteEnvironment): ditto
17023         (copy): ditto
17024         (cut): ditto
17025         (paste): ditto
17026         (gotoInset): ditto
17027         (updateInset): remove some commented code
17028
17029         * lastfiles.h: inherit privately from noncopyable
17030         * layout.h: ditto
17031         * lyx_gui.h: ditto
17032         * lyx_main.h: ditto
17033         * lyxlex.h: ditto
17034         * lyxlex_pimpl.h: ditto
17035
17036         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17037         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17038         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17039
17040         * LyXAction.h: inherit privately from noncopyable, add methods
17041         func_begin, func_end, returning iterators to the func map.
17042
17043         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17044         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17045         (func_begin): new method
17046         (func_end): new method
17047
17048         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17049         and not)
17050         (copySelection): ditto
17051         (pasteSelection): ditto
17052
17053         * BufferView.C: whitespace change
17054         * BufferView.h: inherit privately from noncopyable
17055
17056 2001-04-16  Allan Rae  <rae@lyx.org>
17057
17058         * tabular-old.C (l_getline):
17059         * spellchecker.C (sc_check_word):
17060         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17061         an unrecognised preprocessor directive.  So ensure they're wrapped.
17062
17063 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17064
17065         * src/exporter.C (Export): Give an error message when path to file
17066         contains spaces.
17067
17068 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17069
17070         * LaTeX.C (deplog): Always check that foundfile exists.
17071
17072 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17073
17074         * lyx_main.h:
17075         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17076
17077 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17078
17079         * tabular.[Ch] (getLabelList): implement new method
17080
17081         * minibuffer.h: comment ouf setTiimer
17082
17083         * minibuffer.C (ExecutingCB): constify res
17084         (peek_event): constify s
17085         (Set): constify ntext
17086         (Init): constify nicename
17087
17088         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17089
17090         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17091         (savePosition): use two params to Minibuffer::Set
17092         (restorePosition): ditto
17093
17094 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17095
17096         * lyx_main.C: include language.h
17097
17098         * Makefile.am (lyx_main.o): add language.h
17099
17100 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17101
17102         * exporter.C:
17103         * paragraph.C:
17104         * screen.C:
17105         * tabular.C:
17106         * CutAndPaste.C: include gettext.h
17107
17108         * lyxfont.h: remove old hack with ON and OFF.
17109
17110         * lyxparagraph.h:
17111         * lyxfont.h: do not include language.h...
17112
17113         * BufferView2.C:
17114         * LaTeXFeatures.C:
17115         * Painter.C:
17116         * bufferview_funcs.C:
17117         * font.C:
17118         * lyxfont.C:
17119         * text.C:
17120         * text2.C:
17121         * trans_mgr.C:
17122         * paragraph.C: ... but do it here instead
17123
17124 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17125
17126         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17127
17128         * tabular.C: small reformat
17129
17130         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17131         NEW_INSETS version
17132         (GetChar): ditto
17133         (BreakParagraph): ditto
17134         (SetOnlyLayout): ditto
17135         (SetLayout): ditto
17136
17137         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17138         with one arg less.
17139
17140         * lastfiles.C: removed most using decl, add std:: where needed
17141
17142         * buffer.C: ws changes
17143
17144         * MenuBackend.C (class compare_format): put into anon namespace
17145         (expand): constify label, names, action, action2
17146         (expand):
17147
17148         * text.C (SingleWidth): constify font
17149         (IsBoundary): constify rtl2
17150         (GetVisibleRow): constify ww
17151
17152         * LaTeX.C (deplog): constify logfile
17153
17154         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17155         start_x, end_x
17156         (workAreaExpose): constify widthChange, heightChange
17157
17158         * lyxrow.C (par): moved
17159         (height): moved
17160         (next): moved
17161         * lyxrow.h: as inlines here
17162
17163         * lyxfont.h (shape): moved from lyxfont.C
17164         (emph): moved from lyxfont.C
17165
17166         * lyxfont.C (LyXFont): use initialization list for all
17167         constructors
17168         (shape): move to lyxfont.h as inline
17169         (emph): move to lyxfont.h as inline
17170
17171
17172 2001-04-04  Juergen Vigna  <jug@sad.it>
17173
17174         * vspace.C: had to include stdio.h for use of sscanf
17175
17176 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17177
17178         * BufferView.h:
17179         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17180         independent of xforms.
17181
17182 2001-04-02  Juergen Vigna  <jug@sad.it>
17183
17184         * spellchecker.C: fixed namespace placing!
17185
17186 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17187
17188         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17189         the LyXParagraph * is 0.
17190
17191 2001-03-29  Juergen Vigna  <jug@sad.it>
17192
17193         * vspace.C: added support for %, c%, p%, l%.
17194         (stringFromUnit): added helper function.
17195         (asLatexString): changed to give right results for the %-values.
17196
17197         * buffer.C: convert the widthp in a width%.
17198
17199 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17200
17201         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17202         figureForm.[Ch].
17203
17204         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17205         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17206
17207         * lyx_cb.[Ch]: see above.
17208
17209         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17210         form1.[Ch].
17211
17212         * form1.[Ch]:
17213         * lyx.[Ch]: replaced by figure_form.[Ch].
17214
17215         * lyx_gui.C:
17216         * lyx_gui_misc.C:
17217         * lyxfunc.C: changed headers associated with above changes.
17218
17219 2001-03-27  Juergen Vigna  <jug@sad.it>
17220
17221         * BufferView_pimpl.C: set the temporary cursor right!
17222
17223 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17224
17225         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17226
17227 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17228
17229         * LString.h: removed "using std::getline"!
17230
17231         * BufferView_pimpl.C (Dispatch): changes due to changes in
17232         InsetInclude::Params.
17233
17234         * buffer.C (tag_name): removed redundant break statements as they were
17235         producing lots of warnings with my compiler.
17236
17237 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17238
17239         * LString.h: add "using std::getline" when using the real <string>.
17240
17241 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17242
17243         * buffer.C: removed bitset usage.
17244         PAR_TAG moved to an anonymous name space.
17245         (tag_name): new funtion, also in the anonymous namespace.
17246         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17247         (makeDocBookFile): clean code. Completed transition from string arrays
17248         to string vectors.
17249         (SimpleDocBookOnePar): code clean.
17250
17251 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17252
17253         * tabular.C: add some comments.
17254
17255 2001-03-22  Juergen Vigna  <jug@sad.it>
17256
17257         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17258         compatibility read a bit and fixed bug with minipage in different
17259         depth.
17260
17261 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17262
17263         * buffer.C (pop_tag): removed.
17264         (push_tag): removed.
17265         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17266         array replaced with vector. Added support for CDATA sections.
17267         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17268         at any nest level.
17269         (makeDocBookFile): XML conformant declaration of CDATA section,
17270         fixed bug related to <emphasis> in the first paragraph char.
17271         (sgmlOpenTag): exclude empty tags.
17272         (sgmlCloseTag): ditto.
17273
17274         * buffer.h (pop_tag): removed.
17275         (push_tag): removed.
17276
17277 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17278
17279         * language.h (Languages): added size_type and size().
17280
17281 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17282
17283         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17284         response on compability reading of minipages. One probliem is that
17285         the old usage of minipages was flertydig
17286
17287         * several files here and in subdirs: don't use static at file
17288         scope use anon namespaces instead.
17289
17290 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17291
17292         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17293         LaTeX output. This is necessary for Literate document
17294         processing.
17295
17296 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17297
17298         * buffer.C: insert hfill when needed.
17299
17300         * tabular.C (l_getline): use string::erase, small whitespace change.
17301
17302         * BufferView_pimpl.C: try the anon namespace.
17303         * WorkArea.C: ditto
17304
17305 2001-03-16  Juergen Vigna  <jug@sad.it>
17306
17307         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17308         otherwise it won't open options-dialogs.
17309
17310         * buffer.C: honor pextraWidth(p) on converting minipages.
17311
17312         * tabular.C (l_getline): changed the functions to strip trailing \r.
17313
17314 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17315
17316         * BufferView_pimpl.C:
17317         * minibuffer..C: added "using SigC::slot" declaration.
17318
17319 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17320
17321         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17322
17323         * text2.C: ditto
17324
17325         * text.C: ditto
17326
17327         * paragraph.C: ditto
17328
17329         * lyxtext.h: NO_PEXTRA
17330
17331         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17332
17333         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17334         * ParameterStruct.h: ditto
17335         * ParagraphParameters.h: ditto
17336         * lyxparagraph.h: ditto
17337
17338 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17339
17340         * buffer.C: add compability for minipage alignment.
17341         (latexParagraphs): remove unwanted pextra check.
17342
17343         * several files: remove CXX_WORKING_NAMESPACES
17344
17345         * buffer.C (pop_tag): tie is in namespace boost
17346
17347         * BufferView.h: noncopyable is in namespace boost
17348         * lyxlex.h: ditto
17349         * lyx_main.h: ditto
17350         * lyx_gui.h: ditto
17351         * layout.h: ditto
17352         * lastfiles.h: ditto
17353         * bufferlist.h: ditto
17354         * ShareContainer.h: ditto
17355         * LyXView.h: ditto
17356         * LyXAction.h: ditto
17357         * LaTeX.h: ditto
17358
17359 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17360
17361         * Merging changes from BRANCH_MVC back into HEAD.
17362
17363         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17364
17365 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17366
17367         * BufferView_pimpl.C: change from intl.C
17368
17369         * combox.h:
17370         * combox.C:
17371         * Makefile.am: move combox.*
17372
17373         * form1.h:
17374         * form1.C:
17375         * lyx_gui.C:
17376         * intl.h:
17377         * intl.C: remove dialog (covered by prefs)
17378
17379 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17380
17381         * lyxfunc.C (Dispatch): removed redundant break statement.
17382
17383 2001-03-14  Juergen Vigna  <jug@sad.it>
17384
17385         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17386
17387 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17388
17389         * buffer.C: add hack to fix compability reading of minipages.
17390
17391 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17392
17393         * buffer.C (getLists): Cleanup.
17394
17395 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17396
17397         * lyxfont.C (update): don't honor toggleall on font size.
17398
17399 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17400
17401         * bmtable.c:
17402         * bmtable.h:
17403         * Makefile.am: moved to frontends/xforms/
17404
17405         * lyx_gui_misc.C:
17406         * lyxfunc.C:
17407         * BufferView_pimpl.C: changes for moved mathpanel
17408
17409 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17410
17411         * gettext.h: fix gettext_init() in --disable-nls
17412
17413 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17414
17415         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17416
17417 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17418
17419         * lyx.C:
17420         * lyx.h: strip external form
17421
17422 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17423
17424         * BufferView_pimpl.C: add comment, destroySplash()
17425
17426 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17427
17428         * BufferView_pimpl.C:
17429         * LyXAction.C:
17430         * buffer.C:
17431         * commandtags.h:
17432         * lyxfunc.C: use re-worked insetinclude
17433
17434 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17435
17436         * buffer.C: add using std::stringstream.
17437
17438         * lyx_cb.C: readd using std::ios.
17439
17440         * buffer.C: add using std::map.
17441
17442         * BufferView_pimpl.C: add using std::vector.
17443
17444         * ShareContainer.h: add std:: to swap.
17445
17446         * buffer.h: add some typedefs
17447         * buffer.C (getLists): use them
17448         (getLists): renamed from getTocList.
17449         add a counter for the different float types and use it in the
17450         generated string.
17451         (getLists): use the same counter for the NEW_INSETS and the "non"
17452         NEW_INSETS
17453
17454         * lyx_cb.h: remove unused items, includes, using etc.
17455
17456         * ShareContainer.h: remove some commented code, add more comments
17457         and "documentation".
17458
17459 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17460
17461         * buffer.C (getTocList): make the list also when NEW_INSETS is
17462         defined.
17463
17464         * buffer.h: remove TocType
17465
17466         * buffer.C (getTocList): change to return a map<string,
17467         vector<TocItem> >, implement for dynamic number of list.
17468
17469         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17470         * text2.C (PasteSelection): adjust
17471         * CutAndPaste.C (pasteSelection): adjust
17472
17473         * FloatList.C (FloatList): update from the new_insets branch.
17474         * Floating.[Ch]: ditto
17475         * LaTeXFeatures.C: ditto
17476         * buffer.C: ditto
17477         * lyxlex_pimpl.C: ditto
17478
17479         * paragraph.C (Last): remove when NEW_INSETS is defined.
17480
17481         * other file: changes because of the above.
17482
17483 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17484
17485         * lyxparagraph.h: rename next to next_, previous to previous_,
17486         make them private for NEW_INSETS. Rename Next() to next(),
17487         Previous() to previous().
17488
17489         * other files: changes because of the above.
17490
17491 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17492
17493         * BufferView.h:
17494         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17495         problem.
17496
17497 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17498
17499         * main.C (main): pass lyx_localedir to gettext_init().
17500
17501         * gettext.h: remove locale_init and gettext_init macros
17502
17503         * gettext.C (locale_init): new function
17504         (gettext_init): new function
17505
17506         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17507         setlocale().
17508
17509 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17510
17511         * Moved credits to frontends:
17512         * credits.[Ch]: removed
17513         * credits_form.[Ch]: removed
17514         * lyx_gui_misc.C: remove credits stuff
17515         * Makefile.am:
17516
17517 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17518
17519         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17520
17521         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17522         unneeded destructor.
17523
17524         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17525         a standalone pointer again.
17526
17527         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17528
17529 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17530
17531         * Makefile.am:
17532         * filedlg.h:
17533         * filedlg.C:
17534         * LyXAction.C:
17535         * ToolbarDefaults.C:
17536         * bufferlist.C:
17537         * commandtags.h:
17538         * form1.C:
17539         * form1.h:
17540         * lyx_cb.C:
17541         * lyx_cb.h:
17542         * lyxfunc.h:
17543         * lyxfunc.C:
17544         * BufferView_pimpl.C: use new file dialog in GUII
17545
17546         * lyx_cb.h:
17547         * lyx_cb.C: remove LayoutsCB to Toolbar
17548
17549 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17550
17551         * ShareContainer.h (get): add std:: qualifier
17552
17553 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17554
17555         * ShareContainer.h: define a proper ShareContainer::value_type
17556         type (and use typename to please compaq cxx)
17557
17558 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17559
17560         * lyxparagraph.h: move serveral local vars to
17561         ParameterStruct/ParagraphParameters., use ShareContainer in
17562         FontTable., make vars in FontTable private and add getter and
17563         setter.
17564
17565         * paragraph.C: changes because of the above.
17566
17567         * lyxfont.h: remove copy constructor and copy assignment. (the
17568         default ones is ok), move number inside FontBits. move inlines to
17569         lyxfont.C
17570
17571         * lyxfont.C: add number to initializaton of statics, move several
17572         inlines here. constify several local vars. some whitespace
17573         cleanup. Dont hide outerscope variables.
17574
17575         * Spacing.h: add two new constructors to match the set methods.
17576
17577         * ShareContainer.h: new file, will perhaps be moved to support
17578
17579         * ParameterStruct.h: new file
17580
17581         * ParagraphParameters.h: new file
17582
17583         * ParagraphParameters.C: new file
17584
17585         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17586         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17587
17588         * BufferView_pimpl.C: ParagraphParameter changes.
17589         * buffer.C: Likewise.
17590         * bufferview_funcs.C: Likewise.
17591         * text.C: Likewise.
17592         * text2.C: Likewise.
17593
17594 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17595
17596         * lyxfind.C (LyXReplace): do not redefine default argument in
17597         implementation.
17598         (IsStringInText): ditto
17599         (SearchForward): ditto
17600         (SearchBackward): ditto
17601
17602 2001-03-06  Juergen Vigna  <jug@sad.it>
17603
17604         * lyxfind.C (IsStringInText): put parentes around expressions.
17605
17606 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17607
17608         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17609
17610 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17611
17612         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17613
17614         * stl_string_fwd.h: add comment
17615
17616         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17617
17618         * tabular.h:
17619         * tabular.C: remove unused DocBook methods
17620
17621         * intl.C:
17622         * language.C:
17623         * paragraph.C:
17624         * buffer.C:
17625         killed DO_USE_DEFAULT_LANGUAGE
17626
17627 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17628
17629         * lyx_gui.C: do not include language.h.
17630
17631         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17632         arguments in function implementation.
17633
17634 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17635
17636         * BufferView_pimpl.C: add <ctime>
17637
17638 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17639
17640         * BufferView_pimpl.C: add using std::find_if
17641
17642 2001-02-27  José Matos  <jamatos@fep.up.pt>
17643
17644         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17645         by OnlyPath.
17646
17647 2001-02-11  José Matos  <jamatos@fep.up.pt>
17648
17649         * buffer.C (makeDocBookFile): command styles now have a parameter as
17650         "title" by default.
17651
17652 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17653
17654         * layout_forms.[Ch]: removed
17655         * lyx_cb.[Ch]: out character
17656         * lyx_gui.C: out character
17657         * lyx_gui_misc.C: out character
17658         * bufferview_funcs.C: : out character,
17659         added toggleall as parameter in ToggleAndShow
17660
17661 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17662
17663         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17664
17665         * text2.C (SetCurrentFont): Disable number property at boundary.
17666
17667 2001-02-26  Juergen Vigna  <jug@sad.it>
17668
17669         * lyxfunc.C (getStatus): added a string argument override function so
17670         that this is correctly called from LyXFunc::Dispatch if it contains a
17671         do_not_use_argument which is used!
17672         (Dispatch): added check for "custom" export and call appropriate func.
17673
17674 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17675
17676         * lyxrc.C: Add language_command_local, language_use_babel and
17677         language_global_options.
17678
17679         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17680
17681         * buffer.C (makeLaTeXFile): Use language_use_babel and
17682         language_global_options.
17683
17684 2001-02-23  Juergen Vigna  <jug@sad.it>
17685
17686         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17687         which works with LyXText and putted it inside BufferView. Here now we
17688         only call for that part the BufferView::Dispatch() function.
17689
17690         * BufferView.C (Dispatch): added.
17691
17692         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17693         functions which needs to use a LyXText over from LyXFunc.
17694         (MenuInsertLyXFile): added
17695         (getInsetByCode): added
17696         (moveCursorUpdate): added
17697         (static TEXT): added
17698
17699 2001-02-22  Juergen Vigna  <jug@sad.it>
17700
17701         * BufferView_pimpl.C (update): call a status update to see if LyXText
17702         needs it.
17703
17704 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17705
17706         * vc-backend.C (revert): implement for CVS
17707         (getLog): implement for CVS
17708
17709 2001-02-20  Juergen Vigna  <jug@sad.it>
17710
17711         * text2.C (ClearSelection): added BufferView param for inset_owner call
17712
17713         * lyxfunc.C (TEXT): added this function and use it instead of
17714         directly owner->view()-text of getLyXText().
17715
17716 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17717
17718         * src/layout_forms.C: out preamble
17719         * src/layout_forms.h: out preamble
17720         * src/lyx_cb.C: out preamble
17721         * src/lyx_cb.h: out preamble
17722         * src/lyx_gui.C: out preamble
17723         * src/lyx_gui_misc.C: out preamble
17724         * src/lyxfunc.C: connect with guii preamble
17725
17726 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17727
17728         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17729
17730 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17731
17732         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17733         whether to run bibtex.
17734
17735 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17736
17737         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17738
17739 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17740
17741         * Makefile.am (lyx_SOURCES): removed bibforms.h
17742
17743         * vspace.h: doxygen
17744
17745         * text.C (GetVisibleRow): make several local vars const
17746
17747         * tabular.C: small cleanup.
17748
17749         * lyxserver.C (callback): use compare instead of strncmp
17750
17751         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17752         inlines to after class or to paragraph.C
17753
17754         * lyxfont.h: remove friend operator!=
17755
17756         * converter.h: move friend bool operator< to non friend and after
17757         class def.
17758
17759         * combox.h: small cleanup
17760
17761         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17762         to inlines after class def.
17763
17764         * buffer.C (pop_tag): use string operations instead of strcmp
17765
17766         * bmtable.c: doxygen, small cleanup
17767
17768         * LaTeX.h: remove friend operator==
17769
17770 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17771
17772         * screen.C:
17773         * lyxrc.[Ch]:
17774         * lyxfunc.C:
17775         * lyxfont.[Ch]:
17776         * lyx_cb.C:
17777         * intl.[Ch]:
17778         * commandtags.h:
17779         * buffer.C:
17780         * WorkArea.[Ch]:
17781         * LyXAction.C:
17782         * BufferView_pimpl.C:
17783         * BufferView.[Ch]: remove cruft
17784
17785 2001-02-14  Juergen Vigna  <jug@sad.it>
17786
17787         * lyxfunc.C: removed #if 0 unused code
17788
17789         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17790
17791         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17792
17793         * text2.C (SetSelection): added a BufferView * parameter
17794
17795 2001-02-13  Juergen Vigna  <jug@sad.it>
17796
17797         * lyxfunc.C (Dispatch): fixed protected blank problem.
17798         * BufferView2.C (protectedBlank): added LyxText * parameter.
17799
17800         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17801         (AppendColumn): same as above for column_info.
17802
17803         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17804         (moveCursorUpdate): use a LyXText param for support of InsetText.
17805
17806         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17807         (tripleClick): ditto
17808
17809         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17810
17811         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17812
17813         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17814
17815         * text2.C (SetSelection): set correct update status if inset_owner
17816         (ToggleFree): ditto
17817
17818 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17819
17820         * tabular.C: remove some commented code.
17821
17822 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17823
17824         * BufferView_pimpl.C: call hideSplash()
17825
17826         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17827
17828         * include_form.h:
17829         * bibforms.h: remove
17830
17831         * lyxfunc.C:
17832         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17833           add LFUN_CHILD_CREATE
17834
17835         * counters.h: fix tiny typo
17836
17837         * lyx_cb.C:
17838         * lyx.h:
17839         * lyx_gui.C:
17840         * lyx.C: move splash to frontends/xforms/
17841
17842         * lyx_gui_misc.C: move Include and Bibform to frontends
17843
17844         * lyxvc.h: clarify comment
17845
17846         * vspace.C: tiny housekeeping
17847
17848 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17849
17850         * text.C (PrepareToPrint): RTL Fix.
17851
17852         * paragraph.C (GetUChar): New method.
17853         (String):  Use GetUChar.
17854
17855         * buffer.C (asciiParagraph): Use GetUChar.
17856
17857 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17858
17859         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17860
17861 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17862
17863         * buffer.h:
17864         * buffer.C: rename to getLogName(), handle
17865           build log / latex log nicely
17866
17867 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17868
17869         * MenuBackend.C:
17870         * MenuBackend.h: remove support for reference menuitem type.
17871
17872 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17873
17874         * BufferView_pimpl.C: housekeeping
17875         * BufferView_pimpl.h:
17876         * LyXView.h:
17877         * Makefile.am:
17878         * Timeout.C:
17879         * Timeout.h:
17880         * minibuffer.h: move Timeout GUI-I
17881
17882 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17883
17884         * lyxrc.C (read): Update converters data-structures.
17885
17886 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17887
17888         * LaTeX.h (operator!=): add operator != for Aux_Info
17889
17890 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17891
17892         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17893
17894         * LaTeXLog.C: deleted, useful code moved to Buffer
17895
17896         * buffer.h:
17897         * buffer.C: new function getLatexLogName()
17898
17899         * lyx_gui_misc.C:
17900         * lyx_gui.C:
17901         * lyxvc.C:
17902         * lyxvc.h:
17903         * lyxfunc.C: use frontends for LaTeX and VC logs
17904
17905 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17906
17907         * LaTeX.h: yet another std:: that Allan forgot.
17908
17909         * Variables.C (set): renamed from isset(), because this clashes
17910         with some HP-UX macros (grr).
17911
17912 2001-02-06  Allan Rae  <rae@lyx.org>
17913
17914         * LaTeX.h: Another bug fix.  Missing std:: this time.
17915
17916 2001-02-04  Allan Rae  <rae@lyx.org>
17917
17918         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17919         floats problem. I've left it commented out because it's not quite
17920         correct.  It should also test that the current object is a table or
17921         figure inset.  But I haven't gotten around to figuring out how to do
17922         that.  I *think* it'll be something like: "table" == inset.type()
17923
17924         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17925         bool.
17926
17927 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17928
17929         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17930         all the citation/databases/styles in the auxilary file.
17931         (run): Rerun latex if there was a babel language error.
17932
17933 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17934
17935         * text.C (Backspace): Preserve the font when changing newline char
17936         with a space.
17937         (BreakParagraph): If the cursor is before a space, delete the space.
17938
17939         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17940
17941 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17942
17943         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17944         new argument (code).
17945         (ChangeCitationsIfUnique): New method.
17946
17947         * paragraph.C (GetPositionOfInset): Handle bibkey.
17948
17949 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17950
17951         * BufferView_pimpl.h: change type of Position::par_pos to
17952         LyXParagraph::size_type.
17953
17954 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17955
17956         * BufferView_pimpl.C (savePosition, restorePosition): Write
17957         messages to minibuffer.
17958
17959 2001-01-28  José Matos  <jamatos@fep.up.pt>
17960
17961         * buffer.C (makeDocBookFile): adds support for document language.
17962         A silly restriction on the name of LatexCommand types where removed.
17963         Added support for CDATA sections, allows to chars unescaped, used
17964         among others in code, to avoid escape < and >.
17965
17966 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17967
17968         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17969         saved positions instrad of a stack. Furthermore, a position is
17970         stored using paragraph id/paragraph position.
17971
17972         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17973         Remove LFUN_REF_BACK.
17974
17975 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17976
17977         * converter.C (dvipdfm_options): New method.
17978
17979 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17980
17981         * vspace.C (isValidLength): Fix for empty input string.
17982
17983 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17984
17985         * LyXAction.C (init): change description of LFUN_FIGURE to
17986         "Insert Graphics"
17987
17988 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17989
17990         * LaTeX.C: add using directive
17991
17992 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17993
17994         * MenuBackend.C (expand): Fix the sorting of the formats.
17995
17996 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17997
17998         * lyx_main.C: tiny error message fix
17999
18000 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18001
18002         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18003         calling fl_initialize(). This fixes the problem with ',' as
18004         decimal separator in text files.
18005
18006 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18007
18008         * trans.C (process): Fix the keymap bug.
18009
18010 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18011
18012         * LaTeX.C (scanAuxFiles): New method. Provides support for
18013         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18014         (scanLogFile) Scan for "run BibTeX" messages.
18015
18016         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18017         OT1 font encoding. Also, load the aecompl package if the ae
18018         package is loaded.
18019
18020         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18021
18022 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18023
18024         * texrow.C (increasePos): turn two error messages into debug
18025         messages.
18026
18027 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18028
18029         * LaTeX.C (scanAux): Handle the \@input macro.
18030         (runBibTeX): Use scanAux().
18031
18032         * language.C (latex_options_): New field.
18033
18034         * LaTeXFeatures.C (getMacros): Add language macros.
18035
18036         * buffer.C (makeLaTeXFile): Small fix.
18037
18038 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18039
18040         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18041
18042         * text2.C: add a using directive.
18043
18044 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18045
18046         * BufferView2.C:
18047         * lyx_gui_misc.h:
18048         * lyxfr1.C:
18049         * lyxfunc.C: kill LyXBell.
18050
18051 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18052
18053         * text.C (IsBoundary): Remove the error message
18054
18055         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18056
18057         * lyxrc.C (setDefaults): Correct initialization value for
18058         font_norm_type.
18059
18060 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18061
18062         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18063         gotoError().
18064
18065         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18066         and GotoNextNote().
18067
18068         * src/LyXAction.C: Added reference-next.
18069
18070         * text.C (InsertChar): Use contains instead of strchr.
18071
18072         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18073
18074 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18075
18076         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18077         alignment commands (when needed).
18078
18079         * text.C (InsertChar): Add ':' to number separator chars.