]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
1af4e0eb3ed925301bbc2ec5d02a9fda23ffc77a
[lyx.git] / src / ChangeLog
1 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
2
3         bug 1920
4         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
5         pars in one go.
6
7 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
8
9         * messages.C: supress some lyxerr messages
10
11 2005-07-18  Juergen Vigna  <jug@lyx.org>
12
13         * text.C (drawSelection): honor boundary when asking for cursorX.
14
15 2005-07-17  José Matos  <jamatos@fc.up.pt>
16
17         * tabular.C (recalculateMulticolumns): fix handling of one column
18         tables.
19
20 2005-07-17  Juergen Vigna  <jug@lyx.org>
21
22         * text.C (Delete, backspace): fixed so that paragraph with the
23         same layout can be merged by Delete/Backspace.
24
25 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
26
27         * text.C (readParToken): fix spelling.
28
29 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
30
31         * text2.C: fix counter update for DEPM problem reported by
32         Georg Baum
33
34 2005-07-17  Juergen Vigna  <jug@lyx.org>
35
36         * BufferView_pimpl.C (setBuffer): save/restore the
37         cursor/selection when switching buffers
38
39         * buffer.h: 
40         * buffer.C (saveCursor): add saveDocumentIterators to save the
41         cursor when switching buffer.
42
43 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
44
45         * debug.C: fix typo
46         * buffer.C: clarify message
47         
48 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
49
50         * dociterator.C (DocIterator): fix initialization order
51
52 2005-07-17  Juergen Vigna  <jug@lyx.org>
53
54         * text2.C (cursorHome): 
55         * text.C (drawSelection, cursorX): 
56         * dociterator.C (textRow): add boundary to getRow() call
57
58         * paragraph.C (getRow): implementation of below
59
60         * paragraph.h: add parameter boundary for getRow() function
61
62 2005-07-17  José Matos  <jamatos@fc.up.pt>
63
64         * buffer.C:
65         * bufferparams.[Ch]:
66         * tex-strings.[Ch]: new file format, remove support for a4.sty,
67         a4wide.sty and a4widemargins.
68
69 2005-07-17  Juergen Vigna  <jug@lyx.org>
70
71         * text2.C (cursorLeft): fix one of error
72
73 2005-07-17  Juergen Vigna  <jug@lyx.org>
74
75         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
76                    cursorEnd):
77         more fixes for boundary handling
78
79         * text3.C (dispatch): don't reset cursor if boundary has changed
80         on cursor movement.
81
82 2005-07-16  Juergen Vigna  <jug@lyx.org>
83
84         * text2.C (getColumnNearX): hopefully got it right now,
85         check if we are on column 0 for special case.
86
87 2005-07-16  Juergen Vigna  <jug@lyx.org>
88
89         * text2.C (getColumnNearX): handle special case Newline Inset
90
91         * text.C (singleWidth): Just remove bogus check
92
93 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
94
95         * funcrequest.C (split): avoid reading uninitialized char c
96
97 2005-07-16  José Matos  <jamatos@fc.up.pt>
98
99         * buffer.C:
100         * converter.C:
101         * lyxrc.C:
102         * paper.h:
103         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
104         single papersize variable.
105
106 2005-07-16  Juergen Vigna  <jug@lyx.org>
107
108         * text3.C (dispatch): honor boundary when checking if a cursor
109         movement has been done
110
111         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
112         (setCursor, setCursorIntern): fix cursor movement with boundary
113
114 2005-07-16  Juergen Vigna  <jug@lyx.org>
115
116         * text.C (currentState): output the actual Boundary
117
118 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
119
120         * factory.C (createInset): fix bad logic for tabular creation
121
122 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
123
124         * lyx_main.C (init): change some reLyX reference to tex2lyx
125
126 2005-07-16  Juergen Vigna  <jug@lyx.org>
127
128         * dociterator.C (DocIterator): initialize boundary
129
130 2005-07-16  Juergen Vigna  <jug@lyx.org>
131
132         * text2.C (getColumnNearX): Consider rows without trailing blank.  
133
134 2005-07-16  André Pönitz  <poenitz@gmx.net>
135
136         * lyxfont.h: Change order of declarations to give the compiler
137         a better chance to inline things
138
139         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
140         questions on unsaved docs for better scritability
141
142 2005-07-16  André Pönitz  <poenitz@gmx.net>
143
144         * paragraph.h (getChar): remove asserts as the same kind of security
145         can be achieved by using a suitable standard library implementation
146         and the function was in the critical path (25.9% in profiler)
147
148 2005-07-16  Juergen Vigna  <jug@lyx.org>
149
150         * cursor.C (bruteFind2):
151         * bufferview_funcs.C (coordOffset): 
152         * text.C (cursorX,cursorY): Handle cursor position after last char
153         in row before a inset which uses a whole row.
154
155 2005-07-15  José Matos <jamatos@lyx.org>
156
157         * output_plaintext.[Ch] (writeFileAscii): control reference title
158         printing.
159         (asciiParagraph): noparbreak was already deal and was incorrectly
160         used.
161
162 2005-07-15  Juergen Vigna <jug@lyx.org>
163
164         * lyxfunc.C (dispatch): save and restore the cursor after a
165         textclass switch.
166
167 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
168
169         * text.C (backspace): bug 806 for empty keepempty paragraphs we
170         change the layout to default before letting DEPM do its thing.
171
172         * paragraph_funcs.C (breakParagraph): dont reset the layout on
173         keepEmpty paragraphs
174
175         * text.C (setCursorFromCoordinates): add a debug statement
176
177         * text2.C (getColumnNearX): bug 1825 make sure that we don't
178         return a pos that is not on the row
179
180         * output_latex.C (TeXDeeper): get rid of potential dereferencing
181         of past the end iterator
182
183 2005-07-14  André Pönitz  <poenitz@gmx.net>
184
185         * undo.C (recordUndoFullBuffer): implement undo for
186         textclass switches
187
188 2005-07-14  André Pönitz  <poenitz@gmx.net>
189
190         * cursor.C (setSelection): open insets when selection is set there
191         to avoid crashs with cold coord cache
192
193 2005-07-14  André Pönitz  <poenitz@gmx.net>
194
195         * trans_mgr.C (insert): move cursor to the right after inserting
196         a char.
197
198 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
199
200         * BufferView_pimpl.C (update): dampen some of the debug blabbering
201         * factory.C (readInset): ditto
202         * text.C, text2.C: ditto
203
204 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
205
206         * buffer.C: format incremented to 242. There is no file format per
207         se, but the "frenchb" language has been removed from lib/language
208         and has to be translated to "french" by lyx2lyx.
209
210 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
211
212         * cursor_slice.h, dociterator.h: add some documentation
213         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
214
215 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
216
217         * text.C (leftMargin): do not add identation to display() style
218         insets, because they are always centered (bug 1293).
219
220 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
221
222         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
223         formatted_time methods in support/lyxtime.
224
225 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
226
227         * toc.[Ch]: new method getGuiName, which is used by the frontends 
228         to set the toc combo (fixes bug 1870). Make TOC string translatable.
229
230 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
231
232         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
233         StableDocIterator const &)
234         * undo.C (recordUndo): use the above instead of cell.size() comparison
235         (fixes bug 1808; instructed by André).
236
237 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
238
239         * cursor_slice.h: 
240         * dociterator.h: Fix the assert when copying rows/cols in math
241
242 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
243
244         * BufferView_pimpl.C:
245         * LyXAction.C:
246         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
247
248         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
249         (findInset): new functions, refactored from goto Inset that return 
250         the position of a certain inset without setting the buffer's cursor
251         (by Jean-Marc); 
252         (gotoInset): rewrite to call findInset and then set the cursor
253         (by Jean-Marc).
254
255 2005-06-16  Angus Leeming  <leeming@lyx.org>
256
257         * lyxrc.C (output, read): wrap all input and output of paths with
258         calls to os::internal_path and os::external_path, respectively.
259         (output): wrap bind_file inside quotes.
260
261         * format.C (view): enable the viewer to use the '$$s' placeholder.
262
263 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
264
265         * LColor.[Ch] (getFromLaTeXName): new
266
267 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
268
269         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
270
271 2005-06-14  Angus Leeming  <leeming@lyx.org>
272
273         * lyx_main.C (init): ensure that the LyX binary dir is the first
274         element in the PATH on non-POSIX builds.
275
276 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
277
278         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
279
280 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
281
282         * rowpainter.C (paintInset, paintHebrewComposeChar)
283         (paintArabicComposeChar, paintChars): add a LyXFont argument.
284         (paintChars): use getFontSpan to reduce calls to getFont to a
285         minimum; use Paragraph::lookupChange instead of isXXXText.
286         (paintForeignMark): rename LyXFont argument.
287         (paintFromPos): pass a LyXFont object to the various paintXXX
288         methods.
289
290         * FontIterator.C (FontIterator, operator++): use
291         Paragraph::getFontSpan
292
293         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
294         version that returns the font span as a pair.
295
296 2005-06-09  Angus Leeming  <leeming@lyx.org>
297
298         * converter.C (convert): Don't forget "outfile = real_outfile" as
299         the final step in a conversion where the input and output file names
300         are the same. Otherwise, future conversion steps won't work...
301
302 2005-06-09  Angus Leeming  <leeming@lyx.org>
303
304         * lyxsocket.C: remove stub code as it isn't needed by
305         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
306
307 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
308
309         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
310         effectively disabled -x
311
312 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
313
314         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
315         when it actually makes sense.
316
317 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
318
319         * BufferView_pimpl.C: revert to showCursor in connection with
320         Lars's front-end stack
321
322 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
323
324         * text.C (redoParagraph): move cursor right after a bibitem
325         has been inserted.
326
327         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
328
329 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
330
331         * buffer_funcs.C (bufferErrors): fix computation of the end of an
332         error range.
333
334 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
335
336         * BufferView.[Ch] (update):
337         * BufferView_pimpl.[Ch] (update, metrics):
338         * dimension.h (operator==):
339         * lyxfunc.C (dispatch):
340         * metricsinfo.h (ViewMetricsInfo):
341         * rowpainter.C (paintText):
342         * lyxtext.h:
343         * text.C (redoParagraph):
344         * text3.C (dispatch): Make LyX only repaint current paragraph in
345         case of character insert --> speedup. Also fix cursor draw
346         artifacts
347
348 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
349
350         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
351         avoid a crash (bug 1891)
352
353 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
354
355         Fix bug 1892:
356
357         * text2.C (getStringToIndex): constify cur argument.
358
359         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
360         argument has been given
361         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
362         try to invoke LFUN_INSET_APPLY).
363
364         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
365         if no inset was created by doInsertInset
366         (doInsertInset): return true if an inset has been inserted.
367
368 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
369
370         * vspace.C (asGUIName): new method. A version of the space
371         suitable for showing on screen.
372
373 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
374
375         * MenuBackend.C:
376         * lyxrc.C: rename "ASCII" to "Plain Text"
377
378 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
379
380         * buffer_funcs.C (expandLabel): take a Buffer as argument;
381         translate the labelstring.
382         (setCounter): translate labelstring as needed.
383
384         * output_docbook.C (makeCommand): fix expandLabel invokation
385
386 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
387
388         * BufferView.C: fix dialog title
389
390 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
391
392         * lyx_main.C (priv_exec): fix logic error with help from Angus
393         * lyx_main.C (parse_execute): set is_gui = false and remove now
394         obsolete comment about a segfault
395
396 2005-05-18  Angus Leeming  <leeming@lyx.org>
397
398         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
399
400 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
401
402         * tabular.[hC]: added setCellInset to fix tabular paste.
403
404 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
405
406         * buffer.C (save): check if destination is writable before trying
407         to copy a file
408
409 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
410
411         * BufferView_pimpl.C (update): fix processEvents -caused update
412         recursion bug
413
414 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
415
416         * buffer_funcs.C (setCounter): fix test for numbering of
417         environments.
418
419         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
420         depth correctly; use optional argument when it exists
421
422         * lyxtextclass.C: remove unused MaxCounterTags enum
423         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
424         (max_toclevel, min_toclevel): new methods.
425
426         * MenuBackend.C (expandToc2): fix case where depth is smaller than
427         the smallest depth in toc.
428
429         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
430         layouts that should not appear in a table of contents.
431
432 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
433
434         * cursor.h (undispatched, noUpdate): add comments from André
435
436 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
437
438         * lfuns.h:
439         * LyXAction.C:
440         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
441
442 2005-05-07  André Pönitz  <poenitz@gmx.net>
443
444         * cursor.[Ch] (leaveInset): new function
445
446 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
447
448         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
449
450 2005-05-04  Angus Leeming  <leeming@lyx.org>
451
452         * lyxfunc.C (getStatus): disable the spell checker dialog if
453         none of USE_[AIP]SPELL are defined.
454
455 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
456
457         * tabular.C (setWidthOfCell): remove obsolete comment
458
459 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
460
461         * paragraph.C (bibitem):
462         * buffer_funcs.C (setCounter):
463         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
464
465 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
466
467         * text3.C (getStatus): immediately return after setOnOff
468
469         * rowpainter.C: fix drawing of appendix start
470
471 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
472
473         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
474         SwitchBetweenClasses and remove the unused return value.
475         Handle character styles, too
476
477 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
478
479         * factory.C (createInset): handle undefined character styles
480
481 2005-05-02  Angus Leeming  <leeming@lyx.org>
482
483         * buffer.C: protect the #include of utime.h with a preprocessor
484         guard.
485
486 2005-05-02  Angus Leeming  <leeming@lyx.org>
487
488         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
489         function so that auto-saving works, albeit in a blocking manner.
490
491         * Makefile.am: make compilation of the client sub directory, of
492         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
493         on conditionals set at configure time.
494
495         * SpellBase.[Ch]: no longer an abstract base class. Instead,
496         it can be compiled in its own right but has no-op functionality.
497
498         * aspell.C, pspell.C: remove preprocessor guards. The files should
499         be compiled only if the necessary functionality exists.
500
501         * lyxserver.C, lyxsocket.C: disable on Windows.
502
503 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
504
505         * text.C (leftMargin): Fix the parindent use bug (1764)
506         by dirty trick
507
508 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
509
510         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
511         argument.
512
513 2005-04-25  Angus Leeming  <leeming@lyx.org>
514
515         * Bidi.[Ch]:
516         * coordcache.[Ch]:
517         * ispell.C:
518         * lyxserver.C:
519         * mover.C:
520         * pch.h:
521         include <config.h> in .C files, not .h ones.
522         add licence blurb.
523         protect headers inside preprocessor guards.
524
525 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
526
527         * FuncStatus.h (StatusCodes): document
528
529 2005-04-21  André Pönitz  <poenitz@gmx.net>
530
531         * FuncStatus.h (enabled, onoff): document
532
533 2005-04-19  Angus Leeming  <leeming@lyx.org>
534
535         * BufferView_pimpl.C (cursorToggle): no longer test whether
536         any child processes have been reaped before calling
537         handleCompletedProcesses().
538
539 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
540
541         * text3.C (dispatch): fix, finally fix, the language problem in
542         new lyxtexts, without disabling on-the-fly font changes (Helge's
543         bug report)
544
545 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
546
547         * text3.C (dispatch): set cursor on double/triple click events
548         (bug 1811)
549
550 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
551
552         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
553         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
554
555         * rowpainter.C (paintFirst): simplify the code a little bit. In
556         particular, remove the test for secnumdepth.
557         * text.C (setHeightOfRow): only allocate space for chapter number
558         when updateCounters provided an actual label, instead of looking
559         at secnumdepth directly.
560
561         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
562
563         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
564         paragraphs when secnumdepth is large enough or, for environments,
565         when they are not the first in a sequence.
566
567 2005-04-17  Angus Leeming  <leeming@lyx.org>
568
569         * buffer.C (makeLaTeXFile): replace code to manipulate a path
570         containing space and '~' characters with a call to latex_path().
571
572 2005-04-17  Angus Leeming  <leeming@lyx.org>
573
574         * converter.C (convert): protect all args of convertDefault.sh
575         script with quotes.
576
577 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
578
579         * text3.C (dispatch): change the layout to "Caption" after inserting
580         a float.
581
582 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
583
584         * text3.C (dispatch): fix language problem in newly created
585         textinsets (and main text) in non-english docs
586
587 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
588
589         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
590         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
591         * text3.C (getStatus): disable LFUN_INSET_MODIFY
592
593 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
594
595         * lyxtext.h:
596         * text.C (metrics):
597         * text2.C (getFont):
598         * rowpainter.C (getFont): Fix metrics bug introduced by inset
599         fonts fix
600
601 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
602
603         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
604         output of \item arguments without trailing text.
605
606 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
607
608         * FontIterator.C (operator*): avoid a copy of the font.
609
610 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
611
612         * rowpainter.C (getFont): fix language bug from previous fix
613
614 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
615
616         * rowpainter.C (RowPainter, getFont): fix font inside inset
617         (bugs 1766, 1809)
618
619 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
620
621         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
622         preventing inserted font, deco, delim insets jumping to start of
623         surrounding inset.
624
625 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
626
627         * lyxfunc.C (dispatch): translate message before sending it to the
628         minibuffer.
629
630 2005-03-29  Angus Leeming  <leeming@lyx.org>
631
632         * lyx_main.C (priv_exec): call os::internal_path on each file passed
633         to LyX on the command line.
634
635 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
636
637         * vc-backend.C: use QuoteName to protect file names wherever
638         necessary.
639
640 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
641
642         * buffer.[Ch]:
643         * BranchList.h: fix bugs 1844,1845: document settings don't
644         stick
645
646 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
647
648         * lyxrc.C (setDefaults, read, output, getDescription): add support
649         for tex_allows_spaces.
650
651         * exporter.C (Export): allows files in directory containing spaces
652         if tex_allows_spaces is true.
653
654         * buffer.C (makeLaTeXFile): if the document path contains spaces,
655         output it in double quotes.
656
657 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
658
659         * rowpainter.C: use default text height for drawing change tracker
660         strikeout lines.
661
662 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
663
664         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
665
666 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
667
668         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
669         directory is missing.
670
671 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
672
673         * text2.C: fixed the fix, extended to other case.
674
675 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
676
677         * text2.C: fix for cursor up/down stuck in math [bug 1792]
678
679 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
680
681         * text2.C (cursorUp): get rid of a crash
682         * text.C (x2pos): add an assert
683
684 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
685
686         * lyxfunc.C (getStatus): fix warning when assertions are disabled
687
688         * text3.C:
689         * lyxfunc.C:
690         * dociterator.C: include <boost/current_function.hpp>, which is
691         needed when assertions are disabled.
692
693 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
694
695         * text2.C: fix for stuck cursor when traversing two
696         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
697
698 2005-02-25  Andreas Vox  <avox@arcor.de>
699
700         * output_docbook.C (makeParagraph): suppress trailing newline
701         after a run of paragraphs
702
703 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
704
705         * paragraph.C: fix for confused change tracker when pasting
706         text that begins with a lineseparator. [bug 1827]
707         (setChange(0, Change::INSERTED);)
708
709         * paragraph_funcs.C: fix for lost changes on triple-paste
710         in change tracking mode [bug 1827] (par.setChange()).
711
712 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
713
714         * text2.C (updateCounters, setCounter, expandLabel): move to
715         buffer_funcs.
716
717         * buffer_funcs.C (updateCounters): turn into a free standing
718         function and add a buffer parameter. Remove dead code for tracking
719         labelstring change.
720         (setCounter): change into a free-standing function which gets a
721         dociterator as argument. Use this iterator to fix captions in a
722         simple way. When no float is found above the caption, use the
723         labelstring of the caption layout as default.
724
725         * text.C (breakParagraph, backspace):
726         * text2.C (init, setLayout, changeDepth):
727         * text3.C (dispatch):
728         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
729         updateCounters.
730
731         * dociterator.C (forwardPar): make it much faster by calling
732         forwardPos() only when really necessary.
733
734         * output_docbook.C (makeCommand): adapt to expandLabel move.
735
736         * cursor.C: remove unused variable
737
738 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
739
740         * paragraph_funcs.C: fix crash when pasting insets in change
741         tracking mode [bug 1277] (honour change type in moveItem).
742
743 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
744
745         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
746
747 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
748
749         * BufferView.C (setCursor): change to use a DocIterator.
750         (gotoLabel): use BufferView::setCursor (other part of bug 781).
751         (putSelectionAt): adapt to BufferView::setCursor change.
752
753         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
754         moved here from LyXText and rewritten to use proper cursor
755         methods. Fixes bug 1787, 616 and 835.
756
757         * BufferView_pimpl.C (restorePosition): set the cursor correctly
758         when inside an inset (part of bug 781).
759         (dispatch): adapt to change of BufferView::setCursor.
760         (getStatus, dispatch): handle LFUN_GOTOERROR,
761         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
762
763         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
764         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
765         * text3.C (gotoNextInset, gotoInset): removed.
766
767 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
768
769         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
770
771 2005-02-15  Angus Leeming  <leeming@lyx.org>
772
773         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
774         can be used meaningfully in a comparison.
775
776 2005-02-13  André Pönitz  <poenitz@gmx.net>
777
778         * bufferview_funcs.C (coordOffset): improve cursor drawing
779
780 2005-02-13  André Pönitz  <poenitz@gmx.net>
781
782         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
783         * Cursor.C (dispatch): use fixIfBroken
784         * lyxfunc.C (getStatus): use fixIfBroken
785
786 2005-02-15  Angus Leeming  <leeming@lyx.org>
787
788         * lyx_main.C (error_handler):
789         * lyxfunc.C:
790         * lyxrc.C (setDefaults):
791         s/GetEnv/getEnv/.
792         #include "environment.h".
793
794         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
795
796 2005-02-15  Angus Leeming  <leeming@lyx.org>
797
798         * lyxserver.C (startPipe): squash MSVC warning "local variable
799         'fd' used without having been initialized".
800
801 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
802
803         * BufferView_pimpl.C: revert accidental commit.
804
805 2005-02-14  André Pönitz  <poenitz@gmx.net>
806
807         * dociterator.[Ch]: new member forwardPosNoDescent(),
808         which doesn't enter nested insets.
809         * text2.C (setFont): use forwardPosNoDescent() instead
810         of ForwardPos() (fixes crash on font change).
811
812 2005-02-13  Angus Leeming  <leeming@lyx.org>
813
814         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
815         only if lyxrc.path_prefix is not empty.
816
817 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
818
819         * bufferparams.C (readGraphicsDriver): prevent crash
820
821 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
822
823         * text2.C (setCounter): check for inInset() == 0
824
825 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
826
827         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
828         but use update() to get correct screen display; use convert
829         instead of istringstream.
830         (getStatus): handle LFUN_GOTO_PARAGRAPH
831
832         * lyxfunc.C (dispatch, getStatus): do not handle
833         LFUN_GOTO_PARAGRAPH here.
834
835 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
836
837         * text3.C (dispatch): size() -> depth()
838
839         * text2.C: remove some debug output
840
841         * paragraph.C: ws changes only
842
843         * lyxfunc.C (getStatus): size() -> depth()
844
845         * dociterator.h (clear, push_back, pop_back, internalData,
846         operator[], resize, empty): new functions
847         Make StableDocIterator and operator== be friends. Don't inherit
848         from std::vector use a privat class variable slices_ instead.
849         Modify to fit.
850
851         * dociterator.C: update because of not inheriting from std::vector
852         anymore. Call explictly to slices_ instead. Use depth() instead of
853         size() and top() instead of back()
854
855         * cursor.C: chagne size() -> depth and back() -> top(). Also
856         remove some direct operator[](i) calls in favour of foo[i]
857         (getFont): remove some dead code
858
859         * bufferview_funcs.C (coordOffset): size() -> depth()
860
861         * buffer.C: ws changes only
862
863         * CutAndPaste.C (eraseSelection): back() -> top()
864
865         * BufferView_pimpl.C (selectionRequested): back() -> top()
866
867         * BufferView.C (setCursor): size() -> depth()
868
869 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
870
871         * text3.C (cursorPrevious): return true if depm changed something
872         (cursorNext): ditto
873         (dispatch): rename sl to oldTopSlice, remove moving use the new
874         NoUpdate func attrib instead. Make sure that needsUpdate is set
875         for function that have NoUpdate, but where depm might have changed
876         the buffer anyway.
877
878         * text2.C (cursorLeft): make us return true if depm changed
879         something
880         (cursorRight): ditto
881         (cursorUpParagraph): ditto
882         (curosrDownParagraph): ditto
883         (cursorUp, cursorDown): ditto, make sure to read comments in code
884         (deleteEmptyParagraphMechanism): remove an assert, also return
885         true if just a single char was deleted.
886
887         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
888         cursor that we modify, to avoid modifying an active cursor before
889         we call setCursor. This allows depm to run. Also return true if
890         depm deleted something.
891
892         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
893         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
894         cursorDownParagraph, cursorPrevious and cursorNext, return true if
895         something was changed in the buffer because of them (ie. depm run)
896
897         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
898         debug messages. Make update by default be false. Make sure that
899         the result of update is retained throught several calls down to
900         dispatch.
901
902         * LyXAction.h: add a new func_attrib: NoUpdate
903
904         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
905         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
906         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
907         and LFUN_WORDLEFT
908         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
909
910 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
911
912         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
913         bv_->owner(), bv_->buffer() by direct references to the private
914         members.
915         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
916         (getStatus): isSavedPosition() is in BufferView::Pimpl.
917         (fitCursor): center() is in BufferView::Pimpl.
918         (getStatus, trackChanges, dispatch): no need for a temporary buf
919         variable
920         (fitCursor, workAreaDispatch): use workarea().workheight()
921
922 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
923
924         * CutAndPaste.C (pasteSelectionHelper): fix a crash
925
926 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
927
928         * buffer.C: format up to 241.
929         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
930         break if pasting into ERT
931         * lyxfunc.C (getStatus): suppress mathpanel and
932         LFUN_DIALOG_SHOW_NEW_INSET in ERT
933
934 2005-02-01  Angus Leeming  <leeming@lyx.org>
935
936         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
937
938 2005-02-01  Angus Leeming  <leeming@lyx.org>
939
940         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
941         calling fs::is_directory().
942
943 2005-01-31  Angus Leeming  <leeming@lyx.org>
944
945         * lyx_main.C (priv_exec): specify explicitly the relative location
946         of the top level build directory when run in-place.
947
948 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
949
950         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
951         LyXText containing the cursor, not the top-level one.
952
953         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
954         true.
955         (insertStringAsLines): rename par to pit; use temporary variable
956         par to hold a Paragraph; do not store par.layout() in a variable,
957         since the pointer may die when breaking paragraphs; pass pars to
958         breakParagraph() instead of Buffer::paragraphs().
959
960 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
961
962         * lyxlex_pimpl.h: #include <fstream>.
963
964         * BufferView.[Ch] (getLyXText): add a const version.
965
966         * BufferView_pimpl.C: add debug aids.
967
968         * RowList_fwd.h:
969         * buffer.h:
970         * lyxrow.h:
971         * paragraph_funcs.h: add commentary explaining what the class does.
972
973
974         * coordcache.[Ch]: add lots of commentary.
975         (startUpdating, doneUpdating): debug aids.
976         (arrays, insets, parPos, getParPos): accessors to private data.
977
978         * cursor_slice.[Ch] (text): add a const version.
979         * dociterator.[Ch] (text, innerText): add const versions.
980
981         * lyxtext.h (breakParagraph): change the keep_layout arg to a
982         bool.
983
984         * paragraph.C (getRow, pos2ros): add asserts.
985
986         * paragraph.h: add commentary. Lots of.
987
988         * paragraph.[Ch] (metrucs, draw): removed.
989
990         * cursor.C:
991         * rowpainter.[Ch]: const-correct changes.
992
993         * text.C: various obvious clean-ups. Removal of ancient cruft.
994         Bug fixes, even.
995
996 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
997
998         * vc-backend.C (find_file): rewrite to use boost.filesystem
999         (scanMaster): ditto
1000
1001         * main.C (main): set default name check for boost.filesystem to
1002         no check
1003
1004         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1005         (open): ditto
1006         (doImport): ditto
1007         (actOnUpdatedPrefs): ditto
1008
1009         * lyx_main.C (init): rewrite to use boost.filesystem
1010         (queryUserLyXDir): ditto
1011
1012         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1013         (getContentsOfAsciiFile): ditto
1014
1015         * lastfiles.C (readFile): rewrite to use boost.filesystem
1016
1017         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1018
1019         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1020         (loadLyXFile): ditto
1021
1022         * buffer.C (Buffer): adjust for destroydir
1023         (getLogName): rewrite to use boost.filesystem
1024         (setFileName): ditto
1025         (save): use fs::copy_file (from fs_extras)
1026
1027         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1028
1029         * LaTeX.C (run): rewrite to use boost.filesystem
1030         (scanAuxFiles): ditto
1031         (handleFoundFile): ditto
1032
1033 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1034
1035         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1036
1037         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1038
1039 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1040
1041         * lyxlayout.[Ch]: change some vars from float to double
1042
1043         * buffer.C (readFile): make a local var const
1044
1045         * Several files: use convert<> instead of atoi,strToXXX and friends
1046
1047 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1048
1049         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1050         holds the contents of packages.lst. New functions getAvailable
1051         and isAvailable to parse and check that list, resp.
1052
1053         * LyXAction.C:
1054         * lfuns.h:
1055         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1056
1057         * bufferparams.[Ch]: new param output_changes.
1058
1059         * Buffer.C: increase file format to 240.
1060         Use output_changes and isVailable.
1061
1062         * changes.[Ch]:
1063         * paragraph.C:
1064         * paragraph_pimpl.C: Use output_changes and isVailable.
1065
1066 2005-01-23  Angus Leeming  <leeming@lyx.org>
1067
1068         * output_latex.C: #include "insetbibitem.h", rather than
1069         forward declare function bibitemWidest.
1070
1071 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1072
1073         * lyx_main.C (init): make it compile on the Mac.
1074
1075 2005-01-20  Angus Leeming  <leeming@lyx.org>
1076
1077         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1078         (setLyXMisc): (char string literal) != (char string literal) is
1079         performing a comparison on the addresses. Convert one operand
1080         explicitly to string to guarantee expected behaviour.
1081         From MSVC warning.
1082
1083 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1084
1085         * buffer.C:
1086         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1087
1088         * output_plaintext.C: remove unneeded #include gzstream.h.
1089
1090 2005-01-20  Angus Leeming  <leeming@lyx.org>
1091
1092         * SpellBase.h: rename some of the elements of the Result enum.
1093
1094         * aspell_local.h:
1095         * ispell.h:
1096         * pspell.h:
1097         * aspell.C (check):
1098         * ispell.C (check):
1099         * pspell.C (check): ditto
1100
1101 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1102
1103         * buffer.C: add #include <fstream>.
1104
1105         * lyx_main.C (init): Compile fix.
1106
1107         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1108
1109 2005-01-20  Angus Leeming  <leeming@lyx.org>
1110
1111         * mover.h: change commentary to reflect the changed meaning of
1112         the $$s placeholder.
1113
1114 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1115
1116         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1117
1118         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1119
1120 2005-01-20  Angus Leeming  <leeming@lyx.org>
1121
1122         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1123         printing diagnostic data by not dereferecing an iterator past the
1124         end.
1125
1126 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1127
1128         * buffer.C (readHeader): use "&&" rather than "and".
1129
1130         * lyxserver.h (inPipeName, outPipeName): make these const.
1131
1132 2005-01-19  Angus Leeming  <leeming@lyx.org>
1133
1134         * lyx_main.C (error_handler, init): protect SIGHUP with
1135         #ifdef SIGHUP guards.
1136
1137 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1138
1139         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1140
1141 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1142
1143         * text.C (setHeightOfRow): add a margin at the top and bottom of
1144         the document (bug 1761)
1145
1146 2005-01-17  Angus Leeming  <leeming@lyx.org>
1147
1148         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1149         with "python ". Workaround for a brain-dead Windows.
1150
1151 2005-01-16  Angus Leeming  <leeming@lyx.org>
1152
1153         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1154         for MacOSX and Windows to use prependEnvPath.
1155         Strip out the hard-coded block to add elements to the PATH for
1156         MacOSX and replace it with a call to prependEnvPath using the
1157         contents of LyXRC::path_prefix.
1158         (queryUserLyXDir): strip out the code to run reconfigure, instead
1159         returning a boolean indicating the necessity to do so.
1160         (reconfigureUserLyXDir): contains the code to reconfigure the
1161         user support directory. Is now called after the various LyXRC data
1162         files have been read.
1163
1164         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1165
1166 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1167
1168         * converter.[Ch] (convert): take a new parameter try_default. Use
1169         a default converter (imagemagick) if try_default is true.
1170
1171 2005-01-13  Angus Leeming  <leeming@lyx.org>
1172
1173         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1174         os::cygwin_path_fix.
1175         (write): output LyXRC::cygwin_path_fix as necessary.
1176
1177 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1178
1179         * lyxrc.h:
1180         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1181
1182 2005-01-12  Angus Leeming  <leeming@lyx.org>
1183
1184         * lyx_main.C (init): set the PATH variable to include the
1185         directory containing the LyX binary when running on Mac or Windows.
1186
1187 2005-01-12  Angus Leeming  <leeming@lyx.org>
1188
1189         * lyx_main.C (init): remove cruft that purports to set the locale
1190         dir. It doesn't and is not needed anyway.
1191
1192 2005-01-10  Angus Leeming  <leeming@lyx.org>
1193
1194         * Makefile.am: remove the lyx_main.C special casing.
1195
1196         * BufferView_pimpl.C:
1197         * bufferlist.C:
1198         * exporter.C:
1199         * lyx_cb.C:
1200         * lyx_main.C:
1201         * lyxfunc.C:
1202         * messages.C: use support/package.h to provide the paths to the
1203         various directories used by LyX.
1204
1205 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1206
1207         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1208         layout if pasting into an empty paragraph)
1209
1210 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1211
1212         * tex-accent.C: add <string>
1213
1214 2005-01-06  José Matos  <jamatos@lyx.org>
1215
1216         * ParagraphParameters.C (write): put every parameter in its own line.
1217         * paragraph.C (write): reduce number of consecutive empty lines exported.
1218         * buffer.C (LYX_FORMAT): increase file format to 239.
1219
1220 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1221
1222         * everywhere: change support/tostr.h -> support/convert.h
1223
1224         * tabular.C: make all write_attributes templates, tostr -> convert
1225
1226         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1227         (emptyTag): and -> &&, and fix type for ret from getChar
1228         (getFirstWord): fix type for ret from getChar
1229         (onlyText): and -> &&
1230         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1231         getChar
1232
1233         * toc.C (goTo, action):
1234         * text3.C (dispatch):
1235         * text.C (currentState):
1236         * tex-accent.C (DoAccent):
1237         * sgml.C:
1238         * lyxrc.C:
1239         * lyxfunc.C (menuNew):
1240         * lyxfinc.C (replace):
1241         * counters.C (laberItem):
1242         * bufferview_funcs.C (font2string):
1243         * bufferparams.C (writeFile):
1244         * buffer.C (readFile):
1245         * Spacing.C (set):
1246         * MenuBackend.C: tostr -> convert
1247
1248         * LaTeX.C (runMessage): fix format
1249         (scanAuxFiles): tostr -> convert
1250
1251         * BufferView_pimpl.C (savePosition): fix format
1252         (restorePosition): ditto
1253         (dispatch): ditto
1254
1255 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1256
1257         * Spacing.[Ch]: New method getValueAsString().
1258
1259         * Spacing.[Ch]:
1260         * bufferparams.C:
1261         * ParagraphParameters.C:
1262         * lyxlayout.C:
1263         * text.C:
1264         * text3.C: store/read spacing value as string.
1265
1266         * rowpainter.C: change float value (spacing_val) to double.
1267
1268         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1269         broken custom document spacing).
1270
1271 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1272
1273         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1274         namespace, also more use of temp references and const
1275
1276         * cursor.[Ch] (getStatus): move to lyxfunc.C
1277
1278         * bufferparams.C: reformat slightly
1279
1280         * bufferview_funcs.C (font2string): constify arg
1281
1282         * changes.C:
1283         * converter.C:
1284         * counters.C:
1285         * bufferlist.C:
1286         * buffer_funcs.C: (many funcs): constify arg on function
1287         definitions, also make more local vars const, also add ASSERTS on
1288         pointer args.
1289
1290         * buffer.C (LYX_FORMAT): put const in correct place
1291         (many funcs): constify arg on function definitions, also make
1292         more local vars const
1293
1294         * aspell_local.h: remove "struct" from typdef setup
1295
1296         * aspell.C (check): make word_ok const
1297         (nextMiss): simplify slightly
1298         (error): ditto
1299
1300 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1301
1302         * lyxrc.[Ch]: store all float values as strings.
1303         use int (not float) for lyxrc.dpi.
1304
1305 2005-01-04  Angus Leeming  <leeming@lyx.org>
1306
1307         * lyx_cb.C (Reconfigure):
1308         * lyx_main.C (queryUserLyXDir):
1309         to run the <system_lyxdir>/configure correctly on Windows, prefix
1310         the path to the script with "sh " when generating the string that
1311         is passed to system().
1312
1313 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1314
1315         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1316
1317 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1318
1319         * lyxlength.C (asLatexString): get rid of setprecision
1320
1321 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1322
1323         * text2.C (setLayout): remove unused variable endpit.
1324         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1325
1326         * paragraph.C (onlyText): remove unused variable style.
1327
1328         * cursor.C (bruteFind): remove unused variables beg and end.
1329
1330         * Makefile.am (dist_noinset_DATA): not needed anymore
1331
1332         * cheaders/*: remove.
1333
1334 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1335
1336         * text3.C: fix LFUN_MATH_MODE.
1337
1338 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1339
1340         * buffer_funcs.C (countWords): new function. Counts words between
1341         two iterators.
1342
1343         * BufferView_pimpl.C (getStatus, dispatch): handle
1344         LFUN_WORDS_COUNT.
1345
1346         * LyXAction.C (init):
1347         * lfuns.h: add LFUN_WORDS_COUNT.
1348
1349 2004-12-19  Angus Leeming  <leeming@lyx.org>
1350
1351         * buffer.C (save): s/slashify_path/internal_path/.
1352
1353 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1354
1355         * lyxfind.C (findChange): do not search for end of pars, because
1356         the change tracker cannot handle this (fixes bug 1719).
1357
1358 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1359
1360         * paragraph.[Ch] (autoBreakRows): remove
1361
1362         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1363
1364         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1365         avoid using the paragraph one
1366
1367         * text2.C (LyXText, insertStringAsLines): adjust
1368
1369 2004-12-16  Angus Leeming  <leeming@lyx.org>
1370
1371         * bufferlist.C:
1372         * lyx_main.C:
1373         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1374
1375 2004-12-14  Angus Leeming  <leeming@lyx.org>
1376
1377         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1378
1379         * bufferlist.C (emergencyWrite):
1380         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1381         GetEnvPath("HOME").
1382
1383 2004-12-14  Angus Leeming  <leeming@lyx.org>
1384
1385         * main.C: (main): no longer pass pointers to os::init.
1386
1387 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1388
1389         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1390         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1391
1392 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1393
1394         * lyxfunc.C:
1395         * text3.C: remove selection_possible global flag
1396
1397 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1398
1399         * text2.C (getSelectionSpan): remove
1400         (changeDepth, changeDepthAllowed): adjust
1401
1402 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1403
1404         * Makefile.am (BOOST_LIBS): use boost variables
1405
1406 2004-12-03  José Matos  <jamatos@lyx.org>
1407
1408         * buffer.C: format up to 238.
1409
1410 2004-12-03  José Matos  <jamatos@lyx.org>
1411
1412         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1413
1414 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1415
1416         * cursor.C (goUpDown): remove call to idxUpDown2
1417
1418 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1419
1420         * tabular.[Ch]: use size_t-like types for cell, row and column
1421         indices
1422
1423 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1424
1425         * lyxfunc.C (getStatus): do not lose previous information when
1426         calling BufferView::getStatus; do not set a default "Command
1427         disabled" message at the beginning, but just before returning.
1428
1429 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1430
1431         * cursor.h (getStatus): add better comment from src/cursor.C
1432
1433 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1434
1435         * text3.C (getStatus): return false when the lfun is not handled
1436
1437 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1438
1439         * broken_headers.h: remove
1440
1441         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1442
1443 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1444
1445         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1446         offset_ref accessors
1447
1448         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1449         top_y_, merge fitcursor with update
1450         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1451         coord scheme
1452         (metrics): introduce
1453         (workAreaDispatch): adapt to new coord scheme
1454         (redoCurrentBuffer): remove
1455
1456         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1457
1458         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1459         CurStatus enum.
1460
1461         * coordcache.[Ch]: add paragraph cache and helpers
1462
1463         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1464         adjust everywhere
1465
1466         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1467         (targetX, setTargetX): introduce
1468
1469         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1470         baseline -> ascent, as the rest of lyx
1471
1472         * lyxtext.h: remove redoParagraphs, updateParPositions,
1473         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1474         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1475         have ascent/descent (ascent is ascent of first par)
1476
1477         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1478         step of BufferView
1479
1480         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1481
1482         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1483
1484         * pariterator.C: fix infinite loop introduced in par->pit renaming
1485
1486         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1487         in insets and LyXText, draw two off-screen paragraphs using
1488         NullPainter, and adapt to new coord scheme
1489
1490         * text.C:
1491         * text2.C:
1492         * text3.C: adapt lfun handlers to the new coord scheme, which
1493         means: there's only guaranteed coord information for onscreen pars
1494         plus one above and one below. This implies that one can do search
1495         from y coordinates in the range [-1,workHeight]
1496
1497 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1498
1499         * rename a lot of InsetOld to InsetBase
1500
1501 2004-11-25  Angus Leeming  <leeming@lyx.org>
1502
1503         * BufferView_pimpl.C:
1504         * lyx_cb.C:
1505         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1506
1507 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1508
1509         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1510         call BufferView::getStatus if LCursor::getStatus did nothing
1511         (setStatusMessage, getStatusMessage): removed.
1512
1513         * FuncStatus.C (message): new methods. Used to provide an error
1514         message indicating why a command is disabled.
1515         (clear, |=, FuncStatus): update for message.
1516
1517 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1518
1519         * lyxfunc.C (dispatch): always call sendDispatchMessage
1520
1521 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1522
1523         * BufferView.C:
1524         * BufferView_pimpl.C:
1525         * CutAndPaste.C:
1526         * FontIterator.C:
1527         * buffer.C:
1528         * cursor.C:
1529         * cursor_slice.[Ch]:
1530         * dociterator.[Ch]:
1531         * lyxfind.C:
1532         * paragraph_funcs.C:
1533         * pariterator.C:
1534         * rowpainter.C:
1535         * text.C:
1536         * text2.C:
1537         * text3.C:
1538         * undo.C: par->pit renaming
1539
1540 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1541
1542         * tabular.C (cellstruct): use initialization, store a shared_ptr
1543         to insettext instead of the insettext directly, adjust to fit.
1544         (operator=):  new function
1545         (swap): new function
1546         (rowstruct): use initialization
1547         (columnstruct): use initialization
1548         (ltType): use initialization
1549
1550
1551         * lyxlength.h (swap): new function
1552
1553         * LColor.[Ch] (operator=): use the common semantics
1554
1555 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1556
1557         * lyxfind.C (findNextChange): update the bufferview after setting
1558         the selection.
1559
1560 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1561
1562         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1563         number of InsetOptArgs has already been inserted.
1564
1565         * output_latex.C (latexOptArgInsets): new method. This outputs all
1566         the optarg insets, up to the limit defined in the layout file.
1567         (optArgInset): removed
1568         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1569
1570 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1571
1572         * paragraph.C (isLetter): remove special spellchecker-related
1573         code; return true also for digits
1574         (isWord, isKomma): remove
1575
1576         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1577         * lyxfind.C (MatchString()): use isLetter instead of isWord
1578
1579 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1580
1581         * pariterator.h (operatir=): comment out un-implemented member
1582         function.
1583
1584         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1585         static cast.
1586
1587 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1588
1589         * lyxfont.h: include LColor.h to satisfy concept checks.
1590
1591 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1592
1593         * pariterator.h: add typdefs for value_type, difference_type,
1594         pointer and reference to satisfy concept checks. Also add default
1595         constructor for same reason.
1596
1597         * pariterator.C (operator++): add post-increment operator to
1598         satisfy concept checks.
1599
1600         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1601         checks.
1602
1603         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1604
1605         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1606         checks. Also rename base_type to BaseType to follow naming
1607         standard better.
1608
1609         * FloatList.h: include Floating.h to satisfy concept checks.
1610
1611 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1612
1613         * lyxfunc.C (getStatus): when the origin of the request is menu or
1614         toolbar, and the LyXView does not have focus, do as if there was
1615         no buffer (bug 1720)
1616
1617         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1618         FuncRequest to individual entries of LFUN_SEQUENCE
1619
1620 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1621
1622         * output_latex.C (TeXOnePar): override runparams.moving_arg
1623         according to the needprotect value of the current paragraph (bug
1624         1739)
1625
1626         * paragraph.C (simpleTeXOnePar): no need to override
1627         runparams.moving_args here
1628
1629 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1630
1631         * vspace.C: fix off-by-one-error, related to fix #1682
1632
1633 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1634
1635         * lengthcommon.C: a more general fix for bug 1682
1636
1637 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1638
1639         * text.C (backspace): fix crash
1640
1641 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1642
1643         * format.[Ch] (getFormatFromFile): new method
1644         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1645
1646 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1647
1648         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1649
1650 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1651
1652         * lyxfunc.C (dispatch): remove the verbose argument
1653         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1654         instead
1655
1656         * kbmap.C (defkey): set the origin of func to KEYBOARD
1657
1658         * MenuBackend.C (MenuItem):
1659         * ToolbarBackend.C (add): set the origin of func to UI
1660
1661         * funcrequest.[Ch]: add origin member, which indicates which part
1662         of LyX requests an action
1663
1664 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1665
1666         * converter.C (move): don't lie in the error message
1667         * converter.h (isReachable, move): document
1668
1669 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1670
1671         * buffer.C: remove unused using lyx::support::atoi
1672         * paragraph_funcs.C: ditto
1673
1674 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1675
1676         * bufferlist.C (exists): use bind and equal_to instead of
1677         compare_memfun
1678         (getBuffer): ditto
1679         * lyxtextclasslist.C (NumberOfClass): ditto
1680
1681         * cursor.C (insert): use for_each instead of explicit for loop
1682
1683         * bufferlist.C (getFileNames): use std::transform and
1684         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1685
1686         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1687         for loop
1688
1689         * buffer.C (changeLanguage): use for_each instead of explicit for
1690         loop
1691         (hasParWithID): implement using getParFromID
1692
1693         * LaTeXFeatures.C: ws change only
1694
1695         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1696         to cleanup a bit.
1697
1698         * BufferView_pimpl.C (trackChanges): use for_each instead of
1699         expilicit for loop
1700
1701 2004-11-04  André Pönitz  <poenitz@gmx.net>
1702
1703         * undo.h:
1704         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1705
1706         * dociterator.C (asDocIterator): use hard assert again.
1707
1708 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1709
1710         * lyxlength.C (asLatexString): rewrite so that it does not use
1711         snprintf anymore
1712
1713 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1714
1715         * text3.C (specialChar, dispatch): make sure cursor moves to the
1716         right after inserting an inset
1717
1718 2004-11-02  José Matos  <jamatos@lyx.org>
1719
1720         * output_docbook.C (docbook):
1721         * paragraph.C (getID):
1722         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1723         garantee that the output is always legal.
1724
1725         * tabular.C (docbook):
1726         * outputprams.[Ch]: remove mixed contents.
1727
1728 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1729
1730         * text2.C (setCounter): prevent endless loop
1731
1732 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1733
1734         * exporter.C (copyFile): use the mover instead of support::copy()
1735         * exporter.C (Export): pass format and latex name to copyFile()
1736         * exporter.h (addExternalFile): document
1737         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1738
1739 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1740
1741         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1742
1743 2004-10-30  José Matos  <jamatos@lyx.org>
1744
1745         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1746         text and no inset or font change. This allows to use CDATA
1747         sections just for the whole paragraph.
1748
1749 2004-10-30  José Matos  <jamatos@lyx.org>
1750
1751         * paragraph.C (getFirstWord): remove unused variable.
1752
1753 2004-10-30  José Matos  <jamatos@lyx.org>
1754
1755         * paragraph.C (getFirstWord): the content should always be escaped
1756         there.
1757         (simpleDocBookOnePar):
1758         * output_docbook.C (makeEnvironment): replace reference to CDATA
1759         to style pass_thru.
1760
1761 2004-10-30  José Matos  <jamatos@lyx.org>
1762
1763         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1764
1765 2004-10-30  José Matos  <jamatos@lyx.org>
1766
1767         * output_docbook.C (makeParagraphs):
1768         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1769         standard paragraph has only a given type of content drop the wrapper.
1770
1771 2004-10-29  José Matos  <jamatos@lyx.org>
1772
1773         * output_docbook.C (makeEnvironment):
1774         * sgml.C (openTag):
1775         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1776
1777 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1778
1779         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1780         (cleanID): sanitize any id.
1781
1782 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1783
1784         * buffer.C, lyxlex_pimpl.C:
1785         * lyxlex_pimpl.C (setFile):
1786         s/getExtFromContents/getFormatFromContents/
1787
1788 2004-10-28  José Matos  <jamatos@lyx.org>
1789
1790         * output_docbook.C (makeEnvironment): move id to broadest possible
1791         scope.
1792
1793         * sgml.C (openTag): apply substitution of <> for all attributes.
1794
1795 2004-10-28  José Matos  <jamatos@lyx.org>
1796
1797         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1798         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1799         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1800
1801         * sgml.[Ch]: new version for open and closeTag for paragraph and
1802         for strings. Now they handle the ids of paragraphs.
1803
1804 2004-10-26  Angus Leeming  <leeming@lyx.org>
1805
1806         * Makefile.am: add mover.[Ch].
1807
1808         * converter.C (convert, move): use the new Movers to move external
1809         files to the temp directory.
1810
1811         * lyx_main.C (init): ensure that the global system_movers data
1812         is initialised.
1813
1814         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1815         preferences file.
1816
1817         * mover.[Ch]: new files, defining a Mover as a utility to move an
1818         external file between directories and, if necessary, manipulate this
1819         file using a helper script.
1820
1821 2004-10-25  José Matos  <jamatos@lyx.org>
1822
1823         * output_docbook.C (makeCommand): merge two if's that tested the
1824         same condition.
1825
1826 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1827
1828         * sgml.C (escapeString): fix warning in a better way
1829
1830 2004-10-25  José Matos  <jamatos@lyx.org>
1831
1832         * sgml.C (escapeString): import the require boosts header file for
1833         tie, and avoid a signed unsigned comparison.
1834
1835 2004-10-25  José Matos  <jamatos@lyx.org>
1836
1837         * sgml.h: add #include <string>
1838
1839 2004-10-25  José Matos  <jamatos@lyx.org>
1840
1841         * sgml.[Ch] (escapeString): new function to escape all the string.
1842
1843 2004-10-24  José Matos  <jamatos@lyx.org>
1844
1845         * paragraph.[Ch] (getFirstWord): new function to get the first
1846         word. Useful for description.
1847         (simpleDocBookOnePar): remove depth argument, add another that
1848         says where to start the paragraph.
1849
1850         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1851         use the new functions to fix cleanly the support for descriptions.
1852
1853 2004-10-24  José Matos  <jamatos@lyx.org>
1854
1855         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1856         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1857         * output_linuxdoc.C (linuxdocParagraphs):
1858         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1859         add buffer as argument.
1860
1861 2004-10-24  José Matos  <jamatos@lyx.org>
1862
1863         * output_docbook.C (makeEnvironment, searchEnvironment): place
1864         CDATA inside paragraphs and fix scope for listitems.
1865
1866 2004-10-24  José Matos  <jamatos@lyx.org>
1867
1868         * output_docbook.C: remove using statement for stack.
1869
1870 2004-10-23  José Matos  <jamatos@lyx.org>
1871
1872         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1873         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1874         docbook. The new scheme is recursive and makes use of iterators, the
1875         same as latex export works.
1876         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1877         directly with the paragraph contents. This code was moved up to
1878         output_docbook.C (docbookParagraphs).
1879         * sgml.C (openTag, closeTag): removed unneeded newlines.
1880         (closeEnvTags) removed.
1881
1882 2004-10-23  André Pönitz  <poenitz@gmx.net>
1883
1884         * undo.C (textUndoOrRedo):
1885         * dociterator.C (asDocIterator): work around crash
1886
1887         * cursor.C (getStatus): replace ASSERT by more verbose error message
1888           and manual correction of the problem. Should increase stability
1889           while providing more sensible information.
1890
1891 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1892
1893         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1894
1895         * bufferlist.C (previous, next): new methods
1896
1897         * lfuns.h:
1898         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1899
1900 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1901
1902         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1903         entities to preamble.
1904
1905 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1906
1907         * messages.C (Pimpl): strip off translation context information
1908
1909 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1910
1911         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1912         the cursor is correct (bug 1694)
1913
1914 2004-10-13  José Matos  <jamatos@lyx.org>
1915
1916         * output_docbook.C (docbookParagraphs): fix closing tags in the
1917         end of the document.
1918
1919 2004-10-09  José Matos  <jamatos@lyx.org>
1920
1921         * buffer.C: format up to 237.
1922         * bufferparams.C (write): use tostr to convert booleans to strings.
1923
1924 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1925
1926         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1927
1928 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1929
1930         * LaTeX.C: implement use of babel language in xindy.
1931
1932 2004-10-05  José Matos  <jamatos@lyx.org>
1933
1934         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1935         Add new translators to help reading and writing the lyx file.
1936
1937 2004-10-05  José Matos  <jamatos@lyx.org>
1938
1939         * ParagraphParameters.C (read):
1940         * text.C (readParToken): replace nexToken by more appropriate lex
1941         methods.
1942
1943 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1944
1945         * LaTeX.C (runMakeIndex):
1946         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1947         (usually 'makeindex') configurable.
1948
1949         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1950         with a variable rather than with a number.
1951
1952 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1953
1954         * output_latex.C (TeXOnePar): make sure font setting is the first
1955         thing that gets output (and the last at the end). Should fix bug
1956         1404.
1957
1958 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1959
1960         * pch.h: use proper signal include
1961
1962         * LaTeX.h: Use preferred calling of Boost.Signal
1963         * buffer.h: ditto
1964
1965 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1966
1967         * pch.h: dont include <boost/function/function0.hpp>
1968
1969         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1970
1971         * paragraph_pimpl.h: remove usage of ShareContainer
1972
1973         * paragraph_pimpl.C: remove initialization of ShareContainer.
1974
1975 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1976
1977         Fix bug #1666
1978
1979         * BufferView.C (putSelectionAt): change the semantics when
1980         backwards == true: now, this just swaps cursor and anchor wrt the
1981         forward case
1982
1983         * BufferView.h (putSelectionAt): add some documentation
1984
1985         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1986         make sure backwardChar is done at least once (to avoid getting
1987         stuck)
1988         (findNextChange): use putSelectionAt in the forward direction
1989         (operator()): use Paragraph::isWord
1990
1991 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1992
1993         * Spacing.C (set): c_str fix
1994
1995 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1996
1997         * lyx_cb.C (Reconfigure): quote the name of configure script in
1998         case it contains spaces
1999
2000 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2001
2002         * client: new dir
2003
2004         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2005         (BOOST_LIBS): use top_buildir when looking for the file
2006
2007 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2008
2009         * pch.h: do not use include boost/format.hpp, multiple symbols
2010                 will result (gcc bug)
2011
2012
2013 2004-08-23  José Matos  <jamatos@lyx.org>
2014
2015         * bufferparams.C (readToken): fix reading of the author field.
2016
2017 2004-08-20  José Matos  <jamatos@lyx.org>
2018
2019         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2020
2021 2004-08-20  José Matos  <jamatos@lyx.org>
2022
2023         * lyxlex.[Ch] (findToken): remove function.
2024
2025         * ParagraphParameters.C (findToken):
2026         * bufferparams.C (findToken): replace call for previous function
2027         with local copy. This local function has one more argument, the
2028         read string argument.
2029
2030 2004-08-16  José Matos  <jamatos@lyx.org>
2031
2032         * ParagraphParameters.C (write):
2033         * Spacing.C (writeFile):
2034         * bufferparams.C (writeLaTeX):
2035         * lyx_cb.C (Reconfigure):
2036         * paragraph.C (write):
2037         * tabular.C (write): remove unnecessary space at end of line.
2038
2039
2040 2004-08-16  José Matos  <jamatos@lyx.org>
2041
2042         * text.C (readParagraph): remove debug message.
2043
2044 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2045
2046         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2047         crash
2048
2049         * output_plaintext.C (asciiParagraph): set depth correctly
2050
2051         * outputparams.h: add member depth
2052
2053         * paragraph_funcs.C (ownerPar): remove.
2054
2055         * text2.C (setCounter): remove first_pit; comment out some
2056         non-working code that uses ownerPar
2057
2058         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2059         uses ownerPar
2060
2061 2004-08-16  José Matos  <jamatos@lyx.org>
2062
2063         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2064         For the same level of importance use the same chanel to report problems.
2065         (read): add code to deal with \begin_body and \end_body.
2066
2067
2068 2004-08-15  José Matos  <jamatos@lyx.org>
2069
2070         * lyxlex.C (getString): fix comment, buffer::readBody is now
2071         buffer:readDocument.
2072
2073         * tex-strings.C (string_papersize): Default -> default,
2074         Custom -> custom, for consistency with other options.
2075
2076 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2077
2078         * pch.h: new file
2079
2080         * Makefile.am: support pch
2081
2082 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2083
2084         * text.C (readParToken): remove the static LyXFont variable and
2085         pass it as a parameter instead. This fixes a nasty bug where an
2086         inset will be inserted with a bad font in some situations
2087         (readParagraph): adapt
2088
2089         * text2.C (setCounter): reduce number of calls to pars_[pit]
2090
2091         * text.C (singleWidth): add an assert, fix a test
2092
2093         * rowpainter.C (paintText): reduce number of calls to singleWidth
2094
2095         * paragraph.C (isHfill):
2096         (isNewline): ws only
2097
2098 2004-08-14  André Pönitz  <poenitz@gmx.net>
2099
2100         * text.C:
2101         * text2.C:
2102         * rowpainter.C:
2103         * lyxtext.h (several functions): use a Paragraph & argument
2104         instead of par_type
2105
2106 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2107
2108         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2109
2110         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2111
2112         * text.C (singleWidth): remove useless test
2113
2114 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2115
2116         * tabular.h: remove bogus comments
2117
2118         * tabular.C (getDescentOfRow):
2119         (isPartOfMultiColumn): add assertions
2120
2121         * lyxlength.C (inPixels): remove #warning
2122
2123 2004-08-14  André Pönitz  <poenitz@gmx.net>
2124
2125         * paragraph.h: inline getChar()
2126
2127         * BufferView.h: remove unused declarations
2128
2129 2004-08-14  José Matos  <jamatos@lyx.org>
2130
2131         * Buffer.[Ch] (readDocument): new name for old readBody.
2132         * Buffer.C: new file format, new keywords: \begin_document,
2133         \begin_header, \begin_body, \end_body.
2134
2135         * bufferparams.C (readToken): replace all calls to lex.nextToken
2136         by lex.next(). Do the same to eatLine except where really needed.
2137
2138         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2139         line when writing to the lyx file.
2140
2141         * output_plaintext.C (asciiParagraph): fix Bibliography style
2142         handling.
2143
2144         * text.C (read): fix end of file handling.
2145
2146 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2147
2148         * MenuBackend.C (Menu::operator[]): new method to access
2149         individual menu items
2150         (Menu::hasFunc): new method. search for an item that corresponds
2151         to a given func
2152         (MenuBackend::specialMenu): new method
2153         (MenuBackend::expand): if a special menu has been set, skip
2154         entries whose func() appears in this menu
2155
2156 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2157
2158         * text3.C: use Debug::DEBUG a bit more
2159
2160         * text.C (leftMargin): try to simplify a tiny bit change var x to
2161         l_margin. Dont output the wide margins always.
2162         (rightMargin): no margin in inner texts
2163
2164         * rowpainter.h (nestMargin): new func
2165         (changebarMargin): new func
2166         (rightMargin): new func
2167
2168         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2169         now functions.
2170         (paintLast): ditto
2171
2172         * factory.C (createInset): modify setDrawFrame
2173
2174         * cursor.C: use Debug::DEBUG a bit more
2175
2176 2004-08-14  André Pönitz  <poenitz@gmx.net>
2177
2178         * coordcache.[Ch]:
2179         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2180         cache for all insets in (at least partially) visible (top-level)
2181         paragraphs.
2182
2183         * BufferView_pimpl.C: reset external coord cache before every update.
2184         This means the coord cache only contains valid entries.
2185
2186 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2187
2188         bug 1096
2189         * BufferView_pimpl.C (getInsetByCode): move function out of class
2190         and change in to a template in anon namespace. Also fix to do what
2191         suits us better.
2192
2193 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2194
2195         bug 1305
2196         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2197         of char
2198         (breakParagraph): rename par to par_offset and use a local
2199         reference. Add code to keep the language over a rebreak.
2200         (breakParagraphConservative): rename par to par_offset, use a
2201         local reference
2202         (mergeParagraph): ditto
2203         (outerHook): ditto
2204         (isFirstInSequence): ditto
2205         (outerFont): rename pit to par_offset
2206
2207         * paragraph.C: ws change
2208         * paragraph.h: ditto
2209         * text3.C: ditto
2210         * text.C: ditto
2211
2212 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2213
2214         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2215         treatment for ']'
2216
2217         * paragraph.C (simpleTeXOnePar): when we have a \item with
2218         optional argument, enclose the argument with curly brackets (in
2219         case it contains a closing square bracket)
2220
2221         * text2.C (editXY):
2222         * text2.C (editXY):
2223         * text3.C (checkInsetHit): constify
2224
2225 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2226
2227         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2228         documents (bug 1629)
2229
2230 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2231
2232         Fix toggling of collapsable insets with the mouse (bug 1558)
2233
2234         * lyxfunc.C (dispatch): adapt to LCursor changes
2235
2236         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2237         make sure that dispatch is not invoked twice
2238
2239         * cursor.C (needsUpdate): new method
2240         (dispatch): return void
2241         (result): new method, to access the DispatchResult of the cursor.
2242
2243 2004-08-13  José Matos  <jamatos@lyx.org>
2244
2245         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2246
2247 2004-08-13  André Pönitz  <poenitz@gmx.net>
2248
2249         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2250
2251         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2252           multiple cells
2253
2254 2004-08-12  André Pönitz  <poenitz@gmx.net>
2255
2256         * text3.C: take out the 'cursor right' form insertInset and only
2257         do it in those places when it is really needed. Fixes crash on
2258         C-m...
2259
2260 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2261
2262         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2263
2264         * BufferView_pimpl.C (setBuffer): initialize the current font of
2265         the underlying LyXText
2266
2267 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2268
2269         * kbsequence.C (print): use UI native formatting for menu
2270         shortcuts
2271
2272         * text.C (insertChar): call Paragraph::insertChar with a font
2273         argument (cosmetic)
2274
2275         * paragraph.C (insertInset, insertChar): the version that takes a
2276         LyXFont argument is now a wrapper around the other one (the
2277         opposite used to be true).
2278
2279         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2280         argument. Font setting is done in Paragraph now.
2281
2282 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2283
2284         * outputparams.h: add new members intitle and lang.
2285
2286         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2287         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2288
2289 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2290
2291         * text3.C (dispatch): remove special handling of button 4 and 5,
2292         it is now taken care of in the frontend code.
2293
2294 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2295
2296         * Spacing.h: add <string> (STLPort compile fix)
2297
2298 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2299
2300         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2301
2302 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2303
2304         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2305         to bool.
2306
2307         * converter.C (showMessage): inherit from unary_function, make
2308         operator() const.
2309
2310         * buffer.C (writeFile): initialize retval
2311
2312         * InsetList.h: rename private variable list to list_
2313         * InsetList.[Ch]: adjust accordingly.
2314
2315 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2316
2317         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2318         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2319         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2320         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2321         * ParagraphParameters.C, LaTeXFeatures.C: replace
2322         "support/std_sstream.h" with <sstream>
2323
2324 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2325
2326         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2327         * lyxsocket.C (LyXServerSocket): ditto
2328         (serverCallback): ditto
2329
2330 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2331
2332         * LaTeXFeatures.C: check release date when loading jurabib.
2333
2334 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2335
2336         * lyxserver.C (startPipe): call register_socket_callback
2337         (endPipe): call unregister_socket_callback
2338
2339 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2340
2341         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2342         (LyXServerSocket): register the callback
2343         (LyXServerSocket): unregister the callback
2344         (fd): delete function
2345         (serverCallback): improve error checking and setup the callbacks.
2346         (dataCallback): change arg to fd.
2347         (writeln): new func (copied fro the client socket) used for server
2348         write to client.
2349         (LyXDataSocket): simplify
2350         (~LyXDataSocket): close ann unregiser callback
2351         (server): delete function
2352         (fd): delete function
2353         (readln): small changes, improve some std::string usage
2354         (writeln): constify a bit
2355
2356 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2357
2358         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2359         Qt frontend
2360
2361 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2362
2363         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2364         after it has been populated
2365
2366 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2367
2368         * text2.C (insertInset): move cursor when inserting inset.
2369
2370 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2371
2372         * kbmap.C (findbindings): a couple of new methods. returns a
2373         container of kb_sequence objects. The real work is done by the
2374         private recursive version
2375         (printbindings): uses findbindings to print out a bracketed list
2376         of bindings (renamed from findbinding).
2377
2378         * MenuBackend.C (binding): use kb_keymap::findbindings
2379
2380         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2381
2382 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2383
2384         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2385
2386 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2387
2388         * paragraph.C (isWord): return true on insets that report
2389         isLetter().
2390
2391         * text.C (getWord): use Paragraph::isWord to decide what is in a
2392         word and what is not; fix bug 1609.
2393
2394 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2395
2396         * tex-strings.C: add "none" to string_paperpackages[], fixes
2397         off-by-one-error in the paperpackage selection.
2398
2399         * lyxlex.[Ch]:
2400         * tex-strings.[Ch]: char const * string[n]
2401         -> char const * const string[]
2402
2403 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2404
2405         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2406         command, return early.
2407
2408 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2409
2410         * debug.h: add DEBUG to enum and fix size of ANY.
2411
2412         * debug.C: add support for Debug::DEBUG
2413         (showTags): cast errorTags.level to unsigned int
2414
2415         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2416         (redoCurrentBuffer): ditto
2417         (updateScrollbar): ditto
2418         * cursor.C (dispatch): ditto
2419         * text2.C (setLayout): ditto
2420         (setFont): ditto
2421         (updateCounters): ditto
2422         (editXY): ditto
2423         (deleteEmptyParagraphMechanism): ditto
2424
2425 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2426
2427         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2428         annotations to cleanup the Makefile slightly.
2429
2430 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2431
2432         * lyxrc.C: do not set user_email to a default value but use empty
2433         instead. The entry used to be translated, which does not work
2434         since at the point where lyxrc is constructed there is no
2435         translation service available
2436
2437         * messages.C (getLocaleDir): remove and use directly
2438         lyx_localedir() instead
2439
2440 2004-06-02  Angus Leeming  <leeming@lyx.org>
2441
2442         Fix crash caused by dereferencing null pointer 'exportdata' in
2443         OutputParams by creating a new ExportData variable on the heap,
2444         storing it in a boost::shared_ptr.
2445         The crash was triggered when generating an Instant Preview
2446         of an external inset.
2447
2448         * Makefile.am: add outputparams.C
2449
2450         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2451         (c-tor): allocate memory to it.
2452
2453         * exporter.C (c-tor): associated changes.
2454
2455 2004-06-01  Angus Leeming  <leeming@lyx.org>
2456
2457         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2458         contains data before calling isInset(0). (Bug 1513.)
2459
2460 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2461
2462         * exporter.C (checkOverwrite): new method
2463         * exporter.C (copyFile): new method
2464         * exporter.C (Export): copy referenced files to the document dir
2465         * exporter.[Ch]: new class ExportedFile
2466         * exporter.[Ch]: new class ExportData. Contains currently the
2467         names of referenced external files
2468         * outputparams.h: add exportdata member.
2469
2470 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2471
2472         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2473         version.C-tmp
2474
2475 2004-05-19  Angus Leeming  <leeming@lyx.org>
2476
2477         * LaTeXFeatures.C:
2478         * ToolbarBackend.C:
2479         * bufferparams.C:
2480         * lyxfunc.C: small changes due to the introduction of namespace
2481         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2482
2483 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2484
2485         * text3.C (dispatch): supress update when only moving the cursor
2486         * cursor.C (selHandle): remove commented code
2487
2488 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2489
2490         * paragraph.C (startTeXParParams): correct column count
2491         * CutAndPaste.C (pasteSelection): remove const_cast
2492         * output_docbook.C (docbookParagraphs): remove const_cast
2493         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2494         const_cast and return ParagraphList::const_iterator
2495         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2496         * output_plaintext.C (writeFileAscii): remove const_cast
2497         * paragraph.[Ch] (simpleTeXOnePar): make const
2498         * paragraph_funcs.C (outerPar): use const iterators
2499         * paragraph_pimpl.C (validate): use const iterators
2500         * text.C (setHeightOfRow): use const iterators
2501
2502 2004-05-17  Angus Leeming  <leeming@lyx.org>
2503
2504         * lfuns.h:
2505         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2506
2507         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2508         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2509         if the citation engine has changed.
2510
2511 2004-05-14  José Matos  <jamatos@lyx.org>
2512
2513         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2514         if the textclass does not provide it. Have it different for sgml and
2515         xml.
2516         support the language of document.
2517         * output_docbook.C (docbookParagraphs):
2518         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2519         first anchor as the id of the paragraph, remove special case code.
2520         * sgml.C (escapeChar): escape only < & >.
2521
2522 2004-05-14  Angus Leeming  <leeming@lyx.org>
2523
2524         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2525         dependencies on src/frontends/controllers/biblio.h. Define a
2526         CiteEngine_enum wrapper class to enable the enum to be forward
2527         declared.
2528
2529 2004-05-12  Angus Leeming  <leeming@lyx.org>
2530
2531         * buffer.C: up LYX_FORMAT to 234.
2532         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2533         use_numerical_citations with a single biblio::CiteEngine cite_engine
2534         variable.
2535         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2536
2537 2004-05-13  José Matos  <jamatos@lyx.org>
2538
2539         * converter.h:
2540         * converter.C (Converter, readFlags): add xml member.
2541         * outputparams.h: add XML flavor.
2542         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2543
2544 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2545
2546         * lyxfunc.C (dispatch):
2547         (getStatus): fix handling of LFUN_SEQUENCE
2548
2549 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2550
2551         * debug.C (showLevel): do not forget the end-of-line marker
2552
2553 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2554
2555         * kbmap.C (read): do not stop parsing a bind file when an error
2556         occurs (bug 1575)
2557
2558 2004-04-29  Angus Leeming  <leeming@lyx.org>
2559
2560         * cursor.C:
2561         * factory.C:
2562         * pariterator.C:
2563         * text2.C: wrap a bunch of #warning statements
2564         inside #ifdef WITH_WARNINGS blocks.
2565
2566 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2567
2568         * buffer.C: increment format to 233.
2569
2570 2004-04-28  Angus Leeming  <leeming@lyx.org>
2571
2572         * BufferView_pimpl.C:
2573         * lyxfunc.C:
2574         * text3.C:
2575         s/updateToolbar()/updateToolbars()/
2576         s/Toolbar.h/Toolbars.h/
2577
2578 2004-04-28  Angus Leeming  <leeming@lyx.org>
2579
2580         * BufferView.[Ch] (c-tor):
2581         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2582         No longer passes these data to the WorkArea generator.
2583
2584 2004-04-28  Angus Leeming  <leeming@lyx.org>
2585
2586         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2587
2588 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2589
2590         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2591
2592 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2593
2594         * output_latex.C (TeXEnvironment): make sure that there is a line
2595         break before \end{foo} for the last paragraph of a document
2596         (TeXOnePar): if the paragraph is at the end of the document (or
2597         inset) and the language has to be reset, then make sure that the
2598         line break is _before_ the language command, not after (fixes bug
2599         1225); also make sure that the language reset command is the first
2600         thing after the paragraph (to ensure proper nesting of
2601         environments and thus fix bug 1404)
2602
2603 2004-04-21  John Levon  <levon@movementarian.org>
2604
2605         * ToolbarBackend.h:
2606         * ToolbarBackend.C: make "name" be a programmatic name
2607         and a gui_name field.
2608
2609         * lyxfunc.C: display the minibuffer on M-x
2610
2611 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2612
2613         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2614         (bug 1526)
2615
2616 2004-04-19  Angus Leeming  <leeming@lyx.org>
2617
2618         * BufferView_pimpl.C (setBuffer): changed preview interface.
2619
2620         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2621         possible values.
2622
2623 2004-04-19  John Levon  <levon@movementarian.org>
2624
2625         * BufferView_pimpl.C:
2626         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2627
2628 2004-04-05  Angus Leeming  <leeming@lyx.org>
2629
2630         * text.C (redoParagraphs): add call to updateCounters(), thereby
2631         fixing the missing "Figure #:" label from the caption of a
2632         figure float.
2633
2634 2004-04-13  Angus Leeming  <leeming@lyx.org>
2635
2636         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2637         cursor is clicked out of an inset.
2638
2639 2004-04-13  Angus Leeming  <leeming@lyx.org>
2640
2641         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2642         than an InsetOld one.
2643
2644 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2645
2646         * format.[Ch]: add editor to Format
2647         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2648         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2649
2650 2004-04-08  André Pönitz  <poenitz@gmx.net>
2651
2652         * metricsinfo.h: remove PainterInfo::width member
2653
2654 2004-04-08  Angus Leeming  <leeming@lyx.org>
2655
2656         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2657         "\providecommand" rather than "\newcommand", thereby preventing
2658         clashes with packages that define "\boldsymbol" themselves.
2659         Eg, beamer.
2660
2661 2004-04-08  Angus Leeming  <leeming@lyx.org>
2662
2663         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2664         thereby squashing an unnecessary warning.
2665
2666 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2667
2668         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2669         setBuffer()
2670
2671 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2672
2673         * BufferView.C (setCursor): call redoParagraph (some insets could
2674         have been opened)
2675         (putSelectionAt): remove the 'double update' trick
2676
2677         * BufferView_pimpl.C (fitCursor): call refreshPar
2678         (workAreaDispatch): remove an uneeded update call
2679         (dispatch): remove some manual update calls
2680
2681         * cursor.[Ch]: remove cached_y_, updatePos
2682         (selHandle): set noUpdate when appropriate
2683
2684         * lyxfunc.C (dispatch): track if we need an update
2685
2686         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2687
2688         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2689         (paintSelection): cheap optimization, do not call cursorX when not
2690         needed
2691         (paintPars): change signature
2692         (refreshPar): add
2693         (paintText): adjust
2694         (paintTextInset): adjust
2695
2696         * text.C: adjust
2697
2698 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2699
2700         * lengthcommon.C: compilation fix: remove explicit array size from
2701         unit_name[] and friends
2702
2703 2004-04-05  Angus Leeming  <leeming@lyx.org>
2704
2705         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2706
2707         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2708         present only for the preferences dialog.
2709         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2710
2711 2004-04-05  Angus Leeming  <leeming@lyx.org>
2712
2713         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2714         to enable the frontends to export changes to lyxrc correctly.
2715
2716         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2717
2718 2004-04-07  André Pönitz  <poenitz@gmx.net>
2719
2720         * cursor.[Ch] (selClear, adjust): remove math
2721
2722         * cursor_slice.C: more agressive assert
2723
2724         * lyxfunc.C:
2725         * BufferView_pimpl.C: rework mouse event dispatch
2726
2727         * dociterator.C:
2728         * paragraph.C:
2729         * text2.C:
2730         * text3.C: adjust
2731
2732 2004-04-05  André Pönitz  <poenitz@gmx.net>
2733
2734         * cursor.[Ch] (valign, halign...): remove unneeded functions
2735
2736 2004-04-05  Angus Leeming  <leeming@lyx.org>
2737
2738         * lyxlength.[Ch] (unit_name et al.): const-correct.
2739
2740 2004-04-05  Angus Leeming  <leeming@lyx.org>
2741
2742         * BufferView_pimpl.C:
2743         * buffer.C:
2744         * counters.C:
2745         * cursor.C:
2746         * lyxfunc.C
2747         * paragraph.C:
2748         * pariterator.C:
2749         * text.C:
2750         * text2.C:
2751         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2752
2753 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2754
2755         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2756
2757 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2758
2759         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2760         * BufferView_pimpl.[Ch] (getStatus)
2761         * BufferView.[Ch] (getStatus): add
2762         * lyxfunc.C (getStatus): move lfuns handled in
2763         BufferView::dispatch to te function above
2764         * Cursor.C (setSelection): set selection() = true
2765
2766 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2767
2768         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2769
2770 2004-03-31  Angus Leeming  <leeming@lyx.org>
2771
2772         * lyxfunc.C (dispatch): Fall through to the generic
2773         Dialogs::show("preamble").
2774
2775 2004-03-31  Angus Leeming  <leeming@lyx.org>
2776
2777         * lyxfunc.C (dispatch): Fall through to the generic
2778         Dialogs::show("spellchecker").
2779
2780 2004-03-31  Angus Leeming  <leeming@lyx.org>
2781
2782         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2783         preferences dialog.
2784
2785 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2786
2787         * BufferView.C
2788         * cursor.[Ch]
2789         * dociterator.[Ch]:
2790         * insetiterator.[Ch]:
2791         * lyxfind.C:
2792         * lyxfunc.C:
2793         * pariterator.[Ch]:
2794         * text2.C:
2795         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2796
2797 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2798
2799         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2800         insets where we are putting the cursor.
2801
2802 2004-03-31  Angus Leeming  <leeming@lyx.org>
2803
2804         * lfuns.h:
2805         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2806
2807         * lyxrc.[Ch] (read, write): overloaded member functions taking
2808         a std::[io]stream arguments.
2809
2810         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2811
2812 2004-03-31  Angus Leeming  <leeming@lyx.org>
2813
2814         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2815         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2816
2817         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2818         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2819
2820 2004-03-31  Angus Leeming  <leeming@lyx.org>
2821
2822         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2823         the LFUN_ALL_INSETS_TOGGLE code.
2824
2825 2004-03-30  Angus Leeming  <leeming@lyx.org>
2826
2827         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2828         has died. Fall through to the generic Dialogs::show("document").
2829
2830 2004-03-30  Angus Leeming  <leeming@lyx.org>
2831
2832         * lfuns.h:
2833         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2834         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2835
2836         * lyxfunc.C (getStatus, dispatch): define the actions for these
2837         lfuns. Little more than a cut and pste job from ControlDocument.C
2838
2839         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2840
2841 2004-03-30  Angus Leeming  <leeming@lyx.org>
2842
2843         * lfuns.h:
2844         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2845         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2846
2847         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2848         open/closed state of ollapsable insets. Usage:
2849
2850         all-inset-toggle <state> <name>, where
2851         <state> == "open" || "closed" || "toggle" and
2852         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2853
2854         * lyxtext.h, text2.C (toggleInset): removed.
2855
2856         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2857         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2858         now passes LFUN_INSET_TOGGLE to the found inset.
2859
2860         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2861         is now invoked as "all-insets-toggle toggle branch".
2862
2863 2004-03-30  Angus Leeming  <leeming@lyx.org>
2864
2865         * dociterator.C:
2866         * insetiterator.C:
2867         * pariterator.[Ch]: added/corrected header blurb.
2868
2869 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2870
2871         * dociterator.[Ch]: add an inset_ member
2872         (backwardPos): implemented
2873         (backwardPos, forwardPos): use inset_ when the stack is empty.
2874         (doc_iterator_begin, doc_iterator_end): implemented
2875         * pariterator.[Ch]: adjust, add begin, end
2876         * insetiterator.[Ch]: adjust, add begin, end
2877         * cursor.C:
2878         * document.C:
2879         * BufferView.C:
2880         * BufferView_pimpl.C:
2881         * CutAndPaste.C: adjust
2882
2883 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2884
2885         * buffer.C: increment file format to 232.
2886         * LaTeXFeatures.C: add bibtopic package.
2887         * bufferparams.[Ch]: param \use_bibtopic.
2888
2889         * lyxrc.[Ch]: add lyxrc bibtex_command
2890         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2891
2892         * buffer.C: increment file format to 231.
2893
2894 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2895
2896         * dociterator.C: implement forwardPar
2897         * iterators.[Ch]: remove, replaced by
2898         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2899         * BufferView.C:
2900         * BufferView_pimpl.C:
2901         * CutAndPaste.C:
2902         * buffer.C:
2903         * bufferview_funcs.C:
2904         * cursor.C:
2905         * lyxfind.C
2906         * lyxfunc.C
2907         * paragraph_funcs.C
2908         * toc.C:
2909         * Makefile.am: adjust
2910
2911 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2912
2913         * CutAndPaste.C (pasteSelection): fix 2 crashes
2914         (eraseSelection): fix a crash
2915         * paragraph_funcs.C: remove a warning
2916
2917 2004-03-28  Angus Leeming  <leeming@lyx.org>
2918
2919         * lfuns.h:
2920         * LyXAction.C (init): new LFUN_PRINT.
2921
2922         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2923
2924 2004-03-27  Angus Leeming  <leeming@lyx.org>
2925
2926         * lfuns.h:
2927         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2928
2929         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2930
2931 2004-03-27  Angus Leeming  <leeming@lyx.org>
2932
2933         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2934         insetlist always contains non-null pointers to insets.
2935
2936 2004-03-26  Angus Leeming  <leeming@lyx.org>
2937
2938         * src/BufferView_pimpl.C:
2939         * src/CutAndPaste.C:
2940         * src/buffer.C:
2941         * src/iterators.C:
2942         * src/output_plaintext.C:
2943         * src/outputparams.h:
2944         * src/paragraph_funcs.C:
2945         * src/rowpainter.C:
2946         * src/text.C:
2947         * src/text2.C:
2948         * src/frontends/controllers/ControlErrorList.C:
2949         * src/frontends/gtk/FileDialogPrivate.C:
2950         * src/frontends/gtk/GPainter.C:
2951         * src/frontends/gtk/GToolbar.C:
2952         * src/frontends/qt2/QRef.C:
2953         * src/mathed/math_scriptinset.C: squash compiler warnings.
2954
2955 2004-03-26  Angus Leeming  <leeming@lyx.org>
2956
2957         * ispell.C (LaunchIspell::start):
2958         * lyx_cb.C (AutoSaveBuffer::start):
2959         invoke run(DontWait) rather than runNonBlocking().
2960
2961 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2962
2963         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2964
2965 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2966
2967         * kbsequence.C (print): adjust
2968
2969         * kbmap.C (printKeySym): rename and change signature
2970         (printKey): use LyXKeySym::print()
2971
2972 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2973
2974         * undo.C: add using std::advance to compile for stlport
2975
2976 2004-03-24  Angus Leeming  <leeming@lyx.org>
2977
2978         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2979         it leads to a crash when no buffer is present.
2980
2981 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2982             Martin Vermeer  <martin.vermeer@hut.fi>
2983
2984         * lyxfunc.C (dispatch):
2985         * bufferparams.C (readToken): use the new LColor::setColor
2986
2987         * LColor.[Ch] (setColor): new version that takes two strings as
2988         argument and creates a new color entry if necessary
2989
2990 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2991
2992         * buffer.C (makeLaTeXFile): if the main latex file that is
2993         processed is usually a subdocument of some master, then pretend
2994         for a while that it is actually the master
2995
2996 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2997
2998         * buffer.C (getLabelList):
2999         (getBibkeyList): use getMasterBuffer()
3000         (getMasterBuffer): new method. Returns the main document in the
3001         case where one is using included documents.
3002
3003 2004-03-25  André Pönitz  <poenitz@gmx.net>
3004
3005         * Makefile.am:
3006         * iterators.[Ch]:
3007         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3008
3009         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3010
3011         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3012         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3013
3014         * ParameterStruct.h: merge with ParagraphParameters
3015
3016         * lyxtext.h: remove LyXText::parOffset() and getPar()
3017
3018         * text3.C: Remove all 'manual' update calls. We do now one per user
3019         interaction which is completely sufficient.
3020
3021         * Bidi.C:
3022         * BufferView.[Ch]:
3023         * BufferView_pimpl.C:
3024         * FontIterator.[Ch]:
3025         * MenuBackend.C:
3026         * ParagraphParameters.[Ch]:
3027         * buffer.C:
3028         * buffer.h:
3029         * bufferlist.C:
3030         * cursor.[Ch]:
3031         * cursor_slice.[Ch]:
3032         * dociterator.[Ch]:
3033         * errorlist.[Ch]:
3034         * factory.C:
3035         * lfuns.h:
3036         * lyxfind.C:
3037         * lyxfunc.C:
3038         * output_docbook.[Ch]:
3039         * output_latex.[Ch]:
3040         * output_linuxdoc.[Ch]:
3041         * output_plaintext.[Ch]:
3042         * paragraph.[Ch]:
3043         * paragraph_funcs.[Ch]:
3044         * paragraph_pimpl.[Ch]:
3045         * rowpainter.C:
3046         * tabular.[Ch]:
3047         * text.C:
3048         * text2.C:
3049         * toc.C:
3050         * undo.[Ch]: adjust
3051
3052         * frontends/controllers/ControlDocument.C:
3053         * frontends/controllers/ControlErrorList.C:
3054         * frontends/controllers/ControlSpellchecker.C:
3055         * insets/inset.C:
3056         * insets/inset.h:
3057         * insets/insetbase.h:
3058         * insets/insetbibitem.C:
3059         * insets/insetbox.C:
3060         * insets/insetbranch.C:
3061         * insets/insetcaption.C:
3062         * insets/insetcharstyle.C:
3063         * insets/insetcharstyle.h:
3064         * insets/insetcollapsable.C:
3065         * insets/insetcollapsable.h:
3066         * insets/insetert.C:
3067         * insets/insetfloat.C:
3068         * insets/insetfoot.C:
3069         * insets/insetmarginal.C:
3070         * insets/insetnote.C:
3071         * insets/insetoptarg.C:
3072         * insets/insettabular.C:
3073         * insets/insettext.C:
3074         * insets/insettext.h:
3075         * insets/insetwrap.C:
3076         * mathed/math_mboxinset.C:
3077         * mathed/math_nestinset.C:
3078         * mathed/math_scriptinset.C:
3079         * mathed/math_scriptinset.h:
3080         * support/types.h:
3081
3082 2004-03-24  Angus Leeming  <leeming@lyx.org>
3083
3084         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3085         deal with any child processes that have finished but are waiting to
3086         communicate this fact to the rest of LyX.
3087
3088 2004-03-24  Angus Leeming  <leeming@lyx.org>
3089
3090         64-bit compile fixes.
3091
3092         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3093         (c-tor): pass lyx::pos_types rather than ints.
3094
3095         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3096         lyx::pos_type.
3097
3098         * text.C (Delete): compile fix.
3099         (getPar): ensure that function declaration is the same as that in
3100         the header file.
3101
3102 2004-03-23  Angus Leeming  <leeming@lyx.org>
3103
3104         * ispell.C (LaunchIspell):
3105         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3106         a boost::shred_ptr rather than a std::auto_ptr.
3107
3108 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3109
3110         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3111         handle LFUN_FILE_INSERT_*
3112
3113         * lyxrc.C (setDefaults, getDescription, output, read):
3114         * lyxrc.h: remove ps_command
3115
3116 2004-03-22  Angus Leeming  <leeming@lyx.org>
3117
3118         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3119         Ensure that error_handler is processed once only and that all data
3120         is saved before attempting to output any warning messages.
3121
3122         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3123
3124 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3125
3126         * tabular.C (TeXRow): crash fix (from Kayvan and André)
3127
3128 2004-03-19  André Pönitz  <poenitz@gmx.net>
3129
3130         * cursor.[Ch] (reset): take main text inset as argument
3131
3132         * BufferView: adjust
3133         * BufferView_pimpl.C: adjust
3134
3135         * paragraph.[Ch]: fix completely broken operator=()
3136
3137 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3138
3139         * LColor.C (getFromLyXName): make sure that the color name is used
3140         as lowercase.
3141
3142 2004-03-17  Angus Leeming  <leeming@lyx.org>
3143
3144         * lfuns.h:
3145         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3146
3147         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3148         dialog and to kill a forked process.
3149
3150 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3151
3152         * text2.C (setCursorFromCoordinates): fix font problem
3153
3154 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3155
3156         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3157         bogus "rebuild cursor" code
3158
3159 2004-03-11  André Pönitz  <poenitz@gmx.net>
3160
3161         * buffer.[Ch]: use InsetText instead of LyXText as container for
3162         the main lyx text.
3163
3164         * dociterator.[Ch]: drop the BufferView * member which is not needed
3165         anymore after the change to buffer.C
3166
3167         * paragraph_funcs.C:
3168         * text.C:
3169         * text2.C:
3170         * BufferView.[Ch]:
3171         * BufferView_pimpl.[Ch]:
3172         * cursor.[Ch]:
3173         * cursor_slice.[Ch]: adjust
3174
3175         * text3.C: fix bug in mathDispatch
3176
3177 2004-03-08  André Pönitz  <poenitz@gmx.net>
3178
3179         * undo.[Ch]: use 'StableDocumentIterator' as base for
3180         the Undo struct.
3181
3182 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3183
3184         * LaTeXFeatures.C:
3185         * bufferparams.[Ch]: add jurabib support and param.
3186
3187         * LaTeX.C: add FIXME/comment.
3188
3189 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3190
3191         * buffer.C: increment file format to 230.
3192
3193 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3194
3195         * cursor.C (dispatch): avoid infinite loops
3196
3197 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3198
3199         * rowpainter.C (paintSelection): fix x coordinates
3200
3201 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3202
3203         * text.C (rowBreakPoint): fix breaking before displayed insets
3204
3205 2004-03-01  André Pönitz  <poenitz@gmx.net>
3206
3207         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3208
3209         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3210
3211         * Makefile.am:
3212         * BufferView.C:
3213         * BufferView_pimpl.C:
3214         * buffer.C:
3215         * lyxfind.C:
3216         * lyxfunc.C:
3217         * text.C:
3218         * text2.C:
3219         * text3.C: adjust
3220
3221 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3222
3223         * lyxtext.h:
3224         * text.C:
3225         * text2.C:
3226         * rowpainter.C:
3227         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3228         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3229
3230 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3231
3232         * Bidi.[Ch] (computeTables): const correctness
3233         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3234         fill_hfill, fill_label_hfill and x from Row
3235         * lyxtext.h: prepareToPrint returns a RowMetrics
3236         * rowPainter.C: adjust
3237         * text.C (prepareToPrint): use width, not textWidth. adjust
3238         (redoParagraphInternal, cursorX): adjust
3239         * text2.C (getColumnNearX): adjust
3240         (init): put a default value to the top LyXText::width
3241
3242 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3243
3244         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3245
3246 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3247
3248         * lyxtext.h: add FontIterator class
3249
3250         * text.C (FontIterator, operator*, operator->, operator++): add
3251         (rowBreakPoint, setRowWidth): adjust (fixing a
3252         rebreaking bug)
3253
3254 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3255
3256         * BufferView_pimpl.C (workAreaDispatch): allow also
3257         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3258
3259 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3260
3261         * text.C (rowBreakPoint): fix a bug showing with very large insets
3262
3263 2004-02-25  André Pönitz  <poenitz@gmx.net>
3264
3265         * text3.C:
3266         * cursor.[Ch]: move some mathed specific code to mathed
3267
3268 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3269
3270         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3271         use_tempdir in preferences
3272         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3273         tempfile creation
3274         * lyx_main.C: ensure that tempdir is valid
3275         * lyxlex.h: correct typo
3276         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3277         * paragraph.[Ch] (isMultiLingual): make const
3278         * cursor.[Ch] (openable): make const
3279
3280 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3281
3282         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3283
3284 2004-02-20  André Pönitz  <poenitz@gmx.net>
3285
3286         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3287
3288         * cursor.[Ch]: prepare for localized getStatus()
3289
3290         * lyxtext.h:
3291         * tabular.C:
3292         * text.C:
3293         * text2.C:
3294         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3295
3296 2004-02-20  André Pönitz  <poenitz@gmx.net>
3297
3298         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3299
3300 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3301
3302         * text2.C (setCursorFromCoordinates): switch to absolute coords
3303         (cursorUp): adjust
3304         (cursorDown): adjust
3305         * text3.C (dispatch): adjust
3306
3307 2004-02-16  André Pönitz  <poenitz@gmx.net>
3308
3309         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3310           insets/ChangeLog)
3311
3312         * cursor_slice.[Ch]: remove unneeded acessor function
3313
3314         * lyxtext.h: rename rtl() to isRTL()
3315
3316         * rowpainter.C:
3317         * tabular.C:
3318         * text.C:
3319         * text2.C:
3320         * text3.C: adjust
3321
3322 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3323
3324         * rowpainter.C (paintSelection): coord fix
3325
3326 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3327
3328         * Spacing.C: compile fix
3329
3330 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3331
3332         * cursor.C (dispatch): restore current_ before returning
3333
3334 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3335
3336         * text2.C (cursorUp, cursorDown): fix coords
3337         (moveUp): fix crash
3338
3339 2004-02-12  André Pönitz  <poenitz@gmx.net>
3340
3341         * lyxtext.h:
3342         * text.C:
3343         * text2.C:
3344         * text3.C: add LCursor & parameter to most cursor movement functions
3345           remove usage of LyXText::cursorRow() and cursorPar()
3346
3347         * cursor.[Ch]: add textRow() needed members
3348
3349         * BufferView.C:
3350         * BufferView_pimpl.C:
3351         * paragraph.[Ch]:
3352         * BufferView.C:
3353         * BufferView_pimpl.C: adjust
3354
3355 2004-02-11  André Pönitz  <poenitz@gmx.net>
3356
3357         * lyxfunc.C:
3358         * BufferView.[Ch]:
3359         * BufferView_pimpl.C: shift undo/redo handling
3360
3361         * cursor.[Ch]: fix mathed crash
3362
3363         * lyxfind.C:
3364         * lyxtext.h: move selectionAsText to LCursor
3365
3366         * output_latex.C:
3367         * paragraph.C:
3368         * text.C:
3369         * text2.C:
3370         * text3.C: adjust
3371
3372         * rowpainter.C: fix excessive drawing
3373
3374 2004-02-06  André Pönitz  <poenitz@gmx.net>
3375
3376         * BufferView.[Ch]:
3377         * BufferView_pimpl.[Ch]:
3378         * text3.C: move some text specific LFUN handling
3379
3380 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3381
3382         * text3.C (checkInsetHit): adjust coords
3383         * text2.C (getColumnNearX): adjust coords
3384         (edit): adjust coords
3385         * text.C (getRowNearY): add two asserts
3386
3387 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3388
3389         * converter.C:
3390         * format.C: add using std::distance to compile on gcc 2.95/stlport
3391
3392 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3393
3394         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3395
3396 2004-02-04  André Pönitz  <poenitz@gmx.net>
3397
3398         * BufferView.[Ch] (insertInset):
3399         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3400
3401         * text2.C:
3402         * text3.C: adjust
3403
3404 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3405
3406         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3407         on the default clause of the switch
3408         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3409         wasn't catched by LCursor::dispatch
3410
3411 2004-02-03  André Pönitz  <poenitz@gmx.net>
3412
3413         * BufferView.C:
3414         * cursor.[Ch]: some additional asserts
3415
3416         * undo.[Ch]: remove LyXText dependency in interface
3417
3418         * lyxfunc.C: adjust
3419
3420         * lyxtext.h (firstPar, lastPar): remove dead functions
3421
3422         * text.C:
3423         * text2.C:
3424         * text3.C:
3425         * paragraph.[Ch]: adjust
3426
3427 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3428
3429         * lyxfind.C (find): fix argument order in call to ::find
3430
3431 2004-02-02  André Pönitz  <poenitz@gmx.net>
3432
3433         * cursor.[Ch]: remove direct access to anchor
3434
3435         * text.C: remove findText() hack
3436
3437 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3438
3439         * iterators.[Ch] (lockPath): remove in favour of...
3440         * BufferView.[Ch] (setCursor): this addition
3441         * BufferView.C (putSelectionAt): adjust
3442         * undo.C (performUndoOrRedo): adjust
3443         * lyxfunc.C (dispatch): adjust
3444
3445 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3446
3447         * iterators.C (lockPath): add a missing slice
3448         * undo.C (performUndoOrRedo): remove redundant positioning code
3449
3450 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3451
3452         * vc-backend.C (scanMaster): ";" -> ';'
3453
3454 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3455
3456         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3457         std::binary_function
3458
3459         * lyxtextclass.C (compare_name): rename to...
3460         (LayoutNamesEqual): ...this
3461
3462         * lyxlex_pimpl.C (compare_tags): inherit from
3463         std::binary_function, put back into anon namespace
3464
3465         * lyxfind.C (MatchString): inherig from std::binary_function
3466         (findChange): use empty() istead of !size()
3467
3468         * format.C (FormatNamesEqual): new functor
3469         (getFormat): use it
3470         (getNumber): use it
3471         (add): use it
3472         (erase): use it
3473         (setViewer): use it
3474
3475         * converter.C (compare_Converter): rename to...
3476         (ConverterEqual): ...this, and fixup a bit.
3477         (getConverter): use it, and make function const
3478         (getNumber): use it, and make function const
3479         (add): use it
3480         (erase): use it:
3481
3482         * bufferlist.C: add using boost::bind
3483
3484         * MenuBackend.C (MenuNamesEqual): new functor
3485         (hasMenu): use it, and make function const
3486         (hasSubmenu): use nested bind to get rid of compare_memfun.
3487
3488 2004-01-30  André Pönitz  <poenitz@gmx.net>
3489
3490         * BufferView_pimpl.C:
3491         * cursor.C:
3492         * cursor.h:
3493         * cursor_slice.[Ch]:
3494         * lyxfunc.C:
3495         * lyxtext.h:
3496         * paragraph_funcs.C:
3497         * paragraph_funcs.h:
3498         * rowpainter.C:
3499         * text.C:
3500         * text2.C:
3501         * text3.C: move some of the edit(x,y) handling to the insets
3502         some coordinate changes.
3503
3504 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3505
3506         * text.C: add using statements for std::advance and std::distance
3507
3508         * paragraph.C: add using statement for std::distance
3509
3510         * lyxfind.C: add using statement for std::advance
3511
3512         * cursor.C (region): remove std:: from swap
3513         (openable): use nucleus in stead of operator->
3514
3515         * BufferView.C: add using statements for std::distance and std::swap
3516
3517 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3518
3519         * iterators.C: Remove the pimple, move the needed structures to
3520         the header file. Create accessor for the positions stack.
3521         (asPosIterator): remove function
3522
3523         * PosIterator.C (PosIterator): move constructors to top of file
3524         (PosIterator): reimplement the constructor taking a ParIterator in
3525         terms of setFrom.
3526         (setFrom): new function
3527         (operator!=): inline it
3528
3529 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3530
3531         * lyxfind.C (replaceAll): use std::advance
3532
3533         * iterators.h: inherit from std::iterator.
3534
3535         * PosIterator.C (advance, distance): remove
3536         * PosIterator.h: interit from std::iterator.
3537
3538 2004-01-26  André Pönitz  <poenitz@gmx.net>
3539
3540         * BufferView.[Ch]:
3541         * BufferView_pimpl.[Ch]:
3542         * InsetList.[Ch]:
3543         * PosIterator.[Ch]:
3544         * buffer.h:
3545         * bufferview_funcs.C:
3546         * cursor.[Ch]:
3547         * cursor_slice.h:
3548         * factory.[Ch]:
3549         * iterators.[Ch]:
3550         * lyxfind.C:
3551         * lyxfunc.C:
3552         * lyxtext.h:
3553         * output_docbook.C:
3554         * output_latex.C:
3555         * output_linuxdoc.C:
3556         * output_plaintext.C:
3557         * paragraph.[Ch]:
3558         * paragraph_funcs.[Ch]:
3559         * paragraph_pimpl.[Ch]:
3560         * rowpainter.C:
3561         * tabular.C:
3562         * tabular.h:
3563         * text.C:
3564         * text2.C:
3565         * text3.C: more IU:  dumps most of the rest of the mathcursor
3566     implementation into cursor.[Ch]; "globalize" a bit of it.
3567
3568 2004-01-25  Angus Leeming  <leeming@lyx.org>
3569
3570         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3571
3572 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3573
3574         * LaTeXFeatures.h: add nice_ and nice() const
3575         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3576
3577 2004-01-20  André Pönitz  <poenitz@gmx.net>
3578
3579         * BufferView.[Ch]:
3580         * BufferView_pimpl.C:
3581         * PosIterator.C:
3582         * bufferview_funcs.C:
3583         * cursor.[Ch]:
3584         * cursor_slice.[Ch]:
3585         * factory.C:
3586         * iterators.C:
3587         * lyx_cb.C:
3588         * lyxfind.C:
3589         * lyxfunc.C:
3590         * lyxtext.h:
3591         * rowpainter.C:
3592         * text.C:
3593         * text2.C:
3594         * text3.C:
3595         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3596           LCursor and mathcursor parts to LCursor and InsetBase.
3597
3598 2004-01-15  André Pönitz  <poenitz@gmx.net>
3599
3600         * cursor_slice.[Ch]: add a few covienience functions
3601
3602         * funcrequest.[Ch]: remove BufferView * member
3603
3604         * BufferView_pimpl.C:
3605         * cursor.C:
3606         * factory.[Ch]:
3607         * lyxfind.[Ch]:
3608         * lyxfunc.C:
3609         * lyxtext.h:
3610         * text3.C:
3611         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3612
3613 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3614
3615         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3616         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3617
3618 2004-01-13  André Pönitz  <poenitz@gmx.net>
3619
3620         * textcursor.[Ch]:
3621         * lyxtext.h: hide cursor and selection anchor behind accessor function
3622
3623         * BufferView.C:
3624         * BufferView_pimpl.[Ch]:
3625         * PosIterator.C:
3626         * bufferview_funcs.C:
3627         * cursor.h:
3628         * lyxfind.C:
3629         * lyxfunc.C:
3630         * text.C:
3631         * text2.C:
3632         * text3.C:
3633         * undo.C: adjust
3634
3635         * cursor.h:
3636         * cursor_slice.[Ch]: some integer type changes for inset unification
3637
3638         * lyxcursor.[hC]: remove, it's CursorSlice now.
3639
3640         * Makefile.am:
3641         * BufferView_pimpl.[Ch]:
3642         * bufferview_funcs.C:
3643         * cursor_slice.C:
3644         * lyxtext.h:
3645         * text.C:
3646         * text2.C:
3647         * text3.C:
3648         * textcursor.[Ch]: adjust
3649
3650 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3651
3652         * text2.C (undoSpan): add and use
3653         * text.C (breakParagraph): use undoSpan (fix bug 578)
3654         * lyxtext.h: adjust
3655
3656 2004-01-08  Angus Leeming  <leeming@lyx.org>
3657
3658         * BufferView_pimpl.C (MenuInsertLyXFile):
3659         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3660         * lyxfunc.C (menuNew, open, doImport):
3661         FileFilterList change to the FileDialog open and save functions.
3662
3663 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3664
3665         * ShareContainer.h: make isEqual and isUnique adaptable
3666
3667         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3668
3669 2004-01-07  Angus Leeming  <leeming@lyx.org>
3670
3671         * LyXAction.C:
3672         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3673
3674         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3675
3676         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3677         functions replacing find, replace and replaceAll.
3678
3679         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3680         LFUN_WORDFIND(FORWARD|BACKWARD).
3681
3682 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3683
3684         * text.C (breakParagraph): remove an outdated #warning
3685
3686 2004-01-07  André Pönitz  <poenitz@gmx.net>
3687
3688         * lyxfind.C: somewhat clearer logic
3689
3690         * text.C: prevent crash in cursorX on unitialized row cache
3691
3692 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3693
3694         * lyxcursor.[Ch] (operator>): add
3695         * textcursor.C (selStart, selEnd): use std::min and std::max
3696
3697 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3698
3699         * Chktex.C: include boost/format.hpp
3700
3701 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
3702
3703         * InsetList.C: replace functor MathcIt with adaptable functor
3704         InsetTablePosLess
3705         (insetIterator): modify accordingly
3706
3707         * BranchList.h: move the BranchNamesEqual functor here from...
3708         * BranchList.C: ... to here
3709
3710         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3711         SameName and match.
3712         (add): replace a finding loop with std::find_if.
3713
3714 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3715
3716         * output_docbook.C: moving LatexParam functionality into
3717         .layout files
3718
3719 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3720
3721         * buffer.C: increment format to 229.
3722
3723 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3724
3725         * LaTeXFeatures.C:
3726         * lyx_sty.[Ch]: remove minipageindent_def
3727
3728         * LyXAction.C:
3729         * factory.C:
3730         * lfuns.h:
3731         * lyxfunc.C:
3732         * text3.C: remove LFUN_INSET_MINIPAGE
3733
3734 2003-12-28  Angus Leeming  <leeming@lyx.org>
3735
3736         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3737
3738 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3739
3740         * text2.C (setParagraph): fix off-by-one crash
3741
3742 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3743
3744         * output_docbook.C: header stuff for AGU
3745
3746 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3747
3748         * text2.C (redoCursor): remove
3749         * text.C:
3750         * text3.C:
3751         * BufferView_pimpl.C: remove calls to redoCursor and
3752         setCursor(cursor.par(), cursor.pos()) all around
3753
3754 2003-12-15  Angus Leeming  <leeming@lyx.org>
3755
3756         * buffer.C: up the format to 228.
3757
3758 2003-12-15  André Pönitz  <poenitz@gmx.net>
3759
3760         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3761         slices
3762
3763         * Makefile.am:
3764
3765         * BufferView_pimpl.C:
3766         * cursor.[Ch]:
3767         * lyxcursor.[Ch]:
3768         * rowpainter.[Ch]:
3769         * lyxtext.h:
3770         * text.C:
3771         * text2.C:
3772         * text3.C: adjust
3773
3774 2003-12-15  Angus Leeming  <leeming@lyx.org>
3775
3776         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3777         than getFromGUIName to manipulate the color.
3778
3779 2003-12-14  Angus Leeming  <leeming@lyx.org>
3780
3781         * BranchList.[Ch]: minimize the API.
3782         (Branch::getBranch, getColor): now return a 'const &'.
3783         (Branch::setSelected) now returns a bool set to true if the
3784         selection status changes.
3785         (BranchList::clear, size, getColor, setColor, setSelected,
3786         allBranches, allSelected, separator): removed.
3787         (BranchList::find): new functions, returning the Branch with
3788         the given name.
3789         (BranchList::add, remove): return a bool indicating that
3790         the operation was successful.
3791
3792         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3793         new InsetBranch::isBranchSlected member function.
3794
3795         * LColor.[Ch]: mimimize the API.
3796         (fill): renamed as addColor and made private.
3797         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3798         versions of these functions taking a string arg have been removed.
3799
3800         * bufferparams.C (readToken):
3801         * lyxfunc.C (dispatch):
3802         * lyxrc.C (read): changes due to the altered BranchList and
3803         LColor APIs.
3804
3805         * factory.C (createInset, readInset): changes due to altered
3806         InsetBranch c-tor.
3807
3808 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3809
3810         * factory.C:
3811         * lyxfunc.C: remove insetminipage. "minipage-insert"
3812         now produces a frameless minipage box inset.
3813
3814 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3815
3816         * textcursor.[Ch] (selStart,selEnd): add new methods
3817         remove selection::start, end, use LyXCursor::operator<
3818         * lyxcursor.[Ch] (operator<): add
3819         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3820         * BufferView.[Ch] (unsetXSel): add
3821         * text2.C (clearSelection): use unsetXSel,adjust
3822         * text.C: adjust
3823         * text3.C: adjust
3824         * rowpainter.C: adjust
3825         * bufferview_funcs.C (put_selection_at): adjust
3826
3827 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3828
3829         * BufferView_pimpl.C: small coord. correction
3830
3831 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3832
3833         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3834         dragging over the splash screen.
3835
3836 2003-12-11  Angus Leeming  <leeming@lyx.org>
3837
3838         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3839         as it is now handled in LyXText::dispatch.
3840
3841         * text3.C (doInsertInset): remove a level of nesting.
3842
3843 2003-12-11  Angus Leeming  <leeming@lyx.org>
3844
3845         * factory.C (createInset): changes due to the changed interface to
3846         InsetCommandMailer::string2params.
3847
3848 2003-12-10  Angus Leeming  <leeming@lyx.org>
3849
3850         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3851         'dialog-show-new-inset <inset name>'
3852
3853 2003-12-10  Angus Leeming  <leeming@lyx.org>
3854
3855         * buffer.C: up the format to 227.
3856
3857         * factory.C: the box inset is now identified simply by 'Box'.
3858
3859 2003-12-10  Angus Leeming  <leeming@lyx.org>
3860
3861         * buffer.C: up the format to 226.
3862
3863         * factory.C: the note inset is now identified simply by 'Note'.
3864
3865 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3866
3867         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3868         when a pit is enough. Standarize a couple of loops.
3869
3870 2003-12-05  Angus Leeming  <leeming@lyx.org>
3871
3872         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3873         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3874         data to the re-worked "log" dialog.
3875
3876 2003-12-03  André Pönitz  <poenitz@gmx.net>
3877
3878         * PosIterator.C:
3879         * iterators.C:
3880         * lyxtext.h:
3881         * output_latex.C:
3882         * paragraph_funcs.C:
3883         * text.C:
3884         * text2.C: use Inset::getText instead of Inset::getParagraph
3885
3886 2003-12-03  André Pönitz  <poenitz@gmx.net>
3887
3888         * buffer.[Ch]:
3889         * lyxtext.h:
3890         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3891         InsetText::read() as LyXText::read()
3892
3893 2003-12-02  Angus Leeming  <leeming@lyx.org>
3894
3895         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3896         type. Add a comment in the implementation that the function uses
3897         the stream's bad() function rather than fail() as the std::streams
3898         would do.
3899
3900 2003-12-02  André Pönitz  <poenitz@gmx.net>
3901
3902         * lyxlex.[Ch]: make interface more similar to std::stream
3903
3904         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3905
3906 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3907
3908         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3909
3910 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3911
3912         * vspace.[Ch]: remove VSpace::NONE
3913
3914 2003-12-01  André Pönitz  <poenitz@gmx.net>
3915
3916         * buffer.[Ch]:
3917         * lyxtext.h: move ParagraphList member to LyXText
3918         rename LyXText::ownerParagraphs to LyXText::paragraph
3919
3920         * CutAndPaste.C:
3921         * bufferview_funcs.C:
3922         * iterators.[Ch]:
3923         * lyx_cb.C:
3924         * paragraph.C:
3925         * rowpainter.C:
3926         * tabular.C:
3927         * text.C:
3928         * text2.C:
3929         * text3.C: adjust
3930
3931         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3932
3933         * undo.C: fix cursor positioning
3934
3935 2003-12-01  John Levon  <levon@movementarian.org>
3936
3937         * BufferView_pimpl.C: fix a crash on exit with
3938         a buffer open
3939
3940 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3941
3942         * BranchList.C: fix setSelected() method.
3943
3944 2003-11-28  André Pönitz  <poenitz@gmx.net>
3945
3946         * ParagraphParameters.[Ch]:
3947         * ParameterStruct.h: remove space above/below from Paragraph to
3948          InsetVSpace
3949
3950         * BufferView_pimpl.C:
3951         * factory.C:
3952         * lyxfunc.C:
3953         * lyxtext.h:
3954         * output_latex.C:
3955         * paragraph.C:
3956         * paragraph_funcs.C:
3957         * rowpainter.[Ch]:
3958         * text.C:
3959         * text2.C:
3960         * text3.C: adjust
3961
3962 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3963
3964         * factory.C: Syntax change for CharStyles
3965
3966 2003-11-28  André Pönitz  <poenitz@gmx.net>
3967
3968         * BufferView.[Ch]:
3969         * BufferView.[Ch]:
3970         * buffer.[Ch]:
3971         * buffer.[Ch]: move LyXText member
3972
3973 2003-11-28  André Pönitz  <poenitz@gmx.net>
3974
3975         * BufferView.[Ch]: make LyXText * text a private member
3976
3977         * BufferView_pimpl.C:
3978         * cursor.C:
3979         * iterators.C:
3980         * lyx_cb.C:
3981         * lyxfind.C:
3982         * lyxtext.h:
3983         * rowpainter.[Ch]:
3984         * text.C:
3985         * text2.C:
3986         * undo.C: adjust
3987
3988         * output_plaintext.C: cleanup
3989
3990 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3991
3992         * buffer.C:
3993         * lyxtextclass.[Ch]: parametrize SGML document header
3994
3995 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3996
3997         * converter.[Ch]:
3998         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3999         getFlavor().
4000
4001 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4002
4003         * text2.C (setFont): rework using PosIterator (no more recursive)
4004         (setCharFont): no more needed
4005         (setLayout): no more selection cursors fiddling (done by redoCursor)
4006         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4007         destroy remaining ones)
4008
4009 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4010
4011         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4012         * lyxtext.h: ditto
4013         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4014         selection cursors
4015         * lyxfunc.C: adjust
4016         * text3.C: adjust + re-allow multi par depth changes
4017         * textcursor.C: simplify a bit
4018
4019 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4020
4021         * src/buffer.C:
4022         * src/lyxlayout.C:
4023         * src/lyxlayout.h:
4024         * src/lyxtext.h:
4025         * src/output_docbook.C:
4026         * src/output_latex.C:
4027         * src/paragraph.C:
4028         * src/paragraph.h:
4029         * src/sgml.C:
4030         * src/sgml.h:
4031         * src/text2.C: Introducing a number of tags parametrizing various
4032         XML formats that we may want to support
4033
4034 2003-11-25  André Pönitz  <poenitz@gmx.net>
4035
4036         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4037
4038         * lyxtext.h (leftMargin/rightMargin): simplify interface
4039
4040         * rowpainter.C:
4041         * text.C:
4042         * text2.C:
4043         * text3.C: adjust
4044
4045 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4046
4047         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4048         master file to any child files. Fixes bug 546.
4049
4050 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4051
4052         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4053
4054 2003-11-24  André Pönitz  <poenitz@gmx.net>
4055
4056         * rowpainter.C: simplification
4057
4058         * text2.C (updateCounters): remove call to redoParagraph on
4059         changed labels as this is far too expensive.
4060
4061 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4062
4063         * converter.C (convert): fix a crash: this function gets
4064         called with buffer == 0 from importer code.
4065
4066 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4067
4068         * text3.C (cursorPrevious): make sure that we do not compare
4069         iterators form different containers.
4070         (cursorNext): ditto
4071
4072         * rowpainter.C (paintSelection): make sure that we do not compare
4073         iterators from different containers.
4074
4075         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4076         iterators from different ParagraphList containers.
4077         [NEXT] ditto
4078
4079         * text2.C (LyXText): change order of initialization slightly
4080         (operator=): new function. copy all variables except cache_par_
4081         (moveUp): make sure that we do not compare iterators from
4082         different ParagraphList constainers.
4083         (moveDown): ditto
4084
4085         * text.C (firstPar): new function
4086         (lastPar): new function
4087         (endPar): new function
4088
4089         * lyxtext.h: move things around and group public functions, public
4090         variables, private functions, private variables
4091
4092 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4093
4094         * factory.C: change call to InsetERT constructor to avoid
4095         additional invocation of method status
4096         * text2.C (toggleInset): remove redundant update() call
4097         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4098         instead of a Bufferview pointer
4099
4100 2003-11-21  André Pönitz  <poenitz@gmx.net>
4101
4102         * rowpainter.C: simplification
4103
4104 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4105
4106         * text3.C (dispatch): make possible to extend a word/row selection
4107         with the mouse
4108
4109 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4110
4111         * lyxtext.h: x0_,y0_ -> xo_,yo_
4112         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4113         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4114         * rowpainter.C (paintRows): paint full paragraphs
4115
4116 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4117
4118         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4119         screen coordinates)
4120
4121 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4122
4123         * lyxtext.h: add x0_, y0_
4124         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4125         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4126
4127 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4128
4129         * text2.C (setCursorIntern): move the x_target update here *
4130         * text3.C: change some bv() to true/false in calls to
4131         cursorUp/Down/Right/Left
4132         * cursor.C: use helper function.
4133
4134 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4135
4136         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4137         * paragraph_funcs.[Ch]: correct comment
4138         * rowpainter.C: do not paint selections away from bv->cursor()
4139         Fix a long standing selection painting bug.
4140         * text3.C: generalize mouse-selection code to LyXTexts other that
4141         top one
4142         * textcursor.C: do not use y coords if we can use par offsets
4143
4144 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4145
4146         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4147         cursor position after e.g. inset insert)
4148
4149 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4150
4151         * lyxfind.C (replace): adjust to locking removal + some
4152         code simplification
4153
4154 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4155
4156         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4157         of the path
4158
4159 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4160
4161         * lyxlayout.[Ch]:
4162         * output_docbook.C: XML sanitation: new layout
4163         parameters InnerTag and CommandDepth
4164
4165 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4166
4167         * BufferView_pimpl.C:
4168         * factory.C:
4169         * text3.C: Fix the insertion and modification of button-style
4170         insets
4171
4172 2003-11-13  André Pönitz  <poenitz@gmx.net>
4173
4174         * InsetList.[Ch]: remove deleteLyXText
4175
4176         * paragraph.[Ch]: cache beginOfBody position
4177
4178         * Bidi.C:
4179         * text.C:
4180         * text2.C:
4181         * text3.C: remove superfluous update() calls
4182
4183         * vspace.C: cleanup
4184
4185 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4186
4187         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4188         * BufferView.C (fitLockedInsetCursor): remove
4189         * cursor.[Ch] (getDim): add
4190         * text.C (getRowNearY): add faster version
4191         * text3.C: remove some update calls
4192
4193 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4194
4195         * LaTeXFeatures.C:
4196         * LyXAction.C:
4197         * MenuBackend.C:
4198         * MenuBackend.h:
4199         * dispatchresult.h:
4200         * factory.C:
4201         * lfuns.h:
4202         * lyxfunc.C:
4203         * lyxtextclass.C:
4204         * lyxtextclass.h:
4205         * text3.C: The Character Style /XML short element patch.
4206
4207 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4208
4209         * text3.C:
4210         * factory.C: Small step to solving 'unable to insert some insets'
4211         problem
4212
4213 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4214
4215         * cursor.[Ch] (updatePos): new function for updating the y
4216         position of the tip inset
4217         * bufferview_funcs.C (put_selection_at):
4218         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4219
4220 2003-11-11  André Pönitz  <poenitz@gmx.net>
4221
4222         * text.C: remove big comment on invalid Paragraph pointers as it is
4223         not valid anymore
4224
4225 2003-11-11  André Pönitz  <poenitz@gmx.net>
4226
4227         * text_funcs.[Ch]: merge with ...
4228
4229         * text.C: ... this
4230
4231         * lyxtext.h:
4232         * text2.C:
4233         * text3.C: adjust
4234
4235         * Makefile.am: remove text_funcs.[Ch]
4236
4237 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4238
4239         * cursor.C (getPos): return absolute cached y coord
4240
4241         * BufferView_pimpl.C (fitCursor): new simplistic code
4242         (workAreaDispatch): add a fitCursor call
4243
4244 2003-11-10  André Pönitz  <poenitz@gmx.net>
4245
4246         * BufferView.[Ch]:
4247         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4248
4249 2003-11-10  André Pönitz  <poenitz@gmx.net>
4250
4251         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4252         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4253         indicate that the cursor needs to leave an inset
4254
4255         * lyxtext.h: remove inset locking
4256
4257         * cursor.[Ch]: re-implement functionality provided by inset locking
4258
4259         * BufferView.[Ch]:
4260         * BufferView_pimpl.[Ch]:
4261         * LyXAction.C:
4262         * bufferview_funcs.[Ch]:
4263         * factory.C:
4264         * funcrequest.[Ch]:
4265         * iterators.C:
4266         * lyx_cb.C:
4267         * lyxfind.C:
4268         * lyxfunc.C:
4269         * text.C:
4270         * text2.C:
4271         * text3.C:
4272         * undo.C: adjust
4273
4274 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4275
4276         * PosIterator.[Ch]: replace the stack with a vector, add inset
4277         accesor
4278         * iterators.[C]: adjust
4279
4280 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4281
4282         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4283         replaced
4284         * paragraph_funcs.C (readParToken): put the correct id in the
4285         error item, not the id of the top paragraph
4286
4287 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4288
4289         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4290         * bufferview_funcs.C (put_selection_at): use the above
4291
4292 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4293
4294         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4295
4296 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4297
4298         * output_linuxdoc.h:
4299         * output_plaintext.h:
4300         * output.h:
4301         * output_docbook.h: add #include statements
4302
4303 2003-11-05  José Matos  <jamatos@lyx.org>
4304
4305         * output_docbook.[Ch]:
4306         * output_latex.[Ch]:
4307         * output_linuxdoc.[Ch]:
4308         * output_plaintext.[Ch]: New files for output formats.
4309         * output.[Ch]: New file for helper functions.
4310
4311         * buffer.[Ch]:
4312         * paragraph_funcs.[Ch]: output functions moved to new files.
4313
4314         * outputparams.h: rename of latexrunparams.h
4315
4316         * LaTeX.[Ch]:
4317         * buffer.[Ch]:
4318         * bufferlist.[Ch]:
4319         * converter.[Ch]:
4320         * exporter.C:
4321         * paragraph.[Ch]:
4322         * paragraph_funcs.[Ch]:
4323         * paragraph_pimpl.[Ch]:
4324         * tabular.[Ch]: rename ascii to plaintext
4325         and LatexRunParams to OutputParams.
4326
4327 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4328
4329         * iterators.[Ch] (text): require bv argument
4330         * undo.C (recordUndo):
4331         * lyxfunc.C (dispatch):
4332         * bufferview_funcs.C (put_selection_at): adjust
4333
4334 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
4335
4336         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4337
4338 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4339
4340         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4341         nestings
4342
4343 2003-11-04  André Pönitz  <poenitz@gmx.net>
4344
4345         * cursor.[Ch]: restructure
4346
4347         * BufferView.[Ch]:
4348         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4349
4350         * iterators.[Ch] (asCursor): remove
4351
4352         * lfuns.h: remove LFUN_INSET_EDIT
4353
4354         * lyxfunc.C:
4355         * tabular.C:
4356         * text.C:
4357         * text2.C:
4358         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4359
4360 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4361
4362         * lyxfind.[Ch]: complete overhaul
4363         * BufferView_pimpl.C:
4364         * lyxfunc.C: adjust
4365         * paragraph.[Ch] (insert): add
4366
4367 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4368
4369         * BufferView.[Ch]:
4370         * lyxtext.h:
4371         * text.C: remove dead spellcheck code
4372
4373 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4374
4375         * dispatchresult.h: add a val setter
4376
4377         * cursor.C (dispatch): use a tempvar for data_[i]
4378
4379 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4380
4381         * PosIterator.[Ch]: compile fix
4382
4383 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4384
4385         * text.C (cursorPar): deactivate the cursor cache
4386
4387 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4388
4389         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4390
4391 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4392
4393         * text3.C (dispatch): adjust for new DisptchResult semantics.
4394
4395         * lyxfunc.C (dispatch): handle update when return from
4396         Cursor::dispatch, adjust for new DispatchResult semantics.
4397
4398         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4399         DispatchResult(true) mean to not update. Add class functions for
4400         setting dispatched and update, as well as reading.
4401
4402         * cursor.C (dispatch): don't handle update here
4403
4404 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4405
4406         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4407         * trans_mgr.C: adjust
4408
4409         * paragraph_funcs.C (readParToken): exception safety
4410
4411         * lyxvc.h: store the vcs pointer in a scoped_ptr
4412         * lyxvc.C: adjust
4413
4414         * lyxsocket.C (serverCallback): exception safety
4415
4416         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4417
4418         * ispell.C (clone): make it return a auto_ptr
4419
4420         * factory.C (createInset): exception safety
4421         (readInset): exception safety
4422
4423         * bufferlist.C (newBuffer): exception safety
4424
4425         * Thesaurus.C (Thesaurus): use initialization for aik_
4426
4427         * MenuBackend.C (expandToc): exception safety.
4428
4429 2003-11-03  André Pönitz  <poenitz@gmx.net>
4430
4431         * buffer.C:
4432         * buffer.h:
4433         * bufferview_funcs.C: remove getInsetFromId()
4434
4435         * lyxcursor.[Ch]:
4436         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4437
4438         * lyxfunc.C:
4439         * text2.C:
4440         * text3.C: adjust
4441
4442 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4443
4444         * PosIterator.C (distance, advance): new
4445         * bufferview_funcs.[Ch] (put_selection_at): new
4446         * iterators.[Ch] (lockPath): new
4447
4448 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4449
4450         * iterators.[Ch] (asPosIterator): added
4451         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4452         * PosIterator.[Ch]: added
4453
4454 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4455
4456         * text3.C:
4457         * lyxfunc.C:
4458         * cursor.C (dispatch):
4459         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4460
4461         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4462         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4463         contructor, add a class function dispatched. Remove operator>=
4464
4465 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4466
4467         * debug.C: only use the default constructor for debugstream
4468         (lyxerr) here.
4469
4470         * main.C (main): include debug.h and setup the lyxerr streambuf
4471         here.
4472
4473 2003-10-31  José Matos  <jamatos@lyx.org>
4474
4475         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4476
4477         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4478         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4479         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4480         * paragraph_pimpl.C (simpleTeXSpecialC):
4481         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4482         add LatexRunParams argument.
4483
4484         * exporter.C (Export): change call accordingly.
4485
4486         * latexrunparams.h: add new member to take care of the other backends.
4487 2003-10-30  José Matos  <jamatos@lyx.org>
4488
4489         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4490         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4491         factorise code for paragraph output.
4492         * buffer.[Ch]:
4493         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4494         move functions.
4495
4496 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4497
4498         * text3.C (dispatch):
4499         * lyxfunc.C (dispatch):
4500         * cursor.C (dispatch):
4501         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4502
4503         * dispatchresult.h: make the dispatch_result_t ctor explicit
4504
4505 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4506
4507         * sgml.[Ch]:
4508         * buffer.C: small refactoring of docbook stuff
4509
4510 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4511
4512         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4513         meaning.
4514
4515 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4516
4517         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4518         operator dispatch_result_t, and operators for == != and >=
4519
4520         * cursor.C (dispatch): adjust for operator dispatch_result_t
4521         removal. comment out call to update
4522
4523         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4524
4525 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4526
4527         * text3.C:
4528         * text2.C:
4529         * text.C:
4530         * lyxtext.h:
4531         * lyxfunc.C:
4532         * cursor.C:
4533         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4534         (dispatch):
4535
4536         * dispatchresult.h: new file, DispatchResult broken out of
4537         insets/insetbase.h
4538
4539         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4540
4541 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4542
4543         * text.C (rowBreakPoint): put a hack inside #if 0
4544
4545 2003-10-28  André Pönitz  <poenitz@gmx.net>
4546
4547         * lyxtext.h:
4548         * metricsinfo.C:
4549         * paragraph_funcs.C:
4550         * rowpainter.C:
4551         * text.C:
4552         * text2.C: general cleanup (lots of small stuff)
4553
4554 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4555
4556         * text2.C (cursorEnd): simple fix to the "end key goes to one
4557         before the end on last row" bug
4558
4559 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4560
4561         * text.C (backspace): fix the "zombie characters"
4562
4563 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4564
4565         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4566
4567 2003-10-27  André Pönitz  <poenitz@gmx.net>
4568
4569         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4570
4571         * factory.C: handle new InsetPagebreak, InsetLine
4572
4573         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4574         and move handling into new InsetPagebreak, InsetLine
4575
4576         * BufferView_pimpl.C:
4577         * LyXAction.C:
4578         * ParagraphParameters.C:
4579         * ParameterStruct.h:
4580         * lyxfunc.C:
4581         * lyxtext.h:
4582         * paragraph.C:
4583         * paragraph.h:
4584         * paragraph_funcs.C:
4585         * paragraph_pimpl.C:
4586         * rowpainter.C:
4587         * text.C:
4588         * text2.C:
4589         * text3.C: adjust
4590
4591 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4592
4593         * text.C:
4594         * lyxrow_funcs.[Ch]:
4595         * Bidi.C:
4596         * paragraph.C:
4597         * lyxtext.h:
4598         * rowpainter.C:
4599         * text2.C:
4600         * text3.C: remove lastPos uses in favour of Row::endpos
4601
4602 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4603
4604         * undo.C (performUndoOrRedo): fix two crashes by setting a
4605         cursor by hand and reordering some calls. Use bv->lockInset instead
4606         of inset->edit because the latter loses cursor information
4607
4608 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4609
4610         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4611         by Martin
4612         (rowBreakPoint): fix width. change point to point + 1.
4613         Add a missing check.
4614
4615 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4616
4617         * MenuBackend.C:
4618         * lyxfunc.C: fix (at least partly) the problems
4619         with the Nav menu and headers inside branch insets
4620         reported by Kayvan
4621
4622 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4623
4624         * paragraph.C (getChar): add strong asserts
4625
4626         * lyxrow_funcs.C (lastPos): remove hideous hack
4627
4628         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4629         (fill): adjust to that (avoid an infinite loop)
4630
4631 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4632
4633         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4634
4635 2003-10-23  André Pönitz  <poenitz@gmx.net>
4636
4637         * RowList_fwd.h: change list<> to vector<> to gain speed
4638         after suggestion from Alfredo
4639
4640 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4641
4642         * lyxtext.h: move the bidi stuff from here...
4643         * text.C: and here
4644         * text2.C: and here
4645         * Bidi.[Ch]: ... to here
4646
4647 2003-10-23  André Pönitz  <poenitz@gmx.net>
4648
4649         * lyxtext.h:
4650         * text.C (isLastRow, isFirstRow): new functions
4651
4652         * paragraph.h: new width cache member
4653
4654         * rowpainter.C: replace RowList::iterator with Row & where possible
4655
4656         * lyxfunc.C: replace several view()->text with a single call
4657
4658         * toc.C: fix 'unused' warning
4659
4660 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4661
4662         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4663         when woring with stream::pos_type
4664         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4665
4666 2003-10-22  André Pönitz  <poenitz@gmx.net>
4667
4668         * lyxtext.h:
4669         * text.C: use Row & instead of RowList::iterator
4670
4671         * lyxrow.h: rename end() to endpos()
4672
4673         * rowpainter.C:
4674         * text.C:
4675         * text2.C: adjust
4676
4677 2003-10-22  Angus Leeming  <leeming@lyx.org>
4678
4679         * buffer.[Ch] (fully_loaded): new member function, returning true
4680         only when the file has been loaded fully.
4681         Used to prevent the premature generation of previews and by the
4682         citation inset to prevent computation of the natbib-style label.
4683
4684         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4685         templates are all set up.
4686
4687         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4688
4689 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4690
4691         * text.C: fixed an "oops" in the "is a bit silly"
4692         bug fix
4693
4694 2003-10-21  André Pönitz  <poenitz@gmx.net>
4695
4696         * FuncStatus.[Ch]: small stuff, whitespace
4697
4698         * lyxfont.[Ch]: operator<<() for debug reasons
4699
4700         * lyxfunc.C:
4701         * lyxrow_funcs.C:
4702         * lyxtext.h: whitespace, spelling
4703
4704         * paragraph.C: naming of variables
4705
4706         * text.C:
4707         * text2.C: small stuff
4708
4709
4710 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4711
4712         * text.C: (1) finish off the inset display() work;
4713         (2) fix the "is a bit silly" bug (accessing char
4714         past end of par).
4715
4716 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4717
4718         * text.C: re-introduce display() for insets, fixing the
4719         various bugs (stretch of line above, math inset
4720         positioning, ...)
4721
4722 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4723
4724         * text.C (rightMargin): remove spurious semicolon
4725
4726         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4727         1415)
4728
4729 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4730
4731         * text3.C: fix one crash due to wrong cursor def
4732
4733 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4734
4735         * vc-backend.C (scanMaster): make the regex static
4736
4737         * LaTeX.C (scanAuxFile): make the regexs static
4738
4739         * text3.C (doInsertInset, dispatch, dispatch):
4740         * text2.C (cursorUp, cursorDown):
4741         * text.C (selectNextWordToSpellcheck):
4742         * BufferView_pimpl.C (dispatch):
4743         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4744
4745 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4746
4747         * lyxsocket.C: include <cerrno>
4748
4749 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4750
4751         * lyxfunc.C (dispatch): remove textcache stuff
4752
4753         * bufferlist.C (release): remove textcache stuff
4754         (closeAll): ditto
4755
4756         * TextCache.C: delete file
4757         * TextCache.h: delete file
4758
4759         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4760
4761         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4762         delete of the bv_->text.
4763         (resizeCurrentBuffer): remove texcache stuff
4764         (workAreaResize): ditto
4765
4766 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4767
4768         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4769         action.
4770
4771 2003-10-16  André Pönitz  <poenitz@gmx.net>
4772
4773         * lyxrow.[Ch]:
4774         * paragraph.h:
4775         * rowpainter.C:
4776         * text.C:
4777         * text2.C:
4778         * text3.C: speed up by storing y positions per paragraph plus per-row
4779         offset instead of having a 'full' y position in the row.
4780
4781 2003-10-15  André Pönitz  <poenitz@gmx.net>
4782
4783         * iterators.[Ch]:
4784         * iterators.[Ch]:
4785         * undo.[Ch]: make undo aware of inner insets
4786
4787 2003-10-14  Angus Leeming  <leeming@lyx.org>
4788
4789         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4790         static member functions LyX::ref() and LyX::cref.
4791         (lastfiles): new accessor functions for the new lastfiles_ member var.
4792         (addLyXView, views_): add a new LyXView to the list of views_.
4793         (updateInset): loop over all LyXViews to call their own updateInset
4794         member function, returning a pointer to the Buffer owning the inset.
4795
4796         * BufferView_pimpl.C (loadLyXFile):
4797         * MenuBackend.C (expandLastfiles):
4798         * bufferlist.C (MenuWrite, QuitLyX):
4799         lastfiles is no longer a global variable.
4800         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4801
4802         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4803         static function. Access through LyX::cref().emergencyCleanup().
4804
4805 2003-10-14  André Pönitz  <poenitz@gmx.net>
4806
4807         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4808
4809         * undo.[Ch]: restoring part of 'undo in insets'
4810
4811         * Makefile.am:
4812         * undo_funcs.[Ch]: merge with undo.[Ch]
4813
4814         * tabular.C: small cleansing stuff
4815
4816 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4817
4818         * paragraph_funcs.C (readParToken): report unknown insets as error
4819         boxes. Use the outer paragraph as location (also for unknown
4820         tokens).
4821
4822         * factory.C (readInset): do not abort on reading an unknown inset.
4823         Eat it and return 0.
4824
4825 2003-10-13  Angus Leeming  <leeming@lyx.org>
4826
4827         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4828
4829         * lyxrc.C: displayTranslator is now a function,
4830         declared in GraphicsTypes.h.
4831
4832 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4833
4834         * format.C: new placeholder $$a to pass the socket address.
4835
4836         * bufferlist.[Ch]: new function getBufferFromTmp.
4837
4838         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4839           files in the temporary dir.
4840
4841 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4842
4843         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4844
4845         * Makefile.am: add lyxsocket.[Ch].
4846
4847         * lyx_main.C (error_handler): handle SIGPIPE.
4848
4849 2003-10-13  André Pönitz  <poenitz@gmx.net>
4850
4851         * BufferView_pimpl.C:
4852         * lyxtext.h:
4853         * text.C:
4854         * text2.C:
4855         * text3.C:
4856         * undo_funcs.[Ch]: use paroffset_type instead of
4857           ParagraphList::iterators to prevent multiple conversion
4858           (and get a more robust interface)
4859
4860 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4861
4862         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4863         * lyxtext.h: ditto
4864         * text3.C (dispatch): ditto
4865
4866 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4867
4868         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4869         move the onlyfile, use onlyfile instead of foundfile in a couple
4870         of places.
4871
4872         * DepTable.C (update): flush the error stream a bit more
4873
4874 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4875
4876         * lyxserver.C (callback): adjust
4877
4878         * lyxfunc.C (getStatus): add a missing brace in commented code
4879         (ensureBufferClean): reindent
4880         (dispatch): delete version taking a string
4881
4882 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4883
4884         * LaTeX.C (deplog): move found file handlig from here...
4885         (handleFoundFile): .. to new function here.
4886         (deplog): make sure to discover several files mentioned on the
4887         same log line.
4888
4889 2003-10-10  André Pönitz  <poenitz@gmx.net>
4890
4891         * lyxfunc.C:
4892         * lyxtext.h:
4893         * tabular.C:
4894         * text.C:
4895         * text2.C:
4896         * text3.C: fix some of the tabular crashes
4897
4898 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4899
4900         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4901
4902         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4903
4904 2003-10-09  André Pönitz  <poenitz@gmx.net>
4905
4906         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4907
4908         * BufferView.C:
4909         * BufferView_pimpl.C:
4910         * bufferview_funcs.C:
4911         * lyx_cb.C:
4912         * lyxcursor.C:
4913         * lyxfind.C:
4914         * lyxfunc.C:
4915         * lyxtext.h:
4916         * text.C:
4917         * text2.C:
4918         * text3.C:
4919         * text_funcs.[Ch]:
4920         * textcursor.[Ch]:
4921         * undo_funcs.C: adjust
4922
4923 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4924
4925         * text2.C (incrementItemDepth): new function, use a backtracking
4926         algorithm to discover the correct item depth.
4927         (resetEnumCounterIfNeeded): new function, use a backtracking
4928         algorithm to discover if counter reset is needed.
4929         (setCounter): use them. Simplify a bit. Add different labels for
4930         different item depths for itemize.
4931
4932         * paragraph.C (Paragraph): remove initialization of enumdepth
4933         (operator=): ditto
4934
4935         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4936         enumerate and itemize. Change the type of itemdepth to signed char.
4937
4938 2003-10-08  André Pönitz  <poenitz@gmx.net>
4939
4940         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4941           thing assignable.
4942         * text.C:
4943         * text2.C: adjust
4944
4945         * tabular.[Ch]: fix crash after 'row-insert'
4946
4947 2003-10-08  Angus Leeming  <leeming@lyx.org>
4948
4949         Fix doxygen warnings.
4950
4951         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4952         Remove CutAndPaste:: prefix from header file declaration.
4953
4954         * LColor.h (fill): remove LColor:: prefix from declaration.
4955
4956         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4957         use lyx::depth_type rather than Paragraph::depth_type so that
4958         header file and .C file match.
4959
4960         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4961
4962         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4963         * aspell.C: \file aspell_local.C -> \file aspell.C
4964         * gettext.C: \file gettext.C -> \file src/gettext.C
4965         * gettext.h: \file gettext.h -> \file src/gettext.h
4966         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4967         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4968         * text.C: \file text.C -> \file src/text.C
4969
4970         * toc.C: move comment so that doxygen is not confused.
4971
4972 2003-10-07  Angus Leeming  <leeming@lyx.org>
4973
4974         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4975
4976 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4977
4978         * aspell.C:
4979         * aspell_local.h: add forgotten std::string's.
4980
4981 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4982
4983         * LaTeXFeatures.C:
4984         * LyXAction.C:
4985         * factory.C:
4986         * lfuns.h:
4987         * lyxfunc.C:
4988         * text3.C: The Box patch. Fancybox support, minipage, parbox
4989
4990 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4991
4992         * CutAndPaste.h:
4993         * DepTable.h:
4994         * FloatList.h:
4995         * LaTeXFeatures.h:
4996         * ParagraphParameters.h:
4997         * TextCache.h:
4998         * Thesaurus.h:
4999         * bufferlist.h:
5000         * exporter.h:
5001         * importer.h:
5002         * lastfiles.h:
5003         * lyxfind.h:
5004         * lyxfont.h:
5005         * lyxlex.h:
5006         * lyxtextclasslist.h:
5007         * messages.h:
5008         * paragraph.h:
5009         * paragraph_pimpl.C:
5010         * textcursor.h: add <string> and other small fixes to make Lars'
5011         std::string patch compile with STLport.
5012
5013 2003-10-06  Angus Leeming  <leeming@lyx.org>
5014
5015         * LColor.h: Add missing #include <string>.
5016
5017 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5018
5019         * All most all file in all subdirs: Make <string> be the prefered
5020         way of getting to std::string, add using declarations.
5021
5022 2003-10-06  André Pönitz  <poenitz@gmx.net>
5023
5024         * metricsinfo.C: initialize LyXFont before changing attribute.
5025         (fixes the 'math in \emph is upright' bug)
5026
5027 2003-10-06  André Pönitz  <poenitz@gmx.net>
5028
5029         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5030
5031 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5032
5033         * graph.C:
5034         * paragraph_pimpl.C: Small fixes to build using STLport
5035
5036 2003-10-02  André Pönitz  <poenitz@gmx.net>
5037
5038         * lyxfunc.C:
5039         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5040
5041 2003-10-01  André Pönitz  <poenitz@gmx.net>
5042
5043         * factory.C: assert early
5044
5045 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5046
5047         * lyx_main.C: remove the global debug object
5048
5049         * debug.h: adjust for new debugstream
5050
5051         * debug.C: adjust for new debugstream and keep the global debug
5052         object here.
5053
5054 2003-09-22  Angus Leeming  <leeming@lyx.org>
5055
5056         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5057         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5058         an incomplete class LyXFont.
5059
5060 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5061
5062         * factory.C: bug fix in branches
5063
5064 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5065
5066         * lyxfunc.C (processKeySym): adjust
5067         (dispatch): adjust
5068         (dispatch): change arg name from ev to func, adjust
5069         (sendDispatchMessage): ditto
5070
5071         * lyx_main.C (defaultKeyBindings): adjust keybindings
5072         (deadKeyBindings): ditto
5073
5074         * kbsequence.C (addkey): return a FuncRequest
5075
5076         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5077
5078         * kbmap.C (bind): take a FuncRequest as arg, adjust
5079         (read): adjust
5080         (lookup): adjust
5081         (defkey): change to take a FuncRequest as arg, adjust
5082         (findbinding): take a FuncRequest as arg, adjust.
5083
5084         * funcrequest.h (operator=): added
5085
5086         * funcrequest.C (FuncRequest): default kb_action changed from
5087         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5088
5089         * buffer.C (dispatch): simplify
5090         (dispatch): adjust to take a FuncRequest as arg, adjust
5091
5092         * boost.C (assertion_failed): change assertion message slightly
5093
5094         * ToolbarBackend.C (read): simplify
5095
5096         * MenuBackend.C (binding): adjust call to findbinding, add a
5097         message if no binding is found.
5098         (read): simplify
5099         (expandToc): correct by adding a empty FuncRequest
5100
5101         * LyXAction.C: include <boost/assert.hpp>
5102         (isPseudoAction): delete function
5103         (LookupFunc): change name to...
5104         (lookupFunc): this. change return type to FuncRequest.
5105         (getActionName): take kb_action as arg, simplify
5106         (funcHasFlag): add an assert, simplify.
5107
5108 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5109
5110         * toc.C (action): return a FuncRequest, simplify
5111
5112         * lyxfunc.C (processKeySym): adjust
5113         (getStatus): delete version that takes an int.
5114         (getStatus): adjust
5115         (dispatch): delete version that takes action as int
5116         (dispatch): adjust
5117         (sendDispatchMessage): simplify and adjust
5118
5119         * funcrequest.C (getArg): take unsigned int as arg
5120
5121         * ToolbarBackend.C (read): adjust
5122         (add): delete version that takes func as a string.
5123         (getIton): take a FuncRequest as arg
5124
5125         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5126         action.
5127
5128         * MenuBackend.C (MenuItem): add a new construct that only takes a
5129         Kind, simplify the constructor use for submenus.
5130         (add): adjust
5131         (expandLastfiles): adjust
5132         (expandDocuments): adjust
5133         (expandFormats): adjust
5134         (expandFloatListInsert): adjust
5135         (expandFloatInsert): adjust
5136         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5137
5138         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5139         Remove class variables lyx_pseudo_map and lyx_arg_map
5140
5141         * LyXAction.C (searchActionArg): delete function
5142         (getPseudoAction): delete function
5143         (retrieveActionArg): delete function
5144         (LookupFunc): make it return kb_action, simplify.
5145         (getActionName): simplify
5146
5147         * factory.C (createInset): fix new bug
5148
5149 2003-09-19  Angus Leeming  <leeming@lyx.org>
5150
5151         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5152         masterFilename_ parameter in the include inset.
5153
5154         * factory.C (createInset): changes due to the changes to InsetInclude.
5155
5156 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5157
5158         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5159
5160 2003-09-18  Angus Leeming  <leeming@lyx.org>
5161
5162         * buffer.C:
5163         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5164         Inset::fillWithBibKeys.
5165         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5166
5167 2003-09-18  Angus Leeming  <leeming@lyx.org>
5168
5169         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5170         variables.
5171         (ctor): pass and store a 'Buffer const &'
5172         (buffer): new member function.
5173
5174         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5175         '*this' to the LaTeXFeatures ctor.
5176
5177 2003-09-18  Angus Leeming  <leeming@lyx.org>
5178
5179         * LColor.h:
5180         * lyxfont.C:
5181         * lyxfont.h:
5182         * lyxtext.h:
5183         * text.C: rename EnumLColor as LColor_color.
5184
5185 2003-09-18  Angus Leeming  <leeming@lyx.org>
5186
5187         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5188         remove #include "insets/insetbase.h" from cursor.h.
5189
5190 2003-09-18  Angus Leeming  <leeming@lyx.org>
5191
5192         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5193         InsetOld_code to remove #include "inset.h".
5194
5195         * iterators.C: add #include "insets/inset.h"
5196
5197 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5198
5199         * BufferView.C: remove more locking stuff that apparently doesn't
5200         do anything sensible.
5201
5202 2003-09-16  André Pönitz  <poenitz@gmx.net>
5203
5204         * paragraph.[Ch]:
5205         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5206           performance boost.
5207
5208 2003-09-16  Angus Leeming  <leeming@lyx.org>
5209
5210         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5211
5212         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5213         arg/return type.
5214
5215         * paragraph.h: remove #include "lyxfont.h". Forward declare
5216         LyXFont_size.
5217
5218 2003-09-16  Angus Leeming  <leeming@lyx.org>
5219
5220         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5221         of support/textutils.h.
5222         (isWord): move the contents of support/textutils.h's IsWordChar here.
5223
5224         * buffer.C:
5225         * lyxfind.C:
5226         * rowpainter.C:
5227         * text.C:
5228         * text2.C: add #include "paragraph.h".
5229
5230         * rowpainter.C:
5231         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5232
5233 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5234
5235         * main.C:
5236         * lyx_main.C:
5237         * lyx_cb.C:
5238         * buffer.C:
5239         * LaTeX.C: use namespace alias for lyx::support::os
5240
5241 2003-09-16  Angus Leeming  <leeming@lyx.org>
5242
5243         * bufferparams.C:
5244         * bufferview_funcs.C:
5245         * factory.C:
5246         * lyxfunc.C:
5247         * paragraph_pimpl.C:
5248         * rowpainter.C:
5249         * text.C: add #include "LColor.h".
5250
5251 2003-09-16  Angus Leeming  <leeming@lyx.org>
5252
5253         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5254         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5255         return LyXFont &.
5256         Store the FontBits::color variable as an int rather than as an
5257         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5258         file.
5259
5260         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5261         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5262         string calls together.
5263
5264         * lyxrc.C: add #include "LColor.h".
5265
5266 2003-09-15  Angus Leeming  <leeming@lyx.org>
5267
5268         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5269         a cow_ptr.
5270
5271 2003-09-15  Angus Leeming  <leeming@lyx.org>
5272
5273         * LColor.h: add an EnumLColor wrapper for LColor::color.
5274
5275         * lyxfont.[Ch] (color, setColor, realColor):
5276         * lyxtext.h, text.C (backgroundColor):
5277         pass EnumLColor args to/from the functions, rather than LColor::color
5278         ones.
5279
5280         * lyxfont.h:
5281         * lyxtext.h: forward declare EnumLColor.
5282
5283         * lyx_main.C: add #include "LColor.h".
5284
5285 2003-09-15  Angus Leeming  <leeming@lyx.org>
5286
5287         * .cvsignore: add lyx-gtk.
5288
5289 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5290
5291         * Chktex.C
5292         * LaTeX.C
5293         * LaTeXFeatures.C
5294         * ParagraphParameters.C
5295         * Spacing.C
5296         * buffer.C
5297         * bufferparams.C
5298         * bufferview_funcs.C
5299         * chset.C
5300         * counters.C
5301         * funcrequest.C
5302         * lyxfont.C
5303         * lyxgluelength.C
5304         * lyxlength.C
5305         * paragraph.C
5306         * paragraph_funcs.C
5307         * text3.C
5308         * vc-backend.C: remove usage of STRCONV
5309
5310 2003-09-15  Angus Leeming  <leeming@lyx.org>
5311
5312         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5313         explicitly define the color passed to the painter.
5314
5315 2003-09-15  Angus Leeming  <leeming@lyx.org>
5316
5317         * bufferparams.C (BufferParams): reorder member initializers to avoid
5318         compiler warning.
5319
5320 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5321
5322         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5323         * text.C (updateRowPositions): remove an unusual nop
5324
5325 2003-09-12  André Pönitz  <poenitz@gmx.net>
5326
5327         * BufferView_pimpl.C:
5328         * Bullet.C:
5329         * layout.h:
5330         * lyxfunc.C:
5331         * lyxlayout.[Ch]:
5332         * lyxtextclass.C:
5333         * rowpainter.C:
5334         * text.C:
5335         * text2.C:
5336         * Counters.[Ch]: finish the 'automatic counters' job
5337
5338 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5339
5340         * aspell.C: include <boost/assert.cpp> (compile fix)
5341
5342 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5343
5344         * boost.C (assertion_failed): use lyx::support::abort instead of
5345         assert.
5346
5347 2003-09-10  Angus Leeming  <leeming@lyx.org>
5348
5349         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5350         with their _fwd progeny.
5351
5352 2003-09-09  Angus Leeming  <leeming@lyx.org>
5353
5354         134 files throughtout the source tree: replace 'using namespace abc;'
5355         directives with the appropriate 'using abc::xyz;' declarations.
5356
5357 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5358
5359         * boost.C (emergencyCleanup): moved here from LAssert.c
5360         (assertion_failed): new function, called by BOOST_ASSERT
5361
5362         * several files: change Assert to BOOST_ASSERT
5363
5364 2003-09-09  Angus Leeming  <leeming@lyx.org>
5365
5366         * buffer.[Ch]: Add an Impl class and move Buffer's member
5367         variables into it. As a result move several header files out of
5368         buffer.h.
5369
5370         Add header files to lots of .C files all over the tree as a result.
5371
5372 2003-09-09  Angus Leeming  <leeming@lyx.org>
5373
5374         * buffer.[Ch]: make Buffer's member variables private. Add
5375         accessor functions.
5376
5377         Lots of changes all over the tree as a result.
5378
5379 2003-09-08  Angus Leeming  <leeming@lyx.org>
5380
5381         * graph.C: #include <config.h>.
5382
5383 2003-09-08  Angus Leeming  <leeming@lyx.org>
5384
5385         * BranchList.C:
5386         * BufferView.C:
5387         * BufferView_pimpl.C:
5388         * CutAndPaste.C:
5389         * DepTable.C:
5390         * LaTeX.C:
5391         * LaTeXFeatures.C:
5392         * LyXAction.C:
5393         * MenuBackend.C:
5394         * TextCache.C:
5395         * aspell.C:
5396         * buffer.C:
5397         * bufferlist.C:
5398         * changes.C:
5399         * chset.C:
5400         * converter.C:
5401         * counters.C:
5402         * debug.C:
5403         * graph.C:
5404         * ispell.C:
5405         * lyx_cb.C:
5406         * lyxfind.C:
5407         * lyxfunc.C:
5408         * lyxlex_pimpl.C:
5409         * lyxrc.C:
5410         * lyxrow.C:
5411         * paragraph.C:
5412         * rowpainter.C:
5413         * texrow.C:
5414         * text.C:
5415         * text2.C:
5416         * toc.C: remove redundant using directives.
5417
5418 2003-09-07  Angus Leeming  <leeming@lyx.org>
5419
5420         * LaTeXFeatures.h: remove #include "support/types.h".
5421         * ToolbarBackend.h: remove #include <algorithm>.
5422         * changes.h: remove #include <ctime>.
5423         * debug.h: remove #include <iosfwd>.
5424         * graph.h: remove #include "support/std_string.h".
5425         * lyx_main.h: remove #include <csignal>.
5426         * lyxlex_pimpl.h: remove #include <fstream>.
5427         * sgml.h: remove #include <algorithm>, <utility>.
5428         * toc.h: remove #include "support/std_ostream.h".
5429         Add #include <iosfwd>.
5430
5431 2003-09-07  Angus Leeming  <leeming@lyx.org>
5432
5433         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5434
5435         * converter.h: forward declare LatexRunParams.
5436         * encoding.h: remove #include "lyxrc.h".
5437         * lyxtext.h: remove #include "LColor.h".
5438         * lyxtextclass.h: remove #include "support/types.h".
5439         * trans.h: remove #include "tex-accent.h".
5440         * trans_mgr.h: remove #include "tex-accent.h".
5441         * insets/inset.h: remove #include "support/types.h", <vector>.
5442         * insets/insetcollapsable.h: remove #include "LColor.h".
5443         * insets/insetinclude.h: remove #include "dimension.h".
5444         * insets/insetlatexaccent.h: remove #include "dimension.h".
5445         * insets/insetoptarg.h:: remove #include "insettext.h".
5446         * insets/insettext.h: remove #include "dimension.h",
5447         <boost/shared_ptr.hpp>
5448
5449         * insets/renderers.h: add #include "dimension.h".
5450         * insets/updatableinset.h: add #include "support/types.h".
5451
5452         * many .C files: Associated changes.
5453
5454 2003-09-06  Angus Leeming  <leeming@lyx.org>
5455
5456         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5457         one, inside testInvariant.
5458
5459         * PrinterParams.C: new file.
5460         * PrinterParams.[Ch]: move the function bodies out of line.
5461
5462 2003-09-06  Angus Leeming  <leeming@lyx.org>
5463
5464         * ParagraphParameters.h: forward declare ParameterStruct rather than
5465         including its header file.
5466         (depth): moved out-of-line.
5467
5468 2003-09-06  Angus Leeming  <leeming@lyx.org>
5469
5470         * BufferView_pimpl.h:
5471         * kbmap.h:
5472         * kbsequence.h:
5473         * lyxfunc.h: forward declare LyXKeySym rather than
5474         #include "frontends/LyXKeySym.h".
5475
5476         * BufferView_pimpl.C:
5477         * kbmap.C:
5478         * kbsequence.C:
5479         * lyxfunc.C: associated changes.
5480
5481 2003-09-06  Angus Leeming  <leeming@lyx.org>
5482
5483         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5484         As a result, can remove the #include "insets/inset.h" from BufferView.h
5485
5486 2003-09-06  Angus Leeming  <leeming@lyx.org>
5487
5488         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5489         As a result, can remove the #include "insets/inset.h" from BufferView.h
5490
5491 2003-09-06  Angus Leeming  <leeming@lyx.org>
5492
5493         * buffer_funcs.C:
5494         * buffer.h:
5495         * bufferlist.C:
5496         * BufferView.C:
5497         * bufferview_funcs.C:
5498         * BufferView_pimpl.C:
5499         * CutAndPaste.C:
5500         * lyx_cb.C:
5501         * lyxfunc.C:
5502         * paragraph.h:
5503         * ParagraphParameters.C:
5504         * tabular.C:
5505         * text3.C:
5506         * toc.C:
5507         * undo_funcs.C:
5508         * frontends/controllers/ControlDocument.C:
5509         * insets/insetcaption.C: rearrange the #includes into some sort of
5510         coherent order.
5511
5512         * buffer.h: remove #includes ErrorList.h, undo.h
5513
5514 2003-09-06  Angus Leeming  <leeming@lyx.org>
5515
5516         * support/types.h: add a 'depth_type' typedef, used to store the
5517         nesting depth of a paragraph.
5518
5519         * paragraph.h:
5520         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5521         defining explicitly.
5522
5523         * buffer.h:
5524         * paragraph_funcs.h:
5525         * ParagraphParameters.h:
5526         * sgml.h: use lyx::depth_type rather than Paragraph or
5527         ParameterStruct's depth_type.
5528
5529         * buffer.h
5530         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5531
5532         * BufferView.C:
5533         * BufferView_pimpl.C:
5534         * CutAndPaste.C:
5535         * ParagraphParameters.C:
5536         * buffer_funcs.C:
5537         * bufferlist.C:
5538         * bufferview_funcs.C:
5539         * lyx_cb.C:
5540         * lyxfunc.C:
5541         * tabular.C:
5542         * text3.C:
5543         * toc.C:
5544         * undo_funcs.C:
5545         * frontends/LyXView.C:
5546         * frontends/controllers/ControlDocument.C:
5547         * frontends/controllers/ControlErrorList.C:
5548         * insets/insetbibitem.C:
5549         * insets/insetbranch.C:
5550         * insets/insetcaption.C:
5551         * insets/insetcollapsable.C:
5552         * insets/insetenv.C:
5553         * insets/insetert.C:
5554         * insets/insetfloat.C:
5555         * insets/insetfoot.C:
5556         * insets/insetfootlike.C:
5557         * insets/insetnewline.C:
5558         * insets/insetquotes.C:
5559         * insets/insettabular.C:
5560         * insets/insettext.C:
5561         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5562
5563         * frontends/controllers/ControlChanges.C: #include "changes.h".
5564
5565 2003-09-06  Angus Leeming  <leeming@lyx.org>
5566
5567         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5568         than #including paragraph.h.
5569
5570         * ParagraphList.h:
5571         * RowList.h: deleted. Superfluous.
5572
5573         * CutAndPaste.h:
5574         * iterators.h:
5575         * lyxcursor.h:
5576         * lyxtext.h:
5577         * text_funcs.h:
5578         * undo.h:
5579         * undo_funcs.h:
5580         * insets/inset.h:
5581         * insets/insettext.h: use ParagraphList_fwd.h rather than
5582         ParagraphList.h.
5583
5584         * paragraph.h: don't forward declare ParagraphList.
5585
5586         * buffer.h:
5587         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5588         rather than ParagraphList.h. paragraph.h is still needed for the
5589         Paragraph::depth_type parameters.
5590
5591         * textcursor.h: enable it to compile stand-alone in light of the
5592         above changes.
5593
5594         * bufferview_funcs.C:
5595         * iterators.C:
5596         * lyxfunc.C:
5597         * lyxrow_funcs.C:
5598         * paragraph.C:
5599         * rowpainter.C:
5600         * text.C:
5601         * text2.C:
5602         * text3.C:
5603         * text_funcs.C:
5604         * textcursor.C:
5605         * undo.C:
5606         * frontends/controllers/ControlParagraph.C:
5607         * frontends/controllers/ControlTabular.C:
5608         * insets/insetmarginal.C:
5609         * insets/insetminipage.C:
5610         * insets/insetnote.C:
5611         * insets/insetoptarg.C: add header files needed to compile again.
5612
5613 2003-09-06  Angus Leeming  <leeming@lyx.org>
5614
5615         * RowList_fwd.h: new file, forward-declaring Row rather than
5616         #including lyxrow.h.
5617
5618         * lyxrow_funcs.h:
5619         * lyxtext.h:
5620         * paragraph.h:
5621         * insets/insettext.h: use it instead of RowList.h
5622
5623         * bufferview_funcs.C:
5624         * lyxfunc.C:
5625         * lyxrow_funcs.C:
5626         * paragraph.C:
5627         * rowpainter.C:
5628         * text.C:
5629         * text2.C:
5630         * text3.C: #include "RowList.h".
5631
5632 2003-09-05  Angus Leeming  <leeming@lyx.org>
5633
5634         * factory.C (createInset):
5635         * vspace.C (c-tor): replace sscanf call with an istringstream.
5636         * ispell.C: re-add missing HP/UX headers.
5637         * lyxserver.C: re-add missing  os2 headers.
5638
5639 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5640
5641         * BranchList.C:
5642         * graph.C:
5643         * ispell.C:
5644         * lastfiles.C:
5645         * lyx_cb.C:
5646         * lyxserver.C:
5647         * texrow.C:
5648         * text3.C: re-add missing system headers, needed for 2.95.2.
5649
5650 2003-09-05  Angus Leeming  <leeming@lyx.org>
5651
5652         Changes most place everywhere due to the removal of using directives
5653         from support/std_sstream.h.
5654
5655 2003-09-05  Angus Leeming  <leeming@lyx.org>
5656
5657         Replace LString.h with support/std_string.h,
5658         Lsstream.h with support/std_sstream.h,
5659         support/LIstream.h with support/std_istream.h,
5660         support/LOstream.h with support/std_ostream.h.
5661
5662         Changes resulting throughout the tree.
5663
5664 2003-09-05  Angus Leeming  <leeming@lyx.org>
5665
5666         * sgml.h: ensure that the header file can be compiled stand-alone.
5667         * *.C: strip out redundant #includes. (320 in total.)
5668
5669 2003-09-04  Angus Leeming  <leeming@lyx.org>
5670
5671         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5672         here (from getPackages).
5673
5674         * debug.[Ch]: add a new EXTERNAL tag.
5675
5676 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5677
5678         * text2.C (cursorEnd): simplify
5679         (setCursor): adjust
5680         (getColumnNearX): adjust
5681
5682         * text.C (computeBidiTables): adjust
5683         (fill): adjust
5684
5685         * rowpainter.C (paintChars): adjust
5686         (paintSelection): adjust
5687         (paintChangeBar): adjust
5688         (paintText): adjust
5689
5690         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5691         lastPos instead.
5692         (numberOfSeparators): adjust
5693
5694 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5695
5696         * LyXAction.C:
5697         * box.[Ch]:
5698         * lfuns.h:
5699         * lyxfunc.C:
5700         * text3.C: Restricts the mouse click functionality
5701         of insets like bibtex, include, toc and floatlist to the visible
5702         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5703         up the dialogs. Cursor has to be in front of the inset (i.e.
5704         start of row) for this to function.
5705
5706 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5707
5708         * bufferview_funcs.C (currentState): output row information
5709
5710 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5711
5712         * bufferview_funcs.C (currentState): output paragraph position
5713
5714 2003-09-04  Angus Leeming  <leeming@lyx.org>
5715
5716         * FloatList.h: move out #include "Floating.h".
5717         * LaTeX.h: move out #include "DepTable.h".
5718         * LyXAction.h: move out #include "funcrequest.h".
5719         * buffer.h: move out #include "author.h", "iterators.h".
5720         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5721         * lyx_main.h: move out #include "errorlist.h".
5722         * lyxfunc.h: move out #include "FuncStatus.h".
5723         * lyxtext: move out #include "lyxcursor.h".
5724         * paragraph_pimpl.h: move out #include "counters.h".
5725
5726 2003-09-03  Angus Leeming  <leeming@lyx.org>
5727
5728         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5729         preamble_snippets list, enabling us to add snippets to the preamble
5730         only if the snippet was not there already.
5731
5732 2003-09-04  Angus Leeming  <leeming@lyx.org>
5733
5734         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5735
5736 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5737
5738         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5739         update
5740
5741 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5742
5743         * BranchList.C: point fix, earlier forgotten
5744
5745 2003-09-02  Angus Leeming  <leeming@lyx.org>
5746
5747         * box.C (contains): renamed from 'contained' after a fantastic
5748         amount of hot air.
5749
5750 2003-09-02  John Levon  <levon@movementarian.org>
5751
5752         * BufferView.C:
5753         * lyxcursor.h:
5754         * lyxcursor.C:
5755         * lyxfunc.C:
5756         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5757
5758 2003-09-02  John Levon  <levon@movementarian.org>
5759
5760         * text2.C: simplification of cursorEnd(), including partial
5761         fix for bug 1376
5762
5763 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5764
5765         * buffer.C (readFile): add a space
5766
5767 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5768
5769         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5770
5771 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5772
5773         * buffer.C (readFile): new function, take a filename and a
5774         ParagraphList::iterator
5775         (readFile): adjust
5776         (readFile): adjust, make it private. don't use setStream, make
5777         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5778         always contain the filename.
5779
5780         * BufferView.C (insertLyXFile): simplify and make it work for
5781         gzipped files.
5782
5783 2003-08-30  John Levon  <levon@movementarian.org>
5784
5785         * Makefile.am: fix dist (from Kayvan)
5786
5787 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5788
5789         * most files: change to use const Buffer refs
5790
5791 2003-08-27  André Pönitz  <poenitz@gmx.net>
5792
5793         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5794         on top of ownerPar().
5795
5796 2003-08-27  John Levon  <levon@movementarian.org>
5797
5798         * funcrequest.C: properly initialise POD members
5799
5800 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5801
5802         * lyxtext.h (top_y): move top_y from here
5803         * text.C:
5804         * text2.C:
5805         * text3.C:
5806         * BufferView.[Ch]:
5807         * BufferView_pimpl.[Ch]: to here
5808         * frontends/screen.C:
5809         * insets/insettabular.C:
5810         * insets/insettext.C: adjust
5811         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5812
5813 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5814
5815         * BufferView.[Ch]:
5816         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5817
5818 2003-08-26  André Pönitz  <poenitz@gmx.net>
5819
5820         * paragraph_func.[Ch] (outerPar): new function
5821
5822         * paragraph.C:
5823         * paragraph_funcs.C:
5824         * paragraph_funcs.h:
5825         * paragraph_pimpl.C:
5826         * text2.C: remove Inset::par_owner
5827
5828 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5829
5830         * lyxrow_funcs.C:
5831         * lyxtext.h:
5832         * text.C:
5833         * text2.C: eliminates the needFullRow/display() stuff
5834         altogether, putting the logic in metrics/draw in the insets.
5835
5836 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5837
5838         * text2.C (redoParagraphInternal, redoParagraphs):
5839         * text.C (redoParagraph): add a call to updateRowPositions at the
5840         end of each 'metrics-like' call. Remove all others.
5841         (getRow): remove the 'y-computing' version.
5842         (getRowNearY): do not compute nor return the real y. Solve the
5843         'y < 0' problem and simplify.
5844
5845 2003-08-22  Angus Leeming  <leeming@lyx.org>
5846
5847         * *.[Ch]: clean-up of licence and author blurbs.
5848         Also move config.h out of a few .h files and into a few .C files.
5849
5850 2003-08-22  André Pönitz  <poenitz@gmx.net>
5851
5852         * lyxrow.[Ch]: add x_ and *fill_ members
5853
5854         * lyxtext.h:
5855         * text.C:
5856         * rowpainter.C:
5857         * text2.C: adjust/remove prepareToPrint() calls
5858
5859 2003-08-22  André Pönitz  <poenitz@gmx.net>
5860
5861         * lyxrow.[Ch]: add  end_ member
5862
5863         * lyxrow_funcs.C: use LyXRow::end_
5864
5865         * lyxtext.h (singleWidth): add LyXFont parameter
5866
5867         * rowpainter.C:
5868         * text2.C: adjust LyXText::singleWidth() calls
5869
5870         * text.C (redoParagraph): simplify row breaking logic
5871
5872
5873 2003-08-19  André Pönitz  <poenitz@gmx.net>
5874
5875         * funcrequest.C: initialize button_ member
5876
5877         * text3.C:
5878         * rowpainter.[Ch]: interface consolidation
5879
5880 2003-08-18  André Pönitz  <poenitz@gmx.net>
5881
5882         * BufferView.C:
5883         * BufferView_pimpl.C:
5884         * lyxfind.C:
5885         * paragraph_funcs.C:
5886         * rowpainter.C:
5887         * text3.C: remove LyXScreen::draw() and fitCursor calls
5888
5889         * BranchList.h: remove spurious semicolons
5890
5891         * MenuBackend.C: fix branchlist related crash
5892
5893 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5894
5895         * BranchList.[Ch]:
5896         * InsetList.[Ch]:
5897         * LColor.[Ch]:
5898         * LyXAction.C:
5899         * Makefile.am:
5900         * MenuBackend.[Ch]:
5901         * bufferparams.[Ch]:
5902         * factory.C:
5903         * lfuns.h:
5904         * lyxfunc.C:
5905         * text3.C: implements the 'branch inset'
5906         idea. This allows the output of various versions of a document
5907         from a single source version, selectively outputing or suppressing
5908         output of parts of the text.
5909         This implementation contains a 'branch list editor' in a separate
5910         tab of the document settings dialog. Branches are user definable
5911         and have a "display colour" to distinguish them on-screen.
5912
5913         ColorHandler was somewhat cleaned up.
5914         (1) make possible a dynamically growing LColor list by allowing
5915         the graphic context cache to grow along (vector);
5916         (2) eliminate an IMHO unnecessary step in colour allocation.
5917
5918 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5919
5920         * BufferView_pimpl.C: compile fix
5921
5922 2003-08-15  André Pönitz  <poenitz@gmx.net>
5923
5924         * rowpainter.C: remove extra metrics calls
5925
5926         * lyxtext.h: merge the two constructors into a single one,
5927           pass reference to owner's par list
5928
5929         * BufferView_pimpl.C:
5930         * text.C:
5931         * text2.C: adjust
5932
5933 2003-08-15  André Pönitz  <poenitz@gmx.net>
5934
5935         * lyxrow_funcs.[Ch]:
5936         * lyxtext.h:
5937         * paragraph.h:
5938         * paragraph_funcs.C:
5939         * rowpainter.C:
5940         * text.C:
5941         * text2.C:
5942         * text3.C:
5943         * text_funcs.C: split LyXText::rowlist_ into individual
5944         Paragraph::rows_ chunks
5945
5946         * BufferView.[Ch]:
5947         * BufferView_pimpl.[Ch]:
5948         * lyxfind.C:
5949         * lyxtext.h:
5950         * text3.C: remove toggleSelection()
5951
5952 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5953
5954         * bufferlist.C: beautify two alerts (shorter text of buttons)
5955         * buffer.C: Remove redundant ' ' from message
5956         * tabular.h:
5957         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5958         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5959         rename VALIGN_CENTER to VALIGN_MIDDLE
5960
5961 2003-08-11  André Pönitz  <poenitz@gmx.net>
5962
5963         * lyxtext.h (getPar):
5964         * text.C: new function
5965
5966 2003-08-11  André Pönitz  <poenitz@gmx.net>
5967
5968         * Makefile.am:
5969         * tracer.[Ch]: remove unneeded files
5970
5971         * InsetList.[Ch]: remove resizeInsetsLyXText()
5972
5973         * lyxtext.h:
5974         * text.C:
5975         * text2.C:
5976         * text3.C: merge insertParagraphs() and appendParagraph()
5977         remove breakAgain(), update()
5978
5979         * BufferView_pimpl.[Ch]:
5980         * bufferview_funcs.[Ch]:
5981         * lyxfunc.C:
5982         * paragraph.[Ch]:
5983         * rowpainter.C:
5984         * tabular.C: adjust after text & InsetList changes.
5985
5986 2003-08-08  André Pönitz  <poenitz@gmx.net>
5987
5988         * text.C (insertChar, backspace): replace rowlist fiddling
5989         with rebreak of full par
5990
5991         * lyxtext.h:
5992         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5993         checkParagraph, updateInset): removed
5994
5995 2003-08-07  André Pönitz  <poenitz@gmx.net>
5996
5997         * paragraph.C:
5998         * text3.C: merge some LFUN handlers, remove dead code
5999
6000 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6001
6002         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6003
6004 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6005
6006         * text2.C (DEPM): fix part of bug 1255 and 1256
6007
6008 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6009
6010         * BufferView_pimpl.C (workAreaDispatch): change to use
6011         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6012         that are no mouse related.
6013
6014 2003-08-05  André Pönitz  <poenitz@gmx.net>
6015
6016         * BufferView.[Ch]:
6017         * BufferView_pimpl.[Ch]:
6018         * bufferview_funcs.C:
6019         * text2.C:
6020         * text3.C: rip out "deep update"
6021
6022         * textcursor.[Ch] (last_sel_cursor): remove unused member
6023
6024 2003-08-04  André Pönitz  <poenitz@gmx.net>
6025
6026         * BufferView.[Ch]:
6027         * BufferView_pimpl.[Ch]:
6028         * ParagraphParameters.C:
6029         * bufferview_funcs.C:
6030         * lyx_cb.C:
6031         * lyxfind.C:
6032         * lyxfunc.C:
6033         * text.C:
6034         * text2.C:
6035         * text3.C: replace "complicated" BufferView::update(...) calls with
6036         simpler ones.
6037
6038         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6039
6040 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6041
6042         * Makefile.am (lyx_SOURCES): add paper.h
6043
6044 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6045
6046         * Makefile.am: move things around so that both lyx-qt and
6047         lyx-xforms can be built (according to --with-frontend). Then lyx
6048         is a symbolic link to lyx-[firstfrontend]
6049
6050 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6051
6052         * Always use std::endl with lyxerr
6053
6054 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6055
6056         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6057
6058 2003-08-01  André Pönitz  <poenitz@gmx.net>
6059
6060         * BufferView.[Ch]:
6061         * BufferView_pimpl.[Ch]:
6062         * lyxfunc.C:
6063         * text3.C: merge BufferView::repaint() and BufferView::update()
6064
6065 2003-08-01  José Matos  <jamatos@lyx.org>
6066
6067         * buffer.[Ch]: file_format is no longer a buffer data element.
6068
6069 2003-08-01  André Pönitz  <poenitz@gmx.net>
6070
6071         * BufferView.C:
6072         * lyxtext.h:
6073         * text.C:
6074         * text2.C: make redoParagraph more independent of current cursor
6075
6076         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6077         * text.C:
6078         * text2.C: remove unneeded members
6079
6080 2003-07-30  André Pönitz  <poenitz@gmx.net>
6081
6082         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6083
6084         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6085           create a single function...
6086
6087         * paragraph_funcs.C (moveItem): ... here.
6088
6089         * text.C:
6090           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6091
6092 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6093
6094         * LColor.[Ch]: Add comment and greyedout logical colors.
6095
6096 2003-07-30  André Pönitz  <poenitz@gmx.net>
6097
6098         * tabular.C: don't use Assert too heavily. This crashes where it
6099           shouldn't
6100
6101 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6102
6103         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6104         is disabled (bug 1232)
6105
6106 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6107
6108         * factory.C: limited 'arg' scope
6109
6110 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6111
6112         * factory.C: fixed Note submenu issues
6113
6114 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6115
6116         * factory.C: submenu for Note/Comment/Greyedout
6117
6118 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6119
6120         * lyx_main.C (LyX):
6121         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6122
6123 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6124
6125         * LaTeXFeatures.C:
6126         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6127         greyedout. Patch provided by Jürgen Spitzmüller.
6128
6129 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6130
6131         * kbmap.C (read): fix error message when reading bind files
6132
6133 2003-07-29  Angus Leeming  <leeming@lyx.org>
6134
6135         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6136         certainly does not do what it purports to do. I am doing it, and
6137         us, a favour by killing it.
6138
6139 2003-07-28  José Matos  <jamatos@lyx.org>
6140
6141         * buffer.C (readBody, do_writeFile):
6142         * paragraph.C(readParagraph): \end_document replaces \the_end.
6143
6144 2003-07-29  André Pönitz  <poenitz@gmx.net>
6145
6146         * BufferView.[Ch]:
6147         * BufferView_pimpl.[Ch]:
6148         * lyxfunc.C:
6149         * text2.C:
6150         * text3.C:
6151         * textcursor.[Ch]: remove toggleToggle & Co
6152
6153 2003-07-28  José Matos  <jamatos@fep.up.pt>
6154
6155         * buffer.C (readParagraph):
6156         * params_func (readParToken, readParagraph):
6157         * paragraph.C (write): \layout -> \begin_layout.
6158
6159 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6160
6161         * lyxlex_pimpl.C (setFile): clean up slightly.
6162
6163         * bufferparams.h: add compressed var
6164
6165         * buffer_funcs.C (readFile): adjust for LyXLex change
6166         (newFile): ditto + simplify
6167
6168         * buffer.C (writeFile): handle writing of compressed files
6169
6170         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6171         Check if the file is compressed and set a bufferparm if so.
6172
6173         * Makefile.am (lyx_LDADD): remove explicit -lz
6174
6175 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6176
6177         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6178         makeDocBookFile): put the real LyX version in the first line of
6179         the file
6180
6181         * version.h:
6182         * version.C.in: remove lyx_docversion
6183
6184         * tabular.C (write_attribute): add a template-based version to
6185         write enums properly
6186
6187 2003-07-28  André Pönitz  <poenitz@gmx.net>
6188
6189         * lyxtext.h:
6190         * text.C:
6191         * text2.C:
6192         * text3.C: use doubles again for x-coordinates. They are needed.
6193
6194 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6195
6196         * messages.C (getLocaleDir): use lyx_localedir()
6197
6198         * lyxlex_pimpl.C (setFile): compress stuff
6199
6200         * buffer.C (writeFile): add some compression stuff
6201         (do_writeFile): new func, dont call expliti close... will this
6202         breake anything?
6203
6204         * Makefile.am (lyx_LDADD): add -lz
6205
6206 2003-07-28  José Matos  <jamatos@fep.up.pt>
6207
6208         * buffer.C: increment file format.
6209         * paragraph_funcs (readParagraph, readParToken):
6210         * paragraph.C (readParagraph): add \end_layout.
6211
6212 2003-07-27  Angus Leeming  <leeming@lyx.org>
6213
6214         * Makefile.am: remove special casing for configure-time setting of
6215         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6216
6217         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6218         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6219
6220 2003-07-26  André Pönitz  <poenitz@gmx.net>
6221
6222         * paragraph_func.[Ch]:
6223         * paragraph.C (realizeFont): inline it whereever it is used
6224
6225         * rowpainter.C:
6226         * text.C:
6227         * text2.C:
6228         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6229
6230
6231 2003-07-26  André Pönitz  <poenitz@gmx.net>
6232
6233         *       lyxtext.h:
6234         * text.C:
6235         * text2.C: get rid of LyXText::need_break_row
6236
6237 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6238
6239         * toc.[Ch]: put namespace toc inside namespace lyx
6240
6241         * MenuBackend.C (expandToc2): adjust for lyx::toc
6242         (expandToc): ditto
6243
6244         * lyxfunc.C (dispatch): adjust for lyx::find
6245
6246         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6247         lyx::find instead. Reorganize a bit.
6248         (LyXReplace): rename to replace
6249         (LyXFind): rename to find
6250
6251         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6252         (dispatch): ditto
6253
6254 2003-07-26  André Pönitz  <poenitz@gmx.net>
6255
6256         * text.C (setHeightOfRow): restrict scope of temporary variable
6257
6258         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6259           code (never has been used?)
6260
6261 2003-07-27  Asger Alstrup  <alstrup@local>
6262
6263         * text.C (fill): Optimise algorithm to exploit that we can reuse
6264         the LyXFont for many characters.
6265         (setHeightOfRow): Same thing.
6266         (rowBreakPoint): Same thing.
6267
6268 2003-07-26  Asger Alstrup  <alstrup@local>
6269
6270         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6271
6272         * text.C (singleWidth): Spurious font copying in hot-spot
6273         singleWidth avoided. Reorder tests for arabic for efficiency.
6274
6275         * text.C (fill): handle empty paragraphs better.
6276
6277 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6278
6279         * ispell.C:
6280         * encoding.h: add includes
6281
6282         * lyxrc.C: remove reading of bind files
6283
6284         * lyx_main.C (init): setup bindings and menus only if we have a
6285         gui.
6286
6287         * kbmap.C (read): new method. Do the actual reading of bind
6288         files.
6289
6290         * converter.C (dvipdfm_options):
6291         * bufferparams.C:
6292         * lyxrc.C (read):
6293         (output): adapt PAPER_* enums.
6294
6295         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6296
6297         * bufferparams.h: remove paper-related enums from there
6298
6299         * paper.h: New file. A trivial header file to hold paper-related
6300         enums. It should later expand to contain many paper-related
6301         horrors access.
6302
6303         * lyxrc.C: declare extern displayTranslator
6304
6305 2003-07-27  José Matos  <jamatos@fep.up.pt>
6306
6307         * tabular.[Ch] (linuxdoc): add support for tables and figures
6308         (linuxdoc).
6309
6310 2003-07-27  José Matos  <jamatos@fep.up.pt>
6311
6312         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6313         consistency in both functions.
6314         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6315
6316 2003-07-26  Asger Alstrup  <alstrup@local>
6317
6318         * rowpainter.C (paintRows): Change algorithm to work directly on
6319         the insets rather than asking every character in the document
6320         whether its an inset.
6321
6322 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6323
6324         * buffer.C (openFileWrite): factorize some code
6325
6326 2003-07-26  Angus Leeming  <leeming@lyx.org>
6327
6328         * lyx_cb.C:
6329         * lyx_main.[Ch]: replace occurances of system_tempdir with
6330         os::getTmpDir().
6331
6332 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6333
6334         * rename Inset to InsetOld
6335
6336 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6337
6338         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6339         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6340         which I think is a bit clearer. EDIT is gone, since it was
6341         premature optimisation, and broken for mathed anyway.
6342         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6343         with cursor positioning in insets as well (math insets still do not
6344         work, but that's a different story anyway.) It mysteriously
6345         crashes sometimes with undo in the first paragraph, but I'm fairly
6346         confident that this is a compiler bug.
6347
6348 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6349
6350         * paragraph.C (Paragraph): adjust for new clone return type
6351         (operator==): ditto
6352         (copyIntoMinibuffer): ditto
6353
6354 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6355
6356         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6357         by not having a special case, and always doing a full rebreak of
6358         the document after undo.
6359
6360 2003-07-23  Angus Leeming  <leeming@lyx.org>
6361
6362         * factory.C (createInset): InsetExternal::setParams now takes a
6363         Buffer const * arg.
6364
6365 2003-07-23  Angus Leeming  <leeming@lyx.org>
6366
6367         * factory.C (createInset): changed interface to the external and
6368         graphics mailers' string2params functions.
6369
6370 2003-07-23  Angus Leeming  <leeming@lyx.org>
6371
6372         * factory.C (createInset): pass a
6373         Buffer const * parameter to InsetExternalMailer's string2params.
6374
6375 2003-07-22  John Levon  <levon@movementarian.org>
6376
6377         * Thesaurus.h: include the right aiksaurus header
6378
6379 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6380
6381         * MenuBackend.C (expand): check menu shortcuts unconditionally
6382
6383 2003-07-21  Angus Leeming  <leeming@lyx.org>
6384
6385         * factory.C (createInset): pass a
6386         buffer_path parameter to InsetGraphicsMailer's string2params.
6387
6388 2003-07-21  Angus Leeming  <leeming@lyx.org>
6389
6390         * BufferView_pimpl.C (buffer):
6391         * buffer.C (d-tor):
6392         * lyx_main.C (LyX):
6393         * lyxfunc.C (dispatch):
6394         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6395         rather than the grfx shortcut.
6396
6397 2003-07-21  André Pönitz  <poenitz@gmx.net>
6398
6399         * rowpainter.C: remove unused variables
6400
6401         * tabular_funcs.C:
6402         * tabular_funcs.h: move to tabular.C
6403         * Makefile.am: adjust
6404
6405         * tabular.[Ch]: basic optical cleaning
6406
6407         * author.h: pass references, not values
6408
6409 2003-07-18  André Pönitz  <poenitz@gmx.net>
6410
6411         * lyxtext.h:
6412         * metricsinfo.C:
6413         * metricsinfo.h:
6414         * rowpainter.C:
6415         * text.C:
6416         * text2.C:
6417         * text3.C: two-phase drawing for InsetText and InsetTabular
6418         some float -> int changes.
6419
6420 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6421
6422         * lyx_main.C: fix the fix
6423
6424 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6425
6426         * lyx_main.C: fix a crash in batch mode if no files specified
6427         * converter.C: ws
6428
6429 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6430
6431         * format.[Ch] (papersize): moved to BufferParams
6432         * converter.[Ch] (dvips_options): moved to BufferParams
6433         (dvipdfm_options): moved to anon namespace
6434         * bufferparams.[Ch]: added above functions.
6435
6436 2003-07-17  André Pönitz  <poenitz@gmx.net>
6437
6438         * lyxtext.h:
6439         * rowpainter.C:
6440         * text2.C: don't call inset->update() anymore
6441
6442         * metricsinfo.[Ch]: add convenience constructor
6443
6444 2003-07-16  André Pönitz  <poenitz@gmx.net>
6445
6446         * lyxcursor.[Ch]:
6447         * lyxfunc.[Ch]:
6448         * text.C:
6449         * text2.C: replace the LyXCursor::irow_ member with
6450          on-demand computation of the value
6451
6452 2003-07-16  John Levon  <levon@movementarian.org>
6453
6454         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6455
6456 2003-07-15  André Pönitz  <poenitz@gmx.net>
6457
6458         * text.C:
6459         * text2.C: remove no more needed refresh_row
6460
6461 2003-07-15  André Pönitz  <poenitz@gmx.net>
6462
6463         * lyxtext.h:
6464         * rowpainter.C:
6465         * text2.C:
6466         * text3.C: refresh_status tristate -> need_update bool
6467
6468 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6469
6470         * lyxtext.h (init): remove reinit argument (act as if always true)
6471         * text2.C: adjust to that
6472
6473 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6474
6475         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6476         * text3.C: use it to delete selections in some cases
6477         (bugs 441, 673, 702, 954).
6478
6479 2003-07-14  André Pönitz  <poenitz@gmx.net>
6480
6481         * rowpainter.[Ch]: reduce interface
6482
6483 2003-07-14  André Pönitz  <poenitz@gmx.net>
6484
6485         * BufferView_pimpl.C:
6486         * text2.C: adjust after removing unused BufferView * argument
6487
6488 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6489
6490         * text2.C (init): fix a crash fired on resize
6491
6492 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6493
6494         * buffer.[Ch]: added new closing signal
6495         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6496         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6497         BufferView::Pimpl via the closing the signal
6498
6499 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6500
6501         * buffer.[Ch]: take out all bv-related from buffer
6502         * BufferView.C:
6503         * BufferView_pimpl.[Ch]: connect to new signals
6504         * CutAndPaste.C: removed useless asserts
6505         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6506         * lyxvc.[Ch]:
6507         * vc-backend.[Ch]:
6508         * lyxfunc.C: moved view-related funciontality from vc here
6509         * paragraph.C: removed outdated comments
6510         * text.C: ws
6511
6512 2003-07-10  André Pönitz  <poenitz@gmx.net>
6513
6514         * BufferView_pimpl.C:
6515         * tabular.h:
6516         * tabular_funcs.C:
6517         * text.C:
6518         * text2.C: remove InsetText::InnerCache, clean up consequences
6519
6520 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6521
6522         * ispell.C: fix two typos in error messages
6523
6524 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6525
6526         * Extend Note inset to other forms of annotation like Comment
6527         and Greyedout. Right button click gives dialog.
6528
6529         Files modified or added (+):
6530
6531         * insetnote.[Ch]
6532         * FormNote.[Ch]      +
6533         * ControlNote.[Ch]   +
6534         * form_note.fd       +
6535         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6536         frontends/controllers
6537         * xforms/Dialogs.C
6538         * factory.C
6539
6540 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6541
6542         * aspell.C: add missing namespace lyx::support
6543
6544 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6545
6546         * BufferView.[Ch] (newFile): Add
6547         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6548         * LaTeX.[Ch] (message): added this signal and use it
6549         * buffer.[Ch] (busy, message): added these signals and use them
6550         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6551         * converter.C:
6552         * exporter.C:
6553         * format.C:
6554         * importer.C: use buffer signals instead of direct bv calling
6555         * lyx_cb.[Ch] (ShowMessage): removed
6556         * lyx_main.C:
6557         * lyxfunc.C:
6558         * paragraph_funcs.C:
6559         * text2.C: use buffer signals
6560
6561 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6562
6563         * introduce namespace lyx::graphics
6564
6565 2003-07-02  André Pönitz  <poenitz@gmx.net>
6566
6567         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6568
6569 2003-07-01  André Pönitz  <poenitz@gmx.net>
6570
6571         * text.C:
6572         * text2.C:
6573         * text3.C:
6574         * text_funcs.[Ch]:
6575         * textcursor.h:
6576         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6577           text*.C to text_func.C
6578
6579 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6580
6581         * introduce namespace lyx::support
6582
6583 2003-06-30  André Pönitz  <poenitz@gmx.net>
6584
6585         * Chktex.C:
6586         * funcrequest.C:
6587         * lyxtext.h:
6588         * text.C: re-enable --with-included-string
6589
6590 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6591
6592         * textcursor.C: add <config.h>
6593
6594         * text.C (getWord): remove const from word_location arg
6595
6596         * lyxvc.C (getLogFile): fix const type order
6597
6598         * lyxtext.h: remove const from word_location arg, add arg name
6599
6600         * lyxlayout.h: currect type on labeltype.
6601
6602         * importer.C: correct \file
6603
6604         * converter.C (intToFormat): use std:: on ret val, ws changes
6605
6606         * bufferlist.h: correct \file
6607
6608         * buffer.C (makeLinuxDocFile): fix const type order
6609         (makeDocBookFile): ditto
6610         (fillWithBibKeys): use std:: on stdlib args.
6611
6612         * CutAndPaste.C: fix authors.
6613         (availableSelections): use std:: on return vector
6614
6615 2003-06-27  André Pönitz  <poenitz@gmx.net>
6616
6617         * BufferView_pimpl.C:
6618         * bufferview_funcs.C:
6619         * lyxcursor.C:
6620         * lyxcursor.h:
6621         * lyxfunc.C:
6622         * lyxtext.h:
6623         * rowpainter.C:
6624         * text.C:
6625         * text2.C:
6626         * text3.C: remove LyXCursor::row_ member
6627
6628         * lyxtext.h:
6629         * text.C: rename fullRebreak() to partialRebreak() and implement
6630           a fullRebreak() that really bereks fully
6631
6632         * textcursor.h: new struct for cursor-related data
6633
6634 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6635
6636         * lyx_main.C (LyX): get full path of document loaded on the
6637         command line
6638
6639 2003-06-26  André Pönitz  <poenitz@gmx.net>
6640
6641         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6642           remove unused/broken operator>,<,>=.
6643
6644         *       text.C: remove only use of broken operator<= in an Assert().
6645
6646 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6647
6648         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6649         moved errorlist_.clear to showErrorList
6650
6651 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6652
6653         * converter.C (scanLog, runLaTeX):
6654         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6655         move the bv->showErrorList call to the callers
6656         * lyxfunc.C: i.e. here...
6657         * text2.C: and here
6658         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6659         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6660         namespace, the second to...
6661         * buffer_funcs (BufferFormat, parseErrors): added
6662         * errorlist.C (ErrorList(TeXErrors const &)): removed
6663
6664 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6665
6666         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6667
6668 2003-06-24  "Garst R. Reese" <reese@isn.net>
6669
6670         * debug.C: fix typo
6671
6672 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6673
6674         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6675
6676         * version.C.in: change docversion to 1.4
6677
6678 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6679
6680         * buffer.C: fix a bug just introduced
6681
6682 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6683
6684         * buffer.[Ch]: added the parseError signal and use it, removed
6685         sgmlError
6686         * BufferView.[Ch] (addError): moved to ...
6687         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6688         to the Buffer::parseError signal to catch (guess what) parse errors
6689         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6690
6691 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6692
6693         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6694         ability to create a buffer and to return an existing one from
6695         the list. Moved these functions to...
6696         * buffer_funcs.[Ch]: added
6697         * BufferView.[Ch] (loadLyXFile): added
6698         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6699         job removed from bufferlist::loadLyXFile.
6700         * buffer.C (setReadOnly): make it work without view
6701         (i.e added an if (users))
6702
6703 2003-06-19  Angus Leeming  <leeming@lyx.org>
6704
6705         * lfuns.h:
6706         * LyXAction.C (init):
6707         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6708         with LFUN_DIALOG_SHOW <name> <data>.
6709
6710 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6711
6712         * CutAndPaste.C (availableSelections): small compilation fix for
6713         ancient (gcc 2.9x) compilers
6714
6715 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6716
6717         * text3.C (cursorNext): add tmp var
6718
6719         * text2.C (updateCounters): for function calling out of for clause
6720         (replaceSelectionWithString): ditto
6721         (insertStringAsParagraphs): ditto
6722         (getColumnNearX): add tmp var
6723         (setCursorFromCoordinates): add tmp var
6724         (cursorDownParagraph): add tmp var
6725         (deleteEmptyParagraphMechanism): add tmp var
6726
6727         * text.C (insertChar): add tmp var
6728
6729         * rowpainter.C (paintDepthBar): add tmp var
6730
6731         * CutAndPaste.C (availableSelections): potentially check all
6732         paragraphs in a cut to fill the shown strings.
6733
6734 2003-06-18  André Pönitz  <poenitz@gmx.net>
6735
6736         * kbmap.[Ch]: use vector<> instead of list<>
6737
6738 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6739
6740         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6741         pasteSelection with index
6742
6743         * text2.C (pasteSelection): modify, call pasteSelection with index
6744
6745         * paragraph.C (asString): reimplement version with no interval to
6746         call the one with interval.
6747
6748         * lyxtext.h: add index arg to pasteSelection
6749
6750         * MenuBackend.C (MenuItem): handle PasteRecent
6751         (Menu::read::Menutags): add md_pasterecent
6752         (read): handle it
6753         (expandPasteRecent): new function
6754         (expand): use it
6755
6756         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6757
6758         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6759         the limited stack
6760         (availableSelections): new function
6761
6762 2003-06-17  Angus Leeming  <leeming@lyx.org>
6763
6764         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6765
6766 2003-06-17  Angus Leeming  <leeming@lyx.org>
6767
6768         * lfuns.h:
6769         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6770
6771         * lyxfunc.C (dispatch): invoke it.
6772
6773 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6774
6775         * iterators.C (operator++, ParPosition): reintroduce some
6776         const_cast for the benefit of older compilers.
6777
6778 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6779
6780         * text3.C (dispatch): do not modify clipboard when doing
6781         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6782         LFUN_DELETE_SKIP on a selection selection
6783
6784 2003-06-16  André Pönitz  <poenitz@gmx.net>
6785
6786         * BufferView.C:
6787         * buffer.C:
6788         * buffer.h:
6789         * paragraph.C:
6790         * tabular.[Ch]: IU of clone() and getLabelList();
6791
6792 2003-06-13  André Pönitz  <poenitz@gmx.net>
6793
6794         * tabular.h: compactification
6795
6796 2003-06-12  André Pönitz  <poenitz@gmx.net>
6797
6798         * tabular.C:
6799         * tabular.h:
6800         * tabular_funcs.h: some renaming plus whitespace
6801
6802 2003-06-12  André Pönitz  <poenitz@gmx.net>
6803
6804         * BufferView.C:
6805         * BufferView_pimpl.C:
6806         * CutAndPaste.C:
6807         * buffer.C:
6808         * iterators.[Ch]:
6809         * lyxfunc.C:
6810         * text.C:
6811         * toc.C: Return a Paragraph & for ParIterator::operator*()
6812
6813 2003-06-11  John Levon  <levon@movementarian.org>
6814
6815         * lyx_main.C:
6816         * ToolbarBackend.h:
6817         * ToolbarBackend.C: add "Toolbars" section and
6818         put the flags there
6819
6820 2003-06-10  Angus Leeming  <leeming@lyx.org>
6821
6822         * lfuns.h:
6823         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6824
6825         * lyxfunc.C (dispatch): invoke it.
6826
6827 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6828
6829         * main.C: protect <ios> with HAVE_IOS
6830         (main): protect sync_with_stdio with HAVE_IOS
6831
6832 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6833
6834         * text2.C (cutSelection): adjust
6835         (pasteSelection): adjust
6836
6837         * messages.C: handle get of empty string
6838
6839         * main.C (main): use sync_with_stdio(false)
6840
6841         * lyxfunc.C (dispatch): adjust
6842
6843         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6844         (WriteAs): remove unneeded BufferView arg.
6845
6846         * bufferparams.h: use correct types on papersize, papersize2 and
6847         paperpackage.
6848
6849         * bufferparams.C (readToken): adjust for type
6850         (writeLaTeX): add missing cases to switch.
6851
6852         * bufferlist.C (quitWriteBuffer): adjust
6853         (close): adjust
6854
6855         * buffer.C (asciiParagraph): remove some commented code.
6856
6857         * CutAndPaste.C: remove current_view extern variable.
6858         (cutSelection): add BufferParams arg.
6859         (eraseSelection): add BufferParams arg.
6860         (pasteSelection): add Buffer const & arg
6861
6862 2003-06-07  John Levon  <levon@movementarian.org>
6863
6864         * buffer.C:
6865         * paragraph_funcs.C:
6866         * paragraph_pimpl.C:
6867         * text.C:
6868         * text2.C:
6869         * paragraph.h:
6870         * paragraph.C: allow InsetERT to freely space lines,
6871         and some consolidation of code
6872
6873 2003-06-06  José Matos  <jamatos@fep.up.pt>
6874
6875         * buffer.C (makeDocBookFile): fix bug #821
6876
6877 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6878
6879         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6880
6881 2003-06-04  Angus Leeming  <leeming@lyx.org>
6882
6883         * buffer.C: bump format to 224.
6884
6885 2003-06-05  André Pönitz  <poenitz@gmx.net>
6886
6887         * text2.C (redoParagraphs): remove two const_cast<>
6888
6889 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6890
6891         * ParagraphList.h: remove last remnants of NO_STD_LIST
6892
6893 2003-06-03  Angus Leeming  <leeming@lyx.org>
6894
6895         * factory.C (createInset): small change to the way InsetExternal's params
6896         are set.
6897
6898 2003-06-04  André Pönitz  <poenitz@gmx.net>
6899
6900         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6901
6902         * paragraph_pimpl.h:
6903         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6904
6905         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6906
6907         * undo_funcs.C: make some simple cases of undo work again
6908
6909 2003-06-03  John Levon  <levon@movementarian.org>
6910
6911         * ispell.C: HPUX doesn't have sys/select.h
6912         (from Albert Chin)
6913
6914 2003-06-03  John Levon  <levon@movementarian.org>
6915
6916         * CutAndPaste.C: update tabular and include inset
6917         buffer references
6918
6919         * buffer.h:
6920         * paragraph.h:
6921         * paragraph.C: remove owningBuffer(), don't pass Buffer
6922         to clone()
6923
6924         * factory.C: insetGraphicsParams changed
6925
6926 2003-06-02  John Levon  <levon@movementarian.org>
6927
6928         * LyXAction.C:
6929         * factory.C:
6930         * lfuns.h:
6931         * lyxfunc.C:
6932         * text3.C: remove insetparent
6933
6934 2003-06-02  John Levon  <levon@movementarian.org>
6935
6936         * buffer.h:
6937         * buffer.C: fix inset_iterator.end(), move out of line
6938         (bug 1149)
6939
6940 2003-06-01  John Levon  <levon@movementarian.org>
6941
6942         * text3.C: use a proper cut/paste when doing inset
6943         insert (from Jürgen Spitzmüller)
6944
6945 2003-06-01  John Levon  <levon@movementarian.org>
6946
6947         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6948
6949 2003-05-30  André Pönitz  <poenitz@gmx.net>
6950
6951         * rowpainter.C: unify second drawing phase
6952
6953 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6954
6955         * trans_mgr.C: remove one case of current_view
6956
6957         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6958
6959         * paragraph_funcs.h: remove paragraph.h include
6960
6961         * paragraph.h: delete NO_STD_LIST stuff
6962
6963         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6964
6965         * buffer.h: remove paragraph.h include
6966
6967         * ParagraphList.C: delete file
6968
6969         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6970
6971         * toc.C (getTocList): adjust
6972
6973         * paragraph_pimpl.C (validate): adjust
6974
6975         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6976
6977         * paragraph.C (Paragraph): adjust
6978         (getPositionOfInset): use const_iterator, adjust
6979         (bibitem): use const_iterator, adjust
6980         (setInsetOwner): adjust
6981
6982         * iterators.C (operator++): adjust
6983
6984         * InsetList.[Ch]: Replace selfmade iterator with standard
6985         vector::iterator also introduce const_iterator. Remove getPos,
6986         getInset and setInset from InsetTable. Adjust accordingly.
6987
6988         * BufferView.C (lockInset): adjust
6989         (ChangeInsets): adjust
6990
6991         * tabular.[Ch]: delete commented same_id functions
6992
6993 2003-05-28  John Levon  <levon@movementarian.org>
6994
6995         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6996
6997 2003-05-28  André Pönitz  <poenitz@gmx.net>
6998
6999         * metricsinfo.[Ch]: remove 'fullredraw' member
7000
7001 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7002
7003         * lyxtextclass.C (operator): remove caching.
7004
7005 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7006
7007         * text3.C: adjust
7008
7009         * text2.C (cursorBottom): adjust
7010         (setCounter): use ParagraphList::find, adjust
7011
7012         * text.C (workWidth): use ParagraphList::find, adjust
7013
7014         * lyxcursor.C (LyXCursor): adjust
7015
7016         * buffer.C (inset_iterator): adjust
7017
7018         * ParagraphList.h: make iterator(value_type) private, make
7019         ParagraphList a friend of iterator.
7020
7021         * ParagraphList.C (find): new function
7022
7023         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7024
7025 2003-05-27  André Pönitz  <poenitz@gmx.net>
7026
7027         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7028
7029 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7030
7031         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7032
7033 2003-05-26  John Levon  <levon@movementarian.org>
7034
7035         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7036
7037 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7038
7039         * remove same_id from function signatures, adjust.
7040
7041 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7042
7043         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7044
7045         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7046
7047         * paragraph.C (Paragraph): get rid of same_ids parameter
7048
7049         * ParagraphList.C (insert): adjust
7050         (push_back): adjust
7051
7052 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7053
7054         * paragraph_funcs.C (breakParagraph): adjust
7055         (breakParagraphConservative): adjust
7056
7057         * buffer.C (readParagraph): adjust
7058
7059         * ParagraphList.C (insert): take a reference instead of a pointer
7060         (insert): adjust
7061
7062         * paragraph.[Ch] (id): new function
7063
7064         * bufferlist.C (newFile): adjust
7065
7066         * ParagraphList.C (ParagraphList): adjust
7067         (assign): adjust
7068         (push_back): take a reference instead of a pointer.
7069
7070         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7071
7072         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7073         instead.
7074
7075         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7076         set else use old code.
7077
7078         * ParagraphList.C: remove all NO_NEXT code and only compile this
7079         code of NO_STD_LIST is set.
7080
7081 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7082
7083         * BufferView_pimpl.C:
7084         * TextCache.C:
7085         * TextCache.h:
7086         * bufferlist.C:
7087         * errorlist.h:
7088         * format.C:
7089         * format.h:
7090         * graph.C:
7091         * lyxfunc.C:
7092         * lyxrc.C:
7093         * graphics/GraphicsConverter.C:
7094         * graphics/PreviewLoader.C: header adjustment
7095
7096 2003-05-23  Angus Leeming  <leeming@lyx.org>
7097
7098         * LaTeXFeatures.[Ch] (useBabel): new method.
7099         * bufferparams.C (writeLaTeX): use it.
7100
7101 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7102
7103         * ParagraphList.h (set): remove unused function.
7104
7105 2003-05-23  André Pönitz  <poenitz@gmx.net>
7106
7107         * BufferView.C:
7108         * BufferView_pimpl.C:
7109         * buffer.C:
7110         * buffer.h:
7111         * lyxfunc.C:
7112         * undo_funcs.C: setUndo reworked
7113
7114         * iterators.[Ch]: add access to topmost ParagraphList
7115
7116         * lyxtext.[Ch] (workWidth): add a const
7117
7118 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7119
7120         * texrow.[Ch] (increasePos): remove function
7121         * exporter.C (export): removed unused var and outdated comment
7122
7123 2003-05-23  Angus Leeming  <leeming@lyx.org>
7124
7125         * latexrunparams.h: rename fragile as moving_arg.
7126         * paragraph.C (simpleTeXOnePar): ditto.
7127         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7128
7129 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7130
7131         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7132         (createUndo): ditto
7133         (textUndoOrRedo): comment out a currently unused var.
7134
7135         * paragraph.h (NO_NEXT): enable NO_NEXT
7136
7137         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7138
7139         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7140
7141         * exporter.C (Export): adjust for removeAutoInsets removal.
7142
7143         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7144
7145         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7146
7147         * BufferView.[Ch] (removeAutoInsets): delete function
7148
7149 2003-05-22  Angus Leeming  <leeming@lyx.org>
7150
7151         * latexrunparams.h: add a free_spacing variable.
7152
7153         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7154         to pass moving_arg, as the data is stored in runparams.fragile.
7155
7156         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7157         to Inset::latexOptional or to simpleTeXOnePar.
7158
7159         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7160         free_spacing arg to Inset::latexOptional.
7161
7162         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7163         free_spacing arg.
7164
7165 2003-05-22  Angus Leeming  <leeming@lyx.org>
7166
7167         * latexrunparams.h: add fragile and use_babel variables.
7168
7169         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7170         * buffer.C (makeLaTeXFile): store this returned value in
7171         runparams.use_babel, thus passing it to the inset::latex methods.
7172
7173         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7174         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7175
7176         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7177         longer has a fragile arg, as it is stored in runparams.fragile.
7178
7179         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7180         moving_arg parameter as the data is stored in runparams.fragile.
7181
7182         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7183         a fragile parameter as the data is stored in runparams.fragile.
7184
7185 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7186
7187         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7188
7189 2003-05-22  Angus Leeming  <leeming@lyx.org>
7190
7191         * latexrunparams.h: add a 'bool nice' which defaults to false.
7192
7193         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7194         now encapsulated within runparams.
7195
7196         * bufferlist.C (updateIncludedTeXfiles):
7197         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7198
7199 2003-05-22  Angus Leeming  <leeming@lyx.org>
7200
7201         * latexrunparams.h: new file containing struct LatexRunParams.
7202         * Makefile.am: add new file.
7203
7204         * LaTeX.[Ch] (c-tor, run):
7205         * buffer.[Ch] (makeLaTeXFile):
7206         * bufferlist.[Ch] (updateIncludedTeXfiles):
7207         * converter.C (convert, scanLog):
7208         * converter.[Ch] (runLaTeX):
7209         * exporter.C (Export):
7210         * paragraph.[Ch] (simpleTeXOnePar):
7211         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7212         * paragraph_funcs.[Ch] (latexParagraphs):
7213         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7214         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7215         pass around a LatexRunParams parameter.
7216
7217 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7218
7219         * paragraph.[Ch]: remove unused constructor
7220
7221         * ParagraphList.C (erase): new function, taking two iterators
7222
7223 2003-05-22  André Pönitz  <poenitz@gmx.net>
7224
7225         * undo_funcs.C: remove duplicated code
7226
7227         * iterator.[Ch]: operator=
7228
7229 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7230
7231         * tabular.C (SetMultiColumn): ws changes
7232
7233         * rowpainter.C (paintFirst): get rid of a ->previous
7234
7235         * lyx_cb.C (getPossibleLabel): parlist simplification
7236
7237         * BufferView.C (ChangeInsets): simplify slightly.
7238
7239 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7240
7241         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7242         * lfuns.h: new LFUN_SPACE
7243         * lyxfunc.C: protected space has a new lfun
7244         * paragraph_funcs.C: read new space insets
7245         * text3.C:
7246         * factory.C: handle new space insets
7247
7248 2003-05-22  André Pönitz  <poenitz@gmx.net>
7249
7250         * BufferView.C:
7251         * BufferView_pimpl.C:
7252         * buffer.[Ch]:
7253         * lyxfunc.C:
7254         * undo_funcs.C: return a ParIterator from getParFromID.
7255
7256         * iterators.[Ch]: add two const's
7257
7258 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7259
7260         * toc.C (getTocList): adjust
7261
7262         * iterators.[Ch]: rework for parlist
7263
7264         * buffer.C (par_iterator_begin): adjust
7265         (par_iterator_end): adjust
7266
7267         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7268
7269         * BufferView.C (removeAutoInsets): adjust
7270         (ChangeInsets): adjust
7271
7272 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7273
7274         * text.C (top_y): fix bug 1110
7275
7276 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7277
7278         * errorlist.[Ch]: added
7279         * buffer.C:
7280         * BufferView.[Ch]:
7281         * BufferView_pimpl.C:
7282         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7283         instead
7284
7285 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7286
7287         * Makefile.am: ensure that lyx is relinked upon changes to the
7288         various "convenience" libs.
7289
7290 2003-05-20  Angus Leeming  <leeming@lyx.org>
7291
7292         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7293         files are compiled in alphabetical order again.
7294
7295         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7296
7297 2003-05-19  Angus Leeming  <leeming@lyx.org>
7298
7299         * gettext.[Ch]: remove "char const * _(char const *)".
7300
7301 2003-05-19  André Pönitz  <poenitz@gmx.net>
7302
7303         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7304
7305         * Makefile.am:
7306         * BufferView.C:
7307         * DepTable.h:
7308         * LaTeXFeatures.C:
7309         * buffer.C:
7310         * lyxfont.C:
7311         * lyxlex.h:
7312         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7313
7314 2003-05-19  André Pönitz  <poenitz@gmx.net>
7315
7316         * buffer.C:
7317         * lyxlayout.[Ch]:
7318         * lyxtextclass.[Ch]:
7319         * paragraph.C:
7320         * paragraph_funcs.[Ch]:
7321         * text2.C:
7322         * text3.C: more insetenv work
7323
7324 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7325
7326         * ParagraphParameters.C (params2string): small bug fixed
7327
7328 2003-05-16  André Pönitz  <poenitz@gmx.net>
7329
7330         * debug.C:
7331         * bufferview_funcs.C: patch from Kornel Benko to prevent
7332           crash when _(...) is called twice in a statement
7333
7334 2003-05-16  André Pönitz  <poenitz@gmx.net>
7335
7336         * BufferView.C:
7337         * lyxfunc.C:
7338         * text.C:
7339         * text2.C:
7340         * text3.C:
7341         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7342
7343 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7344
7345         * lyx_main.C (init): remove spurious static_cast
7346
7347 2003-05-14  André Pönitz  <poenitz@gmx.net>
7348
7349         * BufferView.C: fix format string
7350
7351 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7352
7353         * BufferView.[Ch] (insertErrors): removed
7354         * BufferView.[Ch] (showErrorList): added
7355         * buffer.C (runChkTeX):
7356         * converter.C (scanLog): call showErrorList instead of inserterrors
7357
7358 2003-05-13  André Pönitz  <poenitz@gmx.net>
7359
7360         * BufferView_pimpl.C:
7361         * buffer.C:
7362         * bufferview_func.C:
7363         * MenuBackend.C:
7364         * lyxfunc.C:
7365         * lyxrc.C:
7366         * tex-accent.C:
7367         * text3.C:
7368         * toc.C:
7369         * tabular_funcs.h: tostr() from its own header
7370
7371         * ParagraphParameters.C:
7372         * ToolbarBackend.C:
7373         * bufferparams.C:
7374         * format.C:
7375         * lyxlex_pimpl.C:
7376         * text3.C: STRCONV()
7377
7378 2003-05-12  André Pönitz  <poenitz@gmx.net>
7379
7380         * BufferView.C:
7381         * BufferView_pimpl.C:
7382         * CutAndPaste.C:
7383         * LaTeX.C:
7384         * LaTeXFeatures.C:
7385         * ParagraphParameters.C:
7386         * buffer.C:
7387         * bufferlist.C:
7388         * bufferparams.C:
7389         * bufferview_funcs.C:
7390         * converter.C:
7391         * counters.C:
7392         * debug.C:
7393         * exporter.C:
7394         * format.C:
7395         * importer.C:
7396         * lyx_cb.C:
7397         * lyx_main.C:
7398         * lyxfont.C:
7399         * lyxfunc.C:
7400         * lyxvc.C:
7401         * paragraph.C:
7402         * paragraph_funcs.C:
7403         * tabular.C:
7404         * tabular_funcs.C:
7405         * text2.C:
7406         * text3.C:  boost::format -> bformat  all over the place
7407
7408
7409 2003-05-09  André Pönitz  <poenitz@gmx.net>
7410
7411         * LColor.[Ch]: Pimpl the #include <map> away
7412
7413 2003-05-09  John Levon  <levon@movementarian.org>
7414
7415         * bufferlist.C: never remove emergency saves
7416
7417 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7418
7419         * Makefile.am: better lib building
7420
7421 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7422
7423         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7424         instead.
7425         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7426         (simpleTeXSpecialChars): adjust
7427         (simpleTeXSpecialChars): adjust
7428         * paragraph.C (simpleTeXOnePar): adjust
7429         * buffer.C (makeLaTeXFile): adjust
7430
7431         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7432
7433         * text2.C (changeDepth): parlist cleanup
7434         (getColumnNearX): ditto
7435
7436         * rowpainter.C (getLabelFont): parlist cleanup
7437
7438         * bufferlist.C (newFile): parlist cleanup
7439
7440         * CutAndPaste.C (eraseSelection): parlist cleanup
7441
7442         * BufferView_pimpl.C (trackChanges): parlist cleanup
7443         (dispatch): ditto
7444
7445         * BufferView.C (lockInset): parlist cleanup.
7446         (ChangeInsets): ditto
7447
7448 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7449
7450         * CutAndPaste.h: Update file header.
7451
7452         * CutAndPaste.C: Update file header.
7453         Store the parts cut out of the Document in a limited_stack.
7454         (copySelection): adjust
7455         (pasteSelection): new function, takes the index in the limited stack.
7456         (nrOfParagraphs): adjust
7457         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7458         simplify error inset insertion.
7459         (checkPastePossible): adjust
7460
7461 2003-05-06  John Levon  <levon@movementarian.org>
7462
7463         * text2.C: don't cast wrap inset to float
7464
7465 2003-05-05  André Pönitz  <poenitz@gmx.net>
7466
7467         * iterator.C:
7468         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7469
7470         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7471           few naked Paragraph *.
7472
7473 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7474
7475         * bufferparams.C: Output warning if a document with missing
7476         TeX document class is loaded
7477         * exporter.C: Disable TeX exports if the document class is missing
7478         * lyxtextclass.C:
7479         * lyxtextclass.h:
7480         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7481         isTeXClassAvailable()
7482
7483 2003-05-03  John Levon  <levon@movementarian.org>
7484
7485         * BufferView.h:
7486         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7487         explicit cursor show/hide
7488
7489         * BufferView_pimpl.h:
7490         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7491         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7492
7493         * lyxfunc.C: hide cursor before dispatching.
7494
7495         * lyx_cb.C:
7496         * lyxfind.C:
7497         * text.C:
7498         * text3.C: remove explicit cursor hides
7499
7500 2003-05-02  André Pönitz  <poenitz@gmx.net>
7501
7502         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7503
7504         * undo_funcs.C:
7505         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7506           linked lists
7507
7508         * text2.C: tiny whitespace
7509
7510 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7511
7512         * undo_funcs.C: almost only ws changes.
7513
7514         * ParagraphList.C (splice): just return if pl is empty.
7515
7516 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7517
7518         * ParagraphList.C (splice): new function.
7519
7520         * CutAndPaste.C (pasteSelection): use it
7521
7522 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7523
7524         * CutAndPaste.C (pasteSelection): remove the last next and
7525         previous from this file.
7526
7527 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7528
7529         * CutAndPaste.C (pasteSelection): more clean up, user proper
7530         ParagraphList functions for pasteing.
7531
7532         * ParagraphList.C (insert): new function, three arg insert
7533
7534 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7535
7536         * ParagraphList.C (insert): new function, three arg insert
7537
7538         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7539         not on paragraphs.
7540
7541 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7542
7543         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7544
7545 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7546
7547         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7548
7549 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7550
7551         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7552         (copySelection): clean up a bit.
7553         (pasteSelection): use make_pair
7554
7555         * ParagraphList.C (ParagraphList): implement copy constructor
7556         (operator=): implement, base on copy constructor.
7557         (assign): new func
7558
7559         * paragraph.C (erase): return a bool
7560
7561         * paragraph_pimpl.C (erasePos): remove function, move contents...
7562         (erase): ... here. Return a bool.
7563         (erase): call erase instead of erasePos.
7564
7565 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7566
7567         * ParagraphList.h: define PitPosPair
7568         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7569         ParagraphList, fix a bug on pasting multiple pars
7570         * text2.C: change interface to C&P
7571
7572 2003-04-30  André Pönitz  <poenitz@gmx.net>
7573
7574         * undo_func.C: revert part of yesterday's patch 2
7575
7576 2003-04-30  John Levon  <levon@movementarian.org>
7577
7578         * LColor.C: s/tabular/table/
7579
7580 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7581
7582         * text3.C (dispatch): do not convert iterator -> pointer
7583         * undo_funcs.C (setCursorParUndo): ditto
7584         * text_funcs.C (transposeChars): ditto
7585
7586         * text2.C (setLayout): ws changes only
7587
7588         * text.C (breakParagraph): do not convert iterator -> pointer
7589         (insertChar): ditto
7590         (acceptChange): ditto
7591         (rejectChange): ditto
7592         (changeCase): ditto
7593         (Delete): ditto
7594         (backspace): ditto
7595
7596         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7597         pointer
7598
7599 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7600
7601         * text3.C (gotoInset): YABG (yet another bad getChar)
7602
7603 2003-04-29  André Pönitz  <poenitz@gmx.net>
7604
7605         * paragraph.h: make operator= private unimplemented as long as
7606           it is unusable
7607
7608         * ParagraphList.C: whitespace
7609
7610         * paragraph.[Ch]:
7611         * paragraph_pimpl.[Ch]:
7612         * paragraph_funcs.C:
7613         * CutAndPaste.C:
7614         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7615
7616         * text2.C:
7617           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7618
7619 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7620
7621         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7622         * paragraph.[Ch] (erase):
7623         * paragraph_pimpl.[Ch] (erase): change return type and value
7624         * text2.C (cutSelection): some rework
7625
7626 2003-04-28  John Levon  <levon@movementarian.org>
7627
7628         * bufferlist.C: changes for unsaved changes dialog
7629
7630 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7631
7632         * bufferlist.C (newFile): set language (messages_) for new
7633         documents also.
7634
7635         * buffer.C (readFile): ws changes only.
7636
7637 2003-04-28  André Pönitz  <poenitz@gmx.net>
7638
7639         * undo_funcs.C:
7640         * lyxfunc.C:
7641         * buffer.[Ch]:
7642         * BufferView_pimpl.C:
7643         * BufferView.C: getParFromID related ParagraphList::iterator changes
7644
7645 2003-04-28  André Pönitz  <poenitz@gmx.net>
7646
7647         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7648           Changes
7649
7650 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7651
7652         * messages.C: remove one more localedir class variable.
7653
7654 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7655
7656         * messages.C (getLocaleDir): singleton generation function
7657         (Pimpl): use it.
7658         (Messages): add a default constructor.
7659
7660         * main.C (main): do not setup localedir here, do not call
7661         gettext_init.
7662
7663         * gettext.C (_): use it.
7664         (gettext_init): delete funciton
7665
7666 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7667
7668         * gettext.C (getLyXMessages): new singleton generating function.
7669
7670         * buffer.C (updateDocLang): adjust
7671
7672         * Makefile.am (messages.o): add target
7673         (main.o): remove target
7674
7675 2003-04-27  John Levon  <levon@movementarian.org>
7676
7677         * bufferlist.C:
7678         * lyx_cb.C:
7679         * lyxfunc.C:
7680         * lyxvc.C: specify cancel button in Alert::prompt
7681
7682 2003-04-26  John Levon  <levon@movementarian.org>
7683
7684         * text3.C:
7685         * lyxfunc.C:
7686         * lfuns.h:
7687         * LyXAction.C: add LFUN_INSET_SETTINGS
7688
7689         * lyxfunc.C: don't enable tabular-feature when there's
7690         just any locking inset
7691
7692 2003-04-26  John Levon  <levon@movementarian.org>
7693
7694         * bufferlist.C: re-add Cancel to buffer close question
7695
7696         * lyxfunc.C: fix import UI a bit
7697
7698 2003-04-25  John Levon  <levon@movementarian.org>
7699
7700         * gettext.C: remove the broken asserts for now
7701
7702 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7703
7704         * messages.C: make case where setlocale cannot comply work better.
7705
7706         * buffer.C (updateDocLang): new function
7707         (changeLanguage): use it
7708         (readFile): use it
7709
7710         * text2.C (setCounter): use B_ a bit.
7711
7712         * lyxlayout.C (Read): be sure to trim the label strings.
7713
7714         * messages.C (Messages): fix typo in comment
7715
7716         * buffer.C (readFile): set message_ after file is loaded.
7717         (makeDocBookFile): remove double return
7718         (changeLanguage): reset message_ upon language change.
7719         (B_): new func, use this to get translated buffer strings.
7720
7721         * main.C: add myself and Jean Marc as authors.
7722
7723 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7724
7725         * messages.[hC]: pimplify Messages, and three different pimpls to be
7726         used in different circumstances.
7727
7728         * gettext.[Ch]: change for use with new message code.
7729
7730 2003-04-24 André Pönitz <poenitz@gmx.net>
7731
7732         * factory.C: support for eqref
7733
7734 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7735
7736         * messages.[Ch]: add missing char
7737
7738         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7739
7740         * messages.[Ch]: New files
7741
7742 2003-04-18  John Levon  <levon@movementarian.org>
7743
7744         * BufferView.h:
7745         * BufferView.C:
7746         * BufferView_pimpl.C:
7747         * lfuns.h:
7748         * LyXAction.C:
7749         * lyxtext.h:
7750         * text2.C: remove layout-copy/paste (bug 778)
7751
7752 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7753
7754         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7755
7756 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7757
7758         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7759         if they succeed. Act accordingly.
7760
7761 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7762
7763         * text2.C (setCharFont): adjust
7764         (setCounter): adjust
7765         (insertStringAsLines): adjust
7766
7767         * text.C (leftMargin): adjust
7768         (setHeightOfRow): adjust
7769
7770         * rowpainter.C (paintFirst): adjust
7771         (paintLast): adjust
7772
7773         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7774         (outerHook): ditto
7775         (isFirstInSequence): ditto
7776         (getEndLabel): ditto
7777         (outerFont): adjust
7778
7779         * paragraph.C (getParLanguage): comment out some hard stuff.
7780
7781         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7782         (sgmlError): ditto
7783         (simpleDocBookOnePar): ditto
7784         (makeDocBookFile): use ParagraphList::iterator
7785
7786         * CutAndPaste.C (pasteSelection): adjust
7787
7788 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7789
7790         * text2.C (getFont): adjust
7791         (getLayoutFont): adjust
7792         (getLabelFont): adjust
7793
7794         * paragraph_funcs.C (TeXOnePar): adjust
7795
7796         * buffer.C (simpleLinuxDocOnePar): adjust
7797         (simpleDocBookOnePar): adjust
7798
7799         * CutAndPaste.C (pasteSelection): adjust
7800
7801         * BufferView.C (getEncoding): adjust
7802
7803         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7804
7805 2003-04-16  John Levon  <levon@movementarian.org>
7806
7807         * lyxfind.C: use parlist stuff for search/changes
7808
7809 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7810
7811         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7812
7813         * text2.C (deleteEmptyParagraphMechanism): adjust
7814
7815         * text2.[Ch] (ownerParagraph): delete func (both of them
7816
7817 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7818
7819         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7820
7821 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7822
7823         * ParagraphList.C: prepare for NO_NEXT
7824
7825 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7826
7827         * text2.C (getFont): adjust
7828         (getLayoutFont): adjust
7829         (getLabelFont): adjust
7830
7831         * paragraph.C (getFont): adjust
7832         (getLabelFont): adjust
7833         (getLayoutFont): adjust
7834
7835         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7836
7837 2003-04-15  John Levon  <levon@movementarian.org>
7838
7839         From Angus Leeming
7840
7841         * lyx_main.C: handle Include in .ui files
7842
7843 2003-04-15  John Levon  <levon@movementarian.org>
7844
7845         * MenuBackend.C: make the doc files length shorter
7846
7847         * ToolbarBackend.h:
7848         * ToolbarBackend.C: handle toolbar placement flags,
7849         Minibuffer
7850
7851 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7852
7853         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7854         adjust
7855
7856         * paragraph_funcs.C (TeXOnePar): adjust
7857
7858         * paragraph.C (getLabelFont): add outerfont arg, adjust
7859         (getLayoutFont): ditto
7860         (simpleTeXOnePar): adjust
7861
7862         * paragraph_pimpl.C (realizeFont): delete func
7863
7864 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7865
7866         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7867         row argument, constify cur argument.
7868
7869 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7870
7871         * text2.C (getFont): adjust
7872         (getLayoutFont): adjust
7873         (getLabelFont): adjust
7874
7875         * paragraph_funcs.C (TeXOnePar): adjust
7876         (outerFont): new func...
7877         (realizeFont): ...moved out from here, changed this to facilitate
7878         transition
7879
7880         * paragraph.C (getFont): take outerfont as arg, adjust
7881         (simpleTeXOnePar): add outerfont arg, adjust
7882
7883         * buffer.C (simpleLinuxDocOnePar): adjust
7884         (simpleDocBookOnePar): adjust
7885
7886         * CutAndPaste.C (pasteSelection): adjust
7887
7888         * BufferView.C (getEncoding): adjust
7889
7890 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7891
7892         * text2.C (setCharFont): adjust
7893         (setCounter): adjust
7894
7895         * text.C (leftMargin): adjust
7896         (setHeightOfRow): adjust
7897
7898         * rowpainter.C (paintFirst): adjust
7899         (paintLast): adjust
7900
7901         * paragraph_pimpl.C (realizeFont): adjust
7902
7903         * paragraph.C (isFirstInSequence): move from here...
7904         * paragraph_funcs.C (isFirstInSequence): ...to here
7905
7906         * paragraph.C (outerHook): move from here...
7907         * paragraph_funcs.C (outerHook): ...to here
7908
7909         * paragraph.C (depthHook): move from here...
7910         * paragraph_funcs.C (depthHook): ...to here
7911
7912         * paragraph.C (getEndLabel): move from here...
7913         * paragraph_funcs.C (getEndLabel): ...to here
7914
7915         * text2.C (realizeFont): move from here...
7916         * paragraph_funcs.C (realizeFont): ...to here
7917
7918 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7919
7920         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7921
7922 2003-04-14  Angus Leeming  <leeming@lyx.org>
7923
7924         * LColor.[Ch]: scrap LColor mathcursor.
7925
7926 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7927
7928         * lyxlex.[Ch] (text): delete function
7929         * trans.C (Load): adjust
7930         * paragraph_funcs.C (readParToken): adjust
7931
7932 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7933
7934         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7935         vector<char> instead of a char[].
7936
7937         * lyxlex_pimpl.C (getString): adjust
7938         (next): adjust
7939         (lex): use getString
7940         (eatLine): adjust
7941         (nextToken): adjust
7942
7943         * lyxlex.C (text): use pimpl_->getString()
7944         (getBool): ditto
7945         (findToken): ditto
7946
7947 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7948
7949         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7950         (makeFontEntriesLayoutSpecific): temp var for par.size()
7951         (setLayout): temp var for ownerParagraphs().end()
7952         (fullRebreak): temp var for rows().end()
7953         (selectionAsString): temp var for boost::next(startpit), realize
7954         that the while really is a regular for loop.
7955         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7956         setCursor in one place.
7957         (setParagraph): temp vr for ownerParagraphs().end()
7958         (updateCounters): make the while loop a for loop
7959         (cutSelection): temp var for ownerParagraphs().end()
7960         (updateInset): make the do {} while() a regular for loop
7961         (getCursorX): use temp vars
7962         (setCurrentFont): use temp vars
7963         (getColumnNearX): use temp vars
7964
7965 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7966
7967         * text.C (transformChar): use temp var for getChar
7968         (computeBidiTables): use temp var for row->par()
7969         (fill): move temp vars for row->par() and pit->layout() earlier in
7970         the function.
7971         (labelFill): use temp var for row->par()
7972         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7973         asc and desc, realize that pit never changes and that firstpit is
7974         just a duplicate and not needed. Exchange rit->par() with pit in a
7975         lot of places.
7976         (breakAgain): use a temp var for boost::next(rit)
7977         (breakAgainOneRow): ditto
7978         (breakParagraph): use a temp var for rows().begin()
7979         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7980         (cursorRightOneWord): use temp var for cursor.par() and
7981         cursor.pos(), remove usage of tmpcursor.
7982         (cursorLeftOneWord): use temp var for cursor.par() and
7983         cursor.pos() only set cur at end of function.
7984
7985 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7986
7987         * text.C, text2.C: exchange all usage of Paragraph::next with
7988         boost::next(ParagraphList::iterator)
7989
7990         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7991
7992         * text2.C (cursorTop): simplify implementation
7993         (cursorBottom): ditto
7994         (setParagraph): use ParagraphList::iterator
7995         (setCurrentFont): adjust
7996         (getColumnNearX): adjust
7997         (cursorRight): adjust
7998         (cursorLeft): remove usage of Paragraph::previous
7999         (cursorUpParagraph): ditto
8000         (deleteEmptyParagraphMechanism): slight cleanup
8001
8002         * text.C (isBoundary): take a Paragraph const & instead of a
8003         pointer as arg.
8004         (addressBreakPoint): ditto
8005         (leftMargin): remove usage of Paragraph::previous.
8006         (setHeightOfRow): ditto
8007         (cursorLeftOneWord): ditto
8008         (selectNextWordToSpellcheck): ditto
8009         (Delete): ditto
8010         (backspace): ditto
8011         (breakParagraph): remove one usage of Paragraph::next
8012         (redoParagraph): ditto
8013         (acceptChange): ditto
8014         (insertChar): adjust
8015         (rowBreakPoint): adjust
8016
8017         * bufferview_funcs.C (toggleAndShow): adjust
8018
8019 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8020
8021         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8022         methods to access it.
8023         * lyxtext.h:
8024         * text.C: Added updateRowPositions to compute all row positions.
8025         Make top_y and getRowNearY() to use the cached y position
8026
8027 2003-04-11  John Levon  <levon@movementarian.org>
8028
8029         * text.C (rowBreakPoint): reintroduce the labelEnd
8030         checks, code copied from the row fill stuff. Deep voodoo.
8031
8032         * text.C (fill): add a comment and debugging for the
8033         next poor soul.
8034
8035 2003-04-11  John Levon  <levon@movementarian.org>
8036
8037         * text.C: make sure fullrow insets get wrapped to the next line,
8038         even when they're in a manual label
8039
8040 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8041
8042         * text2.C (insertParagraph): make it take ParagraphList::iterator
8043         as arg.
8044         (setLayout): make it return ParagraphList::iterator
8045         (redoParagraphs): ditto
8046         (setCounter): ditto
8047         (checkParagraph): ditto
8048
8049         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8050
8051         * text2.C: adjust several funcs.
8052         (realizeFont): take a ParagraphList::iterator as arg.
8053         (getLayoutFont): ditto
8054         (getLabelFont): ditto
8055         (setCharFont): ditto
8056
8057         * text.C: adjust several funcs.
8058
8059 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8060
8061         * text.C (selectNextWordToSpellcheck): don't accidentally
8062         skip insets
8063
8064 2003-04-10  John Levon  <levon@movementarian.org>
8065
8066         * ToolbarBackend.C (getIcon): special handling for
8067         LFUN_MATH_DELIM
8068
8069 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8070
8071         * text2.C (cursorRight): a getChar assert fixed
8072
8073 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8074
8075         * text2.C (getFont): change to take a ParagraphList::iterator
8076         instead of Paragraph*
8077         Adjust several functions.
8078
8079         * text.C (transformChar): change to take a ParagraphList::iterator
8080         instead of Paragraph*
8081         (singleWidth): ditto
8082         Adjust several functions.
8083
8084         * rowpainter.C: adjust several functions
8085         * rowpainter.h:store a ParagraphList::iterator and not a
8086         Paragraph&.
8087
8088
8089 2003-04-09  John Levon  <levon@movementarian.org>
8090
8091         * lyxfunc.C:
8092         * lfuns.h:
8093         * LyXAction.h:
8094         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8095         and the "help" bits as well
8096
8097 2003-04-09  John Levon  <levon@movementarian.org>
8098
8099         * ToolbarBackend.h:
8100         * ToolbarBackend.C: allow multiple toolbars
8101
8102 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8103
8104         * undo_funcs.C (setCursorParUndo): adjust
8105
8106         * text_funcs.C (transposeChars): adjust
8107
8108         * text3.C (gotoNextInset): adjust
8109         (dispatch): adjust
8110
8111         * text2.C (setLayout): adjust
8112         (changeDepth): adjust
8113         (setFont): adjust
8114         (redoParagraphs): adjust
8115         (selectionAsString): adjust
8116         (setParagraph): adjust
8117         (insertInset): adjust
8118         (cutSelection): adjust
8119         (copySelection): adjust
8120         (pasteSelection): adjust
8121         (insertStringAsLines): adjust
8122         (updateInset): adjust
8123         (setCursor): change to take a ParagraphList::iterator parameter
8124         (setCursorIntern): change to take a ParagraphList::iterator parameter
8125         (setCurrentFont): adjust
8126         (cursorLeft): adjust
8127         (cursorRight): adjust
8128         (deleteEmptyParagraphMechanism): adjust
8129
8130         * text.C (breakParagraph): adjust
8131         (insertChar): adjust
8132         (acceptChange): adjust
8133         (rejectChange): adjust
8134         (selectNextWordToSpellcheck): adjust
8135         (changeCase): adjust
8136         (Delete): adjust
8137         (backspace): adjust
8138
8139         * lyxfind.C (SearchForward): adjust
8140         (SearchBackward): adjust
8141         (nextChange): adjust
8142
8143         * lyxcursor.C (par): adjust
8144
8145         * lyxcursor.h: store a ParagraphList::iterator instead of a
8146         Paragraph*
8147
8148         * lyx_cb.C (getPossibleLabel): adjust
8149
8150         * bufferview_funcs.C (toggleAndShow): adjust
8151
8152         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8153         (dispatch): adjust
8154
8155         * BufferView.C (removeAutoInsets): adjust
8156         (lockedInsetStoreUndo): adjust
8157
8158 2003-04-09  John Levon  <levon@movementarian.org>
8159
8160         * ToolbarBackend.C: try icon without argument
8161         if with argument fails
8162
8163 2003-04-08  John Levon  <levon@movementarian.org>
8164
8165         * ToolbarBackend.h:
8166         * ToolbarBackend.C: add getIcon(), handle tooltip,
8167         and change from "Icon" to "Item".
8168
8169 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8170
8171         * BufferView.C (lockInset): another bad getchar crunched
8172
8173 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8174
8175         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8176         again)
8177
8178 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8179
8180         * lyxfind.C (searchForward, searchBackwards): bug 782
8181
8182 2003-04-07  John Levon  <levon@movementarian.org>
8183
8184         * paragraph.C: remove dead comment
8185
8186         * text.C: remove troublesome depth-fiddling code
8187         in leftMargin() and rightMargin() (bug 1017)
8188
8189         * text.C: fix breaking of rows in nested lists
8190         (bug 1004)
8191
8192         * text2.C (updateCounters): fix up depth values
8193         (bug 1013)
8194
8195 2003-04-07  John Levon  <levon@movementarian.org>
8196
8197         * BufferView_pimpl.C: clear message when doc finishes resizing,
8198         and after a mouse event
8199
8200         * lyxfunc.C: clear message after exiting inset
8201
8202 2003-04-07  John Levon  <levon@movementarian.org>
8203
8204         * bufferview_funcs.C: show math status not outside
8205         status in the statusbar
8206
8207 2003-04-07  John Levon  <levon@movementarian.org>
8208
8209         * lyxfunc.C: note status changed after a depth change
8210
8211 2003-04-04  Angus Leeming  <leeming@lyx.org>
8212
8213         * LaTeX.h: move AuxInfo operator==, != out of line.
8214         Remove LaTeX virtual destructor; nothing derives from it.
8215         Move operator()() out of public area and rename it startscript().
8216         Change protected for private.
8217
8218 2003-04-04  Angus Leeming  <leeming@lyx.org>
8219
8220         * lyxfunc.C:
8221         * text2.C: remove unneeded #includes.
8222
8223 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8224
8225         * text2.C (dEPM): fix the heigth of the next row
8226
8227 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8228
8229         * text.C: squashed an invalid getChar requester + some ws changes
8230
8231 2003-04-03  John Levon  <levon@movementarian.org>
8232
8233         * bufferview_funcs.h:
8234         * bufferview_funcs.C:
8235         * lyxfunc.C:
8236         * lyxtext.h:
8237         * text2.C: make getStatus work for the env depth lfuns
8238
8239 2003-04-03  John Levon  <levon@movementarian.org>
8240
8241         * bufferview_funcs.h:
8242         * bufferview_funcs.C:
8243         * lyxfunc.C:
8244         * lyxtext.h:
8245         * text2.C: parlistize decDepth(), by merging it with incDepth()
8246
8247 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8248
8249         * lyxrow.h: store a ParagraphList::iterator instead of a
8250         Paragraph* and adjust other class functions to suit.
8251
8252         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8253         above.
8254
8255 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8256
8257         * text2.C (setCursor): do not anchor to cursor row for the time being
8258
8259 2003-04-02  John Levon  <levon@movementarian.org>
8260
8261         * LyXAction.C:
8262         * lfuns.h:
8263         * lyx_main.C:
8264         * lyxtext.h:
8265         * text.C:
8266         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8267
8268 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8269
8270         * paragraph.h: make ParagraphList and ParagraphList::iterator
8271         friends of Paragraph.
8272
8273         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8274
8275         * ParagraphList.C: Use the private next_ and previous_ from
8276         Paragraph.
8277
8278 2003-04-01  John Levon  <levon@movementarian.org>
8279
8280         * ToolbarBackend.h:
8281         * ToolbarBackend.C:
8282         * Makefile.am: rename, remove defaults gunk
8283
8284         * MenuBackend.h:
8285         * MenuBackend.C: remove defaults gunk
8286
8287         * Languages.h:
8288         * Languages.C: remove defaults gunk
8289
8290         * lyx_main.h:
8291         * lyx_main.C: error out if files couldn't be found.
8292
8293 2003-04-02  John Levon  <levon@movementarian.org>
8294
8295         * text2.C: make incDepth() use parlist
8296
8297 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8298
8299         * undo_funcs.C (firstUndoParagraph): adjust
8300
8301         * text3.C (gotoInset): adjust
8302         (dispatch): adjust, and rewrite loop.
8303
8304         * text2.C (init): adjust, and rewrite loop.
8305         (redoParagraphs): adjust
8306         (updateInset): adjust, and rewrite loop.
8307         (deleteEmptyParagraphMechanism): adjust
8308
8309         * tabular.C (LyXTabular): adjust
8310         (SetMultiColumn): adjust
8311         (TeXRow): adjust
8312
8313         * lyxtext.[Ch] (ownerParagraph): delete function
8314         (ownerParagraphs): new function returns a ParagraphList.
8315
8316         * BufferView.C (removeAutoInsets): adjust
8317         (insertErrors): adjust
8318         (setCursorFromRow): adjust
8319
8320 2003-04-01  Angus Leeming  <leeming@lyx.org>
8321
8322         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8323         in the frontends.
8324
8325 2003-04-02  John Levon  <levon@movementarian.org>
8326
8327         * lyxtext.h:
8328         * text.C:
8329         * Makefile.am:
8330         * text_funcs.h:
8331         * text_funcs.C: make transposeChars a free function
8332
8333         * lyxrow_funcs.C: remove wrong comment
8334
8335 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8336
8337         * lyxtext.h: adjust
8338         * rowpainter.C: adjust
8339         * text.C: adjust
8340         * text2.C: adjust
8341         * text3.C: adjust
8342
8343         * lyxrow_funcs. [Ch]: new files
8344
8345         * lyxrow.[Ch]: remove next and previous pointers
8346         (next,previous): remove accessor functions
8347         (isParEnd): move to lyxrow_funcs
8348         (lastPos): move to lyxrow_funcs
8349         (nextRowIsAllInset): move to lyxrow_funcs
8350         (lastPrintablePos): move to lyxrow_funcs
8351         (numberOfSeparators): move to lyxrow_funcs
8352         (numberOfHfills): move to lyxrow_funcs
8353         (numberOfLabelHfills): move to lyxrow_funcs
8354         (hfillExpansion): move to lyxrow_funcs
8355
8356         * lyxfunc.C: adjust
8357
8358         * bufferview_funcs.C (toggleAndShow): adjust
8359
8360         * RowList.h: Remove class RowList from file leave just a
8361         std::list<Row>.
8362
8363         * RowList.C: delete file
8364
8365         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8366         and lyxrow_funcs.h
8367
8368 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8369
8370         * text3.C (cursorPrevious): adjust
8371         (cursorNext): adjust
8372         (dispatch): adjust
8373
8374         * text2.C (redoHeightOfParagraph): adjust
8375         (redoDrawingOfParagraph): adjust
8376         (setCursor): adjust
8377
8378         * text.C (breakParagraph): adjust
8379         (insertChar): adjust
8380         (backspace): adjust
8381
8382         * rowpainter.C (RowPainter): adjust
8383         (leftMargin): simplify and adjust
8384         (most rowpainter functions): adjust.
8385
8386         * rowpainter.h: store the row as RowList::iterator not as Row*
8387
8388         * lyxcursor.C (row): taka RowList::iterator as arg
8389         (irow): ditto
8390
8391         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8392         of Row*.
8393
8394 2003-04-01  Angus Leeming  <leeming@lyx.org>
8395
8396         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8397         stuff like bool Bool.
8398
8399 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8400
8401         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8402         rewrite a loop
8403
8404 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8405
8406         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8407         RowList::iterator.
8408
8409         * lyxtext.h (rows): drop one version and leve a const variant that
8410         returns a RowList::iterator.
8411
8412 2003-03-31  Angus Leeming  <leeming@lyx.org>
8413
8414         * text.C (fill): ensure that the signature is the same as that in the
8415         header file.
8416
8417 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8418
8419         * text2.C (redoParagraphs): adjust
8420         (updateCounters): adjust
8421         (checkParagraph): adjust
8422         (getColumnNearX): adjust and reformat a bit.
8423
8424         * text.C (top_y): adjust
8425         (workWidth): adjust
8426         (leftMargin): adjust
8427         (prepareToPrint): adjust
8428         (getRow): adjust
8429         (getRowNearY): adjust
8430
8431         * lyxtext.h: make rowlist_ mutable.
8432
8433         * RowList.h: add const_iterator
8434         * RowList.C: adjust for RowList::const_iterator.
8435
8436         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8437         adjust.
8438
8439 2003-03-31  John Levon  <levon@movementarian.org>
8440
8441         * lyxrc.h:
8442         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8443
8444         * lyx_main.C: set default fonts from using lyx_gui funcs
8445
8446         * exporter.C: pdf_mode moved from lyxrc
8447
8448         * lyx_cb.C:
8449         * lyxfunc.C: changes from above
8450
8451 2003-03-31  John Levon  <levon@movementarian.org>
8452
8453         * lyx_main.C: fix to the last fix
8454
8455 2003-03-31  John Levon  <levon@movementarian.org>
8456
8457         * bufferlist.C: "Load original" -> "Load Original"
8458
8459         * converter.C:
8460         * exporter.C:
8461         * importer.C:
8462         * lyx_main.C:
8463         * format.C: more Alert cleanups
8464
8465 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8466
8467         * text2.C (removeParagraph): make it take a RowList::iterator as
8468         arg, adjust.
8469         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8470         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8471
8472         * text.C (anchor_row): make it take a RowList::iterator as arg,
8473         adjust.
8474         (computeBidiTables): make it take a const reference to Row instead
8475         of Row pointer, adjust.
8476         (leftMargin): make it take a RowList::iterator as arg, adjust.
8477         (rowBreakPoint): adjust
8478         (breakAgainOneRow): make it take a RowList::iterator as arg,
8479         adjust.
8480         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8481
8482         * bufferview_funcs.C (toggleAndShow): adjust
8483
8484 2003-03-30  John Levon  <levon@movementarian.org>
8485
8486         * Makefile.am:
8487         * BoostFormat.h:
8488         * boost-inst.C: moved to support
8489
8490         * several files: changes as a result
8491
8492 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8493
8494         * text2.C (LyXText): adjust.
8495         (init): adjust
8496         (removeRow): make it take a RowList::iterator as arg, adjust.
8497         (fullRebreak): adjust
8498         (deleteEmptyParagraphMechanism): adjust
8499         (clearPaint): adjust
8500         (postPaint): adjust
8501
8502         * text.C (top_y): adjust
8503         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8504         (breakAgain): make it take a RowList::iterator as arg, adjust.
8505         (breakParagraph): adjust
8506         (insertChar): adjust
8507         (backspace): adjust
8508
8509         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8510         need_break_row, and refresh_row.
8511
8512         * text3.C (dispatch): adjust
8513
8514         * text2.C (checkParagraph): adjust
8515         (setCursor): adjust
8516         (setCursorFromCoordinates): adjust
8517
8518         * text.C (top_y): adjust
8519         (workWidth): adjust
8520         (getRow): make it return a RowList::iterator, adjust
8521         (getRowNearY): make it return a RowList::iterator, adjust
8522
8523         * text2.C (init): adjust
8524         (insertRow): remove function
8525         (insertParagraph): adjust
8526         (redoParagraphs): adjust
8527         (fullRebreak): adjust
8528         (updateCounters): adjust
8529
8530         * text.C (top_y): rewrite to use RowList iterators.
8531         (top_y): adjust
8532         (setHeightOfRow): rewrite to sue RowList iterators.
8533         (appendParagraph): adjust
8534         (breakAgain): adjust
8535         (breakAgainOneRow): adjust
8536         (breakParagraph): adjust
8537         (getRow): adjust
8538         (getRowNearY): adjust, and remove commented code.
8539
8540         * lyxtext.h (firstRow): delete function
8541         (lastRow): delete function
8542         (rows): new function (const and non-const versions.)
8543         (insertRow): delete function
8544
8545         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8546
8547 2003-03-29  John Levon  <levon@movementarian.org>
8548
8549         * BufferView_pimpl.C: always update scrollbar top
8550         because pasting text when we're anchored could mean we
8551         miss an update altogether
8552
8553 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8554
8555         * text2.C (init): use rowlist_.end() and not 0.
8556         (insertRow): change to take a RowList::iterator as arg, adjust
8557         for this.
8558         (insertParagraph): change to take a RowList::iterator as arg,
8559         adjust for this.
8560         (redoParagraphs): remove some debug msgs.
8561
8562         * text.C (appendParagraph): change to take a RowList::iterator
8563         arg, adjust for this.
8564         (breakAgain): add an assert
8565         (breakAgainOneRow): ditto
8566
8567 2003-03-29  John Levon  <levon@movementarian.org>
8568
8569         * text2.C: do not clear selection after inc/decDepth
8570         (bug 550)
8571
8572 2003-03-29  John Levon  <levon@movementarian.org>
8573
8574         * BufferView.C:
8575         * buffer.C: fix broken strerrors according to Lars
8576
8577 2003-03-29  John Levon  <levon@movementarian.org>
8578
8579         * converters.C: more Alert cleanups
8580
8581 2003-03-29  John Levon  <levon@movementarian.org>
8582
8583         * bufferview_funcs.C: remove pointless Alert
8584
8585         * buffer.C: fix confusing error message when
8586         a template is chmoded 000
8587
8588 2003-03-29  John Levon  <levon@movementarian.org>
8589
8590         * BufferView.C:
8591         * BufferView.h:
8592         * BufferView_pimpl.C: Alert fixes
8593
8594         * Makefile.am:
8595         * tabular.C:
8596         * tabular-old.C: remove unused table compat reading
8597
8598 2003-03-29  John Levon  <levon@movementarian.org>
8599
8600         * BufferView.C:
8601         * buffer.C:
8602         * lyx_cb.h:
8603         * lyx_cb.C: more Alert cleanups
8604
8605         * lyxfunc.C: don't allow chktex if not latex document
8606
8607 2003-03-29  John Levon  <levon@movementarian.org>
8608
8609         * lyx_cb.C:
8610         * BufferView.C:
8611         * buffer.C: warnings pushed down from support/,
8612         kill err_alert
8613
8614 2003-03-29  John Levon  <levon@movementarian.org>
8615
8616         * lyxfunc.C: safety check for C-r (revert)
8617
8618 2003-03-29  John Levon  <levon@movementarian.org>
8619
8620         * bufferlist.h:
8621         * bufferlist.C: several UI fixes using Alert::prompt.
8622         Fix the pointless looping quit code. Fix stupid revert
8623         behaviour (bug 938)
8624
8625         * lyxvc.h:
8626         * lyxvc.C:
8627         * lyx_cb.C: use Alert::prompt
8628
8629         * lyx_main.C: remove a silly question
8630
8631         * lyxfunc.C: remove a couple of silly questions,
8632         use Alert::prompt
8633
8634 2003-03-28  John Levon  <levon@movementarian.org>
8635
8636         * text2.C: fix bug 974 (End on empty par)
8637
8638 2003-03-28  John Levon  <levon@movementarian.org>
8639
8640         * BufferView_pimpl.C:
8641         * LyXAction.C:
8642         * lfuns.h: remove do-nothing math greek lfuns
8643
8644 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8645
8646         * lyxgluelength.h (isValidGlueLength): add default arg on
8647         parameter 2. Remove default arg from friend in class.
8648
8649         * lyxlength.h (isValidLength): add default arg on parameter 2.
8650         Remove default arg from friend in class.
8651
8652         * text2.C (LyXText): adjust, initialize refresh_row.
8653         (init): adjust
8654         (removeRow): adjust
8655         (insertRow): adjust
8656         (insertParagraph): adjst
8657         (redoParagraphs): adjust
8658         (fullRebreak): adjust
8659         (updateCounters): adjust
8660         (deleteEmptyParagraphMechanism): first attempt at fixing a
8661         crashing bug.
8662
8663         * text.C (top_y): adjust
8664         (setHeightOfRow): adjust
8665         (getRow): adjust
8666         (getRowNearY): adjust
8667
8668         * lyxtext.h: include RowList.h
8669         (~LyXText): not needed anymore, deleted.
8670         (firstRow): modify for RowList
8671         (lastRow): new function
8672         Delete firstrow and lastrow class variables, add a Rowlist
8673         rowlist_ class variable.
8674
8675         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8676         paragraph is empty.
8677
8678         * RowList.C (insert): fix case where it == begin().
8679
8680 2003-03-26  Angus Leeming  <leeming@lyx.org>
8681
8682         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8683         the thesaurus dialog.
8684
8685 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8686
8687         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8688
8689         * RowList.[Ch]: new files
8690
8691         * ParagraphList.C (erase): handle the case where it == begin
8692         correctly.
8693
8694 2003-03-25  John Levon  <levon@movementarian.org>
8695
8696         * Makefile.am:
8697         * aspell_local.h:
8698         * aspell.C: add new aspell support
8699
8700         * lyxrc.h:
8701         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8702         have it accessible.
8703
8704 2003-03-25  Angus Leeming  <leeming@lyx.org>
8705
8706         * lfuns.h:
8707         * LyXAction.C (init): new LFUN_INSET_INSERT.
8708
8709         * BufferView_pimpl.C (dispatch): split out part of the
8710         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8711
8712         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8713         LFUN_INSET_APPLY.
8714
8715 2003-03-25  Angus Leeming  <leeming@lyx.org>
8716
8717         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8718
8719 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8720
8721         * text2.C:
8722         * text3.C: remove useless row->height(0)
8723
8724 2003-03-25  John Levon  <levon@movementarian.org>
8725
8726         * lyxtext.h:
8727         * text2.C:
8728         * text3.C: rename the refreshing stuff to better names
8729
8730 2003-03-24  John Levon  <levon@movementarian.org>
8731
8732         * BufferView_pimpl.h:
8733         * BufferView_pimpl.C: update layout choice on a mouse
8734         press/release
8735
8736 2003-03-23  John Levon  <levon@movementarian.org>
8737
8738         * Makefile.am: fix commandtags.h reference
8739
8740 2003-03-22  John Levon  <levon@movementarian.org>
8741
8742         * BufferView_pimpl.C:
8743         * lyxtext.h:
8744         * rowpainter.C:
8745         * rowpainter.h:
8746         * text.C:
8747         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8748
8749 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8750
8751         * lyxtext.h:
8752         * text.C: take the rtl methods out of line
8753
8754 2003-03-21 André Pönitz <poenitz@gmx.net>
8755
8756         * metricsinfo.[Ch]: new files containing structures to be passed around
8757         during the two-phase-drawing...
8758
8759 2003-03-21 André Pönitz <poenitz@gmx.net>
8760
8761         * lyxtextclass.C: read 'environment' tag.
8762
8763 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8764
8765         * text2.C (removeRow): fix bug 964
8766
8767 2003-03-20  John Levon  <levon@movementarian.org>
8768
8769         * rowpainter.C:
8770         * text.C:
8771         * text2.C: paint cleanups. Inset::update() dropped font
8772         parameter
8773
8774 2003-03-19  John Levon  <levon@movementarian.org>
8775
8776         * lyxfunc.C: only fitcursor/markDirty if available()
8777
8778 2003-03-19  John Levon  <levon@movementarian.org>
8779
8780         * commandtags.h: rename to ...
8781
8782         * lfuns.h: ... this, and renumber / cleanup
8783
8784 2003-03-19  John Levon  <levon@movementarian.org>
8785
8786         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8787         fit the cursor after an lfun
8788
8789         * BufferView.h:
8790         * BufferView.C:
8791         * BufferView_pimpl.h:
8792         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8793
8794         * LyXAction.C: layout-character should have ReadOnly
8795
8796         * ParagraphParameters.C:
8797         * buffer.C:
8798         * bufferview_funcs.C:
8799         * lyx_cb.C:
8800         * lyxfind.C:
8801         * lyxtext.h:
8802         * text.C:
8803         * text2.C:
8804         * text3.C:
8805         * undo_funcs.C: changes from above
8806
8807 2003-03-18  John Levon  <levon@movementarian.org>
8808
8809         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8810         remove it from update()
8811
8812         * lyxfunc.C: update layout choice after an lfun
8813
8814         * text3.C: remove extra updateLayoutChoice()s
8815
8816 2003-03-18  John Levon  <levon@movementarian.org>
8817
8818         * text.C: top_y change means full repaint, fix
8819         a drawing bug with cursor movement
8820
8821 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8822
8823         * lyxtext.h:
8824         * text.C:
8825         * text2.C: anchor row on setCursor
8826
8827 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8828
8829         * lyxtext.h: remove almost all mutable keywords
8830         * text.C:
8831         * text2.C:
8832         * text3.C: remove const keywords accordingly
8833
8834 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8835
8836         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8837         anon namespace
8838         (TeXEnvironment): ditto
8839         (TeXOnePar): ditto
8840
8841 2003-03-17  John Levon  <levon@movementarian.org>
8842
8843         * text.C (rowBreakPoint): remove attempt to fix displayed
8844         math insets inside a manual label
8845
8846 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8847
8848         * lyxtext.h: remove BufferView* as first arg from almost all class
8849         functions.
8850         * other files: adjust.
8851
8852 2003-03-17  John Levon  <levon@movementarian.org>
8853
8854         * lyxtext.h:
8855         * undo_funcs.C:
8856         * text2.C: more paint cleanups
8857
8858         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8859
8860         * rowpainter.h:
8861         * rowpainter.C: remove "smart" background painting code
8862
8863 2003-03-16  John Levon  <levon@movementarian.org>
8864
8865         * lyxtext.h:
8866         * text.C:
8867         * text2.C:
8868         * text3.C: add helper functions for setting refresh_row/y
8869
8870 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8871
8872         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8873         newline inset which *can* get inserted in the pass_thru layouts.
8874         This is primarily for literate documents.
8875
8876 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8877
8878         * buffer.C: increment LYX_FORMAT to 223
8879
8880 2003-03-14 André Pönitz <poenitz@gmx.net>
8881
8882         * textclass.h: prepare for environment handling, ws changes
8883         * lyxlayout.C: read latexheader and latexfooter tags
8884
8885 2003-03-14  John Levon  <levon@movementarian.org>
8886
8887         * text2.C: rewrite ::status() a bit
8888
8889 2003-03-13  John Levon  <levon@movementarian.org>
8890
8891         * lyxtext.h: add some docs
8892
8893 2003-03-13  John Levon  <levon@movementarian.org>
8894
8895         * lyxtext.h:
8896         * text.C:
8897         * text2.C:
8898         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8899
8900 2003-03-13  John Levon  <levon@movementarian.org>
8901
8902         * text3.C: fix appendix redrawing
8903
8904 2003-03-13  John Levon  <levon@movementarian.org>
8905
8906         * text.C (setHeightOfRow):
8907         * rowpainter.h:
8908         * rowpainter.C: make appendix mark have the text
8909           "Appendix" so the user knows what it is
8910
8911         * LColor.h:
8912         * LColor.C: s/appendixline/appendix/ from above
8913
8914 2003-03-13  John Levon  <levon@movementarian.org>
8915
8916         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8917
8918         * text.C: fix a getChar(pos) bug properly
8919
8920 2003-03-13  Angus Leeming  <leeming@lyx.org>
8921
8922         * commandtags.h:
8923         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8924         Probably only temporary. Let's see how things pan out.
8925
8926         * BufferView.C (unlockInset):
8927         * BufferView_pimpl.C (fitCursor):
8928         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8929
8930         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8931         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8932
8933         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8934         new functions that convert ParagraphParameters to and from a string.
8935
8936         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8937         BufferView::Pimpl's dispatch.
8938         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8939
8940 2003-03-13 André Pönitz <poenitz@gmx.net>
8941
8942         * lyxfunc.C:
8943         * text3.C:
8944         * factory.C: make it aware of InsetEnv
8945
8946 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8947
8948         * text2.C (setCursor): never ask for one past last
8949         (setCursor): add some debugging messages.
8950
8951         * text.C (singleWidth): never ask for one past last
8952         (singleWidth): ditto
8953         (leftMargin): ditto
8954         (rightMargin): ditto
8955         (rowBreakPoint): ditto
8956         (setHeightOfRow): ditto
8957         (prepareToPrint): ditto
8958
8959         * rowpainter.C (paintBackground): never ask for one past last
8960         (paintText): never ask for one past last
8961
8962         * paragraph_pimpl.C (getChar): make the assert stricter, never
8963         allow the one past last pos to be taken
8964
8965         * paragraph.C (getChar): ws changes only
8966
8967         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8968         (numberOfSeparators): ditto
8969         (numberOfHfills): ditto
8970
8971 2003-03-12  John Levon  <levon@movementarian.org>
8972
8973         * author.h:
8974         * author.C:
8975         * bufferparams.h:
8976         * bufferparams.C:
8977         * paragraph_funcs.C: fix per-buffer authorlists
8978
8979 2003-03-12  John Levon  <levon@movementarian.org>
8980
8981         * text.C: fix newline in right address
8982
8983 2003-03-12  Angus Leeming  <leeming@lyx.org>
8984
8985         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8986         duplicate those in LyXFunc::dispatch.
8987
8988         * commandtags.h:
8989         * LyXAction.C:
8990         * ToolbarDefaults.C:
8991         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8992         Add LFUN_FONTFREE_UPDATE.
8993
8994         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8995         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8996
8997         * bufferview_func.[Ch]: several new functions to facilliate
8998         transfer of data to and from the character dialog.
8999
9000 2003-03-12  John Levon  <levon@movementarian.org>
9001
9002         * buffer.C:
9003         * paragraph.h:
9004         * paragraph.C:
9005         * paragraph_funcs.C:
9006         * paragraph_pimpl.C:
9007         * sgml.C:
9008         * tabular.C:
9009         * text.C:
9010         * text3.C: remove META_NEWLINE in favour of an inset
9011
9012         * rowpainter.h:
9013         * rowpainter.C: remove paintNewline (done by inset)
9014
9015 2003-03-12  John Levon  <levon@movementarian.org>
9016
9017         * paragraph_pimpl.C: complain about bad getChar()s
9018         for a while at least
9019
9020 2003-03-12  John Levon  <levon@movementarian.org>
9021
9022         * buffer.h:
9023         * buffer.C: move paragraph read into a separate function,
9024         a little renaming to reflect that.
9025
9026         * bufferparams.h:
9027         * bufferparams.C: remove the author_ids map, not necessary now
9028
9029         * factory.h:
9030         * factory.C: moved Buffer::readInset to here
9031
9032         * paragraph_funcs.h:
9033         * paragraph_funcs.C: readParagraph free function moved from
9034         buffer.C
9035
9036         * tabular.C: name change
9037
9038 2003-03-12  John Levon  <levon@movementarian.org>
9039
9040         * buffer.C:
9041         * ParagraphParameters.C: move par params input to
9042         a read() method
9043
9044         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9045         behave like a normal read from the stream wrt reading
9046         a line vs. a \\token
9047
9048 2003-03-12  John Levon  <levon@movementarian.org>
9049
9050         * paragraph.C:
9051         * ParagraphParameters.h:
9052         * ParagraphParameters.C: move output code to a
9053         ::write() method
9054
9055 2003-03-12  John Levon  <levon@movementarian.org>
9056
9057         * BufferView.C (insertLyXFile):
9058         * buffer.h:
9059         * buffer.C:
9060         * tabular.C: use a parlist iterator for creating the
9061           document.
9062
9063 2003-03-12  John Levon  <levon@movementarian.org>
9064
9065         * buffer.C: make current_change static local not
9066           static file-scope
9067
9068 2003-03-12  John Levon  <levon@movementarian.org>
9069
9070         * buffer.C: fix insertStringAsLines for change tracking
9071
9072 2003-03-12  John Levon  <levon@movementarian.org>
9073
9074         * BufferView.C:
9075         * tabular.C:
9076         * buffer.h:
9077         * buffer.C:
9078         * bufferparams.h:
9079         * bufferparams.C: move author list into params. Rename some
9080           functions. Move the header reading into a separate token
9081           loop. Move the header token reading into BufferParams.
9082
9083 2003-03-12  John Levon  <levon@movementarian.org>
9084
9085         * changes.C: put debug inside lyxerr.debugging() checks
9086
9087 2003-03-11 André Pönitz <poenitz@gmx.net>
9088
9089         * factory.C: make it aware of InsetHFill
9090
9091 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9092
9093         * buffer.C (latexParagraphs): move function from here...
9094         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9095         args.
9096
9097 2003-03-10  Angus Leeming  <leeming@lyx.org>
9098
9099         * LyXAction.C (init): fix bug in poplating array with multiple entries
9100         with the same LFUN (spotted by JMarc).
9101
9102 2003-03-10  John Levon  <levon@movementarian.org>
9103
9104         * text.C:
9105         * text2.C: move getColumnNearX() near its
9106         only call site
9107
9108 2003-03-10  John Levon  <levon@movementarian.org>
9109
9110         * text.C: fix break before a minipage
9111
9112 2003-03-10  John Levon  <levon@movementarian.org>
9113
9114         * text.C: fix the last commit
9115
9116 2003-03-09  John Levon  <levon@movementarian.org>
9117
9118         * lyxtext.h:
9119         * text.C:
9120         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9121         bug 365 (don't break before insets unless needed). Don't
9122         return a value > last under any circumstances.
9123
9124 2003-03-09  Angus Leeming  <leeming@lyx.org>
9125
9126         * BufferView_pimpl.C (trackChanges, dispatch): call
9127         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9128
9129 2003-03-09  Angus Leeming  <leeming@lyx.org>
9130
9131         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9132         than Dialogs::showAboutlyx().
9133
9134 2003-03-09  Angus Leeming  <leeming@lyx.org>
9135
9136         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9137         than Dialogs::showTabularCreate().
9138
9139 2003-03-09  John Levon  <levon@movementarian.org>
9140
9141         * lyxtext.h:
9142         * text.C:
9143         * text2.C: 3rd arg to nextBreakPoint was always the same.
9144           Use references.
9145
9146 2003-03-08  John Levon  <levon@movementarian.org>
9147
9148         * lyxrow.C:
9149         * paragraph.C:
9150         * paragraph.h:
9151         * rowpainter.C:
9152         * text.C:
9153         * text2.C: Remove the "main" bit from the "main body"
9154           notion.
9155
9156 2003-03-08  John Levon  <levon@movementarian.org>
9157
9158         * text.C (leftMargin): The left margin of an empty
9159         manual label paragraph should not include the label width
9160         string length.
9161
9162         * text.C (prepareToPrint): don't attempt to measure hfills
9163         for empty manual label paragraphs - the answer should be 0
9164
9165 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9166
9167         * CutAndPaste.C: remove commented code and reindent.
9168
9169 2003-03-08  John Levon  <levon@movementarian.org>
9170
9171         * lyxfunc.h:
9172         * lyxfunc.C: move reloadBuffer()
9173
9174         * BufferView.h:
9175         * BufferView.C: to here
9176
9177         * lyxvc.C: add comment
9178
9179         * vc-backend.h:
9180         * vc-backend.C: call bv->reload() to avoid
9181           getStatus() check on MENURELOAD
9182
9183 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9184
9185         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9186         to an old format .dep file.
9187
9188 2003-03-07  Angus Leeming  <leeming@lyx.org>
9189
9190         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9191         when the LFUN_MOUSE_RELEASE should have been handled by
9192         inset->localDispatch.
9193
9194 2003-03-07  Angus Leeming  <leeming@lyx.org>
9195
9196         * BufferView_pimpl.C (dispatch):
9197         * LyXAction.C (init):
9198         * ToolbarDefaults.C (init):
9199         * commandtags.h:
9200         * lyxfunc.C (getStatus):
9201         remove LFUN_INSET_GRAPHICS.
9202
9203         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9204
9205 2003-03-07  Angus Leeming  <leeming@lyx.org>
9206
9207         * commandtags.h:
9208         * LyXAction.C (init):
9209         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9210
9211         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9212
9213         * commandtags.h:
9214         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9215
9216         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9217         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9218
9219 2003-03-07  Angus Leeming  <leeming@lyx.org>
9220
9221         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9222         remove "ert".
9223
9224 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9225
9226         * ParagraphList.C (front): new function
9227         (back): implement
9228
9229 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9230
9231         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9232         and top_row_offset_. removed var first_y.
9233         * text.C (top_y):
9234         * text2.C (LyXText, removeRow):
9235         * text3.C:
9236         * BufferView_pimpl.C:
9237         use these methods instead of using first_y
9238
9239 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9240
9241         * text2.C (pasteSelection): adjust for checkPastePossible
9242
9243         * CutAndPaste.C: remove Paragraph * buf and replace with
9244         ParagraphList paragraphs.
9245         (DeleteBuffer): delete
9246         (cutSelection): change the tc type to textclass_type
9247         (copySelection): change the tc type to textclass_type
9248         (copySelection): adjust for ParagraphList
9249         (pasteSelection): change the tc type to textclass_type
9250         (pasteSelection): adjust for Paragraphlist
9251         (nrOfParagraphs): simplify for ParagraphList
9252         (checkPastePossible): simplify for ParagraphList
9253         (checkPastePossible): remove unused arg
9254
9255         * ParagraphList.C (insert): handle the case where there are no
9256         paragraphs yet.
9257
9258         * CutAndPaste.h: make CutAndPaste a namespace.
9259
9260         * text3.C (dispatch): adjust
9261
9262         * text.C (breakParagraph): add a ParagraphList as arg
9263
9264         * paragraph_funcs.C (breakParagraph): change to take a
9265         BufferParams and a ParagraphList as args.
9266         (breakParagraphConservative): ditto
9267         (mergeParagraph): ditto
9268         (TeXDeeper): add a ParagraphList arg
9269         (TeXEnvironment): ditto
9270         (TeXOnePar): ditto
9271
9272         * buffer.C (readLyXformat2): adjust
9273         (insertStringAsLines): adjust
9274         (latexParagraphs): adjust
9275
9276         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9277         (cutSelection): adjust
9278         (pasteSelection): adjust
9279
9280         * BufferView_pimpl.C (insertInset): adjust
9281
9282 2003-03-05  Angus Leeming  <leeming@lyx.org>
9283
9284         * commandtags.h:
9285         * LyXAction.C (init):
9286         * BufferView_pimpl.C (dispatch):
9287         * lyxfunc.C (getStatus):
9288         remove LFUN_CHILD_INSERT.
9289
9290         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9291
9292 2003-03-05  Angus Leeming  <leeming@lyx.org>
9293
9294         * commandtags.h:
9295         * LyXAction.C (init):
9296         * src/factory.C (createInset):
9297         * lyxfunc.C (getStatus):
9298         * text3.C (dispatch):
9299         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9300
9301         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9302
9303 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9304
9305         * ParagraphList.C (insert): handle insert right before end()
9306         (erase): fix cases where it can be first or last paragraph.
9307
9308 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9309
9310         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9311         Paragraph::next and Paragraph::previous
9312         (TeXOnePar): ditto
9313
9314         * text.C (breakParagraph): adjust
9315
9316         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9317         BufferParams& as arg.
9318         (breakParagraph): use ParagraphList::insert
9319         (breakParagraphConservative): take a Buffer* instead of a
9320         BufferParams& as arg.
9321         (breakParagraphConservative): use ParagraphList::insert.
9322
9323         * buffer.C (insertStringAsLines): un-const it
9324         (insertStringAsLines): adjust
9325
9326         * ParagraphList.C (insert): new function
9327
9328         * CutAndPaste.C (pasteSelection): adjust
9329
9330         * text.C (backspace): adjust
9331
9332         * tabular.C (SetMultiColumn): adjust
9333
9334         * CutAndPaste.C (cutSelection): adjust
9335         (pasteSelection): adjust
9336
9337         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9338         Buffer const * as arg
9339
9340         * ParagraphList.C (erase): new function
9341         * paragraph_funcs.C (mergeParagraph): use it
9342         (mergeParagraph): make it take a Buffer* instead of a
9343         BufferParams* as arg
9344
9345         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9346         as arg
9347         (breakParagraphConservative): ditto
9348
9349         * paragraph.h: remove the breakParagraph friend
9350
9351         * paragraph.C (eraseIntern): new function
9352         (setChange): new function
9353
9354         * paragraph_funcs.C (mergeParagraph): make it take a
9355         ParagraphList::iterator instead of a Paragraph *, adjust
9356         accordingly.
9357
9358         * paragraph.h: move an #endif so that the change tracking stuff
9359         also works in the NO_NEXT case.
9360
9361 2003-03-04  Angus Leeming  <leeming@lyx.org>
9362
9363         * commandtags.h:
9364         * LyXAction.C: new LFUN_INSET_MODIFY.
9365
9366         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9367         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9368
9369 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9370
9371         * several files: ws changes only
9372
9373         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9374         (TeXEnvironment): ditto
9375         (TeXDeeper): ditto
9376
9377         * buffer.C (makeLaTeXFile): adjust
9378         (latexParagraphs): make it take ParagraphList::iterator as args
9379
9380 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9381
9382         * buffer.C (latexParagraphs): adjust
9383
9384         * paragraph.C (TeXOnePar): move function...
9385         (optArgInset): move function...
9386         (TeXEnvironment): move function...
9387         * paragraph_pimpl.C (TeXDeeper): move function...
9388         * paragraph_funcs.C: ...here
9389
9390         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9391
9392 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9393
9394         * buffer.C (readInset): remove compability code for old Figure and
9395         InsetInfo insets
9396
9397 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9398
9399         * buffer.C: ws changes
9400         (readInset):
9401
9402         * BufferView_pimpl.C: ditto
9403         * author.C: ditto
9404         * buffer.h: ditto
9405         * bufferlist.h: ditto
9406         * changes.h: ditto
9407         * lyxfunc.C: ditto
9408
9409 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9410
9411         * converter.[Ch]: split into itself +
9412         * graph.[Ch]
9413         * format.[Ch]
9414         * Makefile.am: += graph.[Ch] + format.[Ch]
9415         * MenuBackend.C
9416         * buffer.C
9417         * exporter.C
9418         * importer.C
9419         * lyx_main.C
9420         * lyxfunc.C
9421         * lyxrc.C: added #include "format.h"
9422
9423 2003-02-27  Angus Leeming  <leeming@lyx.org>
9424
9425         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9426           a label.
9427
9428         * factory.C (createInset): add "label" to the factory.
9429
9430         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9431           string and do no more.
9432
9433 2003-02-27  Angus Leeming  <leeming@lyx.org>
9434
9435         * commandtags.h:
9436         * LyXAction.C (init):
9437         * factory.C (createInset):
9438         * BufferView_pimpl.C (dispatch):
9439           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9440
9441         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9442
9443         * lyxfunc.C (dispatch):
9444         * text3.C (dispatch): pass name to params2string.
9445
9446 2003-02-26  Angus Leeming  <leeming@lyx.org>
9447
9448         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9449           blocks together.
9450           Rearrange the ~includes. Strip out the unnecessary ones.
9451
9452         * factory.C (createInset): reformat.
9453           create new insets for the various LFUN_XYZ_APPLY lfuns.
9454
9455 2003-02-26  John Levon  <levon@movementarian.org>
9456
9457         * lyxrow.h:
9458         * lyxrow.C: add isParStart,isParEnd helpers
9459
9460         * paragraph.h: make isInserted/DeletedText take refs
9461
9462         * paragraph_funcs.h:
9463         * paragraph_funcs.C: remove #if 0'd code
9464
9465         * lyxtext.h:
9466         * text3.C:
9467         * text2.C:
9468         * text.C: use lyxrow helpers above.
9469           Move draw and paint routines to RowPainter.
9470           Make several methods use refs not pointers.
9471           Make backgroundColor() const.
9472           Add markChangeInDraw(), isInInset().
9473           Merge changeRegionCase into changeCase.
9474           Make workWidth() shouldn't-happen code into an Assert.
9475
9476         * rowpainter.h:
9477         * rowpainter.C: new class for painting a row.
9478
9479         * vspace.h:
9480         * vspace.C: make inPixels take a ref
9481
9482 2003-02-26  Angus Leeming  <leeming@lyx.org>
9483
9484         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9485         LFUN_REF_APPLY.
9486
9487 2003-02-25  John Levon  <levon@movementarian.org>
9488
9489         * ispell.C: give the forked command a more accurate name
9490
9491 2003-02-22  John Levon  <levon@movementarian.org>
9492
9493         * toc.h:
9494         * toc.C: make TocItem store an id not a Paragraph *
9495           (bug #913)
9496
9497 2003-02-21  Angus Leeming  <leeming@lyx.org>
9498
9499         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9500           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9501           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9502           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9503           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9504           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9505
9506         * BufferView_pimpl.C (dispatch):
9507         * LyXAction.C (init):
9508         * factory.C (createInset):
9509         * lyxfunc.C (getStatus, dispatch):
9510         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9511
9512 2003-02-21  Angus Leeming  <leeming@lyx.org>
9513
9514         * BufferView_pimpl.C (MenuInsertLyXFile):
9515         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9516         * lyxfunc.C (menuNew, open, doImport):
9517           no longer pass a LyXView & to fileDlg.
9518
9519 2003-02-21  Angus Leeming  <leeming@lyx.org>
9520
9521         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9522         * LyXAction.C: change, BIBKEY to BIBITEM.
9523         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9524         Change InsetBibKey to InsetBibitem.
9525         Change BIBKEY_CODE to BIBITEM_CODE.
9526         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9527         * factory.C: replace insetbib.h with insetbibitem.h.
9528         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9529         * paragraph.C: replace insetbib.h with insetbibitem.h.
9530         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9531         Change bibkey() to bibitem().
9532         * text.C: remove insetbib.h.
9533         * text2.C: replace insetbib.h with insetbibitem.h.
9534         change bibkey() to bibitem().
9535         * text3.C: remove insetbib.h.
9536         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9537
9538 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9539
9540         * lyxrc.C (output): enclose user email in quotes (in case there are
9541         several words)
9542
9543 2003-02-18  John Levon  <levon@movementarian.org>
9544
9545         * buffer.h: add std::
9546
9547 2003-02-17  John Levon  <levon@movementarian.org>
9548
9549         * SpellBase.h:
9550         * ispell.h:
9551         * ispell.C:
9552         * pspell.h:
9553         * pspell.C: reworking. Especially in ispell, a large
9554           number of clean ups and bug fixes.
9555
9556         * lyxfunc.C: fix revert to behave sensibly
9557
9558 2003-02-17 André Pönitz <poenitz@gmx.net>
9559
9560         * LyXAction.C:
9561         * commandtags.h: new LFUN_INSERT_BIBKEY
9562
9563         * layout.h:
9564         * lyxlayout.C:
9565         * buffer.C:
9566         * factory.C:
9567         * text.C:
9568         * text2.C:
9569         * text3.C:
9570         * paragraph.[Ch]:
9571         * paragraph_func.C: remove special bibkey handling
9572
9573 2003-02-17  John Levon  <levon@movementarian.org>
9574
9575         * text.C (Delete): fix case where delete at the end of
9576           the very first paragraph would not merge the pars
9577
9578 2003-02-17  John Levon  <levon@movementarian.org>
9579
9580         * lyxrow.C: fix lastPrintablePos()
9581
9582 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9583
9584         * bufferparams.C (writeLaTeX): add a std:here
9585
9586         * buffer.C: and remove a using directive there
9587
9588 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9589
9590         * buffer.C (makeLaTeXFile): move the code that generates the
9591           preamble...
9592
9593         * bufferparams.C (writeLaTeX): ... in this new method
9594
9595         * LaTeXFeatures.C (getEncodingSet): make const
9596           (getLanguages): make const
9597
9598         * MenuBackend.C (binding): returns the binding associated to this
9599           action
9600           (add): sets the status of each item by calling getStatus. Adds
9601           some intelligence.
9602           (read): add support for OptSubMenu
9603           (expand): remove extra separator at the end of expanded menu
9604
9605 2003-02-15  John Levon  <levon@movementarian.org>
9606
9607         * BufferView.C:
9608         * BufferView_pimpl.C:
9609         * bufferlist.h:
9610         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9611           inset code that had no actual effect. Remove unneeded status
9612           code.
9613
9614 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9615
9616         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9617           in preamble
9618
9619 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9620
9621         * text.C (drawLengthMarker): also draw an arrow marker for
9622           symbolic lengths (medskip...)
9623
9624 2003-02-14  John Levon  <levon@movementarian.org>
9625
9626         * tabular.h:
9627         * tabular.C: better method names
9628
9629 2003-02-14  John Levon  <levon@movementarian.org>
9630
9631         * BufferView_pimpl.C:
9632         * bufferlist.C:
9633         * buffer.C:
9634         * converter.C:
9635         * lyx_cb.C:
9636         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9637           it's a more accurate name. Remove some pointless uses.
9638
9639 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9640
9641         * text2.C (LyXText): change order of initilizers to shut off
9642           warnings
9643
9644 2003-02-14  John Levon  <levon@movementarian.org>
9645
9646         * buffer.C: use ParIterator for getParFromID()
9647
9648         * paragraph.h:
9649         * paragraph.C:
9650         * paragraph_pimpl.h:
9651         * paragraph_pimpl.C: remove unused getParFromID()
9652
9653 2003-02-14  John Levon  <levon@movementarian.org>
9654
9655         * buffer.C: remove some very old #if 0'd parse code
9656
9657 2003-02-13  John Levon  <levon@movementarian.org>
9658
9659         * text.h:
9660         * text.C:
9661         * text2.C: move hfillExpansion(), numberOfSeparators(),
9662           rowLast(), rowLastPrintable(), numberofHfills(),
9663           numberOfLabelHfills() ...
9664
9665         * lyxrow.h:
9666         * lyxrow.C: ... to member functions here.
9667
9668         * paragraph.h:
9669         * paragraph.C:
9670         * lyxtext.h:
9671         * text.C: remove LyXText::beginningOfMainBody(), and call
9672           p->beginningOfMainBody() directly. Move the check for
9673           LABEL_MANUAL into the latter.
9674
9675         * text.h:
9676         * text.C:
9677         * text2.C:
9678         * vspace.C:
9679         * BufferView.h:
9680         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9681
9682         * text.h:
9683         * text.C:
9684         * text2.C:
9685         * text3.C:
9686         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9687           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9688
9689 2003-02-13  John Levon  <levon@movementarian.org>
9690
9691         * CutAndPaste.C: remove debug
9692
9693 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9694
9695         * paragraph.C (asString): remove two unused variables
9696
9697         * lyxtextclass.C (readTitleType):
9698           (Read):
9699           (LyXTextClass): handle new members titletype_ and titlename_
9700
9701         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9702
9703 2003-02-09  John Levon  <levon@movementarian.org>
9704
9705         * buffer.h:
9706         * buffer.C: replace hand-coded list with a map for the dep clean
9707
9708 2003-02-08  John Levon  <levon@movementarian.org>
9709
9710         * LaTeX.C: consolidate code into showRunMessage() helper
9711
9712 2003-02-08  John Levon  <levon@movementarian.org>
9713
9714         * lyxfind.C:
9715         * lyxtext.h:
9716         * text2.C:
9717         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9718           and pass the size in explicitly
9719
9720         * BufferView_pimpl.h:
9721         * BufferView_pimpl.C:
9722         * BufferView.h:
9723         * BufferView.C: add getCurrentChange()
9724
9725         * BufferView_pimpl.h:
9726         * BufferView_pimpl.C: handle change lfuns
9727
9728         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9729           for changes. Mark pasted paragraphs as new.
9730
9731         * support/lyxtime.h:
9732         * support/lyxtime.C:
9733         * DepTable.C: abstract time_t as lyx::time_type
9734
9735         * LColor.h:
9736         * LColor.C: add colours for new text, deleted text, changebars
9737
9738         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9739           package use "usenames" option.
9740
9741         * commandtags.h:
9742         * lyxfunc.C:
9743         * LyXAction.C: add change lfuns
9744
9745         * Makefile.am:
9746         * author.h:
9747         * author.C: author handling
9748
9749         * buffer.h:
9750         * buffer.C: add a per-buffer author list, with first entry as
9751           current author. Handle new .lyx tokens for change tracking. Output
9752           author list to .lyx file. Output dvipost stuff to .tex preamble.
9753           Bump lyx format to 222.
9754
9755         * bufferlist.h:
9756         * bufferlist.C: add setCurrentAuthor() to reset current author details
9757           in all buffers.
9758
9759         * bufferparams.h:
9760         * bufferparams.C: add param for tracking
9761
9762         * bufferview_funcs.C: output change info in minibuffer
9763
9764         * Makefile.am:
9765         * changes.h:
9766         * changes.C: add change-tracking structure
9767
9768         * debug.h:
9769         * debug.C: add CHANGES debug flag
9770
9771         * lyxfind.h:
9772         * lyxfind.C: add code for finding the next change piece
9773
9774         * lyxrc.h:
9775         * lyxrc.C: add user_name and user_email
9776
9777         * lyxrow.h:
9778         * lyxrow.C: add a metric for the top of the text line
9779
9780         * lyxtext.h:
9781         * text.C: implement accept/rejectChange()
9782
9783         * lyxtext.h:
9784         * text.C: paint changebars. Paint new/deleted text in the chosen
9785         colours. Strike through deleted text.
9786
9787         * paragraph.h:
9788         * paragraph.C:
9789         * paragraph_pimpl.h:
9790         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9791           in the current change to the insert functions. Rework erase to
9792           mark text as deleted, adding an eraseIntern() and a range-based
9793           erase(). Implement per-paragraph change lookup and
9794           accept/reject.
9795
9796         * paragraph_funcs.C: Fixup paste for change tracking.
9797
9798         * tabular.C: mark added row/columns as new.
9799
9800         * text.C: fix rowLast() to never return -1. Don't allow
9801           spellchecking of deleted text. Track transpose changes. Don't
9802           allow paragraph break or merge where appropriate.
9803
9804         * text2.C: leave cursor at end of selection after a cut.
9805
9806 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9807
9808         * text.C (getLengthMarkerHeight):
9809         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9810         visible on screen too.
9811
9812 2003-02-07  John Levon  <levon@movementarian.org>
9813
9814         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9815
9816 2003-02-05  Angus Leeming  <leeming@lyx.org>
9817
9818         * lyxserver.C (read_ready): revert my patch of 11 September last year
9819         as it sends PC cpu through the roof. Presumably this means that
9820         the lyxserver will no longer run on an Alpha...
9821
9822 2003-01-30  Angus Leeming  <leeming@lyx.org>
9823
9824         * factory.C (createInset): create an InsetCommandParam of type "index"
9825         and use it to 'do the right thing'.
9826
9827         * text2.C (getStringToIndex): ensure that cursor position is always
9828         reset to the reset_cursor position.
9829
9830 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9831
9832         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9833         disabled.
9834
9835 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9836
9837         * bufferview.C:
9838         * lyxcb.C:
9839         * lyxfunc.C: Output messages with identical spelling, punctuation,
9840         and spaces
9841
9842 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9843
9844         * MenuBackend.C (expandFormats): List only viewable export formats
9845         in "View" menu
9846
9847         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9848         message
9849
9850         * lyxfunc.C (getStatus): Make sure that formats other than
9851         "fax" can also be disabled
9852
9853 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9854
9855         * text3.C (dispatch): put the lfuns that insert insets in 3
9856         groups, and call doInsertInset with appropriate arguments.
9857         (doInsertInset): new function, that creates an inset and inserts
9858         it according to some boolean parameters.
9859
9860 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9861
9862         * buffer.C (readFile): remember to pass on 'par' when calling
9863         readFile recursively.
9864
9865 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9866
9867         * MenuBackend.C (expandFormats): add "..." to import formats.
9868
9869 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9870
9871         * paragraph.C (asString): Remove XForms RTL hacks.
9872
9873 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9874         * buffer.C: fix typo
9875
9876 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9877
9878         * Makefile.am (LIBS): delete var
9879         (lyx_LDADD): add @LIBS@ here instead.
9880
9881 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9882
9883         * Clarify the meaning of "wheel mouse jump"
9884
9885 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9886
9887         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9888         tabular in a float
9889
9890 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9891
9892         * importer.C (Loaders): do not preallocate 3 elements in the
9893         vector, since one ends up with 6 elements otherwise
9894
9895 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9896
9897         * DepTable.C (write): write the file name as last element of the
9898         .dep file (because it may contain spaces)
9899         (read): read info in the right order
9900
9901 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9902
9903         * paragraph_pimpl.C (simpleTeXBlanks):
9904         (simpleTeXSpecialChars):
9905         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9906
9907         * tabular.C (latex): add some missing case statements. Reindent.
9908
9909         * MenuBackend.C (expandToc): remove unused variable.
9910
9911 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9912
9913         * LColor.C:
9914         * LaTeX.C:
9915         * LyXAction.C:
9916         * MenuBackend.C:
9917         * buffer.C:
9918         * exporter.C:
9919         * lyxfunc.C:
9920         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9921         and the like.
9922
9923 2003-01-05  John Levon  <levon@movementarian.org>
9924
9925         * BufferView.h:
9926         * BufferView.C: add getEncoding()
9927
9928         * kbsequence.h:
9929         * kbsequence.C: do not store last keypress
9930
9931         * lyxfunc.h:
9932         * lyxfunc.C: store last keypress here instead. Pass encoding
9933           to getISOEncoded()
9934
9935 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9936
9937         * lyx_main.C (init): remove annoying error message when following
9938         symbolic links (bug #780)
9939
9940 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9941
9942         * text.C (insertChar):
9943         * lyxrc.C (getDescription): remove extra spaces
9944
9945 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9946
9947         * lyxrc.C (getDescription): remove extra spaces
9948
9949 2002-12-20  John Levon  <levon@movementarian.org>
9950
9951         * text3.C: hack fix for page up/down across tall rows
9952
9953 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9954
9955         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9956         not been invoked
9957
9958 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9959
9960         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9961         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9962         thesaurus is not compiled in
9963
9964 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9965
9966         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9967
9968 2002-12-16  Angus Leeming  <leeming@lyx.org>
9969
9970         * lyxrc.[Ch]:
9971         * lyx_main.C (init): remove override_x_deadkeys stuff.
9972
9973 2002-12-12  John Levon  <levon@movementarian.org>
9974
9975         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9976           insert. Only remove shift modifier under strict
9977           circumstances.
9978
9979 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9980
9981         * MenuBackend.C (expandToc): fix crash.
9982
9983 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9984
9985         * MenuBackend.C (expandToc): gettext on float names.
9986
9987 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9988
9989         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9990         implement bool empty() [bug 490]
9991
9992 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9993
9994         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9995
9996 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9997
9998         * several files: ws changes
9999
10000 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10001
10002         * text2.C (setCounter): clean up a bit, use boost.format.
10003         (updateCounters): initialize par upon declaration.
10004
10005         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10006         if the layout exists. We do not just store the layout any more.
10007         (SwitchLayoutsBetweenClasses): use boost.format
10008
10009 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10010
10011         * converter.C (convert): if from and to files are the same, use a
10012         temporary files as intermediary
10013
10014 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10015
10016         * commandtags.h:
10017         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10018
10019 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10020
10021         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10022
10023 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10024
10025         * tabular.C (asciiPrintCell): use string(size, char) instead of
10026         explicit loop.
10027
10028         * sgml.C (openTag): fix order of arguments to string constructor
10029         (closeTag): ditto
10030
10031         * lyxfunc.C (dispatch): use boost.format
10032
10033         * lots of files: change "c" -> 'c'
10034
10035 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10036
10037         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10038
10039 2002-11-25  Angus Leeming  <leeming@lyx.org>
10040
10041         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10042
10043         * lyx_main.C (init): compile fix.
10044
10045 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10046
10047         * lyx_cb.C (start): boost.formatify
10048         do not include <iostream>
10049
10050         * lengthcommon.C: ws only
10051
10052         * boost-inst.C,BoostFormat.h: add more explict instantations
10053
10054 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10055
10056         * lots of files: handle USE_BOOST_FORMAT
10057
10058 2002-11-21  John Levon  <levon@movementarian.org>
10059
10060         * pspell.C: fix compile
10061
10062 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10063
10064         * lyxfunc.C (dispatch): use boost::format
10065         (open): ditto
10066         (doImport): ditto
10067
10068         * lyxfont.C (stateText): use boost::format
10069
10070         * lyx_main.C (LyX): use boost::format
10071         (init): ditto
10072         (queryUserLyXDir): ditto
10073         (readRcFile): ditto
10074         (parse_dbg): ditto
10075         (typedef boost::function): use the recommened syntax.
10076
10077         * importer.C (Import): use boost::format
10078
10079         * debug.C (showLevel): use boost::format
10080
10081         * converter.C (view): use boost::format
10082         (convert): ditto
10083         (move): ditto
10084         (scanLog): ditto
10085
10086         * bufferview_funcs.C (currentState): use boost::format
10087
10088         * bufferlist.C (emergencyWrite): use boost::format
10089
10090         * buffer.C (readLyXformat2): use boost::format
10091         (parseSingleLyXformat2Token): ditto
10092
10093         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10094
10095         * LaTeX.C (run): use boost::format
10096
10097         * Chktex.C (scanLogFile): use boost::format
10098
10099         * BufferView_pimpl.C (savePosition): use boost::format
10100         (restorePosition): ditto
10101         (MenuInsertLyXFile): ditto
10102
10103         * BoostFormat.h: help file for explicit instation.
10104
10105 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10106
10107         * tabular.C (latex): Support for block alignment in fixed width
10108         columns.
10109
10110 2002-11-17  John Levon  <levon@movementarian.org>
10111
10112         * BufferView_pimpl.C:
10113         * lyx_cb.C:
10114         * lyxfunc.C: split filedialog into open/save
10115
10116 2002-11-08  Juergen Vigna  <jug@sad.it>
10117
10118         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10119         by my last patch (hopefully).
10120
10121 2002-11-08  John Levon  <levon@movementarian.org>
10122
10123         * iterators.h:
10124         * iterators.C:
10125         * buffer.h:
10126         * buffer.C:
10127         * paragraph.h:
10128         * paragraph.C:
10129         * toc.h:
10130         * toc.C: ParConstIterator, and use it (from Lars)
10131
10132 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10133
10134         * lyxtextclass.[Ch]: revise and add doxygen comments
10135
10136 2002-11-07  John Levon  <levon@movementarian.org>
10137
10138         * text.C: fix progress value for spellchecker
10139
10140         * toc.C: fix navigate menu for insetwrap inside minipage
10141
10142         * paragraph_funcs.C: added FIXME for suspect code
10143
10144 2002-11-07  John Levon  <levon@movementarian.org>
10145
10146         * BufferView_pimpl.C: fix redrawing of insets
10147           on buffer switch
10148
10149 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10150
10151         * text2.C (updateCounters): fix bug 668
10152
10153 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10154
10155         * text3.C (dispatch): Do not make the buffer dirty when moving the
10156         cursor.
10157
10158 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10159
10160         * vc-backend.C: STRCONV
10161         (scanMaster): ditto
10162
10163         * text2.C (setCounter): STRCONV
10164
10165         * paragraph.C (asString): STRCONV
10166
10167         * lyxlength.C (asString): STRCONV
10168         (asLatexString): ditto
10169
10170         * lyxgluelength.C (asString): STRCONV
10171         (asLatexString): ditto
10172
10173         * lyxfunc.C (dispatch): STRCONV
10174         (open): ditto
10175
10176         * lyxfont.C (stateText): STRCONV
10177
10178         * importer.C (Import): STRCONV
10179
10180         * counters.C (labelItem): STRCONV
10181         (numberLabel): ditto
10182         (numberLabel): remove unused ostringstream o
10183
10184         * chset.C: STRCONV
10185         (loadFile): ditto
10186
10187         * bufferview_funcs.C (currentState): STRCONV
10188
10189         * buffer.C (readFile): STRCONV
10190         (asciiParagraph): ditto
10191         (makeLaTeXFile): ditto
10192
10193         * Spacing.C (writeEnvirBegin): STRCONV
10194
10195         * LaTeXFeatures.C (getLanguages): STRCONV
10196         (getPackages): ditto
10197         (getMacros): ditto
10198         (getBabelOptions): ditto
10199         (getTClassPreamble): ditto
10200         (getLyXSGMLEntities): ditto
10201         (getIncludedFiles): ditto
10202
10203         * LaTeX.C: STRCONV
10204         (run): ditto
10205         (scanAuxFile): ditto
10206         (deplog): ditto
10207
10208         * LString.h: add the STRCONV macros
10209
10210         * BufferView_pimpl.C (savePosition): STRCONV
10211         (restorePosition): ditto
10212         (MenuInsertLyXFile): ditto
10213
10214         * vc-backend.C (scanMaster): change from submatch[...] to
10215         submatch.str(...)
10216
10217         * funcrequest.C: include config.h
10218
10219         * factory.C: include config.h
10220
10221         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10222
10223         * box.C: include config.h
10224
10225         * LaTeX.C (scanAuxFile): change from submatch[...] to
10226         submatch.str(...)
10227         (deplog): ditto
10228
10229 2002-10-25  Angus Leeming  <leeming@lyx.org>
10230
10231         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10232
10233         * ispell.[Ch] (setError): new method.
10234         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10235         Use setError() insetead of goto END.
10236
10237         * lyx_cb.C (AutoSave): move out child process into new class
10238         AutoSaveBuffer.
10239
10240 2002-10-30  John Levon  <levon@movementarian.org>
10241
10242         * text3.C: make start appendix undoable
10243
10244 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10245
10246         * lyxlength.C (inPixels): Fix returned value.
10247
10248         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10249         environment.
10250
10251 2002-10-24  Angus Leeming  <leeming@lyx.org>
10252
10253         * lyxgluelength.h: no need to forward declare BufferParams
10254         or BufferView, so don't.
10255
10256 2002-10-21  John Levon  <levon@movementarian.org>
10257
10258         * BufferView.C: menuUndo ->undo, redo
10259
10260         * BufferView.h: document, remove dead, make some methods private
10261
10262         * paragraph_funcs.h:
10263         * paragraph_funcs.C:
10264         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10265
10266         * buffer.h:
10267         * buffer.C:
10268         * sgml.h:
10269         * sgml.C: move sgml open/close tag into sgml.C
10270
10271         * bufferview_funcs.h: unused prototype
10272
10273         * lyxfunc.h:
10274         * lyxfunc.C: remove unused
10275
10276         * lyxtext.h:
10277         * text.C: remove unused
10278
10279 2002-10-21  John Levon  <levon@movementarian.org>
10280
10281         * BufferView.h:
10282         * BufferView.C:
10283         * BufferView_pimpl.h:
10284         * BufferView_pimpl.C: fix mouse wheel handling based on
10285           patch from Darren Freeman
10286
10287 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10288
10289         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10290
10291 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10292
10293         * lyxlength.C (inPixels): Fix hanfling of negative length.
10294         Fix LyXLength::MU case.
10295
10296 2002-10-16  John Levon  <levon@movementarian.org>
10297
10298         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10299
10300 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10301
10302         * converter.C (view): add support for $$i (file name) and $$p
10303         (file path) for the viewer command. If $$i is not specified, then
10304         it is appended to the command (for compatibility with old syntax)
10305
10306 2002-10-14  Juergen Vigna  <jug@sad.it>
10307
10308         * undo_funcs.C (textHandleUndo): alter the order in which the
10309         new undopar is added to the LyXText, as we have to set first
10310         the right prev/next and then add it as otherwise the rebuild of
10311         LyXText is not correct. Also reset the cursor to the right paragraph,
10312         with this IMO we could remove the hack in "redoParagraphs()".
10313
10314 2002-10-09  Angus Leeming  <leeming@lyx.org>
10315
10316         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10317         to turn off an optimisation if a new inset is to be inserted.
10318
10319 2002-10-11 André Pönitz <poenitz@gmx.net>
10320
10321         * lyxtext.h: make some functions public to allow access
10322         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10323
10324 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10325
10326         * text3.C (dispatch): when changing layout, avoid an infinite loop
10327         [bug #652]
10328
10329 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10330
10331         * lyxrc.C (read): treat a viewer or converter command of "none" as
10332         if it were empty.
10333
10334         * MenuBackend.C (expandFormats): for an update, also allow the
10335         formats that are not viewable
10336
10337         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10338         script if it is newer than the lyxrc.defaults in user directory
10339
10340 2002-10-07 André Pönitz <poenitz@gmx.net>
10341
10342         * text.C: Vitaly Lipatov's small i18n fix
10343
10344 2002-09-25  Angus Leeming  <leeming@lyx.org>
10345
10346         * ispell.h: doxygen fix.
10347
10348 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10349
10350         * buffer.h (readFile): Add a new argument to the method, to allow
10351         reading of old-format templates.
10352
10353 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10354
10355         * toc.C (getTocList): Get TOC from InsetWrap.
10356
10357 2002-09-16  John Levon  <levon@movementarian.org>
10358
10359         * lyxfunc.C: check tabular for cut/copy too
10360
10361 2002-09-12  John Levon  <levon@movementarian.org>
10362
10363         * LyXAction.C: tidy
10364
10365         * factory.h:
10366         * factory.C: add header
10367
10368         * paragraph_funcs.h:
10369         * paragraph_funcs.C: cleanup
10370
10371 2002-09-11  John Levon  <levon@movementarian.org>
10372
10373         * PrinterParams.h: odd/even default to true
10374
10375 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10376
10377         * PrinterParams.h: update printer parameters for new xforms dialog
10378
10379 2002-09-11  Angus Leeming  <leeming@lyx.org>
10380
10381         * lyxserver.C (read_ready): re-write to make it more transparent
10382         and to make it work in coherent fashion under Tru64 Unix.
10383
10384 2002-09-11  André Pönitz <poenitz@gmx.net>
10385
10386         * commandtags.h:
10387         * LyXAction.C:
10388         * text3.C: implement LFUN_WORDSEL
10389
10390 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10391
10392         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10393         make floatlist_ a boost::shared_ptr<FloatList>
10394
10395         * lyxtextclass.C: include FloatList.h
10396         (LyXTextClass): initialize floatlist_
10397         (TextClassTags): add TC_NOFLOAT
10398         (Read): match "nofloat" to TC_NOFLOAT and use it.
10399         (readFloat): modify call to floatlist_
10400         (floats): ditto
10401         (floats): ditto
10402
10403         * FloatList.[Ch] (FloatList): remove commented out float
10404         initialization.
10405         (erase): new function
10406
10407 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10408
10409         * MenuBackend.C (expandToc): fix crash when there is no document
10410         open
10411
10412 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10413
10414         * many files: Add insetwrap.
10415
10416 2002-09-09  John Levon  <levon@movementarian.org>
10417
10418         * text2.C: remove confusing and awkward depth wraparound
10419
10420 2002-09-09  John Levon  <levon@movementarian.org>
10421
10422         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10423
10424         * buffer.h:
10425         * buffer.C: remove getIncludeonlyList()
10426
10427         * paragraph.C:
10428         * lyxfunc.C: remove headers
10429
10430 2002-09-09  Juergen Vigna  <jug@sad.it>
10431
10432         * text.C (getColumnNearX): fix form Michael this is most
10433         probably a cut&paste bug.
10434
10435 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10436
10437         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10438
10439         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10440         references, ws changes.
10441
10442         * text2.C (init): update counters after init
10443         (insertParagraph): no need to set counter on idividual paragraphs.
10444         (setCounter): access the counters object in the textclass object
10445         on in the buffer object.
10446         (updateCounters): ditto
10447
10448         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10449         shared_ptr<Counters> to avoid loading counters.h in all
10450         compilation units.
10451         (LyXTextClass): initialize ctrs_
10452         (TextClassTags): add TC_COUNTER, and ...
10453         (Read): use it here.
10454         (CounterTags): new tags
10455         (readCounter): new function
10456         (counters): new funtion
10457         (defaultLayoutName): return a const reference
10458
10459         * counters.C (Counters): remove contructor
10460         (newCounter): remove a couple of unneeded statements.
10461         (newCounter): simplify a bit.
10462         (numberLabel): some small formatting changes.
10463
10464         * buffer.[Ch]: remove all traces of counters, move the Counters
10465         object to the LyXTextClass.
10466
10467 2002-09-06  Alain Castera  <castera@in2p3.fr>
10468
10469         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10470         package to set the horizontal alignment on fixed width columns.
10471
10472         * lyx_sty.C:
10473         * lyx_sty.h: added tabularnewline macro def.
10474
10475         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10476
10477 2002-09-06  John Levon  <levon@movementarian.org>
10478
10479         * LyXAction.C: tooltips for sub/superscript
10480
10481         * MenuBackend.C: a bit more verbose
10482
10483         * lyxfunc.C: tiny clean
10484
10485         * undo_funcs.C: document undo_frozen
10486
10487 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10488
10489         * counters.C (Counters): add missing algorithm counter.
10490
10491         * text2.C (setCounter): lookup the counter with layouts latexname
10492         instead of by section number.
10493         (setCounter): use a hackish way to lookup the correct enum
10494         counter.
10495         a float name->type change
10496         reset enum couners with counter name directly instead of depth value.
10497
10498         * counters.C (Counters): remove the push_backs, change to use the
10499         float type not the float name.
10500         (labelItem): remove unused string, float name->type change
10501
10502         * counters.h: don't include vector, loose the enums and sects vectors
10503
10504 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10505
10506         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10507         (Read): add float->TC_FLOAT to textclassTags
10508         (Read): and handle it in the switch
10509         (readFloat): new function
10510
10511         * FloatList.C (FloatList): comment out the hardcoded float
10512         definitions.
10513
10514         * lyxlayout.h: ws change.
10515
10516 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10517
10518         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10519
10520 2002-09-03  Angus Leeming  <leeming@lyx.org>
10521
10522         * BufferView_pimpl.h: qualified name is not allowed in member
10523         declaration: WorkArea & Pimpl::workarea() const;
10524
10525         * factory.C: added using std::endl directive.
10526
10527         * text3.C: added using std::find and std::vector directives.
10528
10529 2002-08-29  André Pönitz <poenitz@gmx.net>
10530
10531         * lyxtext.h:
10532         * text2.C: remove unused member number_of_rows
10533
10534         * Makefile.am:
10535         * BufferView2.C: remove file, move contents to...
10536         * BufferView.C: ... here
10537
10538         * BufferView_pimpl.C:
10539         * factory.C: move more inset creation to factory
10540
10541         * vspace.C: avoid direct usage of LyXText, ws changes
10542
10543         * BufferView.[Ch]:
10544                 don't provide direct access to WorkArea, use two simple
10545                 acessors haveSelction() and workHeight() instead
10546
10547
10548 2002-08-29  John Levon  <levon@movementarian.org>
10549
10550         * BufferView_pimpl.C (dispatch): do not continue when
10551           no buffer
10552
10553 2002-08-28  André Pönitz <poenitz@gmx.net>
10554
10555         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10556
10557         * BufferView.h:
10558         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10559
10560 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10561
10562         * buffer.C: increment LYX_FORMAT to 221
10563
10564         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10565         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10566
10567         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10568
10569         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10570
10571 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10572
10573         * factory.C (createInset): use LyXTextClass::floats
10574
10575         * MenuBackend.C (expandFloatListInsert):
10576         (expandFloatInsert):
10577         (expandToc):
10578
10579         * text2.C (setCounter):
10580
10581         * LaTeXFeatures.C (useFloat):
10582         (getFloatDefinitions):
10583
10584         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10585
10586         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10587         floatlist_, with accessor floats().
10588
10589         * FloatList.h: remove global FloatList
10590
10591 2002-08-26  André Pönitz <poenitz@gmx.net>
10592
10593         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10594
10595         * BufferView.h:
10596         * BufferView2.C:
10597         * BufferView_pimpl.C:
10598         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10599
10600 2002-08-25  John Levon  <levon@movementarian.org>
10601
10602         * LyXAction.C: fix margin note description
10603
10604 2002-08-24  John Levon  <levon@movementarian.org>
10605
10606         * buffer.C:
10607         * bufferlist.C:
10608         * bufferview_funcs.C:
10609         * lyxfont.C:
10610         * undo_funcs.C: cleanups
10611
10612         * lyxfunc.C: disable CUT/COPY when no selection
10613
10614 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10615
10616         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10617         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10618
10619         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10620         Add backward compatibility to "mono", "gray" and "no".
10621
10622 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10623
10624         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10625         (and file_format >= 200).
10626
10627 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10628
10629         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10630
10631 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10632
10633         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10634
10635 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10636
10637         * BufferView_pimpl.C:
10638         * LyXAction.C:
10639         * buffer.C:
10640         * commandtags.h:
10641         * lyxfunc.C:
10642         * paragraph.[Ch]:
10643         * text2.C:
10644         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10645         inset and code to make it  work with the paragraph code. The inset
10646         can be anywhere in the paragraph, but will only do the expected
10647         thing in LaTeX if the layout file contains the parameter line
10648                         OptionalArgs    1
10649         (or more generally, a nonzero value) for that layout.
10650
10651 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10652
10653         * paragraph.h: remove the declaration of undefined counters class
10654         function.
10655
10656 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10657
10658         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10659         Dr. Richard Hawkins.
10660
10661 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10662
10663         * paragraph_funcs.h: remove some unneeded includes
10664
10665         * text.C (backspace): pasteParagraph now in global scipe
10666
10667         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10668         (pasteSelection): ditto
10669
10670         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10671         * paragraph_funcs.C (pasteParagraph): ... here
10672
10673 2002-08-20  André Pönitz <poenitz@gmx.net>
10674
10675         * commandtags.h: new LFUNs for swapping/copying table row/colums
10676
10677         * LyXAction.C:
10678         * lyxfunc.C: support for new lfuns
10679
10680 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10681
10682         * tabular.C:
10683         * buffer.[Ch]: remove NO_COMPABILITY stuff
10684
10685 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10686
10687         * boost.C (throw_exception): new file, with helper function for
10688         boost compiled without exceptions.
10689
10690         * paragraph.h:
10691         * lyxlength.C:
10692         * buffer.C:
10693         * ParameterStruct.h:
10694         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10695
10696         * bufferlist.C (emergencyWriteAll): use boost bind
10697
10698         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10699
10700         * text.C: include paragraph_funcs.h
10701         (breakParagraph): breakParagraph is now in global scope
10702
10703         * paragraph_funcs.[Ch]: new files
10704
10705         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10706         global scope
10707
10708         * buffer.C: include paragraph_funcs.h
10709         (insertStringAsLines): breakParagraph is now in global scope
10710
10711         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10712         paragraph_funcs.C
10713
10714         * CutAndPaste.C: include paragraph_funcs.h
10715         (cutSelection): breakParagraphConservative is now in global scope
10716         (pasteSelection): ditto
10717
10718         * buffer.h: declare oprator== and operator!= for
10719         Buffer::inset_iterator
10720
10721         * bufferlist.C (emergencyWrite): don't use fmt(...)
10722
10723         * text3.C: add using std::endl
10724
10725         * BufferView.C (moveCursorUpdate): remove default arg
10726
10727 2002-08-20  André Pönitz <poenitz@gmx.net>
10728
10729         * buffer.[Ch]: move inline functions to .C
10730
10731         * BufferView2.C:
10732         * BufferView_pimpl.C:
10733         * text.C:
10734         * buffer.[Ch]: use improved inset_iterator
10735
10736         * buffer.C:
10737         * paragraph.[Ch]: write one paragraph at a time
10738
10739 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10740
10741         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10742         style if style is not specified.
10743
10744 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10745
10746         * text2.C (setCounter): when searching for right label for a
10747         caption, make sure to recurse to parent insets (so that a caption
10748         in a minipage in a figure float works) (bug #568)
10749
10750 2002-08-20  André Pönitz <poenitz@gmx.net>
10751
10752         * text3.C: new file for LyXText::dispatch() and helpers
10753
10754         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10755
10756         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10757
10758 2002-08-19  André Pönitz <poenitz@gmx.net>
10759
10760         * lyxtext.h:
10761         * text.C: new LyXText::dispatch()
10762
10763         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10764
10765 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10766
10767         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10768
10769         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10770         Hebrew text.
10771
10772 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10773
10774         * Makefile.am: use $(variables) instead of @substitutions@
10775
10776 2002-08-15  André Pönitz <poenitz@gmx.net>
10777
10778         * lyxfunc.C:
10779         * BufferView_pimpl.C: streamlining mathed <-> outer world
10780         interaction
10781
10782         * commandtags.h:
10783         * LyXAction.C: remove unused LFUN_MATH
10784
10785 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10786
10787         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10788
10789 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10790
10791         * paragraph.C (Paragraph): reformat a bit
10792         (cutIntoMinibuffer): use builtin InsetList function instad of
10793         doing it manually.
10794         (getInset): ditto
10795
10796         * buffer.C: include boost/bind.hpp, add using std::for_each
10797         (writeFileAscii): use ParagraphList iterators
10798         (validate): use for_each for validate traversal of paragraphs
10799         (getBibkeyList): use ParagraphList iterators
10800         (resizeInsets): use for_each to resizeInsetsLyXText for all
10801         paragraphs.
10802         (getParFromID): use ParagraphList iterators
10803
10804         * BufferView2.C (lockInset): use paragraph list and iterators
10805
10806 2002-08-14  John Levon  <levon@movementarian.org>
10807
10808         * lyxserver.C: remove spurious xforms include
10809
10810 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10811
10812         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10813
10814 2002-08-13  André Pönitz <poenitz@gmx.net>
10815
10816         * LyXAction.[Ch]:
10817         * lyxfunc.C: further cleaning
10818
10819 2002-08-13  André Pönitz <poenitz@gmx.net>
10820
10821         * funcrequest.h: new constructor
10822
10823         * funcrequest.C: move stuff here from .h
10824
10825         * Makefile.am:
10826         * BufferView_pimpl.C:
10827         * LyXAction.C:
10828         * toc.C:
10829         * lyxfunc.C: subsequent changes
10830
10831         * lyxfunc.h: new view() member function
10832
10833         * lyxfunc.C: subsequent changes
10834
10835 2002-08-13  Angus Leeming  <leeming@lyx.org>
10836
10837         * BufferView2.C:
10838         * BufferView_pimpl.C:
10839         * buffer.C:
10840         * converter.C:
10841         * importer.C:
10842         * lyxfunc.C:
10843         * lyxvc.C:
10844         * toc.C:
10845         * vc-backend.C:
10846         changes due to the changed LyXView interface that now returns references
10847         to member variables not pointers.
10848
10849 2002-08-13  Angus Leeming  <leeming@lyx.org>
10850
10851         * WordLangTuple (word, lang_code): return references to strings,
10852         not strings.
10853
10854         * BufferView.h:
10855         * SpellBase.h:
10856         * lyxtext.h: forward-declare WordLangTuple.
10857
10858         * BufferView2.C:
10859         * ispell.C:
10860         * pspell.C:
10861         * text.C: #include "WordLangTuple.h".
10862
10863         * lyxtext.h:
10864         * text.C: (selectNextWordToSpellcheck): constify return type.
10865
10866 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10867
10868         * buffer.C:
10869         * buffer.h:
10870         * lyxtext.h:
10871         * paragraph.C:
10872         * paragraph_pimpl.h:
10873         * text.C:
10874         * text2.C:
10875         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10876         suggested by Angus.
10877         Made updateCounter always count from start of buffer, and removed
10878         second argument (par).
10879         Reverted floats number display to '#'. Perhaps I'll try again when the
10880         code base is sanitized a bit.
10881
10882 2002-08-12  Angus Leeming  <leeming@lyx.org>
10883
10884         * buffer.[Ch] (getLabelList): constify.
10885
10886 2002-08-07  André Pönitz <poenitz@gmx.net>
10887
10888         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10889
10890         * funcrequest.h: extension to keep mouse (x,y) position
10891
10892 2002-08-12  Juergen Vigna  <jug@sad.it>
10893
10894         * BufferView2.C (insertErrors): forbid undo when inserting error
10895         insets.
10896
10897         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10898
10899 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10900
10901         * ParagraphList.[Ch]: new files
10902
10903         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10904
10905         * BufferView2.C (lockInset): ParagraphList changes
10906         * toc.C: ditto
10907         * text2.C: ditto
10908         * bufferlist.C: ditto
10909         * buffer.h: ditto
10910         * buffer.C: ditto
10911
10912 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10913
10914         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10915         unused class variable counter_,
10916
10917         * paragraph.[Ch] (getFirstCounter): delete unused function
10918
10919         * counters.C: include LAssert.h
10920         (reset): add a new function with no arg, change other version to
10921         not have def. arg and to not allow empty arg.
10922
10923         * text2.C (setCounter): remove empty arg from call to Counters::reset
10924
10925 2002-08-11  John Levon  <levon@movementarian.org>
10926
10927         * Makefile.am: add WordLangTuple.h
10928
10929 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10930
10931         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10932         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10933
10934         * insets/insettext.C: InsetList changes
10935
10936         * graphics/GraphicsSupport.C (operator()): InsetList changes
10937
10938         * toc.C (getTocList): InsetList changes
10939
10940         * paragraph_pimpl.[Ch]: InsetList changes
10941
10942         * paragraph.[Ch]: InsetList changes
10943
10944         * buffer.C (inset_iterator): InsetList changes
10945         (setParagraph): ditto
10946         * buffer.h (inset_iterator): ditto
10947         * iterators.C (operator++): ditto
10948         * iterators.h: ditto
10949
10950         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10951
10952         * InsetList.[Ch]: new files, most InsetList handling moved out of
10953         paragraph.C.
10954
10955         * BufferView2.C (removeAutoInsets): InsetList changes
10956         (lockInset): ditto
10957         (ChangeInsets): ditto
10958
10959 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10960
10961         * paragraph_pimpl.h (empty): new function
10962
10963         * paragraph.[Ch] (empty): new function
10964
10965         * other files: use the new Paragraph::empty function
10966
10967 2002-08-09  John Levon  <levon@movementarian.org>
10968
10969         * lyxtext.h: remove unused refresh_height
10970
10971 2002-08-09  John Levon  <levon@movementarian.org>
10972
10973         * Makefile.am:
10974         * sgml.h:
10975         * sgml.C:
10976         * buffer.C:
10977         * paragraph.h:
10978         * paragraph.C: move sgml char escaping out of paragraph
10979
10980         * paragraph.h:
10981         * paragraph.C: remove id setter
10982
10983         * buffer.C:
10984         * paragraph.C:
10985         * paragraph_pimpl.C: remove dead tex_code_break_column
10986
10987         * bufferview_funcs.C: small cleanup
10988
10989         * lyxfunc.C: remove dead proto
10990
10991         * lyxtext.h: make some stuff private. Remove some dead stuff.
10992
10993         * lyxgluelength.C: make as[LyX]String() readable
10994
10995 2002-08-08  John Levon  <levon@movementarian.org>
10996
10997         * LyXAction.h:
10998         * LyXAction.C:
10999         * MenuBackend.C:
11000         * ToolbarDefaults.C:
11001         * lyxfunc.C:
11002         * lyxrc.C:
11003         * toc.C: lyxaction cleanup
11004
11005 2002-08-08  John Levon  <levon@movementarian.org>
11006
11007         * BufferView2.C: small cleanup
11008
11009         * lyxfind.h:
11010         * lyxfind.C: move unnecessary header into the .C
11011
11012 2002-08-08  John Levon  <levon@movementarian.org>
11013
11014         * funcrequest.h: just tedious nonsense
11015
11016         * lyx_main.h:
11017         * lyx_main.C: cleanups
11018
11019         * buffer.C:
11020         * vspace.C: remove dead header lyx_main.h
11021
11022 2002-08-07  Angus Leeming  <leeming@lyx.org>
11023
11024         * Paragraph.[Ch]:
11025         * paragraph_pimpl.h:
11026         Forward declare class Counters in paragraph.h by moving the ctrs member
11027         variable into Paragraph::Pimpl.
11028         (counters): new method, returning a reference to pimpl_->ctrs.
11029
11030         * text2.C: ensuing changes.
11031
11032 2002-08-07  John Levon  <levon@movementarian.org>
11033
11034         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11035
11036         * BufferView_pimpl.C: announce X selection on double/triple
11037           click
11038
11039         * lyx_main.C: use correct bool in batch dispatch
11040
11041         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11042
11043 2002-08-07  André Pönitz <poenitz@gmx.net>
11044
11045         * funcrequest.h: new class to wrap a kb_action and its argument
11046
11047         * BufferView.[Ch]:
11048         * BufferView_pimpl[Ch]:
11049         * LaTeX.C:
11050         * LyXAction.[Ch]:
11051         * lyxfunc.[Ch]:
11052         * lyxrc.C: subsequent changes
11053
11054
11055 2002-08-07  John Levon  <levon@movementarian.org>
11056
11057         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11058           document options change.
11059
11060 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11061
11062         * counters.[Ch]
11063         * text2.C
11064         * paragraph.[Ch]
11065         * makefile.am: move counters functionality over from
11066         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11067
11068 2002-08-06  John Levon  <levon@movementarian.org>
11069
11070         * WordLangTuple.h: new file for word + language code tuple
11071
11072         * SpellBase.h:
11073         * pspell.h:
11074         * pspell.C:
11075         * ispell.h:
11076         * ispell.C:
11077         * lyxtext.h:
11078         * text.C:
11079         * text2.C:
11080         * BufferView.h:
11081         * BufferView2.C: use WordLangTuple
11082
11083         * layout.h:
11084         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11085
11086 2002-08-06  John Levon  <levon@movementarian.org>
11087
11088         * lyx_main.C: fix cmdline batch handling
11089
11090 2002-08-06  André Pönitz <poenitz@gmx.net>
11091
11092         * lyxrc.C: set default for show_banner to true
11093
11094 2002-08-06  John Levon  <levon@movementarian.org>
11095
11096         * pspell.C: fix a crash, and allow new aspell to work
11097
11098 2002-08-06  John Levon  <levon@movementarian.org>
11099
11100         * lyxfunc.C:
11101         * kbmap.C: small cleanup
11102
11103         * vspace.h:
11104         * vspace.C: add const
11105
11106 2002-08-05  John Levon  <levon@movementarian.org>
11107
11108         * LyXAction.C: back to tabular-insert
11109
11110 2002-08-04  John Levon  <levon@movementarian.org>
11111
11112         * BufferView.h:
11113         * BufferView.C: cosmetic change
11114
11115         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11116
11117         * bufferlist.C:
11118         * buffer.h:
11119         * buffer.C:
11120         * lyxcb.h:
11121         * lyxcb.C:
11122         * lyxserver.C:
11123         * lyxvc.C:
11124         * vc-backend.C:
11125         * BufferView2.C: purge all "Lyx" not "LyX" strings
11126
11127         * lyxcursor.h:
11128         * lyxcursor.C: attempt to add some documentation
11129
11130         * lyxfunc.C:
11131         * commandtags.h:
11132         * LyXAction.C:
11133         * ToolbarDefaults.C:
11134         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11135           merge with LFUN_TABULAR_INSERT
11136
11137         * Makefile.am:
11138         * SpellBase.h:
11139         * ispell.h:
11140         * ispell.C:
11141         * pspell.h:
11142         * pspell.C: split up i/pspell implementations into separate
11143           files, many cleanups
11144
11145         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11146
11147         * text2.C: some cleanup
11148
11149         * lyxfunc.C: don't check for isp_command == "none" any more, it
11150           didn't make any sense
11151
11152 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11153
11154         * counters.[Ch]
11155         * text2.C
11156         * paragraph.[Ch]
11157         * makefile.am: move counters functionality over
11158         from text2.C/paragraph.[Ch] to counters.[Ch], and
11159         make proper C++.
11160 2002-08-02  John Levon  <levon@movementarian.org>
11161
11162         * buffer.C: s/lyxconvert/lyx2lyx/
11163
11164 2002-08-02  Angus Leeming  <leeming@lyx.org>
11165
11166         * lyxlex.C: revert John's change as it breaks reading of the user
11167         preamble.
11168
11169 2002-08-02  Angus Leeming  <leeming@lyx.org>
11170
11171         * importer.C (Import):
11172         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11173         changes due to LyXView::view() now returning a boost::shared_ptr.
11174
11175 2002-08-02  John Levon  <levon@movementarian.org>
11176
11177         * lyxlex.C: small cleanup
11178
11179 2002-08-02  John Levon  <levon@movementarian.org>
11180
11181         * text2.C (status): small cleanup, no logic change
11182
11183 2002-08-01  John Levon  <levon@movementarian.org>
11184
11185         * buffer.h:
11186         * buffer.C (writeFile): don't output alerts, caller
11187           handles this
11188
11189         * bufferlist.C:
11190         * lyx_cb.C: from above
11191
11192         * lyxfunc.C: allow to open non-existent files
11193
11194 2002-07-31  John Levon  <levon@movementarian.org>
11195
11196         * lyxserver.C: don't let incidental errors get
11197           in the way (errno)
11198
11199 2002-07-30  John Levon  <levon@movementarian.org>
11200
11201         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11202
11203 2002-07-30  John Levon  <levon@movementarian.org>
11204
11205         * lyxserver.h:
11206         * lyxserver.C: remove I/O callback too
11207
11208 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11209
11210         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11211         log.
11212
11213 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11214
11215         * many files: strip,frontStrip -> trim,ltrim,rtrim
11216
11217 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11218
11219         * PrinterParams.h: remove extern containsOnly, and include
11220         support/lstrings.h instead.
11221
11222         * LaTeX.C (scanAuxFile): modify because of strip changes
11223         (deplog): ditto
11224         * buffer.C (makeLaTeXFile): ditto
11225         * bufferparams.C (writeFile): ditt
11226         * lyxfont.C (stateText): ditto
11227         * lyxserver.C (read_ready): ditto
11228         * vc-backend.C (scanMaster): ditto
11229
11230         * BufferView_pimpl.h: ws changes
11231
11232         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11233
11234 2002-07-26  André Pönitz <poenitz@gmx.net>
11235
11236         * kb_sequence.C: remove unnedred usings
11237
11238 2002-07-26  Juergen Vigna  <jug@sad.it>
11239
11240         * lyxfind.C (LyXReplace): we have to check better if the returned
11241         text is not of theLockingInset()->getLockingInset().
11242
11243 2002-07-25  Juergen Vigna  <jug@sad.it>
11244
11245         * lyxfind.C (LyXReplace): don't replace if we don't get the
11246         right LyXText.
11247
11248         * undo_funcs.C (createUndo): remove debugging code.
11249
11250 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11251
11252         * buffer.C (parseSingleLyXformat2Token): Use default placement
11253         when reading old floats.
11254
11255         * FloatList.C (FloatList): Change the default placement of figure
11256         and tables to "tbp".
11257
11258 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11259
11260         * MenuBackend.C: using std::max
11261
11262 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11263
11264         * MenuBackend.C (expandToc):
11265         (expandToc2): code moved from xforms menu frontend. It is now
11266         generic and TOCs are transparent to menu frontends.
11267
11268 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11269
11270         * toc.C (getTocList): protect against buf=0
11271
11272         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11273         Menu as first parameter. Now, this calls itself recursively to
11274         expand a whole tree (this will be useful for TOC handling)
11275         (expandFloatInsert): remove 'wide' version of floats
11276
11277         * MenuBackend.h (submenuname): returns the name of the submenu.
11278         (submenu): returns the submenu itself, provided it has been
11279         created by MenuBackend::expand
11280
11281 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11282
11283         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11284         insets which have noFontChange == true. (bug #172)
11285
11286 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11287
11288         * BufferView_pimpl.C: add connection objects and use them...
11289         (Pimpl): here.
11290
11291 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11292
11293         * MenuBackend.C (expandLastfiles):
11294         (expandDocuments):
11295         (expandFormats):
11296         (expandFloatListInsert):
11297         (expandFloatInsert):
11298         (expand): split expand in parts
11299
11300 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11301
11302         * lyx_gui.C: use lyx_gui::exit()
11303
11304 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11305
11306         * LyXAction.C: show the failing pseudo action
11307
11308 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11309
11310         * buffer.C (readFile): Run the lyxconvert script in order to read
11311         old files.
11312
11313 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11314
11315         * LyXAction.C:
11316         * commandtags.h:
11317         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11318
11319 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11320
11321         * LyXAction.C:
11322         * commandtags.h:
11323         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11324
11325 2002-07-22  Herbert Voss  <voss@lyx.org>
11326
11327         * lengthcommon.C:
11328         * lyxlength.[Ch]: add support for the vertical lengths
11329
11330 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11331
11332         * toc.[Ch]: std:: fixes
11333
11334 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11335
11336         * lyxrc.C: do not include lyx_main.h
11337
11338         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11339         for layouts
11340
11341         * lyxrc.C:
11342         * encoding.C:
11343         * bufferlist.C:
11344         * BufferView2.C: include "lyxlex.h"
11345
11346         * tabular.h:
11347         * bufferparams.h: do not #include "lyxlex.h"
11348
11349         * lyxtextclasslist.C (Add): remove method
11350         (classlist): renamed to classlist_
11351
11352         * paragraph_pimpl.C:
11353         * paragraph.C:
11354         * text2.C:
11355         * CutAndPaste.C:
11356         * bufferview_funcs.C:
11357         * bufferlist.C:
11358         * text.C:
11359         * LaTeXFeatures.C:
11360         * buffer.C:
11361         * toc.C (getTocList): use BufferParams::getLyXTextClass
11362
11363         * toc.C (getTocList): use InsetFloat::addToToc
11364
11365         * toc.[Ch]: new files, containing helper functions to handle table
11366         of contents
11367
11368         * lyxfunc.C (dispatch): no need to remove spaces around command
11369         given as a string
11370         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11371         first command of the sequence; it is not very clever, but I do not
11372         have a better idea, actually
11373
11374         * LyXAction.C (LookupFunc): make sure to remove space at the
11375         beginning and end of the command
11376
11377 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11378
11379         * MenuBackend.C (getMenubar): new method: return the menubar of
11380         this menu set
11381         (read): treat differently reading of menu and menubar (in
11382         particular, the menubar has no name now)
11383         (Menu::menubar): remove
11384
11385         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11386         saving is finished
11387
11388 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11389
11390         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11391         a bibitem inset in a RTL paragraph.
11392
11393 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11394
11395         * paragraph_pimpl.C: constify
11396
11397         * BufferView_pimpl.C:
11398         * LaTeX.C:
11399         * lyxfunc.C: fix dispatch in a nicer way
11400
11401 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11402
11403         * lyxfunc.C (dispatch):
11404         * BufferView_pimpl.C:
11405         * BufferView_pimpl.h:
11406         * BufferView.C:
11407         * BufferView.h: rename Dispatch() to dispatch()
11408
11409         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11410
11411         * lyxlayout.C (Read): honor DependsOn tag
11412
11413         * lyxlayout.[Ch] (depends_on): new method
11414
11415         * version.C.in: update lyx_docversion
11416
11417         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11418
11419         * paragraph.C (validate): remove from here...
11420         * paragraph_pimpl.C (validate): ... and move here
11421         (isTextAt): make it const
11422
11423         * buffer.C (getLists): ws cleanup
11424
11425 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11426
11427         * language.C (read): Use iso8859-1 encoding in latex_lang
11428         (this prevents LyX from crashing when using iso10646-1 encoding).
11429
11430 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11431
11432         * text2.C (toggleInset): if cursor is inside an inset, close the
11433         inset and leave cursor _after_ it
11434
11435 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11436
11437         * lyxfunc.C: move minibuffer completion handling out of here
11438
11439 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11440
11441         * BufferView_pimpl.C:
11442         * LaTeX.C: fix dispatch calls
11443
11444 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11445
11446         * text.C (drawChars): Fix Arabic text rendering.
11447
11448 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11449
11450         * LyXAction.C:
11451         * commandtags.h:
11452         * lyxfunc.C: remove message-push/pop
11453
11454         * lyxserver.C:
11455         * lyxfunc.h:
11456         * lyxfunc.C: rationalise some code by removing verboseDispatch
11457           in favour of a bool argument to dispatch()
11458
11459 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11460
11461         * lyx_main.C (init): make sure to read symlinks as absolute paths
11462
11463 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11464
11465         * lyxfunc.h:
11466         * lyxfunc.C: no need for commandshortcut to be a member
11467
11468 2002-07-15  André Pönitz <poenitz@gmx.net>
11469
11470         * converter.C: add support for $$s (scripts from lib/scripts dir)
11471         * lyx_main.C: white space
11472
11473 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11474
11475         * bufferlist.C:
11476         * lyxrc.h:
11477         * lyxrc.C: remove second exit confirmation
11478
11479 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11480
11481         * BufferView.h:
11482         * BufferView.C:
11483         * BufferView2.C:
11484         * BufferView_pimpl.h:
11485         * BufferView_pimpl.C:
11486         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11487
11488 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11489
11490         * MenuBackend.C (expand): add numeric shortcuts to document menu
11491
11492         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11493
11494 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11495
11496         * lyxfont.C (setLyXFamily):
11497         (setLyXSeries):
11498         (setLyXShape):
11499         (setLyXSize):
11500         (setLyXMisc):
11501         (lyxRead):
11502         * debug.C (value):
11503         * buffer.C (asciiParagraph): use ascii_lowercase
11504
11505 2002-07-15  Mike Fabian  <mfabian@suse.de>
11506
11507         * lyxlex_pimpl.C (search_kw):
11508         * lyxlex.C (getLongString):
11509         * converter.h (operator<):
11510         * converter.C (operator<):
11511         * buffer.C (parseSingleLyXformat2Token):
11512         (asciiParagraph):
11513         * ToolbarDefaults.C (read):
11514         * MenuBackend.C (checkShortcuts):
11515         (read):
11516         * LColor.C (getFromGUIName):
11517         (getFromLyXName): use the compare_ascii_no_case instead of
11518         compare_no_case, because in turkish, 'i' is not the lowercase
11519         version of 'I', and thus turkish locale breaks parsing of tags.
11520
11521 2002-07-16  Angus Leeming  <leeming@lyx.org>
11522
11523         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11524         now takes a Buffer const & argument.
11525
11526 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11527
11528         * BufferView.C (resize): check there's a buffer to resize
11529
11530 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11531
11532         * lyxfunc.C: remove dead code
11533
11534         * lyxserver.h:
11535         * lyxserver.C: use lyx_guii::set_read_callback
11536
11537 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11538
11539         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11540         an inset in a RTL paragraph.
11541
11542 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11543
11544         * lyxfunc.C: repaint after a font size update
11545
11546 2002-07-15  André Pönitz <poenitz@gmx.net>
11547
11548         * lyxlength.C: inBP should be able to return negative values
11549
11550 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11551
11552         * lyxfunc.C: use lyx_gui::update_fonts()
11553
11554 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11555
11556         * lyxfunc.C: use lyx_gui::update_color()
11557
11558 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11559
11560         * bufferlist.C:
11561         * lyxfunc.h:
11562         * lyxfunc.C:
11563         * lyxrc.h:
11564         * lyxrc.C: remove file->new asks for name option, and let
11565           buffer-new take an argument
11566
11567 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11568
11569         * BufferView_pimpl.C: remove unneeded extra repaint()
11570
11571 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11572
11573         * LyXAction.C: allow command-sequence with NoBuffer
11574
11575         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11576
11577 2002-07-10  Angus Leeming  <leeming@lyx.org>
11578
11579         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11580
11581 2002-07-09  Angus Leeming  <leeming@lyx.org>
11582
11583         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11584
11585 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11586
11587         * lengthcommon.h: whitespace
11588
11589         * lyxfunc.C: update scrollbar after goto paragraph
11590
11591         * lyxtext.h: factor out page break drawing, and fix it so
11592           page break/added space paints as selected nicely
11593
11594 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11595
11596         * BufferView_pimpl.C: add FIXMEs, clean up a little
11597
11598 2002-07-09  André Pönitz <poenitz@gmx.net>
11599
11600         * lyxfont.[Ch]: support for wasy symbols
11601
11602 2002-07-08  André Pönitz <poenitz@gmx.net>
11603
11604         * BufferView_pimpl.C: apply John's patch for #93.
11605
11606 2002-07-05  Angus Leeming  <leeming@lyx.org>
11607
11608         * BufferView_pimpl.C (buffer): generate previews if desired.
11609
11610         * LColor.h: add "preview" to the color enum.
11611
11612         * LColor.C (LColor): add a corresponding entry to the items array.
11613
11614         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11615         with this buffer.
11616
11617 2002-07-05  Angus Leeming  <leeming@lyx.org>
11618
11619         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11620         The body of the code is now in the method that is passed an ostream &
11621         rather than a file name.
11622         Pass an additional only_preamble parameter, useful for the forthcoming
11623         preview stuff.
11624
11625 2002-07-03  André Pönitz <poenitz@gmx.net>
11626
11627         * lyxfunc.C: simplify getStatus() a bit for math stuff
11628
11629 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11630
11631         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11632
11633 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11634
11635         * text.C (changeRegionCase): do not change case of all the
11636         document when region ends at paragraph end (bug #461)
11637
11638 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11639
11640         * paragraph.C (startTeXParParams):
11641         (endTeXParParams): add \protect when necessary
11642
11643 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11644
11645         * BufferView_pimpl.C (workAreaExpose): remove warning
11646
11647 2002-06-27  Angus Leeming  <leeming@lyx.org>
11648
11649         * Makefile.am: add lyxlayout_ptr_fwd.h.
11650
11651 2002-06-26  André Pönitz <poenitz@gmx.net>
11652
11653         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11654
11655 2002-06-25  Angus Leeming  <leeming@lyx.org>
11656
11657         * lyxfunc.C (dispatch): Comment out the call to
11658         grfx::GCache::changeDisplay. The method no longer exists now that the
11659         pixmap generation part of the graphics loader has been moved into
11660         InsetGraphics.
11661
11662 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11663
11664         * text2.C: layout as layout
11665
11666         * text.C: layout as layout
11667
11668         * tabular.C (OldFormatRead): layout as layout
11669
11670         * paragraph_pimpl.C (TeXDeeper): layout as layout
11671         (realizeFont): layout as layout
11672
11673         * paragraph.C (writeFile): layout as layout
11674         (validate): layout as layout
11675         (getFont): layout as layout
11676         (getLabelFont): layout as layout
11677         (getLayoutFont): layout as layout
11678         (breakParagraph): layout as layout
11679         (stripLeadingSpaces): layout as layout
11680         (getEndLabel): layout as layout
11681         (getMaxDepthAfter): layout as layout
11682         (applyLayout): layout as layout
11683         (TeXOnePar): layout as layout
11684         (simpleTeXOnePar): layout as layout
11685         (TeXEnvironment): layout as layout
11686         (layout): layout as layout
11687         (layout): layout as layout
11688
11689         * lyxtextclass.C (compare_name): new functor to work with
11690         shared_ptr, layout as layout
11691         (Read): layout as layout
11692         (hasLayout): layout as layout
11693         (operator): layout as layout
11694         (delete_layout): layout as layout
11695         (defaultLayout): layout as layout
11696
11697         * lyxlayout_ptr_fwd.h: new file
11698
11699         * lyxlayout.C (Read): layout as layout
11700
11701         * lyx_cb.C (MenuInsertLabel): layout as layout
11702
11703         * bufferlist.C (newFile): layout as layout
11704
11705         * buffer.C (readLyXformat2): layout as layout
11706         (parseSingleLyXformat2Token): layout as layout
11707         (insertStringAsLines): layout as layout
11708         (asciiParagraph): layout as layout
11709         (latexParagraphs): layout as layout
11710         (makeLinuxDocFile): layout as layout
11711         (simpleLinuxDocOnePar): layout as layout
11712         (makeDocBookFile): layout as layout
11713         (simpleDocBookOnePar): layout as layout
11714         (getLists): layout as layout
11715
11716         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11717
11718         * CutAndPaste.C (cutSelection): layout as layout
11719         (pasteSelection): layout as layout
11720         (SwitchLayoutsBetweenClasses): layout as layout
11721
11722         * BufferView_pimpl.C (Dispatch): layout as layout
11723         (smartQuote): layout as layout
11724
11725         * BufferView2.C (unlockInset): layout as layout
11726
11727 2002-06-24  André Pönitz <poenitz@gmx.net>
11728
11729         * lyxfunc.C: fix #487
11730
11731 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11732
11733         * lyxrc.h:
11734         * lyxrc.C:
11735         * lyxfunc.C: remove display_shortcuts, show_banner
11736
11737 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11738
11739         * Buffer_pimpl.C: oops, update on resize
11740
11741 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11742
11743         * buffer.C:
11744         * converter.C:
11745         * exporter.C:
11746         * lyxfunc.C:
11747         * BufferView.h:
11748         * BufferView.C: use repaint()
11749
11750         * BufferView_pimpl.h:
11751         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11752           as it's a clearer description. Remove superfluous
11753           redraws.
11754
11755 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11756
11757         * text.C: fix bug 488. Not ideal, but getting
11758           getWord() to work properly for the insets that
11759           matter is more difficult ...
11760
11761 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11762
11763         * BufferView_pimpl.C:
11764         * LyXAction.C:
11765         * commandtags.h:
11766         * lyxfunc.C: remove the six million index lyxfuncs to just
11767           one, and DTRT (bug 458)
11768
11769 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11770
11771         * BufferView.h:
11772         * BufferView.C:
11773         * BufferView_pimpl.h:
11774         * BufferView_pimpl.C: clean up resize() stuff,
11775           and unnecessary updateScreen()s
11776
11777 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11778
11779         * BufferView.h:
11780         * BufferView.C:
11781         * BufferView_pimpl.h:
11782         * BufferView_pimpl.C:
11783         * lyxfind.h:
11784         * lyxfind.C:
11785         * minibuffer.C: remove focus management of workarea,
11786           not needed. Use screen's greyOut()
11787
11788 2002-06-17  Herbert Voss  <voss@lyx.org>
11789
11790         * converter.C: (convert) do not post a message, when converting
11791         fails, let the calling function decide what to do in this case
11792
11793 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11794
11795         * lyxfunc.C: tidy up a little
11796
11797 2002-06-16    <alstrup@diku.dk>
11798
11799         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11800         Got rid of FORMS_H_LOCATION include. Now we are
11801         GUII.
11802
11803 2002-06-15  LyX Development team  <lyx@rilke>
11804
11805         * buffer.[Ch] (sgmlOpenTag):
11806         (sgmlCloseTag): Added support for avoiding pernicious mixed
11807         content. Return number of lines written.
11808
11809         (makeLinuxDocFile):
11810         (makeDocBookFile): Fixed calls to sgml*Tag.
11811         Simple white space clean.
11812
11813         (simpleDocBookOnePar): Simple white space clean.
11814
11815         * tabular.[Ch] (docBook): Renamed to docbook and got another
11816         argument to related with the pernicious mixed content.
11817
11818         (docbookRow): Fixed calls for docbook inset method.
11819
11820 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11821
11822         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11823         so it's X11 independent.
11824
11825         * kb*.[Ch]: ditto.
11826
11827         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11828
11829 2002-06-15  Lyx Development team  <lyx@electronia>
11830
11831         * intl.h: Renamed getTrans to getTransManager.
11832
11833 2002-06-14  Angus Leeming  <leeming@lyx.org>
11834
11835         * Makefile.am: nuke forgotten stl_string_fwd.h.
11836
11837 2002-06-12  Angus Leeming  <leeming@lyx.org>
11838
11839         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11840
11841 2002-06-13  Angus Leeming  <leeming@lyx.org>
11842
11843         * LaTeX.C:
11844         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11845
11846 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11847
11848         * kbmap.C (getiso): add support for cyrillic and greek
11849
11850 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11851
11852         * BufferView.h:
11853         * BufferView.C:
11854         * BufferView_pimpl.h:
11855         * BufferView_pimpl.C: move bogus scrolling logic
11856           to xforms
11857
11858 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11859
11860         * lyxfunc.C:
11861         * BufferView_pimpl.C: view->resize() change
11862
11863 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11864
11865         * BufferView_pimpl.C: topCursorVisible
11866           prototype change
11867
11868 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11869
11870         * Makefile.am:
11871         * lyx_gui.h:
11872         * lyx_gui.C: move to frontends/
11873
11874         * main.C:
11875         * lyx_main.h:
11876         * lyx_main.C: changes from above
11877
11878 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11879
11880         * intl.C:
11881         * intl.h:
11882         * kbmap.C:
11883         * kbsequence.C:
11884         * lyx_cb.C:
11885         * lyx_main.C: minor tidy
11886
11887 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11888
11889         * BufferView_pimpl.h:
11890         * BufferView_pimpl.C:
11891         * BufferView.h:
11892         * BufferView.C: make painter() const,
11893           remove dead code
11894
11895         * BufferView2.C: use screen() accessor
11896
11897         * lyx_main.h:
11898         * lyx_main.C: some minor cleanup
11899
11900 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11901
11902         * BufferView_pimpl.h:
11903         * BufferView_pimpl.C: remove enter/leaveView,
11904           use workHeight()
11905
11906 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11907
11908         * BufferView.h:
11909         * BufferView.C:
11910         * BufferView2.C:
11911         * BufferView_pimpl.h:
11912         * BufferView_pimpl.C: only construct screen once,
11913           rename
11914
11915         * lyxrc.C: remove pointless comment
11916
11917 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11918
11919         * BufferView.h:
11920         * BufferView.C: remove active() and belowMouse()
11921
11922         * BufferView_pimpl.h:
11923         * BufferView_pimpl.C: use workarea() not workarea_,
11924           and make it use a scoped_ptr instead
11925
11926 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11927
11928         * lyx_gui.C: add debug message on BadWindow
11929
11930 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11931
11932         * sp_spell.C: fdopen is not part of the C++ standard.
11933
11934         * paragraph.C (InsetIterator): use >= instead of ==
11935
11936 2002-06-07  Angus Leeming  <leeming@lyx.org>
11937
11938         Fixes needed to compile with Compaq cxx 6.5.
11939         * BufferView_pimpl.C:
11940         * DepTable.C:
11941         * buffer.C:
11942         * converter.C:
11943         * encoding.C:
11944         * lyx_gui.C:
11945         * lyx_main.C:
11946         * lyxtextclasslist.C:
11947         * minibuffer.C:
11948         * sp_spell.C:
11949         * tabular_funcs.C:
11950         * vc-backend.C:
11951         all c-library variables have been moved into namespace std. Wrap
11952         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11953
11954         * lyxlength.C:
11955         * tabular-old.C:
11956         * tabular.C:
11957         Add a using std::abs declaration.
11958
11959         * kbmap.h (modifier_pair):
11960         * paragraph.h (InsetTable, InsetList):
11961         * lyxfont.h (FontBits):
11962         type definition made public.
11963
11964         * bufferlist.C (emergencyWriteAll): the compiler complains that
11965         there is more than one possible lyx::class_fun template to choose from.
11966         I re-named the void specialisation as lyx::void_class_fun.
11967
11968         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11969
11970         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11971         the compiler is is unable to find tostr in write_attribute.
11972
11973 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11974
11975         * buffer.C (sgmlError): hide #warning
11976
11977 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11978
11979         * xtl/*: get rid of xtl, which is not in use anyway
11980
11981         * LyXAction.C (init):
11982         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11983         were unimplemented xtl experimentation
11984
11985 2002-06-04  André Pönitz <poenitz@gmx.net>
11986
11987         * lyxfunc.C: disable array operation on simple formulae
11988
11989 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11990
11991         * converter.C: constify a bit
11992
11993 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11994
11995         * lyx_gui.C: check xforms version correctly
11996
11997 2002-04-30  Herbert Voss  <voss@lyx.org>
11998
11999         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12000         "keep" option
12001
12002 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12003
12004         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12005           attempt to register it with a VCS)
12006
12007 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12008
12009         * lyx_main.C (init): honor variables LYX_DIR_13x and
12010         LYX_USERDIR_13x
12011
12012 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12013
12014         * buffer.h:
12015         * buffer.C:
12016         * lyx_main.C: fix a crash on bad command line,
12017           and give a useful exit status on error
12018
12019         * lyxfunc.C (doImport): allow -i lyx to work
12020
12021 2002-03-30  André Pönitz <poenitz@gmx.net>
12022
12023         * lyxfunc.C: mathed font changes
12024
12025 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12026
12027         * LaTeX.C:
12028         * importer.h:
12029         * importer.C:
12030         * lyx_sty.h:
12031         * lyx_sty.C:
12032         * lyxlex.C:
12033         * lyxrow.h:
12034         * lyxtext.h:
12035         * paragraph.h:
12036         * paragraph.C:
12037         * texrow.h:
12038         * texrow.C:
12039         * text.C:
12040         * trans_mgr.h: srcdocs, and some minor cleanups
12041
12042 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12043
12044         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12045         call getFont all the time)
12046
12047 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12048
12049         * switch from SigC signals to boost::signals
12050
12051 2002-05-29  André Pönitz <poenitz@gmx.net>
12052
12053         * paragraph_pimpl.C (getChar): don't call size() too often...
12054
12055 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12056
12057         * paragraph_pimpl.C (insertChar): do not try to update tables when
12058         appending (pos == size())
12059
12060         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12061         in order to reduce drastically the number of comparisons needed to
12062         parse a large document
12063
12064 2002-05-29  André Pönitz <poenitz@gmx.net>
12065
12066         * text.C:
12067         * text2.C:
12068         * lyxtextclass.C:
12069         * sp_pspell.h:
12070         * textclasslist.[Ch]:
12071         * sp_ispell.h: whitespace change
12072
12073 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12074
12075         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12076         lyxaction directly now.
12077
12078 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12079
12080         * trans.C:
12081         * lyxfont.C:
12082         * lyxvc.C: remove unused headers
12083
12084 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12085
12086         * Makefile.am:
12087         * buffer.h:
12088         * undostack.h:
12089         * undostack.C:
12090         * undo_funcs.h:
12091         * undo_funcs.C: some cleanups. Use shared_ptr
12092           and a template for the undo stacks.
12093
12094 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12095
12096         * BufferView_pimpl.h:
12097         * BufferView_pimpl.C:
12098         * kbmap.h:
12099         * kbmap.C:
12100         * kbsequence.h:
12101         * kbsequence.C:
12102         * lyxfunc.h:
12103         * lyxfunc.C:
12104         * text2.C: use key_state/mouse_state
12105
12106 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12107
12108         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12109         and LSubstring
12110
12111         * chset.C: change include order
12112         (loadFile): use boost regex and get rid of LRegex and LSubstring
12113
12114         * Makefile.am (BOOST_LIBS): new variable
12115         (lyx_LDADD): use it
12116
12117         * LaTeX.C: change include order.
12118         (scanAuxFile): use boost regex and get rid of LRegex and
12119         LSubstring
12120         (deplog): ditto
12121
12122 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12123
12124         * ColorHandler.h:
12125         * ColorHandler.C:
12126         * FontInfo.h:
12127         * FontInfo.C: moved to frontends/xforms/
12128
12129         * FontLoader.h:
12130         * FontLoader.C: moved into frontends for GUIIzation
12131
12132         * Makefile.am:
12133         * lyx_gui.C:
12134         * lyxfont.C:
12135         * lyxfunc.C: changes from above
12136
12137 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12138
12139         * LColor.C: remove spurious X include
12140
12141         * BufferView_pimpl.C:
12142         * Makefile.am:
12143         * font.h:
12144         * font.C:
12145         * text.C:
12146         * text2.C: move font metrics to frontends/
12147
12148 2002-05-24  Juergen Vigna  <jug@sad.it>
12149
12150         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12151         setting the undo_cursor.
12152
12153         * ParagraphParameters.h: include local includes first.
12154
12155 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12156
12157         * BufferView_pimpl.C:
12158         * BufferView_pimpl.h:
12159         * Makefile.am:
12160         * WorkArea.h:
12161         * WorkArea.C:
12162         * screen.C: move WorkArea into frontends/
12163
12164         * lyxscreen.h:
12165         * screen.C:
12166         * text.C:
12167         * BufferView.C:
12168         * BufferView2.C: move LyXScreen into frontends/
12169
12170         * lyxlookup.h:
12171         * lyxlookup.C:
12172         * lyx_gui.C: move lyxlookup into frontends/xforms/
12173
12174 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12175
12176         * BufferView2.C:
12177         * BufferView_pimpl.C:
12178         * FontLoader.C:
12179         * LyXView.h:
12180         * LyXView.C:
12181         * Makefile.am:
12182         * WorkArea.C:
12183         * XFormsView.h:
12184         * XFormsView.C:
12185         * buffer.C:
12186         * bufferlist.C:
12187         * bufferview_funcs.C:
12188         * converter.C:
12189         * importer.C:
12190         * lyx_cb.C:
12191         * lyx_gui.C:
12192         * lyx_main.C:
12193         * lyx_find.C:
12194         * lyxfunc.C:
12195         * lyxvc.C:
12196         * minibuffer.C:
12197         * text.C:
12198         * text2.C:
12199         * trans.C:
12200         * vc-backend.C: move LyX/XFormsView into frontends/
12201
12202 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12203
12204         * Makefile.am:
12205         * PainterBase.C:
12206         * PainterBase.h:
12207         * Painter.C:
12208         * Painter.h:
12209         * WorkArea.C:
12210         * WorkArea.h:
12211         * screen.C:
12212         * tabular.C:
12213         * text.C:
12214         * text2.C: move Painter to frontends/
12215
12216 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12217
12218         * buffer.C: comment out some some code that depend upon lyx_format
12219         < 220
12220
12221         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12222         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12223
12224         * buffer.h (NO_COMPABILITY): turn off compability
12225
12226         * ColorHandler.C: include scoped_array.hpp
12227
12228         * font.C: Use more specific smart_ptr header.
12229         * Painter.C: ditto
12230         * gettext.C: ditto
12231         * ShareContainer.h: ditto
12232         * lyx_main.h: ditto
12233         * kbmap.h: ditto
12234         * FontInfo.h: ditto
12235         * BufferView_pimpl.h: ditto
12236         * ColorHandler.h: ditto
12237
12238         * kbmap.C (defkey): change call to shared_ptr::reset
12239
12240 2002-05-21  Juergen Vigna  <jug@sad.it>
12241
12242         * buffer.C (insertErtContents): fix to insert ert asis if it is
12243         non empty. Skip it completely if it contains only whitespaces.
12244
12245 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12246
12247         * BufferView_pimpl.C:
12248         * BufferView2.C: clear selection on paste (bug 393)
12249
12250 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12251
12252         * DepTable.C: include ctime
12253
12254 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12255
12256         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12257
12258 2002-05-14  Juergen Vigna  <jug@sad.it>
12259
12260         * text.C (breakParagraph): fixed function to honor the keepempty
12261         layout in the right maner and also to permit the right breaking
12262         algorithm on empty or non empyt keepempty paragraphs.
12263
12264         * paragraph.C (breakParagraph): we have to check also if the par
12265         is really empty (!size()) for isempty otherwise we do the wrong
12266         paragraph break.
12267
12268 2002-05-10  Juergen Vigna  <jug@sad.it>
12269
12270         * buffer.[Ch] : The following are only changes to the ert
12271         compatibility read reading old LaTeX layout and font stuff and
12272         convert it to ERTInsets.
12273
12274         * buffer.h: added isErtInset().
12275
12276         * buffer.C (struct ErtComp): add a fromlayout bool to check
12277         if we're inside a LaTeX layout.
12278         (isErtInset): new helper function.
12279         (insertErtContents): look for other ert insets before this one
12280         and insert the contents there, so that we don't have subsequent
12281         ERT insets with nothing between them. This way we create only one
12282         inset with multiple paragraphs. Also check if we don't insert only
12283         spaces ' ' as they are ignored anyway afterwards in the .tex file
12284         so if we have only spaces we will ignore this latex part in the
12285         new file.
12286         (parseSingleLyXformat2Token \\layout): better compatibility when
12287         reading layout-latex stuff.
12288         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12289         language tag.
12290         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12291         stuff after reading the inset only get the information back from
12292         the stack.
12293
12294 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12295
12296         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12297
12298         * LaTeXFeatures.C (getBabelOptions): New method.
12299
12300 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12301
12302         * BufferView_pimpl.C (Dispatch): work around missing argument for
12303         'layout'
12304
12305 2002-05-08  Juergen Vigna  <jug@sad.it>
12306
12307         * text.C (leftMargin): handle paragraph leftindent.
12308
12309         * paragraph.C (writeFile): write the new \\leftindent tag.
12310         (validate): handle leftindent code.
12311         (TeXEnvironment): handle paragraphleftindent code again.
12312
12313         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12314
12315         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12316         for paragrap_extra indent code and new token \\leftindent.
12317         (latexParagraphs): handle the leftindent as environment.
12318
12319         * ParameterStruct.h: added leftindent support.
12320
12321         * ParagraphParameters.C (leftIndent): added support functions for
12322         the paragraph left indent.
12323
12324         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12325         more appropriate.
12326
12327 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12328
12329         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12330         inside insetERT.
12331
12332         * text.C (computeBidiTables): No bidi in insetERT.
12333
12334         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12335         in RTL documents.
12336
12337 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12338
12339         * version.C.in: pre 5
12340
12341 2002-05-02  José Matos  <jamatos@fep.up.pt>
12342         * buffer.C (makeDocBookFile): white space changes, add newline to
12343         command styles.
12344         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12345
12346         * tabular.C (docBook): fix typo.
12347
12348 2002-05-03  Juergen Vigna  <jug@sad.it>
12349
12350         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12351         change in LyXText as we can not be sure it was not freed.
12352         (drawOneRow): remove unused code.
12353
12354         * text.C (drawInset): redo the calculation of the need_break_row as
12355         it could have a row which was already freed.
12356         (draw): look at the return value of drawInset and return false if
12357         it also returned false.
12358         (paintRowText): look at the return value of draw and return false if
12359         it also returned false.
12360
12361         * lyxtext.h: added bool return type to drawInset() and draw() so that
12362         if we have a change in the row so that the rowbreak has to be redone
12363         we abort drawing as it will be called again.
12364
12365 2002-05-02  Juergen Vigna  <jug@sad.it>
12366
12367         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12368         a change in the maintext also if we're inside an inset.
12369         (Dispatch): set the cursor again after a break line and after the
12370         screen has been updated as it could be we're in a different row.
12371
12372         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12373         to set the cursor behind the pargraph with > size().
12374         (setCursor): check also for the same paragraph when checking where
12375         to put the cursor if we have a NFR inset.
12376
12377         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12378         parts of layout read further up as it still was in the wrong
12379         position.
12380
12381 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12382
12383         * screen.C (drawFromTo): change sine fullRebreak always return
12384         true.
12385
12386         * buffer.C (parseSingleLyXformat2Token): reindent some
12387
12388         * BufferView_pimpl.C (update): change since fullRebreak always
12389         return true.
12390         (Dispatch): git rid of the last hardcoded "Standard"s.
12391
12392 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12393
12394         * text2.[Ch] (fullRebreak): make it return void now that we always
12395         returned true.
12396
12397 2002-04-30  Juergen Vigna  <jug@sad.it>
12398
12399         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12400         ert compatibility check for "latex" layout.
12401
12402 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12403
12404         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12405         minipages: use col% instead of p%, and also use the current font.
12406         (makeLaTeXFile): Fix use babel condition.
12407         (parseSingleLyXformat2Token): Correct font when reading old floats.
12408
12409 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12410
12411         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12412         inserting list of floats.
12413
12414 2002-04-25  Herbert Voss  <voss@lyx.org>
12415
12416         * MenuBackend.C (expand): don't add the graphics extensions to the
12417         export menu
12418
12419 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12420
12421         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12422         non-existing layout, do not complain if it was the default layout
12423         of the original class (bug #342)
12424
12425 2002-04-24  Juergen Vigna  <jug@sad.it>
12426
12427         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12428         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12429
12430 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12431
12432         * buffer.C (getBibkeyList): If using \bibliography, return the
12433         option field with the reference itself. Enables us to provide natbib
12434         support when using \bibliography.
12435
12436 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12437
12438         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12439
12440         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12441         natbib is provided by the LaTeX class.
12442
12443 2002-04-23  Juergen Vigna  <jug@sad.it>
12444
12445         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12446         Wakeup functions.
12447
12448         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12449
12450 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12451
12452         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12453
12454         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12455         ensuremath around textordmasculine, textordfeminine and
12456         textdegree.
12457
12458 2002-04-19  Juergen Vigna  <jug@sad.it>
12459
12460         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12461         reinitializing the buffer otherwise row-dimensions may be wrong.
12462         (update): reset also the selection cursors if they do exits otherwise
12463         their x/y positions may be wrong.
12464
12465         * text2.C (cursorDown): don't enter the inset if we came from a row
12466         above and are one row over the inset.
12467
12468         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12469         really leaving an inset.
12470
12471 2002-04-18  Juergen Vigna  <jug@sad.it>
12472
12473         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12474         of the selected paragraph does not have the selected layout also if
12475         the last one had!
12476
12477         * text2.C (setLayout): fixed bug which did not change last selected
12478         paragraph.
12479
12480         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12481         changed the read and substituted \\end_float with \\end_inset!
12482
12483         * BufferView_pimpl.C (cursorPrevious):
12484         (cursorNext): fixed to make it work with rows heigher than the work
12485         area without moving the cursor only the draw of the row.
12486         (workAreaMotionNotify): fix jumping over high rows.
12487
12488 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12489
12490         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12491         Ressler.
12492
12493 2002-04-16  Juergen Vigna  <jug@sad.it>
12494
12495         * text2.C (setCursor): set also the irow().
12496         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12497         (cursorUp):
12498         (cursorDown): support for locking an inset if the x_fix value goes
12499         inside it. That way I can transverse insets too with cursor up/down.
12500
12501         * lyxrow.h: added irow helper function same as other (i) functions.
12502
12503         * BufferView_pimpl.C (cursorPrevious):
12504         (cursorNext): fixed for insets!
12505
12506 2002-04-15  Juergen Vigna  <jug@sad.it>
12507
12508         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12509         position otherwise it is wrong in some cases.
12510
12511         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12512         inside the inset before the call.
12513
12514 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12515
12516         * buffer.[Ch] (getBibkeyList): make it const.
12517
12518 2002-04-12  Juergen Vigna  <jug@sad.it>
12519
12520         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12521
12522         * text2.C (getCursorX): new helper function
12523         (setCursor): compute also ix_
12524         (setCursorFromCoordinates): set also ix.
12525
12526         * lyxcursor.h: added ix_ and helper functions.
12527
12528         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12529
12530         * buffer.C (insertStringAsLines): dont break paragraph if the this
12531         paragraph is inside an inset which does not permit it!
12532
12533         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12534         also with no chars on this paragraph.
12535         (paintRowText): only paint stuff if it's inside the workarea!
12536
12537         * paragraph.C (breakParagraph): honor keepempty flag and break the
12538         paragraph always below not above.
12539
12540         * BufferView2.C (unlockInset): update the paragraph layout on inset
12541         unlock as we changed paragraph in such a case.
12542
12543         * lyxfind.C (LyXFind): clear the former selection if not found!
12544
12545         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12546         again called in insertChar().
12547
12548         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12549         an inset which uses the whole row!
12550         (rightMargin): ditto.
12551         (insertChar): force a rebreak if we inserted an inset!
12552
12553 2002-03-28  Herbert Voss  <voss@lyx.org>
12554
12555         * lyxlength.[Ch]: add inBP() to get the right PS-point
12556         units (BigPoint). With inPixels we have rounding errors
12557
12558 2002-04-11  Juergen Vigna  <jug@sad.it>
12559
12560         * text2.C (setCursorFromCoordinates): set iy to the right value.
12561         (setCursor): add check if row->previous exists!
12562
12563         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12564         an old float_type as this was the case in the old code!
12565
12566         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12567
12568         * BufferView2.C (showLockedInsetCursor): use iy
12569         (fitLockedInsetCursor): ditto
12570
12571         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12572         locked insets as there we have the right value now.
12573
12574         * lyxcursor.C: added iy_ variable and iy functions to set to the
12575         baseline of cursor-y of the locked inset.
12576
12577         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12578         (setCursor): fixed for insets which need a full row.
12579
12580         * text.C (rowLastPrintable): don't ignore the last space when before
12581         an inset which needs a full row.
12582         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12583         as last character of a row when before a inset which needs a full row.
12584
12585 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12586
12587         * version.C.in: update date
12588
12589         * text2.C (fullRebreak): try to always return true and see what
12590         happens...
12591
12592 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12593
12594         * MenuBackend.C (expand): use Floating::listName
12595
12596         * FloatList.C (FloatList): add listName argument to the built-in
12597         floats
12598
12599         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12600         text associated with the float.
12601
12602 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12603
12604         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12605
12606 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12607
12608         * ShareContainer.h: add a couple of missing typenames.
12609
12610 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12611
12612         * lyxrc.C (getDescription): use _() correctly rather than N_().
12613
12614 2002-03-28  Herbert Voss  <voss@lyx.org>
12615
12616         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12617         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12618
12619 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12620
12621         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12622         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12623
12624 2002-03-29  Juergen Vigna  <jug@sad.it>
12625
12626         * lyxfunc.C (dispatch): add a missing fitCursor call.
12627
12628         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12629         it was scrolled by a cursor move, so return the bool status.
12630
12631         * BufferView.C (fitCursor): return the bool flag also to the outside
12632         world as this is needed.
12633
12634         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12635
12636         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12637         call the edit() as it is not needed (and wrong) IMO.
12638         (workAreaButtonPress): set the screen_first variable before evt.
12639         unlock the inset as this may change screen_first and then we have
12640         a wrong y position for the click!
12641
12642 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12643
12644         * MenuBackend.C (expand): another translation that I missed
12645
12646 2002-03-28  Juergen Vigna  <jug@sad.it>
12647
12648         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12649
12650         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12651
12652 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12653
12654         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12655
12656         * MenuBackend.C (expand): fix export/view/update when there is no
12657         document open.
12658
12659 2002-03-27  Herbert Voss  <voss@lyx.org>
12660
12661         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12662         and text%
12663
12664 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12665
12666         * bufferview_funcs.C (currentState): only show paragraph number
12667         for is DEVEL_VERSION is set.
12668
12669         * lyxfunc.C (dispatch): put warning in INFO channel
12670
12671         * MenuBackend.C (expand): translate the name of floats
12672
12673         * FloatList.C (FloatList): mark the float names for translation
12674
12675         * converter.C (convert): use LibScriptSearch
12676
12677 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12678
12679         * MenuBackend.C (defaults): fix default menu (we might as well get
12680         rid of it...)
12681
12682 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12683
12684         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12685         directory.
12686
12687 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12688
12689         * lyxvc.C: reorder includes.
12690
12691 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12692
12693         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12694           properly
12695
12696 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12697
12698         * CutAndPaste.C: change layouts earlier on paste
12699           to avoid crashing when calling getFont()
12700
12701 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12702
12703         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12704         irritating #error.
12705
12706 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12707
12708         * WorkArea.C: remove 'Pending' debug message.
12709
12710         * most files: ws cleanup
12711
12712         * buffer.[Ch]: ws changes
12713
12714         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12715
12716 2002-03-21  Juergen Vigna  <jug@sad.it>
12717
12718         * tabular.C (SetMultiColumn): collapse also the contents of the
12719         cells and set the last border right. Added a Buffer const * param.
12720
12721 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12722
12723         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12724         linking or not.
12725
12726 2002-03-19  Juergen Vigna  <jug@sad.it>
12727
12728         * text2.C (clearSelection): reset also xsel_cache.
12729
12730         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12731         where it needs to be called (John tells us to do so too :)
12732         (selectionLost): reset sel_cache.
12733
12734         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12735
12736 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12737
12738         * text2.C (setCursorIntern): put debuging code in INSETS channel
12739
12740 2002-03-19  André Pönitz <poenitz@gmx.net>
12741
12742         * lyxfunc.C: tiny whitespace change
12743
12744 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12745
12746         * ToolbarDefaults.C (init):
12747         * LyXAction.C (init):
12748         * commandtags.h:
12749         * BufferView_pimpl.C (Dispatch):
12750         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12751
12752 2002-03-19  Allan Rae  <rae@lyx.org>
12753
12754         * exporter.C (Export): removeAutoInsets before doing anything else.
12755         While I've just introduced a dependency on BufferView this really is
12756         the best place to clean the buffer otherwise you need to cleanup in
12757         a dozen places before calling export or cleanup in a dozen functions
12758         that export calls.
12759
12760         * converter.C (runLaTeX):
12761         (scanLog): Better handling of removeAutoInsets and screen updates.
12762
12763         * lyxfunc.C (dispatch): small whitespace changes
12764
12765 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12766
12767         * WorkArea.C (C_WorkAreaEvent): return a value.
12768         (event_cb): return 1 if we handled the event, 0 otherwise.
12769
12770         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12771
12772 2002-03-18  Juergen Vigna  <jug@sad.it>
12773
12774         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12775         (GetAdditionalWidth): ditto.
12776         (RightLine): ditto.
12777         (LeftLine): ditto.
12778
12779         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12780         inset if we're there actually (probably not used right now but this
12781         is the direction to go for unifying code).
12782         (paste): disable code to clear the selection.
12783
12784         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12785         inside an InsetText and move the check further up as it is in the
12786         wrong place.
12787
12788         * text2.C (pasteSelection): set a selection over the pasted text.
12789
12790 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12791
12792         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12793         and libgraphics to build on Cygwin.
12794
12795 2002-03-15  Juergen Vigna  <jug@sad.it>
12796
12797         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12798         inserting an Inset into the paragraph. I know this is not the best
12799         fix but we already use current_view in CutAndPaste so we will remove
12800         all of it's using at the same time.
12801
12802         * buffer.C (sgmlError): deactivated function till it is rewritten in
12803         the right mode, now it can create problems.
12804
12805         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12806         before accessing it.
12807
12808 2002-03-14  Juergen Vigna  <jug@sad.it>
12809
12810         * undo_funcs.C (textHandleUndo): do the right thing when updating
12811         the inset after the undo/redo.
12812
12813         * text2.C (setCursor): just some testcode for #44 not ready yet.
12814
12815         * undo_funcs.C (textHandleUndo): set the next() and previous()
12816         pointers of the paragraph to 0 before deleting otherwise we have
12817         problems with the Paragraph::[destructor].
12818
12819         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12820         on a paragraph insertion.
12821
12822 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12823
12824         * buffer.C (asciiParagraph): use += operator for char append to
12825         string.
12826
12827         * paragraph.C (getFontSettings): compare >= not just >
12828         (highestFontInRange): ditto
12829         (setFont): ditto
12830
12831 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12832
12833         * paragraph.C: change several algorithm to be more appripriate for
12834         the problem domain. This is lookip in FontList and in the InsetList.
12835
12836 2002-03-13  André Pönitz <poenitz@gmx.net>
12837
12838         * commandtags.h:
12839         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12840
12841 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12842
12843         * commandtags.h:
12844         * LyXAction.C:
12845         * lyxfunc.C:
12846         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12847
12848 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12849
12850         * Painter.C (display): anon helper function, adjust code for this
12851         change.
12852         (pixmap): remove function.
12853
12854         * Painter.h: remove private display variable.
12855
12856         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12857
12858 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12859
12860         * WorkArea.[Ch]: remove figinset_canvas cruft.
12861
12862 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12863
12864         * lyxtextclass.C (operator): add one item cache optimization.
12865
12866         * bufferlist.h: doxy changes
12867
12868         * bufferlist.C: ws changes
12869
12870         * DepTable.[Ch] (ext_exist): place const in the right spot.
12871
12872         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12873         call resizeInsets.
12874         (workAreaExpose): call resizeInsets when the with BufferView changes.
12875         (Dispatch): adjust for protectedBlank removal
12876         (specialChar): call updateInset if the insert went ok.
12877
12878         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12879         specialChar instead.
12880
12881         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12882
12883         * BufferView.h: doxy change
12884
12885         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12886
12887         * lyxtextclass.C (operator[]): remove non-const version
12888         (defaultLayout): remove non-const version
12889
12890 2002-03-12  Juergen Vigna  <jug@sad.it>
12891
12892         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12893         did resize the LyXText too.
12894
12895         * buffer.C (readLyXformat2): set layout information on newly allocated
12896         paragraphs.
12897
12898         * tabular.C (OldFormatRead): set layout information on the paragraph.
12899
12900 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12901
12902         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12903
12904 2002-03-11  Juergen Vigna  <jug@sad.it>
12905
12906         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12907         plainly wrong.
12908         (resizeCurrentBuffer): force also the insets to resize themselfes.
12909         (moveCursorUpdate): fixed up for InsetText.
12910
12911 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12912
12913         * commandtags.h:
12914         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12915         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12916         value of Dialogs::tooltipsEnabled().
12917         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12918
12919 2002-03-08  Juergen Vigna  <jug@sad.it>
12920
12921         * BufferView_pimpl.C (updateInset): update inset inside inset also
12922         if it isn't inside theLockingInset().
12923
12924 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12925
12926         * buffer.C (asciiParagraph): redo some of the word and line length
12927         handling.
12928         (getLists): look for Caption instead of caption.
12929
12930 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12931
12932         * buffer.C (Buffer): initialize niceFile to true
12933         (makeLaTeXFile):
12934         (makeLinuxDocFile):
12935         (makeDocBookFile): make sure niceFile is true on exit
12936
12937 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12938
12939         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12940
12941 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12942
12943         * LyXSendto.C: remove.
12944         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12945         * lyx_gui.C: remove now-redundant comment.
12946         * ColorHandler.h: remove forward declaration of class WorkArea.
12947         * lyxfunc.C: remove #include "WorkArea.h".
12948
12949 2002-03-07  Juergen Vigna  <jug@sad.it>
12950
12951         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12952         got moved away with the DEPM and also set the inset_owner always
12953         right which before could have been omitted.
12954
12955 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12956
12957         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12958         wanted layout is not found.
12959
12960 2002-03-07  Juergen Vigna  <jug@sad.it>
12961
12962         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12963
12964 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12965
12966         * paragraph.C (breakParagraph): use default layout not layout of
12967         prev paragraph.
12968         (Paragraph): clear ParagraphParameters.
12969
12970 2002-03-06  Juergen Vigna  <jug@sad.it>
12971
12972         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12973         otherwise it would not be a valid lenght. Fixed a special case in
12974         the minipage compatibility read where we end the document with a
12975         minipage.
12976
12977         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12978         was set as it could be 0 for InsetTexts first entry.
12979
12980 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12981
12982         * paragraph.C (writeFile): if layout is empty write out
12983         defaultLayoutName().
12984
12985         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12986         file without named layout we set layout to defaultLayoutName().
12987
12988 2002-03-06  Juergen Vigna  <jug@sad.it>
12989
12990         * CutAndPaste.C (copySelection): set layout for new paragraph.
12991
12992         * text.C (prepareToPrint): leave ERT inset left aligned
12993         (leftMargin): don't indent paragraphs inside ERT insets
12994
12995 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12996
12997         * paragraph.C (breakParagraph): dont call clear do the work manually
12998
12999         * paragraph.[Ch] (clear): remove function
13000
13001 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13002
13003         * paragraph.C (Paragraph): dont call clear, the work has already
13004         been done.
13005
13006         * lyxtextclass.C (operator): assert if n is empty
13007
13008         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13009         work manually instead.
13010
13011 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13012
13013         * BufferView_pimpl.C: protect selectionLost against text == 0
13014
13015 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13016
13017         * text.C (breakParagraph): fix a setting layout to '0' problem.
13018
13019 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13020
13021         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13022         final location of file, for the included files, and graphics.
13023
13024 2002-03-05  Juergen Vigna  <jug@sad.it>
13025
13026         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13027
13028 2002-03-04  Juergen Vigna  <jug@sad.it>
13029
13030         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13031
13032         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13033         last column of multicolumn cells.
13034         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13035
13036 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13037
13038         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13039         file if it doesn't go to a temporary file.
13040
13041         * buffer.C (sgmlOpenTag):
13042         (sgmlCloseTag):  remove extra newline insertion.
13043
13044 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13045
13046         * text.C (getRowNearY): comment out debug msg
13047
13048 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13049
13050         * text2.C: first -> first_y
13051
13052         * text.C (getRowNearY): add some attemts at a possible
13053         optimization, not working.
13054
13055         * tabular.[Ch]: add BufferParams to several function so that newly
13056         created paragraph can be initialized to he default layotu for the
13057         buffers textclass.
13058
13059         * tabular-old.C (ReadOld): add buf->params to call of Init
13060
13061         * screen.C: rename text->first to text->first_y
13062
13063         * paragraph.C (breakParagraph): always set layout in the broken
13064         paragraph
13065
13066         * lyxtextclass.C (Read): remove lowercase
13067         (hasLayout): ditto
13068         (operator): ditto
13069         (delete_layout): ditto
13070
13071         * lyxtext.h: rename first -> first_y
13072
13073         * lyxlayout.C (Read): remove lowercase
13074         (name): ditto
13075         (setName): ditto
13076         (obsoleted_by): ditto
13077
13078         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13079
13080         * buffer.C (insertErtContents): add params are to InsetERT
13081         (parseSingleLyXformat2Token): add code to check if a paragraphs
13082         layout really exist.
13083         (parseSingleLyXformat2Token): add params to several inset
13084         constructors
13085         (asciiParagraph): remove lowercase, do the layout comparisons with
13086         no_case
13087
13088         * BufferView_pimpl.C (cursorNext): first -> first_y
13089         (resizeCurrentBuffer): first -> first_y
13090         (updateScrollbar): first -> first_y
13091         (scrollCB): first -> first_y
13092         (workAreaMotionNotify): first -> first_y
13093         (workAreaButtonPress): first -> first_y
13094         (checkInsetHit): first -> first_y
13095         (cursorPrevious): first -> first_y
13096         (cursorNext): first -> first_y
13097         (Dispatch): add buffer_->params to severl inset contructors
13098
13099 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13100
13101         * lyxlayout.C (Read): remove some debug info that I forgot.
13102
13103         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13104         clean up the code slightly.
13105         (makeLinuxDocFile): ditto
13106         (makeDocBookFile): ditto
13107
13108         * text2.C: layout as string
13109
13110         * text.C: layout as string
13111
13112         * paragraph_pimpl.C: layout as string
13113
13114         * paragraph.[Ch]: layout as string
13115
13116         * lyxtextclasslist.[Ch]: layout as string
13117
13118         * lyxtextclass.[Ch]: layout as string
13119
13120         * lyxtext.h: layout as string
13121
13122         * lyxlayout.[Ch]: layout as string
13123
13124         * lyx_cb.C: layout as string
13125
13126         * bufferview_funcs.C: layout as string
13127
13128         * bufferparams.C: layout as string
13129
13130         * buffer.C: layout as string
13131
13132         * LyXView.[Ch]: layout as string
13133
13134         * LaTeXFeatures.[Ch]: layout as string
13135
13136         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13137
13138         * BufferView_pimpl.C: change current_layout to string, remove
13139         lyx::layout_type.
13140         (Dispatch):
13141         (smartQuote):
13142         (insertInset):
13143         (workAreaButtonRelease): layout as string
13144
13145         * BufferView2.C (unlockInset): adjust
13146
13147         * vspace.C (asLatexCommand): use an explict temp variable.
13148
13149 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13150
13151         * Makefile.am: use FRONTEND_*
13152
13153 2002-03-01  Juergen Vigna  <jug@sad.it>
13154
13155         * tabular.C (SetWidthOfMulticolCell): changed to something better
13156         I hope but still work in progress.
13157         (recalculateMulticolumnsOfColumn): renamed function from
13158         recalculateMulticolCells as it is more appropriate now.
13159         (SetWidthOfCell): calculate multicols better.
13160
13161 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13162
13163         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13164
13165         * lyxfunc.C (processKeySym): print sequence also if it is
13166         `deleted' (complete)
13167
13168         * kbsequence.C (print): print sequence even if it is deleted
13169         (complete would be a better word, actually).
13170
13171         * lyxfunc.C (dispatch): print complete options after a prefix key
13172
13173         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13174
13175 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13176
13177         * text2.C (setCharFont): eliminate setCharFont code duplication.
13178
13179 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13180
13181         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13182         LFUN_TABULAR_FEATURE (bug #177)
13183
13184 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13185
13186         * Makefile.am: remove figure.h
13187
13188 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13189
13190         * Bufferview_pimpl.C:
13191         * CutAndPasteC:
13192         * LaTeX.C:
13193         * LyXSendto.C:
13194         * buffer.C:
13195         * bufferlist.C:
13196         * converter.C:
13197         * language.C:
13198         * lyxfunc.C:
13199         * lyxvc.C:
13200         * paragraph.C:
13201         * text.C:
13202         * text2.C: remove #include "lyx_gui_misc.h".
13203
13204         * LaTeX.C: added #include <cstdio>
13205
13206 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13207
13208         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13209         that the paragraph following this one can have.
13210
13211         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13212
13213         * vspace.C (asLatexCommand): fix bogus gcc warning
13214
13215         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13216
13217 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13218
13219         * text2.C (setLayout): get rid of redundant code
13220
13221 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13222
13223         * text2.C (incDepth): make sure depth cannot be increased beyond
13224         reasonable values.
13225
13226 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13227
13228         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13229         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13230
13231         * PainterBase.h (image):
13232         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13233         a LyXImage const *.
13234
13235 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13236
13237         * BufferView.C:
13238         * BufferView.h:
13239         * BufferView_pimpl.C:
13240         * BufferView_pimpl.h:
13241         * LaTeXFeatures.C:
13242         * LyXAction.C:
13243         * LyXView.C:
13244         * Makefile.am:
13245         * UpdateList.h:
13246         * UpdateList.C:
13247         * buffer.C:
13248         * figure.h:
13249         * figureForm.C:
13250         * figureForm.h:
13251         * figure_form.C:
13252         * figure_form.h:
13253         * lyx_cb.C:
13254         * lyx_gui.C:
13255         * lyx_gui_misc.C:
13256         * lyxfunc.C:
13257         * sp_base.h:
13258         * sp_ispell.h:
13259         * sp_pspell.h:
13260         * sp_spell.C: remove fig inset, and the crap house of
13261           cards that follows it
13262
13263 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13264
13265         * Makefile.am:
13266         * lyxserver.C:
13267         * os2_defines.h:
13268         * os2_errortable.h:
13269         * nt_defines.h: move .h into support/
13270
13271         * vms_defines.h: remove
13272
13273         * WorkArea.C: add space in debug output
13274
13275         * text2.C:
13276         * paragraph.C:
13277         * buffer.C: add WITH_WARNINGS
13278
13279         * vc-backend.h:
13280         * vc-backend.C:
13281         * bufferlist.C: s/retrive/retrieve/, add docs
13282
13283         * vspace.h:
13284         * vspace.C:
13285         * kbmap.h:
13286         * lyxlength.h:
13287         * lyxgluelength.h:
13288         * length_common.h:
13289         * chset.h:
13290         * chset.C: add docs
13291
13292         * lyxgui.C: add ID to X error handler
13293
13294         * lyxtestclass.c: fix typo
13295
13296 2002-02-26  Juergen Vigna  <jug@sad.it>
13297
13298         * tabular_funcs.C (write_attribute): changed so that some default
13299         attributes are not written at all.
13300         (getTokenValue): set default values before trying to read the
13301         value so we have the return value always set as default if we don't
13302         find the token we search for.
13303
13304         * tabular.C (Write): write bools as bools not as strings!
13305
13306 2002-02-22  Juergen Vigna  <jug@sad.it>
13307
13308         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13309         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13310
13311         * text.C (leftMargin): don't add an indent for paragraphs inside
13312         tabular cells (fix #208).
13313
13314 2002-02-21  José Matos  <jamatos@fep.up.pt>
13315
13316         * tabular.C (docBook): fixed support for long tables.
13317
13318 2002-02-20  Juergen Vigna  <jug@sad.it>
13319
13320         * text2.C (getFont): get the drawing font of the Inset if this
13321         paragraph is inside an inset (only important for InsetERT for now).
13322
13323         * buffer.C (insertErtContents): use new lanugage params in ERT
13324         constructor.
13325
13326         * CutAndPaste.C: commenting out seemingly uneeded code.
13327
13328 2002-02-19  Allan Rae  <rae@lyx.org>
13329
13330         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13331         Iterators might be simple to use but they also get invalidated.
13332         (removeAutoInsets): renamed saved cursor tracking variables and added
13333         some comments to clarify what everything does.
13334
13335 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13336
13337         * Chktex.C:
13338         * LaTeX.C:
13339         * LyXSendto.C:
13340         * converter.C:
13341         * lyx_cb.C:
13342         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13343         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13344
13345         * lyxfunc.C:
13346         * vc-backend.h: remove #include "support/syscall.h"
13347
13348         * LaTeX.C:
13349         * LyXSendto.C:
13350         * converter.C: rearrange #includes in Lars' approved fashion.
13351
13352         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13353         forward declare class Timeout in the header file.
13354
13355         * XFormsView.C: changes due to the above.
13356
13357         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13358         similar to LyXView.
13359
13360         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13361         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13362
13363 2002-02-18  José Matos  <jamatos@fep.up.pt>
13364
13365         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13366         insets contents.
13367
13368 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13369
13370         * a lot of small ws changes
13371         * add a lot of using std::XXX
13372         * use std construcs some places where approp.
13373         * use some exisint stuff from lyxfunctional where approp.
13374         * Make file changes to use partial linking (lets test this now...)
13375
13376 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13377
13378         * Chktex.C:
13379         * buffer.C:
13380         remove #include "support/syscontr.h" as it's redundant. Always has been.
13381
13382         * Chktex.C:
13383         * LaTeX.C:
13384         * LyXSendto.C:
13385         * converter.C:
13386         * lyx_cb.C:
13387         * vc-backend.C:
13388         change Systemcalls::System to Systemcalls::Wait and
13389         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13390         No change of functionality, just reflects the stripped down Systemcalls
13391         class.
13392
13393 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13394
13395         * debug.[Ch]: add a GRAPHICS type to the enum.
13396
13397 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13398
13399         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13400
13401         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13402         there is an inset.
13403
13404 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13405
13406         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13407         match the changes below.
13408
13409         * text2.C (toggleInset): if there is not editable inset at cursor
13410         position, try to see if cursor is _inside_ a collapsable inset
13411         and close it.
13412
13413 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13414
13415         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13416         document menu has a nice checkbox
13417
13418 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13419
13420         * lyxlength.C (asLatexString): change PW to output as percent of
13421         \textwidth.
13422
13423         * lengthcommon.C: change '%' to 't%'
13424
13425         * lyxfunc.C (dispatch): a few comments from Martin
13426
13427 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13428
13429         * WorkArea.h:
13430         * WorkArea.C:
13431         * BufferView_pimpl.h:
13432         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13433           the X selection.
13434
13435 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13436
13437         * vspace.C (inPixels): fix compiler warning
13438
13439 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13440
13441         * lyxfunc.C (getStatus): fix status message for disabled commands.
13442
13443 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13444
13445         * BufferView_pimpl.C: fix crash on close buffer
13446         during selection (#227)
13447
13448 2002-01-27  Herbert Voss  <voss@lyx.org>
13449
13450         * buffer.C: link old Figure to new graphic inset
13451
13452 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13453
13454         * FontLoader.C (getFontinfo): Change the latex font names in order
13455         to match the names of type1inst.
13456
13457 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13458
13459         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13460
13461         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13462         (extchanged): ditto
13463         (ext_exist): ditto
13464         (remove_files_with_extension): ditto
13465         (remove_file): ditto
13466         (write): ditto
13467
13468         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13469         document is smaller than the work area height. Do not initialize
13470         static variables to 0.
13471
13472 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13473
13474         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13475
13476         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13477         LFUN_LAYOUT_PARAGRAPHS.
13478
13479         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13480         tabular. It is possible to provide a possible cell, which will
13481         typically be the actcell from the corresponding insettabular
13482
13483         * lyxfunc.C (getStatus): small cleanup; disable
13484         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13485         true
13486
13487 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13488
13489         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13490
13491         * paragraph.C (startTeXParParams):
13492         (endTeXParParams): new methods. The LaTeX code to
13493         start/end paragraph formatting
13494         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13495         empty (fixes bug #200)
13496
13497         * vspace.C (inPixels): adapt to the change below
13498         (inPixels): [later] more cleanups (remove unused variables)
13499
13500         * lyxlength.C (inPixels): change to use a width and a height as
13501         parameter.
13502
13503 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13504
13505         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13506         Replaced with \paperwidth
13507
13508         * DepTable.C (insert): add std:: qualifier
13509
13510 2002-01-18  Allan Rae  <rae@lyx.org>
13511
13512         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13513         updated also?
13514
13515         * text.C (drawInset): Turned out I didn't know enough about how
13516         rebreaking worked.  This fixes most of the redraw problems.  I see
13517         an occasional cursor trail when a line is broken now and the cursor
13518         placement can seem out by a few pixels also after a rebreak.
13519
13520 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13521
13522         * buffer.C (parseSingleLyXformat2Token): update because minipage
13523         width is now a LyXLength
13524
13525         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13526
13527         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13528         math insets
13529
13530 2002-01-17  Juergen Vigna  <jug@sad.it>
13531
13532         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13533
13534         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13535         is set correctly and the inset is updated correctly.
13536
13537 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13538
13539         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13540         the beginning of the loop.
13541
13542 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13543
13544         * lyxrc.C: improve help for use_scalable_fonts
13545
13546 2002-01-17  Allan Rae  <rae@lyx.org>
13547
13548         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13549
13550 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13551
13552         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13553         make sure to set their inset_owner to the right value (bug #171)
13554
13555 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13556
13557         * DepTable.h
13558         * DepTable.C: Implement mtime checking to reduce time spent doing
13559         CRCs.
13560
13561 2002-01-16  Juergen Vigna  <jug@sad.it>
13562
13563         * tabular.C (GetAdditionalHeight): one of error fixed.
13564
13565         * lyxrc.C (output): small fix in writing use_pspell.
13566
13567 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13568
13569         * sp_base.h: #include LString.h
13570
13571 2002-01-16  Allan Rae  <rae@lyx.org>
13572
13573         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13574         Can someone check this please?
13575
13576         * text.C (drawInset): It was possible that p.row would be removed by
13577         breakAgainOneRow upsetting a few other settings.  There may be another
13578         small tweak possible by setting need_break_row = 0 when p.row has been
13579         removed but I don't know enough about the logic here.
13580
13581 2002-01-15  Allan Rae  <rae@lyx.org>
13582
13583         * text.C (insertChar): removed conditional truism.
13584
13585         * BufferView2.C (removeAutoInsets): More tweaks.
13586         cur_par_prev could be a stray pointer.  Check for trailing empty line
13587         in case last line was cur_par and only had an error inset on it.
13588
13589 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13590
13591         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13592         absolute
13593
13594         * vc-backend.C (most methods):
13595         * exporter.C (Export):
13596         * converter.C (convert):
13597         (runLaTeX):
13598         * LyXSendto.C (SendtoApplyCB):
13599         * lyxfunc.C (dispatch):
13600         (menuNew):
13601         (open):
13602         (doImport):
13603         * lyx_cb.C (AutoSave):
13604         (InsertAsciiFile):
13605         * BufferView_pimpl.C (MenuInsertLyXFile):
13606         * buffer.C (runChktex): use Buffer::filePath().
13607
13608         * buffer.h: rename filename to filename_; rename filepath to
13609         filepath_ and make it private
13610         (filePath): new method
13611
13612         * buffer.C (writeFile): use fileName()
13613         (getLatexName):
13614
13615         * lyx_main.C (init): fix starting  of LyX when the binary is a
13616         link from so,ewhere else.
13617
13618         * minibuffer.C: include <cctype> for isprint
13619
13620 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13621
13622         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13623         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13624         name clash with InsetCollapsable's width function.
13625
13626 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13627
13628         * lastfiles.C: include <iterator>
13629
13630 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13631
13632         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13633         std::count.
13634
13635         * buffer.C (makeLaTeXFile): ditto.
13636         Also make loop operation more transparent.
13637
13638 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13639
13640         * ToolbarDefaults.C: remove trailing comma closing namespace.
13641
13642         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13643
13644         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13645         as in WorkArea.
13646
13647         * trans.C (Load): comment out unused variable, allowed.
13648
13649 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13650
13651         * minibuffer.[Ch] (append_char): new method to recieve input from the
13652         drop-down completion browser. If a key was pressed, then recieve this
13653         char and append it to the existing string.
13654         (peek_event): modify the positioning data passed to the completion
13655         browser so that it can be placed above the minibuffer rather than below.
13656 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13657
13658         * LyXAction.C (init): alloe error-next for readonly documents.
13659
13660         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13661         count.
13662
13663 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13664
13665         * bufferlist.C (readFile): create the buffer _after_ checking that
13666         the file exists.
13667
13668         * lyxfunc.C (verboseDispatch): fix handling of arguments
13669
13670         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13671
13672         * lyxrc.C: use string::erase() instead of initializing to "".
13673
13674
13675 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13676
13677         * BufferView_pimpl.h:
13678         * BufferView_pimpl.C:
13679         * WorkArea.h:
13680         * WorkArea.C:
13681         * text2.C: tell X when we have made a selection for copying
13682
13683 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13684
13685         * BufferView_pimpl.C (MenuInsertLyXFile):
13686         * lyxfunc.C (menuNew):
13687         (open):
13688         (doImport): add shortcuts to directory buttons
13689
13690         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13691         open a float)
13692
13693         * lyxfunc.C (setStatusMessage):
13694         (getStatusMessage): new methods
13695         (getStatus):use setStatusMessage instead of setErrorMessage
13696         (dispatch): when function is disabled, set error message here
13697         [instead of in getStatus previously]
13698
13699         * BufferView_pimpl.C (workAreaButtonRelease): update
13700         toolbar/menubar here too.
13701
13702 2002-01-13  Allan Rae  <rae@lyx.org>
13703
13704         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13705         Now seems indestructible.  Remaining task is to audit all other
13706         code affected by deleteEmptyParagraphMechanism.  One small quirk
13707         left is that an empty document with an error in the preamble can
13708         be made to report an error but no error box appears.  I don't know
13709         where it goes.
13710         (removeAutoInsets): Improved comments.
13711
13712 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13713
13714         * Thesaurus.h:
13715         * Thesaurus.C: update for Aiksaurus 0.14
13716
13717 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13718
13719         * text2.C (firstParagraph): removed member function, all uses
13720         replaces with ownerParagraph
13721         (redoParagraphs): here
13722         (updateInset): here
13723         (toggleAppendix): here
13724         * BufferView2.C (insertErrors): here
13725         (setCursorFromRow): here
13726
13727 2002-01-13  Allan Rae  <rae@lyx.org>
13728
13729         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13730         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13731         There is still a way to segfault this although you may have to do this
13732         multiple times: Have an InsetERT with an unknown command in it.
13733         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13734         <down-arrow>, <Enter> again, View->DVI, BANG!
13735
13736         * text2.C (setCursor):
13737         (deleteEmptyParagraphMechanism):
13738         * lyxtext.h (setCursor):
13739         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13740         Making use of the return value may help fix other bugs.
13741
13742 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13743
13744         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13745
13746         * LyXView.C (updateMenubar): call MenuBar::update here
13747         (updateToolbar): but not here
13748         (showState): do not update toolbar/menubar
13749
13750         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13751         should need to care about that.
13752
13753         * lyxfunc.C (verboseDispatch): simplify a bit
13754         (getStatus): have a version which takes a pseudoaction, and
13755         another which requires a (kb_action,string).
13756
13757         * LyXAction.C (retrieveActionArg): make it work also when action
13758         is not a pseudo-action.
13759         (getActionName): simplify a bit
13760         (helpText):
13761
13762 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13763
13764         * lyxfunc.C (verboseDispatch): new families of methods with
13765         several ways to specify a command and a bool to indicate whether
13766         the command name and shortcut should be displayed in minibuffer
13767         (eventually, we could extend that to a finer bitmask like
13768         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13769         (dispatch): the pristine dispatch command which just, well,
13770         dispatchs! Note it still sets its result to minibuffer; I'm not
13771         sure we want that.
13772
13773         * lyxfunc.h: remove setHintMessage
13774
13775         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13776
13777 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13778
13779         * BufferView_pimpl.C (specialChar): delete new inset if we have
13780         not been able to insert it.
13781
13782         * kbmap.C: revert to using int instead of kb_action, since all we
13783         are dealing with is pseudo-actions.
13784
13785         * LyXAction.C (searchActionArg): change to return int instead of
13786         kb_action, since the result is a pseudoaction.
13787
13788 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13789
13790         * buffer.C (insertErtContents): Fix (partially) the font bug.
13791
13792 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13793
13794         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13795         as the other one is broken on my machine!
13796
13797 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13798
13799         * commandtags.h:
13800         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13801
13802 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13803
13804         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13805         reflect their actual use. Provide compatibility code for older lyxrc
13806         files.
13807
13808         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13809         FL_NORMAL_STYLE.
13810         change names of popup font variables in line with the changes to lyxrc.C
13811
13812 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13813
13814         * buffer.C (asciiParagraph): avoid outputing a word twice after
13815         an inset.
13816
13817         * lyxrc.C (getDescription): document that document_path and
13818         template_path can be empty.
13819
13820 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13821
13822         * LaTeXFeatures.C (getMacros):
13823         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13824
13825         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13826
13827         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13828         getPackages.
13829         (getPackages): rename feature "floats" to "float". Use an array to
13830         iterate over 'simple' features (i.e. just a \usepackage). Add
13831         handling of "amsmath" (renamed from "amsstyle").
13832
13833 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13834
13835         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13836         features list.
13837
13838 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13839
13840         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13841         FuncStaus::FuncStatus & FuncStaus::some_method().
13842
13843 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13844
13845         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13846         of the func_satus stuff. Edited and massaged in various ways by
13847         JMarc.
13848
13849         * lyxfunc.C (getStatus): use FuncStatus
13850
13851 2002-01-08  Juergen Vigna  <jug@sad.it>
13852
13853         * text.C (nextBreakPoint): use function Inset::isChar().
13854
13855         * paragraph.C (TeXOnePar): use function
13856         Inset::forceDefaultParagraphs.
13857
13858         * buffer.C (latexParagraphs): use function
13859         Inset::forceDefaultParagraphs.
13860
13861 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13862
13863         * lyx_gui.C (init): set the style of the menu popups to
13864         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13865
13866 2002-01-07  Juergen Vigna  <jug@sad.it>
13867
13868         * text.C (setHeightOfRow): small fix
13869         (prepareToPrint): don't look at alignment if we don't have the place
13870         for doing it.
13871
13872 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13873
13874         * box.C: New file. Move the Box methods and functions out of box.h,
13875         following Lars' suggestion.
13876
13877 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13878
13879         * box.h: #include "support/LOstream.h", needed for inlined function.
13880
13881         * lyxtextclass.C:
13882         * lyxtextclasslist.C: added some using std declarations.
13883
13884 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13885
13886         * box.h: make signed dimensions to allow insets wider than
13887           the screen (bug #162)
13888
13889         * BufferView_pimpl.C: add some insetHit debug
13890
13891 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13892
13893         * vc-backend.C: add FIXME
13894
13895 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13896
13897         * lyxfunc.C (getStatus): enable code for showing math font status
13898         in toolbar/menu.
13899
13900 2002-01-07  Juergen Vigna  <jug@sad.it>
13901
13902         * text.C (nextBreakPoint): removed debug output not needed anymore.
13903
13904 2002-01-06  Juergen Vigna  <jug@sad.it>
13905
13906         * text.C (nextBreakPoint): fixed up this function we had this bug
13907         since ever but now hopefully we break row better.
13908         (insertChar): we have to check if an inset is the next char as it
13909         could now happen that a large inset is causing a break.
13910
13911 2002-01-05  Juergen Vigna  <jug@sad.it>
13912
13913         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13914         if it doesn't like to be drawed.
13915
13916 2002-01-04  Juergen Vigna  <jug@sad.it>
13917
13918         * BufferView2.C (lockInset): forgot to set a cursor.
13919
13920         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13921
13922 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13923
13924         * FormMathsPanel.C:
13925         * FormMathsPanel.h
13926         * MathsSymbols.C:
13927         * form_maths_panel.C:
13928         * form_maths_panel.h:
13929         * form_maths_panel.fd: implemented sub- and super- buttons in math
13930         panel.
13931
13932         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13933         (or ^ space) to be used as in TeX (req'd by André).
13934
13935         * lyxfunc.C: Allow ^ and _ again to be used both as
13936         super/subscript (mathed) and as themselves (in text).
13937
13938 2002-01-03  Allan Rae  <rae@lyx.org>
13939
13940         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13941         "LyX" or the filename of the current buffer if it has one.  This is a
13942         modified form of John Levon's patch.
13943
13944         * XFormsView.C (setWindowTitle): also set icon title.
13945
13946         * LyXView.h (setWindowTitle): signature changed.
13947         * XFormsView.h (setWindowTitle): ditto.
13948
13949 2002-01-02  Juergen Vigna  <jug@sad.it>
13950
13951         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13952
13953 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13954
13955         * screen.C (topCursorVisible): introduce a temp var for
13956         text->cursor.row(), handle the case where this row is null. (kindo
13957         hachish)
13958
13959         * text2.C (setCursor): add a couple of asserts.
13960
13961         * paragraph.h (inset_iterator): add -> operator
13962
13963         * paragraph.[Ch] (autoDeleteInsets): remove member function
13964
13965         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13966         cursor pos correctly and handle inset deletion by itself.
13967         (insertErrors): move iterator declaration out of for expression
13968
13969         * lyxtextclass.C: add <algorithm>
13970
13971         * Makefile.am: added the new files to sources, removed layout.C
13972
13973         * layout.C: removed file
13974
13975         * layout.h: remove LYX_DUMMY_LAYOUT
13976
13977         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13978         layout.
13979
13980         * lyxlayout.[Ch]:
13981         * lyxtextclass.[Ch]:
13982         * lyxtextclasslist.[Ch]: new files
13983
13984         * include order changes to a lot of files, also changes because of
13985         the six new files.
13986
13987 2001-12-27  Juergen Vigna  <jug@sad.it>
13988
13989         * buffer.C (asciiParagraph): more fixes.
13990
13991         * tabular.C (ascii): make ascii export support export of only the
13992         data separated by a column-delimiter.
13993         (ascii): better support for ascii export.
13994
13995         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13996
13997 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13998
13999         * tabular_funcs.C: use a "using std::getline" instead of the
14000         previous fix from Angus (necessary for cxx + lyxstring)
14001
14002 2001-12-24  Juergen Vigna  <jug@sad.it>
14003
14004         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14005
14006         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14007         problems. First check a minipage also if we have some ert-contents
14008         (not only on par->size(), second set the right depth of the paragraph
14009         on the relink to the root-paragraph-list!
14010
14011         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14012         which then did not anymore update the main paragraphs on undo/redo!
14013
14014 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14015
14016         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14017         code. Support all font-changing funcs (even those which are not in
14018         menu currently). Support for reporting font settings in
14019         mathed (disabled until Andre provides a function on mathed's side).
14020
14021         * func_status.h (toggle): small helper function to set toggle
14022         state on a flag.
14023
14024 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14025
14026         * tabular_funcs.C: getline -> std::getline
14027
14028 2001-12-21  Juergen Vigna  <jug@sad.it>
14029
14030         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14031         accessed and could be 0 (I couldn't generate this but it seems
14032         Michael could!).
14033
14034 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14035
14036         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14037         * tabular_funcs.h: here and include iosfwd
14038
14039 2001-12-20  Juergen Vigna  <jug@sad.it>
14040
14041         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14042         inside inset but undo_par was.
14043
14044 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14045
14046         * Thesaurus.C: always include <config.h> in sources.
14047
14048         * Painter.h:
14049         * lyxlookup.h:
14050         * box.h: do not include <config.h> in header files
14051
14052         * text.C (paintLastRow): remove unused variable
14053
14054         * text.C (transformChar):
14055         (insertChar):
14056         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14057
14058         * Painter.C (text):
14059         * font.C (width): rewrite to use uppercase() instead of
14060         islower/toupper.
14061
14062         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14063
14064 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14065
14066         * lyxfind.C: clean up of find failure position change
14067
14068 2001-12-20  Juergen Vigna  <jug@sad.it>
14069
14070         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14071
14072         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14073         (TeXRow): added to LaTeX a single tabular row.
14074         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14075         (Latex): simplified and finally good LT-h/f support.
14076         (various_functions): just small adaptions for LT-h/f support.
14077
14078         * tabular_funcs.[hC]: added and moved here all not classfunctions
14079         of LyXTabular.
14080
14081 2001-12-19  Juergen Vigna  <jug@sad.it>
14082
14083         * tabular.[Ch]: better support for longtabular options (not finished
14084         yet!)
14085
14086 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14087
14088         * text.C (paintLastRow): use the label font instead of the font of
14089         the last character to compute the size of *_BOX. This makes more
14090         sense and avoids a crash with empty paragraphs.
14091         Use Painter::rectangle to draw EMPTY_BOX.
14092
14093 2001-12-19  Juergen Vigna  <jug@sad.it>
14094
14095         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14096         the paragraphs if the replaced paragraph is not the first one!
14097         Tried to delete not used paragraphs but does not work yet so for
14098         now it's inside #ifdef's and by default off!
14099
14100 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14101
14102         * MenuBackend.C: include "lyx_main.h" instead of declaring
14103         lastfiles (actually was declared as LastFiles* instead of a
14104         scoped_ptr).
14105
14106 2001-12-17  Juergen Vigna  <jug@sad.it>
14107
14108         * tabular.C (AppendColumn): applied John's fix
14109
14110 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14111
14112         * BufferView.h:
14113         * BufferView.C:
14114         * BufferView_pimpl.h:
14115         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14116
14117         * Makefile.am:
14118         * box.h: new start of class for above
14119
14120         * lyxfunc.C: ignore space-only minibuffer dispatches.
14121           Show the command name when it doesn't exist
14122
14123         * minibuffer.C: don't add empty lines to the history
14124
14125         * minibuffer.C: add a space on dropdown completion
14126
14127 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14128
14129         * text.C: fix line above/below drawing in insets
14130
14131 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14132
14133         * lyxlength.C (LyXLength): Initialize private variables.
14134
14135 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14136
14137         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14138         when inserting error insets.
14139
14140 2001-12-13  Juergen Vigna  <jug@sad.it>
14141
14142         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14143         actually sometimes the before-paragraph.
14144         (setUndo): don't clear the redostack if we're not actually undoing!
14145
14146 2001-12-06  Juergen Vigna  <jug@sad.it>
14147
14148         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14149         and fixed redoing of main paragraph, so we can use it now ;)
14150
14151         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14152
14153 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14154
14155         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14156         Juergen's request
14157
14158 2001-12-13  André Pönitz <poenitz@gmx.net>
14159
14160         * undostack.[Ch]:
14161         * undo_func.C: minor cleanup
14162
14163 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14164
14165         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14166         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14167         font in urw-fonts package which is marked as -urw-fontspecific and
14168         does not work (incidentally, changing the encoding in the
14169         fonts.dir of this package to -adobe-fontspecific fixes the
14170         problem).
14171
14172         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14173         is a crash when undoing first paragraph (Juergen, please take a
14174         look). THis does not mean the undo fix is wrong, just that it
14175         uncovers problems.
14176
14177         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14178         the (Paragraph*) version when needed instead of duplicating the
14179         code.
14180
14181         * text.C (workWidth): use Inset::parOwner to find out where the
14182         inset has been inserted. This is a huge performance gain for large
14183         documents with lots of insets. If Inset::parOwner is not set, fall
14184         back on the brute force method
14185
14186         * paragraph_pimpl.C (insertInset):
14187         * paragraph.C (Paragraph):
14188         (cutIntoMinibuffer): set parOwner of insets when
14189         inserting/removing them
14190
14191         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14192
14193 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14194
14195         * commandtags.h:
14196         * LyXAction.C:
14197         * lyx_main.C:
14198         * lyxfunc.C:
14199         * mathed/formulabase.C:
14200         * mathed/math_cursor.[Ch]:
14201         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14202
14203
14204 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14205
14206         * lyxlength.[Ch] (operator!=): new function
14207
14208 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14209
14210         * text.C (workWidth): use Inset::parOwner to find out where the
14211         inset has been inserted. This is a huge performance gain for large
14212         documents with lots of insets. If Inset::parOwner is not set, fall
14213         back on the brute force method
14214
14215         * paragraph_pimpl.C (insertInset):
14216         * paragraph.C (Paragraph):
14217         (cutIntoMinibuffer): set parOwner of insets when
14218         inserting/removing them
14219
14220         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14221
14222 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14223
14224         * tabular-old.C (getTokenValue):
14225         * tabular.C (getTokenValue):
14226         (write_attribute): new versions for LyXLength
14227         (everywhere): adjust the use of widths
14228
14229         * tabular.h: change the type of widths from string to LyXLength
14230
14231 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14232
14233         * paragraph.C: fixed missing line number count when exporting
14234         Environments to LaTeX file
14235
14236         * buffer.C: added informational message for checking line numbers.
14237
14238 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14239
14240         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14241         paragraph, do the 'double space' part, but not the 'empty
14242         paragraph' one.
14243
14244         * text.C (workWidth): small optimization
14245         (getLengthMarkerHeight): use minimal size for negative lengths.
14246
14247 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14248
14249         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14250
14251         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14252
14253 2001-12-11  André Pönitz <poenitz@gmx.net>
14254
14255         * FontLoader.C:
14256         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14257
14258 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14259
14260         * text2.C: keep selection on a setFont()
14261
14262 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14263
14264         * lyx_cb.C: another bv->text misuse, from insert label
14265
14266 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14267
14268         * kbsequence.h:
14269         * kbsequence.C: re-instate nmodifier mask
14270
14271 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14272
14273         * lyx_main.h: make lyxGUI private.
14274
14275 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14276
14277         * lyxfind.C: place the cursor correctly on failed search
14278
14279 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14280
14281         * text.C (getLengthMarkerHeight): for small heights, the arrows
14282         are not always on top/bottom of the text
14283         (drawLengthMarker): smaller arrows; take the left margin in
14284         account; draw also vfills.
14285         (paintFirstRow):
14286         (paintLastRow): remove special code for vfill and standard spaces,
14287         since everything is handled in drawLengthMarker now.
14288
14289 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14290
14291         * buffer.C (insertErtContents): try to handle font and language
14292         interaction a bit better.g
14293
14294         * ColorHandler.C (updateColor): change the hash to cover the whole
14295         LColor enum, ws cleanup
14296         (getGCLinepars): ditto
14297         (getGCLinepars): only lookup in the linecache once.
14298
14299 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14300
14301         * iterators.C (operator++): Make the iterator more robust
14302
14303         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14304         (John's patch)
14305         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14306
14307 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14308
14309         * lyxtext.h:
14310         * text.C: better added space drawing
14311
14312 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14313
14314         * LyXView.C:
14315         * BufferView2.C: fix layout combo update on inset unlock
14316
14317 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14318
14319         * Makefile.am: don't compile unused files
14320
14321 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14322
14323         * lyxfunc.C:
14324         * commandtags.h:
14325         * LyXAction.C: remove old LFUN_LAYOUTNO
14326
14327 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14328
14329         * paragraph_pimpl.h:
14330         * paragraph_pimpl.C: isTextAt() doesn't need font param
14331
14332 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14333
14334         * lyxlex.h:
14335         * lyxlex.C: little cleanup
14336
14337 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14338
14339         * BufferView_pimpl.C: fix insertAscii for insets
14340
14341 2001-12-05  Juergen Vigna  <jug@sad.it>
14342
14343         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14344         set the right font on the "multi" paragraph paste!
14345
14346 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14347
14348         * trans_decl.h:
14349         * trans_mgr.[Ch]:
14350         * trans.[Ch]:
14351         * lyxgluelength.C:
14352         * lyxlength.C: remove out-commented code.
14353
14354         * BufferView_pimpl:
14355         * CutAndPaste.C:
14356         * DepTable.C:
14357         * buffer.C:
14358         * chset.C:
14359         * lastfiles.C:
14360         * lyxlex.C:
14361         * lyxlex_pimpl.C:
14362         * lyxserver.C:
14363         * screen.C:
14364         * tabular-old.C:
14365         * tabular.C:
14366         * text.C:
14367         * trans_mgr.C:
14368         * vc-backend.C: change "while(" to "while ("
14369
14370         * lyxlength.[Ch]: add zero function to check if length is zero or
14371         not
14372         * lyxgluelength.C: use it
14373
14374 2001-12-05  Allan Rae  <rae@lyx.org>
14375
14376         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14377         Works for 2.95.3, from what I understand of Garst's reports this should
14378         work for other g++ versions.  We're screwed if the abs(int) definition
14379         changed between bugfix releases of gcc.
14380
14381 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14382
14383         * text.C: fix chapter label offset !
14384
14385 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14386
14387         * lyxtext.h:
14388         * text.C: fix hfill at end of line, clean up
14389
14390 2001-12-04  Juergen Vigna  <jug@sad.it>
14391
14392         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14393         that we force an update of the inset and it's owners if neccessary.
14394
14395 2001-12-03  Juergen Vigna  <jug@sad.it>
14396
14397         * text.C (rowLast): simplified code
14398
14399 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14400
14401         * lyxfunc.C: fix show options on timeout
14402
14403 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14404
14405         * screen.C (topCursorVisible): scroll half a page when the cursor
14406         reached top of bottom of screen
14407
14408 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14409
14410         * minibuffer.C: deactivate on loss of focus
14411
14412 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14413
14414         * vspace.[Ch] (operator!=): add operator.
14415
14416 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14417
14418         * BufferView_pimpl.C: refuse to open an inset when
14419         there's a selection.
14420
14421 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14422
14423         * BufferView_pimpl.C: allow to click on RHS of full row insets
14424
14425 2001-11-30  Juergen Vigna  <jug@sad.it>
14426
14427         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14428         insets for undo reasons.
14429
14430 2001-11-28  André Pönitz <poenitz@gmx.net>
14431
14432         * vspace.[Ch]: cosmetical changes
14433
14434 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14435
14436         * LyXAction.h:
14437         * LyXAction.C:
14438         * lyxfunc.h:
14439         * lyxfunc.C:
14440         * kbmap.h:
14441         * kbmap.C:
14442         * lyxrc.C:
14443         * kbsequence.h:
14444         * kbsequence.C: part re-write of old kb code
14445
14446         * Painter.C:
14447         * WorkArea.C: remove Lgb_bug_find_hack
14448
14449 2001-11-30  José Matos <jamatos@fep.up.pt>
14450
14451         * buffer.C (makeDocBookFile): add a comment to point a hack.
14452         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14453         Fixed a double write of labels.
14454
14455 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14456
14457         * LaTeX.C:
14458         * LaTeX.h Fixed bug in LaTeX class where it would not
14459         re-run latex if no depfiles were changed, but the .dvi was removed.
14460
14461 2001-11-28  André Pönitz <poenitz@gmx.net>
14462
14463         * all the files from the change on 2001/11/26:
14464         use lyx::layout_type instead of LyXTextClass::size_type
14465         use lyx::textclass_type instead of LyXTextClassList::size_type
14466
14467 2001-11-29  Juergen Vigna  <jug@sad.it>
14468
14469         * text.C: added support for paragraph::isFreeSpacing()
14470
14471         * buffer.C: same as above
14472
14473         * paragraph.h: inserted isFreeSpacing() function to enable
14474         FreeSpacing inside InsetERT.
14475
14476         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14477         of the paragraph's in the cut/copy buffer to 0!
14478
14479         * text2.C (removeRow): remove the assert as it can!
14480
14481         * lyxtext.h: added helper function firstRow returning firstrow and
14482         made firstrow private again.
14483
14484         * BufferView2.C (lockInset): don't relock if we're already locked!
14485
14486         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14487         the only paragraph.
14488         (removeRow): added Assert::(firstrow)
14489
14490         * debug.C: forgot to add INSETTEXT here.
14491
14492 2001-11-28  Juergen Vigna  <jug@sad.it>
14493
14494         * sp_spell.C (initialize): changed error text to more general
14495         spellchecker command use (not only ispell!)
14496
14497         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14498
14499         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14500
14501 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14502
14503         * vspace.C: initialise lyxgluelength on failure
14504
14505 2001-11-28  Allan Rae  <rae@lyx.org>
14506
14507         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14508         declaration & definition that looks like a function declaration.
14509
14510 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14511
14512         * BufferView2.C (copy):
14513         (copyEnvironment): do not clear the selection when doing a copy.
14514
14515         * text.C (paintFirstRow): compilation fix
14516
14517 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14518
14519         * tabular.C (Latex): correct line count when writing latex.
14520
14521 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14522
14523         * paragraph_pimpl.h:
14524         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14525           bug a bit
14526
14527 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14528
14529         * text.C:
14530         * LColor.h:
14531         * LColor.C: change vfillline->added_space
14532
14533         * text.C: add markers and text for added space
14534
14535         * vspace.C: fix comment
14536
14537 2001-11-28  André Pönitz <poenitz@gmx.net>
14538
14539         * paragraph.C: whitespace changes
14540         * all the other files from the change on 2001/11/26:
14541         change *::pos_type into lyx::pos_type
14542
14543 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14544
14545         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14546         language of the document when inserting error insets.
14547
14548 2001-11-26  André Pönitz <poenitz@gmx.net>
14549
14550         * BufferView_pimpl.[Ch]:
14551         *       CutAndPaste.C:
14552         * buffer.[Ch]:
14553         * lyxcursor.[Ch]:
14554         * lyxfind.C:
14555         * lyxfunc.C:
14556         * lyxrow.[Ch]:
14557         * paragraph.[Ch]:
14558         * paragraph_pimpl.[Ch]:
14559         * sp_spell.C:
14560         * text.C:
14561         * text2.C: reduce header dependencies, introduce type for positions
14562
14563 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14564
14565         * <various>: change to use Alert.h
14566
14567 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14568
14569         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14570         when encountering an unknown token.
14571         (readLyXformat2): Show an error message if there were unknown tokens.
14572
14573 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14574
14575         * BufferView2.C:
14576         * BufferView_pimpl.C:
14577         * buffer.C:
14578         * paragraph.h:
14579         * text.C:
14580         * text2.C: use par->isInset()
14581
14582 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14583
14584         * paragraph_pimpl.h:
14585         * paragraph_pimpl.C: cleanup
14586
14587 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14588
14589         * text2.C (removeRow):
14590         * text.C (setHeightOfRow): remove useless (and costly) call to
14591         getRow.
14592
14593 2001-11-20  Allan Rae  <rae@lyx.org>
14594
14595         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14596         Now need Inset*::checkInsertChar() to return true for appropriate
14597         cases so that the characters in the minibuffer will actually be
14598         inserted.
14599
14600 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14601
14602         * text.C: change the order of the includes.
14603         (workWidth): initialize it at once.
14604         (workWidth): make maxw unsigned
14605         (setHeightOfRow): remove unused variable (inset)
14606         (selectSelectedWord): remove unused variable (inset)
14607         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14608
14609 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14610
14611         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14612         server is not running.
14613         (openConnection):
14614         (closeConnection): add debug info when server is disabled.
14615
14616         * ColorHandler.C (getGCForeground): send debug message to GUI
14617         channel.
14618
14619         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14620
14621         * kbmap.C (bind): modify because return conventions of
14622         kb_sequence::parse have changed.
14623
14624         * kbsequence.C (parse): only ignore spaces and not any stupid
14625         control character. This avoids tests like s[i] <= ' ', which are
14626         guaranteed to fail with 8bit characters and signed chars.
14627         Change return code to string::npos when there have been no error
14628         (0 was a bad idea when error is at first character)
14629
14630 2001-11-14  José Matos  <jamatos@fep.up.pt>
14631
14632         * buffer.h:
14633         * buffer.C (simpleDocBookOnePar): removed unused argument.
14634
14635 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14636
14637         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14638         insets which are part of a word. Paragraph::isLetter takes care of
14639         that now. Use Paragraph::isInset to identify insets.
14640         (selectSelectedWord): do not test for hyphenation break.
14641
14642         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14643         that protected spaces are considered as spaces.
14644
14645         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14646         Inset::isLetter.
14647
14648 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14649
14650         * lyxserver.h:
14651         * lyxserver.C: fix it. and small cleanup.
14652
14653 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14654
14655         * BufferView_pimpl.C: use inline helpers
14656
14657         * LaTeXFeatures.h:
14658         * LaTeXFeatures.C: fix typos
14659
14660         * Spacing.h:
14661         * Spacing.C: move spacing_string into class
14662
14663         * ToolbarDefaults.C: move stuff into namespace anon
14664
14665         * layout.h: update enum
14666
14667         * lyxfunc.C: use better debug
14668
14669         * minibuffer.h: fix typo
14670
14671         * debug.h:
14672         * debug.C:
14673         * WorkArea.C: add and use Debug::WORKAREA
14674
14675         * lyxtext.h:
14676         * text.C:
14677         * text2.C: code re-organisation, inline helpers
14678
14679 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14680
14681         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14682         std::vector.empty().
14683
14684 2001-11-09  Allan Rae  <rae@lyx.org>
14685
14686         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14687         '\n's after tables.  Tabular and ERT inset work now makes this no
14688         longer necessary.
14689
14690 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14691
14692         * minibuffer.h:
14693         * minibuffer.C: fix crash, improve drop-down completion
14694
14695 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14696
14697         * lyxserver.h:
14698         * lyxserver.C: invalidate fd's when doing endPipe()
14699
14700 2001-11-08  José Matos  <jamatos@fep.up.pt>
14701
14702         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14703         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14704
14705         * paragraph.h:
14706         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14707
14708 2001-11-07  José Matos  <jamatos@fep.up.pt>
14709
14710         * buffer.h:
14711         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14712         const qualifier.
14713
14714         * buffer.C (sgmlOpenTag):
14715         * buffer.C (sgmlCloseTag): removed debug info.
14716
14717         * buffer.h (sgmlOpenTag):
14718         * buffer.h (sgmlCloseTag): made public.
14719
14720 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14721
14722         * buffer.C (saveParamsAsDefaults):
14723         * lyx_cb.C (MenuLayoutSave): remove
14724
14725         * LyXAction.C (init):
14726         * commandtags.h:
14727         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14728
14729 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14730
14731         * buffer.C (setPaperStuff): removed from here...
14732
14733         * bufferparams.C (setPaperStuff): ... and moved there.
14734
14735 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14736
14737         * minibuffer.h:
14738         * minibuffer.C:
14739         * XFormsView.C: add support for drop-down completion
14740
14741 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14742
14743         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14744         commands.
14745
14746 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14747
14748         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14749         disabled.
14750
14751 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14752
14753         * lyx_main.C: change ref to known bugs
14754
14755 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14756
14757         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14758         to work around older babel problems.
14759
14760 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14761
14762         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14763
14764 2001-10-24  Juergen Vigna  <jug@sad.it>
14765
14766         * tabular-old.C (ReadOld): below variable changes reflected.
14767
14768         * tabular.[Ch]: added ltType struct for longtable header/footer
14769         defines and changed all instances where they are used. Added
14770         future support for double top/bottom rows.
14771
14772 2001-10-24  José Matos  <jamatos@fep.up.pt>
14773
14774         * buffer.h (docbookHandleCaption):
14775         * buffer.C (docbookHandleCaption): removed unused function.
14776         (makeDocBookFile): moved docbook supported version to v4.1.
14777
14778 2001-10-24  José Matos  <jamatos@fep.up.pt>
14779
14780         * tabular.h:
14781         * tabular.C (docbookRow): new function to export docbook code of a row.
14782         (DocBook): now honors the longtable flags.
14783
14784 2001-10-23  José Matos  <jamatos@fep.up.pt>
14785
14786         * LaTeXFeatures.h:
14787         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14788         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14789
14790         * buffer.C (makeLinuxDocFile):
14791         (makeDocBookFile): reworked the preamble, more clean, and with
14792         support for lyx defined entities. Changed the document declaration
14793         to be more XML friendly.
14794
14795         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14796         if we need to output XML that should be done with a filter.
14797
14798 2001-10-22  Juergen Vigna  <jug@sad.it>
14799
14800         * sp_pspell.h (class PSpell): add alive function needed in the
14801         controller to see if the spellchecker could be started.
14802
14803 2001-10-22  Juergen Vigna  <jug@sad.it>
14804
14805         * buffer.C (insertStringAsLines): modify the font for inserting
14806         chars in certain conditions by calling checkInsertChar(font).
14807
14808 2001-10-19  Juergen Vigna  <jug@sad.it>
14809
14810         * text.C (workWidth): use getRow instead of wrong algorithm.
14811         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14812
14813 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14814
14815         * lyxserver.h:
14816         * lyxserver.C:
14817         * lyx_main.h:
14818         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14819
14820 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14821
14822         * text.C (workWidth): do not search for the exact row when
14823         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14824         optimization for big documents.
14825
14826 2001-10-18  Juergen Vigna  <jug@sad.it>
14827
14828         * text.C (workWidth): new function with added Inset * parameter.
14829
14830 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14831
14832         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14833
14834         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14835         change return type of getColumnNearX.
14836
14837
14838         * text.C (changeRegionCase): use uppercase/lowercase instead of
14839         toupper/tolower.
14840         (leftMargin):
14841         (rightMargin): simplify code by factoring out the uses of
14842         textclasslist.
14843         (labelFill):
14844         (numberOfHfills):
14845         (setHeightOfRow):
14846         (appendParagraph): use Paragraph::size_type
14847
14848 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14849
14850         * vspace.C (asLatexString): add a missing break
14851
14852 2001-10-15  Herbert Voss  <voss@perce.de>
14853
14854         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14855
14856 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14857
14858         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14859         is not available.
14860
14861 2001-10-10  André Pönitz <poenitz@gmx.net>
14862
14863         * lyxfunc.C: removed greek_kb_flag.
14864
14865 2001-10-10  Herbert Voss  <voss@perce.de>
14866
14867         * lyx_main.C: delete global string help_lyxdir.
14868
14869 2001-10-09  Herbert Voss  <voss@perce.de>
14870
14871         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14872
14873         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14874
14875         * lyx_main.C: added global string help_lyxdir.
14876
14877         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14878
14879 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14880
14881         * lyxrc.C (set_font_norm_type): support iso8859-4
14882
14883 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14884
14885         * LaTeX.C (deplog): add another regex for MikTeX
14886
14887 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14888
14889         * lyxrc.C (set_font_norm_type): support iso8859-3
14890
14891 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14892
14893         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14894
14895         * LaTeXFeatures.C: remove special case of french and index
14896
14897         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14898         before \begin{document}). This solves several incompatibilities.
14899
14900 2001-10-03  Garst Reese  <reese@isn.net>
14901
14902         * lyx_cb.C: change CheckTex error msg.
14903
14904 2001-10-03  José Matos  <jamatos@fep.up.pt>
14905
14906         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14907
14908 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14909
14910         * .cvsignore: update
14911
14912         * lyx_main.C (commandLineVersionInfo): use new style version info.
14913
14914         * buffer.C (writeFile):
14915         (makeLaTeXFile):
14916         (makeLinuxDocFile):
14917         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14918
14919         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14920
14921         * version.h: update to use stuff in version.C
14922
14923         * version.C.in: new file. Contains version information determined
14924         at compile time. This is a merging of version.h and
14925         version_info.h.in.
14926
14927 2001-10-03  Juergen Vigna  <jug@sad.it>
14928
14929         * BufferView_pimpl.C (update): don't change "dirty" status in
14930         updateInset call.
14931
14932 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14933
14934         * WorkArea.C (c-tor): re-position version string slightly.
14935
14936 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14937
14938         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14939         revert to previous code.
14940
14941         WorkArea.[Ch]: (show, destroySplash): methods removed.
14942
14943         WorkArea.C: rework code so that it's an amalgam of the codes before and
14944         after the splash screen was moved to WorkArea.
14945
14946 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14947
14948         * lyxrc.C (read):
14949         * vspace.C (inPixels):
14950         (lyx_advance):
14951         * kbmap.C (bind):
14952         * buffer.C (insertStringAsLines):
14953         (asciiParagraph): fix types to be large enough
14954
14955         * lyxlex_pimpl.h: change member status from short to int
14956
14957         * layout.h: fix type of endlabeltype
14958
14959         * kbmap.C (bind):
14960         * kbsequence.C (parse): change return type to string::size_type
14961
14962         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14963         variable
14964
14965         * Bullet.C (bulletSize):
14966         (bulletEntry): do not use short ints as parameters
14967
14968         * BufferView2.C (insertLyXFile): change a char to an int.
14969
14970         * WorkArea.C (WorkArea): remove unneeded floats in computation
14971
14972 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14973
14974         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14975
14976         * paragraph.C (asString): Do not ignore newline/hfill chars when
14977         copying to the clipboard.
14978
14979 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14980
14981         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14982         after a multi-line inset.
14983
14984 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14985
14986         * paragraph.C (validate): Set NeedLyXFootnoteCode
14987
14988 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14989
14990         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14991         and decrease-error to decrease.
14992
14993 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14994
14995         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14996         it more readable (should be equivalent)
14997
14998 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14999
15000         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15001
15002 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15003
15004         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15005         of a cursor (row, etc.) after a character has been deleted
15006         (deleteEmptyParagraphMechanism): call the method above on _all_
15007         cursors held by the LyXText when a double space has been
15008         detected/deleted.
15009
15010 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15011
15012         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15013         pixmap.
15014         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15015
15016         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15017         background. Use greyOut() and the new show() methods to toggle between
15018         the foreground and background. Add code to remove the splash after
15019         its initial showing.
15020
15021         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15022         (create_forms): no longer call Dialogs::showSplash.
15023
15024 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15025
15026         * .cvsignore: add version_info.h
15027
15028 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15029
15030         * version_info.h.in: new file
15031
15032         * Makefile.am: add version_info.h.in
15033
15034         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15035         version_info.h instead of VERSION_INFO
15036
15037 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15038
15039         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15040         The ERT inset now returns string().
15041
15042 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15043
15044         * lyxtext.h, text.C (selectNextWord): renamed as
15045         selectNextWordToSpellcheck.
15046
15047         * text.C (selectNextWordToSpellcheck): Modified to not select
15048         words inside an ERT inset.
15049
15050 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15051
15052         * lyx_cb.C (MenuLayoutSave): change a bit the question
15053
15054         * sp_base.h: include <sys/types.h>
15055
15056 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15057
15058         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15059
15060 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15061
15062         * several files: fix typos in user-visible strings
15063
15064 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15065
15066         * text2.C (pasteSelection): do not set the selection, since it
15067         will be cleared later. Actually, the intent was to fix the way the
15068         selection was set, but I figured rmoving the code was just as good.
15069
15070 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15071
15072         * FontLoader.C (available): Check if font is available without
15073         loading the font.
15074
15075 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15076
15077         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15078
15079 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15080
15081         * lyxrc.[Ch]: added display_graphics variable and associated code.
15082
15083 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15084
15085         * bufferparams.C (hasClassDefaults): new method. Returns true if
15086         the buffer parameters correspond to known class defaults
15087
15088 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15089
15090         * XFormsView.C (show): set minimum size to the main window.
15091
15092 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15093
15094         * text2.C (copySelection):
15095         (cutSelection):
15096         * lyxfind.C (LyXReplace):
15097         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15098         LyXText::selectionAsString.
15099
15100         * paragraph.C (asString): add "label" argument to the second form
15101
15102         * text2.C (selectionAsString): add "label" argument and pass it to
15103         Paragraph::asString.
15104
15105 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15106
15107         * lyx_main.C (commandLineHelp): remove version information
15108
15109 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15110
15111         * lyx_main.C: add -version commandline option
15112
15113 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15114
15115         * paragraph.h: make the optional constructor arg required instead.
15116         some modifications to other files because of this.
15117
15118         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15119
15120         * lyxserver.C (C_LyXComm_callback): make it static
15121
15122         * lyx_main.C (error_handler): make it static
15123
15124         * lyx_gui.C (LyX_XErrHandler): make it static
15125
15126         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15127
15128         * WorkArea.C: make the extern "C" methods static.
15129
15130         * Makefile.am (lyx_LDADD): simplify
15131
15132 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15133
15134         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15135         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15136
15137         * LyXAction.C (init):
15138         * lyxfunc.C (dispatch): associated code removal.
15139
15140 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15141
15142         * lyxfont.h (isSymbolFont): shut off warning
15143
15144         * text.C (setHeightOfRow):
15145         (getVisibleRow): fix crash with empty paragraphs which have a
15146         bottom line
15147
15148 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15149
15150         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15151         code.
15152
15153 2001-09-04  José Matos  <jamatos@fep.up.pt>
15154         * buffer.C
15155         * buffer.h
15156         * tabular.C (docbook): rename docBook method to docbook.
15157
15158 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15159
15160         * Makefile.am: add dependencies to main.o.
15161
15162 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15163
15164         * FontLoader.C (available): Return false if !lyxrc.use_gui
15165
15166 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15167
15168         * FontInfo.C (query):
15169         * converter.C (view):
15170         * importer.C (Import):
15171         * exporter.C (Export): Can not -> cannot.
15172
15173 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15174
15175         * BufferView_pimpl.C: allow to create index inset even if
15176           string is empty
15177
15178 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15179
15180         * buffer.C (getLists): replace boost::tie code with an explicit pair
15181         as boost::tie can break some compilers.
15182
15183         * iterators.h: Added a std:: declaration to the return type of
15184         ParIterator::size.
15185
15186 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15187
15188         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15189           case.
15190
15191 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15192
15193         * iterators.[Ch]: New files. Provide paragraph iterators.
15194
15195         * buffer.C (changeLanguage): Use paragraph iterators.
15196         (isMultiLingual): ditto
15197
15198         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15199
15200 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15201
15202         * FontLoader.C: Support for cmr font.
15203
15204 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15205
15206         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15207         (available): New method.
15208
15209         * FontInfo.C (getFontname): Use scalable fonts even when
15210         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15211         found.
15212
15213 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15214
15215         * converter.C (Formats::view): reverted! Incorrect fix.
15216
15217 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15218
15219         * converter.C (Formats::view): only output the -paper option
15220         if the dvi viewer is xdvi, thereby fixing bug #233429.
15221
15222 2001-08-23  Herbert Voss  <voss@perce>
15223
15224         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15225
15226 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15227
15228         * Spacing.h (Spacing): Set space to Default on in the default
15229         constructor.
15230
15231 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15232
15233         * vc-backend.h (RCS::versionString): add RCS to version
15234         (CVS::versionString): add CVS to version
15235
15236         * vc-backend.C (scanMaster): do not add CVS to version.
15237         (scanMaster): do not add RCS to version
15238
15239         * lyxvc.C (versionString): new method
15240
15241         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15242
15243 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15244
15245         * Spacing.C (set): initialize fval
15246
15247 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15248
15249         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15250         " or \.
15251
15252 2001-08-16  Juergen Vigna  <jug@sad.it>
15253
15254         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15255
15256 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15257
15258         * BufferView_pimpl.C:
15259         * figureForm.C:
15260         * lyxtext.h:
15261         * text2.C: setParagraph takes linespacing now
15262
15263 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15264
15265         * LyxAction.C: add internal LFUN_CITATION_INSERT
15266
15267         * LyXView.C: actually apply fix
15268
15269         * bufferlist.C: fix open non-existent file
15270
15271         * lyxfind.C: fix indentation
15272
15273         * lyxfunc.C: remove unneeded assert, fix typo
15274
15275 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15276
15277         * MenuBackend.C: use "Floatname List"
15278
15279 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15280
15281         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15282         when converting LaTeX layout to insetERT.
15283         Generate a non-collapsed float when reading old float
15284
15285 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15286
15287         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15288         ERT insets.
15289
15290 2001-08-13  Juergen Vigna  <jug@sad.it>
15291
15292         * text.C (fill): return 0 instead of 20 as this seems to be the more
15293         correct value.
15294
15295 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15296
15297         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15298         lyxrc.font_norm.
15299
15300 2001-08-13  Juergen Vigna  <jug@sad.it>
15301
15302         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15303         casesensitive off.
15304         (SearchBackward): comment out the unlocking of the inset_owner this
15305         should not be needed!
15306
15307 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15308
15309         * Many files: Remove inherit_language, and add latex_language
15310
15311         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15312         collapsible insets.
15313
15314 2001-08-10  Juergen Vigna  <jug@sad.it>
15315
15316         * text.C (prepareToPrint): fixed hfill-width in draw!
15317
15318         * BufferView2.C (selectLastWord): save the selection cursor as this
15319         now is cleared in the function LyXText::clearSelection!
15320
15321 2001-08-08  Juergen Vigna  <jug@sad.it>
15322
15323         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15324         BACKSPACE type functions.
15325
15326         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15327         is only cutted from the document but not put in the cut-buffer, where
15328         still the old stuff should be.
15329
15330         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15331
15332         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15333
15334         * tabular.C (SetWidthOfCell): fixed special case where the width
15335         was not updated!
15336         (LeftLine): handle '|' in align_special.
15337         (RightLine): ditto
15338         (LeftAlreadyDrawed): ditto
15339         (SetWidthOfCell): ditto
15340
15341 2001-08-07  Juergen Vigna  <jug@sad.it>
15342
15343         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15344
15345 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15346
15347         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15348         * lyxlex.[hC]: ditto
15349
15350 2001-08-06  Juergen Vigna  <jug@sad.it>
15351
15352         * text.C (getVisibleRow): fix up row clearing a bit.
15353
15354 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15355
15356         * minibuffer.C: make sure the X server sees the changes in the input.
15357
15358 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15359
15360         * paragraph.C (getFont): split into...
15361         (getLabelFont): this
15362         (getLayoutFont): and this
15363         * paragraph_pimpl.C (realizeFont): calling this
15364
15365         * text2.C (getFont): split into...
15366         (getLayoutFont): this
15367         (getLabelFont): and this
15368         (realizeFont): all three calling this
15369
15370         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15371         files where used.
15372
15373 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15374
15375         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15376
15377 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15378
15379         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15380         layouts from the Quote inset insertion.
15381
15382 2001-08-03  Juergen Vigna  <jug@sad.it>
15383
15384         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15385
15386         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15387         only if status not is already CHANGED_IN_DRAW (second level).
15388
15389         * text.C (draw): don't set the need_break_row when inside an
15390         InsetText LyXText.
15391
15392 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15393
15394         * buffer.C (parseSingleLyXformat2Token): handle more latex
15395         conversion cases.
15396
15397         * bufferview_funcs.[hC]: change function names to
15398         begin with small char, adjust other files.
15399
15400 2001-08-02  André Pönitz <poenitz@gmx.net>
15401
15402         * lyxfunc.C:
15403         BufferView_pimpl.C: remove broken special code for math-greek
15404
15405 2001-08-02  Juergen Vigna  <jug@sad.it>
15406
15407         * BufferView_pimpl.C (update): redone this function so that we
15408         update the text again if there was a CHANGE_IN_DRAW.
15409
15410         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15411         (drawFromTo): added a new internal bool which is used by draw() and
15412         redraw() function.
15413         (general): some cursor drawing problems fixed.
15414
15415 2001-08-01  Juergen Vigna  <jug@sad.it>
15416
15417         * lyxfind.C (LyXFind): fixed
15418         (SearchForward): ditto
15419         (SearchBackward): ditto
15420
15421         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15422         spurius drawing of the cursor in the main area.
15423
15424         * text2.C (status): small fix which could lead to a segfault!
15425         (clearSelection): remove unneeded BufferView param.
15426
15427 2001-08-01  André Pönitz <poenitz@gmx.net>
15428
15429         * lyxfunc.C: small change due to changed mathed interface
15430
15431 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15432
15433         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15434
15435 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15436
15437         * lyxfunc.c: fail gracefully if file doesn't exist
15438
15439         * LyXSendto.C:
15440         * buffer.C:
15441         * lyxfunc.C:
15442         * BufferView_pimpl.C: IsDirWriteable() proto changed
15443
15444         * LyXView.C: fix updateWindowTitle() to store the last title
15445
15446 2001-07-31  Juergen Vigna  <jug@sad.it>
15447
15448         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15449         the font (wrong since using of Paragraph::highestFontInRange).
15450
15451         * paragraph.C (highestFontInRange): added a default_size parameter.
15452
15453         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15454         (setHeightOfRow): reformat
15455
15456 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15457
15458         * converter.[hC] + affected files: move to (inital-char)lowercase
15459         function names.
15460
15461         * ParagraphParameters.C (ParagraphParameters): remove commented code
15462
15463         * PainterBase.[Ch]: remove commented code
15464
15465         * LaTeXFeatures.h: add "bool floats" for float.sty
15466
15467         * LaTeXFeatures.C (LaTeXFeatures): init floats
15468         (require): handle float
15469         (getPackages): do it with floats
15470
15471 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15472
15473         * BufferView_pimpl.C (Dispatch): improve handling of
15474         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15475
15476         * commandtags.h: #include lyxfont.h here temporarily to avoid
15477         keybinding bug.
15478
15479         * bufferlist.h: include LString.h here.
15480
15481 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15482
15483         * text2.C (getStringToIndex): new method.
15484
15485 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15486
15487         * *: Reduced header file dependencies all over.
15488
15489 2001-07-30  Baruch Even  <baruch@lyx.org>
15490
15491         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15492
15493 2001-07-29  Baruch Even  <baruch@lyx.org>
15494
15495         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15496
15497 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15498
15499         * ParameterStruct.h (endif): add a default constructor to make
15500         sure that all variables is initialized.
15501
15502         * ParagraphParameters.C (ParagraphParameters): adjust
15503
15504 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15505
15506         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15507         index; also, check that there is something to index, and that it
15508         does not span over several paragraphs.
15509         (doubleClick): use WHOLE_WORD_STRICT for double click.
15510
15511         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15512
15513         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15514         scheme.
15515
15516 2001-07-26  Baruch Even  <baruch@lyx.org>
15517
15518         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15519         an InsetFig figure, backwards compatible reading of old figure code.
15520
15521 2001-07-27  Juergen Vigna  <jug@sad.it>
15522
15523         * text2.C: font.realize function adaption.
15524
15525         * text.C (draw): add a warnings lyxerr text if needed.
15526
15527         * layout.C: font.realize function adaption.
15528
15529         * language.C: add inherit_language and implement it's handlings
15530
15531         * bufferview_funcs.C (StyleReset): remove language parameter from
15532         font creation (should be language_inherit now).
15533
15534         * bufferparams.C (writeFile): handle ignore_language.
15535
15536         * paragraph.C (getFontSettings): the language has to be resolved
15537         otherwise we have problems in LyXFont!
15538
15539         * lyxfont.C (lyxWriteChanges): added document_language parameter
15540         (update): removed unneeded language parameter
15541
15542         * paragraph.C (validate): fixed wrong output of color-package when
15543         using interface colors for certain fonts in certain environments,
15544         which should not seen as that on the final output.
15545
15546 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15547
15548         * BufferView_pimpl.C:
15549         * Thesaurus.h:
15550         * Thesaurus.C:
15551         * Makefile.am:
15552         * commandtags.h:
15553         * LyXAction.C: add thesaurus support
15554
15555         * lyxfind.h:
15556         * lyxfind.C: add "once" parameter, for thesaurus, to not
15557           move to the next match
15558
15559 2001-07-26  Juergen Vigna  <jug@sad.it>
15560
15561         * lyxfont.C (realize): honor ignore_language too!
15562         (resolved): ditto.
15563
15564         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15565
15566         * text.C (draw): one place more for ignore_language to not draw
15567         itself!
15568
15569 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15570
15571         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15572
15573 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15574
15575         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15576         the minipage conversion problem.
15577
15578 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15579
15580         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15581         insert an inset.
15582
15583 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15584
15585         * BufferView.h: don't forward declare WorkArea
15586
15587         * BufferView.C: don't include WorkArea.h
15588
15589 2001-07-25  André Pönitz <poenitz@gmx.net>
15590
15591         * commandtags.h:
15592         * LyXAction.C:
15593         * lyxfunc.C:  new LFUN 'math-space'
15594
15595         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15596
15597 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15598
15599         * text2.C (toggleInset): call open/close
15600
15601 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15602
15603         * lyxfunc.C (dispatch): add debug for the disabled case
15604
15605         * font.C (buttonText): make similar to rectText
15606
15607         * buffer.C (readInset): comment out parsing of insetlist and
15608         insttheorem
15609
15610         * PainterBase.C (rectText): small correction
15611
15612         * BufferView_pimpl.C: comment out insettheorem and insetlist
15613         * LyXAction.C: ditto
15614         * commandtags.h: ditto
15615
15616 2001-07-24  Juergen Vigna  <jug@sad.it>
15617
15618         * text.C (draw): honor the ignore_language.
15619
15620         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15621
15622 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15623
15624         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15625         char inset.
15626
15627 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15628
15629         * lyxtext.h: remove unused (and unimplemented) methods
15630
15631 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15632
15633         * text.C (getVisibleRow): honor background color
15634
15635         * PainterBase.h:
15636         * Painter.h: remove default color argument for fillRectangle
15637
15638         * text.C (backgroundColor): new method
15639
15640 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15641
15642         * text.C (getVisibleRow): adjust
15643
15644         * font.[Ch] (rectText): new method, metrics
15645         (buttonText): new method, metrics
15646
15647         * PainterBase.[hC]: make rectText and buttonText always draw and take
15648         fewer paramteres.
15649
15650 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15651
15652         * ToolbarDefaults.C (read):
15653         * MenuBackend.C (read): allow escaping in all strings
15654
15655         * BufferView_pimpl.C (insertAndEditInset): new method.
15656         (Dispatch): use insertAndEditInset whenever appropriate.
15657
15658         * BufferView_pimpl.C (insertNote): removed
15659
15660         * BufferView_pimpl.C (smartQuote): new method, moved from
15661         BufferView; if an insetquote cannot be inserted, insert a '"'
15662         character instead.
15663
15664         * BufferView2.C: remove insertCorrectQuote();
15665
15666         * lyxfunc.C (getStatus): Add support for all remaingin
15667         inset-insert lfuns.
15668
15669         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15670
15671         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15672         command (necessary to pass " as parameter of self-insert.
15673
15674         * text.C (selectWordWhenUnderCursor):
15675         (selectWord): add word_location parameter
15676         (selectWordWhenUnderCursor): same + remove special code for word
15677         boundary.
15678         (selectNextWord): use kind() to guess type of insetspecialchar,
15679         not latex().
15680
15681         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15682         (insertErtContents): create ert insets as collapsed.
15683         (readInset): better compatibility code for Info inset.
15684
15685 2001-07-20  Juergen Vigna  <jug@sad.it>
15686
15687         * lyxfunc.C (dispatch): use always LyXFind now!
15688
15689         * text2.C (init): add a reinit flag so that the LyXText can be
15690         reinited instead of deleted and reallocated (used in InsetText).
15691
15692         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15693
15694         * text.C: ditto
15695
15696         * text2.C: ditto
15697
15698 2001-07-18  Juergen Vigna  <jug@sad.it>
15699
15700         * text.C (selectNextWord): handle insets inside inset by calling
15701         always the bv->text functions so that we can go up the_locking_inset!
15702
15703         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15704         in strange locations when inside an inset!
15705
15706         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15707         handling to include insets.
15708
15709         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15710
15711 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15712
15713         * LyXAction.C (init):
15714         * commandtags.h:
15715         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15716         LIGATURE_BREAK, since the name is so stupid.
15717
15718 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15719
15720         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15721         InsetInfos.
15722
15723         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15724
15725         * sp_form.[Ch]: remove.
15726
15727         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15728
15729         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15730         InsetInfo.
15731
15732         * src/buffer.C (readInset): ditto.
15733
15734 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15735
15736         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15737         menuSeparator(), endOfSentenceDot(), ldots() and
15738         hyphenationPoint(), which are therefore removed.
15739         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15740
15741         * LyXAction.C (init):
15742         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15743
15744         * paragraph.C (getWord): removed.
15745
15746         * BufferView_pimpl.C (Dispatch): use last word or selection for
15747         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15748
15749         * lyx_main.C (queryUserLyXDir): do not ask before creating
15750         user_dir, except if it has been named explicitely.
15751
15752 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15753
15754         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15755         a document of zero size.
15756
15757 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15758
15759         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15760         approriately in the c-tor and in require().
15761         (getPackages): output the appropriate LaTeX for natbib support.
15762
15763         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15764         variables "use_natbib" and "use_numerical_citations" when reading the
15765         LyX file.
15766         (readInset): read the various natbib cite commands.
15767         (validate): white-space change.
15768
15769         * bufferparams.[Ch]: new variables "bool use_natbib" and
15770         "bool use_numerical_citations".
15771         (writeFile): output them in the LyX file.
15772
15773 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15774
15775         * lyxfunc.C (getStatus): add support for all the inset insertion
15776         commands.
15777
15778         * text2.C (insertInset):
15779         * paragraph.C (insetAllowed):
15780         * BufferView_pimpl.C (insertInset): update to take in account the
15781         renaming of insertInsetAllowed
15782
15783         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15784
15785         * text2.C (getInset): new method. returns inset at cursor position.
15786
15787         * BufferView_pimpl.C (Dispatch): changes because of this.
15788
15789         * LyXAction.C (init): rename open-stuff to inset-toggle.
15790
15791         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15792
15793         * text2.C (toggleInset): renamed from openStuff; use
15794         Inset::open().
15795
15796 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15797
15798         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15799
15800         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15801
15802 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15803
15804         * buffer.C (readLyXformat2): Add filename to the error dialog
15805
15806 2001-07-18  Juergen Vigna  <jug@sad.it>
15807
15808         * tabular.C (GetCellNumber): put an assert here instead of the check!
15809
15810 2001-07-17  Juergen Vigna  <jug@sad.it>
15811
15812         * BufferView_pimpl.C (toggleSelection): adapted too.
15813
15814         * text.C (selectNextWord): adapted for use with insets.
15815         (selectSelectedWord): ditto
15816
15817 2001-07-17  Juergen Vigna  <jug@sad.it>
15818
15819         * sp_spell.C (PSpell): fix initialitation order.
15820
15821 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15822
15823         * paragraph.C: spacing
15824
15825 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15826
15827         * sp_spell.C: repair language selection for pspell
15828
15829 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15830
15831         * lyxfunc.h: change more methods to begin with lower char.
15832
15833 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15834
15835         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15836         for unknown layouts.
15837
15838 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15839
15840         * buffer.C (readLyXformat2): Generate an error dialog if there are
15841         unknown layouts.
15842
15843 2001-07-16  Juergen Vigna  <jug@sad.it>
15844
15845         * sp_spell.C: always compile ISpell part.
15846
15847         * lyxrc.C: added use_pspell entry and it's handling.
15848
15849 2001-07-13  Juergen Vigna  <jug@sad.it>
15850
15851         * sp_spell.C: removed double includes.
15852
15853 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15854
15855         Consistent use of Lsstream.h:
15856         * Lsstream.h: added using std::stringstream for consistencies sake.
15857
15858         * buffer.C: removed using std::stringstream
15859
15860         * lyxfont.C (stateText):
15861         * paragraph.C (asString):
15862         * text.C (selectNextWord, selectSelectedWord):
15863         * text2.C (setCounter):
15864         * vspace.C (asString, asLatexString):
15865         std::ostringstream -> ostringstream.
15866
15867 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15868
15869         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15870         * commandtags.h: add LFUN_HELP_ABOUTLYX
15871         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15872
15873 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15874
15875         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15876         cursorToggle()
15877         * lyx_gui_misc.C: remove spellchecker
15878         * lyxfunc.C: showSpellchecker
15879         * sp_base.h: added
15880         * sp_ispell.h: added
15881         * sp_pspell.h: added
15882         * sp_spell.C: added
15883         * sp_form.[Ch]: removed
15884         * spellchecker.[Ch]: removed
15885
15886 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15887
15888         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15889         is set.
15890         (simpleTeXSpecialChars): Simply print the input character without
15891         any special translation if pass_thru is set.
15892
15893         * layout.h: Added bool pass_thru to layout class for being able to
15894         implement pass through of a paragraph for Literate Programming.
15895
15896         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15897         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15898         * layout.C (Read): add "passthru" to list of layout tags and add
15899         code to set the pass_thru boolean when it is read.
15900
15901 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15902
15903         * trans_decl.h: remove allowed from KmodInfo
15904
15905         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15906         remove allowed code
15907         (Load): adjust
15908
15909         * paragraph_pimpl.C (erase): use boost::prior
15910
15911         * Painter.C (text): use data() instead of c_str() when length is
15912         also provided.
15913         * WorkArea.C (putClipboard): ditto
15914         * font.h (width): ditto
15915
15916         * BufferView2.C: use it-> instead of (*it). for iterators
15917         * texrow.C: ditto
15918         * paragraph_pimpl.C: ditto
15919         * paragraph.C: ditto
15920         * minibuffer.C: ditto
15921         * language.C: ditto
15922         * kbmap.C: ditto
15923         * encoding.C: ditto
15924         * counters.C: ditto
15925         * converter.C: ditto
15926         * chset.C: ditto
15927         * Variables.C: ditto
15928         * TextCache.C: ditto
15929         * MenuBackend.C: ditto
15930         * LyXAction.C: ditto
15931         * LColor.C: ditto
15932         * FloatList.C: ditto
15933         * DepTable.C: ditto
15934         * ColorHandler.C (LyXColorHandler): ditto
15935
15936 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15937
15938         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15939
15940         * text2.C (openStuff): reintroduce this method (which had been
15941         nuked in NEW_INSETS frenzy).
15942
15943         * lyxfunc.C (Dispatch): when an action has not been handled, use
15944         its name in the error message, not its number.
15945
15946         * paragraph.C (inInset): change method name to begin with lowercase.
15947
15948         * undo_funcs.C:
15949         * text2.C: updates because of this.
15950
15951 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15952
15953         * ToolbarDefaults.C (add): add spaces in error message
15954
15955 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15956
15957         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15958         (readLyXformat2): rename return_par to first_par, use lyxlex's
15959         pushToken and remove the manual push handling.
15960         (parseSingleLyXformat2Token): add another ert comp. variable:
15961         in_tabular, rename return_par to first_par. handle newlines better
15962
15963 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15964
15965         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15966
15967 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15968
15969         * text2.C (getParFromID): removed
15970
15971         * buffer.C (getParFromID): new method moved form lyxtext.
15972         * BufferView2.C (insertErrors): adjust
15973         (setCursorFromRow): adjust
15974         * BufferView_pimpl.C (restorePosition): adjust
15975         * lyxfunc.C (Dispatch): adjust
15976         * undo_funcs.C (textUndo): adjust
15977         (textRedo): adjust
15978         (textHandleUndo): adjust
15979         (textHandleUndo): adjust
15980
15981 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15982
15983         * buffer.C: up' the LYX_FORMAT
15984
15985         * lyxfont.h: turn NO_LATEX on as default
15986
15987         * buffer.C (insertErtContents): new methods of tex style compability.
15988         (parseSingleLyXformat2Token): use it several places.
15989         * tabular.C (OldFormatRead): and here
15990
15991 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15992
15993         * text2.C: remove some commented code.
15994         reindent file.
15995
15996         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15997         * trans.C: changes because of the above.
15998
15999 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16000
16001         * text2.C (setCounter): Fix counters bug with bibliography layout.
16002
16003 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16004
16005         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16006         own member functions
16007         (simpleTeXSpecialChars): ditto
16008
16009 2001-07-06  Juergen Vigna  <jug@sad.it>
16010
16011         * a lot of files: changed the access to LyXText::status and the
16012         call of undo-functions.
16013
16014         * undo.[Ch]: added a inset_id to the undo informations.
16015
16016         * undo_funcs.[Ch]: added and moved here all undo functions.
16017
16018         * lyxtext.h: give the status enum a weight, made status_ a private
16019         variable and made accessor functions for it, removed the whole bunch
16020         of undo-functions as they are now in their own file, make some
16021         functions publically available. Added function ownerParagraph with
16022         int parameter.
16023
16024         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16025         made InInset() a const function, added getParFromID() function.
16026
16027         * buffer.[Ch]: added const version for inset_iterator functions,
16028         added getInsetFromID() function.
16029
16030         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16031         changed undo functions for new version.
16032
16033 2001-07-05  Juergen Vigna  <jug@sad.it>
16034
16035         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16036         unknow mechanism does not call the proper constructor but only this
16037         one also if I request the other!?
16038
16039 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16040
16041         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16042
16043         * text2.C (LyXText): use initialization lists.
16044
16045         * lyxtext.h (Selection): initialize set_ and mark_
16046         (init): remove method
16047
16048 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16049
16050         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16051
16052 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16053
16054         * screen.[Ch]: change method names to begin with lowercase
16055
16056         * BufferView_pimpl.C (updateScrollbar): simplify further and
16057         hopefully make it a bit faster.
16058
16059 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16060
16061         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16062         calling directly xforms functions.
16063
16064         * Painter.C (Painter):
16065         * lyx_cb.C (MenuWrite):
16066         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16067         fl_display.
16068
16069         * lyx_gui.C: remove bogus guiruntime extern declaration.
16070
16071 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16072
16073         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16074         in NEW_INSETS
16075         (redoDrawingOfParagraph): ditto
16076         (redoParagraphs): ditto
16077         (cutSelection): don't create a object for CutAndPaste use the
16078         static method directly
16079         (pasteSelection): ditto
16080
16081         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16082         LyXview (+ rename)
16083
16084 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16085
16086         * modifications to some other files because of this.
16087
16088         * Makefile.am (lyx_SOURCES): add XFormsView
16089
16090         * XFormsView.[Ch]: new files
16091
16092         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16093         the main window. Move the gui dependent stuff to XFormsView
16094
16095 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16096
16097         * tabular.C (GetCellInset): update cur_cell also in the row/col
16098         version of this function.
16099
16100         * lyxfunc.C: no need to include figure_form.h here.
16101
16102         * FontLoader.h:
16103         * lyxfunc.h:
16104         * lyxscreen.h:
16105         * text2.C:
16106         * lyxvc.C: no need to include forms.h here.
16107
16108 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16109
16110         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16111
16112         * lyxfunc.C (Dispatch):
16113         * Spacing.C (set):
16114         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16115         constructor argument.
16116
16117 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16118
16119         * paragraph.C (Paragraph): dont't clear, and just set layout.
16120         (makeSameLayout): use params's copy contructor.
16121
16122         * ParagraphParameters.[Ch] (makeSame): delete method
16123
16124 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16125
16126         * Variables.[Ch]: fix indentation, rename set to isSet
16127
16128 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16129
16130         * lyxfunc.C (Dispatch): fix typo
16131
16132 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16133
16134         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16135         upper_bound.
16136
16137         * bufferlist.C: include assert.h for emergencyWrite().
16138
16139 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16140
16141         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16142           give up at last (bug #425202) !
16143
16144 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16145
16146         * lyx_gui_misc.C:
16147         * sp_form.h:
16148         * sp_form.C:
16149         * spellchecker.h:
16150         * spellchecker.C: strip spellchecker options and bring up
16151           preferences tab instead
16152
16153 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16154
16155         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16156         the istringstream constructor
16157
16158 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16159
16160         * paragraph.C (getLayout): fix return value
16161
16162         * paragraph.h: do not declare getLayout as inline.
16163
16164         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16165
16166 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16167
16168         * lyxcursor.h (operator<): new func
16169         (operator>): new func
16170         (operator>=): new func
16171         (operator<=): new func
16172
16173         * text.C (changeCase): use selection.start and selection.end
16174         (changeRegionCase): require from to be <= to. Require par to be a
16175         valid paragraph.
16176
16177         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16178
16179 2001-06-27  Juergen Vigna  <jug@sad.it>
16180
16181         * text.C (cursorLeftOneWord): changed to return the cursor and added
16182         overlay with BufferView * parameter which calls this one.
16183         (getWord): added
16184         (selectWord): use new getWord function.
16185         (changeCase): renamed from changeWordCase as and extended to work
16186         also on selections.
16187
16188         * lyxtext.h: added enum word_location
16189
16190         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16191         changeCase as this operates now also on selections.
16192
16193 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16194
16195         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16196
16197         * many files: send debug output to Debug::INFO instead of
16198         Debug::ANY.
16199
16200         * converter.C (View):
16201         (Convert):
16202         (Move): send debug output to Debug::FILES instead of console.
16203
16204 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16205
16206         * lyxfunc.C (getStatus): use func_status
16207
16208         * func_status.h: new header, describing the results of
16209         LyXFunc::getStatus;
16210
16211         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16212         LFUN_MATH_HALIGN.
16213
16214 2001-06-25  The LyX Project  <jug@sad.it>
16215
16216         * buffer.C (sgmlOpenTag):
16217         (sgmlCloseTag):
16218         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16219
16220 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16221
16222         * text2.C: remove some dead code
16223
16224         * tabular.C (GetCellInset): store the last cell checked (gotten)
16225
16226         * tabular.h: add the helper for the speedup
16227
16228         * lyxtext.h: remove some dead code
16229
16230 2001-06-26  The LyX Project  <Asger>
16231
16232         * paragraph.C: Change export to LaTeX of alignment to
16233         \begin{center} and family for better roundtrip work with reLyX.
16234
16235         * Tune the math drawing a bit.
16236
16237 2001-06-25  The LyX Project  <Asger>
16238
16239         * LColor.C (LColor): New color for math background. New color
16240         for buttons.
16241
16242 2001-06-25  The LyX Project  <jug@sad.it>
16243
16244         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16245
16246         * lyxfunc.C (Open):
16247         * bufferlist.C (newFile): do not restrict to files ending with
16248         .lyx
16249
16250         * BufferView_pimpl.C (MenuInsertLyXFile):
16251
16252 2001-06-24  The LyX Project  <jug@sad.it>
16253
16254         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16255         of compare_no_case
16256
16257 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16258
16259         * lyxtext.h: rename most methods to begin with a small char.
16260         Lots of changes because of this.
16261
16262         * paragraph.C (Paragraph): do not call fitToSize
16263         (erase): call Pimpl::erase
16264         (insertChar): call Pimpl::insertChar
16265         (insertInset): call Pipl::insertInset
16266         (breakParagraph): do not call fitToSize
16267         (breakParagraphConservative): do not call fitToSize
16268         (fitToSize): remove method
16269
16270         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16271
16272 2001-06-24  The LyX Project  <Asger>
16273
16274         * Fix Qt compilation^2
16275
16276 2001-06-24  The LyX Project  <jug@sad.it>
16277
16278         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16279         depthHook(getDepth()-1).
16280
16281         * paragraph.h:
16282         * ParagraphParameters.h:
16283         * ParameterStruct.h: change type of depth to unsigned int ==
16284         depth_type. Many adaptations to other files before of that.
16285
16286 2001-06-24  The LyX Project  <Asger>
16287
16288         * Fix Qt compilation.
16289
16290 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16291
16292         * paragraph.h: renamed several methods to begin with small letter.
16293         several changes to many parts of the code because of this.
16294
16295 2001-06-23  The LyX Project  <jug@sad.it>
16296
16297         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16298         rewritten to discard all double spaces when KeepEmpty is off
16299         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16300         to only handle newlines but not fiddle with spaces and friends.
16301
16302         * lyxfunc.C (MenuNew): when doing 'new from template', use
16303         template_path as default directory
16304
16305 2001-06-23  The LyX Project  <Asger>
16306
16307         * Clean-up of header file includes all over
16308         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16309
16310 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16311
16312         * paragraph.h: renamed from lyxparagraph.h
16313
16314 2001-06-23  Asger  <lyx@violet.home.sad.it>
16315
16316         * Buffer.h: Removed Buffer::resize
16317         * BufferList.h: Removed BufferList::resize
16318         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16319         the document lazily when we change the width, or the font settings.
16320
16321 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16322
16323         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16324
16325 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16326
16327         * buffer.h: remove out of date comment
16328
16329 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16330
16331         * lyxscreen.h:
16332         * screen.C: fix "theoretical" GC leak
16333
16334 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16335
16336         * LaTeX.C (scanAuxFile):
16337         (deplog): remove trailing \r when reading stream (useful under
16338         win32)
16339
16340 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16341
16342         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16343         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16344         and BufferView::theLockingInset(Inset*), so should use them and not
16345         access bv_->text->the_locking_inset directly.
16346
16347         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16348
16349 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16350
16351         * Makefile.am:
16352         * tex-defs.h: remove old unused file
16353
16354 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16355
16356         * BufferView_pimpl.C: fix typo, remove minibuffer message
16357           when buffer has loaded
16358
16359 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16360
16361         * lyxfunc.C (Dispatch): use stringstream
16362         (MenuNew): use stringstream
16363         (Open): use stringstream
16364
16365         * importer.C (Import): use stringstream
16366
16367         * bufferview_funcs.C (CurrentState): use stringstream
16368
16369         * LaTeX.C (run): use stringstream
16370
16371         * BufferView_pimpl.C (savePosition): use stringstream
16372         (restorePosition): use stringstream
16373         (MenuInsertLyXFile): use stringstream
16374
16375 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16376
16377         * BufferView.C:
16378         * Bullet.C:
16379         * ColorHandler.C:
16380         * FontInfo.C:
16381         * FontLoader.C:
16382         * LColor.C:
16383         * LaTeXFeatures.C:
16384         * Painter.C:
16385         * gettext.C:
16386         * lyx_gui_misc.C:
16387         * lyxserver.C:
16388         * vspace.C: removed // -*- C++ -*- as first line.
16389
16390         * lyxfind.h:
16391         * version.h: added // -*- C++ -*- as first line.
16392
16393 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16394
16395         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16396
16397         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16398         of string
16399
16400 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16401
16402         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16403         of floats.
16404
16405 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16406
16407         * gettext.C: include LString.h even when --disable-nls is on.
16408
16409 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16410
16411         * converter.h (Get): changed argument type from int to
16412         FormatList::size_type to avoid unnecessary conversion.
16413
16414         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16415         before using it.
16416
16417 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16418
16419         * gettext.h: include LString.h even when --disable-nls is on.
16420
16421 2001-06-07  Juergen Vigna  <jug@sad.it>
16422
16423         * text.C (BreakAgain): subst spaces with tabs.
16424
16425         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16426         (resizeInsetsLyXText): set force on resizeLyXText.
16427
16428 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16429
16430         * gettext.h (gettext_init):
16431         (locale_init): use a real definition instead of a macro
16432
16433 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16434
16435         * Bufferview_pimpl.C:
16436         * LColor.h:
16437         * LColor.C: further lcolor tidies
16438
16439 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16440
16441         * BufferView_pimpl.C (updateScrollbar): simplify.
16442
16443         * BufferView2.C: don't include insets/insetinfo.h, change
16444         prototype for insertInset and call the Pimpl version. let
16445         updateInset call Pimpl version.
16446
16447         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16448         gotoInset to BufferView::Pimpl
16449
16450 2001-06-01  Juergen Vigna  <jug@sad.it>
16451
16452         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16453         inside a LockingInset (is the update needed at all?).
16454
16455 2001-05-31  Juergen Vigna  <jug@sad.it>
16456
16457         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16458         here not the old one otherwise how should we compare it afterwards
16459         if it's the same!
16460
16461 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16462
16463         * lyxfont.C:
16464         * tabular.C:
16465         * tabular-old.C:
16466         * FontInfo.C: bring C functions into global namespace when
16467         necessary
16468
16469 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16470
16471         * LString.h: make sure config.h has been loaded before LString.h.
16472
16473         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16474         (one for each char read by EatLine!).
16475
16476         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16477         variables.
16478
16479 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16480
16481         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16482         to the same as the par we break from
16483
16484 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16485
16486         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16487
16488         * MenuBackend.C (expand): also create menu entries for wide
16489         versions of the floats.
16490
16491         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16492
16493         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16494
16495         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16496         frontends/Makefile.am
16497
16498         * text2.C: adjust
16499         * text.C: adjust
16500
16501
16502         * tabular.C (getTokenValue): add std::
16503
16504         * tabular-old.C (getTokenValue): add std::
16505         (getTokenValue): ditto
16506         (getTokenValue): ditto
16507
16508         * screen.C (ToggleSelection): adjust
16509
16510         * lyxtext.h: put selection cursors inside a Selection struct.
16511
16512         * lyxfunc.C (moveCursorUpdate): adjust
16513
16514         * lyxfont.C (latexWriteStartChanges): add std::
16515
16516         * lyxfind.C: adjust
16517
16518         * font.h: delete with(char const *, LyXFont const &)
16519
16520         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16521
16522         * FontInfo.C (getFontname): add std::
16523
16524         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16525         (workAreaButtonPress): adjust
16526         (tripleClick): adjust
16527         (update): adjust
16528         (moveCursorUpdate): adjust
16529         (Dispatch): adjust
16530
16531         * BufferView2.C (gotoInset): adjust
16532
16533 2001-05-30  Juergen Vigna  <jug@sad.it>
16534
16535         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16536         to check pspell I add this as default as I now have new pspell
16537         libraries and they seem to use this.
16538
16539 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16540
16541         * text2.C (CutSelection): make the cursor valid before the call to
16542         ClearSelection.
16543
16544 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16545
16546         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16547         relied on 0 terminated strings and other horrors. Bug found due to
16548         the new assert in lyxstring!
16549
16550         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16551         KP_ keys.
16552
16553 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16554
16555         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16556         to latinkeys.bind.
16557
16558         * lyxfunc.C (processKeySym): change method of getting to the
16559         self-insert char.
16560
16561         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16562         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16563         * BufferView_pimpl.[Ch]: here as private methods.
16564
16565 2001-05-28  Juergen Vigna  <jug@sad.it>
16566
16567         * text.C (SetHeightOfRow): added the update() call again as it is
16568         needed to initialize inset dimensions!
16569
16570 2001-05-16  Juergen Vigna  <jug@sad.it>
16571
16572         * text2.C (SetCharFont): Add new function with BufferView * and
16573         bool toggleall parameters for setting insets internal fonts.
16574         (SetFont): Freeze the undo as we may change fonts in Insets and
16575         all this change should be inside only one Undo!
16576
16577         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16578         setting font's in insets as for them we have the SetFont function!
16579
16580 2001-05-15  Juergen Vigna  <jug@sad.it>
16581
16582         * text2.C (ClearSelection): to be sure we REALLY don't have any
16583         selection anymore!
16584
16585         * tabular.C (TeXCellPreamble): fixed the left border problem for
16586         multicolumn cells.
16587
16588 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16589
16590         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16591         dependancy file
16592
16593 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16594
16595         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16596         LFUN_BREAKPARAGRAPH.
16597
16598         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16599         help test to "internal only", similar for LFUN_INSERT_URL
16600
16601         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16602         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16603         auto_region_delete and deadkeys.
16604
16605 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16606
16607         * LColor.h:
16608         * LColor.C: remove some dead entries, tidy a little
16609
16610 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16611
16612         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16613         commented code.
16614         (Dispatch): implement LFUN_ESCAPE
16615
16616         * commandtags.h: add LFUN_ESCAPE
16617
16618         * LyXAction.C (init): add entry for LFUN_ESCAPE
16619
16620         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16621         Remove commented code.
16622         (insertNote): moved here
16623         (open_new_inset): moved here
16624
16625         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16626         BufferView_pimpl
16627
16628 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16629
16630         * kbmap.C (findbinding): clean it up and make it work correctly.
16631
16632         * lyx_main.C (init): do not pass argc and argv as parameters
16633
16634 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16635
16636         * buffer.C: fix path for OS/2 & Win32
16637
16638         * lyx_gui.C:
16639         * lyx_main:
16640         * lyx_main.C: Added os:: class.
16641
16642         * os2_defines.h: update
16643
16644 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16645
16646         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16647         better by trying again with reduced state.
16648
16649 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16650
16651         * lyxrc.C (read): print error about invalid key sequence only when
16652         debugging (because not all latinX keysyms are known to some X
16653         servers)
16654
16655         * kbsequence.C (getiso): add a few std:: qualifiers
16656         (getiso): comment out extra return statement.
16657
16658 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16659
16660         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16661         handling.
16662         (Dispatch): enhance the accent inset a bit. (not perfect)
16663
16664 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16665
16666         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16667
16668 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16669
16670         * bufferlist.C (emergencyWrite): fix assert() call
16671
16672 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16673
16674         * text.C (InsertChar): Added trivial patch to only send the "you
16675         can not do multiple spaces this way" message once during a
16676         session.
16677
16678 2001-05-08  Baruch Even  <baruch@lyx.org>
16679
16680         * Makefile.am: Changed order of libraries to get LyX to link properly
16681         with the gnome frontend.
16682
16683 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16684
16685         * LaTeXFeatures.h: add a std:: qualifier
16686
16687 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16688
16689         * paragraph.C (String): use stringstream
16690
16691 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16692
16693         * paragraph.C (writeFile): remove footflag arg
16694
16695         * buffer.C (makeLaTeXFile): use stringstream
16696         (latexParagraphs): remove footnot gurba
16697
16698         * LaTeXFeatures.C (getPackages): use stringstream
16699         (getMacros): likewise
16700         (getTClassPreamble): likewise
16701         (getFloatDefinitions): new method
16702
16703         * paragraph.C (writeFile): reindent
16704         (Erase): reindent
16705
16706         * WorkArea.h: revert the xpos + etc changes.
16707
16708         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16709
16710         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16711
16712         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16713         (pasteSelection): likewise
16714         * text2.C (CreateUndo): likewise
16715
16716 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16717
16718         * minibuffer.C (peek_event): temporarily reduce the functionality
16719         of the minibuffer (to allow args on lfuns)
16720
16721         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16722         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16723
16724         * buffer.C (readInset): add compability reading of old float
16725         lists, add reading of new style float list.
16726         (readInset): avoid reevaluation of inscmd.getCmdName()
16727         (getLists): reindent
16728
16729         * MenuBackend.C (MenuItem): implement parsing of
16730         md_floatlistinsert and md_floatinsert.
16731         (expand::LastFiles): move initalizaton of iterators out of loop,
16732         avoid reevaluation.
16733         (expand::Documents): introduce typdedef vector<string> Strings,
16734         and use it.
16735         (expand::ExportFormats): introduce typedef vector<Format const *>
16736         Formats, and use it.
16737         (expand): implement FloatListInsert and FloatInsert.
16738
16739         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16740         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16741         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16742
16743         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16744         handling.
16745         (Dispatch::LFUN_FLOAT_LIST): implement
16746
16747 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16748
16749         * LaTeX.C (run): Fix problem with --export code.
16750
16751 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16752
16753         * BufferView.[Ch] (workarea): removed.
16754         (getClipboard) new method; wrapper for workarea()->getClipboard()
16755
16756         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16757         bug.
16758
16759         * WorkArea.h (width, height, xpos, ypos): These methods all
16760         returned the dimensions of the work_area sub-area of WorkArea,
16761         resulting in a position error if the WorkArea were resized. Now
16762         return the dimensions of the entire WorkArea.
16763
16764         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16765
16766 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16767
16768         * LaTeX.C (deplog): correct the syntax of regex reg1
16769
16770 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16771
16772         * undo.C: remove !NEW_INSETS cruft
16773
16774 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16775
16776         * text2.C: remove !NEW_INSETS cruft
16777
16778         * text.C: remove !NEW_INSETS cruft
16779
16780         * tabular.C: remove !NEW_INSETS cruft
16781
16782         * spellchecker.C: remove !NEW_INSETS cruft
16783
16784         * lyxtext.h: remove !NEW_INSETS cruft
16785
16786         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16787
16788         * lyxfunc.C: remove !NEW_INSETS cruft
16789
16790         * lyxfind.C: remove !NEW_INSETS cruft
16791
16792         * lyx_cb.C: remove !NEW_INSETS cruft
16793
16794         * figureForm.C: remove  !NEW_INSETS cruft
16795
16796         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16797
16798         * buffer.[Ch]: remove !NEW_INSETS cruft
16799
16800         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16801
16802         * CutAndPaste.C: remove !NEW_INSETS cruft
16803
16804         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16805
16806         * BufferView2.C: remove !NEW_INSETS cruft
16807
16808         * BufferView.h: remove !NEW_INSETS cruft
16809
16810 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16811
16812         * Lsstream.h: include LString.h before the sstream headers to
16813         fix problem with gcc 2.95.3 and lyxstring
16814
16815 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16816
16817         * lyx_main.C: add using directives when needed for C functions
16818         declared in std:: namespace.
16819
16820 2001-04-27  Juergen Vigna  <jug@sad.it>
16821
16822         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16823         (SetHeightOfRow): comment out the update call should not be needed!
16824
16825 2001-04-13  Juergen Vigna  <jug@sad.it>
16826
16827         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16828         (LyXTabular): tried to minimize operator= operations (and realized
16829         hopfully Lars wish).
16830
16831 2001-04-27  Juergen Vigna  <jug@sad.it>
16832
16833         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16834
16835 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16836
16837         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16838
16839         * buffer.C (readInset): hack to make listof algorithm work
16840
16841         * BufferView_pimpl.C: hack to make listof algorithm work
16842
16843 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16844
16845         * LyXAction.C: removed all !NEW_INSETS cruft
16846         (init): moved lfun_item in method
16847
16848         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16849
16850 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16851
16852         * BufferView2.C (theLockingInset): white space.
16853
16854 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16855
16856         * minibuffer.C: include <iostream>
16857
16858         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16859
16860         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16861
16862         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16863
16864         * text.[Ch] (TransposeChars): new method
16865
16866 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16867
16868         * call message directly through LyXView instead of through LyXFunc
16869         * BufferView2.C: adjust
16870         * BufferView_pimpl.C: adjust
16871         * FontLoader.C: adjust
16872         * buffer.C: adjust
16873         * bufferview_funcs.C: adjust
16874         * converter.C: adjust
16875         * figureForm.C: adjust
16876         * importer.C: adjust
16877         * lyx_cb.C: adjust
16878         * lyx_gui_misc.C: adjust
16879         * lyxfunc.C: adjust
16880         * lyxvc.C: adjust
16881         * text2.C: adjust
16882         + more files in subdirs
16883
16884         * lyxparagraph.h (size): move up int file
16885         (GetLayout): ditto
16886
16887         * adjust all uses of Assert to lyx::Assert.
16888
16889         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16890         lyxfunctional in namespace lyx
16891         * layout.C (hasLayout): ditto
16892         (GetLayout): ditto
16893         (GetLayout): ditto
16894         (delete_layout): ditto
16895         (NumberOfClass): ditto
16896         * converter.C (GetFormat): ditto
16897         (GetNumber): ditto
16898         (Add): ditto
16899         (Delete): ditto
16900         (SetViewer): ditto
16901         * bufferlist.C (getFileNames): ditto
16902         (emergencyWriteAll): ditto
16903         (exists): ditto
16904         (getBuffer): ditto
16905         * MenuBackend.C (hasSubmenu): ditto
16906         (hasMenu): ditto
16907         (getMenu): ditto
16908         * BufferView_pimpl.C (getInsetByCode): ditto
16909
16910 2001-04-18  Juergen Vigna  <jug@sad.it>
16911
16912         * vspace.C (asLatexString): fixed the 100% problem.
16913
16914 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16915
16916         * lyxfunc.C (Dispatch):
16917         * minibuffer.C:
16918         * minibuffer.h: add a few std:: qualifiers
16919
16920 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16921
16922         * minibuffer.[Ch]: reimplement so that commands is initiated and
16923         run from lyxfunc, simplified som handling, and made the completion
16924         and history code for complete. wip.
16925
16926         * lyxfunc.C (processKeySym): call message
16927         (miniDispatch): new temporary method
16928         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16929         (LFUN_MESSAGE): implement
16930         (LFUN_MESSAGE_PUSH): implement
16931         (LFUN_MESSAGE_POP): implement
16932         (initMiniBuffer): the initial/defualt minibuffer message.
16933
16934         * lyxfont.[Ch]: inline some more getters
16935
16936         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16937
16938         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16939
16940         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16941         (AutoSave): use LFUN_MESSAGE
16942         (Reconfigure): ditto
16943
16944         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16945
16946         * figureForm.C: use LFUN_MESSAGE
16947
16948         * converter.C (runLaTeX): use LFUN_MESSAGE
16949
16950         * bufferview_funcs.C: use LFUN_MESSAGE
16951         (Melt): ditto
16952         (changeDepth): ditto
16953
16954         * bufferparams.h: use boost::
16955
16956         * bufferlist.h: inherit privately from noncopyable
16957
16958         * bufferlist.C (loadLyXFile): remove some commented code.
16959
16960         * buffer.C (runChktex): use LFUN_MESSAGE
16961
16962         * ShareContainer.h: inherit privately from noncopyable
16963
16964         * ParagraphParameters.[hC] (depth): inline it.
16965
16966         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16967         methods.
16968         (message): new method
16969         (messagePush): ditto
16970         (messagePop): ditto
16971         (show): init minibuffer
16972         (showState): direct call
16973
16974         * LaTeX.[Ch]: inherit privately from noncopyable
16975         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16976         instead of WriteStatus.
16977
16978         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16979
16980         * BufferView_pimpl.C (buffer): don't init minibuffer
16981         (workAreaButtonPress): use LFUN_MESSAGE
16982         (workAreaButtonRelease): ditto
16983         (savePosition): ditto
16984         (restorePosition): ditto
16985         (MenuInsertLyXFile): ditto
16986         (workAreaExpose): don't init minibuffer
16987         (update): remove commented code, simplify
16988
16989         * BufferView2.C (openStuff): use LFUN_MESSAGE
16990         (toggleFloat): ditto
16991         (menuUndo): ditto
16992         (menuRedo): ditto
16993         (copyEnvironment): ditto
16994         (pasteEnvironment): ditto
16995         (copy): ditto
16996         (cut): ditto
16997         (paste): ditto
16998         (gotoInset): ditto
16999         (updateInset): remove some commented code
17000
17001         * lastfiles.h: inherit privately from noncopyable
17002         * layout.h: ditto
17003         * lyx_gui.h: ditto
17004         * lyx_main.h: ditto
17005         * lyxlex.h: ditto
17006         * lyxlex_pimpl.h: ditto
17007
17008         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17009         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17010         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17011
17012         * LyXAction.h: inherit privately from noncopyable, add methods
17013         func_begin, func_end, returning iterators to the func map.
17014
17015         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17016         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17017         (func_begin): new method
17018         (func_end): new method
17019
17020         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17021         and not)
17022         (copySelection): ditto
17023         (pasteSelection): ditto
17024
17025         * BufferView.C: whitespace change
17026         * BufferView.h: inherit privately from noncopyable
17027
17028 2001-04-16  Allan Rae  <rae@lyx.org>
17029
17030         * tabular-old.C (l_getline):
17031         * spellchecker.C (sc_check_word):
17032         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17033         an unrecognised preprocessor directive.  So ensure they're wrapped.
17034
17035 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17036
17037         * src/exporter.C (Export): Give an error message when path to file
17038         contains spaces.
17039
17040 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17041
17042         * LaTeX.C (deplog): Always check that foundfile exists.
17043
17044 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17045
17046         * lyx_main.h:
17047         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17048
17049 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17050
17051         * tabular.[Ch] (getLabelList): implement new method
17052
17053         * minibuffer.h: comment ouf setTiimer
17054
17055         * minibuffer.C (ExecutingCB): constify res
17056         (peek_event): constify s
17057         (Set): constify ntext
17058         (Init): constify nicename
17059
17060         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17061
17062         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17063         (savePosition): use two params to Minibuffer::Set
17064         (restorePosition): ditto
17065
17066 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17067
17068         * lyx_main.C: include language.h
17069
17070         * Makefile.am (lyx_main.o): add language.h
17071
17072 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17073
17074         * exporter.C:
17075         * paragraph.C:
17076         * screen.C:
17077         * tabular.C:
17078         * CutAndPaste.C: include gettext.h
17079
17080         * lyxfont.h: remove old hack with ON and OFF.
17081
17082         * lyxparagraph.h:
17083         * lyxfont.h: do not include language.h...
17084
17085         * BufferView2.C:
17086         * LaTeXFeatures.C:
17087         * Painter.C:
17088         * bufferview_funcs.C:
17089         * font.C:
17090         * lyxfont.C:
17091         * text.C:
17092         * text2.C:
17093         * trans_mgr.C:
17094         * paragraph.C: ... but do it here instead
17095
17096 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17097
17098         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17099
17100         * tabular.C: small reformat
17101
17102         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17103         NEW_INSETS version
17104         (GetChar): ditto
17105         (BreakParagraph): ditto
17106         (SetOnlyLayout): ditto
17107         (SetLayout): ditto
17108
17109         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17110         with one arg less.
17111
17112         * lastfiles.C: removed most using decl, add std:: where needed
17113
17114         * buffer.C: ws changes
17115
17116         * MenuBackend.C (class compare_format): put into anon namespace
17117         (expand): constify label, names, action, action2
17118         (expand):
17119
17120         * text.C (SingleWidth): constify font
17121         (IsBoundary): constify rtl2
17122         (GetVisibleRow): constify ww
17123
17124         * LaTeX.C (deplog): constify logfile
17125
17126         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17127         start_x, end_x
17128         (workAreaExpose): constify widthChange, heightChange
17129
17130         * lyxrow.C (par): moved
17131         (height): moved
17132         (next): moved
17133         * lyxrow.h: as inlines here
17134
17135         * lyxfont.h (shape): moved from lyxfont.C
17136         (emph): moved from lyxfont.C
17137
17138         * lyxfont.C (LyXFont): use initialization list for all
17139         constructors
17140         (shape): move to lyxfont.h as inline
17141         (emph): move to lyxfont.h as inline
17142
17143
17144 2001-04-04  Juergen Vigna  <jug@sad.it>
17145
17146         * vspace.C: had to include stdio.h for use of sscanf
17147
17148 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17149
17150         * BufferView.h:
17151         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17152         independent of xforms.
17153
17154 2001-04-02  Juergen Vigna  <jug@sad.it>
17155
17156         * spellchecker.C: fixed namespace placing!
17157
17158 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17159
17160         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17161         the LyXParagraph * is 0.
17162
17163 2001-03-29  Juergen Vigna  <jug@sad.it>
17164
17165         * vspace.C: added support for %, c%, p%, l%.
17166         (stringFromUnit): added helper function.
17167         (asLatexString): changed to give right results for the %-values.
17168
17169         * buffer.C: convert the widthp in a width%.
17170
17171 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17172
17173         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17174         figureForm.[Ch].
17175
17176         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17177         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17178
17179         * lyx_cb.[Ch]: see above.
17180
17181         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17182         form1.[Ch].
17183
17184         * form1.[Ch]:
17185         * lyx.[Ch]: replaced by figure_form.[Ch].
17186
17187         * lyx_gui.C:
17188         * lyx_gui_misc.C:
17189         * lyxfunc.C: changed headers associated with above changes.
17190
17191 2001-03-27  Juergen Vigna  <jug@sad.it>
17192
17193         * BufferView_pimpl.C: set the temporary cursor right!
17194
17195 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17196
17197         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17198
17199 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17200
17201         * LString.h: removed "using std::getline"!
17202
17203         * BufferView_pimpl.C (Dispatch): changes due to changes in
17204         InsetInclude::Params.
17205
17206         * buffer.C (tag_name): removed redundant break statements as they were
17207         producing lots of warnings with my compiler.
17208
17209 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17210
17211         * LString.h: add "using std::getline" when using the real <string>.
17212
17213 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
17214
17215         * buffer.C: removed bitset usage.
17216         PAR_TAG moved to an anonymous name space.
17217         (tag_name): new funtion, also in the anonymous namespace.
17218         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17219         (makeDocBookFile): clean code. Completed transition from string arrays
17220         to string vectors.
17221         (SimpleDocBookOnePar): code clean.
17222
17223 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17224
17225         * tabular.C: add some comments.
17226
17227 2001-03-22  Juergen Vigna  <jug@sad.it>
17228
17229         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17230         compatibility read a bit and fixed bug with minipage in different
17231         depth.
17232
17233 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
17234
17235         * buffer.C (pop_tag): removed.
17236         (push_tag): removed.
17237         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17238         array replaced with vector. Added support for CDATA sections.
17239         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17240         at any nest level.
17241         (makeDocBookFile): XML conformant declaration of CDATA section,
17242         fixed bug related to <emphasis> in the first paragraph char.
17243         (sgmlOpenTag): exclude empty tags.
17244         (sgmlCloseTag): ditto.
17245
17246         * buffer.h (pop_tag): removed.
17247         (push_tag): removed.
17248
17249 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17250
17251         * language.h (Languages): added size_type and size().
17252
17253 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17254
17255         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17256         response on compability reading of minipages. One probliem is that
17257         the old usage of minipages was «flertydig»
17258
17259         * several files here and in subdirs: don't use static at file
17260         scope use anon namespaces instead.
17261
17262 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17263
17264         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17265         LaTeX output. This is necessary for Literate document
17266         processing.
17267
17268 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17269
17270         * buffer.C: insert hfill when needed.
17271
17272         * tabular.C (l_getline): use string::erase, small whitespace change.
17273
17274         * BufferView_pimpl.C: try the anon namespace.
17275         * WorkArea.C: ditto
17276
17277 2001-03-16  Juergen Vigna  <jug@sad.it>
17278
17279         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17280         otherwise it won't open options-dialogs.
17281
17282         * buffer.C: honor pextraWidth(p) on converting minipages.
17283
17284         * tabular.C (l_getline): changed the functions to strip trailing \r.
17285
17286 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17287
17288         * BufferView_pimpl.C:
17289         * minibuffer..C: added "using SigC::slot" declaration.
17290
17291 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17292
17293         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17294
17295         * text2.C: ditto
17296
17297         * text.C: ditto
17298
17299         * paragraph.C: ditto
17300
17301         * lyxtext.h: NO_PEXTRA
17302
17303         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17304
17305         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17306         * ParameterStruct.h: ditto
17307         * ParagraphParameters.h: ditto
17308         * lyxparagraph.h: ditto
17309
17310 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17311
17312         * buffer.C: add compability for minipage alignment.
17313         (latexParagraphs): remove unwanted pextra check.
17314
17315         * several files: remove CXX_WORKING_NAMESPACES
17316
17317         * buffer.C (pop_tag): tie is in namespace boost
17318
17319         * BufferView.h: noncopyable is in namespace boost
17320         * lyxlex.h: ditto
17321         * lyx_main.h: ditto
17322         * lyx_gui.h: ditto
17323         * layout.h: ditto
17324         * lastfiles.h: ditto
17325         * bufferlist.h: ditto
17326         * ShareContainer.h: ditto
17327         * LyXView.h: ditto
17328         * LyXAction.h: ditto
17329         * LaTeX.h: ditto
17330
17331 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17332
17333         * Merging changes from BRANCH_MVC back into HEAD.
17334
17335         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17336
17337 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17338
17339         * BufferView_pimpl.C: change from intl.C
17340
17341         * combox.h:
17342         * combox.C:
17343         * Makefile.am: move combox.*
17344
17345         * form1.h:
17346         * form1.C:
17347         * lyx_gui.C:
17348         * intl.h:
17349         * intl.C: remove dialog (covered by prefs)
17350
17351 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17352
17353         * lyxfunc.C (Dispatch): removed redundant break statement.
17354
17355 2001-03-14  Juergen Vigna  <jug@sad.it>
17356
17357         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17358
17359 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17360
17361         * buffer.C: add hack to fix compability reading of minipages.
17362
17363 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17364
17365         * buffer.C (getLists): Cleanup.
17366
17367 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17368
17369         * lyxfont.C (update): don't honor toggleall on font size.
17370
17371 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17372
17373         * bmtable.c:
17374         * bmtable.h:
17375         * Makefile.am: moved to frontends/xforms/
17376
17377         * lyx_gui_misc.C:
17378         * lyxfunc.C:
17379         * BufferView_pimpl.C: changes for moved mathpanel
17380
17381 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17382
17383         * gettext.h: fix gettext_init() in --disable-nls
17384
17385 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17386
17387         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17388
17389 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17390
17391         * lyx.C:
17392         * lyx.h: strip external form
17393
17394 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17395
17396         * BufferView_pimpl.C: add comment, destroySplash()
17397
17398 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17399
17400         * BufferView_pimpl.C:
17401         * LyXAction.C:
17402         * buffer.C:
17403         * commandtags.h:
17404         * lyxfunc.C: use re-worked insetinclude
17405
17406 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17407
17408         * buffer.C: add using std::stringstream.
17409
17410         * lyx_cb.C: readd using std::ios.
17411
17412         * buffer.C: add using std::map.
17413
17414         * BufferView_pimpl.C: add using std::vector.
17415
17416         * ShareContainer.h: add std:: to swap.
17417
17418         * buffer.h: add some typedefs
17419         * buffer.C (getLists): use them
17420         (getLists): renamed from getTocList.
17421         add a counter for the different float types and use it in the
17422         generated string.
17423         (getLists): use the same counter for the NEW_INSETS and the "non"
17424         NEW_INSETS
17425
17426         * lyx_cb.h: remove unused items, includes, using etc.
17427
17428         * ShareContainer.h: remove some commented code, add more comments
17429         and "documentation".
17430
17431 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17432
17433         * buffer.C (getTocList): make the list also when NEW_INSETS is
17434         defined.
17435
17436         * buffer.h: remove TocType
17437
17438         * buffer.C (getTocList): change to return a map<string,
17439         vector<TocItem> >, implement for dynamic number of list.
17440
17441         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17442         * text2.C (PasteSelection): adjust
17443         * CutAndPaste.C (pasteSelection): adjust
17444
17445         * FloatList.C (FloatList): update from the new_insets branch.
17446         * Floating.[Ch]: ditto
17447         * LaTeXFeatures.C: ditto
17448         * buffer.C: ditto
17449         * lyxlex_pimpl.C: ditto
17450
17451         * paragraph.C (Last): remove when NEW_INSETS is defined.
17452
17453         * other file: changes because of the above.
17454
17455 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17456
17457         * lyxparagraph.h: rename next to next_, previous to previous_,
17458         make them private for NEW_INSETS. Rename Next() to next(),
17459         Previous() to previous().
17460
17461         * other files: changes because of the above.
17462
17463 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17464
17465         * BufferView.h:
17466         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17467         problem.
17468
17469 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17470
17471         * main.C (main): pass lyx_localedir to gettext_init().
17472
17473         * gettext.h: remove locale_init and gettext_init macros
17474
17475         * gettext.C (locale_init): new function
17476         (gettext_init): new function
17477
17478         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17479         setlocale().
17480
17481 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17482
17483         * Moved credits to frontends:
17484         * credits.[Ch]: removed
17485         * credits_form.[Ch]: removed
17486         * lyx_gui_misc.C: remove credits stuff
17487         * Makefile.am:
17488
17489 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17490
17491         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17492
17493         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17494         unneeded destructor.
17495
17496         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17497         a standalone pointer again.
17498
17499         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17500
17501 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17502
17503         * Makefile.am:
17504         * filedlg.h:
17505         * filedlg.C:
17506         * LyXAction.C:
17507         * ToolbarDefaults.C:
17508         * bufferlist.C:
17509         * commandtags.h:
17510         * form1.C:
17511         * form1.h:
17512         * lyx_cb.C:
17513         * lyx_cb.h:
17514         * lyxfunc.h:
17515         * lyxfunc.C:
17516         * BufferView_pimpl.C: use new file dialog in GUII
17517
17518         * lyx_cb.h:
17519         * lyx_cb.C: remove LayoutsCB to Toolbar
17520
17521 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17522
17523         * ShareContainer.h (get): add std:: qualifier
17524
17525 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17526
17527         * ShareContainer.h: define a proper ShareContainer::value_type
17528         type (and use typename to please compaq cxx)
17529
17530 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17531
17532         * lyxparagraph.h: move serveral local vars to
17533         ParameterStruct/ParagraphParameters., use ShareContainer in
17534         FontTable., make vars in FontTable private and add getter and
17535         setter.
17536
17537         * paragraph.C: changes because of the above.
17538
17539         * lyxfont.h: remove copy constructor and copy assignment. (the
17540         default ones is ok), move number inside FontBits. move inlines to
17541         lyxfont.C
17542
17543         * lyxfont.C: add number to initializaton of statics, move several
17544         inlines here. constify several local vars. some whitespace
17545         cleanup. Dont hide outerscope variables.
17546
17547         * Spacing.h: add two new constructors to match the set methods.
17548
17549         * ShareContainer.h: new file, will perhaps be moved to support
17550
17551         * ParameterStruct.h: new file
17552
17553         * ParagraphParameters.h: new file
17554
17555         * ParagraphParameters.C: new file
17556
17557         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17558         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17559
17560         * BufferView_pimpl.C: ParagraphParameter changes.
17561         * buffer.C: Likewise.
17562         * bufferview_funcs.C: Likewise.
17563         * text.C: Likewise.
17564         * text2.C: Likewise.
17565
17566 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17567
17568         * lyxfind.C (LyXReplace): do not redefine default argument in
17569         implementation.
17570         (IsStringInText): ditto
17571         (SearchForward): ditto
17572         (SearchBackward): ditto
17573
17574 2001-03-06  Juergen Vigna  <jug@sad.it>
17575
17576         * lyxfind.C (IsStringInText): put parentes around expressions.
17577
17578 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17579
17580         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17581
17582 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17583
17584         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17585
17586         * stl_string_fwd.h: add comment
17587
17588         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17589
17590         * tabular.h:
17591         * tabular.C: remove unused DocBook methods
17592
17593         * intl.C:
17594         * language.C:
17595         * paragraph.C:
17596         * buffer.C:
17597         killed DO_USE_DEFAULT_LANGUAGE
17598
17599 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17600
17601         * lyx_gui.C: do not include language.h.
17602
17603         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17604         arguments in function implementation.
17605
17606 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17607
17608         * BufferView_pimpl.C: add <ctime>
17609
17610 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17611
17612         * BufferView_pimpl.C: add using std::find_if
17613
17614 2001-02-27  José Matos  <jamatos@fep.up.pt>
17615
17616         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17617         by OnlyPath.
17618
17619 2001-02-11  José Matos  <jamatos@fep.up.pt>
17620
17621         * buffer.C (makeDocBookFile): command styles now have a parameter as
17622         "title" by default.
17623
17624 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17625
17626         * layout_forms.[Ch]: removed
17627         * lyx_cb.[Ch]: out character
17628         * lyx_gui.C: out character
17629         * lyx_gui_misc.C: out character
17630         * bufferview_funcs.C: : out character,
17631         added toggleall as parameter in ToggleAndShow
17632
17633 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17634
17635         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17636
17637         * text2.C (SetCurrentFont): Disable number property at boundary.
17638
17639 2001-02-26  Juergen Vigna  <jug@sad.it>
17640
17641         * lyxfunc.C (getStatus): added a string argument override function so
17642         that this is correctly called from LyXFunc::Dispatch if it contains a
17643         do_not_use_argument which is used!
17644         (Dispatch): added check for "custom" export and call appropriate func.
17645
17646 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17647
17648         * lyxrc.C: Add language_command_local, language_use_babel and
17649         language_global_options.
17650
17651         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17652
17653         * buffer.C (makeLaTeXFile): Use language_use_babel and
17654         language_global_options.
17655
17656 2001-02-23  Juergen Vigna  <jug@sad.it>
17657
17658         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17659         which works with LyXText and putted it inside BufferView. Here now we
17660         only call for that part the BufferView::Dispatch() function.
17661
17662         * BufferView.C (Dispatch): added.
17663
17664         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17665         functions which needs to use a LyXText over from LyXFunc.
17666         (MenuInsertLyXFile): added
17667         (getInsetByCode): added
17668         (moveCursorUpdate): added
17669         (static TEXT): added
17670
17671 2001-02-22  Juergen Vigna  <jug@sad.it>
17672
17673         * BufferView_pimpl.C (update): call a status update to see if LyXText
17674         needs it.
17675
17676 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17677
17678         * vc-backend.C (revert): implement for CVS
17679         (getLog): implement for CVS
17680
17681 2001-02-20  Juergen Vigna  <jug@sad.it>
17682
17683         * text2.C (ClearSelection): added BufferView param for inset_owner call
17684
17685         * lyxfunc.C (TEXT): added this function and use it instead of
17686         directly owner->view()-text of getLyXText().
17687
17688 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17689
17690         * src/layout_forms.C: out preamble
17691         * src/layout_forms.h: out preamble
17692         * src/lyx_cb.C: out preamble
17693         * src/lyx_cb.h: out preamble
17694         * src/lyx_gui.C: out preamble
17695         * src/lyx_gui_misc.C: out preamble
17696         * src/lyxfunc.C: connect with guii preamble
17697
17698 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17699
17700         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17701
17702 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17703
17704         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17705         whether to run bibtex.
17706
17707 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17708
17709         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17710
17711 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17712
17713         * Makefile.am (lyx_SOURCES): removed bibforms.h
17714
17715         * vspace.h: doxygen
17716
17717         * text.C (GetVisibleRow): make several local vars const
17718
17719         * tabular.C: small cleanup.
17720
17721         * lyxserver.C (callback): use compare instead of strncmp
17722
17723         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17724         inlines to after class or to paragraph.C
17725
17726         * lyxfont.h: remove friend operator!=
17727
17728         * converter.h: move friend bool operator< to non friend and after
17729         class def.
17730
17731         * combox.h: small cleanup
17732
17733         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17734         to inlines after class def.
17735
17736         * buffer.C (pop_tag): use string operations instead of strcmp
17737
17738         * bmtable.c: doxygen, small cleanup
17739
17740         * LaTeX.h: remove friend operator==
17741
17742 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17743
17744         * screen.C:
17745         * lyxrc.[Ch]:
17746         * lyxfunc.C:
17747         * lyxfont.[Ch]:
17748         * lyx_cb.C:
17749         * intl.[Ch]:
17750         * commandtags.h:
17751         * buffer.C:
17752         * WorkArea.[Ch]:
17753         * LyXAction.C:
17754         * BufferView_pimpl.C:
17755         * BufferView.[Ch]: remove cruft
17756
17757 2001-02-14  Juergen Vigna  <jug@sad.it>
17758
17759         * lyxfunc.C: removed #if 0 unused code
17760
17761         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17762
17763         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17764
17765         * text2.C (SetSelection): added a BufferView * parameter
17766
17767 2001-02-13  Juergen Vigna  <jug@sad.it>
17768
17769         * lyxfunc.C (Dispatch): fixed protected blank problem.
17770         * BufferView2.C (protectedBlank): added LyxText * parameter.
17771
17772         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17773         (AppendColumn): same as above for column_info.
17774
17775         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17776         (moveCursorUpdate): use a LyXText param for support of InsetText.
17777
17778         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17779         (tripleClick): ditto
17780
17781         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17782
17783         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17784
17785         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17786
17787         * text2.C (SetSelection): set correct update status if inset_owner
17788         (ToggleFree): ditto
17789
17790 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17791
17792         * tabular.C: remove some commented code.
17793
17794 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17795
17796         * BufferView_pimpl.C: call hideSplash()
17797
17798         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17799
17800         * include_form.h:
17801         * bibforms.h: remove
17802
17803         * lyxfunc.C:
17804         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17805           add LFUN_CHILD_CREATE
17806
17807         * counters.h: fix tiny typo
17808
17809         * lyx_cb.C:
17810         * lyx.h:
17811         * lyx_gui.C:
17812         * lyx.C: move splash to frontends/xforms/
17813
17814         * lyx_gui_misc.C: move Include and Bibform to frontends
17815
17816         * lyxvc.h: clarify comment
17817
17818         * vspace.C: tiny housekeeping
17819
17820 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17821
17822         * text.C (PrepareToPrint): RTL Fix.
17823
17824         * paragraph.C (GetUChar): New method.
17825         (String):  Use GetUChar.
17826
17827         * buffer.C (asciiParagraph): Use GetUChar.
17828
17829 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17830
17831         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17832
17833 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17834
17835         * buffer.h:
17836         * buffer.C: rename to getLogName(), handle
17837           build log / latex log nicely
17838
17839 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17840
17841         * MenuBackend.C:
17842         * MenuBackend.h: remove support for reference menuitem type.
17843
17844 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17845
17846         * BufferView_pimpl.C: housekeeping
17847         * BufferView_pimpl.h:
17848         * LyXView.h:
17849         * Makefile.am:
17850         * Timeout.C:
17851         * Timeout.h:
17852         * minibuffer.h: move Timeout GUI-I
17853
17854 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17855
17856         * lyxrc.C (read): Update converters data-structures.
17857
17858 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17859
17860         * LaTeX.h (operator!=): add operator != for Aux_Info
17861
17862 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17863
17864         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17865
17866         * LaTeXLog.C: deleted, useful code moved to Buffer
17867
17868         * buffer.h:
17869         * buffer.C: new function getLatexLogName()
17870
17871         * lyx_gui_misc.C:
17872         * lyx_gui.C:
17873         * lyxvc.C:
17874         * lyxvc.h:
17875         * lyxfunc.C: use frontends for LaTeX and VC logs
17876
17877 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17878
17879         * LaTeX.h: yet another std:: that Allan forgot.
17880
17881         * Variables.C (set): renamed from isset(), because this clashes
17882         with some HP-UX macros (grr).
17883
17884 2001-02-06  Allan Rae  <rae@lyx.org>
17885
17886         * LaTeX.h: Another bug fix.  Missing std:: this time.
17887
17888 2001-02-04  Allan Rae  <rae@lyx.org>
17889
17890         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17891         floats problem. I've left it commented out because it's not quite
17892         correct.  It should also test that the current object is a table or
17893         figure inset.  But I haven't gotten around to figuring out how to do
17894         that.  I *think* it'll be something like: "table" == inset.type()
17895
17896         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17897         bool.
17898
17899 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17900
17901         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17902         all the citation/databases/styles in the auxilary file.
17903         (run): Rerun latex if there was a babel language error.
17904
17905 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17906
17907         * text.C (Backspace): Preserve the font when changing newline char
17908         with a space.
17909         (BreakParagraph): If the cursor is before a space, delete the space.
17910
17911         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17912
17913 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17914
17915         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17916         new argument (code).
17917         (ChangeCitationsIfUnique): New method.
17918
17919         * paragraph.C (GetPositionOfInset): Handle bibkey.
17920
17921 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17922
17923         * BufferView_pimpl.h: change type of Position::par_pos to
17924         LyXParagraph::size_type.
17925
17926 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17927
17928         * BufferView_pimpl.C (savePosition, restorePosition): Write
17929         messages to minibuffer.
17930
17931 2001-01-28  José Matos  <jamatos@fep.up.pt>
17932
17933         * buffer.C (makeDocBookFile): adds support for document language.
17934         A silly restriction on the name of LatexCommand types where removed.
17935         Added support for CDATA sections, allows to chars unescaped, used
17936         among others in code, to avoid escape < and >.
17937
17938 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17939
17940         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17941         saved positions instrad of a stack. Furthermore, a position is
17942         stored using paragraph id/paragraph position.
17943
17944         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17945         Remove LFUN_REF_BACK.
17946
17947 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17948
17949         * converter.C (dvipdfm_options): New method.
17950
17951 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17952
17953         * vspace.C (isValidLength): Fix for empty input string.
17954
17955 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17956
17957         * LyXAction.C (init): change description of LFUN_FIGURE to
17958         "Insert Graphics"
17959
17960 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17961
17962         * LaTeX.C: add using directive
17963
17964 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17965
17966         * MenuBackend.C (expand): Fix the sorting of the formats.
17967
17968 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17969
17970         * lyx_main.C: tiny error message fix
17971
17972 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17973
17974         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17975         calling fl_initialize(). This fixes the problem with ',' as
17976         decimal separator in text files.
17977
17978 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17979
17980         * trans.C (process): Fix the keymap bug.
17981
17982 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17983
17984         * LaTeX.C (scanAuxFiles): New method. Provides support for
17985         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17986         (scanLogFile) Scan for "run BibTeX" messages.
17987
17988         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17989         OT1 font encoding. Also, load the aecompl package if the ae
17990         package is loaded.
17991
17992         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17993
17994 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17995
17996         * texrow.C (increasePos): turn two error messages into debug
17997         messages.
17998
17999 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18000
18001         * LaTeX.C (scanAux): Handle the \@input macro.
18002         (runBibTeX): Use scanAux().
18003
18004         * language.C (latex_options_): New field.
18005
18006         * LaTeXFeatures.C (getMacros): Add language macros.
18007
18008         * buffer.C (makeLaTeXFile): Small fix.
18009
18010 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18011
18012         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18013
18014         * text2.C: add a using directive.
18015
18016 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18017
18018         * BufferView2.C:
18019         * lyx_gui_misc.h:
18020         * lyxfr1.C:
18021         * lyxfunc.C: kill LyXBell.
18022
18023 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18024
18025         * text.C (IsBoundary): Remove the error message
18026
18027         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18028
18029         * lyxrc.C (setDefaults): Correct initialization value for
18030         font_norm_type.
18031
18032 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18033
18034         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18035         gotoError().
18036
18037         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18038         and GotoNextNote().
18039
18040         * src/LyXAction.C: Added reference-next.
18041
18042         * text.C (InsertChar): Use contains instead of strchr.
18043
18044         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18045
18046 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18047
18048         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18049         alignment commands (when needed).
18050
18051         * text.C (InsertChar): Add ':' to number separator chars.