]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
bf9964534674c604d471918ab465566caa5456d4
[lyx.git] / src / ChangeLog
1
2 2005-05-07  André Pönitz  <poenitz@gmx.net>
3
4         * cursor.C (setSelection): open insets when selection is set there
5     to avoid crashs with cold coord cache
6
7 2005-05-07  André Pönitz  <poenitz@gmx.net>
8
9         * trans_mgr.C (insert): move cursor to the right after inserting
10   a char.
11
12 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13
14         * BufferView_pimpl.C (update): dampen some of the debug blabbering
15         * factory.C (readInset): ditto
16         * text.C, text2.C: ditto
17
18 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
19
20         * buffer.C: format incremented to 242. There is no file format per
21         se, but the "frenchb" language has been removed from lib/language
22         and has to be translated to "french" by lyx2lyx.
23
24 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
25
26         * cursor_slice.h, dociterator.h: add some documentation
27         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
28
29 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
30
31         * text.C (leftMargin): do not add identation to display() style
32         insets, because they are always centered (bug 1293).
33
34 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
35
36         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
37         formatted_time methods in support/lyxtime.
38
39 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
40
41         * toc.[Ch]: new method getGuiName, which is used by the frontends 
42         to set the toc combo (fixes bug 1870). Make TOC string translatable.
43
44 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
45
46         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
47         StableDocIterator const &)
48         * undo.C (recordUndo): use the above instead of cell.size() comparison
49         (fixes bug 1808; instructed by André).
50
51 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
52
53         * cursor_slice.h: 
54         * dociterator.h: Fix the assert when copying rows/cols in math
55
56 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
57
58         * BufferView_pimpl.C:
59         * LyXAction.C:
60         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
61
62         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
63         (findInset): new functions, refactored from goto Inset that return 
64         the position of a certain inset without setting the buffer's cursor
65         (by Jean-Marc); 
66         (gotoInset): rewrite to call findInset and then set the cursor
67         (by Jean-Marc).
68
69 2005-06-16  Angus Leeming  <leeming@lyx.org>
70
71         * lyxrc.C (output, read): wrap all input and output of paths with
72         calls to os::internal_path and os::external_path, respectively.
73         (output): wrap bind_file inside quotes.
74
75         * format.C (view): enable the viewer to use the '$$s' placeholder.
76
77 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
78
79         * LColor.[Ch] (getFromLaTeXName): new
80
81 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
82
83         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
84
85 2005-06-14  Angus Leeming  <leeming@lyx.org>
86
87         * lyx_main.C (init): ensure that the LyX binary dir is the first
88         element in the PATH on non-POSIX builds.
89
90 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
91
92         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
93
94 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
95
96         * rowpainter.C (paintInset, paintHebrewComposeChar)
97         (paintArabicComposeChar, paintChars): add a LyXFont argument.
98         (paintChars): use getFontSpan to reduce calls to getFont to a
99         minimum; use Paragraph::lookupChange instead of isXXXText.
100         (paintForeignMark): rename LyXFont argument.
101         (paintFromPos): pass a LyXFont object to the various paintXXX
102         methods.
103
104         * FontIterator.C (FontIterator, operator++): use
105         Paragraph::getFontSpan
106
107         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
108         version that returns the font span as a pair.
109
110 2005-06-09  Angus Leeming  <leeming@lyx.org>
111
112         * converter.C (convert): Don't forget "outfile = real_outfile" as
113         the final step in a conversion where the input and output file names
114         are the same. Otherwise, future conversion steps won't work...
115
116 2005-06-09  Angus Leeming  <leeming@lyx.org>
117
118         * lyxsocket.C: remove stub code as it isn't needed by
119         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
120
121 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
122
123         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
124         effectively disabled -x
125
126 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
127
128         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
129         when it actually makes sense.
130
131 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
132
133         * BufferView_pimpl.C: revert to showCursor in connection with
134         Lars's front-end stack
135
136 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
137
138         * text.C (redoParagraph): move cursor right after a bibitem
139         has been inserted.
140
141         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
142
143 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
144
145         * buffer_funcs.C (bufferErrors): fix computation of the end of an
146         error range.
147
148 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
149
150         * BufferView.[Ch] (update):
151         * BufferView_pimpl.[Ch] (update, metrics):
152         * dimension.h (operator==):
153         * lyxfunc.C (dispatch):
154         * metricsinfo.h (ViewMetricsInfo):
155         * rowpainter.C (paintText):
156         * lyxtext.h:
157         * text.C (redoParagraph):
158         * text3.C (dispatch): Make LyX only repaint current paragraph in
159         case of character insert --> speedup. Also fix cursor draw
160         artifacts
161
162 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
163
164         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
165         avoid a crash (bug 1891)
166
167 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
168
169         Fix bug 1892:
170
171         * text2.C (getStringToIndex): constify cur argument.
172
173         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
174         argument has been given
175         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
176         try to invoke LFUN_INSET_APPLY).
177
178         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
179         if no inset was created by doInsertInset
180         (doInsertInset): return true if an inset has been inserted.
181
182 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
183
184         * vspace.C (asGUIName): new method. A version of the space
185         suitable for showing on screen.
186
187 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
188
189         * MenuBackend.C:
190         * lyxrc.C: rename "ASCII" to "Plain Text"
191
192 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
193
194         * buffer_funcs.C (expandLabel): take a Buffer as argument;
195         translate the labelstring.
196         (setCounter): translate labelstring as needed.
197
198         * output_docbook.C (makeCommand): fix expandLabel invokation
199
200 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
201
202         * BufferView.C: fix dialog title
203
204 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
205
206         * lyx_main.C (priv_exec): fix logic error with help from Angus
207         * lyx_main.C (parse_execute): set is_gui = false and remove now
208         obsolete comment about a segfault
209
210 2005-05-18  Angus Leeming  <leeming@lyx.org>
211
212         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
213
214 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
215
216         * tabular.[hC]: added setCellInset to fix tabular paste.
217
218 2005-05-11  Lars Gullik Bjonnes  <larsbj@gullik.net>
219
220         * buffer.C (save): check if destination is writable before trying
221         to copy a file
222
223 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
224
225         * BufferView_pimpl.C (update): fix processEvents -caused update
226         recursion bug
227
228 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
229
230         * buffer_funcs.C (setCounter): fix test for numbering of
231         environments.
232
233         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
234         depth correctly; use optional argument when it exists
235
236         * lyxtextclass.C: remove unused MaxCounterTags enum
237         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
238         (max_toclevel, min_toclevel): new methods.
239
240         * MenuBackend.C (expandToc2): fix case where depth is smaller than
241         the smallest depth in toc.
242
243         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
244         layouts that should not appear in a table of contents.
245
246 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
247
248         * cursor.h (undispatched, noUpdate): add comments from André
249
250 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
251
252         * lfuns.h:
253         * LyXAction.C:
254         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
255
256 2005-05-07  André Pönitz  <poenitz@gmx.net>
257
258         * cursor.[Ch] (leaveInset): new function
259
260 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
261
262         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
263
264 2005-05-04  Angus Leeming  <leeming@lyx.org>
265
266         * lyxfunc.C (getStatus): disable the spell checker dialog if
267         none of USE_[AIP]SPELL are defined.
268
269 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
270
271         * tabular.C (setWidthOfCell): remove obsolete comment
272
273 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
274
275         * paragraph.C (bibitem):
276         * buffer_funcs.C (setCounter):
277         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
278
279 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
280
281         * text3.C (getStatus): immediately return after setOnOff
282
283         * rowpainter.C: fix drawing of appendix start
284
285 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
286
287         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
288         SwitchBetweenClasses and remove the unused return value.
289         Handle character styles, too
290
291 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
292
293         * factory.C (createInset): handle undefined character styles
294
295 2005-05-02  Angus Leeming  <leeming@lyx.org>
296
297         * buffer.C: protect the #include of utime.h with a preprocessor
298         guard.
299
300 2005-05-02  Angus Leeming  <leeming@lyx.org>
301
302         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
303         function so that auto-saving works, albeit in a blocking manner.
304
305         * Makefile.am: make compilation of the client sub directory, of
306         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
307         on conditionals set at configure time.
308
309         * SpellBase.[Ch]: no longer an abstract base class. Instead,
310         it can be compiled in its own right but has no-op functionality.
311
312         * aspell.C, pspell.C: remove preprocessor guards. The files should
313         be compiled only if the necessary functionality exists.
314
315         * lyxserver.C, lyxsocket.C: disable on Windows.
316
317 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
318
319         * text.C (leftMargin): Fix the parindent use bug (1764)
320         by dirty trick
321
322 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
323
324         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
325         argument.
326
327 2005-04-25  Angus Leeming  <leeming@lyx.org>
328
329         * Bidi.[Ch]:
330         * coordcache.[Ch]:
331         * ispell.C:
332         * lyxserver.C:
333         * mover.C:
334         * pch.h:
335         include <config.h> in .C files, not .h ones.
336         add licence blurb.
337         protect headers inside preprocessor guards.
338
339 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
340
341         * FuncStatus.h (StatusCodes): document
342
343 2005-04-21  André Pönitz  <poenitz@gmx.net>
344
345         * FuncStatus.h (enabled, onoff): document
346
347 2005-04-19  Angus Leeming  <leeming@lyx.org>
348
349         * BufferView_pimpl.C (cursorToggle): no longer test whether
350         any child processes have been reaped before calling
351         handleCompletedProcesses().
352
353 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
354
355         * text3.C (dispatch): fix, finally fix, the language problem in
356         new lyxtexts, without disabling on-the-fly font changes (Helge's
357         bug report)
358
359 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
360
361         * text3.C (dispatch): set cursor on double/triple click events
362         (bug 1811)
363
364 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
365
366         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
367         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
368
369         * rowpainter.C (paintFirst): simplify the code a little bit. In
370         particular, remove the test for secnumdepth.
371         * text.C (setHeightOfRow): only allocate space for chapter number
372         when updateCounters provided an actual label, instead of looking
373         at secnumdepth directly.
374
375         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
376
377         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
378         paragraphs when secnumdepth is large enough or, for environments,
379         when they are not the first in a sequence.
380
381 2005-04-17  Angus Leeming  <leeming@lyx.org>
382
383         * buffer.C (makeLaTeXFile): replace code to manipulate a path
384         containing space and '~' characters with a call to latex_path().
385
386 2005-04-17  Angus Leeming  <leeming@lyx.org>
387
388         * converter.C (convert): protect all args of convertDefault.sh
389         script with quotes.
390
391 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
392
393         * text3.C (dispatch): change the layout to "Caption" after inserting
394         a float.
395
396 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
397
398         * text3.C (dispatch): fix language problem in newly created
399         textinsets (and main text) in non-english docs
400
401 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
402
403         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
404         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
405         * text3.C (getStatus): disable LFUN_INSET_MODIFY
406
407 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
408
409         * lyxtext.h:
410         * text.C (metrics):
411         * text2.C (getFont):
412         * rowpainter.C (getFont): Fix metrics bug introduced by inset
413         fonts fix
414
415 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
416
417         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
418         output of \item arguments without trailing text.
419
420 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
421
422         * FontIterator.C (operator*): avoid a copy of the font.
423
424 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
425
426         * rowpainter.C (getFont): fix language bug from previous fix
427
428 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
429
430         * rowpainter.C (RowPainter, getFont): fix font inside inset
431         (bugs 1766, 1809)
432
433 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
434
435         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
436         preventing inserted font, deco, delim insets jumping to start of
437         surrounding inset.
438
439 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
440
441         * lyxfunc.C (dispatch): translate message before sending it to the
442         minibuffer.
443
444 2005-03-29  Angus Leeming  <leeming@lyx.org>
445
446         * lyx_main.C (priv_exec): call os::internal_path on each file passed
447         to LyX on the command line.
448
449 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
450
451         * vc-backend.C: use QuoteName to protect file names wherever
452         necessary.
453
454 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
455
456         * buffer.[Ch]:
457         * BranchList.h: fix bugs 1844,1845: document settings don't
458         stick
459
460 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
461
462         * lyxrc.C (setDefaults, read, output, getDescription): add support
463         for tex_allows_spaces.
464
465         * exporter.C (Export): allows files in directory containing spaces
466         if tex_allows_spaces is true.
467
468         * buffer.C (makeLaTeXFile): if the document path contains spaces,
469         output it in double quotes.
470
471 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
472
473         * rowpainter.C: use default text height for drawing change tracker
474         strikeout lines.
475
476 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
477
478         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
479
480 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
481
482         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
483         directory is missing.
484
485 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
486
487         * text2.C: fixed the fix, extended to other case.
488
489 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
490
491         * text2.C: fix for cursor up/down stuck in math [bug 1792]
492
493 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
494
495         * text2.C (cursorUp): get rid of a crash
496         * text.C (x2pos): add an assert
497
498 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
499
500         * lyxfunc.C (getStatus): fix warning when assertions are disabled
501
502         * text3.C:
503         * lyxfunc.C:
504         * dociterator.C: include <boost/current_function.hpp>, which is
505         needed when assertions are disabled.
506
507 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
508
509         * text2.C: fix for stuck cursor when traversing two
510         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
511
512 2005-02-25  Andreas Vox  <avox@arcor.de>
513
514         * output_docbook.C (makeParagraph): suppress trailing newline
515         after a run of paragraphs
516
517 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
518
519         * paragraph.C: fix for confused change tracker when pasting
520         text that begins with a lineseparator. [bug 1827]
521         (setChange(0, Change::INSERTED);)
522
523         * paragraph_funcs.C: fix for lost changes on triple-paste
524         in change tracking mode [bug 1827] (par.setChange()).
525
526 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
527
528         * text2.C (updateCounters, setCounter, expandLabel): move to
529         buffer_funcs.
530
531         * buffer_funcs.C (updateCounters): turn into a free standing
532         function and add a buffer parameter. Remove dead code for tracking
533         labelstring change.
534         (setCounter): change into a free-standing function which gets a
535         dociterator as argument. Use this iterator to fix captions in a
536         simple way. When no float is found above the caption, use the
537         labelstring of the caption layout as default.
538
539         * text.C (breakParagraph, backspace):
540         * text2.C (init, setLayout, changeDepth):
541         * text3.C (dispatch):
542         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
543         updateCounters.
544
545         * dociterator.C (forwardPar): make it much faster by calling
546         forwardPos() only when really necessary.
547
548         * output_docbook.C (makeCommand): adapt to expandLabel move.
549
550         * cursor.C: remove unused variable
551
552 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
553
554         * paragraph_funcs.C: fix crash when pasting insets in change
555         tracking mode [bug 1277] (honour change type in moveItem).
556
557 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
558
559         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
560
561 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
562
563         * BufferView.C (setCursor): change to use a DocIterator.
564         (gotoLabel): use BufferView::setCursor (other part of bug 781).
565         (putSelectionAt): adapt to BufferView::setCursor change.
566
567         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
568         moved here from LyXText and rewritten to use proper cursor
569         methods. Fixes bug 1787, 616 and 835.
570
571         * BufferView_pimpl.C (restorePosition): set the cursor correctly
572         when inside an inset (part of bug 781).
573         (dispatch): adapt to change of BufferView::setCursor.
574         (getStatus, dispatch): handle LFUN_GOTOERROR,
575         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
576
577         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
578         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
579         * text3.C (gotoNextInset, gotoInset): removed.
580
581 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
582
583         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
584
585 2005-02-15  Angus Leeming  <leeming@lyx.org>
586
587         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
588         can be used meaningfully in a comparison.
589
590 2005-02-13  André Pönitz  <poenitz@gmx.net>
591
592         * bufferview_funcs.C (coordOffset): improve cursor drawing
593
594 2005-02-13  André Pönitz  <poenitz@gmx.net>
595
596         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
597         * Cursor.C (dispatch): use fixIfBroken
598         * lyxfunc.C (getStatus): use fixIfBroken
599
600 2005-02-15  Angus Leeming  <leeming@lyx.org>
601
602         * lyx_main.C (error_handler):
603         * lyxfunc.C:
604         * lyxrc.C (setDefaults):
605         s/GetEnv/getEnv/.
606         #include "environment.h".
607
608         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
609
610 2005-02-15  Angus Leeming  <leeming@lyx.org>
611
612         * lyxserver.C (startPipe): squash MSVC warning "local variable
613         'fd' used without having been initialized".
614
615 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
616
617         * BufferView_pimpl.C: revert accidental commit.
618
619 2005-02-14  André Pönitz  <poenitz@gmx.net>
620
621         * dociterator.[Ch]: new member forwardPosNoDescent(),
622         which doesn't enter nested insets.
623         * text2.C (setFont): use forwardPosNoDescent() instead
624         of ForwardPos() (fixes crash on font change).
625
626 2005-02-13  Angus Leeming  <leeming@lyx.org>
627
628         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
629         only if lyxrc.path_prefix is not empty.
630
631 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
632
633         * bufferparams.C (readGraphicsDriver): prevent crash
634
635 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
636
637         * text2.C (setCounter): check for inInset() == 0
638
639 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
640
641         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
642         but use update() to get correct screen display; use convert
643         instead of istringstream.
644         (getStatus): handle LFUN_GOTO_PARAGRAPH
645
646         * lyxfunc.C (dispatch, getStatus): do not handle
647         LFUN_GOTO_PARAGRAPH here.
648
649 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
650
651         * text3.C (dispatch): size() -> depth()
652
653         * text2.C: remove some debug output
654
655         * paragraph.C: ws changes only
656
657         * lyxfunc.C (getStatus): size() -> depth()
658
659         * dociterator.h (clear, push_back, pop_back, internalData,
660         operator[], resize, empty): new functions
661         Make StableDocIterator and operator== be friends. Don't inherit
662         from std::vector use a privat class variable slices_ instead.
663         Modify to fit.
664
665         * dociterator.C: update because of not inheriting from std::vector
666         anymore. Call explictly to slices_ instead. Use depth() instead of
667         size() and top() instead of back()
668
669         * cursor.C: chagne size() -> depth and back() -> top(). Also
670         remove some direct operator[](i) calls in favour of foo[i]
671         (getFont): remove some dead code
672
673         * bufferview_funcs.C (coordOffset): size() -> depth()
674
675         * buffer.C: ws changes only
676
677         * CutAndPaste.C (eraseSelection): back() -> top()
678
679         * BufferView_pimpl.C (selectionRequested): back() -> top()
680
681         * BufferView.C (setCursor): size() -> depth()
682
683 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
684
685         * text3.C (cursorPrevious): return true if depm changed something
686         (cursorNext): ditto
687         (dispatch): rename sl to oldTopSlice, remove moving use the new
688         NoUpdate func attrib instead. Make sure that needsUpdate is set
689         for function that have NoUpdate, but where depm might have changed
690         the buffer anyway.
691
692         * text2.C (cursorLeft): make us return true if depm changed
693         something
694         (cursorRight): ditto
695         (cursorUpParagraph): ditto
696         (curosrDownParagraph): ditto
697         (cursorUp, cursorDown): ditto, make sure to read comments in code
698         (deleteEmptyParagraphMechanism): remove an assert, also return
699         true if just a single char was deleted.
700
701         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
702         cursor that we modify, to avoid modifying an active cursor before
703         we call setCursor. This allows depm to run. Also return true if
704         depm deleted something.
705
706         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
707         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
708         cursorDownParagraph, cursorPrevious and cursorNext, return true if
709         something was changed in the buffer because of them (ie. depm run)
710
711         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
712         debug messages. Make update by default be false. Make sure that
713         the result of update is retained throught several calls down to
714         dispatch.
715
716         * LyXAction.h: add a new func_attrib: NoUpdate
717
718         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
719         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
720         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
721         and LFUN_WORDLEFT
722         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
723
724 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
725
726         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
727         bv_->owner(), bv_->buffer() by direct references to the private
728         members.
729         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
730         (getStatus): isSavedPosition() is in BufferView::Pimpl.
731         (fitCursor): center() is in BufferView::Pimpl.
732         (getStatus, trackChanges, dispatch): no need for a temporary buf
733         variable
734         (fitCursor, workAreaDispatch): use workarea().workheight()
735
736 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
737
738         * CutAndPaste.C (pasteSelectionHelper): fix a crash
739
740 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
741
742         * buffer.C: format up to 241.
743         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
744         break if pasting into ERT
745         * lyxfunc.C (getStatus): suppress mathpanel and
746         LFUN_DIALOG_SHOW_NEW_INSET in ERT
747
748 2005-02-01  Angus Leeming  <leeming@lyx.org>
749
750         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
751
752 2005-02-01  Angus Leeming  <leeming@lyx.org>
753
754         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
755         calling fs::is_directory().
756
757 2005-01-31  Angus Leeming  <leeming@lyx.org>
758
759         * lyx_main.C (priv_exec): specify explicitly the relative location
760         of the top level build directory when run in-place.
761
762 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
763
764         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
765         LyXText containing the cursor, not the top-level one.
766
767         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
768         true.
769         (insertStringAsLines): rename par to pit; use temporary variable
770         par to hold a Paragraph; do not store par.layout() in a variable,
771         since the pointer may die when breaking paragraphs; pass pars to
772         breakParagraph() instead of Buffer::paragraphs().
773
774 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
775
776         * lyxlex_pimpl.h: #include <fstream>.
777
778         * BufferView.[Ch] (getLyXText): add a const version.
779
780         * BufferView_pimpl.C: add debug aids.
781
782         * RowList_fwd.h:
783         * buffer.h:
784         * lyxrow.h:
785         * paragraph_funcs.h: add commentary explaining what the class does.
786
787
788         * coordcache.[Ch]: add lots of commentary.
789         (startUpdating, doneUpdating): debug aids.
790         (arrays, insets, parPos, getParPos): accessors to private data.
791
792         * cursor_slice.[Ch] (text): add a const version.
793         * dociterator.[Ch] (text, innerText): add const versions.
794
795         * lyxtext.h (breakParagraph): change the keep_layout arg to a
796         bool.
797
798         * paragraph.C (getRow, pos2ros): add asserts.
799
800         * paragraph.h: add commentary. Lots of.
801
802         * paragraph.[Ch] (metrucs, draw): removed.
803
804         * cursor.C:
805         * rowpainter.[Ch]: const-correct changes.
806
807         * text.C: various obvious clean-ups. Removal of ancient cruft.
808         Bug fixes, even.
809
810 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
811
812         * vc-backend.C (find_file): rewrite to use boost.filesystem
813         (scanMaster): ditto
814
815         * main.C (main): set default name check for boost.filesystem to
816         no check
817
818         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
819         (open): ditto
820         (doImport): ditto
821         (actOnUpdatedPrefs): ditto
822
823         * lyx_main.C (init): rewrite to use boost.filesystem
824         (queryUserLyXDir): ditto
825
826         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
827         (getContentsOfAsciiFile): ditto
828
829         * lastfiles.C (readFile): rewrite to use boost.filesystem
830
831         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
832
833         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
834         (loadLyXFile): ditto
835
836         * buffer.C (Buffer): adjust for destroydir
837         (getLogName): rewrite to use boost.filesystem
838         (setFileName): ditto
839         (save): use fs::copy_file (from fs_extras)
840
841         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
842
843         * LaTeX.C (run): rewrite to use boost.filesystem
844         (scanAuxFiles): ditto
845         (handleFoundFile): ditto
846
847 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
848
849         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
850
851         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
852
853 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
854
855         * lyxlayout.[Ch]: change some vars from float to double
856
857         * buffer.C (readFile): make a local var const
858
859         * Several files: use convert<> instead of atoi,strToXXX and friends
860
861 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
862
863         * LaTeXFeatures.[Ch]: Add a static list packages_ that
864         holds the contents of packages.lst. New functions getAvailable
865         and isAvailable to parse and check that list, resp.
866
867         * LyXAction.C:
868         * lfuns.h:
869         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
870
871         * bufferparams.[Ch]: new param output_changes.
872
873         * Buffer.C: increase file format to 240.
874         Use output_changes and isVailable.
875
876         * changes.[Ch]:
877         * paragraph.C:
878         * paragraph_pimpl.C: Use output_changes and isVailable.
879
880 2005-01-23  Angus Leeming  <leeming@lyx.org>
881
882         * output_latex.C: #include "insetbibitem.h", rather than
883         forward declare function bibitemWidest.
884
885 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
886
887         * lyx_main.C (init): make it compile on the Mac.
888
889 2005-01-20  Angus Leeming  <leeming@lyx.org>
890
891         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
892         (setLyXMisc): (char string literal) != (char string literal) is
893         performing a comparison on the addresses. Convert one operand
894         explicitly to string to guarantee expected behaviour.
895         From MSVC warning.
896
897 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
898
899         * buffer.C:
900         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
901
902         * output_plaintext.C: remove unneeded #include gzstream.h.
903
904 2005-01-20  Angus Leeming  <leeming@lyx.org>
905
906         * SpellBase.h: rename some of the elements of the Result enum.
907
908         * aspell_local.h:
909         * ispell.h:
910         * pspell.h:
911         * aspell.C (check):
912         * ispell.C (check):
913         * pspell.C (check): ditto
914
915 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
916
917         * buffer.C: add #include <fstream>.
918
919         * lyx_main.C (init): Compile fix.
920
921         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
922
923 2005-01-20  Angus Leeming  <leeming@lyx.org>
924
925         * mover.h: change commentary to reflect the changed meaning of
926         the $$s placeholder.
927
928 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
929
930         * output_linuxdoc.C (linuxdocParagraphs): silence warning
931
932         * lyxfind.C (MatchString::operator()): remove bogus semicolon
933
934 2005-01-20  Angus Leeming  <leeming@lyx.org>
935
936         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
937         printing diagnostic data by not dereferecing an iterator past the
938         end.
939
940 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
941
942         * buffer.C (readHeader): use "&&" rather than "and".
943
944         * lyxserver.h (inPipeName, outPipeName): make these const.
945
946 2005-01-19  Angus Leeming  <leeming@lyx.org>
947
948         * lyx_main.C (error_handler, init): protect SIGHUP with
949         #ifdef SIGHUP guards.
950
951 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
952
953         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
954
955 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
956
957         * text.C (setHeightOfRow): add a margin at the top and bottom of
958         the document (bug 1761)
959
960 2005-01-17  Angus Leeming  <leeming@lyx.org>
961
962         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
963         with "python ". Workaround for a brain-dead Windows.
964
965 2005-01-16  Angus Leeming  <leeming@lyx.org>
966
967         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
968         for MacOSX and Windows to use prependEnvPath.
969         Strip out the hard-coded block to add elements to the PATH for
970         MacOSX and replace it with a call to prependEnvPath using the
971         contents of LyXRC::path_prefix.
972         (queryUserLyXDir): strip out the code to run reconfigure, instead
973         returning a boolean indicating the necessity to do so.
974         (reconfigureUserLyXDir): contains the code to reconfigure the
975         user support directory. Is now called after the various LyXRC data
976         files have been read.
977
978         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
979
980 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
981
982         * converter.[Ch] (convert): take a new parameter try_default. Use
983         a default converter (imagemagick) if try_default is true.
984
985 2005-01-13  Angus Leeming  <leeming@lyx.org>
986
987         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
988         os::cygwin_path_fix.
989         (write): output LyXRC::cygwin_path_fix as necessary.
990
991 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
992
993         * lyxrc.h:
994         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
995
996 2005-01-12  Angus Leeming  <leeming@lyx.org>
997
998         * lyx_main.C (init): set the PATH variable to include the
999         directory containing the LyX binary when running on Mac or Windows.
1000
1001 2005-01-12  Angus Leeming  <leeming@lyx.org>
1002
1003         * lyx_main.C (init): remove cruft that purports to set the locale
1004         dir. It doesn't and is not needed anyway.
1005
1006 2005-01-10  Angus Leeming  <leeming@lyx.org>
1007
1008         * Makefile.am: remove the lyx_main.C special casing.
1009
1010         * BufferView_pimpl.C:
1011         * bufferlist.C:
1012         * exporter.C:
1013         * lyx_cb.C:
1014         * lyx_main.C:
1015         * lyxfunc.C:
1016         * messages.C: use support/package.h to provide the paths to the
1017         various directories used by LyX.
1018
1019 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1020
1021         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1022         layout if pasting into an empty paragraph)
1023
1024 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1025
1026         * tex-accent.C: add <string>
1027
1028 2005-01-06  José Matos  <jamatos@lyx.org>
1029
1030         * ParagraphParameters.C (write): put every parameter in its own line.
1031         * paragraph.C (write): reduce number of consecutive empty lines exported.
1032         * buffer.C (LYX_FORMAT): increase file format to 239.
1033
1034 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1035
1036         * everywhere: change support/tostr.h -> support/convert.h
1037
1038         * tabular.C: make all write_attributes templates, tostr -> convert
1039
1040         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1041         (emptyTag): and -> &&, and fix type for ret from getChar
1042         (getFirstWord): fix type for ret from getChar
1043         (onlyText): and -> &&
1044         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1045         getChar
1046
1047         * toc.C (goTo, action):
1048         * text3.C (dispatch):
1049         * text.C (currentState):
1050         * tex-accent.C (DoAccent):
1051         * sgml.C:
1052         * lyxrc.C:
1053         * lyxfunc.C (menuNew):
1054         * lyxfinc.C (replace):
1055         * counters.C (laberItem):
1056         * bufferview_funcs.C (font2string):
1057         * bufferparams.C (writeFile):
1058         * buffer.C (readFile):
1059         * Spacing.C (set):
1060         * MenuBackend.C: tostr -> convert
1061
1062         * LaTeX.C (runMessage): fix format
1063         (scanAuxFiles): tostr -> convert
1064
1065         * BufferView_pimpl.C (savePosition): fix format
1066         (restorePosition): ditto
1067         (dispatch): ditto
1068
1069 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1070
1071         * Spacing.[Ch]: New method getValueAsString().
1072
1073         * Spacing.[Ch]:
1074         * bufferparams.C:
1075         * ParagraphParameters.C:
1076         * lyxlayout.C:
1077         * text.C:
1078         * text3.C: store/read spacing value as string.
1079
1080         * rowpainter.C: change float value (spacing_val) to double.
1081
1082         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1083         broken custom document spacing).
1084
1085 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1086
1087         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1088         namespace, also more use of temp references and const
1089
1090         * cursor.[Ch] (getStatus): move to lyxfunc.C
1091
1092         * bufferparams.C: reformat slightly
1093
1094         * bufferview_funcs.C (font2string): constify arg
1095
1096         * changes.C:
1097         * converter.C:
1098         * counters.C:
1099         * bufferlist.C:
1100         * buffer_funcs.C: (many funcs): constify arg on function
1101         definitions, also make more local vars const, also add ASSERTS on
1102         pointer args.
1103
1104         * buffer.C (LYX_FORMAT): put const in correct place
1105         (many funcs): constify arg on function definitions, also make
1106         more local vars const
1107
1108         * aspell_local.h: remove "struct" from typdef setup
1109
1110         * aspell.C (check): make word_ok const
1111         (nextMiss): simplify slightly
1112         (error): ditto
1113
1114 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1115
1116         * lyxrc.[Ch]: store all float values as strings.
1117         use int (not float) for lyxrc.dpi.
1118
1119 2005-01-04  Angus Leeming  <leeming@lyx.org>
1120
1121         * lyx_cb.C (Reconfigure):
1122         * lyx_main.C (queryUserLyXDir):
1123         to run the <system_lyxdir>/configure correctly on Windows, prefix
1124         the path to the script with "sh " when generating the string that
1125         is passed to system().
1126
1127 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1128
1129         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1130
1131 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1132
1133         * lyxlength.C (asLatexString): get rid of setprecision
1134
1135 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1136
1137         * text2.C (setLayout): remove unused variable endpit.
1138         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1139
1140         * paragraph.C (onlyText): remove unused variable style.
1141
1142         * cursor.C (bruteFind): remove unused variables beg and end.
1143
1144         * Makefile.am (dist_noinset_DATA): not needed anymore
1145
1146         * cheaders/*: remove.
1147
1148 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1149
1150         * text3.C: fix LFUN_MATH_MODE.
1151
1152 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1153
1154         * buffer_funcs.C (countWords): new function. Counts words between
1155         two iterators.
1156
1157         * BufferView_pimpl.C (getStatus, dispatch): handle
1158         LFUN_WORDS_COUNT.
1159
1160         * LyXAction.C (init):
1161         * lfuns.h: add LFUN_WORDS_COUNT.
1162
1163 2004-12-19  Angus Leeming  <leeming@lyx.org>
1164
1165         * buffer.C (save): s/slashify_path/internal_path/.
1166
1167 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1168
1169         * lyxfind.C (findChange): do not search for end of pars, because
1170         the change tracker cannot handle this (fixes bug 1719).
1171
1172 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1173
1174         * paragraph.[Ch] (autoBreakRows): remove
1175
1176         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1177
1178         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1179         avoid using the paragraph one
1180
1181         * text2.C (LyXText, insertStringAsLines): adjust
1182
1183 2004-12-16  Angus Leeming  <leeming@lyx.org>
1184
1185         * bufferlist.C:
1186         * lyx_main.C:
1187         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1188
1189 2004-12-14  Angus Leeming  <leeming@lyx.org>
1190
1191         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1192
1193         * bufferlist.C (emergencyWrite):
1194         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1195         GetEnvPath("HOME").
1196
1197 2004-12-14  Angus Leeming  <leeming@lyx.org>
1198
1199         * main.C: (main): no longer pass pointers to os::init.
1200
1201 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1202
1203         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1204         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1205
1206 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1207
1208         * lyxfunc.C:
1209         * text3.C: remove selection_possible global flag
1210
1211 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1212
1213         * text2.C (getSelectionSpan): remove
1214         (changeDepth, changeDepthAllowed): adjust
1215
1216 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1217
1218         * Makefile.am (BOOST_LIBS): use boost variables
1219
1220 2004-12-03  José Matos  <jamatos@lyx.org>
1221
1222         * buffer.C: format up to 238.
1223
1224 2004-12-03  José Matos  <jamatos@lyx.org>
1225
1226         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1227
1228 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
1229
1230         * cursor.C (goUpDown): remove call to idxUpDown2
1231
1232 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1233
1234         * tabular.[Ch]: use size_t-like types for cell, row and column
1235         indices
1236
1237 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1238
1239         * lyxfunc.C (getStatus): do not lose previous information when
1240         calling BufferView::getStatus; do not set a default "Command
1241         disabled" message at the beginning, but just before returning.
1242
1243 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1244
1245         * cursor.h (getStatus): add better comment from src/cursor.C
1246
1247 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1248
1249         * text3.C (getStatus): return false when the lfun is not handled
1250
1251 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1252
1253         * broken_headers.h: remove
1254
1255         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1256
1257 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1258
1259         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1260         offset_ref accessors
1261
1262         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1263         top_y_, merge fitcursor with update
1264         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1265         coord scheme
1266         (metrics): introduce
1267         (workAreaDispatch): adapt to new coord scheme
1268         (redoCurrentBuffer): remove
1269
1270         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1271
1272         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1273         CurStatus enum.
1274
1275         * coordcache.[Ch]: add paragraph cache and helpers
1276
1277         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1278         adjust everywhere
1279
1280         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1281         (targetX, setTargetX): introduce
1282
1283         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1284         baseline -> ascent, as the rest of lyx
1285
1286         * lyxtext.h: remove redoParagraphs, updateParPositions,
1287         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1288         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1289         have ascent/descent (ascent is ascent of first par)
1290
1291         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1292         step of BufferView
1293
1294         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1295
1296         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1297
1298         * pariterator.C: fix infinite loop introduced in par->pit renaming
1299
1300         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1301         in insets and LyXText, draw two off-screen paragraphs using
1302         NullPainter, and adapt to new coord scheme
1303
1304         * text.C:
1305         * text2.C:
1306         * text3.C: adapt lfun handlers to the new coord scheme, which
1307         means: there's only guaranteed coord information for onscreen pars
1308         plus one above and one below. This implies that one can do search
1309         from y coordinates in the range [-1,workHeight]
1310
1311 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1312
1313         * rename a lot of InsetOld to InsetBase
1314
1315 2004-11-25  Angus Leeming  <leeming@lyx.org>
1316
1317         * BufferView_pimpl.C:
1318         * lyx_cb.C:
1319         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1320
1321 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1322
1323         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1324         call BufferView::getStatus if LCursor::getStatus did nothing
1325         (setStatusMessage, getStatusMessage): removed.
1326
1327         * FuncStatus.C (message): new methods. Used to provide an error
1328         message indicating why a command is disabled.
1329         (clear, |=, FuncStatus): update for message.
1330
1331 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1332
1333         * lyxfunc.C (dispatch): always call sendDispatchMessage
1334
1335 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1336
1337         * BufferView.C:
1338         * BufferView_pimpl.C:
1339         * CutAndPaste.C:
1340         * FontIterator.C:
1341         * buffer.C:
1342         * cursor.C:
1343         * cursor_slice.[Ch]:
1344         * dociterator.[Ch]:
1345         * lyxfind.C:
1346         * paragraph_funcs.C:
1347         * pariterator.C:
1348         * rowpainter.C:
1349         * text.C:
1350         * text2.C:
1351         * text3.C:
1352         * undo.C: par->pit renaming
1353
1354 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1355
1356         * tabular.C (cellstruct): use initialization, store a shared_ptr
1357         to insettext instead of the insettext directly, adjust to fit.
1358         (operator=):  new function
1359         (swap): new function
1360         (rowstruct): use initialization
1361         (columnstruct): use initialization
1362         (ltType): use initialization
1363
1364
1365         * lyxlength.h (swap): new function
1366
1367         * LColor.[Ch] (operator=): use the common semantics
1368
1369 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1370
1371         * lyxfind.C (findNextChange): update the bufferview after setting
1372         the selection.
1373
1374 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1375
1376         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1377         number of InsetOptArgs has already been inserted.
1378
1379         * output_latex.C (latexOptArgInsets): new method. This outputs all
1380         the optarg insets, up to the limit defined in the layout file.
1381         (optArgInset): removed
1382         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1383
1384 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1385
1386         * paragraph.C (isLetter): remove special spellchecker-related
1387         code; return true also for digits
1388         (isWord, isKomma): remove
1389
1390         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1391         * lyxfind.C (MatchString()): use isLetter instead of isWord
1392
1393 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1394
1395         * pariterator.h (operatir=): comment out un-implemented member
1396         function.
1397
1398         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1399         static cast.
1400
1401 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1402
1403         * lyxfont.h: include LColor.h to satisfy concept checks.
1404
1405 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1406
1407         * pariterator.h: add typdefs for value_type, difference_type,
1408         pointer and reference to satisfy concept checks. Also add default
1409         constructor for same reason.
1410
1411         * pariterator.C (operator++): add post-increment operator to
1412         satisfy concept checks.
1413
1414         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1415         checks.
1416
1417         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1418
1419         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1420         checks. Also rename base_type to BaseType to follow naming
1421         standard better.
1422
1423         * FloatList.h: include Floating.h to satisfy concept checks.
1424
1425 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1426
1427         * lyxfunc.C (getStatus): when the origin of the request is menu or
1428         toolbar, and the LyXView does not have focus, do as if there was
1429         no buffer (bug 1720)
1430
1431         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1432         FuncRequest to individual entries of LFUN_SEQUENCE
1433
1434 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1435
1436         * output_latex.C (TeXOnePar): override runparams.moving_arg
1437         according to the needprotect value of the current paragraph (bug
1438         1739)
1439
1440         * paragraph.C (simpleTeXOnePar): no need to override
1441         runparams.moving_args here
1442
1443 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1444
1445         * vspace.C: fix off-by-one-error, related to fix #1682
1446
1447 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1448
1449         * lengthcommon.C: a more general fix for bug 1682
1450
1451 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1452
1453         * text.C (backspace): fix crash
1454
1455 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1456
1457         * format.[Ch] (getFormatFromFile): new method
1458         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1459
1460 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1461
1462         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1463
1464 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1465
1466         * lyxfunc.C (dispatch): remove the verbose argument
1467         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1468         instead
1469
1470         * kbmap.C (defkey): set the origin of func to KEYBOARD
1471
1472         * MenuBackend.C (MenuItem):
1473         * ToolbarBackend.C (add): set the origin of func to UI
1474
1475         * funcrequest.[Ch]: add origin member, which indicates which part
1476         of LyX requests an action
1477
1478 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1479
1480         * converter.C (move): don't lie in the error message
1481         * converter.h (isReachable, move): document
1482
1483 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1484
1485         * buffer.C: remove unused using lyx::support::atoi
1486         * paragraph_funcs.C: ditto
1487
1488 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1489
1490         * bufferlist.C (exists): use bind and equal_to instead of
1491         compare_memfun
1492         (getBuffer): ditto
1493         * lyxtextclasslist.C (NumberOfClass): ditto
1494
1495         * cursor.C (insert): use for_each instead of explicit for loop
1496
1497         * bufferlist.C (getFileNames): use std::transform and
1498         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1499
1500         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1501         for loop
1502
1503         * buffer.C (changeLanguage): use for_each instead of explicit for
1504         loop
1505         (hasParWithID): implement using getParFromID
1506
1507         * LaTeXFeatures.C: ws change only
1508
1509         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1510         to cleanup a bit.
1511
1512         * BufferView_pimpl.C (trackChanges): use for_each instead of
1513         expilicit for loop
1514
1515 2004-11-04  André Pönitz  <poenitz@gmx.net>
1516
1517         * undo.h:
1518         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1519
1520         * dociterator.C (asDocIterator): use hard assert again.
1521
1522 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1523
1524         * lyxlength.C (asLatexString): rewrite so that it does not use
1525         snprintf anymore
1526
1527 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1528
1529         * text3.C (specialChar, dispatch): make sure cursor moves to the
1530         right after inserting an inset
1531
1532 2004-11-02  José Matos  <jamatos@lyx.org>
1533
1534         * output_docbook.C (docbook):
1535         * paragraph.C (getID):
1536         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1537         garantee that the output is always legal.
1538
1539         * tabular.C (docbook):
1540         * outputprams.[Ch]: remove mixed contents.
1541
1542 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1543
1544         * text2.C (setCounter): prevent endless loop
1545
1546 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1547
1548         * exporter.C (copyFile): use the mover instead of support::copy()
1549         * exporter.C (Export): pass format and latex name to copyFile()
1550         * exporter.h (addExternalFile): document
1551         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1552
1553 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1554
1555         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1556
1557 2004-10-30  José Matos  <jamatos@lyx.org>
1558
1559         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1560         text and no inset or font change. This allows to use CDATA
1561         sections just for the whole paragraph.
1562
1563 2004-10-30  José Matos  <jamatos@lyx.org>
1564
1565         * paragraph.C (getFirstWord): remove unused variable.
1566
1567 2004-10-30  José Matos  <jamatos@lyx.org>
1568
1569         * paragraph.C (getFirstWord): the content should always be escaped
1570         there.
1571         (simpleDocBookOnePar):
1572         * output_docbook.C (makeEnvironment): replace reference to CDATA
1573         to style pass_thru.
1574
1575 2004-10-30  José Matos  <jamatos@lyx.org>
1576
1577         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1578
1579 2004-10-30  José Matos  <jamatos@lyx.org>
1580
1581         * output_docbook.C (makeParagraphs):
1582         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1583         standard paragraph has only a given type of content drop the wrapper.
1584
1585 2004-10-29  José Matos  <jamatos@lyx.org>
1586
1587         * output_docbook.C (makeEnvironment):
1588         * sgml.C (openTag):
1589         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1590
1591 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1592
1593         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1594         (cleanID): sanitize any id.
1595
1596 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1597
1598         * buffer.C, lyxlex_pimpl.C:
1599         * lyxlex_pimpl.C (setFile):
1600         s/getExtFromContents/getFormatFromContents/
1601
1602 2004-10-28  José Matos  <jamatos@lyx.org>
1603
1604         * output_docbook.C (makeEnvironment): move id to broadest possible
1605         scope.
1606
1607         * sgml.C (openTag): apply substitution of <> for all attributes.
1608
1609 2004-10-28  José Matos  <jamatos@lyx.org>
1610
1611         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1612         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1613         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1614
1615         * sgml.[Ch]: new version for open and closeTag for paragraph and
1616         for strings. Now they handle the ids of paragraphs.
1617
1618 2004-10-26  Angus Leeming  <leeming@lyx.org>
1619
1620         * Makefile.am: add mover.[Ch].
1621
1622         * converter.C (convert, move): use the new Movers to move external
1623         files to the temp directory.
1624
1625         * lyx_main.C (init): ensure that the global system_movers data
1626         is initialised.
1627
1628         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1629         preferences file.
1630
1631         * mover.[Ch]: new files, defining a Mover as a utility to move an
1632         external file between directories and, if necessary, manipulate this
1633         file using a helper script.
1634
1635 2004-10-25  José Matos  <jamatos@lyx.org>
1636
1637         * output_docbook.C (makeCommand): merge two if's that tested the
1638         same condition.
1639
1640 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1641
1642         * sgml.C (escapeString): fix warning in a better way
1643
1644 2004-10-25  José Matos  <jamatos@lyx.org>
1645
1646         * sgml.C (escapeString): import the require boosts header file for
1647         tie, and avoid a signed unsigned comparison.
1648
1649 2004-10-25  José Matos  <jamatos@lyx.org>
1650
1651         * sgml.h: add #include <string>
1652
1653 2004-10-25  José Matos  <jamatos@lyx.org>
1654
1655         * sgml.[Ch] (escapeString): new function to escape all the string.
1656
1657 2004-10-24  José Matos  <jamatos@lyx.org>
1658
1659         * paragraph.[Ch] (getFirstWord): new function to get the first
1660         word. Useful for description.
1661         (simpleDocBookOnePar): remove depth argument, add another that
1662         says where to start the paragraph.
1663
1664         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1665         use the new functions to fix cleanly the support for descriptions.
1666
1667 2004-10-24  José Matos  <jamatos@lyx.org>
1668
1669         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1670         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1671         * output_linuxdoc.C (linuxdocParagraphs):
1672         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1673         add buffer as argument.
1674
1675 2004-10-24  José Matos  <jamatos@lyx.org>
1676
1677         * output_docbook.C (makeEnvironment, searchEnvironment): place
1678         CDATA inside paragraphs and fix scope for listitems.
1679
1680 2004-10-24  José Matos  <jamatos@lyx.org>
1681
1682         * output_docbook.C: remove using statement for stack.
1683
1684 2004-10-23  José Matos  <jamatos@lyx.org>
1685
1686         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1687         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1688         docbook. The new scheme is recursive and makes use of iterators, the
1689         same as latex export works.
1690         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1691         directly with the paragraph contents. This code was moved up to
1692         output_docbook.C (docbookParagraphs).
1693         * sgml.C (openTag, closeTag): removed unneeded newlines.
1694         (closeEnvTags) removed.
1695
1696 2004-10-23  André Pönitz  <poenitz@gmx.net>
1697
1698         * undo.C (textUndoOrRedo):
1699         * dociterator.C (asDocIterator): work around crash
1700
1701         * cursor.C (getStatus): replace ASSERT by more verbose error message
1702           and manual correction of the problem. Should increase stability
1703           while providing more sensible information.
1704
1705 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1706
1707         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1708
1709         * bufferlist.C (previous, next): new methods
1710
1711         * lfuns.h:
1712         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1713
1714 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1715
1716         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1717         entities to preamble.
1718
1719 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1720
1721         * messages.C (Pimpl): strip off translation context information
1722
1723 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1724
1725         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1726         the cursor is correct (bug 1694)
1727
1728 2004-10-13  José Matos  <jamatos@lyx.org>
1729
1730         * output_docbook.C (docbookParagraphs): fix closing tags in the
1731         end of the document.
1732
1733 2004-10-09  José Matos  <jamatos@lyx.org>
1734
1735         * buffer.C: format up to 237.
1736         * bufferparams.C (write): use tostr to convert booleans to strings.
1737
1738 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1739
1740         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1741
1742 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1743
1744         * LaTeX.C: implement use of babel language in xindy.
1745
1746 2004-10-05  José Matos  <jamatos@lyx.org>
1747
1748         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1749         Add new translators to help reading and writing the lyx file.
1750
1751 2004-10-05  José Matos  <jamatos@lyx.org>
1752
1753         * ParagraphParameters.C (read):
1754         * text.C (readParToken): replace nexToken by more appropriate lex
1755         methods.
1756
1757 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1758
1759         * LaTeX.C (runMakeIndex):
1760         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1761         (usually 'makeindex') configurable.
1762
1763         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1764         with a variable rather than with a number.
1765
1766 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1767
1768         * output_latex.C (TeXOnePar): make sure font setting is the first
1769         thing that gets output (and the last at the end). Should fix bug
1770         1404.
1771
1772 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1773
1774         * pch.h: use proper signal include
1775
1776         * LaTeX.h: Use preferred calling of Boost.Signal
1777         * buffer.h: ditto
1778
1779 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1780
1781         * pch.h: dont include <boost/function/function0.hpp>
1782
1783         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1784
1785         * paragraph_pimpl.h: remove usage of ShareContainer
1786
1787         * paragraph_pimpl.C: remove initialization of ShareContainer.
1788
1789 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1790
1791         Fix bug #1666
1792
1793         * BufferView.C (putSelectionAt): change the semantics when
1794         backwards == true: now, this just swaps cursor and anchor wrt the
1795         forward case
1796
1797         * BufferView.h (putSelectionAt): add some documentation
1798
1799         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1800         make sure backwardChar is done at least once (to avoid getting
1801         stuck)
1802         (findNextChange): use putSelectionAt in the forward direction
1803         (operator()): use Paragraph::isWord
1804
1805 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1806
1807         * Spacing.C (set): c_str fix
1808
1809 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1810
1811         * lyx_cb.C (Reconfigure): quote the name of configure script in
1812         case it contains spaces
1813
1814 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1815
1816         * client: new dir
1817
1818         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1819         (BOOST_LIBS): use top_buildir when looking for the file
1820
1821 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1822
1823         * pch.h: do not use include boost/format.hpp, multiple symbols
1824                 will result (gcc bug)
1825
1826
1827 2004-08-23  José Matos  <jamatos@lyx.org>
1828
1829         * bufferparams.C (readToken): fix reading of the author field.
1830
1831 2004-08-20  José Matos  <jamatos@lyx.org>
1832
1833         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1834
1835 2004-08-20  José Matos  <jamatos@lyx.org>
1836
1837         * lyxlex.[Ch] (findToken): remove function.
1838
1839         * ParagraphParameters.C (findToken):
1840         * bufferparams.C (findToken): replace call for previous function
1841         with local copy. This local function has one more argument, the
1842         read string argument.
1843
1844 2004-08-16  José Matos  <jamatos@lyx.org>
1845
1846         * ParagraphParameters.C (write):
1847         * Spacing.C (writeFile):
1848         * bufferparams.C (writeLaTeX):
1849         * lyx_cb.C (Reconfigure):
1850         * paragraph.C (write):
1851         * tabular.C (write): remove unnecessary space at end of line.
1852
1853
1854 2004-08-16  José Matos  <jamatos@lyx.org>
1855
1856         * text.C (readParagraph): remove debug message.
1857
1858 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1859
1860         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1861         crash
1862
1863         * output_plaintext.C (asciiParagraph): set depth correctly
1864
1865         * outputparams.h: add member depth
1866
1867         * paragraph_funcs.C (ownerPar): remove.
1868
1869         * text2.C (setCounter): remove first_pit; comment out some
1870         non-working code that uses ownerPar
1871
1872         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1873         uses ownerPar
1874
1875 2004-08-16  José Matos  <jamatos@lyx.org>
1876
1877         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1878         For the same level of importance use the same chanel to report problems.
1879         (read): add code to deal with \begin_body and \end_body.
1880
1881
1882 2004-08-15  José Matos  <jamatos@lyx.org>
1883
1884         * lyxlex.C (getString): fix comment, buffer::readBody is now
1885         buffer:readDocument.
1886
1887         * tex-strings.C (string_papersize): Default -> default,
1888         Custom -> custom, for consistency with other options.
1889
1890 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1891
1892         * pch.h: new file
1893
1894         * Makefile.am: support pch
1895
1896 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1897
1898         * text.C (readParToken): remove the static LyXFont variable and
1899         pass it as a parameter instead. This fixes a nasty bug where an
1900         inset will be inserted with a bad font in some situations
1901         (readParagraph): adapt
1902
1903         * text2.C (setCounter): reduce number of calls to pars_[pit]
1904
1905         * text.C (singleWidth): add an assert, fix a test
1906
1907         * rowpainter.C (paintText): reduce number of calls to singleWidth
1908
1909         * paragraph.C (isHfill):
1910         (isNewline): ws only
1911
1912 2004-08-14  André Pönitz  <poenitz@gmx.net>
1913
1914         * text.C:
1915         * text2.C:
1916         * rowpainter.C:
1917         * lyxtext.h (several functions): use a Paragraph & argument
1918         instead of par_type
1919
1920 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1921
1922         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1923
1924         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1925
1926         * text.C (singleWidth): remove useless test
1927
1928 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1929
1930         * tabular.h: remove bogus comments
1931
1932         * tabular.C (getDescentOfRow):
1933         (isPartOfMultiColumn): add assertions
1934
1935         * lyxlength.C (inPixels): remove #warning
1936
1937 2004-08-14  André Pönitz  <poenitz@gmx.net>
1938
1939         * paragraph.h: inline getChar()
1940
1941         * BufferView.h: remove unused declarations
1942
1943 2004-08-14  José Matos  <jamatos@lyx.org>
1944
1945         * Buffer.[Ch] (readDocument): new name for old readBody.
1946         * Buffer.C: new file format, new keywords: \begin_document,
1947         \begin_header, \begin_body, \end_body.
1948
1949         * bufferparams.C (readToken): replace all calls to lex.nextToken
1950         by lex.next(). Do the same to eatLine except where really needed.
1951
1952         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1953         line when writing to the lyx file.
1954
1955         * output_plaintext.C (asciiParagraph): fix Bibliography style
1956         handling.
1957
1958         * text.C (read): fix end of file handling.
1959
1960 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1961
1962         * MenuBackend.C (Menu::operator[]): new method to access
1963         individual menu items
1964         (Menu::hasFunc): new method. search for an item that corresponds
1965         to a given func
1966         (MenuBackend::specialMenu): new method
1967         (MenuBackend::expand): if a special menu has been set, skip
1968         entries whose func() appears in this menu
1969
1970 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1971
1972         * text3.C: use Debug::DEBUG a bit more
1973
1974         * text.C (leftMargin): try to simplify a tiny bit change var x to
1975         l_margin. Dont output the wide margins always.
1976         (rightMargin): no margin in inner texts
1977
1978         * rowpainter.h (nestMargin): new func
1979         (changebarMargin): new func
1980         (rightMargin): new func
1981
1982         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1983         now functions.
1984         (paintLast): ditto
1985
1986         * factory.C (createInset): modify setDrawFrame
1987
1988         * cursor.C: use Debug::DEBUG a bit more
1989
1990 2004-08-14  André Pönitz  <poenitz@gmx.net>
1991
1992         * coordcache.[Ch]:
1993         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1994         cache for all insets in (at least partially) visible (top-level)
1995         paragraphs.
1996
1997         * BufferView_pimpl.C: reset external coord cache before every update.
1998         This means the coord cache only contains valid entries.
1999
2000 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
2001
2002         bug 1096
2003         * BufferView_pimpl.C (getInsetByCode): move function out of class
2004         and change in to a template in anon namespace. Also fix to do what
2005         suits us better.
2006
2007 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
2008
2009         bug 1305
2010         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2011         of char
2012         (breakParagraph): rename par to par_offset and use a local
2013         reference. Add code to keep the language over a rebreak.
2014         (breakParagraphConservative): rename par to par_offset, use a
2015         local reference
2016         (mergeParagraph): ditto
2017         (outerHook): ditto
2018         (isFirstInSequence): ditto
2019         (outerFont): rename pit to par_offset
2020
2021         * paragraph.C: ws change
2022         * paragraph.h: ditto
2023         * text3.C: ditto
2024         * text.C: ditto
2025
2026 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2027
2028         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2029         treatment for ']'
2030
2031         * paragraph.C (simpleTeXOnePar): when we have a \item with
2032         optional argument, enclose the argument with curly brackets (in
2033         case it contains a closing square bracket)
2034
2035         * text2.C (editXY):
2036         * text2.C (editXY):
2037         * text3.C (checkInsetHit): constify
2038
2039 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2040
2041         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2042         documents (bug 1629)
2043
2044 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2045
2046         Fix toggling of collapsable insets with the mouse (bug 1558)
2047
2048         * lyxfunc.C (dispatch): adapt to LCursor changes
2049
2050         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2051         make sure that dispatch is not invoked twice
2052
2053         * cursor.C (needsUpdate): new method
2054         (dispatch): return void
2055         (result): new method, to access the DispatchResult of the cursor.
2056
2057 2004-08-13  José Matos  <jamatos@lyx.org>
2058
2059         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2060
2061 2004-08-13  André Pönitz  <poenitz@gmx.net>
2062
2063         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2064
2065         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2066           multiple cells
2067
2068 2004-08-12  André Pönitz  <poenitz@gmx.net>
2069
2070         * text3.C: take out the 'cursor right' form insertInset and only
2071         do it in those places when it is really needed. Fixes crash on
2072         C-m...
2073
2074 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2075
2076         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2077
2078         * BufferView_pimpl.C (setBuffer): initialize the current font of
2079         the underlying LyXText
2080
2081 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2082
2083         * kbsequence.C (print): use UI native formatting for menu
2084         shortcuts
2085
2086         * text.C (insertChar): call Paragraph::insertChar with a font
2087         argument (cosmetic)
2088
2089         * paragraph.C (insertInset, insertChar): the version that takes a
2090         LyXFont argument is now a wrapper around the other one (the
2091         opposite used to be true).
2092
2093         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2094         argument. Font setting is done in Paragraph now.
2095
2096 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2097
2098         * outputparams.h: add new members intitle and lang.
2099
2100         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2101         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2102
2103 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2104
2105         * text3.C (dispatch): remove special handling of button 4 and 5,
2106         it is now taken care of in the frontend code.
2107
2108 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2109
2110         * Spacing.h: add <string> (STLPort compile fix)
2111
2112 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2113
2114         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2115
2116 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
2117
2118         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2119         to bool.
2120
2121         * converter.C (showMessage): inherit from unary_function, make
2122         operator() const.
2123
2124         * buffer.C (writeFile): initialize retval
2125
2126         * InsetList.h: rename private variable list to list_
2127         * InsetList.[Ch]: adjust accordingly.
2128
2129 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
2130
2131         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2132         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2133         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2134         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2135         * ParagraphParameters.C, LaTeXFeatures.C: replace
2136         "support/std_sstream.h" with <sstream>
2137
2138 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
2139
2140         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2141         * lyxsocket.C (LyXServerSocket): ditto
2142         (serverCallback): ditto
2143
2144 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2145
2146         * LaTeXFeatures.C: check release date when loading jurabib.
2147
2148 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2149
2150         * lyxserver.C (startPipe): call register_socket_callback
2151         (endPipe): call unregister_socket_callback
2152
2153 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
2154
2155         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2156         (LyXServerSocket): register the callback
2157         (LyXServerSocket): unregister the callback
2158         (fd): delete function
2159         (serverCallback): improve error checking and setup the callbacks.
2160         (dataCallback): change arg to fd.
2161         (writeln): new func (copied fro the client socket) used for server
2162         write to client.
2163         (LyXDataSocket): simplify
2164         (~LyXDataSocket): close ann unregiser callback
2165         (server): delete function
2166         (fd): delete function
2167         (readln): small changes, improve some std::string usage
2168         (writeln): constify a bit
2169
2170 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2171
2172         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2173         Qt frontend
2174
2175 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2176
2177         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2178         after it has been populated
2179
2180 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2181
2182         * text2.C (insertInset): move cursor when inserting inset.
2183
2184 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2185
2186         * kbmap.C (findbindings): a couple of new methods. returns a
2187         container of kb_sequence objects. The real work is done by the
2188         private recursive version
2189         (printbindings): uses findbindings to print out a bracketed list
2190         of bindings (renamed from findbinding).
2191
2192         * MenuBackend.C (binding): use kb_keymap::findbindings
2193
2194         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2195
2196 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2197
2198         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2199
2200 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2201
2202         * paragraph.C (isWord): return true on insets that report
2203         isLetter().
2204
2205         * text.C (getWord): use Paragraph::isWord to decide what is in a
2206         word and what is not; fix bug 1609.
2207
2208 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2209
2210         * tex-strings.C: add "none" to string_paperpackages[], fixes
2211         off-by-one-error in the paperpackage selection.
2212
2213         * lyxlex.[Ch]:
2214         * tex-strings.[Ch]: char const * string[n]
2215         -> char const * const string[]
2216
2217 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2218
2219         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2220         command, return early.
2221
2222 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
2223
2224         * debug.h: add DEBUG to enum and fix size of ANY.
2225
2226         * debug.C: add support for Debug::DEBUG
2227         (showTags): cast errorTags.level to unsigned int
2228
2229         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2230         (redoCurrentBuffer): ditto
2231         (updateScrollbar): ditto
2232         * cursor.C (dispatch): ditto
2233         * text2.C (setLayout): ditto
2234         (setFont): ditto
2235         (updateCounters): ditto
2236         (editXY): ditto
2237         (deleteEmptyParagraphMechanism): ditto
2238
2239 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
2240
2241         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2242         annotations to cleanup the Makefile slightly.
2243
2244 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2245
2246         * lyxrc.C: do not set user_email to a default value but use empty
2247         instead. The entry used to be translated, which does not work
2248         since at the point where lyxrc is constructed there is no
2249         translation service available
2250
2251         * messages.C (getLocaleDir): remove and use directly
2252         lyx_localedir() instead
2253
2254 2004-06-02  Angus Leeming  <leeming@lyx.org>
2255
2256         Fix crash caused by dereferencing null pointer 'exportdata' in
2257         OutputParams by creating a new ExportData variable on the heap,
2258         storing it in a boost::shared_ptr.
2259         The crash was triggered when generating an Instant Preview
2260         of an external inset.
2261
2262         * Makefile.am: add outputparams.C
2263
2264         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2265         (c-tor): allocate memory to it.
2266
2267         * exporter.C (c-tor): associated changes.
2268
2269 2004-06-01  Angus Leeming  <leeming@lyx.org>
2270
2271         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2272         contains data before calling isInset(0). (Bug 1513.)
2273
2274 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2275
2276         * exporter.C (checkOverwrite): new method
2277         * exporter.C (copyFile): new method
2278         * exporter.C (Export): copy referenced files to the document dir
2279         * exporter.[Ch]: new class ExportedFile
2280         * exporter.[Ch]: new class ExportData. Contains currently the
2281         names of referenced external files
2282         * outputparams.h: add exportdata member.
2283
2284 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2285
2286         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2287         version.C-tmp
2288
2289 2004-05-19  Angus Leeming  <leeming@lyx.org>
2290
2291         * LaTeXFeatures.C:
2292         * ToolbarBackend.C:
2293         * bufferparams.C:
2294         * lyxfunc.C: small changes due to the introduction of namespace
2295         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2296
2297 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2298
2299         * text3.C (dispatch): supress update when only moving the cursor
2300         * cursor.C (selHandle): remove commented code
2301
2302 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2303
2304         * paragraph.C (startTeXParParams): correct column count
2305         * CutAndPaste.C (pasteSelection): remove const_cast
2306         * output_docbook.C (docbookParagraphs): remove const_cast
2307         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2308         const_cast and return ParagraphList::const_iterator
2309         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2310         * output_plaintext.C (writeFileAscii): remove const_cast
2311         * paragraph.[Ch] (simpleTeXOnePar): make const
2312         * paragraph_funcs.C (outerPar): use const iterators
2313         * paragraph_pimpl.C (validate): use const iterators
2314         * text.C (setHeightOfRow): use const iterators
2315
2316 2004-05-17  Angus Leeming  <leeming@lyx.org>
2317
2318         * lfuns.h:
2319         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2320
2321         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2322         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2323         if the citation engine has changed.
2324
2325 2004-05-14  José Matos  <jamatos@lyx.org>
2326
2327         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2328         if the textclass does not provide it. Have it different for sgml and
2329         xml.
2330         support the language of document.
2331         * output_docbook.C (docbookParagraphs):
2332         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2333         first anchor as the id of the paragraph, remove special case code.
2334         * sgml.C (escapeChar): escape only < & >.
2335
2336 2004-05-14  Angus Leeming  <leeming@lyx.org>
2337
2338         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2339         dependencies on src/frontends/controllers/biblio.h. Define a
2340         CiteEngine_enum wrapper class to enable the enum to be forward
2341         declared.
2342
2343 2004-05-12  Angus Leeming  <leeming@lyx.org>
2344
2345         * buffer.C: up LYX_FORMAT to 234.
2346         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2347         use_numerical_citations with a single biblio::CiteEngine cite_engine
2348         variable.
2349         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2350
2351 2004-05-13  José Matos  <jamatos@lyx.org>
2352
2353         * converter.h:
2354         * converter.C (Converter, readFlags): add xml member.
2355         * outputparams.h: add XML flavor.
2356         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2357
2358 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2359
2360         * lyxfunc.C (dispatch):
2361         (getStatus): fix handling of LFUN_SEQUENCE
2362
2363 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2364
2365         * debug.C (showLevel): do not forget the end-of-line marker
2366
2367 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2368
2369         * kbmap.C (read): do not stop parsing a bind file when an error
2370         occurs (bug 1575)
2371
2372 2004-04-29  Angus Leeming  <leeming@lyx.org>
2373
2374         * cursor.C:
2375         * factory.C:
2376         * pariterator.C:
2377         * text2.C: wrap a bunch of #warning statements
2378         inside #ifdef WITH_WARNINGS blocks.
2379
2380 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2381
2382         * buffer.C: increment format to 233.
2383
2384 2004-04-28  Angus Leeming  <leeming@lyx.org>
2385
2386         * BufferView_pimpl.C:
2387         * lyxfunc.C:
2388         * text3.C:
2389         s/updateToolbar()/updateToolbars()/
2390         s/Toolbar.h/Toolbars.h/
2391
2392 2004-04-28  Angus Leeming  <leeming@lyx.org>
2393
2394         * BufferView.[Ch] (c-tor):
2395         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2396         No longer passes these data to the WorkArea generator.
2397
2398 2004-04-28  Angus Leeming  <leeming@lyx.org>
2399
2400         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2401
2402 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2403
2404         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2405
2406 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2407
2408         * output_latex.C (TeXEnvironment): make sure that there is a line
2409         break before \end{foo} for the last paragraph of a document
2410         (TeXOnePar): if the paragraph is at the end of the document (or
2411         inset) and the language has to be reset, then make sure that the
2412         line break is _before_ the language command, not after (fixes bug
2413         1225); also make sure that the language reset command is the first
2414         thing after the paragraph (to ensure proper nesting of
2415         environments and thus fix bug 1404)
2416
2417 2004-04-21  John Levon  <levon@movementarian.org>
2418
2419         * ToolbarBackend.h:
2420         * ToolbarBackend.C: make "name" be a programmatic name
2421         and a gui_name field.
2422
2423         * lyxfunc.C: display the minibuffer on M-x
2424
2425 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2426
2427         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2428         (bug 1526)
2429
2430 2004-04-19  Angus Leeming  <leeming@lyx.org>
2431
2432         * BufferView_pimpl.C (setBuffer): changed preview interface.
2433
2434         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2435         possible values.
2436
2437 2004-04-19  John Levon  <levon@movementarian.org>
2438
2439         * BufferView_pimpl.C:
2440         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2441
2442 2004-04-05  Angus Leeming  <leeming@lyx.org>
2443
2444         * text.C (redoParagraphs): add call to updateCounters(), thereby
2445         fixing the missing "Figure #:" label from the caption of a
2446         figure float.
2447
2448 2004-04-13  Angus Leeming  <leeming@lyx.org>
2449
2450         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2451         cursor is clicked out of an inset.
2452
2453 2004-04-13  Angus Leeming  <leeming@lyx.org>
2454
2455         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2456         than an InsetOld one.
2457
2458 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2459
2460         * format.[Ch]: add editor to Format
2461         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2462         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2463
2464 2004-04-08  André Pönitz  <poenitz@gmx.net>
2465
2466         * metricsinfo.h: remove PainterInfo::width member
2467
2468 2004-04-08  Angus Leeming  <leeming@lyx.org>
2469
2470         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2471         "\providecommand" rather than "\newcommand", thereby preventing
2472         clashes with packages that define "\boldsymbol" themselves.
2473         Eg, beamer.
2474
2475 2004-04-08  Angus Leeming  <leeming@lyx.org>
2476
2477         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2478         thereby squashing an unnecessary warning.
2479
2480 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2481
2482         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2483         setBuffer()
2484
2485 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2486
2487         * BufferView.C (setCursor): call redoParagraph (some insets could
2488         have been opened)
2489         (putSelectionAt): remove the 'double update' trick
2490
2491         * BufferView_pimpl.C (fitCursor): call refreshPar
2492         (workAreaDispatch): remove an uneeded update call
2493         (dispatch): remove some manual update calls
2494
2495         * cursor.[Ch]: remove cached_y_, updatePos
2496         (selHandle): set noUpdate when appropriate
2497
2498         * lyxfunc.C (dispatch): track if we need an update
2499
2500         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2501
2502         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2503         (paintSelection): cheap optimization, do not call cursorX when not
2504         needed
2505         (paintPars): change signature
2506         (refreshPar): add
2507         (paintText): adjust
2508         (paintTextInset): adjust
2509
2510         * text.C: adjust
2511
2512 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2513
2514         * lengthcommon.C: compilation fix: remove explicit array size from
2515         unit_name[] and friends
2516
2517 2004-04-05  Angus Leeming  <leeming@lyx.org>
2518
2519         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2520
2521         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2522         present only for the preferences dialog.
2523         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2524
2525 2004-04-05  Angus Leeming  <leeming@lyx.org>
2526
2527         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2528         to enable the frontends to export changes to lyxrc correctly.
2529
2530         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2531
2532 2004-04-07  André Pönitz  <poenitz@gmx.net>
2533
2534         * cursor.[Ch] (selClear, adjust): remove math
2535
2536         * cursor_slice.C: more agressive assert
2537
2538         * lyxfunc.C:
2539         * BufferView_pimpl.C: rework mouse event dispatch
2540
2541         * dociterator.C:
2542         * paragraph.C:
2543         * text2.C:
2544         * text3.C: adjust
2545
2546 2004-04-05  André Pönitz  <poenitz@gmx.net>
2547
2548         * cursor.[Ch] (valign, halign...): remove unneeded functions
2549
2550 2004-04-05  Angus Leeming  <leeming@lyx.org>
2551
2552         * lyxlength.[Ch] (unit_name et al.): const-correct.
2553
2554 2004-04-05  Angus Leeming  <leeming@lyx.org>
2555
2556         * BufferView_pimpl.C:
2557         * buffer.C:
2558         * counters.C:
2559         * cursor.C:
2560         * lyxfunc.C
2561         * paragraph.C:
2562         * pariterator.C:
2563         * text.C:
2564         * text2.C:
2565         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2566
2567 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2568
2569         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2570
2571 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2572
2573         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2574         * BufferView_pimpl.[Ch] (getStatus)
2575         * BufferView.[Ch] (getStatus): add
2576         * lyxfunc.C (getStatus): move lfuns handled in
2577         BufferView::dispatch to te function above
2578         * Cursor.C (setSelection): set selection() = true
2579
2580 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2581
2582         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2583
2584 2004-03-31  Angus Leeming  <leeming@lyx.org>
2585
2586         * lyxfunc.C (dispatch): Fall through to the generic
2587         Dialogs::show("preamble").
2588
2589 2004-03-31  Angus Leeming  <leeming@lyx.org>
2590
2591         * lyxfunc.C (dispatch): Fall through to the generic
2592         Dialogs::show("spellchecker").
2593
2594 2004-03-31  Angus Leeming  <leeming@lyx.org>
2595
2596         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2597         preferences dialog.
2598
2599 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2600
2601         * BufferView.C
2602         * cursor.[Ch]
2603         * dociterator.[Ch]:
2604         * insetiterator.[Ch]:
2605         * lyxfind.C:
2606         * lyxfunc.C:
2607         * pariterator.[Ch]:
2608         * text2.C:
2609         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2610
2611 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2612
2613         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2614         insets where we are putting the cursor.
2615
2616 2004-03-31  Angus Leeming  <leeming@lyx.org>
2617
2618         * lfuns.h:
2619         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2620
2621         * lyxrc.[Ch] (read, write): overloaded member functions taking
2622         a std::[io]stream arguments.
2623
2624         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2625
2626 2004-03-31  Angus Leeming  <leeming@lyx.org>
2627
2628         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2629         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2630
2631         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2632         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2633
2634 2004-03-31  Angus Leeming  <leeming@lyx.org>
2635
2636         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2637         the LFUN_ALL_INSETS_TOGGLE code.
2638
2639 2004-03-30  Angus Leeming  <leeming@lyx.org>
2640
2641         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2642         has died. Fall through to the generic Dialogs::show("document").
2643
2644 2004-03-30  Angus Leeming  <leeming@lyx.org>
2645
2646         * lfuns.h:
2647         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2648         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2649
2650         * lyxfunc.C (getStatus, dispatch): define the actions for these
2651         lfuns. Little more than a cut and pste job from ControlDocument.C
2652
2653         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2654
2655 2004-03-30  Angus Leeming  <leeming@lyx.org>
2656
2657         * lfuns.h:
2658         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2659         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2660
2661         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2662         open/closed state of ollapsable insets. Usage:
2663
2664         all-inset-toggle <state> <name>, where
2665         <state> == "open" || "closed" || "toggle" and
2666         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2667
2668         * lyxtext.h, text2.C (toggleInset): removed.
2669
2670         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2671         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2672         now passes LFUN_INSET_TOGGLE to the found inset.
2673
2674         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2675         is now invoked as "all-insets-toggle toggle branch".
2676
2677 2004-03-30  Angus Leeming  <leeming@lyx.org>
2678
2679         * dociterator.C:
2680         * insetiterator.C:
2681         * pariterator.[Ch]: added/corrected header blurb.
2682
2683 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2684
2685         * dociterator.[Ch]: add an inset_ member
2686         (backwardPos): implemented
2687         (backwardPos, forwardPos): use inset_ when the stack is empty.
2688         (doc_iterator_begin, doc_iterator_end): implemented
2689         * pariterator.[Ch]: adjust, add begin, end
2690         * insetiterator.[Ch]: adjust, add begin, end
2691         * cursor.C:
2692         * document.C:
2693         * BufferView.C:
2694         * BufferView_pimpl.C:
2695         * CutAndPaste.C: adjust
2696
2697 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2698
2699         * buffer.C: increment file format to 232.
2700         * LaTeXFeatures.C: add bibtopic package.
2701         * bufferparams.[Ch]: param \use_bibtopic.
2702
2703         * lyxrc.[Ch]: add lyxrc bibtex_command
2704         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2705
2706         * buffer.C: increment file format to 231.
2707
2708 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2709
2710         * dociterator.C: implement forwardPar
2711         * iterators.[Ch]: remove, replaced by
2712         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2713         * BufferView.C:
2714         * BufferView_pimpl.C:
2715         * CutAndPaste.C:
2716         * buffer.C:
2717         * bufferview_funcs.C:
2718         * cursor.C:
2719         * lyxfind.C
2720         * lyxfunc.C
2721         * paragraph_funcs.C
2722         * toc.C:
2723         * Makefile.am: adjust
2724
2725 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2726
2727         * CutAndPaste.C (pasteSelection): fix 2 crashes
2728         (eraseSelection): fix a crash
2729         * paragraph_funcs.C: remove a warning
2730
2731 2004-03-28  Angus Leeming  <leeming@lyx.org>
2732
2733         * lfuns.h:
2734         * LyXAction.C (init): new LFUN_PRINT.
2735
2736         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2737
2738 2004-03-27  Angus Leeming  <leeming@lyx.org>
2739
2740         * lfuns.h:
2741         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2742
2743         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2744
2745 2004-03-27  Angus Leeming  <leeming@lyx.org>
2746
2747         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2748         insetlist always contains non-null pointers to insets.
2749
2750 2004-03-26  Angus Leeming  <leeming@lyx.org>
2751
2752         * src/BufferView_pimpl.C:
2753         * src/CutAndPaste.C:
2754         * src/buffer.C:
2755         * src/iterators.C:
2756         * src/output_plaintext.C:
2757         * src/outputparams.h:
2758         * src/paragraph_funcs.C:
2759         * src/rowpainter.C:
2760         * src/text.C:
2761         * src/text2.C:
2762         * src/frontends/controllers/ControlErrorList.C:
2763         * src/frontends/gtk/FileDialogPrivate.C:
2764         * src/frontends/gtk/GPainter.C:
2765         * src/frontends/gtk/GToolbar.C:
2766         * src/frontends/qt2/QRef.C:
2767         * src/mathed/math_scriptinset.C: squash compiler warnings.
2768
2769 2004-03-26  Angus Leeming  <leeming@lyx.org>
2770
2771         * ispell.C (LaunchIspell::start):
2772         * lyx_cb.C (AutoSaveBuffer::start):
2773         invoke run(DontWait) rather than runNonBlocking().
2774
2775 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2776
2777         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2778
2779 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2780
2781         * kbsequence.C (print): adjust
2782
2783         * kbmap.C (printKeySym): rename and change signature
2784         (printKey): use LyXKeySym::print()
2785
2786 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2787
2788         * undo.C: add using std::advance to compile for stlport
2789
2790 2004-03-24  Angus Leeming  <leeming@lyx.org>
2791
2792         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2793         it leads to a crash when no buffer is present.
2794
2795 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2796             Martin Vermeer  <martin.vermeer@hut.fi>
2797
2798         * lyxfunc.C (dispatch):
2799         * bufferparams.C (readToken): use the new LColor::setColor
2800
2801         * LColor.[Ch] (setColor): new version that takes two strings as
2802         argument and creates a new color entry if necessary
2803
2804 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2805
2806         * buffer.C (makeLaTeXFile): if the main latex file that is
2807         processed is usually a subdocument of some master, then pretend
2808         for a while that it is actually the master
2809
2810 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2811
2812         * buffer.C (getLabelList):
2813         (getBibkeyList): use getMasterBuffer()
2814         (getMasterBuffer): new method. Returns the main document in the
2815         case where one is using included documents.
2816
2817 2004-03-25  André Pönitz  <poenitz@gmx.net>
2818
2819         * Makefile.am:
2820         * iterators.[Ch]:
2821         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2822
2823         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2824
2825         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2826         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2827
2828         * ParameterStruct.h: merge with ParagraphParameters
2829
2830         * lyxtext.h: remove LyXText::parOffset() and getPar()
2831
2832         * text3.C: Remove all 'manual' update calls. We do now one per user
2833         interaction which is completely sufficient.
2834
2835         * Bidi.C:
2836         * BufferView.[Ch]:
2837         * BufferView_pimpl.C:
2838         * FontIterator.[Ch]:
2839         * MenuBackend.C:
2840         * ParagraphParameters.[Ch]:
2841         * buffer.C:
2842         * buffer.h:
2843         * bufferlist.C:
2844         * cursor.[Ch]:
2845         * cursor_slice.[Ch]:
2846         * dociterator.[Ch]:
2847         * errorlist.[Ch]:
2848         * factory.C:
2849         * lfuns.h:
2850         * lyxfind.C:
2851         * lyxfunc.C:
2852         * output_docbook.[Ch]:
2853         * output_latex.[Ch]:
2854         * output_linuxdoc.[Ch]:
2855         * output_plaintext.[Ch]:
2856         * paragraph.[Ch]:
2857         * paragraph_funcs.[Ch]:
2858         * paragraph_pimpl.[Ch]:
2859         * rowpainter.C:
2860         * tabular.[Ch]:
2861         * text.C:
2862         * text2.C:
2863         * toc.C:
2864         * undo.[Ch]: adjust
2865
2866         * frontends/controllers/ControlDocument.C:
2867         * frontends/controllers/ControlErrorList.C:
2868         * frontends/controllers/ControlSpellchecker.C:
2869         * insets/inset.C:
2870         * insets/inset.h:
2871         * insets/insetbase.h:
2872         * insets/insetbibitem.C:
2873         * insets/insetbox.C:
2874         * insets/insetbranch.C:
2875         * insets/insetcaption.C:
2876         * insets/insetcharstyle.C:
2877         * insets/insetcharstyle.h:
2878         * insets/insetcollapsable.C:
2879         * insets/insetcollapsable.h:
2880         * insets/insetert.C:
2881         * insets/insetfloat.C:
2882         * insets/insetfoot.C:
2883         * insets/insetmarginal.C:
2884         * insets/insetnote.C:
2885         * insets/insetoptarg.C:
2886         * insets/insettabular.C:
2887         * insets/insettext.C:
2888         * insets/insettext.h:
2889         * insets/insetwrap.C:
2890         * mathed/math_mboxinset.C:
2891         * mathed/math_nestinset.C:
2892         * mathed/math_scriptinset.C:
2893         * mathed/math_scriptinset.h:
2894         * support/types.h:
2895
2896 2004-03-24  Angus Leeming  <leeming@lyx.org>
2897
2898         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2899         deal with any child processes that have finished but are waiting to
2900         communicate this fact to the rest of LyX.
2901
2902 2004-03-24  Angus Leeming  <leeming@lyx.org>
2903
2904         64-bit compile fixes.
2905
2906         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2907         (c-tor): pass lyx::pos_types rather than ints.
2908
2909         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2910         lyx::pos_type.
2911
2912         * text.C (Delete): compile fix.
2913         (getPar): ensure that function declaration is the same as that in
2914         the header file.
2915
2916 2004-03-23  Angus Leeming  <leeming@lyx.org>
2917
2918         * ispell.C (LaunchIspell):
2919         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2920         a boost::shred_ptr rather than a std::auto_ptr.
2921
2922 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2923
2924         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2925         handle LFUN_FILE_INSERT_*
2926
2927         * lyxrc.C (setDefaults, getDescription, output, read):
2928         * lyxrc.h: remove ps_command
2929
2930 2004-03-22  Angus Leeming  <leeming@lyx.org>
2931
2932         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2933         Ensure that error_handler is processed once only and that all data
2934         is saved before attempting to output any warning messages.
2935
2936         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2937
2938 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2939
2940         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2941
2942 2004-03-19  André Pönitz  <poenitz@gmx.net>
2943
2944         * cursor.[Ch] (reset): take main text inset as argument
2945
2946         * BufferView: adjust
2947         * BufferView_pimpl.C: adjust
2948
2949         * paragraph.[Ch]: fix completely broken operator=()
2950
2951 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2952
2953         * LColor.C (getFromLyXName): make sure that the color name is used
2954         as lowercase.
2955
2956 2004-03-17  Angus Leeming  <leeming@lyx.org>
2957
2958         * lfuns.h:
2959         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2960
2961         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2962         dialog and to kill a forked process.
2963
2964 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2965
2966         * text2.C (setCursorFromCoordinates): fix font problem
2967
2968 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2969
2970         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2971         bogus "rebuild cursor" code
2972
2973 2004-03-11  André Pönitz  <poenitz@gmx.net>
2974
2975         * buffer.[Ch]: use InsetText instead of LyXText as container for
2976         the main lyx text.
2977
2978         * dociterator.[Ch]: drop the BufferView * member which is not needed
2979         anymore after the change to buffer.C
2980
2981         * paragraph_funcs.C:
2982         * text.C:
2983         * text2.C:
2984         * BufferView.[Ch]:
2985         * BufferView_pimpl.[Ch]:
2986         * cursor.[Ch]:
2987         * cursor_slice.[Ch]: adjust
2988
2989         * text3.C: fix bug in mathDispatch
2990
2991 2004-03-08  André Pönitz  <poenitz@gmx.net>
2992
2993         * undo.[Ch]: use 'StableDocumentIterator' as base for
2994         the Undo struct.
2995
2996 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2997
2998         * LaTeXFeatures.C:
2999         * bufferparams.[Ch]: add jurabib support and param.
3000
3001         * LaTeX.C: add FIXME/comment.
3002
3003 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3004
3005         * buffer.C: increment file format to 230.
3006
3007 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3008
3009         * cursor.C (dispatch): avoid infinite loops
3010
3011 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3012
3013         * rowpainter.C (paintSelection): fix x coordinates
3014
3015 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3016
3017         * text.C (rowBreakPoint): fix breaking before displayed insets
3018
3019 2004-03-01  André Pönitz  <poenitz@gmx.net>
3020
3021         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3022
3023         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3024
3025         * Makefile.am:
3026         * BufferView.C:
3027         * BufferView_pimpl.C:
3028         * buffer.C:
3029         * lyxfind.C:
3030         * lyxfunc.C:
3031         * text.C:
3032         * text2.C:
3033         * text3.C: adjust
3034
3035 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3036
3037         * lyxtext.h:
3038         * text.C:
3039         * text2.C:
3040         * rowpainter.C:
3041         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3042         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3043
3044 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3045
3046         * Bidi.[Ch] (computeTables): const correctness
3047         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3048         fill_hfill, fill_label_hfill and x from Row
3049         * lyxtext.h: prepareToPrint returns a RowMetrics
3050         * rowPainter.C: adjust
3051         * text.C (prepareToPrint): use width, not textWidth. adjust
3052         (redoParagraphInternal, cursorX): adjust
3053         * text2.C (getColumnNearX): adjust
3054         (init): put a default value to the top LyXText::width
3055
3056 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3057
3058         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3059
3060 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3061
3062         * lyxtext.h: add FontIterator class
3063
3064         * text.C (FontIterator, operator*, operator->, operator++): add
3065         (rowBreakPoint, setRowWidth): adjust (fixing a
3066         rebreaking bug)
3067
3068 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3069
3070         * BufferView_pimpl.C (workAreaDispatch): allow also
3071         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3072
3073 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3074
3075         * text.C (rowBreakPoint): fix a bug showing with very large insets
3076
3077 2004-02-25  André Pönitz  <poenitz@gmx.net>
3078
3079         * text3.C:
3080         * cursor.[Ch]: move some mathed specific code to mathed
3081
3082 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3083
3084         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3085         use_tempdir in preferences
3086         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3087         tempfile creation
3088         * lyx_main.C: ensure that tempdir is valid
3089         * lyxlex.h: correct typo
3090         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3091         * paragraph.[Ch] (isMultiLingual): make const
3092         * cursor.[Ch] (openable): make const
3093
3094 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3095
3096         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3097
3098 2004-02-20  André Pönitz  <poenitz@gmx.net>
3099
3100         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3101
3102         * cursor.[Ch]: prepare for localized getStatus()
3103
3104         * lyxtext.h:
3105         * tabular.C:
3106         * text.C:
3107         * text2.C:
3108         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3109
3110 2004-02-20  André Pönitz  <poenitz@gmx.net>
3111
3112         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3113
3114 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3115
3116         * text2.C (setCursorFromCoordinates): switch to absolute coords
3117         (cursorUp): adjust
3118         (cursorDown): adjust
3119         * text3.C (dispatch): adjust
3120
3121 2004-02-16  André Pönitz  <poenitz@gmx.net>
3122
3123         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3124           insets/ChangeLog)
3125
3126         * cursor_slice.[Ch]: remove unneeded acessor function
3127
3128         * lyxtext.h: rename rtl() to isRTL()
3129
3130         * rowpainter.C:
3131         * tabular.C:
3132         * text.C:
3133         * text2.C:
3134         * text3.C: adjust
3135
3136 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3137
3138         * rowpainter.C (paintSelection): coord fix
3139
3140 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3141
3142         * Spacing.C: compile fix
3143
3144 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3145
3146         * cursor.C (dispatch): restore current_ before returning
3147
3148 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3149
3150         * text2.C (cursorUp, cursorDown): fix coords
3151         (moveUp): fix crash
3152
3153 2004-02-12  André Pönitz  <poenitz@gmx.net>
3154
3155         * lyxtext.h:
3156         * text.C:
3157         * text2.C:
3158         * text3.C: add LCursor & parameter to most cursor movement functions
3159           remove usage of LyXText::cursorRow() and cursorPar()
3160
3161         * cursor.[Ch]: add textRow() needed members
3162
3163         * BufferView.C:
3164         * BufferView_pimpl.C:
3165         * paragraph.[Ch]:
3166         * BufferView.C:
3167         * BufferView_pimpl.C: adjust
3168
3169 2004-02-11  André Pönitz  <poenitz@gmx.net>
3170
3171         * lyxfunc.C:
3172         * BufferView.[Ch]:
3173         * BufferView_pimpl.C: shift undo/redo handling
3174
3175         * cursor.[Ch]: fix mathed crash
3176
3177         * lyxfind.C:
3178         * lyxtext.h: move selectionAsText to LCursor
3179
3180         * output_latex.C:
3181         * paragraph.C:
3182         * text.C:
3183         * text2.C:
3184         * text3.C: adjust
3185
3186         * rowpainter.C: fix excessive drawing
3187
3188 2004-02-06  André Pönitz  <poenitz@gmx.net>
3189
3190         * BufferView.[Ch]:
3191         * BufferView_pimpl.[Ch]:
3192         * text3.C: move some text specific LFUN handling
3193
3194 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3195
3196         * text3.C (checkInsetHit): adjust coords
3197         * text2.C (getColumnNearX): adjust coords
3198         (edit): adjust coords
3199         * text.C (getRowNearY): add two asserts
3200
3201 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3202
3203         * converter.C:
3204         * format.C: add using std::distance to compile on gcc 2.95/stlport
3205
3206 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3207
3208         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3209
3210 2004-02-04  André Pönitz  <poenitz@gmx.net>
3211
3212         * BufferView.[Ch] (insertInset):
3213         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3214
3215         * text2.C:
3216         * text3.C: adjust
3217
3218 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3219
3220         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3221         on the default clause of the switch
3222         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3223         wasn't catched by LCursor::dispatch
3224
3225 2004-02-03  André Pönitz  <poenitz@gmx.net>
3226
3227         * BufferView.C:
3228         * cursor.[Ch]: some additional asserts
3229
3230         * undo.[Ch]: remove LyXText dependency in interface
3231
3232         * lyxfunc.C: adjust
3233
3234         * lyxtext.h (firstPar, lastPar): remove dead functions
3235
3236         * text.C:
3237         * text2.C:
3238         * text3.C:
3239         * paragraph.[Ch]: adjust
3240
3241 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3242
3243         * lyxfind.C (find): fix argument order in call to ::find
3244
3245 2004-02-02  André Pönitz  <poenitz@gmx.net>
3246
3247         * cursor.[Ch]: remove direct access to anchor
3248
3249         * text.C: remove findText() hack
3250
3251 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3252
3253         * iterators.[Ch] (lockPath): remove in favour of...
3254         * BufferView.[Ch] (setCursor): this addition
3255         * BufferView.C (putSelectionAt): adjust
3256         * undo.C (performUndoOrRedo): adjust
3257         * lyxfunc.C (dispatch): adjust
3258
3259 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3260
3261         * iterators.C (lockPath): add a missing slice
3262         * undo.C (performUndoOrRedo): remove redundant positioning code
3263
3264 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
3265
3266         * vc-backend.C (scanMaster): ";" -> ';'
3267
3268 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
3269
3270         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3271         std::binary_function
3272
3273         * lyxtextclass.C (compare_name): rename to...
3274         (LayoutNamesEqual): ...this
3275
3276         * lyxlex_pimpl.C (compare_tags): inherit from
3277         std::binary_function, put back into anon namespace
3278
3279         * lyxfind.C (MatchString): inherig from std::binary_function
3280         (findChange): use empty() istead of !size()
3281
3282         * format.C (FormatNamesEqual): new functor
3283         (getFormat): use it
3284         (getNumber): use it
3285         (add): use it
3286         (erase): use it
3287         (setViewer): use it
3288
3289         * converter.C (compare_Converter): rename to...
3290         (ConverterEqual): ...this, and fixup a bit.
3291         (getConverter): use it, and make function const
3292         (getNumber): use it, and make function const
3293         (add): use it
3294         (erase): use it:
3295
3296         * bufferlist.C: add using boost::bind
3297
3298         * MenuBackend.C (MenuNamesEqual): new functor
3299         (hasMenu): use it, and make function const
3300         (hasSubmenu): use nested bind to get rid of compare_memfun.
3301
3302 2004-01-30  André Pönitz  <poenitz@gmx.net>
3303
3304         * BufferView_pimpl.C:
3305         * cursor.C:
3306         * cursor.h:
3307         * cursor_slice.[Ch]:
3308         * lyxfunc.C:
3309         * lyxtext.h:
3310         * paragraph_funcs.C:
3311         * paragraph_funcs.h:
3312         * rowpainter.C:
3313         * text.C:
3314         * text2.C:
3315         * text3.C: move some of the edit(x,y) handling to the insets
3316         some coordinate changes.
3317
3318 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
3319
3320         * text.C: add using statements for std::advance and std::distance
3321
3322         * paragraph.C: add using statement for std::distance
3323
3324         * lyxfind.C: add using statement for std::advance
3325
3326         * cursor.C (region): remove std:: from swap
3327         (openable): use nucleus in stead of operator->
3328
3329         * BufferView.C: add using statements for std::distance and std::swap
3330
3331 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
3332
3333         * iterators.C: Remove the pimple, move the needed structures to
3334         the header file. Create accessor for the positions stack.
3335         (asPosIterator): remove function
3336
3337         * PosIterator.C (PosIterator): move constructors to top of file
3338         (PosIterator): reimplement the constructor taking a ParIterator in
3339         terms of setFrom.
3340         (setFrom): new function
3341         (operator!=): inline it
3342
3343 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
3344
3345         * lyxfind.C (replaceAll): use std::advance
3346
3347         * iterators.h: inherit from std::iterator.
3348
3349         * PosIterator.C (advance, distance): remove
3350         * PosIterator.h: interit from std::iterator.
3351
3352 2004-01-26  André Pönitz  <poenitz@gmx.net>
3353
3354         * BufferView.[Ch]:
3355         * BufferView_pimpl.[Ch]:
3356         * InsetList.[Ch]:
3357         * PosIterator.[Ch]:
3358         * buffer.h:
3359         * bufferview_funcs.C:
3360         * cursor.[Ch]:
3361         * cursor_slice.h:
3362         * factory.[Ch]:
3363         * iterators.[Ch]:
3364         * lyxfind.C:
3365         * lyxfunc.C:
3366         * lyxtext.h:
3367         * output_docbook.C:
3368         * output_latex.C:
3369         * output_linuxdoc.C:
3370         * output_plaintext.C:
3371         * paragraph.[Ch]:
3372         * paragraph_funcs.[Ch]:
3373         * paragraph_pimpl.[Ch]:
3374         * rowpainter.C:
3375         * tabular.C:
3376         * tabular.h:
3377         * text.C:
3378         * text2.C:
3379         * text3.C: more IU:  dumps most of the rest of the mathcursor
3380     implementation into cursor.[Ch]; "globalize" a bit of it.
3381
3382 2004-01-25  Angus Leeming  <leeming@lyx.org>
3383
3384         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3385
3386 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3387
3388         * LaTeXFeatures.h: add nice_ and nice() const
3389         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3390
3391 2004-01-20  André Pönitz  <poenitz@gmx.net>
3392
3393         * BufferView.[Ch]:
3394         * BufferView_pimpl.C:
3395         * PosIterator.C:
3396         * bufferview_funcs.C:
3397         * cursor.[Ch]:
3398         * cursor_slice.[Ch]:
3399         * factory.C:
3400         * iterators.C:
3401         * lyx_cb.C:
3402         * lyxfind.C:
3403         * lyxfunc.C:
3404         * lyxtext.h:
3405         * rowpainter.C:
3406         * text.C:
3407         * text2.C:
3408         * text3.C:
3409         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3410           LCursor and mathcursor parts to LCursor and InsetBase.
3411
3412 2004-01-15  André Pönitz  <poenitz@gmx.net>
3413
3414         * cursor_slice.[Ch]: add a few covienience functions
3415
3416         * funcrequest.[Ch]: remove BufferView * member
3417
3418         * BufferView_pimpl.C:
3419         * cursor.C:
3420         * factory.[Ch]:
3421         * lyxfind.[Ch]:
3422         * lyxfunc.C:
3423         * lyxtext.h:
3424         * text3.C:
3425         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3426
3427 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3428
3429         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3430         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3431
3432 2004-01-13  André Pönitz  <poenitz@gmx.net>
3433
3434         * textcursor.[Ch]:
3435         * lyxtext.h: hide cursor and selection anchor behind accessor function
3436
3437         * BufferView.C:
3438         * BufferView_pimpl.[Ch]:
3439         * PosIterator.C:
3440         * bufferview_funcs.C:
3441         * cursor.h:
3442         * lyxfind.C:
3443         * lyxfunc.C:
3444         * text.C:
3445         * text2.C:
3446         * text3.C:
3447         * undo.C: adjust
3448
3449         * cursor.h:
3450         * cursor_slice.[Ch]: some integer type changes for inset unification
3451
3452         * lyxcursor.[hC]: remove, it's CursorSlice now.
3453
3454         * Makefile.am:
3455         * BufferView_pimpl.[Ch]:
3456         * bufferview_funcs.C:
3457         * cursor_slice.C:
3458         * lyxtext.h:
3459         * text.C:
3460         * text2.C:
3461         * text3.C:
3462         * textcursor.[Ch]: adjust
3463
3464 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3465
3466         * text2.C (undoSpan): add and use
3467         * text.C (breakParagraph): use undoSpan (fix bug 578)
3468         * lyxtext.h: adjust
3469
3470 2004-01-08  Angus Leeming  <leeming@lyx.org>
3471
3472         * BufferView_pimpl.C (MenuInsertLyXFile):
3473         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3474         * lyxfunc.C (menuNew, open, doImport):
3475         FileFilterList change to the FileDialog open and save functions.
3476
3477 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
3478
3479         * ShareContainer.h: make isEqual and isUnique adaptable
3480
3481         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3482
3483 2004-01-07  Angus Leeming  <leeming@lyx.org>
3484
3485         * LyXAction.C:
3486         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3487
3488         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3489
3490         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3491         functions replacing find, replace and replaceAll.
3492
3493         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3494         LFUN_WORDFIND(FORWARD|BACKWARD).
3495
3496 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3497
3498         * text.C (breakParagraph): remove an outdated #warning
3499
3500 2004-01-07  André Pönitz  <poenitz@gmx.net>
3501
3502         * lyxfind.C: somewhat clearer logic
3503
3504         * text.C: prevent crash in cursorX on unitialized row cache
3505
3506 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3507
3508         * lyxcursor.[Ch] (operator>): add
3509         * textcursor.C (selStart, selEnd): use std::min and std::max
3510
3511 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
3512
3513         * Chktex.C: include boost/format.hpp
3514
3515 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
3516
3517         * InsetList.C: replace functor MathcIt with adaptable functor
3518         InsetTablePosLess
3519         (insetIterator): modify accordingly
3520
3521         * BranchList.h: move the BranchNamesEqual functor here from...
3522         * BranchList.C: ... to here
3523
3524         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3525         SameName and match.
3526         (add): replace a finding loop with std::find_if.
3527
3528 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3529
3530         * output_docbook.C: moving LatexParam functionality into
3531         .layout files
3532
3533 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3534
3535         * buffer.C: increment format to 229.
3536
3537 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3538
3539         * LaTeXFeatures.C:
3540         * lyx_sty.[Ch]: remove minipageindent_def
3541
3542         * LyXAction.C:
3543         * factory.C:
3544         * lfuns.h:
3545         * lyxfunc.C:
3546         * text3.C: remove LFUN_INSET_MINIPAGE
3547
3548 2003-12-28  Angus Leeming  <leeming@lyx.org>
3549
3550         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3551
3552 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3553
3554         * text2.C (setParagraph): fix off-by-one crash
3555
3556 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3557
3558         * output_docbook.C: header stuff for AGU
3559
3560 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3561
3562         * text2.C (redoCursor): remove
3563         * text.C:
3564         * text3.C:
3565         * BufferView_pimpl.C: remove calls to redoCursor and
3566         setCursor(cursor.par(), cursor.pos()) all around
3567
3568 2003-12-15  Angus Leeming  <leeming@lyx.org>
3569
3570         * buffer.C: up the format to 228.
3571
3572 2003-12-15  André Pönitz  <poenitz@gmx.net>
3573
3574         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3575         slices
3576
3577         * Makefile.am:
3578
3579         * BufferView_pimpl.C:
3580         * cursor.[Ch]:
3581         * lyxcursor.[Ch]:
3582         * rowpainter.[Ch]:
3583         * lyxtext.h:
3584         * text.C:
3585         * text2.C:
3586         * text3.C: adjust
3587
3588 2003-12-15  Angus Leeming  <leeming@lyx.org>
3589
3590         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3591         than getFromGUIName to manipulate the color.
3592
3593 2003-12-14  Angus Leeming  <leeming@lyx.org>
3594
3595         * BranchList.[Ch]: minimize the API.
3596         (Branch::getBranch, getColor): now return a 'const &'.
3597         (Branch::setSelected) now returns a bool set to true if the
3598         selection status changes.
3599         (BranchList::clear, size, getColor, setColor, setSelected,
3600         allBranches, allSelected, separator): removed.
3601         (BranchList::find): new functions, returning the Branch with
3602         the given name.
3603         (BranchList::add, remove): return a bool indicating that
3604         the operation was successful.
3605
3606         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3607         new InsetBranch::isBranchSlected member function.
3608
3609         * LColor.[Ch]: mimimize the API.
3610         (fill): renamed as addColor and made private.
3611         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3612         versions of these functions taking a string arg have been removed.
3613
3614         * bufferparams.C (readToken):
3615         * lyxfunc.C (dispatch):
3616         * lyxrc.C (read): changes due to the altered BranchList and
3617         LColor APIs.
3618
3619         * factory.C (createInset, readInset): changes due to altered
3620         InsetBranch c-tor.
3621
3622 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3623
3624         * factory.C:
3625         * lyxfunc.C: remove insetminipage. "minipage-insert"
3626         now produces a frameless minipage box inset.
3627
3628 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3629
3630         * textcursor.[Ch] (selStart,selEnd): add new methods
3631         remove selection::start, end, use LyXCursor::operator<
3632         * lyxcursor.[Ch] (operator<): add
3633         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3634         * BufferView.[Ch] (unsetXSel): add
3635         * text2.C (clearSelection): use unsetXSel,adjust
3636         * text.C: adjust
3637         * text3.C: adjust
3638         * rowpainter.C: adjust
3639         * bufferview_funcs.C (put_selection_at): adjust
3640
3641 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3642
3643         * BufferView_pimpl.C: small coord. correction
3644
3645 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3646
3647         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3648         dragging over the splash screen.
3649
3650 2003-12-11  Angus Leeming  <leeming@lyx.org>
3651
3652         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3653         as it is now handled in LyXText::dispatch.
3654
3655         * text3.C (doInsertInset): remove a level of nesting.
3656
3657 2003-12-11  Angus Leeming  <leeming@lyx.org>
3658
3659         * factory.C (createInset): changes due to the changed interface to
3660         InsetCommandMailer::string2params.
3661
3662 2003-12-10  Angus Leeming  <leeming@lyx.org>
3663
3664         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3665         'dialog-show-new-inset <inset name>'
3666
3667 2003-12-10  Angus Leeming  <leeming@lyx.org>
3668
3669         * buffer.C: up the format to 227.
3670
3671         * factory.C: the box inset is now identified simply by 'Box'.
3672
3673 2003-12-10  Angus Leeming  <leeming@lyx.org>
3674
3675         * buffer.C: up the format to 226.
3676
3677         * factory.C: the note inset is now identified simply by 'Note'.
3678
3679 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3680
3681         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3682         when a pit is enough. Standarize a couple of loops.
3683
3684 2003-12-05  Angus Leeming  <leeming@lyx.org>
3685
3686         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3687         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3688         data to the re-worked "log" dialog.
3689
3690 2003-12-03  André Pönitz  <poenitz@gmx.net>
3691
3692         * PosIterator.C:
3693         * iterators.C:
3694         * lyxtext.h:
3695         * output_latex.C:
3696         * paragraph_funcs.C:
3697         * text.C:
3698         * text2.C: use Inset::getText instead of Inset::getParagraph
3699
3700 2003-12-03  André Pönitz  <poenitz@gmx.net>
3701
3702         * buffer.[Ch]:
3703         * lyxtext.h:
3704         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3705         InsetText::read() as LyXText::read()
3706
3707 2003-12-02  Angus Leeming  <leeming@lyx.org>
3708
3709         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3710         type. Add a comment in the implementation that the function uses
3711         the stream's bad() function rather than fail() as the std::streams
3712         would do.
3713
3714 2003-12-02  André Pönitz  <poenitz@gmx.net>
3715
3716         * lyxlex.[Ch]: make interface more similar to std::stream
3717
3718         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3719
3720 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3721
3722         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3723
3724 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3725
3726         * vspace.[Ch]: remove VSpace::NONE
3727
3728 2003-12-01  André Pönitz  <poenitz@gmx.net>
3729
3730         * buffer.[Ch]:
3731         * lyxtext.h: move ParagraphList member to LyXText
3732         rename LyXText::ownerParagraphs to LyXText::paragraph
3733
3734         * CutAndPaste.C:
3735         * bufferview_funcs.C:
3736         * iterators.[Ch]:
3737         * lyx_cb.C:
3738         * paragraph.C:
3739         * rowpainter.C:
3740         * tabular.C:
3741         * text.C:
3742         * text2.C:
3743         * text3.C: adjust
3744
3745         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3746
3747         * undo.C: fix cursor positioning
3748
3749 2003-12-01  John Levon  <levon@movementarian.org>
3750
3751         * BufferView_pimpl.C: fix a crash on exit with
3752         a buffer open
3753
3754 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3755
3756         * BranchList.C: fix setSelected() method.
3757
3758 2003-11-28  André Pönitz  <poenitz@gmx.net>
3759
3760         * ParagraphParameters.[Ch]:
3761         * ParameterStruct.h: remove space above/below from Paragraph to
3762          InsetVSpace
3763
3764         * BufferView_pimpl.C:
3765         * factory.C:
3766         * lyxfunc.C:
3767         * lyxtext.h:
3768         * output_latex.C:
3769         * paragraph.C:
3770         * paragraph_funcs.C:
3771         * rowpainter.[Ch]:
3772         * text.C:
3773         * text2.C:
3774         * text3.C: adjust
3775
3776 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3777
3778         * factory.C: Syntax change for CharStyles
3779
3780 2003-11-28  André Pönitz  <poenitz@gmx.net>
3781
3782         * BufferView.[Ch]:
3783         * BufferView.[Ch]:
3784         * buffer.[Ch]:
3785         * buffer.[Ch]: move LyXText member
3786
3787 2003-11-28  André Pönitz  <poenitz@gmx.net>
3788
3789         * BufferView.[Ch]: make LyXText * text a private member
3790
3791         * BufferView_pimpl.C:
3792         * cursor.C:
3793         * iterators.C:
3794         * lyx_cb.C:
3795         * lyxfind.C:
3796         * lyxtext.h:
3797         * rowpainter.[Ch]:
3798         * text.C:
3799         * text2.C:
3800         * undo.C: adjust
3801
3802         * output_plaintext.C: cleanup
3803
3804 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3805
3806         * buffer.C:
3807         * lyxtextclass.[Ch]: parametrize SGML document header
3808
3809 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3810
3811         * converter.[Ch]:
3812         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3813         getFlavor().
3814
3815 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3816
3817         * text2.C (setFont): rework using PosIterator (no more recursive)
3818         (setCharFont): no more needed
3819         (setLayout): no more selection cursors fiddling (done by redoCursor)
3820         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3821         destroy remaining ones)
3822
3823 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3824
3825         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3826         * lyxtext.h: ditto
3827         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3828         selection cursors
3829         * lyxfunc.C: adjust
3830         * text3.C: adjust + re-allow multi par depth changes
3831         * textcursor.C: simplify a bit
3832
3833 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3834
3835         * src/buffer.C:
3836         * src/lyxlayout.C:
3837         * src/lyxlayout.h:
3838         * src/lyxtext.h:
3839         * src/output_docbook.C:
3840         * src/output_latex.C:
3841         * src/paragraph.C:
3842         * src/paragraph.h:
3843         * src/sgml.C:
3844         * src/sgml.h:
3845         * src/text2.C: Introducing a number of tags parametrizing various
3846         XML formats that we may want to support
3847
3848 2003-11-25  André Pönitz  <poenitz@gmx.net>
3849
3850         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3851
3852         * lyxtext.h (leftMargin/rightMargin): simplify interface
3853
3854         * rowpainter.C:
3855         * text.C:
3856         * text2.C:
3857         * text3.C: adjust
3858
3859 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3860
3861         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3862         master file to any child files. Fixes bug 546.
3863
3864 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3865
3866         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3867
3868 2003-11-24  André Pönitz  <poenitz@gmx.net>
3869
3870         * rowpainter.C: simplification
3871
3872         * text2.C (updateCounters): remove call to redoParagraph on
3873         changed labels as this is far too expensive.
3874
3875 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3876
3877         * converter.C (convert): fix a crash: this function gets
3878         called with buffer == 0 from importer code.
3879
3880 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3881
3882         * text3.C (cursorPrevious): make sure that we do not compare
3883         iterators form different containers.
3884         (cursorNext): ditto
3885
3886         * rowpainter.C (paintSelection): make sure that we do not compare
3887         iterators from different containers.
3888
3889         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3890         iterators from different ParagraphList containers.
3891         [NEXT] ditto
3892
3893         * text2.C (LyXText): change order of initialization slightly
3894         (operator=): new function. copy all variables except cache_par_
3895         (moveUp): make sure that we do not compare iterators from
3896         different ParagraphList constainers.
3897         (moveDown): ditto
3898
3899         * text.C (firstPar): new function
3900         (lastPar): new function
3901         (endPar): new function
3902
3903         * lyxtext.h: move things around and group public functions, public
3904         variables, private functions, private variables
3905
3906 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3907
3908         * factory.C: change call to InsetERT constructor to avoid
3909         additional invocation of method status
3910         * text2.C (toggleInset): remove redundant update() call
3911         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3912         instead of a Bufferview pointer
3913
3914 2003-11-21  André Pönitz  <poenitz@gmx.net>
3915
3916         * rowpainter.C: simplification
3917
3918 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3919
3920         * text3.C (dispatch): make possible to extend a word/row selection
3921         with the mouse
3922
3923 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3924
3925         * lyxtext.h: x0_,y0_ -> xo_,yo_
3926         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3927         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3928         * rowpainter.C (paintRows): paint full paragraphs
3929
3930 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3931
3932         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3933         screen coordinates)
3934
3935 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3936
3937         * lyxtext.h: add x0_, y0_
3938         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3939         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3940
3941 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3942
3943         * text2.C (setCursorIntern): move the x_target update here *
3944         * text3.C: change some bv() to true/false in calls to
3945         cursorUp/Down/Right/Left
3946         * cursor.C: use helper function.
3947
3948 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3949
3950         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3951         * paragraph_funcs.[Ch]: correct comment
3952         * rowpainter.C: do not paint selections away from bv->cursor()
3953         Fix a long standing selection painting bug.
3954         * text3.C: generalize mouse-selection code to LyXTexts other that
3955         top one
3956         * textcursor.C: do not use y coords if we can use par offsets
3957
3958 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3959
3960         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3961         cursor position after e.g. inset insert)
3962
3963 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3964
3965         * lyxfind.C (replace): adjust to locking removal + some
3966         code simplification
3967
3968 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3969
3970         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3971         of the path
3972
3973 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3974
3975         * lyxlayout.[Ch]:
3976         * output_docbook.C: XML sanitation: new layout
3977         parameters InnerTag and CommandDepth
3978
3979 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3980
3981         * BufferView_pimpl.C:
3982         * factory.C:
3983         * text3.C: Fix the insertion and modification of button-style
3984         insets
3985
3986 2003-11-13  André Pönitz  <poenitz@gmx.net>
3987
3988         * InsetList.[Ch]: remove deleteLyXText
3989
3990         * paragraph.[Ch]: cache beginOfBody position
3991
3992         * Bidi.C:
3993         * text.C:
3994         * text2.C:
3995         * text3.C: remove superfluous update() calls
3996
3997         * vspace.C: cleanup
3998
3999 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4000
4001         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4002         * BufferView.C (fitLockedInsetCursor): remove
4003         * cursor.[Ch] (getDim): add
4004         * text.C (getRowNearY): add faster version
4005         * text3.C: remove some update calls
4006
4007 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4008
4009         * LaTeXFeatures.C:
4010         * LyXAction.C:
4011         * MenuBackend.C:
4012         * MenuBackend.h:
4013         * dispatchresult.h:
4014         * factory.C:
4015         * lfuns.h:
4016         * lyxfunc.C:
4017         * lyxtextclass.C:
4018         * lyxtextclass.h:
4019         * text3.C: The Character Style /XML short element patch.
4020
4021 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4022
4023         * text3.C:
4024         * factory.C: Small step to solving 'unable to insert some insets'
4025         problem
4026
4027 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4028
4029         * cursor.[Ch] (updatePos): new function for updating the y
4030         position of the tip inset
4031         * bufferview_funcs.C (put_selection_at):
4032         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4033
4034 2003-11-11  André Pönitz  <poenitz@gmx.net>
4035
4036         * text.C: remove big comment on invalid Paragraph pointers as it is
4037         not valid anymore
4038
4039 2003-11-11  André Pönitz  <poenitz@gmx.net>
4040
4041         * text_funcs.[Ch]: merge with ...
4042
4043         * text.C: ... this
4044
4045         * lyxtext.h:
4046         * text2.C:
4047         * text3.C: adjust
4048
4049         * Makefile.am: remove text_funcs.[Ch]
4050
4051 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4052
4053         * cursor.C (getPos): return absolute cached y coord
4054
4055         * BufferView_pimpl.C (fitCursor): new simplistic code
4056         (workAreaDispatch): add a fitCursor call
4057
4058 2003-11-10  André Pönitz  <poenitz@gmx.net>
4059
4060         * BufferView.[Ch]:
4061         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4062
4063 2003-11-10  André Pönitz  <poenitz@gmx.net>
4064
4065         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4066         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4067         indicate that the cursor needs to leave an inset
4068
4069         * lyxtext.h: remove inset locking
4070
4071         * cursor.[Ch]: re-implement functionality provided by inset locking
4072
4073         * BufferView.[Ch]:
4074         * BufferView_pimpl.[Ch]:
4075         * LyXAction.C:
4076         * bufferview_funcs.[Ch]:
4077         * factory.C:
4078         * funcrequest.[Ch]:
4079         * iterators.C:
4080         * lyx_cb.C:
4081         * lyxfind.C:
4082         * lyxfunc.C:
4083         * text.C:
4084         * text2.C:
4085         * text3.C:
4086         * undo.C: adjust
4087
4088 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4089
4090         * PosIterator.[Ch]: replace the stack with a vector, add inset
4091         accesor
4092         * iterators.[C]: adjust
4093
4094 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4095
4096         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4097         replaced
4098         * paragraph_funcs.C (readParToken): put the correct id in the
4099         error item, not the id of the top paragraph
4100
4101 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4102
4103         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4104         * bufferview_funcs.C (put_selection_at): use the above
4105
4106 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4107
4108         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4109
4110 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4111
4112         * output_linuxdoc.h:
4113         * output_plaintext.h:
4114         * output.h:
4115         * output_docbook.h: add #include statements
4116
4117 2003-11-05  José Matos  <jamatos@lyx.org>
4118
4119         * output_docbook.[Ch]:
4120         * output_latex.[Ch]:
4121         * output_linuxdoc.[Ch]:
4122         * output_plaintext.[Ch]: New files for output formats.
4123         * output.[Ch]: New file for helper functions.
4124
4125         * buffer.[Ch]:
4126         * paragraph_funcs.[Ch]: output functions moved to new files.
4127
4128         * outputparams.h: rename of latexrunparams.h
4129
4130         * LaTeX.[Ch]:
4131         * buffer.[Ch]:
4132         * bufferlist.[Ch]:
4133         * converter.[Ch]:
4134         * exporter.C:
4135         * paragraph.[Ch]:
4136         * paragraph_funcs.[Ch]:
4137         * paragraph_pimpl.[Ch]:
4138         * tabular.[Ch]: rename ascii to plaintext
4139         and LatexRunParams to OutputParams.
4140
4141 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4142
4143         * iterators.[Ch] (text): require bv argument
4144         * undo.C (recordUndo):
4145         * lyxfunc.C (dispatch):
4146         * bufferview_funcs.C (put_selection_at): adjust
4147
4148 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
4149
4150         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4151
4152 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4153
4154         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4155         nestings
4156
4157 2003-11-04  André Pönitz  <poenitz@gmx.net>
4158
4159         * cursor.[Ch]: restructure
4160
4161         * BufferView.[Ch]:
4162         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4163
4164         * iterators.[Ch] (asCursor): remove
4165
4166         * lfuns.h: remove LFUN_INSET_EDIT
4167
4168         * lyxfunc.C:
4169         * tabular.C:
4170         * text.C:
4171         * text2.C:
4172         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4173
4174 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4175
4176         * lyxfind.[Ch]: complete overhaul
4177         * BufferView_pimpl.C:
4178         * lyxfunc.C: adjust
4179         * paragraph.[Ch] (insert): add
4180
4181 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4182
4183         * BufferView.[Ch]:
4184         * lyxtext.h:
4185         * text.C: remove dead spellcheck code
4186
4187 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4188
4189         * dispatchresult.h: add a val setter
4190
4191         * cursor.C (dispatch): use a tempvar for data_[i]
4192
4193 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4194
4195         * PosIterator.[Ch]: compile fix
4196
4197 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4198
4199         * text.C (cursorPar): deactivate the cursor cache
4200
4201 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4202
4203         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4204
4205 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4206
4207         * text3.C (dispatch): adjust for new DisptchResult semantics.
4208
4209         * lyxfunc.C (dispatch): handle update when return from
4210         Cursor::dispatch, adjust for new DispatchResult semantics.
4211
4212         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4213         DispatchResult(true) mean to not update. Add class functions for
4214         setting dispatched and update, as well as reading.
4215
4216         * cursor.C (dispatch): don't handle update here
4217
4218 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4219
4220         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4221         * trans_mgr.C: adjust
4222
4223         * paragraph_funcs.C (readParToken): exception safety
4224
4225         * lyxvc.h: store the vcs pointer in a scoped_ptr
4226         * lyxvc.C: adjust
4227
4228         * lyxsocket.C (serverCallback): exception safety
4229
4230         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4231
4232         * ispell.C (clone): make it return a auto_ptr
4233
4234         * factory.C (createInset): exception safety
4235         (readInset): exception safety
4236
4237         * bufferlist.C (newBuffer): exception safety
4238
4239         * Thesaurus.C (Thesaurus): use initialization for aik_
4240
4241         * MenuBackend.C (expandToc): exception safety.
4242
4243 2003-11-03  André Pönitz  <poenitz@gmx.net>
4244
4245         * buffer.C:
4246         * buffer.h:
4247         * bufferview_funcs.C: remove getInsetFromId()
4248
4249         * lyxcursor.[Ch]:
4250         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4251
4252         * lyxfunc.C:
4253         * text2.C:
4254         * text3.C: adjust
4255
4256 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4257
4258         * PosIterator.C (distance, advance): new
4259         * bufferview_funcs.[Ch] (put_selection_at): new
4260         * iterators.[Ch] (lockPath): new
4261
4262 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4263
4264         * iterators.[Ch] (asPosIterator): added
4265         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4266         * PosIterator.[Ch]: added
4267
4268 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4269
4270         * text3.C:
4271         * lyxfunc.C:
4272         * cursor.C (dispatch):
4273         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4274
4275         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4276         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4277         contructor, add a class function dispatched. Remove operator>=
4278
4279 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4280
4281         * debug.C: only use the default constructor for debugstream
4282         (lyxerr) here.
4283
4284         * main.C (main): include debug.h and setup the lyxerr streambuf
4285         here.
4286
4287 2003-10-31  José Matos  <jamatos@lyx.org>
4288
4289         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4290
4291         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4292         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4293         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4294         * paragraph_pimpl.C (simpleTeXSpecialC):
4295         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4296         add LatexRunParams argument.
4297
4298         * exporter.C (Export): change call accordingly.
4299
4300         * latexrunparams.h: add new member to take care of the other backends.
4301 2003-10-30  José Matos  <jamatos@lyx.org>
4302
4303         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4304         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4305         factorise code for paragraph output.
4306         * buffer.[Ch]:
4307         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4308         move functions.
4309
4310 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4311
4312         * text3.C (dispatch):
4313         * lyxfunc.C (dispatch):
4314         * cursor.C (dispatch):
4315         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4316
4317         * dispatchresult.h: make the dispatch_result_t ctor explicit
4318
4319 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4320
4321         * sgml.[Ch]:
4322         * buffer.C: small refactoring of docbook stuff
4323
4324 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4325
4326         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4327         meaning.
4328
4329 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4330
4331         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4332         operator dispatch_result_t, and operators for == != and >=
4333
4334         * cursor.C (dispatch): adjust for operator dispatch_result_t
4335         removal. comment out call to update
4336
4337         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4338
4339 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4340
4341         * text3.C:
4342         * text2.C:
4343         * text.C:
4344         * lyxtext.h:
4345         * lyxfunc.C:
4346         * cursor.C:
4347         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4348         (dispatch):
4349
4350         * dispatchresult.h: new file, DispatchResult broken out of
4351         insets/insetbase.h
4352
4353         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4354
4355 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4356
4357         * text.C (rowBreakPoint): put a hack inside #if 0
4358
4359 2003-10-28  André Pönitz  <poenitz@gmx.net>
4360
4361         * lyxtext.h:
4362         * metricsinfo.C:
4363         * paragraph_funcs.C:
4364         * rowpainter.C:
4365         * text.C:
4366         * text2.C: general cleanup (lots of small stuff)
4367
4368 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4369
4370         * text2.C (cursorEnd): simple fix to the "end key goes to one
4371         before the end on last row" bug
4372
4373 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4374
4375         * text.C (backspace): fix the "zombie characters"
4376
4377 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4378
4379         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4380
4381 2003-10-27  André Pönitz  <poenitz@gmx.net>
4382
4383         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4384
4385         * factory.C: handle new InsetPagebreak, InsetLine
4386
4387         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4388         and move handling into new InsetPagebreak, InsetLine
4389
4390         * BufferView_pimpl.C:
4391         * LyXAction.C:
4392         * ParagraphParameters.C:
4393         * ParameterStruct.h:
4394         * lyxfunc.C:
4395         * lyxtext.h:
4396         * paragraph.C:
4397         * paragraph.h:
4398         * paragraph_funcs.C:
4399         * paragraph_pimpl.C:
4400         * rowpainter.C:
4401         * text.C:
4402         * text2.C:
4403         * text3.C: adjust
4404
4405 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4406
4407         * text.C:
4408         * lyxrow_funcs.[Ch]:
4409         * Bidi.C:
4410         * paragraph.C:
4411         * lyxtext.h:
4412         * rowpainter.C:
4413         * text2.C:
4414         * text3.C: remove lastPos uses in favour of Row::endpos
4415
4416 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4417
4418         * undo.C (performUndoOrRedo): fix two crashes by setting a
4419         cursor by hand and reordering some calls. Use bv->lockInset instead
4420         of inset->edit because the latter loses cursor information
4421
4422 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4423
4424         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4425         by Martin
4426         (rowBreakPoint): fix width. change point to point + 1.
4427         Add a missing check.
4428
4429 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4430
4431         * MenuBackend.C:
4432         * lyxfunc.C: fix (at least partly) the problems
4433         with the Nav menu and headers inside branch insets
4434         reported by Kayvan
4435
4436 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4437
4438         * paragraph.C (getChar): add strong asserts
4439
4440         * lyxrow_funcs.C (lastPos): remove hideous hack
4441
4442         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4443         (fill): adjust to that (avoid an infinite loop)
4444
4445 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4446
4447         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4448
4449 2003-10-23  André Pönitz  <poenitz@gmx.net>
4450
4451         * RowList_fwd.h: change list<> to vector<> to gain speed
4452         after suggestion from Alfredo
4453
4454 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4455
4456         * lyxtext.h: move the bidi stuff from here...
4457         * text.C: and here
4458         * text2.C: and here
4459         * Bidi.[Ch]: ... to here
4460
4461 2003-10-23  André Pönitz  <poenitz@gmx.net>
4462
4463         * lyxtext.h:
4464         * text.C (isLastRow, isFirstRow): new functions
4465
4466         * paragraph.h: new width cache member
4467
4468         * rowpainter.C: replace RowList::iterator with Row & where possible
4469
4470         * lyxfunc.C: replace several view()->text with a single call
4471
4472         * toc.C: fix 'unused' warning
4473
4474 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4475
4476         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4477         when woring with stream::pos_type
4478         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4479
4480 2003-10-22  André Pönitz  <poenitz@gmx.net>
4481
4482         * lyxtext.h:
4483         * text.C: use Row & instead of RowList::iterator
4484
4485         * lyxrow.h: rename end() to endpos()
4486
4487         * rowpainter.C:
4488         * text.C:
4489         * text2.C: adjust
4490
4491 2003-10-22  Angus Leeming  <leeming@lyx.org>
4492
4493         * buffer.[Ch] (fully_loaded): new member function, returning true
4494         only when the file has been loaded fully.
4495         Used to prevent the premature generation of previews and by the
4496         citation inset to prevent computation of the natbib-style label.
4497
4498         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4499         templates are all set up.
4500
4501         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4502
4503 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4504
4505         * text.C: fixed an "oops" in the "is a bit silly"
4506         bug fix
4507
4508 2003-10-21  André Pönitz  <poenitz@gmx.net>
4509
4510         * FuncStatus.[Ch]: small stuff, whitespace
4511
4512         * lyxfont.[Ch]: operator<<() for debug reasons
4513
4514         * lyxfunc.C:
4515         * lyxrow_funcs.C:
4516         * lyxtext.h: whitespace, spelling
4517
4518         * paragraph.C: naming of variables
4519
4520         * text.C:
4521         * text2.C: small stuff
4522
4523
4524 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4525
4526         * text.C: (1) finish off the inset display() work;
4527         (2) fix the "is a bit silly" bug (accessing char
4528         past end of par).
4529
4530 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4531
4532         * text.C: re-introduce display() for insets, fixing the
4533         various bugs (stretch of line above, math inset
4534         positioning, ...)
4535
4536 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4537
4538         * text.C (rightMargin): remove spurious semicolon
4539
4540         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4541         1415)
4542
4543 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4544
4545         * text3.C: fix one crash due to wrong cursor def
4546
4547 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4548
4549         * vc-backend.C (scanMaster): make the regex static
4550
4551         * LaTeX.C (scanAuxFile): make the regexs static
4552
4553         * text3.C (doInsertInset, dispatch, dispatch):
4554         * text2.C (cursorUp, cursorDown):
4555         * text.C (selectNextWordToSpellcheck):
4556         * BufferView_pimpl.C (dispatch):
4557         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4558
4559 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4560
4561         * lyxsocket.C: include <cerrno>
4562
4563 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4564
4565         * lyxfunc.C (dispatch): remove textcache stuff
4566
4567         * bufferlist.C (release): remove textcache stuff
4568         (closeAll): ditto
4569
4570         * TextCache.C: delete file
4571         * TextCache.h: delete file
4572
4573         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4574
4575         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4576         delete of the bv_->text.
4577         (resizeCurrentBuffer): remove texcache stuff
4578         (workAreaResize): ditto
4579
4580 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4581
4582         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4583         action.
4584
4585 2003-10-16  André Pönitz  <poenitz@gmx.net>
4586
4587         * lyxrow.[Ch]:
4588         * paragraph.h:
4589         * rowpainter.C:
4590         * text.C:
4591         * text2.C:
4592         * text3.C: speed up by storing y positions per paragraph plus per-row
4593         offset instead of having a 'full' y position in the row.
4594
4595 2003-10-15  André Pönitz  <poenitz@gmx.net>
4596
4597         * iterators.[Ch]:
4598         * iterators.[Ch]:
4599         * undo.[Ch]: make undo aware of inner insets
4600
4601 2003-10-14  Angus Leeming  <leeming@lyx.org>
4602
4603         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4604         static member functions LyX::ref() and LyX::cref.
4605         (lastfiles): new accessor functions for the new lastfiles_ member var.
4606         (addLyXView, views_): add a new LyXView to the list of views_.
4607         (updateInset): loop over all LyXViews to call their own updateInset
4608         member function, returning a pointer to the Buffer owning the inset.
4609
4610         * BufferView_pimpl.C (loadLyXFile):
4611         * MenuBackend.C (expandLastfiles):
4612         * bufferlist.C (MenuWrite, QuitLyX):
4613         lastfiles is no longer a global variable.
4614         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4615
4616         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4617         static function. Access through LyX::cref().emergencyCleanup().
4618
4619 2003-10-14  André Pönitz  <poenitz@gmx.net>
4620
4621         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4622
4623         * undo.[Ch]: restoring part of 'undo in insets'
4624
4625         * Makefile.am:
4626         * undo_funcs.[Ch]: merge with undo.[Ch]
4627
4628         * tabular.C: small cleansing stuff
4629
4630 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4631
4632         * paragraph_funcs.C (readParToken): report unknown insets as error
4633         boxes. Use the outer paragraph as location (also for unknown
4634         tokens).
4635
4636         * factory.C (readInset): do not abort on reading an unknown inset.
4637         Eat it and return 0.
4638
4639 2003-10-13  Angus Leeming  <leeming@lyx.org>
4640
4641         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4642
4643         * lyxrc.C: displayTranslator is now a function,
4644         declared in GraphicsTypes.h.
4645
4646 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4647
4648         * format.C: new placeholder $$a to pass the socket address.
4649
4650         * bufferlist.[Ch]: new function getBufferFromTmp.
4651
4652         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4653           files in the temporary dir.
4654
4655 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4656
4657         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4658
4659         * Makefile.am: add lyxsocket.[Ch].
4660
4661         * lyx_main.C (error_handler): handle SIGPIPE.
4662
4663 2003-10-13  André Pönitz  <poenitz@gmx.net>
4664
4665         * BufferView_pimpl.C:
4666         * lyxtext.h:
4667         * text.C:
4668         * text2.C:
4669         * text3.C:
4670         * undo_funcs.[Ch]: use paroffset_type instead of
4671           ParagraphList::iterators to prevent multiple conversion
4672           (and get a more robust interface)
4673
4674 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4675
4676         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4677         * lyxtext.h: ditto
4678         * text3.C (dispatch): ditto
4679
4680 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4681
4682         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4683         move the onlyfile, use onlyfile instead of foundfile in a couple
4684         of places.
4685
4686         * DepTable.C (update): flush the error stream a bit more
4687
4688 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4689
4690         * lyxserver.C (callback): adjust
4691
4692         * lyxfunc.C (getStatus): add a missing brace in commented code
4693         (ensureBufferClean): reindent
4694         (dispatch): delete version taking a string
4695
4696 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4697
4698         * LaTeX.C (deplog): move found file handlig from here...
4699         (handleFoundFile): .. to new function here.
4700         (deplog): make sure to discover several files mentioned on the
4701         same log line.
4702
4703 2003-10-10  André Pönitz  <poenitz@gmx.net>
4704
4705         * lyxfunc.C:
4706         * lyxtext.h:
4707         * tabular.C:
4708         * text.C:
4709         * text2.C:
4710         * text3.C: fix some of the tabular crashes
4711
4712 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4713
4714         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4715
4716         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4717
4718 2003-10-09  André Pönitz  <poenitz@gmx.net>
4719
4720         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4721
4722         * BufferView.C:
4723         * BufferView_pimpl.C:
4724         * bufferview_funcs.C:
4725         * lyx_cb.C:
4726         * lyxcursor.C:
4727         * lyxfind.C:
4728         * lyxfunc.C:
4729         * lyxtext.h:
4730         * text.C:
4731         * text2.C:
4732         * text3.C:
4733         * text_funcs.[Ch]:
4734         * textcursor.[Ch]:
4735         * undo_funcs.C: adjust
4736
4737 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4738
4739         * text2.C (incrementItemDepth): new function, use a backtracking
4740         algorithm to discover the correct item depth.
4741         (resetEnumCounterIfNeeded): new function, use a backtracking
4742         algorithm to discover if counter reset is needed.
4743         (setCounter): use them. Simplify a bit. Add different labels for
4744         different item depths for itemize.
4745
4746         * paragraph.C (Paragraph): remove initialization of enumdepth
4747         (operator=): ditto
4748
4749         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4750         enumerate and itemize. Change the type of itemdepth to signed char.
4751
4752 2003-10-08  André Pönitz  <poenitz@gmx.net>
4753
4754         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4755           thing assignable.
4756         * text.C:
4757         * text2.C: adjust
4758
4759         * tabular.[Ch]: fix crash after 'row-insert'
4760
4761 2003-10-08  Angus Leeming  <leeming@lyx.org>
4762
4763         Fix doxygen warnings.
4764
4765         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4766         Remove CutAndPaste:: prefix from header file declaration.
4767
4768         * LColor.h (fill): remove LColor:: prefix from declaration.
4769
4770         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4771         use lyx::depth_type rather than Paragraph::depth_type so that
4772         header file and .C file match.
4773
4774         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4775
4776         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4777         * aspell.C: \file aspell_local.C -> \file aspell.C
4778         * gettext.C: \file gettext.C -> \file src/gettext.C
4779         * gettext.h: \file gettext.h -> \file src/gettext.h
4780         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4781         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4782         * text.C: \file text.C -> \file src/text.C
4783
4784         * toc.C: move comment so that doxygen is not confused.
4785
4786 2003-10-07  Angus Leeming  <leeming@lyx.org>
4787
4788         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4789
4790 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4791
4792         * aspell.C:
4793         * aspell_local.h: add forgotten std::string's.
4794
4795 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4796
4797         * LaTeXFeatures.C:
4798         * LyXAction.C:
4799         * factory.C:
4800         * lfuns.h:
4801         * lyxfunc.C:
4802         * text3.C: The Box patch. Fancybox support, minipage, parbox
4803
4804 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4805
4806         * CutAndPaste.h:
4807         * DepTable.h:
4808         * FloatList.h:
4809         * LaTeXFeatures.h:
4810         * ParagraphParameters.h:
4811         * TextCache.h:
4812         * Thesaurus.h:
4813         * bufferlist.h:
4814         * exporter.h:
4815         * importer.h:
4816         * lastfiles.h:
4817         * lyxfind.h:
4818         * lyxfont.h:
4819         * lyxlex.h:
4820         * lyxtextclasslist.h:
4821         * messages.h:
4822         * paragraph.h:
4823         * paragraph_pimpl.C:
4824         * textcursor.h: add <string> and other small fixes to make Lars'
4825         std::string patch compile with STLport.
4826
4827 2003-10-06  Angus Leeming  <leeming@lyx.org>
4828
4829         * LColor.h: Add missing #include <string>.
4830
4831 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4832
4833         * All most all file in all subdirs: Make <string> be the prefered
4834         way of getting to std::string, add using declarations.
4835
4836 2003-10-06  André Pönitz  <poenitz@gmx.net>
4837
4838         * metricsinfo.C: initialize LyXFont before changing attribute.
4839         (fixes the 'math in \emph is upright' bug)
4840
4841 2003-10-06  André Pönitz  <poenitz@gmx.net>
4842
4843         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4844
4845 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4846
4847         * graph.C:
4848         * paragraph_pimpl.C: Small fixes to build using STLport
4849
4850 2003-10-02  André Pönitz  <poenitz@gmx.net>
4851
4852         * lyxfunc.C:
4853         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4854
4855 2003-10-01  André Pönitz  <poenitz@gmx.net>
4856
4857         * factory.C: assert early
4858
4859 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4860
4861         * lyx_main.C: remove the global debug object
4862
4863         * debug.h: adjust for new debugstream
4864
4865         * debug.C: adjust for new debugstream and keep the global debug
4866         object here.
4867
4868 2003-09-22  Angus Leeming  <leeming@lyx.org>
4869
4870         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4871         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4872         an incomplete class LyXFont.
4873
4874 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4875
4876         * factory.C: bug fix in branches
4877
4878 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4879
4880         * lyxfunc.C (processKeySym): adjust
4881         (dispatch): adjust
4882         (dispatch): change arg name from ev to func, adjust
4883         (sendDispatchMessage): ditto
4884
4885         * lyx_main.C (defaultKeyBindings): adjust keybindings
4886         (deadKeyBindings): ditto
4887
4888         * kbsequence.C (addkey): return a FuncRequest
4889
4890         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4891
4892         * kbmap.C (bind): take a FuncRequest as arg, adjust
4893         (read): adjust
4894         (lookup): adjust
4895         (defkey): change to take a FuncRequest as arg, adjust
4896         (findbinding): take a FuncRequest as arg, adjust.
4897
4898         * funcrequest.h (operator=): added
4899
4900         * funcrequest.C (FuncRequest): default kb_action changed from
4901         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4902
4903         * buffer.C (dispatch): simplify
4904         (dispatch): adjust to take a FuncRequest as arg, adjust
4905
4906         * boost.C (assertion_failed): change assertion message slightly
4907
4908         * ToolbarBackend.C (read): simplify
4909
4910         * MenuBackend.C (binding): adjust call to findbinding, add a
4911         message if no binding is found.
4912         (read): simplify
4913         (expandToc): correct by adding a empty FuncRequest
4914
4915         * LyXAction.C: include <boost/assert.hpp>
4916         (isPseudoAction): delete function
4917         (LookupFunc): change name to...
4918         (lookupFunc): this. change return type to FuncRequest.
4919         (getActionName): take kb_action as arg, simplify
4920         (funcHasFlag): add an assert, simplify.
4921
4922 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4923
4924         * toc.C (action): return a FuncRequest, simplify
4925
4926         * lyxfunc.C (processKeySym): adjust
4927         (getStatus): delete version that takes an int.
4928         (getStatus): adjust
4929         (dispatch): delete version that takes action as int
4930         (dispatch): adjust
4931         (sendDispatchMessage): simplify and adjust
4932
4933         * funcrequest.C (getArg): take unsigned int as arg
4934
4935         * ToolbarBackend.C (read): adjust
4936         (add): delete version that takes func as a string.
4937         (getIton): take a FuncRequest as arg
4938
4939         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4940         action.
4941
4942         * MenuBackend.C (MenuItem): add a new construct that only takes a
4943         Kind, simplify the constructor use for submenus.
4944         (add): adjust
4945         (expandLastfiles): adjust
4946         (expandDocuments): adjust
4947         (expandFormats): adjust
4948         (expandFloatListInsert): adjust
4949         (expandFloatInsert): adjust
4950         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4951
4952         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4953         Remove class variables lyx_pseudo_map and lyx_arg_map
4954
4955         * LyXAction.C (searchActionArg): delete function
4956         (getPseudoAction): delete function
4957         (retrieveActionArg): delete function
4958         (LookupFunc): make it return kb_action, simplify.
4959         (getActionName): simplify
4960
4961         * factory.C (createInset): fix new bug
4962
4963 2003-09-19  Angus Leeming  <leeming@lyx.org>
4964
4965         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4966         masterFilename_ parameter in the include inset.
4967
4968         * factory.C (createInset): changes due to the changes to InsetInclude.
4969
4970 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4971
4972         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4973
4974 2003-09-18  Angus Leeming  <leeming@lyx.org>
4975
4976         * buffer.C:
4977         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4978         Inset::fillWithBibKeys.
4979         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4980
4981 2003-09-18  Angus Leeming  <leeming@lyx.org>
4982
4983         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4984         variables.
4985         (ctor): pass and store a 'Buffer const &'
4986         (buffer): new member function.
4987
4988         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4989         '*this' to the LaTeXFeatures ctor.
4990
4991 2003-09-18  Angus Leeming  <leeming@lyx.org>
4992
4993         * LColor.h:
4994         * lyxfont.C:
4995         * lyxfont.h:
4996         * lyxtext.h:
4997         * text.C: rename EnumLColor as LColor_color.
4998
4999 2003-09-18  Angus Leeming  <leeming@lyx.org>
5000
5001         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5002         remove #include "insets/insetbase.h" from cursor.h.
5003
5004 2003-09-18  Angus Leeming  <leeming@lyx.org>
5005
5006         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5007         InsetOld_code to remove #include "inset.h".
5008
5009         * iterators.C: add #include "insets/inset.h"
5010
5011 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5012
5013         * BufferView.C: remove more locking stuff that apparently doesn't
5014         do anything sensible.
5015
5016 2003-09-16  André Pönitz  <poenitz@gmx.net>
5017
5018         * paragraph.[Ch]:
5019         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5020           performance boost.
5021
5022 2003-09-16  Angus Leeming  <leeming@lyx.org>
5023
5024         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5025
5026         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5027         arg/return type.
5028
5029         * paragraph.h: remove #include "lyxfont.h". Forward declare
5030         LyXFont_size.
5031
5032 2003-09-16  Angus Leeming  <leeming@lyx.org>
5033
5034         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5035         of support/textutils.h.
5036         (isWord): move the contents of support/textutils.h's IsWordChar here.
5037
5038         * buffer.C:
5039         * lyxfind.C:
5040         * rowpainter.C:
5041         * text.C:
5042         * text2.C: add #include "paragraph.h".
5043
5044         * rowpainter.C:
5045         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5046
5047 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5048
5049         * main.C:
5050         * lyx_main.C:
5051         * lyx_cb.C:
5052         * buffer.C:
5053         * LaTeX.C: use namespace alias for lyx::support::os
5054
5055 2003-09-16  Angus Leeming  <leeming@lyx.org>
5056
5057         * bufferparams.C:
5058         * bufferview_funcs.C:
5059         * factory.C:
5060         * lyxfunc.C:
5061         * paragraph_pimpl.C:
5062         * rowpainter.C:
5063         * text.C: add #include "LColor.h".
5064
5065 2003-09-16  Angus Leeming  <leeming@lyx.org>
5066
5067         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5068         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5069         return LyXFont &.
5070         Store the FontBits::color variable as an int rather than as an
5071         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5072         file.
5073
5074         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5075         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5076         string calls together.
5077
5078         * lyxrc.C: add #include "LColor.h".
5079
5080 2003-09-15  Angus Leeming  <leeming@lyx.org>
5081
5082         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5083         a cow_ptr.
5084
5085 2003-09-15  Angus Leeming  <leeming@lyx.org>
5086
5087         * LColor.h: add an EnumLColor wrapper for LColor::color.
5088
5089         * lyxfont.[Ch] (color, setColor, realColor):
5090         * lyxtext.h, text.C (backgroundColor):
5091         pass EnumLColor args to/from the functions, rather than LColor::color
5092         ones.
5093
5094         * lyxfont.h:
5095         * lyxtext.h: forward declare EnumLColor.
5096
5097         * lyx_main.C: add #include "LColor.h".
5098
5099 2003-09-15  Angus Leeming  <leeming@lyx.org>
5100
5101         * .cvsignore: add lyx-gtk.
5102
5103 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5104
5105         * Chktex.C
5106         * LaTeX.C
5107         * LaTeXFeatures.C
5108         * ParagraphParameters.C
5109         * Spacing.C
5110         * buffer.C
5111         * bufferparams.C
5112         * bufferview_funcs.C
5113         * chset.C
5114         * counters.C
5115         * funcrequest.C
5116         * lyxfont.C
5117         * lyxgluelength.C
5118         * lyxlength.C
5119         * paragraph.C
5120         * paragraph_funcs.C
5121         * text3.C
5122         * vc-backend.C: remove usage of STRCONV
5123
5124 2003-09-15  Angus Leeming  <leeming@lyx.org>
5125
5126         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5127         explicitly define the color passed to the painter.
5128
5129 2003-09-15  Angus Leeming  <leeming@lyx.org>
5130
5131         * bufferparams.C (BufferParams): reorder member initializers to avoid
5132         compiler warning.
5133
5134 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5135
5136         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5137         * text.C (updateRowPositions): remove an unusual nop
5138
5139 2003-09-12  André Pönitz  <poenitz@gmx.net>
5140
5141         * BufferView_pimpl.C:
5142         * Bullet.C:
5143         * layout.h:
5144         * lyxfunc.C:
5145         * lyxlayout.[Ch]:
5146         * lyxtextclass.C:
5147         * rowpainter.C:
5148         * text.C:
5149         * text2.C:
5150         * Counters.[Ch]: finish the 'automatic counters' job
5151
5152 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5153
5154         * aspell.C: include <boost/assert.cpp> (compile fix)
5155
5156 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5157
5158         * boost.C (assertion_failed): use lyx::support::abort instead of
5159         assert.
5160
5161 2003-09-10  Angus Leeming  <leeming@lyx.org>
5162
5163         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5164         with their _fwd progeny.
5165
5166 2003-09-09  Angus Leeming  <leeming@lyx.org>
5167
5168         134 files throughtout the source tree: replace 'using namespace abc;'
5169         directives with the appropriate 'using abc::xyz;' declarations.
5170
5171 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5172
5173         * boost.C (emergencyCleanup): moved here from LAssert.c
5174         (assertion_failed): new function, called by BOOST_ASSERT
5175
5176         * several files: change Assert to BOOST_ASSERT
5177
5178 2003-09-09  Angus Leeming  <leeming@lyx.org>
5179
5180         * buffer.[Ch]: Add an Impl class and move Buffer's member
5181         variables into it. As a result move several header files out of
5182         buffer.h.
5183
5184         Add header files to lots of .C files all over the tree as a result.
5185
5186 2003-09-09  Angus Leeming  <leeming@lyx.org>
5187
5188         * buffer.[Ch]: make Buffer's member variables private. Add
5189         accessor functions.
5190
5191         Lots of changes all over the tree as a result.
5192
5193 2003-09-08  Angus Leeming  <leeming@lyx.org>
5194
5195         * graph.C: #include <config.h>.
5196
5197 2003-09-08  Angus Leeming  <leeming@lyx.org>
5198
5199         * BranchList.C:
5200         * BufferView.C:
5201         * BufferView_pimpl.C:
5202         * CutAndPaste.C:
5203         * DepTable.C:
5204         * LaTeX.C:
5205         * LaTeXFeatures.C:
5206         * LyXAction.C:
5207         * MenuBackend.C:
5208         * TextCache.C:
5209         * aspell.C:
5210         * buffer.C:
5211         * bufferlist.C:
5212         * changes.C:
5213         * chset.C:
5214         * converter.C:
5215         * counters.C:
5216         * debug.C:
5217         * graph.C:
5218         * ispell.C:
5219         * lyx_cb.C:
5220         * lyxfind.C:
5221         * lyxfunc.C:
5222         * lyxlex_pimpl.C:
5223         * lyxrc.C:
5224         * lyxrow.C:
5225         * paragraph.C:
5226         * rowpainter.C:
5227         * texrow.C:
5228         * text.C:
5229         * text2.C:
5230         * toc.C: remove redundant using directives.
5231
5232 2003-09-07  Angus Leeming  <leeming@lyx.org>
5233
5234         * LaTeXFeatures.h: remove #include "support/types.h".
5235         * ToolbarBackend.h: remove #include <algorithm>.
5236         * changes.h: remove #include <ctime>.
5237         * debug.h: remove #include <iosfwd>.
5238         * graph.h: remove #include "support/std_string.h".
5239         * lyx_main.h: remove #include <csignal>.
5240         * lyxlex_pimpl.h: remove #include <fstream>.
5241         * sgml.h: remove #include <algorithm>, <utility>.
5242         * toc.h: remove #include "support/std_ostream.h".
5243         Add #include <iosfwd>.
5244
5245 2003-09-07  Angus Leeming  <leeming@lyx.org>
5246
5247         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5248
5249         * converter.h: forward declare LatexRunParams.
5250         * encoding.h: remove #include "lyxrc.h".
5251         * lyxtext.h: remove #include "LColor.h".
5252         * lyxtextclass.h: remove #include "support/types.h".
5253         * trans.h: remove #include "tex-accent.h".
5254         * trans_mgr.h: remove #include "tex-accent.h".
5255         * insets/inset.h: remove #include "support/types.h", <vector>.
5256         * insets/insetcollapsable.h: remove #include "LColor.h".
5257         * insets/insetinclude.h: remove #include "dimension.h".
5258         * insets/insetlatexaccent.h: remove #include "dimension.h".
5259         * insets/insetoptarg.h:: remove #include "insettext.h".
5260         * insets/insettext.h: remove #include "dimension.h",
5261         <boost/shared_ptr.hpp>
5262
5263         * insets/renderers.h: add #include "dimension.h".
5264         * insets/updatableinset.h: add #include "support/types.h".
5265
5266         * many .C files: Associated changes.
5267
5268 2003-09-06  Angus Leeming  <leeming@lyx.org>
5269
5270         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5271         one, inside testInvariant.
5272
5273         * PrinterParams.C: new file.
5274         * PrinterParams.[Ch]: move the function bodies out of line.
5275
5276 2003-09-06  Angus Leeming  <leeming@lyx.org>
5277
5278         * ParagraphParameters.h: forward declare ParameterStruct rather than
5279         including its header file.
5280         (depth): moved out-of-line.
5281
5282 2003-09-06  Angus Leeming  <leeming@lyx.org>
5283
5284         * BufferView_pimpl.h:
5285         * kbmap.h:
5286         * kbsequence.h:
5287         * lyxfunc.h: forward declare LyXKeySym rather than
5288         #include "frontends/LyXKeySym.h".
5289
5290         * BufferView_pimpl.C:
5291         * kbmap.C:
5292         * kbsequence.C:
5293         * lyxfunc.C: associated changes.
5294
5295 2003-09-06  Angus Leeming  <leeming@lyx.org>
5296
5297         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5298         As a result, can remove the #include "insets/inset.h" from BufferView.h
5299
5300 2003-09-06  Angus Leeming  <leeming@lyx.org>
5301
5302         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5303         As a result, can remove the #include "insets/inset.h" from BufferView.h
5304
5305 2003-09-06  Angus Leeming  <leeming@lyx.org>
5306
5307         * buffer_funcs.C:
5308         * buffer.h:
5309         * bufferlist.C:
5310         * BufferView.C:
5311         * bufferview_funcs.C:
5312         * BufferView_pimpl.C:
5313         * CutAndPaste.C:
5314         * lyx_cb.C:
5315         * lyxfunc.C:
5316         * paragraph.h:
5317         * ParagraphParameters.C:
5318         * tabular.C:
5319         * text3.C:
5320         * toc.C:
5321         * undo_funcs.C:
5322         * frontends/controllers/ControlDocument.C:
5323         * insets/insetcaption.C: rearrange the #includes into some sort of
5324         coherent order.
5325
5326         * buffer.h: remove #includes ErrorList.h, undo.h
5327
5328 2003-09-06  Angus Leeming  <leeming@lyx.org>
5329
5330         * support/types.h: add a 'depth_type' typedef, used to store the
5331         nesting depth of a paragraph.
5332
5333         * paragraph.h:
5334         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5335         defining explicitly.
5336
5337         * buffer.h:
5338         * paragraph_funcs.h:
5339         * ParagraphParameters.h:
5340         * sgml.h: use lyx::depth_type rather than Paragraph or
5341         ParameterStruct's depth_type.
5342
5343         * buffer.h
5344         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5345
5346         * BufferView.C:
5347         * BufferView_pimpl.C:
5348         * CutAndPaste.C:
5349         * ParagraphParameters.C:
5350         * buffer_funcs.C:
5351         * bufferlist.C:
5352         * bufferview_funcs.C:
5353         * lyx_cb.C:
5354         * lyxfunc.C:
5355         * tabular.C:
5356         * text3.C:
5357         * toc.C:
5358         * undo_funcs.C:
5359         * frontends/LyXView.C:
5360         * frontends/controllers/ControlDocument.C:
5361         * frontends/controllers/ControlErrorList.C:
5362         * insets/insetbibitem.C:
5363         * insets/insetbranch.C:
5364         * insets/insetcaption.C:
5365         * insets/insetcollapsable.C:
5366         * insets/insetenv.C:
5367         * insets/insetert.C:
5368         * insets/insetfloat.C:
5369         * insets/insetfoot.C:
5370         * insets/insetfootlike.C:
5371         * insets/insetnewline.C:
5372         * insets/insetquotes.C:
5373         * insets/insettabular.C:
5374         * insets/insettext.C:
5375         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5376
5377         * frontends/controllers/ControlChanges.C: #include "changes.h".
5378
5379 2003-09-06  Angus Leeming  <leeming@lyx.org>
5380
5381         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5382         than #including paragraph.h.
5383
5384         * ParagraphList.h:
5385         * RowList.h: deleted. Superfluous.
5386
5387         * CutAndPaste.h:
5388         * iterators.h:
5389         * lyxcursor.h:
5390         * lyxtext.h:
5391         * text_funcs.h:
5392         * undo.h:
5393         * undo_funcs.h:
5394         * insets/inset.h:
5395         * insets/insettext.h: use ParagraphList_fwd.h rather than
5396         ParagraphList.h.
5397
5398         * paragraph.h: don't forward declare ParagraphList.
5399
5400         * buffer.h:
5401         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5402         rather than ParagraphList.h. paragraph.h is still needed for the
5403         Paragraph::depth_type parameters.
5404
5405         * textcursor.h: enable it to compile stand-alone in light of the
5406         above changes.
5407
5408         * bufferview_funcs.C:
5409         * iterators.C:
5410         * lyxfunc.C:
5411         * lyxrow_funcs.C:
5412         * paragraph.C:
5413         * rowpainter.C:
5414         * text.C:
5415         * text2.C:
5416         * text3.C:
5417         * text_funcs.C:
5418         * textcursor.C:
5419         * undo.C:
5420         * frontends/controllers/ControlParagraph.C:
5421         * frontends/controllers/ControlTabular.C:
5422         * insets/insetmarginal.C:
5423         * insets/insetminipage.C:
5424         * insets/insetnote.C:
5425         * insets/insetoptarg.C: add header files needed to compile again.
5426
5427 2003-09-06  Angus Leeming  <leeming@lyx.org>
5428
5429         * RowList_fwd.h: new file, forward-declaring Row rather than
5430         #including lyxrow.h.
5431
5432         * lyxrow_funcs.h:
5433         * lyxtext.h:
5434         * paragraph.h:
5435         * insets/insettext.h: use it instead of RowList.h
5436
5437         * bufferview_funcs.C:
5438         * lyxfunc.C:
5439         * lyxrow_funcs.C:
5440         * paragraph.C:
5441         * rowpainter.C:
5442         * text.C:
5443         * text2.C:
5444         * text3.C: #include "RowList.h".
5445
5446 2003-09-05  Angus Leeming  <leeming@lyx.org>
5447
5448         * factory.C (createInset):
5449         * vspace.C (c-tor): replace sscanf call with an istringstream.
5450         * ispell.C: re-add missing HP/UX headers.
5451         * lyxserver.C: re-add missing  os2 headers.
5452
5453 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5454
5455         * BranchList.C:
5456         * graph.C:
5457         * ispell.C:
5458         * lastfiles.C:
5459         * lyx_cb.C:
5460         * lyxserver.C:
5461         * texrow.C:
5462         * text3.C: re-add missing system headers, needed for 2.95.2.
5463
5464 2003-09-05  Angus Leeming  <leeming@lyx.org>
5465
5466         Changes most place everywhere due to the removal of using directives
5467         from support/std_sstream.h.
5468
5469 2003-09-05  Angus Leeming  <leeming@lyx.org>
5470
5471         Replace LString.h with support/std_string.h,
5472         Lsstream.h with support/std_sstream.h,
5473         support/LIstream.h with support/std_istream.h,
5474         support/LOstream.h with support/std_ostream.h.
5475
5476         Changes resulting throughout the tree.
5477
5478 2003-09-05  Angus Leeming  <leeming@lyx.org>
5479
5480         * sgml.h: ensure that the header file can be compiled stand-alone.
5481         * *.C: strip out redundant #includes. (320 in total.)
5482
5483 2003-09-04  Angus Leeming  <leeming@lyx.org>
5484
5485         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5486         here (from getPackages).
5487
5488         * debug.[Ch]: add a new EXTERNAL tag.
5489
5490 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5491
5492         * text2.C (cursorEnd): simplify
5493         (setCursor): adjust
5494         (getColumnNearX): adjust
5495
5496         * text.C (computeBidiTables): adjust
5497         (fill): adjust
5498
5499         * rowpainter.C (paintChars): adjust
5500         (paintSelection): adjust
5501         (paintChangeBar): adjust
5502         (paintText): adjust
5503
5504         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5505         lastPos instead.
5506         (numberOfSeparators): adjust
5507
5508 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5509
5510         * LyXAction.C:
5511         * box.[Ch]:
5512         * lfuns.h:
5513         * lyxfunc.C:
5514         * text3.C: Restricts the mouse click functionality
5515         of insets like bibtex, include, toc and floatlist to the visible
5516         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5517         up the dialogs. Cursor has to be in front of the inset (i.e.
5518         start of row) for this to function.
5519
5520 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5521
5522         * bufferview_funcs.C (currentState): output row information
5523
5524 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5525
5526         * bufferview_funcs.C (currentState): output paragraph position
5527
5528 2003-09-04  Angus Leeming  <leeming@lyx.org>
5529
5530         * FloatList.h: move out #include "Floating.h".
5531         * LaTeX.h: move out #include "DepTable.h".
5532         * LyXAction.h: move out #include "funcrequest.h".
5533         * buffer.h: move out #include "author.h", "iterators.h".
5534         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5535         * lyx_main.h: move out #include "errorlist.h".
5536         * lyxfunc.h: move out #include "FuncStatus.h".
5537         * lyxtext: move out #include "lyxcursor.h".
5538         * paragraph_pimpl.h: move out #include "counters.h".
5539
5540 2003-09-03  Angus Leeming  <leeming@lyx.org>
5541
5542         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5543         preamble_snippets list, enabling us to add snippets to the preamble
5544         only if the snippet was not there already.
5545
5546 2003-09-04  Angus Leeming  <leeming@lyx.org>
5547
5548         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5549
5550 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5551
5552         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5553         update
5554
5555 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5556
5557         * BranchList.C: point fix, earlier forgotten
5558
5559 2003-09-02  Angus Leeming  <leeming@lyx.org>
5560
5561         * box.C (contains): renamed from 'contained' after a fantastic
5562         amount of hot air.
5563
5564 2003-09-02  John Levon  <levon@movementarian.org>
5565
5566         * BufferView.C:
5567         * lyxcursor.h:
5568         * lyxcursor.C:
5569         * lyxfunc.C:
5570         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5571
5572 2003-09-02  John Levon  <levon@movementarian.org>
5573
5574         * text2.C: simplification of cursorEnd(), including partial
5575         fix for bug 1376
5576
5577 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5578
5579         * buffer.C (readFile): add a space
5580
5581 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5582
5583         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5584
5585 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5586
5587         * buffer.C (readFile): new function, take a filename and a
5588         ParagraphList::iterator
5589         (readFile): adjust
5590         (readFile): adjust, make it private. don't use setStream, make
5591         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5592         always contain the filename.
5593
5594         * BufferView.C (insertLyXFile): simplify and make it work for
5595         gzipped files.
5596
5597 2003-08-30  John Levon  <levon@movementarian.org>
5598
5599         * Makefile.am: fix dist (from Kayvan)
5600
5601 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5602
5603         * most files: change to use const Buffer refs
5604
5605 2003-08-27  André Pönitz  <poenitz@gmx.net>
5606
5607         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5608         on top of ownerPar().
5609
5610 2003-08-27  John Levon  <levon@movementarian.org>
5611
5612         * funcrequest.C: properly initialise POD members
5613
5614 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5615
5616         * lyxtext.h (top_y): move top_y from here
5617         * text.C:
5618         * text2.C:
5619         * text3.C:
5620         * BufferView.[Ch]:
5621         * BufferView_pimpl.[Ch]: to here
5622         * frontends/screen.C:
5623         * insets/insettabular.C:
5624         * insets/insettext.C: adjust
5625         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5626
5627 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5628
5629         * BufferView.[Ch]:
5630         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5631
5632 2003-08-26  André Pönitz  <poenitz@gmx.net>
5633
5634         * paragraph_func.[Ch] (outerPar): new function
5635
5636         * paragraph.C:
5637         * paragraph_funcs.C:
5638         * paragraph_funcs.h:
5639         * paragraph_pimpl.C:
5640         * text2.C: remove Inset::par_owner
5641
5642 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5643
5644         * lyxrow_funcs.C:
5645         * lyxtext.h:
5646         * text.C:
5647         * text2.C: eliminates the needFullRow/display() stuff
5648         altogether, putting the logic in metrics/draw in the insets.
5649
5650 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5651
5652         * text2.C (redoParagraphInternal, redoParagraphs):
5653         * text.C (redoParagraph): add a call to updateRowPositions at the
5654         end of each 'metrics-like' call. Remove all others.
5655         (getRow): remove the 'y-computing' version.
5656         (getRowNearY): do not compute nor return the real y. Solve the
5657         'y < 0' problem and simplify.
5658
5659 2003-08-22  Angus Leeming  <leeming@lyx.org>
5660
5661         * *.[Ch]: clean-up of licence and author blurbs.
5662         Also move config.h out of a few .h files and into a few .C files.
5663
5664 2003-08-22  André Pönitz  <poenitz@gmx.net>
5665
5666         * lyxrow.[Ch]: add x_ and *fill_ members
5667
5668         * lyxtext.h:
5669         * text.C:
5670         * rowpainter.C:
5671         * text2.C: adjust/remove prepareToPrint() calls
5672
5673 2003-08-22  André Pönitz  <poenitz@gmx.net>
5674
5675         * lyxrow.[Ch]: add  end_ member
5676
5677         * lyxrow_funcs.C: use LyXRow::end_
5678
5679         * lyxtext.h (singleWidth): add LyXFont parameter
5680
5681         * rowpainter.C:
5682         * text2.C: adjust LyXText::singleWidth() calls
5683
5684         * text.C (redoParagraph): simplify row breaking logic
5685
5686
5687 2003-08-19  André Pönitz  <poenitz@gmx.net>
5688
5689         * funcrequest.C: initialize button_ member
5690
5691         * text3.C:
5692         * rowpainter.[Ch]: interface consolidation
5693
5694 2003-08-18  André Pönitz  <poenitz@gmx.net>
5695
5696         * BufferView.C:
5697         * BufferView_pimpl.C:
5698         * lyxfind.C:
5699         * paragraph_funcs.C:
5700         * rowpainter.C:
5701         * text3.C: remove LyXScreen::draw() and fitCursor calls
5702
5703         * BranchList.h: remove spurious semicolons
5704
5705         * MenuBackend.C: fix branchlist related crash
5706
5707 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5708
5709         * BranchList.[Ch]:
5710         * InsetList.[Ch]:
5711         * LColor.[Ch]:
5712         * LyXAction.C:
5713         * Makefile.am:
5714         * MenuBackend.[Ch]:
5715         * bufferparams.[Ch]:
5716         * factory.C:
5717         * lfuns.h:
5718         * lyxfunc.C:
5719         * text3.C: implements the 'branch inset'
5720         idea. This allows the output of various versions of a document
5721         from a single source version, selectively outputing or suppressing
5722         output of parts of the text.
5723         This implementation contains a 'branch list editor' in a separate
5724         tab of the document settings dialog. Branches are user definable
5725         and have a "display colour" to distinguish them on-screen.
5726
5727         ColorHandler was somewhat cleaned up.
5728         (1) make possible a dynamically growing LColor list by allowing
5729         the graphic context cache to grow along (vector);
5730         (2) eliminate an IMHO unnecessary step in colour allocation.
5731
5732 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5733
5734         * BufferView_pimpl.C: compile fix
5735
5736 2003-08-15  André Pönitz  <poenitz@gmx.net>
5737
5738         * rowpainter.C: remove extra metrics calls
5739
5740         * lyxtext.h: merge the two constructors into a single one,
5741           pass reference to owner's par list
5742
5743         * BufferView_pimpl.C:
5744         * text.C:
5745         * text2.C: adjust
5746
5747 2003-08-15  André Pönitz  <poenitz@gmx.net>
5748
5749         * lyxrow_funcs.[Ch]:
5750         * lyxtext.h:
5751         * paragraph.h:
5752         * paragraph_funcs.C:
5753         * rowpainter.C:
5754         * text.C:
5755         * text2.C:
5756         * text3.C:
5757         * text_funcs.C: split LyXText::rowlist_ into individual
5758         Paragraph::rows_ chunks
5759
5760         * BufferView.[Ch]:
5761         * BufferView_pimpl.[Ch]:
5762         * lyxfind.C:
5763         * lyxtext.h:
5764         * text3.C: remove toggleSelection()
5765
5766 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5767
5768         * bufferlist.C: beautify two alerts (shorter text of buttons)
5769         * buffer.C: Remove redundant ' ' from message
5770         * tabular.h:
5771         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5772         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5773         rename VALIGN_CENTER to VALIGN_MIDDLE
5774
5775 2003-08-11  André Pönitz  <poenitz@gmx.net>
5776
5777         * lyxtext.h (getPar):
5778         * text.C: new function
5779
5780 2003-08-11  André Pönitz  <poenitz@gmx.net>
5781
5782         * Makefile.am:
5783         * tracer.[Ch]: remove unneeded files
5784
5785         * InsetList.[Ch]: remove resizeInsetsLyXText()
5786
5787         * lyxtext.h:
5788         * text.C:
5789         * text2.C:
5790         * text3.C: merge insertParagraphs() and appendParagraph()
5791         remove breakAgain(), update()
5792
5793         * BufferView_pimpl.[Ch]:
5794         * bufferview_funcs.[Ch]:
5795         * lyxfunc.C:
5796         * paragraph.[Ch]:
5797         * rowpainter.C:
5798         * tabular.C: adjust after text & InsetList changes.
5799
5800 2003-08-08  André Pönitz  <poenitz@gmx.net>
5801
5802         * text.C (insertChar, backspace): replace rowlist fiddling
5803         with rebreak of full par
5804
5805         * lyxtext.h:
5806         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5807         checkParagraph, updateInset): removed
5808
5809 2003-08-07  André Pönitz  <poenitz@gmx.net>
5810
5811         * paragraph.C:
5812         * text3.C: merge some LFUN handlers, remove dead code
5813
5814 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5815
5816         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5817
5818 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5819
5820         * text2.C (DEPM): fix part of bug 1255 and 1256
5821
5822 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5823
5824         * BufferView_pimpl.C (workAreaDispatch): change to use
5825         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5826         that are no mouse related.
5827
5828 2003-08-05  André Pönitz  <poenitz@gmx.net>
5829
5830         * BufferView.[Ch]:
5831         * BufferView_pimpl.[Ch]:
5832         * bufferview_funcs.C:
5833         * text2.C:
5834         * text3.C: rip out "deep update"
5835
5836         * textcursor.[Ch] (last_sel_cursor): remove unused member
5837
5838 2003-08-04  André Pönitz  <poenitz@gmx.net>
5839
5840         * BufferView.[Ch]:
5841         * BufferView_pimpl.[Ch]:
5842         * ParagraphParameters.C:
5843         * bufferview_funcs.C:
5844         * lyx_cb.C:
5845         * lyxfind.C:
5846         * lyxfunc.C:
5847         * text.C:
5848         * text2.C:
5849         * text3.C: replace "complicated" BufferView::update(...) calls with
5850         simpler ones.
5851
5852         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5853
5854 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5855
5856         * Makefile.am (lyx_SOURCES): add paper.h
5857
5858 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5859
5860         * Makefile.am: move things around so that both lyx-qt and
5861         lyx-xforms can be built (according to --with-frontend). Then lyx
5862         is a symbolic link to lyx-[firstfrontend]
5863
5864 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5865
5866         * Always use std::endl with lyxerr
5867
5868 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5869
5870         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5871
5872 2003-08-01  André Pönitz  <poenitz@gmx.net>
5873
5874         * BufferView.[Ch]:
5875         * BufferView_pimpl.[Ch]:
5876         * lyxfunc.C:
5877         * text3.C: merge BufferView::repaint() and BufferView::update()
5878
5879 2003-08-01  José Matos  <jamatos@lyx.org>
5880
5881         * buffer.[Ch]: file_format is no longer a buffer data element.
5882
5883 2003-08-01  André Pönitz  <poenitz@gmx.net>
5884
5885         * BufferView.C:
5886         * lyxtext.h:
5887         * text.C:
5888         * text2.C: make redoParagraph more independent of current cursor
5889
5890         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5891         * text.C:
5892         * text2.C: remove unneeded members
5893
5894 2003-07-30  André Pönitz  <poenitz@gmx.net>
5895
5896         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5897
5898         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5899           create a single function...
5900
5901         * paragraph_funcs.C (moveItem): ... here.
5902
5903         * text.C:
5904           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5905
5906 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5907
5908         * LColor.[Ch]: Add comment and greyedout logical colors.
5909
5910 2003-07-30  André Pönitz  <poenitz@gmx.net>
5911
5912         * tabular.C: don't use Assert too heavily. This crashes where it
5913           shouldn't
5914
5915 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5916
5917         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5918         is disabled (bug 1232)
5919
5920 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5921
5922         * factory.C: limited 'arg' scope
5923
5924 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5925
5926         * factory.C: fixed Note submenu issues
5927
5928 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5929
5930         * factory.C: submenu for Note/Comment/Greyedout
5931
5932 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5933
5934         * lyx_main.C (LyX):
5935         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5936
5937 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5938
5939         * LaTeXFeatures.C:
5940         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5941         greyedout. Patch provided by Jürgen Spitzmüller.
5942
5943 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5944
5945         * kbmap.C (read): fix error message when reading bind files
5946
5947 2003-07-29  Angus Leeming  <leeming@lyx.org>
5948
5949         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5950         certainly does not do what it purports to do. I am doing it, and
5951         us, a favour by killing it.
5952
5953 2003-07-28  José Matos  <jamatos@lyx.org>
5954
5955         * buffer.C (readBody, do_writeFile):
5956         * paragraph.C(readParagraph): \end_document replaces \the_end.
5957
5958 2003-07-29  André Pönitz  <poenitz@gmx.net>
5959
5960         * BufferView.[Ch]:
5961         * BufferView_pimpl.[Ch]:
5962         * lyxfunc.C:
5963         * text2.C:
5964         * text3.C:
5965         * textcursor.[Ch]: remove toggleToggle & Co
5966
5967 2003-07-28  José Matos  <jamatos@fep.up.pt>
5968
5969         * buffer.C (readParagraph):
5970         * params_func (readParToken, readParagraph):
5971         * paragraph.C (write): \layout -> \begin_layout.
5972
5973 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5974
5975         * lyxlex_pimpl.C (setFile): clean up slightly.
5976
5977         * bufferparams.h: add compressed var
5978
5979         * buffer_funcs.C (readFile): adjust for LyXLex change
5980         (newFile): ditto + simplify
5981
5982         * buffer.C (writeFile): handle writing of compressed files
5983
5984         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5985         Check if the file is compressed and set a bufferparm if so.
5986
5987         * Makefile.am (lyx_LDADD): remove explicit -lz
5988
5989 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5990
5991         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5992         makeDocBookFile): put the real LyX version in the first line of
5993         the file
5994
5995         * version.h:
5996         * version.C.in: remove lyx_docversion
5997
5998         * tabular.C (write_attribute): add a template-based version to
5999         write enums properly
6000
6001 2003-07-28  André Pönitz  <poenitz@gmx.net>
6002
6003         * lyxtext.h:
6004         * text.C:
6005         * text2.C:
6006         * text3.C: use doubles again for x-coordinates. They are needed.
6007
6008 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6009
6010         * messages.C (getLocaleDir): use lyx_localedir()
6011
6012         * lyxlex_pimpl.C (setFile): compress stuff
6013
6014         * buffer.C (writeFile): add some compression stuff
6015         (do_writeFile): new func, dont call expliti close... will this
6016         breake anything?
6017
6018         * Makefile.am (lyx_LDADD): add -lz
6019
6020 2003-07-28  José Matos  <jamatos@fep.up.pt>
6021
6022         * buffer.C: increment file format.
6023         * paragraph_funcs (readParagraph, readParToken):
6024         * paragraph.C (readParagraph): add \end_layout.
6025
6026 2003-07-27  Angus Leeming  <leeming@lyx.org>
6027
6028         * Makefile.am: remove special casing for configure-time setting of
6029         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6030
6031         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6032         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6033
6034 2003-07-26  André Pönitz  <poenitz@gmx.net>
6035
6036         * paragraph_func.[Ch]:
6037         * paragraph.C (realizeFont): inline it whereever it is used
6038
6039         * rowpainter.C:
6040         * text.C:
6041         * text2.C:
6042         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6043
6044
6045 2003-07-26  André Pönitz  <poenitz@gmx.net>
6046
6047         *       lyxtext.h:
6048         * text.C:
6049         * text2.C: get rid of LyXText::need_break_row
6050
6051 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6052
6053         * toc.[Ch]: put namespace toc inside namespace lyx
6054
6055         * MenuBackend.C (expandToc2): adjust for lyx::toc
6056         (expandToc): ditto
6057
6058         * lyxfunc.C (dispatch): adjust for lyx::find
6059
6060         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6061         lyx::find instead. Reorganize a bit.
6062         (LyXReplace): rename to replace
6063         (LyXFind): rename to find
6064
6065         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6066         (dispatch): ditto
6067
6068 2003-07-26  André Pönitz  <poenitz@gmx.net>
6069
6070         * text.C (setHeightOfRow): restrict scope of temporary variable
6071
6072         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6073           code (never has been used?)
6074
6075 2003-07-27  Asger Alstrup  <alstrup@local>
6076
6077         * text.C (fill): Optimise algorithm to exploit that we can reuse
6078         the LyXFont for many characters.
6079         (setHeightOfRow): Same thing.
6080         (rowBreakPoint): Same thing.
6081
6082 2003-07-26  Asger Alstrup  <alstrup@local>
6083
6084         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6085
6086         * text.C (singleWidth): Spurious font copying in hot-spot
6087         singleWidth avoided. Reorder tests for arabic for efficiency.
6088
6089         * text.C (fill): handle empty paragraphs better.
6090
6091 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6092
6093         * ispell.C:
6094         * encoding.h: add includes
6095
6096         * lyxrc.C: remove reading of bind files
6097
6098         * lyx_main.C (init): setup bindings and menus only if we have a
6099         gui.
6100
6101         * kbmap.C (read): new method. Do the actual reading of bind
6102         files.
6103
6104         * converter.C (dvipdfm_options):
6105         * bufferparams.C:
6106         * lyxrc.C (read):
6107         (output): adapt PAPER_* enums.
6108
6109         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6110
6111         * bufferparams.h: remove paper-related enums from there
6112
6113         * paper.h: New file. A trivial header file to hold paper-related
6114         enums. It should later expand to contain many paper-related
6115         horrors access.
6116
6117         * lyxrc.C: declare extern displayTranslator
6118
6119 2003-07-27  José Matos  <jamatos@fep.up.pt>
6120
6121         * tabular.[Ch] (linuxdoc): add support for tables and figures
6122         (linuxdoc).
6123
6124 2003-07-27  José Matos  <jamatos@fep.up.pt>
6125
6126         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6127         consistency in both functions.
6128         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6129
6130 2003-07-26  Asger Alstrup  <alstrup@local>
6131
6132         * rowpainter.C (paintRows): Change algorithm to work directly on
6133         the insets rather than asking every character in the document
6134         whether its an inset.
6135
6136 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6137
6138         * buffer.C (openFileWrite): factorize some code
6139
6140 2003-07-26  Angus Leeming  <leeming@lyx.org>
6141
6142         * lyx_cb.C:
6143         * lyx_main.[Ch]: replace occurances of system_tempdir with
6144         os::getTmpDir().
6145
6146 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6147
6148         * rename Inset to InsetOld
6149
6150 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6151
6152         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6153         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6154         which I think is a bit clearer. EDIT is gone, since it was
6155         premature optimisation, and broken for mathed anyway.
6156         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6157         with cursor positioning in insets as well (math insets still do not
6158         work, but that's a different story anyway.) It mysteriously
6159         crashes sometimes with undo in the first paragraph, but I'm fairly
6160         confident that this is a compiler bug.
6161
6162 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6163
6164         * paragraph.C (Paragraph): adjust for new clone return type
6165         (operator==): ditto
6166         (copyIntoMinibuffer): ditto
6167
6168 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6169
6170         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6171         by not having a special case, and always doing a full rebreak of
6172         the document after undo.
6173
6174 2003-07-23  Angus Leeming  <leeming@lyx.org>
6175
6176         * factory.C (createInset): InsetExternal::setParams now takes a
6177         Buffer const * arg.
6178
6179 2003-07-23  Angus Leeming  <leeming@lyx.org>
6180
6181         * factory.C (createInset): changed interface to the external and
6182         graphics mailers' string2params functions.
6183
6184 2003-07-23  Angus Leeming  <leeming@lyx.org>
6185
6186         * factory.C (createInset): pass a
6187         Buffer const * parameter to InsetExternalMailer's string2params.
6188
6189 2003-07-22  John Levon  <levon@movementarian.org>
6190
6191         * Thesaurus.h: include the right aiksaurus header
6192
6193 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6194
6195         * MenuBackend.C (expand): check menu shortcuts unconditionally
6196
6197 2003-07-21  Angus Leeming  <leeming@lyx.org>
6198
6199         * factory.C (createInset): pass a
6200         buffer_path parameter to InsetGraphicsMailer's string2params.
6201
6202 2003-07-21  Angus Leeming  <leeming@lyx.org>
6203
6204         * BufferView_pimpl.C (buffer):
6205         * buffer.C (d-tor):
6206         * lyx_main.C (LyX):
6207         * lyxfunc.C (dispatch):
6208         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6209         rather than the grfx shortcut.
6210
6211 2003-07-21  André Pönitz  <poenitz@gmx.net>
6212
6213         * rowpainter.C: remove unused variables
6214
6215         * tabular_funcs.C:
6216         * tabular_funcs.h: move to tabular.C
6217         * Makefile.am: adjust
6218
6219         * tabular.[Ch]: basic optical cleaning
6220
6221         * author.h: pass references, not values
6222
6223 2003-07-18  André Pönitz  <poenitz@gmx.net>
6224
6225         * lyxtext.h:
6226         * metricsinfo.C:
6227         * metricsinfo.h:
6228         * rowpainter.C:
6229         * text.C:
6230         * text2.C:
6231         * text3.C: two-phase drawing for InsetText and InsetTabular
6232         some float -> int changes.
6233
6234 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6235
6236         * lyx_main.C: fix the fix
6237
6238 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6239
6240         * lyx_main.C: fix a crash in batch mode if no files specified
6241         * converter.C: ws
6242
6243 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6244
6245         * format.[Ch] (papersize): moved to BufferParams
6246         * converter.[Ch] (dvips_options): moved to BufferParams
6247         (dvipdfm_options): moved to anon namespace
6248         * bufferparams.[Ch]: added above functions.
6249
6250 2003-07-17  André Pönitz  <poenitz@gmx.net>
6251
6252         * lyxtext.h:
6253         * rowpainter.C:
6254         * text2.C: don't call inset->update() anymore
6255
6256         * metricsinfo.[Ch]: add convenience constructor
6257
6258 2003-07-16  André Pönitz  <poenitz@gmx.net>
6259
6260         * lyxcursor.[Ch]:
6261         * lyxfunc.[Ch]:
6262         * text.C:
6263         * text2.C: replace the LyXCursor::irow_ member with
6264          on-demand computation of the value
6265
6266 2003-07-16  John Levon  <levon@movementarian.org>
6267
6268         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6269
6270 2003-07-15  André Pönitz  <poenitz@gmx.net>
6271
6272         * text.C:
6273         * text2.C: remove no more needed refresh_row
6274
6275 2003-07-15  André Pönitz  <poenitz@gmx.net>
6276
6277         * lyxtext.h:
6278         * rowpainter.C:
6279         * text2.C:
6280         * text3.C: refresh_status tristate -> need_update bool
6281
6282 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6283
6284         * lyxtext.h (init): remove reinit argument (act as if always true)
6285         * text2.C: adjust to that
6286
6287 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6288
6289         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6290         * text3.C: use it to delete selections in some cases
6291         (bugs 441, 673, 702, 954).
6292
6293 2003-07-14  André Pönitz  <poenitz@gmx.net>
6294
6295         * rowpainter.[Ch]: reduce interface
6296
6297 2003-07-14  André Pönitz  <poenitz@gmx.net>
6298
6299         * BufferView_pimpl.C:
6300         * text2.C: adjust after removing unused BufferView * argument
6301
6302 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6303
6304         * text2.C (init): fix a crash fired on resize
6305
6306 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6307
6308         * buffer.[Ch]: added new closing signal
6309         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6310         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6311         BufferView::Pimpl via the closing the signal
6312
6313 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6314
6315         * buffer.[Ch]: take out all bv-related from buffer
6316         * BufferView.C:
6317         * BufferView_pimpl.[Ch]: connect to new signals
6318         * CutAndPaste.C: removed useless asserts
6319         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6320         * lyxvc.[Ch]:
6321         * vc-backend.[Ch]:
6322         * lyxfunc.C: moved view-related funciontality from vc here
6323         * paragraph.C: removed outdated comments
6324         * text.C: ws
6325
6326 2003-07-10  André Pönitz  <poenitz@gmx.net>
6327
6328         * BufferView_pimpl.C:
6329         * tabular.h:
6330         * tabular_funcs.C:
6331         * text.C:
6332         * text2.C: remove InsetText::InnerCache, clean up consequences
6333
6334 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6335
6336         * ispell.C: fix two typos in error messages
6337
6338 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6339
6340         * Extend Note inset to other forms of annotation like Comment
6341         and Greyedout. Right button click gives dialog.
6342
6343         Files modified or added (+):
6344
6345         * insetnote.[Ch]
6346         * FormNote.[Ch]      +
6347         * ControlNote.[Ch]   +
6348         * form_note.fd       +
6349         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6350         frontends/controllers
6351         * xforms/Dialogs.C
6352         * factory.C
6353
6354 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6355
6356         * aspell.C: add missing namespace lyx::support
6357
6358 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6359
6360         * BufferView.[Ch] (newFile): Add
6361         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6362         * LaTeX.[Ch] (message): added this signal and use it
6363         * buffer.[Ch] (busy, message): added these signals and use them
6364         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6365         * converter.C:
6366         * exporter.C:
6367         * format.C:
6368         * importer.C: use buffer signals instead of direct bv calling
6369         * lyx_cb.[Ch] (ShowMessage): removed
6370         * lyx_main.C:
6371         * lyxfunc.C:
6372         * paragraph_funcs.C:
6373         * text2.C: use buffer signals
6374
6375 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6376
6377         * introduce namespace lyx::graphics
6378
6379 2003-07-02  André Pönitz  <poenitz@gmx.net>
6380
6381         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6382
6383 2003-07-01  André Pönitz  <poenitz@gmx.net>
6384
6385         * text.C:
6386         * text2.C:
6387         * text3.C:
6388         * text_funcs.[Ch]:
6389         * textcursor.h:
6390         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6391           text*.C to text_func.C
6392
6393 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6394
6395         * introduce namespace lyx::support
6396
6397 2003-06-30  André Pönitz  <poenitz@gmx.net>
6398
6399         * Chktex.C:
6400         * funcrequest.C:
6401         * lyxtext.h:
6402         * text.C: re-enable --with-included-string
6403
6404 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6405
6406         * textcursor.C: add <config.h>
6407
6408         * text.C (getWord): remove const from word_location arg
6409
6410         * lyxvc.C (getLogFile): fix const type order
6411
6412         * lyxtext.h: remove const from word_location arg, add arg name
6413
6414         * lyxlayout.h: currect type on labeltype.
6415
6416         * importer.C: correct \file
6417
6418         * converter.C (intToFormat): use std:: on ret val, ws changes
6419
6420         * bufferlist.h: correct \file
6421
6422         * buffer.C (makeLinuxDocFile): fix const type order
6423         (makeDocBookFile): ditto
6424         (fillWithBibKeys): use std:: on stdlib args.
6425
6426         * CutAndPaste.C: fix authors.
6427         (availableSelections): use std:: on return vector
6428
6429 2003-06-27  André Pönitz  <poenitz@gmx.net>
6430
6431         * BufferView_pimpl.C:
6432         * bufferview_funcs.C:
6433         * lyxcursor.C:
6434         * lyxcursor.h:
6435         * lyxfunc.C:
6436         * lyxtext.h:
6437         * rowpainter.C:
6438         * text.C:
6439         * text2.C:
6440         * text3.C: remove LyXCursor::row_ member
6441
6442         * lyxtext.h:
6443         * text.C: rename fullRebreak() to partialRebreak() and implement
6444           a fullRebreak() that really bereks fully
6445
6446         * textcursor.h: new struct for cursor-related data
6447
6448 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6449
6450         * lyx_main.C (LyX): get full path of document loaded on the
6451         command line
6452
6453 2003-06-26  André Pönitz  <poenitz@gmx.net>
6454
6455         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6456           remove unused/broken operator>,<,>=.
6457
6458         *       text.C: remove only use of broken operator<= in an Assert().
6459
6460 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6461
6462         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6463         moved errorlist_.clear to showErrorList
6464
6465 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6466
6467         * converter.C (scanLog, runLaTeX):
6468         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6469         move the bv->showErrorList call to the callers
6470         * lyxfunc.C: i.e. here...
6471         * text2.C: and here
6472         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6473         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6474         namespace, the second to...
6475         * buffer_funcs (BufferFormat, parseErrors): added
6476         * errorlist.C (ErrorList(TeXErrors const &)): removed
6477
6478 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6479
6480         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6481
6482 2003-06-24  "Garst R. Reese" <reese@isn.net>
6483
6484         * debug.C: fix typo
6485
6486 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6487
6488         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6489
6490         * version.C.in: change docversion to 1.4
6491
6492 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6493
6494         * buffer.C: fix a bug just introduced
6495
6496 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6497
6498         * buffer.[Ch]: added the parseError signal and use it, removed
6499         sgmlError
6500         * BufferView.[Ch] (addError): moved to ...
6501         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6502         to the Buffer::parseError signal to catch (guess what) parse errors
6503         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6504
6505 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6506
6507         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6508         ability to create a buffer and to return an existing one from
6509         the list. Moved these functions to...
6510         * buffer_funcs.[Ch]: added
6511         * BufferView.[Ch] (loadLyXFile): added
6512         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6513         job removed from bufferlist::loadLyXFile.
6514         * buffer.C (setReadOnly): make it work without view
6515         (i.e added an if (users))
6516
6517 2003-06-19  Angus Leeming  <leeming@lyx.org>
6518
6519         * lfuns.h:
6520         * LyXAction.C (init):
6521         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6522         with LFUN_DIALOG_SHOW <name> <data>.
6523
6524 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6525
6526         * CutAndPaste.C (availableSelections): small compilation fix for
6527         ancient (gcc 2.9x) compilers
6528
6529 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6530
6531         * text3.C (cursorNext): add tmp var
6532
6533         * text2.C (updateCounters): for function calling out of for clause
6534         (replaceSelectionWithString): ditto
6535         (insertStringAsParagraphs): ditto
6536         (getColumnNearX): add tmp var
6537         (setCursorFromCoordinates): add tmp var
6538         (cursorDownParagraph): add tmp var
6539         (deleteEmptyParagraphMechanism): add tmp var
6540
6541         * text.C (insertChar): add tmp var
6542
6543         * rowpainter.C (paintDepthBar): add tmp var
6544
6545         * CutAndPaste.C (availableSelections): potentially check all
6546         paragraphs in a cut to fill the shown strings.
6547
6548 2003-06-18  André Pönitz  <poenitz@gmx.net>
6549
6550         * kbmap.[Ch]: use vector<> instead of list<>
6551
6552 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6553
6554         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6555         pasteSelection with index
6556
6557         * text2.C (pasteSelection): modify, call pasteSelection with index
6558
6559         * paragraph.C (asString): reimplement version with no interval to
6560         call the one with interval.
6561
6562         * lyxtext.h: add index arg to pasteSelection
6563
6564         * MenuBackend.C (MenuItem): handle PasteRecent
6565         (Menu::read::Menutags): add md_pasterecent
6566         (read): handle it
6567         (expandPasteRecent): new function
6568         (expand): use it
6569
6570         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6571
6572         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6573         the limited stack
6574         (availableSelections): new function
6575
6576 2003-06-17  Angus Leeming  <leeming@lyx.org>
6577
6578         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6579
6580 2003-06-17  Angus Leeming  <leeming@lyx.org>
6581
6582         * lfuns.h:
6583         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6584
6585         * lyxfunc.C (dispatch): invoke it.
6586
6587 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6588
6589         * iterators.C (operator++, ParPosition): reintroduce some
6590         const_cast for the benefit of older compilers.
6591
6592 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6593
6594         * text3.C (dispatch): do not modify clipboard when doing
6595         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6596         LFUN_DELETE_SKIP on a selection selection
6597
6598 2003-06-16  André Pönitz  <poenitz@gmx.net>
6599
6600         * BufferView.C:
6601         * buffer.C:
6602         * buffer.h:
6603         * paragraph.C:
6604         * tabular.[Ch]: IU of clone() and getLabelList();
6605
6606 2003-06-13  André Pönitz  <poenitz@gmx.net>
6607
6608         * tabular.h: compactification
6609
6610 2003-06-12  André Pönitz  <poenitz@gmx.net>
6611
6612         * tabular.C:
6613         * tabular.h:
6614         * tabular_funcs.h: some renaming plus whitespace
6615
6616 2003-06-12  André Pönitz  <poenitz@gmx.net>
6617
6618         * BufferView.C:
6619         * BufferView_pimpl.C:
6620         * CutAndPaste.C:
6621         * buffer.C:
6622         * iterators.[Ch]:
6623         * lyxfunc.C:
6624         * text.C:
6625         * toc.C: Return a Paragraph & for ParIterator::operator*()
6626
6627 2003-06-11  John Levon  <levon@movementarian.org>
6628
6629         * lyx_main.C:
6630         * ToolbarBackend.h:
6631         * ToolbarBackend.C: add "Toolbars" section and
6632         put the flags there
6633
6634 2003-06-10  Angus Leeming  <leeming@lyx.org>
6635
6636         * lfuns.h:
6637         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6638
6639         * lyxfunc.C (dispatch): invoke it.
6640
6641 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6642
6643         * main.C: protect <ios> with HAVE_IOS
6644         (main): protect sync_with_stdio with HAVE_IOS
6645
6646 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6647
6648         * text2.C (cutSelection): adjust
6649         (pasteSelection): adjust
6650
6651         * messages.C: handle get of empty string
6652
6653         * main.C (main): use sync_with_stdio(false)
6654
6655         * lyxfunc.C (dispatch): adjust
6656
6657         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6658         (WriteAs): remove unneeded BufferView arg.
6659
6660         * bufferparams.h: use correct types on papersize, papersize2 and
6661         paperpackage.
6662
6663         * bufferparams.C (readToken): adjust for type
6664         (writeLaTeX): add missing cases to switch.
6665
6666         * bufferlist.C (quitWriteBuffer): adjust
6667         (close): adjust
6668
6669         * buffer.C (asciiParagraph): remove some commented code.
6670
6671         * CutAndPaste.C: remove current_view extern variable.
6672         (cutSelection): add BufferParams arg.
6673         (eraseSelection): add BufferParams arg.
6674         (pasteSelection): add Buffer const & arg
6675
6676 2003-06-07  John Levon  <levon@movementarian.org>
6677
6678         * buffer.C:
6679         * paragraph_funcs.C:
6680         * paragraph_pimpl.C:
6681         * text.C:
6682         * text2.C:
6683         * paragraph.h:
6684         * paragraph.C: allow InsetERT to freely space lines,
6685         and some consolidation of code
6686
6687 2003-06-06  José Matos  <jamatos@fep.up.pt>
6688
6689         * buffer.C (makeDocBookFile): fix bug #821
6690
6691 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6692
6693         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6694
6695 2003-06-04  Angus Leeming  <leeming@lyx.org>
6696
6697         * buffer.C: bump format to 224.
6698
6699 2003-06-05  André Pönitz  <poenitz@gmx.net>
6700
6701         * text2.C (redoParagraphs): remove two const_cast<>
6702
6703 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6704
6705         * ParagraphList.h: remove last remnants of NO_STD_LIST
6706
6707 2003-06-03  Angus Leeming  <leeming@lyx.org>
6708
6709         * factory.C (createInset): small change to the way InsetExternal's params
6710         are set.
6711
6712 2003-06-04  André Pönitz  <poenitz@gmx.net>
6713
6714         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6715
6716         * paragraph_pimpl.h:
6717         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6718
6719         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6720
6721         * undo_funcs.C: make some simple cases of undo work again
6722
6723 2003-06-03  John Levon  <levon@movementarian.org>
6724
6725         * ispell.C: HPUX doesn't have sys/select.h
6726         (from Albert Chin)
6727
6728 2003-06-03  John Levon  <levon@movementarian.org>
6729
6730         * CutAndPaste.C: update tabular and include inset
6731         buffer references
6732
6733         * buffer.h:
6734         * paragraph.h:
6735         * paragraph.C: remove owningBuffer(), don't pass Buffer
6736         to clone()
6737
6738         * factory.C: insetGraphicsParams changed
6739
6740 2003-06-02  John Levon  <levon@movementarian.org>
6741
6742         * LyXAction.C:
6743         * factory.C:
6744         * lfuns.h:
6745         * lyxfunc.C:
6746         * text3.C: remove insetparent
6747
6748 2003-06-02  John Levon  <levon@movementarian.org>
6749
6750         * buffer.h:
6751         * buffer.C: fix inset_iterator.end(), move out of line
6752         (bug 1149)
6753
6754 2003-06-01  John Levon  <levon@movementarian.org>
6755
6756         * text3.C: use a proper cut/paste when doing inset
6757         insert (from Jürgen Spitzmüller)
6758
6759 2003-06-01  John Levon  <levon@movementarian.org>
6760
6761         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6762
6763 2003-05-30  André Pönitz  <poenitz@gmx.net>
6764
6765         * rowpainter.C: unify second drawing phase
6766
6767 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6768
6769         * trans_mgr.C: remove one case of current_view
6770
6771         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6772
6773         * paragraph_funcs.h: remove paragraph.h include
6774
6775         * paragraph.h: delete NO_STD_LIST stuff
6776
6777         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6778
6779         * buffer.h: remove paragraph.h include
6780
6781         * ParagraphList.C: delete file
6782
6783         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6784
6785         * toc.C (getTocList): adjust
6786
6787         * paragraph_pimpl.C (validate): adjust
6788
6789         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6790
6791         * paragraph.C (Paragraph): adjust
6792         (getPositionOfInset): use const_iterator, adjust
6793         (bibitem): use const_iterator, adjust
6794         (setInsetOwner): adjust
6795
6796         * iterators.C (operator++): adjust
6797
6798         * InsetList.[Ch]: Replace selfmade iterator with standard
6799         vector::iterator also introduce const_iterator. Remove getPos,
6800         getInset and setInset from InsetTable. Adjust accordingly.
6801
6802         * BufferView.C (lockInset): adjust
6803         (ChangeInsets): adjust
6804
6805         * tabular.[Ch]: delete commented same_id functions
6806
6807 2003-05-28  John Levon  <levon@movementarian.org>
6808
6809         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6810
6811 2003-05-28  André Pönitz  <poenitz@gmx.net>
6812
6813         * metricsinfo.[Ch]: remove 'fullredraw' member
6814
6815 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6816
6817         * lyxtextclass.C (operator): remove caching.
6818
6819 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6820
6821         * text3.C: adjust
6822
6823         * text2.C (cursorBottom): adjust
6824         (setCounter): use ParagraphList::find, adjust
6825
6826         * text.C (workWidth): use ParagraphList::find, adjust
6827
6828         * lyxcursor.C (LyXCursor): adjust
6829
6830         * buffer.C (inset_iterator): adjust
6831
6832         * ParagraphList.h: make iterator(value_type) private, make
6833         ParagraphList a friend of iterator.
6834
6835         * ParagraphList.C (find): new function
6836
6837         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6838
6839 2003-05-27  André Pönitz  <poenitz@gmx.net>
6840
6841         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6842
6843 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6844
6845         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6846
6847 2003-05-26  John Levon  <levon@movementarian.org>
6848
6849         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6850
6851 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6852
6853         * remove same_id from function signatures, adjust.
6854
6855 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6856
6857         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6858
6859         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6860
6861         * paragraph.C (Paragraph): get rid of same_ids parameter
6862
6863         * ParagraphList.C (insert): adjust
6864         (push_back): adjust
6865
6866 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6867
6868         * paragraph_funcs.C (breakParagraph): adjust
6869         (breakParagraphConservative): adjust
6870
6871         * buffer.C (readParagraph): adjust
6872
6873         * ParagraphList.C (insert): take a reference instead of a pointer
6874         (insert): adjust
6875
6876         * paragraph.[Ch] (id): new function
6877
6878         * bufferlist.C (newFile): adjust
6879
6880         * ParagraphList.C (ParagraphList): adjust
6881         (assign): adjust
6882         (push_back): take a reference instead of a pointer.
6883
6884         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6885
6886         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6887         instead.
6888
6889         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6890         set else use old code.
6891
6892         * ParagraphList.C: remove all NO_NEXT code and only compile this
6893         code of NO_STD_LIST is set.
6894
6895 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6896
6897         * BufferView_pimpl.C:
6898         * TextCache.C:
6899         * TextCache.h:
6900         * bufferlist.C:
6901         * errorlist.h:
6902         * format.C:
6903         * format.h:
6904         * graph.C:
6905         * lyxfunc.C:
6906         * lyxrc.C:
6907         * graphics/GraphicsConverter.C:
6908         * graphics/PreviewLoader.C: header adjustment
6909
6910 2003-05-23  Angus Leeming  <leeming@lyx.org>
6911
6912         * LaTeXFeatures.[Ch] (useBabel): new method.
6913         * bufferparams.C (writeLaTeX): use it.
6914
6915 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6916
6917         * ParagraphList.h (set): remove unused function.
6918
6919 2003-05-23  André Pönitz  <poenitz@gmx.net>
6920
6921         * BufferView.C:
6922         * BufferView_pimpl.C:
6923         * buffer.C:
6924         * buffer.h:
6925         * lyxfunc.C:
6926         * undo_funcs.C: setUndo reworked
6927
6928         * iterators.[Ch]: add access to topmost ParagraphList
6929
6930         * lyxtext.[Ch] (workWidth): add a const
6931
6932 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6933
6934         * texrow.[Ch] (increasePos): remove function
6935         * exporter.C (export): removed unused var and outdated comment
6936
6937 2003-05-23  Angus Leeming  <leeming@lyx.org>
6938
6939         * latexrunparams.h: rename fragile as moving_arg.
6940         * paragraph.C (simpleTeXOnePar): ditto.
6941         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6942
6943 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6944
6945         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6946         (createUndo): ditto
6947         (textUndoOrRedo): comment out a currently unused var.
6948
6949         * paragraph.h (NO_NEXT): enable NO_NEXT
6950
6951         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6952
6953         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6954
6955         * exporter.C (Export): adjust for removeAutoInsets removal.
6956
6957         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6958
6959         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6960
6961         * BufferView.[Ch] (removeAutoInsets): delete function
6962
6963 2003-05-22  Angus Leeming  <leeming@lyx.org>
6964
6965         * latexrunparams.h: add a free_spacing variable.
6966
6967         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6968         to pass moving_arg, as the data is stored in runparams.fragile.
6969
6970         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6971         to Inset::latexOptional or to simpleTeXOnePar.
6972
6973         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6974         free_spacing arg to Inset::latexOptional.
6975
6976         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6977         free_spacing arg.
6978
6979 2003-05-22  Angus Leeming  <leeming@lyx.org>
6980
6981         * latexrunparams.h: add fragile and use_babel variables.
6982
6983         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6984         * buffer.C (makeLaTeXFile): store this returned value in
6985         runparams.use_babel, thus passing it to the inset::latex methods.
6986
6987         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6988         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6989
6990         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6991         longer has a fragile arg, as it is stored in runparams.fragile.
6992
6993         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6994         moving_arg parameter as the data is stored in runparams.fragile.
6995
6996         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6997         a fragile parameter as the data is stored in runparams.fragile.
6998
6999 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7000
7001         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7002
7003 2003-05-22  Angus Leeming  <leeming@lyx.org>
7004
7005         * latexrunparams.h: add a 'bool nice' which defaults to false.
7006
7007         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7008         now encapsulated within runparams.
7009
7010         * bufferlist.C (updateIncludedTeXfiles):
7011         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7012
7013 2003-05-22  Angus Leeming  <leeming@lyx.org>
7014
7015         * latexrunparams.h: new file containing struct LatexRunParams.
7016         * Makefile.am: add new file.
7017
7018         * LaTeX.[Ch] (c-tor, run):
7019         * buffer.[Ch] (makeLaTeXFile):
7020         * bufferlist.[Ch] (updateIncludedTeXfiles):
7021         * converter.C (convert, scanLog):
7022         * converter.[Ch] (runLaTeX):
7023         * exporter.C (Export):
7024         * paragraph.[Ch] (simpleTeXOnePar):
7025         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7026         * paragraph_funcs.[Ch] (latexParagraphs):
7027         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7028         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7029         pass around a LatexRunParams parameter.
7030
7031 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7032
7033         * paragraph.[Ch]: remove unused constructor
7034
7035         * ParagraphList.C (erase): new function, taking two iterators
7036
7037 2003-05-22  André Pönitz  <poenitz@gmx.net>
7038
7039         * undo_funcs.C: remove duplicated code
7040
7041         * iterator.[Ch]: operator=
7042
7043 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7044
7045         * tabular.C (SetMultiColumn): ws changes
7046
7047         * rowpainter.C (paintFirst): get rid of a ->previous
7048
7049         * lyx_cb.C (getPossibleLabel): parlist simplification
7050
7051         * BufferView.C (ChangeInsets): simplify slightly.
7052
7053 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7054
7055         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7056         * lfuns.h: new LFUN_SPACE
7057         * lyxfunc.C: protected space has a new lfun
7058         * paragraph_funcs.C: read new space insets
7059         * text3.C:
7060         * factory.C: handle new space insets
7061
7062 2003-05-22  André Pönitz  <poenitz@gmx.net>
7063
7064         * BufferView.C:
7065         * BufferView_pimpl.C:
7066         * buffer.[Ch]:
7067         * lyxfunc.C:
7068         * undo_funcs.C: return a ParIterator from getParFromID.
7069
7070         * iterators.[Ch]: add two const's
7071
7072 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7073
7074         * toc.C (getTocList): adjust
7075
7076         * iterators.[Ch]: rework for parlist
7077
7078         * buffer.C (par_iterator_begin): adjust
7079         (par_iterator_end): adjust
7080
7081         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7082
7083         * BufferView.C (removeAutoInsets): adjust
7084         (ChangeInsets): adjust
7085
7086 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7087
7088         * text.C (top_y): fix bug 1110
7089
7090 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7091
7092         * errorlist.[Ch]: added
7093         * buffer.C:
7094         * BufferView.[Ch]:
7095         * BufferView_pimpl.C:
7096         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7097         instead
7098
7099 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7100
7101         * Makefile.am: ensure that lyx is relinked upon changes to the
7102         various "convenience" libs.
7103
7104 2003-05-20  Angus Leeming  <leeming@lyx.org>
7105
7106         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7107         files are compiled in alphabetical order again.
7108
7109         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7110
7111 2003-05-19  Angus Leeming  <leeming@lyx.org>
7112
7113         * gettext.[Ch]: remove "char const * _(char const *)".
7114
7115 2003-05-19  André Pönitz  <poenitz@gmx.net>
7116
7117         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7118
7119         * Makefile.am:
7120         * BufferView.C:
7121         * DepTable.h:
7122         * LaTeXFeatures.C:
7123         * buffer.C:
7124         * lyxfont.C:
7125         * lyxlex.h:
7126         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7127
7128 2003-05-19  André Pönitz  <poenitz@gmx.net>
7129
7130         * buffer.C:
7131         * lyxlayout.[Ch]:
7132         * lyxtextclass.[Ch]:
7133         * paragraph.C:
7134         * paragraph_funcs.[Ch]:
7135         * text2.C:
7136         * text3.C: more insetenv work
7137
7138 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7139
7140         * ParagraphParameters.C (params2string): small bug fixed
7141
7142 2003-05-16  André Pönitz  <poenitz@gmx.net>
7143
7144         * debug.C:
7145         * bufferview_funcs.C: patch from Kornel Benko to prevent
7146           crash when _(...) is called twice in a statement
7147
7148 2003-05-16  André Pönitz  <poenitz@gmx.net>
7149
7150         * BufferView.C:
7151         * lyxfunc.C:
7152         * text.C:
7153         * text2.C:
7154         * text3.C:
7155         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7156
7157 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7158
7159         * lyx_main.C (init): remove spurious static_cast
7160
7161 2003-05-14  André Pönitz  <poenitz@gmx.net>
7162
7163         * BufferView.C: fix format string
7164
7165 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7166
7167         * BufferView.[Ch] (insertErrors): removed
7168         * BufferView.[Ch] (showErrorList): added
7169         * buffer.C (runChkTeX):
7170         * converter.C (scanLog): call showErrorList instead of inserterrors
7171
7172 2003-05-13  André Pönitz  <poenitz@gmx.net>
7173
7174         * BufferView_pimpl.C:
7175         * buffer.C:
7176         * bufferview_func.C:
7177         * MenuBackend.C:
7178         * lyxfunc.C:
7179         * lyxrc.C:
7180         * tex-accent.C:
7181         * text3.C:
7182         * toc.C:
7183         * tabular_funcs.h: tostr() from its own header
7184
7185         * ParagraphParameters.C:
7186         * ToolbarBackend.C:
7187         * bufferparams.C:
7188         * format.C:
7189         * lyxlex_pimpl.C:
7190         * text3.C: STRCONV()
7191
7192 2003-05-12  André Pönitz  <poenitz@gmx.net>
7193
7194         * BufferView.C:
7195         * BufferView_pimpl.C:
7196         * CutAndPaste.C:
7197         * LaTeX.C:
7198         * LaTeXFeatures.C:
7199         * ParagraphParameters.C:
7200         * buffer.C:
7201         * bufferlist.C:
7202         * bufferparams.C:
7203         * bufferview_funcs.C:
7204         * converter.C:
7205         * counters.C:
7206         * debug.C:
7207         * exporter.C:
7208         * format.C:
7209         * importer.C:
7210         * lyx_cb.C:
7211         * lyx_main.C:
7212         * lyxfont.C:
7213         * lyxfunc.C:
7214         * lyxvc.C:
7215         * paragraph.C:
7216         * paragraph_funcs.C:
7217         * tabular.C:
7218         * tabular_funcs.C:
7219         * text2.C:
7220         * text3.C:  boost::format -> bformat  all over the place
7221
7222
7223 2003-05-09  André Pönitz  <poenitz@gmx.net>
7224
7225         * LColor.[Ch]: Pimpl the #include <map> away
7226
7227 2003-05-09  John Levon  <levon@movementarian.org>
7228
7229         * bufferlist.C: never remove emergency saves
7230
7231 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7232
7233         * Makefile.am: better lib building
7234
7235 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7236
7237         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7238         instead.
7239         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7240         (simpleTeXSpecialChars): adjust
7241         (simpleTeXSpecialChars): adjust
7242         * paragraph.C (simpleTeXOnePar): adjust
7243         * buffer.C (makeLaTeXFile): adjust
7244
7245         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7246
7247         * text2.C (changeDepth): parlist cleanup
7248         (getColumnNearX): ditto
7249
7250         * rowpainter.C (getLabelFont): parlist cleanup
7251
7252         * bufferlist.C (newFile): parlist cleanup
7253
7254         * CutAndPaste.C (eraseSelection): parlist cleanup
7255
7256         * BufferView_pimpl.C (trackChanges): parlist cleanup
7257         (dispatch): ditto
7258
7259         * BufferView.C (lockInset): parlist cleanup.
7260         (ChangeInsets): ditto
7261
7262 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7263
7264         * CutAndPaste.h: Update file header.
7265
7266         * CutAndPaste.C: Update file header.
7267         Store the parts cut out of the Document in a limited_stack.
7268         (copySelection): adjust
7269         (pasteSelection): new function, takes the index in the limited stack.
7270         (nrOfParagraphs): adjust
7271         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7272         simplify error inset insertion.
7273         (checkPastePossible): adjust
7274
7275 2003-05-06  John Levon  <levon@movementarian.org>
7276
7277         * text2.C: don't cast wrap inset to float
7278
7279 2003-05-05  André Pönitz  <poenitz@gmx.net>
7280
7281         * iterator.C:
7282         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7283
7284         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7285           few naked Paragraph *.
7286
7287 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7288
7289         * bufferparams.C: Output warning if a document with missing
7290         TeX document class is loaded
7291         * exporter.C: Disable TeX exports if the document class is missing
7292         * lyxtextclass.C:
7293         * lyxtextclass.h:
7294         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7295         isTeXClassAvailable()
7296
7297 2003-05-03  John Levon  <levon@movementarian.org>
7298
7299         * BufferView.h:
7300         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7301         explicit cursor show/hide
7302
7303         * BufferView_pimpl.h:
7304         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7305         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7306
7307         * lyxfunc.C: hide cursor before dispatching.
7308
7309         * lyx_cb.C:
7310         * lyxfind.C:
7311         * text.C:
7312         * text3.C: remove explicit cursor hides
7313
7314 2003-05-02  André Pönitz  <poenitz@gmx.net>
7315
7316         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7317
7318         * undo_funcs.C:
7319         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7320           linked lists
7321
7322         * text2.C: tiny whitespace
7323
7324 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7325
7326         * undo_funcs.C: almost only ws changes.
7327
7328         * ParagraphList.C (splice): just return if pl is empty.
7329
7330 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7331
7332         * ParagraphList.C (splice): new function.
7333
7334         * CutAndPaste.C (pasteSelection): use it
7335
7336 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7337
7338         * CutAndPaste.C (pasteSelection): remove the last next and
7339         previous from this file.
7340
7341 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7342
7343         * CutAndPaste.C (pasteSelection): more clean up, user proper
7344         ParagraphList functions for pasteing.
7345
7346         * ParagraphList.C (insert): new function, three arg insert
7347
7348 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7349
7350         * ParagraphList.C (insert): new function, three arg insert
7351
7352         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7353         not on paragraphs.
7354
7355 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7356
7357         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7358
7359 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7360
7361         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7362
7363 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7364
7365         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7366         (copySelection): clean up a bit.
7367         (pasteSelection): use make_pair
7368
7369         * ParagraphList.C (ParagraphList): implement copy constructor
7370         (operator=): implement, base on copy constructor.
7371         (assign): new func
7372
7373         * paragraph.C (erase): return a bool
7374
7375         * paragraph_pimpl.C (erasePos): remove function, move contents...
7376         (erase): ... here. Return a bool.
7377         (erase): call erase instead of erasePos.
7378
7379 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7380
7381         * ParagraphList.h: define PitPosPair
7382         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7383         ParagraphList, fix a bug on pasting multiple pars
7384         * text2.C: change interface to C&P
7385
7386 2003-04-30  André Pönitz  <poenitz@gmx.net>
7387
7388         * undo_func.C: revert part of yesterday's patch 2
7389
7390 2003-04-30  John Levon  <levon@movementarian.org>
7391
7392         * LColor.C: s/tabular/table/
7393
7394 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7395
7396         * text3.C (dispatch): do not convert iterator -> pointer
7397         * undo_funcs.C (setCursorParUndo): ditto
7398         * text_funcs.C (transposeChars): ditto
7399
7400         * text2.C (setLayout): ws changes only
7401
7402         * text.C (breakParagraph): do not convert iterator -> pointer
7403         (insertChar): ditto
7404         (acceptChange): ditto
7405         (rejectChange): ditto
7406         (changeCase): ditto
7407         (Delete): ditto
7408         (backspace): ditto
7409
7410         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7411         pointer
7412
7413 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7414
7415         * text3.C (gotoInset): YABG (yet another bad getChar)
7416
7417 2003-04-29  André Pönitz  <poenitz@gmx.net>
7418
7419         * paragraph.h: make operator= private unimplemented as long as
7420           it is unusable
7421
7422         * ParagraphList.C: whitespace
7423
7424         * paragraph.[Ch]:
7425         * paragraph_pimpl.[Ch]:
7426         * paragraph_funcs.C:
7427         * CutAndPaste.C:
7428         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7429
7430         * text2.C:
7431           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7432
7433 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7434
7435         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7436         * paragraph.[Ch] (erase):
7437         * paragraph_pimpl.[Ch] (erase): change return type and value
7438         * text2.C (cutSelection): some rework
7439
7440 2003-04-28  John Levon  <levon@movementarian.org>
7441
7442         * bufferlist.C: changes for unsaved changes dialog
7443
7444 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7445
7446         * bufferlist.C (newFile): set language (messages_) for new
7447         documents also.
7448
7449         * buffer.C (readFile): ws changes only.
7450
7451 2003-04-28  André Pönitz  <poenitz@gmx.net>
7452
7453         * undo_funcs.C:
7454         * lyxfunc.C:
7455         * buffer.[Ch]:
7456         * BufferView_pimpl.C:
7457         * BufferView.C: getParFromID related ParagraphList::iterator changes
7458
7459 2003-04-28  André Pönitz  <poenitz@gmx.net>
7460
7461         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7462           Changes
7463
7464 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7465
7466         * messages.C: remove one more localedir class variable.
7467
7468 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7469
7470         * messages.C (getLocaleDir): singleton generation function
7471         (Pimpl): use it.
7472         (Messages): add a default constructor.
7473
7474         * main.C (main): do not setup localedir here, do not call
7475         gettext_init.
7476
7477         * gettext.C (_): use it.
7478         (gettext_init): delete funciton
7479
7480 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7481
7482         * gettext.C (getLyXMessages): new singleton generating function.
7483
7484         * buffer.C (updateDocLang): adjust
7485
7486         * Makefile.am (messages.o): add target
7487         (main.o): remove target
7488
7489 2003-04-27  John Levon  <levon@movementarian.org>
7490
7491         * bufferlist.C:
7492         * lyx_cb.C:
7493         * lyxfunc.C:
7494         * lyxvc.C: specify cancel button in Alert::prompt
7495
7496 2003-04-26  John Levon  <levon@movementarian.org>
7497
7498         * text3.C:
7499         * lyxfunc.C:
7500         * lfuns.h:
7501         * LyXAction.C: add LFUN_INSET_SETTINGS
7502
7503         * lyxfunc.C: don't enable tabular-feature when there's
7504         just any locking inset
7505
7506 2003-04-26  John Levon  <levon@movementarian.org>
7507
7508         * bufferlist.C: re-add Cancel to buffer close question
7509
7510         * lyxfunc.C: fix import UI a bit
7511
7512 2003-04-25  John Levon  <levon@movementarian.org>
7513
7514         * gettext.C: remove the broken asserts for now
7515
7516 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7517
7518         * messages.C: make case where setlocale cannot comply work better.
7519
7520         * buffer.C (updateDocLang): new function
7521         (changeLanguage): use it
7522         (readFile): use it
7523
7524         * text2.C (setCounter): use B_ a bit.
7525
7526         * lyxlayout.C (Read): be sure to trim the label strings.
7527
7528         * messages.C (Messages): fix typo in comment
7529
7530         * buffer.C (readFile): set message_ after file is loaded.
7531         (makeDocBookFile): remove double return
7532         (changeLanguage): reset message_ upon language change.
7533         (B_): new func, use this to get translated buffer strings.
7534
7535         * main.C: add myself and Jean Marc as authors.
7536
7537 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7538
7539         * messages.[hC]: pimplify Messages, and three different pimpls to be
7540         used in different circumstances.
7541
7542         * gettext.[Ch]: change for use with new message code.
7543
7544 2003-04-24 André Pönitz <poenitz@gmx.net>
7545
7546         * factory.C: support for eqref
7547
7548 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7549
7550         * messages.[Ch]: add missing char
7551
7552         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7553
7554         * messages.[Ch]: New files
7555
7556 2003-04-18  John Levon  <levon@movementarian.org>
7557
7558         * BufferView.h:
7559         * BufferView.C:
7560         * BufferView_pimpl.C:
7561         * lfuns.h:
7562         * LyXAction.C:
7563         * lyxtext.h:
7564         * text2.C: remove layout-copy/paste (bug 778)
7565
7566 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7567
7568         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7569
7570 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7571
7572         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7573         if they succeed. Act accordingly.
7574
7575 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7576
7577         * text2.C (setCharFont): adjust
7578         (setCounter): adjust
7579         (insertStringAsLines): adjust
7580
7581         * text.C (leftMargin): adjust
7582         (setHeightOfRow): adjust
7583
7584         * rowpainter.C (paintFirst): adjust
7585         (paintLast): adjust
7586
7587         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7588         (outerHook): ditto
7589         (isFirstInSequence): ditto
7590         (getEndLabel): ditto
7591         (outerFont): adjust
7592
7593         * paragraph.C (getParLanguage): comment out some hard stuff.
7594
7595         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7596         (sgmlError): ditto
7597         (simpleDocBookOnePar): ditto
7598         (makeDocBookFile): use ParagraphList::iterator
7599
7600         * CutAndPaste.C (pasteSelection): adjust
7601
7602 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7603
7604         * text2.C (getFont): adjust
7605         (getLayoutFont): adjust
7606         (getLabelFont): adjust
7607
7608         * paragraph_funcs.C (TeXOnePar): adjust
7609
7610         * buffer.C (simpleLinuxDocOnePar): adjust
7611         (simpleDocBookOnePar): adjust
7612
7613         * CutAndPaste.C (pasteSelection): adjust
7614
7615         * BufferView.C (getEncoding): adjust
7616
7617         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7618
7619 2003-04-16  John Levon  <levon@movementarian.org>
7620
7621         * lyxfind.C: use parlist stuff for search/changes
7622
7623 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7624
7625         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7626
7627         * text2.C (deleteEmptyParagraphMechanism): adjust
7628
7629         * text2.[Ch] (ownerParagraph): delete func (both of them
7630
7631 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7632
7633         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7634
7635 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7636
7637         * ParagraphList.C: prepare for NO_NEXT
7638
7639 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7640
7641         * text2.C (getFont): adjust
7642         (getLayoutFont): adjust
7643         (getLabelFont): adjust
7644
7645         * paragraph.C (getFont): adjust
7646         (getLabelFont): adjust
7647         (getLayoutFont): adjust
7648
7649         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7650
7651 2003-04-15  John Levon  <levon@movementarian.org>
7652
7653         From Angus Leeming
7654
7655         * lyx_main.C: handle Include in .ui files
7656
7657 2003-04-15  John Levon  <levon@movementarian.org>
7658
7659         * MenuBackend.C: make the doc files length shorter
7660
7661         * ToolbarBackend.h:
7662         * ToolbarBackend.C: handle toolbar placement flags,
7663         Minibuffer
7664
7665 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7666
7667         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7668         adjust
7669
7670         * paragraph_funcs.C (TeXOnePar): adjust
7671
7672         * paragraph.C (getLabelFont): add outerfont arg, adjust
7673         (getLayoutFont): ditto
7674         (simpleTeXOnePar): adjust
7675
7676         * paragraph_pimpl.C (realizeFont): delete func
7677
7678 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7679
7680         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7681         row argument, constify cur argument.
7682
7683 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7684
7685         * text2.C (getFont): adjust
7686         (getLayoutFont): adjust
7687         (getLabelFont): adjust
7688
7689         * paragraph_funcs.C (TeXOnePar): adjust
7690         (outerFont): new func...
7691         (realizeFont): ...moved out from here, changed this to facilitate
7692         transition
7693
7694         * paragraph.C (getFont): take outerfont as arg, adjust
7695         (simpleTeXOnePar): add outerfont arg, adjust
7696
7697         * buffer.C (simpleLinuxDocOnePar): adjust
7698         (simpleDocBookOnePar): adjust
7699
7700         * CutAndPaste.C (pasteSelection): adjust
7701
7702         * BufferView.C (getEncoding): adjust
7703
7704 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7705
7706         * text2.C (setCharFont): adjust
7707         (setCounter): adjust
7708
7709         * text.C (leftMargin): adjust
7710         (setHeightOfRow): adjust
7711
7712         * rowpainter.C (paintFirst): adjust
7713         (paintLast): adjust
7714
7715         * paragraph_pimpl.C (realizeFont): adjust
7716
7717         * paragraph.C (isFirstInSequence): move from here...
7718         * paragraph_funcs.C (isFirstInSequence): ...to here
7719
7720         * paragraph.C (outerHook): move from here...
7721         * paragraph_funcs.C (outerHook): ...to here
7722
7723         * paragraph.C (depthHook): move from here...
7724         * paragraph_funcs.C (depthHook): ...to here
7725
7726         * paragraph.C (getEndLabel): move from here...
7727         * paragraph_funcs.C (getEndLabel): ...to here
7728
7729         * text2.C (realizeFont): move from here...
7730         * paragraph_funcs.C (realizeFont): ...to here
7731
7732 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7733
7734         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7735
7736 2003-04-14  Angus Leeming  <leeming@lyx.org>
7737
7738         * LColor.[Ch]: scrap LColor mathcursor.
7739
7740 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7741
7742         * lyxlex.[Ch] (text): delete function
7743         * trans.C (Load): adjust
7744         * paragraph_funcs.C (readParToken): adjust
7745
7746 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7747
7748         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7749         vector<char> instead of a char[].
7750
7751         * lyxlex_pimpl.C (getString): adjust
7752         (next): adjust
7753         (lex): use getString
7754         (eatLine): adjust
7755         (nextToken): adjust
7756
7757         * lyxlex.C (text): use pimpl_->getString()
7758         (getBool): ditto
7759         (findToken): ditto
7760
7761 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7762
7763         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7764         (makeFontEntriesLayoutSpecific): temp var for par.size()
7765         (setLayout): temp var for ownerParagraphs().end()
7766         (fullRebreak): temp var for rows().end()
7767         (selectionAsString): temp var for boost::next(startpit), realize
7768         that the while really is a regular for loop.
7769         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7770         setCursor in one place.
7771         (setParagraph): temp vr for ownerParagraphs().end()
7772         (updateCounters): make the while loop a for loop
7773         (cutSelection): temp var for ownerParagraphs().end()
7774         (updateInset): make the do {} while() a regular for loop
7775         (getCursorX): use temp vars
7776         (setCurrentFont): use temp vars
7777         (getColumnNearX): use temp vars
7778
7779 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7780
7781         * text.C (transformChar): use temp var for getChar
7782         (computeBidiTables): use temp var for row->par()
7783         (fill): move temp vars for row->par() and pit->layout() earlier in
7784         the function.
7785         (labelFill): use temp var for row->par()
7786         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7787         asc and desc, realize that pit never changes and that firstpit is
7788         just a duplicate and not needed. Exchange rit->par() with pit in a
7789         lot of places.
7790         (breakAgain): use a temp var for boost::next(rit)
7791         (breakAgainOneRow): ditto
7792         (breakParagraph): use a temp var for rows().begin()
7793         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7794         (cursorRightOneWord): use temp var for cursor.par() and
7795         cursor.pos(), remove usage of tmpcursor.
7796         (cursorLeftOneWord): use temp var for cursor.par() and
7797         cursor.pos() only set cur at end of function.
7798
7799 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7800
7801         * text.C, text2.C: exchange all usage of Paragraph::next with
7802         boost::next(ParagraphList::iterator)
7803
7804         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7805
7806         * text2.C (cursorTop): simplify implementation
7807         (cursorBottom): ditto
7808         (setParagraph): use ParagraphList::iterator
7809         (setCurrentFont): adjust
7810         (getColumnNearX): adjust
7811         (cursorRight): adjust
7812         (cursorLeft): remove usage of Paragraph::previous
7813         (cursorUpParagraph): ditto
7814         (deleteEmptyParagraphMechanism): slight cleanup
7815
7816         * text.C (isBoundary): take a Paragraph const & instead of a
7817         pointer as arg.
7818         (addressBreakPoint): ditto
7819         (leftMargin): remove usage of Paragraph::previous.
7820         (setHeightOfRow): ditto
7821         (cursorLeftOneWord): ditto
7822         (selectNextWordToSpellcheck): ditto
7823         (Delete): ditto
7824         (backspace): ditto
7825         (breakParagraph): remove one usage of Paragraph::next
7826         (redoParagraph): ditto
7827         (acceptChange): ditto
7828         (insertChar): adjust
7829         (rowBreakPoint): adjust
7830
7831         * bufferview_funcs.C (toggleAndShow): adjust
7832
7833 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7834
7835         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7836         methods to access it.
7837         * lyxtext.h:
7838         * text.C: Added updateRowPositions to compute all row positions.
7839         Make top_y and getRowNearY() to use the cached y position
7840
7841 2003-04-11  John Levon  <levon@movementarian.org>
7842
7843         * text.C (rowBreakPoint): reintroduce the labelEnd
7844         checks, code copied from the row fill stuff. Deep voodoo.
7845
7846         * text.C (fill): add a comment and debugging for the
7847         next poor soul.
7848
7849 2003-04-11  John Levon  <levon@movementarian.org>
7850
7851         * text.C: make sure fullrow insets get wrapped to the next line,
7852         even when they're in a manual label
7853
7854 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7855
7856         * text2.C (insertParagraph): make it take ParagraphList::iterator
7857         as arg.
7858         (setLayout): make it return ParagraphList::iterator
7859         (redoParagraphs): ditto
7860         (setCounter): ditto
7861         (checkParagraph): ditto
7862
7863         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7864
7865         * text2.C: adjust several funcs.
7866         (realizeFont): take a ParagraphList::iterator as arg.
7867         (getLayoutFont): ditto
7868         (getLabelFont): ditto
7869         (setCharFont): ditto
7870
7871         * text.C: adjust several funcs.
7872
7873 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7874
7875         * text.C (selectNextWordToSpellcheck): don't accidentally
7876         skip insets
7877
7878 2003-04-10  John Levon  <levon@movementarian.org>
7879
7880         * ToolbarBackend.C (getIcon): special handling for
7881         LFUN_MATH_DELIM
7882
7883 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7884
7885         * text2.C (cursorRight): a getChar assert fixed
7886
7887 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7888
7889         * text2.C (getFont): change to take a ParagraphList::iterator
7890         instead of Paragraph*
7891         Adjust several functions.
7892
7893         * text.C (transformChar): change to take a ParagraphList::iterator
7894         instead of Paragraph*
7895         (singleWidth): ditto
7896         Adjust several functions.
7897
7898         * rowpainter.C: adjust several functions
7899         * rowpainter.h:store a ParagraphList::iterator and not a
7900         Paragraph&.
7901
7902
7903 2003-04-09  John Levon  <levon@movementarian.org>
7904
7905         * lyxfunc.C:
7906         * lfuns.h:
7907         * LyXAction.h:
7908         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7909         and the "help" bits as well
7910
7911 2003-04-09  John Levon  <levon@movementarian.org>
7912
7913         * ToolbarBackend.h:
7914         * ToolbarBackend.C: allow multiple toolbars
7915
7916 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7917
7918         * undo_funcs.C (setCursorParUndo): adjust
7919
7920         * text_funcs.C (transposeChars): adjust
7921
7922         * text3.C (gotoNextInset): adjust
7923         (dispatch): adjust
7924
7925         * text2.C (setLayout): adjust
7926         (changeDepth): adjust
7927         (setFont): adjust
7928         (redoParagraphs): adjust
7929         (selectionAsString): adjust
7930         (setParagraph): adjust
7931         (insertInset): adjust
7932         (cutSelection): adjust
7933         (copySelection): adjust
7934         (pasteSelection): adjust
7935         (insertStringAsLines): adjust
7936         (updateInset): adjust
7937         (setCursor): change to take a ParagraphList::iterator parameter
7938         (setCursorIntern): change to take a ParagraphList::iterator parameter
7939         (setCurrentFont): adjust
7940         (cursorLeft): adjust
7941         (cursorRight): adjust
7942         (deleteEmptyParagraphMechanism): adjust
7943
7944         * text.C (breakParagraph): adjust
7945         (insertChar): adjust
7946         (acceptChange): adjust
7947         (rejectChange): adjust
7948         (selectNextWordToSpellcheck): adjust
7949         (changeCase): adjust
7950         (Delete): adjust
7951         (backspace): adjust
7952
7953         * lyxfind.C (SearchForward): adjust
7954         (SearchBackward): adjust
7955         (nextChange): adjust
7956
7957         * lyxcursor.C (par): adjust
7958
7959         * lyxcursor.h: store a ParagraphList::iterator instead of a
7960         Paragraph*
7961
7962         * lyx_cb.C (getPossibleLabel): adjust
7963
7964         * bufferview_funcs.C (toggleAndShow): adjust
7965
7966         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7967         (dispatch): adjust
7968
7969         * BufferView.C (removeAutoInsets): adjust
7970         (lockedInsetStoreUndo): adjust
7971
7972 2003-04-09  John Levon  <levon@movementarian.org>
7973
7974         * ToolbarBackend.C: try icon without argument
7975         if with argument fails
7976
7977 2003-04-08  John Levon  <levon@movementarian.org>
7978
7979         * ToolbarBackend.h:
7980         * ToolbarBackend.C: add getIcon(), handle tooltip,
7981         and change from "Icon" to "Item".
7982
7983 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7984
7985         * BufferView.C (lockInset): another bad getchar crunched
7986
7987 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7988
7989         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7990         again)
7991
7992 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7993
7994         * lyxfind.C (searchForward, searchBackwards): bug 782
7995
7996 2003-04-07  John Levon  <levon@movementarian.org>
7997
7998         * paragraph.C: remove dead comment
7999
8000         * text.C: remove troublesome depth-fiddling code
8001         in leftMargin() and rightMargin() (bug 1017)
8002
8003         * text.C: fix breaking of rows in nested lists
8004         (bug 1004)
8005
8006         * text2.C (updateCounters): fix up depth values
8007         (bug 1013)
8008
8009 2003-04-07  John Levon  <levon@movementarian.org>
8010
8011         * BufferView_pimpl.C: clear message when doc finishes resizing,
8012         and after a mouse event
8013
8014         * lyxfunc.C: clear message after exiting inset
8015
8016 2003-04-07  John Levon  <levon@movementarian.org>
8017
8018         * bufferview_funcs.C: show math status not outside
8019         status in the statusbar
8020
8021 2003-04-07  John Levon  <levon@movementarian.org>
8022
8023         * lyxfunc.C: note status changed after a depth change
8024
8025 2003-04-04  Angus Leeming  <leeming@lyx.org>
8026
8027         * LaTeX.h: move AuxInfo operator==, != out of line.
8028         Remove LaTeX virtual destructor; nothing derives from it.
8029         Move operator()() out of public area and rename it startscript().
8030         Change protected for private.
8031
8032 2003-04-04  Angus Leeming  <leeming@lyx.org>
8033
8034         * lyxfunc.C:
8035         * text2.C: remove unneeded #includes.
8036
8037 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8038
8039         * text2.C (dEPM): fix the heigth of the next row
8040
8041 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8042
8043         * text.C: squashed an invalid getChar requester + some ws changes
8044
8045 2003-04-03  John Levon  <levon@movementarian.org>
8046
8047         * bufferview_funcs.h:
8048         * bufferview_funcs.C:
8049         * lyxfunc.C:
8050         * lyxtext.h:
8051         * text2.C: make getStatus work for the env depth lfuns
8052
8053 2003-04-03  John Levon  <levon@movementarian.org>
8054
8055         * bufferview_funcs.h:
8056         * bufferview_funcs.C:
8057         * lyxfunc.C:
8058         * lyxtext.h:
8059         * text2.C: parlistize decDepth(), by merging it with incDepth()
8060
8061 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8062
8063         * lyxrow.h: store a ParagraphList::iterator instead of a
8064         Paragraph* and adjust other class functions to suit.
8065
8066         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8067         above.
8068
8069 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8070
8071         * text2.C (setCursor): do not anchor to cursor row for the time being
8072
8073 2003-04-02  John Levon  <levon@movementarian.org>
8074
8075         * LyXAction.C:
8076         * lfuns.h:
8077         * lyx_main.C:
8078         * lyxtext.h:
8079         * text.C:
8080         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8081
8082 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8083
8084         * paragraph.h: make ParagraphList and ParagraphList::iterator
8085         friends of Paragraph.
8086
8087         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8088
8089         * ParagraphList.C: Use the private next_ and previous_ from
8090         Paragraph.
8091
8092 2003-04-01  John Levon  <levon@movementarian.org>
8093
8094         * ToolbarBackend.h:
8095         * ToolbarBackend.C:
8096         * Makefile.am: rename, remove defaults gunk
8097
8098         * MenuBackend.h:
8099         * MenuBackend.C: remove defaults gunk
8100
8101         * Languages.h:
8102         * Languages.C: remove defaults gunk
8103
8104         * lyx_main.h:
8105         * lyx_main.C: error out if files couldn't be found.
8106
8107 2003-04-02  John Levon  <levon@movementarian.org>
8108
8109         * text2.C: make incDepth() use parlist
8110
8111 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8112
8113         * undo_funcs.C (firstUndoParagraph): adjust
8114
8115         * text3.C (gotoInset): adjust
8116         (dispatch): adjust, and rewrite loop.
8117
8118         * text2.C (init): adjust, and rewrite loop.
8119         (redoParagraphs): adjust
8120         (updateInset): adjust, and rewrite loop.
8121         (deleteEmptyParagraphMechanism): adjust
8122
8123         * tabular.C (LyXTabular): adjust
8124         (SetMultiColumn): adjust
8125         (TeXRow): adjust
8126
8127         * lyxtext.[Ch] (ownerParagraph): delete function
8128         (ownerParagraphs): new function returns a ParagraphList.
8129
8130         * BufferView.C (removeAutoInsets): adjust
8131         (insertErrors): adjust
8132         (setCursorFromRow): adjust
8133
8134 2003-04-01  Angus Leeming  <leeming@lyx.org>
8135
8136         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8137         in the frontends.
8138
8139 2003-04-02  John Levon  <levon@movementarian.org>
8140
8141         * lyxtext.h:
8142         * text.C:
8143         * Makefile.am:
8144         * text_funcs.h:
8145         * text_funcs.C: make transposeChars a free function
8146
8147         * lyxrow_funcs.C: remove wrong comment
8148
8149 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8150
8151         * lyxtext.h: adjust
8152         * rowpainter.C: adjust
8153         * text.C: adjust
8154         * text2.C: adjust
8155         * text3.C: adjust
8156
8157         * lyxrow_funcs. [Ch]: new files
8158
8159         * lyxrow.[Ch]: remove next and previous pointers
8160         (next,previous): remove accessor functions
8161         (isParEnd): move to lyxrow_funcs
8162         (lastPos): move to lyxrow_funcs
8163         (nextRowIsAllInset): move to lyxrow_funcs
8164         (lastPrintablePos): move to lyxrow_funcs
8165         (numberOfSeparators): move to lyxrow_funcs
8166         (numberOfHfills): move to lyxrow_funcs
8167         (numberOfLabelHfills): move to lyxrow_funcs
8168         (hfillExpansion): move to lyxrow_funcs
8169
8170         * lyxfunc.C: adjust
8171
8172         * bufferview_funcs.C (toggleAndShow): adjust
8173
8174         * RowList.h: Remove class RowList from file leave just a
8175         std::list<Row>.
8176
8177         * RowList.C: delete file
8178
8179         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8180         and lyxrow_funcs.h
8181
8182 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8183
8184         * text3.C (cursorPrevious): adjust
8185         (cursorNext): adjust
8186         (dispatch): adjust
8187
8188         * text2.C (redoHeightOfParagraph): adjust
8189         (redoDrawingOfParagraph): adjust
8190         (setCursor): adjust
8191
8192         * text.C (breakParagraph): adjust
8193         (insertChar): adjust
8194         (backspace): adjust
8195
8196         * rowpainter.C (RowPainter): adjust
8197         (leftMargin): simplify and adjust
8198         (most rowpainter functions): adjust.
8199
8200         * rowpainter.h: store the row as RowList::iterator not as Row*
8201
8202         * lyxcursor.C (row): taka RowList::iterator as arg
8203         (irow): ditto
8204
8205         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8206         of Row*.
8207
8208 2003-04-01  Angus Leeming  <leeming@lyx.org>
8209
8210         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8211         stuff like bool Bool.
8212
8213 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8214
8215         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8216         rewrite a loop
8217
8218 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8219
8220         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8221         RowList::iterator.
8222
8223         * lyxtext.h (rows): drop one version and leve a const variant that
8224         returns a RowList::iterator.
8225
8226 2003-03-31  Angus Leeming  <leeming@lyx.org>
8227
8228         * text.C (fill): ensure that the signature is the same as that in the
8229         header file.
8230
8231 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8232
8233         * text2.C (redoParagraphs): adjust
8234         (updateCounters): adjust
8235         (checkParagraph): adjust
8236         (getColumnNearX): adjust and reformat a bit.
8237
8238         * text.C (top_y): adjust
8239         (workWidth): adjust
8240         (leftMargin): adjust
8241         (prepareToPrint): adjust
8242         (getRow): adjust
8243         (getRowNearY): adjust
8244
8245         * lyxtext.h: make rowlist_ mutable.
8246
8247         * RowList.h: add const_iterator
8248         * RowList.C: adjust for RowList::const_iterator.
8249
8250         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8251         adjust.
8252
8253 2003-03-31  John Levon  <levon@movementarian.org>
8254
8255         * lyxrc.h:
8256         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8257
8258         * lyx_main.C: set default fonts from using lyx_gui funcs
8259
8260         * exporter.C: pdf_mode moved from lyxrc
8261
8262         * lyx_cb.C:
8263         * lyxfunc.C: changes from above
8264
8265 2003-03-31  John Levon  <levon@movementarian.org>
8266
8267         * lyx_main.C: fix to the last fix
8268
8269 2003-03-31  John Levon  <levon@movementarian.org>
8270
8271         * bufferlist.C: "Load original" -> "Load Original"
8272
8273         * converter.C:
8274         * exporter.C:
8275         * importer.C:
8276         * lyx_main.C:
8277         * format.C: more Alert cleanups
8278
8279 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8280
8281         * text2.C (removeParagraph): make it take a RowList::iterator as
8282         arg, adjust.
8283         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8284         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8285
8286         * text.C (anchor_row): make it take a RowList::iterator as arg,
8287         adjust.
8288         (computeBidiTables): make it take a const reference to Row instead
8289         of Row pointer, adjust.
8290         (leftMargin): make it take a RowList::iterator as arg, adjust.
8291         (rowBreakPoint): adjust
8292         (breakAgainOneRow): make it take a RowList::iterator as arg,
8293         adjust.
8294         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8295
8296         * bufferview_funcs.C (toggleAndShow): adjust
8297
8298 2003-03-30  John Levon  <levon@movementarian.org>
8299
8300         * Makefile.am:
8301         * BoostFormat.h:
8302         * boost-inst.C: moved to support
8303
8304         * several files: changes as a result
8305
8306 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8307
8308         * text2.C (LyXText): adjust.
8309         (init): adjust
8310         (removeRow): make it take a RowList::iterator as arg, adjust.
8311         (fullRebreak): adjust
8312         (deleteEmptyParagraphMechanism): adjust
8313         (clearPaint): adjust
8314         (postPaint): adjust
8315
8316         * text.C (top_y): adjust
8317         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8318         (breakAgain): make it take a RowList::iterator as arg, adjust.
8319         (breakParagraph): adjust
8320         (insertChar): adjust
8321         (backspace): adjust
8322
8323         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8324         need_break_row, and refresh_row.
8325
8326         * text3.C (dispatch): adjust
8327
8328         * text2.C (checkParagraph): adjust
8329         (setCursor): adjust
8330         (setCursorFromCoordinates): adjust
8331
8332         * text.C (top_y): adjust
8333         (workWidth): adjust
8334         (getRow): make it return a RowList::iterator, adjust
8335         (getRowNearY): make it return a RowList::iterator, adjust
8336
8337         * text2.C (init): adjust
8338         (insertRow): remove function
8339         (insertParagraph): adjust
8340         (redoParagraphs): adjust
8341         (fullRebreak): adjust
8342         (updateCounters): adjust
8343
8344         * text.C (top_y): rewrite to use RowList iterators.
8345         (top_y): adjust
8346         (setHeightOfRow): rewrite to sue RowList iterators.
8347         (appendParagraph): adjust
8348         (breakAgain): adjust
8349         (breakAgainOneRow): adjust
8350         (breakParagraph): adjust
8351         (getRow): adjust
8352         (getRowNearY): adjust, and remove commented code.
8353
8354         * lyxtext.h (firstRow): delete function
8355         (lastRow): delete function
8356         (rows): new function (const and non-const versions.)
8357         (insertRow): delete function
8358
8359         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8360
8361 2003-03-29  John Levon  <levon@movementarian.org>
8362
8363         * BufferView_pimpl.C: always update scrollbar top
8364         because pasting text when we're anchored could mean we
8365         miss an update altogether
8366
8367 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8368
8369         * text2.C (init): use rowlist_.end() and not 0.
8370         (insertRow): change to take a RowList::iterator as arg, adjust
8371         for this.
8372         (insertParagraph): change to take a RowList::iterator as arg,
8373         adjust for this.
8374         (redoParagraphs): remove some debug msgs.
8375
8376         * text.C (appendParagraph): change to take a RowList::iterator
8377         arg, adjust for this.
8378         (breakAgain): add an assert
8379         (breakAgainOneRow): ditto
8380
8381 2003-03-29  John Levon  <levon@movementarian.org>
8382
8383         * text2.C: do not clear selection after inc/decDepth
8384         (bug 550)
8385
8386 2003-03-29  John Levon  <levon@movementarian.org>
8387
8388         * BufferView.C:
8389         * buffer.C: fix broken strerrors according to Lars
8390
8391 2003-03-29  John Levon  <levon@movementarian.org>
8392
8393         * converters.C: more Alert cleanups
8394
8395 2003-03-29  John Levon  <levon@movementarian.org>
8396
8397         * bufferview_funcs.C: remove pointless Alert
8398
8399         * buffer.C: fix confusing error message when
8400         a template is chmoded 000
8401
8402 2003-03-29  John Levon  <levon@movementarian.org>
8403
8404         * BufferView.C:
8405         * BufferView.h:
8406         * BufferView_pimpl.C: Alert fixes
8407
8408         * Makefile.am:
8409         * tabular.C:
8410         * tabular-old.C: remove unused table compat reading
8411
8412 2003-03-29  John Levon  <levon@movementarian.org>
8413
8414         * BufferView.C:
8415         * buffer.C:
8416         * lyx_cb.h:
8417         * lyx_cb.C: more Alert cleanups
8418
8419         * lyxfunc.C: don't allow chktex if not latex document
8420
8421 2003-03-29  John Levon  <levon@movementarian.org>
8422
8423         * lyx_cb.C:
8424         * BufferView.C:
8425         * buffer.C: warnings pushed down from support/,
8426         kill err_alert
8427
8428 2003-03-29  John Levon  <levon@movementarian.org>
8429
8430         * lyxfunc.C: safety check for C-r (revert)
8431
8432 2003-03-29  John Levon  <levon@movementarian.org>
8433
8434         * bufferlist.h:
8435         * bufferlist.C: several UI fixes using Alert::prompt.
8436         Fix the pointless looping quit code. Fix stupid revert
8437         behaviour (bug 938)
8438
8439         * lyxvc.h:
8440         * lyxvc.C:
8441         * lyx_cb.C: use Alert::prompt
8442
8443         * lyx_main.C: remove a silly question
8444
8445         * lyxfunc.C: remove a couple of silly questions,
8446         use Alert::prompt
8447
8448 2003-03-28  John Levon  <levon@movementarian.org>
8449
8450         * text2.C: fix bug 974 (End on empty par)
8451
8452 2003-03-28  John Levon  <levon@movementarian.org>
8453
8454         * BufferView_pimpl.C:
8455         * LyXAction.C:
8456         * lfuns.h: remove do-nothing math greek lfuns
8457
8458 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8459
8460         * lyxgluelength.h (isValidGlueLength): add default arg on
8461         parameter 2. Remove default arg from friend in class.
8462
8463         * lyxlength.h (isValidLength): add default arg on parameter 2.
8464         Remove default arg from friend in class.
8465
8466         * text2.C (LyXText): adjust, initialize refresh_row.
8467         (init): adjust
8468         (removeRow): adjust
8469         (insertRow): adjust
8470         (insertParagraph): adjst
8471         (redoParagraphs): adjust
8472         (fullRebreak): adjust
8473         (updateCounters): adjust
8474         (deleteEmptyParagraphMechanism): first attempt at fixing a
8475         crashing bug.
8476
8477         * text.C (top_y): adjust
8478         (setHeightOfRow): adjust
8479         (getRow): adjust
8480         (getRowNearY): adjust
8481
8482         * lyxtext.h: include RowList.h
8483         (~LyXText): not needed anymore, deleted.
8484         (firstRow): modify for RowList
8485         (lastRow): new function
8486         Delete firstrow and lastrow class variables, add a Rowlist
8487         rowlist_ class variable.
8488
8489         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8490         paragraph is empty.
8491
8492         * RowList.C (insert): fix case where it == begin().
8493
8494 2003-03-26  Angus Leeming  <leeming@lyx.org>
8495
8496         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8497         the thesaurus dialog.
8498
8499 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8500
8501         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8502
8503         * RowList.[Ch]: new files
8504
8505         * ParagraphList.C (erase): handle the case where it == begin
8506         correctly.
8507
8508 2003-03-25  John Levon  <levon@movementarian.org>
8509
8510         * Makefile.am:
8511         * aspell_local.h:
8512         * aspell.C: add new aspell support
8513
8514         * lyxrc.h:
8515         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8516         have it accessible.
8517
8518 2003-03-25  Angus Leeming  <leeming@lyx.org>
8519
8520         * lfuns.h:
8521         * LyXAction.C (init): new LFUN_INSET_INSERT.
8522
8523         * BufferView_pimpl.C (dispatch): split out part of the
8524         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8525
8526         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8527         LFUN_INSET_APPLY.
8528
8529 2003-03-25  Angus Leeming  <leeming@lyx.org>
8530
8531         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8532
8533 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8534
8535         * text2.C:
8536         * text3.C: remove useless row->height(0)
8537
8538 2003-03-25  John Levon  <levon@movementarian.org>
8539
8540         * lyxtext.h:
8541         * text2.C:
8542         * text3.C: rename the refreshing stuff to better names
8543
8544 2003-03-24  John Levon  <levon@movementarian.org>
8545
8546         * BufferView_pimpl.h:
8547         * BufferView_pimpl.C: update layout choice on a mouse
8548         press/release
8549
8550 2003-03-23  John Levon  <levon@movementarian.org>
8551
8552         * Makefile.am: fix commandtags.h reference
8553
8554 2003-03-22  John Levon  <levon@movementarian.org>
8555
8556         * BufferView_pimpl.C:
8557         * lyxtext.h:
8558         * rowpainter.C:
8559         * rowpainter.h:
8560         * text.C:
8561         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8562
8563 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8564
8565         * lyxtext.h:
8566         * text.C: take the rtl methods out of line
8567
8568 2003-03-21 André Pönitz <poenitz@gmx.net>
8569
8570         * metricsinfo.[Ch]: new files containing structures to be passed around
8571         during the two-phase-drawing...
8572
8573 2003-03-21 André Pönitz <poenitz@gmx.net>
8574
8575         * lyxtextclass.C: read 'environment' tag.
8576
8577 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8578
8579         * text2.C (removeRow): fix bug 964
8580
8581 2003-03-20  John Levon  <levon@movementarian.org>
8582
8583         * rowpainter.C:
8584         * text.C:
8585         * text2.C: paint cleanups. Inset::update() dropped font
8586         parameter
8587
8588 2003-03-19  John Levon  <levon@movementarian.org>
8589
8590         * lyxfunc.C: only fitcursor/markDirty if available()
8591
8592 2003-03-19  John Levon  <levon@movementarian.org>
8593
8594         * commandtags.h: rename to ...
8595
8596         * lfuns.h: ... this, and renumber / cleanup
8597
8598 2003-03-19  John Levon  <levon@movementarian.org>
8599
8600         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8601         fit the cursor after an lfun
8602
8603         * BufferView.h:
8604         * BufferView.C:
8605         * BufferView_pimpl.h:
8606         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8607
8608         * LyXAction.C: layout-character should have ReadOnly
8609
8610         * ParagraphParameters.C:
8611         * buffer.C:
8612         * bufferview_funcs.C:
8613         * lyx_cb.C:
8614         * lyxfind.C:
8615         * lyxtext.h:
8616         * text.C:
8617         * text2.C:
8618         * text3.C:
8619         * undo_funcs.C: changes from above
8620
8621 2003-03-18  John Levon  <levon@movementarian.org>
8622
8623         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8624         remove it from update()
8625
8626         * lyxfunc.C: update layout choice after an lfun
8627
8628         * text3.C: remove extra updateLayoutChoice()s
8629
8630 2003-03-18  John Levon  <levon@movementarian.org>
8631
8632         * text.C: top_y change means full repaint, fix
8633         a drawing bug with cursor movement
8634
8635 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8636
8637         * lyxtext.h:
8638         * text.C:
8639         * text2.C: anchor row on setCursor
8640
8641 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8642
8643         * lyxtext.h: remove almost all mutable keywords
8644         * text.C:
8645         * text2.C:
8646         * text3.C: remove const keywords accordingly
8647
8648 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8649
8650         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8651         anon namespace
8652         (TeXEnvironment): ditto
8653         (TeXOnePar): ditto
8654
8655 2003-03-17  John Levon  <levon@movementarian.org>
8656
8657         * text.C (rowBreakPoint): remove attempt to fix displayed
8658         math insets inside a manual label
8659
8660 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8661
8662         * lyxtext.h: remove BufferView* as first arg from almost all class
8663         functions.
8664         * other files: adjust.
8665
8666 2003-03-17  John Levon  <levon@movementarian.org>
8667
8668         * lyxtext.h:
8669         * undo_funcs.C:
8670         * text2.C: more paint cleanups
8671
8672         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8673
8674         * rowpainter.h:
8675         * rowpainter.C: remove "smart" background painting code
8676
8677 2003-03-16  John Levon  <levon@movementarian.org>
8678
8679         * lyxtext.h:
8680         * text.C:
8681         * text2.C:
8682         * text3.C: add helper functions for setting refresh_row/y
8683
8684 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8685
8686         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8687         newline inset which *can* get inserted in the pass_thru layouts.
8688         This is primarily for literate documents.
8689
8690 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8691
8692         * buffer.C: increment LYX_FORMAT to 223
8693
8694 2003-03-14 André Pönitz <poenitz@gmx.net>
8695
8696         * textclass.h: prepare for environment handling, ws changes
8697         * lyxlayout.C: read latexheader and latexfooter tags
8698
8699 2003-03-14  John Levon  <levon@movementarian.org>
8700
8701         * text2.C: rewrite ::status() a bit
8702
8703 2003-03-13  John Levon  <levon@movementarian.org>
8704
8705         * lyxtext.h: add some docs
8706
8707 2003-03-13  John Levon  <levon@movementarian.org>
8708
8709         * lyxtext.h:
8710         * text.C:
8711         * text2.C:
8712         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8713
8714 2003-03-13  John Levon  <levon@movementarian.org>
8715
8716         * text3.C: fix appendix redrawing
8717
8718 2003-03-13  John Levon  <levon@movementarian.org>
8719
8720         * text.C (setHeightOfRow):
8721         * rowpainter.h:
8722         * rowpainter.C: make appendix mark have the text
8723           "Appendix" so the user knows what it is
8724
8725         * LColor.h:
8726         * LColor.C: s/appendixline/appendix/ from above
8727
8728 2003-03-13  John Levon  <levon@movementarian.org>
8729
8730         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8731
8732         * text.C: fix a getChar(pos) bug properly
8733
8734 2003-03-13  Angus Leeming  <leeming@lyx.org>
8735
8736         * commandtags.h:
8737         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8738         Probably only temporary. Let's see how things pan out.
8739
8740         * BufferView.C (unlockInset):
8741         * BufferView_pimpl.C (fitCursor):
8742         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8743
8744         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8745         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8746
8747         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8748         new functions that convert ParagraphParameters to and from a string.
8749
8750         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8751         BufferView::Pimpl's dispatch.
8752         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8753
8754 2003-03-13 André Pönitz <poenitz@gmx.net>
8755
8756         * lyxfunc.C:
8757         * text3.C:
8758         * factory.C: make it aware of InsetEnv
8759
8760 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8761
8762         * text2.C (setCursor): never ask for one past last
8763         (setCursor): add some debugging messages.
8764
8765         * text.C (singleWidth): never ask for one past last
8766         (singleWidth): ditto
8767         (leftMargin): ditto
8768         (rightMargin): ditto
8769         (rowBreakPoint): ditto
8770         (setHeightOfRow): ditto
8771         (prepareToPrint): ditto
8772
8773         * rowpainter.C (paintBackground): never ask for one past last
8774         (paintText): never ask for one past last
8775
8776         * paragraph_pimpl.C (getChar): make the assert stricter, never
8777         allow the one past last pos to be taken
8778
8779         * paragraph.C (getChar): ws changes only
8780
8781         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8782         (numberOfSeparators): ditto
8783         (numberOfHfills): ditto
8784
8785 2003-03-12  John Levon  <levon@movementarian.org>
8786
8787         * author.h:
8788         * author.C:
8789         * bufferparams.h:
8790         * bufferparams.C:
8791         * paragraph_funcs.C: fix per-buffer authorlists
8792
8793 2003-03-12  John Levon  <levon@movementarian.org>
8794
8795         * text.C: fix newline in right address
8796
8797 2003-03-12  Angus Leeming  <leeming@lyx.org>
8798
8799         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8800         duplicate those in LyXFunc::dispatch.
8801
8802         * commandtags.h:
8803         * LyXAction.C:
8804         * ToolbarDefaults.C:
8805         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8806         Add LFUN_FONTFREE_UPDATE.
8807
8808         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8809         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8810
8811         * bufferview_func.[Ch]: several new functions to facilliate
8812         transfer of data to and from the character dialog.
8813
8814 2003-03-12  John Levon  <levon@movementarian.org>
8815
8816         * buffer.C:
8817         * paragraph.h:
8818         * paragraph.C:
8819         * paragraph_funcs.C:
8820         * paragraph_pimpl.C:
8821         * sgml.C:
8822         * tabular.C:
8823         * text.C:
8824         * text3.C: remove META_NEWLINE in favour of an inset
8825
8826         * rowpainter.h:
8827         * rowpainter.C: remove paintNewline (done by inset)
8828
8829 2003-03-12  John Levon  <levon@movementarian.org>
8830
8831         * paragraph_pimpl.C: complain about bad getChar()s
8832         for a while at least
8833
8834 2003-03-12  John Levon  <levon@movementarian.org>
8835
8836         * buffer.h:
8837         * buffer.C: move paragraph read into a separate function,
8838         a little renaming to reflect that.
8839
8840         * bufferparams.h:
8841         * bufferparams.C: remove the author_ids map, not necessary now
8842
8843         * factory.h:
8844         * factory.C: moved Buffer::readInset to here
8845
8846         * paragraph_funcs.h:
8847         * paragraph_funcs.C: readParagraph free function moved from
8848         buffer.C
8849
8850         * tabular.C: name change
8851
8852 2003-03-12  John Levon  <levon@movementarian.org>
8853
8854         * buffer.C:
8855         * ParagraphParameters.C: move par params input to
8856         a read() method
8857
8858         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8859         behave like a normal read from the stream wrt reading
8860         a line vs. a \\token
8861
8862 2003-03-12  John Levon  <levon@movementarian.org>
8863
8864         * paragraph.C:
8865         * ParagraphParameters.h:
8866         * ParagraphParameters.C: move output code to a
8867         ::write() method
8868
8869 2003-03-12  John Levon  <levon@movementarian.org>
8870
8871         * BufferView.C (insertLyXFile):
8872         * buffer.h:
8873         * buffer.C:
8874         * tabular.C: use a parlist iterator for creating the
8875           document.
8876
8877 2003-03-12  John Levon  <levon@movementarian.org>
8878
8879         * buffer.C: make current_change static local not
8880           static file-scope
8881
8882 2003-03-12  John Levon  <levon@movementarian.org>
8883
8884         * buffer.C: fix insertStringAsLines for change tracking
8885
8886 2003-03-12  John Levon  <levon@movementarian.org>
8887
8888         * BufferView.C:
8889         * tabular.C:
8890         * buffer.h:
8891         * buffer.C:
8892         * bufferparams.h:
8893         * bufferparams.C: move author list into params. Rename some
8894           functions. Move the header reading into a separate token
8895           loop. Move the header token reading into BufferParams.
8896
8897 2003-03-12  John Levon  <levon@movementarian.org>
8898
8899         * changes.C: put debug inside lyxerr.debugging() checks
8900
8901 2003-03-11 André Pönitz <poenitz@gmx.net>
8902
8903         * factory.C: make it aware of InsetHFill
8904
8905 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8906
8907         * buffer.C (latexParagraphs): move function from here...
8908         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8909         args.
8910
8911 2003-03-10  Angus Leeming  <leeming@lyx.org>
8912
8913         * LyXAction.C (init): fix bug in poplating array with multiple entries
8914         with the same LFUN (spotted by JMarc).
8915
8916 2003-03-10  John Levon  <levon@movementarian.org>
8917
8918         * text.C:
8919         * text2.C: move getColumnNearX() near its
8920         only call site
8921
8922 2003-03-10  John Levon  <levon@movementarian.org>
8923
8924         * text.C: fix break before a minipage
8925
8926 2003-03-10  John Levon  <levon@movementarian.org>
8927
8928         * text.C: fix the last commit
8929
8930 2003-03-09  John Levon  <levon@movementarian.org>
8931
8932         * lyxtext.h:
8933         * text.C:
8934         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8935         bug 365 (don't break before insets unless needed). Don't
8936         return a value > last under any circumstances.
8937
8938 2003-03-09  Angus Leeming  <leeming@lyx.org>
8939
8940         * BufferView_pimpl.C (trackChanges, dispatch): call
8941         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8942
8943 2003-03-09  Angus Leeming  <leeming@lyx.org>
8944
8945         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8946         than Dialogs::showAboutlyx().
8947
8948 2003-03-09  Angus Leeming  <leeming@lyx.org>
8949
8950         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8951         than Dialogs::showTabularCreate().
8952
8953 2003-03-09  John Levon  <levon@movementarian.org>
8954
8955         * lyxtext.h:
8956         * text.C:
8957         * text2.C: 3rd arg to nextBreakPoint was always the same.
8958           Use references.
8959
8960 2003-03-08  John Levon  <levon@movementarian.org>
8961
8962         * lyxrow.C:
8963         * paragraph.C:
8964         * paragraph.h:
8965         * rowpainter.C:
8966         * text.C:
8967         * text2.C: Remove the "main" bit from the "main body"
8968           notion.
8969
8970 2003-03-08  John Levon  <levon@movementarian.org>
8971
8972         * text.C (leftMargin): The left margin of an empty
8973         manual label paragraph should not include the label width
8974         string length.
8975
8976         * text.C (prepareToPrint): don't attempt to measure hfills
8977         for empty manual label paragraphs - the answer should be 0
8978
8979 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8980
8981         * CutAndPaste.C: remove commented code and reindent.
8982
8983 2003-03-08  John Levon  <levon@movementarian.org>
8984
8985         * lyxfunc.h:
8986         * lyxfunc.C: move reloadBuffer()
8987
8988         * BufferView.h:
8989         * BufferView.C: to here
8990
8991         * lyxvc.C: add comment
8992
8993         * vc-backend.h:
8994         * vc-backend.C: call bv->reload() to avoid
8995           getStatus() check on MENURELOAD
8996
8997 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8998
8999         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9000         to an old format .dep file.
9001
9002 2003-03-07  Angus Leeming  <leeming@lyx.org>
9003
9004         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9005         when the LFUN_MOUSE_RELEASE should have been handled by
9006         inset->localDispatch.
9007
9008 2003-03-07  Angus Leeming  <leeming@lyx.org>
9009
9010         * BufferView_pimpl.C (dispatch):
9011         * LyXAction.C (init):
9012         * ToolbarDefaults.C (init):
9013         * commandtags.h:
9014         * lyxfunc.C (getStatus):
9015         remove LFUN_INSET_GRAPHICS.
9016
9017         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9018
9019 2003-03-07  Angus Leeming  <leeming@lyx.org>
9020
9021         * commandtags.h:
9022         * LyXAction.C (init):
9023         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9024
9025         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9026
9027         * commandtags.h:
9028         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9029
9030         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9031         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9032
9033 2003-03-07  Angus Leeming  <leeming@lyx.org>
9034
9035         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9036         remove "ert".
9037
9038 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9039
9040         * ParagraphList.C (front): new function
9041         (back): implement
9042
9043 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9044
9045         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9046         and top_row_offset_. removed var first_y.
9047         * text.C (top_y):
9048         * text2.C (LyXText, removeRow):
9049         * text3.C:
9050         * BufferView_pimpl.C:
9051         use these methods instead of using first_y
9052
9053 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9054
9055         * text2.C (pasteSelection): adjust for checkPastePossible
9056
9057         * CutAndPaste.C: remove Paragraph * buf and replace with
9058         ParagraphList paragraphs.
9059         (DeleteBuffer): delete
9060         (cutSelection): change the tc type to textclass_type
9061         (copySelection): change the tc type to textclass_type
9062         (copySelection): adjust for ParagraphList
9063         (pasteSelection): change the tc type to textclass_type
9064         (pasteSelection): adjust for Paragraphlist
9065         (nrOfParagraphs): simplify for ParagraphList
9066         (checkPastePossible): simplify for ParagraphList
9067         (checkPastePossible): remove unused arg
9068
9069         * ParagraphList.C (insert): handle the case where there are no
9070         paragraphs yet.
9071
9072         * CutAndPaste.h: make CutAndPaste a namespace.
9073
9074         * text3.C (dispatch): adjust
9075
9076         * text.C (breakParagraph): add a ParagraphList as arg
9077
9078         * paragraph_funcs.C (breakParagraph): change to take a
9079         BufferParams and a ParagraphList as args.
9080         (breakParagraphConservative): ditto
9081         (mergeParagraph): ditto
9082         (TeXDeeper): add a ParagraphList arg
9083         (TeXEnvironment): ditto
9084         (TeXOnePar): ditto
9085
9086         * buffer.C (readLyXformat2): adjust
9087         (insertStringAsLines): adjust
9088         (latexParagraphs): adjust
9089
9090         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9091         (cutSelection): adjust
9092         (pasteSelection): adjust
9093
9094         * BufferView_pimpl.C (insertInset): adjust
9095
9096 2003-03-05  Angus Leeming  <leeming@lyx.org>
9097
9098         * commandtags.h:
9099         * LyXAction.C (init):
9100         * BufferView_pimpl.C (dispatch):
9101         * lyxfunc.C (getStatus):
9102         remove LFUN_CHILD_INSERT.
9103
9104         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9105
9106 2003-03-05  Angus Leeming  <leeming@lyx.org>
9107
9108         * commandtags.h:
9109         * LyXAction.C (init):
9110         * src/factory.C (createInset):
9111         * lyxfunc.C (getStatus):
9112         * text3.C (dispatch):
9113         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9114
9115         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9116
9117 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9118
9119         * ParagraphList.C (insert): handle insert right before end()
9120         (erase): fix cases where it can be first or last paragraph.
9121
9122 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9123
9124         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9125         Paragraph::next and Paragraph::previous
9126         (TeXOnePar): ditto
9127
9128         * text.C (breakParagraph): adjust
9129
9130         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9131         BufferParams& as arg.
9132         (breakParagraph): use ParagraphList::insert
9133         (breakParagraphConservative): take a Buffer* instead of a
9134         BufferParams& as arg.
9135         (breakParagraphConservative): use ParagraphList::insert.
9136
9137         * buffer.C (insertStringAsLines): un-const it
9138         (insertStringAsLines): adjust
9139
9140         * ParagraphList.C (insert): new function
9141
9142         * CutAndPaste.C (pasteSelection): adjust
9143
9144         * text.C (backspace): adjust
9145
9146         * tabular.C (SetMultiColumn): adjust
9147
9148         * CutAndPaste.C (cutSelection): adjust
9149         (pasteSelection): adjust
9150
9151         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9152         Buffer const * as arg
9153
9154         * ParagraphList.C (erase): new function
9155         * paragraph_funcs.C (mergeParagraph): use it
9156         (mergeParagraph): make it take a Buffer* instead of a
9157         BufferParams* as arg
9158
9159         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9160         as arg
9161         (breakParagraphConservative): ditto
9162
9163         * paragraph.h: remove the breakParagraph friend
9164
9165         * paragraph.C (eraseIntern): new function
9166         (setChange): new function
9167
9168         * paragraph_funcs.C (mergeParagraph): make it take a
9169         ParagraphList::iterator instead of a Paragraph *, adjust
9170         accordingly.
9171
9172         * paragraph.h: move an #endif so that the change tracking stuff
9173         also works in the NO_NEXT case.
9174
9175 2003-03-04  Angus Leeming  <leeming@lyx.org>
9176
9177         * commandtags.h:
9178         * LyXAction.C: new LFUN_INSET_MODIFY.
9179
9180         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9181         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9182
9183 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9184
9185         * several files: ws changes only
9186
9187         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9188         (TeXEnvironment): ditto
9189         (TeXDeeper): ditto
9190
9191         * buffer.C (makeLaTeXFile): adjust
9192         (latexParagraphs): make it take ParagraphList::iterator as args
9193
9194 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9195
9196         * buffer.C (latexParagraphs): adjust
9197
9198         * paragraph.C (TeXOnePar): move function...
9199         (optArgInset): move function...
9200         (TeXEnvironment): move function...
9201         * paragraph_pimpl.C (TeXDeeper): move function...
9202         * paragraph_funcs.C: ...here
9203
9204         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9205
9206 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9207
9208         * buffer.C (readInset): remove compability code for old Figure and
9209         InsetInfo insets
9210
9211 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9212
9213         * buffer.C: ws changes
9214         (readInset):
9215
9216         * BufferView_pimpl.C: ditto
9217         * author.C: ditto
9218         * buffer.h: ditto
9219         * bufferlist.h: ditto
9220         * changes.h: ditto
9221         * lyxfunc.C: ditto
9222
9223 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9224
9225         * converter.[Ch]: split into itself +
9226         * graph.[Ch]
9227         * format.[Ch]
9228         * Makefile.am: += graph.[Ch] + format.[Ch]
9229         * MenuBackend.C
9230         * buffer.C
9231         * exporter.C
9232         * importer.C
9233         * lyx_main.C
9234         * lyxfunc.C
9235         * lyxrc.C: added #include "format.h"
9236
9237 2003-02-27  Angus Leeming  <leeming@lyx.org>
9238
9239         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9240           a label.
9241
9242         * factory.C (createInset): add "label" to the factory.
9243
9244         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9245           string and do no more.
9246
9247 2003-02-27  Angus Leeming  <leeming@lyx.org>
9248
9249         * commandtags.h:
9250         * LyXAction.C (init):
9251         * factory.C (createInset):
9252         * BufferView_pimpl.C (dispatch):
9253           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9254
9255         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9256
9257         * lyxfunc.C (dispatch):
9258         * text3.C (dispatch): pass name to params2string.
9259
9260 2003-02-26  Angus Leeming  <leeming@lyx.org>
9261
9262         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9263           blocks together.
9264           Rearrange the ~includes. Strip out the unnecessary ones.
9265
9266         * factory.C (createInset): reformat.
9267           create new insets for the various LFUN_XYZ_APPLY lfuns.
9268
9269 2003-02-26  John Levon  <levon@movementarian.org>
9270
9271         * lyxrow.h:
9272         * lyxrow.C: add isParStart,isParEnd helpers
9273
9274         * paragraph.h: make isInserted/DeletedText take refs
9275
9276         * paragraph_funcs.h:
9277         * paragraph_funcs.C: remove #if 0'd code
9278
9279         * lyxtext.h:
9280         * text3.C:
9281         * text2.C:
9282         * text.C: use lyxrow helpers above.
9283           Move draw and paint routines to RowPainter.
9284           Make several methods use refs not pointers.
9285           Make backgroundColor() const.
9286           Add markChangeInDraw(), isInInset().
9287           Merge changeRegionCase into changeCase.
9288           Make workWidth() shouldn't-happen code into an Assert.
9289
9290         * rowpainter.h:
9291         * rowpainter.C: new class for painting a row.
9292
9293         * vspace.h:
9294         * vspace.C: make inPixels take a ref
9295
9296 2003-02-26  Angus Leeming  <leeming@lyx.org>
9297
9298         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9299         LFUN_REF_APPLY.
9300
9301 2003-02-25  John Levon  <levon@movementarian.org>
9302
9303         * ispell.C: give the forked command a more accurate name
9304
9305 2003-02-22  John Levon  <levon@movementarian.org>
9306
9307         * toc.h:
9308         * toc.C: make TocItem store an id not a Paragraph *
9309           (bug #913)
9310
9311 2003-02-21  Angus Leeming  <leeming@lyx.org>
9312
9313         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9314           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9315           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9316           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9317           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9318           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9319
9320         * BufferView_pimpl.C (dispatch):
9321         * LyXAction.C (init):
9322         * factory.C (createInset):
9323         * lyxfunc.C (getStatus, dispatch):
9324         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9325
9326 2003-02-21  Angus Leeming  <leeming@lyx.org>
9327
9328         * BufferView_pimpl.C (MenuInsertLyXFile):
9329         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9330         * lyxfunc.C (menuNew, open, doImport):
9331           no longer pass a LyXView & to fileDlg.
9332
9333 2003-02-21  Angus Leeming  <leeming@lyx.org>
9334
9335         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9336         * LyXAction.C: change, BIBKEY to BIBITEM.
9337         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9338         Change InsetBibKey to InsetBibitem.
9339         Change BIBKEY_CODE to BIBITEM_CODE.
9340         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9341         * factory.C: replace insetbib.h with insetbibitem.h.
9342         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9343         * paragraph.C: replace insetbib.h with insetbibitem.h.
9344         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9345         Change bibkey() to bibitem().
9346         * text.C: remove insetbib.h.
9347         * text2.C: replace insetbib.h with insetbibitem.h.
9348         change bibkey() to bibitem().
9349         * text3.C: remove insetbib.h.
9350         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9351
9352 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9353
9354         * lyxrc.C (output): enclose user email in quotes (in case there are
9355         several words)
9356
9357 2003-02-18  John Levon  <levon@movementarian.org>
9358
9359         * buffer.h: add std::
9360
9361 2003-02-17  John Levon  <levon@movementarian.org>
9362
9363         * SpellBase.h:
9364         * ispell.h:
9365         * ispell.C:
9366         * pspell.h:
9367         * pspell.C: reworking. Especially in ispell, a large
9368           number of clean ups and bug fixes.
9369
9370         * lyxfunc.C: fix revert to behave sensibly
9371
9372 2003-02-17 André Pönitz <poenitz@gmx.net>
9373
9374         * LyXAction.C:
9375         * commandtags.h: new LFUN_INSERT_BIBKEY
9376
9377         * layout.h:
9378         * lyxlayout.C:
9379         * buffer.C:
9380         * factory.C:
9381         * text.C:
9382         * text2.C:
9383         * text3.C:
9384         * paragraph.[Ch]:
9385         * paragraph_func.C: remove special bibkey handling
9386
9387 2003-02-17  John Levon  <levon@movementarian.org>
9388
9389         * text.C (Delete): fix case where delete at the end of
9390           the very first paragraph would not merge the pars
9391
9392 2003-02-17  John Levon  <levon@movementarian.org>
9393
9394         * lyxrow.C: fix lastPrintablePos()
9395
9396 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9397
9398         * bufferparams.C (writeLaTeX): add a std:here
9399
9400         * buffer.C: and remove a using directive there
9401
9402 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9403
9404         * buffer.C (makeLaTeXFile): move the code that generates the
9405           preamble...
9406
9407         * bufferparams.C (writeLaTeX): ... in this new method
9408
9409         * LaTeXFeatures.C (getEncodingSet): make const
9410           (getLanguages): make const
9411
9412         * MenuBackend.C (binding): returns the binding associated to this
9413           action
9414           (add): sets the status of each item by calling getStatus. Adds
9415           some intelligence.
9416           (read): add support for OptSubMenu
9417           (expand): remove extra separator at the end of expanded menu
9418
9419 2003-02-15  John Levon  <levon@movementarian.org>
9420
9421         * BufferView.C:
9422         * BufferView_pimpl.C:
9423         * bufferlist.h:
9424         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9425           inset code that had no actual effect. Remove unneeded status
9426           code.
9427
9428 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9429
9430         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9431           in preamble
9432
9433 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9434
9435         * text.C (drawLengthMarker): also draw an arrow marker for
9436           symbolic lengths (medskip...)
9437
9438 2003-02-14  John Levon  <levon@movementarian.org>
9439
9440         * tabular.h:
9441         * tabular.C: better method names
9442
9443 2003-02-14  John Levon  <levon@movementarian.org>
9444
9445         * BufferView_pimpl.C:
9446         * bufferlist.C:
9447         * buffer.C:
9448         * converter.C:
9449         * lyx_cb.C:
9450         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9451           it's a more accurate name. Remove some pointless uses.
9452
9453 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9454
9455         * text2.C (LyXText): change order of initilizers to shut off
9456           warnings
9457
9458 2003-02-14  John Levon  <levon@movementarian.org>
9459
9460         * buffer.C: use ParIterator for getParFromID()
9461
9462         * paragraph.h:
9463         * paragraph.C:
9464         * paragraph_pimpl.h:
9465         * paragraph_pimpl.C: remove unused getParFromID()
9466
9467 2003-02-14  John Levon  <levon@movementarian.org>
9468
9469         * buffer.C: remove some very old #if 0'd parse code
9470
9471 2003-02-13  John Levon  <levon@movementarian.org>
9472
9473         * text.h:
9474         * text.C:
9475         * text2.C: move hfillExpansion(), numberOfSeparators(),
9476           rowLast(), rowLastPrintable(), numberofHfills(),
9477           numberOfLabelHfills() ...
9478
9479         * lyxrow.h:
9480         * lyxrow.C: ... to member functions here.
9481
9482         * paragraph.h:
9483         * paragraph.C:
9484         * lyxtext.h:
9485         * text.C: remove LyXText::beginningOfMainBody(), and call
9486           p->beginningOfMainBody() directly. Move the check for
9487           LABEL_MANUAL into the latter.
9488
9489         * text.h:
9490         * text.C:
9491         * text2.C:
9492         * vspace.C:
9493         * BufferView.h:
9494         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9495
9496         * text.h:
9497         * text.C:
9498         * text2.C:
9499         * text3.C:
9500         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9501           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9502
9503 2003-02-13  John Levon  <levon@movementarian.org>
9504
9505         * CutAndPaste.C: remove debug
9506
9507 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9508
9509         * paragraph.C (asString): remove two unused variables
9510
9511         * lyxtextclass.C (readTitleType):
9512           (Read):
9513           (LyXTextClass): handle new members titletype_ and titlename_
9514
9515         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9516
9517 2003-02-09  John Levon  <levon@movementarian.org>
9518
9519         * buffer.h:
9520         * buffer.C: replace hand-coded list with a map for the dep clean
9521
9522 2003-02-08  John Levon  <levon@movementarian.org>
9523
9524         * LaTeX.C: consolidate code into showRunMessage() helper
9525
9526 2003-02-08  John Levon  <levon@movementarian.org>
9527
9528         * lyxfind.C:
9529         * lyxtext.h:
9530         * text2.C:
9531         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9532           and pass the size in explicitly
9533
9534         * BufferView_pimpl.h:
9535         * BufferView_pimpl.C:
9536         * BufferView.h:
9537         * BufferView.C: add getCurrentChange()
9538
9539         * BufferView_pimpl.h:
9540         * BufferView_pimpl.C: handle change lfuns
9541
9542         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9543           for changes. Mark pasted paragraphs as new.
9544
9545         * support/lyxtime.h:
9546         * support/lyxtime.C:
9547         * DepTable.C: abstract time_t as lyx::time_type
9548
9549         * LColor.h:
9550         * LColor.C: add colours for new text, deleted text, changebars
9551
9552         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9553           package use "usenames" option.
9554
9555         * commandtags.h:
9556         * lyxfunc.C:
9557         * LyXAction.C: add change lfuns
9558
9559         * Makefile.am:
9560         * author.h:
9561         * author.C: author handling
9562
9563         * buffer.h:
9564         * buffer.C: add a per-buffer author list, with first entry as
9565           current author. Handle new .lyx tokens for change tracking. Output
9566           author list to .lyx file. Output dvipost stuff to .tex preamble.
9567           Bump lyx format to 222.
9568
9569         * bufferlist.h:
9570         * bufferlist.C: add setCurrentAuthor() to reset current author details
9571           in all buffers.
9572
9573         * bufferparams.h:
9574         * bufferparams.C: add param for tracking
9575
9576         * bufferview_funcs.C: output change info in minibuffer
9577
9578         * Makefile.am:
9579         * changes.h:
9580         * changes.C: add change-tracking structure
9581
9582         * debug.h:
9583         * debug.C: add CHANGES debug flag
9584
9585         * lyxfind.h:
9586         * lyxfind.C: add code for finding the next change piece
9587
9588         * lyxrc.h:
9589         * lyxrc.C: add user_name and user_email
9590
9591         * lyxrow.h:
9592         * lyxrow.C: add a metric for the top of the text line
9593
9594         * lyxtext.h:
9595         * text.C: implement accept/rejectChange()
9596
9597         * lyxtext.h:
9598         * text.C: paint changebars. Paint new/deleted text in the chosen
9599         colours. Strike through deleted text.
9600
9601         * paragraph.h:
9602         * paragraph.C:
9603         * paragraph_pimpl.h:
9604         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9605           in the current change to the insert functions. Rework erase to
9606           mark text as deleted, adding an eraseIntern() and a range-based
9607           erase(). Implement per-paragraph change lookup and
9608           accept/reject.
9609
9610         * paragraph_funcs.C: Fixup paste for change tracking.
9611
9612         * tabular.C: mark added row/columns as new.
9613
9614         * text.C: fix rowLast() to never return -1. Don't allow
9615           spellchecking of deleted text. Track transpose changes. Don't
9616           allow paragraph break or merge where appropriate.
9617
9618         * text2.C: leave cursor at end of selection after a cut.
9619
9620 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9621
9622         * text.C (getLengthMarkerHeight):
9623         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9624         visible on screen too.
9625
9626 2003-02-07  John Levon  <levon@movementarian.org>
9627
9628         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9629
9630 2003-02-05  Angus Leeming  <leeming@lyx.org>
9631
9632         * lyxserver.C (read_ready): revert my patch of 11 September last year
9633         as it sends PC cpu through the roof. Presumably this means that
9634         the lyxserver will no longer run on an Alpha...
9635
9636 2003-01-30  Angus Leeming  <leeming@lyx.org>
9637
9638         * factory.C (createInset): create an InsetCommandParam of type "index"
9639         and use it to 'do the right thing'.
9640
9641         * text2.C (getStringToIndex): ensure that cursor position is always
9642         reset to the reset_cursor position.
9643
9644 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9645
9646         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9647         disabled.
9648
9649 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9650
9651         * bufferview.C:
9652         * lyxcb.C:
9653         * lyxfunc.C: Output messages with identical spelling, punctuation,
9654         and spaces
9655
9656 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9657
9658         * MenuBackend.C (expandFormats): List only viewable export formats
9659         in "View" menu
9660
9661         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9662         message
9663
9664         * lyxfunc.C (getStatus): Make sure that formats other than
9665         "fax" can also be disabled
9666
9667 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9668
9669         * text3.C (dispatch): put the lfuns that insert insets in 3
9670         groups, and call doInsertInset with appropriate arguments.
9671         (doInsertInset): new function, that creates an inset and inserts
9672         it according to some boolean parameters.
9673
9674 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9675
9676         * buffer.C (readFile): remember to pass on 'par' when calling
9677         readFile recursively.
9678
9679 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9680
9681         * MenuBackend.C (expandFormats): add "..." to import formats.
9682
9683 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9684
9685         * paragraph.C (asString): Remove XForms RTL hacks.
9686
9687 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9688         * buffer.C: fix typo
9689
9690 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9691
9692         * Makefile.am (LIBS): delete var
9693         (lyx_LDADD): add @LIBS@ here instead.
9694
9695 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9696
9697         * Clarify the meaning of "wheel mouse jump"
9698
9699 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9700
9701         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9702         tabular in a float
9703
9704 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9705
9706         * importer.C (Loaders): do not preallocate 3 elements in the
9707         vector, since one ends up with 6 elements otherwise
9708
9709 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9710
9711         * DepTable.C (write): write the file name as last element of the
9712         .dep file (because it may contain spaces)
9713         (read): read info in the right order
9714
9715 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9716
9717         * paragraph_pimpl.C (simpleTeXBlanks):
9718         (simpleTeXSpecialChars):
9719         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9720
9721         * tabular.C (latex): add some missing case statements. Reindent.
9722
9723         * MenuBackend.C (expandToc): remove unused variable.
9724
9725 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9726
9727         * LColor.C:
9728         * LaTeX.C:
9729         * LyXAction.C:
9730         * MenuBackend.C:
9731         * buffer.C:
9732         * exporter.C:
9733         * lyxfunc.C:
9734         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9735         and the like.
9736
9737 2003-01-05  John Levon  <levon@movementarian.org>
9738
9739         * BufferView.h:
9740         * BufferView.C: add getEncoding()
9741
9742         * kbsequence.h:
9743         * kbsequence.C: do not store last keypress
9744
9745         * lyxfunc.h:
9746         * lyxfunc.C: store last keypress here instead. Pass encoding
9747           to getISOEncoded()
9748
9749 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9750
9751         * lyx_main.C (init): remove annoying error message when following
9752         symbolic links (bug #780)
9753
9754 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9755
9756         * text.C (insertChar):
9757         * lyxrc.C (getDescription): remove extra spaces
9758
9759 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9760
9761         * lyxrc.C (getDescription): remove extra spaces
9762
9763 2002-12-20  John Levon  <levon@movementarian.org>
9764
9765         * text3.C: hack fix for page up/down across tall rows
9766
9767 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9768
9769         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9770         not been invoked
9771
9772 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9773
9774         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9775         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9776         thesaurus is not compiled in
9777
9778 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9779
9780         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9781
9782 2002-12-16  Angus Leeming  <leeming@lyx.org>
9783
9784         * lyxrc.[Ch]:
9785         * lyx_main.C (init): remove override_x_deadkeys stuff.
9786
9787 2002-12-12  John Levon  <levon@movementarian.org>
9788
9789         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9790           insert. Only remove shift modifier under strict
9791           circumstances.
9792
9793 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9794
9795         * MenuBackend.C (expandToc): fix crash.
9796
9797 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9798
9799         * MenuBackend.C (expandToc): gettext on float names.
9800
9801 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9802
9803         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9804         implement bool empty() [bug 490]
9805
9806 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9807
9808         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9809
9810 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9811
9812         * several files: ws changes
9813
9814 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9815
9816         * text2.C (setCounter): clean up a bit, use boost.format.
9817         (updateCounters): initialize par upon declaration.
9818
9819         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9820         if the layout exists. We do not just store the layout any more.
9821         (SwitchLayoutsBetweenClasses): use boost.format
9822
9823 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9824
9825         * converter.C (convert): if from and to files are the same, use a
9826         temporary files as intermediary
9827
9828 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9829
9830         * commandtags.h:
9831         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9832
9833 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9834
9835         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9836
9837 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9838
9839         * tabular.C (asciiPrintCell): use string(size, char) instead of
9840         explicit loop.
9841
9842         * sgml.C (openTag): fix order of arguments to string constructor
9843         (closeTag): ditto
9844
9845         * lyxfunc.C (dispatch): use boost.format
9846
9847         * lots of files: change "c" -> 'c'
9848
9849 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9850
9851         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9852
9853 2002-11-25  Angus Leeming  <leeming@lyx.org>
9854
9855         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9856
9857         * lyx_main.C (init): compile fix.
9858
9859 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9860
9861         * lyx_cb.C (start): boost.formatify
9862         do not include <iostream>
9863
9864         * lengthcommon.C: ws only
9865
9866         * boost-inst.C,BoostFormat.h: add more explict instantations
9867
9868 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9869
9870         * lots of files: handle USE_BOOST_FORMAT
9871
9872 2002-11-21  John Levon  <levon@movementarian.org>
9873
9874         * pspell.C: fix compile
9875
9876 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9877
9878         * lyxfunc.C (dispatch): use boost::format
9879         (open): ditto
9880         (doImport): ditto
9881
9882         * lyxfont.C (stateText): use boost::format
9883
9884         * lyx_main.C (LyX): use boost::format
9885         (init): ditto
9886         (queryUserLyXDir): ditto
9887         (readRcFile): ditto
9888         (parse_dbg): ditto
9889         (typedef boost::function): use the recommened syntax.
9890
9891         * importer.C (Import): use boost::format
9892
9893         * debug.C (showLevel): use boost::format
9894
9895         * converter.C (view): use boost::format
9896         (convert): ditto
9897         (move): ditto
9898         (scanLog): ditto
9899
9900         * bufferview_funcs.C (currentState): use boost::format
9901
9902         * bufferlist.C (emergencyWrite): use boost::format
9903
9904         * buffer.C (readLyXformat2): use boost::format
9905         (parseSingleLyXformat2Token): ditto
9906
9907         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9908
9909         * LaTeX.C (run): use boost::format
9910
9911         * Chktex.C (scanLogFile): use boost::format
9912
9913         * BufferView_pimpl.C (savePosition): use boost::format
9914         (restorePosition): ditto
9915         (MenuInsertLyXFile): ditto
9916
9917         * BoostFormat.h: help file for explicit instation.
9918
9919 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9920
9921         * tabular.C (latex): Support for block alignment in fixed width
9922         columns.
9923
9924 2002-11-17  John Levon  <levon@movementarian.org>
9925
9926         * BufferView_pimpl.C:
9927         * lyx_cb.C:
9928         * lyxfunc.C: split filedialog into open/save
9929
9930 2002-11-08  Juergen Vigna  <jug@sad.it>
9931
9932         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9933         by my last patch (hopefully).
9934
9935 2002-11-08  John Levon  <levon@movementarian.org>
9936
9937         * iterators.h:
9938         * iterators.C:
9939         * buffer.h:
9940         * buffer.C:
9941         * paragraph.h:
9942         * paragraph.C:
9943         * toc.h:
9944         * toc.C: ParConstIterator, and use it (from Lars)
9945
9946 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9947
9948         * lyxtextclass.[Ch]: revise and add doxygen comments
9949
9950 2002-11-07  John Levon  <levon@movementarian.org>
9951
9952         * text.C: fix progress value for spellchecker
9953
9954         * toc.C: fix navigate menu for insetwrap inside minipage
9955
9956         * paragraph_funcs.C: added FIXME for suspect code
9957
9958 2002-11-07  John Levon  <levon@movementarian.org>
9959
9960         * BufferView_pimpl.C: fix redrawing of insets
9961           on buffer switch
9962
9963 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9964
9965         * text2.C (updateCounters): fix bug 668
9966
9967 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9968
9969         * text3.C (dispatch): Do not make the buffer dirty when moving the
9970         cursor.
9971
9972 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9973
9974         * vc-backend.C: STRCONV
9975         (scanMaster): ditto
9976
9977         * text2.C (setCounter): STRCONV
9978
9979         * paragraph.C (asString): STRCONV
9980
9981         * lyxlength.C (asString): STRCONV
9982         (asLatexString): ditto
9983
9984         * lyxgluelength.C (asString): STRCONV
9985         (asLatexString): ditto
9986
9987         * lyxfunc.C (dispatch): STRCONV
9988         (open): ditto
9989
9990         * lyxfont.C (stateText): STRCONV
9991
9992         * importer.C (Import): STRCONV
9993
9994         * counters.C (labelItem): STRCONV
9995         (numberLabel): ditto
9996         (numberLabel): remove unused ostringstream o
9997
9998         * chset.C: STRCONV
9999         (loadFile): ditto
10000
10001         * bufferview_funcs.C (currentState): STRCONV
10002
10003         * buffer.C (readFile): STRCONV
10004         (asciiParagraph): ditto
10005         (makeLaTeXFile): ditto
10006
10007         * Spacing.C (writeEnvirBegin): STRCONV
10008
10009         * LaTeXFeatures.C (getLanguages): STRCONV
10010         (getPackages): ditto
10011         (getMacros): ditto
10012         (getBabelOptions): ditto
10013         (getTClassPreamble): ditto
10014         (getLyXSGMLEntities): ditto
10015         (getIncludedFiles): ditto
10016
10017         * LaTeX.C: STRCONV
10018         (run): ditto
10019         (scanAuxFile): ditto
10020         (deplog): ditto
10021
10022         * LString.h: add the STRCONV macros
10023
10024         * BufferView_pimpl.C (savePosition): STRCONV
10025         (restorePosition): ditto
10026         (MenuInsertLyXFile): ditto
10027
10028         * vc-backend.C (scanMaster): change from submatch[...] to
10029         submatch.str(...)
10030
10031         * funcrequest.C: include config.h
10032
10033         * factory.C: include config.h
10034
10035         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10036
10037         * box.C: include config.h
10038
10039         * LaTeX.C (scanAuxFile): change from submatch[...] to
10040         submatch.str(...)
10041         (deplog): ditto
10042
10043 2002-10-25  Angus Leeming  <leeming@lyx.org>
10044
10045         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10046
10047         * ispell.[Ch] (setError): new method.
10048         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10049         Use setError() insetead of goto END.
10050
10051         * lyx_cb.C (AutoSave): move out child process into new class
10052         AutoSaveBuffer.
10053
10054 2002-10-30  John Levon  <levon@movementarian.org>
10055
10056         * text3.C: make start appendix undoable
10057
10058 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10059
10060         * lyxlength.C (inPixels): Fix returned value.
10061
10062         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10063         environment.
10064
10065 2002-10-24  Angus Leeming  <leeming@lyx.org>
10066
10067         * lyxgluelength.h: no need to forward declare BufferParams
10068         or BufferView, so don't.
10069
10070 2002-10-21  John Levon  <levon@movementarian.org>
10071
10072         * BufferView.C: menuUndo ->undo, redo
10073
10074         * BufferView.h: document, remove dead, make some methods private
10075
10076         * paragraph_funcs.h:
10077         * paragraph_funcs.C:
10078         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10079
10080         * buffer.h:
10081         * buffer.C:
10082         * sgml.h:
10083         * sgml.C: move sgml open/close tag into sgml.C
10084
10085         * bufferview_funcs.h: unused prototype
10086
10087         * lyxfunc.h:
10088         * lyxfunc.C: remove unused
10089
10090         * lyxtext.h:
10091         * text.C: remove unused
10092
10093 2002-10-21  John Levon  <levon@movementarian.org>
10094
10095         * BufferView.h:
10096         * BufferView.C:
10097         * BufferView_pimpl.h:
10098         * BufferView_pimpl.C: fix mouse wheel handling based on
10099           patch from Darren Freeman
10100
10101 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10102
10103         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10104
10105 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10106
10107         * lyxlength.C (inPixels): Fix hanfling of negative length.
10108         Fix LyXLength::MU case.
10109
10110 2002-10-16  John Levon  <levon@movementarian.org>
10111
10112         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10113
10114 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10115
10116         * converter.C (view): add support for $$i (file name) and $$p
10117         (file path) for the viewer command. If $$i is not specified, then
10118         it is appended to the command (for compatibility with old syntax)
10119
10120 2002-10-14  Juergen Vigna  <jug@sad.it>
10121
10122         * undo_funcs.C (textHandleUndo): alter the order in which the
10123         new undopar is added to the LyXText, as we have to set first
10124         the right prev/next and then add it as otherwise the rebuild of
10125         LyXText is not correct. Also reset the cursor to the right paragraph,
10126         with this IMO we could remove the hack in "redoParagraphs()".
10127
10128 2002-10-09  Angus Leeming  <leeming@lyx.org>
10129
10130         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10131         to turn off an optimisation if a new inset is to be inserted.
10132
10133 2002-10-11 André Pönitz <poenitz@gmx.net>
10134
10135         * lyxtext.h: make some functions public to allow access
10136         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10137
10138 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10139
10140         * text3.C (dispatch): when changing layout, avoid an infinite loop
10141         [bug #652]
10142
10143 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10144
10145         * lyxrc.C (read): treat a viewer or converter command of "none" as
10146         if it were empty.
10147
10148         * MenuBackend.C (expandFormats): for an update, also allow the
10149         formats that are not viewable
10150
10151         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10152         script if it is newer than the lyxrc.defaults in user directory
10153
10154 2002-10-07 André Pönitz <poenitz@gmx.net>
10155
10156         * text.C: Vitaly Lipatov's small i18n fix
10157
10158 2002-09-25  Angus Leeming  <leeming@lyx.org>
10159
10160         * ispell.h: doxygen fix.
10161
10162 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10163
10164         * buffer.h (readFile): Add a new argument to the method, to allow
10165         reading of old-format templates.
10166
10167 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10168
10169         * toc.C (getTocList): Get TOC from InsetWrap.
10170
10171 2002-09-16  John Levon  <levon@movementarian.org>
10172
10173         * lyxfunc.C: check tabular for cut/copy too
10174
10175 2002-09-12  John Levon  <levon@movementarian.org>
10176
10177         * LyXAction.C: tidy
10178
10179         * factory.h:
10180         * factory.C: add header
10181
10182         * paragraph_funcs.h:
10183         * paragraph_funcs.C: cleanup
10184
10185 2002-09-11  John Levon  <levon@movementarian.org>
10186
10187         * PrinterParams.h: odd/even default to true
10188
10189 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10190
10191         * PrinterParams.h: update printer parameters for new xforms dialog
10192
10193 2002-09-11  Angus Leeming  <leeming@lyx.org>
10194
10195         * lyxserver.C (read_ready): re-write to make it more transparent
10196         and to make it work in coherent fashion under Tru64 Unix.
10197
10198 2002-09-11  André Pönitz <poenitz@gmx.net>
10199
10200         * commandtags.h:
10201         * LyXAction.C:
10202         * text3.C: implement LFUN_WORDSEL
10203
10204 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10205
10206         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10207         make floatlist_ a boost::shared_ptr<FloatList>
10208
10209         * lyxtextclass.C: include FloatList.h
10210         (LyXTextClass): initialize floatlist_
10211         (TextClassTags): add TC_NOFLOAT
10212         (Read): match "nofloat" to TC_NOFLOAT and use it.
10213         (readFloat): modify call to floatlist_
10214         (floats): ditto
10215         (floats): ditto
10216
10217         * FloatList.[Ch] (FloatList): remove commented out float
10218         initialization.
10219         (erase): new function
10220
10221 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10222
10223         * MenuBackend.C (expandToc): fix crash when there is no document
10224         open
10225
10226 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10227
10228         * many files: Add insetwrap.
10229
10230 2002-09-09  John Levon  <levon@movementarian.org>
10231
10232         * text2.C: remove confusing and awkward depth wraparound
10233
10234 2002-09-09  John Levon  <levon@movementarian.org>
10235
10236         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10237
10238         * buffer.h:
10239         * buffer.C: remove getIncludeonlyList()
10240
10241         * paragraph.C:
10242         * lyxfunc.C: remove headers
10243
10244 2002-09-09  Juergen Vigna  <jug@sad.it>
10245
10246         * text.C (getColumnNearX): fix form Michael this is most
10247         probably a cut&paste bug.
10248
10249 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10250
10251         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10252
10253         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10254         references, ws changes.
10255
10256         * text2.C (init): update counters after init
10257         (insertParagraph): no need to set counter on idividual paragraphs.
10258         (setCounter): access the counters object in the textclass object
10259         on in the buffer object.
10260         (updateCounters): ditto
10261
10262         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10263         shared_ptr<Counters> to avoid loading counters.h in all
10264         compilation units.
10265         (LyXTextClass): initialize ctrs_
10266         (TextClassTags): add TC_COUNTER, and ...
10267         (Read): use it here.
10268         (CounterTags): new tags
10269         (readCounter): new function
10270         (counters): new funtion
10271         (defaultLayoutName): return a const reference
10272
10273         * counters.C (Counters): remove contructor
10274         (newCounter): remove a couple of unneeded statements.
10275         (newCounter): simplify a bit.
10276         (numberLabel): some small formatting changes.
10277
10278         * buffer.[Ch]: remove all traces of counters, move the Counters
10279         object to the LyXTextClass.
10280
10281 2002-09-06  Alain Castera  <castera@in2p3.fr>
10282
10283         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10284         package to set the horizontal alignment on fixed width columns.
10285
10286         * lyx_sty.C:
10287         * lyx_sty.h: added tabularnewline macro def.
10288
10289         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10290
10291 2002-09-06  John Levon  <levon@movementarian.org>
10292
10293         * LyXAction.C: tooltips for sub/superscript
10294
10295         * MenuBackend.C: a bit more verbose
10296
10297         * lyxfunc.C: tiny clean
10298
10299         * undo_funcs.C: document undo_frozen
10300
10301 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10302
10303         * counters.C (Counters): add missing algorithm counter.
10304
10305         * text2.C (setCounter): lookup the counter with layouts latexname
10306         instead of by section number.
10307         (setCounter): use a hackish way to lookup the correct enum
10308         counter.
10309         a float name->type change
10310         reset enum couners with counter name directly instead of depth value.
10311
10312         * counters.C (Counters): remove the push_backs, change to use the
10313         float type not the float name.
10314         (labelItem): remove unused string, float name->type change
10315
10316         * counters.h: don't include vector, loose the enums and sects vectors
10317
10318 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10319
10320         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10321         (Read): add float->TC_FLOAT to textclassTags
10322         (Read): and handle it in the switch
10323         (readFloat): new function
10324
10325         * FloatList.C (FloatList): comment out the hardcoded float
10326         definitions.
10327
10328         * lyxlayout.h: ws change.
10329
10330 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10331
10332         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10333
10334 2002-09-03  Angus Leeming  <leeming@lyx.org>
10335
10336         * BufferView_pimpl.h: qualified name is not allowed in member
10337         declaration: WorkArea & Pimpl::workarea() const;
10338
10339         * factory.C: added using std::endl directive.
10340
10341         * text3.C: added using std::find and std::vector directives.
10342
10343 2002-08-29  André Pönitz <poenitz@gmx.net>
10344
10345         * lyxtext.h:
10346         * text2.C: remove unused member number_of_rows
10347
10348         * Makefile.am:
10349         * BufferView2.C: remove file, move contents to...
10350         * BufferView.C: ... here
10351
10352         * BufferView_pimpl.C:
10353         * factory.C: move more inset creation to factory
10354
10355         * vspace.C: avoid direct usage of LyXText, ws changes
10356
10357         * BufferView.[Ch]:
10358                 don't provide direct access to WorkArea, use two simple
10359                 acessors haveSelction() and workHeight() instead
10360
10361
10362 2002-08-29  John Levon  <levon@movementarian.org>
10363
10364         * BufferView_pimpl.C (dispatch): do not continue when
10365           no buffer
10366
10367 2002-08-28  André Pönitz <poenitz@gmx.net>
10368
10369         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10370
10371         * BufferView.h:
10372         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10373
10374 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10375
10376         * buffer.C: increment LYX_FORMAT to 221
10377
10378         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10379         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10380
10381         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10382
10383         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10384
10385 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10386
10387         * factory.C (createInset): use LyXTextClass::floats
10388
10389         * MenuBackend.C (expandFloatListInsert):
10390         (expandFloatInsert):
10391         (expandToc):
10392
10393         * text2.C (setCounter):
10394
10395         * LaTeXFeatures.C (useFloat):
10396         (getFloatDefinitions):
10397
10398         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10399
10400         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10401         floatlist_, with accessor floats().
10402
10403         * FloatList.h: remove global FloatList
10404
10405 2002-08-26  André Pönitz <poenitz@gmx.net>
10406
10407         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10408
10409         * BufferView.h:
10410         * BufferView2.C:
10411         * BufferView_pimpl.C:
10412         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10413
10414 2002-08-25  John Levon  <levon@movementarian.org>
10415
10416         * LyXAction.C: fix margin note description
10417
10418 2002-08-24  John Levon  <levon@movementarian.org>
10419
10420         * buffer.C:
10421         * bufferlist.C:
10422         * bufferview_funcs.C:
10423         * lyxfont.C:
10424         * undo_funcs.C: cleanups
10425
10426         * lyxfunc.C: disable CUT/COPY when no selection
10427
10428 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10429
10430         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10431         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10432
10433         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10434         Add backward compatibility to "mono", "gray" and "no".
10435
10436 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10437
10438         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10439         (and file_format >= 200).
10440
10441 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10442
10443         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10444
10445 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10446
10447         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10448
10449 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10450
10451         * BufferView_pimpl.C:
10452         * LyXAction.C:
10453         * buffer.C:
10454         * commandtags.h:
10455         * lyxfunc.C:
10456         * paragraph.[Ch]:
10457         * text2.C:
10458         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10459         inset and code to make it  work with the paragraph code. The inset
10460         can be anywhere in the paragraph, but will only do the expected
10461         thing in LaTeX if the layout file contains the parameter line
10462                         OptionalArgs    1
10463         (or more generally, a nonzero value) for that layout.
10464
10465 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10466
10467         * paragraph.h: remove the declaration of undefined counters class
10468         function.
10469
10470 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10471
10472         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10473         Dr. Richard Hawkins.
10474
10475 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10476
10477         * paragraph_funcs.h: remove some unneeded includes
10478
10479         * text.C (backspace): pasteParagraph now in global scipe
10480
10481         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10482         (pasteSelection): ditto
10483
10484         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10485         * paragraph_funcs.C (pasteParagraph): ... here
10486
10487 2002-08-20  André Pönitz <poenitz@gmx.net>
10488
10489         * commandtags.h: new LFUNs for swapping/copying table row/colums
10490
10491         * LyXAction.C:
10492         * lyxfunc.C: support for new lfuns
10493
10494 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10495
10496         * tabular.C:
10497         * buffer.[Ch]: remove NO_COMPABILITY stuff
10498
10499 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10500
10501         * boost.C (throw_exception): new file, with helper function for
10502         boost compiled without exceptions.
10503
10504         * paragraph.h:
10505         * lyxlength.C:
10506         * buffer.C:
10507         * ParameterStruct.h:
10508         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10509
10510         * bufferlist.C (emergencyWriteAll): use boost bind
10511
10512         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10513
10514         * text.C: include paragraph_funcs.h
10515         (breakParagraph): breakParagraph is now in global scope
10516
10517         * paragraph_funcs.[Ch]: new files
10518
10519         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10520         global scope
10521
10522         * buffer.C: include paragraph_funcs.h
10523         (insertStringAsLines): breakParagraph is now in global scope
10524
10525         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10526         paragraph_funcs.C
10527
10528         * CutAndPaste.C: include paragraph_funcs.h
10529         (cutSelection): breakParagraphConservative is now in global scope
10530         (pasteSelection): ditto
10531
10532         * buffer.h: declare oprator== and operator!= for
10533         Buffer::inset_iterator
10534
10535         * bufferlist.C (emergencyWrite): don't use fmt(...)
10536
10537         * text3.C: add using std::endl
10538
10539         * BufferView.C (moveCursorUpdate): remove default arg
10540
10541 2002-08-20  André Pönitz <poenitz@gmx.net>
10542
10543         * buffer.[Ch]: move inline functions to .C
10544
10545         * BufferView2.C:
10546         * BufferView_pimpl.C:
10547         * text.C:
10548         * buffer.[Ch]: use improved inset_iterator
10549
10550         * buffer.C:
10551         * paragraph.[Ch]: write one paragraph at a time
10552
10553 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10554
10555         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10556         style if style is not specified.
10557
10558 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10559
10560         * text2.C (setCounter): when searching for right label for a
10561         caption, make sure to recurse to parent insets (so that a caption
10562         in a minipage in a figure float works) (bug #568)
10563
10564 2002-08-20  André Pönitz <poenitz@gmx.net>
10565
10566         * text3.C: new file for LyXText::dispatch() and helpers
10567
10568         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10569
10570         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10571
10572 2002-08-19  André Pönitz <poenitz@gmx.net>
10573
10574         * lyxtext.h:
10575         * text.C: new LyXText::dispatch()
10576
10577         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10578
10579 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10580
10581         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10582
10583         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10584         Hebrew text.
10585
10586 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10587
10588         * Makefile.am: use $(variables) instead of @substitutions@
10589
10590 2002-08-15  André Pönitz <poenitz@gmx.net>
10591
10592         * lyxfunc.C:
10593         * BufferView_pimpl.C: streamlining mathed <-> outer world
10594         interaction
10595
10596         * commandtags.h:
10597         * LyXAction.C: remove unused LFUN_MATH
10598
10599 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10600
10601         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10602
10603 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10604
10605         * paragraph.C (Paragraph): reformat a bit
10606         (cutIntoMinibuffer): use builtin InsetList function instad of
10607         doing it manually.
10608         (getInset): ditto
10609
10610         * buffer.C: include boost/bind.hpp, add using std::for_each
10611         (writeFileAscii): use ParagraphList iterators
10612         (validate): use for_each for validate traversal of paragraphs
10613         (getBibkeyList): use ParagraphList iterators
10614         (resizeInsets): use for_each to resizeInsetsLyXText for all
10615         paragraphs.
10616         (getParFromID): use ParagraphList iterators
10617
10618         * BufferView2.C (lockInset): use paragraph list and iterators
10619
10620 2002-08-14  John Levon  <levon@movementarian.org>
10621
10622         * lyxserver.C: remove spurious xforms include
10623
10624 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10625
10626         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10627
10628 2002-08-13  André Pönitz <poenitz@gmx.net>
10629
10630         * LyXAction.[Ch]:
10631         * lyxfunc.C: further cleaning
10632
10633 2002-08-13  André Pönitz <poenitz@gmx.net>
10634
10635         * funcrequest.h: new constructor
10636
10637         * funcrequest.C: move stuff here from .h
10638
10639         * Makefile.am:
10640         * BufferView_pimpl.C:
10641         * LyXAction.C:
10642         * toc.C:
10643         * lyxfunc.C: subsequent changes
10644
10645         * lyxfunc.h: new view() member function
10646
10647         * lyxfunc.C: subsequent changes
10648
10649 2002-08-13  Angus Leeming  <leeming@lyx.org>
10650
10651         * BufferView2.C:
10652         * BufferView_pimpl.C:
10653         * buffer.C:
10654         * converter.C:
10655         * importer.C:
10656         * lyxfunc.C:
10657         * lyxvc.C:
10658         * toc.C:
10659         * vc-backend.C:
10660         changes due to the changed LyXView interface that now returns references
10661         to member variables not pointers.
10662
10663 2002-08-13  Angus Leeming  <leeming@lyx.org>
10664
10665         * WordLangTuple (word, lang_code): return references to strings,
10666         not strings.
10667
10668         * BufferView.h:
10669         * SpellBase.h:
10670         * lyxtext.h: forward-declare WordLangTuple.
10671
10672         * BufferView2.C:
10673         * ispell.C:
10674         * pspell.C:
10675         * text.C: #include "WordLangTuple.h".
10676
10677         * lyxtext.h:
10678         * text.C: (selectNextWordToSpellcheck): constify return type.
10679
10680 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10681
10682         * buffer.C:
10683         * buffer.h:
10684         * lyxtext.h:
10685         * paragraph.C:
10686         * paragraph_pimpl.h:
10687         * text.C:
10688         * text2.C:
10689         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10690         suggested by Angus.
10691         Made updateCounter always count from start of buffer, and removed
10692         second argument (par).
10693         Reverted floats number display to '#'. Perhaps I'll try again when the
10694         code base is sanitized a bit.
10695
10696 2002-08-12  Angus Leeming  <leeming@lyx.org>
10697
10698         * buffer.[Ch] (getLabelList): constify.
10699
10700 2002-08-07  André Pönitz <poenitz@gmx.net>
10701
10702         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10703
10704         * funcrequest.h: extension to keep mouse (x,y) position
10705
10706 2002-08-12  Juergen Vigna  <jug@sad.it>
10707
10708         * BufferView2.C (insertErrors): forbid undo when inserting error
10709         insets.
10710
10711         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10712
10713 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10714
10715         * ParagraphList.[Ch]: new files
10716
10717         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10718
10719         * BufferView2.C (lockInset): ParagraphList changes
10720         * toc.C: ditto
10721         * text2.C: ditto
10722         * bufferlist.C: ditto
10723         * buffer.h: ditto
10724         * buffer.C: ditto
10725
10726 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10727
10728         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10729         unused class variable counter_,
10730
10731         * paragraph.[Ch] (getFirstCounter): delete unused function
10732
10733         * counters.C: include LAssert.h
10734         (reset): add a new function with no arg, change other version to
10735         not have def. arg and to not allow empty arg.
10736
10737         * text2.C (setCounter): remove empty arg from call to Counters::reset
10738
10739 2002-08-11  John Levon  <levon@movementarian.org>
10740
10741         * Makefile.am: add WordLangTuple.h
10742
10743 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10744
10745         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10746         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10747
10748         * insets/insettext.C: InsetList changes
10749
10750         * graphics/GraphicsSupport.C (operator()): InsetList changes
10751
10752         * toc.C (getTocList): InsetList changes
10753
10754         * paragraph_pimpl.[Ch]: InsetList changes
10755
10756         * paragraph.[Ch]: InsetList changes
10757
10758         * buffer.C (inset_iterator): InsetList changes
10759         (setParagraph): ditto
10760         * buffer.h (inset_iterator): ditto
10761         * iterators.C (operator++): ditto
10762         * iterators.h: ditto
10763
10764         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10765
10766         * InsetList.[Ch]: new files, most InsetList handling moved out of
10767         paragraph.C.
10768
10769         * BufferView2.C (removeAutoInsets): InsetList changes
10770         (lockInset): ditto
10771         (ChangeInsets): ditto
10772
10773 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10774
10775         * paragraph_pimpl.h (empty): new function
10776
10777         * paragraph.[Ch] (empty): new function
10778
10779         * other files: use the new Paragraph::empty function
10780
10781 2002-08-09  John Levon  <levon@movementarian.org>
10782
10783         * lyxtext.h: remove unused refresh_height
10784
10785 2002-08-09  John Levon  <levon@movementarian.org>
10786
10787         * Makefile.am:
10788         * sgml.h:
10789         * sgml.C:
10790         * buffer.C:
10791         * paragraph.h:
10792         * paragraph.C: move sgml char escaping out of paragraph
10793
10794         * paragraph.h:
10795         * paragraph.C: remove id setter
10796
10797         * buffer.C:
10798         * paragraph.C:
10799         * paragraph_pimpl.C: remove dead tex_code_break_column
10800
10801         * bufferview_funcs.C: small cleanup
10802
10803         * lyxfunc.C: remove dead proto
10804
10805         * lyxtext.h: make some stuff private. Remove some dead stuff.
10806
10807         * lyxgluelength.C: make as[LyX]String() readable
10808
10809 2002-08-08  John Levon  <levon@movementarian.org>
10810
10811         * LyXAction.h:
10812         * LyXAction.C:
10813         * MenuBackend.C:
10814         * ToolbarDefaults.C:
10815         * lyxfunc.C:
10816         * lyxrc.C:
10817         * toc.C: lyxaction cleanup
10818
10819 2002-08-08  John Levon  <levon@movementarian.org>
10820
10821         * BufferView2.C: small cleanup
10822
10823         * lyxfind.h:
10824         * lyxfind.C: move unnecessary header into the .C
10825
10826 2002-08-08  John Levon  <levon@movementarian.org>
10827
10828         * funcrequest.h: just tedious nonsense
10829
10830         * lyx_main.h:
10831         * lyx_main.C: cleanups
10832
10833         * buffer.C:
10834         * vspace.C: remove dead header lyx_main.h
10835
10836 2002-08-07  Angus Leeming  <leeming@lyx.org>
10837
10838         * Paragraph.[Ch]:
10839         * paragraph_pimpl.h:
10840         Forward declare class Counters in paragraph.h by moving the ctrs member
10841         variable into Paragraph::Pimpl.
10842         (counters): new method, returning a reference to pimpl_->ctrs.
10843
10844         * text2.C: ensuing changes.
10845
10846 2002-08-07  John Levon  <levon@movementarian.org>
10847
10848         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10849
10850         * BufferView_pimpl.C: announce X selection on double/triple
10851           click
10852
10853         * lyx_main.C: use correct bool in batch dispatch
10854
10855         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10856
10857 2002-08-07  André Pönitz <poenitz@gmx.net>
10858
10859         * funcrequest.h: new class to wrap a kb_action and its argument
10860
10861         * BufferView.[Ch]:
10862         * BufferView_pimpl[Ch]:
10863         * LaTeX.C:
10864         * LyXAction.[Ch]:
10865         * lyxfunc.[Ch]:
10866         * lyxrc.C: subsequent changes
10867
10868
10869 2002-08-07  John Levon  <levon@movementarian.org>
10870
10871         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10872           document options change.
10873
10874 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10875
10876         * counters.[Ch]
10877         * text2.C
10878         * paragraph.[Ch]
10879         * makefile.am: move counters functionality over from
10880         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10881
10882 2002-08-06  John Levon  <levon@movementarian.org>
10883
10884         * WordLangTuple.h: new file for word + language code tuple
10885
10886         * SpellBase.h:
10887         * pspell.h:
10888         * pspell.C:
10889         * ispell.h:
10890         * ispell.C:
10891         * lyxtext.h:
10892         * text.C:
10893         * text2.C:
10894         * BufferView.h:
10895         * BufferView2.C: use WordLangTuple
10896
10897         * layout.h:
10898         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10899
10900 2002-08-06  John Levon  <levon@movementarian.org>
10901
10902         * lyx_main.C: fix cmdline batch handling
10903
10904 2002-08-06  André Pönitz <poenitz@gmx.net>
10905
10906         * lyxrc.C: set default for show_banner to true
10907
10908 2002-08-06  John Levon  <levon@movementarian.org>
10909
10910         * pspell.C: fix a crash, and allow new aspell to work
10911
10912 2002-08-06  John Levon  <levon@movementarian.org>
10913
10914         * lyxfunc.C:
10915         * kbmap.C: small cleanup
10916
10917         * vspace.h:
10918         * vspace.C: add const
10919
10920 2002-08-05  John Levon  <levon@movementarian.org>
10921
10922         * LyXAction.C: back to tabular-insert
10923
10924 2002-08-04  John Levon  <levon@movementarian.org>
10925
10926         * BufferView.h:
10927         * BufferView.C: cosmetic change
10928
10929         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10930
10931         * bufferlist.C:
10932         * buffer.h:
10933         * buffer.C:
10934         * lyxcb.h:
10935         * lyxcb.C:
10936         * lyxserver.C:
10937         * lyxvc.C:
10938         * vc-backend.C:
10939         * BufferView2.C: purge all "Lyx" not "LyX" strings
10940
10941         * lyxcursor.h:
10942         * lyxcursor.C: attempt to add some documentation
10943
10944         * lyxfunc.C:
10945         * commandtags.h:
10946         * LyXAction.C:
10947         * ToolbarDefaults.C:
10948         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10949           merge with LFUN_TABULAR_INSERT
10950
10951         * Makefile.am:
10952         * SpellBase.h:
10953         * ispell.h:
10954         * ispell.C:
10955         * pspell.h:
10956         * pspell.C: split up i/pspell implementations into separate
10957           files, many cleanups
10958
10959         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10960
10961         * text2.C: some cleanup
10962
10963         * lyxfunc.C: don't check for isp_command == "none" any more, it
10964           didn't make any sense
10965
10966 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10967
10968         * counters.[Ch]
10969         * text2.C
10970         * paragraph.[Ch]
10971         * makefile.am: move counters functionality over
10972         from text2.C/paragraph.[Ch] to counters.[Ch], and
10973         make proper C++.
10974 2002-08-02  John Levon  <levon@movementarian.org>
10975
10976         * buffer.C: s/lyxconvert/lyx2lyx/
10977
10978 2002-08-02  Angus Leeming  <leeming@lyx.org>
10979
10980         * lyxlex.C: revert John's change as it breaks reading of the user
10981         preamble.
10982
10983 2002-08-02  Angus Leeming  <leeming@lyx.org>
10984
10985         * importer.C (Import):
10986         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10987         changes due to LyXView::view() now returning a boost::shared_ptr.
10988
10989 2002-08-02  John Levon  <levon@movementarian.org>
10990
10991         * lyxlex.C: small cleanup
10992
10993 2002-08-02  John Levon  <levon@movementarian.org>
10994
10995         * text2.C (status): small cleanup, no logic change
10996
10997 2002-08-01  John Levon  <levon@movementarian.org>
10998
10999         * buffer.h:
11000         * buffer.C (writeFile): don't output alerts, caller
11001           handles this
11002
11003         * bufferlist.C:
11004         * lyx_cb.C: from above
11005
11006         * lyxfunc.C: allow to open non-existent files
11007
11008 2002-07-31  John Levon  <levon@movementarian.org>
11009
11010         * lyxserver.C: don't let incidental errors get
11011           in the way (errno)
11012
11013 2002-07-30  John Levon  <levon@movementarian.org>
11014
11015         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11016
11017 2002-07-30  John Levon  <levon@movementarian.org>
11018
11019         * lyxserver.h:
11020         * lyxserver.C: remove I/O callback too
11021
11022 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11023
11024         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11025         log.
11026
11027 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11028
11029         * many files: strip,frontStrip -> trim,ltrim,rtrim
11030
11031 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11032
11033         * PrinterParams.h: remove extern containsOnly, and include
11034         support/lstrings.h instead.
11035
11036         * LaTeX.C (scanAuxFile): modify because of strip changes
11037         (deplog): ditto
11038         * buffer.C (makeLaTeXFile): ditto
11039         * bufferparams.C (writeFile): ditt
11040         * lyxfont.C (stateText): ditto
11041         * lyxserver.C (read_ready): ditto
11042         * vc-backend.C (scanMaster): ditto
11043
11044         * BufferView_pimpl.h: ws changes
11045
11046         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11047
11048 2002-07-26  André Pönitz <poenitz@gmx.net>
11049
11050         * kb_sequence.C: remove unnedred usings
11051
11052 2002-07-26  Juergen Vigna  <jug@sad.it>
11053
11054         * lyxfind.C (LyXReplace): we have to check better if the returned
11055         text is not of theLockingInset()->getLockingInset().
11056
11057 2002-07-25  Juergen Vigna  <jug@sad.it>
11058
11059         * lyxfind.C (LyXReplace): don't replace if we don't get the
11060         right LyXText.
11061
11062         * undo_funcs.C (createUndo): remove debugging code.
11063
11064 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11065
11066         * buffer.C (parseSingleLyXformat2Token): Use default placement
11067         when reading old floats.
11068
11069         * FloatList.C (FloatList): Change the default placement of figure
11070         and tables to "tbp".
11071
11072 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11073
11074         * MenuBackend.C: using std::max
11075
11076 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11077
11078         * MenuBackend.C (expandToc):
11079         (expandToc2): code moved from xforms menu frontend. It is now
11080         generic and TOCs are transparent to menu frontends.
11081
11082 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11083
11084         * toc.C (getTocList): protect against buf=0
11085
11086         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11087         Menu as first parameter. Now, this calls itself recursively to
11088         expand a whole tree (this will be useful for TOC handling)
11089         (expandFloatInsert): remove 'wide' version of floats
11090
11091         * MenuBackend.h (submenuname): returns the name of the submenu.
11092         (submenu): returns the submenu itself, provided it has been
11093         created by MenuBackend::expand
11094
11095 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11096
11097         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11098         insets which have noFontChange == true. (bug #172)
11099
11100 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11101
11102         * BufferView_pimpl.C: add connection objects and use them...
11103         (Pimpl): here.
11104
11105 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11106
11107         * MenuBackend.C (expandLastfiles):
11108         (expandDocuments):
11109         (expandFormats):
11110         (expandFloatListInsert):
11111         (expandFloatInsert):
11112         (expand): split expand in parts
11113
11114 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11115
11116         * lyx_gui.C: use lyx_gui::exit()
11117
11118 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11119
11120         * LyXAction.C: show the failing pseudo action
11121
11122 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11123
11124         * buffer.C (readFile): Run the lyxconvert script in order to read
11125         old files.
11126
11127 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11128
11129         * LyXAction.C:
11130         * commandtags.h:
11131         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11132
11133 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11134
11135         * LyXAction.C:
11136         * commandtags.h:
11137         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11138
11139 2002-07-22  Herbert Voss  <voss@lyx.org>
11140
11141         * lengthcommon.C:
11142         * lyxlength.[Ch]: add support for the vertical lengths
11143
11144 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11145
11146         * toc.[Ch]: std:: fixes
11147
11148 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11149
11150         * lyxrc.C: do not include lyx_main.h
11151
11152         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11153         for layouts
11154
11155         * lyxrc.C:
11156         * encoding.C:
11157         * bufferlist.C:
11158         * BufferView2.C: include "lyxlex.h"
11159
11160         * tabular.h:
11161         * bufferparams.h: do not #include "lyxlex.h"
11162
11163         * lyxtextclasslist.C (Add): remove method
11164         (classlist): renamed to classlist_
11165
11166         * paragraph_pimpl.C:
11167         * paragraph.C:
11168         * text2.C:
11169         * CutAndPaste.C:
11170         * bufferview_funcs.C:
11171         * bufferlist.C:
11172         * text.C:
11173         * LaTeXFeatures.C:
11174         * buffer.C:
11175         * toc.C (getTocList): use BufferParams::getLyXTextClass
11176
11177         * toc.C (getTocList): use InsetFloat::addToToc
11178
11179         * toc.[Ch]: new files, containing helper functions to handle table
11180         of contents
11181
11182         * lyxfunc.C (dispatch): no need to remove spaces around command
11183         given as a string
11184         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11185         first command of the sequence; it is not very clever, but I do not
11186         have a better idea, actually
11187
11188         * LyXAction.C (LookupFunc): make sure to remove space at the
11189         beginning and end of the command
11190
11191 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11192
11193         * MenuBackend.C (getMenubar): new method: return the menubar of
11194         this menu set
11195         (read): treat differently reading of menu and menubar (in
11196         particular, the menubar has no name now)
11197         (Menu::menubar): remove
11198
11199         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11200         saving is finished
11201
11202 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11203
11204         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11205         a bibitem inset in a RTL paragraph.
11206
11207 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11208
11209         * paragraph_pimpl.C: constify
11210
11211         * BufferView_pimpl.C:
11212         * LaTeX.C:
11213         * lyxfunc.C: fix dispatch in a nicer way
11214
11215 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11216
11217         * lyxfunc.C (dispatch):
11218         * BufferView_pimpl.C:
11219         * BufferView_pimpl.h:
11220         * BufferView.C:
11221         * BufferView.h: rename Dispatch() to dispatch()
11222
11223         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11224
11225         * lyxlayout.C (Read): honor DependsOn tag
11226
11227         * lyxlayout.[Ch] (depends_on): new method
11228
11229         * version.C.in: update lyx_docversion
11230
11231         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11232
11233         * paragraph.C (validate): remove from here...
11234         * paragraph_pimpl.C (validate): ... and move here
11235         (isTextAt): make it const
11236
11237         * buffer.C (getLists): ws cleanup
11238
11239 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11240
11241         * language.C (read): Use iso8859-1 encoding in latex_lang
11242         (this prevents LyX from crashing when using iso10646-1 encoding).
11243
11244 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11245
11246         * text2.C (toggleInset): if cursor is inside an inset, close the
11247         inset and leave cursor _after_ it
11248
11249 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11250
11251         * lyxfunc.C: move minibuffer completion handling out of here
11252
11253 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11254
11255         * BufferView_pimpl.C:
11256         * LaTeX.C: fix dispatch calls
11257
11258 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11259
11260         * text.C (drawChars): Fix Arabic text rendering.
11261
11262 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11263
11264         * LyXAction.C:
11265         * commandtags.h:
11266         * lyxfunc.C: remove message-push/pop
11267
11268         * lyxserver.C:
11269         * lyxfunc.h:
11270         * lyxfunc.C: rationalise some code by removing verboseDispatch
11271           in favour of a bool argument to dispatch()
11272
11273 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11274
11275         * lyx_main.C (init): make sure to read symlinks as absolute paths
11276
11277 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11278
11279         * lyxfunc.h:
11280         * lyxfunc.C: no need for commandshortcut to be a member
11281
11282 2002-07-15  André Pönitz <poenitz@gmx.net>
11283
11284         * converter.C: add support for $$s (scripts from lib/scripts dir)
11285         * lyx_main.C: white space
11286
11287 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11288
11289         * bufferlist.C:
11290         * lyxrc.h:
11291         * lyxrc.C: remove second exit confirmation
11292
11293 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11294
11295         * BufferView.h:
11296         * BufferView.C:
11297         * BufferView2.C:
11298         * BufferView_pimpl.h:
11299         * BufferView_pimpl.C:
11300         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11301
11302 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11303
11304         * MenuBackend.C (expand): add numeric shortcuts to document menu
11305
11306         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11307
11308 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11309
11310         * lyxfont.C (setLyXFamily):
11311         (setLyXSeries):
11312         (setLyXShape):
11313         (setLyXSize):
11314         (setLyXMisc):
11315         (lyxRead):
11316         * debug.C (value):
11317         * buffer.C (asciiParagraph): use ascii_lowercase
11318
11319 2002-07-15  Mike Fabian  <mfabian@suse.de>
11320
11321         * lyxlex_pimpl.C (search_kw):
11322         * lyxlex.C (getLongString):
11323         * converter.h (operator<):
11324         * converter.C (operator<):
11325         * buffer.C (parseSingleLyXformat2Token):
11326         (asciiParagraph):
11327         * ToolbarDefaults.C (read):
11328         * MenuBackend.C (checkShortcuts):
11329         (read):
11330         * LColor.C (getFromGUIName):
11331         (getFromLyXName): use the compare_ascii_no_case instead of
11332         compare_no_case, because in turkish, 'i' is not the lowercase
11333         version of 'I', and thus turkish locale breaks parsing of tags.
11334
11335 2002-07-16  Angus Leeming  <leeming@lyx.org>
11336
11337         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11338         now takes a Buffer const & argument.
11339
11340 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11341
11342         * BufferView.C (resize): check there's a buffer to resize
11343
11344 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11345
11346         * lyxfunc.C: remove dead code
11347
11348         * lyxserver.h:
11349         * lyxserver.C: use lyx_guii::set_read_callback
11350
11351 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11352
11353         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11354         an inset in a RTL paragraph.
11355
11356 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11357
11358         * lyxfunc.C: repaint after a font size update
11359
11360 2002-07-15  André Pönitz <poenitz@gmx.net>
11361
11362         * lyxlength.C: inBP should be able to return negative values
11363
11364 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11365
11366         * lyxfunc.C: use lyx_gui::update_fonts()
11367
11368 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11369
11370         * lyxfunc.C: use lyx_gui::update_color()
11371
11372 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11373
11374         * bufferlist.C:
11375         * lyxfunc.h:
11376         * lyxfunc.C:
11377         * lyxrc.h:
11378         * lyxrc.C: remove file->new asks for name option, and let
11379           buffer-new take an argument
11380
11381 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11382
11383         * BufferView_pimpl.C: remove unneeded extra repaint()
11384
11385 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11386
11387         * LyXAction.C: allow command-sequence with NoBuffer
11388
11389         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11390
11391 2002-07-10  Angus Leeming  <leeming@lyx.org>
11392
11393         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11394
11395 2002-07-09  Angus Leeming  <leeming@lyx.org>
11396
11397         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11398
11399 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11400
11401         * lengthcommon.h: whitespace
11402
11403         * lyxfunc.C: update scrollbar after goto paragraph
11404
11405         * lyxtext.h: factor out page break drawing, and fix it so
11406           page break/added space paints as selected nicely
11407
11408 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11409
11410         * BufferView_pimpl.C: add FIXMEs, clean up a little
11411
11412 2002-07-09  André Pönitz <poenitz@gmx.net>
11413
11414         * lyxfont.[Ch]: support for wasy symbols
11415
11416 2002-07-08  André Pönitz <poenitz@gmx.net>
11417
11418         * BufferView_pimpl.C: apply John's patch for #93.
11419
11420 2002-07-05  Angus Leeming  <leeming@lyx.org>
11421
11422         * BufferView_pimpl.C (buffer): generate previews if desired.
11423
11424         * LColor.h: add "preview" to the color enum.
11425
11426         * LColor.C (LColor): add a corresponding entry to the items array.
11427
11428         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11429         with this buffer.
11430
11431 2002-07-05  Angus Leeming  <leeming@lyx.org>
11432
11433         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11434         The body of the code is now in the method that is passed an ostream &
11435         rather than a file name.
11436         Pass an additional only_preamble parameter, useful for the forthcoming
11437         preview stuff.
11438
11439 2002-07-03  André Pönitz <poenitz@gmx.net>
11440
11441         * lyxfunc.C: simplify getStatus() a bit for math stuff
11442
11443 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11444
11445         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11446
11447 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11448
11449         * text.C (changeRegionCase): do not change case of all the
11450         document when region ends at paragraph end (bug #461)
11451
11452 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11453
11454         * paragraph.C (startTeXParParams):
11455         (endTeXParParams): add \protect when necessary
11456
11457 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11458
11459         * BufferView_pimpl.C (workAreaExpose): remove warning
11460
11461 2002-06-27  Angus Leeming  <leeming@lyx.org>
11462
11463         * Makefile.am: add lyxlayout_ptr_fwd.h.
11464
11465 2002-06-26  André Pönitz <poenitz@gmx.net>
11466
11467         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11468
11469 2002-06-25  Angus Leeming  <leeming@lyx.org>
11470
11471         * lyxfunc.C (dispatch): Comment out the call to
11472         grfx::GCache::changeDisplay. The method no longer exists now that the
11473         pixmap generation part of the graphics loader has been moved into
11474         InsetGraphics.
11475
11476 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11477
11478         * text2.C: layout as layout
11479
11480         * text.C: layout as layout
11481
11482         * tabular.C (OldFormatRead): layout as layout
11483
11484         * paragraph_pimpl.C (TeXDeeper): layout as layout
11485         (realizeFont): layout as layout
11486
11487         * paragraph.C (writeFile): layout as layout
11488         (validate): layout as layout
11489         (getFont): layout as layout
11490         (getLabelFont): layout as layout
11491         (getLayoutFont): layout as layout
11492         (breakParagraph): layout as layout
11493         (stripLeadingSpaces): layout as layout
11494         (getEndLabel): layout as layout
11495         (getMaxDepthAfter): layout as layout
11496         (applyLayout): layout as layout
11497         (TeXOnePar): layout as layout
11498         (simpleTeXOnePar): layout as layout
11499         (TeXEnvironment): layout as layout
11500         (layout): layout as layout
11501         (layout): layout as layout
11502
11503         * lyxtextclass.C (compare_name): new functor to work with
11504         shared_ptr, layout as layout
11505         (Read): layout as layout
11506         (hasLayout): layout as layout
11507         (operator): layout as layout
11508         (delete_layout): layout as layout
11509         (defaultLayout): layout as layout
11510
11511         * lyxlayout_ptr_fwd.h: new file
11512
11513         * lyxlayout.C (Read): layout as layout
11514
11515         * lyx_cb.C (MenuInsertLabel): layout as layout
11516
11517         * bufferlist.C (newFile): layout as layout
11518
11519         * buffer.C (readLyXformat2): layout as layout
11520         (parseSingleLyXformat2Token): layout as layout
11521         (insertStringAsLines): layout as layout
11522         (asciiParagraph): layout as layout
11523         (latexParagraphs): layout as layout
11524         (makeLinuxDocFile): layout as layout
11525         (simpleLinuxDocOnePar): layout as layout
11526         (makeDocBookFile): layout as layout
11527         (simpleDocBookOnePar): layout as layout
11528         (getLists): layout as layout
11529
11530         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11531
11532         * CutAndPaste.C (cutSelection): layout as layout
11533         (pasteSelection): layout as layout
11534         (SwitchLayoutsBetweenClasses): layout as layout
11535
11536         * BufferView_pimpl.C (Dispatch): layout as layout
11537         (smartQuote): layout as layout
11538
11539         * BufferView2.C (unlockInset): layout as layout
11540
11541 2002-06-24  André Pönitz <poenitz@gmx.net>
11542
11543         * lyxfunc.C: fix #487
11544
11545 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11546
11547         * lyxrc.h:
11548         * lyxrc.C:
11549         * lyxfunc.C: remove display_shortcuts, show_banner
11550
11551 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11552
11553         * Buffer_pimpl.C: oops, update on resize
11554
11555 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11556
11557         * buffer.C:
11558         * converter.C:
11559         * exporter.C:
11560         * lyxfunc.C:
11561         * BufferView.h:
11562         * BufferView.C: use repaint()
11563
11564         * BufferView_pimpl.h:
11565         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11566           as it's a clearer description. Remove superfluous
11567           redraws.
11568
11569 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11570
11571         * text.C: fix bug 488. Not ideal, but getting
11572           getWord() to work properly for the insets that
11573           matter is more difficult ...
11574
11575 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11576
11577         * BufferView_pimpl.C:
11578         * LyXAction.C:
11579         * commandtags.h:
11580         * lyxfunc.C: remove the six million index lyxfuncs to just
11581           one, and DTRT (bug 458)
11582
11583 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11584
11585         * BufferView.h:
11586         * BufferView.C:
11587         * BufferView_pimpl.h:
11588         * BufferView_pimpl.C: clean up resize() stuff,
11589           and unnecessary updateScreen()s
11590
11591 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11592
11593         * BufferView.h:
11594         * BufferView.C:
11595         * BufferView_pimpl.h:
11596         * BufferView_pimpl.C:
11597         * lyxfind.h:
11598         * lyxfind.C:
11599         * minibuffer.C: remove focus management of workarea,
11600           not needed. Use screen's greyOut()
11601
11602 2002-06-17  Herbert Voss  <voss@lyx.org>
11603
11604         * converter.C: (convert) do not post a message, when converting
11605         fails, let the calling function decide what to do in this case
11606
11607 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11608
11609         * lyxfunc.C: tidy up a little
11610
11611 2002-06-16    <alstrup@diku.dk>
11612
11613         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11614         Got rid of FORMS_H_LOCATION include. Now we are
11615         GUII.
11616
11617 2002-06-15  LyX Development team  <lyx@rilke>
11618
11619         * buffer.[Ch] (sgmlOpenTag):
11620         (sgmlCloseTag): Added support for avoiding pernicious mixed
11621         content. Return number of lines written.
11622
11623         (makeLinuxDocFile):
11624         (makeDocBookFile): Fixed calls to sgml*Tag.
11625         Simple white space clean.
11626
11627         (simpleDocBookOnePar): Simple white space clean.
11628
11629         * tabular.[Ch] (docBook): Renamed to docbook and got another
11630         argument to related with the pernicious mixed content.
11631
11632         (docbookRow): Fixed calls for docbook inset method.
11633
11634 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11635
11636         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11637         so it's X11 independent.
11638
11639         * kb*.[Ch]: ditto.
11640
11641         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11642
11643 2002-06-15  Lyx Development team  <lyx@electronia>
11644
11645         * intl.h: Renamed getTrans to getTransManager.
11646
11647 2002-06-14  Angus Leeming  <leeming@lyx.org>
11648
11649         * Makefile.am: nuke forgotten stl_string_fwd.h.
11650
11651 2002-06-12  Angus Leeming  <leeming@lyx.org>
11652
11653         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11654
11655 2002-06-13  Angus Leeming  <leeming@lyx.org>
11656
11657         * LaTeX.C:
11658         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11659
11660 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11661
11662         * kbmap.C (getiso): add support for cyrillic and greek
11663
11664 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11665
11666         * BufferView.h:
11667         * BufferView.C:
11668         * BufferView_pimpl.h:
11669         * BufferView_pimpl.C: move bogus scrolling logic
11670           to xforms
11671
11672 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11673
11674         * lyxfunc.C:
11675         * BufferView_pimpl.C: view->resize() change
11676
11677 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11678
11679         * BufferView_pimpl.C: topCursorVisible
11680           prototype change
11681
11682 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11683
11684         * Makefile.am:
11685         * lyx_gui.h:
11686         * lyx_gui.C: move to frontends/
11687
11688         * main.C:
11689         * lyx_main.h:
11690         * lyx_main.C: changes from above
11691
11692 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11693
11694         * intl.C:
11695         * intl.h:
11696         * kbmap.C:
11697         * kbsequence.C:
11698         * lyx_cb.C:
11699         * lyx_main.C: minor tidy
11700
11701 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11702
11703         * BufferView_pimpl.h:
11704         * BufferView_pimpl.C:
11705         * BufferView.h:
11706         * BufferView.C: make painter() const,
11707           remove dead code
11708
11709         * BufferView2.C: use screen() accessor
11710
11711         * lyx_main.h:
11712         * lyx_main.C: some minor cleanup
11713
11714 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11715
11716         * BufferView_pimpl.h:
11717         * BufferView_pimpl.C: remove enter/leaveView,
11718           use workHeight()
11719
11720 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11721
11722         * BufferView.h:
11723         * BufferView.C:
11724         * BufferView2.C:
11725         * BufferView_pimpl.h:
11726         * BufferView_pimpl.C: only construct screen once,
11727           rename
11728
11729         * lyxrc.C: remove pointless comment
11730
11731 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11732
11733         * BufferView.h:
11734         * BufferView.C: remove active() and belowMouse()
11735
11736         * BufferView_pimpl.h:
11737         * BufferView_pimpl.C: use workarea() not workarea_,
11738           and make it use a scoped_ptr instead
11739
11740 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11741
11742         * lyx_gui.C: add debug message on BadWindow
11743
11744 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11745
11746         * sp_spell.C: fdopen is not part of the C++ standard.
11747
11748         * paragraph.C (InsetIterator): use >= instead of ==
11749
11750 2002-06-07  Angus Leeming  <leeming@lyx.org>
11751
11752         Fixes needed to compile with Compaq cxx 6.5.
11753         * BufferView_pimpl.C:
11754         * DepTable.C:
11755         * buffer.C:
11756         * converter.C:
11757         * encoding.C:
11758         * lyx_gui.C:
11759         * lyx_main.C:
11760         * lyxtextclasslist.C:
11761         * minibuffer.C:
11762         * sp_spell.C:
11763         * tabular_funcs.C:
11764         * vc-backend.C:
11765         all c-library variables have been moved into namespace std. Wrap
11766         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11767
11768         * lyxlength.C:
11769         * tabular-old.C:
11770         * tabular.C:
11771         Add a using std::abs declaration.
11772
11773         * kbmap.h (modifier_pair):
11774         * paragraph.h (InsetTable, InsetList):
11775         * lyxfont.h (FontBits):
11776         type definition made public.
11777
11778         * bufferlist.C (emergencyWriteAll): the compiler complains that
11779         there is more than one possible lyx::class_fun template to choose from.
11780         I re-named the void specialisation as lyx::void_class_fun.
11781
11782         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11783
11784         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11785         the compiler is is unable to find tostr in write_attribute.
11786
11787 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11788
11789         * buffer.C (sgmlError): hide #warning
11790
11791 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11792
11793         * xtl/*: get rid of xtl, which is not in use anyway
11794
11795         * LyXAction.C (init):
11796         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11797         were unimplemented xtl experimentation
11798
11799 2002-06-04  André Pönitz <poenitz@gmx.net>
11800
11801         * lyxfunc.C: disable array operation on simple formulae
11802
11803 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11804
11805         * converter.C: constify a bit
11806
11807 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11808
11809         * lyx_gui.C: check xforms version correctly
11810
11811 2002-04-30  Herbert Voss  <voss@lyx.org>
11812
11813         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11814         "keep" option
11815
11816 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11817
11818         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11819           attempt to register it with a VCS)
11820
11821 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11822
11823         * lyx_main.C (init): honor variables LYX_DIR_13x and
11824         LYX_USERDIR_13x
11825
11826 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11827
11828         * buffer.h:
11829         * buffer.C:
11830         * lyx_main.C: fix a crash on bad command line,
11831           and give a useful exit status on error
11832
11833         * lyxfunc.C (doImport): allow -i lyx to work
11834
11835 2002-03-30  André Pönitz <poenitz@gmx.net>
11836
11837         * lyxfunc.C: mathed font changes
11838
11839 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11840
11841         * LaTeX.C:
11842         * importer.h:
11843         * importer.C:
11844         * lyx_sty.h:
11845         * lyx_sty.C:
11846         * lyxlex.C:
11847         * lyxrow.h:
11848         * lyxtext.h:
11849         * paragraph.h:
11850         * paragraph.C:
11851         * texrow.h:
11852         * texrow.C:
11853         * text.C:
11854         * trans_mgr.h: srcdocs, and some minor cleanups
11855
11856 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11857
11858         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11859         call getFont all the time)
11860
11861 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11862
11863         * switch from SigC signals to boost::signals
11864
11865 2002-05-29  André Pönitz <poenitz@gmx.net>
11866
11867         * paragraph_pimpl.C (getChar): don't call size() too often...
11868
11869 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11870
11871         * paragraph_pimpl.C (insertChar): do not try to update tables when
11872         appending (pos == size())
11873
11874         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11875         in order to reduce drastically the number of comparisons needed to
11876         parse a large document
11877
11878 2002-05-29  André Pönitz <poenitz@gmx.net>
11879
11880         * text.C:
11881         * text2.C:
11882         * lyxtextclass.C:
11883         * sp_pspell.h:
11884         * textclasslist.[Ch]:
11885         * sp_ispell.h: whitespace change
11886
11887 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11888
11889         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11890         lyxaction directly now.
11891
11892 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11893
11894         * trans.C:
11895         * lyxfont.C:
11896         * lyxvc.C: remove unused headers
11897
11898 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11899
11900         * Makefile.am:
11901         * buffer.h:
11902         * undostack.h:
11903         * undostack.C:
11904         * undo_funcs.h:
11905         * undo_funcs.C: some cleanups. Use shared_ptr
11906           and a template for the undo stacks.
11907
11908 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11909
11910         * BufferView_pimpl.h:
11911         * BufferView_pimpl.C:
11912         * kbmap.h:
11913         * kbmap.C:
11914         * kbsequence.h:
11915         * kbsequence.C:
11916         * lyxfunc.h:
11917         * lyxfunc.C:
11918         * text2.C: use key_state/mouse_state
11919
11920 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11921
11922         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11923         and LSubstring
11924
11925         * chset.C: change include order
11926         (loadFile): use boost regex and get rid of LRegex and LSubstring
11927
11928         * Makefile.am (BOOST_LIBS): new variable
11929         (lyx_LDADD): use it
11930
11931         * LaTeX.C: change include order.
11932         (scanAuxFile): use boost regex and get rid of LRegex and
11933         LSubstring
11934         (deplog): ditto
11935
11936 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11937
11938         * ColorHandler.h:
11939         * ColorHandler.C:
11940         * FontInfo.h:
11941         * FontInfo.C: moved to frontends/xforms/
11942
11943         * FontLoader.h:
11944         * FontLoader.C: moved into frontends for GUIIzation
11945
11946         * Makefile.am:
11947         * lyx_gui.C:
11948         * lyxfont.C:
11949         * lyxfunc.C: changes from above
11950
11951 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11952
11953         * LColor.C: remove spurious X include
11954
11955         * BufferView_pimpl.C:
11956         * Makefile.am:
11957         * font.h:
11958         * font.C:
11959         * text.C:
11960         * text2.C: move font metrics to frontends/
11961
11962 2002-05-24  Juergen Vigna  <jug@sad.it>
11963
11964         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11965         setting the undo_cursor.
11966
11967         * ParagraphParameters.h: include local includes first.
11968
11969 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11970
11971         * BufferView_pimpl.C:
11972         * BufferView_pimpl.h:
11973         * Makefile.am:
11974         * WorkArea.h:
11975         * WorkArea.C:
11976         * screen.C: move WorkArea into frontends/
11977
11978         * lyxscreen.h:
11979         * screen.C:
11980         * text.C:
11981         * BufferView.C:
11982         * BufferView2.C: move LyXScreen into frontends/
11983
11984         * lyxlookup.h:
11985         * lyxlookup.C:
11986         * lyx_gui.C: move lyxlookup into frontends/xforms/
11987
11988 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11989
11990         * BufferView2.C:
11991         * BufferView_pimpl.C:
11992         * FontLoader.C:
11993         * LyXView.h:
11994         * LyXView.C:
11995         * Makefile.am:
11996         * WorkArea.C:
11997         * XFormsView.h:
11998         * XFormsView.C:
11999         * buffer.C:
12000         * bufferlist.C:
12001         * bufferview_funcs.C:
12002         * converter.C:
12003         * importer.C:
12004         * lyx_cb.C:
12005         * lyx_gui.C:
12006         * lyx_main.C:
12007         * lyx_find.C:
12008         * lyxfunc.C:
12009         * lyxvc.C:
12010         * minibuffer.C:
12011         * text.C:
12012         * text2.C:
12013         * trans.C:
12014         * vc-backend.C: move LyX/XFormsView into frontends/
12015
12016 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12017
12018         * Makefile.am:
12019         * PainterBase.C:
12020         * PainterBase.h:
12021         * Painter.C:
12022         * Painter.h:
12023         * WorkArea.C:
12024         * WorkArea.h:
12025         * screen.C:
12026         * tabular.C:
12027         * text.C:
12028         * text2.C: move Painter to frontends/
12029
12030 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12031
12032         * buffer.C: comment out some some code that depend upon lyx_format
12033         < 220
12034
12035         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12036         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12037
12038         * buffer.h (NO_COMPABILITY): turn off compability
12039
12040         * ColorHandler.C: include scoped_array.hpp
12041
12042         * font.C: Use more specific smart_ptr header.
12043         * Painter.C: ditto
12044         * gettext.C: ditto
12045         * ShareContainer.h: ditto
12046         * lyx_main.h: ditto
12047         * kbmap.h: ditto
12048         * FontInfo.h: ditto
12049         * BufferView_pimpl.h: ditto
12050         * ColorHandler.h: ditto
12051
12052         * kbmap.C (defkey): change call to shared_ptr::reset
12053
12054 2002-05-21  Juergen Vigna  <jug@sad.it>
12055
12056         * buffer.C (insertErtContents): fix to insert ert asis if it is
12057         non empty. Skip it completely if it contains only whitespaces.
12058
12059 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12060
12061         * BufferView_pimpl.C:
12062         * BufferView2.C: clear selection on paste (bug 393)
12063
12064 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12065
12066         * DepTable.C: include ctime
12067
12068 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12069
12070         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12071
12072 2002-05-14  Juergen Vigna  <jug@sad.it>
12073
12074         * text.C (breakParagraph): fixed function to honor the keepempty
12075         layout in the right maner and also to permit the right breaking
12076         algorithm on empty or non empyt keepempty paragraphs.
12077
12078         * paragraph.C (breakParagraph): we have to check also if the par
12079         is really empty (!size()) for isempty otherwise we do the wrong
12080         paragraph break.
12081
12082 2002-05-10  Juergen Vigna  <jug@sad.it>
12083
12084         * buffer.[Ch] : The following are only changes to the ert
12085         compatibility read reading old LaTeX layout and font stuff and
12086         convert it to ERTInsets.
12087
12088         * buffer.h: added isErtInset().
12089
12090         * buffer.C (struct ErtComp): add a fromlayout bool to check
12091         if we're inside a LaTeX layout.
12092         (isErtInset): new helper function.
12093         (insertErtContents): look for other ert insets before this one
12094         and insert the contents there, so that we don't have subsequent
12095         ERT insets with nothing between them. This way we create only one
12096         inset with multiple paragraphs. Also check if we don't insert only
12097         spaces ' ' as they are ignored anyway afterwards in the .tex file
12098         so if we have only spaces we will ignore this latex part in the
12099         new file.
12100         (parseSingleLyXformat2Token \\layout): better compatibility when
12101         reading layout-latex stuff.
12102         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12103         language tag.
12104         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12105         stuff after reading the inset only get the information back from
12106         the stack.
12107
12108 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12109
12110         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12111
12112         * LaTeXFeatures.C (getBabelOptions): New method.
12113
12114 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12115
12116         * BufferView_pimpl.C (Dispatch): work around missing argument for
12117         'layout'
12118
12119 2002-05-08  Juergen Vigna  <jug@sad.it>
12120
12121         * text.C (leftMargin): handle paragraph leftindent.
12122
12123         * paragraph.C (writeFile): write the new \\leftindent tag.
12124         (validate): handle leftindent code.
12125         (TeXEnvironment): handle paragraphleftindent code again.
12126
12127         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12128
12129         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12130         for paragrap_extra indent code and new token \\leftindent.
12131         (latexParagraphs): handle the leftindent as environment.
12132
12133         * ParameterStruct.h: added leftindent support.
12134
12135         * ParagraphParameters.C (leftIndent): added support functions for
12136         the paragraph left indent.
12137
12138         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12139         more appropriate.
12140
12141 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12142
12143         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12144         inside insetERT.
12145
12146         * text.C (computeBidiTables): No bidi in insetERT.
12147
12148         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12149         in RTL documents.
12150
12151 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12152
12153         * version.C.in: pre 5
12154
12155 2002-05-02  José Matos  <jamatos@fep.up.pt>
12156         * buffer.C (makeDocBookFile): white space changes, add newline to
12157         command styles.
12158         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12159
12160         * tabular.C (docBook): fix typo.
12161
12162 2002-05-03  Juergen Vigna  <jug@sad.it>
12163
12164         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12165         change in LyXText as we can not be sure it was not freed.
12166         (drawOneRow): remove unused code.
12167
12168         * text.C (drawInset): redo the calculation of the need_break_row as
12169         it could have a row which was already freed.
12170         (draw): look at the return value of drawInset and return false if
12171         it also returned false.
12172         (paintRowText): look at the return value of draw and return false if
12173         it also returned false.
12174
12175         * lyxtext.h: added bool return type to drawInset() and draw() so that
12176         if we have a change in the row so that the rowbreak has to be redone
12177         we abort drawing as it will be called again.
12178
12179 2002-05-02  Juergen Vigna  <jug@sad.it>
12180
12181         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12182         a change in the maintext also if we're inside an inset.
12183         (Dispatch): set the cursor again after a break line and after the
12184         screen has been updated as it could be we're in a different row.
12185
12186         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12187         to set the cursor behind the pargraph with > size().
12188         (setCursor): check also for the same paragraph when checking where
12189         to put the cursor if we have a NFR inset.
12190
12191         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12192         parts of layout read further up as it still was in the wrong
12193         position.
12194
12195 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12196
12197         * screen.C (drawFromTo): change sine fullRebreak always return
12198         true.
12199
12200         * buffer.C (parseSingleLyXformat2Token): reindent some
12201
12202         * BufferView_pimpl.C (update): change since fullRebreak always
12203         return true.
12204         (Dispatch): git rid of the last hardcoded "Standard"s.
12205
12206 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12207
12208         * text2.[Ch] (fullRebreak): make it return void now that we always
12209         returned true.
12210
12211 2002-04-30  Juergen Vigna  <jug@sad.it>
12212
12213         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12214         ert compatibility check for "latex" layout.
12215
12216 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12217
12218         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12219         minipages: use col% instead of p%, and also use the current font.
12220         (makeLaTeXFile): Fix use babel condition.
12221         (parseSingleLyXformat2Token): Correct font when reading old floats.
12222
12223 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12224
12225         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12226         inserting list of floats.
12227
12228 2002-04-25  Herbert Voss  <voss@lyx.org>
12229
12230         * MenuBackend.C (expand): don't add the graphics extensions to the
12231         export menu
12232
12233 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12234
12235         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12236         non-existing layout, do not complain if it was the default layout
12237         of the original class (bug #342)
12238
12239 2002-04-24  Juergen Vigna  <jug@sad.it>
12240
12241         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12242         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12243
12244 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12245
12246         * buffer.C (getBibkeyList): If using \bibliography, return the
12247         option field with the reference itself. Enables us to provide natbib
12248         support when using \bibliography.
12249
12250 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12251
12252         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12253
12254         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12255         natbib is provided by the LaTeX class.
12256
12257 2002-04-23  Juergen Vigna  <jug@sad.it>
12258
12259         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12260         Wakeup functions.
12261
12262         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12263
12264 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12265
12266         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12267
12268         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12269         ensuremath around textordmasculine, textordfeminine and
12270         textdegree.
12271
12272 2002-04-19  Juergen Vigna  <jug@sad.it>
12273
12274         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12275         reinitializing the buffer otherwise row-dimensions may be wrong.
12276         (update): reset also the selection cursors if they do exits otherwise
12277         their x/y positions may be wrong.
12278
12279         * text2.C (cursorDown): don't enter the inset if we came from a row
12280         above and are one row over the inset.
12281
12282         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12283         really leaving an inset.
12284
12285 2002-04-18  Juergen Vigna  <jug@sad.it>
12286
12287         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12288         of the selected paragraph does not have the selected layout also if
12289         the last one had!
12290
12291         * text2.C (setLayout): fixed bug which did not change last selected
12292         paragraph.
12293
12294         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12295         changed the read and substituted \\end_float with \\end_inset!
12296
12297         * BufferView_pimpl.C (cursorPrevious):
12298         (cursorNext): fixed to make it work with rows heigher than the work
12299         area without moving the cursor only the draw of the row.
12300         (workAreaMotionNotify): fix jumping over high rows.
12301
12302 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12303
12304         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12305         Ressler.
12306
12307 2002-04-16  Juergen Vigna  <jug@sad.it>
12308
12309         * text2.C (setCursor): set also the irow().
12310         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12311         (cursorUp):
12312         (cursorDown): support for locking an inset if the x_fix value goes
12313         inside it. That way I can transverse insets too with cursor up/down.
12314
12315         * lyxrow.h: added irow helper function same as other (i) functions.
12316
12317         * BufferView_pimpl.C (cursorPrevious):
12318         (cursorNext): fixed for insets!
12319
12320 2002-04-15  Juergen Vigna  <jug@sad.it>
12321
12322         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12323         position otherwise it is wrong in some cases.
12324
12325         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12326         inside the inset before the call.
12327
12328 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12329
12330         * buffer.[Ch] (getBibkeyList): make it const.
12331
12332 2002-04-12  Juergen Vigna  <jug@sad.it>
12333
12334         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12335
12336         * text2.C (getCursorX): new helper function
12337         (setCursor): compute also ix_
12338         (setCursorFromCoordinates): set also ix.
12339
12340         * lyxcursor.h: added ix_ and helper functions.
12341
12342         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12343
12344         * buffer.C (insertStringAsLines): dont break paragraph if the this
12345         paragraph is inside an inset which does not permit it!
12346
12347         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12348         also with no chars on this paragraph.
12349         (paintRowText): only paint stuff if it's inside the workarea!
12350
12351         * paragraph.C (breakParagraph): honor keepempty flag and break the
12352         paragraph always below not above.
12353
12354         * BufferView2.C (unlockInset): update the paragraph layout on inset
12355         unlock as we changed paragraph in such a case.
12356
12357         * lyxfind.C (LyXFind): clear the former selection if not found!
12358
12359         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12360         again called in insertChar().
12361
12362         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12363         an inset which uses the whole row!
12364         (rightMargin): ditto.
12365         (insertChar): force a rebreak if we inserted an inset!
12366
12367 2002-03-28  Herbert Voss  <voss@lyx.org>
12368
12369         * lyxlength.[Ch]: add inBP() to get the right PS-point
12370         units (BigPoint). With inPixels we have rounding errors
12371
12372 2002-04-11  Juergen Vigna  <jug@sad.it>
12373
12374         * text2.C (setCursorFromCoordinates): set iy to the right value.
12375         (setCursor): add check if row->previous exists!
12376
12377         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12378         an old float_type as this was the case in the old code!
12379
12380         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12381
12382         * BufferView2.C (showLockedInsetCursor): use iy
12383         (fitLockedInsetCursor): ditto
12384
12385         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12386         locked insets as there we have the right value now.
12387
12388         * lyxcursor.C: added iy_ variable and iy functions to set to the
12389         baseline of cursor-y of the locked inset.
12390
12391         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12392         (setCursor): fixed for insets which need a full row.
12393
12394         * text.C (rowLastPrintable): don't ignore the last space when before
12395         an inset which needs a full row.
12396         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12397         as last character of a row when before a inset which needs a full row.
12398
12399 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12400
12401         * version.C.in: update date
12402
12403         * text2.C (fullRebreak): try to always return true and see what
12404         happens...
12405
12406 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12407
12408         * MenuBackend.C (expand): use Floating::listName
12409
12410         * FloatList.C (FloatList): add listName argument to the built-in
12411         floats
12412
12413         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12414         text associated with the float.
12415
12416 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12417
12418         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12419
12420 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12421
12422         * ShareContainer.h: add a couple of missing typenames.
12423
12424 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12425
12426         * lyxrc.C (getDescription): use _() correctly rather than N_().
12427
12428 2002-03-28  Herbert Voss  <voss@lyx.org>
12429
12430         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12431         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12432
12433 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12434
12435         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12436         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12437
12438 2002-03-29  Juergen Vigna  <jug@sad.it>
12439
12440         * lyxfunc.C (dispatch): add a missing fitCursor call.
12441
12442         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12443         it was scrolled by a cursor move, so return the bool status.
12444
12445         * BufferView.C (fitCursor): return the bool flag also to the outside
12446         world as this is needed.
12447
12448         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12449
12450         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12451         call the edit() as it is not needed (and wrong) IMO.
12452         (workAreaButtonPress): set the screen_first variable before evt.
12453         unlock the inset as this may change screen_first and then we have
12454         a wrong y position for the click!
12455
12456 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12457
12458         * MenuBackend.C (expand): another translation that I missed
12459
12460 2002-03-28  Juergen Vigna  <jug@sad.it>
12461
12462         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12463
12464         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12465
12466 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12467
12468         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12469
12470         * MenuBackend.C (expand): fix export/view/update when there is no
12471         document open.
12472
12473 2002-03-27  Herbert Voss  <voss@lyx.org>
12474
12475         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12476         and text%
12477
12478 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12479
12480         * bufferview_funcs.C (currentState): only show paragraph number
12481         for is DEVEL_VERSION is set.
12482
12483         * lyxfunc.C (dispatch): put warning in INFO channel
12484
12485         * MenuBackend.C (expand): translate the name of floats
12486
12487         * FloatList.C (FloatList): mark the float names for translation
12488
12489         * converter.C (convert): use LibScriptSearch
12490
12491 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12492
12493         * MenuBackend.C (defaults): fix default menu (we might as well get
12494         rid of it...)
12495
12496 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12497
12498         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12499         directory.
12500
12501 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12502
12503         * lyxvc.C: reorder includes.
12504
12505 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12506
12507         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12508           properly
12509
12510 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12511
12512         * CutAndPaste.C: change layouts earlier on paste
12513           to avoid crashing when calling getFont()
12514
12515 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12516
12517         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12518         irritating #error.
12519
12520 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12521
12522         * WorkArea.C: remove 'Pending' debug message.
12523
12524         * most files: ws cleanup
12525
12526         * buffer.[Ch]: ws changes
12527
12528         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12529
12530 2002-03-21  Juergen Vigna  <jug@sad.it>
12531
12532         * tabular.C (SetMultiColumn): collapse also the contents of the
12533         cells and set the last border right. Added a Buffer const * param.
12534
12535 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12536
12537         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12538         linking or not.
12539
12540 2002-03-19  Juergen Vigna  <jug@sad.it>
12541
12542         * text2.C (clearSelection): reset also xsel_cache.
12543
12544         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12545         where it needs to be called (John tells us to do so too :)
12546         (selectionLost): reset sel_cache.
12547
12548         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12549
12550 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12551
12552         * text2.C (setCursorIntern): put debuging code in INSETS channel
12553
12554 2002-03-19  André Pönitz <poenitz@gmx.net>
12555
12556         * lyxfunc.C: tiny whitespace change
12557
12558 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12559
12560         * ToolbarDefaults.C (init):
12561         * LyXAction.C (init):
12562         * commandtags.h:
12563         * BufferView_pimpl.C (Dispatch):
12564         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12565
12566 2002-03-19  Allan Rae  <rae@lyx.org>
12567
12568         * exporter.C (Export): removeAutoInsets before doing anything else.
12569         While I've just introduced a dependency on BufferView this really is
12570         the best place to clean the buffer otherwise you need to cleanup in
12571         a dozen places before calling export or cleanup in a dozen functions
12572         that export calls.
12573
12574         * converter.C (runLaTeX):
12575         (scanLog): Better handling of removeAutoInsets and screen updates.
12576
12577         * lyxfunc.C (dispatch): small whitespace changes
12578
12579 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12580
12581         * WorkArea.C (C_WorkAreaEvent): return a value.
12582         (event_cb): return 1 if we handled the event, 0 otherwise.
12583
12584         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12585
12586 2002-03-18  Juergen Vigna  <jug@sad.it>
12587
12588         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12589         (GetAdditionalWidth): ditto.
12590         (RightLine): ditto.
12591         (LeftLine): ditto.
12592
12593         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12594         inset if we're there actually (probably not used right now but this
12595         is the direction to go for unifying code).
12596         (paste): disable code to clear the selection.
12597
12598         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12599         inside an InsetText and move the check further up as it is in the
12600         wrong place.
12601
12602         * text2.C (pasteSelection): set a selection over the pasted text.
12603
12604 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12605
12606         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12607         and libgraphics to build on Cygwin.
12608
12609 2002-03-15  Juergen Vigna  <jug@sad.it>
12610
12611         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12612         inserting an Inset into the paragraph. I know this is not the best
12613         fix but we already use current_view in CutAndPaste so we will remove
12614         all of it's using at the same time.
12615
12616         * buffer.C (sgmlError): deactivated function till it is rewritten in
12617         the right mode, now it can create problems.
12618
12619         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12620         before accessing it.
12621
12622 2002-03-14  Juergen Vigna  <jug@sad.it>
12623
12624         * undo_funcs.C (textHandleUndo): do the right thing when updating
12625         the inset after the undo/redo.
12626
12627         * text2.C (setCursor): just some testcode for #44 not ready yet.
12628
12629         * undo_funcs.C (textHandleUndo): set the next() and previous()
12630         pointers of the paragraph to 0 before deleting otherwise we have
12631         problems with the Paragraph::[destructor].
12632
12633         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12634         on a paragraph insertion.
12635
12636 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12637
12638         * buffer.C (asciiParagraph): use += operator for char append to
12639         string.
12640
12641         * paragraph.C (getFontSettings): compare >= not just >
12642         (highestFontInRange): ditto
12643         (setFont): ditto
12644
12645 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12646
12647         * paragraph.C: change several algorithm to be more appripriate for
12648         the problem domain. This is lookip in FontList and in the InsetList.
12649
12650 2002-03-13  André Pönitz <poenitz@gmx.net>
12651
12652         * commandtags.h:
12653         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12654
12655 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12656
12657         * commandtags.h:
12658         * LyXAction.C:
12659         * lyxfunc.C:
12660         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12661
12662 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12663
12664         * Painter.C (display): anon helper function, adjust code for this
12665         change.
12666         (pixmap): remove function.
12667
12668         * Painter.h: remove private display variable.
12669
12670         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12671
12672 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12673
12674         * WorkArea.[Ch]: remove figinset_canvas cruft.
12675
12676 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12677
12678         * lyxtextclass.C (operator): add one item cache optimization.
12679
12680         * bufferlist.h: doxy changes
12681
12682         * bufferlist.C: ws changes
12683
12684         * DepTable.[Ch] (ext_exist): place const in the right spot.
12685
12686         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12687         call resizeInsets.
12688         (workAreaExpose): call resizeInsets when the with BufferView changes.
12689         (Dispatch): adjust for protectedBlank removal
12690         (specialChar): call updateInset if the insert went ok.
12691
12692         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12693         specialChar instead.
12694
12695         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12696
12697         * BufferView.h: doxy change
12698
12699         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12700
12701         * lyxtextclass.C (operator[]): remove non-const version
12702         (defaultLayout): remove non-const version
12703
12704 2002-03-12  Juergen Vigna  <jug@sad.it>
12705
12706         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12707         did resize the LyXText too.
12708
12709         * buffer.C (readLyXformat2): set layout information on newly allocated
12710         paragraphs.
12711
12712         * tabular.C (OldFormatRead): set layout information on the paragraph.
12713
12714 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12715
12716         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12717
12718 2002-03-11  Juergen Vigna  <jug@sad.it>
12719
12720         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12721         plainly wrong.
12722         (resizeCurrentBuffer): force also the insets to resize themselfes.
12723         (moveCursorUpdate): fixed up for InsetText.
12724
12725 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12726
12727         * commandtags.h:
12728         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12729         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12730         value of Dialogs::tooltipsEnabled().
12731         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12732
12733 2002-03-08  Juergen Vigna  <jug@sad.it>
12734
12735         * BufferView_pimpl.C (updateInset): update inset inside inset also
12736         if it isn't inside theLockingInset().
12737
12738 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12739
12740         * buffer.C (asciiParagraph): redo some of the word and line length
12741         handling.
12742         (getLists): look for Caption instead of caption.
12743
12744 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12745
12746         * buffer.C (Buffer): initialize niceFile to true
12747         (makeLaTeXFile):
12748         (makeLinuxDocFile):
12749         (makeDocBookFile): make sure niceFile is true on exit
12750
12751 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12752
12753         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12754
12755 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12756
12757         * LyXSendto.C: remove.
12758         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12759         * lyx_gui.C: remove now-redundant comment.
12760         * ColorHandler.h: remove forward declaration of class WorkArea.
12761         * lyxfunc.C: remove #include "WorkArea.h".
12762
12763 2002-03-07  Juergen Vigna  <jug@sad.it>
12764
12765         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12766         got moved away with the DEPM and also set the inset_owner always
12767         right which before could have been omitted.
12768
12769 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12770
12771         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12772         wanted layout is not found.
12773
12774 2002-03-07  Juergen Vigna  <jug@sad.it>
12775
12776         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12777
12778 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12779
12780         * paragraph.C (breakParagraph): use default layout not layout of
12781         prev paragraph.
12782         (Paragraph): clear ParagraphParameters.
12783
12784 2002-03-06  Juergen Vigna  <jug@sad.it>
12785
12786         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12787         otherwise it would not be a valid lenght. Fixed a special case in
12788         the minipage compatibility read where we end the document with a
12789         minipage.
12790
12791         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12792         was set as it could be 0 for InsetTexts first entry.
12793
12794 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12795
12796         * paragraph.C (writeFile): if layout is empty write out
12797         defaultLayoutName().
12798
12799         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12800         file without named layout we set layout to defaultLayoutName().
12801
12802 2002-03-06  Juergen Vigna  <jug@sad.it>
12803
12804         * CutAndPaste.C (copySelection): set layout for new paragraph.
12805
12806         * text.C (prepareToPrint): leave ERT inset left aligned
12807         (leftMargin): don't indent paragraphs inside ERT insets
12808
12809 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12810
12811         * paragraph.C (breakParagraph): dont call clear do the work manually
12812
12813         * paragraph.[Ch] (clear): remove function
12814
12815 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12816
12817         * paragraph.C (Paragraph): dont call clear, the work has already
12818         been done.
12819
12820         * lyxtextclass.C (operator): assert if n is empty
12821
12822         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12823         work manually instead.
12824
12825 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12826
12827         * BufferView_pimpl.C: protect selectionLost against text == 0
12828
12829 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12830
12831         * text.C (breakParagraph): fix a setting layout to '0' problem.
12832
12833 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12834
12835         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12836         final location of file, for the included files, and graphics.
12837
12838 2002-03-05  Juergen Vigna  <jug@sad.it>
12839
12840         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12841
12842 2002-03-04  Juergen Vigna  <jug@sad.it>
12843
12844         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12845
12846         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12847         last column of multicolumn cells.
12848         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12849
12850 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12851
12852         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12853         file if it doesn't go to a temporary file.
12854
12855         * buffer.C (sgmlOpenTag):
12856         (sgmlCloseTag):  remove extra newline insertion.
12857
12858 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12859
12860         * text.C (getRowNearY): comment out debug msg
12861
12862 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12863
12864         * text2.C: first -> first_y
12865
12866         * text.C (getRowNearY): add some attemts at a possible
12867         optimization, not working.
12868
12869         * tabular.[Ch]: add BufferParams to several function so that newly
12870         created paragraph can be initialized to he default layotu for the
12871         buffers textclass.
12872
12873         * tabular-old.C (ReadOld): add buf->params to call of Init
12874
12875         * screen.C: rename text->first to text->first_y
12876
12877         * paragraph.C (breakParagraph): always set layout in the broken
12878         paragraph
12879
12880         * lyxtextclass.C (Read): remove lowercase
12881         (hasLayout): ditto
12882         (operator): ditto
12883         (delete_layout): ditto
12884
12885         * lyxtext.h: rename first -> first_y
12886
12887         * lyxlayout.C (Read): remove lowercase
12888         (name): ditto
12889         (setName): ditto
12890         (obsoleted_by): ditto
12891
12892         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12893
12894         * buffer.C (insertErtContents): add params are to InsetERT
12895         (parseSingleLyXformat2Token): add code to check if a paragraphs
12896         layout really exist.
12897         (parseSingleLyXformat2Token): add params to several inset
12898         constructors
12899         (asciiParagraph): remove lowercase, do the layout comparisons with
12900         no_case
12901
12902         * BufferView_pimpl.C (cursorNext): first -> first_y
12903         (resizeCurrentBuffer): first -> first_y
12904         (updateScrollbar): first -> first_y
12905         (scrollCB): first -> first_y
12906         (workAreaMotionNotify): first -> first_y
12907         (workAreaButtonPress): first -> first_y
12908         (checkInsetHit): first -> first_y
12909         (cursorPrevious): first -> first_y
12910         (cursorNext): first -> first_y
12911         (Dispatch): add buffer_->params to severl inset contructors
12912
12913 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12914
12915         * lyxlayout.C (Read): remove some debug info that I forgot.
12916
12917         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12918         clean up the code slightly.
12919         (makeLinuxDocFile): ditto
12920         (makeDocBookFile): ditto
12921
12922         * text2.C: layout as string
12923
12924         * text.C: layout as string
12925
12926         * paragraph_pimpl.C: layout as string
12927
12928         * paragraph.[Ch]: layout as string
12929
12930         * lyxtextclasslist.[Ch]: layout as string
12931
12932         * lyxtextclass.[Ch]: layout as string
12933
12934         * lyxtext.h: layout as string
12935
12936         * lyxlayout.[Ch]: layout as string
12937
12938         * lyx_cb.C: layout as string
12939
12940         * bufferview_funcs.C: layout as string
12941
12942         * bufferparams.C: layout as string
12943
12944         * buffer.C: layout as string
12945
12946         * LyXView.[Ch]: layout as string
12947
12948         * LaTeXFeatures.[Ch]: layout as string
12949
12950         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12951
12952         * BufferView_pimpl.C: change current_layout to string, remove
12953         lyx::layout_type.
12954         (Dispatch):
12955         (smartQuote):
12956         (insertInset):
12957         (workAreaButtonRelease): layout as string
12958
12959         * BufferView2.C (unlockInset): adjust
12960
12961         * vspace.C (asLatexCommand): use an explict temp variable.
12962
12963 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12964
12965         * Makefile.am: use FRONTEND_*
12966
12967 2002-03-01  Juergen Vigna  <jug@sad.it>
12968
12969         * tabular.C (SetWidthOfMulticolCell): changed to something better
12970         I hope but still work in progress.
12971         (recalculateMulticolumnsOfColumn): renamed function from
12972         recalculateMulticolCells as it is more appropriate now.
12973         (SetWidthOfCell): calculate multicols better.
12974
12975 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12976
12977         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12978
12979         * lyxfunc.C (processKeySym): print sequence also if it is
12980         `deleted' (complete)
12981
12982         * kbsequence.C (print): print sequence even if it is deleted
12983         (complete would be a better word, actually).
12984
12985         * lyxfunc.C (dispatch): print complete options after a prefix key
12986
12987         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12988
12989 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12990
12991         * text2.C (setCharFont): eliminate setCharFont code duplication.
12992
12993 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12994
12995         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12996         LFUN_TABULAR_FEATURE (bug #177)
12997
12998 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12999
13000         * Makefile.am: remove figure.h
13001
13002 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13003
13004         * Bufferview_pimpl.C:
13005         * CutAndPasteC:
13006         * LaTeX.C:
13007         * LyXSendto.C:
13008         * buffer.C:
13009         * bufferlist.C:
13010         * converter.C:
13011         * language.C:
13012         * lyxfunc.C:
13013         * lyxvc.C:
13014         * paragraph.C:
13015         * text.C:
13016         * text2.C: remove #include "lyx_gui_misc.h".
13017
13018         * LaTeX.C: added #include <cstdio>
13019
13020 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13021
13022         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13023         that the paragraph following this one can have.
13024
13025         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13026
13027         * vspace.C (asLatexCommand): fix bogus gcc warning
13028
13029         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13030
13031 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13032
13033         * text2.C (setLayout): get rid of redundant code
13034
13035 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13036
13037         * text2.C (incDepth): make sure depth cannot be increased beyond
13038         reasonable values.
13039
13040 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13041
13042         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13043         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13044
13045         * PainterBase.h (image):
13046         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13047         a LyXImage const *.
13048
13049 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13050
13051         * BufferView.C:
13052         * BufferView.h:
13053         * BufferView_pimpl.C:
13054         * BufferView_pimpl.h:
13055         * LaTeXFeatures.C:
13056         * LyXAction.C:
13057         * LyXView.C:
13058         * Makefile.am:
13059         * UpdateList.h:
13060         * UpdateList.C:
13061         * buffer.C:
13062         * figure.h:
13063         * figureForm.C:
13064         * figureForm.h:
13065         * figure_form.C:
13066         * figure_form.h:
13067         * lyx_cb.C:
13068         * lyx_gui.C:
13069         * lyx_gui_misc.C:
13070         * lyxfunc.C:
13071         * sp_base.h:
13072         * sp_ispell.h:
13073         * sp_pspell.h:
13074         * sp_spell.C: remove fig inset, and the crap house of
13075           cards that follows it
13076
13077 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13078
13079         * Makefile.am:
13080         * lyxserver.C:
13081         * os2_defines.h:
13082         * os2_errortable.h:
13083         * nt_defines.h: move .h into support/
13084
13085         * vms_defines.h: remove
13086
13087         * WorkArea.C: add space in debug output
13088
13089         * text2.C:
13090         * paragraph.C:
13091         * buffer.C: add WITH_WARNINGS
13092
13093         * vc-backend.h:
13094         * vc-backend.C:
13095         * bufferlist.C: s/retrive/retrieve/, add docs
13096
13097         * vspace.h:
13098         * vspace.C:
13099         * kbmap.h:
13100         * lyxlength.h:
13101         * lyxgluelength.h:
13102         * length_common.h:
13103         * chset.h:
13104         * chset.C: add docs
13105
13106         * lyxgui.C: add ID to X error handler
13107
13108         * lyxtestclass.c: fix typo
13109
13110 2002-02-26  Juergen Vigna  <jug@sad.it>
13111
13112         * tabular_funcs.C (write_attribute): changed so that some default
13113         attributes are not written at all.
13114         (getTokenValue): set default values before trying to read the
13115         value so we have the return value always set as default if we don't
13116         find the token we search for.
13117
13118         * tabular.C (Write): write bools as bools not as strings!
13119
13120 2002-02-22  Juergen Vigna  <jug@sad.it>
13121
13122         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13123         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13124
13125         * text.C (leftMargin): don't add an indent for paragraphs inside
13126         tabular cells (fix #208).
13127
13128 2002-02-21  José Matos  <jamatos@fep.up.pt>
13129
13130         * tabular.C (docBook): fixed support for long tables.
13131
13132 2002-02-20  Juergen Vigna  <jug@sad.it>
13133
13134         * text2.C (getFont): get the drawing font of the Inset if this
13135         paragraph is inside an inset (only important for InsetERT for now).
13136
13137         * buffer.C (insertErtContents): use new lanugage params in ERT
13138         constructor.
13139
13140         * CutAndPaste.C: commenting out seemingly uneeded code.
13141
13142 2002-02-19  Allan Rae  <rae@lyx.org>
13143
13144         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13145         Iterators might be simple to use but they also get invalidated.
13146         (removeAutoInsets): renamed saved cursor tracking variables and added
13147         some comments to clarify what everything does.
13148
13149 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13150
13151         * Chktex.C:
13152         * LaTeX.C:
13153         * LyXSendto.C:
13154         * converter.C:
13155         * lyx_cb.C:
13156         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13157         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13158
13159         * lyxfunc.C:
13160         * vc-backend.h: remove #include "support/syscall.h"
13161
13162         * LaTeX.C:
13163         * LyXSendto.C:
13164         * converter.C: rearrange #includes in Lars' approved fashion.
13165
13166         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13167         forward declare class Timeout in the header file.
13168
13169         * XFormsView.C: changes due to the above.
13170
13171         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13172         similar to LyXView.
13173
13174         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13175         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13176
13177 2002-02-18  José Matos  <jamatos@fep.up.pt>
13178
13179         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13180         insets contents.
13181
13182 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13183
13184         * a lot of small ws changes
13185         * add a lot of using std::XXX
13186         * use std construcs some places where approp.
13187         * use some exisint stuff from lyxfunctional where approp.
13188         * Make file changes to use partial linking (lets test this now...)
13189
13190 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13191
13192         * Chktex.C:
13193         * buffer.C:
13194         remove #include "support/syscontr.h" as it's redundant. Always has been.
13195
13196         * Chktex.C:
13197         * LaTeX.C:
13198         * LyXSendto.C:
13199         * converter.C:
13200         * lyx_cb.C:
13201         * vc-backend.C:
13202         change Systemcalls::System to Systemcalls::Wait and
13203         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13204         No change of functionality, just reflects the stripped down Systemcalls
13205         class.
13206
13207 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13208
13209         * debug.[Ch]: add a GRAPHICS type to the enum.
13210
13211 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13212
13213         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13214
13215         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13216         there is an inset.
13217
13218 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13219
13220         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13221         match the changes below.
13222
13223         * text2.C (toggleInset): if there is not editable inset at cursor
13224         position, try to see if cursor is _inside_ a collapsable inset
13225         and close it.
13226
13227 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13228
13229         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13230         document menu has a nice checkbox
13231
13232 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13233
13234         * lyxlength.C (asLatexString): change PW to output as percent of
13235         \textwidth.
13236
13237         * lengthcommon.C: change '%' to 't%'
13238
13239         * lyxfunc.C (dispatch): a few comments from Martin
13240
13241 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13242
13243         * WorkArea.h:
13244         * WorkArea.C:
13245         * BufferView_pimpl.h:
13246         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13247           the X selection.
13248
13249 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13250
13251         * vspace.C (inPixels): fix compiler warning
13252
13253 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13254
13255         * lyxfunc.C (getStatus): fix status message for disabled commands.
13256
13257 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13258
13259         * BufferView_pimpl.C: fix crash on close buffer
13260         during selection (#227)
13261
13262 2002-01-27  Herbert Voss  <voss@lyx.org>
13263
13264         * buffer.C: link old Figure to new graphic inset
13265
13266 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13267
13268         * FontLoader.C (getFontinfo): Change the latex font names in order
13269         to match the names of type1inst.
13270
13271 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13272
13273         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13274
13275         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13276         (extchanged): ditto
13277         (ext_exist): ditto
13278         (remove_files_with_extension): ditto
13279         (remove_file): ditto
13280         (write): ditto
13281
13282         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13283         document is smaller than the work area height. Do not initialize
13284         static variables to 0.
13285
13286 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13287
13288         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13289
13290         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13291         LFUN_LAYOUT_PARAGRAPHS.
13292
13293         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13294         tabular. It is possible to provide a possible cell, which will
13295         typically be the actcell from the corresponding insettabular
13296
13297         * lyxfunc.C (getStatus): small cleanup; disable
13298         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13299         true
13300
13301 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13302
13303         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13304
13305         * paragraph.C (startTeXParParams):
13306         (endTeXParParams): new methods. The LaTeX code to
13307         start/end paragraph formatting
13308         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13309         empty (fixes bug #200)
13310
13311         * vspace.C (inPixels): adapt to the change below
13312         (inPixels): [later] more cleanups (remove unused variables)
13313
13314         * lyxlength.C (inPixels): change to use a width and a height as
13315         parameter.
13316
13317 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13318
13319         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13320         Replaced with \paperwidth
13321
13322         * DepTable.C (insert): add std:: qualifier
13323
13324 2002-01-18  Allan Rae  <rae@lyx.org>
13325
13326         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13327         updated also?
13328
13329         * text.C (drawInset): Turned out I didn't know enough about how
13330         rebreaking worked.  This fixes most of the redraw problems.  I see
13331         an occasional cursor trail when a line is broken now and the cursor
13332         placement can seem out by a few pixels also after a rebreak.
13333
13334 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13335
13336         * buffer.C (parseSingleLyXformat2Token): update because minipage
13337         width is now a LyXLength
13338
13339         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13340
13341         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13342         math insets
13343
13344 2002-01-17  Juergen Vigna  <jug@sad.it>
13345
13346         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13347
13348         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13349         is set correctly and the inset is updated correctly.
13350
13351 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13352
13353         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13354         the beginning of the loop.
13355
13356 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13357
13358         * lyxrc.C: improve help for use_scalable_fonts
13359
13360 2002-01-17  Allan Rae  <rae@lyx.org>
13361
13362         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13363
13364 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13365
13366         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13367         make sure to set their inset_owner to the right value (bug #171)
13368
13369 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13370
13371         * DepTable.h
13372         * DepTable.C: Implement mtime checking to reduce time spent doing
13373         CRCs.
13374
13375 2002-01-16  Juergen Vigna  <jug@sad.it>
13376
13377         * tabular.C (GetAdditionalHeight): one of error fixed.
13378
13379         * lyxrc.C (output): small fix in writing use_pspell.
13380
13381 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13382
13383         * sp_base.h: #include LString.h
13384
13385 2002-01-16  Allan Rae  <rae@lyx.org>
13386
13387         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13388         Can someone check this please?
13389
13390         * text.C (drawInset): It was possible that p.row would be removed by
13391         breakAgainOneRow upsetting a few other settings.  There may be another
13392         small tweak possible by setting need_break_row = 0 when p.row has been
13393         removed but I don't know enough about the logic here.
13394
13395 2002-01-15  Allan Rae  <rae@lyx.org>
13396
13397         * text.C (insertChar): removed conditional truism.
13398
13399         * BufferView2.C (removeAutoInsets): More tweaks.
13400         cur_par_prev could be a stray pointer.  Check for trailing empty line
13401         in case last line was cur_par and only had an error inset on it.
13402
13403 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13404
13405         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13406         absolute
13407
13408         * vc-backend.C (most methods):
13409         * exporter.C (Export):
13410         * converter.C (convert):
13411         (runLaTeX):
13412         * LyXSendto.C (SendtoApplyCB):
13413         * lyxfunc.C (dispatch):
13414         (menuNew):
13415         (open):
13416         (doImport):
13417         * lyx_cb.C (AutoSave):
13418         (InsertAsciiFile):
13419         * BufferView_pimpl.C (MenuInsertLyXFile):
13420         * buffer.C (runChktex): use Buffer::filePath().
13421
13422         * buffer.h: rename filename to filename_; rename filepath to
13423         filepath_ and make it private
13424         (filePath): new method
13425
13426         * buffer.C (writeFile): use fileName()
13427         (getLatexName):
13428
13429         * lyx_main.C (init): fix starting  of LyX when the binary is a
13430         link from so,ewhere else.
13431
13432         * minibuffer.C: include <cctype> for isprint
13433
13434 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13435
13436         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13437         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13438         name clash with InsetCollapsable's width function.
13439
13440 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13441
13442         * lastfiles.C: include <iterator>
13443
13444 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13445
13446         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13447         std::count.
13448
13449         * buffer.C (makeLaTeXFile): ditto.
13450         Also make loop operation more transparent.
13451
13452 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13453
13454         * ToolbarDefaults.C: remove trailing comma closing namespace.
13455
13456         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13457
13458         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13459         as in WorkArea.
13460
13461         * trans.C (Load): comment out unused variable, allowed.
13462
13463 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13464
13465         * minibuffer.[Ch] (append_char): new method to recieve input from the
13466         drop-down completion browser. If a key was pressed, then recieve this
13467         char and append it to the existing string.
13468         (peek_event): modify the positioning data passed to the completion
13469         browser so that it can be placed above the minibuffer rather than below.
13470 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13471
13472         * LyXAction.C (init): alloe error-next for readonly documents.
13473
13474         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13475         count.
13476
13477 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13478
13479         * bufferlist.C (readFile): create the buffer _after_ checking that
13480         the file exists.
13481
13482         * lyxfunc.C (verboseDispatch): fix handling of arguments
13483
13484         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13485
13486         * lyxrc.C: use string::erase() instead of initializing to "".
13487
13488
13489 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13490
13491         * BufferView_pimpl.h:
13492         * BufferView_pimpl.C:
13493         * WorkArea.h:
13494         * WorkArea.C:
13495         * text2.C: tell X when we have made a selection for copying
13496
13497 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13498
13499         * BufferView_pimpl.C (MenuInsertLyXFile):
13500         * lyxfunc.C (menuNew):
13501         (open):
13502         (doImport): add shortcuts to directory buttons
13503
13504         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13505         open a float)
13506
13507         * lyxfunc.C (setStatusMessage):
13508         (getStatusMessage): new methods
13509         (getStatus):use setStatusMessage instead of setErrorMessage
13510         (dispatch): when function is disabled, set error message here
13511         [instead of in getStatus previously]
13512
13513         * BufferView_pimpl.C (workAreaButtonRelease): update
13514         toolbar/menubar here too.
13515
13516 2002-01-13  Allan Rae  <rae@lyx.org>
13517
13518         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13519         Now seems indestructible.  Remaining task is to audit all other
13520         code affected by deleteEmptyParagraphMechanism.  One small quirk
13521         left is that an empty document with an error in the preamble can
13522         be made to report an error but no error box appears.  I don't know
13523         where it goes.
13524         (removeAutoInsets): Improved comments.
13525
13526 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13527
13528         * Thesaurus.h:
13529         * Thesaurus.C: update for Aiksaurus 0.14
13530
13531 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13532
13533         * text2.C (firstParagraph): removed member function, all uses
13534         replaces with ownerParagraph
13535         (redoParagraphs): here
13536         (updateInset): here
13537         (toggleAppendix): here
13538         * BufferView2.C (insertErrors): here
13539         (setCursorFromRow): here
13540
13541 2002-01-13  Allan Rae  <rae@lyx.org>
13542
13543         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13544         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13545         There is still a way to segfault this although you may have to do this
13546         multiple times: Have an InsetERT with an unknown command in it.
13547         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13548         <down-arrow>, <Enter> again, View->DVI, BANG!
13549
13550         * text2.C (setCursor):
13551         (deleteEmptyParagraphMechanism):
13552         * lyxtext.h (setCursor):
13553         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13554         Making use of the return value may help fix other bugs.
13555
13556 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13557
13558         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13559
13560         * LyXView.C (updateMenubar): call MenuBar::update here
13561         (updateToolbar): but not here
13562         (showState): do not update toolbar/menubar
13563
13564         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13565         should need to care about that.
13566
13567         * lyxfunc.C (verboseDispatch): simplify a bit
13568         (getStatus): have a version which takes a pseudoaction, and
13569         another which requires a (kb_action,string).
13570
13571         * LyXAction.C (retrieveActionArg): make it work also when action
13572         is not a pseudo-action.
13573         (getActionName): simplify a bit
13574         (helpText):
13575
13576 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13577
13578         * lyxfunc.C (verboseDispatch): new families of methods with
13579         several ways to specify a command and a bool to indicate whether
13580         the command name and shortcut should be displayed in minibuffer
13581         (eventually, we could extend that to a finer bitmask like
13582         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13583         (dispatch): the pristine dispatch command which just, well,
13584         dispatchs! Note it still sets its result to minibuffer; I'm not
13585         sure we want that.
13586
13587         * lyxfunc.h: remove setHintMessage
13588
13589         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13590
13591 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13592
13593         * BufferView_pimpl.C (specialChar): delete new inset if we have
13594         not been able to insert it.
13595
13596         * kbmap.C: revert to using int instead of kb_action, since all we
13597         are dealing with is pseudo-actions.
13598
13599         * LyXAction.C (searchActionArg): change to return int instead of
13600         kb_action, since the result is a pseudoaction.
13601
13602 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13603
13604         * buffer.C (insertErtContents): Fix (partially) the font bug.
13605
13606 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13607
13608         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13609         as the other one is broken on my machine!
13610
13611 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13612
13613         * commandtags.h:
13614         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13615
13616 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13617
13618         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13619         reflect their actual use. Provide compatibility code for older lyxrc
13620         files.
13621
13622         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13623         FL_NORMAL_STYLE.
13624         change names of popup font variables in line with the changes to lyxrc.C
13625
13626 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13627
13628         * buffer.C (asciiParagraph): avoid outputing a word twice after
13629         an inset.
13630
13631         * lyxrc.C (getDescription): document that document_path and
13632         template_path can be empty.
13633
13634 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13635
13636         * LaTeXFeatures.C (getMacros):
13637         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13638
13639         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13640
13641         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13642         getPackages.
13643         (getPackages): rename feature "floats" to "float". Use an array to
13644         iterate over 'simple' features (i.e. just a \usepackage). Add
13645         handling of "amsmath" (renamed from "amsstyle").
13646
13647 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13648
13649         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13650         features list.
13651
13652 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13653
13654         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13655         FuncStaus::FuncStatus & FuncStaus::some_method().
13656
13657 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13658
13659         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13660         of the func_satus stuff. Edited and massaged in various ways by
13661         JMarc.
13662
13663         * lyxfunc.C (getStatus): use FuncStatus
13664
13665 2002-01-08  Juergen Vigna  <jug@sad.it>
13666
13667         * text.C (nextBreakPoint): use function Inset::isChar().
13668
13669         * paragraph.C (TeXOnePar): use function
13670         Inset::forceDefaultParagraphs.
13671
13672         * buffer.C (latexParagraphs): use function
13673         Inset::forceDefaultParagraphs.
13674
13675 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13676
13677         * lyx_gui.C (init): set the style of the menu popups to
13678         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13679
13680 2002-01-07  Juergen Vigna  <jug@sad.it>
13681
13682         * text.C (setHeightOfRow): small fix
13683         (prepareToPrint): don't look at alignment if we don't have the place
13684         for doing it.
13685
13686 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13687
13688         * box.C: New file. Move the Box methods and functions out of box.h,
13689         following Lars' suggestion.
13690
13691 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13692
13693         * box.h: #include "support/LOstream.h", needed for inlined function.
13694
13695         * lyxtextclass.C:
13696         * lyxtextclasslist.C: added some using std declarations.
13697
13698 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13699
13700         * box.h: make signed dimensions to allow insets wider than
13701           the screen (bug #162)
13702
13703         * BufferView_pimpl.C: add some insetHit debug
13704
13705 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13706
13707         * vc-backend.C: add FIXME
13708
13709 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13710
13711         * lyxfunc.C (getStatus): enable code for showing math font status
13712         in toolbar/menu.
13713
13714 2002-01-07  Juergen Vigna  <jug@sad.it>
13715
13716         * text.C (nextBreakPoint): removed debug output not needed anymore.
13717
13718 2002-01-06  Juergen Vigna  <jug@sad.it>
13719
13720         * text.C (nextBreakPoint): fixed up this function we had this bug
13721         since ever but now hopefully we break row better.
13722         (insertChar): we have to check if an inset is the next char as it
13723         could now happen that a large inset is causing a break.
13724
13725 2002-01-05  Juergen Vigna  <jug@sad.it>
13726
13727         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13728         if it doesn't like to be drawed.
13729
13730 2002-01-04  Juergen Vigna  <jug@sad.it>
13731
13732         * BufferView2.C (lockInset): forgot to set a cursor.
13733
13734         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13735
13736 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13737
13738         * FormMathsPanel.C:
13739         * FormMathsPanel.h
13740         * MathsSymbols.C:
13741         * form_maths_panel.C:
13742         * form_maths_panel.h:
13743         * form_maths_panel.fd: implemented sub- and super- buttons in math
13744         panel.
13745
13746         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13747         (or ^ space) to be used as in TeX (req'd by André).
13748
13749         * lyxfunc.C: Allow ^ and _ again to be used both as
13750         super/subscript (mathed) and as themselves (in text).
13751
13752 2002-01-03  Allan Rae  <rae@lyx.org>
13753
13754         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13755         "LyX" or the filename of the current buffer if it has one.  This is a
13756         modified form of John Levon's patch.
13757
13758         * XFormsView.C (setWindowTitle): also set icon title.
13759
13760         * LyXView.h (setWindowTitle): signature changed.
13761         * XFormsView.h (setWindowTitle): ditto.
13762
13763 2002-01-02  Juergen Vigna  <jug@sad.it>
13764
13765         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13766
13767 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13768
13769         * screen.C (topCursorVisible): introduce a temp var for
13770         text->cursor.row(), handle the case where this row is null. (kindo
13771         hachish)
13772
13773         * text2.C (setCursor): add a couple of asserts.
13774
13775         * paragraph.h (inset_iterator): add -> operator
13776
13777         * paragraph.[Ch] (autoDeleteInsets): remove member function
13778
13779         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13780         cursor pos correctly and handle inset deletion by itself.
13781         (insertErrors): move iterator declaration out of for expression
13782
13783         * lyxtextclass.C: add <algorithm>
13784
13785         * Makefile.am: added the new files to sources, removed layout.C
13786
13787         * layout.C: removed file
13788
13789         * layout.h: remove LYX_DUMMY_LAYOUT
13790
13791         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13792         layout.
13793
13794         * lyxlayout.[Ch]:
13795         * lyxtextclass.[Ch]:
13796         * lyxtextclasslist.[Ch]: new files
13797
13798         * include order changes to a lot of files, also changes because of
13799         the six new files.
13800
13801 2001-12-27  Juergen Vigna  <jug@sad.it>
13802
13803         * buffer.C (asciiParagraph): more fixes.
13804
13805         * tabular.C (ascii): make ascii export support export of only the
13806         data separated by a column-delimiter.
13807         (ascii): better support for ascii export.
13808
13809         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13810
13811 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13812
13813         * tabular_funcs.C: use a "using std::getline" instead of the
13814         previous fix from Angus (necessary for cxx + lyxstring)
13815
13816 2001-12-24  Juergen Vigna  <jug@sad.it>
13817
13818         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13819
13820         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13821         problems. First check a minipage also if we have some ert-contents
13822         (not only on par->size(), second set the right depth of the paragraph
13823         on the relink to the root-paragraph-list!
13824
13825         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13826         which then did not anymore update the main paragraphs on undo/redo!
13827
13828 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13829
13830         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13831         code. Support all font-changing funcs (even those which are not in
13832         menu currently). Support for reporting font settings in
13833         mathed (disabled until Andre provides a function on mathed's side).
13834
13835         * func_status.h (toggle): small helper function to set toggle
13836         state on a flag.
13837
13838 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13839
13840         * tabular_funcs.C: getline -> std::getline
13841
13842 2001-12-21  Juergen Vigna  <jug@sad.it>
13843
13844         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13845         accessed and could be 0 (I couldn't generate this but it seems
13846         Michael could!).
13847
13848 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13849
13850         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13851         * tabular_funcs.h: here and include iosfwd
13852
13853 2001-12-20  Juergen Vigna  <jug@sad.it>
13854
13855         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13856         inside inset but undo_par was.
13857
13858 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13859
13860         * Thesaurus.C: always include <config.h> in sources.
13861
13862         * Painter.h:
13863         * lyxlookup.h:
13864         * box.h: do not include <config.h> in header files
13865
13866         * text.C (paintLastRow): remove unused variable
13867
13868         * text.C (transformChar):
13869         (insertChar):
13870         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13871
13872         * Painter.C (text):
13873         * font.C (width): rewrite to use uppercase() instead of
13874         islower/toupper.
13875
13876         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13877
13878 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13879
13880         * lyxfind.C: clean up of find failure position change
13881
13882 2001-12-20  Juergen Vigna  <jug@sad.it>
13883
13884         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13885
13886         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13887         (TeXRow): added to LaTeX a single tabular row.
13888         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13889         (Latex): simplified and finally good LT-h/f support.
13890         (various_functions): just small adaptions for LT-h/f support.
13891
13892         * tabular_funcs.[hC]: added and moved here all not classfunctions
13893         of LyXTabular.
13894
13895 2001-12-19  Juergen Vigna  <jug@sad.it>
13896
13897         * tabular.[Ch]: better support for longtabular options (not finished
13898         yet!)
13899
13900 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13901
13902         * text.C (paintLastRow): use the label font instead of the font of
13903         the last character to compute the size of *_BOX. This makes more
13904         sense and avoids a crash with empty paragraphs.
13905         Use Painter::rectangle to draw EMPTY_BOX.
13906
13907 2001-12-19  Juergen Vigna  <jug@sad.it>
13908
13909         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13910         the paragraphs if the replaced paragraph is not the first one!
13911         Tried to delete not used paragraphs but does not work yet so for
13912         now it's inside #ifdef's and by default off!
13913
13914 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13915
13916         * MenuBackend.C: include "lyx_main.h" instead of declaring
13917         lastfiles (actually was declared as LastFiles* instead of a
13918         scoped_ptr).
13919
13920 2001-12-17  Juergen Vigna  <jug@sad.it>
13921
13922         * tabular.C (AppendColumn): applied John's fix
13923
13924 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13925
13926         * BufferView.h:
13927         * BufferView.C:
13928         * BufferView_pimpl.h:
13929         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13930
13931         * Makefile.am:
13932         * box.h: new start of class for above
13933
13934         * lyxfunc.C: ignore space-only minibuffer dispatches.
13935           Show the command name when it doesn't exist
13936
13937         * minibuffer.C: don't add empty lines to the history
13938
13939         * minibuffer.C: add a space on dropdown completion
13940
13941 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13942
13943         * text.C: fix line above/below drawing in insets
13944
13945 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13946
13947         * lyxlength.C (LyXLength): Initialize private variables.
13948
13949 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13950
13951         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13952         when inserting error insets.
13953
13954 2001-12-13  Juergen Vigna  <jug@sad.it>
13955
13956         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13957         actually sometimes the before-paragraph.
13958         (setUndo): don't clear the redostack if we're not actually undoing!
13959
13960 2001-12-06  Juergen Vigna  <jug@sad.it>
13961
13962         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13963         and fixed redoing of main paragraph, so we can use it now ;)
13964
13965         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13966
13967 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13968
13969         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13970         Juergen's request
13971
13972 2001-12-13  André Pönitz <poenitz@gmx.net>
13973
13974         * undostack.[Ch]:
13975         * undo_func.C: minor cleanup
13976
13977 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13978
13979         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13980         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13981         font in urw-fonts package which is marked as -urw-fontspecific and
13982         does not work (incidentally, changing the encoding in the
13983         fonts.dir of this package to -adobe-fontspecific fixes the
13984         problem).
13985
13986         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13987         is a crash when undoing first paragraph (Juergen, please take a
13988         look). THis does not mean the undo fix is wrong, just that it
13989         uncovers problems.
13990
13991         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13992         the (Paragraph*) version when needed instead of duplicating the
13993         code.
13994
13995         * text.C (workWidth): use Inset::parOwner to find out where the
13996         inset has been inserted. This is a huge performance gain for large
13997         documents with lots of insets. If Inset::parOwner is not set, fall
13998         back on the brute force method
13999
14000         * paragraph_pimpl.C (insertInset):
14001         * paragraph.C (Paragraph):
14002         (cutIntoMinibuffer): set parOwner of insets when
14003         inserting/removing them
14004
14005         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14006
14007 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14008
14009         * commandtags.h:
14010         * LyXAction.C:
14011         * lyx_main.C:
14012         * lyxfunc.C:
14013         * mathed/formulabase.C:
14014         * mathed/math_cursor.[Ch]:
14015         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14016
14017
14018 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14019
14020         * lyxlength.[Ch] (operator!=): new function
14021
14022 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14023
14024         * text.C (workWidth): use Inset::parOwner to find out where the
14025         inset has been inserted. This is a huge performance gain for large
14026         documents with lots of insets. If Inset::parOwner is not set, fall
14027         back on the brute force method
14028
14029         * paragraph_pimpl.C (insertInset):
14030         * paragraph.C (Paragraph):
14031         (cutIntoMinibuffer): set parOwner of insets when
14032         inserting/removing them
14033
14034         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14035
14036 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14037
14038         * tabular-old.C (getTokenValue):
14039         * tabular.C (getTokenValue):
14040         (write_attribute): new versions for LyXLength
14041         (everywhere): adjust the use of widths
14042
14043         * tabular.h: change the type of widths from string to LyXLength
14044
14045 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14046
14047         * paragraph.C: fixed missing line number count when exporting
14048         Environments to LaTeX file
14049
14050         * buffer.C: added informational message for checking line numbers.
14051
14052 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14053
14054         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14055         paragraph, do the 'double space' part, but not the 'empty
14056         paragraph' one.
14057
14058         * text.C (workWidth): small optimization
14059         (getLengthMarkerHeight): use minimal size for negative lengths.
14060
14061 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14062
14063         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14064
14065         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14066
14067 2001-12-11  André Pönitz <poenitz@gmx.net>
14068
14069         * FontLoader.C:
14070         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14071
14072 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14073
14074         * text2.C: keep selection on a setFont()
14075
14076 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14077
14078         * lyx_cb.C: another bv->text misuse, from insert label
14079
14080 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14081
14082         * kbsequence.h:
14083         * kbsequence.C: re-instate nmodifier mask
14084
14085 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14086
14087         * lyx_main.h: make lyxGUI private.
14088
14089 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14090
14091         * lyxfind.C: place the cursor correctly on failed search
14092
14093 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14094
14095         * text.C (getLengthMarkerHeight): for small heights, the arrows
14096         are not always on top/bottom of the text
14097         (drawLengthMarker): smaller arrows; take the left margin in
14098         account; draw also vfills.
14099         (paintFirstRow):
14100         (paintLastRow): remove special code for vfill and standard spaces,
14101         since everything is handled in drawLengthMarker now.
14102
14103 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14104
14105         * buffer.C (insertErtContents): try to handle font and language
14106         interaction a bit better.g
14107
14108         * ColorHandler.C (updateColor): change the hash to cover the whole
14109         LColor enum, ws cleanup
14110         (getGCLinepars): ditto
14111         (getGCLinepars): only lookup in the linecache once.
14112
14113 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14114
14115         * iterators.C (operator++): Make the iterator more robust
14116
14117         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14118         (John's patch)
14119         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14120
14121 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14122
14123         * lyxtext.h:
14124         * text.C: better added space drawing
14125
14126 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14127
14128         * LyXView.C:
14129         * BufferView2.C: fix layout combo update on inset unlock
14130
14131 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14132
14133         * Makefile.am: don't compile unused files
14134
14135 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14136
14137         * lyxfunc.C:
14138         * commandtags.h:
14139         * LyXAction.C: remove old LFUN_LAYOUTNO
14140
14141 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14142
14143         * paragraph_pimpl.h:
14144         * paragraph_pimpl.C: isTextAt() doesn't need font param
14145
14146 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14147
14148         * lyxlex.h:
14149         * lyxlex.C: little cleanup
14150
14151 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14152
14153         * BufferView_pimpl.C: fix insertAscii for insets
14154
14155 2001-12-05  Juergen Vigna  <jug@sad.it>
14156
14157         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14158         set the right font on the "multi" paragraph paste!
14159
14160 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14161
14162         * trans_decl.h:
14163         * trans_mgr.[Ch]:
14164         * trans.[Ch]:
14165         * lyxgluelength.C:
14166         * lyxlength.C: remove out-commented code.
14167
14168         * BufferView_pimpl:
14169         * CutAndPaste.C:
14170         * DepTable.C:
14171         * buffer.C:
14172         * chset.C:
14173         * lastfiles.C:
14174         * lyxlex.C:
14175         * lyxlex_pimpl.C:
14176         * lyxserver.C:
14177         * screen.C:
14178         * tabular-old.C:
14179         * tabular.C:
14180         * text.C:
14181         * trans_mgr.C:
14182         * vc-backend.C: change "while(" to "while ("
14183
14184         * lyxlength.[Ch]: add zero function to check if length is zero or
14185         not
14186         * lyxgluelength.C: use it
14187
14188 2001-12-05  Allan Rae  <rae@lyx.org>
14189
14190         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14191         Works for 2.95.3, from what I understand of Garst's reports this should
14192         work for other g++ versions.  We're screwed if the abs(int) definition
14193         changed between bugfix releases of gcc.
14194
14195 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14196
14197         * text.C: fix chapter label offset !
14198
14199 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14200
14201         * lyxtext.h:
14202         * text.C: fix hfill at end of line, clean up
14203
14204 2001-12-04  Juergen Vigna  <jug@sad.it>
14205
14206         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14207         that we force an update of the inset and it's owners if neccessary.
14208
14209 2001-12-03  Juergen Vigna  <jug@sad.it>
14210
14211         * text.C (rowLast): simplified code
14212
14213 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14214
14215         * lyxfunc.C: fix show options on timeout
14216
14217 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14218
14219         * screen.C (topCursorVisible): scroll half a page when the cursor
14220         reached top of bottom of screen
14221
14222 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14223
14224         * minibuffer.C: deactivate on loss of focus
14225
14226 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14227
14228         * vspace.[Ch] (operator!=): add operator.
14229
14230 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14231
14232         * BufferView_pimpl.C: refuse to open an inset when
14233         there's a selection.
14234
14235 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14236
14237         * BufferView_pimpl.C: allow to click on RHS of full row insets
14238
14239 2001-11-30  Juergen Vigna  <jug@sad.it>
14240
14241         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14242         insets for undo reasons.
14243
14244 2001-11-28  André Pönitz <poenitz@gmx.net>
14245
14246         * vspace.[Ch]: cosmetical changes
14247
14248 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14249
14250         * LyXAction.h:
14251         * LyXAction.C:
14252         * lyxfunc.h:
14253         * lyxfunc.C:
14254         * kbmap.h:
14255         * kbmap.C:
14256         * lyxrc.C:
14257         * kbsequence.h:
14258         * kbsequence.C: part re-write of old kb code
14259
14260         * Painter.C:
14261         * WorkArea.C: remove Lgb_bug_find_hack
14262
14263 2001-11-30  José Matos <jamatos@fep.up.pt>
14264
14265         * buffer.C (makeDocBookFile): add a comment to point a hack.
14266         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14267         Fixed a double write of labels.
14268
14269 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14270
14271         * LaTeX.C:
14272         * LaTeX.h Fixed bug in LaTeX class where it would not
14273         re-run latex if no depfiles were changed, but the .dvi was removed.
14274
14275 2001-11-28  André Pönitz <poenitz@gmx.net>
14276
14277         * all the files from the change on 2001/11/26:
14278         use lyx::layout_type instead of LyXTextClass::size_type
14279         use lyx::textclass_type instead of LyXTextClassList::size_type
14280
14281 2001-11-29  Juergen Vigna  <jug@sad.it>
14282
14283         * text.C: added support for paragraph::isFreeSpacing()
14284
14285         * buffer.C: same as above
14286
14287         * paragraph.h: inserted isFreeSpacing() function to enable
14288         FreeSpacing inside InsetERT.
14289
14290         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14291         of the paragraph's in the cut/copy buffer to 0!
14292
14293         * text2.C (removeRow): remove the assert as it can!
14294
14295         * lyxtext.h: added helper function firstRow returning firstrow and
14296         made firstrow private again.
14297
14298         * BufferView2.C (lockInset): don't relock if we're already locked!
14299
14300         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14301         the only paragraph.
14302         (removeRow): added Assert::(firstrow)
14303
14304         * debug.C: forgot to add INSETTEXT here.
14305
14306 2001-11-28  Juergen Vigna  <jug@sad.it>
14307
14308         * sp_spell.C (initialize): changed error text to more general
14309         spellchecker command use (not only ispell!)
14310
14311         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14312
14313         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14314
14315 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14316
14317         * vspace.C: initialise lyxgluelength on failure
14318
14319 2001-11-28  Allan Rae  <rae@lyx.org>
14320
14321         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14322         declaration & definition that looks like a function declaration.
14323
14324 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14325
14326         * BufferView2.C (copy):
14327         (copyEnvironment): do not clear the selection when doing a copy.
14328
14329         * text.C (paintFirstRow): compilation fix
14330
14331 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14332
14333         * tabular.C (Latex): correct line count when writing latex.
14334
14335 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14336
14337         * paragraph_pimpl.h:
14338         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14339           bug a bit
14340
14341 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14342
14343         * text.C:
14344         * LColor.h:
14345         * LColor.C: change vfillline->added_space
14346
14347         * text.C: add markers and text for added space
14348
14349         * vspace.C: fix comment
14350
14351 2001-11-28  André Pönitz <poenitz@gmx.net>
14352
14353         * paragraph.C: whitespace changes
14354         * all the other files from the change on 2001/11/26:
14355         change *::pos_type into lyx::pos_type
14356
14357 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14358
14359         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14360         language of the document when inserting error insets.
14361
14362 2001-11-26  André Pönitz <poenitz@gmx.net>
14363
14364         * BufferView_pimpl.[Ch]:
14365         *       CutAndPaste.C:
14366         * buffer.[Ch]:
14367         * lyxcursor.[Ch]:
14368         * lyxfind.C:
14369         * lyxfunc.C:
14370         * lyxrow.[Ch]:
14371         * paragraph.[Ch]:
14372         * paragraph_pimpl.[Ch]:
14373         * sp_spell.C:
14374         * text.C:
14375         * text2.C: reduce header dependencies, introduce type for positions
14376
14377 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14378
14379         * <various>: change to use Alert.h
14380
14381 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14382
14383         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14384         when encountering an unknown token.
14385         (readLyXformat2): Show an error message if there were unknown tokens.
14386
14387 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14388
14389         * BufferView2.C:
14390         * BufferView_pimpl.C:
14391         * buffer.C:
14392         * paragraph.h:
14393         * text.C:
14394         * text2.C: use par->isInset()
14395
14396 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14397
14398         * paragraph_pimpl.h:
14399         * paragraph_pimpl.C: cleanup
14400
14401 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14402
14403         * text2.C (removeRow):
14404         * text.C (setHeightOfRow): remove useless (and costly) call to
14405         getRow.
14406
14407 2001-11-20  Allan Rae  <rae@lyx.org>
14408
14409         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14410         Now need Inset*::checkInsertChar() to return true for appropriate
14411         cases so that the characters in the minibuffer will actually be
14412         inserted.
14413
14414 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14415
14416         * text.C: change the order of the includes.
14417         (workWidth): initialize it at once.
14418         (workWidth): make maxw unsigned
14419         (setHeightOfRow): remove unused variable (inset)
14420         (selectSelectedWord): remove unused variable (inset)
14421         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14422
14423 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14424
14425         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14426         server is not running.
14427         (openConnection):
14428         (closeConnection): add debug info when server is disabled.
14429
14430         * ColorHandler.C (getGCForeground): send debug message to GUI
14431         channel.
14432
14433         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14434
14435         * kbmap.C (bind): modify because return conventions of
14436         kb_sequence::parse have changed.
14437
14438         * kbsequence.C (parse): only ignore spaces and not any stupid
14439         control character. This avoids tests like s[i] <= ' ', which are
14440         guaranteed to fail with 8bit characters and signed chars.
14441         Change return code to string::npos when there have been no error
14442         (0 was a bad idea when error is at first character)
14443
14444 2001-11-14  José Matos  <jamatos@fep.up.pt>
14445
14446         * buffer.h:
14447         * buffer.C (simpleDocBookOnePar): removed unused argument.
14448
14449 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14450
14451         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14452         insets which are part of a word. Paragraph::isLetter takes care of
14453         that now. Use Paragraph::isInset to identify insets.
14454         (selectSelectedWord): do not test for hyphenation break.
14455
14456         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14457         that protected spaces are considered as spaces.
14458
14459         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14460         Inset::isLetter.
14461
14462 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14463
14464         * lyxserver.h:
14465         * lyxserver.C: fix it. and small cleanup.
14466
14467 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14468
14469         * BufferView_pimpl.C: use inline helpers
14470
14471         * LaTeXFeatures.h:
14472         * LaTeXFeatures.C: fix typos
14473
14474         * Spacing.h:
14475         * Spacing.C: move spacing_string into class
14476
14477         * ToolbarDefaults.C: move stuff into namespace anon
14478
14479         * layout.h: update enum
14480
14481         * lyxfunc.C: use better debug
14482
14483         * minibuffer.h: fix typo
14484
14485         * debug.h:
14486         * debug.C:
14487         * WorkArea.C: add and use Debug::WORKAREA
14488
14489         * lyxtext.h:
14490         * text.C:
14491         * text2.C: code re-organisation, inline helpers
14492
14493 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14494
14495         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14496         std::vector.empty().
14497
14498 2001-11-09  Allan Rae  <rae@lyx.org>
14499
14500         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14501         '\n's after tables.  Tabular and ERT inset work now makes this no
14502         longer necessary.
14503
14504 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14505
14506         * minibuffer.h:
14507         * minibuffer.C: fix crash, improve drop-down completion
14508
14509 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14510
14511         * lyxserver.h:
14512         * lyxserver.C: invalidate fd's when doing endPipe()
14513
14514 2001-11-08  José Matos  <jamatos@fep.up.pt>
14515
14516         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14517         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14518
14519         * paragraph.h:
14520         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14521
14522 2001-11-07  José Matos  <jamatos@fep.up.pt>
14523
14524         * buffer.h:
14525         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14526         const qualifier.
14527
14528         * buffer.C (sgmlOpenTag):
14529         * buffer.C (sgmlCloseTag): removed debug info.
14530
14531         * buffer.h (sgmlOpenTag):
14532         * buffer.h (sgmlCloseTag): made public.
14533
14534 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14535
14536         * buffer.C (saveParamsAsDefaults):
14537         * lyx_cb.C (MenuLayoutSave): remove
14538
14539         * LyXAction.C (init):
14540         * commandtags.h:
14541         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14542
14543 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14544
14545         * buffer.C (setPaperStuff): removed from here...
14546
14547         * bufferparams.C (setPaperStuff): ... and moved there.
14548
14549 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14550
14551         * minibuffer.h:
14552         * minibuffer.C:
14553         * XFormsView.C: add support for drop-down completion
14554
14555 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14556
14557         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14558         commands.
14559
14560 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14561
14562         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14563         disabled.
14564
14565 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14566
14567         * lyx_main.C: change ref to known bugs
14568
14569 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14570
14571         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14572         to work around older babel problems.
14573
14574 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14575
14576         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14577
14578 2001-10-24  Juergen Vigna  <jug@sad.it>
14579
14580         * tabular-old.C (ReadOld): below variable changes reflected.
14581
14582         * tabular.[Ch]: added ltType struct for longtable header/footer
14583         defines and changed all instances where they are used. Added
14584         future support for double top/bottom rows.
14585
14586 2001-10-24  José Matos  <jamatos@fep.up.pt>
14587
14588         * buffer.h (docbookHandleCaption):
14589         * buffer.C (docbookHandleCaption): removed unused function.
14590         (makeDocBookFile): moved docbook supported version to v4.1.
14591
14592 2001-10-24  José Matos  <jamatos@fep.up.pt>
14593
14594         * tabular.h:
14595         * tabular.C (docbookRow): new function to export docbook code of a row.
14596         (DocBook): now honors the longtable flags.
14597
14598 2001-10-23  José Matos  <jamatos@fep.up.pt>
14599
14600         * LaTeXFeatures.h:
14601         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14602         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14603
14604         * buffer.C (makeLinuxDocFile):
14605         (makeDocBookFile): reworked the preamble, more clean, and with
14606         support for lyx defined entities. Changed the document declaration
14607         to be more XML friendly.
14608
14609         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14610         if we need to output XML that should be done with a filter.
14611
14612 2001-10-22  Juergen Vigna  <jug@sad.it>
14613
14614         * sp_pspell.h (class PSpell): add alive function needed in the
14615         controller to see if the spellchecker could be started.
14616
14617 2001-10-22  Juergen Vigna  <jug@sad.it>
14618
14619         * buffer.C (insertStringAsLines): modify the font for inserting
14620         chars in certain conditions by calling checkInsertChar(font).
14621
14622 2001-10-19  Juergen Vigna  <jug@sad.it>
14623
14624         * text.C (workWidth): use getRow instead of wrong algorithm.
14625         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14626
14627 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14628
14629         * lyxserver.h:
14630         * lyxserver.C:
14631         * lyx_main.h:
14632         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14633
14634 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14635
14636         * text.C (workWidth): do not search for the exact row when
14637         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14638         optimization for big documents.
14639
14640 2001-10-18  Juergen Vigna  <jug@sad.it>
14641
14642         * text.C (workWidth): new function with added Inset * parameter.
14643
14644 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14645
14646         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14647
14648         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14649         change return type of getColumnNearX.
14650
14651
14652         * text.C (changeRegionCase): use uppercase/lowercase instead of
14653         toupper/tolower.
14654         (leftMargin):
14655         (rightMargin): simplify code by factoring out the uses of
14656         textclasslist.
14657         (labelFill):
14658         (numberOfHfills):
14659         (setHeightOfRow):
14660         (appendParagraph): use Paragraph::size_type
14661
14662 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14663
14664         * vspace.C (asLatexString): add a missing break
14665
14666 2001-10-15  Herbert Voss  <voss@perce.de>
14667
14668         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14669
14670 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14671
14672         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14673         is not available.
14674
14675 2001-10-10  André Pönitz <poenitz@gmx.net>
14676
14677         * lyxfunc.C: removed greek_kb_flag.
14678
14679 2001-10-10  Herbert Voss  <voss@perce.de>
14680
14681         * lyx_main.C: delete global string help_lyxdir.
14682
14683 2001-10-09  Herbert Voss  <voss@perce.de>
14684
14685         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14686
14687         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14688
14689         * lyx_main.C: added global string help_lyxdir.
14690
14691         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14692
14693 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14694
14695         * lyxrc.C (set_font_norm_type): support iso8859-4
14696
14697 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14698
14699         * LaTeX.C (deplog): add another regex for MikTeX
14700
14701 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14702
14703         * lyxrc.C (set_font_norm_type): support iso8859-3
14704
14705 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14706
14707         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14708
14709         * LaTeXFeatures.C: remove special case of french and index
14710
14711         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14712         before \begin{document}). This solves several incompatibilities.
14713
14714 2001-10-03  Garst Reese  <reese@isn.net>
14715
14716         * lyx_cb.C: change CheckTex error msg.
14717
14718 2001-10-03  José Matos  <jamatos@fep.up.pt>
14719
14720         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14721
14722 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14723
14724         * .cvsignore: update
14725
14726         * lyx_main.C (commandLineVersionInfo): use new style version info.
14727
14728         * buffer.C (writeFile):
14729         (makeLaTeXFile):
14730         (makeLinuxDocFile):
14731         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14732
14733         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14734
14735         * version.h: update to use stuff in version.C
14736
14737         * version.C.in: new file. Contains version information determined
14738         at compile time. This is a merging of version.h and
14739         version_info.h.in.
14740
14741 2001-10-03  Juergen Vigna  <jug@sad.it>
14742
14743         * BufferView_pimpl.C (update): don't change "dirty" status in
14744         updateInset call.
14745
14746 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14747
14748         * WorkArea.C (c-tor): re-position version string slightly.
14749
14750 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14751
14752         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14753         revert to previous code.
14754
14755         WorkArea.[Ch]: (show, destroySplash): methods removed.
14756
14757         WorkArea.C: rework code so that it's an amalgam of the codes before and
14758         after the splash screen was moved to WorkArea.
14759
14760 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14761
14762         * lyxrc.C (read):
14763         * vspace.C (inPixels):
14764         (lyx_advance):
14765         * kbmap.C (bind):
14766         * buffer.C (insertStringAsLines):
14767         (asciiParagraph): fix types to be large enough
14768
14769         * lyxlex_pimpl.h: change member status from short to int
14770
14771         * layout.h: fix type of endlabeltype
14772
14773         * kbmap.C (bind):
14774         * kbsequence.C (parse): change return type to string::size_type
14775
14776         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14777         variable
14778
14779         * Bullet.C (bulletSize):
14780         (bulletEntry): do not use short ints as parameters
14781
14782         * BufferView2.C (insertLyXFile): change a char to an int.
14783
14784         * WorkArea.C (WorkArea): remove unneeded floats in computation
14785
14786 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14787
14788         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14789
14790         * paragraph.C (asString): Do not ignore newline/hfill chars when
14791         copying to the clipboard.
14792
14793 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14794
14795         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14796         after a multi-line inset.
14797
14798 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14799
14800         * paragraph.C (validate): Set NeedLyXFootnoteCode
14801
14802 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14803
14804         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14805         and decrease-error to decrease.
14806
14807 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14808
14809         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14810         it more readable (should be equivalent)
14811
14812 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14813
14814         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14815
14816 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14817
14818         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14819         of a cursor (row, etc.) after a character has been deleted
14820         (deleteEmptyParagraphMechanism): call the method above on _all_
14821         cursors held by the LyXText when a double space has been
14822         detected/deleted.
14823
14824 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14825
14826         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14827         pixmap.
14828         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14829
14830         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14831         background. Use greyOut() and the new show() methods to toggle between
14832         the foreground and background. Add code to remove the splash after
14833         its initial showing.
14834
14835         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14836         (create_forms): no longer call Dialogs::showSplash.
14837
14838 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14839
14840         * .cvsignore: add version_info.h
14841
14842 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14843
14844         * version_info.h.in: new file
14845
14846         * Makefile.am: add version_info.h.in
14847
14848         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14849         version_info.h instead of VERSION_INFO
14850
14851 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14852
14853         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14854         The ERT inset now returns string().
14855
14856 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14857
14858         * lyxtext.h, text.C (selectNextWord): renamed as
14859         selectNextWordToSpellcheck.
14860
14861         * text.C (selectNextWordToSpellcheck): Modified to not select
14862         words inside an ERT inset.
14863
14864 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14865
14866         * lyx_cb.C (MenuLayoutSave): change a bit the question
14867
14868         * sp_base.h: include <sys/types.h>
14869
14870 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14871
14872         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14873
14874 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14875
14876         * several files: fix typos in user-visible strings
14877
14878 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14879
14880         * text2.C (pasteSelection): do not set the selection, since it
14881         will be cleared later. Actually, the intent was to fix the way the
14882         selection was set, but I figured rmoving the code was just as good.
14883
14884 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14885
14886         * FontLoader.C (available): Check if font is available without
14887         loading the font.
14888
14889 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14890
14891         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14892
14893 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14894
14895         * lyxrc.[Ch]: added display_graphics variable and associated code.
14896
14897 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14898
14899         * bufferparams.C (hasClassDefaults): new method. Returns true if
14900         the buffer parameters correspond to known class defaults
14901
14902 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14903
14904         * XFormsView.C (show): set minimum size to the main window.
14905
14906 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14907
14908         * text2.C (copySelection):
14909         (cutSelection):
14910         * lyxfind.C (LyXReplace):
14911         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14912         LyXText::selectionAsString.
14913
14914         * paragraph.C (asString): add "label" argument to the second form
14915
14916         * text2.C (selectionAsString): add "label" argument and pass it to
14917         Paragraph::asString.
14918
14919 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14920
14921         * lyx_main.C (commandLineHelp): remove version information
14922
14923 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14924
14925         * lyx_main.C: add -version commandline option
14926
14927 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14928
14929         * paragraph.h: make the optional constructor arg required instead.
14930         some modifications to other files because of this.
14931
14932         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14933
14934         * lyxserver.C (C_LyXComm_callback): make it static
14935
14936         * lyx_main.C (error_handler): make it static
14937
14938         * lyx_gui.C (LyX_XErrHandler): make it static
14939
14940         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14941
14942         * WorkArea.C: make the extern "C" methods static.
14943
14944         * Makefile.am (lyx_LDADD): simplify
14945
14946 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14947
14948         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14949         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14950
14951         * LyXAction.C (init):
14952         * lyxfunc.C (dispatch): associated code removal.
14953
14954 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14955
14956         * lyxfont.h (isSymbolFont): shut off warning
14957
14958         * text.C (setHeightOfRow):
14959         (getVisibleRow): fix crash with empty paragraphs which have a
14960         bottom line
14961
14962 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14963
14964         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14965         code.
14966
14967 2001-09-04  José Matos  <jamatos@fep.up.pt>
14968         * buffer.C
14969         * buffer.h
14970         * tabular.C (docbook): rename docBook method to docbook.
14971
14972 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14973
14974         * Makefile.am: add dependencies to main.o.
14975
14976 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14977
14978         * FontLoader.C (available): Return false if !lyxrc.use_gui
14979
14980 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14981
14982         * FontInfo.C (query):
14983         * converter.C (view):
14984         * importer.C (Import):
14985         * exporter.C (Export): Can not -> cannot.
14986
14987 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14988
14989         * BufferView_pimpl.C: allow to create index inset even if
14990           string is empty
14991
14992 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14993
14994         * buffer.C (getLists): replace boost::tie code with an explicit pair
14995         as boost::tie can break some compilers.
14996
14997         * iterators.h: Added a std:: declaration to the return type of
14998         ParIterator::size.
14999
15000 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15001
15002         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15003           case.
15004
15005 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15006
15007         * iterators.[Ch]: New files. Provide paragraph iterators.
15008
15009         * buffer.C (changeLanguage): Use paragraph iterators.
15010         (isMultiLingual): ditto
15011
15012         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15013
15014 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15015
15016         * FontLoader.C: Support for cmr font.
15017
15018 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15019
15020         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15021         (available): New method.
15022
15023         * FontInfo.C (getFontname): Use scalable fonts even when
15024         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15025         found.
15026
15027 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15028
15029         * converter.C (Formats::view): reverted! Incorrect fix.
15030
15031 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15032
15033         * converter.C (Formats::view): only output the -paper option
15034         if the dvi viewer is xdvi, thereby fixing bug #233429.
15035
15036 2001-08-23  Herbert Voss  <voss@perce>
15037
15038         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15039
15040 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15041
15042         * Spacing.h (Spacing): Set space to Default on in the default
15043         constructor.
15044
15045 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15046
15047         * vc-backend.h (RCS::versionString): add RCS to version
15048         (CVS::versionString): add CVS to version
15049
15050         * vc-backend.C (scanMaster): do not add CVS to version.
15051         (scanMaster): do not add RCS to version
15052
15053         * lyxvc.C (versionString): new method
15054
15055         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15056
15057 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15058
15059         * Spacing.C (set): initialize fval
15060
15061 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15062
15063         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15064         " or \.
15065
15066 2001-08-16  Juergen Vigna  <jug@sad.it>
15067
15068         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15069
15070 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15071
15072         * BufferView_pimpl.C:
15073         * figureForm.C:
15074         * lyxtext.h:
15075         * text2.C: setParagraph takes linespacing now
15076
15077 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15078
15079         * LyxAction.C: add internal LFUN_CITATION_INSERT
15080
15081         * LyXView.C: actually apply fix
15082
15083         * bufferlist.C: fix open non-existent file
15084
15085         * lyxfind.C: fix indentation
15086
15087         * lyxfunc.C: remove unneeded assert, fix typo
15088
15089 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15090
15091         * MenuBackend.C: use "Floatname List"
15092
15093 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15094
15095         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15096         when converting LaTeX layout to insetERT.
15097         Generate a non-collapsed float when reading old float
15098
15099 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15100
15101         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15102         ERT insets.
15103
15104 2001-08-13  Juergen Vigna  <jug@sad.it>
15105
15106         * text.C (fill): return 0 instead of 20 as this seems to be the more
15107         correct value.
15108
15109 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15110
15111         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15112         lyxrc.font_norm.
15113
15114 2001-08-13  Juergen Vigna  <jug@sad.it>
15115
15116         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15117         casesensitive off.
15118         (SearchBackward): comment out the unlocking of the inset_owner this
15119         should not be needed!
15120
15121 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15122
15123         * Many files: Remove inherit_language, and add latex_language
15124
15125         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15126         collapsible insets.
15127
15128 2001-08-10  Juergen Vigna  <jug@sad.it>
15129
15130         * text.C (prepareToPrint): fixed hfill-width in draw!
15131
15132         * BufferView2.C (selectLastWord): save the selection cursor as this
15133         now is cleared in the function LyXText::clearSelection!
15134
15135 2001-08-08  Juergen Vigna  <jug@sad.it>
15136
15137         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15138         BACKSPACE type functions.
15139
15140         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15141         is only cutted from the document but not put in the cut-buffer, where
15142         still the old stuff should be.
15143
15144         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15145
15146         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15147
15148         * tabular.C (SetWidthOfCell): fixed special case where the width
15149         was not updated!
15150         (LeftLine): handle '|' in align_special.
15151         (RightLine): ditto
15152         (LeftAlreadyDrawed): ditto
15153         (SetWidthOfCell): ditto
15154
15155 2001-08-07  Juergen Vigna  <jug@sad.it>
15156
15157         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15158
15159 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15160
15161         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15162         * lyxlex.[hC]: ditto
15163
15164 2001-08-06  Juergen Vigna  <jug@sad.it>
15165
15166         * text.C (getVisibleRow): fix up row clearing a bit.
15167
15168 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15169
15170         * minibuffer.C: make sure the X server sees the changes in the input.
15171
15172 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15173
15174         * paragraph.C (getFont): split into...
15175         (getLabelFont): this
15176         (getLayoutFont): and this
15177         * paragraph_pimpl.C (realizeFont): calling this
15178
15179         * text2.C (getFont): split into...
15180         (getLayoutFont): this
15181         (getLabelFont): and this
15182         (realizeFont): all three calling this
15183
15184         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15185         files where used.
15186
15187 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15188
15189         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15190
15191 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15192
15193         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15194         layouts from the Quote inset insertion.
15195
15196 2001-08-03  Juergen Vigna  <jug@sad.it>
15197
15198         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15199
15200         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15201         only if status not is already CHANGED_IN_DRAW (second level).
15202
15203         * text.C (draw): don't set the need_break_row when inside an
15204         InsetText LyXText.
15205
15206 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15207
15208         * buffer.C (parseSingleLyXformat2Token): handle more latex
15209         conversion cases.
15210
15211         * bufferview_funcs.[hC]: change function names to
15212         begin with small char, adjust other files.
15213
15214 2001-08-02  André Pönitz <poenitz@gmx.net>
15215
15216         * lyxfunc.C:
15217         BufferView_pimpl.C: remove broken special code for math-greek
15218
15219 2001-08-02  Juergen Vigna  <jug@sad.it>
15220
15221         * BufferView_pimpl.C (update): redone this function so that we
15222         update the text again if there was a CHANGE_IN_DRAW.
15223
15224         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15225         (drawFromTo): added a new internal bool which is used by draw() and
15226         redraw() function.
15227         (general): some cursor drawing problems fixed.
15228
15229 2001-08-01  Juergen Vigna  <jug@sad.it>
15230
15231         * lyxfind.C (LyXFind): fixed
15232         (SearchForward): ditto
15233         (SearchBackward): ditto
15234
15235         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15236         spurius drawing of the cursor in the main area.
15237
15238         * text2.C (status): small fix which could lead to a segfault!
15239         (clearSelection): remove unneeded BufferView param.
15240
15241 2001-08-01  André Pönitz <poenitz@gmx.net>
15242
15243         * lyxfunc.C: small change due to changed mathed interface
15244
15245 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15246
15247         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15248
15249 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15250
15251         * lyxfunc.c: fail gracefully if file doesn't exist
15252
15253         * LyXSendto.C:
15254         * buffer.C:
15255         * lyxfunc.C:
15256         * BufferView_pimpl.C: IsDirWriteable() proto changed
15257
15258         * LyXView.C: fix updateWindowTitle() to store the last title
15259
15260 2001-07-31  Juergen Vigna  <jug@sad.it>
15261
15262         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15263         the font (wrong since using of Paragraph::highestFontInRange).
15264
15265         * paragraph.C (highestFontInRange): added a default_size parameter.
15266
15267         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15268         (setHeightOfRow): reformat
15269
15270 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15271
15272         * converter.[hC] + affected files: move to (inital-char)lowercase
15273         function names.
15274
15275         * ParagraphParameters.C (ParagraphParameters): remove commented code
15276
15277         * PainterBase.[Ch]: remove commented code
15278
15279         * LaTeXFeatures.h: add "bool floats" for float.sty
15280
15281         * LaTeXFeatures.C (LaTeXFeatures): init floats
15282         (require): handle float
15283         (getPackages): do it with floats
15284
15285 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15286
15287         * BufferView_pimpl.C (Dispatch): improve handling of
15288         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15289
15290         * commandtags.h: #include lyxfont.h here temporarily to avoid
15291         keybinding bug.
15292
15293         * bufferlist.h: include LString.h here.
15294
15295 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15296
15297         * text2.C (getStringToIndex): new method.
15298
15299 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15300
15301         * *: Reduced header file dependencies all over.
15302
15303 2001-07-30  Baruch Even  <baruch@lyx.org>
15304
15305         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15306
15307 2001-07-29  Baruch Even  <baruch@lyx.org>
15308
15309         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15310
15311 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15312
15313         * ParameterStruct.h (endif): add a default constructor to make
15314         sure that all variables is initialized.
15315
15316         * ParagraphParameters.C (ParagraphParameters): adjust
15317
15318 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15319
15320         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15321         index; also, check that there is something to index, and that it
15322         does not span over several paragraphs.
15323         (doubleClick): use WHOLE_WORD_STRICT for double click.
15324
15325         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15326
15327         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15328         scheme.
15329
15330 2001-07-26  Baruch Even  <baruch@lyx.org>
15331
15332         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15333         an InsetFig figure, backwards compatible reading of old figure code.
15334
15335 2001-07-27  Juergen Vigna  <jug@sad.it>
15336
15337         * text2.C: font.realize function adaption.
15338
15339         * text.C (draw): add a warnings lyxerr text if needed.
15340
15341         * layout.C: font.realize function adaption.
15342
15343         * language.C: add inherit_language and implement it's handlings
15344
15345         * bufferview_funcs.C (StyleReset): remove language parameter from
15346         font creation (should be language_inherit now).
15347
15348         * bufferparams.C (writeFile): handle ignore_language.
15349
15350         * paragraph.C (getFontSettings): the language has to be resolved
15351         otherwise we have problems in LyXFont!
15352
15353         * lyxfont.C (lyxWriteChanges): added document_language parameter
15354         (update): removed unneeded language parameter
15355
15356         * paragraph.C (validate): fixed wrong output of color-package when
15357         using interface colors for certain fonts in certain environments,
15358         which should not seen as that on the final output.
15359
15360 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15361
15362         * BufferView_pimpl.C:
15363         * Thesaurus.h:
15364         * Thesaurus.C:
15365         * Makefile.am:
15366         * commandtags.h:
15367         * LyXAction.C: add thesaurus support
15368
15369         * lyxfind.h:
15370         * lyxfind.C: add "once" parameter, for thesaurus, to not
15371           move to the next match
15372
15373 2001-07-26  Juergen Vigna  <jug@sad.it>
15374
15375         * lyxfont.C (realize): honor ignore_language too!
15376         (resolved): ditto.
15377
15378         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15379
15380         * text.C (draw): one place more for ignore_language to not draw
15381         itself!
15382
15383 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15384
15385         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15386
15387 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15388
15389         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15390         the minipage conversion problem.
15391
15392 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15393
15394         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15395         insert an inset.
15396
15397 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15398
15399         * BufferView.h: don't forward declare WorkArea
15400
15401         * BufferView.C: don't include WorkArea.h
15402
15403 2001-07-25  André Pönitz <poenitz@gmx.net>
15404
15405         * commandtags.h:
15406         * LyXAction.C:
15407         * lyxfunc.C:  new LFUN 'math-space'
15408
15409         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15410
15411 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15412
15413         * text2.C (toggleInset): call open/close
15414
15415 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15416
15417         * lyxfunc.C (dispatch): add debug for the disabled case
15418
15419         * font.C (buttonText): make similar to rectText
15420
15421         * buffer.C (readInset): comment out parsing of insetlist and
15422         insttheorem
15423
15424         * PainterBase.C (rectText): small correction
15425
15426         * BufferView_pimpl.C: comment out insettheorem and insetlist
15427         * LyXAction.C: ditto
15428         * commandtags.h: ditto
15429
15430 2001-07-24  Juergen Vigna  <jug@sad.it>
15431
15432         * text.C (draw): honor the ignore_language.
15433
15434         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15435
15436 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15437
15438         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15439         char inset.
15440
15441 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15442
15443         * lyxtext.h: remove unused (and unimplemented) methods
15444
15445 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15446
15447         * text.C (getVisibleRow): honor background color
15448
15449         * PainterBase.h:
15450         * Painter.h: remove default color argument for fillRectangle
15451
15452         * text.C (backgroundColor): new method
15453
15454 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15455
15456         * text.C (getVisibleRow): adjust
15457
15458         * font.[Ch] (rectText): new method, metrics
15459         (buttonText): new method, metrics
15460
15461         * PainterBase.[hC]: make rectText and buttonText always draw and take
15462         fewer paramteres.
15463
15464 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15465
15466         * ToolbarDefaults.C (read):
15467         * MenuBackend.C (read): allow escaping in all strings
15468
15469         * BufferView_pimpl.C (insertAndEditInset): new method.
15470         (Dispatch): use insertAndEditInset whenever appropriate.
15471
15472         * BufferView_pimpl.C (insertNote): removed
15473
15474         * BufferView_pimpl.C (smartQuote): new method, moved from
15475         BufferView; if an insetquote cannot be inserted, insert a '"'
15476         character instead.
15477
15478         * BufferView2.C: remove insertCorrectQuote();
15479
15480         * lyxfunc.C (getStatus): Add support for all remaingin
15481         inset-insert lfuns.
15482
15483         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15484
15485         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15486         command (necessary to pass " as parameter of self-insert.
15487
15488         * text.C (selectWordWhenUnderCursor):
15489         (selectWord): add word_location parameter
15490         (selectWordWhenUnderCursor): same + remove special code for word
15491         boundary.
15492         (selectNextWord): use kind() to guess type of insetspecialchar,
15493         not latex().
15494
15495         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15496         (insertErtContents): create ert insets as collapsed.
15497         (readInset): better compatibility code for Info inset.
15498
15499 2001-07-20  Juergen Vigna  <jug@sad.it>
15500
15501         * lyxfunc.C (dispatch): use always LyXFind now!
15502
15503         * text2.C (init): add a reinit flag so that the LyXText can be
15504         reinited instead of deleted and reallocated (used in InsetText).
15505
15506         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15507
15508         * text.C: ditto
15509
15510         * text2.C: ditto
15511
15512 2001-07-18  Juergen Vigna  <jug@sad.it>
15513
15514         * text.C (selectNextWord): handle insets inside inset by calling
15515         always the bv->text functions so that we can go up the_locking_inset!
15516
15517         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15518         in strange locations when inside an inset!
15519
15520         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15521         handling to include insets.
15522
15523         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15524
15525 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15526
15527         * LyXAction.C (init):
15528         * commandtags.h:
15529         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15530         LIGATURE_BREAK, since the name is so stupid.
15531
15532 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15533
15534         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15535         InsetInfos.
15536
15537         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15538
15539         * sp_form.[Ch]: remove.
15540
15541         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15542
15543         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15544         InsetInfo.
15545
15546         * src/buffer.C (readInset): ditto.
15547
15548 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15549
15550         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15551         menuSeparator(), endOfSentenceDot(), ldots() and
15552         hyphenationPoint(), which are therefore removed.
15553         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15554
15555         * LyXAction.C (init):
15556         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15557
15558         * paragraph.C (getWord): removed.
15559
15560         * BufferView_pimpl.C (Dispatch): use last word or selection for
15561         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15562
15563         * lyx_main.C (queryUserLyXDir): do not ask before creating
15564         user_dir, except if it has been named explicitely.
15565
15566 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15567
15568         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15569         a document of zero size.
15570
15571 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15572
15573         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15574         approriately in the c-tor and in require().
15575         (getPackages): output the appropriate LaTeX for natbib support.
15576
15577         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15578         variables "use_natbib" and "use_numerical_citations" when reading the
15579         LyX file.
15580         (readInset): read the various natbib cite commands.
15581         (validate): white-space change.
15582
15583         * bufferparams.[Ch]: new variables "bool use_natbib" and
15584         "bool use_numerical_citations".
15585         (writeFile): output them in the LyX file.
15586
15587 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15588
15589         * lyxfunc.C (getStatus): add support for all the inset insertion
15590         commands.
15591
15592         * text2.C (insertInset):
15593         * paragraph.C (insetAllowed):
15594         * BufferView_pimpl.C (insertInset): update to take in account the
15595         renaming of insertInsetAllowed
15596
15597         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15598
15599         * text2.C (getInset): new method. returns inset at cursor position.
15600
15601         * BufferView_pimpl.C (Dispatch): changes because of this.
15602
15603         * LyXAction.C (init): rename open-stuff to inset-toggle.
15604
15605         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15606
15607         * text2.C (toggleInset): renamed from openStuff; use
15608         Inset::open().
15609
15610 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15611
15612         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15613
15614         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15615
15616 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15617
15618         * buffer.C (readLyXformat2): Add filename to the error dialog
15619
15620 2001-07-18  Juergen Vigna  <jug@sad.it>
15621
15622         * tabular.C (GetCellNumber): put an assert here instead of the check!
15623
15624 2001-07-17  Juergen Vigna  <jug@sad.it>
15625
15626         * BufferView_pimpl.C (toggleSelection): adapted too.
15627
15628         * text.C (selectNextWord): adapted for use with insets.
15629         (selectSelectedWord): ditto
15630
15631 2001-07-17  Juergen Vigna  <jug@sad.it>
15632
15633         * sp_spell.C (PSpell): fix initialitation order.
15634
15635 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15636
15637         * paragraph.C: spacing
15638
15639 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15640
15641         * sp_spell.C: repair language selection for pspell
15642
15643 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15644
15645         * lyxfunc.h: change more methods to begin with lower char.
15646
15647 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15648
15649         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15650         for unknown layouts.
15651
15652 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15653
15654         * buffer.C (readLyXformat2): Generate an error dialog if there are
15655         unknown layouts.
15656
15657 2001-07-16  Juergen Vigna  <jug@sad.it>
15658
15659         * sp_spell.C: always compile ISpell part.
15660
15661         * lyxrc.C: added use_pspell entry and it's handling.
15662
15663 2001-07-13  Juergen Vigna  <jug@sad.it>
15664
15665         * sp_spell.C: removed double includes.
15666
15667 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15668
15669         Consistent use of Lsstream.h:
15670         * Lsstream.h: added using std::stringstream for consistencies sake.
15671
15672         * buffer.C: removed using std::stringstream
15673
15674         * lyxfont.C (stateText):
15675         * paragraph.C (asString):
15676         * text.C (selectNextWord, selectSelectedWord):
15677         * text2.C (setCounter):
15678         * vspace.C (asString, asLatexString):
15679         std::ostringstream -> ostringstream.
15680
15681 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15682
15683         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15684         * commandtags.h: add LFUN_HELP_ABOUTLYX
15685         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15686
15687 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15688
15689         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15690         cursorToggle()
15691         * lyx_gui_misc.C: remove spellchecker
15692         * lyxfunc.C: showSpellchecker
15693         * sp_base.h: added
15694         * sp_ispell.h: added
15695         * sp_pspell.h: added
15696         * sp_spell.C: added
15697         * sp_form.[Ch]: removed
15698         * spellchecker.[Ch]: removed
15699
15700 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15701
15702         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15703         is set.
15704         (simpleTeXSpecialChars): Simply print the input character without
15705         any special translation if pass_thru is set.
15706
15707         * layout.h: Added bool pass_thru to layout class for being able to
15708         implement pass through of a paragraph for Literate Programming.
15709
15710         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15711         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15712         * layout.C (Read): add "passthru" to list of layout tags and add
15713         code to set the pass_thru boolean when it is read.
15714
15715 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15716
15717         * trans_decl.h: remove allowed from KmodInfo
15718
15719         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15720         remove allowed code
15721         (Load): adjust
15722
15723         * paragraph_pimpl.C (erase): use boost::prior
15724
15725         * Painter.C (text): use data() instead of c_str() when length is
15726         also provided.
15727         * WorkArea.C (putClipboard): ditto
15728         * font.h (width): ditto
15729
15730         * BufferView2.C: use it-> instead of (*it). for iterators
15731         * texrow.C: ditto
15732         * paragraph_pimpl.C: ditto
15733         * paragraph.C: ditto
15734         * minibuffer.C: ditto
15735         * language.C: ditto
15736         * kbmap.C: ditto
15737         * encoding.C: ditto
15738         * counters.C: ditto
15739         * converter.C: ditto
15740         * chset.C: ditto
15741         * Variables.C: ditto
15742         * TextCache.C: ditto
15743         * MenuBackend.C: ditto
15744         * LyXAction.C: ditto
15745         * LColor.C: ditto
15746         * FloatList.C: ditto
15747         * DepTable.C: ditto
15748         * ColorHandler.C (LyXColorHandler): ditto
15749
15750 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15751
15752         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15753
15754         * text2.C (openStuff): reintroduce this method (which had been
15755         nuked in NEW_INSETS frenzy).
15756
15757         * lyxfunc.C (Dispatch): when an action has not been handled, use
15758         its name in the error message, not its number.
15759
15760         * paragraph.C (inInset): change method name to begin with lowercase.
15761
15762         * undo_funcs.C:
15763         * text2.C: updates because of this.
15764
15765 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15766
15767         * ToolbarDefaults.C (add): add spaces in error message
15768
15769 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15770
15771         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15772         (readLyXformat2): rename return_par to first_par, use lyxlex's
15773         pushToken and remove the manual push handling.
15774         (parseSingleLyXformat2Token): add another ert comp. variable:
15775         in_tabular, rename return_par to first_par. handle newlines better
15776
15777 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15778
15779         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15780
15781 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15782
15783         * text2.C (getParFromID): removed
15784
15785         * buffer.C (getParFromID): new method moved form lyxtext.
15786         * BufferView2.C (insertErrors): adjust
15787         (setCursorFromRow): adjust
15788         * BufferView_pimpl.C (restorePosition): adjust
15789         * lyxfunc.C (Dispatch): adjust
15790         * undo_funcs.C (textUndo): adjust
15791         (textRedo): adjust
15792         (textHandleUndo): adjust
15793         (textHandleUndo): adjust
15794
15795 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15796
15797         * buffer.C: up' the LYX_FORMAT
15798
15799         * lyxfont.h: turn NO_LATEX on as default
15800
15801         * buffer.C (insertErtContents): new methods of tex style compability.
15802         (parseSingleLyXformat2Token): use it several places.
15803         * tabular.C (OldFormatRead): and here
15804
15805 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15806
15807         * text2.C: remove some commented code.
15808         reindent file.
15809
15810         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15811         * trans.C: changes because of the above.
15812
15813 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15814
15815         * text2.C (setCounter): Fix counters bug with bibliography layout.
15816
15817 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15818
15819         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15820         own member functions
15821         (simpleTeXSpecialChars): ditto
15822
15823 2001-07-06  Juergen Vigna  <jug@sad.it>
15824
15825         * a lot of files: changed the access to LyXText::status and the
15826         call of undo-functions.
15827
15828         * undo.[Ch]: added a inset_id to the undo informations.
15829
15830         * undo_funcs.[Ch]: added and moved here all undo functions.
15831
15832         * lyxtext.h: give the status enum a weight, made status_ a private
15833         variable and made accessor functions for it, removed the whole bunch
15834         of undo-functions as they are now in their own file, make some
15835         functions publically available. Added function ownerParagraph with
15836         int parameter.
15837
15838         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15839         made InInset() a const function, added getParFromID() function.
15840
15841         * buffer.[Ch]: added const version for inset_iterator functions,
15842         added getInsetFromID() function.
15843
15844         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15845         changed undo functions for new version.
15846
15847 2001-07-05  Juergen Vigna  <jug@sad.it>
15848
15849         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15850         unknow mechanism does not call the proper constructor but only this
15851         one also if I request the other!?
15852
15853 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15854
15855         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15856
15857         * text2.C (LyXText): use initialization lists.
15858
15859         * lyxtext.h (Selection): initialize set_ and mark_
15860         (init): remove method
15861
15862 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15863
15864         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15865
15866 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15867
15868         * screen.[Ch]: change method names to begin with lowercase
15869
15870         * BufferView_pimpl.C (updateScrollbar): simplify further and
15871         hopefully make it a bit faster.
15872
15873 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15874
15875         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15876         calling directly xforms functions.
15877
15878         * Painter.C (Painter):
15879         * lyx_cb.C (MenuWrite):
15880         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15881         fl_display.
15882
15883         * lyx_gui.C: remove bogus guiruntime extern declaration.
15884
15885 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15886
15887         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15888         in NEW_INSETS
15889         (redoDrawingOfParagraph): ditto
15890         (redoParagraphs): ditto
15891         (cutSelection): don't create a object for CutAndPaste use the
15892         static method directly
15893         (pasteSelection): ditto
15894
15895         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15896         LyXview (+ rename)
15897
15898 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15899
15900         * modifications to some other files because of this.
15901
15902         * Makefile.am (lyx_SOURCES): add XFormsView
15903
15904         * XFormsView.[Ch]: new files
15905
15906         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15907         the main window. Move the gui dependent stuff to XFormsView
15908
15909 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15910
15911         * tabular.C (GetCellInset): update cur_cell also in the row/col
15912         version of this function.
15913
15914         * lyxfunc.C: no need to include figure_form.h here.
15915
15916         * FontLoader.h:
15917         * lyxfunc.h:
15918         * lyxscreen.h:
15919         * text2.C:
15920         * lyxvc.C: no need to include forms.h here.
15921
15922 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15923
15924         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15925
15926         * lyxfunc.C (Dispatch):
15927         * Spacing.C (set):
15928         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15929         constructor argument.
15930
15931 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15932
15933         * paragraph.C (Paragraph): dont't clear, and just set layout.
15934         (makeSameLayout): use params's copy contructor.
15935
15936         * ParagraphParameters.[Ch] (makeSame): delete method
15937
15938 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15939
15940         * Variables.[Ch]: fix indentation, rename set to isSet
15941
15942 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15943
15944         * lyxfunc.C (Dispatch): fix typo
15945
15946 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15947
15948         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15949         upper_bound.
15950
15951         * bufferlist.C: include assert.h for emergencyWrite().
15952
15953 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15954
15955         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15956           give up at last (bug #425202) !
15957
15958 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15959
15960         * lyx_gui_misc.C:
15961         * sp_form.h:
15962         * sp_form.C:
15963         * spellchecker.h:
15964         * spellchecker.C: strip spellchecker options and bring up
15965           preferences tab instead
15966
15967 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15968
15969         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15970         the istringstream constructor
15971
15972 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15973
15974         * paragraph.C (getLayout): fix return value
15975
15976         * paragraph.h: do not declare getLayout as inline.
15977
15978         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15979
15980 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15981
15982         * lyxcursor.h (operator<): new func
15983         (operator>): new func
15984         (operator>=): new func
15985         (operator<=): new func
15986
15987         * text.C (changeCase): use selection.start and selection.end
15988         (changeRegionCase): require from to be <= to. Require par to be a
15989         valid paragraph.
15990
15991         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15992
15993 2001-06-27  Juergen Vigna  <jug@sad.it>
15994
15995         * text.C (cursorLeftOneWord): changed to return the cursor and added
15996         overlay with BufferView * parameter which calls this one.
15997         (getWord): added
15998         (selectWord): use new getWord function.
15999         (changeCase): renamed from changeWordCase as and extended to work
16000         also on selections.
16001
16002         * lyxtext.h: added enum word_location
16003
16004         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16005         changeCase as this operates now also on selections.
16006
16007 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16008
16009         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16010
16011         * many files: send debug output to Debug::INFO instead of
16012         Debug::ANY.
16013
16014         * converter.C (View):
16015         (Convert):
16016         (Move): send debug output to Debug::FILES instead of console.
16017
16018 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16019
16020         * lyxfunc.C (getStatus): use func_status
16021
16022         * func_status.h: new header, describing the results of
16023         LyXFunc::getStatus;
16024
16025         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16026         LFUN_MATH_HALIGN.
16027
16028 2001-06-25  The LyX Project  <jug@sad.it>
16029
16030         * buffer.C (sgmlOpenTag):
16031         (sgmlCloseTag):
16032         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16033
16034 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16035
16036         * text2.C: remove some dead code
16037
16038         * tabular.C (GetCellInset): store the last cell checked (gotten)
16039
16040         * tabular.h: add the helper for the speedup
16041
16042         * lyxtext.h: remove some dead code
16043
16044 2001-06-26  The LyX Project  <Asger>
16045
16046         * paragraph.C: Change export to LaTeX of alignment to
16047         \begin{center} and family for better roundtrip work with reLyX.
16048
16049         * Tune the math drawing a bit.
16050
16051 2001-06-25  The LyX Project  <Asger>
16052
16053         * LColor.C (LColor): New color for math background. New color
16054         for buttons.
16055
16056 2001-06-25  The LyX Project  <jug@sad.it>
16057
16058         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16059
16060         * lyxfunc.C (Open):
16061         * bufferlist.C (newFile): do not restrict to files ending with
16062         .lyx
16063
16064         * BufferView_pimpl.C (MenuInsertLyXFile):
16065
16066 2001-06-24  The LyX Project  <jug@sad.it>
16067
16068         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16069         of compare_no_case
16070
16071 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16072
16073         * lyxtext.h: rename most methods to begin with a small char.
16074         Lots of changes because of this.
16075
16076         * paragraph.C (Paragraph): do not call fitToSize
16077         (erase): call Pimpl::erase
16078         (insertChar): call Pimpl::insertChar
16079         (insertInset): call Pipl::insertInset
16080         (breakParagraph): do not call fitToSize
16081         (breakParagraphConservative): do not call fitToSize
16082         (fitToSize): remove method
16083
16084         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16085
16086 2001-06-24  The LyX Project  <Asger>
16087
16088         * Fix Qt compilation^2
16089
16090 2001-06-24  The LyX Project  <jug@sad.it>
16091
16092         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16093         depthHook(getDepth()-1).
16094
16095         * paragraph.h:
16096         * ParagraphParameters.h:
16097         * ParameterStruct.h: change type of depth to unsigned int ==
16098         depth_type. Many adaptations to other files before of that.
16099
16100 2001-06-24  The LyX Project  <Asger>
16101
16102         * Fix Qt compilation.
16103
16104 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16105
16106         * paragraph.h: renamed several methods to begin with small letter.
16107         several changes to many parts of the code because of this.
16108
16109 2001-06-23  The LyX Project  <jug@sad.it>
16110
16111         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16112         rewritten to discard all double spaces when KeepEmpty is off
16113         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16114         to only handle newlines but not fiddle with spaces and friends.
16115
16116         * lyxfunc.C (MenuNew): when doing 'new from template', use
16117         template_path as default directory
16118
16119 2001-06-23  The LyX Project  <Asger>
16120
16121         * Clean-up of header file includes all over
16122         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16123
16124 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16125
16126         * paragraph.h: renamed from lyxparagraph.h
16127
16128 2001-06-23  Asger  <lyx@violet.home.sad.it>
16129
16130         * Buffer.h: Removed Buffer::resize
16131         * BufferList.h: Removed BufferList::resize
16132         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16133         the document lazily when we change the width, or the font settings.
16134
16135 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16136
16137         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16138
16139 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16140
16141         * buffer.h: remove out of date comment
16142
16143 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16144
16145         * lyxscreen.h:
16146         * screen.C: fix "theoretical" GC leak
16147
16148 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16149
16150         * LaTeX.C (scanAuxFile):
16151         (deplog): remove trailing \r when reading stream (useful under
16152         win32)
16153
16154 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16155
16156         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16157         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16158         and BufferView::theLockingInset(Inset*), so should use them and not
16159         access bv_->text->the_locking_inset directly.
16160
16161         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16162
16163 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16164
16165         * Makefile.am:
16166         * tex-defs.h: remove old unused file
16167
16168 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16169
16170         * BufferView_pimpl.C: fix typo, remove minibuffer message
16171           when buffer has loaded
16172
16173 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16174
16175         * lyxfunc.C (Dispatch): use stringstream
16176         (MenuNew): use stringstream
16177         (Open): use stringstream
16178
16179         * importer.C (Import): use stringstream
16180
16181         * bufferview_funcs.C (CurrentState): use stringstream
16182
16183         * LaTeX.C (run): use stringstream
16184
16185         * BufferView_pimpl.C (savePosition): use stringstream
16186         (restorePosition): use stringstream
16187         (MenuInsertLyXFile): use stringstream
16188
16189 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16190
16191         * BufferView.C:
16192         * Bullet.C:
16193         * ColorHandler.C:
16194         * FontInfo.C:
16195         * FontLoader.C:
16196         * LColor.C:
16197         * LaTeXFeatures.C:
16198         * Painter.C:
16199         * gettext.C:
16200         * lyx_gui_misc.C:
16201         * lyxserver.C:
16202         * vspace.C: removed // -*- C++ -*- as first line.
16203
16204         * lyxfind.h:
16205         * version.h: added // -*- C++ -*- as first line.
16206
16207 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16208
16209         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16210
16211         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16212         of string
16213
16214 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16215
16216         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16217         of floats.
16218
16219 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16220
16221         * gettext.C: include LString.h even when --disable-nls is on.
16222
16223 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16224
16225         * converter.h (Get): changed argument type from int to
16226         FormatList::size_type to avoid unnecessary conversion.
16227
16228         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16229         before using it.
16230
16231 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16232
16233         * gettext.h: include LString.h even when --disable-nls is on.
16234
16235 2001-06-07  Juergen Vigna  <jug@sad.it>
16236
16237         * text.C (BreakAgain): subst spaces with tabs.
16238
16239         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16240         (resizeInsetsLyXText): set force on resizeLyXText.
16241
16242 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16243
16244         * gettext.h (gettext_init):
16245         (locale_init): use a real definition instead of a macro
16246
16247 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16248
16249         * Bufferview_pimpl.C:
16250         * LColor.h:
16251         * LColor.C: further lcolor tidies
16252
16253 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16254
16255         * BufferView_pimpl.C (updateScrollbar): simplify.
16256
16257         * BufferView2.C: don't include insets/insetinfo.h, change
16258         prototype for insertInset and call the Pimpl version. let
16259         updateInset call Pimpl version.
16260
16261         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16262         gotoInset to BufferView::Pimpl
16263
16264 2001-06-01  Juergen Vigna  <jug@sad.it>
16265
16266         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16267         inside a LockingInset (is the update needed at all?).
16268
16269 2001-05-31  Juergen Vigna  <jug@sad.it>
16270
16271         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16272         here not the old one otherwise how should we compare it afterwards
16273         if it's the same!
16274
16275 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16276
16277         * lyxfont.C:
16278         * tabular.C:
16279         * tabular-old.C:
16280         * FontInfo.C: bring C functions into global namespace when
16281         necessary
16282
16283 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16284
16285         * LString.h: make sure config.h has been loaded before LString.h.
16286
16287         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16288         (one for each char read by EatLine!).
16289
16290         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16291         variables.
16292
16293 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16294
16295         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16296         to the same as the par we break from
16297
16298 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16299
16300         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16301
16302         * MenuBackend.C (expand): also create menu entries for wide
16303         versions of the floats.
16304
16305         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16306
16307         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16308
16309         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16310         frontends/Makefile.am
16311
16312         * text2.C: adjust
16313         * text.C: adjust
16314
16315
16316         * tabular.C (getTokenValue): add std::
16317
16318         * tabular-old.C (getTokenValue): add std::
16319         (getTokenValue): ditto
16320         (getTokenValue): ditto
16321
16322         * screen.C (ToggleSelection): adjust
16323
16324         * lyxtext.h: put selection cursors inside a Selection struct.
16325
16326         * lyxfunc.C (moveCursorUpdate): adjust
16327
16328         * lyxfont.C (latexWriteStartChanges): add std::
16329
16330         * lyxfind.C: adjust
16331
16332         * font.h: delete with(char const *, LyXFont const &)
16333
16334         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16335
16336         * FontInfo.C (getFontname): add std::
16337
16338         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16339         (workAreaButtonPress): adjust
16340         (tripleClick): adjust
16341         (update): adjust
16342         (moveCursorUpdate): adjust
16343         (Dispatch): adjust
16344
16345         * BufferView2.C (gotoInset): adjust
16346
16347 2001-05-30  Juergen Vigna  <jug@sad.it>
16348
16349         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16350         to check pspell I add this as default as I now have new pspell
16351         libraries and they seem to use this.
16352
16353 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16354
16355         * text2.C (CutSelection): make the cursor valid before the call to
16356         ClearSelection.
16357
16358 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16359
16360         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16361         relied on 0 terminated strings and other horrors. Bug found due to
16362         the new assert in lyxstring!
16363
16364         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16365         KP_ keys.
16366
16367 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16368
16369         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16370         to latinkeys.bind.
16371
16372         * lyxfunc.C (processKeySym): change method of getting to the
16373         self-insert char.
16374
16375         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16376         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16377         * BufferView_pimpl.[Ch]: here as private methods.
16378
16379 2001-05-28  Juergen Vigna  <jug@sad.it>
16380
16381         * text.C (SetHeightOfRow): added the update() call again as it is
16382         needed to initialize inset dimensions!
16383
16384 2001-05-16  Juergen Vigna  <jug@sad.it>
16385
16386         * text2.C (SetCharFont): Add new function with BufferView * and
16387         bool toggleall parameters for setting insets internal fonts.
16388         (SetFont): Freeze the undo as we may change fonts in Insets and
16389         all this change should be inside only one Undo!
16390
16391         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16392         setting font's in insets as for them we have the SetFont function!
16393
16394 2001-05-15  Juergen Vigna  <jug@sad.it>
16395
16396         * text2.C (ClearSelection): to be sure we REALLY don't have any
16397         selection anymore!
16398
16399         * tabular.C (TeXCellPreamble): fixed the left border problem for
16400         multicolumn cells.
16401
16402 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16403
16404         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16405         dependancy file
16406
16407 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16408
16409         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16410         LFUN_BREAKPARAGRAPH.
16411
16412         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16413         help test to "internal only", similar for LFUN_INSERT_URL
16414
16415         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16416         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16417         auto_region_delete and deadkeys.
16418
16419 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16420
16421         * LColor.h:
16422         * LColor.C: remove some dead entries, tidy a little
16423
16424 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16425
16426         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16427         commented code.
16428         (Dispatch): implement LFUN_ESCAPE
16429
16430         * commandtags.h: add LFUN_ESCAPE
16431
16432         * LyXAction.C (init): add entry for LFUN_ESCAPE
16433
16434         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16435         Remove commented code.
16436         (insertNote): moved here
16437         (open_new_inset): moved here
16438
16439         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16440         BufferView_pimpl
16441
16442 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16443
16444         * kbmap.C (findbinding): clean it up and make it work correctly.
16445
16446         * lyx_main.C (init): do not pass argc and argv as parameters
16447
16448 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16449
16450         * buffer.C: fix path for OS/2 & Win32
16451
16452         * lyx_gui.C:
16453         * lyx_main:
16454         * lyx_main.C: Added os:: class.
16455
16456         * os2_defines.h: update
16457
16458 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16459
16460         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16461         better by trying again with reduced state.
16462
16463 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16464
16465         * lyxrc.C (read): print error about invalid key sequence only when
16466         debugging (because not all latinX keysyms are known to some X
16467         servers)
16468
16469         * kbsequence.C (getiso): add a few std:: qualifiers
16470         (getiso): comment out extra return statement.
16471
16472 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16473
16474         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16475         handling.
16476         (Dispatch): enhance the accent inset a bit. (not perfect)
16477
16478 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16479
16480         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16481
16482 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16483
16484         * bufferlist.C (emergencyWrite): fix assert() call
16485
16486 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16487
16488         * text.C (InsertChar): Added trivial patch to only send the "you
16489         can not do multiple spaces this way" message once during a
16490         session.
16491
16492 2001-05-08  Baruch Even  <baruch@lyx.org>
16493
16494         * Makefile.am: Changed order of libraries to get LyX to link properly
16495         with the gnome frontend.
16496
16497 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16498
16499         * LaTeXFeatures.h: add a std:: qualifier
16500
16501 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16502
16503         * paragraph.C (String): use stringstream
16504
16505 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16506
16507         * paragraph.C (writeFile): remove footflag arg
16508
16509         * buffer.C (makeLaTeXFile): use stringstream
16510         (latexParagraphs): remove footnot gurba
16511
16512         * LaTeXFeatures.C (getPackages): use stringstream
16513         (getMacros): likewise
16514         (getTClassPreamble): likewise
16515         (getFloatDefinitions): new method
16516
16517         * paragraph.C (writeFile): reindent
16518         (Erase): reindent
16519
16520         * WorkArea.h: revert the xpos + etc changes.
16521
16522         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16523
16524         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16525
16526         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16527         (pasteSelection): likewise
16528         * text2.C (CreateUndo): likewise
16529
16530 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16531
16532         * minibuffer.C (peek_event): temporarily reduce the functionality
16533         of the minibuffer (to allow args on lfuns)
16534
16535         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16536         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16537
16538         * buffer.C (readInset): add compability reading of old float
16539         lists, add reading of new style float list.
16540         (readInset): avoid reevaluation of inscmd.getCmdName()
16541         (getLists): reindent
16542
16543         * MenuBackend.C (MenuItem): implement parsing of
16544         md_floatlistinsert and md_floatinsert.
16545         (expand::LastFiles): move initalizaton of iterators out of loop,
16546         avoid reevaluation.
16547         (expand::Documents): introduce typdedef vector<string> Strings,
16548         and use it.
16549         (expand::ExportFormats): introduce typedef vector<Format const *>
16550         Formats, and use it.
16551         (expand): implement FloatListInsert and FloatInsert.
16552
16553         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16554         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16555         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16556
16557         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16558         handling.
16559         (Dispatch::LFUN_FLOAT_LIST): implement
16560
16561 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16562
16563         * LaTeX.C (run): Fix problem with --export code.
16564
16565 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16566
16567         * BufferView.[Ch] (workarea): removed.
16568         (getClipboard) new method; wrapper for workarea()->getClipboard()
16569
16570         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16571         bug.
16572
16573         * WorkArea.h (width, height, xpos, ypos): These methods all
16574         returned the dimensions of the work_area sub-area of WorkArea,
16575         resulting in a position error if the WorkArea were resized. Now
16576         return the dimensions of the entire WorkArea.
16577
16578         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16579
16580 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16581
16582         * LaTeX.C (deplog): correct the syntax of regex reg1
16583
16584 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16585
16586         * undo.C: remove !NEW_INSETS cruft
16587
16588 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16589
16590         * text2.C: remove !NEW_INSETS cruft
16591
16592         * text.C: remove !NEW_INSETS cruft
16593
16594         * tabular.C: remove !NEW_INSETS cruft
16595
16596         * spellchecker.C: remove !NEW_INSETS cruft
16597
16598         * lyxtext.h: remove !NEW_INSETS cruft
16599
16600         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16601
16602         * lyxfunc.C: remove !NEW_INSETS cruft
16603
16604         * lyxfind.C: remove !NEW_INSETS cruft
16605
16606         * lyx_cb.C: remove !NEW_INSETS cruft
16607
16608         * figureForm.C: remove  !NEW_INSETS cruft
16609
16610         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16611
16612         * buffer.[Ch]: remove !NEW_INSETS cruft
16613
16614         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16615
16616         * CutAndPaste.C: remove !NEW_INSETS cruft
16617
16618         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16619
16620         * BufferView2.C: remove !NEW_INSETS cruft
16621
16622         * BufferView.h: remove !NEW_INSETS cruft
16623
16624 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16625
16626         * Lsstream.h: include LString.h before the sstream headers to
16627         fix problem with gcc 2.95.3 and lyxstring
16628
16629 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16630
16631         * lyx_main.C: add using directives when needed for C functions
16632         declared in std:: namespace.
16633
16634 2001-04-27  Juergen Vigna  <jug@sad.it>
16635
16636         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16637         (SetHeightOfRow): comment out the update call should not be needed!
16638
16639 2001-04-13  Juergen Vigna  <jug@sad.it>
16640
16641         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16642         (LyXTabular): tried to minimize operator= operations (and realized
16643         hopfully Lars wish).
16644
16645 2001-04-27  Juergen Vigna  <jug@sad.it>
16646
16647         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16648
16649 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16650
16651         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16652
16653         * buffer.C (readInset): hack to make listof algorithm work
16654
16655         * BufferView_pimpl.C: hack to make listof algorithm work
16656
16657 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16658
16659         * LyXAction.C: removed all !NEW_INSETS cruft
16660         (init): moved lfun_item in method
16661
16662         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16663
16664 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16665
16666         * BufferView2.C (theLockingInset): white space.
16667
16668 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16669
16670         * minibuffer.C: include <iostream>
16671
16672         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16673
16674         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16675
16676         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16677
16678         * text.[Ch] (TransposeChars): new method
16679
16680 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16681
16682         * call message directly through LyXView instead of through LyXFunc
16683         * BufferView2.C: adjust
16684         * BufferView_pimpl.C: adjust
16685         * FontLoader.C: adjust
16686         * buffer.C: adjust
16687         * bufferview_funcs.C: adjust
16688         * converter.C: adjust
16689         * figureForm.C: adjust
16690         * importer.C: adjust
16691         * lyx_cb.C: adjust
16692         * lyx_gui_misc.C: adjust
16693         * lyxfunc.C: adjust
16694         * lyxvc.C: adjust
16695         * text2.C: adjust
16696         + more files in subdirs
16697
16698         * lyxparagraph.h (size): move up int file
16699         (GetLayout): ditto
16700
16701         * adjust all uses of Assert to lyx::Assert.
16702
16703         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16704         lyxfunctional in namespace lyx
16705         * layout.C (hasLayout): ditto
16706         (GetLayout): ditto
16707         (GetLayout): ditto
16708         (delete_layout): ditto
16709         (NumberOfClass): ditto
16710         * converter.C (GetFormat): ditto
16711         (GetNumber): ditto
16712         (Add): ditto
16713         (Delete): ditto
16714         (SetViewer): ditto
16715         * bufferlist.C (getFileNames): ditto
16716         (emergencyWriteAll): ditto
16717         (exists): ditto
16718         (getBuffer): ditto
16719         * MenuBackend.C (hasSubmenu): ditto
16720         (hasMenu): ditto
16721         (getMenu): ditto
16722         * BufferView_pimpl.C (getInsetByCode): ditto
16723
16724 2001-04-18  Juergen Vigna  <jug@sad.it>
16725
16726         * vspace.C (asLatexString): fixed the 100% problem.
16727
16728 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16729
16730         * lyxfunc.C (Dispatch):
16731         * minibuffer.C:
16732         * minibuffer.h: add a few std:: qualifiers
16733
16734 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16735
16736         * minibuffer.[Ch]: reimplement so that commands is initiated and
16737         run from lyxfunc, simplified som handling, and made the completion
16738         and history code for complete. wip.
16739
16740         * lyxfunc.C (processKeySym): call message
16741         (miniDispatch): new temporary method
16742         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16743         (LFUN_MESSAGE): implement
16744         (LFUN_MESSAGE_PUSH): implement
16745         (LFUN_MESSAGE_POP): implement
16746         (initMiniBuffer): the initial/defualt minibuffer message.
16747
16748         * lyxfont.[Ch]: inline some more getters
16749
16750         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16751
16752         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16753
16754         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16755         (AutoSave): use LFUN_MESSAGE
16756         (Reconfigure): ditto
16757
16758         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16759
16760         * figureForm.C: use LFUN_MESSAGE
16761
16762         * converter.C (runLaTeX): use LFUN_MESSAGE
16763
16764         * bufferview_funcs.C: use LFUN_MESSAGE
16765         (Melt): ditto
16766         (changeDepth): ditto
16767
16768         * bufferparams.h: use boost::
16769
16770         * bufferlist.h: inherit privately from noncopyable
16771
16772         * bufferlist.C (loadLyXFile): remove some commented code.
16773
16774         * buffer.C (runChktex): use LFUN_MESSAGE
16775
16776         * ShareContainer.h: inherit privately from noncopyable
16777
16778         * ParagraphParameters.[hC] (depth): inline it.
16779
16780         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16781         methods.
16782         (message): new method
16783         (messagePush): ditto
16784         (messagePop): ditto
16785         (show): init minibuffer
16786         (showState): direct call
16787
16788         * LaTeX.[Ch]: inherit privately from noncopyable
16789         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16790         instead of WriteStatus.
16791
16792         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16793
16794         * BufferView_pimpl.C (buffer): don't init minibuffer
16795         (workAreaButtonPress): use LFUN_MESSAGE
16796         (workAreaButtonRelease): ditto
16797         (savePosition): ditto
16798         (restorePosition): ditto
16799         (MenuInsertLyXFile): ditto
16800         (workAreaExpose): don't init minibuffer
16801         (update): remove commented code, simplify
16802
16803         * BufferView2.C (openStuff): use LFUN_MESSAGE
16804         (toggleFloat): ditto
16805         (menuUndo): ditto
16806         (menuRedo): ditto
16807         (copyEnvironment): ditto
16808         (pasteEnvironment): ditto
16809         (copy): ditto
16810         (cut): ditto
16811         (paste): ditto
16812         (gotoInset): ditto
16813         (updateInset): remove some commented code
16814
16815         * lastfiles.h: inherit privately from noncopyable
16816         * layout.h: ditto
16817         * lyx_gui.h: ditto
16818         * lyx_main.h: ditto
16819         * lyxlex.h: ditto
16820         * lyxlex_pimpl.h: ditto
16821
16822         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16823         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16824         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16825
16826         * LyXAction.h: inherit privately from noncopyable, add methods
16827         func_begin, func_end, returning iterators to the func map.
16828
16829         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16830         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16831         (func_begin): new method
16832         (func_end): new method
16833
16834         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16835         and not)
16836         (copySelection): ditto
16837         (pasteSelection): ditto
16838
16839         * BufferView.C: whitespace change
16840         * BufferView.h: inherit privately from noncopyable
16841
16842 2001-04-16  Allan Rae  <rae@lyx.org>
16843
16844         * tabular-old.C (l_getline):
16845         * spellchecker.C (sc_check_word):
16846         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16847         an unrecognised preprocessor directive.  So ensure they're wrapped.
16848
16849 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16850
16851         * src/exporter.C (Export): Give an error message when path to file
16852         contains spaces.
16853
16854 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16855
16856         * LaTeX.C (deplog): Always check that foundfile exists.
16857
16858 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16859
16860         * lyx_main.h:
16861         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16862
16863 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16864
16865         * tabular.[Ch] (getLabelList): implement new method
16866
16867         * minibuffer.h: comment ouf setTiimer
16868
16869         * minibuffer.C (ExecutingCB): constify res
16870         (peek_event): constify s
16871         (Set): constify ntext
16872         (Init): constify nicename
16873
16874         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16875
16876         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16877         (savePosition): use two params to Minibuffer::Set
16878         (restorePosition): ditto
16879
16880 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16881
16882         * lyx_main.C: include language.h
16883
16884         * Makefile.am (lyx_main.o): add language.h
16885
16886 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16887
16888         * exporter.C:
16889         * paragraph.C:
16890         * screen.C:
16891         * tabular.C:
16892         * CutAndPaste.C: include gettext.h
16893
16894         * lyxfont.h: remove old hack with ON and OFF.
16895
16896         * lyxparagraph.h:
16897         * lyxfont.h: do not include language.h...
16898
16899         * BufferView2.C:
16900         * LaTeXFeatures.C:
16901         * Painter.C:
16902         * bufferview_funcs.C:
16903         * font.C:
16904         * lyxfont.C:
16905         * text.C:
16906         * text2.C:
16907         * trans_mgr.C:
16908         * paragraph.C: ... but do it here instead
16909
16910 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16911
16912         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16913
16914         * tabular.C: small reformat
16915
16916         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16917         NEW_INSETS version
16918         (GetChar): ditto
16919         (BreakParagraph): ditto
16920         (SetOnlyLayout): ditto
16921         (SetLayout): ditto
16922
16923         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16924         with one arg less.
16925
16926         * lastfiles.C: removed most using decl, add std:: where needed
16927
16928         * buffer.C: ws changes
16929
16930         * MenuBackend.C (class compare_format): put into anon namespace
16931         (expand): constify label, names, action, action2
16932         (expand):
16933
16934         * text.C (SingleWidth): constify font
16935         (IsBoundary): constify rtl2
16936         (GetVisibleRow): constify ww
16937
16938         * LaTeX.C (deplog): constify logfile
16939
16940         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16941         start_x, end_x
16942         (workAreaExpose): constify widthChange, heightChange
16943
16944         * lyxrow.C (par): moved
16945         (height): moved
16946         (next): moved
16947         * lyxrow.h: as inlines here
16948
16949         * lyxfont.h (shape): moved from lyxfont.C
16950         (emph): moved from lyxfont.C
16951
16952         * lyxfont.C (LyXFont): use initialization list for all
16953         constructors
16954         (shape): move to lyxfont.h as inline
16955         (emph): move to lyxfont.h as inline
16956
16957
16958 2001-04-04  Juergen Vigna  <jug@sad.it>
16959
16960         * vspace.C: had to include stdio.h for use of sscanf
16961
16962 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16963
16964         * BufferView.h:
16965         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16966         independent of xforms.
16967
16968 2001-04-02  Juergen Vigna  <jug@sad.it>
16969
16970         * spellchecker.C: fixed namespace placing!
16971
16972 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16973
16974         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16975         the LyXParagraph * is 0.
16976
16977 2001-03-29  Juergen Vigna  <jug@sad.it>
16978
16979         * vspace.C: added support for %, c%, p%, l%.
16980         (stringFromUnit): added helper function.
16981         (asLatexString): changed to give right results for the %-values.
16982
16983         * buffer.C: convert the widthp in a width%.
16984
16985 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16986
16987         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16988         figureForm.[Ch].
16989
16990         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16991         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16992
16993         * lyx_cb.[Ch]: see above.
16994
16995         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16996         form1.[Ch].
16997
16998         * form1.[Ch]:
16999         * lyx.[Ch]: replaced by figure_form.[Ch].
17000
17001         * lyx_gui.C:
17002         * lyx_gui_misc.C:
17003         * lyxfunc.C: changed headers associated with above changes.
17004
17005 2001-03-27  Juergen Vigna  <jug@sad.it>
17006
17007         * BufferView_pimpl.C: set the temporary cursor right!
17008
17009 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17010
17011         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17012
17013 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17014
17015         * LString.h: removed "using std::getline"!
17016
17017         * BufferView_pimpl.C (Dispatch): changes due to changes in
17018         InsetInclude::Params.
17019
17020         * buffer.C (tag_name): removed redundant break statements as they were
17021         producing lots of warnings with my compiler.
17022
17023 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17024
17025         * LString.h: add "using std::getline" when using the real <string>.
17026
17027 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
17028
17029         * buffer.C: removed bitset usage.
17030         PAR_TAG moved to an anonymous name space.
17031         (tag_name): new funtion, also in the anonymous namespace.
17032         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17033         (makeDocBookFile): clean code. Completed transition from string arrays
17034         to string vectors.
17035         (SimpleDocBookOnePar): code clean.
17036
17037 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17038
17039         * tabular.C: add some comments.
17040
17041 2001-03-22  Juergen Vigna  <jug@sad.it>
17042
17043         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17044         compatibility read a bit and fixed bug with minipage in different
17045         depth.
17046
17047 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
17048
17049         * buffer.C (pop_tag): removed.
17050         (push_tag): removed.
17051         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17052         array replaced with vector. Added support for CDATA sections.
17053         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17054         at any nest level.
17055         (makeDocBookFile): XML conformant declaration of CDATA section,
17056         fixed bug related to <emphasis> in the first paragraph char.
17057         (sgmlOpenTag): exclude empty tags.
17058         (sgmlCloseTag): ditto.
17059
17060         * buffer.h (pop_tag): removed.
17061         (push_tag): removed.
17062
17063 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17064
17065         * language.h (Languages): added size_type and size().
17066
17067 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17068
17069         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17070         response on compability reading of minipages. One probliem is that
17071         the old usage of minipages was «flertydig»
17072
17073         * several files here and in subdirs: don't use static at file
17074         scope use anon namespaces instead.
17075
17076 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17077
17078         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17079         LaTeX output. This is necessary for Literate document
17080         processing.
17081
17082 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17083
17084         * buffer.C: insert hfill when needed.
17085
17086         * tabular.C (l_getline): use string::erase, small whitespace change.
17087
17088         * BufferView_pimpl.C: try the anon namespace.
17089         * WorkArea.C: ditto
17090
17091 2001-03-16  Juergen Vigna  <jug@sad.it>
17092
17093         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17094         otherwise it won't open options-dialogs.
17095
17096         * buffer.C: honor pextraWidth(p) on converting minipages.
17097
17098         * tabular.C (l_getline): changed the functions to strip trailing \r.
17099
17100 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17101
17102         * BufferView_pimpl.C:
17103         * minibuffer..C: added "using SigC::slot" declaration.
17104
17105 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17106
17107         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17108
17109         * text2.C: ditto
17110
17111         * text.C: ditto
17112
17113         * paragraph.C: ditto
17114
17115         * lyxtext.h: NO_PEXTRA
17116
17117         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17118
17119         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17120         * ParameterStruct.h: ditto
17121         * ParagraphParameters.h: ditto
17122         * lyxparagraph.h: ditto
17123
17124 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17125
17126         * buffer.C: add compability for minipage alignment.
17127         (latexParagraphs): remove unwanted pextra check.
17128
17129         * several files: remove CXX_WORKING_NAMESPACES
17130
17131         * buffer.C (pop_tag): tie is in namespace boost
17132
17133         * BufferView.h: noncopyable is in namespace boost
17134         * lyxlex.h: ditto
17135         * lyx_main.h: ditto
17136         * lyx_gui.h: ditto
17137         * layout.h: ditto
17138         * lastfiles.h: ditto
17139         * bufferlist.h: ditto
17140         * ShareContainer.h: ditto
17141         * LyXView.h: ditto
17142         * LyXAction.h: ditto
17143         * LaTeX.h: ditto
17144
17145 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17146
17147         * Merging changes from BRANCH_MVC back into HEAD.
17148
17149         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17150
17151 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17152
17153         * BufferView_pimpl.C: change from intl.C
17154
17155         * combox.h:
17156         * combox.C:
17157         * Makefile.am: move combox.*
17158
17159         * form1.h:
17160         * form1.C:
17161         * lyx_gui.C:
17162         * intl.h:
17163         * intl.C: remove dialog (covered by prefs)
17164
17165 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17166
17167         * lyxfunc.C (Dispatch): removed redundant break statement.
17168
17169 2001-03-14  Juergen Vigna  <jug@sad.it>
17170
17171         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17172
17173 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17174
17175         * buffer.C: add hack to fix compability reading of minipages.
17176
17177 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17178
17179         * buffer.C (getLists): Cleanup.
17180
17181 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17182
17183         * lyxfont.C (update): don't honor toggleall on font size.
17184
17185 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17186
17187         * bmtable.c:
17188         * bmtable.h:
17189         * Makefile.am: moved to frontends/xforms/
17190
17191         * lyx_gui_misc.C:
17192         * lyxfunc.C:
17193         * BufferView_pimpl.C: changes for moved mathpanel
17194
17195 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17196
17197         * gettext.h: fix gettext_init() in --disable-nls
17198
17199 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17200
17201         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17202
17203 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17204
17205         * lyx.C:
17206         * lyx.h: strip external form
17207
17208 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17209
17210         * BufferView_pimpl.C: add comment, destroySplash()
17211
17212 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17213
17214         * BufferView_pimpl.C:
17215         * LyXAction.C:
17216         * buffer.C:
17217         * commandtags.h:
17218         * lyxfunc.C: use re-worked insetinclude
17219
17220 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17221
17222         * buffer.C: add using std::stringstream.
17223
17224         * lyx_cb.C: readd using std::ios.
17225
17226         * buffer.C: add using std::map.
17227
17228         * BufferView_pimpl.C: add using std::vector.
17229
17230         * ShareContainer.h: add std:: to swap.
17231
17232         * buffer.h: add some typedefs
17233         * buffer.C (getLists): use them
17234         (getLists): renamed from getTocList.
17235         add a counter for the different float types and use it in the
17236         generated string.
17237         (getLists): use the same counter for the NEW_INSETS and the "non"
17238         NEW_INSETS
17239
17240         * lyx_cb.h: remove unused items, includes, using etc.
17241
17242         * ShareContainer.h: remove some commented code, add more comments
17243         and "documentation".
17244
17245 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17246
17247         * buffer.C (getTocList): make the list also when NEW_INSETS is
17248         defined.
17249
17250         * buffer.h: remove TocType
17251
17252         * buffer.C (getTocList): change to return a map<string,
17253         vector<TocItem> >, implement for dynamic number of list.
17254
17255         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17256         * text2.C (PasteSelection): adjust
17257         * CutAndPaste.C (pasteSelection): adjust
17258
17259         * FloatList.C (FloatList): update from the new_insets branch.
17260         * Floating.[Ch]: ditto
17261         * LaTeXFeatures.C: ditto
17262         * buffer.C: ditto
17263         * lyxlex_pimpl.C: ditto
17264
17265         * paragraph.C (Last): remove when NEW_INSETS is defined.
17266
17267         * other file: changes because of the above.
17268
17269 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17270
17271         * lyxparagraph.h: rename next to next_, previous to previous_,
17272         make them private for NEW_INSETS. Rename Next() to next(),
17273         Previous() to previous().
17274
17275         * other files: changes because of the above.
17276
17277 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17278
17279         * BufferView.h:
17280         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17281         problem.
17282
17283 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17284
17285         * main.C (main): pass lyx_localedir to gettext_init().
17286
17287         * gettext.h: remove locale_init and gettext_init macros
17288
17289         * gettext.C (locale_init): new function
17290         (gettext_init): new function
17291
17292         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17293         setlocale().
17294
17295 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17296
17297         * Moved credits to frontends:
17298         * credits.[Ch]: removed
17299         * credits_form.[Ch]: removed
17300         * lyx_gui_misc.C: remove credits stuff
17301         * Makefile.am:
17302
17303 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17304
17305         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17306
17307         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17308         unneeded destructor.
17309
17310         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17311         a standalone pointer again.
17312
17313         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17314
17315 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17316
17317         * Makefile.am:
17318         * filedlg.h:
17319         * filedlg.C:
17320         * LyXAction.C:
17321         * ToolbarDefaults.C:
17322         * bufferlist.C:
17323         * commandtags.h:
17324         * form1.C:
17325         * form1.h:
17326         * lyx_cb.C:
17327         * lyx_cb.h:
17328         * lyxfunc.h:
17329         * lyxfunc.C:
17330         * BufferView_pimpl.C: use new file dialog in GUII
17331
17332         * lyx_cb.h:
17333         * lyx_cb.C: remove LayoutsCB to Toolbar
17334
17335 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17336
17337         * ShareContainer.h (get): add std:: qualifier
17338
17339 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17340
17341         * ShareContainer.h: define a proper ShareContainer::value_type
17342         type (and use typename to please compaq cxx)
17343
17344 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17345
17346         * lyxparagraph.h: move serveral local vars to
17347         ParameterStruct/ParagraphParameters., use ShareContainer in
17348         FontTable., make vars in FontTable private and add getter and
17349         setter.
17350
17351         * paragraph.C: changes because of the above.
17352
17353         * lyxfont.h: remove copy constructor and copy assignment. (the
17354         default ones is ok), move number inside FontBits. move inlines to
17355         lyxfont.C
17356
17357         * lyxfont.C: add number to initializaton of statics, move several
17358         inlines here. constify several local vars. some whitespace
17359         cleanup. Dont hide outerscope variables.
17360
17361         * Spacing.h: add two new constructors to match the set methods.
17362
17363         * ShareContainer.h: new file, will perhaps be moved to support
17364
17365         * ParameterStruct.h: new file
17366
17367         * ParagraphParameters.h: new file
17368
17369         * ParagraphParameters.C: new file
17370
17371         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17372         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17373
17374         * BufferView_pimpl.C: ParagraphParameter changes.
17375         * buffer.C: Likewise.
17376         * bufferview_funcs.C: Likewise.
17377         * text.C: Likewise.
17378         * text2.C: Likewise.
17379
17380 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17381
17382         * lyxfind.C (LyXReplace): do not redefine default argument in
17383         implementation.
17384         (IsStringInText): ditto
17385         (SearchForward): ditto
17386         (SearchBackward): ditto
17387
17388 2001-03-06  Juergen Vigna  <jug@sad.it>
17389
17390         * lyxfind.C (IsStringInText): put parentes around expressions.
17391
17392 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17393
17394         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17395
17396 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17397
17398         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17399
17400         * stl_string_fwd.h: add comment
17401
17402         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17403
17404         * tabular.h:
17405         * tabular.C: remove unused DocBook methods
17406
17407         * intl.C:
17408         * language.C:
17409         * paragraph.C:
17410         * buffer.C:
17411         killed DO_USE_DEFAULT_LANGUAGE
17412
17413 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17414
17415         * lyx_gui.C: do not include language.h.
17416
17417         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17418         arguments in function implementation.
17419
17420 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17421
17422         * BufferView_pimpl.C: add <ctime>
17423
17424 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17425
17426         * BufferView_pimpl.C: add using std::find_if
17427
17428 2001-02-27  José Matos  <jamatos@fep.up.pt>
17429
17430         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17431         by OnlyPath.
17432
17433 2001-02-11  José Matos  <jamatos@fep.up.pt>
17434
17435         * buffer.C (makeDocBookFile): command styles now have a parameter as
17436         "title" by default.
17437
17438 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17439
17440         * layout_forms.[Ch]: removed
17441         * lyx_cb.[Ch]: out character
17442         * lyx_gui.C: out character
17443         * lyx_gui_misc.C: out character
17444         * bufferview_funcs.C: : out character,
17445         added toggleall as parameter in ToggleAndShow
17446
17447 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17448
17449         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17450
17451         * text2.C (SetCurrentFont): Disable number property at boundary.
17452
17453 2001-02-26  Juergen Vigna  <jug@sad.it>
17454
17455         * lyxfunc.C (getStatus): added a string argument override function so
17456         that this is correctly called from LyXFunc::Dispatch if it contains a
17457         do_not_use_argument which is used!
17458         (Dispatch): added check for "custom" export and call appropriate func.
17459
17460 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17461
17462         * lyxrc.C: Add language_command_local, language_use_babel and
17463         language_global_options.
17464
17465         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17466
17467         * buffer.C (makeLaTeXFile): Use language_use_babel and
17468         language_global_options.
17469
17470 2001-02-23  Juergen Vigna  <jug@sad.it>
17471
17472         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17473         which works with LyXText and putted it inside BufferView. Here now we
17474         only call for that part the BufferView::Dispatch() function.
17475
17476         * BufferView.C (Dispatch): added.
17477
17478         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17479         functions which needs to use a LyXText over from LyXFunc.
17480         (MenuInsertLyXFile): added
17481         (getInsetByCode): added
17482         (moveCursorUpdate): added
17483         (static TEXT): added
17484
17485 2001-02-22  Juergen Vigna  <jug@sad.it>
17486
17487         * BufferView_pimpl.C (update): call a status update to see if LyXText
17488         needs it.
17489
17490 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17491
17492         * vc-backend.C (revert): implement for CVS
17493         (getLog): implement for CVS
17494
17495 2001-02-20  Juergen Vigna  <jug@sad.it>
17496
17497         * text2.C (ClearSelection): added BufferView param for inset_owner call
17498
17499         * lyxfunc.C (TEXT): added this function and use it instead of
17500         directly owner->view()-text of getLyXText().
17501
17502 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17503
17504         * src/layout_forms.C: out preamble
17505         * src/layout_forms.h: out preamble
17506         * src/lyx_cb.C: out preamble
17507         * src/lyx_cb.h: out preamble
17508         * src/lyx_gui.C: out preamble
17509         * src/lyx_gui_misc.C: out preamble
17510         * src/lyxfunc.C: connect with guii preamble
17511
17512 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17513
17514         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17515
17516 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17517
17518         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17519         whether to run bibtex.
17520
17521 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17522
17523         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17524
17525 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17526
17527         * Makefile.am (lyx_SOURCES): removed bibforms.h
17528
17529         * vspace.h: doxygen
17530
17531         * text.C (GetVisibleRow): make several local vars const
17532
17533         * tabular.C: small cleanup.
17534
17535         * lyxserver.C (callback): use compare instead of strncmp
17536
17537         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17538         inlines to after class or to paragraph.C
17539
17540         * lyxfont.h: remove friend operator!=
17541
17542         * converter.h: move friend bool operator< to non friend and after
17543         class def.
17544
17545         * combox.h: small cleanup
17546
17547         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17548         to inlines after class def.
17549
17550         * buffer.C (pop_tag): use string operations instead of strcmp
17551
17552         * bmtable.c: doxygen, small cleanup
17553
17554         * LaTeX.h: remove friend operator==
17555
17556 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17557
17558         * screen.C:
17559         * lyxrc.[Ch]:
17560         * lyxfunc.C:
17561         * lyxfont.[Ch]:
17562         * lyx_cb.C:
17563         * intl.[Ch]:
17564         * commandtags.h:
17565         * buffer.C:
17566         * WorkArea.[Ch]:
17567         * LyXAction.C:
17568         * BufferView_pimpl.C:
17569         * BufferView.[Ch]: remove cruft
17570
17571 2001-02-14  Juergen Vigna  <jug@sad.it>
17572
17573         * lyxfunc.C: removed #if 0 unused code
17574
17575         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17576
17577         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17578
17579         * text2.C (SetSelection): added a BufferView * parameter
17580
17581 2001-02-13  Juergen Vigna  <jug@sad.it>
17582
17583         * lyxfunc.C (Dispatch): fixed protected blank problem.
17584         * BufferView2.C (protectedBlank): added LyxText * parameter.
17585
17586         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17587         (AppendColumn): same as above for column_info.
17588
17589         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17590         (moveCursorUpdate): use a LyXText param for support of InsetText.
17591
17592         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17593         (tripleClick): ditto
17594
17595         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17596
17597         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17598
17599         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17600
17601         * text2.C (SetSelection): set correct update status if inset_owner
17602         (ToggleFree): ditto
17603
17604 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17605
17606         * tabular.C: remove some commented code.
17607
17608 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17609
17610         * BufferView_pimpl.C: call hideSplash()
17611
17612         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17613
17614         * include_form.h:
17615         * bibforms.h: remove
17616
17617         * lyxfunc.C:
17618         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17619           add LFUN_CHILD_CREATE
17620
17621         * counters.h: fix tiny typo
17622
17623         * lyx_cb.C:
17624         * lyx.h:
17625         * lyx_gui.C:
17626         * lyx.C: move splash to frontends/xforms/
17627
17628         * lyx_gui_misc.C: move Include and Bibform to frontends
17629
17630         * lyxvc.h: clarify comment
17631
17632         * vspace.C: tiny housekeeping
17633
17634 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17635
17636         * text.C (PrepareToPrint): RTL Fix.
17637
17638         * paragraph.C (GetUChar): New method.
17639         (String):  Use GetUChar.
17640
17641         * buffer.C (asciiParagraph): Use GetUChar.
17642
17643 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17644
17645         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17646
17647 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17648
17649         * buffer.h:
17650         * buffer.C: rename to getLogName(), handle
17651           build log / latex log nicely
17652
17653 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17654
17655         * MenuBackend.C:
17656         * MenuBackend.h: remove support for reference menuitem type.
17657
17658 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17659
17660         * BufferView_pimpl.C: housekeeping
17661         * BufferView_pimpl.h:
17662         * LyXView.h:
17663         * Makefile.am:
17664         * Timeout.C:
17665         * Timeout.h:
17666         * minibuffer.h: move Timeout GUI-I
17667
17668 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17669
17670         * lyxrc.C (read): Update converters data-structures.
17671
17672 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17673
17674         * LaTeX.h (operator!=): add operator != for Aux_Info
17675
17676 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17677
17678         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17679
17680         * LaTeXLog.C: deleted, useful code moved to Buffer
17681
17682         * buffer.h:
17683         * buffer.C: new function getLatexLogName()
17684
17685         * lyx_gui_misc.C:
17686         * lyx_gui.C:
17687         * lyxvc.C:
17688         * lyxvc.h:
17689         * lyxfunc.C: use frontends for LaTeX and VC logs
17690
17691 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17692
17693         * LaTeX.h: yet another std:: that Allan forgot.
17694
17695         * Variables.C (set): renamed from isset(), because this clashes
17696         with some HP-UX macros (grr).
17697
17698 2001-02-06  Allan Rae  <rae@lyx.org>
17699
17700         * LaTeX.h: Another bug fix.  Missing std:: this time.
17701
17702 2001-02-04  Allan Rae  <rae@lyx.org>
17703
17704         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17705         floats problem. I've left it commented out because it's not quite
17706         correct.  It should also test that the current object is a table or
17707         figure inset.  But I haven't gotten around to figuring out how to do
17708         that.  I *think* it'll be something like: "table" == inset.type()
17709
17710         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17711         bool.
17712
17713 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17714
17715         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17716         all the citation/databases/styles in the auxilary file.
17717         (run): Rerun latex if there was a babel language error.
17718
17719 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17720
17721         * text.C (Backspace): Preserve the font when changing newline char
17722         with a space.
17723         (BreakParagraph): If the cursor is before a space, delete the space.
17724
17725         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17726
17727 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17728
17729         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17730         new argument (code).
17731         (ChangeCitationsIfUnique): New method.
17732
17733         * paragraph.C (GetPositionOfInset): Handle bibkey.
17734
17735 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17736
17737         * BufferView_pimpl.h: change type of Position::par_pos to
17738         LyXParagraph::size_type.
17739
17740 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17741
17742         * BufferView_pimpl.C (savePosition, restorePosition): Write
17743         messages to minibuffer.
17744
17745 2001-01-28  José Matos  <jamatos@fep.up.pt>
17746
17747         * buffer.C (makeDocBookFile): adds support for document language.
17748         A silly restriction on the name of LatexCommand types where removed.
17749         Added support for CDATA sections, allows to chars unescaped, used
17750         among others in code, to avoid escape < and >.
17751
17752 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17753
17754         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17755         saved positions instrad of a stack. Furthermore, a position is
17756         stored using paragraph id/paragraph position.
17757
17758         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17759         Remove LFUN_REF_BACK.
17760
17761 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17762
17763         * converter.C (dvipdfm_options): New method.
17764
17765 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17766
17767         * vspace.C (isValidLength): Fix for empty input string.
17768
17769 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17770
17771         * LyXAction.C (init): change description of LFUN_FIGURE to
17772         "Insert Graphics"
17773
17774 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17775
17776         * LaTeX.C: add using directive
17777
17778 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17779
17780         * MenuBackend.C (expand): Fix the sorting of the formats.
17781
17782 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17783
17784         * lyx_main.C: tiny error message fix
17785
17786 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17787
17788         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17789         calling fl_initialize(). This fixes the problem with ',' as
17790         decimal separator in text files.
17791
17792 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17793
17794         * trans.C (process): Fix the keymap bug.
17795
17796 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17797
17798         * LaTeX.C (scanAuxFiles): New method. Provides support for
17799         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17800         (scanLogFile) Scan for "run BibTeX" messages.
17801
17802         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17803         OT1 font encoding. Also, load the aecompl package if the ae
17804         package is loaded.
17805
17806         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17807
17808 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17809
17810         * texrow.C (increasePos): turn two error messages into debug
17811         messages.
17812
17813 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17814
17815         * LaTeX.C (scanAux): Handle the \@input macro.
17816         (runBibTeX): Use scanAux().
17817
17818         * language.C (latex_options_): New field.
17819
17820         * LaTeXFeatures.C (getMacros): Add language macros.
17821
17822         * buffer.C (makeLaTeXFile): Small fix.
17823
17824 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17825
17826         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17827
17828         * text2.C: add a using directive.
17829
17830 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17831
17832         * BufferView2.C:
17833         * lyx_gui_misc.h:
17834         * lyxfr1.C:
17835         * lyxfunc.C: kill LyXBell.
17836
17837 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17838
17839         * text.C (IsBoundary): Remove the error message
17840
17841         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17842
17843         * lyxrc.C (setDefaults): Correct initialization value for
17844         font_norm_type.
17845
17846 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17847
17848         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17849         gotoError().
17850
17851         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17852         and GotoNextNote().
17853
17854         * src/LyXAction.C: Added reference-next.
17855
17856         * text.C (InsertChar): Use contains instead of strchr.
17857
17858         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17859
17860 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17861
17862         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17863         alignment commands (when needed).
17864
17865         * text.C (InsertChar): Add ':' to number separator chars.