]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
aa6f7ff96882b5d32ae1c74cc285125ca8c5dc4d
[lyx.git] / src / ChangeLog
1 2005-07-16  Juergen Vigna <jug@lyx.org>
2
3         * cursor.C (bruteFind2):
4         * bufferview_funcs.C (coordOffset): 
5         * text.C (cursorX,cursorY): Handle cursor position after last char
6         in row before a inset which uses a whole row.
7
8 2005-07-15  José Matos <jamatos@lyx.org>
9
10         * output_plaintext.[Ch] (writeFileAscii): control reference title
11         printing.
12         (asciiParagraph): noparbreak was already deal and was incorrectly
13         used.
14
15 2005-07-15  Juergen Vigna <jug@lyx.org>
16
17         * lyxfunc.C (dispatch): save and restore the cursor after a
18         textclass switch.
19
20 2005-07-15    <lgb@tandberg.net>
21
22         * text.C (backspace): bug 806 for empty keepempty paragraphs we
23         change the layout to default before letting DEPM do its thing.
24
25         * paragraph_funcs.C (breakParagraph): dont reset the layout on
26         keepEmpty paragraphs
27
28         * text.C (setCursorFromCoordinates): add a debug statement
29
30         * text2.C (getColumnNearX): bug 1825 make sure that we don't
31         return a pos that is not on the row
32
33         * output_latex.C (TeXDeeper): get rid of potential dereferencing
34         of past the end iterator
35
36 2005-07-14  André Pönitz  <poenitz@gmx.net>
37
38         * undo.C (recordUndoFullBuffer): implement undo for
39   textclass switches
40
41 2005-07-14  André Pönitz  <poenitz@gmx.net>
42
43         * cursor.C (setSelection): open insets when selection is set there
44   to avoid crashs with cold coord cache
45
46 2005-07-14  André Pönitz  <poenitz@gmx.net>
47
48         * trans_mgr.C (insert): move cursor to the right after inserting
49   a char.
50
51 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
52
53         * BufferView_pimpl.C (update): dampen some of the debug blabbering
54         * factory.C (readInset): ditto
55         * text.C, text2.C: ditto
56
57 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
58
59         * buffer.C: format incremented to 242. There is no file format per
60         se, but the "frenchb" language has been removed from lib/language
61         and has to be translated to "french" by lyx2lyx.
62
63 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
64
65         * cursor_slice.h, dociterator.h: add some documentation
66         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
67
68 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
69
70         * text.C (leftMargin): do not add identation to display() style
71         insets, because they are always centered (bug 1293).
72
73 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
74
75         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
76         formatted_time methods in support/lyxtime.
77
78 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
79
80         * toc.[Ch]: new method getGuiName, which is used by the frontends 
81         to set the toc combo (fixes bug 1870). Make TOC string translatable.
82
83 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
84
85         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
86         StableDocIterator const &)
87         * undo.C (recordUndo): use the above instead of cell.size() comparison
88         (fixes bug 1808; instructed by André).
89
90 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
91
92         * cursor_slice.h: 
93         * dociterator.h: Fix the assert when copying rows/cols in math
94
95 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
96
97         * BufferView_pimpl.C:
98         * LyXAction.C:
99         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
100
101         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
102         (findInset): new functions, refactored from goto Inset that return 
103         the position of a certain inset without setting the buffer's cursor
104         (by Jean-Marc); 
105         (gotoInset): rewrite to call findInset and then set the cursor
106         (by Jean-Marc).
107
108 2005-06-16  Angus Leeming  <leeming@lyx.org>
109
110         * lyxrc.C (output, read): wrap all input and output of paths with
111         calls to os::internal_path and os::external_path, respectively.
112         (output): wrap bind_file inside quotes.
113
114         * format.C (view): enable the viewer to use the '$$s' placeholder.
115
116 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
117
118         * LColor.[Ch] (getFromLaTeXName): new
119
120 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
121
122         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
123
124 2005-06-14  Angus Leeming  <leeming@lyx.org>
125
126         * lyx_main.C (init): ensure that the LyX binary dir is the first
127         element in the PATH on non-POSIX builds.
128
129 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
130
131         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
132
133 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
134
135         * rowpainter.C (paintInset, paintHebrewComposeChar)
136         (paintArabicComposeChar, paintChars): add a LyXFont argument.
137         (paintChars): use getFontSpan to reduce calls to getFont to a
138         minimum; use Paragraph::lookupChange instead of isXXXText.
139         (paintForeignMark): rename LyXFont argument.
140         (paintFromPos): pass a LyXFont object to the various paintXXX
141         methods.
142
143         * FontIterator.C (FontIterator, operator++): use
144         Paragraph::getFontSpan
145
146         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
147         version that returns the font span as a pair.
148
149 2005-06-09  Angus Leeming  <leeming@lyx.org>
150
151         * converter.C (convert): Don't forget "outfile = real_outfile" as
152         the final step in a conversion where the input and output file names
153         are the same. Otherwise, future conversion steps won't work...
154
155 2005-06-09  Angus Leeming  <leeming@lyx.org>
156
157         * lyxsocket.C: remove stub code as it isn't needed by
158         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
159
160 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
161
162         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
163         effectively disabled -x
164
165 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
166
167         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
168         when it actually makes sense.
169
170 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
171
172         * BufferView_pimpl.C: revert to showCursor in connection with
173         Lars's front-end stack
174
175 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
176
177         * text.C (redoParagraph): move cursor right after a bibitem
178         has been inserted.
179
180         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
181
182 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
183
184         * buffer_funcs.C (bufferErrors): fix computation of the end of an
185         error range.
186
187 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
188
189         * BufferView.[Ch] (update):
190         * BufferView_pimpl.[Ch] (update, metrics):
191         * dimension.h (operator==):
192         * lyxfunc.C (dispatch):
193         * metricsinfo.h (ViewMetricsInfo):
194         * rowpainter.C (paintText):
195         * lyxtext.h:
196         * text.C (redoParagraph):
197         * text3.C (dispatch): Make LyX only repaint current paragraph in
198         case of character insert --> speedup. Also fix cursor draw
199         artifacts
200
201 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
202
203         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
204         avoid a crash (bug 1891)
205
206 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
207
208         Fix bug 1892:
209
210         * text2.C (getStringToIndex): constify cur argument.
211
212         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
213         argument has been given
214         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
215         try to invoke LFUN_INSET_APPLY).
216
217         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
218         if no inset was created by doInsertInset
219         (doInsertInset): return true if an inset has been inserted.
220
221 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
222
223         * vspace.C (asGUIName): new method. A version of the space
224         suitable for showing on screen.
225
226 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
227
228         * MenuBackend.C:
229         * lyxrc.C: rename "ASCII" to "Plain Text"
230
231 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
232
233         * buffer_funcs.C (expandLabel): take a Buffer as argument;
234         translate the labelstring.
235         (setCounter): translate labelstring as needed.
236
237         * output_docbook.C (makeCommand): fix expandLabel invokation
238
239 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
240
241         * BufferView.C: fix dialog title
242
243 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
244
245         * lyx_main.C (priv_exec): fix logic error with help from Angus
246         * lyx_main.C (parse_execute): set is_gui = false and remove now
247         obsolete comment about a segfault
248
249 2005-05-18  Angus Leeming  <leeming@lyx.org>
250
251         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
252
253 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
254
255         * tabular.[hC]: added setCellInset to fix tabular paste.
256
257 2005-05-11  Lars Gullik Bjonnes  <larsbj@gullik.net>
258
259         * buffer.C (save): check if destination is writable before trying
260         to copy a file
261
262 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
263
264         * BufferView_pimpl.C (update): fix processEvents -caused update
265         recursion bug
266
267 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
268
269         * buffer_funcs.C (setCounter): fix test for numbering of
270         environments.
271
272         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
273         depth correctly; use optional argument when it exists
274
275         * lyxtextclass.C: remove unused MaxCounterTags enum
276         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
277         (max_toclevel, min_toclevel): new methods.
278
279         * MenuBackend.C (expandToc2): fix case where depth is smaller than
280         the smallest depth in toc.
281
282         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
283         layouts that should not appear in a table of contents.
284
285 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
286
287         * cursor.h (undispatched, noUpdate): add comments from André
288
289 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
290
291         * lfuns.h:
292         * LyXAction.C:
293         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
294
295 2005-05-07  André Pönitz  <poenitz@gmx.net>
296
297         * cursor.[Ch] (leaveInset): new function
298
299 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
300
301         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
302
303 2005-05-04  Angus Leeming  <leeming@lyx.org>
304
305         * lyxfunc.C (getStatus): disable the spell checker dialog if
306         none of USE_[AIP]SPELL are defined.
307
308 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
309
310         * tabular.C (setWidthOfCell): remove obsolete comment
311
312 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
313
314         * paragraph.C (bibitem):
315         * buffer_funcs.C (setCounter):
316         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
317
318 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
319
320         * text3.C (getStatus): immediately return after setOnOff
321
322         * rowpainter.C: fix drawing of appendix start
323
324 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
325
326         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
327         SwitchBetweenClasses and remove the unused return value.
328         Handle character styles, too
329
330 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
331
332         * factory.C (createInset): handle undefined character styles
333
334 2005-05-02  Angus Leeming  <leeming@lyx.org>
335
336         * buffer.C: protect the #include of utime.h with a preprocessor
337         guard.
338
339 2005-05-02  Angus Leeming  <leeming@lyx.org>
340
341         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
342         function so that auto-saving works, albeit in a blocking manner.
343
344         * Makefile.am: make compilation of the client sub directory, of
345         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
346         on conditionals set at configure time.
347
348         * SpellBase.[Ch]: no longer an abstract base class. Instead,
349         it can be compiled in its own right but has no-op functionality.
350
351         * aspell.C, pspell.C: remove preprocessor guards. The files should
352         be compiled only if the necessary functionality exists.
353
354         * lyxserver.C, lyxsocket.C: disable on Windows.
355
356 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
357
358         * text.C (leftMargin): Fix the parindent use bug (1764)
359         by dirty trick
360
361 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
362
363         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
364         argument.
365
366 2005-04-25  Angus Leeming  <leeming@lyx.org>
367
368         * Bidi.[Ch]:
369         * coordcache.[Ch]:
370         * ispell.C:
371         * lyxserver.C:
372         * mover.C:
373         * pch.h:
374         include <config.h> in .C files, not .h ones.
375         add licence blurb.
376         protect headers inside preprocessor guards.
377
378 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
379
380         * FuncStatus.h (StatusCodes): document
381
382 2005-04-21  André Pönitz  <poenitz@gmx.net>
383
384         * FuncStatus.h (enabled, onoff): document
385
386 2005-04-19  Angus Leeming  <leeming@lyx.org>
387
388         * BufferView_pimpl.C (cursorToggle): no longer test whether
389         any child processes have been reaped before calling
390         handleCompletedProcesses().
391
392 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
393
394         * text3.C (dispatch): fix, finally fix, the language problem in
395         new lyxtexts, without disabling on-the-fly font changes (Helge's
396         bug report)
397
398 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
399
400         * text3.C (dispatch): set cursor on double/triple click events
401         (bug 1811)
402
403 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
404
405         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
406         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
407
408         * rowpainter.C (paintFirst): simplify the code a little bit. In
409         particular, remove the test for secnumdepth.
410         * text.C (setHeightOfRow): only allocate space for chapter number
411         when updateCounters provided an actual label, instead of looking
412         at secnumdepth directly.
413
414         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
415
416         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
417         paragraphs when secnumdepth is large enough or, for environments,
418         when they are not the first in a sequence.
419
420 2005-04-17  Angus Leeming  <leeming@lyx.org>
421
422         * buffer.C (makeLaTeXFile): replace code to manipulate a path
423         containing space and '~' characters with a call to latex_path().
424
425 2005-04-17  Angus Leeming  <leeming@lyx.org>
426
427         * converter.C (convert): protect all args of convertDefault.sh
428         script with quotes.
429
430 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
431
432         * text3.C (dispatch): change the layout to "Caption" after inserting
433         a float.
434
435 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
436
437         * text3.C (dispatch): fix language problem in newly created
438         textinsets (and main text) in non-english docs
439
440 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
441
442         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
443         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
444         * text3.C (getStatus): disable LFUN_INSET_MODIFY
445
446 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
447
448         * lyxtext.h:
449         * text.C (metrics):
450         * text2.C (getFont):
451         * rowpainter.C (getFont): Fix metrics bug introduced by inset
452         fonts fix
453
454 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
455
456         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
457         output of \item arguments without trailing text.
458
459 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
460
461         * FontIterator.C (operator*): avoid a copy of the font.
462
463 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
464
465         * rowpainter.C (getFont): fix language bug from previous fix
466
467 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
468
469         * rowpainter.C (RowPainter, getFont): fix font inside inset
470         (bugs 1766, 1809)
471
472 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
473
474         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
475         preventing inserted font, deco, delim insets jumping to start of
476         surrounding inset.
477
478 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
479
480         * lyxfunc.C (dispatch): translate message before sending it to the
481         minibuffer.
482
483 2005-03-29  Angus Leeming  <leeming@lyx.org>
484
485         * lyx_main.C (priv_exec): call os::internal_path on each file passed
486         to LyX on the command line.
487
488 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
489
490         * vc-backend.C: use QuoteName to protect file names wherever
491         necessary.
492
493 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
494
495         * buffer.[Ch]:
496         * BranchList.h: fix bugs 1844,1845: document settings don't
497         stick
498
499 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
500
501         * lyxrc.C (setDefaults, read, output, getDescription): add support
502         for tex_allows_spaces.
503
504         * exporter.C (Export): allows files in directory containing spaces
505         if tex_allows_spaces is true.
506
507         * buffer.C (makeLaTeXFile): if the document path contains spaces,
508         output it in double quotes.
509
510 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
511
512         * rowpainter.C: use default text height for drawing change tracker
513         strikeout lines.
514
515 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
516
517         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
518
519 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
520
521         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
522         directory is missing.
523
524 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
525
526         * text2.C: fixed the fix, extended to other case.
527
528 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
529
530         * text2.C: fix for cursor up/down stuck in math [bug 1792]
531
532 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
533
534         * text2.C (cursorUp): get rid of a crash
535         * text.C (x2pos): add an assert
536
537 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
538
539         * lyxfunc.C (getStatus): fix warning when assertions are disabled
540
541         * text3.C:
542         * lyxfunc.C:
543         * dociterator.C: include <boost/current_function.hpp>, which is
544         needed when assertions are disabled.
545
546 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
547
548         * text2.C: fix for stuck cursor when traversing two
549         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
550
551 2005-02-25  Andreas Vox  <avox@arcor.de>
552
553         * output_docbook.C (makeParagraph): suppress trailing newline
554         after a run of paragraphs
555
556 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
557
558         * paragraph.C: fix for confused change tracker when pasting
559         text that begins with a lineseparator. [bug 1827]
560         (setChange(0, Change::INSERTED);)
561
562         * paragraph_funcs.C: fix for lost changes on triple-paste
563         in change tracking mode [bug 1827] (par.setChange()).
564
565 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
566
567         * text2.C (updateCounters, setCounter, expandLabel): move to
568         buffer_funcs.
569
570         * buffer_funcs.C (updateCounters): turn into a free standing
571         function and add a buffer parameter. Remove dead code for tracking
572         labelstring change.
573         (setCounter): change into a free-standing function which gets a
574         dociterator as argument. Use this iterator to fix captions in a
575         simple way. When no float is found above the caption, use the
576         labelstring of the caption layout as default.
577
578         * text.C (breakParagraph, backspace):
579         * text2.C (init, setLayout, changeDepth):
580         * text3.C (dispatch):
581         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
582         updateCounters.
583
584         * dociterator.C (forwardPar): make it much faster by calling
585         forwardPos() only when really necessary.
586
587         * output_docbook.C (makeCommand): adapt to expandLabel move.
588
589         * cursor.C: remove unused variable
590
591 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
592
593         * paragraph_funcs.C: fix crash when pasting insets in change
594         tracking mode [bug 1277] (honour change type in moveItem).
595
596 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
597
598         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
599
600 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
601
602         * BufferView.C (setCursor): change to use a DocIterator.
603         (gotoLabel): use BufferView::setCursor (other part of bug 781).
604         (putSelectionAt): adapt to BufferView::setCursor change.
605
606         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
607         moved here from LyXText and rewritten to use proper cursor
608         methods. Fixes bug 1787, 616 and 835.
609
610         * BufferView_pimpl.C (restorePosition): set the cursor correctly
611         when inside an inset (part of bug 781).
612         (dispatch): adapt to change of BufferView::setCursor.
613         (getStatus, dispatch): handle LFUN_GOTOERROR,
614         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
615
616         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
617         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
618         * text3.C (gotoNextInset, gotoInset): removed.
619
620 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
621
622         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
623
624 2005-02-15  Angus Leeming  <leeming@lyx.org>
625
626         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
627         can be used meaningfully in a comparison.
628
629 2005-02-13  André Pönitz  <poenitz@gmx.net>
630
631         * bufferview_funcs.C (coordOffset): improve cursor drawing
632
633 2005-02-13  André Pönitz  <poenitz@gmx.net>
634
635         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
636         * Cursor.C (dispatch): use fixIfBroken
637         * lyxfunc.C (getStatus): use fixIfBroken
638
639 2005-02-15  Angus Leeming  <leeming@lyx.org>
640
641         * lyx_main.C (error_handler):
642         * lyxfunc.C:
643         * lyxrc.C (setDefaults):
644         s/GetEnv/getEnv/.
645         #include "environment.h".
646
647         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
648
649 2005-02-15  Angus Leeming  <leeming@lyx.org>
650
651         * lyxserver.C (startPipe): squash MSVC warning "local variable
652         'fd' used without having been initialized".
653
654 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
655
656         * BufferView_pimpl.C: revert accidental commit.
657
658 2005-02-14  André Pönitz  <poenitz@gmx.net>
659
660         * dociterator.[Ch]: new member forwardPosNoDescent(),
661         which doesn't enter nested insets.
662         * text2.C (setFont): use forwardPosNoDescent() instead
663         of ForwardPos() (fixes crash on font change).
664
665 2005-02-13  Angus Leeming  <leeming@lyx.org>
666
667         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
668         only if lyxrc.path_prefix is not empty.
669
670 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
671
672         * bufferparams.C (readGraphicsDriver): prevent crash
673
674 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
675
676         * text2.C (setCounter): check for inInset() == 0
677
678 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
679
680         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
681         but use update() to get correct screen display; use convert
682         instead of istringstream.
683         (getStatus): handle LFUN_GOTO_PARAGRAPH
684
685         * lyxfunc.C (dispatch, getStatus): do not handle
686         LFUN_GOTO_PARAGRAPH here.
687
688 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
689
690         * text3.C (dispatch): size() -> depth()
691
692         * text2.C: remove some debug output
693
694         * paragraph.C: ws changes only
695
696         * lyxfunc.C (getStatus): size() -> depth()
697
698         * dociterator.h (clear, push_back, pop_back, internalData,
699         operator[], resize, empty): new functions
700         Make StableDocIterator and operator== be friends. Don't inherit
701         from std::vector use a privat class variable slices_ instead.
702         Modify to fit.
703
704         * dociterator.C: update because of not inheriting from std::vector
705         anymore. Call explictly to slices_ instead. Use depth() instead of
706         size() and top() instead of back()
707
708         * cursor.C: chagne size() -> depth and back() -> top(). Also
709         remove some direct operator[](i) calls in favour of foo[i]
710         (getFont): remove some dead code
711
712         * bufferview_funcs.C (coordOffset): size() -> depth()
713
714         * buffer.C: ws changes only
715
716         * CutAndPaste.C (eraseSelection): back() -> top()
717
718         * BufferView_pimpl.C (selectionRequested): back() -> top()
719
720         * BufferView.C (setCursor): size() -> depth()
721
722 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
723
724         * text3.C (cursorPrevious): return true if depm changed something
725         (cursorNext): ditto
726         (dispatch): rename sl to oldTopSlice, remove moving use the new
727         NoUpdate func attrib instead. Make sure that needsUpdate is set
728         for function that have NoUpdate, but where depm might have changed
729         the buffer anyway.
730
731         * text2.C (cursorLeft): make us return true if depm changed
732         something
733         (cursorRight): ditto
734         (cursorUpParagraph): ditto
735         (curosrDownParagraph): ditto
736         (cursorUp, cursorDown): ditto, make sure to read comments in code
737         (deleteEmptyParagraphMechanism): remove an assert, also return
738         true if just a single char was deleted.
739
740         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
741         cursor that we modify, to avoid modifying an active cursor before
742         we call setCursor. This allows depm to run. Also return true if
743         depm deleted something.
744
745         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
746         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
747         cursorDownParagraph, cursorPrevious and cursorNext, return true if
748         something was changed in the buffer because of them (ie. depm run)
749
750         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
751         debug messages. Make update by default be false. Make sure that
752         the result of update is retained throught several calls down to
753         dispatch.
754
755         * LyXAction.h: add a new func_attrib: NoUpdate
756
757         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
758         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
759         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
760         and LFUN_WORDLEFT
761         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
762
763 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
764
765         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
766         bv_->owner(), bv_->buffer() by direct references to the private
767         members.
768         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
769         (getStatus): isSavedPosition() is in BufferView::Pimpl.
770         (fitCursor): center() is in BufferView::Pimpl.
771         (getStatus, trackChanges, dispatch): no need for a temporary buf
772         variable
773         (fitCursor, workAreaDispatch): use workarea().workheight()
774
775 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
776
777         * CutAndPaste.C (pasteSelectionHelper): fix a crash
778
779 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
780
781         * buffer.C: format up to 241.
782         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
783         break if pasting into ERT
784         * lyxfunc.C (getStatus): suppress mathpanel and
785         LFUN_DIALOG_SHOW_NEW_INSET in ERT
786
787 2005-02-01  Angus Leeming  <leeming@lyx.org>
788
789         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
790
791 2005-02-01  Angus Leeming  <leeming@lyx.org>
792
793         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
794         calling fs::is_directory().
795
796 2005-01-31  Angus Leeming  <leeming@lyx.org>
797
798         * lyx_main.C (priv_exec): specify explicitly the relative location
799         of the top level build directory when run in-place.
800
801 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
802
803         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
804         LyXText containing the cursor, not the top-level one.
805
806         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
807         true.
808         (insertStringAsLines): rename par to pit; use temporary variable
809         par to hold a Paragraph; do not store par.layout() in a variable,
810         since the pointer may die when breaking paragraphs; pass pars to
811         breakParagraph() instead of Buffer::paragraphs().
812
813 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
814
815         * lyxlex_pimpl.h: #include <fstream>.
816
817         * BufferView.[Ch] (getLyXText): add a const version.
818
819         * BufferView_pimpl.C: add debug aids.
820
821         * RowList_fwd.h:
822         * buffer.h:
823         * lyxrow.h:
824         * paragraph_funcs.h: add commentary explaining what the class does.
825
826
827         * coordcache.[Ch]: add lots of commentary.
828         (startUpdating, doneUpdating): debug aids.
829         (arrays, insets, parPos, getParPos): accessors to private data.
830
831         * cursor_slice.[Ch] (text): add a const version.
832         * dociterator.[Ch] (text, innerText): add const versions.
833
834         * lyxtext.h (breakParagraph): change the keep_layout arg to a
835         bool.
836
837         * paragraph.C (getRow, pos2ros): add asserts.
838
839         * paragraph.h: add commentary. Lots of.
840
841         * paragraph.[Ch] (metrucs, draw): removed.
842
843         * cursor.C:
844         * rowpainter.[Ch]: const-correct changes.
845
846         * text.C: various obvious clean-ups. Removal of ancient cruft.
847         Bug fixes, even.
848
849 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
850
851         * vc-backend.C (find_file): rewrite to use boost.filesystem
852         (scanMaster): ditto
853
854         * main.C (main): set default name check for boost.filesystem to
855         no check
856
857         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
858         (open): ditto
859         (doImport): ditto
860         (actOnUpdatedPrefs): ditto
861
862         * lyx_main.C (init): rewrite to use boost.filesystem
863         (queryUserLyXDir): ditto
864
865         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
866         (getContentsOfAsciiFile): ditto
867
868         * lastfiles.C (readFile): rewrite to use boost.filesystem
869
870         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
871
872         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
873         (loadLyXFile): ditto
874
875         * buffer.C (Buffer): adjust for destroydir
876         (getLogName): rewrite to use boost.filesystem
877         (setFileName): ditto
878         (save): use fs::copy_file (from fs_extras)
879
880         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
881
882         * LaTeX.C (run): rewrite to use boost.filesystem
883         (scanAuxFiles): ditto
884         (handleFoundFile): ditto
885
886 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
887
888         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
889
890         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
891
892 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
893
894         * lyxlayout.[Ch]: change some vars from float to double
895
896         * buffer.C (readFile): make a local var const
897
898         * Several files: use convert<> instead of atoi,strToXXX and friends
899
900 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
901
902         * LaTeXFeatures.[Ch]: Add a static list packages_ that
903         holds the contents of packages.lst. New functions getAvailable
904         and isAvailable to parse and check that list, resp.
905
906         * LyXAction.C:
907         * lfuns.h:
908         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
909
910         * bufferparams.[Ch]: new param output_changes.
911
912         * Buffer.C: increase file format to 240.
913         Use output_changes and isVailable.
914
915         * changes.[Ch]:
916         * paragraph.C:
917         * paragraph_pimpl.C: Use output_changes and isVailable.
918
919 2005-01-23  Angus Leeming  <leeming@lyx.org>
920
921         * output_latex.C: #include "insetbibitem.h", rather than
922         forward declare function bibitemWidest.
923
924 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
925
926         * lyx_main.C (init): make it compile on the Mac.
927
928 2005-01-20  Angus Leeming  <leeming@lyx.org>
929
930         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
931         (setLyXMisc): (char string literal) != (char string literal) is
932         performing a comparison on the addresses. Convert one operand
933         explicitly to string to guarantee expected behaviour.
934         From MSVC warning.
935
936 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
937
938         * buffer.C:
939         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
940
941         * output_plaintext.C: remove unneeded #include gzstream.h.
942
943 2005-01-20  Angus Leeming  <leeming@lyx.org>
944
945         * SpellBase.h: rename some of the elements of the Result enum.
946
947         * aspell_local.h:
948         * ispell.h:
949         * pspell.h:
950         * aspell.C (check):
951         * ispell.C (check):
952         * pspell.C (check): ditto
953
954 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
955
956         * buffer.C: add #include <fstream>.
957
958         * lyx_main.C (init): Compile fix.
959
960         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
961
962 2005-01-20  Angus Leeming  <leeming@lyx.org>
963
964         * mover.h: change commentary to reflect the changed meaning of
965         the $$s placeholder.
966
967 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
968
969         * output_linuxdoc.C (linuxdocParagraphs): silence warning
970
971         * lyxfind.C (MatchString::operator()): remove bogus semicolon
972
973 2005-01-20  Angus Leeming  <leeming@lyx.org>
974
975         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
976         printing diagnostic data by not dereferecing an iterator past the
977         end.
978
979 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
980
981         * buffer.C (readHeader): use "&&" rather than "and".
982
983         * lyxserver.h (inPipeName, outPipeName): make these const.
984
985 2005-01-19  Angus Leeming  <leeming@lyx.org>
986
987         * lyx_main.C (error_handler, init): protect SIGHUP with
988         #ifdef SIGHUP guards.
989
990 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
991
992         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
993
994 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
995
996         * text.C (setHeightOfRow): add a margin at the top and bottom of
997         the document (bug 1761)
998
999 2005-01-17  Angus Leeming  <leeming@lyx.org>
1000
1001         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1002         with "python ". Workaround for a brain-dead Windows.
1003
1004 2005-01-16  Angus Leeming  <leeming@lyx.org>
1005
1006         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1007         for MacOSX and Windows to use prependEnvPath.
1008         Strip out the hard-coded block to add elements to the PATH for
1009         MacOSX and replace it with a call to prependEnvPath using the
1010         contents of LyXRC::path_prefix.
1011         (queryUserLyXDir): strip out the code to run reconfigure, instead
1012         returning a boolean indicating the necessity to do so.
1013         (reconfigureUserLyXDir): contains the code to reconfigure the
1014         user support directory. Is now called after the various LyXRC data
1015         files have been read.
1016
1017         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1018
1019 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1020
1021         * converter.[Ch] (convert): take a new parameter try_default. Use
1022         a default converter (imagemagick) if try_default is true.
1023
1024 2005-01-13  Angus Leeming  <leeming@lyx.org>
1025
1026         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1027         os::cygwin_path_fix.
1028         (write): output LyXRC::cygwin_path_fix as necessary.
1029
1030 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1031
1032         * lyxrc.h:
1033         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1034
1035 2005-01-12  Angus Leeming  <leeming@lyx.org>
1036
1037         * lyx_main.C (init): set the PATH variable to include the
1038         directory containing the LyX binary when running on Mac or Windows.
1039
1040 2005-01-12  Angus Leeming  <leeming@lyx.org>
1041
1042         * lyx_main.C (init): remove cruft that purports to set the locale
1043         dir. It doesn't and is not needed anyway.
1044
1045 2005-01-10  Angus Leeming  <leeming@lyx.org>
1046
1047         * Makefile.am: remove the lyx_main.C special casing.
1048
1049         * BufferView_pimpl.C:
1050         * bufferlist.C:
1051         * exporter.C:
1052         * lyx_cb.C:
1053         * lyx_main.C:
1054         * lyxfunc.C:
1055         * messages.C: use support/package.h to provide the paths to the
1056         various directories used by LyX.
1057
1058 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1059
1060         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1061         layout if pasting into an empty paragraph)
1062
1063 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1064
1065         * tex-accent.C: add <string>
1066
1067 2005-01-06  José Matos  <jamatos@lyx.org>
1068
1069         * ParagraphParameters.C (write): put every parameter in its own line.
1070         * paragraph.C (write): reduce number of consecutive empty lines exported.
1071         * buffer.C (LYX_FORMAT): increase file format to 239.
1072
1073 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1074
1075         * everywhere: change support/tostr.h -> support/convert.h
1076
1077         * tabular.C: make all write_attributes templates, tostr -> convert
1078
1079         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1080         (emptyTag): and -> &&, and fix type for ret from getChar
1081         (getFirstWord): fix type for ret from getChar
1082         (onlyText): and -> &&
1083         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1084         getChar
1085
1086         * toc.C (goTo, action):
1087         * text3.C (dispatch):
1088         * text.C (currentState):
1089         * tex-accent.C (DoAccent):
1090         * sgml.C:
1091         * lyxrc.C:
1092         * lyxfunc.C (menuNew):
1093         * lyxfinc.C (replace):
1094         * counters.C (laberItem):
1095         * bufferview_funcs.C (font2string):
1096         * bufferparams.C (writeFile):
1097         * buffer.C (readFile):
1098         * Spacing.C (set):
1099         * MenuBackend.C: tostr -> convert
1100
1101         * LaTeX.C (runMessage): fix format
1102         (scanAuxFiles): tostr -> convert
1103
1104         * BufferView_pimpl.C (savePosition): fix format
1105         (restorePosition): ditto
1106         (dispatch): ditto
1107
1108 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1109
1110         * Spacing.[Ch]: New method getValueAsString().
1111
1112         * Spacing.[Ch]:
1113         * bufferparams.C:
1114         * ParagraphParameters.C:
1115         * lyxlayout.C:
1116         * text.C:
1117         * text3.C: store/read spacing value as string.
1118
1119         * rowpainter.C: change float value (spacing_val) to double.
1120
1121         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1122         broken custom document spacing).
1123
1124 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1125
1126         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1127         namespace, also more use of temp references and const
1128
1129         * cursor.[Ch] (getStatus): move to lyxfunc.C
1130
1131         * bufferparams.C: reformat slightly
1132
1133         * bufferview_funcs.C (font2string): constify arg
1134
1135         * changes.C:
1136         * converter.C:
1137         * counters.C:
1138         * bufferlist.C:
1139         * buffer_funcs.C: (many funcs): constify arg on function
1140         definitions, also make more local vars const, also add ASSERTS on
1141         pointer args.
1142
1143         * buffer.C (LYX_FORMAT): put const in correct place
1144         (many funcs): constify arg on function definitions, also make
1145         more local vars const
1146
1147         * aspell_local.h: remove "struct" from typdef setup
1148
1149         * aspell.C (check): make word_ok const
1150         (nextMiss): simplify slightly
1151         (error): ditto
1152
1153 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1154
1155         * lyxrc.[Ch]: store all float values as strings.
1156         use int (not float) for lyxrc.dpi.
1157
1158 2005-01-04  Angus Leeming  <leeming@lyx.org>
1159
1160         * lyx_cb.C (Reconfigure):
1161         * lyx_main.C (queryUserLyXDir):
1162         to run the <system_lyxdir>/configure correctly on Windows, prefix
1163         the path to the script with "sh " when generating the string that
1164         is passed to system().
1165
1166 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1167
1168         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1169
1170 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1171
1172         * lyxlength.C (asLatexString): get rid of setprecision
1173
1174 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1175
1176         * text2.C (setLayout): remove unused variable endpit.
1177         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1178
1179         * paragraph.C (onlyText): remove unused variable style.
1180
1181         * cursor.C (bruteFind): remove unused variables beg and end.
1182
1183         * Makefile.am (dist_noinset_DATA): not needed anymore
1184
1185         * cheaders/*: remove.
1186
1187 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1188
1189         * text3.C: fix LFUN_MATH_MODE.
1190
1191 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1192
1193         * buffer_funcs.C (countWords): new function. Counts words between
1194         two iterators.
1195
1196         * BufferView_pimpl.C (getStatus, dispatch): handle
1197         LFUN_WORDS_COUNT.
1198
1199         * LyXAction.C (init):
1200         * lfuns.h: add LFUN_WORDS_COUNT.
1201
1202 2004-12-19  Angus Leeming  <leeming@lyx.org>
1203
1204         * buffer.C (save): s/slashify_path/internal_path/.
1205
1206 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1207
1208         * lyxfind.C (findChange): do not search for end of pars, because
1209         the change tracker cannot handle this (fixes bug 1719).
1210
1211 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1212
1213         * paragraph.[Ch] (autoBreakRows): remove
1214
1215         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1216
1217         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1218         avoid using the paragraph one
1219
1220         * text2.C (LyXText, insertStringAsLines): adjust
1221
1222 2004-12-16  Angus Leeming  <leeming@lyx.org>
1223
1224         * bufferlist.C:
1225         * lyx_main.C:
1226         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1227
1228 2004-12-14  Angus Leeming  <leeming@lyx.org>
1229
1230         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1231
1232         * bufferlist.C (emergencyWrite):
1233         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1234         GetEnvPath("HOME").
1235
1236 2004-12-14  Angus Leeming  <leeming@lyx.org>
1237
1238         * main.C: (main): no longer pass pointers to os::init.
1239
1240 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1241
1242         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1243         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1244
1245 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1246
1247         * lyxfunc.C:
1248         * text3.C: remove selection_possible global flag
1249
1250 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1251
1252         * text2.C (getSelectionSpan): remove
1253         (changeDepth, changeDepthAllowed): adjust
1254
1255 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1256
1257         * Makefile.am (BOOST_LIBS): use boost variables
1258
1259 2004-12-03  José Matos  <jamatos@lyx.org>
1260
1261         * buffer.C: format up to 238.
1262
1263 2004-12-03  José Matos  <jamatos@lyx.org>
1264
1265         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1266
1267 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
1268
1269         * cursor.C (goUpDown): remove call to idxUpDown2
1270
1271 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1272
1273         * tabular.[Ch]: use size_t-like types for cell, row and column
1274         indices
1275
1276 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1277
1278         * lyxfunc.C (getStatus): do not lose previous information when
1279         calling BufferView::getStatus; do not set a default "Command
1280         disabled" message at the beginning, but just before returning.
1281
1282 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1283
1284         * cursor.h (getStatus): add better comment from src/cursor.C
1285
1286 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1287
1288         * text3.C (getStatus): return false when the lfun is not handled
1289
1290 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1291
1292         * broken_headers.h: remove
1293
1294         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1295
1296 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1297
1298         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1299         offset_ref accessors
1300
1301         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1302         top_y_, merge fitcursor with update
1303         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1304         coord scheme
1305         (metrics): introduce
1306         (workAreaDispatch): adapt to new coord scheme
1307         (redoCurrentBuffer): remove
1308
1309         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1310
1311         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1312         CurStatus enum.
1313
1314         * coordcache.[Ch]: add paragraph cache and helpers
1315
1316         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1317         adjust everywhere
1318
1319         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1320         (targetX, setTargetX): introduce
1321
1322         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1323         baseline -> ascent, as the rest of lyx
1324
1325         * lyxtext.h: remove redoParagraphs, updateParPositions,
1326         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1327         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1328         have ascent/descent (ascent is ascent of first par)
1329
1330         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1331         step of BufferView
1332
1333         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1334
1335         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1336
1337         * pariterator.C: fix infinite loop introduced in par->pit renaming
1338
1339         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1340         in insets and LyXText, draw two off-screen paragraphs using
1341         NullPainter, and adapt to new coord scheme
1342
1343         * text.C:
1344         * text2.C:
1345         * text3.C: adapt lfun handlers to the new coord scheme, which
1346         means: there's only guaranteed coord information for onscreen pars
1347         plus one above and one below. This implies that one can do search
1348         from y coordinates in the range [-1,workHeight]
1349
1350 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1351
1352         * rename a lot of InsetOld to InsetBase
1353
1354 2004-11-25  Angus Leeming  <leeming@lyx.org>
1355
1356         * BufferView_pimpl.C:
1357         * lyx_cb.C:
1358         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1359
1360 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1361
1362         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1363         call BufferView::getStatus if LCursor::getStatus did nothing
1364         (setStatusMessage, getStatusMessage): removed.
1365
1366         * FuncStatus.C (message): new methods. Used to provide an error
1367         message indicating why a command is disabled.
1368         (clear, |=, FuncStatus): update for message.
1369
1370 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1371
1372         * lyxfunc.C (dispatch): always call sendDispatchMessage
1373
1374 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1375
1376         * BufferView.C:
1377         * BufferView_pimpl.C:
1378         * CutAndPaste.C:
1379         * FontIterator.C:
1380         * buffer.C:
1381         * cursor.C:
1382         * cursor_slice.[Ch]:
1383         * dociterator.[Ch]:
1384         * lyxfind.C:
1385         * paragraph_funcs.C:
1386         * pariterator.C:
1387         * rowpainter.C:
1388         * text.C:
1389         * text2.C:
1390         * text3.C:
1391         * undo.C: par->pit renaming
1392
1393 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1394
1395         * tabular.C (cellstruct): use initialization, store a shared_ptr
1396         to insettext instead of the insettext directly, adjust to fit.
1397         (operator=):  new function
1398         (swap): new function
1399         (rowstruct): use initialization
1400         (columnstruct): use initialization
1401         (ltType): use initialization
1402
1403
1404         * lyxlength.h (swap): new function
1405
1406         * LColor.[Ch] (operator=): use the common semantics
1407
1408 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1409
1410         * lyxfind.C (findNextChange): update the bufferview after setting
1411         the selection.
1412
1413 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1414
1415         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1416         number of InsetOptArgs has already been inserted.
1417
1418         * output_latex.C (latexOptArgInsets): new method. This outputs all
1419         the optarg insets, up to the limit defined in the layout file.
1420         (optArgInset): removed
1421         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1422
1423 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1424
1425         * paragraph.C (isLetter): remove special spellchecker-related
1426         code; return true also for digits
1427         (isWord, isKomma): remove
1428
1429         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1430         * lyxfind.C (MatchString()): use isLetter instead of isWord
1431
1432 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1433
1434         * pariterator.h (operatir=): comment out un-implemented member
1435         function.
1436
1437         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1438         static cast.
1439
1440 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1441
1442         * lyxfont.h: include LColor.h to satisfy concept checks.
1443
1444 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1445
1446         * pariterator.h: add typdefs for value_type, difference_type,
1447         pointer and reference to satisfy concept checks. Also add default
1448         constructor for same reason.
1449
1450         * pariterator.C (operator++): add post-increment operator to
1451         satisfy concept checks.
1452
1453         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1454         checks.
1455
1456         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1457
1458         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1459         checks. Also rename base_type to BaseType to follow naming
1460         standard better.
1461
1462         * FloatList.h: include Floating.h to satisfy concept checks.
1463
1464 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1465
1466         * lyxfunc.C (getStatus): when the origin of the request is menu or
1467         toolbar, and the LyXView does not have focus, do as if there was
1468         no buffer (bug 1720)
1469
1470         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1471         FuncRequest to individual entries of LFUN_SEQUENCE
1472
1473 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1474
1475         * output_latex.C (TeXOnePar): override runparams.moving_arg
1476         according to the needprotect value of the current paragraph (bug
1477         1739)
1478
1479         * paragraph.C (simpleTeXOnePar): no need to override
1480         runparams.moving_args here
1481
1482 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1483
1484         * vspace.C: fix off-by-one-error, related to fix #1682
1485
1486 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1487
1488         * lengthcommon.C: a more general fix for bug 1682
1489
1490 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1491
1492         * text.C (backspace): fix crash
1493
1494 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1495
1496         * format.[Ch] (getFormatFromFile): new method
1497         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1498
1499 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1500
1501         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1502
1503 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1504
1505         * lyxfunc.C (dispatch): remove the verbose argument
1506         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1507         instead
1508
1509         * kbmap.C (defkey): set the origin of func to KEYBOARD
1510
1511         * MenuBackend.C (MenuItem):
1512         * ToolbarBackend.C (add): set the origin of func to UI
1513
1514         * funcrequest.[Ch]: add origin member, which indicates which part
1515         of LyX requests an action
1516
1517 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1518
1519         * converter.C (move): don't lie in the error message
1520         * converter.h (isReachable, move): document
1521
1522 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1523
1524         * buffer.C: remove unused using lyx::support::atoi
1525         * paragraph_funcs.C: ditto
1526
1527 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1528
1529         * bufferlist.C (exists): use bind and equal_to instead of
1530         compare_memfun
1531         (getBuffer): ditto
1532         * lyxtextclasslist.C (NumberOfClass): ditto
1533
1534         * cursor.C (insert): use for_each instead of explicit for loop
1535
1536         * bufferlist.C (getFileNames): use std::transform and
1537         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1538
1539         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1540         for loop
1541
1542         * buffer.C (changeLanguage): use for_each instead of explicit for
1543         loop
1544         (hasParWithID): implement using getParFromID
1545
1546         * LaTeXFeatures.C: ws change only
1547
1548         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1549         to cleanup a bit.
1550
1551         * BufferView_pimpl.C (trackChanges): use for_each instead of
1552         expilicit for loop
1553
1554 2004-11-04  André Pönitz  <poenitz@gmx.net>
1555
1556         * undo.h:
1557         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1558
1559         * dociterator.C (asDocIterator): use hard assert again.
1560
1561 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1562
1563         * lyxlength.C (asLatexString): rewrite so that it does not use
1564         snprintf anymore
1565
1566 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1567
1568         * text3.C (specialChar, dispatch): make sure cursor moves to the
1569         right after inserting an inset
1570
1571 2004-11-02  José Matos  <jamatos@lyx.org>
1572
1573         * output_docbook.C (docbook):
1574         * paragraph.C (getID):
1575         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1576         garantee that the output is always legal.
1577
1578         * tabular.C (docbook):
1579         * outputprams.[Ch]: remove mixed contents.
1580
1581 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1582
1583         * text2.C (setCounter): prevent endless loop
1584
1585 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1586
1587         * exporter.C (copyFile): use the mover instead of support::copy()
1588         * exporter.C (Export): pass format and latex name to copyFile()
1589         * exporter.h (addExternalFile): document
1590         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1591
1592 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1593
1594         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1595
1596 2004-10-30  José Matos  <jamatos@lyx.org>
1597
1598         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1599         text and no inset or font change. This allows to use CDATA
1600         sections just for the whole paragraph.
1601
1602 2004-10-30  José Matos  <jamatos@lyx.org>
1603
1604         * paragraph.C (getFirstWord): remove unused variable.
1605
1606 2004-10-30  José Matos  <jamatos@lyx.org>
1607
1608         * paragraph.C (getFirstWord): the content should always be escaped
1609         there.
1610         (simpleDocBookOnePar):
1611         * output_docbook.C (makeEnvironment): replace reference to CDATA
1612         to style pass_thru.
1613
1614 2004-10-30  José Matos  <jamatos@lyx.org>
1615
1616         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1617
1618 2004-10-30  José Matos  <jamatos@lyx.org>
1619
1620         * output_docbook.C (makeParagraphs):
1621         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1622         standard paragraph has only a given type of content drop the wrapper.
1623
1624 2004-10-29  José Matos  <jamatos@lyx.org>
1625
1626         * output_docbook.C (makeEnvironment):
1627         * sgml.C (openTag):
1628         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1629
1630 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1631
1632         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1633         (cleanID): sanitize any id.
1634
1635 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1636
1637         * buffer.C, lyxlex_pimpl.C:
1638         * lyxlex_pimpl.C (setFile):
1639         s/getExtFromContents/getFormatFromContents/
1640
1641 2004-10-28  José Matos  <jamatos@lyx.org>
1642
1643         * output_docbook.C (makeEnvironment): move id to broadest possible
1644         scope.
1645
1646         * sgml.C (openTag): apply substitution of <> for all attributes.
1647
1648 2004-10-28  José Matos  <jamatos@lyx.org>
1649
1650         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1651         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1652         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1653
1654         * sgml.[Ch]: new version for open and closeTag for paragraph and
1655         for strings. Now they handle the ids of paragraphs.
1656
1657 2004-10-26  Angus Leeming  <leeming@lyx.org>
1658
1659         * Makefile.am: add mover.[Ch].
1660
1661         * converter.C (convert, move): use the new Movers to move external
1662         files to the temp directory.
1663
1664         * lyx_main.C (init): ensure that the global system_movers data
1665         is initialised.
1666
1667         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1668         preferences file.
1669
1670         * mover.[Ch]: new files, defining a Mover as a utility to move an
1671         external file between directories and, if necessary, manipulate this
1672         file using a helper script.
1673
1674 2004-10-25  José Matos  <jamatos@lyx.org>
1675
1676         * output_docbook.C (makeCommand): merge two if's that tested the
1677         same condition.
1678
1679 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1680
1681         * sgml.C (escapeString): fix warning in a better way
1682
1683 2004-10-25  José Matos  <jamatos@lyx.org>
1684
1685         * sgml.C (escapeString): import the require boosts header file for
1686         tie, and avoid a signed unsigned comparison.
1687
1688 2004-10-25  José Matos  <jamatos@lyx.org>
1689
1690         * sgml.h: add #include <string>
1691
1692 2004-10-25  José Matos  <jamatos@lyx.org>
1693
1694         * sgml.[Ch] (escapeString): new function to escape all the string.
1695
1696 2004-10-24  José Matos  <jamatos@lyx.org>
1697
1698         * paragraph.[Ch] (getFirstWord): new function to get the first
1699         word. Useful for description.
1700         (simpleDocBookOnePar): remove depth argument, add another that
1701         says where to start the paragraph.
1702
1703         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1704         use the new functions to fix cleanly the support for descriptions.
1705
1706 2004-10-24  José Matos  <jamatos@lyx.org>
1707
1708         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1709         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1710         * output_linuxdoc.C (linuxdocParagraphs):
1711         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1712         add buffer as argument.
1713
1714 2004-10-24  José Matos  <jamatos@lyx.org>
1715
1716         * output_docbook.C (makeEnvironment, searchEnvironment): place
1717         CDATA inside paragraphs and fix scope for listitems.
1718
1719 2004-10-24  José Matos  <jamatos@lyx.org>
1720
1721         * output_docbook.C: remove using statement for stack.
1722
1723 2004-10-23  José Matos  <jamatos@lyx.org>
1724
1725         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1726         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1727         docbook. The new scheme is recursive and makes use of iterators, the
1728         same as latex export works.
1729         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1730         directly with the paragraph contents. This code was moved up to
1731         output_docbook.C (docbookParagraphs).
1732         * sgml.C (openTag, closeTag): removed unneeded newlines.
1733         (closeEnvTags) removed.
1734
1735 2004-10-23  André Pönitz  <poenitz@gmx.net>
1736
1737         * undo.C (textUndoOrRedo):
1738         * dociterator.C (asDocIterator): work around crash
1739
1740         * cursor.C (getStatus): replace ASSERT by more verbose error message
1741           and manual correction of the problem. Should increase stability
1742           while providing more sensible information.
1743
1744 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1745
1746         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1747
1748         * bufferlist.C (previous, next): new methods
1749
1750         * lfuns.h:
1751         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1752
1753 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1754
1755         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1756         entities to preamble.
1757
1758 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1759
1760         * messages.C (Pimpl): strip off translation context information
1761
1762 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1763
1764         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1765         the cursor is correct (bug 1694)
1766
1767 2004-10-13  José Matos  <jamatos@lyx.org>
1768
1769         * output_docbook.C (docbookParagraphs): fix closing tags in the
1770         end of the document.
1771
1772 2004-10-09  José Matos  <jamatos@lyx.org>
1773
1774         * buffer.C: format up to 237.
1775         * bufferparams.C (write): use tostr to convert booleans to strings.
1776
1777 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1778
1779         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1780
1781 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1782
1783         * LaTeX.C: implement use of babel language in xindy.
1784
1785 2004-10-05  José Matos  <jamatos@lyx.org>
1786
1787         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1788         Add new translators to help reading and writing the lyx file.
1789
1790 2004-10-05  José Matos  <jamatos@lyx.org>
1791
1792         * ParagraphParameters.C (read):
1793         * text.C (readParToken): replace nexToken by more appropriate lex
1794         methods.
1795
1796 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1797
1798         * LaTeX.C (runMakeIndex):
1799         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1800         (usually 'makeindex') configurable.
1801
1802         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1803         with a variable rather than with a number.
1804
1805 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1806
1807         * output_latex.C (TeXOnePar): make sure font setting is the first
1808         thing that gets output (and the last at the end). Should fix bug
1809         1404.
1810
1811 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1812
1813         * pch.h: use proper signal include
1814
1815         * LaTeX.h: Use preferred calling of Boost.Signal
1816         * buffer.h: ditto
1817
1818 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1819
1820         * pch.h: dont include <boost/function/function0.hpp>
1821
1822         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1823
1824         * paragraph_pimpl.h: remove usage of ShareContainer
1825
1826         * paragraph_pimpl.C: remove initialization of ShareContainer.
1827
1828 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1829
1830         Fix bug #1666
1831
1832         * BufferView.C (putSelectionAt): change the semantics when
1833         backwards == true: now, this just swaps cursor and anchor wrt the
1834         forward case
1835
1836         * BufferView.h (putSelectionAt): add some documentation
1837
1838         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1839         make sure backwardChar is done at least once (to avoid getting
1840         stuck)
1841         (findNextChange): use putSelectionAt in the forward direction
1842         (operator()): use Paragraph::isWord
1843
1844 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1845
1846         * Spacing.C (set): c_str fix
1847
1848 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1849
1850         * lyx_cb.C (Reconfigure): quote the name of configure script in
1851         case it contains spaces
1852
1853 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1854
1855         * client: new dir
1856
1857         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1858         (BOOST_LIBS): use top_buildir when looking for the file
1859
1860 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1861
1862         * pch.h: do not use include boost/format.hpp, multiple symbols
1863                 will result (gcc bug)
1864
1865
1866 2004-08-23  José Matos  <jamatos@lyx.org>
1867
1868         * bufferparams.C (readToken): fix reading of the author field.
1869
1870 2004-08-20  José Matos  <jamatos@lyx.org>
1871
1872         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1873
1874 2004-08-20  José Matos  <jamatos@lyx.org>
1875
1876         * lyxlex.[Ch] (findToken): remove function.
1877
1878         * ParagraphParameters.C (findToken):
1879         * bufferparams.C (findToken): replace call for previous function
1880         with local copy. This local function has one more argument, the
1881         read string argument.
1882
1883 2004-08-16  José Matos  <jamatos@lyx.org>
1884
1885         * ParagraphParameters.C (write):
1886         * Spacing.C (writeFile):
1887         * bufferparams.C (writeLaTeX):
1888         * lyx_cb.C (Reconfigure):
1889         * paragraph.C (write):
1890         * tabular.C (write): remove unnecessary space at end of line.
1891
1892
1893 2004-08-16  José Matos  <jamatos@lyx.org>
1894
1895         * text.C (readParagraph): remove debug message.
1896
1897 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1898
1899         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1900         crash
1901
1902         * output_plaintext.C (asciiParagraph): set depth correctly
1903
1904         * outputparams.h: add member depth
1905
1906         * paragraph_funcs.C (ownerPar): remove.
1907
1908         * text2.C (setCounter): remove first_pit; comment out some
1909         non-working code that uses ownerPar
1910
1911         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1912         uses ownerPar
1913
1914 2004-08-16  José Matos  <jamatos@lyx.org>
1915
1916         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1917         For the same level of importance use the same chanel to report problems.
1918         (read): add code to deal with \begin_body and \end_body.
1919
1920
1921 2004-08-15  José Matos  <jamatos@lyx.org>
1922
1923         * lyxlex.C (getString): fix comment, buffer::readBody is now
1924         buffer:readDocument.
1925
1926         * tex-strings.C (string_papersize): Default -> default,
1927         Custom -> custom, for consistency with other options.
1928
1929 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1930
1931         * pch.h: new file
1932
1933         * Makefile.am: support pch
1934
1935 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1936
1937         * text.C (readParToken): remove the static LyXFont variable and
1938         pass it as a parameter instead. This fixes a nasty bug where an
1939         inset will be inserted with a bad font in some situations
1940         (readParagraph): adapt
1941
1942         * text2.C (setCounter): reduce number of calls to pars_[pit]
1943
1944         * text.C (singleWidth): add an assert, fix a test
1945
1946         * rowpainter.C (paintText): reduce number of calls to singleWidth
1947
1948         * paragraph.C (isHfill):
1949         (isNewline): ws only
1950
1951 2004-08-14  André Pönitz  <poenitz@gmx.net>
1952
1953         * text.C:
1954         * text2.C:
1955         * rowpainter.C:
1956         * lyxtext.h (several functions): use a Paragraph & argument
1957         instead of par_type
1958
1959 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1960
1961         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1962
1963         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1964
1965         * text.C (singleWidth): remove useless test
1966
1967 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1968
1969         * tabular.h: remove bogus comments
1970
1971         * tabular.C (getDescentOfRow):
1972         (isPartOfMultiColumn): add assertions
1973
1974         * lyxlength.C (inPixels): remove #warning
1975
1976 2004-08-14  André Pönitz  <poenitz@gmx.net>
1977
1978         * paragraph.h: inline getChar()
1979
1980         * BufferView.h: remove unused declarations
1981
1982 2004-08-14  José Matos  <jamatos@lyx.org>
1983
1984         * Buffer.[Ch] (readDocument): new name for old readBody.
1985         * Buffer.C: new file format, new keywords: \begin_document,
1986         \begin_header, \begin_body, \end_body.
1987
1988         * bufferparams.C (readToken): replace all calls to lex.nextToken
1989         by lex.next(). Do the same to eatLine except where really needed.
1990
1991         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1992         line when writing to the lyx file.
1993
1994         * output_plaintext.C (asciiParagraph): fix Bibliography style
1995         handling.
1996
1997         * text.C (read): fix end of file handling.
1998
1999 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2000
2001         * MenuBackend.C (Menu::operator[]): new method to access
2002         individual menu items
2003         (Menu::hasFunc): new method. search for an item that corresponds
2004         to a given func
2005         (MenuBackend::specialMenu): new method
2006         (MenuBackend::expand): if a special menu has been set, skip
2007         entries whose func() appears in this menu
2008
2009 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
2010
2011         * text3.C: use Debug::DEBUG a bit more
2012
2013         * text.C (leftMargin): try to simplify a tiny bit change var x to
2014         l_margin. Dont output the wide margins always.
2015         (rightMargin): no margin in inner texts
2016
2017         * rowpainter.h (nestMargin): new func
2018         (changebarMargin): new func
2019         (rightMargin): new func
2020
2021         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2022         now functions.
2023         (paintLast): ditto
2024
2025         * factory.C (createInset): modify setDrawFrame
2026
2027         * cursor.C: use Debug::DEBUG a bit more
2028
2029 2004-08-14  André Pönitz  <poenitz@gmx.net>
2030
2031         * coordcache.[Ch]:
2032         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2033         cache for all insets in (at least partially) visible (top-level)
2034         paragraphs.
2035
2036         * BufferView_pimpl.C: reset external coord cache before every update.
2037         This means the coord cache only contains valid entries.
2038
2039 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
2040
2041         bug 1096
2042         * BufferView_pimpl.C (getInsetByCode): move function out of class
2043         and change in to a template in anon namespace. Also fix to do what
2044         suits us better.
2045
2046 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
2047
2048         bug 1305
2049         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2050         of char
2051         (breakParagraph): rename par to par_offset and use a local
2052         reference. Add code to keep the language over a rebreak.
2053         (breakParagraphConservative): rename par to par_offset, use a
2054         local reference
2055         (mergeParagraph): ditto
2056         (outerHook): ditto
2057         (isFirstInSequence): ditto
2058         (outerFont): rename pit to par_offset
2059
2060         * paragraph.C: ws change
2061         * paragraph.h: ditto
2062         * text3.C: ditto
2063         * text.C: ditto
2064
2065 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2066
2067         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2068         treatment for ']'
2069
2070         * paragraph.C (simpleTeXOnePar): when we have a \item with
2071         optional argument, enclose the argument with curly brackets (in
2072         case it contains a closing square bracket)
2073
2074         * text2.C (editXY):
2075         * text2.C (editXY):
2076         * text3.C (checkInsetHit): constify
2077
2078 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2079
2080         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2081         documents (bug 1629)
2082
2083 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2084
2085         Fix toggling of collapsable insets with the mouse (bug 1558)
2086
2087         * lyxfunc.C (dispatch): adapt to LCursor changes
2088
2089         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2090         make sure that dispatch is not invoked twice
2091
2092         * cursor.C (needsUpdate): new method
2093         (dispatch): return void
2094         (result): new method, to access the DispatchResult of the cursor.
2095
2096 2004-08-13  José Matos  <jamatos@lyx.org>
2097
2098         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2099
2100 2004-08-13  André Pönitz  <poenitz@gmx.net>
2101
2102         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2103
2104         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2105           multiple cells
2106
2107 2004-08-12  André Pönitz  <poenitz@gmx.net>
2108
2109         * text3.C: take out the 'cursor right' form insertInset and only
2110         do it in those places when it is really needed. Fixes crash on
2111         C-m...
2112
2113 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2114
2115         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2116
2117         * BufferView_pimpl.C (setBuffer): initialize the current font of
2118         the underlying LyXText
2119
2120 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2121
2122         * kbsequence.C (print): use UI native formatting for menu
2123         shortcuts
2124
2125         * text.C (insertChar): call Paragraph::insertChar with a font
2126         argument (cosmetic)
2127
2128         * paragraph.C (insertInset, insertChar): the version that takes a
2129         LyXFont argument is now a wrapper around the other one (the
2130         opposite used to be true).
2131
2132         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2133         argument. Font setting is done in Paragraph now.
2134
2135 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2136
2137         * outputparams.h: add new members intitle and lang.
2138
2139         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2140         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2141
2142 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2143
2144         * text3.C (dispatch): remove special handling of button 4 and 5,
2145         it is now taken care of in the frontend code.
2146
2147 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2148
2149         * Spacing.h: add <string> (STLPort compile fix)
2150
2151 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2152
2153         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2154
2155 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
2156
2157         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2158         to bool.
2159
2160         * converter.C (showMessage): inherit from unary_function, make
2161         operator() const.
2162
2163         * buffer.C (writeFile): initialize retval
2164
2165         * InsetList.h: rename private variable list to list_
2166         * InsetList.[Ch]: adjust accordingly.
2167
2168 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
2169
2170         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2171         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2172         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2173         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2174         * ParagraphParameters.C, LaTeXFeatures.C: replace
2175         "support/std_sstream.h" with <sstream>
2176
2177 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
2178
2179         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2180         * lyxsocket.C (LyXServerSocket): ditto
2181         (serverCallback): ditto
2182
2183 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2184
2185         * LaTeXFeatures.C: check release date when loading jurabib.
2186
2187 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2188
2189         * lyxserver.C (startPipe): call register_socket_callback
2190         (endPipe): call unregister_socket_callback
2191
2192 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
2193
2194         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2195         (LyXServerSocket): register the callback
2196         (LyXServerSocket): unregister the callback
2197         (fd): delete function
2198         (serverCallback): improve error checking and setup the callbacks.
2199         (dataCallback): change arg to fd.
2200         (writeln): new func (copied fro the client socket) used for server
2201         write to client.
2202         (LyXDataSocket): simplify
2203         (~LyXDataSocket): close ann unregiser callback
2204         (server): delete function
2205         (fd): delete function
2206         (readln): small changes, improve some std::string usage
2207         (writeln): constify a bit
2208
2209 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2210
2211         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2212         Qt frontend
2213
2214 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2215
2216         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2217         after it has been populated
2218
2219 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2220
2221         * text2.C (insertInset): move cursor when inserting inset.
2222
2223 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2224
2225         * kbmap.C (findbindings): a couple of new methods. returns a
2226         container of kb_sequence objects. The real work is done by the
2227         private recursive version
2228         (printbindings): uses findbindings to print out a bracketed list
2229         of bindings (renamed from findbinding).
2230
2231         * MenuBackend.C (binding): use kb_keymap::findbindings
2232
2233         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2234
2235 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2236
2237         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2238
2239 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2240
2241         * paragraph.C (isWord): return true on insets that report
2242         isLetter().
2243
2244         * text.C (getWord): use Paragraph::isWord to decide what is in a
2245         word and what is not; fix bug 1609.
2246
2247 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2248
2249         * tex-strings.C: add "none" to string_paperpackages[], fixes
2250         off-by-one-error in the paperpackage selection.
2251
2252         * lyxlex.[Ch]:
2253         * tex-strings.[Ch]: char const * string[n]
2254         -> char const * const string[]
2255
2256 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2257
2258         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2259         command, return early.
2260
2261 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
2262
2263         * debug.h: add DEBUG to enum and fix size of ANY.
2264
2265         * debug.C: add support for Debug::DEBUG
2266         (showTags): cast errorTags.level to unsigned int
2267
2268         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2269         (redoCurrentBuffer): ditto
2270         (updateScrollbar): ditto
2271         * cursor.C (dispatch): ditto
2272         * text2.C (setLayout): ditto
2273         (setFont): ditto
2274         (updateCounters): ditto
2275         (editXY): ditto
2276         (deleteEmptyParagraphMechanism): ditto
2277
2278 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
2279
2280         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2281         annotations to cleanup the Makefile slightly.
2282
2283 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2284
2285         * lyxrc.C: do not set user_email to a default value but use empty
2286         instead. The entry used to be translated, which does not work
2287         since at the point where lyxrc is constructed there is no
2288         translation service available
2289
2290         * messages.C (getLocaleDir): remove and use directly
2291         lyx_localedir() instead
2292
2293 2004-06-02  Angus Leeming  <leeming@lyx.org>
2294
2295         Fix crash caused by dereferencing null pointer 'exportdata' in
2296         OutputParams by creating a new ExportData variable on the heap,
2297         storing it in a boost::shared_ptr.
2298         The crash was triggered when generating an Instant Preview
2299         of an external inset.
2300
2301         * Makefile.am: add outputparams.C
2302
2303         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2304         (c-tor): allocate memory to it.
2305
2306         * exporter.C (c-tor): associated changes.
2307
2308 2004-06-01  Angus Leeming  <leeming@lyx.org>
2309
2310         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2311         contains data before calling isInset(0). (Bug 1513.)
2312
2313 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2314
2315         * exporter.C (checkOverwrite): new method
2316         * exporter.C (copyFile): new method
2317         * exporter.C (Export): copy referenced files to the document dir
2318         * exporter.[Ch]: new class ExportedFile
2319         * exporter.[Ch]: new class ExportData. Contains currently the
2320         names of referenced external files
2321         * outputparams.h: add exportdata member.
2322
2323 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2324
2325         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2326         version.C-tmp
2327
2328 2004-05-19  Angus Leeming  <leeming@lyx.org>
2329
2330         * LaTeXFeatures.C:
2331         * ToolbarBackend.C:
2332         * bufferparams.C:
2333         * lyxfunc.C: small changes due to the introduction of namespace
2334         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2335
2336 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2337
2338         * text3.C (dispatch): supress update when only moving the cursor
2339         * cursor.C (selHandle): remove commented code
2340
2341 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2342
2343         * paragraph.C (startTeXParParams): correct column count
2344         * CutAndPaste.C (pasteSelection): remove const_cast
2345         * output_docbook.C (docbookParagraphs): remove const_cast
2346         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2347         const_cast and return ParagraphList::const_iterator
2348         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2349         * output_plaintext.C (writeFileAscii): remove const_cast
2350         * paragraph.[Ch] (simpleTeXOnePar): make const
2351         * paragraph_funcs.C (outerPar): use const iterators
2352         * paragraph_pimpl.C (validate): use const iterators
2353         * text.C (setHeightOfRow): use const iterators
2354
2355 2004-05-17  Angus Leeming  <leeming@lyx.org>
2356
2357         * lfuns.h:
2358         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2359
2360         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2361         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2362         if the citation engine has changed.
2363
2364 2004-05-14  José Matos  <jamatos@lyx.org>
2365
2366         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2367         if the textclass does not provide it. Have it different for sgml and
2368         xml.
2369         support the language of document.
2370         * output_docbook.C (docbookParagraphs):
2371         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2372         first anchor as the id of the paragraph, remove special case code.
2373         * sgml.C (escapeChar): escape only < & >.
2374
2375 2004-05-14  Angus Leeming  <leeming@lyx.org>
2376
2377         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2378         dependencies on src/frontends/controllers/biblio.h. Define a
2379         CiteEngine_enum wrapper class to enable the enum to be forward
2380         declared.
2381
2382 2004-05-12  Angus Leeming  <leeming@lyx.org>
2383
2384         * buffer.C: up LYX_FORMAT to 234.
2385         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2386         use_numerical_citations with a single biblio::CiteEngine cite_engine
2387         variable.
2388         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2389
2390 2004-05-13  José Matos  <jamatos@lyx.org>
2391
2392         * converter.h:
2393         * converter.C (Converter, readFlags): add xml member.
2394         * outputparams.h: add XML flavor.
2395         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2396
2397 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2398
2399         * lyxfunc.C (dispatch):
2400         (getStatus): fix handling of LFUN_SEQUENCE
2401
2402 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2403
2404         * debug.C (showLevel): do not forget the end-of-line marker
2405
2406 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2407
2408         * kbmap.C (read): do not stop parsing a bind file when an error
2409         occurs (bug 1575)
2410
2411 2004-04-29  Angus Leeming  <leeming@lyx.org>
2412
2413         * cursor.C:
2414         * factory.C:
2415         * pariterator.C:
2416         * text2.C: wrap a bunch of #warning statements
2417         inside #ifdef WITH_WARNINGS blocks.
2418
2419 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2420
2421         * buffer.C: increment format to 233.
2422
2423 2004-04-28  Angus Leeming  <leeming@lyx.org>
2424
2425         * BufferView_pimpl.C:
2426         * lyxfunc.C:
2427         * text3.C:
2428         s/updateToolbar()/updateToolbars()/
2429         s/Toolbar.h/Toolbars.h/
2430
2431 2004-04-28  Angus Leeming  <leeming@lyx.org>
2432
2433         * BufferView.[Ch] (c-tor):
2434         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2435         No longer passes these data to the WorkArea generator.
2436
2437 2004-04-28  Angus Leeming  <leeming@lyx.org>
2438
2439         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2440
2441 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2442
2443         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2444
2445 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2446
2447         * output_latex.C (TeXEnvironment): make sure that there is a line
2448         break before \end{foo} for the last paragraph of a document
2449         (TeXOnePar): if the paragraph is at the end of the document (or
2450         inset) and the language has to be reset, then make sure that the
2451         line break is _before_ the language command, not after (fixes bug
2452         1225); also make sure that the language reset command is the first
2453         thing after the paragraph (to ensure proper nesting of
2454         environments and thus fix bug 1404)
2455
2456 2004-04-21  John Levon  <levon@movementarian.org>
2457
2458         * ToolbarBackend.h:
2459         * ToolbarBackend.C: make "name" be a programmatic name
2460         and a gui_name field.
2461
2462         * lyxfunc.C: display the minibuffer on M-x
2463
2464 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2465
2466         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2467         (bug 1526)
2468
2469 2004-04-19  Angus Leeming  <leeming@lyx.org>
2470
2471         * BufferView_pimpl.C (setBuffer): changed preview interface.
2472
2473         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2474         possible values.
2475
2476 2004-04-19  John Levon  <levon@movementarian.org>
2477
2478         * BufferView_pimpl.C:
2479         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2480
2481 2004-04-05  Angus Leeming  <leeming@lyx.org>
2482
2483         * text.C (redoParagraphs): add call to updateCounters(), thereby
2484         fixing the missing "Figure #:" label from the caption of a
2485         figure float.
2486
2487 2004-04-13  Angus Leeming  <leeming@lyx.org>
2488
2489         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2490         cursor is clicked out of an inset.
2491
2492 2004-04-13  Angus Leeming  <leeming@lyx.org>
2493
2494         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2495         than an InsetOld one.
2496
2497 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2498
2499         * format.[Ch]: add editor to Format
2500         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2501         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2502
2503 2004-04-08  André Pönitz  <poenitz@gmx.net>
2504
2505         * metricsinfo.h: remove PainterInfo::width member
2506
2507 2004-04-08  Angus Leeming  <leeming@lyx.org>
2508
2509         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2510         "\providecommand" rather than "\newcommand", thereby preventing
2511         clashes with packages that define "\boldsymbol" themselves.
2512         Eg, beamer.
2513
2514 2004-04-08  Angus Leeming  <leeming@lyx.org>
2515
2516         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2517         thereby squashing an unnecessary warning.
2518
2519 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2520
2521         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2522         setBuffer()
2523
2524 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2525
2526         * BufferView.C (setCursor): call redoParagraph (some insets could
2527         have been opened)
2528         (putSelectionAt): remove the 'double update' trick
2529
2530         * BufferView_pimpl.C (fitCursor): call refreshPar
2531         (workAreaDispatch): remove an uneeded update call
2532         (dispatch): remove some manual update calls
2533
2534         * cursor.[Ch]: remove cached_y_, updatePos
2535         (selHandle): set noUpdate when appropriate
2536
2537         * lyxfunc.C (dispatch): track if we need an update
2538
2539         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2540
2541         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2542         (paintSelection): cheap optimization, do not call cursorX when not
2543         needed
2544         (paintPars): change signature
2545         (refreshPar): add
2546         (paintText): adjust
2547         (paintTextInset): adjust
2548
2549         * text.C: adjust
2550
2551 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2552
2553         * lengthcommon.C: compilation fix: remove explicit array size from
2554         unit_name[] and friends
2555
2556 2004-04-05  Angus Leeming  <leeming@lyx.org>
2557
2558         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2559
2560         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2561         present only for the preferences dialog.
2562         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2563
2564 2004-04-05  Angus Leeming  <leeming@lyx.org>
2565
2566         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2567         to enable the frontends to export changes to lyxrc correctly.
2568
2569         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2570
2571 2004-04-07  André Pönitz  <poenitz@gmx.net>
2572
2573         * cursor.[Ch] (selClear, adjust): remove math
2574
2575         * cursor_slice.C: more agressive assert
2576
2577         * lyxfunc.C:
2578         * BufferView_pimpl.C: rework mouse event dispatch
2579
2580         * dociterator.C:
2581         * paragraph.C:
2582         * text2.C:
2583         * text3.C: adjust
2584
2585 2004-04-05  André Pönitz  <poenitz@gmx.net>
2586
2587         * cursor.[Ch] (valign, halign...): remove unneeded functions
2588
2589 2004-04-05  Angus Leeming  <leeming@lyx.org>
2590
2591         * lyxlength.[Ch] (unit_name et al.): const-correct.
2592
2593 2004-04-05  Angus Leeming  <leeming@lyx.org>
2594
2595         * BufferView_pimpl.C:
2596         * buffer.C:
2597         * counters.C:
2598         * cursor.C:
2599         * lyxfunc.C
2600         * paragraph.C:
2601         * pariterator.C:
2602         * text.C:
2603         * text2.C:
2604         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2605
2606 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2607
2608         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2609
2610 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2611
2612         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2613         * BufferView_pimpl.[Ch] (getStatus)
2614         * BufferView.[Ch] (getStatus): add
2615         * lyxfunc.C (getStatus): move lfuns handled in
2616         BufferView::dispatch to te function above
2617         * Cursor.C (setSelection): set selection() = true
2618
2619 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2620
2621         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2622
2623 2004-03-31  Angus Leeming  <leeming@lyx.org>
2624
2625         * lyxfunc.C (dispatch): Fall through to the generic
2626         Dialogs::show("preamble").
2627
2628 2004-03-31  Angus Leeming  <leeming@lyx.org>
2629
2630         * lyxfunc.C (dispatch): Fall through to the generic
2631         Dialogs::show("spellchecker").
2632
2633 2004-03-31  Angus Leeming  <leeming@lyx.org>
2634
2635         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2636         preferences dialog.
2637
2638 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2639
2640         * BufferView.C
2641         * cursor.[Ch]
2642         * dociterator.[Ch]:
2643         * insetiterator.[Ch]:
2644         * lyxfind.C:
2645         * lyxfunc.C:
2646         * pariterator.[Ch]:
2647         * text2.C:
2648         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2649
2650 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2651
2652         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2653         insets where we are putting the cursor.
2654
2655 2004-03-31  Angus Leeming  <leeming@lyx.org>
2656
2657         * lfuns.h:
2658         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2659
2660         * lyxrc.[Ch] (read, write): overloaded member functions taking
2661         a std::[io]stream arguments.
2662
2663         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2664
2665 2004-03-31  Angus Leeming  <leeming@lyx.org>
2666
2667         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2668         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2669
2670         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2671         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2672
2673 2004-03-31  Angus Leeming  <leeming@lyx.org>
2674
2675         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2676         the LFUN_ALL_INSETS_TOGGLE code.
2677
2678 2004-03-30  Angus Leeming  <leeming@lyx.org>
2679
2680         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2681         has died. Fall through to the generic Dialogs::show("document").
2682
2683 2004-03-30  Angus Leeming  <leeming@lyx.org>
2684
2685         * lfuns.h:
2686         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2687         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2688
2689         * lyxfunc.C (getStatus, dispatch): define the actions for these
2690         lfuns. Little more than a cut and pste job from ControlDocument.C
2691
2692         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2693
2694 2004-03-30  Angus Leeming  <leeming@lyx.org>
2695
2696         * lfuns.h:
2697         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2698         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2699
2700         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2701         open/closed state of ollapsable insets. Usage:
2702
2703         all-inset-toggle <state> <name>, where
2704         <state> == "open" || "closed" || "toggle" and
2705         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2706
2707         * lyxtext.h, text2.C (toggleInset): removed.
2708
2709         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2710         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2711         now passes LFUN_INSET_TOGGLE to the found inset.
2712
2713         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2714         is now invoked as "all-insets-toggle toggle branch".
2715
2716 2004-03-30  Angus Leeming  <leeming@lyx.org>
2717
2718         * dociterator.C:
2719         * insetiterator.C:
2720         * pariterator.[Ch]: added/corrected header blurb.
2721
2722 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2723
2724         * dociterator.[Ch]: add an inset_ member
2725         (backwardPos): implemented
2726         (backwardPos, forwardPos): use inset_ when the stack is empty.
2727         (doc_iterator_begin, doc_iterator_end): implemented
2728         * pariterator.[Ch]: adjust, add begin, end
2729         * insetiterator.[Ch]: adjust, add begin, end
2730         * cursor.C:
2731         * document.C:
2732         * BufferView.C:
2733         * BufferView_pimpl.C:
2734         * CutAndPaste.C: adjust
2735
2736 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2737
2738         * buffer.C: increment file format to 232.
2739         * LaTeXFeatures.C: add bibtopic package.
2740         * bufferparams.[Ch]: param \use_bibtopic.
2741
2742         * lyxrc.[Ch]: add lyxrc bibtex_command
2743         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2744
2745         * buffer.C: increment file format to 231.
2746
2747 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2748
2749         * dociterator.C: implement forwardPar
2750         * iterators.[Ch]: remove, replaced by
2751         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2752         * BufferView.C:
2753         * BufferView_pimpl.C:
2754         * CutAndPaste.C:
2755         * buffer.C:
2756         * bufferview_funcs.C:
2757         * cursor.C:
2758         * lyxfind.C
2759         * lyxfunc.C
2760         * paragraph_funcs.C
2761         * toc.C:
2762         * Makefile.am: adjust
2763
2764 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2765
2766         * CutAndPaste.C (pasteSelection): fix 2 crashes
2767         (eraseSelection): fix a crash
2768         * paragraph_funcs.C: remove a warning
2769
2770 2004-03-28  Angus Leeming  <leeming@lyx.org>
2771
2772         * lfuns.h:
2773         * LyXAction.C (init): new LFUN_PRINT.
2774
2775         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2776
2777 2004-03-27  Angus Leeming  <leeming@lyx.org>
2778
2779         * lfuns.h:
2780         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2781
2782         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2783
2784 2004-03-27  Angus Leeming  <leeming@lyx.org>
2785
2786         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2787         insetlist always contains non-null pointers to insets.
2788
2789 2004-03-26  Angus Leeming  <leeming@lyx.org>
2790
2791         * src/BufferView_pimpl.C:
2792         * src/CutAndPaste.C:
2793         * src/buffer.C:
2794         * src/iterators.C:
2795         * src/output_plaintext.C:
2796         * src/outputparams.h:
2797         * src/paragraph_funcs.C:
2798         * src/rowpainter.C:
2799         * src/text.C:
2800         * src/text2.C:
2801         * src/frontends/controllers/ControlErrorList.C:
2802         * src/frontends/gtk/FileDialogPrivate.C:
2803         * src/frontends/gtk/GPainter.C:
2804         * src/frontends/gtk/GToolbar.C:
2805         * src/frontends/qt2/QRef.C:
2806         * src/mathed/math_scriptinset.C: squash compiler warnings.
2807
2808 2004-03-26  Angus Leeming  <leeming@lyx.org>
2809
2810         * ispell.C (LaunchIspell::start):
2811         * lyx_cb.C (AutoSaveBuffer::start):
2812         invoke run(DontWait) rather than runNonBlocking().
2813
2814 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2815
2816         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2817
2818 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2819
2820         * kbsequence.C (print): adjust
2821
2822         * kbmap.C (printKeySym): rename and change signature
2823         (printKey): use LyXKeySym::print()
2824
2825 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2826
2827         * undo.C: add using std::advance to compile for stlport
2828
2829 2004-03-24  Angus Leeming  <leeming@lyx.org>
2830
2831         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2832         it leads to a crash when no buffer is present.
2833
2834 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2835             Martin Vermeer  <martin.vermeer@hut.fi>
2836
2837         * lyxfunc.C (dispatch):
2838         * bufferparams.C (readToken): use the new LColor::setColor
2839
2840         * LColor.[Ch] (setColor): new version that takes two strings as
2841         argument and creates a new color entry if necessary
2842
2843 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2844
2845         * buffer.C (makeLaTeXFile): if the main latex file that is
2846         processed is usually a subdocument of some master, then pretend
2847         for a while that it is actually the master
2848
2849 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2850
2851         * buffer.C (getLabelList):
2852         (getBibkeyList): use getMasterBuffer()
2853         (getMasterBuffer): new method. Returns the main document in the
2854         case where one is using included documents.
2855
2856 2004-03-25  André Pönitz  <poenitz@gmx.net>
2857
2858         * Makefile.am:
2859         * iterators.[Ch]:
2860         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2861
2862         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2863
2864         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2865         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2866
2867         * ParameterStruct.h: merge with ParagraphParameters
2868
2869         * lyxtext.h: remove LyXText::parOffset() and getPar()
2870
2871         * text3.C: Remove all 'manual' update calls. We do now one per user
2872         interaction which is completely sufficient.
2873
2874         * Bidi.C:
2875         * BufferView.[Ch]:
2876         * BufferView_pimpl.C:
2877         * FontIterator.[Ch]:
2878         * MenuBackend.C:
2879         * ParagraphParameters.[Ch]:
2880         * buffer.C:
2881         * buffer.h:
2882         * bufferlist.C:
2883         * cursor.[Ch]:
2884         * cursor_slice.[Ch]:
2885         * dociterator.[Ch]:
2886         * errorlist.[Ch]:
2887         * factory.C:
2888         * lfuns.h:
2889         * lyxfind.C:
2890         * lyxfunc.C:
2891         * output_docbook.[Ch]:
2892         * output_latex.[Ch]:
2893         * output_linuxdoc.[Ch]:
2894         * output_plaintext.[Ch]:
2895         * paragraph.[Ch]:
2896         * paragraph_funcs.[Ch]:
2897         * paragraph_pimpl.[Ch]:
2898         * rowpainter.C:
2899         * tabular.[Ch]:
2900         * text.C:
2901         * text2.C:
2902         * toc.C:
2903         * undo.[Ch]: adjust
2904
2905         * frontends/controllers/ControlDocument.C:
2906         * frontends/controllers/ControlErrorList.C:
2907         * frontends/controllers/ControlSpellchecker.C:
2908         * insets/inset.C:
2909         * insets/inset.h:
2910         * insets/insetbase.h:
2911         * insets/insetbibitem.C:
2912         * insets/insetbox.C:
2913         * insets/insetbranch.C:
2914         * insets/insetcaption.C:
2915         * insets/insetcharstyle.C:
2916         * insets/insetcharstyle.h:
2917         * insets/insetcollapsable.C:
2918         * insets/insetcollapsable.h:
2919         * insets/insetert.C:
2920         * insets/insetfloat.C:
2921         * insets/insetfoot.C:
2922         * insets/insetmarginal.C:
2923         * insets/insetnote.C:
2924         * insets/insetoptarg.C:
2925         * insets/insettabular.C:
2926         * insets/insettext.C:
2927         * insets/insettext.h:
2928         * insets/insetwrap.C:
2929         * mathed/math_mboxinset.C:
2930         * mathed/math_nestinset.C:
2931         * mathed/math_scriptinset.C:
2932         * mathed/math_scriptinset.h:
2933         * support/types.h:
2934
2935 2004-03-24  Angus Leeming  <leeming@lyx.org>
2936
2937         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2938         deal with any child processes that have finished but are waiting to
2939         communicate this fact to the rest of LyX.
2940
2941 2004-03-24  Angus Leeming  <leeming@lyx.org>
2942
2943         64-bit compile fixes.
2944
2945         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2946         (c-tor): pass lyx::pos_types rather than ints.
2947
2948         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2949         lyx::pos_type.
2950
2951         * text.C (Delete): compile fix.
2952         (getPar): ensure that function declaration is the same as that in
2953         the header file.
2954
2955 2004-03-23  Angus Leeming  <leeming@lyx.org>
2956
2957         * ispell.C (LaunchIspell):
2958         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2959         a boost::shred_ptr rather than a std::auto_ptr.
2960
2961 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2962
2963         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2964         handle LFUN_FILE_INSERT_*
2965
2966         * lyxrc.C (setDefaults, getDescription, output, read):
2967         * lyxrc.h: remove ps_command
2968
2969 2004-03-22  Angus Leeming  <leeming@lyx.org>
2970
2971         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2972         Ensure that error_handler is processed once only and that all data
2973         is saved before attempting to output any warning messages.
2974
2975         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2976
2977 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2978
2979         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2980
2981 2004-03-19  André Pönitz  <poenitz@gmx.net>
2982
2983         * cursor.[Ch] (reset): take main text inset as argument
2984
2985         * BufferView: adjust
2986         * BufferView_pimpl.C: adjust
2987
2988         * paragraph.[Ch]: fix completely broken operator=()
2989
2990 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2991
2992         * LColor.C (getFromLyXName): make sure that the color name is used
2993         as lowercase.
2994
2995 2004-03-17  Angus Leeming  <leeming@lyx.org>
2996
2997         * lfuns.h:
2998         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2999
3000         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3001         dialog and to kill a forked process.
3002
3003 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3004
3005         * text2.C (setCursorFromCoordinates): fix font problem
3006
3007 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3008
3009         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3010         bogus "rebuild cursor" code
3011
3012 2004-03-11  André Pönitz  <poenitz@gmx.net>
3013
3014         * buffer.[Ch]: use InsetText instead of LyXText as container for
3015         the main lyx text.
3016
3017         * dociterator.[Ch]: drop the BufferView * member which is not needed
3018         anymore after the change to buffer.C
3019
3020         * paragraph_funcs.C:
3021         * text.C:
3022         * text2.C:
3023         * BufferView.[Ch]:
3024         * BufferView_pimpl.[Ch]:
3025         * cursor.[Ch]:
3026         * cursor_slice.[Ch]: adjust
3027
3028         * text3.C: fix bug in mathDispatch
3029
3030 2004-03-08  André Pönitz  <poenitz@gmx.net>
3031
3032         * undo.[Ch]: use 'StableDocumentIterator' as base for
3033         the Undo struct.
3034
3035 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3036
3037         * LaTeXFeatures.C:
3038         * bufferparams.[Ch]: add jurabib support and param.
3039
3040         * LaTeX.C: add FIXME/comment.
3041
3042 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3043
3044         * buffer.C: increment file format to 230.
3045
3046 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3047
3048         * cursor.C (dispatch): avoid infinite loops
3049
3050 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3051
3052         * rowpainter.C (paintSelection): fix x coordinates
3053
3054 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3055
3056         * text.C (rowBreakPoint): fix breaking before displayed insets
3057
3058 2004-03-01  André Pönitz  <poenitz@gmx.net>
3059
3060         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3061
3062         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3063
3064         * Makefile.am:
3065         * BufferView.C:
3066         * BufferView_pimpl.C:
3067         * buffer.C:
3068         * lyxfind.C:
3069         * lyxfunc.C:
3070         * text.C:
3071         * text2.C:
3072         * text3.C: adjust
3073
3074 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3075
3076         * lyxtext.h:
3077         * text.C:
3078         * text2.C:
3079         * rowpainter.C:
3080         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3081         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3082
3083 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3084
3085         * Bidi.[Ch] (computeTables): const correctness
3086         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3087         fill_hfill, fill_label_hfill and x from Row
3088         * lyxtext.h: prepareToPrint returns a RowMetrics
3089         * rowPainter.C: adjust
3090         * text.C (prepareToPrint): use width, not textWidth. adjust
3091         (redoParagraphInternal, cursorX): adjust
3092         * text2.C (getColumnNearX): adjust
3093         (init): put a default value to the top LyXText::width
3094
3095 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3096
3097         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3098
3099 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3100
3101         * lyxtext.h: add FontIterator class
3102
3103         * text.C (FontIterator, operator*, operator->, operator++): add
3104         (rowBreakPoint, setRowWidth): adjust (fixing a
3105         rebreaking bug)
3106
3107 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3108
3109         * BufferView_pimpl.C (workAreaDispatch): allow also
3110         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3111
3112 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3113
3114         * text.C (rowBreakPoint): fix a bug showing with very large insets
3115
3116 2004-02-25  André Pönitz  <poenitz@gmx.net>
3117
3118         * text3.C:
3119         * cursor.[Ch]: move some mathed specific code to mathed
3120
3121 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3122
3123         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3124         use_tempdir in preferences
3125         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3126         tempfile creation
3127         * lyx_main.C: ensure that tempdir is valid
3128         * lyxlex.h: correct typo
3129         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3130         * paragraph.[Ch] (isMultiLingual): make const
3131         * cursor.[Ch] (openable): make const
3132
3133 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3134
3135         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3136
3137 2004-02-20  André Pönitz  <poenitz@gmx.net>
3138
3139         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3140
3141         * cursor.[Ch]: prepare for localized getStatus()
3142
3143         * lyxtext.h:
3144         * tabular.C:
3145         * text.C:
3146         * text2.C:
3147         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3148
3149 2004-02-20  André Pönitz  <poenitz@gmx.net>
3150
3151         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3152
3153 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3154
3155         * text2.C (setCursorFromCoordinates): switch to absolute coords
3156         (cursorUp): adjust
3157         (cursorDown): adjust
3158         * text3.C (dispatch): adjust
3159
3160 2004-02-16  André Pönitz  <poenitz@gmx.net>
3161
3162         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3163           insets/ChangeLog)
3164
3165         * cursor_slice.[Ch]: remove unneeded acessor function
3166
3167         * lyxtext.h: rename rtl() to isRTL()
3168
3169         * rowpainter.C:
3170         * tabular.C:
3171         * text.C:
3172         * text2.C:
3173         * text3.C: adjust
3174
3175 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3176
3177         * rowpainter.C (paintSelection): coord fix
3178
3179 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3180
3181         * Spacing.C: compile fix
3182
3183 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3184
3185         * cursor.C (dispatch): restore current_ before returning
3186
3187 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3188
3189         * text2.C (cursorUp, cursorDown): fix coords
3190         (moveUp): fix crash
3191
3192 2004-02-12  André Pönitz  <poenitz@gmx.net>
3193
3194         * lyxtext.h:
3195         * text.C:
3196         * text2.C:
3197         * text3.C: add LCursor & parameter to most cursor movement functions
3198           remove usage of LyXText::cursorRow() and cursorPar()
3199
3200         * cursor.[Ch]: add textRow() needed members
3201
3202         * BufferView.C:
3203         * BufferView_pimpl.C:
3204         * paragraph.[Ch]:
3205         * BufferView.C:
3206         * BufferView_pimpl.C: adjust
3207
3208 2004-02-11  André Pönitz  <poenitz@gmx.net>
3209
3210         * lyxfunc.C:
3211         * BufferView.[Ch]:
3212         * BufferView_pimpl.C: shift undo/redo handling
3213
3214         * cursor.[Ch]: fix mathed crash
3215
3216         * lyxfind.C:
3217         * lyxtext.h: move selectionAsText to LCursor
3218
3219         * output_latex.C:
3220         * paragraph.C:
3221         * text.C:
3222         * text2.C:
3223         * text3.C: adjust
3224
3225         * rowpainter.C: fix excessive drawing
3226
3227 2004-02-06  André Pönitz  <poenitz@gmx.net>
3228
3229         * BufferView.[Ch]:
3230         * BufferView_pimpl.[Ch]:
3231         * text3.C: move some text specific LFUN handling
3232
3233 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3234
3235         * text3.C (checkInsetHit): adjust coords
3236         * text2.C (getColumnNearX): adjust coords
3237         (edit): adjust coords
3238         * text.C (getRowNearY): add two asserts
3239
3240 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3241
3242         * converter.C:
3243         * format.C: add using std::distance to compile on gcc 2.95/stlport
3244
3245 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3246
3247         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3248
3249 2004-02-04  André Pönitz  <poenitz@gmx.net>
3250
3251         * BufferView.[Ch] (insertInset):
3252         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3253
3254         * text2.C:
3255         * text3.C: adjust
3256
3257 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3258
3259         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3260         on the default clause of the switch
3261         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3262         wasn't catched by LCursor::dispatch
3263
3264 2004-02-03  André Pönitz  <poenitz@gmx.net>
3265
3266         * BufferView.C:
3267         * cursor.[Ch]: some additional asserts
3268
3269         * undo.[Ch]: remove LyXText dependency in interface
3270
3271         * lyxfunc.C: adjust
3272
3273         * lyxtext.h (firstPar, lastPar): remove dead functions
3274
3275         * text.C:
3276         * text2.C:
3277         * text3.C:
3278         * paragraph.[Ch]: adjust
3279
3280 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3281
3282         * lyxfind.C (find): fix argument order in call to ::find
3283
3284 2004-02-02  André Pönitz  <poenitz@gmx.net>
3285
3286         * cursor.[Ch]: remove direct access to anchor
3287
3288         * text.C: remove findText() hack
3289
3290 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3291
3292         * iterators.[Ch] (lockPath): remove in favour of...
3293         * BufferView.[Ch] (setCursor): this addition
3294         * BufferView.C (putSelectionAt): adjust
3295         * undo.C (performUndoOrRedo): adjust
3296         * lyxfunc.C (dispatch): adjust
3297
3298 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3299
3300         * iterators.C (lockPath): add a missing slice
3301         * undo.C (performUndoOrRedo): remove redundant positioning code
3302
3303 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
3304
3305         * vc-backend.C (scanMaster): ";" -> ';'
3306
3307 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
3308
3309         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3310         std::binary_function
3311
3312         * lyxtextclass.C (compare_name): rename to...
3313         (LayoutNamesEqual): ...this
3314
3315         * lyxlex_pimpl.C (compare_tags): inherit from
3316         std::binary_function, put back into anon namespace
3317
3318         * lyxfind.C (MatchString): inherig from std::binary_function
3319         (findChange): use empty() istead of !size()
3320
3321         * format.C (FormatNamesEqual): new functor
3322         (getFormat): use it
3323         (getNumber): use it
3324         (add): use it
3325         (erase): use it
3326         (setViewer): use it
3327
3328         * converter.C (compare_Converter): rename to...
3329         (ConverterEqual): ...this, and fixup a bit.
3330         (getConverter): use it, and make function const
3331         (getNumber): use it, and make function const
3332         (add): use it
3333         (erase): use it:
3334
3335         * bufferlist.C: add using boost::bind
3336
3337         * MenuBackend.C (MenuNamesEqual): new functor
3338         (hasMenu): use it, and make function const
3339         (hasSubmenu): use nested bind to get rid of compare_memfun.
3340
3341 2004-01-30  André Pönitz  <poenitz@gmx.net>
3342
3343         * BufferView_pimpl.C:
3344         * cursor.C:
3345         * cursor.h:
3346         * cursor_slice.[Ch]:
3347         * lyxfunc.C:
3348         * lyxtext.h:
3349         * paragraph_funcs.C:
3350         * paragraph_funcs.h:
3351         * rowpainter.C:
3352         * text.C:
3353         * text2.C:
3354         * text3.C: move some of the edit(x,y) handling to the insets
3355         some coordinate changes.
3356
3357 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
3358
3359         * text.C: add using statements for std::advance and std::distance
3360
3361         * paragraph.C: add using statement for std::distance
3362
3363         * lyxfind.C: add using statement for std::advance
3364
3365         * cursor.C (region): remove std:: from swap
3366         (openable): use nucleus in stead of operator->
3367
3368         * BufferView.C: add using statements for std::distance and std::swap
3369
3370 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
3371
3372         * iterators.C: Remove the pimple, move the needed structures to
3373         the header file. Create accessor for the positions stack.
3374         (asPosIterator): remove function
3375
3376         * PosIterator.C (PosIterator): move constructors to top of file
3377         (PosIterator): reimplement the constructor taking a ParIterator in
3378         terms of setFrom.
3379         (setFrom): new function
3380         (operator!=): inline it
3381
3382 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
3383
3384         * lyxfind.C (replaceAll): use std::advance
3385
3386         * iterators.h: inherit from std::iterator.
3387
3388         * PosIterator.C (advance, distance): remove
3389         * PosIterator.h: interit from std::iterator.
3390
3391 2004-01-26  André Pönitz  <poenitz@gmx.net>
3392
3393         * BufferView.[Ch]:
3394         * BufferView_pimpl.[Ch]:
3395         * InsetList.[Ch]:
3396         * PosIterator.[Ch]:
3397         * buffer.h:
3398         * bufferview_funcs.C:
3399         * cursor.[Ch]:
3400         * cursor_slice.h:
3401         * factory.[Ch]:
3402         * iterators.[Ch]:
3403         * lyxfind.C:
3404         * lyxfunc.C:
3405         * lyxtext.h:
3406         * output_docbook.C:
3407         * output_latex.C:
3408         * output_linuxdoc.C:
3409         * output_plaintext.C:
3410         * paragraph.[Ch]:
3411         * paragraph_funcs.[Ch]:
3412         * paragraph_pimpl.[Ch]:
3413         * rowpainter.C:
3414         * tabular.C:
3415         * tabular.h:
3416         * text.C:
3417         * text2.C:
3418         * text3.C: more IU:  dumps most of the rest of the mathcursor
3419     implementation into cursor.[Ch]; "globalize" a bit of it.
3420
3421 2004-01-25  Angus Leeming  <leeming@lyx.org>
3422
3423         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3424
3425 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3426
3427         * LaTeXFeatures.h: add nice_ and nice() const
3428         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3429
3430 2004-01-20  André Pönitz  <poenitz@gmx.net>
3431
3432         * BufferView.[Ch]:
3433         * BufferView_pimpl.C:
3434         * PosIterator.C:
3435         * bufferview_funcs.C:
3436         * cursor.[Ch]:
3437         * cursor_slice.[Ch]:
3438         * factory.C:
3439         * iterators.C:
3440         * lyx_cb.C:
3441         * lyxfind.C:
3442         * lyxfunc.C:
3443         * lyxtext.h:
3444         * rowpainter.C:
3445         * text.C:
3446         * text2.C:
3447         * text3.C:
3448         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3449           LCursor and mathcursor parts to LCursor and InsetBase.
3450
3451 2004-01-15  André Pönitz  <poenitz@gmx.net>
3452
3453         * cursor_slice.[Ch]: add a few covienience functions
3454
3455         * funcrequest.[Ch]: remove BufferView * member
3456
3457         * BufferView_pimpl.C:
3458         * cursor.C:
3459         * factory.[Ch]:
3460         * lyxfind.[Ch]:
3461         * lyxfunc.C:
3462         * lyxtext.h:
3463         * text3.C:
3464         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3465
3466 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3467
3468         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3469         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3470
3471 2004-01-13  André Pönitz  <poenitz@gmx.net>
3472
3473         * textcursor.[Ch]:
3474         * lyxtext.h: hide cursor and selection anchor behind accessor function
3475
3476         * BufferView.C:
3477         * BufferView_pimpl.[Ch]:
3478         * PosIterator.C:
3479         * bufferview_funcs.C:
3480         * cursor.h:
3481         * lyxfind.C:
3482         * lyxfunc.C:
3483         * text.C:
3484         * text2.C:
3485         * text3.C:
3486         * undo.C: adjust
3487
3488         * cursor.h:
3489         * cursor_slice.[Ch]: some integer type changes for inset unification
3490
3491         * lyxcursor.[hC]: remove, it's CursorSlice now.
3492
3493         * Makefile.am:
3494         * BufferView_pimpl.[Ch]:
3495         * bufferview_funcs.C:
3496         * cursor_slice.C:
3497         * lyxtext.h:
3498         * text.C:
3499         * text2.C:
3500         * text3.C:
3501         * textcursor.[Ch]: adjust
3502
3503 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3504
3505         * text2.C (undoSpan): add and use
3506         * text.C (breakParagraph): use undoSpan (fix bug 578)
3507         * lyxtext.h: adjust
3508
3509 2004-01-08  Angus Leeming  <leeming@lyx.org>
3510
3511         * BufferView_pimpl.C (MenuInsertLyXFile):
3512         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3513         * lyxfunc.C (menuNew, open, doImport):
3514         FileFilterList change to the FileDialog open and save functions.
3515
3516 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
3517
3518         * ShareContainer.h: make isEqual and isUnique adaptable
3519
3520         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3521
3522 2004-01-07  Angus Leeming  <leeming@lyx.org>
3523
3524         * LyXAction.C:
3525         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3526
3527         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3528
3529         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3530         functions replacing find, replace and replaceAll.
3531
3532         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3533         LFUN_WORDFIND(FORWARD|BACKWARD).
3534
3535 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3536
3537         * text.C (breakParagraph): remove an outdated #warning
3538
3539 2004-01-07  André Pönitz  <poenitz@gmx.net>
3540
3541         * lyxfind.C: somewhat clearer logic
3542
3543         * text.C: prevent crash in cursorX on unitialized row cache
3544
3545 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3546
3547         * lyxcursor.[Ch] (operator>): add
3548         * textcursor.C (selStart, selEnd): use std::min and std::max
3549
3550 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
3551
3552         * Chktex.C: include boost/format.hpp
3553
3554 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
3555
3556         * InsetList.C: replace functor MathcIt with adaptable functor
3557         InsetTablePosLess
3558         (insetIterator): modify accordingly
3559
3560         * BranchList.h: move the BranchNamesEqual functor here from...
3561         * BranchList.C: ... to here
3562
3563         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3564         SameName and match.
3565         (add): replace a finding loop with std::find_if.
3566
3567 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3568
3569         * output_docbook.C: moving LatexParam functionality into
3570         .layout files
3571
3572 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3573
3574         * buffer.C: increment format to 229.
3575
3576 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3577
3578         * LaTeXFeatures.C:
3579         * lyx_sty.[Ch]: remove minipageindent_def
3580
3581         * LyXAction.C:
3582         * factory.C:
3583         * lfuns.h:
3584         * lyxfunc.C:
3585         * text3.C: remove LFUN_INSET_MINIPAGE
3586
3587 2003-12-28  Angus Leeming  <leeming@lyx.org>
3588
3589         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3590
3591 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3592
3593         * text2.C (setParagraph): fix off-by-one crash
3594
3595 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3596
3597         * output_docbook.C: header stuff for AGU
3598
3599 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3600
3601         * text2.C (redoCursor): remove
3602         * text.C:
3603         * text3.C:
3604         * BufferView_pimpl.C: remove calls to redoCursor and
3605         setCursor(cursor.par(), cursor.pos()) all around
3606
3607 2003-12-15  Angus Leeming  <leeming@lyx.org>
3608
3609         * buffer.C: up the format to 228.
3610
3611 2003-12-15  André Pönitz  <poenitz@gmx.net>
3612
3613         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3614         slices
3615
3616         * Makefile.am:
3617
3618         * BufferView_pimpl.C:
3619         * cursor.[Ch]:
3620         * lyxcursor.[Ch]:
3621         * rowpainter.[Ch]:
3622         * lyxtext.h:
3623         * text.C:
3624         * text2.C:
3625         * text3.C: adjust
3626
3627 2003-12-15  Angus Leeming  <leeming@lyx.org>
3628
3629         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3630         than getFromGUIName to manipulate the color.
3631
3632 2003-12-14  Angus Leeming  <leeming@lyx.org>
3633
3634         * BranchList.[Ch]: minimize the API.
3635         (Branch::getBranch, getColor): now return a 'const &'.
3636         (Branch::setSelected) now returns a bool set to true if the
3637         selection status changes.
3638         (BranchList::clear, size, getColor, setColor, setSelected,
3639         allBranches, allSelected, separator): removed.
3640         (BranchList::find): new functions, returning the Branch with
3641         the given name.
3642         (BranchList::add, remove): return a bool indicating that
3643         the operation was successful.
3644
3645         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3646         new InsetBranch::isBranchSlected member function.
3647
3648         * LColor.[Ch]: mimimize the API.
3649         (fill): renamed as addColor and made private.
3650         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3651         versions of these functions taking a string arg have been removed.
3652
3653         * bufferparams.C (readToken):
3654         * lyxfunc.C (dispatch):
3655         * lyxrc.C (read): changes due to the altered BranchList and
3656         LColor APIs.
3657
3658         * factory.C (createInset, readInset): changes due to altered
3659         InsetBranch c-tor.
3660
3661 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3662
3663         * factory.C:
3664         * lyxfunc.C: remove insetminipage. "minipage-insert"
3665         now produces a frameless minipage box inset.
3666
3667 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3668
3669         * textcursor.[Ch] (selStart,selEnd): add new methods
3670         remove selection::start, end, use LyXCursor::operator<
3671         * lyxcursor.[Ch] (operator<): add
3672         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3673         * BufferView.[Ch] (unsetXSel): add
3674         * text2.C (clearSelection): use unsetXSel,adjust
3675         * text.C: adjust
3676         * text3.C: adjust
3677         * rowpainter.C: adjust
3678         * bufferview_funcs.C (put_selection_at): adjust
3679
3680 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3681
3682         * BufferView_pimpl.C: small coord. correction
3683
3684 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3685
3686         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3687         dragging over the splash screen.
3688
3689 2003-12-11  Angus Leeming  <leeming@lyx.org>
3690
3691         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3692         as it is now handled in LyXText::dispatch.
3693
3694         * text3.C (doInsertInset): remove a level of nesting.
3695
3696 2003-12-11  Angus Leeming  <leeming@lyx.org>
3697
3698         * factory.C (createInset): changes due to the changed interface to
3699         InsetCommandMailer::string2params.
3700
3701 2003-12-10  Angus Leeming  <leeming@lyx.org>
3702
3703         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3704         'dialog-show-new-inset <inset name>'
3705
3706 2003-12-10  Angus Leeming  <leeming@lyx.org>
3707
3708         * buffer.C: up the format to 227.
3709
3710         * factory.C: the box inset is now identified simply by 'Box'.
3711
3712 2003-12-10  Angus Leeming  <leeming@lyx.org>
3713
3714         * buffer.C: up the format to 226.
3715
3716         * factory.C: the note inset is now identified simply by 'Note'.
3717
3718 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3719
3720         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3721         when a pit is enough. Standarize a couple of loops.
3722
3723 2003-12-05  Angus Leeming  <leeming@lyx.org>
3724
3725         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3726         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3727         data to the re-worked "log" dialog.
3728
3729 2003-12-03  André Pönitz  <poenitz@gmx.net>
3730
3731         * PosIterator.C:
3732         * iterators.C:
3733         * lyxtext.h:
3734         * output_latex.C:
3735         * paragraph_funcs.C:
3736         * text.C:
3737         * text2.C: use Inset::getText instead of Inset::getParagraph
3738
3739 2003-12-03  André Pönitz  <poenitz@gmx.net>
3740
3741         * buffer.[Ch]:
3742         * lyxtext.h:
3743         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3744         InsetText::read() as LyXText::read()
3745
3746 2003-12-02  Angus Leeming  <leeming@lyx.org>
3747
3748         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3749         type. Add a comment in the implementation that the function uses
3750         the stream's bad() function rather than fail() as the std::streams
3751         would do.
3752
3753 2003-12-02  André Pönitz  <poenitz@gmx.net>
3754
3755         * lyxlex.[Ch]: make interface more similar to std::stream
3756
3757         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3758
3759 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3760
3761         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3762
3763 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3764
3765         * vspace.[Ch]: remove VSpace::NONE
3766
3767 2003-12-01  André Pönitz  <poenitz@gmx.net>
3768
3769         * buffer.[Ch]:
3770         * lyxtext.h: move ParagraphList member to LyXText
3771         rename LyXText::ownerParagraphs to LyXText::paragraph
3772
3773         * CutAndPaste.C:
3774         * bufferview_funcs.C:
3775         * iterators.[Ch]:
3776         * lyx_cb.C:
3777         * paragraph.C:
3778         * rowpainter.C:
3779         * tabular.C:
3780         * text.C:
3781         * text2.C:
3782         * text3.C: adjust
3783
3784         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3785
3786         * undo.C: fix cursor positioning
3787
3788 2003-12-01  John Levon  <levon@movementarian.org>
3789
3790         * BufferView_pimpl.C: fix a crash on exit with
3791         a buffer open
3792
3793 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3794
3795         * BranchList.C: fix setSelected() method.
3796
3797 2003-11-28  André Pönitz  <poenitz@gmx.net>
3798
3799         * ParagraphParameters.[Ch]:
3800         * ParameterStruct.h: remove space above/below from Paragraph to
3801          InsetVSpace
3802
3803         * BufferView_pimpl.C:
3804         * factory.C:
3805         * lyxfunc.C:
3806         * lyxtext.h:
3807         * output_latex.C:
3808         * paragraph.C:
3809         * paragraph_funcs.C:
3810         * rowpainter.[Ch]:
3811         * text.C:
3812         * text2.C:
3813         * text3.C: adjust
3814
3815 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3816
3817         * factory.C: Syntax change for CharStyles
3818
3819 2003-11-28  André Pönitz  <poenitz@gmx.net>
3820
3821         * BufferView.[Ch]:
3822         * BufferView.[Ch]:
3823         * buffer.[Ch]:
3824         * buffer.[Ch]: move LyXText member
3825
3826 2003-11-28  André Pönitz  <poenitz@gmx.net>
3827
3828         * BufferView.[Ch]: make LyXText * text a private member
3829
3830         * BufferView_pimpl.C:
3831         * cursor.C:
3832         * iterators.C:
3833         * lyx_cb.C:
3834         * lyxfind.C:
3835         * lyxtext.h:
3836         * rowpainter.[Ch]:
3837         * text.C:
3838         * text2.C:
3839         * undo.C: adjust
3840
3841         * output_plaintext.C: cleanup
3842
3843 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3844
3845         * buffer.C:
3846         * lyxtextclass.[Ch]: parametrize SGML document header
3847
3848 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3849
3850         * converter.[Ch]:
3851         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3852         getFlavor().
3853
3854 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3855
3856         * text2.C (setFont): rework using PosIterator (no more recursive)
3857         (setCharFont): no more needed
3858         (setLayout): no more selection cursors fiddling (done by redoCursor)
3859         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3860         destroy remaining ones)
3861
3862 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3863
3864         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3865         * lyxtext.h: ditto
3866         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3867         selection cursors
3868         * lyxfunc.C: adjust
3869         * text3.C: adjust + re-allow multi par depth changes
3870         * textcursor.C: simplify a bit
3871
3872 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3873
3874         * src/buffer.C:
3875         * src/lyxlayout.C:
3876         * src/lyxlayout.h:
3877         * src/lyxtext.h:
3878         * src/output_docbook.C:
3879         * src/output_latex.C:
3880         * src/paragraph.C:
3881         * src/paragraph.h:
3882         * src/sgml.C:
3883         * src/sgml.h:
3884         * src/text2.C: Introducing a number of tags parametrizing various
3885         XML formats that we may want to support
3886
3887 2003-11-25  André Pönitz  <poenitz@gmx.net>
3888
3889         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3890
3891         * lyxtext.h (leftMargin/rightMargin): simplify interface
3892
3893         * rowpainter.C:
3894         * text.C:
3895         * text2.C:
3896         * text3.C: adjust
3897
3898 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3899
3900         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3901         master file to any child files. Fixes bug 546.
3902
3903 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3904
3905         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3906
3907 2003-11-24  André Pönitz  <poenitz@gmx.net>
3908
3909         * rowpainter.C: simplification
3910
3911         * text2.C (updateCounters): remove call to redoParagraph on
3912         changed labels as this is far too expensive.
3913
3914 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3915
3916         * converter.C (convert): fix a crash: this function gets
3917         called with buffer == 0 from importer code.
3918
3919 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3920
3921         * text3.C (cursorPrevious): make sure that we do not compare
3922         iterators form different containers.
3923         (cursorNext): ditto
3924
3925         * rowpainter.C (paintSelection): make sure that we do not compare
3926         iterators from different containers.
3927
3928         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3929         iterators from different ParagraphList containers.
3930         [NEXT] ditto
3931
3932         * text2.C (LyXText): change order of initialization slightly
3933         (operator=): new function. copy all variables except cache_par_
3934         (moveUp): make sure that we do not compare iterators from
3935         different ParagraphList constainers.
3936         (moveDown): ditto
3937
3938         * text.C (firstPar): new function
3939         (lastPar): new function
3940         (endPar): new function
3941
3942         * lyxtext.h: move things around and group public functions, public
3943         variables, private functions, private variables
3944
3945 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3946
3947         * factory.C: change call to InsetERT constructor to avoid
3948         additional invocation of method status
3949         * text2.C (toggleInset): remove redundant update() call
3950         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3951         instead of a Bufferview pointer
3952
3953 2003-11-21  André Pönitz  <poenitz@gmx.net>
3954
3955         * rowpainter.C: simplification
3956
3957 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3958
3959         * text3.C (dispatch): make possible to extend a word/row selection
3960         with the mouse
3961
3962 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3963
3964         * lyxtext.h: x0_,y0_ -> xo_,yo_
3965         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3966         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3967         * rowpainter.C (paintRows): paint full paragraphs
3968
3969 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3970
3971         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3972         screen coordinates)
3973
3974 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3975
3976         * lyxtext.h: add x0_, y0_
3977         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3978         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3979
3980 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3981
3982         * text2.C (setCursorIntern): move the x_target update here *
3983         * text3.C: change some bv() to true/false in calls to
3984         cursorUp/Down/Right/Left
3985         * cursor.C: use helper function.
3986
3987 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3988
3989         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3990         * paragraph_funcs.[Ch]: correct comment
3991         * rowpainter.C: do not paint selections away from bv->cursor()
3992         Fix a long standing selection painting bug.
3993         * text3.C: generalize mouse-selection code to LyXTexts other that
3994         top one
3995         * textcursor.C: do not use y coords if we can use par offsets
3996
3997 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3998
3999         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4000         cursor position after e.g. inset insert)
4001
4002 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4003
4004         * lyxfind.C (replace): adjust to locking removal + some
4005         code simplification
4006
4007 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4008
4009         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4010         of the path
4011
4012 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4013
4014         * lyxlayout.[Ch]:
4015         * output_docbook.C: XML sanitation: new layout
4016         parameters InnerTag and CommandDepth
4017
4018 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4019
4020         * BufferView_pimpl.C:
4021         * factory.C:
4022         * text3.C: Fix the insertion and modification of button-style
4023         insets
4024
4025 2003-11-13  André Pönitz  <poenitz@gmx.net>
4026
4027         * InsetList.[Ch]: remove deleteLyXText
4028
4029         * paragraph.[Ch]: cache beginOfBody position
4030
4031         * Bidi.C:
4032         * text.C:
4033         * text2.C:
4034         * text3.C: remove superfluous update() calls
4035
4036         * vspace.C: cleanup
4037
4038 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4039
4040         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4041         * BufferView.C (fitLockedInsetCursor): remove
4042         * cursor.[Ch] (getDim): add
4043         * text.C (getRowNearY): add faster version
4044         * text3.C: remove some update calls
4045
4046 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4047
4048         * LaTeXFeatures.C:
4049         * LyXAction.C:
4050         * MenuBackend.C:
4051         * MenuBackend.h:
4052         * dispatchresult.h:
4053         * factory.C:
4054         * lfuns.h:
4055         * lyxfunc.C:
4056         * lyxtextclass.C:
4057         * lyxtextclass.h:
4058         * text3.C: The Character Style /XML short element patch.
4059
4060 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4061
4062         * text3.C:
4063         * factory.C: Small step to solving 'unable to insert some insets'
4064         problem
4065
4066 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4067
4068         * cursor.[Ch] (updatePos): new function for updating the y
4069         position of the tip inset
4070         * bufferview_funcs.C (put_selection_at):
4071         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4072
4073 2003-11-11  André Pönitz  <poenitz@gmx.net>
4074
4075         * text.C: remove big comment on invalid Paragraph pointers as it is
4076         not valid anymore
4077
4078 2003-11-11  André Pönitz  <poenitz@gmx.net>
4079
4080         * text_funcs.[Ch]: merge with ...
4081
4082         * text.C: ... this
4083
4084         * lyxtext.h:
4085         * text2.C:
4086         * text3.C: adjust
4087
4088         * Makefile.am: remove text_funcs.[Ch]
4089
4090 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4091
4092         * cursor.C (getPos): return absolute cached y coord
4093
4094         * BufferView_pimpl.C (fitCursor): new simplistic code
4095         (workAreaDispatch): add a fitCursor call
4096
4097 2003-11-10  André Pönitz  <poenitz@gmx.net>
4098
4099         * BufferView.[Ch]:
4100         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4101
4102 2003-11-10  André Pönitz  <poenitz@gmx.net>
4103
4104         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4105         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4106         indicate that the cursor needs to leave an inset
4107
4108         * lyxtext.h: remove inset locking
4109
4110         * cursor.[Ch]: re-implement functionality provided by inset locking
4111
4112         * BufferView.[Ch]:
4113         * BufferView_pimpl.[Ch]:
4114         * LyXAction.C:
4115         * bufferview_funcs.[Ch]:
4116         * factory.C:
4117         * funcrequest.[Ch]:
4118         * iterators.C:
4119         * lyx_cb.C:
4120         * lyxfind.C:
4121         * lyxfunc.C:
4122         * text.C:
4123         * text2.C:
4124         * text3.C:
4125         * undo.C: adjust
4126
4127 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4128
4129         * PosIterator.[Ch]: replace the stack with a vector, add inset
4130         accesor
4131         * iterators.[C]: adjust
4132
4133 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4134
4135         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4136         replaced
4137         * paragraph_funcs.C (readParToken): put the correct id in the
4138         error item, not the id of the top paragraph
4139
4140 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4141
4142         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4143         * bufferview_funcs.C (put_selection_at): use the above
4144
4145 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4146
4147         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4148
4149 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4150
4151         * output_linuxdoc.h:
4152         * output_plaintext.h:
4153         * output.h:
4154         * output_docbook.h: add #include statements
4155
4156 2003-11-05  José Matos  <jamatos@lyx.org>
4157
4158         * output_docbook.[Ch]:
4159         * output_latex.[Ch]:
4160         * output_linuxdoc.[Ch]:
4161         * output_plaintext.[Ch]: New files for output formats.
4162         * output.[Ch]: New file for helper functions.
4163
4164         * buffer.[Ch]:
4165         * paragraph_funcs.[Ch]: output functions moved to new files.
4166
4167         * outputparams.h: rename of latexrunparams.h
4168
4169         * LaTeX.[Ch]:
4170         * buffer.[Ch]:
4171         * bufferlist.[Ch]:
4172         * converter.[Ch]:
4173         * exporter.C:
4174         * paragraph.[Ch]:
4175         * paragraph_funcs.[Ch]:
4176         * paragraph_pimpl.[Ch]:
4177         * tabular.[Ch]: rename ascii to plaintext
4178         and LatexRunParams to OutputParams.
4179
4180 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4181
4182         * iterators.[Ch] (text): require bv argument
4183         * undo.C (recordUndo):
4184         * lyxfunc.C (dispatch):
4185         * bufferview_funcs.C (put_selection_at): adjust
4186
4187 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
4188
4189         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4190
4191 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4192
4193         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4194         nestings
4195
4196 2003-11-04  André Pönitz  <poenitz@gmx.net>
4197
4198         * cursor.[Ch]: restructure
4199
4200         * BufferView.[Ch]:
4201         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4202
4203         * iterators.[Ch] (asCursor): remove
4204
4205         * lfuns.h: remove LFUN_INSET_EDIT
4206
4207         * lyxfunc.C:
4208         * tabular.C:
4209         * text.C:
4210         * text2.C:
4211         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4212
4213 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4214
4215         * lyxfind.[Ch]: complete overhaul
4216         * BufferView_pimpl.C:
4217         * lyxfunc.C: adjust
4218         * paragraph.[Ch] (insert): add
4219
4220 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4221
4222         * BufferView.[Ch]:
4223         * lyxtext.h:
4224         * text.C: remove dead spellcheck code
4225
4226 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4227
4228         * dispatchresult.h: add a val setter
4229
4230         * cursor.C (dispatch): use a tempvar for data_[i]
4231
4232 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4233
4234         * PosIterator.[Ch]: compile fix
4235
4236 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4237
4238         * text.C (cursorPar): deactivate the cursor cache
4239
4240 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4241
4242         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4243
4244 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4245
4246         * text3.C (dispatch): adjust for new DisptchResult semantics.
4247
4248         * lyxfunc.C (dispatch): handle update when return from
4249         Cursor::dispatch, adjust for new DispatchResult semantics.
4250
4251         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4252         DispatchResult(true) mean to not update. Add class functions for
4253         setting dispatched and update, as well as reading.
4254
4255         * cursor.C (dispatch): don't handle update here
4256
4257 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4258
4259         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4260         * trans_mgr.C: adjust
4261
4262         * paragraph_funcs.C (readParToken): exception safety
4263
4264         * lyxvc.h: store the vcs pointer in a scoped_ptr
4265         * lyxvc.C: adjust
4266
4267         * lyxsocket.C (serverCallback): exception safety
4268
4269         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4270
4271         * ispell.C (clone): make it return a auto_ptr
4272
4273         * factory.C (createInset): exception safety
4274         (readInset): exception safety
4275
4276         * bufferlist.C (newBuffer): exception safety
4277
4278         * Thesaurus.C (Thesaurus): use initialization for aik_
4279
4280         * MenuBackend.C (expandToc): exception safety.
4281
4282 2003-11-03  André Pönitz  <poenitz@gmx.net>
4283
4284         * buffer.C:
4285         * buffer.h:
4286         * bufferview_funcs.C: remove getInsetFromId()
4287
4288         * lyxcursor.[Ch]:
4289         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4290
4291         * lyxfunc.C:
4292         * text2.C:
4293         * text3.C: adjust
4294
4295 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4296
4297         * PosIterator.C (distance, advance): new
4298         * bufferview_funcs.[Ch] (put_selection_at): new
4299         * iterators.[Ch] (lockPath): new
4300
4301 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4302
4303         * iterators.[Ch] (asPosIterator): added
4304         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4305         * PosIterator.[Ch]: added
4306
4307 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4308
4309         * text3.C:
4310         * lyxfunc.C:
4311         * cursor.C (dispatch):
4312         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4313
4314         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4315         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4316         contructor, add a class function dispatched. Remove operator>=
4317
4318 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4319
4320         * debug.C: only use the default constructor for debugstream
4321         (lyxerr) here.
4322
4323         * main.C (main): include debug.h and setup the lyxerr streambuf
4324         here.
4325
4326 2003-10-31  José Matos  <jamatos@lyx.org>
4327
4328         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4329
4330         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4331         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4332         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4333         * paragraph_pimpl.C (simpleTeXSpecialC):
4334         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4335         add LatexRunParams argument.
4336
4337         * exporter.C (Export): change call accordingly.
4338
4339         * latexrunparams.h: add new member to take care of the other backends.
4340 2003-10-30  José Matos  <jamatos@lyx.org>
4341
4342         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4343         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4344         factorise code for paragraph output.
4345         * buffer.[Ch]:
4346         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4347         move functions.
4348
4349 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4350
4351         * text3.C (dispatch):
4352         * lyxfunc.C (dispatch):
4353         * cursor.C (dispatch):
4354         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4355
4356         * dispatchresult.h: make the dispatch_result_t ctor explicit
4357
4358 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4359
4360         * sgml.[Ch]:
4361         * buffer.C: small refactoring of docbook stuff
4362
4363 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4364
4365         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4366         meaning.
4367
4368 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4369
4370         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4371         operator dispatch_result_t, and operators for == != and >=
4372
4373         * cursor.C (dispatch): adjust for operator dispatch_result_t
4374         removal. comment out call to update
4375
4376         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4377
4378 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4379
4380         * text3.C:
4381         * text2.C:
4382         * text.C:
4383         * lyxtext.h:
4384         * lyxfunc.C:
4385         * cursor.C:
4386         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4387         (dispatch):
4388
4389         * dispatchresult.h: new file, DispatchResult broken out of
4390         insets/insetbase.h
4391
4392         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4393
4394 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4395
4396         * text.C (rowBreakPoint): put a hack inside #if 0
4397
4398 2003-10-28  André Pönitz  <poenitz@gmx.net>
4399
4400         * lyxtext.h:
4401         * metricsinfo.C:
4402         * paragraph_funcs.C:
4403         * rowpainter.C:
4404         * text.C:
4405         * text2.C: general cleanup (lots of small stuff)
4406
4407 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4408
4409         * text2.C (cursorEnd): simple fix to the "end key goes to one
4410         before the end on last row" bug
4411
4412 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4413
4414         * text.C (backspace): fix the "zombie characters"
4415
4416 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4417
4418         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4419
4420 2003-10-27  André Pönitz  <poenitz@gmx.net>
4421
4422         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4423
4424         * factory.C: handle new InsetPagebreak, InsetLine
4425
4426         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4427         and move handling into new InsetPagebreak, InsetLine
4428
4429         * BufferView_pimpl.C:
4430         * LyXAction.C:
4431         * ParagraphParameters.C:
4432         * ParameterStruct.h:
4433         * lyxfunc.C:
4434         * lyxtext.h:
4435         * paragraph.C:
4436         * paragraph.h:
4437         * paragraph_funcs.C:
4438         * paragraph_pimpl.C:
4439         * rowpainter.C:
4440         * text.C:
4441         * text2.C:
4442         * text3.C: adjust
4443
4444 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4445
4446         * text.C:
4447         * lyxrow_funcs.[Ch]:
4448         * Bidi.C:
4449         * paragraph.C:
4450         * lyxtext.h:
4451         * rowpainter.C:
4452         * text2.C:
4453         * text3.C: remove lastPos uses in favour of Row::endpos
4454
4455 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4456
4457         * undo.C (performUndoOrRedo): fix two crashes by setting a
4458         cursor by hand and reordering some calls. Use bv->lockInset instead
4459         of inset->edit because the latter loses cursor information
4460
4461 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4462
4463         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4464         by Martin
4465         (rowBreakPoint): fix width. change point to point + 1.
4466         Add a missing check.
4467
4468 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4469
4470         * MenuBackend.C:
4471         * lyxfunc.C: fix (at least partly) the problems
4472         with the Nav menu and headers inside branch insets
4473         reported by Kayvan
4474
4475 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4476
4477         * paragraph.C (getChar): add strong asserts
4478
4479         * lyxrow_funcs.C (lastPos): remove hideous hack
4480
4481         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4482         (fill): adjust to that (avoid an infinite loop)
4483
4484 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4485
4486         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4487
4488 2003-10-23  André Pönitz  <poenitz@gmx.net>
4489
4490         * RowList_fwd.h: change list<> to vector<> to gain speed
4491         after suggestion from Alfredo
4492
4493 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4494
4495         * lyxtext.h: move the bidi stuff from here...
4496         * text.C: and here
4497         * text2.C: and here
4498         * Bidi.[Ch]: ... to here
4499
4500 2003-10-23  André Pönitz  <poenitz@gmx.net>
4501
4502         * lyxtext.h:
4503         * text.C (isLastRow, isFirstRow): new functions
4504
4505         * paragraph.h: new width cache member
4506
4507         * rowpainter.C: replace RowList::iterator with Row & where possible
4508
4509         * lyxfunc.C: replace several view()->text with a single call
4510
4511         * toc.C: fix 'unused' warning
4512
4513 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4514
4515         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4516         when woring with stream::pos_type
4517         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4518
4519 2003-10-22  André Pönitz  <poenitz@gmx.net>
4520
4521         * lyxtext.h:
4522         * text.C: use Row & instead of RowList::iterator
4523
4524         * lyxrow.h: rename end() to endpos()
4525
4526         * rowpainter.C:
4527         * text.C:
4528         * text2.C: adjust
4529
4530 2003-10-22  Angus Leeming  <leeming@lyx.org>
4531
4532         * buffer.[Ch] (fully_loaded): new member function, returning true
4533         only when the file has been loaded fully.
4534         Used to prevent the premature generation of previews and by the
4535         citation inset to prevent computation of the natbib-style label.
4536
4537         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4538         templates are all set up.
4539
4540         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4541
4542 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4543
4544         * text.C: fixed an "oops" in the "is a bit silly"
4545         bug fix
4546
4547 2003-10-21  André Pönitz  <poenitz@gmx.net>
4548
4549         * FuncStatus.[Ch]: small stuff, whitespace
4550
4551         * lyxfont.[Ch]: operator<<() for debug reasons
4552
4553         * lyxfunc.C:
4554         * lyxrow_funcs.C:
4555         * lyxtext.h: whitespace, spelling
4556
4557         * paragraph.C: naming of variables
4558
4559         * text.C:
4560         * text2.C: small stuff
4561
4562
4563 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4564
4565         * text.C: (1) finish off the inset display() work;
4566         (2) fix the "is a bit silly" bug (accessing char
4567         past end of par).
4568
4569 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4570
4571         * text.C: re-introduce display() for insets, fixing the
4572         various bugs (stretch of line above, math inset
4573         positioning, ...)
4574
4575 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4576
4577         * text.C (rightMargin): remove spurious semicolon
4578
4579         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4580         1415)
4581
4582 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4583
4584         * text3.C: fix one crash due to wrong cursor def
4585
4586 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4587
4588         * vc-backend.C (scanMaster): make the regex static
4589
4590         * LaTeX.C (scanAuxFile): make the regexs static
4591
4592         * text3.C (doInsertInset, dispatch, dispatch):
4593         * text2.C (cursorUp, cursorDown):
4594         * text.C (selectNextWordToSpellcheck):
4595         * BufferView_pimpl.C (dispatch):
4596         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4597
4598 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4599
4600         * lyxsocket.C: include <cerrno>
4601
4602 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4603
4604         * lyxfunc.C (dispatch): remove textcache stuff
4605
4606         * bufferlist.C (release): remove textcache stuff
4607         (closeAll): ditto
4608
4609         * TextCache.C: delete file
4610         * TextCache.h: delete file
4611
4612         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4613
4614         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4615         delete of the bv_->text.
4616         (resizeCurrentBuffer): remove texcache stuff
4617         (workAreaResize): ditto
4618
4619 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4620
4621         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4622         action.
4623
4624 2003-10-16  André Pönitz  <poenitz@gmx.net>
4625
4626         * lyxrow.[Ch]:
4627         * paragraph.h:
4628         * rowpainter.C:
4629         * text.C:
4630         * text2.C:
4631         * text3.C: speed up by storing y positions per paragraph plus per-row
4632         offset instead of having a 'full' y position in the row.
4633
4634 2003-10-15  André Pönitz  <poenitz@gmx.net>
4635
4636         * iterators.[Ch]:
4637         * iterators.[Ch]:
4638         * undo.[Ch]: make undo aware of inner insets
4639
4640 2003-10-14  Angus Leeming  <leeming@lyx.org>
4641
4642         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4643         static member functions LyX::ref() and LyX::cref.
4644         (lastfiles): new accessor functions for the new lastfiles_ member var.
4645         (addLyXView, views_): add a new LyXView to the list of views_.
4646         (updateInset): loop over all LyXViews to call their own updateInset
4647         member function, returning a pointer to the Buffer owning the inset.
4648
4649         * BufferView_pimpl.C (loadLyXFile):
4650         * MenuBackend.C (expandLastfiles):
4651         * bufferlist.C (MenuWrite, QuitLyX):
4652         lastfiles is no longer a global variable.
4653         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4654
4655         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4656         static function. Access through LyX::cref().emergencyCleanup().
4657
4658 2003-10-14  André Pönitz  <poenitz@gmx.net>
4659
4660         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4661
4662         * undo.[Ch]: restoring part of 'undo in insets'
4663
4664         * Makefile.am:
4665         * undo_funcs.[Ch]: merge with undo.[Ch]
4666
4667         * tabular.C: small cleansing stuff
4668
4669 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4670
4671         * paragraph_funcs.C (readParToken): report unknown insets as error
4672         boxes. Use the outer paragraph as location (also for unknown
4673         tokens).
4674
4675         * factory.C (readInset): do not abort on reading an unknown inset.
4676         Eat it and return 0.
4677
4678 2003-10-13  Angus Leeming  <leeming@lyx.org>
4679
4680         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4681
4682         * lyxrc.C: displayTranslator is now a function,
4683         declared in GraphicsTypes.h.
4684
4685 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4686
4687         * format.C: new placeholder $$a to pass the socket address.
4688
4689         * bufferlist.[Ch]: new function getBufferFromTmp.
4690
4691         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4692           files in the temporary dir.
4693
4694 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4695
4696         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4697
4698         * Makefile.am: add lyxsocket.[Ch].
4699
4700         * lyx_main.C (error_handler): handle SIGPIPE.
4701
4702 2003-10-13  André Pönitz  <poenitz@gmx.net>
4703
4704         * BufferView_pimpl.C:
4705         * lyxtext.h:
4706         * text.C:
4707         * text2.C:
4708         * text3.C:
4709         * undo_funcs.[Ch]: use paroffset_type instead of
4710           ParagraphList::iterators to prevent multiple conversion
4711           (and get a more robust interface)
4712
4713 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4714
4715         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4716         * lyxtext.h: ditto
4717         * text3.C (dispatch): ditto
4718
4719 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4720
4721         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4722         move the onlyfile, use onlyfile instead of foundfile in a couple
4723         of places.
4724
4725         * DepTable.C (update): flush the error stream a bit more
4726
4727 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4728
4729         * lyxserver.C (callback): adjust
4730
4731         * lyxfunc.C (getStatus): add a missing brace in commented code
4732         (ensureBufferClean): reindent
4733         (dispatch): delete version taking a string
4734
4735 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4736
4737         * LaTeX.C (deplog): move found file handlig from here...
4738         (handleFoundFile): .. to new function here.
4739         (deplog): make sure to discover several files mentioned on the
4740         same log line.
4741
4742 2003-10-10  André Pönitz  <poenitz@gmx.net>
4743
4744         * lyxfunc.C:
4745         * lyxtext.h:
4746         * tabular.C:
4747         * text.C:
4748         * text2.C:
4749         * text3.C: fix some of the tabular crashes
4750
4751 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4752
4753         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4754
4755         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4756
4757 2003-10-09  André Pönitz  <poenitz@gmx.net>
4758
4759         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4760
4761         * BufferView.C:
4762         * BufferView_pimpl.C:
4763         * bufferview_funcs.C:
4764         * lyx_cb.C:
4765         * lyxcursor.C:
4766         * lyxfind.C:
4767         * lyxfunc.C:
4768         * lyxtext.h:
4769         * text.C:
4770         * text2.C:
4771         * text3.C:
4772         * text_funcs.[Ch]:
4773         * textcursor.[Ch]:
4774         * undo_funcs.C: adjust
4775
4776 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4777
4778         * text2.C (incrementItemDepth): new function, use a backtracking
4779         algorithm to discover the correct item depth.
4780         (resetEnumCounterIfNeeded): new function, use a backtracking
4781         algorithm to discover if counter reset is needed.
4782         (setCounter): use them. Simplify a bit. Add different labels for
4783         different item depths for itemize.
4784
4785         * paragraph.C (Paragraph): remove initialization of enumdepth
4786         (operator=): ditto
4787
4788         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4789         enumerate and itemize. Change the type of itemdepth to signed char.
4790
4791 2003-10-08  André Pönitz  <poenitz@gmx.net>
4792
4793         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4794           thing assignable.
4795         * text.C:
4796         * text2.C: adjust
4797
4798         * tabular.[Ch]: fix crash after 'row-insert'
4799
4800 2003-10-08  Angus Leeming  <leeming@lyx.org>
4801
4802         Fix doxygen warnings.
4803
4804         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4805         Remove CutAndPaste:: prefix from header file declaration.
4806
4807         * LColor.h (fill): remove LColor:: prefix from declaration.
4808
4809         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4810         use lyx::depth_type rather than Paragraph::depth_type so that
4811         header file and .C file match.
4812
4813         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4814
4815         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4816         * aspell.C: \file aspell_local.C -> \file aspell.C
4817         * gettext.C: \file gettext.C -> \file src/gettext.C
4818         * gettext.h: \file gettext.h -> \file src/gettext.h
4819         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4820         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4821         * text.C: \file text.C -> \file src/text.C
4822
4823         * toc.C: move comment so that doxygen is not confused.
4824
4825 2003-10-07  Angus Leeming  <leeming@lyx.org>
4826
4827         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4828
4829 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4830
4831         * aspell.C:
4832         * aspell_local.h: add forgotten std::string's.
4833
4834 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4835
4836         * LaTeXFeatures.C:
4837         * LyXAction.C:
4838         * factory.C:
4839         * lfuns.h:
4840         * lyxfunc.C:
4841         * text3.C: The Box patch. Fancybox support, minipage, parbox
4842
4843 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4844
4845         * CutAndPaste.h:
4846         * DepTable.h:
4847         * FloatList.h:
4848         * LaTeXFeatures.h:
4849         * ParagraphParameters.h:
4850         * TextCache.h:
4851         * Thesaurus.h:
4852         * bufferlist.h:
4853         * exporter.h:
4854         * importer.h:
4855         * lastfiles.h:
4856         * lyxfind.h:
4857         * lyxfont.h:
4858         * lyxlex.h:
4859         * lyxtextclasslist.h:
4860         * messages.h:
4861         * paragraph.h:
4862         * paragraph_pimpl.C:
4863         * textcursor.h: add <string> and other small fixes to make Lars'
4864         std::string patch compile with STLport.
4865
4866 2003-10-06  Angus Leeming  <leeming@lyx.org>
4867
4868         * LColor.h: Add missing #include <string>.
4869
4870 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4871
4872         * All most all file in all subdirs: Make <string> be the prefered
4873         way of getting to std::string, add using declarations.
4874
4875 2003-10-06  André Pönitz  <poenitz@gmx.net>
4876
4877         * metricsinfo.C: initialize LyXFont before changing attribute.
4878         (fixes the 'math in \emph is upright' bug)
4879
4880 2003-10-06  André Pönitz  <poenitz@gmx.net>
4881
4882         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4883
4884 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4885
4886         * graph.C:
4887         * paragraph_pimpl.C: Small fixes to build using STLport
4888
4889 2003-10-02  André Pönitz  <poenitz@gmx.net>
4890
4891         * lyxfunc.C:
4892         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4893
4894 2003-10-01  André Pönitz  <poenitz@gmx.net>
4895
4896         * factory.C: assert early
4897
4898 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4899
4900         * lyx_main.C: remove the global debug object
4901
4902         * debug.h: adjust for new debugstream
4903
4904         * debug.C: adjust for new debugstream and keep the global debug
4905         object here.
4906
4907 2003-09-22  Angus Leeming  <leeming@lyx.org>
4908
4909         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4910         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4911         an incomplete class LyXFont.
4912
4913 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4914
4915         * factory.C: bug fix in branches
4916
4917 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4918
4919         * lyxfunc.C (processKeySym): adjust
4920         (dispatch): adjust
4921         (dispatch): change arg name from ev to func, adjust
4922         (sendDispatchMessage): ditto
4923
4924         * lyx_main.C (defaultKeyBindings): adjust keybindings
4925         (deadKeyBindings): ditto
4926
4927         * kbsequence.C (addkey): return a FuncRequest
4928
4929         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4930
4931         * kbmap.C (bind): take a FuncRequest as arg, adjust
4932         (read): adjust
4933         (lookup): adjust
4934         (defkey): change to take a FuncRequest as arg, adjust
4935         (findbinding): take a FuncRequest as arg, adjust.
4936
4937         * funcrequest.h (operator=): added
4938
4939         * funcrequest.C (FuncRequest): default kb_action changed from
4940         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4941
4942         * buffer.C (dispatch): simplify
4943         (dispatch): adjust to take a FuncRequest as arg, adjust
4944
4945         * boost.C (assertion_failed): change assertion message slightly
4946
4947         * ToolbarBackend.C (read): simplify
4948
4949         * MenuBackend.C (binding): adjust call to findbinding, add a
4950         message if no binding is found.
4951         (read): simplify
4952         (expandToc): correct by adding a empty FuncRequest
4953
4954         * LyXAction.C: include <boost/assert.hpp>
4955         (isPseudoAction): delete function
4956         (LookupFunc): change name to...
4957         (lookupFunc): this. change return type to FuncRequest.
4958         (getActionName): take kb_action as arg, simplify
4959         (funcHasFlag): add an assert, simplify.
4960
4961 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4962
4963         * toc.C (action): return a FuncRequest, simplify
4964
4965         * lyxfunc.C (processKeySym): adjust
4966         (getStatus): delete version that takes an int.
4967         (getStatus): adjust
4968         (dispatch): delete version that takes action as int
4969         (dispatch): adjust
4970         (sendDispatchMessage): simplify and adjust
4971
4972         * funcrequest.C (getArg): take unsigned int as arg
4973
4974         * ToolbarBackend.C (read): adjust
4975         (add): delete version that takes func as a string.
4976         (getIton): take a FuncRequest as arg
4977
4978         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4979         action.
4980
4981         * MenuBackend.C (MenuItem): add a new construct that only takes a
4982         Kind, simplify the constructor use for submenus.
4983         (add): adjust
4984         (expandLastfiles): adjust
4985         (expandDocuments): adjust
4986         (expandFormats): adjust
4987         (expandFloatListInsert): adjust
4988         (expandFloatInsert): adjust
4989         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4990
4991         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4992         Remove class variables lyx_pseudo_map and lyx_arg_map
4993
4994         * LyXAction.C (searchActionArg): delete function
4995         (getPseudoAction): delete function
4996         (retrieveActionArg): delete function
4997         (LookupFunc): make it return kb_action, simplify.
4998         (getActionName): simplify
4999
5000         * factory.C (createInset): fix new bug
5001
5002 2003-09-19  Angus Leeming  <leeming@lyx.org>
5003
5004         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5005         masterFilename_ parameter in the include inset.
5006
5007         * factory.C (createInset): changes due to the changes to InsetInclude.
5008
5009 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5010
5011         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5012
5013 2003-09-18  Angus Leeming  <leeming@lyx.org>
5014
5015         * buffer.C:
5016         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5017         Inset::fillWithBibKeys.
5018         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5019
5020 2003-09-18  Angus Leeming  <leeming@lyx.org>
5021
5022         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5023         variables.
5024         (ctor): pass and store a 'Buffer const &'
5025         (buffer): new member function.
5026
5027         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5028         '*this' to the LaTeXFeatures ctor.
5029
5030 2003-09-18  Angus Leeming  <leeming@lyx.org>
5031
5032         * LColor.h:
5033         * lyxfont.C:
5034         * lyxfont.h:
5035         * lyxtext.h:
5036         * text.C: rename EnumLColor as LColor_color.
5037
5038 2003-09-18  Angus Leeming  <leeming@lyx.org>
5039
5040         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5041         remove #include "insets/insetbase.h" from cursor.h.
5042
5043 2003-09-18  Angus Leeming  <leeming@lyx.org>
5044
5045         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5046         InsetOld_code to remove #include "inset.h".
5047
5048         * iterators.C: add #include "insets/inset.h"
5049
5050 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5051
5052         * BufferView.C: remove more locking stuff that apparently doesn't
5053         do anything sensible.
5054
5055 2003-09-16  André Pönitz  <poenitz@gmx.net>
5056
5057         * paragraph.[Ch]:
5058         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5059           performance boost.
5060
5061 2003-09-16  Angus Leeming  <leeming@lyx.org>
5062
5063         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5064
5065         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5066         arg/return type.
5067
5068         * paragraph.h: remove #include "lyxfont.h". Forward declare
5069         LyXFont_size.
5070
5071 2003-09-16  Angus Leeming  <leeming@lyx.org>
5072
5073         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5074         of support/textutils.h.
5075         (isWord): move the contents of support/textutils.h's IsWordChar here.
5076
5077         * buffer.C:
5078         * lyxfind.C:
5079         * rowpainter.C:
5080         * text.C:
5081         * text2.C: add #include "paragraph.h".
5082
5083         * rowpainter.C:
5084         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5085
5086 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5087
5088         * main.C:
5089         * lyx_main.C:
5090         * lyx_cb.C:
5091         * buffer.C:
5092         * LaTeX.C: use namespace alias for lyx::support::os
5093
5094 2003-09-16  Angus Leeming  <leeming@lyx.org>
5095
5096         * bufferparams.C:
5097         * bufferview_funcs.C:
5098         * factory.C:
5099         * lyxfunc.C:
5100         * paragraph_pimpl.C:
5101         * rowpainter.C:
5102         * text.C: add #include "LColor.h".
5103
5104 2003-09-16  Angus Leeming  <leeming@lyx.org>
5105
5106         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5107         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5108         return LyXFont &.
5109         Store the FontBits::color variable as an int rather than as an
5110         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5111         file.
5112
5113         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5114         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5115         string calls together.
5116
5117         * lyxrc.C: add #include "LColor.h".
5118
5119 2003-09-15  Angus Leeming  <leeming@lyx.org>
5120
5121         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5122         a cow_ptr.
5123
5124 2003-09-15  Angus Leeming  <leeming@lyx.org>
5125
5126         * LColor.h: add an EnumLColor wrapper for LColor::color.
5127
5128         * lyxfont.[Ch] (color, setColor, realColor):
5129         * lyxtext.h, text.C (backgroundColor):
5130         pass EnumLColor args to/from the functions, rather than LColor::color
5131         ones.
5132
5133         * lyxfont.h:
5134         * lyxtext.h: forward declare EnumLColor.
5135
5136         * lyx_main.C: add #include "LColor.h".
5137
5138 2003-09-15  Angus Leeming  <leeming@lyx.org>
5139
5140         * .cvsignore: add lyx-gtk.
5141
5142 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5143
5144         * Chktex.C
5145         * LaTeX.C
5146         * LaTeXFeatures.C
5147         * ParagraphParameters.C
5148         * Spacing.C
5149         * buffer.C
5150         * bufferparams.C
5151         * bufferview_funcs.C
5152         * chset.C
5153         * counters.C
5154         * funcrequest.C
5155         * lyxfont.C
5156         * lyxgluelength.C
5157         * lyxlength.C
5158         * paragraph.C
5159         * paragraph_funcs.C
5160         * text3.C
5161         * vc-backend.C: remove usage of STRCONV
5162
5163 2003-09-15  Angus Leeming  <leeming@lyx.org>
5164
5165         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5166         explicitly define the color passed to the painter.
5167
5168 2003-09-15  Angus Leeming  <leeming@lyx.org>
5169
5170         * bufferparams.C (BufferParams): reorder member initializers to avoid
5171         compiler warning.
5172
5173 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5174
5175         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5176         * text.C (updateRowPositions): remove an unusual nop
5177
5178 2003-09-12  André Pönitz  <poenitz@gmx.net>
5179
5180         * BufferView_pimpl.C:
5181         * Bullet.C:
5182         * layout.h:
5183         * lyxfunc.C:
5184         * lyxlayout.[Ch]:
5185         * lyxtextclass.C:
5186         * rowpainter.C:
5187         * text.C:
5188         * text2.C:
5189         * Counters.[Ch]: finish the 'automatic counters' job
5190
5191 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5192
5193         * aspell.C: include <boost/assert.cpp> (compile fix)
5194
5195 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5196
5197         * boost.C (assertion_failed): use lyx::support::abort instead of
5198         assert.
5199
5200 2003-09-10  Angus Leeming  <leeming@lyx.org>
5201
5202         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5203         with their _fwd progeny.
5204
5205 2003-09-09  Angus Leeming  <leeming@lyx.org>
5206
5207         134 files throughtout the source tree: replace 'using namespace abc;'
5208         directives with the appropriate 'using abc::xyz;' declarations.
5209
5210 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5211
5212         * boost.C (emergencyCleanup): moved here from LAssert.c
5213         (assertion_failed): new function, called by BOOST_ASSERT
5214
5215         * several files: change Assert to BOOST_ASSERT
5216
5217 2003-09-09  Angus Leeming  <leeming@lyx.org>
5218
5219         * buffer.[Ch]: Add an Impl class and move Buffer's member
5220         variables into it. As a result move several header files out of
5221         buffer.h.
5222
5223         Add header files to lots of .C files all over the tree as a result.
5224
5225 2003-09-09  Angus Leeming  <leeming@lyx.org>
5226
5227         * buffer.[Ch]: make Buffer's member variables private. Add
5228         accessor functions.
5229
5230         Lots of changes all over the tree as a result.
5231
5232 2003-09-08  Angus Leeming  <leeming@lyx.org>
5233
5234         * graph.C: #include <config.h>.
5235
5236 2003-09-08  Angus Leeming  <leeming@lyx.org>
5237
5238         * BranchList.C:
5239         * BufferView.C:
5240         * BufferView_pimpl.C:
5241         * CutAndPaste.C:
5242         * DepTable.C:
5243         * LaTeX.C:
5244         * LaTeXFeatures.C:
5245         * LyXAction.C:
5246         * MenuBackend.C:
5247         * TextCache.C:
5248         * aspell.C:
5249         * buffer.C:
5250         * bufferlist.C:
5251         * changes.C:
5252         * chset.C:
5253         * converter.C:
5254         * counters.C:
5255         * debug.C:
5256         * graph.C:
5257         * ispell.C:
5258         * lyx_cb.C:
5259         * lyxfind.C:
5260         * lyxfunc.C:
5261         * lyxlex_pimpl.C:
5262         * lyxrc.C:
5263         * lyxrow.C:
5264         * paragraph.C:
5265         * rowpainter.C:
5266         * texrow.C:
5267         * text.C:
5268         * text2.C:
5269         * toc.C: remove redundant using directives.
5270
5271 2003-09-07  Angus Leeming  <leeming@lyx.org>
5272
5273         * LaTeXFeatures.h: remove #include "support/types.h".
5274         * ToolbarBackend.h: remove #include <algorithm>.
5275         * changes.h: remove #include <ctime>.
5276         * debug.h: remove #include <iosfwd>.
5277         * graph.h: remove #include "support/std_string.h".
5278         * lyx_main.h: remove #include <csignal>.
5279         * lyxlex_pimpl.h: remove #include <fstream>.
5280         * sgml.h: remove #include <algorithm>, <utility>.
5281         * toc.h: remove #include "support/std_ostream.h".
5282         Add #include <iosfwd>.
5283
5284 2003-09-07  Angus Leeming  <leeming@lyx.org>
5285
5286         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5287
5288         * converter.h: forward declare LatexRunParams.
5289         * encoding.h: remove #include "lyxrc.h".
5290         * lyxtext.h: remove #include "LColor.h".
5291         * lyxtextclass.h: remove #include "support/types.h".
5292         * trans.h: remove #include "tex-accent.h".
5293         * trans_mgr.h: remove #include "tex-accent.h".
5294         * insets/inset.h: remove #include "support/types.h", <vector>.
5295         * insets/insetcollapsable.h: remove #include "LColor.h".
5296         * insets/insetinclude.h: remove #include "dimension.h".
5297         * insets/insetlatexaccent.h: remove #include "dimension.h".
5298         * insets/insetoptarg.h:: remove #include "insettext.h".
5299         * insets/insettext.h: remove #include "dimension.h",
5300         <boost/shared_ptr.hpp>
5301
5302         * insets/renderers.h: add #include "dimension.h".
5303         * insets/updatableinset.h: add #include "support/types.h".
5304
5305         * many .C files: Associated changes.
5306
5307 2003-09-06  Angus Leeming  <leeming@lyx.org>
5308
5309         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5310         one, inside testInvariant.
5311
5312         * PrinterParams.C: new file.
5313         * PrinterParams.[Ch]: move the function bodies out of line.
5314
5315 2003-09-06  Angus Leeming  <leeming@lyx.org>
5316
5317         * ParagraphParameters.h: forward declare ParameterStruct rather than
5318         including its header file.
5319         (depth): moved out-of-line.
5320
5321 2003-09-06  Angus Leeming  <leeming@lyx.org>
5322
5323         * BufferView_pimpl.h:
5324         * kbmap.h:
5325         * kbsequence.h:
5326         * lyxfunc.h: forward declare LyXKeySym rather than
5327         #include "frontends/LyXKeySym.h".
5328
5329         * BufferView_pimpl.C:
5330         * kbmap.C:
5331         * kbsequence.C:
5332         * lyxfunc.C: associated changes.
5333
5334 2003-09-06  Angus Leeming  <leeming@lyx.org>
5335
5336         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5337         As a result, can remove the #include "insets/inset.h" from BufferView.h
5338
5339 2003-09-06  Angus Leeming  <leeming@lyx.org>
5340
5341         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5342         As a result, can remove the #include "insets/inset.h" from BufferView.h
5343
5344 2003-09-06  Angus Leeming  <leeming@lyx.org>
5345
5346         * buffer_funcs.C:
5347         * buffer.h:
5348         * bufferlist.C:
5349         * BufferView.C:
5350         * bufferview_funcs.C:
5351         * BufferView_pimpl.C:
5352         * CutAndPaste.C:
5353         * lyx_cb.C:
5354         * lyxfunc.C:
5355         * paragraph.h:
5356         * ParagraphParameters.C:
5357         * tabular.C:
5358         * text3.C:
5359         * toc.C:
5360         * undo_funcs.C:
5361         * frontends/controllers/ControlDocument.C:
5362         * insets/insetcaption.C: rearrange the #includes into some sort of
5363         coherent order.
5364
5365         * buffer.h: remove #includes ErrorList.h, undo.h
5366
5367 2003-09-06  Angus Leeming  <leeming@lyx.org>
5368
5369         * support/types.h: add a 'depth_type' typedef, used to store the
5370         nesting depth of a paragraph.
5371
5372         * paragraph.h:
5373         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5374         defining explicitly.
5375
5376         * buffer.h:
5377         * paragraph_funcs.h:
5378         * ParagraphParameters.h:
5379         * sgml.h: use lyx::depth_type rather than Paragraph or
5380         ParameterStruct's depth_type.
5381
5382         * buffer.h
5383         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5384
5385         * BufferView.C:
5386         * BufferView_pimpl.C:
5387         * CutAndPaste.C:
5388         * ParagraphParameters.C:
5389         * buffer_funcs.C:
5390         * bufferlist.C:
5391         * bufferview_funcs.C:
5392         * lyx_cb.C:
5393         * lyxfunc.C:
5394         * tabular.C:
5395         * text3.C:
5396         * toc.C:
5397         * undo_funcs.C:
5398         * frontends/LyXView.C:
5399         * frontends/controllers/ControlDocument.C:
5400         * frontends/controllers/ControlErrorList.C:
5401         * insets/insetbibitem.C:
5402         * insets/insetbranch.C:
5403         * insets/insetcaption.C:
5404         * insets/insetcollapsable.C:
5405         * insets/insetenv.C:
5406         * insets/insetert.C:
5407         * insets/insetfloat.C:
5408         * insets/insetfoot.C:
5409         * insets/insetfootlike.C:
5410         * insets/insetnewline.C:
5411         * insets/insetquotes.C:
5412         * insets/insettabular.C:
5413         * insets/insettext.C:
5414         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5415
5416         * frontends/controllers/ControlChanges.C: #include "changes.h".
5417
5418 2003-09-06  Angus Leeming  <leeming@lyx.org>
5419
5420         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5421         than #including paragraph.h.
5422
5423         * ParagraphList.h:
5424         * RowList.h: deleted. Superfluous.
5425
5426         * CutAndPaste.h:
5427         * iterators.h:
5428         * lyxcursor.h:
5429         * lyxtext.h:
5430         * text_funcs.h:
5431         * undo.h:
5432         * undo_funcs.h:
5433         * insets/inset.h:
5434         * insets/insettext.h: use ParagraphList_fwd.h rather than
5435         ParagraphList.h.
5436
5437         * paragraph.h: don't forward declare ParagraphList.
5438
5439         * buffer.h:
5440         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5441         rather than ParagraphList.h. paragraph.h is still needed for the
5442         Paragraph::depth_type parameters.
5443
5444         * textcursor.h: enable it to compile stand-alone in light of the
5445         above changes.
5446
5447         * bufferview_funcs.C:
5448         * iterators.C:
5449         * lyxfunc.C:
5450         * lyxrow_funcs.C:
5451         * paragraph.C:
5452         * rowpainter.C:
5453         * text.C:
5454         * text2.C:
5455         * text3.C:
5456         * text_funcs.C:
5457         * textcursor.C:
5458         * undo.C:
5459         * frontends/controllers/ControlParagraph.C:
5460         * frontends/controllers/ControlTabular.C:
5461         * insets/insetmarginal.C:
5462         * insets/insetminipage.C:
5463         * insets/insetnote.C:
5464         * insets/insetoptarg.C: add header files needed to compile again.
5465
5466 2003-09-06  Angus Leeming  <leeming@lyx.org>
5467
5468         * RowList_fwd.h: new file, forward-declaring Row rather than
5469         #including lyxrow.h.
5470
5471         * lyxrow_funcs.h:
5472         * lyxtext.h:
5473         * paragraph.h:
5474         * insets/insettext.h: use it instead of RowList.h
5475
5476         * bufferview_funcs.C:
5477         * lyxfunc.C:
5478         * lyxrow_funcs.C:
5479         * paragraph.C:
5480         * rowpainter.C:
5481         * text.C:
5482         * text2.C:
5483         * text3.C: #include "RowList.h".
5484
5485 2003-09-05  Angus Leeming  <leeming@lyx.org>
5486
5487         * factory.C (createInset):
5488         * vspace.C (c-tor): replace sscanf call with an istringstream.
5489         * ispell.C: re-add missing HP/UX headers.
5490         * lyxserver.C: re-add missing  os2 headers.
5491
5492 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5493
5494         * BranchList.C:
5495         * graph.C:
5496         * ispell.C:
5497         * lastfiles.C:
5498         * lyx_cb.C:
5499         * lyxserver.C:
5500         * texrow.C:
5501         * text3.C: re-add missing system headers, needed for 2.95.2.
5502
5503 2003-09-05  Angus Leeming  <leeming@lyx.org>
5504
5505         Changes most place everywhere due to the removal of using directives
5506         from support/std_sstream.h.
5507
5508 2003-09-05  Angus Leeming  <leeming@lyx.org>
5509
5510         Replace LString.h with support/std_string.h,
5511         Lsstream.h with support/std_sstream.h,
5512         support/LIstream.h with support/std_istream.h,
5513         support/LOstream.h with support/std_ostream.h.
5514
5515         Changes resulting throughout the tree.
5516
5517 2003-09-05  Angus Leeming  <leeming@lyx.org>
5518
5519         * sgml.h: ensure that the header file can be compiled stand-alone.
5520         * *.C: strip out redundant #includes. (320 in total.)
5521
5522 2003-09-04  Angus Leeming  <leeming@lyx.org>
5523
5524         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5525         here (from getPackages).
5526
5527         * debug.[Ch]: add a new EXTERNAL tag.
5528
5529 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5530
5531         * text2.C (cursorEnd): simplify
5532         (setCursor): adjust
5533         (getColumnNearX): adjust
5534
5535         * text.C (computeBidiTables): adjust
5536         (fill): adjust
5537
5538         * rowpainter.C (paintChars): adjust
5539         (paintSelection): adjust
5540         (paintChangeBar): adjust
5541         (paintText): adjust
5542
5543         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5544         lastPos instead.
5545         (numberOfSeparators): adjust
5546
5547 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5548
5549         * LyXAction.C:
5550         * box.[Ch]:
5551         * lfuns.h:
5552         * lyxfunc.C:
5553         * text3.C: Restricts the mouse click functionality
5554         of insets like bibtex, include, toc and floatlist to the visible
5555         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5556         up the dialogs. Cursor has to be in front of the inset (i.e.
5557         start of row) for this to function.
5558
5559 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5560
5561         * bufferview_funcs.C (currentState): output row information
5562
5563 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5564
5565         * bufferview_funcs.C (currentState): output paragraph position
5566
5567 2003-09-04  Angus Leeming  <leeming@lyx.org>
5568
5569         * FloatList.h: move out #include "Floating.h".
5570         * LaTeX.h: move out #include "DepTable.h".
5571         * LyXAction.h: move out #include "funcrequest.h".
5572         * buffer.h: move out #include "author.h", "iterators.h".
5573         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5574         * lyx_main.h: move out #include "errorlist.h".
5575         * lyxfunc.h: move out #include "FuncStatus.h".
5576         * lyxtext: move out #include "lyxcursor.h".
5577         * paragraph_pimpl.h: move out #include "counters.h".
5578
5579 2003-09-03  Angus Leeming  <leeming@lyx.org>
5580
5581         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5582         preamble_snippets list, enabling us to add snippets to the preamble
5583         only if the snippet was not there already.
5584
5585 2003-09-04  Angus Leeming  <leeming@lyx.org>
5586
5587         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5588
5589 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5590
5591         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5592         update
5593
5594 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5595
5596         * BranchList.C: point fix, earlier forgotten
5597
5598 2003-09-02  Angus Leeming  <leeming@lyx.org>
5599
5600         * box.C (contains): renamed from 'contained' after a fantastic
5601         amount of hot air.
5602
5603 2003-09-02  John Levon  <levon@movementarian.org>
5604
5605         * BufferView.C:
5606         * lyxcursor.h:
5607         * lyxcursor.C:
5608         * lyxfunc.C:
5609         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5610
5611 2003-09-02  John Levon  <levon@movementarian.org>
5612
5613         * text2.C: simplification of cursorEnd(), including partial
5614         fix for bug 1376
5615
5616 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5617
5618         * buffer.C (readFile): add a space
5619
5620 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5621
5622         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5623
5624 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5625
5626         * buffer.C (readFile): new function, take a filename and a
5627         ParagraphList::iterator
5628         (readFile): adjust
5629         (readFile): adjust, make it private. don't use setStream, make
5630         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5631         always contain the filename.
5632
5633         * BufferView.C (insertLyXFile): simplify and make it work for
5634         gzipped files.
5635
5636 2003-08-30  John Levon  <levon@movementarian.org>
5637
5638         * Makefile.am: fix dist (from Kayvan)
5639
5640 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5641
5642         * most files: change to use const Buffer refs
5643
5644 2003-08-27  André Pönitz  <poenitz@gmx.net>
5645
5646         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5647         on top of ownerPar().
5648
5649 2003-08-27  John Levon  <levon@movementarian.org>
5650
5651         * funcrequest.C: properly initialise POD members
5652
5653 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5654
5655         * lyxtext.h (top_y): move top_y from here
5656         * text.C:
5657         * text2.C:
5658         * text3.C:
5659         * BufferView.[Ch]:
5660         * BufferView_pimpl.[Ch]: to here
5661         * frontends/screen.C:
5662         * insets/insettabular.C:
5663         * insets/insettext.C: adjust
5664         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5665
5666 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5667
5668         * BufferView.[Ch]:
5669         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5670
5671 2003-08-26  André Pönitz  <poenitz@gmx.net>
5672
5673         * paragraph_func.[Ch] (outerPar): new function
5674
5675         * paragraph.C:
5676         * paragraph_funcs.C:
5677         * paragraph_funcs.h:
5678         * paragraph_pimpl.C:
5679         * text2.C: remove Inset::par_owner
5680
5681 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5682
5683         * lyxrow_funcs.C:
5684         * lyxtext.h:
5685         * text.C:
5686         * text2.C: eliminates the needFullRow/display() stuff
5687         altogether, putting the logic in metrics/draw in the insets.
5688
5689 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5690
5691         * text2.C (redoParagraphInternal, redoParagraphs):
5692         * text.C (redoParagraph): add a call to updateRowPositions at the
5693         end of each 'metrics-like' call. Remove all others.
5694         (getRow): remove the 'y-computing' version.
5695         (getRowNearY): do not compute nor return the real y. Solve the
5696         'y < 0' problem and simplify.
5697
5698 2003-08-22  Angus Leeming  <leeming@lyx.org>
5699
5700         * *.[Ch]: clean-up of licence and author blurbs.
5701         Also move config.h out of a few .h files and into a few .C files.
5702
5703 2003-08-22  André Pönitz  <poenitz@gmx.net>
5704
5705         * lyxrow.[Ch]: add x_ and *fill_ members
5706
5707         * lyxtext.h:
5708         * text.C:
5709         * rowpainter.C:
5710         * text2.C: adjust/remove prepareToPrint() calls
5711
5712 2003-08-22  André Pönitz  <poenitz@gmx.net>
5713
5714         * lyxrow.[Ch]: add  end_ member
5715
5716         * lyxrow_funcs.C: use LyXRow::end_
5717
5718         * lyxtext.h (singleWidth): add LyXFont parameter
5719
5720         * rowpainter.C:
5721         * text2.C: adjust LyXText::singleWidth() calls
5722
5723         * text.C (redoParagraph): simplify row breaking logic
5724
5725
5726 2003-08-19  André Pönitz  <poenitz@gmx.net>
5727
5728         * funcrequest.C: initialize button_ member
5729
5730         * text3.C:
5731         * rowpainter.[Ch]: interface consolidation
5732
5733 2003-08-18  André Pönitz  <poenitz@gmx.net>
5734
5735         * BufferView.C:
5736         * BufferView_pimpl.C:
5737         * lyxfind.C:
5738         * paragraph_funcs.C:
5739         * rowpainter.C:
5740         * text3.C: remove LyXScreen::draw() and fitCursor calls
5741
5742         * BranchList.h: remove spurious semicolons
5743
5744         * MenuBackend.C: fix branchlist related crash
5745
5746 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5747
5748         * BranchList.[Ch]:
5749         * InsetList.[Ch]:
5750         * LColor.[Ch]:
5751         * LyXAction.C:
5752         * Makefile.am:
5753         * MenuBackend.[Ch]:
5754         * bufferparams.[Ch]:
5755         * factory.C:
5756         * lfuns.h:
5757         * lyxfunc.C:
5758         * text3.C: implements the 'branch inset'
5759         idea. This allows the output of various versions of a document
5760         from a single source version, selectively outputing or suppressing
5761         output of parts of the text.
5762         This implementation contains a 'branch list editor' in a separate
5763         tab of the document settings dialog. Branches are user definable
5764         and have a "display colour" to distinguish them on-screen.
5765
5766         ColorHandler was somewhat cleaned up.
5767         (1) make possible a dynamically growing LColor list by allowing
5768         the graphic context cache to grow along (vector);
5769         (2) eliminate an IMHO unnecessary step in colour allocation.
5770
5771 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5772
5773         * BufferView_pimpl.C: compile fix
5774
5775 2003-08-15  André Pönitz  <poenitz@gmx.net>
5776
5777         * rowpainter.C: remove extra metrics calls
5778
5779         * lyxtext.h: merge the two constructors into a single one,
5780           pass reference to owner's par list
5781
5782         * BufferView_pimpl.C:
5783         * text.C:
5784         * text2.C: adjust
5785
5786 2003-08-15  André Pönitz  <poenitz@gmx.net>
5787
5788         * lyxrow_funcs.[Ch]:
5789         * lyxtext.h:
5790         * paragraph.h:
5791         * paragraph_funcs.C:
5792         * rowpainter.C:
5793         * text.C:
5794         * text2.C:
5795         * text3.C:
5796         * text_funcs.C: split LyXText::rowlist_ into individual
5797         Paragraph::rows_ chunks
5798
5799         * BufferView.[Ch]:
5800         * BufferView_pimpl.[Ch]:
5801         * lyxfind.C:
5802         * lyxtext.h:
5803         * text3.C: remove toggleSelection()
5804
5805 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5806
5807         * bufferlist.C: beautify two alerts (shorter text of buttons)
5808         * buffer.C: Remove redundant ' ' from message
5809         * tabular.h:
5810         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5811         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5812         rename VALIGN_CENTER to VALIGN_MIDDLE
5813
5814 2003-08-11  André Pönitz  <poenitz@gmx.net>
5815
5816         * lyxtext.h (getPar):
5817         * text.C: new function
5818
5819 2003-08-11  André Pönitz  <poenitz@gmx.net>
5820
5821         * Makefile.am:
5822         * tracer.[Ch]: remove unneeded files
5823
5824         * InsetList.[Ch]: remove resizeInsetsLyXText()
5825
5826         * lyxtext.h:
5827         * text.C:
5828         * text2.C:
5829         * text3.C: merge insertParagraphs() and appendParagraph()
5830         remove breakAgain(), update()
5831
5832         * BufferView_pimpl.[Ch]:
5833         * bufferview_funcs.[Ch]:
5834         * lyxfunc.C:
5835         * paragraph.[Ch]:
5836         * rowpainter.C:
5837         * tabular.C: adjust after text & InsetList changes.
5838
5839 2003-08-08  André Pönitz  <poenitz@gmx.net>
5840
5841         * text.C (insertChar, backspace): replace rowlist fiddling
5842         with rebreak of full par
5843
5844         * lyxtext.h:
5845         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5846         checkParagraph, updateInset): removed
5847
5848 2003-08-07  André Pönitz  <poenitz@gmx.net>
5849
5850         * paragraph.C:
5851         * text3.C: merge some LFUN handlers, remove dead code
5852
5853 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5854
5855         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5856
5857 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5858
5859         * text2.C (DEPM): fix part of bug 1255 and 1256
5860
5861 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5862
5863         * BufferView_pimpl.C (workAreaDispatch): change to use
5864         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5865         that are no mouse related.
5866
5867 2003-08-05  André Pönitz  <poenitz@gmx.net>
5868
5869         * BufferView.[Ch]:
5870         * BufferView_pimpl.[Ch]:
5871         * bufferview_funcs.C:
5872         * text2.C:
5873         * text3.C: rip out "deep update"
5874
5875         * textcursor.[Ch] (last_sel_cursor): remove unused member
5876
5877 2003-08-04  André Pönitz  <poenitz@gmx.net>
5878
5879         * BufferView.[Ch]:
5880         * BufferView_pimpl.[Ch]:
5881         * ParagraphParameters.C:
5882         * bufferview_funcs.C:
5883         * lyx_cb.C:
5884         * lyxfind.C:
5885         * lyxfunc.C:
5886         * text.C:
5887         * text2.C:
5888         * text3.C: replace "complicated" BufferView::update(...) calls with
5889         simpler ones.
5890
5891         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5892
5893 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5894
5895         * Makefile.am (lyx_SOURCES): add paper.h
5896
5897 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5898
5899         * Makefile.am: move things around so that both lyx-qt and
5900         lyx-xforms can be built (according to --with-frontend). Then lyx
5901         is a symbolic link to lyx-[firstfrontend]
5902
5903 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5904
5905         * Always use std::endl with lyxerr
5906
5907 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5908
5909         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5910
5911 2003-08-01  André Pönitz  <poenitz@gmx.net>
5912
5913         * BufferView.[Ch]:
5914         * BufferView_pimpl.[Ch]:
5915         * lyxfunc.C:
5916         * text3.C: merge BufferView::repaint() and BufferView::update()
5917
5918 2003-08-01  José Matos  <jamatos@lyx.org>
5919
5920         * buffer.[Ch]: file_format is no longer a buffer data element.
5921
5922 2003-08-01  André Pönitz  <poenitz@gmx.net>
5923
5924         * BufferView.C:
5925         * lyxtext.h:
5926         * text.C:
5927         * text2.C: make redoParagraph more independent of current cursor
5928
5929         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5930         * text.C:
5931         * text2.C: remove unneeded members
5932
5933 2003-07-30  André Pönitz  <poenitz@gmx.net>
5934
5935         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5936
5937         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5938           create a single function...
5939
5940         * paragraph_funcs.C (moveItem): ... here.
5941
5942         * text.C:
5943           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5944
5945 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5946
5947         * LColor.[Ch]: Add comment and greyedout logical colors.
5948
5949 2003-07-30  André Pönitz  <poenitz@gmx.net>
5950
5951         * tabular.C: don't use Assert too heavily. This crashes where it
5952           shouldn't
5953
5954 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5955
5956         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5957         is disabled (bug 1232)
5958
5959 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5960
5961         * factory.C: limited 'arg' scope
5962
5963 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5964
5965         * factory.C: fixed Note submenu issues
5966
5967 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5968
5969         * factory.C: submenu for Note/Comment/Greyedout
5970
5971 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5972
5973         * lyx_main.C (LyX):
5974         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5975
5976 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5977
5978         * LaTeXFeatures.C:
5979         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5980         greyedout. Patch provided by Jürgen Spitzmüller.
5981
5982 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5983
5984         * kbmap.C (read): fix error message when reading bind files
5985
5986 2003-07-29  Angus Leeming  <leeming@lyx.org>
5987
5988         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5989         certainly does not do what it purports to do. I am doing it, and
5990         us, a favour by killing it.
5991
5992 2003-07-28  José Matos  <jamatos@lyx.org>
5993
5994         * buffer.C (readBody, do_writeFile):
5995         * paragraph.C(readParagraph): \end_document replaces \the_end.
5996
5997 2003-07-29  André Pönitz  <poenitz@gmx.net>
5998
5999         * BufferView.[Ch]:
6000         * BufferView_pimpl.[Ch]:
6001         * lyxfunc.C:
6002         * text2.C:
6003         * text3.C:
6004         * textcursor.[Ch]: remove toggleToggle & Co
6005
6006 2003-07-28  José Matos  <jamatos@fep.up.pt>
6007
6008         * buffer.C (readParagraph):
6009         * params_func (readParToken, readParagraph):
6010         * paragraph.C (write): \layout -> \begin_layout.
6011
6012 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6013
6014         * lyxlex_pimpl.C (setFile): clean up slightly.
6015
6016         * bufferparams.h: add compressed var
6017
6018         * buffer_funcs.C (readFile): adjust for LyXLex change
6019         (newFile): ditto + simplify
6020
6021         * buffer.C (writeFile): handle writing of compressed files
6022
6023         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6024         Check if the file is compressed and set a bufferparm if so.
6025
6026         * Makefile.am (lyx_LDADD): remove explicit -lz
6027
6028 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6029
6030         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6031         makeDocBookFile): put the real LyX version in the first line of
6032         the file
6033
6034         * version.h:
6035         * version.C.in: remove lyx_docversion
6036
6037         * tabular.C (write_attribute): add a template-based version to
6038         write enums properly
6039
6040 2003-07-28  André Pönitz  <poenitz@gmx.net>
6041
6042         * lyxtext.h:
6043         * text.C:
6044         * text2.C:
6045         * text3.C: use doubles again for x-coordinates. They are needed.
6046
6047 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6048
6049         * messages.C (getLocaleDir): use lyx_localedir()
6050
6051         * lyxlex_pimpl.C (setFile): compress stuff
6052
6053         * buffer.C (writeFile): add some compression stuff
6054         (do_writeFile): new func, dont call expliti close... will this
6055         breake anything?
6056
6057         * Makefile.am (lyx_LDADD): add -lz
6058
6059 2003-07-28  José Matos  <jamatos@fep.up.pt>
6060
6061         * buffer.C: increment file format.
6062         * paragraph_funcs (readParagraph, readParToken):
6063         * paragraph.C (readParagraph): add \end_layout.
6064
6065 2003-07-27  Angus Leeming  <leeming@lyx.org>
6066
6067         * Makefile.am: remove special casing for configure-time setting of
6068         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6069
6070         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6071         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6072
6073 2003-07-26  André Pönitz  <poenitz@gmx.net>
6074
6075         * paragraph_func.[Ch]:
6076         * paragraph.C (realizeFont): inline it whereever it is used
6077
6078         * rowpainter.C:
6079         * text.C:
6080         * text2.C:
6081         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6082
6083
6084 2003-07-26  André Pönitz  <poenitz@gmx.net>
6085
6086         *       lyxtext.h:
6087         * text.C:
6088         * text2.C: get rid of LyXText::need_break_row
6089
6090 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6091
6092         * toc.[Ch]: put namespace toc inside namespace lyx
6093
6094         * MenuBackend.C (expandToc2): adjust for lyx::toc
6095         (expandToc): ditto
6096
6097         * lyxfunc.C (dispatch): adjust for lyx::find
6098
6099         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6100         lyx::find instead. Reorganize a bit.
6101         (LyXReplace): rename to replace
6102         (LyXFind): rename to find
6103
6104         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6105         (dispatch): ditto
6106
6107 2003-07-26  André Pönitz  <poenitz@gmx.net>
6108
6109         * text.C (setHeightOfRow): restrict scope of temporary variable
6110
6111         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6112           code (never has been used?)
6113
6114 2003-07-27  Asger Alstrup  <alstrup@local>
6115
6116         * text.C (fill): Optimise algorithm to exploit that we can reuse
6117         the LyXFont for many characters.
6118         (setHeightOfRow): Same thing.
6119         (rowBreakPoint): Same thing.
6120
6121 2003-07-26  Asger Alstrup  <alstrup@local>
6122
6123         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6124
6125         * text.C (singleWidth): Spurious font copying in hot-spot
6126         singleWidth avoided. Reorder tests for arabic for efficiency.
6127
6128         * text.C (fill): handle empty paragraphs better.
6129
6130 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6131
6132         * ispell.C:
6133         * encoding.h: add includes
6134
6135         * lyxrc.C: remove reading of bind files
6136
6137         * lyx_main.C (init): setup bindings and menus only if we have a
6138         gui.
6139
6140         * kbmap.C (read): new method. Do the actual reading of bind
6141         files.
6142
6143         * converter.C (dvipdfm_options):
6144         * bufferparams.C:
6145         * lyxrc.C (read):
6146         (output): adapt PAPER_* enums.
6147
6148         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6149
6150         * bufferparams.h: remove paper-related enums from there
6151
6152         * paper.h: New file. A trivial header file to hold paper-related
6153         enums. It should later expand to contain many paper-related
6154         horrors access.
6155
6156         * lyxrc.C: declare extern displayTranslator
6157
6158 2003-07-27  José Matos  <jamatos@fep.up.pt>
6159
6160         * tabular.[Ch] (linuxdoc): add support for tables and figures
6161         (linuxdoc).
6162
6163 2003-07-27  José Matos  <jamatos@fep.up.pt>
6164
6165         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6166         consistency in both functions.
6167         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6168
6169 2003-07-26  Asger Alstrup  <alstrup@local>
6170
6171         * rowpainter.C (paintRows): Change algorithm to work directly on
6172         the insets rather than asking every character in the document
6173         whether its an inset.
6174
6175 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6176
6177         * buffer.C (openFileWrite): factorize some code
6178
6179 2003-07-26  Angus Leeming  <leeming@lyx.org>
6180
6181         * lyx_cb.C:
6182         * lyx_main.[Ch]: replace occurances of system_tempdir with
6183         os::getTmpDir().
6184
6185 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6186
6187         * rename Inset to InsetOld
6188
6189 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6190
6191         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6192         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6193         which I think is a bit clearer. EDIT is gone, since it was
6194         premature optimisation, and broken for mathed anyway.
6195         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6196         with cursor positioning in insets as well (math insets still do not
6197         work, but that's a different story anyway.) It mysteriously
6198         crashes sometimes with undo in the first paragraph, but I'm fairly
6199         confident that this is a compiler bug.
6200
6201 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6202
6203         * paragraph.C (Paragraph): adjust for new clone return type
6204         (operator==): ditto
6205         (copyIntoMinibuffer): ditto
6206
6207 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6208
6209         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6210         by not having a special case, and always doing a full rebreak of
6211         the document after undo.
6212
6213 2003-07-23  Angus Leeming  <leeming@lyx.org>
6214
6215         * factory.C (createInset): InsetExternal::setParams now takes a
6216         Buffer const * arg.
6217
6218 2003-07-23  Angus Leeming  <leeming@lyx.org>
6219
6220         * factory.C (createInset): changed interface to the external and
6221         graphics mailers' string2params functions.
6222
6223 2003-07-23  Angus Leeming  <leeming@lyx.org>
6224
6225         * factory.C (createInset): pass a
6226         Buffer const * parameter to InsetExternalMailer's string2params.
6227
6228 2003-07-22  John Levon  <levon@movementarian.org>
6229
6230         * Thesaurus.h: include the right aiksaurus header
6231
6232 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6233
6234         * MenuBackend.C (expand): check menu shortcuts unconditionally
6235
6236 2003-07-21  Angus Leeming  <leeming@lyx.org>
6237
6238         * factory.C (createInset): pass a
6239         buffer_path parameter to InsetGraphicsMailer's string2params.
6240
6241 2003-07-21  Angus Leeming  <leeming@lyx.org>
6242
6243         * BufferView_pimpl.C (buffer):
6244         * buffer.C (d-tor):
6245         * lyx_main.C (LyX):
6246         * lyxfunc.C (dispatch):
6247         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6248         rather than the grfx shortcut.
6249
6250 2003-07-21  André Pönitz  <poenitz@gmx.net>
6251
6252         * rowpainter.C: remove unused variables
6253
6254         * tabular_funcs.C:
6255         * tabular_funcs.h: move to tabular.C
6256         * Makefile.am: adjust
6257
6258         * tabular.[Ch]: basic optical cleaning
6259
6260         * author.h: pass references, not values
6261
6262 2003-07-18  André Pönitz  <poenitz@gmx.net>
6263
6264         * lyxtext.h:
6265         * metricsinfo.C:
6266         * metricsinfo.h:
6267         * rowpainter.C:
6268         * text.C:
6269         * text2.C:
6270         * text3.C: two-phase drawing for InsetText and InsetTabular
6271         some float -> int changes.
6272
6273 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6274
6275         * lyx_main.C: fix the fix
6276
6277 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6278
6279         * lyx_main.C: fix a crash in batch mode if no files specified
6280         * converter.C: ws
6281
6282 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6283
6284         * format.[Ch] (papersize): moved to BufferParams
6285         * converter.[Ch] (dvips_options): moved to BufferParams
6286         (dvipdfm_options): moved to anon namespace
6287         * bufferparams.[Ch]: added above functions.
6288
6289 2003-07-17  André Pönitz  <poenitz@gmx.net>
6290
6291         * lyxtext.h:
6292         * rowpainter.C:
6293         * text2.C: don't call inset->update() anymore
6294
6295         * metricsinfo.[Ch]: add convenience constructor
6296
6297 2003-07-16  André Pönitz  <poenitz@gmx.net>
6298
6299         * lyxcursor.[Ch]:
6300         * lyxfunc.[Ch]:
6301         * text.C:
6302         * text2.C: replace the LyXCursor::irow_ member with
6303          on-demand computation of the value
6304
6305 2003-07-16  John Levon  <levon@movementarian.org>
6306
6307         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6308
6309 2003-07-15  André Pönitz  <poenitz@gmx.net>
6310
6311         * text.C:
6312         * text2.C: remove no more needed refresh_row
6313
6314 2003-07-15  André Pönitz  <poenitz@gmx.net>
6315
6316         * lyxtext.h:
6317         * rowpainter.C:
6318         * text2.C:
6319         * text3.C: refresh_status tristate -> need_update bool
6320
6321 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6322
6323         * lyxtext.h (init): remove reinit argument (act as if always true)
6324         * text2.C: adjust to that
6325
6326 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6327
6328         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6329         * text3.C: use it to delete selections in some cases
6330         (bugs 441, 673, 702, 954).
6331
6332 2003-07-14  André Pönitz  <poenitz@gmx.net>
6333
6334         * rowpainter.[Ch]: reduce interface
6335
6336 2003-07-14  André Pönitz  <poenitz@gmx.net>
6337
6338         * BufferView_pimpl.C:
6339         * text2.C: adjust after removing unused BufferView * argument
6340
6341 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6342
6343         * text2.C (init): fix a crash fired on resize
6344
6345 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6346
6347         * buffer.[Ch]: added new closing signal
6348         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6349         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6350         BufferView::Pimpl via the closing the signal
6351
6352 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6353
6354         * buffer.[Ch]: take out all bv-related from buffer
6355         * BufferView.C:
6356         * BufferView_pimpl.[Ch]: connect to new signals
6357         * CutAndPaste.C: removed useless asserts
6358         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6359         * lyxvc.[Ch]:
6360         * vc-backend.[Ch]:
6361         * lyxfunc.C: moved view-related funciontality from vc here
6362         * paragraph.C: removed outdated comments
6363         * text.C: ws
6364
6365 2003-07-10  André Pönitz  <poenitz@gmx.net>
6366
6367         * BufferView_pimpl.C:
6368         * tabular.h:
6369         * tabular_funcs.C:
6370         * text.C:
6371         * text2.C: remove InsetText::InnerCache, clean up consequences
6372
6373 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6374
6375         * ispell.C: fix two typos in error messages
6376
6377 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6378
6379         * Extend Note inset to other forms of annotation like Comment
6380         and Greyedout. Right button click gives dialog.
6381
6382         Files modified or added (+):
6383
6384         * insetnote.[Ch]
6385         * FormNote.[Ch]      +
6386         * ControlNote.[Ch]   +
6387         * form_note.fd       +
6388         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6389         frontends/controllers
6390         * xforms/Dialogs.C
6391         * factory.C
6392
6393 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6394
6395         * aspell.C: add missing namespace lyx::support
6396
6397 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6398
6399         * BufferView.[Ch] (newFile): Add
6400         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6401         * LaTeX.[Ch] (message): added this signal and use it
6402         * buffer.[Ch] (busy, message): added these signals and use them
6403         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6404         * converter.C:
6405         * exporter.C:
6406         * format.C:
6407         * importer.C: use buffer signals instead of direct bv calling
6408         * lyx_cb.[Ch] (ShowMessage): removed
6409         * lyx_main.C:
6410         * lyxfunc.C:
6411         * paragraph_funcs.C:
6412         * text2.C: use buffer signals
6413
6414 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6415
6416         * introduce namespace lyx::graphics
6417
6418 2003-07-02  André Pönitz  <poenitz@gmx.net>
6419
6420         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6421
6422 2003-07-01  André Pönitz  <poenitz@gmx.net>
6423
6424         * text.C:
6425         * text2.C:
6426         * text3.C:
6427         * text_funcs.[Ch]:
6428         * textcursor.h:
6429         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6430           text*.C to text_func.C
6431
6432 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6433
6434         * introduce namespace lyx::support
6435
6436 2003-06-30  André Pönitz  <poenitz@gmx.net>
6437
6438         * Chktex.C:
6439         * funcrequest.C:
6440         * lyxtext.h:
6441         * text.C: re-enable --with-included-string
6442
6443 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6444
6445         * textcursor.C: add <config.h>
6446
6447         * text.C (getWord): remove const from word_location arg
6448
6449         * lyxvc.C (getLogFile): fix const type order
6450
6451         * lyxtext.h: remove const from word_location arg, add arg name
6452
6453         * lyxlayout.h: currect type on labeltype.
6454
6455         * importer.C: correct \file
6456
6457         * converter.C (intToFormat): use std:: on ret val, ws changes
6458
6459         * bufferlist.h: correct \file
6460
6461         * buffer.C (makeLinuxDocFile): fix const type order
6462         (makeDocBookFile): ditto
6463         (fillWithBibKeys): use std:: on stdlib args.
6464
6465         * CutAndPaste.C: fix authors.
6466         (availableSelections): use std:: on return vector
6467
6468 2003-06-27  André Pönitz  <poenitz@gmx.net>
6469
6470         * BufferView_pimpl.C:
6471         * bufferview_funcs.C:
6472         * lyxcursor.C:
6473         * lyxcursor.h:
6474         * lyxfunc.C:
6475         * lyxtext.h:
6476         * rowpainter.C:
6477         * text.C:
6478         * text2.C:
6479         * text3.C: remove LyXCursor::row_ member
6480
6481         * lyxtext.h:
6482         * text.C: rename fullRebreak() to partialRebreak() and implement
6483           a fullRebreak() that really bereks fully
6484
6485         * textcursor.h: new struct for cursor-related data
6486
6487 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6488
6489         * lyx_main.C (LyX): get full path of document loaded on the
6490         command line
6491
6492 2003-06-26  André Pönitz  <poenitz@gmx.net>
6493
6494         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6495           remove unused/broken operator>,<,>=.
6496
6497         *       text.C: remove only use of broken operator<= in an Assert().
6498
6499 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6500
6501         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6502         moved errorlist_.clear to showErrorList
6503
6504 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6505
6506         * converter.C (scanLog, runLaTeX):
6507         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6508         move the bv->showErrorList call to the callers
6509         * lyxfunc.C: i.e. here...
6510         * text2.C: and here
6511         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6512         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6513         namespace, the second to...
6514         * buffer_funcs (BufferFormat, parseErrors): added
6515         * errorlist.C (ErrorList(TeXErrors const &)): removed
6516
6517 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6518
6519         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6520
6521 2003-06-24  "Garst R. Reese" <reese@isn.net>
6522
6523         * debug.C: fix typo
6524
6525 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6526
6527         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6528
6529         * version.C.in: change docversion to 1.4
6530
6531 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6532
6533         * buffer.C: fix a bug just introduced
6534
6535 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6536
6537         * buffer.[Ch]: added the parseError signal and use it, removed
6538         sgmlError
6539         * BufferView.[Ch] (addError): moved to ...
6540         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6541         to the Buffer::parseError signal to catch (guess what) parse errors
6542         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6543
6544 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6545
6546         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6547         ability to create a buffer and to return an existing one from
6548         the list. Moved these functions to...
6549         * buffer_funcs.[Ch]: added
6550         * BufferView.[Ch] (loadLyXFile): added
6551         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6552         job removed from bufferlist::loadLyXFile.
6553         * buffer.C (setReadOnly): make it work without view
6554         (i.e added an if (users))
6555
6556 2003-06-19  Angus Leeming  <leeming@lyx.org>
6557
6558         * lfuns.h:
6559         * LyXAction.C (init):
6560         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6561         with LFUN_DIALOG_SHOW <name> <data>.
6562
6563 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6564
6565         * CutAndPaste.C (availableSelections): small compilation fix for
6566         ancient (gcc 2.9x) compilers
6567
6568 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6569
6570         * text3.C (cursorNext): add tmp var
6571
6572         * text2.C (updateCounters): for function calling out of for clause
6573         (replaceSelectionWithString): ditto
6574         (insertStringAsParagraphs): ditto
6575         (getColumnNearX): add tmp var
6576         (setCursorFromCoordinates): add tmp var
6577         (cursorDownParagraph): add tmp var
6578         (deleteEmptyParagraphMechanism): add tmp var
6579
6580         * text.C (insertChar): add tmp var
6581
6582         * rowpainter.C (paintDepthBar): add tmp var
6583
6584         * CutAndPaste.C (availableSelections): potentially check all
6585         paragraphs in a cut to fill the shown strings.
6586
6587 2003-06-18  André Pönitz  <poenitz@gmx.net>
6588
6589         * kbmap.[Ch]: use vector<> instead of list<>
6590
6591 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6592
6593         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6594         pasteSelection with index
6595
6596         * text2.C (pasteSelection): modify, call pasteSelection with index
6597
6598         * paragraph.C (asString): reimplement version with no interval to
6599         call the one with interval.
6600
6601         * lyxtext.h: add index arg to pasteSelection
6602
6603         * MenuBackend.C (MenuItem): handle PasteRecent
6604         (Menu::read::Menutags): add md_pasterecent
6605         (read): handle it
6606         (expandPasteRecent): new function
6607         (expand): use it
6608
6609         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6610
6611         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6612         the limited stack
6613         (availableSelections): new function
6614
6615 2003-06-17  Angus Leeming  <leeming@lyx.org>
6616
6617         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6618
6619 2003-06-17  Angus Leeming  <leeming@lyx.org>
6620
6621         * lfuns.h:
6622         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6623
6624         * lyxfunc.C (dispatch): invoke it.
6625
6626 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6627
6628         * iterators.C (operator++, ParPosition): reintroduce some
6629         const_cast for the benefit of older compilers.
6630
6631 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6632
6633         * text3.C (dispatch): do not modify clipboard when doing
6634         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6635         LFUN_DELETE_SKIP on a selection selection
6636
6637 2003-06-16  André Pönitz  <poenitz@gmx.net>
6638
6639         * BufferView.C:
6640         * buffer.C:
6641         * buffer.h:
6642         * paragraph.C:
6643         * tabular.[Ch]: IU of clone() and getLabelList();
6644
6645 2003-06-13  André Pönitz  <poenitz@gmx.net>
6646
6647         * tabular.h: compactification
6648
6649 2003-06-12  André Pönitz  <poenitz@gmx.net>
6650
6651         * tabular.C:
6652         * tabular.h:
6653         * tabular_funcs.h: some renaming plus whitespace
6654
6655 2003-06-12  André Pönitz  <poenitz@gmx.net>
6656
6657         * BufferView.C:
6658         * BufferView_pimpl.C:
6659         * CutAndPaste.C:
6660         * buffer.C:
6661         * iterators.[Ch]:
6662         * lyxfunc.C:
6663         * text.C:
6664         * toc.C: Return a Paragraph & for ParIterator::operator*()
6665
6666 2003-06-11  John Levon  <levon@movementarian.org>
6667
6668         * lyx_main.C:
6669         * ToolbarBackend.h:
6670         * ToolbarBackend.C: add "Toolbars" section and
6671         put the flags there
6672
6673 2003-06-10  Angus Leeming  <leeming@lyx.org>
6674
6675         * lfuns.h:
6676         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6677
6678         * lyxfunc.C (dispatch): invoke it.
6679
6680 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6681
6682         * main.C: protect <ios> with HAVE_IOS
6683         (main): protect sync_with_stdio with HAVE_IOS
6684
6685 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6686
6687         * text2.C (cutSelection): adjust
6688         (pasteSelection): adjust
6689
6690         * messages.C: handle get of empty string
6691
6692         * main.C (main): use sync_with_stdio(false)
6693
6694         * lyxfunc.C (dispatch): adjust
6695
6696         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6697         (WriteAs): remove unneeded BufferView arg.
6698
6699         * bufferparams.h: use correct types on papersize, papersize2 and
6700         paperpackage.
6701
6702         * bufferparams.C (readToken): adjust for type
6703         (writeLaTeX): add missing cases to switch.
6704
6705         * bufferlist.C (quitWriteBuffer): adjust
6706         (close): adjust
6707
6708         * buffer.C (asciiParagraph): remove some commented code.
6709
6710         * CutAndPaste.C: remove current_view extern variable.
6711         (cutSelection): add BufferParams arg.
6712         (eraseSelection): add BufferParams arg.
6713         (pasteSelection): add Buffer const & arg
6714
6715 2003-06-07  John Levon  <levon@movementarian.org>
6716
6717         * buffer.C:
6718         * paragraph_funcs.C:
6719         * paragraph_pimpl.C:
6720         * text.C:
6721         * text2.C:
6722         * paragraph.h:
6723         * paragraph.C: allow InsetERT to freely space lines,
6724         and some consolidation of code
6725
6726 2003-06-06  José Matos  <jamatos@fep.up.pt>
6727
6728         * buffer.C (makeDocBookFile): fix bug #821
6729
6730 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6731
6732         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6733
6734 2003-06-04  Angus Leeming  <leeming@lyx.org>
6735
6736         * buffer.C: bump format to 224.
6737
6738 2003-06-05  André Pönitz  <poenitz@gmx.net>
6739
6740         * text2.C (redoParagraphs): remove two const_cast<>
6741
6742 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6743
6744         * ParagraphList.h: remove last remnants of NO_STD_LIST
6745
6746 2003-06-03  Angus Leeming  <leeming@lyx.org>
6747
6748         * factory.C (createInset): small change to the way InsetExternal's params
6749         are set.
6750
6751 2003-06-04  André Pönitz  <poenitz@gmx.net>
6752
6753         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6754
6755         * paragraph_pimpl.h:
6756         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6757
6758         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6759
6760         * undo_funcs.C: make some simple cases of undo work again
6761
6762 2003-06-03  John Levon  <levon@movementarian.org>
6763
6764         * ispell.C: HPUX doesn't have sys/select.h
6765         (from Albert Chin)
6766
6767 2003-06-03  John Levon  <levon@movementarian.org>
6768
6769         * CutAndPaste.C: update tabular and include inset
6770         buffer references
6771
6772         * buffer.h:
6773         * paragraph.h:
6774         * paragraph.C: remove owningBuffer(), don't pass Buffer
6775         to clone()
6776
6777         * factory.C: insetGraphicsParams changed
6778
6779 2003-06-02  John Levon  <levon@movementarian.org>
6780
6781         * LyXAction.C:
6782         * factory.C:
6783         * lfuns.h:
6784         * lyxfunc.C:
6785         * text3.C: remove insetparent
6786
6787 2003-06-02  John Levon  <levon@movementarian.org>
6788
6789         * buffer.h:
6790         * buffer.C: fix inset_iterator.end(), move out of line
6791         (bug 1149)
6792
6793 2003-06-01  John Levon  <levon@movementarian.org>
6794
6795         * text3.C: use a proper cut/paste when doing inset
6796         insert (from Jürgen Spitzmüller)
6797
6798 2003-06-01  John Levon  <levon@movementarian.org>
6799
6800         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6801
6802 2003-05-30  André Pönitz  <poenitz@gmx.net>
6803
6804         * rowpainter.C: unify second drawing phase
6805
6806 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6807
6808         * trans_mgr.C: remove one case of current_view
6809
6810         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6811
6812         * paragraph_funcs.h: remove paragraph.h include
6813
6814         * paragraph.h: delete NO_STD_LIST stuff
6815
6816         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6817
6818         * buffer.h: remove paragraph.h include
6819
6820         * ParagraphList.C: delete file
6821
6822         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6823
6824         * toc.C (getTocList): adjust
6825
6826         * paragraph_pimpl.C (validate): adjust
6827
6828         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6829
6830         * paragraph.C (Paragraph): adjust
6831         (getPositionOfInset): use const_iterator, adjust
6832         (bibitem): use const_iterator, adjust
6833         (setInsetOwner): adjust
6834
6835         * iterators.C (operator++): adjust
6836
6837         * InsetList.[Ch]: Replace selfmade iterator with standard
6838         vector::iterator also introduce const_iterator. Remove getPos,
6839         getInset and setInset from InsetTable. Adjust accordingly.
6840
6841         * BufferView.C (lockInset): adjust
6842         (ChangeInsets): adjust
6843
6844         * tabular.[Ch]: delete commented same_id functions
6845
6846 2003-05-28  John Levon  <levon@movementarian.org>
6847
6848         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6849
6850 2003-05-28  André Pönitz  <poenitz@gmx.net>
6851
6852         * metricsinfo.[Ch]: remove 'fullredraw' member
6853
6854 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6855
6856         * lyxtextclass.C (operator): remove caching.
6857
6858 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6859
6860         * text3.C: adjust
6861
6862         * text2.C (cursorBottom): adjust
6863         (setCounter): use ParagraphList::find, adjust
6864
6865         * text.C (workWidth): use ParagraphList::find, adjust
6866
6867         * lyxcursor.C (LyXCursor): adjust
6868
6869         * buffer.C (inset_iterator): adjust
6870
6871         * ParagraphList.h: make iterator(value_type) private, make
6872         ParagraphList a friend of iterator.
6873
6874         * ParagraphList.C (find): new function
6875
6876         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6877
6878 2003-05-27  André Pönitz  <poenitz@gmx.net>
6879
6880         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6881
6882 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6883
6884         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6885
6886 2003-05-26  John Levon  <levon@movementarian.org>
6887
6888         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6889
6890 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6891
6892         * remove same_id from function signatures, adjust.
6893
6894 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6895
6896         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6897
6898         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6899
6900         * paragraph.C (Paragraph): get rid of same_ids parameter
6901
6902         * ParagraphList.C (insert): adjust
6903         (push_back): adjust
6904
6905 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6906
6907         * paragraph_funcs.C (breakParagraph): adjust
6908         (breakParagraphConservative): adjust
6909
6910         * buffer.C (readParagraph): adjust
6911
6912         * ParagraphList.C (insert): take a reference instead of a pointer
6913         (insert): adjust
6914
6915         * paragraph.[Ch] (id): new function
6916
6917         * bufferlist.C (newFile): adjust
6918
6919         * ParagraphList.C (ParagraphList): adjust
6920         (assign): adjust
6921         (push_back): take a reference instead of a pointer.
6922
6923         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6924
6925         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6926         instead.
6927
6928         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6929         set else use old code.
6930
6931         * ParagraphList.C: remove all NO_NEXT code and only compile this
6932         code of NO_STD_LIST is set.
6933
6934 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6935
6936         * BufferView_pimpl.C:
6937         * TextCache.C:
6938         * TextCache.h:
6939         * bufferlist.C:
6940         * errorlist.h:
6941         * format.C:
6942         * format.h:
6943         * graph.C:
6944         * lyxfunc.C:
6945         * lyxrc.C:
6946         * graphics/GraphicsConverter.C:
6947         * graphics/PreviewLoader.C: header adjustment
6948
6949 2003-05-23  Angus Leeming  <leeming@lyx.org>
6950
6951         * LaTeXFeatures.[Ch] (useBabel): new method.
6952         * bufferparams.C (writeLaTeX): use it.
6953
6954 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6955
6956         * ParagraphList.h (set): remove unused function.
6957
6958 2003-05-23  André Pönitz  <poenitz@gmx.net>
6959
6960         * BufferView.C:
6961         * BufferView_pimpl.C:
6962         * buffer.C:
6963         * buffer.h:
6964         * lyxfunc.C:
6965         * undo_funcs.C: setUndo reworked
6966
6967         * iterators.[Ch]: add access to topmost ParagraphList
6968
6969         * lyxtext.[Ch] (workWidth): add a const
6970
6971 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6972
6973         * texrow.[Ch] (increasePos): remove function
6974         * exporter.C (export): removed unused var and outdated comment
6975
6976 2003-05-23  Angus Leeming  <leeming@lyx.org>
6977
6978         * latexrunparams.h: rename fragile as moving_arg.
6979         * paragraph.C (simpleTeXOnePar): ditto.
6980         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6981
6982 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6983
6984         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6985         (createUndo): ditto
6986         (textUndoOrRedo): comment out a currently unused var.
6987
6988         * paragraph.h (NO_NEXT): enable NO_NEXT
6989
6990         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6991
6992         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6993
6994         * exporter.C (Export): adjust for removeAutoInsets removal.
6995
6996         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6997
6998         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6999
7000         * BufferView.[Ch] (removeAutoInsets): delete function
7001
7002 2003-05-22  Angus Leeming  <leeming@lyx.org>
7003
7004         * latexrunparams.h: add a free_spacing variable.
7005
7006         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7007         to pass moving_arg, as the data is stored in runparams.fragile.
7008
7009         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7010         to Inset::latexOptional or to simpleTeXOnePar.
7011
7012         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7013         free_spacing arg to Inset::latexOptional.
7014
7015         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7016         free_spacing arg.
7017
7018 2003-05-22  Angus Leeming  <leeming@lyx.org>
7019
7020         * latexrunparams.h: add fragile and use_babel variables.
7021
7022         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7023         * buffer.C (makeLaTeXFile): store this returned value in
7024         runparams.use_babel, thus passing it to the inset::latex methods.
7025
7026         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7027         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7028
7029         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7030         longer has a fragile arg, as it is stored in runparams.fragile.
7031
7032         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7033         moving_arg parameter as the data is stored in runparams.fragile.
7034
7035         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7036         a fragile parameter as the data is stored in runparams.fragile.
7037
7038 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7039
7040         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7041
7042 2003-05-22  Angus Leeming  <leeming@lyx.org>
7043
7044         * latexrunparams.h: add a 'bool nice' which defaults to false.
7045
7046         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7047         now encapsulated within runparams.
7048
7049         * bufferlist.C (updateIncludedTeXfiles):
7050         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7051
7052 2003-05-22  Angus Leeming  <leeming@lyx.org>
7053
7054         * latexrunparams.h: new file containing struct LatexRunParams.
7055         * Makefile.am: add new file.
7056
7057         * LaTeX.[Ch] (c-tor, run):
7058         * buffer.[Ch] (makeLaTeXFile):
7059         * bufferlist.[Ch] (updateIncludedTeXfiles):
7060         * converter.C (convert, scanLog):
7061         * converter.[Ch] (runLaTeX):
7062         * exporter.C (Export):
7063         * paragraph.[Ch] (simpleTeXOnePar):
7064         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7065         * paragraph_funcs.[Ch] (latexParagraphs):
7066         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7067         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7068         pass around a LatexRunParams parameter.
7069
7070 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7071
7072         * paragraph.[Ch]: remove unused constructor
7073
7074         * ParagraphList.C (erase): new function, taking two iterators
7075
7076 2003-05-22  André Pönitz  <poenitz@gmx.net>
7077
7078         * undo_funcs.C: remove duplicated code
7079
7080         * iterator.[Ch]: operator=
7081
7082 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7083
7084         * tabular.C (SetMultiColumn): ws changes
7085
7086         * rowpainter.C (paintFirst): get rid of a ->previous
7087
7088         * lyx_cb.C (getPossibleLabel): parlist simplification
7089
7090         * BufferView.C (ChangeInsets): simplify slightly.
7091
7092 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7093
7094         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7095         * lfuns.h: new LFUN_SPACE
7096         * lyxfunc.C: protected space has a new lfun
7097         * paragraph_funcs.C: read new space insets
7098         * text3.C:
7099         * factory.C: handle new space insets
7100
7101 2003-05-22  André Pönitz  <poenitz@gmx.net>
7102
7103         * BufferView.C:
7104         * BufferView_pimpl.C:
7105         * buffer.[Ch]:
7106         * lyxfunc.C:
7107         * undo_funcs.C: return a ParIterator from getParFromID.
7108
7109         * iterators.[Ch]: add two const's
7110
7111 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7112
7113         * toc.C (getTocList): adjust
7114
7115         * iterators.[Ch]: rework for parlist
7116
7117         * buffer.C (par_iterator_begin): adjust
7118         (par_iterator_end): adjust
7119
7120         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7121
7122         * BufferView.C (removeAutoInsets): adjust
7123         (ChangeInsets): adjust
7124
7125 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7126
7127         * text.C (top_y): fix bug 1110
7128
7129 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7130
7131         * errorlist.[Ch]: added
7132         * buffer.C:
7133         * BufferView.[Ch]:
7134         * BufferView_pimpl.C:
7135         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7136         instead
7137
7138 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7139
7140         * Makefile.am: ensure that lyx is relinked upon changes to the
7141         various "convenience" libs.
7142
7143 2003-05-20  Angus Leeming  <leeming@lyx.org>
7144
7145         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7146         files are compiled in alphabetical order again.
7147
7148         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7149
7150 2003-05-19  Angus Leeming  <leeming@lyx.org>
7151
7152         * gettext.[Ch]: remove "char const * _(char const *)".
7153
7154 2003-05-19  André Pönitz  <poenitz@gmx.net>
7155
7156         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7157
7158         * Makefile.am:
7159         * BufferView.C:
7160         * DepTable.h:
7161         * LaTeXFeatures.C:
7162         * buffer.C:
7163         * lyxfont.C:
7164         * lyxlex.h:
7165         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7166
7167 2003-05-19  André Pönitz  <poenitz@gmx.net>
7168
7169         * buffer.C:
7170         * lyxlayout.[Ch]:
7171         * lyxtextclass.[Ch]:
7172         * paragraph.C:
7173         * paragraph_funcs.[Ch]:
7174         * text2.C:
7175         * text3.C: more insetenv work
7176
7177 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7178
7179         * ParagraphParameters.C (params2string): small bug fixed
7180
7181 2003-05-16  André Pönitz  <poenitz@gmx.net>
7182
7183         * debug.C:
7184         * bufferview_funcs.C: patch from Kornel Benko to prevent
7185           crash when _(...) is called twice in a statement
7186
7187 2003-05-16  André Pönitz  <poenitz@gmx.net>
7188
7189         * BufferView.C:
7190         * lyxfunc.C:
7191         * text.C:
7192         * text2.C:
7193         * text3.C:
7194         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7195
7196 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7197
7198         * lyx_main.C (init): remove spurious static_cast
7199
7200 2003-05-14  André Pönitz  <poenitz@gmx.net>
7201
7202         * BufferView.C: fix format string
7203
7204 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7205
7206         * BufferView.[Ch] (insertErrors): removed
7207         * BufferView.[Ch] (showErrorList): added
7208         * buffer.C (runChkTeX):
7209         * converter.C (scanLog): call showErrorList instead of inserterrors
7210
7211 2003-05-13  André Pönitz  <poenitz@gmx.net>
7212
7213         * BufferView_pimpl.C:
7214         * buffer.C:
7215         * bufferview_func.C:
7216         * MenuBackend.C:
7217         * lyxfunc.C:
7218         * lyxrc.C:
7219         * tex-accent.C:
7220         * text3.C:
7221         * toc.C:
7222         * tabular_funcs.h: tostr() from its own header
7223
7224         * ParagraphParameters.C:
7225         * ToolbarBackend.C:
7226         * bufferparams.C:
7227         * format.C:
7228         * lyxlex_pimpl.C:
7229         * text3.C: STRCONV()
7230
7231 2003-05-12  André Pönitz  <poenitz@gmx.net>
7232
7233         * BufferView.C:
7234         * BufferView_pimpl.C:
7235         * CutAndPaste.C:
7236         * LaTeX.C:
7237         * LaTeXFeatures.C:
7238         * ParagraphParameters.C:
7239         * buffer.C:
7240         * bufferlist.C:
7241         * bufferparams.C:
7242         * bufferview_funcs.C:
7243         * converter.C:
7244         * counters.C:
7245         * debug.C:
7246         * exporter.C:
7247         * format.C:
7248         * importer.C:
7249         * lyx_cb.C:
7250         * lyx_main.C:
7251         * lyxfont.C:
7252         * lyxfunc.C:
7253         * lyxvc.C:
7254         * paragraph.C:
7255         * paragraph_funcs.C:
7256         * tabular.C:
7257         * tabular_funcs.C:
7258         * text2.C:
7259         * text3.C:  boost::format -> bformat  all over the place
7260
7261
7262 2003-05-09  André Pönitz  <poenitz@gmx.net>
7263
7264         * LColor.[Ch]: Pimpl the #include <map> away
7265
7266 2003-05-09  John Levon  <levon@movementarian.org>
7267
7268         * bufferlist.C: never remove emergency saves
7269
7270 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7271
7272         * Makefile.am: better lib building
7273
7274 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7275
7276         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7277         instead.
7278         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7279         (simpleTeXSpecialChars): adjust
7280         (simpleTeXSpecialChars): adjust
7281         * paragraph.C (simpleTeXOnePar): adjust
7282         * buffer.C (makeLaTeXFile): adjust
7283
7284         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7285
7286         * text2.C (changeDepth): parlist cleanup
7287         (getColumnNearX): ditto
7288
7289         * rowpainter.C (getLabelFont): parlist cleanup
7290
7291         * bufferlist.C (newFile): parlist cleanup
7292
7293         * CutAndPaste.C (eraseSelection): parlist cleanup
7294
7295         * BufferView_pimpl.C (trackChanges): parlist cleanup
7296         (dispatch): ditto
7297
7298         * BufferView.C (lockInset): parlist cleanup.
7299         (ChangeInsets): ditto
7300
7301 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7302
7303         * CutAndPaste.h: Update file header.
7304
7305         * CutAndPaste.C: Update file header.
7306         Store the parts cut out of the Document in a limited_stack.
7307         (copySelection): adjust
7308         (pasteSelection): new function, takes the index in the limited stack.
7309         (nrOfParagraphs): adjust
7310         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7311         simplify error inset insertion.
7312         (checkPastePossible): adjust
7313
7314 2003-05-06  John Levon  <levon@movementarian.org>
7315
7316         * text2.C: don't cast wrap inset to float
7317
7318 2003-05-05  André Pönitz  <poenitz@gmx.net>
7319
7320         * iterator.C:
7321         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7322
7323         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7324           few naked Paragraph *.
7325
7326 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7327
7328         * bufferparams.C: Output warning if a document with missing
7329         TeX document class is loaded
7330         * exporter.C: Disable TeX exports if the document class is missing
7331         * lyxtextclass.C:
7332         * lyxtextclass.h:
7333         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7334         isTeXClassAvailable()
7335
7336 2003-05-03  John Levon  <levon@movementarian.org>
7337
7338         * BufferView.h:
7339         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7340         explicit cursor show/hide
7341
7342         * BufferView_pimpl.h:
7343         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7344         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7345
7346         * lyxfunc.C: hide cursor before dispatching.
7347
7348         * lyx_cb.C:
7349         * lyxfind.C:
7350         * text.C:
7351         * text3.C: remove explicit cursor hides
7352
7353 2003-05-02  André Pönitz  <poenitz@gmx.net>
7354
7355         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7356
7357         * undo_funcs.C:
7358         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7359           linked lists
7360
7361         * text2.C: tiny whitespace
7362
7363 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7364
7365         * undo_funcs.C: almost only ws changes.
7366
7367         * ParagraphList.C (splice): just return if pl is empty.
7368
7369 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7370
7371         * ParagraphList.C (splice): new function.
7372
7373         * CutAndPaste.C (pasteSelection): use it
7374
7375 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7376
7377         * CutAndPaste.C (pasteSelection): remove the last next and
7378         previous from this file.
7379
7380 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7381
7382         * CutAndPaste.C (pasteSelection): more clean up, user proper
7383         ParagraphList functions for pasteing.
7384
7385         * ParagraphList.C (insert): new function, three arg insert
7386
7387 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7388
7389         * ParagraphList.C (insert): new function, three arg insert
7390
7391         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7392         not on paragraphs.
7393
7394 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7395
7396         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7397
7398 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7399
7400         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7401
7402 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7403
7404         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7405         (copySelection): clean up a bit.
7406         (pasteSelection): use make_pair
7407
7408         * ParagraphList.C (ParagraphList): implement copy constructor
7409         (operator=): implement, base on copy constructor.
7410         (assign): new func
7411
7412         * paragraph.C (erase): return a bool
7413
7414         * paragraph_pimpl.C (erasePos): remove function, move contents...
7415         (erase): ... here. Return a bool.
7416         (erase): call erase instead of erasePos.
7417
7418 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7419
7420         * ParagraphList.h: define PitPosPair
7421         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7422         ParagraphList, fix a bug on pasting multiple pars
7423         * text2.C: change interface to C&P
7424
7425 2003-04-30  André Pönitz  <poenitz@gmx.net>
7426
7427         * undo_func.C: revert part of yesterday's patch 2
7428
7429 2003-04-30  John Levon  <levon@movementarian.org>
7430
7431         * LColor.C: s/tabular/table/
7432
7433 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7434
7435         * text3.C (dispatch): do not convert iterator -> pointer
7436         * undo_funcs.C (setCursorParUndo): ditto
7437         * text_funcs.C (transposeChars): ditto
7438
7439         * text2.C (setLayout): ws changes only
7440
7441         * text.C (breakParagraph): do not convert iterator -> pointer
7442         (insertChar): ditto
7443         (acceptChange): ditto
7444         (rejectChange): ditto
7445         (changeCase): ditto
7446         (Delete): ditto
7447         (backspace): ditto
7448
7449         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7450         pointer
7451
7452 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7453
7454         * text3.C (gotoInset): YABG (yet another bad getChar)
7455
7456 2003-04-29  André Pönitz  <poenitz@gmx.net>
7457
7458         * paragraph.h: make operator= private unimplemented as long as
7459           it is unusable
7460
7461         * ParagraphList.C: whitespace
7462
7463         * paragraph.[Ch]:
7464         * paragraph_pimpl.[Ch]:
7465         * paragraph_funcs.C:
7466         * CutAndPaste.C:
7467         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7468
7469         * text2.C:
7470           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7471
7472 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7473
7474         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7475         * paragraph.[Ch] (erase):
7476         * paragraph_pimpl.[Ch] (erase): change return type and value
7477         * text2.C (cutSelection): some rework
7478
7479 2003-04-28  John Levon  <levon@movementarian.org>
7480
7481         * bufferlist.C: changes for unsaved changes dialog
7482
7483 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7484
7485         * bufferlist.C (newFile): set language (messages_) for new
7486         documents also.
7487
7488         * buffer.C (readFile): ws changes only.
7489
7490 2003-04-28  André Pönitz  <poenitz@gmx.net>
7491
7492         * undo_funcs.C:
7493         * lyxfunc.C:
7494         * buffer.[Ch]:
7495         * BufferView_pimpl.C:
7496         * BufferView.C: getParFromID related ParagraphList::iterator changes
7497
7498 2003-04-28  André Pönitz  <poenitz@gmx.net>
7499
7500         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7501           Changes
7502
7503 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7504
7505         * messages.C: remove one more localedir class variable.
7506
7507 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7508
7509         * messages.C (getLocaleDir): singleton generation function
7510         (Pimpl): use it.
7511         (Messages): add a default constructor.
7512
7513         * main.C (main): do not setup localedir here, do not call
7514         gettext_init.
7515
7516         * gettext.C (_): use it.
7517         (gettext_init): delete funciton
7518
7519 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7520
7521         * gettext.C (getLyXMessages): new singleton generating function.
7522
7523         * buffer.C (updateDocLang): adjust
7524
7525         * Makefile.am (messages.o): add target
7526         (main.o): remove target
7527
7528 2003-04-27  John Levon  <levon@movementarian.org>
7529
7530         * bufferlist.C:
7531         * lyx_cb.C:
7532         * lyxfunc.C:
7533         * lyxvc.C: specify cancel button in Alert::prompt
7534
7535 2003-04-26  John Levon  <levon@movementarian.org>
7536
7537         * text3.C:
7538         * lyxfunc.C:
7539         * lfuns.h:
7540         * LyXAction.C: add LFUN_INSET_SETTINGS
7541
7542         * lyxfunc.C: don't enable tabular-feature when there's
7543         just any locking inset
7544
7545 2003-04-26  John Levon  <levon@movementarian.org>
7546
7547         * bufferlist.C: re-add Cancel to buffer close question
7548
7549         * lyxfunc.C: fix import UI a bit
7550
7551 2003-04-25  John Levon  <levon@movementarian.org>
7552
7553         * gettext.C: remove the broken asserts for now
7554
7555 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7556
7557         * messages.C: make case where setlocale cannot comply work better.
7558
7559         * buffer.C (updateDocLang): new function
7560         (changeLanguage): use it
7561         (readFile): use it
7562
7563         * text2.C (setCounter): use B_ a bit.
7564
7565         * lyxlayout.C (Read): be sure to trim the label strings.
7566
7567         * messages.C (Messages): fix typo in comment
7568
7569         * buffer.C (readFile): set message_ after file is loaded.
7570         (makeDocBookFile): remove double return
7571         (changeLanguage): reset message_ upon language change.
7572         (B_): new func, use this to get translated buffer strings.
7573
7574         * main.C: add myself and Jean Marc as authors.
7575
7576 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7577
7578         * messages.[hC]: pimplify Messages, and three different pimpls to be
7579         used in different circumstances.
7580
7581         * gettext.[Ch]: change for use with new message code.
7582
7583 2003-04-24 André Pönitz <poenitz@gmx.net>
7584
7585         * factory.C: support for eqref
7586
7587 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7588
7589         * messages.[Ch]: add missing char
7590
7591         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7592
7593         * messages.[Ch]: New files
7594
7595 2003-04-18  John Levon  <levon@movementarian.org>
7596
7597         * BufferView.h:
7598         * BufferView.C:
7599         * BufferView_pimpl.C:
7600         * lfuns.h:
7601         * LyXAction.C:
7602         * lyxtext.h:
7603         * text2.C: remove layout-copy/paste (bug 778)
7604
7605 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7606
7607         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7608
7609 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7610
7611         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7612         if they succeed. Act accordingly.
7613
7614 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7615
7616         * text2.C (setCharFont): adjust
7617         (setCounter): adjust
7618         (insertStringAsLines): adjust
7619
7620         * text.C (leftMargin): adjust
7621         (setHeightOfRow): adjust
7622
7623         * rowpainter.C (paintFirst): adjust
7624         (paintLast): adjust
7625
7626         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7627         (outerHook): ditto
7628         (isFirstInSequence): ditto
7629         (getEndLabel): ditto
7630         (outerFont): adjust
7631
7632         * paragraph.C (getParLanguage): comment out some hard stuff.
7633
7634         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7635         (sgmlError): ditto
7636         (simpleDocBookOnePar): ditto
7637         (makeDocBookFile): use ParagraphList::iterator
7638
7639         * CutAndPaste.C (pasteSelection): adjust
7640
7641 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7642
7643         * text2.C (getFont): adjust
7644         (getLayoutFont): adjust
7645         (getLabelFont): adjust
7646
7647         * paragraph_funcs.C (TeXOnePar): adjust
7648
7649         * buffer.C (simpleLinuxDocOnePar): adjust
7650         (simpleDocBookOnePar): adjust
7651
7652         * CutAndPaste.C (pasteSelection): adjust
7653
7654         * BufferView.C (getEncoding): adjust
7655
7656         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7657
7658 2003-04-16  John Levon  <levon@movementarian.org>
7659
7660         * lyxfind.C: use parlist stuff for search/changes
7661
7662 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7663
7664         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7665
7666         * text2.C (deleteEmptyParagraphMechanism): adjust
7667
7668         * text2.[Ch] (ownerParagraph): delete func (both of them
7669
7670 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7671
7672         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7673
7674 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7675
7676         * ParagraphList.C: prepare for NO_NEXT
7677
7678 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7679
7680         * text2.C (getFont): adjust
7681         (getLayoutFont): adjust
7682         (getLabelFont): adjust
7683
7684         * paragraph.C (getFont): adjust
7685         (getLabelFont): adjust
7686         (getLayoutFont): adjust
7687
7688         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7689
7690 2003-04-15  John Levon  <levon@movementarian.org>
7691
7692         From Angus Leeming
7693
7694         * lyx_main.C: handle Include in .ui files
7695
7696 2003-04-15  John Levon  <levon@movementarian.org>
7697
7698         * MenuBackend.C: make the doc files length shorter
7699
7700         * ToolbarBackend.h:
7701         * ToolbarBackend.C: handle toolbar placement flags,
7702         Minibuffer
7703
7704 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7705
7706         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7707         adjust
7708
7709         * paragraph_funcs.C (TeXOnePar): adjust
7710
7711         * paragraph.C (getLabelFont): add outerfont arg, adjust
7712         (getLayoutFont): ditto
7713         (simpleTeXOnePar): adjust
7714
7715         * paragraph_pimpl.C (realizeFont): delete func
7716
7717 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7718
7719         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7720         row argument, constify cur argument.
7721
7722 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7723
7724         * text2.C (getFont): adjust
7725         (getLayoutFont): adjust
7726         (getLabelFont): adjust
7727
7728         * paragraph_funcs.C (TeXOnePar): adjust
7729         (outerFont): new func...
7730         (realizeFont): ...moved out from here, changed this to facilitate
7731         transition
7732
7733         * paragraph.C (getFont): take outerfont as arg, adjust
7734         (simpleTeXOnePar): add outerfont arg, adjust
7735
7736         * buffer.C (simpleLinuxDocOnePar): adjust
7737         (simpleDocBookOnePar): adjust
7738
7739         * CutAndPaste.C (pasteSelection): adjust
7740
7741         * BufferView.C (getEncoding): adjust
7742
7743 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7744
7745         * text2.C (setCharFont): adjust
7746         (setCounter): adjust
7747
7748         * text.C (leftMargin): adjust
7749         (setHeightOfRow): adjust
7750
7751         * rowpainter.C (paintFirst): adjust
7752         (paintLast): adjust
7753
7754         * paragraph_pimpl.C (realizeFont): adjust
7755
7756         * paragraph.C (isFirstInSequence): move from here...
7757         * paragraph_funcs.C (isFirstInSequence): ...to here
7758
7759         * paragraph.C (outerHook): move from here...
7760         * paragraph_funcs.C (outerHook): ...to here
7761
7762         * paragraph.C (depthHook): move from here...
7763         * paragraph_funcs.C (depthHook): ...to here
7764
7765         * paragraph.C (getEndLabel): move from here...
7766         * paragraph_funcs.C (getEndLabel): ...to here
7767
7768         * text2.C (realizeFont): move from here...
7769         * paragraph_funcs.C (realizeFont): ...to here
7770
7771 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7772
7773         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7774
7775 2003-04-14  Angus Leeming  <leeming@lyx.org>
7776
7777         * LColor.[Ch]: scrap LColor mathcursor.
7778
7779 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7780
7781         * lyxlex.[Ch] (text): delete function
7782         * trans.C (Load): adjust
7783         * paragraph_funcs.C (readParToken): adjust
7784
7785 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7786
7787         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7788         vector<char> instead of a char[].
7789
7790         * lyxlex_pimpl.C (getString): adjust
7791         (next): adjust
7792         (lex): use getString
7793         (eatLine): adjust
7794         (nextToken): adjust
7795
7796         * lyxlex.C (text): use pimpl_->getString()
7797         (getBool): ditto
7798         (findToken): ditto
7799
7800 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7801
7802         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7803         (makeFontEntriesLayoutSpecific): temp var for par.size()
7804         (setLayout): temp var for ownerParagraphs().end()
7805         (fullRebreak): temp var for rows().end()
7806         (selectionAsString): temp var for boost::next(startpit), realize
7807         that the while really is a regular for loop.
7808         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7809         setCursor in one place.
7810         (setParagraph): temp vr for ownerParagraphs().end()
7811         (updateCounters): make the while loop a for loop
7812         (cutSelection): temp var for ownerParagraphs().end()
7813         (updateInset): make the do {} while() a regular for loop
7814         (getCursorX): use temp vars
7815         (setCurrentFont): use temp vars
7816         (getColumnNearX): use temp vars
7817
7818 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7819
7820         * text.C (transformChar): use temp var for getChar
7821         (computeBidiTables): use temp var for row->par()
7822         (fill): move temp vars for row->par() and pit->layout() earlier in
7823         the function.
7824         (labelFill): use temp var for row->par()
7825         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7826         asc and desc, realize that pit never changes and that firstpit is
7827         just a duplicate and not needed. Exchange rit->par() with pit in a
7828         lot of places.
7829         (breakAgain): use a temp var for boost::next(rit)
7830         (breakAgainOneRow): ditto
7831         (breakParagraph): use a temp var for rows().begin()
7832         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7833         (cursorRightOneWord): use temp var for cursor.par() and
7834         cursor.pos(), remove usage of tmpcursor.
7835         (cursorLeftOneWord): use temp var for cursor.par() and
7836         cursor.pos() only set cur at end of function.
7837
7838 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7839
7840         * text.C, text2.C: exchange all usage of Paragraph::next with
7841         boost::next(ParagraphList::iterator)
7842
7843         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7844
7845         * text2.C (cursorTop): simplify implementation
7846         (cursorBottom): ditto
7847         (setParagraph): use ParagraphList::iterator
7848         (setCurrentFont): adjust
7849         (getColumnNearX): adjust
7850         (cursorRight): adjust
7851         (cursorLeft): remove usage of Paragraph::previous
7852         (cursorUpParagraph): ditto
7853         (deleteEmptyParagraphMechanism): slight cleanup
7854
7855         * text.C (isBoundary): take a Paragraph const & instead of a
7856         pointer as arg.
7857         (addressBreakPoint): ditto
7858         (leftMargin): remove usage of Paragraph::previous.
7859         (setHeightOfRow): ditto
7860         (cursorLeftOneWord): ditto
7861         (selectNextWordToSpellcheck): ditto
7862         (Delete): ditto
7863         (backspace): ditto
7864         (breakParagraph): remove one usage of Paragraph::next
7865         (redoParagraph): ditto
7866         (acceptChange): ditto
7867         (insertChar): adjust
7868         (rowBreakPoint): adjust
7869
7870         * bufferview_funcs.C (toggleAndShow): adjust
7871
7872 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7873
7874         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7875         methods to access it.
7876         * lyxtext.h:
7877         * text.C: Added updateRowPositions to compute all row positions.
7878         Make top_y and getRowNearY() to use the cached y position
7879
7880 2003-04-11  John Levon  <levon@movementarian.org>
7881
7882         * text.C (rowBreakPoint): reintroduce the labelEnd
7883         checks, code copied from the row fill stuff. Deep voodoo.
7884
7885         * text.C (fill): add a comment and debugging for the
7886         next poor soul.
7887
7888 2003-04-11  John Levon  <levon@movementarian.org>
7889
7890         * text.C: make sure fullrow insets get wrapped to the next line,
7891         even when they're in a manual label
7892
7893 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7894
7895         * text2.C (insertParagraph): make it take ParagraphList::iterator
7896         as arg.
7897         (setLayout): make it return ParagraphList::iterator
7898         (redoParagraphs): ditto
7899         (setCounter): ditto
7900         (checkParagraph): ditto
7901
7902         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7903
7904         * text2.C: adjust several funcs.
7905         (realizeFont): take a ParagraphList::iterator as arg.
7906         (getLayoutFont): ditto
7907         (getLabelFont): ditto
7908         (setCharFont): ditto
7909
7910         * text.C: adjust several funcs.
7911
7912 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7913
7914         * text.C (selectNextWordToSpellcheck): don't accidentally
7915         skip insets
7916
7917 2003-04-10  John Levon  <levon@movementarian.org>
7918
7919         * ToolbarBackend.C (getIcon): special handling for
7920         LFUN_MATH_DELIM
7921
7922 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7923
7924         * text2.C (cursorRight): a getChar assert fixed
7925
7926 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7927
7928         * text2.C (getFont): change to take a ParagraphList::iterator
7929         instead of Paragraph*
7930         Adjust several functions.
7931
7932         * text.C (transformChar): change to take a ParagraphList::iterator
7933         instead of Paragraph*
7934         (singleWidth): ditto
7935         Adjust several functions.
7936
7937         * rowpainter.C: adjust several functions
7938         * rowpainter.h:store a ParagraphList::iterator and not a
7939         Paragraph&.
7940
7941
7942 2003-04-09  John Levon  <levon@movementarian.org>
7943
7944         * lyxfunc.C:
7945         * lfuns.h:
7946         * LyXAction.h:
7947         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7948         and the "help" bits as well
7949
7950 2003-04-09  John Levon  <levon@movementarian.org>
7951
7952         * ToolbarBackend.h:
7953         * ToolbarBackend.C: allow multiple toolbars
7954
7955 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7956
7957         * undo_funcs.C (setCursorParUndo): adjust
7958
7959         * text_funcs.C (transposeChars): adjust
7960
7961         * text3.C (gotoNextInset): adjust
7962         (dispatch): adjust
7963
7964         * text2.C (setLayout): adjust
7965         (changeDepth): adjust
7966         (setFont): adjust
7967         (redoParagraphs): adjust
7968         (selectionAsString): adjust
7969         (setParagraph): adjust
7970         (insertInset): adjust
7971         (cutSelection): adjust
7972         (copySelection): adjust
7973         (pasteSelection): adjust
7974         (insertStringAsLines): adjust
7975         (updateInset): adjust
7976         (setCursor): change to take a ParagraphList::iterator parameter
7977         (setCursorIntern): change to take a ParagraphList::iterator parameter
7978         (setCurrentFont): adjust
7979         (cursorLeft): adjust
7980         (cursorRight): adjust
7981         (deleteEmptyParagraphMechanism): adjust
7982
7983         * text.C (breakParagraph): adjust
7984         (insertChar): adjust
7985         (acceptChange): adjust
7986         (rejectChange): adjust
7987         (selectNextWordToSpellcheck): adjust
7988         (changeCase): adjust
7989         (Delete): adjust
7990         (backspace): adjust
7991
7992         * lyxfind.C (SearchForward): adjust
7993         (SearchBackward): adjust
7994         (nextChange): adjust
7995
7996         * lyxcursor.C (par): adjust
7997
7998         * lyxcursor.h: store a ParagraphList::iterator instead of a
7999         Paragraph*
8000
8001         * lyx_cb.C (getPossibleLabel): adjust
8002
8003         * bufferview_funcs.C (toggleAndShow): adjust
8004
8005         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8006         (dispatch): adjust
8007
8008         * BufferView.C (removeAutoInsets): adjust
8009         (lockedInsetStoreUndo): adjust
8010
8011 2003-04-09  John Levon  <levon@movementarian.org>
8012
8013         * ToolbarBackend.C: try icon without argument
8014         if with argument fails
8015
8016 2003-04-08  John Levon  <levon@movementarian.org>
8017
8018         * ToolbarBackend.h:
8019         * ToolbarBackend.C: add getIcon(), handle tooltip,
8020         and change from "Icon" to "Item".
8021
8022 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8023
8024         * BufferView.C (lockInset): another bad getchar crunched
8025
8026 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8027
8028         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8029         again)
8030
8031 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8032
8033         * lyxfind.C (searchForward, searchBackwards): bug 782
8034
8035 2003-04-07  John Levon  <levon@movementarian.org>
8036
8037         * paragraph.C: remove dead comment
8038
8039         * text.C: remove troublesome depth-fiddling code
8040         in leftMargin() and rightMargin() (bug 1017)
8041
8042         * text.C: fix breaking of rows in nested lists
8043         (bug 1004)
8044
8045         * text2.C (updateCounters): fix up depth values
8046         (bug 1013)
8047
8048 2003-04-07  John Levon  <levon@movementarian.org>
8049
8050         * BufferView_pimpl.C: clear message when doc finishes resizing,
8051         and after a mouse event
8052
8053         * lyxfunc.C: clear message after exiting inset
8054
8055 2003-04-07  John Levon  <levon@movementarian.org>
8056
8057         * bufferview_funcs.C: show math status not outside
8058         status in the statusbar
8059
8060 2003-04-07  John Levon  <levon@movementarian.org>
8061
8062         * lyxfunc.C: note status changed after a depth change
8063
8064 2003-04-04  Angus Leeming  <leeming@lyx.org>
8065
8066         * LaTeX.h: move AuxInfo operator==, != out of line.
8067         Remove LaTeX virtual destructor; nothing derives from it.
8068         Move operator()() out of public area and rename it startscript().
8069         Change protected for private.
8070
8071 2003-04-04  Angus Leeming  <leeming@lyx.org>
8072
8073         * lyxfunc.C:
8074         * text2.C: remove unneeded #includes.
8075
8076 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8077
8078         * text2.C (dEPM): fix the heigth of the next row
8079
8080 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8081
8082         * text.C: squashed an invalid getChar requester + some ws changes
8083
8084 2003-04-03  John Levon  <levon@movementarian.org>
8085
8086         * bufferview_funcs.h:
8087         * bufferview_funcs.C:
8088         * lyxfunc.C:
8089         * lyxtext.h:
8090         * text2.C: make getStatus work for the env depth lfuns
8091
8092 2003-04-03  John Levon  <levon@movementarian.org>
8093
8094         * bufferview_funcs.h:
8095         * bufferview_funcs.C:
8096         * lyxfunc.C:
8097         * lyxtext.h:
8098         * text2.C: parlistize decDepth(), by merging it with incDepth()
8099
8100 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8101
8102         * lyxrow.h: store a ParagraphList::iterator instead of a
8103         Paragraph* and adjust other class functions to suit.
8104
8105         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8106         above.
8107
8108 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8109
8110         * text2.C (setCursor): do not anchor to cursor row for the time being
8111
8112 2003-04-02  John Levon  <levon@movementarian.org>
8113
8114         * LyXAction.C:
8115         * lfuns.h:
8116         * lyx_main.C:
8117         * lyxtext.h:
8118         * text.C:
8119         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8120
8121 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8122
8123         * paragraph.h: make ParagraphList and ParagraphList::iterator
8124         friends of Paragraph.
8125
8126         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8127
8128         * ParagraphList.C: Use the private next_ and previous_ from
8129         Paragraph.
8130
8131 2003-04-01  John Levon  <levon@movementarian.org>
8132
8133         * ToolbarBackend.h:
8134         * ToolbarBackend.C:
8135         * Makefile.am: rename, remove defaults gunk
8136
8137         * MenuBackend.h:
8138         * MenuBackend.C: remove defaults gunk
8139
8140         * Languages.h:
8141         * Languages.C: remove defaults gunk
8142
8143         * lyx_main.h:
8144         * lyx_main.C: error out if files couldn't be found.
8145
8146 2003-04-02  John Levon  <levon@movementarian.org>
8147
8148         * text2.C: make incDepth() use parlist
8149
8150 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8151
8152         * undo_funcs.C (firstUndoParagraph): adjust
8153
8154         * text3.C (gotoInset): adjust
8155         (dispatch): adjust, and rewrite loop.
8156
8157         * text2.C (init): adjust, and rewrite loop.
8158         (redoParagraphs): adjust
8159         (updateInset): adjust, and rewrite loop.
8160         (deleteEmptyParagraphMechanism): adjust
8161
8162         * tabular.C (LyXTabular): adjust
8163         (SetMultiColumn): adjust
8164         (TeXRow): adjust
8165
8166         * lyxtext.[Ch] (ownerParagraph): delete function
8167         (ownerParagraphs): new function returns a ParagraphList.
8168
8169         * BufferView.C (removeAutoInsets): adjust
8170         (insertErrors): adjust
8171         (setCursorFromRow): adjust
8172
8173 2003-04-01  Angus Leeming  <leeming@lyx.org>
8174
8175         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8176         in the frontends.
8177
8178 2003-04-02  John Levon  <levon@movementarian.org>
8179
8180         * lyxtext.h:
8181         * text.C:
8182         * Makefile.am:
8183         * text_funcs.h:
8184         * text_funcs.C: make transposeChars a free function
8185
8186         * lyxrow_funcs.C: remove wrong comment
8187
8188 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8189
8190         * lyxtext.h: adjust
8191         * rowpainter.C: adjust
8192         * text.C: adjust
8193         * text2.C: adjust
8194         * text3.C: adjust
8195
8196         * lyxrow_funcs. [Ch]: new files
8197
8198         * lyxrow.[Ch]: remove next and previous pointers
8199         (next,previous): remove accessor functions
8200         (isParEnd): move to lyxrow_funcs
8201         (lastPos): move to lyxrow_funcs
8202         (nextRowIsAllInset): move to lyxrow_funcs
8203         (lastPrintablePos): move to lyxrow_funcs
8204         (numberOfSeparators): move to lyxrow_funcs
8205         (numberOfHfills): move to lyxrow_funcs
8206         (numberOfLabelHfills): move to lyxrow_funcs
8207         (hfillExpansion): move to lyxrow_funcs
8208
8209         * lyxfunc.C: adjust
8210
8211         * bufferview_funcs.C (toggleAndShow): adjust
8212
8213         * RowList.h: Remove class RowList from file leave just a
8214         std::list<Row>.
8215
8216         * RowList.C: delete file
8217
8218         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8219         and lyxrow_funcs.h
8220
8221 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8222
8223         * text3.C (cursorPrevious): adjust
8224         (cursorNext): adjust
8225         (dispatch): adjust
8226
8227         * text2.C (redoHeightOfParagraph): adjust
8228         (redoDrawingOfParagraph): adjust
8229         (setCursor): adjust
8230
8231         * text.C (breakParagraph): adjust
8232         (insertChar): adjust
8233         (backspace): adjust
8234
8235         * rowpainter.C (RowPainter): adjust
8236         (leftMargin): simplify and adjust
8237         (most rowpainter functions): adjust.
8238
8239         * rowpainter.h: store the row as RowList::iterator not as Row*
8240
8241         * lyxcursor.C (row): taka RowList::iterator as arg
8242         (irow): ditto
8243
8244         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8245         of Row*.
8246
8247 2003-04-01  Angus Leeming  <leeming@lyx.org>
8248
8249         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8250         stuff like bool Bool.
8251
8252 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8253
8254         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8255         rewrite a loop
8256
8257 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8258
8259         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8260         RowList::iterator.
8261
8262         * lyxtext.h (rows): drop one version and leve a const variant that
8263         returns a RowList::iterator.
8264
8265 2003-03-31  Angus Leeming  <leeming@lyx.org>
8266
8267         * text.C (fill): ensure that the signature is the same as that in the
8268         header file.
8269
8270 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8271
8272         * text2.C (redoParagraphs): adjust
8273         (updateCounters): adjust
8274         (checkParagraph): adjust
8275         (getColumnNearX): adjust and reformat a bit.
8276
8277         * text.C (top_y): adjust
8278         (workWidth): adjust
8279         (leftMargin): adjust
8280         (prepareToPrint): adjust
8281         (getRow): adjust
8282         (getRowNearY): adjust
8283
8284         * lyxtext.h: make rowlist_ mutable.
8285
8286         * RowList.h: add const_iterator
8287         * RowList.C: adjust for RowList::const_iterator.
8288
8289         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8290         adjust.
8291
8292 2003-03-31  John Levon  <levon@movementarian.org>
8293
8294         * lyxrc.h:
8295         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8296
8297         * lyx_main.C: set default fonts from using lyx_gui funcs
8298
8299         * exporter.C: pdf_mode moved from lyxrc
8300
8301         * lyx_cb.C:
8302         * lyxfunc.C: changes from above
8303
8304 2003-03-31  John Levon  <levon@movementarian.org>
8305
8306         * lyx_main.C: fix to the last fix
8307
8308 2003-03-31  John Levon  <levon@movementarian.org>
8309
8310         * bufferlist.C: "Load original" -> "Load Original"
8311
8312         * converter.C:
8313         * exporter.C:
8314         * importer.C:
8315         * lyx_main.C:
8316         * format.C: more Alert cleanups
8317
8318 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8319
8320         * text2.C (removeParagraph): make it take a RowList::iterator as
8321         arg, adjust.
8322         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8323         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8324
8325         * text.C (anchor_row): make it take a RowList::iterator as arg,
8326         adjust.
8327         (computeBidiTables): make it take a const reference to Row instead
8328         of Row pointer, adjust.
8329         (leftMargin): make it take a RowList::iterator as arg, adjust.
8330         (rowBreakPoint): adjust
8331         (breakAgainOneRow): make it take a RowList::iterator as arg,
8332         adjust.
8333         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8334
8335         * bufferview_funcs.C (toggleAndShow): adjust
8336
8337 2003-03-30  John Levon  <levon@movementarian.org>
8338
8339         * Makefile.am:
8340         * BoostFormat.h:
8341         * boost-inst.C: moved to support
8342
8343         * several files: changes as a result
8344
8345 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8346
8347         * text2.C (LyXText): adjust.
8348         (init): adjust
8349         (removeRow): make it take a RowList::iterator as arg, adjust.
8350         (fullRebreak): adjust
8351         (deleteEmptyParagraphMechanism): adjust
8352         (clearPaint): adjust
8353         (postPaint): adjust
8354
8355         * text.C (top_y): adjust
8356         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8357         (breakAgain): make it take a RowList::iterator as arg, adjust.
8358         (breakParagraph): adjust
8359         (insertChar): adjust
8360         (backspace): adjust
8361
8362         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8363         need_break_row, and refresh_row.
8364
8365         * text3.C (dispatch): adjust
8366
8367         * text2.C (checkParagraph): adjust
8368         (setCursor): adjust
8369         (setCursorFromCoordinates): adjust
8370
8371         * text.C (top_y): adjust
8372         (workWidth): adjust
8373         (getRow): make it return a RowList::iterator, adjust
8374         (getRowNearY): make it return a RowList::iterator, adjust
8375
8376         * text2.C (init): adjust
8377         (insertRow): remove function
8378         (insertParagraph): adjust
8379         (redoParagraphs): adjust
8380         (fullRebreak): adjust
8381         (updateCounters): adjust
8382
8383         * text.C (top_y): rewrite to use RowList iterators.
8384         (top_y): adjust
8385         (setHeightOfRow): rewrite to sue RowList iterators.
8386         (appendParagraph): adjust
8387         (breakAgain): adjust
8388         (breakAgainOneRow): adjust
8389         (breakParagraph): adjust
8390         (getRow): adjust
8391         (getRowNearY): adjust, and remove commented code.
8392
8393         * lyxtext.h (firstRow): delete function
8394         (lastRow): delete function
8395         (rows): new function (const and non-const versions.)
8396         (insertRow): delete function
8397
8398         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8399
8400 2003-03-29  John Levon  <levon@movementarian.org>
8401
8402         * BufferView_pimpl.C: always update scrollbar top
8403         because pasting text when we're anchored could mean we
8404         miss an update altogether
8405
8406 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8407
8408         * text2.C (init): use rowlist_.end() and not 0.
8409         (insertRow): change to take a RowList::iterator as arg, adjust
8410         for this.
8411         (insertParagraph): change to take a RowList::iterator as arg,
8412         adjust for this.
8413         (redoParagraphs): remove some debug msgs.
8414
8415         * text.C (appendParagraph): change to take a RowList::iterator
8416         arg, adjust for this.
8417         (breakAgain): add an assert
8418         (breakAgainOneRow): ditto
8419
8420 2003-03-29  John Levon  <levon@movementarian.org>
8421
8422         * text2.C: do not clear selection after inc/decDepth
8423         (bug 550)
8424
8425 2003-03-29  John Levon  <levon@movementarian.org>
8426
8427         * BufferView.C:
8428         * buffer.C: fix broken strerrors according to Lars
8429
8430 2003-03-29  John Levon  <levon@movementarian.org>
8431
8432         * converters.C: more Alert cleanups
8433
8434 2003-03-29  John Levon  <levon@movementarian.org>
8435
8436         * bufferview_funcs.C: remove pointless Alert
8437
8438         * buffer.C: fix confusing error message when
8439         a template is chmoded 000
8440
8441 2003-03-29  John Levon  <levon@movementarian.org>
8442
8443         * BufferView.C:
8444         * BufferView.h:
8445         * BufferView_pimpl.C: Alert fixes
8446
8447         * Makefile.am:
8448         * tabular.C:
8449         * tabular-old.C: remove unused table compat reading
8450
8451 2003-03-29  John Levon  <levon@movementarian.org>
8452
8453         * BufferView.C:
8454         * buffer.C:
8455         * lyx_cb.h:
8456         * lyx_cb.C: more Alert cleanups
8457
8458         * lyxfunc.C: don't allow chktex if not latex document
8459
8460 2003-03-29  John Levon  <levon@movementarian.org>
8461
8462         * lyx_cb.C:
8463         * BufferView.C:
8464         * buffer.C: warnings pushed down from support/,
8465         kill err_alert
8466
8467 2003-03-29  John Levon  <levon@movementarian.org>
8468
8469         * lyxfunc.C: safety check for C-r (revert)
8470
8471 2003-03-29  John Levon  <levon@movementarian.org>
8472
8473         * bufferlist.h:
8474         * bufferlist.C: several UI fixes using Alert::prompt.
8475         Fix the pointless looping quit code. Fix stupid revert
8476         behaviour (bug 938)
8477
8478         * lyxvc.h:
8479         * lyxvc.C:
8480         * lyx_cb.C: use Alert::prompt
8481
8482         * lyx_main.C: remove a silly question
8483
8484         * lyxfunc.C: remove a couple of silly questions,
8485         use Alert::prompt
8486
8487 2003-03-28  John Levon  <levon@movementarian.org>
8488
8489         * text2.C: fix bug 974 (End on empty par)
8490
8491 2003-03-28  John Levon  <levon@movementarian.org>
8492
8493         * BufferView_pimpl.C:
8494         * LyXAction.C:
8495         * lfuns.h: remove do-nothing math greek lfuns
8496
8497 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8498
8499         * lyxgluelength.h (isValidGlueLength): add default arg on
8500         parameter 2. Remove default arg from friend in class.
8501
8502         * lyxlength.h (isValidLength): add default arg on parameter 2.
8503         Remove default arg from friend in class.
8504
8505         * text2.C (LyXText): adjust, initialize refresh_row.
8506         (init): adjust
8507         (removeRow): adjust
8508         (insertRow): adjust
8509         (insertParagraph): adjst
8510         (redoParagraphs): adjust
8511         (fullRebreak): adjust
8512         (updateCounters): adjust
8513         (deleteEmptyParagraphMechanism): first attempt at fixing a
8514         crashing bug.
8515
8516         * text.C (top_y): adjust
8517         (setHeightOfRow): adjust
8518         (getRow): adjust
8519         (getRowNearY): adjust
8520
8521         * lyxtext.h: include RowList.h
8522         (~LyXText): not needed anymore, deleted.
8523         (firstRow): modify for RowList
8524         (lastRow): new function
8525         Delete firstrow and lastrow class variables, add a Rowlist
8526         rowlist_ class variable.
8527
8528         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8529         paragraph is empty.
8530
8531         * RowList.C (insert): fix case where it == begin().
8532
8533 2003-03-26  Angus Leeming  <leeming@lyx.org>
8534
8535         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8536         the thesaurus dialog.
8537
8538 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8539
8540         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8541
8542         * RowList.[Ch]: new files
8543
8544         * ParagraphList.C (erase): handle the case where it == begin
8545         correctly.
8546
8547 2003-03-25  John Levon  <levon@movementarian.org>
8548
8549         * Makefile.am:
8550         * aspell_local.h:
8551         * aspell.C: add new aspell support
8552
8553         * lyxrc.h:
8554         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8555         have it accessible.
8556
8557 2003-03-25  Angus Leeming  <leeming@lyx.org>
8558
8559         * lfuns.h:
8560         * LyXAction.C (init): new LFUN_INSET_INSERT.
8561
8562         * BufferView_pimpl.C (dispatch): split out part of the
8563         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8564
8565         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8566         LFUN_INSET_APPLY.
8567
8568 2003-03-25  Angus Leeming  <leeming@lyx.org>
8569
8570         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8571
8572 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8573
8574         * text2.C:
8575         * text3.C: remove useless row->height(0)
8576
8577 2003-03-25  John Levon  <levon@movementarian.org>
8578
8579         * lyxtext.h:
8580         * text2.C:
8581         * text3.C: rename the refreshing stuff to better names
8582
8583 2003-03-24  John Levon  <levon@movementarian.org>
8584
8585         * BufferView_pimpl.h:
8586         * BufferView_pimpl.C: update layout choice on a mouse
8587         press/release
8588
8589 2003-03-23  John Levon  <levon@movementarian.org>
8590
8591         * Makefile.am: fix commandtags.h reference
8592
8593 2003-03-22  John Levon  <levon@movementarian.org>
8594
8595         * BufferView_pimpl.C:
8596         * lyxtext.h:
8597         * rowpainter.C:
8598         * rowpainter.h:
8599         * text.C:
8600         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8601
8602 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8603
8604         * lyxtext.h:
8605         * text.C: take the rtl methods out of line
8606
8607 2003-03-21 André Pönitz <poenitz@gmx.net>
8608
8609         * metricsinfo.[Ch]: new files containing structures to be passed around
8610         during the two-phase-drawing...
8611
8612 2003-03-21 André Pönitz <poenitz@gmx.net>
8613
8614         * lyxtextclass.C: read 'environment' tag.
8615
8616 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8617
8618         * text2.C (removeRow): fix bug 964
8619
8620 2003-03-20  John Levon  <levon@movementarian.org>
8621
8622         * rowpainter.C:
8623         * text.C:
8624         * text2.C: paint cleanups. Inset::update() dropped font
8625         parameter
8626
8627 2003-03-19  John Levon  <levon@movementarian.org>
8628
8629         * lyxfunc.C: only fitcursor/markDirty if available()
8630
8631 2003-03-19  John Levon  <levon@movementarian.org>
8632
8633         * commandtags.h: rename to ...
8634
8635         * lfuns.h: ... this, and renumber / cleanup
8636
8637 2003-03-19  John Levon  <levon@movementarian.org>
8638
8639         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8640         fit the cursor after an lfun
8641
8642         * BufferView.h:
8643         * BufferView.C:
8644         * BufferView_pimpl.h:
8645         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8646
8647         * LyXAction.C: layout-character should have ReadOnly
8648
8649         * ParagraphParameters.C:
8650         * buffer.C:
8651         * bufferview_funcs.C:
8652         * lyx_cb.C:
8653         * lyxfind.C:
8654         * lyxtext.h:
8655         * text.C:
8656         * text2.C:
8657         * text3.C:
8658         * undo_funcs.C: changes from above
8659
8660 2003-03-18  John Levon  <levon@movementarian.org>
8661
8662         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8663         remove it from update()
8664
8665         * lyxfunc.C: update layout choice after an lfun
8666
8667         * text3.C: remove extra updateLayoutChoice()s
8668
8669 2003-03-18  John Levon  <levon@movementarian.org>
8670
8671         * text.C: top_y change means full repaint, fix
8672         a drawing bug with cursor movement
8673
8674 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8675
8676         * lyxtext.h:
8677         * text.C:
8678         * text2.C: anchor row on setCursor
8679
8680 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8681
8682         * lyxtext.h: remove almost all mutable keywords
8683         * text.C:
8684         * text2.C:
8685         * text3.C: remove const keywords accordingly
8686
8687 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8688
8689         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8690         anon namespace
8691         (TeXEnvironment): ditto
8692         (TeXOnePar): ditto
8693
8694 2003-03-17  John Levon  <levon@movementarian.org>
8695
8696         * text.C (rowBreakPoint): remove attempt to fix displayed
8697         math insets inside a manual label
8698
8699 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8700
8701         * lyxtext.h: remove BufferView* as first arg from almost all class
8702         functions.
8703         * other files: adjust.
8704
8705 2003-03-17  John Levon  <levon@movementarian.org>
8706
8707         * lyxtext.h:
8708         * undo_funcs.C:
8709         * text2.C: more paint cleanups
8710
8711         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8712
8713         * rowpainter.h:
8714         * rowpainter.C: remove "smart" background painting code
8715
8716 2003-03-16  John Levon  <levon@movementarian.org>
8717
8718         * lyxtext.h:
8719         * text.C:
8720         * text2.C:
8721         * text3.C: add helper functions for setting refresh_row/y
8722
8723 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8724
8725         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8726         newline inset which *can* get inserted in the pass_thru layouts.
8727         This is primarily for literate documents.
8728
8729 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8730
8731         * buffer.C: increment LYX_FORMAT to 223
8732
8733 2003-03-14 André Pönitz <poenitz@gmx.net>
8734
8735         * textclass.h: prepare for environment handling, ws changes
8736         * lyxlayout.C: read latexheader and latexfooter tags
8737
8738 2003-03-14  John Levon  <levon@movementarian.org>
8739
8740         * text2.C: rewrite ::status() a bit
8741
8742 2003-03-13  John Levon  <levon@movementarian.org>
8743
8744         * lyxtext.h: add some docs
8745
8746 2003-03-13  John Levon  <levon@movementarian.org>
8747
8748         * lyxtext.h:
8749         * text.C:
8750         * text2.C:
8751         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8752
8753 2003-03-13  John Levon  <levon@movementarian.org>
8754
8755         * text3.C: fix appendix redrawing
8756
8757 2003-03-13  John Levon  <levon@movementarian.org>
8758
8759         * text.C (setHeightOfRow):
8760         * rowpainter.h:
8761         * rowpainter.C: make appendix mark have the text
8762           "Appendix" so the user knows what it is
8763
8764         * LColor.h:
8765         * LColor.C: s/appendixline/appendix/ from above
8766
8767 2003-03-13  John Levon  <levon@movementarian.org>
8768
8769         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8770
8771         * text.C: fix a getChar(pos) bug properly
8772
8773 2003-03-13  Angus Leeming  <leeming@lyx.org>
8774
8775         * commandtags.h:
8776         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8777         Probably only temporary. Let's see how things pan out.
8778
8779         * BufferView.C (unlockInset):
8780         * BufferView_pimpl.C (fitCursor):
8781         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8782
8783         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8784         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8785
8786         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8787         new functions that convert ParagraphParameters to and from a string.
8788
8789         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8790         BufferView::Pimpl's dispatch.
8791         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8792
8793 2003-03-13 André Pönitz <poenitz@gmx.net>
8794
8795         * lyxfunc.C:
8796         * text3.C:
8797         * factory.C: make it aware of InsetEnv
8798
8799 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8800
8801         * text2.C (setCursor): never ask for one past last
8802         (setCursor): add some debugging messages.
8803
8804         * text.C (singleWidth): never ask for one past last
8805         (singleWidth): ditto
8806         (leftMargin): ditto
8807         (rightMargin): ditto
8808         (rowBreakPoint): ditto
8809         (setHeightOfRow): ditto
8810         (prepareToPrint): ditto
8811
8812         * rowpainter.C (paintBackground): never ask for one past last
8813         (paintText): never ask for one past last
8814
8815         * paragraph_pimpl.C (getChar): make the assert stricter, never
8816         allow the one past last pos to be taken
8817
8818         * paragraph.C (getChar): ws changes only
8819
8820         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8821         (numberOfSeparators): ditto
8822         (numberOfHfills): ditto
8823
8824 2003-03-12  John Levon  <levon@movementarian.org>
8825
8826         * author.h:
8827         * author.C:
8828         * bufferparams.h:
8829         * bufferparams.C:
8830         * paragraph_funcs.C: fix per-buffer authorlists
8831
8832 2003-03-12  John Levon  <levon@movementarian.org>
8833
8834         * text.C: fix newline in right address
8835
8836 2003-03-12  Angus Leeming  <leeming@lyx.org>
8837
8838         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8839         duplicate those in LyXFunc::dispatch.
8840
8841         * commandtags.h:
8842         * LyXAction.C:
8843         * ToolbarDefaults.C:
8844         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8845         Add LFUN_FONTFREE_UPDATE.
8846
8847         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8848         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8849
8850         * bufferview_func.[Ch]: several new functions to facilliate
8851         transfer of data to and from the character dialog.
8852
8853 2003-03-12  John Levon  <levon@movementarian.org>
8854
8855         * buffer.C:
8856         * paragraph.h:
8857         * paragraph.C:
8858         * paragraph_funcs.C:
8859         * paragraph_pimpl.C:
8860         * sgml.C:
8861         * tabular.C:
8862         * text.C:
8863         * text3.C: remove META_NEWLINE in favour of an inset
8864
8865         * rowpainter.h:
8866         * rowpainter.C: remove paintNewline (done by inset)
8867
8868 2003-03-12  John Levon  <levon@movementarian.org>
8869
8870         * paragraph_pimpl.C: complain about bad getChar()s
8871         for a while at least
8872
8873 2003-03-12  John Levon  <levon@movementarian.org>
8874
8875         * buffer.h:
8876         * buffer.C: move paragraph read into a separate function,
8877         a little renaming to reflect that.
8878
8879         * bufferparams.h:
8880         * bufferparams.C: remove the author_ids map, not necessary now
8881
8882         * factory.h:
8883         * factory.C: moved Buffer::readInset to here
8884
8885         * paragraph_funcs.h:
8886         * paragraph_funcs.C: readParagraph free function moved from
8887         buffer.C
8888
8889         * tabular.C: name change
8890
8891 2003-03-12  John Levon  <levon@movementarian.org>
8892
8893         * buffer.C:
8894         * ParagraphParameters.C: move par params input to
8895         a read() method
8896
8897         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8898         behave like a normal read from the stream wrt reading
8899         a line vs. a \\token
8900
8901 2003-03-12  John Levon  <levon@movementarian.org>
8902
8903         * paragraph.C:
8904         * ParagraphParameters.h:
8905         * ParagraphParameters.C: move output code to a
8906         ::write() method
8907
8908 2003-03-12  John Levon  <levon@movementarian.org>
8909
8910         * BufferView.C (insertLyXFile):
8911         * buffer.h:
8912         * buffer.C:
8913         * tabular.C: use a parlist iterator for creating the
8914           document.
8915
8916 2003-03-12  John Levon  <levon@movementarian.org>
8917
8918         * buffer.C: make current_change static local not
8919           static file-scope
8920
8921 2003-03-12  John Levon  <levon@movementarian.org>
8922
8923         * buffer.C: fix insertStringAsLines for change tracking
8924
8925 2003-03-12  John Levon  <levon@movementarian.org>
8926
8927         * BufferView.C:
8928         * tabular.C:
8929         * buffer.h:
8930         * buffer.C:
8931         * bufferparams.h:
8932         * bufferparams.C: move author list into params. Rename some
8933           functions. Move the header reading into a separate token
8934           loop. Move the header token reading into BufferParams.
8935
8936 2003-03-12  John Levon  <levon@movementarian.org>
8937
8938         * changes.C: put debug inside lyxerr.debugging() checks
8939
8940 2003-03-11 André Pönitz <poenitz@gmx.net>
8941
8942         * factory.C: make it aware of InsetHFill
8943
8944 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8945
8946         * buffer.C (latexParagraphs): move function from here...
8947         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8948         args.
8949
8950 2003-03-10  Angus Leeming  <leeming@lyx.org>
8951
8952         * LyXAction.C (init): fix bug in poplating array with multiple entries
8953         with the same LFUN (spotted by JMarc).
8954
8955 2003-03-10  John Levon  <levon@movementarian.org>
8956
8957         * text.C:
8958         * text2.C: move getColumnNearX() near its
8959         only call site
8960
8961 2003-03-10  John Levon  <levon@movementarian.org>
8962
8963         * text.C: fix break before a minipage
8964
8965 2003-03-10  John Levon  <levon@movementarian.org>
8966
8967         * text.C: fix the last commit
8968
8969 2003-03-09  John Levon  <levon@movementarian.org>
8970
8971         * lyxtext.h:
8972         * text.C:
8973         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8974         bug 365 (don't break before insets unless needed). Don't
8975         return a value > last under any circumstances.
8976
8977 2003-03-09  Angus Leeming  <leeming@lyx.org>
8978
8979         * BufferView_pimpl.C (trackChanges, dispatch): call
8980         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8981
8982 2003-03-09  Angus Leeming  <leeming@lyx.org>
8983
8984         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8985         than Dialogs::showAboutlyx().
8986
8987 2003-03-09  Angus Leeming  <leeming@lyx.org>
8988
8989         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8990         than Dialogs::showTabularCreate().
8991
8992 2003-03-09  John Levon  <levon@movementarian.org>
8993
8994         * lyxtext.h:
8995         * text.C:
8996         * text2.C: 3rd arg to nextBreakPoint was always the same.
8997           Use references.
8998
8999 2003-03-08  John Levon  <levon@movementarian.org>
9000
9001         * lyxrow.C:
9002         * paragraph.C:
9003         * paragraph.h:
9004         * rowpainter.C:
9005         * text.C:
9006         * text2.C: Remove the "main" bit from the "main body"
9007           notion.
9008
9009 2003-03-08  John Levon  <levon@movementarian.org>
9010
9011         * text.C (leftMargin): The left margin of an empty
9012         manual label paragraph should not include the label width
9013         string length.
9014
9015         * text.C (prepareToPrint): don't attempt to measure hfills
9016         for empty manual label paragraphs - the answer should be 0
9017
9018 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9019
9020         * CutAndPaste.C: remove commented code and reindent.
9021
9022 2003-03-08  John Levon  <levon@movementarian.org>
9023
9024         * lyxfunc.h:
9025         * lyxfunc.C: move reloadBuffer()
9026
9027         * BufferView.h:
9028         * BufferView.C: to here
9029
9030         * lyxvc.C: add comment
9031
9032         * vc-backend.h:
9033         * vc-backend.C: call bv->reload() to avoid
9034           getStatus() check on MENURELOAD
9035
9036 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9037
9038         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9039         to an old format .dep file.
9040
9041 2003-03-07  Angus Leeming  <leeming@lyx.org>
9042
9043         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9044         when the LFUN_MOUSE_RELEASE should have been handled by
9045         inset->localDispatch.
9046
9047 2003-03-07  Angus Leeming  <leeming@lyx.org>
9048
9049         * BufferView_pimpl.C (dispatch):
9050         * LyXAction.C (init):
9051         * ToolbarDefaults.C (init):
9052         * commandtags.h:
9053         * lyxfunc.C (getStatus):
9054         remove LFUN_INSET_GRAPHICS.
9055
9056         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9057
9058 2003-03-07  Angus Leeming  <leeming@lyx.org>
9059
9060         * commandtags.h:
9061         * LyXAction.C (init):
9062         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9063
9064         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9065
9066         * commandtags.h:
9067         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9068
9069         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9070         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9071
9072 2003-03-07  Angus Leeming  <leeming@lyx.org>
9073
9074         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9075         remove "ert".
9076
9077 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9078
9079         * ParagraphList.C (front): new function
9080         (back): implement
9081
9082 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9083
9084         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9085         and top_row_offset_. removed var first_y.
9086         * text.C (top_y):
9087         * text2.C (LyXText, removeRow):
9088         * text3.C:
9089         * BufferView_pimpl.C:
9090         use these methods instead of using first_y
9091
9092 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9093
9094         * text2.C (pasteSelection): adjust for checkPastePossible
9095
9096         * CutAndPaste.C: remove Paragraph * buf and replace with
9097         ParagraphList paragraphs.
9098         (DeleteBuffer): delete
9099         (cutSelection): change the tc type to textclass_type
9100         (copySelection): change the tc type to textclass_type
9101         (copySelection): adjust for ParagraphList
9102         (pasteSelection): change the tc type to textclass_type
9103         (pasteSelection): adjust for Paragraphlist
9104         (nrOfParagraphs): simplify for ParagraphList
9105         (checkPastePossible): simplify for ParagraphList
9106         (checkPastePossible): remove unused arg
9107
9108         * ParagraphList.C (insert): handle the case where there are no
9109         paragraphs yet.
9110
9111         * CutAndPaste.h: make CutAndPaste a namespace.
9112
9113         * text3.C (dispatch): adjust
9114
9115         * text.C (breakParagraph): add a ParagraphList as arg
9116
9117         * paragraph_funcs.C (breakParagraph): change to take a
9118         BufferParams and a ParagraphList as args.
9119         (breakParagraphConservative): ditto
9120         (mergeParagraph): ditto
9121         (TeXDeeper): add a ParagraphList arg
9122         (TeXEnvironment): ditto
9123         (TeXOnePar): ditto
9124
9125         * buffer.C (readLyXformat2): adjust
9126         (insertStringAsLines): adjust
9127         (latexParagraphs): adjust
9128
9129         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9130         (cutSelection): adjust
9131         (pasteSelection): adjust
9132
9133         * BufferView_pimpl.C (insertInset): adjust
9134
9135 2003-03-05  Angus Leeming  <leeming@lyx.org>
9136
9137         * commandtags.h:
9138         * LyXAction.C (init):
9139         * BufferView_pimpl.C (dispatch):
9140         * lyxfunc.C (getStatus):
9141         remove LFUN_CHILD_INSERT.
9142
9143         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9144
9145 2003-03-05  Angus Leeming  <leeming@lyx.org>
9146
9147         * commandtags.h:
9148         * LyXAction.C (init):
9149         * src/factory.C (createInset):
9150         * lyxfunc.C (getStatus):
9151         * text3.C (dispatch):
9152         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9153
9154         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9155
9156 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9157
9158         * ParagraphList.C (insert): handle insert right before end()
9159         (erase): fix cases where it can be first or last paragraph.
9160
9161 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9162
9163         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9164         Paragraph::next and Paragraph::previous
9165         (TeXOnePar): ditto
9166
9167         * text.C (breakParagraph): adjust
9168
9169         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9170         BufferParams& as arg.
9171         (breakParagraph): use ParagraphList::insert
9172         (breakParagraphConservative): take a Buffer* instead of a
9173         BufferParams& as arg.
9174         (breakParagraphConservative): use ParagraphList::insert.
9175
9176         * buffer.C (insertStringAsLines): un-const it
9177         (insertStringAsLines): adjust
9178
9179         * ParagraphList.C (insert): new function
9180
9181         * CutAndPaste.C (pasteSelection): adjust
9182
9183         * text.C (backspace): adjust
9184
9185         * tabular.C (SetMultiColumn): adjust
9186
9187         * CutAndPaste.C (cutSelection): adjust
9188         (pasteSelection): adjust
9189
9190         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9191         Buffer const * as arg
9192
9193         * ParagraphList.C (erase): new function
9194         * paragraph_funcs.C (mergeParagraph): use it
9195         (mergeParagraph): make it take a Buffer* instead of a
9196         BufferParams* as arg
9197
9198         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9199         as arg
9200         (breakParagraphConservative): ditto
9201
9202         * paragraph.h: remove the breakParagraph friend
9203
9204         * paragraph.C (eraseIntern): new function
9205         (setChange): new function
9206
9207         * paragraph_funcs.C (mergeParagraph): make it take a
9208         ParagraphList::iterator instead of a Paragraph *, adjust
9209         accordingly.
9210
9211         * paragraph.h: move an #endif so that the change tracking stuff
9212         also works in the NO_NEXT case.
9213
9214 2003-03-04  Angus Leeming  <leeming@lyx.org>
9215
9216         * commandtags.h:
9217         * LyXAction.C: new LFUN_INSET_MODIFY.
9218
9219         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9220         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9221
9222 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9223
9224         * several files: ws changes only
9225
9226         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9227         (TeXEnvironment): ditto
9228         (TeXDeeper): ditto
9229
9230         * buffer.C (makeLaTeXFile): adjust
9231         (latexParagraphs): make it take ParagraphList::iterator as args
9232
9233 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9234
9235         * buffer.C (latexParagraphs): adjust
9236
9237         * paragraph.C (TeXOnePar): move function...
9238         (optArgInset): move function...
9239         (TeXEnvironment): move function...
9240         * paragraph_pimpl.C (TeXDeeper): move function...
9241         * paragraph_funcs.C: ...here
9242
9243         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9244
9245 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9246
9247         * buffer.C (readInset): remove compability code for old Figure and
9248         InsetInfo insets
9249
9250 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9251
9252         * buffer.C: ws changes
9253         (readInset):
9254
9255         * BufferView_pimpl.C: ditto
9256         * author.C: ditto
9257         * buffer.h: ditto
9258         * bufferlist.h: ditto
9259         * changes.h: ditto
9260         * lyxfunc.C: ditto
9261
9262 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9263
9264         * converter.[Ch]: split into itself +
9265         * graph.[Ch]
9266         * format.[Ch]
9267         * Makefile.am: += graph.[Ch] + format.[Ch]
9268         * MenuBackend.C
9269         * buffer.C
9270         * exporter.C
9271         * importer.C
9272         * lyx_main.C
9273         * lyxfunc.C
9274         * lyxrc.C: added #include "format.h"
9275
9276 2003-02-27  Angus Leeming  <leeming@lyx.org>
9277
9278         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9279           a label.
9280
9281         * factory.C (createInset): add "label" to the factory.
9282
9283         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9284           string and do no more.
9285
9286 2003-02-27  Angus Leeming  <leeming@lyx.org>
9287
9288         * commandtags.h:
9289         * LyXAction.C (init):
9290         * factory.C (createInset):
9291         * BufferView_pimpl.C (dispatch):
9292           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9293
9294         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9295
9296         * lyxfunc.C (dispatch):
9297         * text3.C (dispatch): pass name to params2string.
9298
9299 2003-02-26  Angus Leeming  <leeming@lyx.org>
9300
9301         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9302           blocks together.
9303           Rearrange the ~includes. Strip out the unnecessary ones.
9304
9305         * factory.C (createInset): reformat.
9306           create new insets for the various LFUN_XYZ_APPLY lfuns.
9307
9308 2003-02-26  John Levon  <levon@movementarian.org>
9309
9310         * lyxrow.h:
9311         * lyxrow.C: add isParStart,isParEnd helpers
9312
9313         * paragraph.h: make isInserted/DeletedText take refs
9314
9315         * paragraph_funcs.h:
9316         * paragraph_funcs.C: remove #if 0'd code
9317
9318         * lyxtext.h:
9319         * text3.C:
9320         * text2.C:
9321         * text.C: use lyxrow helpers above.
9322           Move draw and paint routines to RowPainter.
9323           Make several methods use refs not pointers.
9324           Make backgroundColor() const.
9325           Add markChangeInDraw(), isInInset().
9326           Merge changeRegionCase into changeCase.
9327           Make workWidth() shouldn't-happen code into an Assert.
9328
9329         * rowpainter.h:
9330         * rowpainter.C: new class for painting a row.
9331
9332         * vspace.h:
9333         * vspace.C: make inPixels take a ref
9334
9335 2003-02-26  Angus Leeming  <leeming@lyx.org>
9336
9337         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9338         LFUN_REF_APPLY.
9339
9340 2003-02-25  John Levon  <levon@movementarian.org>
9341
9342         * ispell.C: give the forked command a more accurate name
9343
9344 2003-02-22  John Levon  <levon@movementarian.org>
9345
9346         * toc.h:
9347         * toc.C: make TocItem store an id not a Paragraph *
9348           (bug #913)
9349
9350 2003-02-21  Angus Leeming  <leeming@lyx.org>
9351
9352         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9353           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9354           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9355           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9356           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9357           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9358
9359         * BufferView_pimpl.C (dispatch):
9360         * LyXAction.C (init):
9361         * factory.C (createInset):
9362         * lyxfunc.C (getStatus, dispatch):
9363         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9364
9365 2003-02-21  Angus Leeming  <leeming@lyx.org>
9366
9367         * BufferView_pimpl.C (MenuInsertLyXFile):
9368         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9369         * lyxfunc.C (menuNew, open, doImport):
9370           no longer pass a LyXView & to fileDlg.
9371
9372 2003-02-21  Angus Leeming  <leeming@lyx.org>
9373
9374         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9375         * LyXAction.C: change, BIBKEY to BIBITEM.
9376         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9377         Change InsetBibKey to InsetBibitem.
9378         Change BIBKEY_CODE to BIBITEM_CODE.
9379         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9380         * factory.C: replace insetbib.h with insetbibitem.h.
9381         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9382         * paragraph.C: replace insetbib.h with insetbibitem.h.
9383         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9384         Change bibkey() to bibitem().
9385         * text.C: remove insetbib.h.
9386         * text2.C: replace insetbib.h with insetbibitem.h.
9387         change bibkey() to bibitem().
9388         * text3.C: remove insetbib.h.
9389         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9390
9391 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9392
9393         * lyxrc.C (output): enclose user email in quotes (in case there are
9394         several words)
9395
9396 2003-02-18  John Levon  <levon@movementarian.org>
9397
9398         * buffer.h: add std::
9399
9400 2003-02-17  John Levon  <levon@movementarian.org>
9401
9402         * SpellBase.h:
9403         * ispell.h:
9404         * ispell.C:
9405         * pspell.h:
9406         * pspell.C: reworking. Especially in ispell, a large
9407           number of clean ups and bug fixes.
9408
9409         * lyxfunc.C: fix revert to behave sensibly
9410
9411 2003-02-17 André Pönitz <poenitz@gmx.net>
9412
9413         * LyXAction.C:
9414         * commandtags.h: new LFUN_INSERT_BIBKEY
9415
9416         * layout.h:
9417         * lyxlayout.C:
9418         * buffer.C:
9419         * factory.C:
9420         * text.C:
9421         * text2.C:
9422         * text3.C:
9423         * paragraph.[Ch]:
9424         * paragraph_func.C: remove special bibkey handling
9425
9426 2003-02-17  John Levon  <levon@movementarian.org>
9427
9428         * text.C (Delete): fix case where delete at the end of
9429           the very first paragraph would not merge the pars
9430
9431 2003-02-17  John Levon  <levon@movementarian.org>
9432
9433         * lyxrow.C: fix lastPrintablePos()
9434
9435 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9436
9437         * bufferparams.C (writeLaTeX): add a std:here
9438
9439         * buffer.C: and remove a using directive there
9440
9441 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9442
9443         * buffer.C (makeLaTeXFile): move the code that generates the
9444           preamble...
9445
9446         * bufferparams.C (writeLaTeX): ... in this new method
9447
9448         * LaTeXFeatures.C (getEncodingSet): make const
9449           (getLanguages): make const
9450
9451         * MenuBackend.C (binding): returns the binding associated to this
9452           action
9453           (add): sets the status of each item by calling getStatus. Adds
9454           some intelligence.
9455           (read): add support for OptSubMenu
9456           (expand): remove extra separator at the end of expanded menu
9457
9458 2003-02-15  John Levon  <levon@movementarian.org>
9459
9460         * BufferView.C:
9461         * BufferView_pimpl.C:
9462         * bufferlist.h:
9463         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9464           inset code that had no actual effect. Remove unneeded status
9465           code.
9466
9467 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9468
9469         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9470           in preamble
9471
9472 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9473
9474         * text.C (drawLengthMarker): also draw an arrow marker for
9475           symbolic lengths (medskip...)
9476
9477 2003-02-14  John Levon  <levon@movementarian.org>
9478
9479         * tabular.h:
9480         * tabular.C: better method names
9481
9482 2003-02-14  John Levon  <levon@movementarian.org>
9483
9484         * BufferView_pimpl.C:
9485         * bufferlist.C:
9486         * buffer.C:
9487         * converter.C:
9488         * lyx_cb.C:
9489         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9490           it's a more accurate name. Remove some pointless uses.
9491
9492 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9493
9494         * text2.C (LyXText): change order of initilizers to shut off
9495           warnings
9496
9497 2003-02-14  John Levon  <levon@movementarian.org>
9498
9499         * buffer.C: use ParIterator for getParFromID()
9500
9501         * paragraph.h:
9502         * paragraph.C:
9503         * paragraph_pimpl.h:
9504         * paragraph_pimpl.C: remove unused getParFromID()
9505
9506 2003-02-14  John Levon  <levon@movementarian.org>
9507
9508         * buffer.C: remove some very old #if 0'd parse code
9509
9510 2003-02-13  John Levon  <levon@movementarian.org>
9511
9512         * text.h:
9513         * text.C:
9514         * text2.C: move hfillExpansion(), numberOfSeparators(),
9515           rowLast(), rowLastPrintable(), numberofHfills(),
9516           numberOfLabelHfills() ...
9517
9518         * lyxrow.h:
9519         * lyxrow.C: ... to member functions here.
9520
9521         * paragraph.h:
9522         * paragraph.C:
9523         * lyxtext.h:
9524         * text.C: remove LyXText::beginningOfMainBody(), and call
9525           p->beginningOfMainBody() directly. Move the check for
9526           LABEL_MANUAL into the latter.
9527
9528         * text.h:
9529         * text.C:
9530         * text2.C:
9531         * vspace.C:
9532         * BufferView.h:
9533         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9534
9535         * text.h:
9536         * text.C:
9537         * text2.C:
9538         * text3.C:
9539         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9540           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9541
9542 2003-02-13  John Levon  <levon@movementarian.org>
9543
9544         * CutAndPaste.C: remove debug
9545
9546 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9547
9548         * paragraph.C (asString): remove two unused variables
9549
9550         * lyxtextclass.C (readTitleType):
9551           (Read):
9552           (LyXTextClass): handle new members titletype_ and titlename_
9553
9554         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9555
9556 2003-02-09  John Levon  <levon@movementarian.org>
9557
9558         * buffer.h:
9559         * buffer.C: replace hand-coded list with a map for the dep clean
9560
9561 2003-02-08  John Levon  <levon@movementarian.org>
9562
9563         * LaTeX.C: consolidate code into showRunMessage() helper
9564
9565 2003-02-08  John Levon  <levon@movementarian.org>
9566
9567         * lyxfind.C:
9568         * lyxtext.h:
9569         * text2.C:
9570         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9571           and pass the size in explicitly
9572
9573         * BufferView_pimpl.h:
9574         * BufferView_pimpl.C:
9575         * BufferView.h:
9576         * BufferView.C: add getCurrentChange()
9577
9578         * BufferView_pimpl.h:
9579         * BufferView_pimpl.C: handle change lfuns
9580
9581         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9582           for changes. Mark pasted paragraphs as new.
9583
9584         * support/lyxtime.h:
9585         * support/lyxtime.C:
9586         * DepTable.C: abstract time_t as lyx::time_type
9587
9588         * LColor.h:
9589         * LColor.C: add colours for new text, deleted text, changebars
9590
9591         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9592           package use "usenames" option.
9593
9594         * commandtags.h:
9595         * lyxfunc.C:
9596         * LyXAction.C: add change lfuns
9597
9598         * Makefile.am:
9599         * author.h:
9600         * author.C: author handling
9601
9602         * buffer.h:
9603         * buffer.C: add a per-buffer author list, with first entry as
9604           current author. Handle new .lyx tokens for change tracking. Output
9605           author list to .lyx file. Output dvipost stuff to .tex preamble.
9606           Bump lyx format to 222.
9607
9608         * bufferlist.h:
9609         * bufferlist.C: add setCurrentAuthor() to reset current author details
9610           in all buffers.
9611
9612         * bufferparams.h:
9613         * bufferparams.C: add param for tracking
9614
9615         * bufferview_funcs.C: output change info in minibuffer
9616
9617         * Makefile.am:
9618         * changes.h:
9619         * changes.C: add change-tracking structure
9620
9621         * debug.h:
9622         * debug.C: add CHANGES debug flag
9623
9624         * lyxfind.h:
9625         * lyxfind.C: add code for finding the next change piece
9626
9627         * lyxrc.h:
9628         * lyxrc.C: add user_name and user_email
9629
9630         * lyxrow.h:
9631         * lyxrow.C: add a metric for the top of the text line
9632
9633         * lyxtext.h:
9634         * text.C: implement accept/rejectChange()
9635
9636         * lyxtext.h:
9637         * text.C: paint changebars. Paint new/deleted text in the chosen
9638         colours. Strike through deleted text.
9639
9640         * paragraph.h:
9641         * paragraph.C:
9642         * paragraph_pimpl.h:
9643         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9644           in the current change to the insert functions. Rework erase to
9645           mark text as deleted, adding an eraseIntern() and a range-based
9646           erase(). Implement per-paragraph change lookup and
9647           accept/reject.
9648
9649         * paragraph_funcs.C: Fixup paste for change tracking.
9650
9651         * tabular.C: mark added row/columns as new.
9652
9653         * text.C: fix rowLast() to never return -1. Don't allow
9654           spellchecking of deleted text. Track transpose changes. Don't
9655           allow paragraph break or merge where appropriate.
9656
9657         * text2.C: leave cursor at end of selection after a cut.
9658
9659 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9660
9661         * text.C (getLengthMarkerHeight):
9662         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9663         visible on screen too.
9664
9665 2003-02-07  John Levon  <levon@movementarian.org>
9666
9667         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9668
9669 2003-02-05  Angus Leeming  <leeming@lyx.org>
9670
9671         * lyxserver.C (read_ready): revert my patch of 11 September last year
9672         as it sends PC cpu through the roof. Presumably this means that
9673         the lyxserver will no longer run on an Alpha...
9674
9675 2003-01-30  Angus Leeming  <leeming@lyx.org>
9676
9677         * factory.C (createInset): create an InsetCommandParam of type "index"
9678         and use it to 'do the right thing'.
9679
9680         * text2.C (getStringToIndex): ensure that cursor position is always
9681         reset to the reset_cursor position.
9682
9683 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9684
9685         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9686         disabled.
9687
9688 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9689
9690         * bufferview.C:
9691         * lyxcb.C:
9692         * lyxfunc.C: Output messages with identical spelling, punctuation,
9693         and spaces
9694
9695 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9696
9697         * MenuBackend.C (expandFormats): List only viewable export formats
9698         in "View" menu
9699
9700         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9701         message
9702
9703         * lyxfunc.C (getStatus): Make sure that formats other than
9704         "fax" can also be disabled
9705
9706 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9707
9708         * text3.C (dispatch): put the lfuns that insert insets in 3
9709         groups, and call doInsertInset with appropriate arguments.
9710         (doInsertInset): new function, that creates an inset and inserts
9711         it according to some boolean parameters.
9712
9713 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9714
9715         * buffer.C (readFile): remember to pass on 'par' when calling
9716         readFile recursively.
9717
9718 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9719
9720         * MenuBackend.C (expandFormats): add "..." to import formats.
9721
9722 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9723
9724         * paragraph.C (asString): Remove XForms RTL hacks.
9725
9726 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9727         * buffer.C: fix typo
9728
9729 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9730
9731         * Makefile.am (LIBS): delete var
9732         (lyx_LDADD): add @LIBS@ here instead.
9733
9734 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9735
9736         * Clarify the meaning of "wheel mouse jump"
9737
9738 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9739
9740         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9741         tabular in a float
9742
9743 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9744
9745         * importer.C (Loaders): do not preallocate 3 elements in the
9746         vector, since one ends up with 6 elements otherwise
9747
9748 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9749
9750         * DepTable.C (write): write the file name as last element of the
9751         .dep file (because it may contain spaces)
9752         (read): read info in the right order
9753
9754 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9755
9756         * paragraph_pimpl.C (simpleTeXBlanks):
9757         (simpleTeXSpecialChars):
9758         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9759
9760         * tabular.C (latex): add some missing case statements. Reindent.
9761
9762         * MenuBackend.C (expandToc): remove unused variable.
9763
9764 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9765
9766         * LColor.C:
9767         * LaTeX.C:
9768         * LyXAction.C:
9769         * MenuBackend.C:
9770         * buffer.C:
9771         * exporter.C:
9772         * lyxfunc.C:
9773         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9774         and the like.
9775
9776 2003-01-05  John Levon  <levon@movementarian.org>
9777
9778         * BufferView.h:
9779         * BufferView.C: add getEncoding()
9780
9781         * kbsequence.h:
9782         * kbsequence.C: do not store last keypress
9783
9784         * lyxfunc.h:
9785         * lyxfunc.C: store last keypress here instead. Pass encoding
9786           to getISOEncoded()
9787
9788 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9789
9790         * lyx_main.C (init): remove annoying error message when following
9791         symbolic links (bug #780)
9792
9793 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9794
9795         * text.C (insertChar):
9796         * lyxrc.C (getDescription): remove extra spaces
9797
9798 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9799
9800         * lyxrc.C (getDescription): remove extra spaces
9801
9802 2002-12-20  John Levon  <levon@movementarian.org>
9803
9804         * text3.C: hack fix for page up/down across tall rows
9805
9806 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9807
9808         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9809         not been invoked
9810
9811 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9812
9813         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9814         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9815         thesaurus is not compiled in
9816
9817 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9818
9819         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9820
9821 2002-12-16  Angus Leeming  <leeming@lyx.org>
9822
9823         * lyxrc.[Ch]:
9824         * lyx_main.C (init): remove override_x_deadkeys stuff.
9825
9826 2002-12-12  John Levon  <levon@movementarian.org>
9827
9828         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9829           insert. Only remove shift modifier under strict
9830           circumstances.
9831
9832 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9833
9834         * MenuBackend.C (expandToc): fix crash.
9835
9836 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9837
9838         * MenuBackend.C (expandToc): gettext on float names.
9839
9840 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9841
9842         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9843         implement bool empty() [bug 490]
9844
9845 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9846
9847         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9848
9849 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9850
9851         * several files: ws changes
9852
9853 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9854
9855         * text2.C (setCounter): clean up a bit, use boost.format.
9856         (updateCounters): initialize par upon declaration.
9857
9858         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9859         if the layout exists. We do not just store the layout any more.
9860         (SwitchLayoutsBetweenClasses): use boost.format
9861
9862 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9863
9864         * converter.C (convert): if from and to files are the same, use a
9865         temporary files as intermediary
9866
9867 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9868
9869         * commandtags.h:
9870         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9871
9872 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9873
9874         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9875
9876 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9877
9878         * tabular.C (asciiPrintCell): use string(size, char) instead of
9879         explicit loop.
9880
9881         * sgml.C (openTag): fix order of arguments to string constructor
9882         (closeTag): ditto
9883
9884         * lyxfunc.C (dispatch): use boost.format
9885
9886         * lots of files: change "c" -> 'c'
9887
9888 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9889
9890         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9891
9892 2002-11-25  Angus Leeming  <leeming@lyx.org>
9893
9894         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9895
9896         * lyx_main.C (init): compile fix.
9897
9898 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9899
9900         * lyx_cb.C (start): boost.formatify
9901         do not include <iostream>
9902
9903         * lengthcommon.C: ws only
9904
9905         * boost-inst.C,BoostFormat.h: add more explict instantations
9906
9907 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9908
9909         * lots of files: handle USE_BOOST_FORMAT
9910
9911 2002-11-21  John Levon  <levon@movementarian.org>
9912
9913         * pspell.C: fix compile
9914
9915 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9916
9917         * lyxfunc.C (dispatch): use boost::format
9918         (open): ditto
9919         (doImport): ditto
9920
9921         * lyxfont.C (stateText): use boost::format
9922
9923         * lyx_main.C (LyX): use boost::format
9924         (init): ditto
9925         (queryUserLyXDir): ditto
9926         (readRcFile): ditto
9927         (parse_dbg): ditto
9928         (typedef boost::function): use the recommened syntax.
9929
9930         * importer.C (Import): use boost::format
9931
9932         * debug.C (showLevel): use boost::format
9933
9934         * converter.C (view): use boost::format
9935         (convert): ditto
9936         (move): ditto
9937         (scanLog): ditto
9938
9939         * bufferview_funcs.C (currentState): use boost::format
9940
9941         * bufferlist.C (emergencyWrite): use boost::format
9942
9943         * buffer.C (readLyXformat2): use boost::format
9944         (parseSingleLyXformat2Token): ditto
9945
9946         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9947
9948         * LaTeX.C (run): use boost::format
9949
9950         * Chktex.C (scanLogFile): use boost::format
9951
9952         * BufferView_pimpl.C (savePosition): use boost::format
9953         (restorePosition): ditto
9954         (MenuInsertLyXFile): ditto
9955
9956         * BoostFormat.h: help file for explicit instation.
9957
9958 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9959
9960         * tabular.C (latex): Support for block alignment in fixed width
9961         columns.
9962
9963 2002-11-17  John Levon  <levon@movementarian.org>
9964
9965         * BufferView_pimpl.C:
9966         * lyx_cb.C:
9967         * lyxfunc.C: split filedialog into open/save
9968
9969 2002-11-08  Juergen Vigna  <jug@sad.it>
9970
9971         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9972         by my last patch (hopefully).
9973
9974 2002-11-08  John Levon  <levon@movementarian.org>
9975
9976         * iterators.h:
9977         * iterators.C:
9978         * buffer.h:
9979         * buffer.C:
9980         * paragraph.h:
9981         * paragraph.C:
9982         * toc.h:
9983         * toc.C: ParConstIterator, and use it (from Lars)
9984
9985 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9986
9987         * lyxtextclass.[Ch]: revise and add doxygen comments
9988
9989 2002-11-07  John Levon  <levon@movementarian.org>
9990
9991         * text.C: fix progress value for spellchecker
9992
9993         * toc.C: fix navigate menu for insetwrap inside minipage
9994
9995         * paragraph_funcs.C: added FIXME for suspect code
9996
9997 2002-11-07  John Levon  <levon@movementarian.org>
9998
9999         * BufferView_pimpl.C: fix redrawing of insets
10000           on buffer switch
10001
10002 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10003
10004         * text2.C (updateCounters): fix bug 668
10005
10006 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10007
10008         * text3.C (dispatch): Do not make the buffer dirty when moving the
10009         cursor.
10010
10011 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10012
10013         * vc-backend.C: STRCONV
10014         (scanMaster): ditto
10015
10016         * text2.C (setCounter): STRCONV
10017
10018         * paragraph.C (asString): STRCONV
10019
10020         * lyxlength.C (asString): STRCONV
10021         (asLatexString): ditto
10022
10023         * lyxgluelength.C (asString): STRCONV
10024         (asLatexString): ditto
10025
10026         * lyxfunc.C (dispatch): STRCONV
10027         (open): ditto
10028
10029         * lyxfont.C (stateText): STRCONV
10030
10031         * importer.C (Import): STRCONV
10032
10033         * counters.C (labelItem): STRCONV
10034         (numberLabel): ditto
10035         (numberLabel): remove unused ostringstream o
10036
10037         * chset.C: STRCONV
10038         (loadFile): ditto
10039
10040         * bufferview_funcs.C (currentState): STRCONV
10041
10042         * buffer.C (readFile): STRCONV
10043         (asciiParagraph): ditto
10044         (makeLaTeXFile): ditto
10045
10046         * Spacing.C (writeEnvirBegin): STRCONV
10047
10048         * LaTeXFeatures.C (getLanguages): STRCONV
10049         (getPackages): ditto
10050         (getMacros): ditto
10051         (getBabelOptions): ditto
10052         (getTClassPreamble): ditto
10053         (getLyXSGMLEntities): ditto
10054         (getIncludedFiles): ditto
10055
10056         * LaTeX.C: STRCONV
10057         (run): ditto
10058         (scanAuxFile): ditto
10059         (deplog): ditto
10060
10061         * LString.h: add the STRCONV macros
10062
10063         * BufferView_pimpl.C (savePosition): STRCONV
10064         (restorePosition): ditto
10065         (MenuInsertLyXFile): ditto
10066
10067         * vc-backend.C (scanMaster): change from submatch[...] to
10068         submatch.str(...)
10069
10070         * funcrequest.C: include config.h
10071
10072         * factory.C: include config.h
10073
10074         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10075
10076         * box.C: include config.h
10077
10078         * LaTeX.C (scanAuxFile): change from submatch[...] to
10079         submatch.str(...)
10080         (deplog): ditto
10081
10082 2002-10-25  Angus Leeming  <leeming@lyx.org>
10083
10084         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10085
10086         * ispell.[Ch] (setError): new method.
10087         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10088         Use setError() insetead of goto END.
10089
10090         * lyx_cb.C (AutoSave): move out child process into new class
10091         AutoSaveBuffer.
10092
10093 2002-10-30  John Levon  <levon@movementarian.org>
10094
10095         * text3.C: make start appendix undoable
10096
10097 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10098
10099         * lyxlength.C (inPixels): Fix returned value.
10100
10101         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10102         environment.
10103
10104 2002-10-24  Angus Leeming  <leeming@lyx.org>
10105
10106         * lyxgluelength.h: no need to forward declare BufferParams
10107         or BufferView, so don't.
10108
10109 2002-10-21  John Levon  <levon@movementarian.org>
10110
10111         * BufferView.C: menuUndo ->undo, redo
10112
10113         * BufferView.h: document, remove dead, make some methods private
10114
10115         * paragraph_funcs.h:
10116         * paragraph_funcs.C:
10117         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10118
10119         * buffer.h:
10120         * buffer.C:
10121         * sgml.h:
10122         * sgml.C: move sgml open/close tag into sgml.C
10123
10124         * bufferview_funcs.h: unused prototype
10125
10126         * lyxfunc.h:
10127         * lyxfunc.C: remove unused
10128
10129         * lyxtext.h:
10130         * text.C: remove unused
10131
10132 2002-10-21  John Levon  <levon@movementarian.org>
10133
10134         * BufferView.h:
10135         * BufferView.C:
10136         * BufferView_pimpl.h:
10137         * BufferView_pimpl.C: fix mouse wheel handling based on
10138           patch from Darren Freeman
10139
10140 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10141
10142         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10143
10144 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10145
10146         * lyxlength.C (inPixels): Fix hanfling of negative length.
10147         Fix LyXLength::MU case.
10148
10149 2002-10-16  John Levon  <levon@movementarian.org>
10150
10151         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10152
10153 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10154
10155         * converter.C (view): add support for $$i (file name) and $$p
10156         (file path) for the viewer command. If $$i is not specified, then
10157         it is appended to the command (for compatibility with old syntax)
10158
10159 2002-10-14  Juergen Vigna  <jug@sad.it>
10160
10161         * undo_funcs.C (textHandleUndo): alter the order in which the
10162         new undopar is added to the LyXText, as we have to set first
10163         the right prev/next and then add it as otherwise the rebuild of
10164         LyXText is not correct. Also reset the cursor to the right paragraph,
10165         with this IMO we could remove the hack in "redoParagraphs()".
10166
10167 2002-10-09  Angus Leeming  <leeming@lyx.org>
10168
10169         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10170         to turn off an optimisation if a new inset is to be inserted.
10171
10172 2002-10-11 André Pönitz <poenitz@gmx.net>
10173
10174         * lyxtext.h: make some functions public to allow access
10175         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10176
10177 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10178
10179         * text3.C (dispatch): when changing layout, avoid an infinite loop
10180         [bug #652]
10181
10182 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10183
10184         * lyxrc.C (read): treat a viewer or converter command of "none" as
10185         if it were empty.
10186
10187         * MenuBackend.C (expandFormats): for an update, also allow the
10188         formats that are not viewable
10189
10190         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10191         script if it is newer than the lyxrc.defaults in user directory
10192
10193 2002-10-07 André Pönitz <poenitz@gmx.net>
10194
10195         * text.C: Vitaly Lipatov's small i18n fix
10196
10197 2002-09-25  Angus Leeming  <leeming@lyx.org>
10198
10199         * ispell.h: doxygen fix.
10200
10201 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10202
10203         * buffer.h (readFile): Add a new argument to the method, to allow
10204         reading of old-format templates.
10205
10206 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10207
10208         * toc.C (getTocList): Get TOC from InsetWrap.
10209
10210 2002-09-16  John Levon  <levon@movementarian.org>
10211
10212         * lyxfunc.C: check tabular for cut/copy too
10213
10214 2002-09-12  John Levon  <levon@movementarian.org>
10215
10216         * LyXAction.C: tidy
10217
10218         * factory.h:
10219         * factory.C: add header
10220
10221         * paragraph_funcs.h:
10222         * paragraph_funcs.C: cleanup
10223
10224 2002-09-11  John Levon  <levon@movementarian.org>
10225
10226         * PrinterParams.h: odd/even default to true
10227
10228 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10229
10230         * PrinterParams.h: update printer parameters for new xforms dialog
10231
10232 2002-09-11  Angus Leeming  <leeming@lyx.org>
10233
10234         * lyxserver.C (read_ready): re-write to make it more transparent
10235         and to make it work in coherent fashion under Tru64 Unix.
10236
10237 2002-09-11  André Pönitz <poenitz@gmx.net>
10238
10239         * commandtags.h:
10240         * LyXAction.C:
10241         * text3.C: implement LFUN_WORDSEL
10242
10243 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10244
10245         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10246         make floatlist_ a boost::shared_ptr<FloatList>
10247
10248         * lyxtextclass.C: include FloatList.h
10249         (LyXTextClass): initialize floatlist_
10250         (TextClassTags): add TC_NOFLOAT
10251         (Read): match "nofloat" to TC_NOFLOAT and use it.
10252         (readFloat): modify call to floatlist_
10253         (floats): ditto
10254         (floats): ditto
10255
10256         * FloatList.[Ch] (FloatList): remove commented out float
10257         initialization.
10258         (erase): new function
10259
10260 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10261
10262         * MenuBackend.C (expandToc): fix crash when there is no document
10263         open
10264
10265 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10266
10267         * many files: Add insetwrap.
10268
10269 2002-09-09  John Levon  <levon@movementarian.org>
10270
10271         * text2.C: remove confusing and awkward depth wraparound
10272
10273 2002-09-09  John Levon  <levon@movementarian.org>
10274
10275         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10276
10277         * buffer.h:
10278         * buffer.C: remove getIncludeonlyList()
10279
10280         * paragraph.C:
10281         * lyxfunc.C: remove headers
10282
10283 2002-09-09  Juergen Vigna  <jug@sad.it>
10284
10285         * text.C (getColumnNearX): fix form Michael this is most
10286         probably a cut&paste bug.
10287
10288 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10289
10290         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10291
10292         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10293         references, ws changes.
10294
10295         * text2.C (init): update counters after init
10296         (insertParagraph): no need to set counter on idividual paragraphs.
10297         (setCounter): access the counters object in the textclass object
10298         on in the buffer object.
10299         (updateCounters): ditto
10300
10301         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10302         shared_ptr<Counters> to avoid loading counters.h in all
10303         compilation units.
10304         (LyXTextClass): initialize ctrs_
10305         (TextClassTags): add TC_COUNTER, and ...
10306         (Read): use it here.
10307         (CounterTags): new tags
10308         (readCounter): new function
10309         (counters): new funtion
10310         (defaultLayoutName): return a const reference
10311
10312         * counters.C (Counters): remove contructor
10313         (newCounter): remove a couple of unneeded statements.
10314         (newCounter): simplify a bit.
10315         (numberLabel): some small formatting changes.
10316
10317         * buffer.[Ch]: remove all traces of counters, move the Counters
10318         object to the LyXTextClass.
10319
10320 2002-09-06  Alain Castera  <castera@in2p3.fr>
10321
10322         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10323         package to set the horizontal alignment on fixed width columns.
10324
10325         * lyx_sty.C:
10326         * lyx_sty.h: added tabularnewline macro def.
10327
10328         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10329
10330 2002-09-06  John Levon  <levon@movementarian.org>
10331
10332         * LyXAction.C: tooltips for sub/superscript
10333
10334         * MenuBackend.C: a bit more verbose
10335
10336         * lyxfunc.C: tiny clean
10337
10338         * undo_funcs.C: document undo_frozen
10339
10340 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10341
10342         * counters.C (Counters): add missing algorithm counter.
10343
10344         * text2.C (setCounter): lookup the counter with layouts latexname
10345         instead of by section number.
10346         (setCounter): use a hackish way to lookup the correct enum
10347         counter.
10348         a float name->type change
10349         reset enum couners with counter name directly instead of depth value.
10350
10351         * counters.C (Counters): remove the push_backs, change to use the
10352         float type not the float name.
10353         (labelItem): remove unused string, float name->type change
10354
10355         * counters.h: don't include vector, loose the enums and sects vectors
10356
10357 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10358
10359         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10360         (Read): add float->TC_FLOAT to textclassTags
10361         (Read): and handle it in the switch
10362         (readFloat): new function
10363
10364         * FloatList.C (FloatList): comment out the hardcoded float
10365         definitions.
10366
10367         * lyxlayout.h: ws change.
10368
10369 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10370
10371         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10372
10373 2002-09-03  Angus Leeming  <leeming@lyx.org>
10374
10375         * BufferView_pimpl.h: qualified name is not allowed in member
10376         declaration: WorkArea & Pimpl::workarea() const;
10377
10378         * factory.C: added using std::endl directive.
10379
10380         * text3.C: added using std::find and std::vector directives.
10381
10382 2002-08-29  André Pönitz <poenitz@gmx.net>
10383
10384         * lyxtext.h:
10385         * text2.C: remove unused member number_of_rows
10386
10387         * Makefile.am:
10388         * BufferView2.C: remove file, move contents to...
10389         * BufferView.C: ... here
10390
10391         * BufferView_pimpl.C:
10392         * factory.C: move more inset creation to factory
10393
10394         * vspace.C: avoid direct usage of LyXText, ws changes
10395
10396         * BufferView.[Ch]:
10397                 don't provide direct access to WorkArea, use two simple
10398                 acessors haveSelction() and workHeight() instead
10399
10400
10401 2002-08-29  John Levon  <levon@movementarian.org>
10402
10403         * BufferView_pimpl.C (dispatch): do not continue when
10404           no buffer
10405
10406 2002-08-28  André Pönitz <poenitz@gmx.net>
10407
10408         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10409
10410         * BufferView.h:
10411         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10412
10413 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10414
10415         * buffer.C: increment LYX_FORMAT to 221
10416
10417         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10418         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10419
10420         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10421
10422         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10423
10424 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10425
10426         * factory.C (createInset): use LyXTextClass::floats
10427
10428         * MenuBackend.C (expandFloatListInsert):
10429         (expandFloatInsert):
10430         (expandToc):
10431
10432         * text2.C (setCounter):
10433
10434         * LaTeXFeatures.C (useFloat):
10435         (getFloatDefinitions):
10436
10437         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10438
10439         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10440         floatlist_, with accessor floats().
10441
10442         * FloatList.h: remove global FloatList
10443
10444 2002-08-26  André Pönitz <poenitz@gmx.net>
10445
10446         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10447
10448         * BufferView.h:
10449         * BufferView2.C:
10450         * BufferView_pimpl.C:
10451         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10452
10453 2002-08-25  John Levon  <levon@movementarian.org>
10454
10455         * LyXAction.C: fix margin note description
10456
10457 2002-08-24  John Levon  <levon@movementarian.org>
10458
10459         * buffer.C:
10460         * bufferlist.C:
10461         * bufferview_funcs.C:
10462         * lyxfont.C:
10463         * undo_funcs.C: cleanups
10464
10465         * lyxfunc.C: disable CUT/COPY when no selection
10466
10467 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10468
10469         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10470         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10471
10472         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10473         Add backward compatibility to "mono", "gray" and "no".
10474
10475 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10476
10477         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10478         (and file_format >= 200).
10479
10480 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10481
10482         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10483
10484 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10485
10486         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10487
10488 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10489
10490         * BufferView_pimpl.C:
10491         * LyXAction.C:
10492         * buffer.C:
10493         * commandtags.h:
10494         * lyxfunc.C:
10495         * paragraph.[Ch]:
10496         * text2.C:
10497         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10498         inset and code to make it  work with the paragraph code. The inset
10499         can be anywhere in the paragraph, but will only do the expected
10500         thing in LaTeX if the layout file contains the parameter line
10501                         OptionalArgs    1
10502         (or more generally, a nonzero value) for that layout.
10503
10504 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10505
10506         * paragraph.h: remove the declaration of undefined counters class
10507         function.
10508
10509 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10510
10511         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10512         Dr. Richard Hawkins.
10513
10514 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10515
10516         * paragraph_funcs.h: remove some unneeded includes
10517
10518         * text.C (backspace): pasteParagraph now in global scipe
10519
10520         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10521         (pasteSelection): ditto
10522
10523         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10524         * paragraph_funcs.C (pasteParagraph): ... here
10525
10526 2002-08-20  André Pönitz <poenitz@gmx.net>
10527
10528         * commandtags.h: new LFUNs for swapping/copying table row/colums
10529
10530         * LyXAction.C:
10531         * lyxfunc.C: support for new lfuns
10532
10533 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10534
10535         * tabular.C:
10536         * buffer.[Ch]: remove NO_COMPABILITY stuff
10537
10538 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10539
10540         * boost.C (throw_exception): new file, with helper function for
10541         boost compiled without exceptions.
10542
10543         * paragraph.h:
10544         * lyxlength.C:
10545         * buffer.C:
10546         * ParameterStruct.h:
10547         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10548
10549         * bufferlist.C (emergencyWriteAll): use boost bind
10550
10551         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10552
10553         * text.C: include paragraph_funcs.h
10554         (breakParagraph): breakParagraph is now in global scope
10555
10556         * paragraph_funcs.[Ch]: new files
10557
10558         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10559         global scope
10560
10561         * buffer.C: include paragraph_funcs.h
10562         (insertStringAsLines): breakParagraph is now in global scope
10563
10564         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10565         paragraph_funcs.C
10566
10567         * CutAndPaste.C: include paragraph_funcs.h
10568         (cutSelection): breakParagraphConservative is now in global scope
10569         (pasteSelection): ditto
10570
10571         * buffer.h: declare oprator== and operator!= for
10572         Buffer::inset_iterator
10573
10574         * bufferlist.C (emergencyWrite): don't use fmt(...)
10575
10576         * text3.C: add using std::endl
10577
10578         * BufferView.C (moveCursorUpdate): remove default arg
10579
10580 2002-08-20  André Pönitz <poenitz@gmx.net>
10581
10582         * buffer.[Ch]: move inline functions to .C
10583
10584         * BufferView2.C:
10585         * BufferView_pimpl.C:
10586         * text.C:
10587         * buffer.[Ch]: use improved inset_iterator
10588
10589         * buffer.C:
10590         * paragraph.[Ch]: write one paragraph at a time
10591
10592 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10593
10594         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10595         style if style is not specified.
10596
10597 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10598
10599         * text2.C (setCounter): when searching for right label for a
10600         caption, make sure to recurse to parent insets (so that a caption
10601         in a minipage in a figure float works) (bug #568)
10602
10603 2002-08-20  André Pönitz <poenitz@gmx.net>
10604
10605         * text3.C: new file for LyXText::dispatch() and helpers
10606
10607         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10608
10609         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10610
10611 2002-08-19  André Pönitz <poenitz@gmx.net>
10612
10613         * lyxtext.h:
10614         * text.C: new LyXText::dispatch()
10615
10616         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10617
10618 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10619
10620         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10621
10622         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10623         Hebrew text.
10624
10625 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10626
10627         * Makefile.am: use $(variables) instead of @substitutions@
10628
10629 2002-08-15  André Pönitz <poenitz@gmx.net>
10630
10631         * lyxfunc.C:
10632         * BufferView_pimpl.C: streamlining mathed <-> outer world
10633         interaction
10634
10635         * commandtags.h:
10636         * LyXAction.C: remove unused LFUN_MATH
10637
10638 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10639
10640         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10641
10642 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10643
10644         * paragraph.C (Paragraph): reformat a bit
10645         (cutIntoMinibuffer): use builtin InsetList function instad of
10646         doing it manually.
10647         (getInset): ditto
10648
10649         * buffer.C: include boost/bind.hpp, add using std::for_each
10650         (writeFileAscii): use ParagraphList iterators
10651         (validate): use for_each for validate traversal of paragraphs
10652         (getBibkeyList): use ParagraphList iterators
10653         (resizeInsets): use for_each to resizeInsetsLyXText for all
10654         paragraphs.
10655         (getParFromID): use ParagraphList iterators
10656
10657         * BufferView2.C (lockInset): use paragraph list and iterators
10658
10659 2002-08-14  John Levon  <levon@movementarian.org>
10660
10661         * lyxserver.C: remove spurious xforms include
10662
10663 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10664
10665         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10666
10667 2002-08-13  André Pönitz <poenitz@gmx.net>
10668
10669         * LyXAction.[Ch]:
10670         * lyxfunc.C: further cleaning
10671
10672 2002-08-13  André Pönitz <poenitz@gmx.net>
10673
10674         * funcrequest.h: new constructor
10675
10676         * funcrequest.C: move stuff here from .h
10677
10678         * Makefile.am:
10679         * BufferView_pimpl.C:
10680         * LyXAction.C:
10681         * toc.C:
10682         * lyxfunc.C: subsequent changes
10683
10684         * lyxfunc.h: new view() member function
10685
10686         * lyxfunc.C: subsequent changes
10687
10688 2002-08-13  Angus Leeming  <leeming@lyx.org>
10689
10690         * BufferView2.C:
10691         * BufferView_pimpl.C:
10692         * buffer.C:
10693         * converter.C:
10694         * importer.C:
10695         * lyxfunc.C:
10696         * lyxvc.C:
10697         * toc.C:
10698         * vc-backend.C:
10699         changes due to the changed LyXView interface that now returns references
10700         to member variables not pointers.
10701
10702 2002-08-13  Angus Leeming  <leeming@lyx.org>
10703
10704         * WordLangTuple (word, lang_code): return references to strings,
10705         not strings.
10706
10707         * BufferView.h:
10708         * SpellBase.h:
10709         * lyxtext.h: forward-declare WordLangTuple.
10710
10711         * BufferView2.C:
10712         * ispell.C:
10713         * pspell.C:
10714         * text.C: #include "WordLangTuple.h".
10715
10716         * lyxtext.h:
10717         * text.C: (selectNextWordToSpellcheck): constify return type.
10718
10719 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10720
10721         * buffer.C:
10722         * buffer.h:
10723         * lyxtext.h:
10724         * paragraph.C:
10725         * paragraph_pimpl.h:
10726         * text.C:
10727         * text2.C:
10728         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10729         suggested by Angus.
10730         Made updateCounter always count from start of buffer, and removed
10731         second argument (par).
10732         Reverted floats number display to '#'. Perhaps I'll try again when the
10733         code base is sanitized a bit.
10734
10735 2002-08-12  Angus Leeming  <leeming@lyx.org>
10736
10737         * buffer.[Ch] (getLabelList): constify.
10738
10739 2002-08-07  André Pönitz <poenitz@gmx.net>
10740
10741         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10742
10743         * funcrequest.h: extension to keep mouse (x,y) position
10744
10745 2002-08-12  Juergen Vigna  <jug@sad.it>
10746
10747         * BufferView2.C (insertErrors): forbid undo when inserting error
10748         insets.
10749
10750         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10751
10752 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10753
10754         * ParagraphList.[Ch]: new files
10755
10756         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10757
10758         * BufferView2.C (lockInset): ParagraphList changes
10759         * toc.C: ditto
10760         * text2.C: ditto
10761         * bufferlist.C: ditto
10762         * buffer.h: ditto
10763         * buffer.C: ditto
10764
10765 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10766
10767         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10768         unused class variable counter_,
10769
10770         * paragraph.[Ch] (getFirstCounter): delete unused function
10771
10772         * counters.C: include LAssert.h
10773         (reset): add a new function with no arg, change other version to
10774         not have def. arg and to not allow empty arg.
10775
10776         * text2.C (setCounter): remove empty arg from call to Counters::reset
10777
10778 2002-08-11  John Levon  <levon@movementarian.org>
10779
10780         * Makefile.am: add WordLangTuple.h
10781
10782 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10783
10784         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10785         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10786
10787         * insets/insettext.C: InsetList changes
10788
10789         * graphics/GraphicsSupport.C (operator()): InsetList changes
10790
10791         * toc.C (getTocList): InsetList changes
10792
10793         * paragraph_pimpl.[Ch]: InsetList changes
10794
10795         * paragraph.[Ch]: InsetList changes
10796
10797         * buffer.C (inset_iterator): InsetList changes
10798         (setParagraph): ditto
10799         * buffer.h (inset_iterator): ditto
10800         * iterators.C (operator++): ditto
10801         * iterators.h: ditto
10802
10803         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10804
10805         * InsetList.[Ch]: new files, most InsetList handling moved out of
10806         paragraph.C.
10807
10808         * BufferView2.C (removeAutoInsets): InsetList changes
10809         (lockInset): ditto
10810         (ChangeInsets): ditto
10811
10812 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10813
10814         * paragraph_pimpl.h (empty): new function
10815
10816         * paragraph.[Ch] (empty): new function
10817
10818         * other files: use the new Paragraph::empty function
10819
10820 2002-08-09  John Levon  <levon@movementarian.org>
10821
10822         * lyxtext.h: remove unused refresh_height
10823
10824 2002-08-09  John Levon  <levon@movementarian.org>
10825
10826         * Makefile.am:
10827         * sgml.h:
10828         * sgml.C:
10829         * buffer.C:
10830         * paragraph.h:
10831         * paragraph.C: move sgml char escaping out of paragraph
10832
10833         * paragraph.h:
10834         * paragraph.C: remove id setter
10835
10836         * buffer.C:
10837         * paragraph.C:
10838         * paragraph_pimpl.C: remove dead tex_code_break_column
10839
10840         * bufferview_funcs.C: small cleanup
10841
10842         * lyxfunc.C: remove dead proto
10843
10844         * lyxtext.h: make some stuff private. Remove some dead stuff.
10845
10846         * lyxgluelength.C: make as[LyX]String() readable
10847
10848 2002-08-08  John Levon  <levon@movementarian.org>
10849
10850         * LyXAction.h:
10851         * LyXAction.C:
10852         * MenuBackend.C:
10853         * ToolbarDefaults.C:
10854         * lyxfunc.C:
10855         * lyxrc.C:
10856         * toc.C: lyxaction cleanup
10857
10858 2002-08-08  John Levon  <levon@movementarian.org>
10859
10860         * BufferView2.C: small cleanup
10861
10862         * lyxfind.h:
10863         * lyxfind.C: move unnecessary header into the .C
10864
10865 2002-08-08  John Levon  <levon@movementarian.org>
10866
10867         * funcrequest.h: just tedious nonsense
10868
10869         * lyx_main.h:
10870         * lyx_main.C: cleanups
10871
10872         * buffer.C:
10873         * vspace.C: remove dead header lyx_main.h
10874
10875 2002-08-07  Angus Leeming  <leeming@lyx.org>
10876
10877         * Paragraph.[Ch]:
10878         * paragraph_pimpl.h:
10879         Forward declare class Counters in paragraph.h by moving the ctrs member
10880         variable into Paragraph::Pimpl.
10881         (counters): new method, returning a reference to pimpl_->ctrs.
10882
10883         * text2.C: ensuing changes.
10884
10885 2002-08-07  John Levon  <levon@movementarian.org>
10886
10887         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10888
10889         * BufferView_pimpl.C: announce X selection on double/triple
10890           click
10891
10892         * lyx_main.C: use correct bool in batch dispatch
10893
10894         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10895
10896 2002-08-07  André Pönitz <poenitz@gmx.net>
10897
10898         * funcrequest.h: new class to wrap a kb_action and its argument
10899
10900         * BufferView.[Ch]:
10901         * BufferView_pimpl[Ch]:
10902         * LaTeX.C:
10903         * LyXAction.[Ch]:
10904         * lyxfunc.[Ch]:
10905         * lyxrc.C: subsequent changes
10906
10907
10908 2002-08-07  John Levon  <levon@movementarian.org>
10909
10910         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10911           document options change.
10912
10913 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10914
10915         * counters.[Ch]
10916         * text2.C
10917         * paragraph.[Ch]
10918         * makefile.am: move counters functionality over from
10919         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10920
10921 2002-08-06  John Levon  <levon@movementarian.org>
10922
10923         * WordLangTuple.h: new file for word + language code tuple
10924
10925         * SpellBase.h:
10926         * pspell.h:
10927         * pspell.C:
10928         * ispell.h:
10929         * ispell.C:
10930         * lyxtext.h:
10931         * text.C:
10932         * text2.C:
10933         * BufferView.h:
10934         * BufferView2.C: use WordLangTuple
10935
10936         * layout.h:
10937         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10938
10939 2002-08-06  John Levon  <levon@movementarian.org>
10940
10941         * lyx_main.C: fix cmdline batch handling
10942
10943 2002-08-06  André Pönitz <poenitz@gmx.net>
10944
10945         * lyxrc.C: set default for show_banner to true
10946
10947 2002-08-06  John Levon  <levon@movementarian.org>
10948
10949         * pspell.C: fix a crash, and allow new aspell to work
10950
10951 2002-08-06  John Levon  <levon@movementarian.org>
10952
10953         * lyxfunc.C:
10954         * kbmap.C: small cleanup
10955
10956         * vspace.h:
10957         * vspace.C: add const
10958
10959 2002-08-05  John Levon  <levon@movementarian.org>
10960
10961         * LyXAction.C: back to tabular-insert
10962
10963 2002-08-04  John Levon  <levon@movementarian.org>
10964
10965         * BufferView.h:
10966         * BufferView.C: cosmetic change
10967
10968         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10969
10970         * bufferlist.C:
10971         * buffer.h:
10972         * buffer.C:
10973         * lyxcb.h:
10974         * lyxcb.C:
10975         * lyxserver.C:
10976         * lyxvc.C:
10977         * vc-backend.C:
10978         * BufferView2.C: purge all "Lyx" not "LyX" strings
10979
10980         * lyxcursor.h:
10981         * lyxcursor.C: attempt to add some documentation
10982
10983         * lyxfunc.C:
10984         * commandtags.h:
10985         * LyXAction.C:
10986         * ToolbarDefaults.C:
10987         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10988           merge with LFUN_TABULAR_INSERT
10989
10990         * Makefile.am:
10991         * SpellBase.h:
10992         * ispell.h:
10993         * ispell.C:
10994         * pspell.h:
10995         * pspell.C: split up i/pspell implementations into separate
10996           files, many cleanups
10997
10998         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10999
11000         * text2.C: some cleanup
11001
11002         * lyxfunc.C: don't check for isp_command == "none" any more, it
11003           didn't make any sense
11004
11005 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11006
11007         * counters.[Ch]
11008         * text2.C
11009         * paragraph.[Ch]
11010         * makefile.am: move counters functionality over
11011         from text2.C/paragraph.[Ch] to counters.[Ch], and
11012         make proper C++.
11013 2002-08-02  John Levon  <levon@movementarian.org>
11014
11015         * buffer.C: s/lyxconvert/lyx2lyx/
11016
11017 2002-08-02  Angus Leeming  <leeming@lyx.org>
11018
11019         * lyxlex.C: revert John's change as it breaks reading of the user
11020         preamble.
11021
11022 2002-08-02  Angus Leeming  <leeming@lyx.org>
11023
11024         * importer.C (Import):
11025         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11026         changes due to LyXView::view() now returning a boost::shared_ptr.
11027
11028 2002-08-02  John Levon  <levon@movementarian.org>
11029
11030         * lyxlex.C: small cleanup
11031
11032 2002-08-02  John Levon  <levon@movementarian.org>
11033
11034         * text2.C (status): small cleanup, no logic change
11035
11036 2002-08-01  John Levon  <levon@movementarian.org>
11037
11038         * buffer.h:
11039         * buffer.C (writeFile): don't output alerts, caller
11040           handles this
11041
11042         * bufferlist.C:
11043         * lyx_cb.C: from above
11044
11045         * lyxfunc.C: allow to open non-existent files
11046
11047 2002-07-31  John Levon  <levon@movementarian.org>
11048
11049         * lyxserver.C: don't let incidental errors get
11050           in the way (errno)
11051
11052 2002-07-30  John Levon  <levon@movementarian.org>
11053
11054         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11055
11056 2002-07-30  John Levon  <levon@movementarian.org>
11057
11058         * lyxserver.h:
11059         * lyxserver.C: remove I/O callback too
11060
11061 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11062
11063         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11064         log.
11065
11066 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11067
11068         * many files: strip,frontStrip -> trim,ltrim,rtrim
11069
11070 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11071
11072         * PrinterParams.h: remove extern containsOnly, and include
11073         support/lstrings.h instead.
11074
11075         * LaTeX.C (scanAuxFile): modify because of strip changes
11076         (deplog): ditto
11077         * buffer.C (makeLaTeXFile): ditto
11078         * bufferparams.C (writeFile): ditt
11079         * lyxfont.C (stateText): ditto
11080         * lyxserver.C (read_ready): ditto
11081         * vc-backend.C (scanMaster): ditto
11082
11083         * BufferView_pimpl.h: ws changes
11084
11085         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11086
11087 2002-07-26  André Pönitz <poenitz@gmx.net>
11088
11089         * kb_sequence.C: remove unnedred usings
11090
11091 2002-07-26  Juergen Vigna  <jug@sad.it>
11092
11093         * lyxfind.C (LyXReplace): we have to check better if the returned
11094         text is not of theLockingInset()->getLockingInset().
11095
11096 2002-07-25  Juergen Vigna  <jug@sad.it>
11097
11098         * lyxfind.C (LyXReplace): don't replace if we don't get the
11099         right LyXText.
11100
11101         * undo_funcs.C (createUndo): remove debugging code.
11102
11103 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11104
11105         * buffer.C (parseSingleLyXformat2Token): Use default placement
11106         when reading old floats.
11107
11108         * FloatList.C (FloatList): Change the default placement of figure
11109         and tables to "tbp".
11110
11111 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11112
11113         * MenuBackend.C: using std::max
11114
11115 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11116
11117         * MenuBackend.C (expandToc):
11118         (expandToc2): code moved from xforms menu frontend. It is now
11119         generic and TOCs are transparent to menu frontends.
11120
11121 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11122
11123         * toc.C (getTocList): protect against buf=0
11124
11125         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11126         Menu as first parameter. Now, this calls itself recursively to
11127         expand a whole tree (this will be useful for TOC handling)
11128         (expandFloatInsert): remove 'wide' version of floats
11129
11130         * MenuBackend.h (submenuname): returns the name of the submenu.
11131         (submenu): returns the submenu itself, provided it has been
11132         created by MenuBackend::expand
11133
11134 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11135
11136         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11137         insets which have noFontChange == true. (bug #172)
11138
11139 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11140
11141         * BufferView_pimpl.C: add connection objects and use them...
11142         (Pimpl): here.
11143
11144 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11145
11146         * MenuBackend.C (expandLastfiles):
11147         (expandDocuments):
11148         (expandFormats):
11149         (expandFloatListInsert):
11150         (expandFloatInsert):
11151         (expand): split expand in parts
11152
11153 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11154
11155         * lyx_gui.C: use lyx_gui::exit()
11156
11157 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11158
11159         * LyXAction.C: show the failing pseudo action
11160
11161 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11162
11163         * buffer.C (readFile): Run the lyxconvert script in order to read
11164         old files.
11165
11166 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11167
11168         * LyXAction.C:
11169         * commandtags.h:
11170         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11171
11172 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11173
11174         * LyXAction.C:
11175         * commandtags.h:
11176         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11177
11178 2002-07-22  Herbert Voss  <voss@lyx.org>
11179
11180         * lengthcommon.C:
11181         * lyxlength.[Ch]: add support for the vertical lengths
11182
11183 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11184
11185         * toc.[Ch]: std:: fixes
11186
11187 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11188
11189         * lyxrc.C: do not include lyx_main.h
11190
11191         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11192         for layouts
11193
11194         * lyxrc.C:
11195         * encoding.C:
11196         * bufferlist.C:
11197         * BufferView2.C: include "lyxlex.h"
11198
11199         * tabular.h:
11200         * bufferparams.h: do not #include "lyxlex.h"
11201
11202         * lyxtextclasslist.C (Add): remove method
11203         (classlist): renamed to classlist_
11204
11205         * paragraph_pimpl.C:
11206         * paragraph.C:
11207         * text2.C:
11208         * CutAndPaste.C:
11209         * bufferview_funcs.C:
11210         * bufferlist.C:
11211         * text.C:
11212         * LaTeXFeatures.C:
11213         * buffer.C:
11214         * toc.C (getTocList): use BufferParams::getLyXTextClass
11215
11216         * toc.C (getTocList): use InsetFloat::addToToc
11217
11218         * toc.[Ch]: new files, containing helper functions to handle table
11219         of contents
11220
11221         * lyxfunc.C (dispatch): no need to remove spaces around command
11222         given as a string
11223         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11224         first command of the sequence; it is not very clever, but I do not
11225         have a better idea, actually
11226
11227         * LyXAction.C (LookupFunc): make sure to remove space at the
11228         beginning and end of the command
11229
11230 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11231
11232         * MenuBackend.C (getMenubar): new method: return the menubar of
11233         this menu set
11234         (read): treat differently reading of menu and menubar (in
11235         particular, the menubar has no name now)
11236         (Menu::menubar): remove
11237
11238         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11239         saving is finished
11240
11241 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11242
11243         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11244         a bibitem inset in a RTL paragraph.
11245
11246 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11247
11248         * paragraph_pimpl.C: constify
11249
11250         * BufferView_pimpl.C:
11251         * LaTeX.C:
11252         * lyxfunc.C: fix dispatch in a nicer way
11253
11254 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11255
11256         * lyxfunc.C (dispatch):
11257         * BufferView_pimpl.C:
11258         * BufferView_pimpl.h:
11259         * BufferView.C:
11260         * BufferView.h: rename Dispatch() to dispatch()
11261
11262         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11263
11264         * lyxlayout.C (Read): honor DependsOn tag
11265
11266         * lyxlayout.[Ch] (depends_on): new method
11267
11268         * version.C.in: update lyx_docversion
11269
11270         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11271
11272         * paragraph.C (validate): remove from here...
11273         * paragraph_pimpl.C (validate): ... and move here
11274         (isTextAt): make it const
11275
11276         * buffer.C (getLists): ws cleanup
11277
11278 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11279
11280         * language.C (read): Use iso8859-1 encoding in latex_lang
11281         (this prevents LyX from crashing when using iso10646-1 encoding).
11282
11283 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11284
11285         * text2.C (toggleInset): if cursor is inside an inset, close the
11286         inset and leave cursor _after_ it
11287
11288 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11289
11290         * lyxfunc.C: move minibuffer completion handling out of here
11291
11292 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11293
11294         * BufferView_pimpl.C:
11295         * LaTeX.C: fix dispatch calls
11296
11297 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11298
11299         * text.C (drawChars): Fix Arabic text rendering.
11300
11301 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11302
11303         * LyXAction.C:
11304         * commandtags.h:
11305         * lyxfunc.C: remove message-push/pop
11306
11307         * lyxserver.C:
11308         * lyxfunc.h:
11309         * lyxfunc.C: rationalise some code by removing verboseDispatch
11310           in favour of a bool argument to dispatch()
11311
11312 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11313
11314         * lyx_main.C (init): make sure to read symlinks as absolute paths
11315
11316 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11317
11318         * lyxfunc.h:
11319         * lyxfunc.C: no need for commandshortcut to be a member
11320
11321 2002-07-15  André Pönitz <poenitz@gmx.net>
11322
11323         * converter.C: add support for $$s (scripts from lib/scripts dir)
11324         * lyx_main.C: white space
11325
11326 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11327
11328         * bufferlist.C:
11329         * lyxrc.h:
11330         * lyxrc.C: remove second exit confirmation
11331
11332 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11333
11334         * BufferView.h:
11335         * BufferView.C:
11336         * BufferView2.C:
11337         * BufferView_pimpl.h:
11338         * BufferView_pimpl.C:
11339         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11340
11341 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11342
11343         * MenuBackend.C (expand): add numeric shortcuts to document menu
11344
11345         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11346
11347 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11348
11349         * lyxfont.C (setLyXFamily):
11350         (setLyXSeries):
11351         (setLyXShape):
11352         (setLyXSize):
11353         (setLyXMisc):
11354         (lyxRead):
11355         * debug.C (value):
11356         * buffer.C (asciiParagraph): use ascii_lowercase
11357
11358 2002-07-15  Mike Fabian  <mfabian@suse.de>
11359
11360         * lyxlex_pimpl.C (search_kw):
11361         * lyxlex.C (getLongString):
11362         * converter.h (operator<):
11363         * converter.C (operator<):
11364         * buffer.C (parseSingleLyXformat2Token):
11365         (asciiParagraph):
11366         * ToolbarDefaults.C (read):
11367         * MenuBackend.C (checkShortcuts):
11368         (read):
11369         * LColor.C (getFromGUIName):
11370         (getFromLyXName): use the compare_ascii_no_case instead of
11371         compare_no_case, because in turkish, 'i' is not the lowercase
11372         version of 'I', and thus turkish locale breaks parsing of tags.
11373
11374 2002-07-16  Angus Leeming  <leeming@lyx.org>
11375
11376         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11377         now takes a Buffer const & argument.
11378
11379 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11380
11381         * BufferView.C (resize): check there's a buffer to resize
11382
11383 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11384
11385         * lyxfunc.C: remove dead code
11386
11387         * lyxserver.h:
11388         * lyxserver.C: use lyx_guii::set_read_callback
11389
11390 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11391
11392         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11393         an inset in a RTL paragraph.
11394
11395 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11396
11397         * lyxfunc.C: repaint after a font size update
11398
11399 2002-07-15  André Pönitz <poenitz@gmx.net>
11400
11401         * lyxlength.C: inBP should be able to return negative values
11402
11403 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11404
11405         * lyxfunc.C: use lyx_gui::update_fonts()
11406
11407 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11408
11409         * lyxfunc.C: use lyx_gui::update_color()
11410
11411 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11412
11413         * bufferlist.C:
11414         * lyxfunc.h:
11415         * lyxfunc.C:
11416         * lyxrc.h:
11417         * lyxrc.C: remove file->new asks for name option, and let
11418           buffer-new take an argument
11419
11420 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11421
11422         * BufferView_pimpl.C: remove unneeded extra repaint()
11423
11424 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11425
11426         * LyXAction.C: allow command-sequence with NoBuffer
11427
11428         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11429
11430 2002-07-10  Angus Leeming  <leeming@lyx.org>
11431
11432         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11433
11434 2002-07-09  Angus Leeming  <leeming@lyx.org>
11435
11436         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11437
11438 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11439
11440         * lengthcommon.h: whitespace
11441
11442         * lyxfunc.C: update scrollbar after goto paragraph
11443
11444         * lyxtext.h: factor out page break drawing, and fix it so
11445           page break/added space paints as selected nicely
11446
11447 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11448
11449         * BufferView_pimpl.C: add FIXMEs, clean up a little
11450
11451 2002-07-09  André Pönitz <poenitz@gmx.net>
11452
11453         * lyxfont.[Ch]: support for wasy symbols
11454
11455 2002-07-08  André Pönitz <poenitz@gmx.net>
11456
11457         * BufferView_pimpl.C: apply John's patch for #93.
11458
11459 2002-07-05  Angus Leeming  <leeming@lyx.org>
11460
11461         * BufferView_pimpl.C (buffer): generate previews if desired.
11462
11463         * LColor.h: add "preview" to the color enum.
11464
11465         * LColor.C (LColor): add a corresponding entry to the items array.
11466
11467         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11468         with this buffer.
11469
11470 2002-07-05  Angus Leeming  <leeming@lyx.org>
11471
11472         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11473         The body of the code is now in the method that is passed an ostream &
11474         rather than a file name.
11475         Pass an additional only_preamble parameter, useful for the forthcoming
11476         preview stuff.
11477
11478 2002-07-03  André Pönitz <poenitz@gmx.net>
11479
11480         * lyxfunc.C: simplify getStatus() a bit for math stuff
11481
11482 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11483
11484         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11485
11486 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11487
11488         * text.C (changeRegionCase): do not change case of all the
11489         document when region ends at paragraph end (bug #461)
11490
11491 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11492
11493         * paragraph.C (startTeXParParams):
11494         (endTeXParParams): add \protect when necessary
11495
11496 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11497
11498         * BufferView_pimpl.C (workAreaExpose): remove warning
11499
11500 2002-06-27  Angus Leeming  <leeming@lyx.org>
11501
11502         * Makefile.am: add lyxlayout_ptr_fwd.h.
11503
11504 2002-06-26  André Pönitz <poenitz@gmx.net>
11505
11506         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11507
11508 2002-06-25  Angus Leeming  <leeming@lyx.org>
11509
11510         * lyxfunc.C (dispatch): Comment out the call to
11511         grfx::GCache::changeDisplay. The method no longer exists now that the
11512         pixmap generation part of the graphics loader has been moved into
11513         InsetGraphics.
11514
11515 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11516
11517         * text2.C: layout as layout
11518
11519         * text.C: layout as layout
11520
11521         * tabular.C (OldFormatRead): layout as layout
11522
11523         * paragraph_pimpl.C (TeXDeeper): layout as layout
11524         (realizeFont): layout as layout
11525
11526         * paragraph.C (writeFile): layout as layout
11527         (validate): layout as layout
11528         (getFont): layout as layout
11529         (getLabelFont): layout as layout
11530         (getLayoutFont): layout as layout
11531         (breakParagraph): layout as layout
11532         (stripLeadingSpaces): layout as layout
11533         (getEndLabel): layout as layout
11534         (getMaxDepthAfter): layout as layout
11535         (applyLayout): layout as layout
11536         (TeXOnePar): layout as layout
11537         (simpleTeXOnePar): layout as layout
11538         (TeXEnvironment): layout as layout
11539         (layout): layout as layout
11540         (layout): layout as layout
11541
11542         * lyxtextclass.C (compare_name): new functor to work with
11543         shared_ptr, layout as layout
11544         (Read): layout as layout
11545         (hasLayout): layout as layout
11546         (operator): layout as layout
11547         (delete_layout): layout as layout
11548         (defaultLayout): layout as layout
11549
11550         * lyxlayout_ptr_fwd.h: new file
11551
11552         * lyxlayout.C (Read): layout as layout
11553
11554         * lyx_cb.C (MenuInsertLabel): layout as layout
11555
11556         * bufferlist.C (newFile): layout as layout
11557
11558         * buffer.C (readLyXformat2): layout as layout
11559         (parseSingleLyXformat2Token): layout as layout
11560         (insertStringAsLines): layout as layout
11561         (asciiParagraph): layout as layout
11562         (latexParagraphs): layout as layout
11563         (makeLinuxDocFile): layout as layout
11564         (simpleLinuxDocOnePar): layout as layout
11565         (makeDocBookFile): layout as layout
11566         (simpleDocBookOnePar): layout as layout
11567         (getLists): layout as layout
11568
11569         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11570
11571         * CutAndPaste.C (cutSelection): layout as layout
11572         (pasteSelection): layout as layout
11573         (SwitchLayoutsBetweenClasses): layout as layout
11574
11575         * BufferView_pimpl.C (Dispatch): layout as layout
11576         (smartQuote): layout as layout
11577
11578         * BufferView2.C (unlockInset): layout as layout
11579
11580 2002-06-24  André Pönitz <poenitz@gmx.net>
11581
11582         * lyxfunc.C: fix #487
11583
11584 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11585
11586         * lyxrc.h:
11587         * lyxrc.C:
11588         * lyxfunc.C: remove display_shortcuts, show_banner
11589
11590 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11591
11592         * Buffer_pimpl.C: oops, update on resize
11593
11594 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11595
11596         * buffer.C:
11597         * converter.C:
11598         * exporter.C:
11599         * lyxfunc.C:
11600         * BufferView.h:
11601         * BufferView.C: use repaint()
11602
11603         * BufferView_pimpl.h:
11604         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11605           as it's a clearer description. Remove superfluous
11606           redraws.
11607
11608 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11609
11610         * text.C: fix bug 488. Not ideal, but getting
11611           getWord() to work properly for the insets that
11612           matter is more difficult ...
11613
11614 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11615
11616         * BufferView_pimpl.C:
11617         * LyXAction.C:
11618         * commandtags.h:
11619         * lyxfunc.C: remove the six million index lyxfuncs to just
11620           one, and DTRT (bug 458)
11621
11622 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11623
11624         * BufferView.h:
11625         * BufferView.C:
11626         * BufferView_pimpl.h:
11627         * BufferView_pimpl.C: clean up resize() stuff,
11628           and unnecessary updateScreen()s
11629
11630 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11631
11632         * BufferView.h:
11633         * BufferView.C:
11634         * BufferView_pimpl.h:
11635         * BufferView_pimpl.C:
11636         * lyxfind.h:
11637         * lyxfind.C:
11638         * minibuffer.C: remove focus management of workarea,
11639           not needed. Use screen's greyOut()
11640
11641 2002-06-17  Herbert Voss  <voss@lyx.org>
11642
11643         * converter.C: (convert) do not post a message, when converting
11644         fails, let the calling function decide what to do in this case
11645
11646 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11647
11648         * lyxfunc.C: tidy up a little
11649
11650 2002-06-16    <alstrup@diku.dk>
11651
11652         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11653         Got rid of FORMS_H_LOCATION include. Now we are
11654         GUII.
11655
11656 2002-06-15  LyX Development team  <lyx@rilke>
11657
11658         * buffer.[Ch] (sgmlOpenTag):
11659         (sgmlCloseTag): Added support for avoiding pernicious mixed
11660         content. Return number of lines written.
11661
11662         (makeLinuxDocFile):
11663         (makeDocBookFile): Fixed calls to sgml*Tag.
11664         Simple white space clean.
11665
11666         (simpleDocBookOnePar): Simple white space clean.
11667
11668         * tabular.[Ch] (docBook): Renamed to docbook and got another
11669         argument to related with the pernicious mixed content.
11670
11671         (docbookRow): Fixed calls for docbook inset method.
11672
11673 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11674
11675         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11676         so it's X11 independent.
11677
11678         * kb*.[Ch]: ditto.
11679
11680         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11681
11682 2002-06-15  Lyx Development team  <lyx@electronia>
11683
11684         * intl.h: Renamed getTrans to getTransManager.
11685
11686 2002-06-14  Angus Leeming  <leeming@lyx.org>
11687
11688         * Makefile.am: nuke forgotten stl_string_fwd.h.
11689
11690 2002-06-12  Angus Leeming  <leeming@lyx.org>
11691
11692         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11693
11694 2002-06-13  Angus Leeming  <leeming@lyx.org>
11695
11696         * LaTeX.C:
11697         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11698
11699 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11700
11701         * kbmap.C (getiso): add support for cyrillic and greek
11702
11703 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11704
11705         * BufferView.h:
11706         * BufferView.C:
11707         * BufferView_pimpl.h:
11708         * BufferView_pimpl.C: move bogus scrolling logic
11709           to xforms
11710
11711 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11712
11713         * lyxfunc.C:
11714         * BufferView_pimpl.C: view->resize() change
11715
11716 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11717
11718         * BufferView_pimpl.C: topCursorVisible
11719           prototype change
11720
11721 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11722
11723         * Makefile.am:
11724         * lyx_gui.h:
11725         * lyx_gui.C: move to frontends/
11726
11727         * main.C:
11728         * lyx_main.h:
11729         * lyx_main.C: changes from above
11730
11731 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11732
11733         * intl.C:
11734         * intl.h:
11735         * kbmap.C:
11736         * kbsequence.C:
11737         * lyx_cb.C:
11738         * lyx_main.C: minor tidy
11739
11740 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11741
11742         * BufferView_pimpl.h:
11743         * BufferView_pimpl.C:
11744         * BufferView.h:
11745         * BufferView.C: make painter() const,
11746           remove dead code
11747
11748         * BufferView2.C: use screen() accessor
11749
11750         * lyx_main.h:
11751         * lyx_main.C: some minor cleanup
11752
11753 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11754
11755         * BufferView_pimpl.h:
11756         * BufferView_pimpl.C: remove enter/leaveView,
11757           use workHeight()
11758
11759 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11760
11761         * BufferView.h:
11762         * BufferView.C:
11763         * BufferView2.C:
11764         * BufferView_pimpl.h:
11765         * BufferView_pimpl.C: only construct screen once,
11766           rename
11767
11768         * lyxrc.C: remove pointless comment
11769
11770 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11771
11772         * BufferView.h:
11773         * BufferView.C: remove active() and belowMouse()
11774
11775         * BufferView_pimpl.h:
11776         * BufferView_pimpl.C: use workarea() not workarea_,
11777           and make it use a scoped_ptr instead
11778
11779 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11780
11781         * lyx_gui.C: add debug message on BadWindow
11782
11783 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11784
11785         * sp_spell.C: fdopen is not part of the C++ standard.
11786
11787         * paragraph.C (InsetIterator): use >= instead of ==
11788
11789 2002-06-07  Angus Leeming  <leeming@lyx.org>
11790
11791         Fixes needed to compile with Compaq cxx 6.5.
11792         * BufferView_pimpl.C:
11793         * DepTable.C:
11794         * buffer.C:
11795         * converter.C:
11796         * encoding.C:
11797         * lyx_gui.C:
11798         * lyx_main.C:
11799         * lyxtextclasslist.C:
11800         * minibuffer.C:
11801         * sp_spell.C:
11802         * tabular_funcs.C:
11803         * vc-backend.C:
11804         all c-library variables have been moved into namespace std. Wrap
11805         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11806
11807         * lyxlength.C:
11808         * tabular-old.C:
11809         * tabular.C:
11810         Add a using std::abs declaration.
11811
11812         * kbmap.h (modifier_pair):
11813         * paragraph.h (InsetTable, InsetList):
11814         * lyxfont.h (FontBits):
11815         type definition made public.
11816
11817         * bufferlist.C (emergencyWriteAll): the compiler complains that
11818         there is more than one possible lyx::class_fun template to choose from.
11819         I re-named the void specialisation as lyx::void_class_fun.
11820
11821         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11822
11823         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11824         the compiler is is unable to find tostr in write_attribute.
11825
11826 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11827
11828         * buffer.C (sgmlError): hide #warning
11829
11830 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11831
11832         * xtl/*: get rid of xtl, which is not in use anyway
11833
11834         * LyXAction.C (init):
11835         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11836         were unimplemented xtl experimentation
11837
11838 2002-06-04  André Pönitz <poenitz@gmx.net>
11839
11840         * lyxfunc.C: disable array operation on simple formulae
11841
11842 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11843
11844         * converter.C: constify a bit
11845
11846 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11847
11848         * lyx_gui.C: check xforms version correctly
11849
11850 2002-04-30  Herbert Voss  <voss@lyx.org>
11851
11852         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11853         "keep" option
11854
11855 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11856
11857         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11858           attempt to register it with a VCS)
11859
11860 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11861
11862         * lyx_main.C (init): honor variables LYX_DIR_13x and
11863         LYX_USERDIR_13x
11864
11865 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11866
11867         * buffer.h:
11868         * buffer.C:
11869         * lyx_main.C: fix a crash on bad command line,
11870           and give a useful exit status on error
11871
11872         * lyxfunc.C (doImport): allow -i lyx to work
11873
11874 2002-03-30  André Pönitz <poenitz@gmx.net>
11875
11876         * lyxfunc.C: mathed font changes
11877
11878 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11879
11880         * LaTeX.C:
11881         * importer.h:
11882         * importer.C:
11883         * lyx_sty.h:
11884         * lyx_sty.C:
11885         * lyxlex.C:
11886         * lyxrow.h:
11887         * lyxtext.h:
11888         * paragraph.h:
11889         * paragraph.C:
11890         * texrow.h:
11891         * texrow.C:
11892         * text.C:
11893         * trans_mgr.h: srcdocs, and some minor cleanups
11894
11895 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11896
11897         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11898         call getFont all the time)
11899
11900 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11901
11902         * switch from SigC signals to boost::signals
11903
11904 2002-05-29  André Pönitz <poenitz@gmx.net>
11905
11906         * paragraph_pimpl.C (getChar): don't call size() too often...
11907
11908 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11909
11910         * paragraph_pimpl.C (insertChar): do not try to update tables when
11911         appending (pos == size())
11912
11913         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11914         in order to reduce drastically the number of comparisons needed to
11915         parse a large document
11916
11917 2002-05-29  André Pönitz <poenitz@gmx.net>
11918
11919         * text.C:
11920         * text2.C:
11921         * lyxtextclass.C:
11922         * sp_pspell.h:
11923         * textclasslist.[Ch]:
11924         * sp_ispell.h: whitespace change
11925
11926 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11927
11928         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11929         lyxaction directly now.
11930
11931 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11932
11933         * trans.C:
11934         * lyxfont.C:
11935         * lyxvc.C: remove unused headers
11936
11937 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11938
11939         * Makefile.am:
11940         * buffer.h:
11941         * undostack.h:
11942         * undostack.C:
11943         * undo_funcs.h:
11944         * undo_funcs.C: some cleanups. Use shared_ptr
11945           and a template for the undo stacks.
11946
11947 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11948
11949         * BufferView_pimpl.h:
11950         * BufferView_pimpl.C:
11951         * kbmap.h:
11952         * kbmap.C:
11953         * kbsequence.h:
11954         * kbsequence.C:
11955         * lyxfunc.h:
11956         * lyxfunc.C:
11957         * text2.C: use key_state/mouse_state
11958
11959 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11960
11961         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11962         and LSubstring
11963
11964         * chset.C: change include order
11965         (loadFile): use boost regex and get rid of LRegex and LSubstring
11966
11967         * Makefile.am (BOOST_LIBS): new variable
11968         (lyx_LDADD): use it
11969
11970         * LaTeX.C: change include order.
11971         (scanAuxFile): use boost regex and get rid of LRegex and
11972         LSubstring
11973         (deplog): ditto
11974
11975 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11976
11977         * ColorHandler.h:
11978         * ColorHandler.C:
11979         * FontInfo.h:
11980         * FontInfo.C: moved to frontends/xforms/
11981
11982         * FontLoader.h:
11983         * FontLoader.C: moved into frontends for GUIIzation
11984
11985         * Makefile.am:
11986         * lyx_gui.C:
11987         * lyxfont.C:
11988         * lyxfunc.C: changes from above
11989
11990 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11991
11992         * LColor.C: remove spurious X include
11993
11994         * BufferView_pimpl.C:
11995         * Makefile.am:
11996         * font.h:
11997         * font.C:
11998         * text.C:
11999         * text2.C: move font metrics to frontends/
12000
12001 2002-05-24  Juergen Vigna  <jug@sad.it>
12002
12003         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12004         setting the undo_cursor.
12005
12006         * ParagraphParameters.h: include local includes first.
12007
12008 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12009
12010         * BufferView_pimpl.C:
12011         * BufferView_pimpl.h:
12012         * Makefile.am:
12013         * WorkArea.h:
12014         * WorkArea.C:
12015         * screen.C: move WorkArea into frontends/
12016
12017         * lyxscreen.h:
12018         * screen.C:
12019         * text.C:
12020         * BufferView.C:
12021         * BufferView2.C: move LyXScreen into frontends/
12022
12023         * lyxlookup.h:
12024         * lyxlookup.C:
12025         * lyx_gui.C: move lyxlookup into frontends/xforms/
12026
12027 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12028
12029         * BufferView2.C:
12030         * BufferView_pimpl.C:
12031         * FontLoader.C:
12032         * LyXView.h:
12033         * LyXView.C:
12034         * Makefile.am:
12035         * WorkArea.C:
12036         * XFormsView.h:
12037         * XFormsView.C:
12038         * buffer.C:
12039         * bufferlist.C:
12040         * bufferview_funcs.C:
12041         * converter.C:
12042         * importer.C:
12043         * lyx_cb.C:
12044         * lyx_gui.C:
12045         * lyx_main.C:
12046         * lyx_find.C:
12047         * lyxfunc.C:
12048         * lyxvc.C:
12049         * minibuffer.C:
12050         * text.C:
12051         * text2.C:
12052         * trans.C:
12053         * vc-backend.C: move LyX/XFormsView into frontends/
12054
12055 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12056
12057         * Makefile.am:
12058         * PainterBase.C:
12059         * PainterBase.h:
12060         * Painter.C:
12061         * Painter.h:
12062         * WorkArea.C:
12063         * WorkArea.h:
12064         * screen.C:
12065         * tabular.C:
12066         * text.C:
12067         * text2.C: move Painter to frontends/
12068
12069 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12070
12071         * buffer.C: comment out some some code that depend upon lyx_format
12072         < 220
12073
12074         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12075         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12076
12077         * buffer.h (NO_COMPABILITY): turn off compability
12078
12079         * ColorHandler.C: include scoped_array.hpp
12080
12081         * font.C: Use more specific smart_ptr header.
12082         * Painter.C: ditto
12083         * gettext.C: ditto
12084         * ShareContainer.h: ditto
12085         * lyx_main.h: ditto
12086         * kbmap.h: ditto
12087         * FontInfo.h: ditto
12088         * BufferView_pimpl.h: ditto
12089         * ColorHandler.h: ditto
12090
12091         * kbmap.C (defkey): change call to shared_ptr::reset
12092
12093 2002-05-21  Juergen Vigna  <jug@sad.it>
12094
12095         * buffer.C (insertErtContents): fix to insert ert asis if it is
12096         non empty. Skip it completely if it contains only whitespaces.
12097
12098 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12099
12100         * BufferView_pimpl.C:
12101         * BufferView2.C: clear selection on paste (bug 393)
12102
12103 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12104
12105         * DepTable.C: include ctime
12106
12107 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12108
12109         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12110
12111 2002-05-14  Juergen Vigna  <jug@sad.it>
12112
12113         * text.C (breakParagraph): fixed function to honor the keepempty
12114         layout in the right maner and also to permit the right breaking
12115         algorithm on empty or non empyt keepempty paragraphs.
12116
12117         * paragraph.C (breakParagraph): we have to check also if the par
12118         is really empty (!size()) for isempty otherwise we do the wrong
12119         paragraph break.
12120
12121 2002-05-10  Juergen Vigna  <jug@sad.it>
12122
12123         * buffer.[Ch] : The following are only changes to the ert
12124         compatibility read reading old LaTeX layout and font stuff and
12125         convert it to ERTInsets.
12126
12127         * buffer.h: added isErtInset().
12128
12129         * buffer.C (struct ErtComp): add a fromlayout bool to check
12130         if we're inside a LaTeX layout.
12131         (isErtInset): new helper function.
12132         (insertErtContents): look for other ert insets before this one
12133         and insert the contents there, so that we don't have subsequent
12134         ERT insets with nothing between them. This way we create only one
12135         inset with multiple paragraphs. Also check if we don't insert only
12136         spaces ' ' as they are ignored anyway afterwards in the .tex file
12137         so if we have only spaces we will ignore this latex part in the
12138         new file.
12139         (parseSingleLyXformat2Token \\layout): better compatibility when
12140         reading layout-latex stuff.
12141         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12142         language tag.
12143         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12144         stuff after reading the inset only get the information back from
12145         the stack.
12146
12147 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12148
12149         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12150
12151         * LaTeXFeatures.C (getBabelOptions): New method.
12152
12153 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12154
12155         * BufferView_pimpl.C (Dispatch): work around missing argument for
12156         'layout'
12157
12158 2002-05-08  Juergen Vigna  <jug@sad.it>
12159
12160         * text.C (leftMargin): handle paragraph leftindent.
12161
12162         * paragraph.C (writeFile): write the new \\leftindent tag.
12163         (validate): handle leftindent code.
12164         (TeXEnvironment): handle paragraphleftindent code again.
12165
12166         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12167
12168         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12169         for paragrap_extra indent code and new token \\leftindent.
12170         (latexParagraphs): handle the leftindent as environment.
12171
12172         * ParameterStruct.h: added leftindent support.
12173
12174         * ParagraphParameters.C (leftIndent): added support functions for
12175         the paragraph left indent.
12176
12177         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12178         more appropriate.
12179
12180 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12181
12182         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12183         inside insetERT.
12184
12185         * text.C (computeBidiTables): No bidi in insetERT.
12186
12187         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12188         in RTL documents.
12189
12190 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12191
12192         * version.C.in: pre 5
12193
12194 2002-05-02  José Matos  <jamatos@fep.up.pt>
12195         * buffer.C (makeDocBookFile): white space changes, add newline to
12196         command styles.
12197         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12198
12199         * tabular.C (docBook): fix typo.
12200
12201 2002-05-03  Juergen Vigna  <jug@sad.it>
12202
12203         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12204         change in LyXText as we can not be sure it was not freed.
12205         (drawOneRow): remove unused code.
12206
12207         * text.C (drawInset): redo the calculation of the need_break_row as
12208         it could have a row which was already freed.
12209         (draw): look at the return value of drawInset and return false if
12210         it also returned false.
12211         (paintRowText): look at the return value of draw and return false if
12212         it also returned false.
12213
12214         * lyxtext.h: added bool return type to drawInset() and draw() so that
12215         if we have a change in the row so that the rowbreak has to be redone
12216         we abort drawing as it will be called again.
12217
12218 2002-05-02  Juergen Vigna  <jug@sad.it>
12219
12220         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12221         a change in the maintext also if we're inside an inset.
12222         (Dispatch): set the cursor again after a break line and after the
12223         screen has been updated as it could be we're in a different row.
12224
12225         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12226         to set the cursor behind the pargraph with > size().
12227         (setCursor): check also for the same paragraph when checking where
12228         to put the cursor if we have a NFR inset.
12229
12230         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12231         parts of layout read further up as it still was in the wrong
12232         position.
12233
12234 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12235
12236         * screen.C (drawFromTo): change sine fullRebreak always return
12237         true.
12238
12239         * buffer.C (parseSingleLyXformat2Token): reindent some
12240
12241         * BufferView_pimpl.C (update): change since fullRebreak always
12242         return true.
12243         (Dispatch): git rid of the last hardcoded "Standard"s.
12244
12245 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12246
12247         * text2.[Ch] (fullRebreak): make it return void now that we always
12248         returned true.
12249
12250 2002-04-30  Juergen Vigna  <jug@sad.it>
12251
12252         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12253         ert compatibility check for "latex" layout.
12254
12255 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12256
12257         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12258         minipages: use col% instead of p%, and also use the current font.
12259         (makeLaTeXFile): Fix use babel condition.
12260         (parseSingleLyXformat2Token): Correct font when reading old floats.
12261
12262 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12263
12264         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12265         inserting list of floats.
12266
12267 2002-04-25  Herbert Voss  <voss@lyx.org>
12268
12269         * MenuBackend.C (expand): don't add the graphics extensions to the
12270         export menu
12271
12272 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12273
12274         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12275         non-existing layout, do not complain if it was the default layout
12276         of the original class (bug #342)
12277
12278 2002-04-24  Juergen Vigna  <jug@sad.it>
12279
12280         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12281         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12282
12283 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12284
12285         * buffer.C (getBibkeyList): If using \bibliography, return the
12286         option field with the reference itself. Enables us to provide natbib
12287         support when using \bibliography.
12288
12289 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12290
12291         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12292
12293         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12294         natbib is provided by the LaTeX class.
12295
12296 2002-04-23  Juergen Vigna  <jug@sad.it>
12297
12298         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12299         Wakeup functions.
12300
12301         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12302
12303 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12304
12305         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12306
12307         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12308         ensuremath around textordmasculine, textordfeminine and
12309         textdegree.
12310
12311 2002-04-19  Juergen Vigna  <jug@sad.it>
12312
12313         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12314         reinitializing the buffer otherwise row-dimensions may be wrong.
12315         (update): reset also the selection cursors if they do exits otherwise
12316         their x/y positions may be wrong.
12317
12318         * text2.C (cursorDown): don't enter the inset if we came from a row
12319         above and are one row over the inset.
12320
12321         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12322         really leaving an inset.
12323
12324 2002-04-18  Juergen Vigna  <jug@sad.it>
12325
12326         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12327         of the selected paragraph does not have the selected layout also if
12328         the last one had!
12329
12330         * text2.C (setLayout): fixed bug which did not change last selected
12331         paragraph.
12332
12333         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12334         changed the read and substituted \\end_float with \\end_inset!
12335
12336         * BufferView_pimpl.C (cursorPrevious):
12337         (cursorNext): fixed to make it work with rows heigher than the work
12338         area without moving the cursor only the draw of the row.
12339         (workAreaMotionNotify): fix jumping over high rows.
12340
12341 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12342
12343         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12344         Ressler.
12345
12346 2002-04-16  Juergen Vigna  <jug@sad.it>
12347
12348         * text2.C (setCursor): set also the irow().
12349         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12350         (cursorUp):
12351         (cursorDown): support for locking an inset if the x_fix value goes
12352         inside it. That way I can transverse insets too with cursor up/down.
12353
12354         * lyxrow.h: added irow helper function same as other (i) functions.
12355
12356         * BufferView_pimpl.C (cursorPrevious):
12357         (cursorNext): fixed for insets!
12358
12359 2002-04-15  Juergen Vigna  <jug@sad.it>
12360
12361         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12362         position otherwise it is wrong in some cases.
12363
12364         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12365         inside the inset before the call.
12366
12367 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12368
12369         * buffer.[Ch] (getBibkeyList): make it const.
12370
12371 2002-04-12  Juergen Vigna  <jug@sad.it>
12372
12373         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12374
12375         * text2.C (getCursorX): new helper function
12376         (setCursor): compute also ix_
12377         (setCursorFromCoordinates): set also ix.
12378
12379         * lyxcursor.h: added ix_ and helper functions.
12380
12381         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12382
12383         * buffer.C (insertStringAsLines): dont break paragraph if the this
12384         paragraph is inside an inset which does not permit it!
12385
12386         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12387         also with no chars on this paragraph.
12388         (paintRowText): only paint stuff if it's inside the workarea!
12389
12390         * paragraph.C (breakParagraph): honor keepempty flag and break the
12391         paragraph always below not above.
12392
12393         * BufferView2.C (unlockInset): update the paragraph layout on inset
12394         unlock as we changed paragraph in such a case.
12395
12396         * lyxfind.C (LyXFind): clear the former selection if not found!
12397
12398         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12399         again called in insertChar().
12400
12401         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12402         an inset which uses the whole row!
12403         (rightMargin): ditto.
12404         (insertChar): force a rebreak if we inserted an inset!
12405
12406 2002-03-28  Herbert Voss  <voss@lyx.org>
12407
12408         * lyxlength.[Ch]: add inBP() to get the right PS-point
12409         units (BigPoint). With inPixels we have rounding errors
12410
12411 2002-04-11  Juergen Vigna  <jug@sad.it>
12412
12413         * text2.C (setCursorFromCoordinates): set iy to the right value.
12414         (setCursor): add check if row->previous exists!
12415
12416         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12417         an old float_type as this was the case in the old code!
12418
12419         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12420
12421         * BufferView2.C (showLockedInsetCursor): use iy
12422         (fitLockedInsetCursor): ditto
12423
12424         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12425         locked insets as there we have the right value now.
12426
12427         * lyxcursor.C: added iy_ variable and iy functions to set to the
12428         baseline of cursor-y of the locked inset.
12429
12430         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12431         (setCursor): fixed for insets which need a full row.
12432
12433         * text.C (rowLastPrintable): don't ignore the last space when before
12434         an inset which needs a full row.
12435         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12436         as last character of a row when before a inset which needs a full row.
12437
12438 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12439
12440         * version.C.in: update date
12441
12442         * text2.C (fullRebreak): try to always return true and see what
12443         happens...
12444
12445 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12446
12447         * MenuBackend.C (expand): use Floating::listName
12448
12449         * FloatList.C (FloatList): add listName argument to the built-in
12450         floats
12451
12452         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12453         text associated with the float.
12454
12455 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12456
12457         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12458
12459 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12460
12461         * ShareContainer.h: add a couple of missing typenames.
12462
12463 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12464
12465         * lyxrc.C (getDescription): use _() correctly rather than N_().
12466
12467 2002-03-28  Herbert Voss  <voss@lyx.org>
12468
12469         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12470         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12471
12472 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12473
12474         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12475         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12476
12477 2002-03-29  Juergen Vigna  <jug@sad.it>
12478
12479         * lyxfunc.C (dispatch): add a missing fitCursor call.
12480
12481         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12482         it was scrolled by a cursor move, so return the bool status.
12483
12484         * BufferView.C (fitCursor): return the bool flag also to the outside
12485         world as this is needed.
12486
12487         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12488
12489         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12490         call the edit() as it is not needed (and wrong) IMO.
12491         (workAreaButtonPress): set the screen_first variable before evt.
12492         unlock the inset as this may change screen_first and then we have
12493         a wrong y position for the click!
12494
12495 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12496
12497         * MenuBackend.C (expand): another translation that I missed
12498
12499 2002-03-28  Juergen Vigna  <jug@sad.it>
12500
12501         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12502
12503         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12504
12505 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12506
12507         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12508
12509         * MenuBackend.C (expand): fix export/view/update when there is no
12510         document open.
12511
12512 2002-03-27  Herbert Voss  <voss@lyx.org>
12513
12514         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12515         and text%
12516
12517 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12518
12519         * bufferview_funcs.C (currentState): only show paragraph number
12520         for is DEVEL_VERSION is set.
12521
12522         * lyxfunc.C (dispatch): put warning in INFO channel
12523
12524         * MenuBackend.C (expand): translate the name of floats
12525
12526         * FloatList.C (FloatList): mark the float names for translation
12527
12528         * converter.C (convert): use LibScriptSearch
12529
12530 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12531
12532         * MenuBackend.C (defaults): fix default menu (we might as well get
12533         rid of it...)
12534
12535 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12536
12537         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12538         directory.
12539
12540 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12541
12542         * lyxvc.C: reorder includes.
12543
12544 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12545
12546         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12547           properly
12548
12549 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12550
12551         * CutAndPaste.C: change layouts earlier on paste
12552           to avoid crashing when calling getFont()
12553
12554 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12555
12556         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12557         irritating #error.
12558
12559 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12560
12561         * WorkArea.C: remove 'Pending' debug message.
12562
12563         * most files: ws cleanup
12564
12565         * buffer.[Ch]: ws changes
12566
12567         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12568
12569 2002-03-21  Juergen Vigna  <jug@sad.it>
12570
12571         * tabular.C (SetMultiColumn): collapse also the contents of the
12572         cells and set the last border right. Added a Buffer const * param.
12573
12574 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12575
12576         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12577         linking or not.
12578
12579 2002-03-19  Juergen Vigna  <jug@sad.it>
12580
12581         * text2.C (clearSelection): reset also xsel_cache.
12582
12583         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12584         where it needs to be called (John tells us to do so too :)
12585         (selectionLost): reset sel_cache.
12586
12587         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12588
12589 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12590
12591         * text2.C (setCursorIntern): put debuging code in INSETS channel
12592
12593 2002-03-19  André Pönitz <poenitz@gmx.net>
12594
12595         * lyxfunc.C: tiny whitespace change
12596
12597 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12598
12599         * ToolbarDefaults.C (init):
12600         * LyXAction.C (init):
12601         * commandtags.h:
12602         * BufferView_pimpl.C (Dispatch):
12603         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12604
12605 2002-03-19  Allan Rae  <rae@lyx.org>
12606
12607         * exporter.C (Export): removeAutoInsets before doing anything else.
12608         While I've just introduced a dependency on BufferView this really is
12609         the best place to clean the buffer otherwise you need to cleanup in
12610         a dozen places before calling export or cleanup in a dozen functions
12611         that export calls.
12612
12613         * converter.C (runLaTeX):
12614         (scanLog): Better handling of removeAutoInsets and screen updates.
12615
12616         * lyxfunc.C (dispatch): small whitespace changes
12617
12618 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12619
12620         * WorkArea.C (C_WorkAreaEvent): return a value.
12621         (event_cb): return 1 if we handled the event, 0 otherwise.
12622
12623         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12624
12625 2002-03-18  Juergen Vigna  <jug@sad.it>
12626
12627         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12628         (GetAdditionalWidth): ditto.
12629         (RightLine): ditto.
12630         (LeftLine): ditto.
12631
12632         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12633         inset if we're there actually (probably not used right now but this
12634         is the direction to go for unifying code).
12635         (paste): disable code to clear the selection.
12636
12637         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12638         inside an InsetText and move the check further up as it is in the
12639         wrong place.
12640
12641         * text2.C (pasteSelection): set a selection over the pasted text.
12642
12643 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12644
12645         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12646         and libgraphics to build on Cygwin.
12647
12648 2002-03-15  Juergen Vigna  <jug@sad.it>
12649
12650         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12651         inserting an Inset into the paragraph. I know this is not the best
12652         fix but we already use current_view in CutAndPaste so we will remove
12653         all of it's using at the same time.
12654
12655         * buffer.C (sgmlError): deactivated function till it is rewritten in
12656         the right mode, now it can create problems.
12657
12658         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12659         before accessing it.
12660
12661 2002-03-14  Juergen Vigna  <jug@sad.it>
12662
12663         * undo_funcs.C (textHandleUndo): do the right thing when updating
12664         the inset after the undo/redo.
12665
12666         * text2.C (setCursor): just some testcode for #44 not ready yet.
12667
12668         * undo_funcs.C (textHandleUndo): set the next() and previous()
12669         pointers of the paragraph to 0 before deleting otherwise we have
12670         problems with the Paragraph::[destructor].
12671
12672         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12673         on a paragraph insertion.
12674
12675 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12676
12677         * buffer.C (asciiParagraph): use += operator for char append to
12678         string.
12679
12680         * paragraph.C (getFontSettings): compare >= not just >
12681         (highestFontInRange): ditto
12682         (setFont): ditto
12683
12684 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12685
12686         * paragraph.C: change several algorithm to be more appripriate for
12687         the problem domain. This is lookip in FontList and in the InsetList.
12688
12689 2002-03-13  André Pönitz <poenitz@gmx.net>
12690
12691         * commandtags.h:
12692         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12693
12694 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12695
12696         * commandtags.h:
12697         * LyXAction.C:
12698         * lyxfunc.C:
12699         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12700
12701 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12702
12703         * Painter.C (display): anon helper function, adjust code for this
12704         change.
12705         (pixmap): remove function.
12706
12707         * Painter.h: remove private display variable.
12708
12709         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12710
12711 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12712
12713         * WorkArea.[Ch]: remove figinset_canvas cruft.
12714
12715 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12716
12717         * lyxtextclass.C (operator): add one item cache optimization.
12718
12719         * bufferlist.h: doxy changes
12720
12721         * bufferlist.C: ws changes
12722
12723         * DepTable.[Ch] (ext_exist): place const in the right spot.
12724
12725         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12726         call resizeInsets.
12727         (workAreaExpose): call resizeInsets when the with BufferView changes.
12728         (Dispatch): adjust for protectedBlank removal
12729         (specialChar): call updateInset if the insert went ok.
12730
12731         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12732         specialChar instead.
12733
12734         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12735
12736         * BufferView.h: doxy change
12737
12738         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12739
12740         * lyxtextclass.C (operator[]): remove non-const version
12741         (defaultLayout): remove non-const version
12742
12743 2002-03-12  Juergen Vigna  <jug@sad.it>
12744
12745         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12746         did resize the LyXText too.
12747
12748         * buffer.C (readLyXformat2): set layout information on newly allocated
12749         paragraphs.
12750
12751         * tabular.C (OldFormatRead): set layout information on the paragraph.
12752
12753 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12754
12755         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12756
12757 2002-03-11  Juergen Vigna  <jug@sad.it>
12758
12759         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12760         plainly wrong.
12761         (resizeCurrentBuffer): force also the insets to resize themselfes.
12762         (moveCursorUpdate): fixed up for InsetText.
12763
12764 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12765
12766         * commandtags.h:
12767         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12768         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12769         value of Dialogs::tooltipsEnabled().
12770         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12771
12772 2002-03-08  Juergen Vigna  <jug@sad.it>
12773
12774         * BufferView_pimpl.C (updateInset): update inset inside inset also
12775         if it isn't inside theLockingInset().
12776
12777 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12778
12779         * buffer.C (asciiParagraph): redo some of the word and line length
12780         handling.
12781         (getLists): look for Caption instead of caption.
12782
12783 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12784
12785         * buffer.C (Buffer): initialize niceFile to true
12786         (makeLaTeXFile):
12787         (makeLinuxDocFile):
12788         (makeDocBookFile): make sure niceFile is true on exit
12789
12790 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12791
12792         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12793
12794 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12795
12796         * LyXSendto.C: remove.
12797         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12798         * lyx_gui.C: remove now-redundant comment.
12799         * ColorHandler.h: remove forward declaration of class WorkArea.
12800         * lyxfunc.C: remove #include "WorkArea.h".
12801
12802 2002-03-07  Juergen Vigna  <jug@sad.it>
12803
12804         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12805         got moved away with the DEPM and also set the inset_owner always
12806         right which before could have been omitted.
12807
12808 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12809
12810         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12811         wanted layout is not found.
12812
12813 2002-03-07  Juergen Vigna  <jug@sad.it>
12814
12815         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12816
12817 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12818
12819         * paragraph.C (breakParagraph): use default layout not layout of
12820         prev paragraph.
12821         (Paragraph): clear ParagraphParameters.
12822
12823 2002-03-06  Juergen Vigna  <jug@sad.it>
12824
12825         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12826         otherwise it would not be a valid lenght. Fixed a special case in
12827         the minipage compatibility read where we end the document with a
12828         minipage.
12829
12830         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12831         was set as it could be 0 for InsetTexts first entry.
12832
12833 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12834
12835         * paragraph.C (writeFile): if layout is empty write out
12836         defaultLayoutName().
12837
12838         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12839         file without named layout we set layout to defaultLayoutName().
12840
12841 2002-03-06  Juergen Vigna  <jug@sad.it>
12842
12843         * CutAndPaste.C (copySelection): set layout for new paragraph.
12844
12845         * text.C (prepareToPrint): leave ERT inset left aligned
12846         (leftMargin): don't indent paragraphs inside ERT insets
12847
12848 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12849
12850         * paragraph.C (breakParagraph): dont call clear do the work manually
12851
12852         * paragraph.[Ch] (clear): remove function
12853
12854 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12855
12856         * paragraph.C (Paragraph): dont call clear, the work has already
12857         been done.
12858
12859         * lyxtextclass.C (operator): assert if n is empty
12860
12861         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12862         work manually instead.
12863
12864 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12865
12866         * BufferView_pimpl.C: protect selectionLost against text == 0
12867
12868 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12869
12870         * text.C (breakParagraph): fix a setting layout to '0' problem.
12871
12872 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12873
12874         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12875         final location of file, for the included files, and graphics.
12876
12877 2002-03-05  Juergen Vigna  <jug@sad.it>
12878
12879         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12880
12881 2002-03-04  Juergen Vigna  <jug@sad.it>
12882
12883         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12884
12885         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12886         last column of multicolumn cells.
12887         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12888
12889 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12890
12891         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12892         file if it doesn't go to a temporary file.
12893
12894         * buffer.C (sgmlOpenTag):
12895         (sgmlCloseTag):  remove extra newline insertion.
12896
12897 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12898
12899         * text.C (getRowNearY): comment out debug msg
12900
12901 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12902
12903         * text2.C: first -> first_y
12904
12905         * text.C (getRowNearY): add some attemts at a possible
12906         optimization, not working.
12907
12908         * tabular.[Ch]: add BufferParams to several function so that newly
12909         created paragraph can be initialized to he default layotu for the
12910         buffers textclass.
12911
12912         * tabular-old.C (ReadOld): add buf->params to call of Init
12913
12914         * screen.C: rename text->first to text->first_y
12915
12916         * paragraph.C (breakParagraph): always set layout in the broken
12917         paragraph
12918
12919         * lyxtextclass.C (Read): remove lowercase
12920         (hasLayout): ditto
12921         (operator): ditto
12922         (delete_layout): ditto
12923
12924         * lyxtext.h: rename first -> first_y
12925
12926         * lyxlayout.C (Read): remove lowercase
12927         (name): ditto
12928         (setName): ditto
12929         (obsoleted_by): ditto
12930
12931         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12932
12933         * buffer.C (insertErtContents): add params are to InsetERT
12934         (parseSingleLyXformat2Token): add code to check if a paragraphs
12935         layout really exist.
12936         (parseSingleLyXformat2Token): add params to several inset
12937         constructors
12938         (asciiParagraph): remove lowercase, do the layout comparisons with
12939         no_case
12940
12941         * BufferView_pimpl.C (cursorNext): first -> first_y
12942         (resizeCurrentBuffer): first -> first_y
12943         (updateScrollbar): first -> first_y
12944         (scrollCB): first -> first_y
12945         (workAreaMotionNotify): first -> first_y
12946         (workAreaButtonPress): first -> first_y
12947         (checkInsetHit): first -> first_y
12948         (cursorPrevious): first -> first_y
12949         (cursorNext): first -> first_y
12950         (Dispatch): add buffer_->params to severl inset contructors
12951
12952 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12953
12954         * lyxlayout.C (Read): remove some debug info that I forgot.
12955
12956         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12957         clean up the code slightly.
12958         (makeLinuxDocFile): ditto
12959         (makeDocBookFile): ditto
12960
12961         * text2.C: layout as string
12962
12963         * text.C: layout as string
12964
12965         * paragraph_pimpl.C: layout as string
12966
12967         * paragraph.[Ch]: layout as string
12968
12969         * lyxtextclasslist.[Ch]: layout as string
12970
12971         * lyxtextclass.[Ch]: layout as string
12972
12973         * lyxtext.h: layout as string
12974
12975         * lyxlayout.[Ch]: layout as string
12976
12977         * lyx_cb.C: layout as string
12978
12979         * bufferview_funcs.C: layout as string
12980
12981         * bufferparams.C: layout as string
12982
12983         * buffer.C: layout as string
12984
12985         * LyXView.[Ch]: layout as string
12986
12987         * LaTeXFeatures.[Ch]: layout as string
12988
12989         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12990
12991         * BufferView_pimpl.C: change current_layout to string, remove
12992         lyx::layout_type.
12993         (Dispatch):
12994         (smartQuote):
12995         (insertInset):
12996         (workAreaButtonRelease): layout as string
12997
12998         * BufferView2.C (unlockInset): adjust
12999
13000         * vspace.C (asLatexCommand): use an explict temp variable.
13001
13002 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13003
13004         * Makefile.am: use FRONTEND_*
13005
13006 2002-03-01  Juergen Vigna  <jug@sad.it>
13007
13008         * tabular.C (SetWidthOfMulticolCell): changed to something better
13009         I hope but still work in progress.
13010         (recalculateMulticolumnsOfColumn): renamed function from
13011         recalculateMulticolCells as it is more appropriate now.
13012         (SetWidthOfCell): calculate multicols better.
13013
13014 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13015
13016         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13017
13018         * lyxfunc.C (processKeySym): print sequence also if it is
13019         `deleted' (complete)
13020
13021         * kbsequence.C (print): print sequence even if it is deleted
13022         (complete would be a better word, actually).
13023
13024         * lyxfunc.C (dispatch): print complete options after a prefix key
13025
13026         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13027
13028 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13029
13030         * text2.C (setCharFont): eliminate setCharFont code duplication.
13031
13032 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13033
13034         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13035         LFUN_TABULAR_FEATURE (bug #177)
13036
13037 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13038
13039         * Makefile.am: remove figure.h
13040
13041 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13042
13043         * Bufferview_pimpl.C:
13044         * CutAndPasteC:
13045         * LaTeX.C:
13046         * LyXSendto.C:
13047         * buffer.C:
13048         * bufferlist.C:
13049         * converter.C:
13050         * language.C:
13051         * lyxfunc.C:
13052         * lyxvc.C:
13053         * paragraph.C:
13054         * text.C:
13055         * text2.C: remove #include "lyx_gui_misc.h".
13056
13057         * LaTeX.C: added #include <cstdio>
13058
13059 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13060
13061         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13062         that the paragraph following this one can have.
13063
13064         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13065
13066         * vspace.C (asLatexCommand): fix bogus gcc warning
13067
13068         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13069
13070 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13071
13072         * text2.C (setLayout): get rid of redundant code
13073
13074 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13075
13076         * text2.C (incDepth): make sure depth cannot be increased beyond
13077         reasonable values.
13078
13079 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13080
13081         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13082         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13083
13084         * PainterBase.h (image):
13085         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13086         a LyXImage const *.
13087
13088 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13089
13090         * BufferView.C:
13091         * BufferView.h:
13092         * BufferView_pimpl.C:
13093         * BufferView_pimpl.h:
13094         * LaTeXFeatures.C:
13095         * LyXAction.C:
13096         * LyXView.C:
13097         * Makefile.am:
13098         * UpdateList.h:
13099         * UpdateList.C:
13100         * buffer.C:
13101         * figure.h:
13102         * figureForm.C:
13103         * figureForm.h:
13104         * figure_form.C:
13105         * figure_form.h:
13106         * lyx_cb.C:
13107         * lyx_gui.C:
13108         * lyx_gui_misc.C:
13109         * lyxfunc.C:
13110         * sp_base.h:
13111         * sp_ispell.h:
13112         * sp_pspell.h:
13113         * sp_spell.C: remove fig inset, and the crap house of
13114           cards that follows it
13115
13116 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13117
13118         * Makefile.am:
13119         * lyxserver.C:
13120         * os2_defines.h:
13121         * os2_errortable.h:
13122         * nt_defines.h: move .h into support/
13123
13124         * vms_defines.h: remove
13125
13126         * WorkArea.C: add space in debug output
13127
13128         * text2.C:
13129         * paragraph.C:
13130         * buffer.C: add WITH_WARNINGS
13131
13132         * vc-backend.h:
13133         * vc-backend.C:
13134         * bufferlist.C: s/retrive/retrieve/, add docs
13135
13136         * vspace.h:
13137         * vspace.C:
13138         * kbmap.h:
13139         * lyxlength.h:
13140         * lyxgluelength.h:
13141         * length_common.h:
13142         * chset.h:
13143         * chset.C: add docs
13144
13145         * lyxgui.C: add ID to X error handler
13146
13147         * lyxtestclass.c: fix typo
13148
13149 2002-02-26  Juergen Vigna  <jug@sad.it>
13150
13151         * tabular_funcs.C (write_attribute): changed so that some default
13152         attributes are not written at all.
13153         (getTokenValue): set default values before trying to read the
13154         value so we have the return value always set as default if we don't
13155         find the token we search for.
13156
13157         * tabular.C (Write): write bools as bools not as strings!
13158
13159 2002-02-22  Juergen Vigna  <jug@sad.it>
13160
13161         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13162         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13163
13164         * text.C (leftMargin): don't add an indent for paragraphs inside
13165         tabular cells (fix #208).
13166
13167 2002-02-21  José Matos  <jamatos@fep.up.pt>
13168
13169         * tabular.C (docBook): fixed support for long tables.
13170
13171 2002-02-20  Juergen Vigna  <jug@sad.it>
13172
13173         * text2.C (getFont): get the drawing font of the Inset if this
13174         paragraph is inside an inset (only important for InsetERT for now).
13175
13176         * buffer.C (insertErtContents): use new lanugage params in ERT
13177         constructor.
13178
13179         * CutAndPaste.C: commenting out seemingly uneeded code.
13180
13181 2002-02-19  Allan Rae  <rae@lyx.org>
13182
13183         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13184         Iterators might be simple to use but they also get invalidated.
13185         (removeAutoInsets): renamed saved cursor tracking variables and added
13186         some comments to clarify what everything does.
13187
13188 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13189
13190         * Chktex.C:
13191         * LaTeX.C:
13192         * LyXSendto.C:
13193         * converter.C:
13194         * lyx_cb.C:
13195         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13196         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13197
13198         * lyxfunc.C:
13199         * vc-backend.h: remove #include "support/syscall.h"
13200
13201         * LaTeX.C:
13202         * LyXSendto.C:
13203         * converter.C: rearrange #includes in Lars' approved fashion.
13204
13205         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13206         forward declare class Timeout in the header file.
13207
13208         * XFormsView.C: changes due to the above.
13209
13210         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13211         similar to LyXView.
13212
13213         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13214         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13215
13216 2002-02-18  José Matos  <jamatos@fep.up.pt>
13217
13218         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13219         insets contents.
13220
13221 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13222
13223         * a lot of small ws changes
13224         * add a lot of using std::XXX
13225         * use std construcs some places where approp.
13226         * use some exisint stuff from lyxfunctional where approp.
13227         * Make file changes to use partial linking (lets test this now...)
13228
13229 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13230
13231         * Chktex.C:
13232         * buffer.C:
13233         remove #include "support/syscontr.h" as it's redundant. Always has been.
13234
13235         * Chktex.C:
13236         * LaTeX.C:
13237         * LyXSendto.C:
13238         * converter.C:
13239         * lyx_cb.C:
13240         * vc-backend.C:
13241         change Systemcalls::System to Systemcalls::Wait and
13242         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13243         No change of functionality, just reflects the stripped down Systemcalls
13244         class.
13245
13246 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13247
13248         * debug.[Ch]: add a GRAPHICS type to the enum.
13249
13250 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13251
13252         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13253
13254         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13255         there is an inset.
13256
13257 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13258
13259         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13260         match the changes below.
13261
13262         * text2.C (toggleInset): if there is not editable inset at cursor
13263         position, try to see if cursor is _inside_ a collapsable inset
13264         and close it.
13265
13266 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13267
13268         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13269         document menu has a nice checkbox
13270
13271 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13272
13273         * lyxlength.C (asLatexString): change PW to output as percent of
13274         \textwidth.
13275
13276         * lengthcommon.C: change '%' to 't%'
13277
13278         * lyxfunc.C (dispatch): a few comments from Martin
13279
13280 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13281
13282         * WorkArea.h:
13283         * WorkArea.C:
13284         * BufferView_pimpl.h:
13285         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13286           the X selection.
13287
13288 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13289
13290         * vspace.C (inPixels): fix compiler warning
13291
13292 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13293
13294         * lyxfunc.C (getStatus): fix status message for disabled commands.
13295
13296 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13297
13298         * BufferView_pimpl.C: fix crash on close buffer
13299         during selection (#227)
13300
13301 2002-01-27  Herbert Voss  <voss@lyx.org>
13302
13303         * buffer.C: link old Figure to new graphic inset
13304
13305 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13306
13307         * FontLoader.C (getFontinfo): Change the latex font names in order
13308         to match the names of type1inst.
13309
13310 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13311
13312         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13313
13314         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13315         (extchanged): ditto
13316         (ext_exist): ditto
13317         (remove_files_with_extension): ditto
13318         (remove_file): ditto
13319         (write): ditto
13320
13321         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13322         document is smaller than the work area height. Do not initialize
13323         static variables to 0.
13324
13325 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13326
13327         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13328
13329         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13330         LFUN_LAYOUT_PARAGRAPHS.
13331
13332         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13333         tabular. It is possible to provide a possible cell, which will
13334         typically be the actcell from the corresponding insettabular
13335
13336         * lyxfunc.C (getStatus): small cleanup; disable
13337         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13338         true
13339
13340 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13341
13342         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13343
13344         * paragraph.C (startTeXParParams):
13345         (endTeXParParams): new methods. The LaTeX code to
13346         start/end paragraph formatting
13347         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13348         empty (fixes bug #200)
13349
13350         * vspace.C (inPixels): adapt to the change below
13351         (inPixels): [later] more cleanups (remove unused variables)
13352
13353         * lyxlength.C (inPixels): change to use a width and a height as
13354         parameter.
13355
13356 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13357
13358         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13359         Replaced with \paperwidth
13360
13361         * DepTable.C (insert): add std:: qualifier
13362
13363 2002-01-18  Allan Rae  <rae@lyx.org>
13364
13365         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13366         updated also?
13367
13368         * text.C (drawInset): Turned out I didn't know enough about how
13369         rebreaking worked.  This fixes most of the redraw problems.  I see
13370         an occasional cursor trail when a line is broken now and the cursor
13371         placement can seem out by a few pixels also after a rebreak.
13372
13373 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13374
13375         * buffer.C (parseSingleLyXformat2Token): update because minipage
13376         width is now a LyXLength
13377
13378         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13379
13380         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13381         math insets
13382
13383 2002-01-17  Juergen Vigna  <jug@sad.it>
13384
13385         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13386
13387         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13388         is set correctly and the inset is updated correctly.
13389
13390 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13391
13392         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13393         the beginning of the loop.
13394
13395 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13396
13397         * lyxrc.C: improve help for use_scalable_fonts
13398
13399 2002-01-17  Allan Rae  <rae@lyx.org>
13400
13401         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13402
13403 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13404
13405         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13406         make sure to set their inset_owner to the right value (bug #171)
13407
13408 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13409
13410         * DepTable.h
13411         * DepTable.C: Implement mtime checking to reduce time spent doing
13412         CRCs.
13413
13414 2002-01-16  Juergen Vigna  <jug@sad.it>
13415
13416         * tabular.C (GetAdditionalHeight): one of error fixed.
13417
13418         * lyxrc.C (output): small fix in writing use_pspell.
13419
13420 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13421
13422         * sp_base.h: #include LString.h
13423
13424 2002-01-16  Allan Rae  <rae@lyx.org>
13425
13426         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13427         Can someone check this please?
13428
13429         * text.C (drawInset): It was possible that p.row would be removed by
13430         breakAgainOneRow upsetting a few other settings.  There may be another
13431         small tweak possible by setting need_break_row = 0 when p.row has been
13432         removed but I don't know enough about the logic here.
13433
13434 2002-01-15  Allan Rae  <rae@lyx.org>
13435
13436         * text.C (insertChar): removed conditional truism.
13437
13438         * BufferView2.C (removeAutoInsets): More tweaks.
13439         cur_par_prev could be a stray pointer.  Check for trailing empty line
13440         in case last line was cur_par and only had an error inset on it.
13441
13442 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13443
13444         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13445         absolute
13446
13447         * vc-backend.C (most methods):
13448         * exporter.C (Export):
13449         * converter.C (convert):
13450         (runLaTeX):
13451         * LyXSendto.C (SendtoApplyCB):
13452         * lyxfunc.C (dispatch):
13453         (menuNew):
13454         (open):
13455         (doImport):
13456         * lyx_cb.C (AutoSave):
13457         (InsertAsciiFile):
13458         * BufferView_pimpl.C (MenuInsertLyXFile):
13459         * buffer.C (runChktex): use Buffer::filePath().
13460
13461         * buffer.h: rename filename to filename_; rename filepath to
13462         filepath_ and make it private
13463         (filePath): new method
13464
13465         * buffer.C (writeFile): use fileName()
13466         (getLatexName):
13467
13468         * lyx_main.C (init): fix starting  of LyX when the binary is a
13469         link from so,ewhere else.
13470
13471         * minibuffer.C: include <cctype> for isprint
13472
13473 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13474
13475         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13476         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13477         name clash with InsetCollapsable's width function.
13478
13479 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13480
13481         * lastfiles.C: include <iterator>
13482
13483 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13484
13485         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13486         std::count.
13487
13488         * buffer.C (makeLaTeXFile): ditto.
13489         Also make loop operation more transparent.
13490
13491 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13492
13493         * ToolbarDefaults.C: remove trailing comma closing namespace.
13494
13495         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13496
13497         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13498         as in WorkArea.
13499
13500         * trans.C (Load): comment out unused variable, allowed.
13501
13502 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13503
13504         * minibuffer.[Ch] (append_char): new method to recieve input from the
13505         drop-down completion browser. If a key was pressed, then recieve this
13506         char and append it to the existing string.
13507         (peek_event): modify the positioning data passed to the completion
13508         browser so that it can be placed above the minibuffer rather than below.
13509 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13510
13511         * LyXAction.C (init): alloe error-next for readonly documents.
13512
13513         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13514         count.
13515
13516 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13517
13518         * bufferlist.C (readFile): create the buffer _after_ checking that
13519         the file exists.
13520
13521         * lyxfunc.C (verboseDispatch): fix handling of arguments
13522
13523         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13524
13525         * lyxrc.C: use string::erase() instead of initializing to "".
13526
13527
13528 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13529
13530         * BufferView_pimpl.h:
13531         * BufferView_pimpl.C:
13532         * WorkArea.h:
13533         * WorkArea.C:
13534         * text2.C: tell X when we have made a selection for copying
13535
13536 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13537
13538         * BufferView_pimpl.C (MenuInsertLyXFile):
13539         * lyxfunc.C (menuNew):
13540         (open):
13541         (doImport): add shortcuts to directory buttons
13542
13543         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13544         open a float)
13545
13546         * lyxfunc.C (setStatusMessage):
13547         (getStatusMessage): new methods
13548         (getStatus):use setStatusMessage instead of setErrorMessage
13549         (dispatch): when function is disabled, set error message here
13550         [instead of in getStatus previously]
13551
13552         * BufferView_pimpl.C (workAreaButtonRelease): update
13553         toolbar/menubar here too.
13554
13555 2002-01-13  Allan Rae  <rae@lyx.org>
13556
13557         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13558         Now seems indestructible.  Remaining task is to audit all other
13559         code affected by deleteEmptyParagraphMechanism.  One small quirk
13560         left is that an empty document with an error in the preamble can
13561         be made to report an error but no error box appears.  I don't know
13562         where it goes.
13563         (removeAutoInsets): Improved comments.
13564
13565 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13566
13567         * Thesaurus.h:
13568         * Thesaurus.C: update for Aiksaurus 0.14
13569
13570 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13571
13572         * text2.C (firstParagraph): removed member function, all uses
13573         replaces with ownerParagraph
13574         (redoParagraphs): here
13575         (updateInset): here
13576         (toggleAppendix): here
13577         * BufferView2.C (insertErrors): here
13578         (setCursorFromRow): here
13579
13580 2002-01-13  Allan Rae  <rae@lyx.org>
13581
13582         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13583         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13584         There is still a way to segfault this although you may have to do this
13585         multiple times: Have an InsetERT with an unknown command in it.
13586         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13587         <down-arrow>, <Enter> again, View->DVI, BANG!
13588
13589         * text2.C (setCursor):
13590         (deleteEmptyParagraphMechanism):
13591         * lyxtext.h (setCursor):
13592         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13593         Making use of the return value may help fix other bugs.
13594
13595 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13596
13597         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13598
13599         * LyXView.C (updateMenubar): call MenuBar::update here
13600         (updateToolbar): but not here
13601         (showState): do not update toolbar/menubar
13602
13603         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13604         should need to care about that.
13605
13606         * lyxfunc.C (verboseDispatch): simplify a bit
13607         (getStatus): have a version which takes a pseudoaction, and
13608         another which requires a (kb_action,string).
13609
13610         * LyXAction.C (retrieveActionArg): make it work also when action
13611         is not a pseudo-action.
13612         (getActionName): simplify a bit
13613         (helpText):
13614
13615 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13616
13617         * lyxfunc.C (verboseDispatch): new families of methods with
13618         several ways to specify a command and a bool to indicate whether
13619         the command name and shortcut should be displayed in minibuffer
13620         (eventually, we could extend that to a finer bitmask like
13621         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13622         (dispatch): the pristine dispatch command which just, well,
13623         dispatchs! Note it still sets its result to minibuffer; I'm not
13624         sure we want that.
13625
13626         * lyxfunc.h: remove setHintMessage
13627
13628         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13629
13630 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13631
13632         * BufferView_pimpl.C (specialChar): delete new inset if we have
13633         not been able to insert it.
13634
13635         * kbmap.C: revert to using int instead of kb_action, since all we
13636         are dealing with is pseudo-actions.
13637
13638         * LyXAction.C (searchActionArg): change to return int instead of
13639         kb_action, since the result is a pseudoaction.
13640
13641 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13642
13643         * buffer.C (insertErtContents): Fix (partially) the font bug.
13644
13645 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13646
13647         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13648         as the other one is broken on my machine!
13649
13650 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13651
13652         * commandtags.h:
13653         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13654
13655 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13656
13657         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13658         reflect their actual use. Provide compatibility code for older lyxrc
13659         files.
13660
13661         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13662         FL_NORMAL_STYLE.
13663         change names of popup font variables in line with the changes to lyxrc.C
13664
13665 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13666
13667         * buffer.C (asciiParagraph): avoid outputing a word twice after
13668         an inset.
13669
13670         * lyxrc.C (getDescription): document that document_path and
13671         template_path can be empty.
13672
13673 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13674
13675         * LaTeXFeatures.C (getMacros):
13676         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13677
13678         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13679
13680         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13681         getPackages.
13682         (getPackages): rename feature "floats" to "float". Use an array to
13683         iterate over 'simple' features (i.e. just a \usepackage). Add
13684         handling of "amsmath" (renamed from "amsstyle").
13685
13686 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13687
13688         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13689         features list.
13690
13691 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13692
13693         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13694         FuncStaus::FuncStatus & FuncStaus::some_method().
13695
13696 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13697
13698         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13699         of the func_satus stuff. Edited and massaged in various ways by
13700         JMarc.
13701
13702         * lyxfunc.C (getStatus): use FuncStatus
13703
13704 2002-01-08  Juergen Vigna  <jug@sad.it>
13705
13706         * text.C (nextBreakPoint): use function Inset::isChar().
13707
13708         * paragraph.C (TeXOnePar): use function
13709         Inset::forceDefaultParagraphs.
13710
13711         * buffer.C (latexParagraphs): use function
13712         Inset::forceDefaultParagraphs.
13713
13714 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13715
13716         * lyx_gui.C (init): set the style of the menu popups to
13717         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13718
13719 2002-01-07  Juergen Vigna  <jug@sad.it>
13720
13721         * text.C (setHeightOfRow): small fix
13722         (prepareToPrint): don't look at alignment if we don't have the place
13723         for doing it.
13724
13725 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13726
13727         * box.C: New file. Move the Box methods and functions out of box.h,
13728         following Lars' suggestion.
13729
13730 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13731
13732         * box.h: #include "support/LOstream.h", needed for inlined function.
13733
13734         * lyxtextclass.C:
13735         * lyxtextclasslist.C: added some using std declarations.
13736
13737 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13738
13739         * box.h: make signed dimensions to allow insets wider than
13740           the screen (bug #162)
13741
13742         * BufferView_pimpl.C: add some insetHit debug
13743
13744 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13745
13746         * vc-backend.C: add FIXME
13747
13748 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13749
13750         * lyxfunc.C (getStatus): enable code for showing math font status
13751         in toolbar/menu.
13752
13753 2002-01-07  Juergen Vigna  <jug@sad.it>
13754
13755         * text.C (nextBreakPoint): removed debug output not needed anymore.
13756
13757 2002-01-06  Juergen Vigna  <jug@sad.it>
13758
13759         * text.C (nextBreakPoint): fixed up this function we had this bug
13760         since ever but now hopefully we break row better.
13761         (insertChar): we have to check if an inset is the next char as it
13762         could now happen that a large inset is causing a break.
13763
13764 2002-01-05  Juergen Vigna  <jug@sad.it>
13765
13766         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13767         if it doesn't like to be drawed.
13768
13769 2002-01-04  Juergen Vigna  <jug@sad.it>
13770
13771         * BufferView2.C (lockInset): forgot to set a cursor.
13772
13773         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13774
13775 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13776
13777         * FormMathsPanel.C:
13778         * FormMathsPanel.h
13779         * MathsSymbols.C:
13780         * form_maths_panel.C:
13781         * form_maths_panel.h:
13782         * form_maths_panel.fd: implemented sub- and super- buttons in math
13783         panel.
13784
13785         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13786         (or ^ space) to be used as in TeX (req'd by André).
13787
13788         * lyxfunc.C: Allow ^ and _ again to be used both as
13789         super/subscript (mathed) and as themselves (in text).
13790
13791 2002-01-03  Allan Rae  <rae@lyx.org>
13792
13793         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13794         "LyX" or the filename of the current buffer if it has one.  This is a
13795         modified form of John Levon's patch.
13796
13797         * XFormsView.C (setWindowTitle): also set icon title.
13798
13799         * LyXView.h (setWindowTitle): signature changed.
13800         * XFormsView.h (setWindowTitle): ditto.
13801
13802 2002-01-02  Juergen Vigna  <jug@sad.it>
13803
13804         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13805
13806 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13807
13808         * screen.C (topCursorVisible): introduce a temp var for
13809         text->cursor.row(), handle the case where this row is null. (kindo
13810         hachish)
13811
13812         * text2.C (setCursor): add a couple of asserts.
13813
13814         * paragraph.h (inset_iterator): add -> operator
13815
13816         * paragraph.[Ch] (autoDeleteInsets): remove member function
13817
13818         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13819         cursor pos correctly and handle inset deletion by itself.
13820         (insertErrors): move iterator declaration out of for expression
13821
13822         * lyxtextclass.C: add <algorithm>
13823
13824         * Makefile.am: added the new files to sources, removed layout.C
13825
13826         * layout.C: removed file
13827
13828         * layout.h: remove LYX_DUMMY_LAYOUT
13829
13830         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13831         layout.
13832
13833         * lyxlayout.[Ch]:
13834         * lyxtextclass.[Ch]:
13835         * lyxtextclasslist.[Ch]: new files
13836
13837         * include order changes to a lot of files, also changes because of
13838         the six new files.
13839
13840 2001-12-27  Juergen Vigna  <jug@sad.it>
13841
13842         * buffer.C (asciiParagraph): more fixes.
13843
13844         * tabular.C (ascii): make ascii export support export of only the
13845         data separated by a column-delimiter.
13846         (ascii): better support for ascii export.
13847
13848         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13849
13850 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13851
13852         * tabular_funcs.C: use a "using std::getline" instead of the
13853         previous fix from Angus (necessary for cxx + lyxstring)
13854
13855 2001-12-24  Juergen Vigna  <jug@sad.it>
13856
13857         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13858
13859         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13860         problems. First check a minipage also if we have some ert-contents
13861         (not only on par->size(), second set the right depth of the paragraph
13862         on the relink to the root-paragraph-list!
13863
13864         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13865         which then did not anymore update the main paragraphs on undo/redo!
13866
13867 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13868
13869         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13870         code. Support all font-changing funcs (even those which are not in
13871         menu currently). Support for reporting font settings in
13872         mathed (disabled until Andre provides a function on mathed's side).
13873
13874         * func_status.h (toggle): small helper function to set toggle
13875         state on a flag.
13876
13877 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13878
13879         * tabular_funcs.C: getline -> std::getline
13880
13881 2001-12-21  Juergen Vigna  <jug@sad.it>
13882
13883         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13884         accessed and could be 0 (I couldn't generate this but it seems
13885         Michael could!).
13886
13887 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13888
13889         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13890         * tabular_funcs.h: here and include iosfwd
13891
13892 2001-12-20  Juergen Vigna  <jug@sad.it>
13893
13894         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13895         inside inset but undo_par was.
13896
13897 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13898
13899         * Thesaurus.C: always include <config.h> in sources.
13900
13901         * Painter.h:
13902         * lyxlookup.h:
13903         * box.h: do not include <config.h> in header files
13904
13905         * text.C (paintLastRow): remove unused variable
13906
13907         * text.C (transformChar):
13908         (insertChar):
13909         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13910
13911         * Painter.C (text):
13912         * font.C (width): rewrite to use uppercase() instead of
13913         islower/toupper.
13914
13915         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13916
13917 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13918
13919         * lyxfind.C: clean up of find failure position change
13920
13921 2001-12-20  Juergen Vigna  <jug@sad.it>
13922
13923         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13924
13925         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13926         (TeXRow): added to LaTeX a single tabular row.
13927         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13928         (Latex): simplified and finally good LT-h/f support.
13929         (various_functions): just small adaptions for LT-h/f support.
13930
13931         * tabular_funcs.[hC]: added and moved here all not classfunctions
13932         of LyXTabular.
13933
13934 2001-12-19  Juergen Vigna  <jug@sad.it>
13935
13936         * tabular.[Ch]: better support for longtabular options (not finished
13937         yet!)
13938
13939 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13940
13941         * text.C (paintLastRow): use the label font instead of the font of
13942         the last character to compute the size of *_BOX. This makes more
13943         sense and avoids a crash with empty paragraphs.
13944         Use Painter::rectangle to draw EMPTY_BOX.
13945
13946 2001-12-19  Juergen Vigna  <jug@sad.it>
13947
13948         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13949         the paragraphs if the replaced paragraph is not the first one!
13950         Tried to delete not used paragraphs but does not work yet so for
13951         now it's inside #ifdef's and by default off!
13952
13953 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13954
13955         * MenuBackend.C: include "lyx_main.h" instead of declaring
13956         lastfiles (actually was declared as LastFiles* instead of a
13957         scoped_ptr).
13958
13959 2001-12-17  Juergen Vigna  <jug@sad.it>
13960
13961         * tabular.C (AppendColumn): applied John's fix
13962
13963 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13964
13965         * BufferView.h:
13966         * BufferView.C:
13967         * BufferView_pimpl.h:
13968         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13969
13970         * Makefile.am:
13971         * box.h: new start of class for above
13972
13973         * lyxfunc.C: ignore space-only minibuffer dispatches.
13974           Show the command name when it doesn't exist
13975
13976         * minibuffer.C: don't add empty lines to the history
13977
13978         * minibuffer.C: add a space on dropdown completion
13979
13980 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13981
13982         * text.C: fix line above/below drawing in insets
13983
13984 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13985
13986         * lyxlength.C (LyXLength): Initialize private variables.
13987
13988 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13989
13990         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13991         when inserting error insets.
13992
13993 2001-12-13  Juergen Vigna  <jug@sad.it>
13994
13995         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13996         actually sometimes the before-paragraph.
13997         (setUndo): don't clear the redostack if we're not actually undoing!
13998
13999 2001-12-06  Juergen Vigna  <jug@sad.it>
14000
14001         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14002         and fixed redoing of main paragraph, so we can use it now ;)
14003
14004         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14005
14006 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14007
14008         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14009         Juergen's request
14010
14011 2001-12-13  André Pönitz <poenitz@gmx.net>
14012
14013         * undostack.[Ch]:
14014         * undo_func.C: minor cleanup
14015
14016 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14017
14018         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14019         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14020         font in urw-fonts package which is marked as -urw-fontspecific and
14021         does not work (incidentally, changing the encoding in the
14022         fonts.dir of this package to -adobe-fontspecific fixes the
14023         problem).
14024
14025         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14026         is a crash when undoing first paragraph (Juergen, please take a
14027         look). THis does not mean the undo fix is wrong, just that it
14028         uncovers problems.
14029
14030         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14031         the (Paragraph*) version when needed instead of duplicating the
14032         code.
14033
14034         * text.C (workWidth): use Inset::parOwner to find out where the
14035         inset has been inserted. This is a huge performance gain for large
14036         documents with lots of insets. If Inset::parOwner is not set, fall
14037         back on the brute force method
14038
14039         * paragraph_pimpl.C (insertInset):
14040         * paragraph.C (Paragraph):
14041         (cutIntoMinibuffer): set parOwner of insets when
14042         inserting/removing them
14043
14044         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14045
14046 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14047
14048         * commandtags.h:
14049         * LyXAction.C:
14050         * lyx_main.C:
14051         * lyxfunc.C:
14052         * mathed/formulabase.C:
14053         * mathed/math_cursor.[Ch]:
14054         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14055
14056
14057 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14058
14059         * lyxlength.[Ch] (operator!=): new function
14060
14061 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14062
14063         * text.C (workWidth): use Inset::parOwner to find out where the
14064         inset has been inserted. This is a huge performance gain for large
14065         documents with lots of insets. If Inset::parOwner is not set, fall
14066         back on the brute force method
14067
14068         * paragraph_pimpl.C (insertInset):
14069         * paragraph.C (Paragraph):
14070         (cutIntoMinibuffer): set parOwner of insets when
14071         inserting/removing them
14072
14073         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14074
14075 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14076
14077         * tabular-old.C (getTokenValue):
14078         * tabular.C (getTokenValue):
14079         (write_attribute): new versions for LyXLength
14080         (everywhere): adjust the use of widths
14081
14082         * tabular.h: change the type of widths from string to LyXLength
14083
14084 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14085
14086         * paragraph.C: fixed missing line number count when exporting
14087         Environments to LaTeX file
14088
14089         * buffer.C: added informational message for checking line numbers.
14090
14091 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14092
14093         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14094         paragraph, do the 'double space' part, but not the 'empty
14095         paragraph' one.
14096
14097         * text.C (workWidth): small optimization
14098         (getLengthMarkerHeight): use minimal size for negative lengths.
14099
14100 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14101
14102         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14103
14104         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14105
14106 2001-12-11  André Pönitz <poenitz@gmx.net>
14107
14108         * FontLoader.C:
14109         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14110
14111 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14112
14113         * text2.C: keep selection on a setFont()
14114
14115 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14116
14117         * lyx_cb.C: another bv->text misuse, from insert label
14118
14119 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14120
14121         * kbsequence.h:
14122         * kbsequence.C: re-instate nmodifier mask
14123
14124 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14125
14126         * lyx_main.h: make lyxGUI private.
14127
14128 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14129
14130         * lyxfind.C: place the cursor correctly on failed search
14131
14132 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14133
14134         * text.C (getLengthMarkerHeight): for small heights, the arrows
14135         are not always on top/bottom of the text
14136         (drawLengthMarker): smaller arrows; take the left margin in
14137         account; draw also vfills.
14138         (paintFirstRow):
14139         (paintLastRow): remove special code for vfill and standard spaces,
14140         since everything is handled in drawLengthMarker now.
14141
14142 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14143
14144         * buffer.C (insertErtContents): try to handle font and language
14145         interaction a bit better.g
14146
14147         * ColorHandler.C (updateColor): change the hash to cover the whole
14148         LColor enum, ws cleanup
14149         (getGCLinepars): ditto
14150         (getGCLinepars): only lookup in the linecache once.
14151
14152 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14153
14154         * iterators.C (operator++): Make the iterator more robust
14155
14156         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14157         (John's patch)
14158         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14159
14160 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14161
14162         * lyxtext.h:
14163         * text.C: better added space drawing
14164
14165 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14166
14167         * LyXView.C:
14168         * BufferView2.C: fix layout combo update on inset unlock
14169
14170 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14171
14172         * Makefile.am: don't compile unused files
14173
14174 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14175
14176         * lyxfunc.C:
14177         * commandtags.h:
14178         * LyXAction.C: remove old LFUN_LAYOUTNO
14179
14180 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14181
14182         * paragraph_pimpl.h:
14183         * paragraph_pimpl.C: isTextAt() doesn't need font param
14184
14185 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14186
14187         * lyxlex.h:
14188         * lyxlex.C: little cleanup
14189
14190 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14191
14192         * BufferView_pimpl.C: fix insertAscii for insets
14193
14194 2001-12-05  Juergen Vigna  <jug@sad.it>
14195
14196         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14197         set the right font on the "multi" paragraph paste!
14198
14199 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14200
14201         * trans_decl.h:
14202         * trans_mgr.[Ch]:
14203         * trans.[Ch]:
14204         * lyxgluelength.C:
14205         * lyxlength.C: remove out-commented code.
14206
14207         * BufferView_pimpl:
14208         * CutAndPaste.C:
14209         * DepTable.C:
14210         * buffer.C:
14211         * chset.C:
14212         * lastfiles.C:
14213         * lyxlex.C:
14214         * lyxlex_pimpl.C:
14215         * lyxserver.C:
14216         * screen.C:
14217         * tabular-old.C:
14218         * tabular.C:
14219         * text.C:
14220         * trans_mgr.C:
14221         * vc-backend.C: change "while(" to "while ("
14222
14223         * lyxlength.[Ch]: add zero function to check if length is zero or
14224         not
14225         * lyxgluelength.C: use it
14226
14227 2001-12-05  Allan Rae  <rae@lyx.org>
14228
14229         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14230         Works for 2.95.3, from what I understand of Garst's reports this should
14231         work for other g++ versions.  We're screwed if the abs(int) definition
14232         changed between bugfix releases of gcc.
14233
14234 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14235
14236         * text.C: fix chapter label offset !
14237
14238 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14239
14240         * lyxtext.h:
14241         * text.C: fix hfill at end of line, clean up
14242
14243 2001-12-04  Juergen Vigna  <jug@sad.it>
14244
14245         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14246         that we force an update of the inset and it's owners if neccessary.
14247
14248 2001-12-03  Juergen Vigna  <jug@sad.it>
14249
14250         * text.C (rowLast): simplified code
14251
14252 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14253
14254         * lyxfunc.C: fix show options on timeout
14255
14256 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14257
14258         * screen.C (topCursorVisible): scroll half a page when the cursor
14259         reached top of bottom of screen
14260
14261 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14262
14263         * minibuffer.C: deactivate on loss of focus
14264
14265 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14266
14267         * vspace.[Ch] (operator!=): add operator.
14268
14269 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14270
14271         * BufferView_pimpl.C: refuse to open an inset when
14272         there's a selection.
14273
14274 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14275
14276         * BufferView_pimpl.C: allow to click on RHS of full row insets
14277
14278 2001-11-30  Juergen Vigna  <jug@sad.it>
14279
14280         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14281         insets for undo reasons.
14282
14283 2001-11-28  André Pönitz <poenitz@gmx.net>
14284
14285         * vspace.[Ch]: cosmetical changes
14286
14287 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14288
14289         * LyXAction.h:
14290         * LyXAction.C:
14291         * lyxfunc.h:
14292         * lyxfunc.C:
14293         * kbmap.h:
14294         * kbmap.C:
14295         * lyxrc.C:
14296         * kbsequence.h:
14297         * kbsequence.C: part re-write of old kb code
14298
14299         * Painter.C:
14300         * WorkArea.C: remove Lgb_bug_find_hack
14301
14302 2001-11-30  José Matos <jamatos@fep.up.pt>
14303
14304         * buffer.C (makeDocBookFile): add a comment to point a hack.
14305         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14306         Fixed a double write of labels.
14307
14308 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14309
14310         * LaTeX.C:
14311         * LaTeX.h Fixed bug in LaTeX class where it would not
14312         re-run latex if no depfiles were changed, but the .dvi was removed.
14313
14314 2001-11-28  André Pönitz <poenitz@gmx.net>
14315
14316         * all the files from the change on 2001/11/26:
14317         use lyx::layout_type instead of LyXTextClass::size_type
14318         use lyx::textclass_type instead of LyXTextClassList::size_type
14319
14320 2001-11-29  Juergen Vigna  <jug@sad.it>
14321
14322         * text.C: added support for paragraph::isFreeSpacing()
14323
14324         * buffer.C: same as above
14325
14326         * paragraph.h: inserted isFreeSpacing() function to enable
14327         FreeSpacing inside InsetERT.
14328
14329         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14330         of the paragraph's in the cut/copy buffer to 0!
14331
14332         * text2.C (removeRow): remove the assert as it can!
14333
14334         * lyxtext.h: added helper function firstRow returning firstrow and
14335         made firstrow private again.
14336
14337         * BufferView2.C (lockInset): don't relock if we're already locked!
14338
14339         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14340         the only paragraph.
14341         (removeRow): added Assert::(firstrow)
14342
14343         * debug.C: forgot to add INSETTEXT here.
14344
14345 2001-11-28  Juergen Vigna  <jug@sad.it>
14346
14347         * sp_spell.C (initialize): changed error text to more general
14348         spellchecker command use (not only ispell!)
14349
14350         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14351
14352         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14353
14354 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14355
14356         * vspace.C: initialise lyxgluelength on failure
14357
14358 2001-11-28  Allan Rae  <rae@lyx.org>
14359
14360         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14361         declaration & definition that looks like a function declaration.
14362
14363 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14364
14365         * BufferView2.C (copy):
14366         (copyEnvironment): do not clear the selection when doing a copy.
14367
14368         * text.C (paintFirstRow): compilation fix
14369
14370 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14371
14372         * tabular.C (Latex): correct line count when writing latex.
14373
14374 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14375
14376         * paragraph_pimpl.h:
14377         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14378           bug a bit
14379
14380 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14381
14382         * text.C:
14383         * LColor.h:
14384         * LColor.C: change vfillline->added_space
14385
14386         * text.C: add markers and text for added space
14387
14388         * vspace.C: fix comment
14389
14390 2001-11-28  André Pönitz <poenitz@gmx.net>
14391
14392         * paragraph.C: whitespace changes
14393         * all the other files from the change on 2001/11/26:
14394         change *::pos_type into lyx::pos_type
14395
14396 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14397
14398         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14399         language of the document when inserting error insets.
14400
14401 2001-11-26  André Pönitz <poenitz@gmx.net>
14402
14403         * BufferView_pimpl.[Ch]:
14404         *       CutAndPaste.C:
14405         * buffer.[Ch]:
14406         * lyxcursor.[Ch]:
14407         * lyxfind.C:
14408         * lyxfunc.C:
14409         * lyxrow.[Ch]:
14410         * paragraph.[Ch]:
14411         * paragraph_pimpl.[Ch]:
14412         * sp_spell.C:
14413         * text.C:
14414         * text2.C: reduce header dependencies, introduce type for positions
14415
14416 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14417
14418         * <various>: change to use Alert.h
14419
14420 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14421
14422         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14423         when encountering an unknown token.
14424         (readLyXformat2): Show an error message if there were unknown tokens.
14425
14426 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14427
14428         * BufferView2.C:
14429         * BufferView_pimpl.C:
14430         * buffer.C:
14431         * paragraph.h:
14432         * text.C:
14433         * text2.C: use par->isInset()
14434
14435 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14436
14437         * paragraph_pimpl.h:
14438         * paragraph_pimpl.C: cleanup
14439
14440 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14441
14442         * text2.C (removeRow):
14443         * text.C (setHeightOfRow): remove useless (and costly) call to
14444         getRow.
14445
14446 2001-11-20  Allan Rae  <rae@lyx.org>
14447
14448         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14449         Now need Inset*::checkInsertChar() to return true for appropriate
14450         cases so that the characters in the minibuffer will actually be
14451         inserted.
14452
14453 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14454
14455         * text.C: change the order of the includes.
14456         (workWidth): initialize it at once.
14457         (workWidth): make maxw unsigned
14458         (setHeightOfRow): remove unused variable (inset)
14459         (selectSelectedWord): remove unused variable (inset)
14460         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14461
14462 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14463
14464         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14465         server is not running.
14466         (openConnection):
14467         (closeConnection): add debug info when server is disabled.
14468
14469         * ColorHandler.C (getGCForeground): send debug message to GUI
14470         channel.
14471
14472         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14473
14474         * kbmap.C (bind): modify because return conventions of
14475         kb_sequence::parse have changed.
14476
14477         * kbsequence.C (parse): only ignore spaces and not any stupid
14478         control character. This avoids tests like s[i] <= ' ', which are
14479         guaranteed to fail with 8bit characters and signed chars.
14480         Change return code to string::npos when there have been no error
14481         (0 was a bad idea when error is at first character)
14482
14483 2001-11-14  José Matos  <jamatos@fep.up.pt>
14484
14485         * buffer.h:
14486         * buffer.C (simpleDocBookOnePar): removed unused argument.
14487
14488 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14489
14490         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14491         insets which are part of a word. Paragraph::isLetter takes care of
14492         that now. Use Paragraph::isInset to identify insets.
14493         (selectSelectedWord): do not test for hyphenation break.
14494
14495         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14496         that protected spaces are considered as spaces.
14497
14498         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14499         Inset::isLetter.
14500
14501 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14502
14503         * lyxserver.h:
14504         * lyxserver.C: fix it. and small cleanup.
14505
14506 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14507
14508         * BufferView_pimpl.C: use inline helpers
14509
14510         * LaTeXFeatures.h:
14511         * LaTeXFeatures.C: fix typos
14512
14513         * Spacing.h:
14514         * Spacing.C: move spacing_string into class
14515
14516         * ToolbarDefaults.C: move stuff into namespace anon
14517
14518         * layout.h: update enum
14519
14520         * lyxfunc.C: use better debug
14521
14522         * minibuffer.h: fix typo
14523
14524         * debug.h:
14525         * debug.C:
14526         * WorkArea.C: add and use Debug::WORKAREA
14527
14528         * lyxtext.h:
14529         * text.C:
14530         * text2.C: code re-organisation, inline helpers
14531
14532 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14533
14534         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14535         std::vector.empty().
14536
14537 2001-11-09  Allan Rae  <rae@lyx.org>
14538
14539         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14540         '\n's after tables.  Tabular and ERT inset work now makes this no
14541         longer necessary.
14542
14543 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14544
14545         * minibuffer.h:
14546         * minibuffer.C: fix crash, improve drop-down completion
14547
14548 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14549
14550         * lyxserver.h:
14551         * lyxserver.C: invalidate fd's when doing endPipe()
14552
14553 2001-11-08  José Matos  <jamatos@fep.up.pt>
14554
14555         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14556         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14557
14558         * paragraph.h:
14559         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14560
14561 2001-11-07  José Matos  <jamatos@fep.up.pt>
14562
14563         * buffer.h:
14564         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14565         const qualifier.
14566
14567         * buffer.C (sgmlOpenTag):
14568         * buffer.C (sgmlCloseTag): removed debug info.
14569
14570         * buffer.h (sgmlOpenTag):
14571         * buffer.h (sgmlCloseTag): made public.
14572
14573 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14574
14575         * buffer.C (saveParamsAsDefaults):
14576         * lyx_cb.C (MenuLayoutSave): remove
14577
14578         * LyXAction.C (init):
14579         * commandtags.h:
14580         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14581
14582 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14583
14584         * buffer.C (setPaperStuff): removed from here...
14585
14586         * bufferparams.C (setPaperStuff): ... and moved there.
14587
14588 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14589
14590         * minibuffer.h:
14591         * minibuffer.C:
14592         * XFormsView.C: add support for drop-down completion
14593
14594 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14595
14596         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14597         commands.
14598
14599 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14600
14601         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14602         disabled.
14603
14604 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14605
14606         * lyx_main.C: change ref to known bugs
14607
14608 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14609
14610         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14611         to work around older babel problems.
14612
14613 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14614
14615         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14616
14617 2001-10-24  Juergen Vigna  <jug@sad.it>
14618
14619         * tabular-old.C (ReadOld): below variable changes reflected.
14620
14621         * tabular.[Ch]: added ltType struct for longtable header/footer
14622         defines and changed all instances where they are used. Added
14623         future support for double top/bottom rows.
14624
14625 2001-10-24  José Matos  <jamatos@fep.up.pt>
14626
14627         * buffer.h (docbookHandleCaption):
14628         * buffer.C (docbookHandleCaption): removed unused function.
14629         (makeDocBookFile): moved docbook supported version to v4.1.
14630
14631 2001-10-24  José Matos  <jamatos@fep.up.pt>
14632
14633         * tabular.h:
14634         * tabular.C (docbookRow): new function to export docbook code of a row.
14635         (DocBook): now honors the longtable flags.
14636
14637 2001-10-23  José Matos  <jamatos@fep.up.pt>
14638
14639         * LaTeXFeatures.h:
14640         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14641         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14642
14643         * buffer.C (makeLinuxDocFile):
14644         (makeDocBookFile): reworked the preamble, more clean, and with
14645         support for lyx defined entities. Changed the document declaration
14646         to be more XML friendly.
14647
14648         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14649         if we need to output XML that should be done with a filter.
14650
14651 2001-10-22  Juergen Vigna  <jug@sad.it>
14652
14653         * sp_pspell.h (class PSpell): add alive function needed in the
14654         controller to see if the spellchecker could be started.
14655
14656 2001-10-22  Juergen Vigna  <jug@sad.it>
14657
14658         * buffer.C (insertStringAsLines): modify the font for inserting
14659         chars in certain conditions by calling checkInsertChar(font).
14660
14661 2001-10-19  Juergen Vigna  <jug@sad.it>
14662
14663         * text.C (workWidth): use getRow instead of wrong algorithm.
14664         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14665
14666 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14667
14668         * lyxserver.h:
14669         * lyxserver.C:
14670         * lyx_main.h:
14671         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14672
14673 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14674
14675         * text.C (workWidth): do not search for the exact row when
14676         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14677         optimization for big documents.
14678
14679 2001-10-18  Juergen Vigna  <jug@sad.it>
14680
14681         * text.C (workWidth): new function with added Inset * parameter.
14682
14683 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14684
14685         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14686
14687         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14688         change return type of getColumnNearX.
14689
14690
14691         * text.C (changeRegionCase): use uppercase/lowercase instead of
14692         toupper/tolower.
14693         (leftMargin):
14694         (rightMargin): simplify code by factoring out the uses of
14695         textclasslist.
14696         (labelFill):
14697         (numberOfHfills):
14698         (setHeightOfRow):
14699         (appendParagraph): use Paragraph::size_type
14700
14701 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14702
14703         * vspace.C (asLatexString): add a missing break
14704
14705 2001-10-15  Herbert Voss  <voss@perce.de>
14706
14707         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14708
14709 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14710
14711         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14712         is not available.
14713
14714 2001-10-10  André Pönitz <poenitz@gmx.net>
14715
14716         * lyxfunc.C: removed greek_kb_flag.
14717
14718 2001-10-10  Herbert Voss  <voss@perce.de>
14719
14720         * lyx_main.C: delete global string help_lyxdir.
14721
14722 2001-10-09  Herbert Voss  <voss@perce.de>
14723
14724         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14725
14726         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14727
14728         * lyx_main.C: added global string help_lyxdir.
14729
14730         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14731
14732 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14733
14734         * lyxrc.C (set_font_norm_type): support iso8859-4
14735
14736 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14737
14738         * LaTeX.C (deplog): add another regex for MikTeX
14739
14740 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14741
14742         * lyxrc.C (set_font_norm_type): support iso8859-3
14743
14744 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14745
14746         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14747
14748         * LaTeXFeatures.C: remove special case of french and index
14749
14750         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14751         before \begin{document}). This solves several incompatibilities.
14752
14753 2001-10-03  Garst Reese  <reese@isn.net>
14754
14755         * lyx_cb.C: change CheckTex error msg.
14756
14757 2001-10-03  José Matos  <jamatos@fep.up.pt>
14758
14759         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14760
14761 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14762
14763         * .cvsignore: update
14764
14765         * lyx_main.C (commandLineVersionInfo): use new style version info.
14766
14767         * buffer.C (writeFile):
14768         (makeLaTeXFile):
14769         (makeLinuxDocFile):
14770         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14771
14772         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14773
14774         * version.h: update to use stuff in version.C
14775
14776         * version.C.in: new file. Contains version information determined
14777         at compile time. This is a merging of version.h and
14778         version_info.h.in.
14779
14780 2001-10-03  Juergen Vigna  <jug@sad.it>
14781
14782         * BufferView_pimpl.C (update): don't change "dirty" status in
14783         updateInset call.
14784
14785 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14786
14787         * WorkArea.C (c-tor): re-position version string slightly.
14788
14789 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14790
14791         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14792         revert to previous code.
14793
14794         WorkArea.[Ch]: (show, destroySplash): methods removed.
14795
14796         WorkArea.C: rework code so that it's an amalgam of the codes before and
14797         after the splash screen was moved to WorkArea.
14798
14799 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14800
14801         * lyxrc.C (read):
14802         * vspace.C (inPixels):
14803         (lyx_advance):
14804         * kbmap.C (bind):
14805         * buffer.C (insertStringAsLines):
14806         (asciiParagraph): fix types to be large enough
14807
14808         * lyxlex_pimpl.h: change member status from short to int
14809
14810         * layout.h: fix type of endlabeltype
14811
14812         * kbmap.C (bind):
14813         * kbsequence.C (parse): change return type to string::size_type
14814
14815         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14816         variable
14817
14818         * Bullet.C (bulletSize):
14819         (bulletEntry): do not use short ints as parameters
14820
14821         * BufferView2.C (insertLyXFile): change a char to an int.
14822
14823         * WorkArea.C (WorkArea): remove unneeded floats in computation
14824
14825 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14826
14827         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14828
14829         * paragraph.C (asString): Do not ignore newline/hfill chars when
14830         copying to the clipboard.
14831
14832 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14833
14834         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14835         after a multi-line inset.
14836
14837 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14838
14839         * paragraph.C (validate): Set NeedLyXFootnoteCode
14840
14841 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14842
14843         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14844         and decrease-error to decrease.
14845
14846 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14847
14848         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14849         it more readable (should be equivalent)
14850
14851 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14852
14853         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14854
14855 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14856
14857         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14858         of a cursor (row, etc.) after a character has been deleted
14859         (deleteEmptyParagraphMechanism): call the method above on _all_
14860         cursors held by the LyXText when a double space has been
14861         detected/deleted.
14862
14863 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14864
14865         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14866         pixmap.
14867         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14868
14869         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14870         background. Use greyOut() and the new show() methods to toggle between
14871         the foreground and background. Add code to remove the splash after
14872         its initial showing.
14873
14874         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14875         (create_forms): no longer call Dialogs::showSplash.
14876
14877 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14878
14879         * .cvsignore: add version_info.h
14880
14881 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14882
14883         * version_info.h.in: new file
14884
14885         * Makefile.am: add version_info.h.in
14886
14887         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14888         version_info.h instead of VERSION_INFO
14889
14890 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14891
14892         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14893         The ERT inset now returns string().
14894
14895 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14896
14897         * lyxtext.h, text.C (selectNextWord): renamed as
14898         selectNextWordToSpellcheck.
14899
14900         * text.C (selectNextWordToSpellcheck): Modified to not select
14901         words inside an ERT inset.
14902
14903 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14904
14905         * lyx_cb.C (MenuLayoutSave): change a bit the question
14906
14907         * sp_base.h: include <sys/types.h>
14908
14909 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14910
14911         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14912
14913 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14914
14915         * several files: fix typos in user-visible strings
14916
14917 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14918
14919         * text2.C (pasteSelection): do not set the selection, since it
14920         will be cleared later. Actually, the intent was to fix the way the
14921         selection was set, but I figured rmoving the code was just as good.
14922
14923 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14924
14925         * FontLoader.C (available): Check if font is available without
14926         loading the font.
14927
14928 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14929
14930         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14931
14932 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14933
14934         * lyxrc.[Ch]: added display_graphics variable and associated code.
14935
14936 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14937
14938         * bufferparams.C (hasClassDefaults): new method. Returns true if
14939         the buffer parameters correspond to known class defaults
14940
14941 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14942
14943         * XFormsView.C (show): set minimum size to the main window.
14944
14945 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14946
14947         * text2.C (copySelection):
14948         (cutSelection):
14949         * lyxfind.C (LyXReplace):
14950         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14951         LyXText::selectionAsString.
14952
14953         * paragraph.C (asString): add "label" argument to the second form
14954
14955         * text2.C (selectionAsString): add "label" argument and pass it to
14956         Paragraph::asString.
14957
14958 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14959
14960         * lyx_main.C (commandLineHelp): remove version information
14961
14962 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14963
14964         * lyx_main.C: add -version commandline option
14965
14966 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14967
14968         * paragraph.h: make the optional constructor arg required instead.
14969         some modifications to other files because of this.
14970
14971         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14972
14973         * lyxserver.C (C_LyXComm_callback): make it static
14974
14975         * lyx_main.C (error_handler): make it static
14976
14977         * lyx_gui.C (LyX_XErrHandler): make it static
14978
14979         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14980
14981         * WorkArea.C: make the extern "C" methods static.
14982
14983         * Makefile.am (lyx_LDADD): simplify
14984
14985 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14986
14987         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14988         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14989
14990         * LyXAction.C (init):
14991         * lyxfunc.C (dispatch): associated code removal.
14992
14993 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14994
14995         * lyxfont.h (isSymbolFont): shut off warning
14996
14997         * text.C (setHeightOfRow):
14998         (getVisibleRow): fix crash with empty paragraphs which have a
14999         bottom line
15000
15001 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15002
15003         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15004         code.
15005
15006 2001-09-04  José Matos  <jamatos@fep.up.pt>
15007         * buffer.C
15008         * buffer.h
15009         * tabular.C (docbook): rename docBook method to docbook.
15010
15011 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15012
15013         * Makefile.am: add dependencies to main.o.
15014
15015 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15016
15017         * FontLoader.C (available): Return false if !lyxrc.use_gui
15018
15019 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15020
15021         * FontInfo.C (query):
15022         * converter.C (view):
15023         * importer.C (Import):
15024         * exporter.C (Export): Can not -> cannot.
15025
15026 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15027
15028         * BufferView_pimpl.C: allow to create index inset even if
15029           string is empty
15030
15031 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15032
15033         * buffer.C (getLists): replace boost::tie code with an explicit pair
15034         as boost::tie can break some compilers.
15035
15036         * iterators.h: Added a std:: declaration to the return type of
15037         ParIterator::size.
15038
15039 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15040
15041         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15042           case.
15043
15044 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15045
15046         * iterators.[Ch]: New files. Provide paragraph iterators.
15047
15048         * buffer.C (changeLanguage): Use paragraph iterators.
15049         (isMultiLingual): ditto
15050
15051         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15052
15053 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15054
15055         * FontLoader.C: Support for cmr font.
15056
15057 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15058
15059         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15060         (available): New method.
15061
15062         * FontInfo.C (getFontname): Use scalable fonts even when
15063         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15064         found.
15065
15066 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15067
15068         * converter.C (Formats::view): reverted! Incorrect fix.
15069
15070 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15071
15072         * converter.C (Formats::view): only output the -paper option
15073         if the dvi viewer is xdvi, thereby fixing bug #233429.
15074
15075 2001-08-23  Herbert Voss  <voss@perce>
15076
15077         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15078
15079 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15080
15081         * Spacing.h (Spacing): Set space to Default on in the default
15082         constructor.
15083
15084 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15085
15086         * vc-backend.h (RCS::versionString): add RCS to version
15087         (CVS::versionString): add CVS to version
15088
15089         * vc-backend.C (scanMaster): do not add CVS to version.
15090         (scanMaster): do not add RCS to version
15091
15092         * lyxvc.C (versionString): new method
15093
15094         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15095
15096 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15097
15098         * Spacing.C (set): initialize fval
15099
15100 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15101
15102         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15103         " or \.
15104
15105 2001-08-16  Juergen Vigna  <jug@sad.it>
15106
15107         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15108
15109 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15110
15111         * BufferView_pimpl.C:
15112         * figureForm.C:
15113         * lyxtext.h:
15114         * text2.C: setParagraph takes linespacing now
15115
15116 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15117
15118         * LyxAction.C: add internal LFUN_CITATION_INSERT
15119
15120         * LyXView.C: actually apply fix
15121
15122         * bufferlist.C: fix open non-existent file
15123
15124         * lyxfind.C: fix indentation
15125
15126         * lyxfunc.C: remove unneeded assert, fix typo
15127
15128 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15129
15130         * MenuBackend.C: use "Floatname List"
15131
15132 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15133
15134         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15135         when converting LaTeX layout to insetERT.
15136         Generate a non-collapsed float when reading old float
15137
15138 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15139
15140         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15141         ERT insets.
15142
15143 2001-08-13  Juergen Vigna  <jug@sad.it>
15144
15145         * text.C (fill): return 0 instead of 20 as this seems to be the more
15146         correct value.
15147
15148 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15149
15150         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15151         lyxrc.font_norm.
15152
15153 2001-08-13  Juergen Vigna  <jug@sad.it>
15154
15155         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15156         casesensitive off.
15157         (SearchBackward): comment out the unlocking of the inset_owner this
15158         should not be needed!
15159
15160 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15161
15162         * Many files: Remove inherit_language, and add latex_language
15163
15164         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15165         collapsible insets.
15166
15167 2001-08-10  Juergen Vigna  <jug@sad.it>
15168
15169         * text.C (prepareToPrint): fixed hfill-width in draw!
15170
15171         * BufferView2.C (selectLastWord): save the selection cursor as this
15172         now is cleared in the function LyXText::clearSelection!
15173
15174 2001-08-08  Juergen Vigna  <jug@sad.it>
15175
15176         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15177         BACKSPACE type functions.
15178
15179         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15180         is only cutted from the document but not put in the cut-buffer, where
15181         still the old stuff should be.
15182
15183         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15184
15185         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15186
15187         * tabular.C (SetWidthOfCell): fixed special case where the width
15188         was not updated!
15189         (LeftLine): handle '|' in align_special.
15190         (RightLine): ditto
15191         (LeftAlreadyDrawed): ditto
15192         (SetWidthOfCell): ditto
15193
15194 2001-08-07  Juergen Vigna  <jug@sad.it>
15195
15196         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15197
15198 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15199
15200         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15201         * lyxlex.[hC]: ditto
15202
15203 2001-08-06  Juergen Vigna  <jug@sad.it>
15204
15205         * text.C (getVisibleRow): fix up row clearing a bit.
15206
15207 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15208
15209         * minibuffer.C: make sure the X server sees the changes in the input.
15210
15211 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15212
15213         * paragraph.C (getFont): split into...
15214         (getLabelFont): this
15215         (getLayoutFont): and this
15216         * paragraph_pimpl.C (realizeFont): calling this
15217
15218         * text2.C (getFont): split into...
15219         (getLayoutFont): this
15220         (getLabelFont): and this
15221         (realizeFont): all three calling this
15222
15223         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15224         files where used.
15225
15226 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15227
15228         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15229
15230 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15231
15232         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15233         layouts from the Quote inset insertion.
15234
15235 2001-08-03  Juergen Vigna  <jug@sad.it>
15236
15237         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15238
15239         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15240         only if status not is already CHANGED_IN_DRAW (second level).
15241
15242         * text.C (draw): don't set the need_break_row when inside an
15243         InsetText LyXText.
15244
15245 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15246
15247         * buffer.C (parseSingleLyXformat2Token): handle more latex
15248         conversion cases.
15249
15250         * bufferview_funcs.[hC]: change function names to
15251         begin with small char, adjust other files.
15252
15253 2001-08-02  André Pönitz <poenitz@gmx.net>
15254
15255         * lyxfunc.C:
15256         BufferView_pimpl.C: remove broken special code for math-greek
15257
15258 2001-08-02  Juergen Vigna  <jug@sad.it>
15259
15260         * BufferView_pimpl.C (update): redone this function so that we
15261         update the text again if there was a CHANGE_IN_DRAW.
15262
15263         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15264         (drawFromTo): added a new internal bool which is used by draw() and
15265         redraw() function.
15266         (general): some cursor drawing problems fixed.
15267
15268 2001-08-01  Juergen Vigna  <jug@sad.it>
15269
15270         * lyxfind.C (LyXFind): fixed
15271         (SearchForward): ditto
15272         (SearchBackward): ditto
15273
15274         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15275         spurius drawing of the cursor in the main area.
15276
15277         * text2.C (status): small fix which could lead to a segfault!
15278         (clearSelection): remove unneeded BufferView param.
15279
15280 2001-08-01  André Pönitz <poenitz@gmx.net>
15281
15282         * lyxfunc.C: small change due to changed mathed interface
15283
15284 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15285
15286         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15287
15288 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15289
15290         * lyxfunc.c: fail gracefully if file doesn't exist
15291
15292         * LyXSendto.C:
15293         * buffer.C:
15294         * lyxfunc.C:
15295         * BufferView_pimpl.C: IsDirWriteable() proto changed
15296
15297         * LyXView.C: fix updateWindowTitle() to store the last title
15298
15299 2001-07-31  Juergen Vigna  <jug@sad.it>
15300
15301         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15302         the font (wrong since using of Paragraph::highestFontInRange).
15303
15304         * paragraph.C (highestFontInRange): added a default_size parameter.
15305
15306         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15307         (setHeightOfRow): reformat
15308
15309 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15310
15311         * converter.[hC] + affected files: move to (inital-char)lowercase
15312         function names.
15313
15314         * ParagraphParameters.C (ParagraphParameters): remove commented code
15315
15316         * PainterBase.[Ch]: remove commented code
15317
15318         * LaTeXFeatures.h: add "bool floats" for float.sty
15319
15320         * LaTeXFeatures.C (LaTeXFeatures): init floats
15321         (require): handle float
15322         (getPackages): do it with floats
15323
15324 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15325
15326         * BufferView_pimpl.C (Dispatch): improve handling of
15327         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15328
15329         * commandtags.h: #include lyxfont.h here temporarily to avoid
15330         keybinding bug.
15331
15332         * bufferlist.h: include LString.h here.
15333
15334 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15335
15336         * text2.C (getStringToIndex): new method.
15337
15338 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15339
15340         * *: Reduced header file dependencies all over.
15341
15342 2001-07-30  Baruch Even  <baruch@lyx.org>
15343
15344         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15345
15346 2001-07-29  Baruch Even  <baruch@lyx.org>
15347
15348         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15349
15350 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15351
15352         * ParameterStruct.h (endif): add a default constructor to make
15353         sure that all variables is initialized.
15354
15355         * ParagraphParameters.C (ParagraphParameters): adjust
15356
15357 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15358
15359         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15360         index; also, check that there is something to index, and that it
15361         does not span over several paragraphs.
15362         (doubleClick): use WHOLE_WORD_STRICT for double click.
15363
15364         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15365
15366         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15367         scheme.
15368
15369 2001-07-26  Baruch Even  <baruch@lyx.org>
15370
15371         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15372         an InsetFig figure, backwards compatible reading of old figure code.
15373
15374 2001-07-27  Juergen Vigna  <jug@sad.it>
15375
15376         * text2.C: font.realize function adaption.
15377
15378         * text.C (draw): add a warnings lyxerr text if needed.
15379
15380         * layout.C: font.realize function adaption.
15381
15382         * language.C: add inherit_language and implement it's handlings
15383
15384         * bufferview_funcs.C (StyleReset): remove language parameter from
15385         font creation (should be language_inherit now).
15386
15387         * bufferparams.C (writeFile): handle ignore_language.
15388
15389         * paragraph.C (getFontSettings): the language has to be resolved
15390         otherwise we have problems in LyXFont!
15391
15392         * lyxfont.C (lyxWriteChanges): added document_language parameter
15393         (update): removed unneeded language parameter
15394
15395         * paragraph.C (validate): fixed wrong output of color-package when
15396         using interface colors for certain fonts in certain environments,
15397         which should not seen as that on the final output.
15398
15399 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15400
15401         * BufferView_pimpl.C:
15402         * Thesaurus.h:
15403         * Thesaurus.C:
15404         * Makefile.am:
15405         * commandtags.h:
15406         * LyXAction.C: add thesaurus support
15407
15408         * lyxfind.h:
15409         * lyxfind.C: add "once" parameter, for thesaurus, to not
15410           move to the next match
15411
15412 2001-07-26  Juergen Vigna  <jug@sad.it>
15413
15414         * lyxfont.C (realize): honor ignore_language too!
15415         (resolved): ditto.
15416
15417         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15418
15419         * text.C (draw): one place more for ignore_language to not draw
15420         itself!
15421
15422 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15423
15424         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15425
15426 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15427
15428         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15429         the minipage conversion problem.
15430
15431 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15432
15433         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15434         insert an inset.
15435
15436 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15437
15438         * BufferView.h: don't forward declare WorkArea
15439
15440         * BufferView.C: don't include WorkArea.h
15441
15442 2001-07-25  André Pönitz <poenitz@gmx.net>
15443
15444         * commandtags.h:
15445         * LyXAction.C:
15446         * lyxfunc.C:  new LFUN 'math-space'
15447
15448         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15449
15450 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15451
15452         * text2.C (toggleInset): call open/close
15453
15454 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15455
15456         * lyxfunc.C (dispatch): add debug for the disabled case
15457
15458         * font.C (buttonText): make similar to rectText
15459
15460         * buffer.C (readInset): comment out parsing of insetlist and
15461         insttheorem
15462
15463         * PainterBase.C (rectText): small correction
15464
15465         * BufferView_pimpl.C: comment out insettheorem and insetlist
15466         * LyXAction.C: ditto
15467         * commandtags.h: ditto
15468
15469 2001-07-24  Juergen Vigna  <jug@sad.it>
15470
15471         * text.C (draw): honor the ignore_language.
15472
15473         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15474
15475 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15476
15477         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15478         char inset.
15479
15480 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15481
15482         * lyxtext.h: remove unused (and unimplemented) methods
15483
15484 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15485
15486         * text.C (getVisibleRow): honor background color
15487
15488         * PainterBase.h:
15489         * Painter.h: remove default color argument for fillRectangle
15490
15491         * text.C (backgroundColor): new method
15492
15493 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15494
15495         * text.C (getVisibleRow): adjust
15496
15497         * font.[Ch] (rectText): new method, metrics
15498         (buttonText): new method, metrics
15499
15500         * PainterBase.[hC]: make rectText and buttonText always draw and take
15501         fewer paramteres.
15502
15503 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15504
15505         * ToolbarDefaults.C (read):
15506         * MenuBackend.C (read): allow escaping in all strings
15507
15508         * BufferView_pimpl.C (insertAndEditInset): new method.
15509         (Dispatch): use insertAndEditInset whenever appropriate.
15510
15511         * BufferView_pimpl.C (insertNote): removed
15512
15513         * BufferView_pimpl.C (smartQuote): new method, moved from
15514         BufferView; if an insetquote cannot be inserted, insert a '"'
15515         character instead.
15516
15517         * BufferView2.C: remove insertCorrectQuote();
15518
15519         * lyxfunc.C (getStatus): Add support for all remaingin
15520         inset-insert lfuns.
15521
15522         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15523
15524         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15525         command (necessary to pass " as parameter of self-insert.
15526
15527         * text.C (selectWordWhenUnderCursor):
15528         (selectWord): add word_location parameter
15529         (selectWordWhenUnderCursor): same + remove special code for word
15530         boundary.
15531         (selectNextWord): use kind() to guess type of insetspecialchar,
15532         not latex().
15533
15534         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15535         (insertErtContents): create ert insets as collapsed.
15536         (readInset): better compatibility code for Info inset.
15537
15538 2001-07-20  Juergen Vigna  <jug@sad.it>
15539
15540         * lyxfunc.C (dispatch): use always LyXFind now!
15541
15542         * text2.C (init): add a reinit flag so that the LyXText can be
15543         reinited instead of deleted and reallocated (used in InsetText).
15544
15545         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15546
15547         * text.C: ditto
15548
15549         * text2.C: ditto
15550
15551 2001-07-18  Juergen Vigna  <jug@sad.it>
15552
15553         * text.C (selectNextWord): handle insets inside inset by calling
15554         always the bv->text functions so that we can go up the_locking_inset!
15555
15556         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15557         in strange locations when inside an inset!
15558
15559         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15560         handling to include insets.
15561
15562         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15563
15564 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15565
15566         * LyXAction.C (init):
15567         * commandtags.h:
15568         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15569         LIGATURE_BREAK, since the name is so stupid.
15570
15571 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15572
15573         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15574         InsetInfos.
15575
15576         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15577
15578         * sp_form.[Ch]: remove.
15579
15580         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15581
15582         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15583         InsetInfo.
15584
15585         * src/buffer.C (readInset): ditto.
15586
15587 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15588
15589         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15590         menuSeparator(), endOfSentenceDot(), ldots() and
15591         hyphenationPoint(), which are therefore removed.
15592         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15593
15594         * LyXAction.C (init):
15595         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15596
15597         * paragraph.C (getWord): removed.
15598
15599         * BufferView_pimpl.C (Dispatch): use last word or selection for
15600         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15601
15602         * lyx_main.C (queryUserLyXDir): do not ask before creating
15603         user_dir, except if it has been named explicitely.
15604
15605 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15606
15607         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15608         a document of zero size.
15609
15610 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15611
15612         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15613         approriately in the c-tor and in require().
15614         (getPackages): output the appropriate LaTeX for natbib support.
15615
15616         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15617         variables "use_natbib" and "use_numerical_citations" when reading the
15618         LyX file.
15619         (readInset): read the various natbib cite commands.
15620         (validate): white-space change.
15621
15622         * bufferparams.[Ch]: new variables "bool use_natbib" and
15623         "bool use_numerical_citations".
15624         (writeFile): output them in the LyX file.
15625
15626 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15627
15628         * lyxfunc.C (getStatus): add support for all the inset insertion
15629         commands.
15630
15631         * text2.C (insertInset):
15632         * paragraph.C (insetAllowed):
15633         * BufferView_pimpl.C (insertInset): update to take in account the
15634         renaming of insertInsetAllowed
15635
15636         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15637
15638         * text2.C (getInset): new method. returns inset at cursor position.
15639
15640         * BufferView_pimpl.C (Dispatch): changes because of this.
15641
15642         * LyXAction.C (init): rename open-stuff to inset-toggle.
15643
15644         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15645
15646         * text2.C (toggleInset): renamed from openStuff; use
15647         Inset::open().
15648
15649 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15650
15651         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15652
15653         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15654
15655 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15656
15657         * buffer.C (readLyXformat2): Add filename to the error dialog
15658
15659 2001-07-18  Juergen Vigna  <jug@sad.it>
15660
15661         * tabular.C (GetCellNumber): put an assert here instead of the check!
15662
15663 2001-07-17  Juergen Vigna  <jug@sad.it>
15664
15665         * BufferView_pimpl.C (toggleSelection): adapted too.
15666
15667         * text.C (selectNextWord): adapted for use with insets.
15668         (selectSelectedWord): ditto
15669
15670 2001-07-17  Juergen Vigna  <jug@sad.it>
15671
15672         * sp_spell.C (PSpell): fix initialitation order.
15673
15674 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15675
15676         * paragraph.C: spacing
15677
15678 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15679
15680         * sp_spell.C: repair language selection for pspell
15681
15682 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15683
15684         * lyxfunc.h: change more methods to begin with lower char.
15685
15686 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15687
15688         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15689         for unknown layouts.
15690
15691 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15692
15693         * buffer.C (readLyXformat2): Generate an error dialog if there are
15694         unknown layouts.
15695
15696 2001-07-16  Juergen Vigna  <jug@sad.it>
15697
15698         * sp_spell.C: always compile ISpell part.
15699
15700         * lyxrc.C: added use_pspell entry and it's handling.
15701
15702 2001-07-13  Juergen Vigna  <jug@sad.it>
15703
15704         * sp_spell.C: removed double includes.
15705
15706 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15707
15708         Consistent use of Lsstream.h:
15709         * Lsstream.h: added using std::stringstream for consistencies sake.
15710
15711         * buffer.C: removed using std::stringstream
15712
15713         * lyxfont.C (stateText):
15714         * paragraph.C (asString):
15715         * text.C (selectNextWord, selectSelectedWord):
15716         * text2.C (setCounter):
15717         * vspace.C (asString, asLatexString):
15718         std::ostringstream -> ostringstream.
15719
15720 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15721
15722         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15723         * commandtags.h: add LFUN_HELP_ABOUTLYX
15724         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15725
15726 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15727
15728         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15729         cursorToggle()
15730         * lyx_gui_misc.C: remove spellchecker
15731         * lyxfunc.C: showSpellchecker
15732         * sp_base.h: added
15733         * sp_ispell.h: added
15734         * sp_pspell.h: added
15735         * sp_spell.C: added
15736         * sp_form.[Ch]: removed
15737         * spellchecker.[Ch]: removed
15738
15739 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15740
15741         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15742         is set.
15743         (simpleTeXSpecialChars): Simply print the input character without
15744         any special translation if pass_thru is set.
15745
15746         * layout.h: Added bool pass_thru to layout class for being able to
15747         implement pass through of a paragraph for Literate Programming.
15748
15749         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15750         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15751         * layout.C (Read): add "passthru" to list of layout tags and add
15752         code to set the pass_thru boolean when it is read.
15753
15754 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15755
15756         * trans_decl.h: remove allowed from KmodInfo
15757
15758         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15759         remove allowed code
15760         (Load): adjust
15761
15762         * paragraph_pimpl.C (erase): use boost::prior
15763
15764         * Painter.C (text): use data() instead of c_str() when length is
15765         also provided.
15766         * WorkArea.C (putClipboard): ditto
15767         * font.h (width): ditto
15768
15769         * BufferView2.C: use it-> instead of (*it). for iterators
15770         * texrow.C: ditto
15771         * paragraph_pimpl.C: ditto
15772         * paragraph.C: ditto
15773         * minibuffer.C: ditto
15774         * language.C: ditto
15775         * kbmap.C: ditto
15776         * encoding.C: ditto
15777         * counters.C: ditto
15778         * converter.C: ditto
15779         * chset.C: ditto
15780         * Variables.C: ditto
15781         * TextCache.C: ditto
15782         * MenuBackend.C: ditto
15783         * LyXAction.C: ditto
15784         * LColor.C: ditto
15785         * FloatList.C: ditto
15786         * DepTable.C: ditto
15787         * ColorHandler.C (LyXColorHandler): ditto
15788
15789 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15790
15791         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15792
15793         * text2.C (openStuff): reintroduce this method (which had been
15794         nuked in NEW_INSETS frenzy).
15795
15796         * lyxfunc.C (Dispatch): when an action has not been handled, use
15797         its name in the error message, not its number.
15798
15799         * paragraph.C (inInset): change method name to begin with lowercase.
15800
15801         * undo_funcs.C:
15802         * text2.C: updates because of this.
15803
15804 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15805
15806         * ToolbarDefaults.C (add): add spaces in error message
15807
15808 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15809
15810         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15811         (readLyXformat2): rename return_par to first_par, use lyxlex's
15812         pushToken and remove the manual push handling.
15813         (parseSingleLyXformat2Token): add another ert comp. variable:
15814         in_tabular, rename return_par to first_par. handle newlines better
15815
15816 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15817
15818         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15819
15820 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15821
15822         * text2.C (getParFromID): removed
15823
15824         * buffer.C (getParFromID): new method moved form lyxtext.
15825         * BufferView2.C (insertErrors): adjust
15826         (setCursorFromRow): adjust
15827         * BufferView_pimpl.C (restorePosition): adjust
15828         * lyxfunc.C (Dispatch): adjust
15829         * undo_funcs.C (textUndo): adjust
15830         (textRedo): adjust
15831         (textHandleUndo): adjust
15832         (textHandleUndo): adjust
15833
15834 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15835
15836         * buffer.C: up' the LYX_FORMAT
15837
15838         * lyxfont.h: turn NO_LATEX on as default
15839
15840         * buffer.C (insertErtContents): new methods of tex style compability.
15841         (parseSingleLyXformat2Token): use it several places.
15842         * tabular.C (OldFormatRead): and here
15843
15844 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15845
15846         * text2.C: remove some commented code.
15847         reindent file.
15848
15849         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15850         * trans.C: changes because of the above.
15851
15852 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15853
15854         * text2.C (setCounter): Fix counters bug with bibliography layout.
15855
15856 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15857
15858         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15859         own member functions
15860         (simpleTeXSpecialChars): ditto
15861
15862 2001-07-06  Juergen Vigna  <jug@sad.it>
15863
15864         * a lot of files: changed the access to LyXText::status and the
15865         call of undo-functions.
15866
15867         * undo.[Ch]: added a inset_id to the undo informations.
15868
15869         * undo_funcs.[Ch]: added and moved here all undo functions.
15870
15871         * lyxtext.h: give the status enum a weight, made status_ a private
15872         variable and made accessor functions for it, removed the whole bunch
15873         of undo-functions as they are now in their own file, make some
15874         functions publically available. Added function ownerParagraph with
15875         int parameter.
15876
15877         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15878         made InInset() a const function, added getParFromID() function.
15879
15880         * buffer.[Ch]: added const version for inset_iterator functions,
15881         added getInsetFromID() function.
15882
15883         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15884         changed undo functions for new version.
15885
15886 2001-07-05  Juergen Vigna  <jug@sad.it>
15887
15888         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15889         unknow mechanism does not call the proper constructor but only this
15890         one also if I request the other!?
15891
15892 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15893
15894         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15895
15896         * text2.C (LyXText): use initialization lists.
15897
15898         * lyxtext.h (Selection): initialize set_ and mark_
15899         (init): remove method
15900
15901 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15902
15903         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15904
15905 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15906
15907         * screen.[Ch]: change method names to begin with lowercase
15908
15909         * BufferView_pimpl.C (updateScrollbar): simplify further and
15910         hopefully make it a bit faster.
15911
15912 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15913
15914         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15915         calling directly xforms functions.
15916
15917         * Painter.C (Painter):
15918         * lyx_cb.C (MenuWrite):
15919         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15920         fl_display.
15921
15922         * lyx_gui.C: remove bogus guiruntime extern declaration.
15923
15924 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15925
15926         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15927         in NEW_INSETS
15928         (redoDrawingOfParagraph): ditto
15929         (redoParagraphs): ditto
15930         (cutSelection): don't create a object for CutAndPaste use the
15931         static method directly
15932         (pasteSelection): ditto
15933
15934         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15935         LyXview (+ rename)
15936
15937 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15938
15939         * modifications to some other files because of this.
15940
15941         * Makefile.am (lyx_SOURCES): add XFormsView
15942
15943         * XFormsView.[Ch]: new files
15944
15945         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15946         the main window. Move the gui dependent stuff to XFormsView
15947
15948 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15949
15950         * tabular.C (GetCellInset): update cur_cell also in the row/col
15951         version of this function.
15952
15953         * lyxfunc.C: no need to include figure_form.h here.
15954
15955         * FontLoader.h:
15956         * lyxfunc.h:
15957         * lyxscreen.h:
15958         * text2.C:
15959         * lyxvc.C: no need to include forms.h here.
15960
15961 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15962
15963         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15964
15965         * lyxfunc.C (Dispatch):
15966         * Spacing.C (set):
15967         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15968         constructor argument.
15969
15970 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15971
15972         * paragraph.C (Paragraph): dont't clear, and just set layout.
15973         (makeSameLayout): use params's copy contructor.
15974
15975         * ParagraphParameters.[Ch] (makeSame): delete method
15976
15977 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15978
15979         * Variables.[Ch]: fix indentation, rename set to isSet
15980
15981 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15982
15983         * lyxfunc.C (Dispatch): fix typo
15984
15985 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15986
15987         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15988         upper_bound.
15989
15990         * bufferlist.C: include assert.h for emergencyWrite().
15991
15992 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15993
15994         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15995           give up at last (bug #425202) !
15996
15997 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15998
15999         * lyx_gui_misc.C:
16000         * sp_form.h:
16001         * sp_form.C:
16002         * spellchecker.h:
16003         * spellchecker.C: strip spellchecker options and bring up
16004           preferences tab instead
16005
16006 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16007
16008         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16009         the istringstream constructor
16010
16011 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16012
16013         * paragraph.C (getLayout): fix return value
16014
16015         * paragraph.h: do not declare getLayout as inline.
16016
16017         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16018
16019 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16020
16021         * lyxcursor.h (operator<): new func
16022         (operator>): new func
16023         (operator>=): new func
16024         (operator<=): new func
16025
16026         * text.C (changeCase): use selection.start and selection.end
16027         (changeRegionCase): require from to be <= to. Require par to be a
16028         valid paragraph.
16029
16030         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16031
16032 2001-06-27  Juergen Vigna  <jug@sad.it>
16033
16034         * text.C (cursorLeftOneWord): changed to return the cursor and added
16035         overlay with BufferView * parameter which calls this one.
16036         (getWord): added
16037         (selectWord): use new getWord function.
16038         (changeCase): renamed from changeWordCase as and extended to work
16039         also on selections.
16040
16041         * lyxtext.h: added enum word_location
16042
16043         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16044         changeCase as this operates now also on selections.
16045
16046 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16047
16048         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16049
16050         * many files: send debug output to Debug::INFO instead of
16051         Debug::ANY.
16052
16053         * converter.C (View):
16054         (Convert):
16055         (Move): send debug output to Debug::FILES instead of console.
16056
16057 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16058
16059         * lyxfunc.C (getStatus): use func_status
16060
16061         * func_status.h: new header, describing the results of
16062         LyXFunc::getStatus;
16063
16064         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16065         LFUN_MATH_HALIGN.
16066
16067 2001-06-25  The LyX Project  <jug@sad.it>
16068
16069         * buffer.C (sgmlOpenTag):
16070         (sgmlCloseTag):
16071         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16072
16073 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16074
16075         * text2.C: remove some dead code
16076
16077         * tabular.C (GetCellInset): store the last cell checked (gotten)
16078
16079         * tabular.h: add the helper for the speedup
16080
16081         * lyxtext.h: remove some dead code
16082
16083 2001-06-26  The LyX Project  <Asger>
16084
16085         * paragraph.C: Change export to LaTeX of alignment to
16086         \begin{center} and family for better roundtrip work with reLyX.
16087
16088         * Tune the math drawing a bit.
16089
16090 2001-06-25  The LyX Project  <Asger>
16091
16092         * LColor.C (LColor): New color for math background. New color
16093         for buttons.
16094
16095 2001-06-25  The LyX Project  <jug@sad.it>
16096
16097         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16098
16099         * lyxfunc.C (Open):
16100         * bufferlist.C (newFile): do not restrict to files ending with
16101         .lyx
16102
16103         * BufferView_pimpl.C (MenuInsertLyXFile):
16104
16105 2001-06-24  The LyX Project  <jug@sad.it>
16106
16107         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16108         of compare_no_case
16109
16110 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16111
16112         * lyxtext.h: rename most methods to begin with a small char.
16113         Lots of changes because of this.
16114
16115         * paragraph.C (Paragraph): do not call fitToSize
16116         (erase): call Pimpl::erase
16117         (insertChar): call Pimpl::insertChar
16118         (insertInset): call Pipl::insertInset
16119         (breakParagraph): do not call fitToSize
16120         (breakParagraphConservative): do not call fitToSize
16121         (fitToSize): remove method
16122
16123         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16124
16125 2001-06-24  The LyX Project  <Asger>
16126
16127         * Fix Qt compilation^2
16128
16129 2001-06-24  The LyX Project  <jug@sad.it>
16130
16131         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16132         depthHook(getDepth()-1).
16133
16134         * paragraph.h:
16135         * ParagraphParameters.h:
16136         * ParameterStruct.h: change type of depth to unsigned int ==
16137         depth_type. Many adaptations to other files before of that.
16138
16139 2001-06-24  The LyX Project  <Asger>
16140
16141         * Fix Qt compilation.
16142
16143 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16144
16145         * paragraph.h: renamed several methods to begin with small letter.
16146         several changes to many parts of the code because of this.
16147
16148 2001-06-23  The LyX Project  <jug@sad.it>
16149
16150         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16151         rewritten to discard all double spaces when KeepEmpty is off
16152         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16153         to only handle newlines but not fiddle with spaces and friends.
16154
16155         * lyxfunc.C (MenuNew): when doing 'new from template', use
16156         template_path as default directory
16157
16158 2001-06-23  The LyX Project  <Asger>
16159
16160         * Clean-up of header file includes all over
16161         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16162
16163 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16164
16165         * paragraph.h: renamed from lyxparagraph.h
16166
16167 2001-06-23  Asger  <lyx@violet.home.sad.it>
16168
16169         * Buffer.h: Removed Buffer::resize
16170         * BufferList.h: Removed BufferList::resize
16171         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16172         the document lazily when we change the width, or the font settings.
16173
16174 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16175
16176         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16177
16178 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16179
16180         * buffer.h: remove out of date comment
16181
16182 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16183
16184         * lyxscreen.h:
16185         * screen.C: fix "theoretical" GC leak
16186
16187 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16188
16189         * LaTeX.C (scanAuxFile):
16190         (deplog): remove trailing \r when reading stream (useful under
16191         win32)
16192
16193 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16194
16195         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16196         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16197         and BufferView::theLockingInset(Inset*), so should use them and not
16198         access bv_->text->the_locking_inset directly.
16199
16200         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16201
16202 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16203
16204         * Makefile.am:
16205         * tex-defs.h: remove old unused file
16206
16207 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16208
16209         * BufferView_pimpl.C: fix typo, remove minibuffer message
16210           when buffer has loaded
16211
16212 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16213
16214         * lyxfunc.C (Dispatch): use stringstream
16215         (MenuNew): use stringstream
16216         (Open): use stringstream
16217
16218         * importer.C (Import): use stringstream
16219
16220         * bufferview_funcs.C (CurrentState): use stringstream
16221
16222         * LaTeX.C (run): use stringstream
16223
16224         * BufferView_pimpl.C (savePosition): use stringstream
16225         (restorePosition): use stringstream
16226         (MenuInsertLyXFile): use stringstream
16227
16228 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16229
16230         * BufferView.C:
16231         * Bullet.C:
16232         * ColorHandler.C:
16233         * FontInfo.C:
16234         * FontLoader.C:
16235         * LColor.C:
16236         * LaTeXFeatures.C:
16237         * Painter.C:
16238         * gettext.C:
16239         * lyx_gui_misc.C:
16240         * lyxserver.C:
16241         * vspace.C: removed // -*- C++ -*- as first line.
16242
16243         * lyxfind.h:
16244         * version.h: added // -*- C++ -*- as first line.
16245
16246 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16247
16248         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16249
16250         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16251         of string
16252
16253 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16254
16255         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16256         of floats.
16257
16258 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16259
16260         * gettext.C: include LString.h even when --disable-nls is on.
16261
16262 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16263
16264         * converter.h (Get): changed argument type from int to
16265         FormatList::size_type to avoid unnecessary conversion.
16266
16267         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16268         before using it.
16269
16270 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16271
16272         * gettext.h: include LString.h even when --disable-nls is on.
16273
16274 2001-06-07  Juergen Vigna  <jug@sad.it>
16275
16276         * text.C (BreakAgain): subst spaces with tabs.
16277
16278         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16279         (resizeInsetsLyXText): set force on resizeLyXText.
16280
16281 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16282
16283         * gettext.h (gettext_init):
16284         (locale_init): use a real definition instead of a macro
16285
16286 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16287
16288         * Bufferview_pimpl.C:
16289         * LColor.h:
16290         * LColor.C: further lcolor tidies
16291
16292 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16293
16294         * BufferView_pimpl.C (updateScrollbar): simplify.
16295
16296         * BufferView2.C: don't include insets/insetinfo.h, change
16297         prototype for insertInset and call the Pimpl version. let
16298         updateInset call Pimpl version.
16299
16300         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16301         gotoInset to BufferView::Pimpl
16302
16303 2001-06-01  Juergen Vigna  <jug@sad.it>
16304
16305         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16306         inside a LockingInset (is the update needed at all?).
16307
16308 2001-05-31  Juergen Vigna  <jug@sad.it>
16309
16310         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16311         here not the old one otherwise how should we compare it afterwards
16312         if it's the same!
16313
16314 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16315
16316         * lyxfont.C:
16317         * tabular.C:
16318         * tabular-old.C:
16319         * FontInfo.C: bring C functions into global namespace when
16320         necessary
16321
16322 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16323
16324         * LString.h: make sure config.h has been loaded before LString.h.
16325
16326         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16327         (one for each char read by EatLine!).
16328
16329         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16330         variables.
16331
16332 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16333
16334         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16335         to the same as the par we break from
16336
16337 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16338
16339         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16340
16341         * MenuBackend.C (expand): also create menu entries for wide
16342         versions of the floats.
16343
16344         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16345
16346         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16347
16348         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16349         frontends/Makefile.am
16350
16351         * text2.C: adjust
16352         * text.C: adjust
16353
16354
16355         * tabular.C (getTokenValue): add std::
16356
16357         * tabular-old.C (getTokenValue): add std::
16358         (getTokenValue): ditto
16359         (getTokenValue): ditto
16360
16361         * screen.C (ToggleSelection): adjust
16362
16363         * lyxtext.h: put selection cursors inside a Selection struct.
16364
16365         * lyxfunc.C (moveCursorUpdate): adjust
16366
16367         * lyxfont.C (latexWriteStartChanges): add std::
16368
16369         * lyxfind.C: adjust
16370
16371         * font.h: delete with(char const *, LyXFont const &)
16372
16373         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16374
16375         * FontInfo.C (getFontname): add std::
16376
16377         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16378         (workAreaButtonPress): adjust
16379         (tripleClick): adjust
16380         (update): adjust
16381         (moveCursorUpdate): adjust
16382         (Dispatch): adjust
16383
16384         * BufferView2.C (gotoInset): adjust
16385
16386 2001-05-30  Juergen Vigna  <jug@sad.it>
16387
16388         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16389         to check pspell I add this as default as I now have new pspell
16390         libraries and they seem to use this.
16391
16392 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16393
16394         * text2.C (CutSelection): make the cursor valid before the call to
16395         ClearSelection.
16396
16397 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16398
16399         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16400         relied on 0 terminated strings and other horrors. Bug found due to
16401         the new assert in lyxstring!
16402
16403         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16404         KP_ keys.
16405
16406 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16407
16408         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16409         to latinkeys.bind.
16410
16411         * lyxfunc.C (processKeySym): change method of getting to the
16412         self-insert char.
16413
16414         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16415         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16416         * BufferView_pimpl.[Ch]: here as private methods.
16417
16418 2001-05-28  Juergen Vigna  <jug@sad.it>
16419
16420         * text.C (SetHeightOfRow): added the update() call again as it is
16421         needed to initialize inset dimensions!
16422
16423 2001-05-16  Juergen Vigna  <jug@sad.it>
16424
16425         * text2.C (SetCharFont): Add new function with BufferView * and
16426         bool toggleall parameters for setting insets internal fonts.
16427         (SetFont): Freeze the undo as we may change fonts in Insets and
16428         all this change should be inside only one Undo!
16429
16430         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16431         setting font's in insets as for them we have the SetFont function!
16432
16433 2001-05-15  Juergen Vigna  <jug@sad.it>
16434
16435         * text2.C (ClearSelection): to be sure we REALLY don't have any
16436         selection anymore!
16437
16438         * tabular.C (TeXCellPreamble): fixed the left border problem for
16439         multicolumn cells.
16440
16441 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16442
16443         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16444         dependancy file
16445
16446 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16447
16448         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16449         LFUN_BREAKPARAGRAPH.
16450
16451         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16452         help test to "internal only", similar for LFUN_INSERT_URL
16453
16454         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16455         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16456         auto_region_delete and deadkeys.
16457
16458 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16459
16460         * LColor.h:
16461         * LColor.C: remove some dead entries, tidy a little
16462
16463 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16464
16465         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16466         commented code.
16467         (Dispatch): implement LFUN_ESCAPE
16468
16469         * commandtags.h: add LFUN_ESCAPE
16470
16471         * LyXAction.C (init): add entry for LFUN_ESCAPE
16472
16473         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16474         Remove commented code.
16475         (insertNote): moved here
16476         (open_new_inset): moved here
16477
16478         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16479         BufferView_pimpl
16480
16481 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16482
16483         * kbmap.C (findbinding): clean it up and make it work correctly.
16484
16485         * lyx_main.C (init): do not pass argc and argv as parameters
16486
16487 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16488
16489         * buffer.C: fix path for OS/2 & Win32
16490
16491         * lyx_gui.C:
16492         * lyx_main:
16493         * lyx_main.C: Added os:: class.
16494
16495         * os2_defines.h: update
16496
16497 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16498
16499         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16500         better by trying again with reduced state.
16501
16502 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16503
16504         * lyxrc.C (read): print error about invalid key sequence only when
16505         debugging (because not all latinX keysyms are known to some X
16506         servers)
16507
16508         * kbsequence.C (getiso): add a few std:: qualifiers
16509         (getiso): comment out extra return statement.
16510
16511 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16512
16513         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16514         handling.
16515         (Dispatch): enhance the accent inset a bit. (not perfect)
16516
16517 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16518
16519         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16520
16521 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16522
16523         * bufferlist.C (emergencyWrite): fix assert() call
16524
16525 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16526
16527         * text.C (InsertChar): Added trivial patch to only send the "you
16528         can not do multiple spaces this way" message once during a
16529         session.
16530
16531 2001-05-08  Baruch Even  <baruch@lyx.org>
16532
16533         * Makefile.am: Changed order of libraries to get LyX to link properly
16534         with the gnome frontend.
16535
16536 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16537
16538         * LaTeXFeatures.h: add a std:: qualifier
16539
16540 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16541
16542         * paragraph.C (String): use stringstream
16543
16544 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16545
16546         * paragraph.C (writeFile): remove footflag arg
16547
16548         * buffer.C (makeLaTeXFile): use stringstream
16549         (latexParagraphs): remove footnot gurba
16550
16551         * LaTeXFeatures.C (getPackages): use stringstream
16552         (getMacros): likewise
16553         (getTClassPreamble): likewise
16554         (getFloatDefinitions): new method
16555
16556         * paragraph.C (writeFile): reindent
16557         (Erase): reindent
16558
16559         * WorkArea.h: revert the xpos + etc changes.
16560
16561         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16562
16563         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16564
16565         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16566         (pasteSelection): likewise
16567         * text2.C (CreateUndo): likewise
16568
16569 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16570
16571         * minibuffer.C (peek_event): temporarily reduce the functionality
16572         of the minibuffer (to allow args on lfuns)
16573
16574         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16575         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16576
16577         * buffer.C (readInset): add compability reading of old float
16578         lists, add reading of new style float list.
16579         (readInset): avoid reevaluation of inscmd.getCmdName()
16580         (getLists): reindent
16581
16582         * MenuBackend.C (MenuItem): implement parsing of
16583         md_floatlistinsert and md_floatinsert.
16584         (expand::LastFiles): move initalizaton of iterators out of loop,
16585         avoid reevaluation.
16586         (expand::Documents): introduce typdedef vector<string> Strings,
16587         and use it.
16588         (expand::ExportFormats): introduce typedef vector<Format const *>
16589         Formats, and use it.
16590         (expand): implement FloatListInsert and FloatInsert.
16591
16592         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16593         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16594         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16595
16596         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16597         handling.
16598         (Dispatch::LFUN_FLOAT_LIST): implement
16599
16600 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16601
16602         * LaTeX.C (run): Fix problem with --export code.
16603
16604 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16605
16606         * BufferView.[Ch] (workarea): removed.
16607         (getClipboard) new method; wrapper for workarea()->getClipboard()
16608
16609         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16610         bug.
16611
16612         * WorkArea.h (width, height, xpos, ypos): These methods all
16613         returned the dimensions of the work_area sub-area of WorkArea,
16614         resulting in a position error if the WorkArea were resized. Now
16615         return the dimensions of the entire WorkArea.
16616
16617         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16618
16619 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16620
16621         * LaTeX.C (deplog): correct the syntax of regex reg1
16622
16623 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16624
16625         * undo.C: remove !NEW_INSETS cruft
16626
16627 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16628
16629         * text2.C: remove !NEW_INSETS cruft
16630
16631         * text.C: remove !NEW_INSETS cruft
16632
16633         * tabular.C: remove !NEW_INSETS cruft
16634
16635         * spellchecker.C: remove !NEW_INSETS cruft
16636
16637         * lyxtext.h: remove !NEW_INSETS cruft
16638
16639         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16640
16641         * lyxfunc.C: remove !NEW_INSETS cruft
16642
16643         * lyxfind.C: remove !NEW_INSETS cruft
16644
16645         * lyx_cb.C: remove !NEW_INSETS cruft
16646
16647         * figureForm.C: remove  !NEW_INSETS cruft
16648
16649         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16650
16651         * buffer.[Ch]: remove !NEW_INSETS cruft
16652
16653         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16654
16655         * CutAndPaste.C: remove !NEW_INSETS cruft
16656
16657         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16658
16659         * BufferView2.C: remove !NEW_INSETS cruft
16660
16661         * BufferView.h: remove !NEW_INSETS cruft
16662
16663 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16664
16665         * Lsstream.h: include LString.h before the sstream headers to
16666         fix problem with gcc 2.95.3 and lyxstring
16667
16668 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16669
16670         * lyx_main.C: add using directives when needed for C functions
16671         declared in std:: namespace.
16672
16673 2001-04-27  Juergen Vigna  <jug@sad.it>
16674
16675         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16676         (SetHeightOfRow): comment out the update call should not be needed!
16677
16678 2001-04-13  Juergen Vigna  <jug@sad.it>
16679
16680         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16681         (LyXTabular): tried to minimize operator= operations (and realized
16682         hopfully Lars wish).
16683
16684 2001-04-27  Juergen Vigna  <jug@sad.it>
16685
16686         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16687
16688 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16689
16690         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16691
16692         * buffer.C (readInset): hack to make listof algorithm work
16693
16694         * BufferView_pimpl.C: hack to make listof algorithm work
16695
16696 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16697
16698         * LyXAction.C: removed all !NEW_INSETS cruft
16699         (init): moved lfun_item in method
16700
16701         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16702
16703 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16704
16705         * BufferView2.C (theLockingInset): white space.
16706
16707 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16708
16709         * minibuffer.C: include <iostream>
16710
16711         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16712
16713         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16714
16715         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16716
16717         * text.[Ch] (TransposeChars): new method
16718
16719 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16720
16721         * call message directly through LyXView instead of through LyXFunc
16722         * BufferView2.C: adjust
16723         * BufferView_pimpl.C: adjust
16724         * FontLoader.C: adjust
16725         * buffer.C: adjust
16726         * bufferview_funcs.C: adjust
16727         * converter.C: adjust
16728         * figureForm.C: adjust
16729         * importer.C: adjust
16730         * lyx_cb.C: adjust
16731         * lyx_gui_misc.C: adjust
16732         * lyxfunc.C: adjust
16733         * lyxvc.C: adjust
16734         * text2.C: adjust
16735         + more files in subdirs
16736
16737         * lyxparagraph.h (size): move up int file
16738         (GetLayout): ditto
16739
16740         * adjust all uses of Assert to lyx::Assert.
16741
16742         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16743         lyxfunctional in namespace lyx
16744         * layout.C (hasLayout): ditto
16745         (GetLayout): ditto
16746         (GetLayout): ditto
16747         (delete_layout): ditto
16748         (NumberOfClass): ditto
16749         * converter.C (GetFormat): ditto
16750         (GetNumber): ditto
16751         (Add): ditto
16752         (Delete): ditto
16753         (SetViewer): ditto
16754         * bufferlist.C (getFileNames): ditto
16755         (emergencyWriteAll): ditto
16756         (exists): ditto
16757         (getBuffer): ditto
16758         * MenuBackend.C (hasSubmenu): ditto
16759         (hasMenu): ditto
16760         (getMenu): ditto
16761         * BufferView_pimpl.C (getInsetByCode): ditto
16762
16763 2001-04-18  Juergen Vigna  <jug@sad.it>
16764
16765         * vspace.C (asLatexString): fixed the 100% problem.
16766
16767 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16768
16769         * lyxfunc.C (Dispatch):
16770         * minibuffer.C:
16771         * minibuffer.h: add a few std:: qualifiers
16772
16773 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16774
16775         * minibuffer.[Ch]: reimplement so that commands is initiated and
16776         run from lyxfunc, simplified som handling, and made the completion
16777         and history code for complete. wip.
16778
16779         * lyxfunc.C (processKeySym): call message
16780         (miniDispatch): new temporary method
16781         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16782         (LFUN_MESSAGE): implement
16783         (LFUN_MESSAGE_PUSH): implement
16784         (LFUN_MESSAGE_POP): implement
16785         (initMiniBuffer): the initial/defualt minibuffer message.
16786
16787         * lyxfont.[Ch]: inline some more getters
16788
16789         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16790
16791         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16792
16793         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16794         (AutoSave): use LFUN_MESSAGE
16795         (Reconfigure): ditto
16796
16797         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16798
16799         * figureForm.C: use LFUN_MESSAGE
16800
16801         * converter.C (runLaTeX): use LFUN_MESSAGE
16802
16803         * bufferview_funcs.C: use LFUN_MESSAGE
16804         (Melt): ditto
16805         (changeDepth): ditto
16806
16807         * bufferparams.h: use boost::
16808
16809         * bufferlist.h: inherit privately from noncopyable
16810
16811         * bufferlist.C (loadLyXFile): remove some commented code.
16812
16813         * buffer.C (runChktex): use LFUN_MESSAGE
16814
16815         * ShareContainer.h: inherit privately from noncopyable
16816
16817         * ParagraphParameters.[hC] (depth): inline it.
16818
16819         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16820         methods.
16821         (message): new method
16822         (messagePush): ditto
16823         (messagePop): ditto
16824         (show): init minibuffer
16825         (showState): direct call
16826
16827         * LaTeX.[Ch]: inherit privately from noncopyable
16828         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16829         instead of WriteStatus.
16830
16831         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16832
16833         * BufferView_pimpl.C (buffer): don't init minibuffer
16834         (workAreaButtonPress): use LFUN_MESSAGE
16835         (workAreaButtonRelease): ditto
16836         (savePosition): ditto
16837         (restorePosition): ditto
16838         (MenuInsertLyXFile): ditto
16839         (workAreaExpose): don't init minibuffer
16840         (update): remove commented code, simplify
16841
16842         * BufferView2.C (openStuff): use LFUN_MESSAGE
16843         (toggleFloat): ditto
16844         (menuUndo): ditto
16845         (menuRedo): ditto
16846         (copyEnvironment): ditto
16847         (pasteEnvironment): ditto
16848         (copy): ditto
16849         (cut): ditto
16850         (paste): ditto
16851         (gotoInset): ditto
16852         (updateInset): remove some commented code
16853
16854         * lastfiles.h: inherit privately from noncopyable
16855         * layout.h: ditto
16856         * lyx_gui.h: ditto
16857         * lyx_main.h: ditto
16858         * lyxlex.h: ditto
16859         * lyxlex_pimpl.h: ditto
16860
16861         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16862         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16863         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16864
16865         * LyXAction.h: inherit privately from noncopyable, add methods
16866         func_begin, func_end, returning iterators to the func map.
16867
16868         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16869         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16870         (func_begin): new method
16871         (func_end): new method
16872
16873         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16874         and not)
16875         (copySelection): ditto
16876         (pasteSelection): ditto
16877
16878         * BufferView.C: whitespace change
16879         * BufferView.h: inherit privately from noncopyable
16880
16881 2001-04-16  Allan Rae  <rae@lyx.org>
16882
16883         * tabular-old.C (l_getline):
16884         * spellchecker.C (sc_check_word):
16885         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16886         an unrecognised preprocessor directive.  So ensure they're wrapped.
16887
16888 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16889
16890         * src/exporter.C (Export): Give an error message when path to file
16891         contains spaces.
16892
16893 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16894
16895         * LaTeX.C (deplog): Always check that foundfile exists.
16896
16897 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16898
16899         * lyx_main.h:
16900         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16901
16902 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16903
16904         * tabular.[Ch] (getLabelList): implement new method
16905
16906         * minibuffer.h: comment ouf setTiimer
16907
16908         * minibuffer.C (ExecutingCB): constify res
16909         (peek_event): constify s
16910         (Set): constify ntext
16911         (Init): constify nicename
16912
16913         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16914
16915         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16916         (savePosition): use two params to Minibuffer::Set
16917         (restorePosition): ditto
16918
16919 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16920
16921         * lyx_main.C: include language.h
16922
16923         * Makefile.am (lyx_main.o): add language.h
16924
16925 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16926
16927         * exporter.C:
16928         * paragraph.C:
16929         * screen.C:
16930         * tabular.C:
16931         * CutAndPaste.C: include gettext.h
16932
16933         * lyxfont.h: remove old hack with ON and OFF.
16934
16935         * lyxparagraph.h:
16936         * lyxfont.h: do not include language.h...
16937
16938         * BufferView2.C:
16939         * LaTeXFeatures.C:
16940         * Painter.C:
16941         * bufferview_funcs.C:
16942         * font.C:
16943         * lyxfont.C:
16944         * text.C:
16945         * text2.C:
16946         * trans_mgr.C:
16947         * paragraph.C: ... but do it here instead
16948
16949 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16950
16951         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16952
16953         * tabular.C: small reformat
16954
16955         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16956         NEW_INSETS version
16957         (GetChar): ditto
16958         (BreakParagraph): ditto
16959         (SetOnlyLayout): ditto
16960         (SetLayout): ditto
16961
16962         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16963         with one arg less.
16964
16965         * lastfiles.C: removed most using decl, add std:: where needed
16966
16967         * buffer.C: ws changes
16968
16969         * MenuBackend.C (class compare_format): put into anon namespace
16970         (expand): constify label, names, action, action2
16971         (expand):
16972
16973         * text.C (SingleWidth): constify font
16974         (IsBoundary): constify rtl2
16975         (GetVisibleRow): constify ww
16976
16977         * LaTeX.C (deplog): constify logfile
16978
16979         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16980         start_x, end_x
16981         (workAreaExpose): constify widthChange, heightChange
16982
16983         * lyxrow.C (par): moved
16984         (height): moved
16985         (next): moved
16986         * lyxrow.h: as inlines here
16987
16988         * lyxfont.h (shape): moved from lyxfont.C
16989         (emph): moved from lyxfont.C
16990
16991         * lyxfont.C (LyXFont): use initialization list for all
16992         constructors
16993         (shape): move to lyxfont.h as inline
16994         (emph): move to lyxfont.h as inline
16995
16996
16997 2001-04-04  Juergen Vigna  <jug@sad.it>
16998
16999         * vspace.C: had to include stdio.h for use of sscanf
17000
17001 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17002
17003         * BufferView.h:
17004         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17005         independent of xforms.
17006
17007 2001-04-02  Juergen Vigna  <jug@sad.it>
17008
17009         * spellchecker.C: fixed namespace placing!
17010
17011 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17012
17013         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17014         the LyXParagraph * is 0.
17015
17016 2001-03-29  Juergen Vigna  <jug@sad.it>
17017
17018         * vspace.C: added support for %, c%, p%, l%.
17019         (stringFromUnit): added helper function.
17020         (asLatexString): changed to give right results for the %-values.
17021
17022         * buffer.C: convert the widthp in a width%.
17023
17024 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17025
17026         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17027         figureForm.[Ch].
17028
17029         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17030         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17031
17032         * lyx_cb.[Ch]: see above.
17033
17034         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17035         form1.[Ch].
17036
17037         * form1.[Ch]:
17038         * lyx.[Ch]: replaced by figure_form.[Ch].
17039
17040         * lyx_gui.C:
17041         * lyx_gui_misc.C:
17042         * lyxfunc.C: changed headers associated with above changes.
17043
17044 2001-03-27  Juergen Vigna  <jug@sad.it>
17045
17046         * BufferView_pimpl.C: set the temporary cursor right!
17047
17048 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17049
17050         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17051
17052 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17053
17054         * LString.h: removed "using std::getline"!
17055
17056         * BufferView_pimpl.C (Dispatch): changes due to changes in
17057         InsetInclude::Params.
17058
17059         * buffer.C (tag_name): removed redundant break statements as they were
17060         producing lots of warnings with my compiler.
17061
17062 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17063
17064         * LString.h: add "using std::getline" when using the real <string>.
17065
17066 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
17067
17068         * buffer.C: removed bitset usage.
17069         PAR_TAG moved to an anonymous name space.
17070         (tag_name): new funtion, also in the anonymous namespace.
17071         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17072         (makeDocBookFile): clean code. Completed transition from string arrays
17073         to string vectors.
17074         (SimpleDocBookOnePar): code clean.
17075
17076 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17077
17078         * tabular.C: add some comments.
17079
17080 2001-03-22  Juergen Vigna  <jug@sad.it>
17081
17082         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17083         compatibility read a bit and fixed bug with minipage in different
17084         depth.
17085
17086 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
17087
17088         * buffer.C (pop_tag): removed.
17089         (push_tag): removed.
17090         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17091         array replaced with vector. Added support for CDATA sections.
17092         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17093         at any nest level.
17094         (makeDocBookFile): XML conformant declaration of CDATA section,
17095         fixed bug related to <emphasis> in the first paragraph char.
17096         (sgmlOpenTag): exclude empty tags.
17097         (sgmlCloseTag): ditto.
17098
17099         * buffer.h (pop_tag): removed.
17100         (push_tag): removed.
17101
17102 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17103
17104         * language.h (Languages): added size_type and size().
17105
17106 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17107
17108         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17109         response on compability reading of minipages. One probliem is that
17110         the old usage of minipages was «flertydig»
17111
17112         * several files here and in subdirs: don't use static at file
17113         scope use anon namespaces instead.
17114
17115 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17116
17117         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17118         LaTeX output. This is necessary for Literate document
17119         processing.
17120
17121 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17122
17123         * buffer.C: insert hfill when needed.
17124
17125         * tabular.C (l_getline): use string::erase, small whitespace change.
17126
17127         * BufferView_pimpl.C: try the anon namespace.
17128         * WorkArea.C: ditto
17129
17130 2001-03-16  Juergen Vigna  <jug@sad.it>
17131
17132         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17133         otherwise it won't open options-dialogs.
17134
17135         * buffer.C: honor pextraWidth(p) on converting minipages.
17136
17137         * tabular.C (l_getline): changed the functions to strip trailing \r.
17138
17139 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17140
17141         * BufferView_pimpl.C:
17142         * minibuffer..C: added "using SigC::slot" declaration.
17143
17144 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17145
17146         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17147
17148         * text2.C: ditto
17149
17150         * text.C: ditto
17151
17152         * paragraph.C: ditto
17153
17154         * lyxtext.h: NO_PEXTRA
17155
17156         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17157
17158         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17159         * ParameterStruct.h: ditto
17160         * ParagraphParameters.h: ditto
17161         * lyxparagraph.h: ditto
17162
17163 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17164
17165         * buffer.C: add compability for minipage alignment.
17166         (latexParagraphs): remove unwanted pextra check.
17167
17168         * several files: remove CXX_WORKING_NAMESPACES
17169
17170         * buffer.C (pop_tag): tie is in namespace boost
17171
17172         * BufferView.h: noncopyable is in namespace boost
17173         * lyxlex.h: ditto
17174         * lyx_main.h: ditto
17175         * lyx_gui.h: ditto
17176         * layout.h: ditto
17177         * lastfiles.h: ditto
17178         * bufferlist.h: ditto
17179         * ShareContainer.h: ditto
17180         * LyXView.h: ditto
17181         * LyXAction.h: ditto
17182         * LaTeX.h: ditto
17183
17184 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17185
17186         * Merging changes from BRANCH_MVC back into HEAD.
17187
17188         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17189
17190 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17191
17192         * BufferView_pimpl.C: change from intl.C
17193
17194         * combox.h:
17195         * combox.C:
17196         * Makefile.am: move combox.*
17197
17198         * form1.h:
17199         * form1.C:
17200         * lyx_gui.C:
17201         * intl.h:
17202         * intl.C: remove dialog (covered by prefs)
17203
17204 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17205
17206         * lyxfunc.C (Dispatch): removed redundant break statement.
17207
17208 2001-03-14  Juergen Vigna  <jug@sad.it>
17209
17210         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17211
17212 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17213
17214         * buffer.C: add hack to fix compability reading of minipages.
17215
17216 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17217
17218         * buffer.C (getLists): Cleanup.
17219
17220 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17221
17222         * lyxfont.C (update): don't honor toggleall on font size.
17223
17224 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17225
17226         * bmtable.c:
17227         * bmtable.h:
17228         * Makefile.am: moved to frontends/xforms/
17229
17230         * lyx_gui_misc.C:
17231         * lyxfunc.C:
17232         * BufferView_pimpl.C: changes for moved mathpanel
17233
17234 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17235
17236         * gettext.h: fix gettext_init() in --disable-nls
17237
17238 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17239
17240         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17241
17242 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17243
17244         * lyx.C:
17245         * lyx.h: strip external form
17246
17247 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17248
17249         * BufferView_pimpl.C: add comment, destroySplash()
17250
17251 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17252
17253         * BufferView_pimpl.C:
17254         * LyXAction.C:
17255         * buffer.C:
17256         * commandtags.h:
17257         * lyxfunc.C: use re-worked insetinclude
17258
17259 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17260
17261         * buffer.C: add using std::stringstream.
17262
17263         * lyx_cb.C: readd using std::ios.
17264
17265         * buffer.C: add using std::map.
17266
17267         * BufferView_pimpl.C: add using std::vector.
17268
17269         * ShareContainer.h: add std:: to swap.
17270
17271         * buffer.h: add some typedefs
17272         * buffer.C (getLists): use them
17273         (getLists): renamed from getTocList.
17274         add a counter for the different float types and use it in the
17275         generated string.
17276         (getLists): use the same counter for the NEW_INSETS and the "non"
17277         NEW_INSETS
17278
17279         * lyx_cb.h: remove unused items, includes, using etc.
17280
17281         * ShareContainer.h: remove some commented code, add more comments
17282         and "documentation".
17283
17284 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17285
17286         * buffer.C (getTocList): make the list also when NEW_INSETS is
17287         defined.
17288
17289         * buffer.h: remove TocType
17290
17291         * buffer.C (getTocList): change to return a map<string,
17292         vector<TocItem> >, implement for dynamic number of list.
17293
17294         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17295         * text2.C (PasteSelection): adjust
17296         * CutAndPaste.C (pasteSelection): adjust
17297
17298         * FloatList.C (FloatList): update from the new_insets branch.
17299         * Floating.[Ch]: ditto
17300         * LaTeXFeatures.C: ditto
17301         * buffer.C: ditto
17302         * lyxlex_pimpl.C: ditto
17303
17304         * paragraph.C (Last): remove when NEW_INSETS is defined.
17305
17306         * other file: changes because of the above.
17307
17308 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17309
17310         * lyxparagraph.h: rename next to next_, previous to previous_,
17311         make them private for NEW_INSETS. Rename Next() to next(),
17312         Previous() to previous().
17313
17314         * other files: changes because of the above.
17315
17316 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17317
17318         * BufferView.h:
17319         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17320         problem.
17321
17322 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17323
17324         * main.C (main): pass lyx_localedir to gettext_init().
17325
17326         * gettext.h: remove locale_init and gettext_init macros
17327
17328         * gettext.C (locale_init): new function
17329         (gettext_init): new function
17330
17331         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17332         setlocale().
17333
17334 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17335
17336         * Moved credits to frontends:
17337         * credits.[Ch]: removed
17338         * credits_form.[Ch]: removed
17339         * lyx_gui_misc.C: remove credits stuff
17340         * Makefile.am:
17341
17342 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17343
17344         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17345
17346         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17347         unneeded destructor.
17348
17349         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17350         a standalone pointer again.
17351
17352         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17353
17354 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17355
17356         * Makefile.am:
17357         * filedlg.h:
17358         * filedlg.C:
17359         * LyXAction.C:
17360         * ToolbarDefaults.C:
17361         * bufferlist.C:
17362         * commandtags.h:
17363         * form1.C:
17364         * form1.h:
17365         * lyx_cb.C:
17366         * lyx_cb.h:
17367         * lyxfunc.h:
17368         * lyxfunc.C:
17369         * BufferView_pimpl.C: use new file dialog in GUII
17370
17371         * lyx_cb.h:
17372         * lyx_cb.C: remove LayoutsCB to Toolbar
17373
17374 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17375
17376         * ShareContainer.h (get): add std:: qualifier
17377
17378 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17379
17380         * ShareContainer.h: define a proper ShareContainer::value_type
17381         type (and use typename to please compaq cxx)
17382
17383 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17384
17385         * lyxparagraph.h: move serveral local vars to
17386         ParameterStruct/ParagraphParameters., use ShareContainer in
17387         FontTable., make vars in FontTable private and add getter and
17388         setter.
17389
17390         * paragraph.C: changes because of the above.
17391
17392         * lyxfont.h: remove copy constructor and copy assignment. (the
17393         default ones is ok), move number inside FontBits. move inlines to
17394         lyxfont.C
17395
17396         * lyxfont.C: add number to initializaton of statics, move several
17397         inlines here. constify several local vars. some whitespace
17398         cleanup. Dont hide outerscope variables.
17399
17400         * Spacing.h: add two new constructors to match the set methods.
17401
17402         * ShareContainer.h: new file, will perhaps be moved to support
17403
17404         * ParameterStruct.h: new file
17405
17406         * ParagraphParameters.h: new file
17407
17408         * ParagraphParameters.C: new file
17409
17410         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17411         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17412
17413         * BufferView_pimpl.C: ParagraphParameter changes.
17414         * buffer.C: Likewise.
17415         * bufferview_funcs.C: Likewise.
17416         * text.C: Likewise.
17417         * text2.C: Likewise.
17418
17419 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17420
17421         * lyxfind.C (LyXReplace): do not redefine default argument in
17422         implementation.
17423         (IsStringInText): ditto
17424         (SearchForward): ditto
17425         (SearchBackward): ditto
17426
17427 2001-03-06  Juergen Vigna  <jug@sad.it>
17428
17429         * lyxfind.C (IsStringInText): put parentes around expressions.
17430
17431 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17432
17433         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17434
17435 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17436
17437         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17438
17439         * stl_string_fwd.h: add comment
17440
17441         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17442
17443         * tabular.h:
17444         * tabular.C: remove unused DocBook methods
17445
17446         * intl.C:
17447         * language.C:
17448         * paragraph.C:
17449         * buffer.C:
17450         killed DO_USE_DEFAULT_LANGUAGE
17451
17452 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17453
17454         * lyx_gui.C: do not include language.h.
17455
17456         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17457         arguments in function implementation.
17458
17459 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17460
17461         * BufferView_pimpl.C: add <ctime>
17462
17463 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17464
17465         * BufferView_pimpl.C: add using std::find_if
17466
17467 2001-02-27  José Matos  <jamatos@fep.up.pt>
17468
17469         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17470         by OnlyPath.
17471
17472 2001-02-11  José Matos  <jamatos@fep.up.pt>
17473
17474         * buffer.C (makeDocBookFile): command styles now have a parameter as
17475         "title" by default.
17476
17477 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17478
17479         * layout_forms.[Ch]: removed
17480         * lyx_cb.[Ch]: out character
17481         * lyx_gui.C: out character
17482         * lyx_gui_misc.C: out character
17483         * bufferview_funcs.C: : out character,
17484         added toggleall as parameter in ToggleAndShow
17485
17486 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17487
17488         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17489
17490         * text2.C (SetCurrentFont): Disable number property at boundary.
17491
17492 2001-02-26  Juergen Vigna  <jug@sad.it>
17493
17494         * lyxfunc.C (getStatus): added a string argument override function so
17495         that this is correctly called from LyXFunc::Dispatch if it contains a
17496         do_not_use_argument which is used!
17497         (Dispatch): added check for "custom" export and call appropriate func.
17498
17499 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17500
17501         * lyxrc.C: Add language_command_local, language_use_babel and
17502         language_global_options.
17503
17504         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17505
17506         * buffer.C (makeLaTeXFile): Use language_use_babel and
17507         language_global_options.
17508
17509 2001-02-23  Juergen Vigna  <jug@sad.it>
17510
17511         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17512         which works with LyXText and putted it inside BufferView. Here now we
17513         only call for that part the BufferView::Dispatch() function.
17514
17515         * BufferView.C (Dispatch): added.
17516
17517         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17518         functions which needs to use a LyXText over from LyXFunc.
17519         (MenuInsertLyXFile): added
17520         (getInsetByCode): added
17521         (moveCursorUpdate): added
17522         (static TEXT): added
17523
17524 2001-02-22  Juergen Vigna  <jug@sad.it>
17525
17526         * BufferView_pimpl.C (update): call a status update to see if LyXText
17527         needs it.
17528
17529 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17530
17531         * vc-backend.C (revert): implement for CVS
17532         (getLog): implement for CVS
17533
17534 2001-02-20  Juergen Vigna  <jug@sad.it>
17535
17536         * text2.C (ClearSelection): added BufferView param for inset_owner call
17537
17538         * lyxfunc.C (TEXT): added this function and use it instead of
17539         directly owner->view()-text of getLyXText().
17540
17541 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17542
17543         * src/layout_forms.C: out preamble
17544         * src/layout_forms.h: out preamble
17545         * src/lyx_cb.C: out preamble
17546         * src/lyx_cb.h: out preamble
17547         * src/lyx_gui.C: out preamble
17548         * src/lyx_gui_misc.C: out preamble
17549         * src/lyxfunc.C: connect with guii preamble
17550
17551 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17552
17553         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17554
17555 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17556
17557         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17558         whether to run bibtex.
17559
17560 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17561
17562         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17563
17564 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17565
17566         * Makefile.am (lyx_SOURCES): removed bibforms.h
17567
17568         * vspace.h: doxygen
17569
17570         * text.C (GetVisibleRow): make several local vars const
17571
17572         * tabular.C: small cleanup.
17573
17574         * lyxserver.C (callback): use compare instead of strncmp
17575
17576         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17577         inlines to after class or to paragraph.C
17578
17579         * lyxfont.h: remove friend operator!=
17580
17581         * converter.h: move friend bool operator< to non friend and after
17582         class def.
17583
17584         * combox.h: small cleanup
17585
17586         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17587         to inlines after class def.
17588
17589         * buffer.C (pop_tag): use string operations instead of strcmp
17590
17591         * bmtable.c: doxygen, small cleanup
17592
17593         * LaTeX.h: remove friend operator==
17594
17595 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17596
17597         * screen.C:
17598         * lyxrc.[Ch]:
17599         * lyxfunc.C:
17600         * lyxfont.[Ch]:
17601         * lyx_cb.C:
17602         * intl.[Ch]:
17603         * commandtags.h:
17604         * buffer.C:
17605         * WorkArea.[Ch]:
17606         * LyXAction.C:
17607         * BufferView_pimpl.C:
17608         * BufferView.[Ch]: remove cruft
17609
17610 2001-02-14  Juergen Vigna  <jug@sad.it>
17611
17612         * lyxfunc.C: removed #if 0 unused code
17613
17614         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17615
17616         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17617
17618         * text2.C (SetSelection): added a BufferView * parameter
17619
17620 2001-02-13  Juergen Vigna  <jug@sad.it>
17621
17622         * lyxfunc.C (Dispatch): fixed protected blank problem.
17623         * BufferView2.C (protectedBlank): added LyxText * parameter.
17624
17625         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17626         (AppendColumn): same as above for column_info.
17627
17628         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17629         (moveCursorUpdate): use a LyXText param for support of InsetText.
17630
17631         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17632         (tripleClick): ditto
17633
17634         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17635
17636         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17637
17638         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17639
17640         * text2.C (SetSelection): set correct update status if inset_owner
17641         (ToggleFree): ditto
17642
17643 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17644
17645         * tabular.C: remove some commented code.
17646
17647 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17648
17649         * BufferView_pimpl.C: call hideSplash()
17650
17651         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17652
17653         * include_form.h:
17654         * bibforms.h: remove
17655
17656         * lyxfunc.C:
17657         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17658           add LFUN_CHILD_CREATE
17659
17660         * counters.h: fix tiny typo
17661
17662         * lyx_cb.C:
17663         * lyx.h:
17664         * lyx_gui.C:
17665         * lyx.C: move splash to frontends/xforms/
17666
17667         * lyx_gui_misc.C: move Include and Bibform to frontends
17668
17669         * lyxvc.h: clarify comment
17670
17671         * vspace.C: tiny housekeeping
17672
17673 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17674
17675         * text.C (PrepareToPrint): RTL Fix.
17676
17677         * paragraph.C (GetUChar): New method.
17678         (String):  Use GetUChar.
17679
17680         * buffer.C (asciiParagraph): Use GetUChar.
17681
17682 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17683
17684         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17685
17686 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17687
17688         * buffer.h:
17689         * buffer.C: rename to getLogName(), handle
17690           build log / latex log nicely
17691
17692 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17693
17694         * MenuBackend.C:
17695         * MenuBackend.h: remove support for reference menuitem type.
17696
17697 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17698
17699         * BufferView_pimpl.C: housekeeping
17700         * BufferView_pimpl.h:
17701         * LyXView.h:
17702         * Makefile.am:
17703         * Timeout.C:
17704         * Timeout.h:
17705         * minibuffer.h: move Timeout GUI-I
17706
17707 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17708
17709         * lyxrc.C (read): Update converters data-structures.
17710
17711 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17712
17713         * LaTeX.h (operator!=): add operator != for Aux_Info
17714
17715 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17716
17717         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17718
17719         * LaTeXLog.C: deleted, useful code moved to Buffer
17720
17721         * buffer.h:
17722         * buffer.C: new function getLatexLogName()
17723
17724         * lyx_gui_misc.C:
17725         * lyx_gui.C:
17726         * lyxvc.C:
17727         * lyxvc.h:
17728         * lyxfunc.C: use frontends for LaTeX and VC logs
17729
17730 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17731
17732         * LaTeX.h: yet another std:: that Allan forgot.
17733
17734         * Variables.C (set): renamed from isset(), because this clashes
17735         with some HP-UX macros (grr).
17736
17737 2001-02-06  Allan Rae  <rae@lyx.org>
17738
17739         * LaTeX.h: Another bug fix.  Missing std:: this time.
17740
17741 2001-02-04  Allan Rae  <rae@lyx.org>
17742
17743         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17744         floats problem. I've left it commented out because it's not quite
17745         correct.  It should also test that the current object is a table or
17746         figure inset.  But I haven't gotten around to figuring out how to do
17747         that.  I *think* it'll be something like: "table" == inset.type()
17748
17749         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17750         bool.
17751
17752 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17753
17754         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17755         all the citation/databases/styles in the auxilary file.
17756         (run): Rerun latex if there was a babel language error.
17757
17758 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17759
17760         * text.C (Backspace): Preserve the font when changing newline char
17761         with a space.
17762         (BreakParagraph): If the cursor is before a space, delete the space.
17763
17764         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17765
17766 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17767
17768         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17769         new argument (code).
17770         (ChangeCitationsIfUnique): New method.
17771
17772         * paragraph.C (GetPositionOfInset): Handle bibkey.
17773
17774 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17775
17776         * BufferView_pimpl.h: change type of Position::par_pos to
17777         LyXParagraph::size_type.
17778
17779 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17780
17781         * BufferView_pimpl.C (savePosition, restorePosition): Write
17782         messages to minibuffer.
17783
17784 2001-01-28  José Matos  <jamatos@fep.up.pt>
17785
17786         * buffer.C (makeDocBookFile): adds support for document language.
17787         A silly restriction on the name of LatexCommand types where removed.
17788         Added support for CDATA sections, allows to chars unescaped, used
17789         among others in code, to avoid escape < and >.
17790
17791 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17792
17793         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17794         saved positions instrad of a stack. Furthermore, a position is
17795         stored using paragraph id/paragraph position.
17796
17797         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17798         Remove LFUN_REF_BACK.
17799
17800 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17801
17802         * converter.C (dvipdfm_options): New method.
17803
17804 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17805
17806         * vspace.C (isValidLength): Fix for empty input string.
17807
17808 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17809
17810         * LyXAction.C (init): change description of LFUN_FIGURE to
17811         "Insert Graphics"
17812
17813 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17814
17815         * LaTeX.C: add using directive
17816
17817 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17818
17819         * MenuBackend.C (expand): Fix the sorting of the formats.
17820
17821 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17822
17823         * lyx_main.C: tiny error message fix
17824
17825 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17826
17827         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17828         calling fl_initialize(). This fixes the problem with ',' as
17829         decimal separator in text files.
17830
17831 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17832
17833         * trans.C (process): Fix the keymap bug.
17834
17835 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17836
17837         * LaTeX.C (scanAuxFiles): New method. Provides support for
17838         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17839         (scanLogFile) Scan for "run BibTeX" messages.
17840
17841         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17842         OT1 font encoding. Also, load the aecompl package if the ae
17843         package is loaded.
17844
17845         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17846
17847 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17848
17849         * texrow.C (increasePos): turn two error messages into debug
17850         messages.
17851
17852 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17853
17854         * LaTeX.C (scanAux): Handle the \@input macro.
17855         (runBibTeX): Use scanAux().
17856
17857         * language.C (latex_options_): New field.
17858
17859         * LaTeXFeatures.C (getMacros): Add language macros.
17860
17861         * buffer.C (makeLaTeXFile): Small fix.
17862
17863 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17864
17865         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17866
17867         * text2.C: add a using directive.
17868
17869 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17870
17871         * BufferView2.C:
17872         * lyx_gui_misc.h:
17873         * lyxfr1.C:
17874         * lyxfunc.C: kill LyXBell.
17875
17876 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17877
17878         * text.C (IsBoundary): Remove the error message
17879
17880         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17881
17882         * lyxrc.C (setDefaults): Correct initialization value for
17883         font_norm_type.
17884
17885 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17886
17887         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17888         gotoError().
17889
17890         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17891         and GotoNextNote().
17892
17893         * src/LyXAction.C: Added reference-next.
17894
17895         * text.C (InsertChar): Use contains instead of strchr.
17896
17897         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17898
17899 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17900
17901         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17902         alignment commands (when needed).
17903
17904         * text.C (InsertChar): Add ':' to number separator chars.