]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
handle LFUN_ESCAPE properly in math insets (i.e. go up one level of
[lyx.git] / src / ChangeLog
1
2 2005-05-07  André Pönitz  <poenitz@gmx.net>
3
4         * trans_mgr.C (insert): move cursor to the right after inserting
5   a char.
6
7 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
8
9         * BufferView_pimpl.C (update): dampen some of the debug blabbering
10         * factory.C (readInset): ditto
11         * text.C, text2.C: ditto
12
13 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14
15         * buffer.C: format incremented to 242. There is no file format per
16         se, but the "frenchb" language has been removed from lib/language
17         and has to be translated to "french" by lyx2lyx.
18
19 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
20
21         * cursor_slice.h, dociterator.h: add some documentation
22         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
23
24 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
25
26         * text.C (leftMargin): do not add identation to display() style
27         insets, because they are always centered (bug 1293).
28
29 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
30
31         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
32         formatted_time methods in support/lyxtime.
33
34 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
35
36         * toc.[Ch]: new method getGuiName, which is used by the frontends 
37         to set the toc combo (fixes bug 1870). Make TOC string translatable.
38
39 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
40
41         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
42         StableDocIterator const &)
43         * undo.C (recordUndo): use the above instead of cell.size() comparison
44         (fixes bug 1808; instructed by André).
45
46 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
47
48         * cursor_slice.h: 
49         * dociterator.h: Fix the assert when copying rows/cols in math
50
51 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
52
53         * BufferView_pimpl.C:
54         * LyXAction.C:
55         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
56
57         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
58         (findInset): new functions, refactored from goto Inset that return 
59         the position of a certain inset without setting the buffer's cursor
60         (by Jean-Marc); 
61         (gotoInset): rewrite to call findInset and then set the cursor
62         (by Jean-Marc).
63
64 2005-06-16  Angus Leeming  <leeming@lyx.org>
65
66         * lyxrc.C (output, read): wrap all input and output of paths with
67         calls to os::internal_path and os::external_path, respectively.
68         (output): wrap bind_file inside quotes.
69
70         * format.C (view): enable the viewer to use the '$$s' placeholder.
71
72 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
73
74         * LColor.[Ch] (getFromLaTeXName): new
75
76 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
77
78         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
79
80 2005-06-14  Angus Leeming  <leeming@lyx.org>
81
82         * lyx_main.C (init): ensure that the LyX binary dir is the first
83         element in the PATH on non-POSIX builds.
84
85 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
86
87         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
88
89 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
90
91         * rowpainter.C (paintInset, paintHebrewComposeChar)
92         (paintArabicComposeChar, paintChars): add a LyXFont argument.
93         (paintChars): use getFontSpan to reduce calls to getFont to a
94         minimum; use Paragraph::lookupChange instead of isXXXText.
95         (paintForeignMark): rename LyXFont argument.
96         (paintFromPos): pass a LyXFont object to the various paintXXX
97         methods.
98
99         * FontIterator.C (FontIterator, operator++): use
100         Paragraph::getFontSpan
101
102         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
103         version that returns the font span as a pair.
104
105 2005-06-09  Angus Leeming  <leeming@lyx.org>
106
107         * converter.C (convert): Don't forget "outfile = real_outfile" as
108         the final step in a conversion where the input and output file names
109         are the same. Otherwise, future conversion steps won't work...
110
111 2005-06-09  Angus Leeming  <leeming@lyx.org>
112
113         * lyxsocket.C: remove stub code as it isn't needed by
114         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
115
116 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
117
118         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
119         effectively disabled -x
120
121 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
122
123         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
124         when it actually makes sense.
125
126 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
127
128         * BufferView_pimpl.C: revert to showCursor in connection with
129         Lars's front-end stack
130
131 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
132
133         * text.C (redoParagraph): move cursor right after a bibitem
134         has been inserted.
135
136         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
137
138 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
139
140         * buffer_funcs.C (bufferErrors): fix computation of the end of an
141         error range.
142
143 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
144
145         * BufferView.[Ch] (update):
146         * BufferView_pimpl.[Ch] (update, metrics):
147         * dimension.h (operator==):
148         * lyxfunc.C (dispatch):
149         * metricsinfo.h (ViewMetricsInfo):
150         * rowpainter.C (paintText):
151         * lyxtext.h:
152         * text.C (redoParagraph):
153         * text3.C (dispatch): Make LyX only repaint current paragraph in
154         case of character insert --> speedup. Also fix cursor draw
155         artifacts
156
157 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
158
159         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
160         avoid a crash (bug 1891)
161
162 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
163
164         Fix bug 1892:
165
166         * text2.C (getStringToIndex): constify cur argument.
167
168         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
169         argument has been given
170         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
171         try to invoke LFUN_INSET_APPLY).
172
173         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
174         if no inset was created by doInsertInset
175         (doInsertInset): return true if an inset has been inserted.
176
177 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
178
179         * vspace.C (asGUIName): new method. A version of the space
180         suitable for showing on screen.
181
182 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
183
184         * MenuBackend.C:
185         * lyxrc.C: rename "ASCII" to "Plain Text"
186
187 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
188
189         * buffer_funcs.C (expandLabel): take a Buffer as argument;
190         translate the labelstring.
191         (setCounter): translate labelstring as needed.
192
193         * output_docbook.C (makeCommand): fix expandLabel invokation
194
195 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
196
197         * BufferView.C: fix dialog title
198
199 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
200
201         * lyx_main.C (priv_exec): fix logic error with help from Angus
202         * lyx_main.C (parse_execute): set is_gui = false and remove now
203         obsolete comment about a segfault
204
205 2005-05-18  Angus Leeming  <leeming@lyx.org>
206
207         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
208
209 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
210
211         * tabular.[hC]: added setCellInset to fix tabular paste.
212
213 2005-05-11  Lars Gullik Bjonnes  <larsbj@gullik.net>
214
215         * buffer.C (save): check if destination is writable before trying
216         to copy a file
217
218 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
219
220         * BufferView_pimpl.C (update): fix processEvents -caused update
221         recursion bug
222
223 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
224
225         * buffer_funcs.C (setCounter): fix test for numbering of
226         environments.
227
228         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
229         depth correctly; use optional argument when it exists
230
231         * lyxtextclass.C: remove unused MaxCounterTags enum
232         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
233         (max_toclevel, min_toclevel): new methods.
234
235         * MenuBackend.C (expandToc2): fix case where depth is smaller than
236         the smallest depth in toc.
237
238         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
239         layouts that should not appear in a table of contents.
240
241 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
242
243         * cursor.h (undispatched, noUpdate): add comments from André
244
245 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
246
247         * lfuns.h:
248         * LyXAction.C:
249         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
250
251 2005-05-07  André Pönitz  <poenitz@gmx.net>
252
253         * cursor.[Ch] (leaveInset): new function
254
255 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
256
257         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
258
259 2005-05-04  Angus Leeming  <leeming@lyx.org>
260
261         * lyxfunc.C (getStatus): disable the spell checker dialog if
262         none of USE_[AIP]SPELL are defined.
263
264 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
265
266         * tabular.C (setWidthOfCell): remove obsolete comment
267
268 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
269
270         * paragraph.C (bibitem):
271         * buffer_funcs.C (setCounter):
272         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
273
274 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
275
276         * text3.C (getStatus): immediately return after setOnOff
277
278         * rowpainter.C: fix drawing of appendix start
279
280 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
281
282         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
283         SwitchBetweenClasses and remove the unused return value.
284         Handle character styles, too
285
286 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
287
288         * factory.C (createInset): handle undefined character styles
289
290 2005-05-02  Angus Leeming  <leeming@lyx.org>
291
292         * buffer.C: protect the #include of utime.h with a preprocessor
293         guard.
294
295 2005-05-02  Angus Leeming  <leeming@lyx.org>
296
297         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
298         function so that auto-saving works, albeit in a blocking manner.
299
300         * Makefile.am: make compilation of the client sub directory, of
301         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
302         on conditionals set at configure time.
303
304         * SpellBase.[Ch]: no longer an abstract base class. Instead,
305         it can be compiled in its own right but has no-op functionality.
306
307         * aspell.C, pspell.C: remove preprocessor guards. The files should
308         be compiled only if the necessary functionality exists.
309
310         * lyxserver.C, lyxsocket.C: disable on Windows.
311
312 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
313
314         * text.C (leftMargin): Fix the parindent use bug (1764)
315         by dirty trick
316
317 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
318
319         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
320         argument.
321
322 2005-04-25  Angus Leeming  <leeming@lyx.org>
323
324         * Bidi.[Ch]:
325         * coordcache.[Ch]:
326         * ispell.C:
327         * lyxserver.C:
328         * mover.C:
329         * pch.h:
330         include <config.h> in .C files, not .h ones.
331         add licence blurb.
332         protect headers inside preprocessor guards.
333
334 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
335
336         * FuncStatus.h (StatusCodes): document
337
338 2005-04-21  André Pönitz  <poenitz@gmx.net>
339
340         * FuncStatus.h (enabled, onoff): document
341
342 2005-04-19  Angus Leeming  <leeming@lyx.org>
343
344         * BufferView_pimpl.C (cursorToggle): no longer test whether
345         any child processes have been reaped before calling
346         handleCompletedProcesses().
347
348 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
349
350         * text3.C (dispatch): fix, finally fix, the language problem in
351         new lyxtexts, without disabling on-the-fly font changes (Helge's
352         bug report)
353
354 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
355
356         * text3.C (dispatch): set cursor on double/triple click events
357         (bug 1811)
358
359 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
360
361         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
362         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
363
364         * rowpainter.C (paintFirst): simplify the code a little bit. In
365         particular, remove the test for secnumdepth.
366         * text.C (setHeightOfRow): only allocate space for chapter number
367         when updateCounters provided an actual label, instead of looking
368         at secnumdepth directly.
369
370         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
371
372         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
373         paragraphs when secnumdepth is large enough or, for environments,
374         when they are not the first in a sequence.
375
376 2005-04-17  Angus Leeming  <leeming@lyx.org>
377
378         * buffer.C (makeLaTeXFile): replace code to manipulate a path
379         containing space and '~' characters with a call to latex_path().
380
381 2005-04-17  Angus Leeming  <leeming@lyx.org>
382
383         * converter.C (convert): protect all args of convertDefault.sh
384         script with quotes.
385
386 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
387
388         * text3.C (dispatch): change the layout to "Caption" after inserting
389         a float.
390
391 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
392
393         * text3.C (dispatch): fix language problem in newly created
394         textinsets (and main text) in non-english docs
395
396 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
397
398         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
399         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
400         * text3.C (getStatus): disable LFUN_INSET_MODIFY
401
402 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
403
404         * lyxtext.h:
405         * text.C (metrics):
406         * text2.C (getFont):
407         * rowpainter.C (getFont): Fix metrics bug introduced by inset
408         fonts fix
409
410 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
411
412         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
413         output of \item arguments without trailing text.
414
415 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
416
417         * FontIterator.C (operator*): avoid a copy of the font.
418
419 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
420
421         * rowpainter.C (getFont): fix language bug from previous fix
422
423 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
424
425         * rowpainter.C (RowPainter, getFont): fix font inside inset
426         (bugs 1766, 1809)
427
428 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
429
430         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
431         preventing inserted font, deco, delim insets jumping to start of
432         surrounding inset.
433
434 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
435
436         * lyxfunc.C (dispatch): translate message before sending it to the
437         minibuffer.
438
439 2005-03-29  Angus Leeming  <leeming@lyx.org>
440
441         * lyx_main.C (priv_exec): call os::internal_path on each file passed
442         to LyX on the command line.
443
444 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
445
446         * vc-backend.C: use QuoteName to protect file names wherever
447         necessary.
448
449 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
450
451         * buffer.[Ch]:
452         * BranchList.h: fix bugs 1844,1845: document settings don't
453         stick
454
455 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
456
457         * lyxrc.C (setDefaults, read, output, getDescription): add support
458         for tex_allows_spaces.
459
460         * exporter.C (Export): allows files in directory containing spaces
461         if tex_allows_spaces is true.
462
463         * buffer.C (makeLaTeXFile): if the document path contains spaces,
464         output it in double quotes.
465
466 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
467
468         * rowpainter.C: use default text height for drawing change tracker
469         strikeout lines.
470
471 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
472
473         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
474
475 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
476
477         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
478         directory is missing.
479
480 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
481
482         * text2.C: fixed the fix, extended to other case.
483
484 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
485
486         * text2.C: fix for cursor up/down stuck in math [bug 1792]
487
488 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
489
490         * text2.C (cursorUp): get rid of a crash
491         * text.C (x2pos): add an assert
492
493 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
494
495         * lyxfunc.C (getStatus): fix warning when assertions are disabled
496
497         * text3.C:
498         * lyxfunc.C:
499         * dociterator.C: include <boost/current_function.hpp>, which is
500         needed when assertions are disabled.
501
502 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
503
504         * text2.C: fix for stuck cursor when traversing two
505         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
506
507 2005-02-25  Andreas Vox  <avox@arcor.de>
508
509         * output_docbook.C (makeParagraph): suppress trailing newline
510         after a run of paragraphs
511
512 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
513
514         * paragraph.C: fix for confused change tracker when pasting
515         text that begins with a lineseparator. [bug 1827]
516         (setChange(0, Change::INSERTED);)
517
518         * paragraph_funcs.C: fix for lost changes on triple-paste
519         in change tracking mode [bug 1827] (par.setChange()).
520
521 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
522
523         * text2.C (updateCounters, setCounter, expandLabel): move to
524         buffer_funcs.
525
526         * buffer_funcs.C (updateCounters): turn into a free standing
527         function and add a buffer parameter. Remove dead code for tracking
528         labelstring change.
529         (setCounter): change into a free-standing function which gets a
530         dociterator as argument. Use this iterator to fix captions in a
531         simple way. When no float is found above the caption, use the
532         labelstring of the caption layout as default.
533
534         * text.C (breakParagraph, backspace):
535         * text2.C (init, setLayout, changeDepth):
536         * text3.C (dispatch):
537         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
538         updateCounters.
539
540         * dociterator.C (forwardPar): make it much faster by calling
541         forwardPos() only when really necessary.
542
543         * output_docbook.C (makeCommand): adapt to expandLabel move.
544
545         * cursor.C: remove unused variable
546
547 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
548
549         * paragraph_funcs.C: fix crash when pasting insets in change
550         tracking mode [bug 1277] (honour change type in moveItem).
551
552 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
553
554         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
555
556 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
557
558         * BufferView.C (setCursor): change to use a DocIterator.
559         (gotoLabel): use BufferView::setCursor (other part of bug 781).
560         (putSelectionAt): adapt to BufferView::setCursor change.
561
562         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
563         moved here from LyXText and rewritten to use proper cursor
564         methods. Fixes bug 1787, 616 and 835.
565
566         * BufferView_pimpl.C (restorePosition): set the cursor correctly
567         when inside an inset (part of bug 781).
568         (dispatch): adapt to change of BufferView::setCursor.
569         (getStatus, dispatch): handle LFUN_GOTOERROR,
570         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
571
572         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
573         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
574         * text3.C (gotoNextInset, gotoInset): removed.
575
576 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
577
578         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
579
580 2005-02-15  Angus Leeming  <leeming@lyx.org>
581
582         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
583         can be used meaningfully in a comparison.
584
585 2005-02-13  André Pönitz  <poenitz@gmx.net>
586
587         * bufferview_funcs.C (coordOffset): improve cursor drawing
588
589 2005-02-13  André Pönitz  <poenitz@gmx.net>
590
591         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
592         * Cursor.C (dispatch): use fixIfBroken
593         * lyxfunc.C (getStatus): use fixIfBroken
594
595 2005-02-15  Angus Leeming  <leeming@lyx.org>
596
597         * lyx_main.C (error_handler):
598         * lyxfunc.C:
599         * lyxrc.C (setDefaults):
600         s/GetEnv/getEnv/.
601         #include "environment.h".
602
603         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
604
605 2005-02-15  Angus Leeming  <leeming@lyx.org>
606
607         * lyxserver.C (startPipe): squash MSVC warning "local variable
608         'fd' used without having been initialized".
609
610 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
611
612         * BufferView_pimpl.C: revert accidental commit.
613
614 2005-02-14  André Pönitz  <poenitz@gmx.net>
615
616         * dociterator.[Ch]: new member forwardPosNoDescent(),
617         which doesn't enter nested insets.
618         * text2.C (setFont): use forwardPosNoDescent() instead
619         of ForwardPos() (fixes crash on font change).
620
621 2005-02-13  Angus Leeming  <leeming@lyx.org>
622
623         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
624         only if lyxrc.path_prefix is not empty.
625
626 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
627
628         * bufferparams.C (readGraphicsDriver): prevent crash
629
630 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
631
632         * text2.C (setCounter): check for inInset() == 0
633
634 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
635
636         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
637         but use update() to get correct screen display; use convert
638         instead of istringstream.
639         (getStatus): handle LFUN_GOTO_PARAGRAPH
640
641         * lyxfunc.C (dispatch, getStatus): do not handle
642         LFUN_GOTO_PARAGRAPH here.
643
644 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
645
646         * text3.C (dispatch): size() -> depth()
647
648         * text2.C: remove some debug output
649
650         * paragraph.C: ws changes only
651
652         * lyxfunc.C (getStatus): size() -> depth()
653
654         * dociterator.h (clear, push_back, pop_back, internalData,
655         operator[], resize, empty): new functions
656         Make StableDocIterator and operator== be friends. Don't inherit
657         from std::vector use a privat class variable slices_ instead.
658         Modify to fit.
659
660         * dociterator.C: update because of not inheriting from std::vector
661         anymore. Call explictly to slices_ instead. Use depth() instead of
662         size() and top() instead of back()
663
664         * cursor.C: chagne size() -> depth and back() -> top(). Also
665         remove some direct operator[](i) calls in favour of foo[i]
666         (getFont): remove some dead code
667
668         * bufferview_funcs.C (coordOffset): size() -> depth()
669
670         * buffer.C: ws changes only
671
672         * CutAndPaste.C (eraseSelection): back() -> top()
673
674         * BufferView_pimpl.C (selectionRequested): back() -> top()
675
676         * BufferView.C (setCursor): size() -> depth()
677
678 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
679
680         * text3.C (cursorPrevious): return true if depm changed something
681         (cursorNext): ditto
682         (dispatch): rename sl to oldTopSlice, remove moving use the new
683         NoUpdate func attrib instead. Make sure that needsUpdate is set
684         for function that have NoUpdate, but where depm might have changed
685         the buffer anyway.
686
687         * text2.C (cursorLeft): make us return true if depm changed
688         something
689         (cursorRight): ditto
690         (cursorUpParagraph): ditto
691         (curosrDownParagraph): ditto
692         (cursorUp, cursorDown): ditto, make sure to read comments in code
693         (deleteEmptyParagraphMechanism): remove an assert, also return
694         true if just a single char was deleted.
695
696         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
697         cursor that we modify, to avoid modifying an active cursor before
698         we call setCursor. This allows depm to run. Also return true if
699         depm deleted something.
700
701         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
702         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
703         cursorDownParagraph, cursorPrevious and cursorNext, return true if
704         something was changed in the buffer because of them (ie. depm run)
705
706         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
707         debug messages. Make update by default be false. Make sure that
708         the result of update is retained throught several calls down to
709         dispatch.
710
711         * LyXAction.h: add a new func_attrib: NoUpdate
712
713         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
714         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
715         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
716         and LFUN_WORDLEFT
717         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
718
719 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
720
721         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
722         bv_->owner(), bv_->buffer() by direct references to the private
723         members.
724         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
725         (getStatus): isSavedPosition() is in BufferView::Pimpl.
726         (fitCursor): center() is in BufferView::Pimpl.
727         (getStatus, trackChanges, dispatch): no need for a temporary buf
728         variable
729         (fitCursor, workAreaDispatch): use workarea().workheight()
730
731 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
732
733         * CutAndPaste.C (pasteSelectionHelper): fix a crash
734
735 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
736
737         * buffer.C: format up to 241.
738         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
739         break if pasting into ERT
740         * lyxfunc.C (getStatus): suppress mathpanel and
741         LFUN_DIALOG_SHOW_NEW_INSET in ERT
742
743 2005-02-01  Angus Leeming  <leeming@lyx.org>
744
745         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
746
747 2005-02-01  Angus Leeming  <leeming@lyx.org>
748
749         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
750         calling fs::is_directory().
751
752 2005-01-31  Angus Leeming  <leeming@lyx.org>
753
754         * lyx_main.C (priv_exec): specify explicitly the relative location
755         of the top level build directory when run in-place.
756
757 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
758
759         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
760         LyXText containing the cursor, not the top-level one.
761
762         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
763         true.
764         (insertStringAsLines): rename par to pit; use temporary variable
765         par to hold a Paragraph; do not store par.layout() in a variable,
766         since the pointer may die when breaking paragraphs; pass pars to
767         breakParagraph() instead of Buffer::paragraphs().
768
769 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
770
771         * lyxlex_pimpl.h: #include <fstream>.
772
773         * BufferView.[Ch] (getLyXText): add a const version.
774
775         * BufferView_pimpl.C: add debug aids.
776
777         * RowList_fwd.h:
778         * buffer.h:
779         * lyxrow.h:
780         * paragraph_funcs.h: add commentary explaining what the class does.
781
782
783         * coordcache.[Ch]: add lots of commentary.
784         (startUpdating, doneUpdating): debug aids.
785         (arrays, insets, parPos, getParPos): accessors to private data.
786
787         * cursor_slice.[Ch] (text): add a const version.
788         * dociterator.[Ch] (text, innerText): add const versions.
789
790         * lyxtext.h (breakParagraph): change the keep_layout arg to a
791         bool.
792
793         * paragraph.C (getRow, pos2ros): add asserts.
794
795         * paragraph.h: add commentary. Lots of.
796
797         * paragraph.[Ch] (metrucs, draw): removed.
798
799         * cursor.C:
800         * rowpainter.[Ch]: const-correct changes.
801
802         * text.C: various obvious clean-ups. Removal of ancient cruft.
803         Bug fixes, even.
804
805 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
806
807         * vc-backend.C (find_file): rewrite to use boost.filesystem
808         (scanMaster): ditto
809
810         * main.C (main): set default name check for boost.filesystem to
811         no check
812
813         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
814         (open): ditto
815         (doImport): ditto
816         (actOnUpdatedPrefs): ditto
817
818         * lyx_main.C (init): rewrite to use boost.filesystem
819         (queryUserLyXDir): ditto
820
821         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
822         (getContentsOfAsciiFile): ditto
823
824         * lastfiles.C (readFile): rewrite to use boost.filesystem
825
826         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
827
828         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
829         (loadLyXFile): ditto
830
831         * buffer.C (Buffer): adjust for destroydir
832         (getLogName): rewrite to use boost.filesystem
833         (setFileName): ditto
834         (save): use fs::copy_file (from fs_extras)
835
836         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
837
838         * LaTeX.C (run): rewrite to use boost.filesystem
839         (scanAuxFiles): ditto
840         (handleFoundFile): ditto
841
842 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
843
844         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
845
846         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
847
848 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
849
850         * lyxlayout.[Ch]: change some vars from float to double
851
852         * buffer.C (readFile): make a local var const
853
854         * Several files: use convert<> instead of atoi,strToXXX and friends
855
856 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
857
858         * LaTeXFeatures.[Ch]: Add a static list packages_ that
859         holds the contents of packages.lst. New functions getAvailable
860         and isAvailable to parse and check that list, resp.
861
862         * LyXAction.C:
863         * lfuns.h:
864         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
865
866         * bufferparams.[Ch]: new param output_changes.
867
868         * Buffer.C: increase file format to 240.
869         Use output_changes and isVailable.
870
871         * changes.[Ch]:
872         * paragraph.C:
873         * paragraph_pimpl.C: Use output_changes and isVailable.
874
875 2005-01-23  Angus Leeming  <leeming@lyx.org>
876
877         * output_latex.C: #include "insetbibitem.h", rather than
878         forward declare function bibitemWidest.
879
880 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
881
882         * lyx_main.C (init): make it compile on the Mac.
883
884 2005-01-20  Angus Leeming  <leeming@lyx.org>
885
886         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
887         (setLyXMisc): (char string literal) != (char string literal) is
888         performing a comparison on the addresses. Convert one operand
889         explicitly to string to guarantee expected behaviour.
890         From MSVC warning.
891
892 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
893
894         * buffer.C:
895         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
896
897         * output_plaintext.C: remove unneeded #include gzstream.h.
898
899 2005-01-20  Angus Leeming  <leeming@lyx.org>
900
901         * SpellBase.h: rename some of the elements of the Result enum.
902
903         * aspell_local.h:
904         * ispell.h:
905         * pspell.h:
906         * aspell.C (check):
907         * ispell.C (check):
908         * pspell.C (check): ditto
909
910 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
911
912         * buffer.C: add #include <fstream>.
913
914         * lyx_main.C (init): Compile fix.
915
916         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
917
918 2005-01-20  Angus Leeming  <leeming@lyx.org>
919
920         * mover.h: change commentary to reflect the changed meaning of
921         the $$s placeholder.
922
923 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
924
925         * output_linuxdoc.C (linuxdocParagraphs): silence warning
926
927         * lyxfind.C (MatchString::operator()): remove bogus semicolon
928
929 2005-01-20  Angus Leeming  <leeming@lyx.org>
930
931         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
932         printing diagnostic data by not dereferecing an iterator past the
933         end.
934
935 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
936
937         * buffer.C (readHeader): use "&&" rather than "and".
938
939         * lyxserver.h (inPipeName, outPipeName): make these const.
940
941 2005-01-19  Angus Leeming  <leeming@lyx.org>
942
943         * lyx_main.C (error_handler, init): protect SIGHUP with
944         #ifdef SIGHUP guards.
945
946 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
947
948         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
949
950 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
951
952         * text.C (setHeightOfRow): add a margin at the top and bottom of
953         the document (bug 1761)
954
955 2005-01-17  Angus Leeming  <leeming@lyx.org>
956
957         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
958         with "python ". Workaround for a brain-dead Windows.
959
960 2005-01-16  Angus Leeming  <leeming@lyx.org>
961
962         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
963         for MacOSX and Windows to use prependEnvPath.
964         Strip out the hard-coded block to add elements to the PATH for
965         MacOSX and replace it with a call to prependEnvPath using the
966         contents of LyXRC::path_prefix.
967         (queryUserLyXDir): strip out the code to run reconfigure, instead
968         returning a boolean indicating the necessity to do so.
969         (reconfigureUserLyXDir): contains the code to reconfigure the
970         user support directory. Is now called after the various LyXRC data
971         files have been read.
972
973         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
974
975 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
976
977         * converter.[Ch] (convert): take a new parameter try_default. Use
978         a default converter (imagemagick) if try_default is true.
979
980 2005-01-13  Angus Leeming  <leeming@lyx.org>
981
982         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
983         os::cygwin_path_fix.
984         (write): output LyXRC::cygwin_path_fix as necessary.
985
986 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
987
988         * lyxrc.h:
989         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
990
991 2005-01-12  Angus Leeming  <leeming@lyx.org>
992
993         * lyx_main.C (init): set the PATH variable to include the
994         directory containing the LyX binary when running on Mac or Windows.
995
996 2005-01-12  Angus Leeming  <leeming@lyx.org>
997
998         * lyx_main.C (init): remove cruft that purports to set the locale
999         dir. It doesn't and is not needed anyway.
1000
1001 2005-01-10  Angus Leeming  <leeming@lyx.org>
1002
1003         * Makefile.am: remove the lyx_main.C special casing.
1004
1005         * BufferView_pimpl.C:
1006         * bufferlist.C:
1007         * exporter.C:
1008         * lyx_cb.C:
1009         * lyx_main.C:
1010         * lyxfunc.C:
1011         * messages.C: use support/package.h to provide the paths to the
1012         various directories used by LyX.
1013
1014 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1015
1016         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1017         layout if pasting into an empty paragraph)
1018
1019 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1020
1021         * tex-accent.C: add <string>
1022
1023 2005-01-06  José Matos  <jamatos@lyx.org>
1024
1025         * ParagraphParameters.C (write): put every parameter in its own line.
1026         * paragraph.C (write): reduce number of consecutive empty lines exported.
1027         * buffer.C (LYX_FORMAT): increase file format to 239.
1028
1029 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1030
1031         * everywhere: change support/tostr.h -> support/convert.h
1032
1033         * tabular.C: make all write_attributes templates, tostr -> convert
1034
1035         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1036         (emptyTag): and -> &&, and fix type for ret from getChar
1037         (getFirstWord): fix type for ret from getChar
1038         (onlyText): and -> &&
1039         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1040         getChar
1041
1042         * toc.C (goTo, action):
1043         * text3.C (dispatch):
1044         * text.C (currentState):
1045         * tex-accent.C (DoAccent):
1046         * sgml.C:
1047         * lyxrc.C:
1048         * lyxfunc.C (menuNew):
1049         * lyxfinc.C (replace):
1050         * counters.C (laberItem):
1051         * bufferview_funcs.C (font2string):
1052         * bufferparams.C (writeFile):
1053         * buffer.C (readFile):
1054         * Spacing.C (set):
1055         * MenuBackend.C: tostr -> convert
1056
1057         * LaTeX.C (runMessage): fix format
1058         (scanAuxFiles): tostr -> convert
1059
1060         * BufferView_pimpl.C (savePosition): fix format
1061         (restorePosition): ditto
1062         (dispatch): ditto
1063
1064 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1065
1066         * Spacing.[Ch]: New method getValueAsString().
1067
1068         * Spacing.[Ch]:
1069         * bufferparams.C:
1070         * ParagraphParameters.C:
1071         * lyxlayout.C:
1072         * text.C:
1073         * text3.C: store/read spacing value as string.
1074
1075         * rowpainter.C: change float value (spacing_val) to double.
1076
1077         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1078         broken custom document spacing).
1079
1080 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1081
1082         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1083         namespace, also more use of temp references and const
1084
1085         * cursor.[Ch] (getStatus): move to lyxfunc.C
1086
1087         * bufferparams.C: reformat slightly
1088
1089         * bufferview_funcs.C (font2string): constify arg
1090
1091         * changes.C:
1092         * converter.C:
1093         * counters.C:
1094         * bufferlist.C:
1095         * buffer_funcs.C: (many funcs): constify arg on function
1096         definitions, also make more local vars const, also add ASSERTS on
1097         pointer args.
1098
1099         * buffer.C (LYX_FORMAT): put const in correct place
1100         (many funcs): constify arg on function definitions, also make
1101         more local vars const
1102
1103         * aspell_local.h: remove "struct" from typdef setup
1104
1105         * aspell.C (check): make word_ok const
1106         (nextMiss): simplify slightly
1107         (error): ditto
1108
1109 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1110
1111         * lyxrc.[Ch]: store all float values as strings.
1112         use int (not float) for lyxrc.dpi.
1113
1114 2005-01-04  Angus Leeming  <leeming@lyx.org>
1115
1116         * lyx_cb.C (Reconfigure):
1117         * lyx_main.C (queryUserLyXDir):
1118         to run the <system_lyxdir>/configure correctly on Windows, prefix
1119         the path to the script with "sh " when generating the string that
1120         is passed to system().
1121
1122 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1123
1124         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1125
1126 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1127
1128         * lyxlength.C (asLatexString): get rid of setprecision
1129
1130 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1131
1132         * text2.C (setLayout): remove unused variable endpit.
1133         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1134
1135         * paragraph.C (onlyText): remove unused variable style.
1136
1137         * cursor.C (bruteFind): remove unused variables beg and end.
1138
1139         * Makefile.am (dist_noinset_DATA): not needed anymore
1140
1141         * cheaders/*: remove.
1142
1143 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1144
1145         * text3.C: fix LFUN_MATH_MODE.
1146
1147 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1148
1149         * buffer_funcs.C (countWords): new function. Counts words between
1150         two iterators.
1151
1152         * BufferView_pimpl.C (getStatus, dispatch): handle
1153         LFUN_WORDS_COUNT.
1154
1155         * LyXAction.C (init):
1156         * lfuns.h: add LFUN_WORDS_COUNT.
1157
1158 2004-12-19  Angus Leeming  <leeming@lyx.org>
1159
1160         * buffer.C (save): s/slashify_path/internal_path/.
1161
1162 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1163
1164         * lyxfind.C (findChange): do not search for end of pars, because
1165         the change tracker cannot handle this (fixes bug 1719).
1166
1167 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1168
1169         * paragraph.[Ch] (autoBreakRows): remove
1170
1171         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1172
1173         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1174         avoid using the paragraph one
1175
1176         * text2.C (LyXText, insertStringAsLines): adjust
1177
1178 2004-12-16  Angus Leeming  <leeming@lyx.org>
1179
1180         * bufferlist.C:
1181         * lyx_main.C:
1182         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1183
1184 2004-12-14  Angus Leeming  <leeming@lyx.org>
1185
1186         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1187
1188         * bufferlist.C (emergencyWrite):
1189         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1190         GetEnvPath("HOME").
1191
1192 2004-12-14  Angus Leeming  <leeming@lyx.org>
1193
1194         * main.C: (main): no longer pass pointers to os::init.
1195
1196 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1197
1198         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1199         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1200
1201 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1202
1203         * lyxfunc.C:
1204         * text3.C: remove selection_possible global flag
1205
1206 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1207
1208         * text2.C (getSelectionSpan): remove
1209         (changeDepth, changeDepthAllowed): adjust
1210
1211 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1212
1213         * Makefile.am (BOOST_LIBS): use boost variables
1214
1215 2004-12-03  José Matos  <jamatos@lyx.org>
1216
1217         * buffer.C: format up to 238.
1218
1219 2004-12-03  José Matos  <jamatos@lyx.org>
1220
1221         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1222
1223 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
1224
1225         * cursor.C (goUpDown): remove call to idxUpDown2
1226
1227 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1228
1229         * tabular.[Ch]: use size_t-like types for cell, row and column
1230         indices
1231
1232 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1233
1234         * lyxfunc.C (getStatus): do not lose previous information when
1235         calling BufferView::getStatus; do not set a default "Command
1236         disabled" message at the beginning, but just before returning.
1237
1238 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1239
1240         * cursor.h (getStatus): add better comment from src/cursor.C
1241
1242 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1243
1244         * text3.C (getStatus): return false when the lfun is not handled
1245
1246 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1247
1248         * broken_headers.h: remove
1249
1250         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1251
1252 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1253
1254         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1255         offset_ref accessors
1256
1257         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1258         top_y_, merge fitcursor with update
1259         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1260         coord scheme
1261         (metrics): introduce
1262         (workAreaDispatch): adapt to new coord scheme
1263         (redoCurrentBuffer): remove
1264
1265         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1266
1267         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1268         CurStatus enum.
1269
1270         * coordcache.[Ch]: add paragraph cache and helpers
1271
1272         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1273         adjust everywhere
1274
1275         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1276         (targetX, setTargetX): introduce
1277
1278         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1279         baseline -> ascent, as the rest of lyx
1280
1281         * lyxtext.h: remove redoParagraphs, updateParPositions,
1282         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1283         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1284         have ascent/descent (ascent is ascent of first par)
1285
1286         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1287         step of BufferView
1288
1289         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1290
1291         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1292
1293         * pariterator.C: fix infinite loop introduced in par->pit renaming
1294
1295         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1296         in insets and LyXText, draw two off-screen paragraphs using
1297         NullPainter, and adapt to new coord scheme
1298
1299         * text.C:
1300         * text2.C:
1301         * text3.C: adapt lfun handlers to the new coord scheme, which
1302         means: there's only guaranteed coord information for onscreen pars
1303         plus one above and one below. This implies that one can do search
1304         from y coordinates in the range [-1,workHeight]
1305
1306 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1307
1308         * rename a lot of InsetOld to InsetBase
1309
1310 2004-11-25  Angus Leeming  <leeming@lyx.org>
1311
1312         * BufferView_pimpl.C:
1313         * lyx_cb.C:
1314         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1315
1316 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1317
1318         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1319         call BufferView::getStatus if LCursor::getStatus did nothing
1320         (setStatusMessage, getStatusMessage): removed.
1321
1322         * FuncStatus.C (message): new methods. Used to provide an error
1323         message indicating why a command is disabled.
1324         (clear, |=, FuncStatus): update for message.
1325
1326 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1327
1328         * lyxfunc.C (dispatch): always call sendDispatchMessage
1329
1330 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1331
1332         * BufferView.C:
1333         * BufferView_pimpl.C:
1334         * CutAndPaste.C:
1335         * FontIterator.C:
1336         * buffer.C:
1337         * cursor.C:
1338         * cursor_slice.[Ch]:
1339         * dociterator.[Ch]:
1340         * lyxfind.C:
1341         * paragraph_funcs.C:
1342         * pariterator.C:
1343         * rowpainter.C:
1344         * text.C:
1345         * text2.C:
1346         * text3.C:
1347         * undo.C: par->pit renaming
1348
1349 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1350
1351         * tabular.C (cellstruct): use initialization, store a shared_ptr
1352         to insettext instead of the insettext directly, adjust to fit.
1353         (operator=):  new function
1354         (swap): new function
1355         (rowstruct): use initialization
1356         (columnstruct): use initialization
1357         (ltType): use initialization
1358
1359
1360         * lyxlength.h (swap): new function
1361
1362         * LColor.[Ch] (operator=): use the common semantics
1363
1364 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1365
1366         * lyxfind.C (findNextChange): update the bufferview after setting
1367         the selection.
1368
1369 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1370
1371         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1372         number of InsetOptArgs has already been inserted.
1373
1374         * output_latex.C (latexOptArgInsets): new method. This outputs all
1375         the optarg insets, up to the limit defined in the layout file.
1376         (optArgInset): removed
1377         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1378
1379 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1380
1381         * paragraph.C (isLetter): remove special spellchecker-related
1382         code; return true also for digits
1383         (isWord, isKomma): remove
1384
1385         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1386         * lyxfind.C (MatchString()): use isLetter instead of isWord
1387
1388 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1389
1390         * pariterator.h (operatir=): comment out un-implemented member
1391         function.
1392
1393         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1394         static cast.
1395
1396 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1397
1398         * lyxfont.h: include LColor.h to satisfy concept checks.
1399
1400 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1401
1402         * pariterator.h: add typdefs for value_type, difference_type,
1403         pointer and reference to satisfy concept checks. Also add default
1404         constructor for same reason.
1405
1406         * pariterator.C (operator++): add post-increment operator to
1407         satisfy concept checks.
1408
1409         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1410         checks.
1411
1412         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1413
1414         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1415         checks. Also rename base_type to BaseType to follow naming
1416         standard better.
1417
1418         * FloatList.h: include Floating.h to satisfy concept checks.
1419
1420 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1421
1422         * lyxfunc.C (getStatus): when the origin of the request is menu or
1423         toolbar, and the LyXView does not have focus, do as if there was
1424         no buffer (bug 1720)
1425
1426         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1427         FuncRequest to individual entries of LFUN_SEQUENCE
1428
1429 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1430
1431         * output_latex.C (TeXOnePar): override runparams.moving_arg
1432         according to the needprotect value of the current paragraph (bug
1433         1739)
1434
1435         * paragraph.C (simpleTeXOnePar): no need to override
1436         runparams.moving_args here
1437
1438 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1439
1440         * vspace.C: fix off-by-one-error, related to fix #1682
1441
1442 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1443
1444         * lengthcommon.C: a more general fix for bug 1682
1445
1446 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1447
1448         * text.C (backspace): fix crash
1449
1450 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1451
1452         * format.[Ch] (getFormatFromFile): new method
1453         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1454
1455 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1456
1457         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1458
1459 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1460
1461         * lyxfunc.C (dispatch): remove the verbose argument
1462         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1463         instead
1464
1465         * kbmap.C (defkey): set the origin of func to KEYBOARD
1466
1467         * MenuBackend.C (MenuItem):
1468         * ToolbarBackend.C (add): set the origin of func to UI
1469
1470         * funcrequest.[Ch]: add origin member, which indicates which part
1471         of LyX requests an action
1472
1473 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1474
1475         * converter.C (move): don't lie in the error message
1476         * converter.h (isReachable, move): document
1477
1478 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1479
1480         * buffer.C: remove unused using lyx::support::atoi
1481         * paragraph_funcs.C: ditto
1482
1483 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1484
1485         * bufferlist.C (exists): use bind and equal_to instead of
1486         compare_memfun
1487         (getBuffer): ditto
1488         * lyxtextclasslist.C (NumberOfClass): ditto
1489
1490         * cursor.C (insert): use for_each instead of explicit for loop
1491
1492         * bufferlist.C (getFileNames): use std::transform and
1493         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1494
1495         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1496         for loop
1497
1498         * buffer.C (changeLanguage): use for_each instead of explicit for
1499         loop
1500         (hasParWithID): implement using getParFromID
1501
1502         * LaTeXFeatures.C: ws change only
1503
1504         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1505         to cleanup a bit.
1506
1507         * BufferView_pimpl.C (trackChanges): use for_each instead of
1508         expilicit for loop
1509
1510 2004-11-04  André Pönitz  <poenitz@gmx.net>
1511
1512         * undo.h:
1513         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1514
1515         * dociterator.C (asDocIterator): use hard assert again.
1516
1517 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1518
1519         * lyxlength.C (asLatexString): rewrite so that it does not use
1520         snprintf anymore
1521
1522 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1523
1524         * text3.C (specialChar, dispatch): make sure cursor moves to the
1525         right after inserting an inset
1526
1527 2004-11-02  José Matos  <jamatos@lyx.org>
1528
1529         * output_docbook.C (docbook):
1530         * paragraph.C (getID):
1531         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1532         garantee that the output is always legal.
1533
1534         * tabular.C (docbook):
1535         * outputprams.[Ch]: remove mixed contents.
1536
1537 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1538
1539         * text2.C (setCounter): prevent endless loop
1540
1541 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1542
1543         * exporter.C (copyFile): use the mover instead of support::copy()
1544         * exporter.C (Export): pass format and latex name to copyFile()
1545         * exporter.h (addExternalFile): document
1546         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1547
1548 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1549
1550         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1551
1552 2004-10-30  José Matos  <jamatos@lyx.org>
1553
1554         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1555         text and no inset or font change. This allows to use CDATA
1556         sections just for the whole paragraph.
1557
1558 2004-10-30  José Matos  <jamatos@lyx.org>
1559
1560         * paragraph.C (getFirstWord): remove unused variable.
1561
1562 2004-10-30  José Matos  <jamatos@lyx.org>
1563
1564         * paragraph.C (getFirstWord): the content should always be escaped
1565         there.
1566         (simpleDocBookOnePar):
1567         * output_docbook.C (makeEnvironment): replace reference to CDATA
1568         to style pass_thru.
1569
1570 2004-10-30  José Matos  <jamatos@lyx.org>
1571
1572         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1573
1574 2004-10-30  José Matos  <jamatos@lyx.org>
1575
1576         * output_docbook.C (makeParagraphs):
1577         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1578         standard paragraph has only a given type of content drop the wrapper.
1579
1580 2004-10-29  José Matos  <jamatos@lyx.org>
1581
1582         * output_docbook.C (makeEnvironment):
1583         * sgml.C (openTag):
1584         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1585
1586 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1587
1588         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1589         (cleanID): sanitize any id.
1590
1591 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1592
1593         * buffer.C, lyxlex_pimpl.C:
1594         * lyxlex_pimpl.C (setFile):
1595         s/getExtFromContents/getFormatFromContents/
1596
1597 2004-10-28  José Matos  <jamatos@lyx.org>
1598
1599         * output_docbook.C (makeEnvironment): move id to broadest possible
1600         scope.
1601
1602         * sgml.C (openTag): apply substitution of <> for all attributes.
1603
1604 2004-10-28  José Matos  <jamatos@lyx.org>
1605
1606         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1607         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1608         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1609
1610         * sgml.[Ch]: new version for open and closeTag for paragraph and
1611         for strings. Now they handle the ids of paragraphs.
1612
1613 2004-10-26  Angus Leeming  <leeming@lyx.org>
1614
1615         * Makefile.am: add mover.[Ch].
1616
1617         * converter.C (convert, move): use the new Movers to move external
1618         files to the temp directory.
1619
1620         * lyx_main.C (init): ensure that the global system_movers data
1621         is initialised.
1622
1623         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1624         preferences file.
1625
1626         * mover.[Ch]: new files, defining a Mover as a utility to move an
1627         external file between directories and, if necessary, manipulate this
1628         file using a helper script.
1629
1630 2004-10-25  José Matos  <jamatos@lyx.org>
1631
1632         * output_docbook.C (makeCommand): merge two if's that tested the
1633         same condition.
1634
1635 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1636
1637         * sgml.C (escapeString): fix warning in a better way
1638
1639 2004-10-25  José Matos  <jamatos@lyx.org>
1640
1641         * sgml.C (escapeString): import the require boosts header file for
1642         tie, and avoid a signed unsigned comparison.
1643
1644 2004-10-25  José Matos  <jamatos@lyx.org>
1645
1646         * sgml.h: add #include <string>
1647
1648 2004-10-25  José Matos  <jamatos@lyx.org>
1649
1650         * sgml.[Ch] (escapeString): new function to escape all the string.
1651
1652 2004-10-24  José Matos  <jamatos@lyx.org>
1653
1654         * paragraph.[Ch] (getFirstWord): new function to get the first
1655         word. Useful for description.
1656         (simpleDocBookOnePar): remove depth argument, add another that
1657         says where to start the paragraph.
1658
1659         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1660         use the new functions to fix cleanly the support for descriptions.
1661
1662 2004-10-24  José Matos  <jamatos@lyx.org>
1663
1664         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1665         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1666         * output_linuxdoc.C (linuxdocParagraphs):
1667         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1668         add buffer as argument.
1669
1670 2004-10-24  José Matos  <jamatos@lyx.org>
1671
1672         * output_docbook.C (makeEnvironment, searchEnvironment): place
1673         CDATA inside paragraphs and fix scope for listitems.
1674
1675 2004-10-24  José Matos  <jamatos@lyx.org>
1676
1677         * output_docbook.C: remove using statement for stack.
1678
1679 2004-10-23  José Matos  <jamatos@lyx.org>
1680
1681         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1682         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1683         docbook. The new scheme is recursive and makes use of iterators, the
1684         same as latex export works.
1685         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1686         directly with the paragraph contents. This code was moved up to
1687         output_docbook.C (docbookParagraphs).
1688         * sgml.C (openTag, closeTag): removed unneeded newlines.
1689         (closeEnvTags) removed.
1690
1691 2004-10-23  André Pönitz  <poenitz@gmx.net>
1692
1693         * undo.C (textUndoOrRedo):
1694         * dociterator.C (asDocIterator): work around crash
1695
1696         * cursor.C (getStatus): replace ASSERT by more verbose error message
1697           and manual correction of the problem. Should increase stability
1698           while providing more sensible information.
1699
1700 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1701
1702         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1703
1704         * bufferlist.C (previous, next): new methods
1705
1706         * lfuns.h:
1707         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1708
1709 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1710
1711         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1712         entities to preamble.
1713
1714 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1715
1716         * messages.C (Pimpl): strip off translation context information
1717
1718 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1719
1720         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1721         the cursor is correct (bug 1694)
1722
1723 2004-10-13  José Matos  <jamatos@lyx.org>
1724
1725         * output_docbook.C (docbookParagraphs): fix closing tags in the
1726         end of the document.
1727
1728 2004-10-09  José Matos  <jamatos@lyx.org>
1729
1730         * buffer.C: format up to 237.
1731         * bufferparams.C (write): use tostr to convert booleans to strings.
1732
1733 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1734
1735         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1736
1737 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1738
1739         * LaTeX.C: implement use of babel language in xindy.
1740
1741 2004-10-05  José Matos  <jamatos@lyx.org>
1742
1743         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1744         Add new translators to help reading and writing the lyx file.
1745
1746 2004-10-05  José Matos  <jamatos@lyx.org>
1747
1748         * ParagraphParameters.C (read):
1749         * text.C (readParToken): replace nexToken by more appropriate lex
1750         methods.
1751
1752 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1753
1754         * LaTeX.C (runMakeIndex):
1755         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1756         (usually 'makeindex') configurable.
1757
1758         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1759         with a variable rather than with a number.
1760
1761 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1762
1763         * output_latex.C (TeXOnePar): make sure font setting is the first
1764         thing that gets output (and the last at the end). Should fix bug
1765         1404.
1766
1767 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1768
1769         * pch.h: use proper signal include
1770
1771         * LaTeX.h: Use preferred calling of Boost.Signal
1772         * buffer.h: ditto
1773
1774 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1775
1776         * pch.h: dont include <boost/function/function0.hpp>
1777
1778         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1779
1780         * paragraph_pimpl.h: remove usage of ShareContainer
1781
1782         * paragraph_pimpl.C: remove initialization of ShareContainer.
1783
1784 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1785
1786         Fix bug #1666
1787
1788         * BufferView.C (putSelectionAt): change the semantics when
1789         backwards == true: now, this just swaps cursor and anchor wrt the
1790         forward case
1791
1792         * BufferView.h (putSelectionAt): add some documentation
1793
1794         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1795         make sure backwardChar is done at least once (to avoid getting
1796         stuck)
1797         (findNextChange): use putSelectionAt in the forward direction
1798         (operator()): use Paragraph::isWord
1799
1800 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1801
1802         * Spacing.C (set): c_str fix
1803
1804 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1805
1806         * lyx_cb.C (Reconfigure): quote the name of configure script in
1807         case it contains spaces
1808
1809 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1810
1811         * client: new dir
1812
1813         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1814         (BOOST_LIBS): use top_buildir when looking for the file
1815
1816 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1817
1818         * pch.h: do not use include boost/format.hpp, multiple symbols
1819                 will result (gcc bug)
1820
1821
1822 2004-08-23  José Matos  <jamatos@lyx.org>
1823
1824         * bufferparams.C (readToken): fix reading of the author field.
1825
1826 2004-08-20  José Matos  <jamatos@lyx.org>
1827
1828         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1829
1830 2004-08-20  José Matos  <jamatos@lyx.org>
1831
1832         * lyxlex.[Ch] (findToken): remove function.
1833
1834         * ParagraphParameters.C (findToken):
1835         * bufferparams.C (findToken): replace call for previous function
1836         with local copy. This local function has one more argument, the
1837         read string argument.
1838
1839 2004-08-16  José Matos  <jamatos@lyx.org>
1840
1841         * ParagraphParameters.C (write):
1842         * Spacing.C (writeFile):
1843         * bufferparams.C (writeLaTeX):
1844         * lyx_cb.C (Reconfigure):
1845         * paragraph.C (write):
1846         * tabular.C (write): remove unnecessary space at end of line.
1847
1848
1849 2004-08-16  José Matos  <jamatos@lyx.org>
1850
1851         * text.C (readParagraph): remove debug message.
1852
1853 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1854
1855         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1856         crash
1857
1858         * output_plaintext.C (asciiParagraph): set depth correctly
1859
1860         * outputparams.h: add member depth
1861
1862         * paragraph_funcs.C (ownerPar): remove.
1863
1864         * text2.C (setCounter): remove first_pit; comment out some
1865         non-working code that uses ownerPar
1866
1867         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1868         uses ownerPar
1869
1870 2004-08-16  José Matos  <jamatos@lyx.org>
1871
1872         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1873         For the same level of importance use the same chanel to report problems.
1874         (read): add code to deal with \begin_body and \end_body.
1875
1876
1877 2004-08-15  José Matos  <jamatos@lyx.org>
1878
1879         * lyxlex.C (getString): fix comment, buffer::readBody is now
1880         buffer:readDocument.
1881
1882         * tex-strings.C (string_papersize): Default -> default,
1883         Custom -> custom, for consistency with other options.
1884
1885 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1886
1887         * pch.h: new file
1888
1889         * Makefile.am: support pch
1890
1891 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1892
1893         * text.C (readParToken): remove the static LyXFont variable and
1894         pass it as a parameter instead. This fixes a nasty bug where an
1895         inset will be inserted with a bad font in some situations
1896         (readParagraph): adapt
1897
1898         * text2.C (setCounter): reduce number of calls to pars_[pit]
1899
1900         * text.C (singleWidth): add an assert, fix a test
1901
1902         * rowpainter.C (paintText): reduce number of calls to singleWidth
1903
1904         * paragraph.C (isHfill):
1905         (isNewline): ws only
1906
1907 2004-08-14  André Pönitz  <poenitz@gmx.net>
1908
1909         * text.C:
1910         * text2.C:
1911         * rowpainter.C:
1912         * lyxtext.h (several functions): use a Paragraph & argument
1913         instead of par_type
1914
1915 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1916
1917         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1918
1919         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1920
1921         * text.C (singleWidth): remove useless test
1922
1923 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1924
1925         * tabular.h: remove bogus comments
1926
1927         * tabular.C (getDescentOfRow):
1928         (isPartOfMultiColumn): add assertions
1929
1930         * lyxlength.C (inPixels): remove #warning
1931
1932 2004-08-14  André Pönitz  <poenitz@gmx.net>
1933
1934         * paragraph.h: inline getChar()
1935
1936         * BufferView.h: remove unused declarations
1937
1938 2004-08-14  José Matos  <jamatos@lyx.org>
1939
1940         * Buffer.[Ch] (readDocument): new name for old readBody.
1941         * Buffer.C: new file format, new keywords: \begin_document,
1942         \begin_header, \begin_body, \end_body.
1943
1944         * bufferparams.C (readToken): replace all calls to lex.nextToken
1945         by lex.next(). Do the same to eatLine except where really needed.
1946
1947         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1948         line when writing to the lyx file.
1949
1950         * output_plaintext.C (asciiParagraph): fix Bibliography style
1951         handling.
1952
1953         * text.C (read): fix end of file handling.
1954
1955 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1956
1957         * MenuBackend.C (Menu::operator[]): new method to access
1958         individual menu items
1959         (Menu::hasFunc): new method. search for an item that corresponds
1960         to a given func
1961         (MenuBackend::specialMenu): new method
1962         (MenuBackend::expand): if a special menu has been set, skip
1963         entries whose func() appears in this menu
1964
1965 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1966
1967         * text3.C: use Debug::DEBUG a bit more
1968
1969         * text.C (leftMargin): try to simplify a tiny bit change var x to
1970         l_margin. Dont output the wide margins always.
1971         (rightMargin): no margin in inner texts
1972
1973         * rowpainter.h (nestMargin): new func
1974         (changebarMargin): new func
1975         (rightMargin): new func
1976
1977         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1978         now functions.
1979         (paintLast): ditto
1980
1981         * factory.C (createInset): modify setDrawFrame
1982
1983         * cursor.C: use Debug::DEBUG a bit more
1984
1985 2004-08-14  André Pönitz  <poenitz@gmx.net>
1986
1987         * coordcache.[Ch]:
1988         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1989         cache for all insets in (at least partially) visible (top-level)
1990         paragraphs.
1991
1992         * BufferView_pimpl.C: reset external coord cache before every update.
1993         This means the coord cache only contains valid entries.
1994
1995 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1996
1997         bug 1096
1998         * BufferView_pimpl.C (getInsetByCode): move function out of class
1999         and change in to a template in anon namespace. Also fix to do what
2000         suits us better.
2001
2002 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
2003
2004         bug 1305
2005         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2006         of char
2007         (breakParagraph): rename par to par_offset and use a local
2008         reference. Add code to keep the language over a rebreak.
2009         (breakParagraphConservative): rename par to par_offset, use a
2010         local reference
2011         (mergeParagraph): ditto
2012         (outerHook): ditto
2013         (isFirstInSequence): ditto
2014         (outerFont): rename pit to par_offset
2015
2016         * paragraph.C: ws change
2017         * paragraph.h: ditto
2018         * text3.C: ditto
2019         * text.C: ditto
2020
2021 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2022
2023         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2024         treatment for ']'
2025
2026         * paragraph.C (simpleTeXOnePar): when we have a \item with
2027         optional argument, enclose the argument with curly brackets (in
2028         case it contains a closing square bracket)
2029
2030         * text2.C (editXY):
2031         * text2.C (editXY):
2032         * text3.C (checkInsetHit): constify
2033
2034 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2035
2036         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2037         documents (bug 1629)
2038
2039 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2040
2041         Fix toggling of collapsable insets with the mouse (bug 1558)
2042
2043         * lyxfunc.C (dispatch): adapt to LCursor changes
2044
2045         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2046         make sure that dispatch is not invoked twice
2047
2048         * cursor.C (needsUpdate): new method
2049         (dispatch): return void
2050         (result): new method, to access the DispatchResult of the cursor.
2051
2052 2004-08-13  José Matos  <jamatos@lyx.org>
2053
2054         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2055
2056 2004-08-13  André Pönitz  <poenitz@gmx.net>
2057
2058         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2059
2060         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2061           multiple cells
2062
2063 2004-08-12  André Pönitz  <poenitz@gmx.net>
2064
2065         * text3.C: take out the 'cursor right' form insertInset and only
2066         do it in those places when it is really needed. Fixes crash on
2067         C-m...
2068
2069 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2070
2071         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2072
2073         * BufferView_pimpl.C (setBuffer): initialize the current font of
2074         the underlying LyXText
2075
2076 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2077
2078         * kbsequence.C (print): use UI native formatting for menu
2079         shortcuts
2080
2081         * text.C (insertChar): call Paragraph::insertChar with a font
2082         argument (cosmetic)
2083
2084         * paragraph.C (insertInset, insertChar): the version that takes a
2085         LyXFont argument is now a wrapper around the other one (the
2086         opposite used to be true).
2087
2088         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2089         argument. Font setting is done in Paragraph now.
2090
2091 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2092
2093         * outputparams.h: add new members intitle and lang.
2094
2095         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2096         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2097
2098 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2099
2100         * text3.C (dispatch): remove special handling of button 4 and 5,
2101         it is now taken care of in the frontend code.
2102
2103 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2104
2105         * Spacing.h: add <string> (STLPort compile fix)
2106
2107 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2108
2109         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2110
2111 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
2112
2113         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2114         to bool.
2115
2116         * converter.C (showMessage): inherit from unary_function, make
2117         operator() const.
2118
2119         * buffer.C (writeFile): initialize retval
2120
2121         * InsetList.h: rename private variable list to list_
2122         * InsetList.[Ch]: adjust accordingly.
2123
2124 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
2125
2126         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2127         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2128         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2129         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2130         * ParagraphParameters.C, LaTeXFeatures.C: replace
2131         "support/std_sstream.h" with <sstream>
2132
2133 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
2134
2135         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2136         * lyxsocket.C (LyXServerSocket): ditto
2137         (serverCallback): ditto
2138
2139 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2140
2141         * LaTeXFeatures.C: check release date when loading jurabib.
2142
2143 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2144
2145         * lyxserver.C (startPipe): call register_socket_callback
2146         (endPipe): call unregister_socket_callback
2147
2148 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
2149
2150         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2151         (LyXServerSocket): register the callback
2152         (LyXServerSocket): unregister the callback
2153         (fd): delete function
2154         (serverCallback): improve error checking and setup the callbacks.
2155         (dataCallback): change arg to fd.
2156         (writeln): new func (copied fro the client socket) used for server
2157         write to client.
2158         (LyXDataSocket): simplify
2159         (~LyXDataSocket): close ann unregiser callback
2160         (server): delete function
2161         (fd): delete function
2162         (readln): small changes, improve some std::string usage
2163         (writeln): constify a bit
2164
2165 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2166
2167         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2168         Qt frontend
2169
2170 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2171
2172         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2173         after it has been populated
2174
2175 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2176
2177         * text2.C (insertInset): move cursor when inserting inset.
2178
2179 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2180
2181         * kbmap.C (findbindings): a couple of new methods. returns a
2182         container of kb_sequence objects. The real work is done by the
2183         private recursive version
2184         (printbindings): uses findbindings to print out a bracketed list
2185         of bindings (renamed from findbinding).
2186
2187         * MenuBackend.C (binding): use kb_keymap::findbindings
2188
2189         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2190
2191 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2192
2193         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2194
2195 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2196
2197         * paragraph.C (isWord): return true on insets that report
2198         isLetter().
2199
2200         * text.C (getWord): use Paragraph::isWord to decide what is in a
2201         word and what is not; fix bug 1609.
2202
2203 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2204
2205         * tex-strings.C: add "none" to string_paperpackages[], fixes
2206         off-by-one-error in the paperpackage selection.
2207
2208         * lyxlex.[Ch]:
2209         * tex-strings.[Ch]: char const * string[n]
2210         -> char const * const string[]
2211
2212 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2213
2214         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2215         command, return early.
2216
2217 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
2218
2219         * debug.h: add DEBUG to enum and fix size of ANY.
2220
2221         * debug.C: add support for Debug::DEBUG
2222         (showTags): cast errorTags.level to unsigned int
2223
2224         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2225         (redoCurrentBuffer): ditto
2226         (updateScrollbar): ditto
2227         * cursor.C (dispatch): ditto
2228         * text2.C (setLayout): ditto
2229         (setFont): ditto
2230         (updateCounters): ditto
2231         (editXY): ditto
2232         (deleteEmptyParagraphMechanism): ditto
2233
2234 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
2235
2236         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2237         annotations to cleanup the Makefile slightly.
2238
2239 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2240
2241         * lyxrc.C: do not set user_email to a default value but use empty
2242         instead. The entry used to be translated, which does not work
2243         since at the point where lyxrc is constructed there is no
2244         translation service available
2245
2246         * messages.C (getLocaleDir): remove and use directly
2247         lyx_localedir() instead
2248
2249 2004-06-02  Angus Leeming  <leeming@lyx.org>
2250
2251         Fix crash caused by dereferencing null pointer 'exportdata' in
2252         OutputParams by creating a new ExportData variable on the heap,
2253         storing it in a boost::shared_ptr.
2254         The crash was triggered when generating an Instant Preview
2255         of an external inset.
2256
2257         * Makefile.am: add outputparams.C
2258
2259         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2260         (c-tor): allocate memory to it.
2261
2262         * exporter.C (c-tor): associated changes.
2263
2264 2004-06-01  Angus Leeming  <leeming@lyx.org>
2265
2266         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2267         contains data before calling isInset(0). (Bug 1513.)
2268
2269 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2270
2271         * exporter.C (checkOverwrite): new method
2272         * exporter.C (copyFile): new method
2273         * exporter.C (Export): copy referenced files to the document dir
2274         * exporter.[Ch]: new class ExportedFile
2275         * exporter.[Ch]: new class ExportData. Contains currently the
2276         names of referenced external files
2277         * outputparams.h: add exportdata member.
2278
2279 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2280
2281         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2282         version.C-tmp
2283
2284 2004-05-19  Angus Leeming  <leeming@lyx.org>
2285
2286         * LaTeXFeatures.C:
2287         * ToolbarBackend.C:
2288         * bufferparams.C:
2289         * lyxfunc.C: small changes due to the introduction of namespace
2290         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2291
2292 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2293
2294         * text3.C (dispatch): supress update when only moving the cursor
2295         * cursor.C (selHandle): remove commented code
2296
2297 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2298
2299         * paragraph.C (startTeXParParams): correct column count
2300         * CutAndPaste.C (pasteSelection): remove const_cast
2301         * output_docbook.C (docbookParagraphs): remove const_cast
2302         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2303         const_cast and return ParagraphList::const_iterator
2304         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2305         * output_plaintext.C (writeFileAscii): remove const_cast
2306         * paragraph.[Ch] (simpleTeXOnePar): make const
2307         * paragraph_funcs.C (outerPar): use const iterators
2308         * paragraph_pimpl.C (validate): use const iterators
2309         * text.C (setHeightOfRow): use const iterators
2310
2311 2004-05-17  Angus Leeming  <leeming@lyx.org>
2312
2313         * lfuns.h:
2314         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2315
2316         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2317         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2318         if the citation engine has changed.
2319
2320 2004-05-14  José Matos  <jamatos@lyx.org>
2321
2322         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2323         if the textclass does not provide it. Have it different for sgml and
2324         xml.
2325         support the language of document.
2326         * output_docbook.C (docbookParagraphs):
2327         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2328         first anchor as the id of the paragraph, remove special case code.
2329         * sgml.C (escapeChar): escape only < & >.
2330
2331 2004-05-14  Angus Leeming  <leeming@lyx.org>
2332
2333         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2334         dependencies on src/frontends/controllers/biblio.h. Define a
2335         CiteEngine_enum wrapper class to enable the enum to be forward
2336         declared.
2337
2338 2004-05-12  Angus Leeming  <leeming@lyx.org>
2339
2340         * buffer.C: up LYX_FORMAT to 234.
2341         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2342         use_numerical_citations with a single biblio::CiteEngine cite_engine
2343         variable.
2344         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2345
2346 2004-05-13  José Matos  <jamatos@lyx.org>
2347
2348         * converter.h:
2349         * converter.C (Converter, readFlags): add xml member.
2350         * outputparams.h: add XML flavor.
2351         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2352
2353 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2354
2355         * lyxfunc.C (dispatch):
2356         (getStatus): fix handling of LFUN_SEQUENCE
2357
2358 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2359
2360         * debug.C (showLevel): do not forget the end-of-line marker
2361
2362 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2363
2364         * kbmap.C (read): do not stop parsing a bind file when an error
2365         occurs (bug 1575)
2366
2367 2004-04-29  Angus Leeming  <leeming@lyx.org>
2368
2369         * cursor.C:
2370         * factory.C:
2371         * pariterator.C:
2372         * text2.C: wrap a bunch of #warning statements
2373         inside #ifdef WITH_WARNINGS blocks.
2374
2375 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2376
2377         * buffer.C: increment format to 233.
2378
2379 2004-04-28  Angus Leeming  <leeming@lyx.org>
2380
2381         * BufferView_pimpl.C:
2382         * lyxfunc.C:
2383         * text3.C:
2384         s/updateToolbar()/updateToolbars()/
2385         s/Toolbar.h/Toolbars.h/
2386
2387 2004-04-28  Angus Leeming  <leeming@lyx.org>
2388
2389         * BufferView.[Ch] (c-tor):
2390         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2391         No longer passes these data to the WorkArea generator.
2392
2393 2004-04-28  Angus Leeming  <leeming@lyx.org>
2394
2395         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2396
2397 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2398
2399         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2400
2401 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2402
2403         * output_latex.C (TeXEnvironment): make sure that there is a line
2404         break before \end{foo} for the last paragraph of a document
2405         (TeXOnePar): if the paragraph is at the end of the document (or
2406         inset) and the language has to be reset, then make sure that the
2407         line break is _before_ the language command, not after (fixes bug
2408         1225); also make sure that the language reset command is the first
2409         thing after the paragraph (to ensure proper nesting of
2410         environments and thus fix bug 1404)
2411
2412 2004-04-21  John Levon  <levon@movementarian.org>
2413
2414         * ToolbarBackend.h:
2415         * ToolbarBackend.C: make "name" be a programmatic name
2416         and a gui_name field.
2417
2418         * lyxfunc.C: display the minibuffer on M-x
2419
2420 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2421
2422         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2423         (bug 1526)
2424
2425 2004-04-19  Angus Leeming  <leeming@lyx.org>
2426
2427         * BufferView_pimpl.C (setBuffer): changed preview interface.
2428
2429         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2430         possible values.
2431
2432 2004-04-19  John Levon  <levon@movementarian.org>
2433
2434         * BufferView_pimpl.C:
2435         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2436
2437 2004-04-05  Angus Leeming  <leeming@lyx.org>
2438
2439         * text.C (redoParagraphs): add call to updateCounters(), thereby
2440         fixing the missing "Figure #:" label from the caption of a
2441         figure float.
2442
2443 2004-04-13  Angus Leeming  <leeming@lyx.org>
2444
2445         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2446         cursor is clicked out of an inset.
2447
2448 2004-04-13  Angus Leeming  <leeming@lyx.org>
2449
2450         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2451         than an InsetOld one.
2452
2453 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2454
2455         * format.[Ch]: add editor to Format
2456         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2457         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2458
2459 2004-04-08  André Pönitz  <poenitz@gmx.net>
2460
2461         * metricsinfo.h: remove PainterInfo::width member
2462
2463 2004-04-08  Angus Leeming  <leeming@lyx.org>
2464
2465         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2466         "\providecommand" rather than "\newcommand", thereby preventing
2467         clashes with packages that define "\boldsymbol" themselves.
2468         Eg, beamer.
2469
2470 2004-04-08  Angus Leeming  <leeming@lyx.org>
2471
2472         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2473         thereby squashing an unnecessary warning.
2474
2475 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2476
2477         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2478         setBuffer()
2479
2480 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2481
2482         * BufferView.C (setCursor): call redoParagraph (some insets could
2483         have been opened)
2484         (putSelectionAt): remove the 'double update' trick
2485
2486         * BufferView_pimpl.C (fitCursor): call refreshPar
2487         (workAreaDispatch): remove an uneeded update call
2488         (dispatch): remove some manual update calls
2489
2490         * cursor.[Ch]: remove cached_y_, updatePos
2491         (selHandle): set noUpdate when appropriate
2492
2493         * lyxfunc.C (dispatch): track if we need an update
2494
2495         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2496
2497         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2498         (paintSelection): cheap optimization, do not call cursorX when not
2499         needed
2500         (paintPars): change signature
2501         (refreshPar): add
2502         (paintText): adjust
2503         (paintTextInset): adjust
2504
2505         * text.C: adjust
2506
2507 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2508
2509         * lengthcommon.C: compilation fix: remove explicit array size from
2510         unit_name[] and friends
2511
2512 2004-04-05  Angus Leeming  <leeming@lyx.org>
2513
2514         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2515
2516         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2517         present only for the preferences dialog.
2518         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2519
2520 2004-04-05  Angus Leeming  <leeming@lyx.org>
2521
2522         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2523         to enable the frontends to export changes to lyxrc correctly.
2524
2525         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2526
2527 2004-04-07  André Pönitz  <poenitz@gmx.net>
2528
2529         * cursor.[Ch] (selClear, adjust): remove math
2530
2531         * cursor_slice.C: more agressive assert
2532
2533         * lyxfunc.C:
2534         * BufferView_pimpl.C: rework mouse event dispatch
2535
2536         * dociterator.C:
2537         * paragraph.C:
2538         * text2.C:
2539         * text3.C: adjust
2540
2541 2004-04-05  André Pönitz  <poenitz@gmx.net>
2542
2543         * cursor.[Ch] (valign, halign...): remove unneeded functions
2544
2545 2004-04-05  Angus Leeming  <leeming@lyx.org>
2546
2547         * lyxlength.[Ch] (unit_name et al.): const-correct.
2548
2549 2004-04-05  Angus Leeming  <leeming@lyx.org>
2550
2551         * BufferView_pimpl.C:
2552         * buffer.C:
2553         * counters.C:
2554         * cursor.C:
2555         * lyxfunc.C
2556         * paragraph.C:
2557         * pariterator.C:
2558         * text.C:
2559         * text2.C:
2560         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2561
2562 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2563
2564         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2565
2566 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2567
2568         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2569         * BufferView_pimpl.[Ch] (getStatus)
2570         * BufferView.[Ch] (getStatus): add
2571         * lyxfunc.C (getStatus): move lfuns handled in
2572         BufferView::dispatch to te function above
2573         * Cursor.C (setSelection): set selection() = true
2574
2575 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2576
2577         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2578
2579 2004-03-31  Angus Leeming  <leeming@lyx.org>
2580
2581         * lyxfunc.C (dispatch): Fall through to the generic
2582         Dialogs::show("preamble").
2583
2584 2004-03-31  Angus Leeming  <leeming@lyx.org>
2585
2586         * lyxfunc.C (dispatch): Fall through to the generic
2587         Dialogs::show("spellchecker").
2588
2589 2004-03-31  Angus Leeming  <leeming@lyx.org>
2590
2591         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2592         preferences dialog.
2593
2594 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2595
2596         * BufferView.C
2597         * cursor.[Ch]
2598         * dociterator.[Ch]:
2599         * insetiterator.[Ch]:
2600         * lyxfind.C:
2601         * lyxfunc.C:
2602         * pariterator.[Ch]:
2603         * text2.C:
2604         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2605
2606 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2607
2608         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2609         insets where we are putting the cursor.
2610
2611 2004-03-31  Angus Leeming  <leeming@lyx.org>
2612
2613         * lfuns.h:
2614         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2615
2616         * lyxrc.[Ch] (read, write): overloaded member functions taking
2617         a std::[io]stream arguments.
2618
2619         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2620
2621 2004-03-31  Angus Leeming  <leeming@lyx.org>
2622
2623         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2624         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2625
2626         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2627         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2628
2629 2004-03-31  Angus Leeming  <leeming@lyx.org>
2630
2631         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2632         the LFUN_ALL_INSETS_TOGGLE code.
2633
2634 2004-03-30  Angus Leeming  <leeming@lyx.org>
2635
2636         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2637         has died. Fall through to the generic Dialogs::show("document").
2638
2639 2004-03-30  Angus Leeming  <leeming@lyx.org>
2640
2641         * lfuns.h:
2642         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2643         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2644
2645         * lyxfunc.C (getStatus, dispatch): define the actions for these
2646         lfuns. Little more than a cut and pste job from ControlDocument.C
2647
2648         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2649
2650 2004-03-30  Angus Leeming  <leeming@lyx.org>
2651
2652         * lfuns.h:
2653         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2654         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2655
2656         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2657         open/closed state of ollapsable insets. Usage:
2658
2659         all-inset-toggle <state> <name>, where
2660         <state> == "open" || "closed" || "toggle" and
2661         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2662
2663         * lyxtext.h, text2.C (toggleInset): removed.
2664
2665         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2666         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2667         now passes LFUN_INSET_TOGGLE to the found inset.
2668
2669         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2670         is now invoked as "all-insets-toggle toggle branch".
2671
2672 2004-03-30  Angus Leeming  <leeming@lyx.org>
2673
2674         * dociterator.C:
2675         * insetiterator.C:
2676         * pariterator.[Ch]: added/corrected header blurb.
2677
2678 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2679
2680         * dociterator.[Ch]: add an inset_ member
2681         (backwardPos): implemented
2682         (backwardPos, forwardPos): use inset_ when the stack is empty.
2683         (doc_iterator_begin, doc_iterator_end): implemented
2684         * pariterator.[Ch]: adjust, add begin, end
2685         * insetiterator.[Ch]: adjust, add begin, end
2686         * cursor.C:
2687         * document.C:
2688         * BufferView.C:
2689         * BufferView_pimpl.C:
2690         * CutAndPaste.C: adjust
2691
2692 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2693
2694         * buffer.C: increment file format to 232.
2695         * LaTeXFeatures.C: add bibtopic package.
2696         * bufferparams.[Ch]: param \use_bibtopic.
2697
2698         * lyxrc.[Ch]: add lyxrc bibtex_command
2699         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2700
2701         * buffer.C: increment file format to 231.
2702
2703 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2704
2705         * dociterator.C: implement forwardPar
2706         * iterators.[Ch]: remove, replaced by
2707         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2708         * BufferView.C:
2709         * BufferView_pimpl.C:
2710         * CutAndPaste.C:
2711         * buffer.C:
2712         * bufferview_funcs.C:
2713         * cursor.C:
2714         * lyxfind.C
2715         * lyxfunc.C
2716         * paragraph_funcs.C
2717         * toc.C:
2718         * Makefile.am: adjust
2719
2720 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2721
2722         * CutAndPaste.C (pasteSelection): fix 2 crashes
2723         (eraseSelection): fix a crash
2724         * paragraph_funcs.C: remove a warning
2725
2726 2004-03-28  Angus Leeming  <leeming@lyx.org>
2727
2728         * lfuns.h:
2729         * LyXAction.C (init): new LFUN_PRINT.
2730
2731         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2732
2733 2004-03-27  Angus Leeming  <leeming@lyx.org>
2734
2735         * lfuns.h:
2736         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2737
2738         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2739
2740 2004-03-27  Angus Leeming  <leeming@lyx.org>
2741
2742         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2743         insetlist always contains non-null pointers to insets.
2744
2745 2004-03-26  Angus Leeming  <leeming@lyx.org>
2746
2747         * src/BufferView_pimpl.C:
2748         * src/CutAndPaste.C:
2749         * src/buffer.C:
2750         * src/iterators.C:
2751         * src/output_plaintext.C:
2752         * src/outputparams.h:
2753         * src/paragraph_funcs.C:
2754         * src/rowpainter.C:
2755         * src/text.C:
2756         * src/text2.C:
2757         * src/frontends/controllers/ControlErrorList.C:
2758         * src/frontends/gtk/FileDialogPrivate.C:
2759         * src/frontends/gtk/GPainter.C:
2760         * src/frontends/gtk/GToolbar.C:
2761         * src/frontends/qt2/QRef.C:
2762         * src/mathed/math_scriptinset.C: squash compiler warnings.
2763
2764 2004-03-26  Angus Leeming  <leeming@lyx.org>
2765
2766         * ispell.C (LaunchIspell::start):
2767         * lyx_cb.C (AutoSaveBuffer::start):
2768         invoke run(DontWait) rather than runNonBlocking().
2769
2770 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2771
2772         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2773
2774 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2775
2776         * kbsequence.C (print): adjust
2777
2778         * kbmap.C (printKeySym): rename and change signature
2779         (printKey): use LyXKeySym::print()
2780
2781 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2782
2783         * undo.C: add using std::advance to compile for stlport
2784
2785 2004-03-24  Angus Leeming  <leeming@lyx.org>
2786
2787         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2788         it leads to a crash when no buffer is present.
2789
2790 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2791             Martin Vermeer  <martin.vermeer@hut.fi>
2792
2793         * lyxfunc.C (dispatch):
2794         * bufferparams.C (readToken): use the new LColor::setColor
2795
2796         * LColor.[Ch] (setColor): new version that takes two strings as
2797         argument and creates a new color entry if necessary
2798
2799 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2800
2801         * buffer.C (makeLaTeXFile): if the main latex file that is
2802         processed is usually a subdocument of some master, then pretend
2803         for a while that it is actually the master
2804
2805 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2806
2807         * buffer.C (getLabelList):
2808         (getBibkeyList): use getMasterBuffer()
2809         (getMasterBuffer): new method. Returns the main document in the
2810         case where one is using included documents.
2811
2812 2004-03-25  André Pönitz  <poenitz@gmx.net>
2813
2814         * Makefile.am:
2815         * iterators.[Ch]:
2816         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2817
2818         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2819
2820         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2821         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2822
2823         * ParameterStruct.h: merge with ParagraphParameters
2824
2825         * lyxtext.h: remove LyXText::parOffset() and getPar()
2826
2827         * text3.C: Remove all 'manual' update calls. We do now one per user
2828         interaction which is completely sufficient.
2829
2830         * Bidi.C:
2831         * BufferView.[Ch]:
2832         * BufferView_pimpl.C:
2833         * FontIterator.[Ch]:
2834         * MenuBackend.C:
2835         * ParagraphParameters.[Ch]:
2836         * buffer.C:
2837         * buffer.h:
2838         * bufferlist.C:
2839         * cursor.[Ch]:
2840         * cursor_slice.[Ch]:
2841         * dociterator.[Ch]:
2842         * errorlist.[Ch]:
2843         * factory.C:
2844         * lfuns.h:
2845         * lyxfind.C:
2846         * lyxfunc.C:
2847         * output_docbook.[Ch]:
2848         * output_latex.[Ch]:
2849         * output_linuxdoc.[Ch]:
2850         * output_plaintext.[Ch]:
2851         * paragraph.[Ch]:
2852         * paragraph_funcs.[Ch]:
2853         * paragraph_pimpl.[Ch]:
2854         * rowpainter.C:
2855         * tabular.[Ch]:
2856         * text.C:
2857         * text2.C:
2858         * toc.C:
2859         * undo.[Ch]: adjust
2860
2861         * frontends/controllers/ControlDocument.C:
2862         * frontends/controllers/ControlErrorList.C:
2863         * frontends/controllers/ControlSpellchecker.C:
2864         * insets/inset.C:
2865         * insets/inset.h:
2866         * insets/insetbase.h:
2867         * insets/insetbibitem.C:
2868         * insets/insetbox.C:
2869         * insets/insetbranch.C:
2870         * insets/insetcaption.C:
2871         * insets/insetcharstyle.C:
2872         * insets/insetcharstyle.h:
2873         * insets/insetcollapsable.C:
2874         * insets/insetcollapsable.h:
2875         * insets/insetert.C:
2876         * insets/insetfloat.C:
2877         * insets/insetfoot.C:
2878         * insets/insetmarginal.C:
2879         * insets/insetnote.C:
2880         * insets/insetoptarg.C:
2881         * insets/insettabular.C:
2882         * insets/insettext.C:
2883         * insets/insettext.h:
2884         * insets/insetwrap.C:
2885         * mathed/math_mboxinset.C:
2886         * mathed/math_nestinset.C:
2887         * mathed/math_scriptinset.C:
2888         * mathed/math_scriptinset.h:
2889         * support/types.h:
2890
2891 2004-03-24  Angus Leeming  <leeming@lyx.org>
2892
2893         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2894         deal with any child processes that have finished but are waiting to
2895         communicate this fact to the rest of LyX.
2896
2897 2004-03-24  Angus Leeming  <leeming@lyx.org>
2898
2899         64-bit compile fixes.
2900
2901         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2902         (c-tor): pass lyx::pos_types rather than ints.
2903
2904         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2905         lyx::pos_type.
2906
2907         * text.C (Delete): compile fix.
2908         (getPar): ensure that function declaration is the same as that in
2909         the header file.
2910
2911 2004-03-23  Angus Leeming  <leeming@lyx.org>
2912
2913         * ispell.C (LaunchIspell):
2914         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2915         a boost::shred_ptr rather than a std::auto_ptr.
2916
2917 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2918
2919         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2920         handle LFUN_FILE_INSERT_*
2921
2922         * lyxrc.C (setDefaults, getDescription, output, read):
2923         * lyxrc.h: remove ps_command
2924
2925 2004-03-22  Angus Leeming  <leeming@lyx.org>
2926
2927         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2928         Ensure that error_handler is processed once only and that all data
2929         is saved before attempting to output any warning messages.
2930
2931         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2932
2933 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2934
2935         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2936
2937 2004-03-19  André Pönitz  <poenitz@gmx.net>
2938
2939         * cursor.[Ch] (reset): take main text inset as argument
2940
2941         * BufferView: adjust
2942         * BufferView_pimpl.C: adjust
2943
2944         * paragraph.[Ch]: fix completely broken operator=()
2945
2946 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2947
2948         * LColor.C (getFromLyXName): make sure that the color name is used
2949         as lowercase.
2950
2951 2004-03-17  Angus Leeming  <leeming@lyx.org>
2952
2953         * lfuns.h:
2954         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2955
2956         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2957         dialog and to kill a forked process.
2958
2959 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2960
2961         * text2.C (setCursorFromCoordinates): fix font problem
2962
2963 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2964
2965         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2966         bogus "rebuild cursor" code
2967
2968 2004-03-11  André Pönitz  <poenitz@gmx.net>
2969
2970         * buffer.[Ch]: use InsetText instead of LyXText as container for
2971         the main lyx text.
2972
2973         * dociterator.[Ch]: drop the BufferView * member which is not needed
2974         anymore after the change to buffer.C
2975
2976         * paragraph_funcs.C:
2977         * text.C:
2978         * text2.C:
2979         * BufferView.[Ch]:
2980         * BufferView_pimpl.[Ch]:
2981         * cursor.[Ch]:
2982         * cursor_slice.[Ch]: adjust
2983
2984         * text3.C: fix bug in mathDispatch
2985
2986 2004-03-08  André Pönitz  <poenitz@gmx.net>
2987
2988         * undo.[Ch]: use 'StableDocumentIterator' as base for
2989         the Undo struct.
2990
2991 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2992
2993         * LaTeXFeatures.C:
2994         * bufferparams.[Ch]: add jurabib support and param.
2995
2996         * LaTeX.C: add FIXME/comment.
2997
2998 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2999
3000         * buffer.C: increment file format to 230.
3001
3002 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3003
3004         * cursor.C (dispatch): avoid infinite loops
3005
3006 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3007
3008         * rowpainter.C (paintSelection): fix x coordinates
3009
3010 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3011
3012         * text.C (rowBreakPoint): fix breaking before displayed insets
3013
3014 2004-03-01  André Pönitz  <poenitz@gmx.net>
3015
3016         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3017
3018         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3019
3020         * Makefile.am:
3021         * BufferView.C:
3022         * BufferView_pimpl.C:
3023         * buffer.C:
3024         * lyxfind.C:
3025         * lyxfunc.C:
3026         * text.C:
3027         * text2.C:
3028         * text3.C: adjust
3029
3030 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3031
3032         * lyxtext.h:
3033         * text.C:
3034         * text2.C:
3035         * rowpainter.C:
3036         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3037         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3038
3039 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3040
3041         * Bidi.[Ch] (computeTables): const correctness
3042         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3043         fill_hfill, fill_label_hfill and x from Row
3044         * lyxtext.h: prepareToPrint returns a RowMetrics
3045         * rowPainter.C: adjust
3046         * text.C (prepareToPrint): use width, not textWidth. adjust
3047         (redoParagraphInternal, cursorX): adjust
3048         * text2.C (getColumnNearX): adjust
3049         (init): put a default value to the top LyXText::width
3050
3051 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3052
3053         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3054
3055 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3056
3057         * lyxtext.h: add FontIterator class
3058
3059         * text.C (FontIterator, operator*, operator->, operator++): add
3060         (rowBreakPoint, setRowWidth): adjust (fixing a
3061         rebreaking bug)
3062
3063 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3064
3065         * BufferView_pimpl.C (workAreaDispatch): allow also
3066         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3067
3068 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3069
3070         * text.C (rowBreakPoint): fix a bug showing with very large insets
3071
3072 2004-02-25  André Pönitz  <poenitz@gmx.net>
3073
3074         * text3.C:
3075         * cursor.[Ch]: move some mathed specific code to mathed
3076
3077 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3078
3079         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3080         use_tempdir in preferences
3081         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3082         tempfile creation
3083         * lyx_main.C: ensure that tempdir is valid
3084         * lyxlex.h: correct typo
3085         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3086         * paragraph.[Ch] (isMultiLingual): make const
3087         * cursor.[Ch] (openable): make const
3088
3089 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3090
3091         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3092
3093 2004-02-20  André Pönitz  <poenitz@gmx.net>
3094
3095         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3096
3097         * cursor.[Ch]: prepare for localized getStatus()
3098
3099         * lyxtext.h:
3100         * tabular.C:
3101         * text.C:
3102         * text2.C:
3103         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3104
3105 2004-02-20  André Pönitz  <poenitz@gmx.net>
3106
3107         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3108
3109 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3110
3111         * text2.C (setCursorFromCoordinates): switch to absolute coords
3112         (cursorUp): adjust
3113         (cursorDown): adjust
3114         * text3.C (dispatch): adjust
3115
3116 2004-02-16  André Pönitz  <poenitz@gmx.net>
3117
3118         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3119           insets/ChangeLog)
3120
3121         * cursor_slice.[Ch]: remove unneeded acessor function
3122
3123         * lyxtext.h: rename rtl() to isRTL()
3124
3125         * rowpainter.C:
3126         * tabular.C:
3127         * text.C:
3128         * text2.C:
3129         * text3.C: adjust
3130
3131 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3132
3133         * rowpainter.C (paintSelection): coord fix
3134
3135 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3136
3137         * Spacing.C: compile fix
3138
3139 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3140
3141         * cursor.C (dispatch): restore current_ before returning
3142
3143 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3144
3145         * text2.C (cursorUp, cursorDown): fix coords
3146         (moveUp): fix crash
3147
3148 2004-02-12  André Pönitz  <poenitz@gmx.net>
3149
3150         * lyxtext.h:
3151         * text.C:
3152         * text2.C:
3153         * text3.C: add LCursor & parameter to most cursor movement functions
3154           remove usage of LyXText::cursorRow() and cursorPar()
3155
3156         * cursor.[Ch]: add textRow() needed members
3157
3158         * BufferView.C:
3159         * BufferView_pimpl.C:
3160         * paragraph.[Ch]:
3161         * BufferView.C:
3162         * BufferView_pimpl.C: adjust
3163
3164 2004-02-11  André Pönitz  <poenitz@gmx.net>
3165
3166         * lyxfunc.C:
3167         * BufferView.[Ch]:
3168         * BufferView_pimpl.C: shift undo/redo handling
3169
3170         * cursor.[Ch]: fix mathed crash
3171
3172         * lyxfind.C:
3173         * lyxtext.h: move selectionAsText to LCursor
3174
3175         * output_latex.C:
3176         * paragraph.C:
3177         * text.C:
3178         * text2.C:
3179         * text3.C: adjust
3180
3181         * rowpainter.C: fix excessive drawing
3182
3183 2004-02-06  André Pönitz  <poenitz@gmx.net>
3184
3185         * BufferView.[Ch]:
3186         * BufferView_pimpl.[Ch]:
3187         * text3.C: move some text specific LFUN handling
3188
3189 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3190
3191         * text3.C (checkInsetHit): adjust coords
3192         * text2.C (getColumnNearX): adjust coords
3193         (edit): adjust coords
3194         * text.C (getRowNearY): add two asserts
3195
3196 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3197
3198         * converter.C:
3199         * format.C: add using std::distance to compile on gcc 2.95/stlport
3200
3201 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3202
3203         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3204
3205 2004-02-04  André Pönitz  <poenitz@gmx.net>
3206
3207         * BufferView.[Ch] (insertInset):
3208         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3209
3210         * text2.C:
3211         * text3.C: adjust
3212
3213 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3214
3215         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3216         on the default clause of the switch
3217         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3218         wasn't catched by LCursor::dispatch
3219
3220 2004-02-03  André Pönitz  <poenitz@gmx.net>
3221
3222         * BufferView.C:
3223         * cursor.[Ch]: some additional asserts
3224
3225         * undo.[Ch]: remove LyXText dependency in interface
3226
3227         * lyxfunc.C: adjust
3228
3229         * lyxtext.h (firstPar, lastPar): remove dead functions
3230
3231         * text.C:
3232         * text2.C:
3233         * text3.C:
3234         * paragraph.[Ch]: adjust
3235
3236 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3237
3238         * lyxfind.C (find): fix argument order in call to ::find
3239
3240 2004-02-02  André Pönitz  <poenitz@gmx.net>
3241
3242         * cursor.[Ch]: remove direct access to anchor
3243
3244         * text.C: remove findText() hack
3245
3246 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3247
3248         * iterators.[Ch] (lockPath): remove in favour of...
3249         * BufferView.[Ch] (setCursor): this addition
3250         * BufferView.C (putSelectionAt): adjust
3251         * undo.C (performUndoOrRedo): adjust
3252         * lyxfunc.C (dispatch): adjust
3253
3254 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3255
3256         * iterators.C (lockPath): add a missing slice
3257         * undo.C (performUndoOrRedo): remove redundant positioning code
3258
3259 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
3260
3261         * vc-backend.C (scanMaster): ";" -> ';'
3262
3263 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
3264
3265         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3266         std::binary_function
3267
3268         * lyxtextclass.C (compare_name): rename to...
3269         (LayoutNamesEqual): ...this
3270
3271         * lyxlex_pimpl.C (compare_tags): inherit from
3272         std::binary_function, put back into anon namespace
3273
3274         * lyxfind.C (MatchString): inherig from std::binary_function
3275         (findChange): use empty() istead of !size()
3276
3277         * format.C (FormatNamesEqual): new functor
3278         (getFormat): use it
3279         (getNumber): use it
3280         (add): use it
3281         (erase): use it
3282         (setViewer): use it
3283
3284         * converter.C (compare_Converter): rename to...
3285         (ConverterEqual): ...this, and fixup a bit.
3286         (getConverter): use it, and make function const
3287         (getNumber): use it, and make function const
3288         (add): use it
3289         (erase): use it:
3290
3291         * bufferlist.C: add using boost::bind
3292
3293         * MenuBackend.C (MenuNamesEqual): new functor
3294         (hasMenu): use it, and make function const
3295         (hasSubmenu): use nested bind to get rid of compare_memfun.
3296
3297 2004-01-30  André Pönitz  <poenitz@gmx.net>
3298
3299         * BufferView_pimpl.C:
3300         * cursor.C:
3301         * cursor.h:
3302         * cursor_slice.[Ch]:
3303         * lyxfunc.C:
3304         * lyxtext.h:
3305         * paragraph_funcs.C:
3306         * paragraph_funcs.h:
3307         * rowpainter.C:
3308         * text.C:
3309         * text2.C:
3310         * text3.C: move some of the edit(x,y) handling to the insets
3311         some coordinate changes.
3312
3313 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
3314
3315         * text.C: add using statements for std::advance and std::distance
3316
3317         * paragraph.C: add using statement for std::distance
3318
3319         * lyxfind.C: add using statement for std::advance
3320
3321         * cursor.C (region): remove std:: from swap
3322         (openable): use nucleus in stead of operator->
3323
3324         * BufferView.C: add using statements for std::distance and std::swap
3325
3326 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
3327
3328         * iterators.C: Remove the pimple, move the needed structures to
3329         the header file. Create accessor for the positions stack.
3330         (asPosIterator): remove function
3331
3332         * PosIterator.C (PosIterator): move constructors to top of file
3333         (PosIterator): reimplement the constructor taking a ParIterator in
3334         terms of setFrom.
3335         (setFrom): new function
3336         (operator!=): inline it
3337
3338 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
3339
3340         * lyxfind.C (replaceAll): use std::advance
3341
3342         * iterators.h: inherit from std::iterator.
3343
3344         * PosIterator.C (advance, distance): remove
3345         * PosIterator.h: interit from std::iterator.
3346
3347 2004-01-26  André Pönitz  <poenitz@gmx.net>
3348
3349         * BufferView.[Ch]:
3350         * BufferView_pimpl.[Ch]:
3351         * InsetList.[Ch]:
3352         * PosIterator.[Ch]:
3353         * buffer.h:
3354         * bufferview_funcs.C:
3355         * cursor.[Ch]:
3356         * cursor_slice.h:
3357         * factory.[Ch]:
3358         * iterators.[Ch]:
3359         * lyxfind.C:
3360         * lyxfunc.C:
3361         * lyxtext.h:
3362         * output_docbook.C:
3363         * output_latex.C:
3364         * output_linuxdoc.C:
3365         * output_plaintext.C:
3366         * paragraph.[Ch]:
3367         * paragraph_funcs.[Ch]:
3368         * paragraph_pimpl.[Ch]:
3369         * rowpainter.C:
3370         * tabular.C:
3371         * tabular.h:
3372         * text.C:
3373         * text2.C:
3374         * text3.C: more IU:  dumps most of the rest of the mathcursor
3375     implementation into cursor.[Ch]; "globalize" a bit of it.
3376
3377 2004-01-25  Angus Leeming  <leeming@lyx.org>
3378
3379         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3380
3381 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3382
3383         * LaTeXFeatures.h: add nice_ and nice() const
3384         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3385
3386 2004-01-20  André Pönitz  <poenitz@gmx.net>
3387
3388         * BufferView.[Ch]:
3389         * BufferView_pimpl.C:
3390         * PosIterator.C:
3391         * bufferview_funcs.C:
3392         * cursor.[Ch]:
3393         * cursor_slice.[Ch]:
3394         * factory.C:
3395         * iterators.C:
3396         * lyx_cb.C:
3397         * lyxfind.C:
3398         * lyxfunc.C:
3399         * lyxtext.h:
3400         * rowpainter.C:
3401         * text.C:
3402         * text2.C:
3403         * text3.C:
3404         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3405           LCursor and mathcursor parts to LCursor and InsetBase.
3406
3407 2004-01-15  André Pönitz  <poenitz@gmx.net>
3408
3409         * cursor_slice.[Ch]: add a few covienience functions
3410
3411         * funcrequest.[Ch]: remove BufferView * member
3412
3413         * BufferView_pimpl.C:
3414         * cursor.C:
3415         * factory.[Ch]:
3416         * lyxfind.[Ch]:
3417         * lyxfunc.C:
3418         * lyxtext.h:
3419         * text3.C:
3420         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3421
3422 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3423
3424         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3425         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3426
3427 2004-01-13  André Pönitz  <poenitz@gmx.net>
3428
3429         * textcursor.[Ch]:
3430         * lyxtext.h: hide cursor and selection anchor behind accessor function
3431
3432         * BufferView.C:
3433         * BufferView_pimpl.[Ch]:
3434         * PosIterator.C:
3435         * bufferview_funcs.C:
3436         * cursor.h:
3437         * lyxfind.C:
3438         * lyxfunc.C:
3439         * text.C:
3440         * text2.C:
3441         * text3.C:
3442         * undo.C: adjust
3443
3444         * cursor.h:
3445         * cursor_slice.[Ch]: some integer type changes for inset unification
3446
3447         * lyxcursor.[hC]: remove, it's CursorSlice now.
3448
3449         * Makefile.am:
3450         * BufferView_pimpl.[Ch]:
3451         * bufferview_funcs.C:
3452         * cursor_slice.C:
3453         * lyxtext.h:
3454         * text.C:
3455         * text2.C:
3456         * text3.C:
3457         * textcursor.[Ch]: adjust
3458
3459 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3460
3461         * text2.C (undoSpan): add and use
3462         * text.C (breakParagraph): use undoSpan (fix bug 578)
3463         * lyxtext.h: adjust
3464
3465 2004-01-08  Angus Leeming  <leeming@lyx.org>
3466
3467         * BufferView_pimpl.C (MenuInsertLyXFile):
3468         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3469         * lyxfunc.C (menuNew, open, doImport):
3470         FileFilterList change to the FileDialog open and save functions.
3471
3472 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
3473
3474         * ShareContainer.h: make isEqual and isUnique adaptable
3475
3476         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3477
3478 2004-01-07  Angus Leeming  <leeming@lyx.org>
3479
3480         * LyXAction.C:
3481         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3482
3483         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3484
3485         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3486         functions replacing find, replace and replaceAll.
3487
3488         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3489         LFUN_WORDFIND(FORWARD|BACKWARD).
3490
3491 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3492
3493         * text.C (breakParagraph): remove an outdated #warning
3494
3495 2004-01-07  André Pönitz  <poenitz@gmx.net>
3496
3497         * lyxfind.C: somewhat clearer logic
3498
3499         * text.C: prevent crash in cursorX on unitialized row cache
3500
3501 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3502
3503         * lyxcursor.[Ch] (operator>): add
3504         * textcursor.C (selStart, selEnd): use std::min and std::max
3505
3506 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
3507
3508         * Chktex.C: include boost/format.hpp
3509
3510 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
3511
3512         * InsetList.C: replace functor MathcIt with adaptable functor
3513         InsetTablePosLess
3514         (insetIterator): modify accordingly
3515
3516         * BranchList.h: move the BranchNamesEqual functor here from...
3517         * BranchList.C: ... to here
3518
3519         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3520         SameName and match.
3521         (add): replace a finding loop with std::find_if.
3522
3523 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3524
3525         * output_docbook.C: moving LatexParam functionality into
3526         .layout files
3527
3528 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3529
3530         * buffer.C: increment format to 229.
3531
3532 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3533
3534         * LaTeXFeatures.C:
3535         * lyx_sty.[Ch]: remove minipageindent_def
3536
3537         * LyXAction.C:
3538         * factory.C:
3539         * lfuns.h:
3540         * lyxfunc.C:
3541         * text3.C: remove LFUN_INSET_MINIPAGE
3542
3543 2003-12-28  Angus Leeming  <leeming@lyx.org>
3544
3545         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3546
3547 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3548
3549         * text2.C (setParagraph): fix off-by-one crash
3550
3551 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3552
3553         * output_docbook.C: header stuff for AGU
3554
3555 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3556
3557         * text2.C (redoCursor): remove
3558         * text.C:
3559         * text3.C:
3560         * BufferView_pimpl.C: remove calls to redoCursor and
3561         setCursor(cursor.par(), cursor.pos()) all around
3562
3563 2003-12-15  Angus Leeming  <leeming@lyx.org>
3564
3565         * buffer.C: up the format to 228.
3566
3567 2003-12-15  André Pönitz  <poenitz@gmx.net>
3568
3569         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3570         slices
3571
3572         * Makefile.am:
3573
3574         * BufferView_pimpl.C:
3575         * cursor.[Ch]:
3576         * lyxcursor.[Ch]:
3577         * rowpainter.[Ch]:
3578         * lyxtext.h:
3579         * text.C:
3580         * text2.C:
3581         * text3.C: adjust
3582
3583 2003-12-15  Angus Leeming  <leeming@lyx.org>
3584
3585         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3586         than getFromGUIName to manipulate the color.
3587
3588 2003-12-14  Angus Leeming  <leeming@lyx.org>
3589
3590         * BranchList.[Ch]: minimize the API.
3591         (Branch::getBranch, getColor): now return a 'const &'.
3592         (Branch::setSelected) now returns a bool set to true if the
3593         selection status changes.
3594         (BranchList::clear, size, getColor, setColor, setSelected,
3595         allBranches, allSelected, separator): removed.
3596         (BranchList::find): new functions, returning the Branch with
3597         the given name.
3598         (BranchList::add, remove): return a bool indicating that
3599         the operation was successful.
3600
3601         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3602         new InsetBranch::isBranchSlected member function.
3603
3604         * LColor.[Ch]: mimimize the API.
3605         (fill): renamed as addColor and made private.
3606         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3607         versions of these functions taking a string arg have been removed.
3608
3609         * bufferparams.C (readToken):
3610         * lyxfunc.C (dispatch):
3611         * lyxrc.C (read): changes due to the altered BranchList and
3612         LColor APIs.
3613
3614         * factory.C (createInset, readInset): changes due to altered
3615         InsetBranch c-tor.
3616
3617 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3618
3619         * factory.C:
3620         * lyxfunc.C: remove insetminipage. "minipage-insert"
3621         now produces a frameless minipage box inset.
3622
3623 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3624
3625         * textcursor.[Ch] (selStart,selEnd): add new methods
3626         remove selection::start, end, use LyXCursor::operator<
3627         * lyxcursor.[Ch] (operator<): add
3628         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3629         * BufferView.[Ch] (unsetXSel): add
3630         * text2.C (clearSelection): use unsetXSel,adjust
3631         * text.C: adjust
3632         * text3.C: adjust
3633         * rowpainter.C: adjust
3634         * bufferview_funcs.C (put_selection_at): adjust
3635
3636 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3637
3638         * BufferView_pimpl.C: small coord. correction
3639
3640 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3641
3642         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3643         dragging over the splash screen.
3644
3645 2003-12-11  Angus Leeming  <leeming@lyx.org>
3646
3647         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3648         as it is now handled in LyXText::dispatch.
3649
3650         * text3.C (doInsertInset): remove a level of nesting.
3651
3652 2003-12-11  Angus Leeming  <leeming@lyx.org>
3653
3654         * factory.C (createInset): changes due to the changed interface to
3655         InsetCommandMailer::string2params.
3656
3657 2003-12-10  Angus Leeming  <leeming@lyx.org>
3658
3659         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3660         'dialog-show-new-inset <inset name>'
3661
3662 2003-12-10  Angus Leeming  <leeming@lyx.org>
3663
3664         * buffer.C: up the format to 227.
3665
3666         * factory.C: the box inset is now identified simply by 'Box'.
3667
3668 2003-12-10  Angus Leeming  <leeming@lyx.org>
3669
3670         * buffer.C: up the format to 226.
3671
3672         * factory.C: the note inset is now identified simply by 'Note'.
3673
3674 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3675
3676         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3677         when a pit is enough. Standarize a couple of loops.
3678
3679 2003-12-05  Angus Leeming  <leeming@lyx.org>
3680
3681         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3682         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3683         data to the re-worked "log" dialog.
3684
3685 2003-12-03  André Pönitz  <poenitz@gmx.net>
3686
3687         * PosIterator.C:
3688         * iterators.C:
3689         * lyxtext.h:
3690         * output_latex.C:
3691         * paragraph_funcs.C:
3692         * text.C:
3693         * text2.C: use Inset::getText instead of Inset::getParagraph
3694
3695 2003-12-03  André Pönitz  <poenitz@gmx.net>
3696
3697         * buffer.[Ch]:
3698         * lyxtext.h:
3699         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3700         InsetText::read() as LyXText::read()
3701
3702 2003-12-02  Angus Leeming  <leeming@lyx.org>
3703
3704         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3705         type. Add a comment in the implementation that the function uses
3706         the stream's bad() function rather than fail() as the std::streams
3707         would do.
3708
3709 2003-12-02  André Pönitz  <poenitz@gmx.net>
3710
3711         * lyxlex.[Ch]: make interface more similar to std::stream
3712
3713         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3714
3715 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3716
3717         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3718
3719 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3720
3721         * vspace.[Ch]: remove VSpace::NONE
3722
3723 2003-12-01  André Pönitz  <poenitz@gmx.net>
3724
3725         * buffer.[Ch]:
3726         * lyxtext.h: move ParagraphList member to LyXText
3727         rename LyXText::ownerParagraphs to LyXText::paragraph
3728
3729         * CutAndPaste.C:
3730         * bufferview_funcs.C:
3731         * iterators.[Ch]:
3732         * lyx_cb.C:
3733         * paragraph.C:
3734         * rowpainter.C:
3735         * tabular.C:
3736         * text.C:
3737         * text2.C:
3738         * text3.C: adjust
3739
3740         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3741
3742         * undo.C: fix cursor positioning
3743
3744 2003-12-01  John Levon  <levon@movementarian.org>
3745
3746         * BufferView_pimpl.C: fix a crash on exit with
3747         a buffer open
3748
3749 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3750
3751         * BranchList.C: fix setSelected() method.
3752
3753 2003-11-28  André Pönitz  <poenitz@gmx.net>
3754
3755         * ParagraphParameters.[Ch]:
3756         * ParameterStruct.h: remove space above/below from Paragraph to
3757          InsetVSpace
3758
3759         * BufferView_pimpl.C:
3760         * factory.C:
3761         * lyxfunc.C:
3762         * lyxtext.h:
3763         * output_latex.C:
3764         * paragraph.C:
3765         * paragraph_funcs.C:
3766         * rowpainter.[Ch]:
3767         * text.C:
3768         * text2.C:
3769         * text3.C: adjust
3770
3771 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3772
3773         * factory.C: Syntax change for CharStyles
3774
3775 2003-11-28  André Pönitz  <poenitz@gmx.net>
3776
3777         * BufferView.[Ch]:
3778         * BufferView.[Ch]:
3779         * buffer.[Ch]:
3780         * buffer.[Ch]: move LyXText member
3781
3782 2003-11-28  André Pönitz  <poenitz@gmx.net>
3783
3784         * BufferView.[Ch]: make LyXText * text a private member
3785
3786         * BufferView_pimpl.C:
3787         * cursor.C:
3788         * iterators.C:
3789         * lyx_cb.C:
3790         * lyxfind.C:
3791         * lyxtext.h:
3792         * rowpainter.[Ch]:
3793         * text.C:
3794         * text2.C:
3795         * undo.C: adjust
3796
3797         * output_plaintext.C: cleanup
3798
3799 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3800
3801         * buffer.C:
3802         * lyxtextclass.[Ch]: parametrize SGML document header
3803
3804 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3805
3806         * converter.[Ch]:
3807         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3808         getFlavor().
3809
3810 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3811
3812         * text2.C (setFont): rework using PosIterator (no more recursive)
3813         (setCharFont): no more needed
3814         (setLayout): no more selection cursors fiddling (done by redoCursor)
3815         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3816         destroy remaining ones)
3817
3818 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3819
3820         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3821         * lyxtext.h: ditto
3822         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3823         selection cursors
3824         * lyxfunc.C: adjust
3825         * text3.C: adjust + re-allow multi par depth changes
3826         * textcursor.C: simplify a bit
3827
3828 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3829
3830         * src/buffer.C:
3831         * src/lyxlayout.C:
3832         * src/lyxlayout.h:
3833         * src/lyxtext.h:
3834         * src/output_docbook.C:
3835         * src/output_latex.C:
3836         * src/paragraph.C:
3837         * src/paragraph.h:
3838         * src/sgml.C:
3839         * src/sgml.h:
3840         * src/text2.C: Introducing a number of tags parametrizing various
3841         XML formats that we may want to support
3842
3843 2003-11-25  André Pönitz  <poenitz@gmx.net>
3844
3845         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3846
3847         * lyxtext.h (leftMargin/rightMargin): simplify interface
3848
3849         * rowpainter.C:
3850         * text.C:
3851         * text2.C:
3852         * text3.C: adjust
3853
3854 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3855
3856         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3857         master file to any child files. Fixes bug 546.
3858
3859 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3860
3861         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3862
3863 2003-11-24  André Pönitz  <poenitz@gmx.net>
3864
3865         * rowpainter.C: simplification
3866
3867         * text2.C (updateCounters): remove call to redoParagraph on
3868         changed labels as this is far too expensive.
3869
3870 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3871
3872         * converter.C (convert): fix a crash: this function gets
3873         called with buffer == 0 from importer code.
3874
3875 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3876
3877         * text3.C (cursorPrevious): make sure that we do not compare
3878         iterators form different containers.
3879         (cursorNext): ditto
3880
3881         * rowpainter.C (paintSelection): make sure that we do not compare
3882         iterators from different containers.
3883
3884         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3885         iterators from different ParagraphList containers.
3886         [NEXT] ditto
3887
3888         * text2.C (LyXText): change order of initialization slightly
3889         (operator=): new function. copy all variables except cache_par_
3890         (moveUp): make sure that we do not compare iterators from
3891         different ParagraphList constainers.
3892         (moveDown): ditto
3893
3894         * text.C (firstPar): new function
3895         (lastPar): new function
3896         (endPar): new function
3897
3898         * lyxtext.h: move things around and group public functions, public
3899         variables, private functions, private variables
3900
3901 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3902
3903         * factory.C: change call to InsetERT constructor to avoid
3904         additional invocation of method status
3905         * text2.C (toggleInset): remove redundant update() call
3906         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3907         instead of a Bufferview pointer
3908
3909 2003-11-21  André Pönitz  <poenitz@gmx.net>
3910
3911         * rowpainter.C: simplification
3912
3913 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3914
3915         * text3.C (dispatch): make possible to extend a word/row selection
3916         with the mouse
3917
3918 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3919
3920         * lyxtext.h: x0_,y0_ -> xo_,yo_
3921         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3922         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3923         * rowpainter.C (paintRows): paint full paragraphs
3924
3925 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3926
3927         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3928         screen coordinates)
3929
3930 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3931
3932         * lyxtext.h: add x0_, y0_
3933         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3934         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3935
3936 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3937
3938         * text2.C (setCursorIntern): move the x_target update here *
3939         * text3.C: change some bv() to true/false in calls to
3940         cursorUp/Down/Right/Left
3941         * cursor.C: use helper function.
3942
3943 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3944
3945         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3946         * paragraph_funcs.[Ch]: correct comment
3947         * rowpainter.C: do not paint selections away from bv->cursor()
3948         Fix a long standing selection painting bug.
3949         * text3.C: generalize mouse-selection code to LyXTexts other that
3950         top one
3951         * textcursor.C: do not use y coords if we can use par offsets
3952
3953 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3954
3955         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3956         cursor position after e.g. inset insert)
3957
3958 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3959
3960         * lyxfind.C (replace): adjust to locking removal + some
3961         code simplification
3962
3963 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3964
3965         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3966         of the path
3967
3968 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3969
3970         * lyxlayout.[Ch]:
3971         * output_docbook.C: XML sanitation: new layout
3972         parameters InnerTag and CommandDepth
3973
3974 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3975
3976         * BufferView_pimpl.C:
3977         * factory.C:
3978         * text3.C: Fix the insertion and modification of button-style
3979         insets
3980
3981 2003-11-13  André Pönitz  <poenitz@gmx.net>
3982
3983         * InsetList.[Ch]: remove deleteLyXText
3984
3985         * paragraph.[Ch]: cache beginOfBody position
3986
3987         * Bidi.C:
3988         * text.C:
3989         * text2.C:
3990         * text3.C: remove superfluous update() calls
3991
3992         * vspace.C: cleanup
3993
3994 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3995
3996         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3997         * BufferView.C (fitLockedInsetCursor): remove
3998         * cursor.[Ch] (getDim): add
3999         * text.C (getRowNearY): add faster version
4000         * text3.C: remove some update calls
4001
4002 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4003
4004         * LaTeXFeatures.C:
4005         * LyXAction.C:
4006         * MenuBackend.C:
4007         * MenuBackend.h:
4008         * dispatchresult.h:
4009         * factory.C:
4010         * lfuns.h:
4011         * lyxfunc.C:
4012         * lyxtextclass.C:
4013         * lyxtextclass.h:
4014         * text3.C: The Character Style /XML short element patch.
4015
4016 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4017
4018         * text3.C:
4019         * factory.C: Small step to solving 'unable to insert some insets'
4020         problem
4021
4022 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4023
4024         * cursor.[Ch] (updatePos): new function for updating the y
4025         position of the tip inset
4026         * bufferview_funcs.C (put_selection_at):
4027         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4028
4029 2003-11-11  André Pönitz  <poenitz@gmx.net>
4030
4031         * text.C: remove big comment on invalid Paragraph pointers as it is
4032         not valid anymore
4033
4034 2003-11-11  André Pönitz  <poenitz@gmx.net>
4035
4036         * text_funcs.[Ch]: merge with ...
4037
4038         * text.C: ... this
4039
4040         * lyxtext.h:
4041         * text2.C:
4042         * text3.C: adjust
4043
4044         * Makefile.am: remove text_funcs.[Ch]
4045
4046 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4047
4048         * cursor.C (getPos): return absolute cached y coord
4049
4050         * BufferView_pimpl.C (fitCursor): new simplistic code
4051         (workAreaDispatch): add a fitCursor call
4052
4053 2003-11-10  André Pönitz  <poenitz@gmx.net>
4054
4055         * BufferView.[Ch]:
4056         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4057
4058 2003-11-10  André Pönitz  <poenitz@gmx.net>
4059
4060         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4061         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4062         indicate that the cursor needs to leave an inset
4063
4064         * lyxtext.h: remove inset locking
4065
4066         * cursor.[Ch]: re-implement functionality provided by inset locking
4067
4068         * BufferView.[Ch]:
4069         * BufferView_pimpl.[Ch]:
4070         * LyXAction.C:
4071         * bufferview_funcs.[Ch]:
4072         * factory.C:
4073         * funcrequest.[Ch]:
4074         * iterators.C:
4075         * lyx_cb.C:
4076         * lyxfind.C:
4077         * lyxfunc.C:
4078         * text.C:
4079         * text2.C:
4080         * text3.C:
4081         * undo.C: adjust
4082
4083 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4084
4085         * PosIterator.[Ch]: replace the stack with a vector, add inset
4086         accesor
4087         * iterators.[C]: adjust
4088
4089 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4090
4091         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4092         replaced
4093         * paragraph_funcs.C (readParToken): put the correct id in the
4094         error item, not the id of the top paragraph
4095
4096 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4097
4098         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4099         * bufferview_funcs.C (put_selection_at): use the above
4100
4101 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4102
4103         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4104
4105 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4106
4107         * output_linuxdoc.h:
4108         * output_plaintext.h:
4109         * output.h:
4110         * output_docbook.h: add #include statements
4111
4112 2003-11-05  José Matos  <jamatos@lyx.org>
4113
4114         * output_docbook.[Ch]:
4115         * output_latex.[Ch]:
4116         * output_linuxdoc.[Ch]:
4117         * output_plaintext.[Ch]: New files for output formats.
4118         * output.[Ch]: New file for helper functions.
4119
4120         * buffer.[Ch]:
4121         * paragraph_funcs.[Ch]: output functions moved to new files.
4122
4123         * outputparams.h: rename of latexrunparams.h
4124
4125         * LaTeX.[Ch]:
4126         * buffer.[Ch]:
4127         * bufferlist.[Ch]:
4128         * converter.[Ch]:
4129         * exporter.C:
4130         * paragraph.[Ch]:
4131         * paragraph_funcs.[Ch]:
4132         * paragraph_pimpl.[Ch]:
4133         * tabular.[Ch]: rename ascii to plaintext
4134         and LatexRunParams to OutputParams.
4135
4136 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4137
4138         * iterators.[Ch] (text): require bv argument
4139         * undo.C (recordUndo):
4140         * lyxfunc.C (dispatch):
4141         * bufferview_funcs.C (put_selection_at): adjust
4142
4143 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
4144
4145         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4146
4147 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4148
4149         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4150         nestings
4151
4152 2003-11-04  André Pönitz  <poenitz@gmx.net>
4153
4154         * cursor.[Ch]: restructure
4155
4156         * BufferView.[Ch]:
4157         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4158
4159         * iterators.[Ch] (asCursor): remove
4160
4161         * lfuns.h: remove LFUN_INSET_EDIT
4162
4163         * lyxfunc.C:
4164         * tabular.C:
4165         * text.C:
4166         * text2.C:
4167         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4168
4169 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4170
4171         * lyxfind.[Ch]: complete overhaul
4172         * BufferView_pimpl.C:
4173         * lyxfunc.C: adjust
4174         * paragraph.[Ch] (insert): add
4175
4176 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4177
4178         * BufferView.[Ch]:
4179         * lyxtext.h:
4180         * text.C: remove dead spellcheck code
4181
4182 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4183
4184         * dispatchresult.h: add a val setter
4185
4186         * cursor.C (dispatch): use a tempvar for data_[i]
4187
4188 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4189
4190         * PosIterator.[Ch]: compile fix
4191
4192 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4193
4194         * text.C (cursorPar): deactivate the cursor cache
4195
4196 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4197
4198         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4199
4200 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4201
4202         * text3.C (dispatch): adjust for new DisptchResult semantics.
4203
4204         * lyxfunc.C (dispatch): handle update when return from
4205         Cursor::dispatch, adjust for new DispatchResult semantics.
4206
4207         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4208         DispatchResult(true) mean to not update. Add class functions for
4209         setting dispatched and update, as well as reading.
4210
4211         * cursor.C (dispatch): don't handle update here
4212
4213 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4214
4215         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4216         * trans_mgr.C: adjust
4217
4218         * paragraph_funcs.C (readParToken): exception safety
4219
4220         * lyxvc.h: store the vcs pointer in a scoped_ptr
4221         * lyxvc.C: adjust
4222
4223         * lyxsocket.C (serverCallback): exception safety
4224
4225         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4226
4227         * ispell.C (clone): make it return a auto_ptr
4228
4229         * factory.C (createInset): exception safety
4230         (readInset): exception safety
4231
4232         * bufferlist.C (newBuffer): exception safety
4233
4234         * Thesaurus.C (Thesaurus): use initialization for aik_
4235
4236         * MenuBackend.C (expandToc): exception safety.
4237
4238 2003-11-03  André Pönitz  <poenitz@gmx.net>
4239
4240         * buffer.C:
4241         * buffer.h:
4242         * bufferview_funcs.C: remove getInsetFromId()
4243
4244         * lyxcursor.[Ch]:
4245         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4246
4247         * lyxfunc.C:
4248         * text2.C:
4249         * text3.C: adjust
4250
4251 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4252
4253         * PosIterator.C (distance, advance): new
4254         * bufferview_funcs.[Ch] (put_selection_at): new
4255         * iterators.[Ch] (lockPath): new
4256
4257 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4258
4259         * iterators.[Ch] (asPosIterator): added
4260         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4261         * PosIterator.[Ch]: added
4262
4263 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4264
4265         * text3.C:
4266         * lyxfunc.C:
4267         * cursor.C (dispatch):
4268         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4269
4270         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4271         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4272         contructor, add a class function dispatched. Remove operator>=
4273
4274 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4275
4276         * debug.C: only use the default constructor for debugstream
4277         (lyxerr) here.
4278
4279         * main.C (main): include debug.h and setup the lyxerr streambuf
4280         here.
4281
4282 2003-10-31  José Matos  <jamatos@lyx.org>
4283
4284         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4285
4286         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4287         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4288         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4289         * paragraph_pimpl.C (simpleTeXSpecialC):
4290         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4291         add LatexRunParams argument.
4292
4293         * exporter.C (Export): change call accordingly.
4294
4295         * latexrunparams.h: add new member to take care of the other backends.
4296 2003-10-30  José Matos  <jamatos@lyx.org>
4297
4298         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4299         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4300         factorise code for paragraph output.
4301         * buffer.[Ch]:
4302         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4303         move functions.
4304
4305 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4306
4307         * text3.C (dispatch):
4308         * lyxfunc.C (dispatch):
4309         * cursor.C (dispatch):
4310         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4311
4312         * dispatchresult.h: make the dispatch_result_t ctor explicit
4313
4314 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4315
4316         * sgml.[Ch]:
4317         * buffer.C: small refactoring of docbook stuff
4318
4319 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4320
4321         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4322         meaning.
4323
4324 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4325
4326         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4327         operator dispatch_result_t, and operators for == != and >=
4328
4329         * cursor.C (dispatch): adjust for operator dispatch_result_t
4330         removal. comment out call to update
4331
4332         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4333
4334 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4335
4336         * text3.C:
4337         * text2.C:
4338         * text.C:
4339         * lyxtext.h:
4340         * lyxfunc.C:
4341         * cursor.C:
4342         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4343         (dispatch):
4344
4345         * dispatchresult.h: new file, DispatchResult broken out of
4346         insets/insetbase.h
4347
4348         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4349
4350 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4351
4352         * text.C (rowBreakPoint): put a hack inside #if 0
4353
4354 2003-10-28  André Pönitz  <poenitz@gmx.net>
4355
4356         * lyxtext.h:
4357         * metricsinfo.C:
4358         * paragraph_funcs.C:
4359         * rowpainter.C:
4360         * text.C:
4361         * text2.C: general cleanup (lots of small stuff)
4362
4363 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4364
4365         * text2.C (cursorEnd): simple fix to the "end key goes to one
4366         before the end on last row" bug
4367
4368 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4369
4370         * text.C (backspace): fix the "zombie characters"
4371
4372 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4373
4374         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4375
4376 2003-10-27  André Pönitz  <poenitz@gmx.net>
4377
4378         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4379
4380         * factory.C: handle new InsetPagebreak, InsetLine
4381
4382         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4383         and move handling into new InsetPagebreak, InsetLine
4384
4385         * BufferView_pimpl.C:
4386         * LyXAction.C:
4387         * ParagraphParameters.C:
4388         * ParameterStruct.h:
4389         * lyxfunc.C:
4390         * lyxtext.h:
4391         * paragraph.C:
4392         * paragraph.h:
4393         * paragraph_funcs.C:
4394         * paragraph_pimpl.C:
4395         * rowpainter.C:
4396         * text.C:
4397         * text2.C:
4398         * text3.C: adjust
4399
4400 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4401
4402         * text.C:
4403         * lyxrow_funcs.[Ch]:
4404         * Bidi.C:
4405         * paragraph.C:
4406         * lyxtext.h:
4407         * rowpainter.C:
4408         * text2.C:
4409         * text3.C: remove lastPos uses in favour of Row::endpos
4410
4411 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4412
4413         * undo.C (performUndoOrRedo): fix two crashes by setting a
4414         cursor by hand and reordering some calls. Use bv->lockInset instead
4415         of inset->edit because the latter loses cursor information
4416
4417 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4418
4419         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4420         by Martin
4421         (rowBreakPoint): fix width. change point to point + 1.
4422         Add a missing check.
4423
4424 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4425
4426         * MenuBackend.C:
4427         * lyxfunc.C: fix (at least partly) the problems
4428         with the Nav menu and headers inside branch insets
4429         reported by Kayvan
4430
4431 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4432
4433         * paragraph.C (getChar): add strong asserts
4434
4435         * lyxrow_funcs.C (lastPos): remove hideous hack
4436
4437         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4438         (fill): adjust to that (avoid an infinite loop)
4439
4440 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4441
4442         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4443
4444 2003-10-23  André Pönitz  <poenitz@gmx.net>
4445
4446         * RowList_fwd.h: change list<> to vector<> to gain speed
4447         after suggestion from Alfredo
4448
4449 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4450
4451         * lyxtext.h: move the bidi stuff from here...
4452         * text.C: and here
4453         * text2.C: and here
4454         * Bidi.[Ch]: ... to here
4455
4456 2003-10-23  André Pönitz  <poenitz@gmx.net>
4457
4458         * lyxtext.h:
4459         * text.C (isLastRow, isFirstRow): new functions
4460
4461         * paragraph.h: new width cache member
4462
4463         * rowpainter.C: replace RowList::iterator with Row & where possible
4464
4465         * lyxfunc.C: replace several view()->text with a single call
4466
4467         * toc.C: fix 'unused' warning
4468
4469 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4470
4471         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4472         when woring with stream::pos_type
4473         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4474
4475 2003-10-22  André Pönitz  <poenitz@gmx.net>
4476
4477         * lyxtext.h:
4478         * text.C: use Row & instead of RowList::iterator
4479
4480         * lyxrow.h: rename end() to endpos()
4481
4482         * rowpainter.C:
4483         * text.C:
4484         * text2.C: adjust
4485
4486 2003-10-22  Angus Leeming  <leeming@lyx.org>
4487
4488         * buffer.[Ch] (fully_loaded): new member function, returning true
4489         only when the file has been loaded fully.
4490         Used to prevent the premature generation of previews and by the
4491         citation inset to prevent computation of the natbib-style label.
4492
4493         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4494         templates are all set up.
4495
4496         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4497
4498 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4499
4500         * text.C: fixed an "oops" in the "is a bit silly"
4501         bug fix
4502
4503 2003-10-21  André Pönitz  <poenitz@gmx.net>
4504
4505         * FuncStatus.[Ch]: small stuff, whitespace
4506
4507         * lyxfont.[Ch]: operator<<() for debug reasons
4508
4509         * lyxfunc.C:
4510         * lyxrow_funcs.C:
4511         * lyxtext.h: whitespace, spelling
4512
4513         * paragraph.C: naming of variables
4514
4515         * text.C:
4516         * text2.C: small stuff
4517
4518
4519 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4520
4521         * text.C: (1) finish off the inset display() work;
4522         (2) fix the "is a bit silly" bug (accessing char
4523         past end of par).
4524
4525 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4526
4527         * text.C: re-introduce display() for insets, fixing the
4528         various bugs (stretch of line above, math inset
4529         positioning, ...)
4530
4531 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4532
4533         * text.C (rightMargin): remove spurious semicolon
4534
4535         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4536         1415)
4537
4538 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4539
4540         * text3.C: fix one crash due to wrong cursor def
4541
4542 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4543
4544         * vc-backend.C (scanMaster): make the regex static
4545
4546         * LaTeX.C (scanAuxFile): make the regexs static
4547
4548         * text3.C (doInsertInset, dispatch, dispatch):
4549         * text2.C (cursorUp, cursorDown):
4550         * text.C (selectNextWordToSpellcheck):
4551         * BufferView_pimpl.C (dispatch):
4552         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4553
4554 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4555
4556         * lyxsocket.C: include <cerrno>
4557
4558 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4559
4560         * lyxfunc.C (dispatch): remove textcache stuff
4561
4562         * bufferlist.C (release): remove textcache stuff
4563         (closeAll): ditto
4564
4565         * TextCache.C: delete file
4566         * TextCache.h: delete file
4567
4568         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4569
4570         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4571         delete of the bv_->text.
4572         (resizeCurrentBuffer): remove texcache stuff
4573         (workAreaResize): ditto
4574
4575 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4576
4577         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4578         action.
4579
4580 2003-10-16  André Pönitz  <poenitz@gmx.net>
4581
4582         * lyxrow.[Ch]:
4583         * paragraph.h:
4584         * rowpainter.C:
4585         * text.C:
4586         * text2.C:
4587         * text3.C: speed up by storing y positions per paragraph plus per-row
4588         offset instead of having a 'full' y position in the row.
4589
4590 2003-10-15  André Pönitz  <poenitz@gmx.net>
4591
4592         * iterators.[Ch]:
4593         * iterators.[Ch]:
4594         * undo.[Ch]: make undo aware of inner insets
4595
4596 2003-10-14  Angus Leeming  <leeming@lyx.org>
4597
4598         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4599         static member functions LyX::ref() and LyX::cref.
4600         (lastfiles): new accessor functions for the new lastfiles_ member var.
4601         (addLyXView, views_): add a new LyXView to the list of views_.
4602         (updateInset): loop over all LyXViews to call their own updateInset
4603         member function, returning a pointer to the Buffer owning the inset.
4604
4605         * BufferView_pimpl.C (loadLyXFile):
4606         * MenuBackend.C (expandLastfiles):
4607         * bufferlist.C (MenuWrite, QuitLyX):
4608         lastfiles is no longer a global variable.
4609         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4610
4611         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4612         static function. Access through LyX::cref().emergencyCleanup().
4613
4614 2003-10-14  André Pönitz  <poenitz@gmx.net>
4615
4616         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4617
4618         * undo.[Ch]: restoring part of 'undo in insets'
4619
4620         * Makefile.am:
4621         * undo_funcs.[Ch]: merge with undo.[Ch]
4622
4623         * tabular.C: small cleansing stuff
4624
4625 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4626
4627         * paragraph_funcs.C (readParToken): report unknown insets as error
4628         boxes. Use the outer paragraph as location (also for unknown
4629         tokens).
4630
4631         * factory.C (readInset): do not abort on reading an unknown inset.
4632         Eat it and return 0.
4633
4634 2003-10-13  Angus Leeming  <leeming@lyx.org>
4635
4636         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4637
4638         * lyxrc.C: displayTranslator is now a function,
4639         declared in GraphicsTypes.h.
4640
4641 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4642
4643         * format.C: new placeholder $$a to pass the socket address.
4644
4645         * bufferlist.[Ch]: new function getBufferFromTmp.
4646
4647         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4648           files in the temporary dir.
4649
4650 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4651
4652         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4653
4654         * Makefile.am: add lyxsocket.[Ch].
4655
4656         * lyx_main.C (error_handler): handle SIGPIPE.
4657
4658 2003-10-13  André Pönitz  <poenitz@gmx.net>
4659
4660         * BufferView_pimpl.C:
4661         * lyxtext.h:
4662         * text.C:
4663         * text2.C:
4664         * text3.C:
4665         * undo_funcs.[Ch]: use paroffset_type instead of
4666           ParagraphList::iterators to prevent multiple conversion
4667           (and get a more robust interface)
4668
4669 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4670
4671         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4672         * lyxtext.h: ditto
4673         * text3.C (dispatch): ditto
4674
4675 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4676
4677         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4678         move the onlyfile, use onlyfile instead of foundfile in a couple
4679         of places.
4680
4681         * DepTable.C (update): flush the error stream a bit more
4682
4683 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4684
4685         * lyxserver.C (callback): adjust
4686
4687         * lyxfunc.C (getStatus): add a missing brace in commented code
4688         (ensureBufferClean): reindent
4689         (dispatch): delete version taking a string
4690
4691 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4692
4693         * LaTeX.C (deplog): move found file handlig from here...
4694         (handleFoundFile): .. to new function here.
4695         (deplog): make sure to discover several files mentioned on the
4696         same log line.
4697
4698 2003-10-10  André Pönitz  <poenitz@gmx.net>
4699
4700         * lyxfunc.C:
4701         * lyxtext.h:
4702         * tabular.C:
4703         * text.C:
4704         * text2.C:
4705         * text3.C: fix some of the tabular crashes
4706
4707 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4708
4709         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4710
4711         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4712
4713 2003-10-09  André Pönitz  <poenitz@gmx.net>
4714
4715         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4716
4717         * BufferView.C:
4718         * BufferView_pimpl.C:
4719         * bufferview_funcs.C:
4720         * lyx_cb.C:
4721         * lyxcursor.C:
4722         * lyxfind.C:
4723         * lyxfunc.C:
4724         * lyxtext.h:
4725         * text.C:
4726         * text2.C:
4727         * text3.C:
4728         * text_funcs.[Ch]:
4729         * textcursor.[Ch]:
4730         * undo_funcs.C: adjust
4731
4732 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4733
4734         * text2.C (incrementItemDepth): new function, use a backtracking
4735         algorithm to discover the correct item depth.
4736         (resetEnumCounterIfNeeded): new function, use a backtracking
4737         algorithm to discover if counter reset is needed.
4738         (setCounter): use them. Simplify a bit. Add different labels for
4739         different item depths for itemize.
4740
4741         * paragraph.C (Paragraph): remove initialization of enumdepth
4742         (operator=): ditto
4743
4744         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4745         enumerate and itemize. Change the type of itemdepth to signed char.
4746
4747 2003-10-08  André Pönitz  <poenitz@gmx.net>
4748
4749         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4750           thing assignable.
4751         * text.C:
4752         * text2.C: adjust
4753
4754         * tabular.[Ch]: fix crash after 'row-insert'
4755
4756 2003-10-08  Angus Leeming  <leeming@lyx.org>
4757
4758         Fix doxygen warnings.
4759
4760         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4761         Remove CutAndPaste:: prefix from header file declaration.
4762
4763         * LColor.h (fill): remove LColor:: prefix from declaration.
4764
4765         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4766         use lyx::depth_type rather than Paragraph::depth_type so that
4767         header file and .C file match.
4768
4769         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4770
4771         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4772         * aspell.C: \file aspell_local.C -> \file aspell.C
4773         * gettext.C: \file gettext.C -> \file src/gettext.C
4774         * gettext.h: \file gettext.h -> \file src/gettext.h
4775         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4776         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4777         * text.C: \file text.C -> \file src/text.C
4778
4779         * toc.C: move comment so that doxygen is not confused.
4780
4781 2003-10-07  Angus Leeming  <leeming@lyx.org>
4782
4783         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4784
4785 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4786
4787         * aspell.C:
4788         * aspell_local.h: add forgotten std::string's.
4789
4790 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4791
4792         * LaTeXFeatures.C:
4793         * LyXAction.C:
4794         * factory.C:
4795         * lfuns.h:
4796         * lyxfunc.C:
4797         * text3.C: The Box patch. Fancybox support, minipage, parbox
4798
4799 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4800
4801         * CutAndPaste.h:
4802         * DepTable.h:
4803         * FloatList.h:
4804         * LaTeXFeatures.h:
4805         * ParagraphParameters.h:
4806         * TextCache.h:
4807         * Thesaurus.h:
4808         * bufferlist.h:
4809         * exporter.h:
4810         * importer.h:
4811         * lastfiles.h:
4812         * lyxfind.h:
4813         * lyxfont.h:
4814         * lyxlex.h:
4815         * lyxtextclasslist.h:
4816         * messages.h:
4817         * paragraph.h:
4818         * paragraph_pimpl.C:
4819         * textcursor.h: add <string> and other small fixes to make Lars'
4820         std::string patch compile with STLport.
4821
4822 2003-10-06  Angus Leeming  <leeming@lyx.org>
4823
4824         * LColor.h: Add missing #include <string>.
4825
4826 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4827
4828         * All most all file in all subdirs: Make <string> be the prefered
4829         way of getting to std::string, add using declarations.
4830
4831 2003-10-06  André Pönitz  <poenitz@gmx.net>
4832
4833         * metricsinfo.C: initialize LyXFont before changing attribute.
4834         (fixes the 'math in \emph is upright' bug)
4835
4836 2003-10-06  André Pönitz  <poenitz@gmx.net>
4837
4838         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4839
4840 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4841
4842         * graph.C:
4843         * paragraph_pimpl.C: Small fixes to build using STLport
4844
4845 2003-10-02  André Pönitz  <poenitz@gmx.net>
4846
4847         * lyxfunc.C:
4848         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4849
4850 2003-10-01  André Pönitz  <poenitz@gmx.net>
4851
4852         * factory.C: assert early
4853
4854 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4855
4856         * lyx_main.C: remove the global debug object
4857
4858         * debug.h: adjust for new debugstream
4859
4860         * debug.C: adjust for new debugstream and keep the global debug
4861         object here.
4862
4863 2003-09-22  Angus Leeming  <leeming@lyx.org>
4864
4865         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4866         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4867         an incomplete class LyXFont.
4868
4869 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4870
4871         * factory.C: bug fix in branches
4872
4873 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4874
4875         * lyxfunc.C (processKeySym): adjust
4876         (dispatch): adjust
4877         (dispatch): change arg name from ev to func, adjust
4878         (sendDispatchMessage): ditto
4879
4880         * lyx_main.C (defaultKeyBindings): adjust keybindings
4881         (deadKeyBindings): ditto
4882
4883         * kbsequence.C (addkey): return a FuncRequest
4884
4885         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4886
4887         * kbmap.C (bind): take a FuncRequest as arg, adjust
4888         (read): adjust
4889         (lookup): adjust
4890         (defkey): change to take a FuncRequest as arg, adjust
4891         (findbinding): take a FuncRequest as arg, adjust.
4892
4893         * funcrequest.h (operator=): added
4894
4895         * funcrequest.C (FuncRequest): default kb_action changed from
4896         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4897
4898         * buffer.C (dispatch): simplify
4899         (dispatch): adjust to take a FuncRequest as arg, adjust
4900
4901         * boost.C (assertion_failed): change assertion message slightly
4902
4903         * ToolbarBackend.C (read): simplify
4904
4905         * MenuBackend.C (binding): adjust call to findbinding, add a
4906         message if no binding is found.
4907         (read): simplify
4908         (expandToc): correct by adding a empty FuncRequest
4909
4910         * LyXAction.C: include <boost/assert.hpp>
4911         (isPseudoAction): delete function
4912         (LookupFunc): change name to...
4913         (lookupFunc): this. change return type to FuncRequest.
4914         (getActionName): take kb_action as arg, simplify
4915         (funcHasFlag): add an assert, simplify.
4916
4917 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4918
4919         * toc.C (action): return a FuncRequest, simplify
4920
4921         * lyxfunc.C (processKeySym): adjust
4922         (getStatus): delete version that takes an int.
4923         (getStatus): adjust
4924         (dispatch): delete version that takes action as int
4925         (dispatch): adjust
4926         (sendDispatchMessage): simplify and adjust
4927
4928         * funcrequest.C (getArg): take unsigned int as arg
4929
4930         * ToolbarBackend.C (read): adjust
4931         (add): delete version that takes func as a string.
4932         (getIton): take a FuncRequest as arg
4933
4934         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4935         action.
4936
4937         * MenuBackend.C (MenuItem): add a new construct that only takes a
4938         Kind, simplify the constructor use for submenus.
4939         (add): adjust
4940         (expandLastfiles): adjust
4941         (expandDocuments): adjust
4942         (expandFormats): adjust
4943         (expandFloatListInsert): adjust
4944         (expandFloatInsert): adjust
4945         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4946
4947         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4948         Remove class variables lyx_pseudo_map and lyx_arg_map
4949
4950         * LyXAction.C (searchActionArg): delete function
4951         (getPseudoAction): delete function
4952         (retrieveActionArg): delete function
4953         (LookupFunc): make it return kb_action, simplify.
4954         (getActionName): simplify
4955
4956         * factory.C (createInset): fix new bug
4957
4958 2003-09-19  Angus Leeming  <leeming@lyx.org>
4959
4960         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4961         masterFilename_ parameter in the include inset.
4962
4963         * factory.C (createInset): changes due to the changes to InsetInclude.
4964
4965 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4966
4967         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4968
4969 2003-09-18  Angus Leeming  <leeming@lyx.org>
4970
4971         * buffer.C:
4972         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4973         Inset::fillWithBibKeys.
4974         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4975
4976 2003-09-18  Angus Leeming  <leeming@lyx.org>
4977
4978         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4979         variables.
4980         (ctor): pass and store a 'Buffer const &'
4981         (buffer): new member function.
4982
4983         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4984         '*this' to the LaTeXFeatures ctor.
4985
4986 2003-09-18  Angus Leeming  <leeming@lyx.org>
4987
4988         * LColor.h:
4989         * lyxfont.C:
4990         * lyxfont.h:
4991         * lyxtext.h:
4992         * text.C: rename EnumLColor as LColor_color.
4993
4994 2003-09-18  Angus Leeming  <leeming@lyx.org>
4995
4996         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4997         remove #include "insets/insetbase.h" from cursor.h.
4998
4999 2003-09-18  Angus Leeming  <leeming@lyx.org>
5000
5001         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5002         InsetOld_code to remove #include "inset.h".
5003
5004         * iterators.C: add #include "insets/inset.h"
5005
5006 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5007
5008         * BufferView.C: remove more locking stuff that apparently doesn't
5009         do anything sensible.
5010
5011 2003-09-16  André Pönitz  <poenitz@gmx.net>
5012
5013         * paragraph.[Ch]:
5014         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5015           performance boost.
5016
5017 2003-09-16  Angus Leeming  <leeming@lyx.org>
5018
5019         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5020
5021         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5022         arg/return type.
5023
5024         * paragraph.h: remove #include "lyxfont.h". Forward declare
5025         LyXFont_size.
5026
5027 2003-09-16  Angus Leeming  <leeming@lyx.org>
5028
5029         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5030         of support/textutils.h.
5031         (isWord): move the contents of support/textutils.h's IsWordChar here.
5032
5033         * buffer.C:
5034         * lyxfind.C:
5035         * rowpainter.C:
5036         * text.C:
5037         * text2.C: add #include "paragraph.h".
5038
5039         * rowpainter.C:
5040         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5041
5042 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5043
5044         * main.C:
5045         * lyx_main.C:
5046         * lyx_cb.C:
5047         * buffer.C:
5048         * LaTeX.C: use namespace alias for lyx::support::os
5049
5050 2003-09-16  Angus Leeming  <leeming@lyx.org>
5051
5052         * bufferparams.C:
5053         * bufferview_funcs.C:
5054         * factory.C:
5055         * lyxfunc.C:
5056         * paragraph_pimpl.C:
5057         * rowpainter.C:
5058         * text.C: add #include "LColor.h".
5059
5060 2003-09-16  Angus Leeming  <leeming@lyx.org>
5061
5062         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5063         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5064         return LyXFont &.
5065         Store the FontBits::color variable as an int rather than as an
5066         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5067         file.
5068
5069         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5070         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5071         string calls together.
5072
5073         * lyxrc.C: add #include "LColor.h".
5074
5075 2003-09-15  Angus Leeming  <leeming@lyx.org>
5076
5077         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5078         a cow_ptr.
5079
5080 2003-09-15  Angus Leeming  <leeming@lyx.org>
5081
5082         * LColor.h: add an EnumLColor wrapper for LColor::color.
5083
5084         * lyxfont.[Ch] (color, setColor, realColor):
5085         * lyxtext.h, text.C (backgroundColor):
5086         pass EnumLColor args to/from the functions, rather than LColor::color
5087         ones.
5088
5089         * lyxfont.h:
5090         * lyxtext.h: forward declare EnumLColor.
5091
5092         * lyx_main.C: add #include "LColor.h".
5093
5094 2003-09-15  Angus Leeming  <leeming@lyx.org>
5095
5096         * .cvsignore: add lyx-gtk.
5097
5098 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5099
5100         * Chktex.C
5101         * LaTeX.C
5102         * LaTeXFeatures.C
5103         * ParagraphParameters.C
5104         * Spacing.C
5105         * buffer.C
5106         * bufferparams.C
5107         * bufferview_funcs.C
5108         * chset.C
5109         * counters.C
5110         * funcrequest.C
5111         * lyxfont.C
5112         * lyxgluelength.C
5113         * lyxlength.C
5114         * paragraph.C
5115         * paragraph_funcs.C
5116         * text3.C
5117         * vc-backend.C: remove usage of STRCONV
5118
5119 2003-09-15  Angus Leeming  <leeming@lyx.org>
5120
5121         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5122         explicitly define the color passed to the painter.
5123
5124 2003-09-15  Angus Leeming  <leeming@lyx.org>
5125
5126         * bufferparams.C (BufferParams): reorder member initializers to avoid
5127         compiler warning.
5128
5129 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5130
5131         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5132         * text.C (updateRowPositions): remove an unusual nop
5133
5134 2003-09-12  André Pönitz  <poenitz@gmx.net>
5135
5136         * BufferView_pimpl.C:
5137         * Bullet.C:
5138         * layout.h:
5139         * lyxfunc.C:
5140         * lyxlayout.[Ch]:
5141         * lyxtextclass.C:
5142         * rowpainter.C:
5143         * text.C:
5144         * text2.C:
5145         * Counters.[Ch]: finish the 'automatic counters' job
5146
5147 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5148
5149         * aspell.C: include <boost/assert.cpp> (compile fix)
5150
5151 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5152
5153         * boost.C (assertion_failed): use lyx::support::abort instead of
5154         assert.
5155
5156 2003-09-10  Angus Leeming  <leeming@lyx.org>
5157
5158         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5159         with their _fwd progeny.
5160
5161 2003-09-09  Angus Leeming  <leeming@lyx.org>
5162
5163         134 files throughtout the source tree: replace 'using namespace abc;'
5164         directives with the appropriate 'using abc::xyz;' declarations.
5165
5166 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5167
5168         * boost.C (emergencyCleanup): moved here from LAssert.c
5169         (assertion_failed): new function, called by BOOST_ASSERT
5170
5171         * several files: change Assert to BOOST_ASSERT
5172
5173 2003-09-09  Angus Leeming  <leeming@lyx.org>
5174
5175         * buffer.[Ch]: Add an Impl class and move Buffer's member
5176         variables into it. As a result move several header files out of
5177         buffer.h.
5178
5179         Add header files to lots of .C files all over the tree as a result.
5180
5181 2003-09-09  Angus Leeming  <leeming@lyx.org>
5182
5183         * buffer.[Ch]: make Buffer's member variables private. Add
5184         accessor functions.
5185
5186         Lots of changes all over the tree as a result.
5187
5188 2003-09-08  Angus Leeming  <leeming@lyx.org>
5189
5190         * graph.C: #include <config.h>.
5191
5192 2003-09-08  Angus Leeming  <leeming@lyx.org>
5193
5194         * BranchList.C:
5195         * BufferView.C:
5196         * BufferView_pimpl.C:
5197         * CutAndPaste.C:
5198         * DepTable.C:
5199         * LaTeX.C:
5200         * LaTeXFeatures.C:
5201         * LyXAction.C:
5202         * MenuBackend.C:
5203         * TextCache.C:
5204         * aspell.C:
5205         * buffer.C:
5206         * bufferlist.C:
5207         * changes.C:
5208         * chset.C:
5209         * converter.C:
5210         * counters.C:
5211         * debug.C:
5212         * graph.C:
5213         * ispell.C:
5214         * lyx_cb.C:
5215         * lyxfind.C:
5216         * lyxfunc.C:
5217         * lyxlex_pimpl.C:
5218         * lyxrc.C:
5219         * lyxrow.C:
5220         * paragraph.C:
5221         * rowpainter.C:
5222         * texrow.C:
5223         * text.C:
5224         * text2.C:
5225         * toc.C: remove redundant using directives.
5226
5227 2003-09-07  Angus Leeming  <leeming@lyx.org>
5228
5229         * LaTeXFeatures.h: remove #include "support/types.h".
5230         * ToolbarBackend.h: remove #include <algorithm>.
5231         * changes.h: remove #include <ctime>.
5232         * debug.h: remove #include <iosfwd>.
5233         * graph.h: remove #include "support/std_string.h".
5234         * lyx_main.h: remove #include <csignal>.
5235         * lyxlex_pimpl.h: remove #include <fstream>.
5236         * sgml.h: remove #include <algorithm>, <utility>.
5237         * toc.h: remove #include "support/std_ostream.h".
5238         Add #include <iosfwd>.
5239
5240 2003-09-07  Angus Leeming  <leeming@lyx.org>
5241
5242         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5243
5244         * converter.h: forward declare LatexRunParams.
5245         * encoding.h: remove #include "lyxrc.h".
5246         * lyxtext.h: remove #include "LColor.h".
5247         * lyxtextclass.h: remove #include "support/types.h".
5248         * trans.h: remove #include "tex-accent.h".
5249         * trans_mgr.h: remove #include "tex-accent.h".
5250         * insets/inset.h: remove #include "support/types.h", <vector>.
5251         * insets/insetcollapsable.h: remove #include "LColor.h".
5252         * insets/insetinclude.h: remove #include "dimension.h".
5253         * insets/insetlatexaccent.h: remove #include "dimension.h".
5254         * insets/insetoptarg.h:: remove #include "insettext.h".
5255         * insets/insettext.h: remove #include "dimension.h",
5256         <boost/shared_ptr.hpp>
5257
5258         * insets/renderers.h: add #include "dimension.h".
5259         * insets/updatableinset.h: add #include "support/types.h".
5260
5261         * many .C files: Associated changes.
5262
5263 2003-09-06  Angus Leeming  <leeming@lyx.org>
5264
5265         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5266         one, inside testInvariant.
5267
5268         * PrinterParams.C: new file.
5269         * PrinterParams.[Ch]: move the function bodies out of line.
5270
5271 2003-09-06  Angus Leeming  <leeming@lyx.org>
5272
5273         * ParagraphParameters.h: forward declare ParameterStruct rather than
5274         including its header file.
5275         (depth): moved out-of-line.
5276
5277 2003-09-06  Angus Leeming  <leeming@lyx.org>
5278
5279         * BufferView_pimpl.h:
5280         * kbmap.h:
5281         * kbsequence.h:
5282         * lyxfunc.h: forward declare LyXKeySym rather than
5283         #include "frontends/LyXKeySym.h".
5284
5285         * BufferView_pimpl.C:
5286         * kbmap.C:
5287         * kbsequence.C:
5288         * lyxfunc.C: associated changes.
5289
5290 2003-09-06  Angus Leeming  <leeming@lyx.org>
5291
5292         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5293         As a result, can remove the #include "insets/inset.h" from BufferView.h
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         * buffer_funcs.C:
5303         * buffer.h:
5304         * bufferlist.C:
5305         * BufferView.C:
5306         * bufferview_funcs.C:
5307         * BufferView_pimpl.C:
5308         * CutAndPaste.C:
5309         * lyx_cb.C:
5310         * lyxfunc.C:
5311         * paragraph.h:
5312         * ParagraphParameters.C:
5313         * tabular.C:
5314         * text3.C:
5315         * toc.C:
5316         * undo_funcs.C:
5317         * frontends/controllers/ControlDocument.C:
5318         * insets/insetcaption.C: rearrange the #includes into some sort of
5319         coherent order.
5320
5321         * buffer.h: remove #includes ErrorList.h, undo.h
5322
5323 2003-09-06  Angus Leeming  <leeming@lyx.org>
5324
5325         * support/types.h: add a 'depth_type' typedef, used to store the
5326         nesting depth of a paragraph.
5327
5328         * paragraph.h:
5329         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5330         defining explicitly.
5331
5332         * buffer.h:
5333         * paragraph_funcs.h:
5334         * ParagraphParameters.h:
5335         * sgml.h: use lyx::depth_type rather than Paragraph or
5336         ParameterStruct's depth_type.
5337
5338         * buffer.h
5339         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5340
5341         * BufferView.C:
5342         * BufferView_pimpl.C:
5343         * CutAndPaste.C:
5344         * ParagraphParameters.C:
5345         * buffer_funcs.C:
5346         * bufferlist.C:
5347         * bufferview_funcs.C:
5348         * lyx_cb.C:
5349         * lyxfunc.C:
5350         * tabular.C:
5351         * text3.C:
5352         * toc.C:
5353         * undo_funcs.C:
5354         * frontends/LyXView.C:
5355         * frontends/controllers/ControlDocument.C:
5356         * frontends/controllers/ControlErrorList.C:
5357         * insets/insetbibitem.C:
5358         * insets/insetbranch.C:
5359         * insets/insetcaption.C:
5360         * insets/insetcollapsable.C:
5361         * insets/insetenv.C:
5362         * insets/insetert.C:
5363         * insets/insetfloat.C:
5364         * insets/insetfoot.C:
5365         * insets/insetfootlike.C:
5366         * insets/insetnewline.C:
5367         * insets/insetquotes.C:
5368         * insets/insettabular.C:
5369         * insets/insettext.C:
5370         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5371
5372         * frontends/controllers/ControlChanges.C: #include "changes.h".
5373
5374 2003-09-06  Angus Leeming  <leeming@lyx.org>
5375
5376         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5377         than #including paragraph.h.
5378
5379         * ParagraphList.h:
5380         * RowList.h: deleted. Superfluous.
5381
5382         * CutAndPaste.h:
5383         * iterators.h:
5384         * lyxcursor.h:
5385         * lyxtext.h:
5386         * text_funcs.h:
5387         * undo.h:
5388         * undo_funcs.h:
5389         * insets/inset.h:
5390         * insets/insettext.h: use ParagraphList_fwd.h rather than
5391         ParagraphList.h.
5392
5393         * paragraph.h: don't forward declare ParagraphList.
5394
5395         * buffer.h:
5396         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5397         rather than ParagraphList.h. paragraph.h is still needed for the
5398         Paragraph::depth_type parameters.
5399
5400         * textcursor.h: enable it to compile stand-alone in light of the
5401         above changes.
5402
5403         * bufferview_funcs.C:
5404         * iterators.C:
5405         * lyxfunc.C:
5406         * lyxrow_funcs.C:
5407         * paragraph.C:
5408         * rowpainter.C:
5409         * text.C:
5410         * text2.C:
5411         * text3.C:
5412         * text_funcs.C:
5413         * textcursor.C:
5414         * undo.C:
5415         * frontends/controllers/ControlParagraph.C:
5416         * frontends/controllers/ControlTabular.C:
5417         * insets/insetmarginal.C:
5418         * insets/insetminipage.C:
5419         * insets/insetnote.C:
5420         * insets/insetoptarg.C: add header files needed to compile again.
5421
5422 2003-09-06  Angus Leeming  <leeming@lyx.org>
5423
5424         * RowList_fwd.h: new file, forward-declaring Row rather than
5425         #including lyxrow.h.
5426
5427         * lyxrow_funcs.h:
5428         * lyxtext.h:
5429         * paragraph.h:
5430         * insets/insettext.h: use it instead of RowList.h
5431
5432         * bufferview_funcs.C:
5433         * lyxfunc.C:
5434         * lyxrow_funcs.C:
5435         * paragraph.C:
5436         * rowpainter.C:
5437         * text.C:
5438         * text2.C:
5439         * text3.C: #include "RowList.h".
5440
5441 2003-09-05  Angus Leeming  <leeming@lyx.org>
5442
5443         * factory.C (createInset):
5444         * vspace.C (c-tor): replace sscanf call with an istringstream.
5445         * ispell.C: re-add missing HP/UX headers.
5446         * lyxserver.C: re-add missing  os2 headers.
5447
5448 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5449
5450         * BranchList.C:
5451         * graph.C:
5452         * ispell.C:
5453         * lastfiles.C:
5454         * lyx_cb.C:
5455         * lyxserver.C:
5456         * texrow.C:
5457         * text3.C: re-add missing system headers, needed for 2.95.2.
5458
5459 2003-09-05  Angus Leeming  <leeming@lyx.org>
5460
5461         Changes most place everywhere due to the removal of using directives
5462         from support/std_sstream.h.
5463
5464 2003-09-05  Angus Leeming  <leeming@lyx.org>
5465
5466         Replace LString.h with support/std_string.h,
5467         Lsstream.h with support/std_sstream.h,
5468         support/LIstream.h with support/std_istream.h,
5469         support/LOstream.h with support/std_ostream.h.
5470
5471         Changes resulting throughout the tree.
5472
5473 2003-09-05  Angus Leeming  <leeming@lyx.org>
5474
5475         * sgml.h: ensure that the header file can be compiled stand-alone.
5476         * *.C: strip out redundant #includes. (320 in total.)
5477
5478 2003-09-04  Angus Leeming  <leeming@lyx.org>
5479
5480         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5481         here (from getPackages).
5482
5483         * debug.[Ch]: add a new EXTERNAL tag.
5484
5485 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5486
5487         * text2.C (cursorEnd): simplify
5488         (setCursor): adjust
5489         (getColumnNearX): adjust
5490
5491         * text.C (computeBidiTables): adjust
5492         (fill): adjust
5493
5494         * rowpainter.C (paintChars): adjust
5495         (paintSelection): adjust
5496         (paintChangeBar): adjust
5497         (paintText): adjust
5498
5499         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5500         lastPos instead.
5501         (numberOfSeparators): adjust
5502
5503 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5504
5505         * LyXAction.C:
5506         * box.[Ch]:
5507         * lfuns.h:
5508         * lyxfunc.C:
5509         * text3.C: Restricts the mouse click functionality
5510         of insets like bibtex, include, toc and floatlist to the visible
5511         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5512         up the dialogs. Cursor has to be in front of the inset (i.e.
5513         start of row) for this to function.
5514
5515 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5516
5517         * bufferview_funcs.C (currentState): output row information
5518
5519 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5520
5521         * bufferview_funcs.C (currentState): output paragraph position
5522
5523 2003-09-04  Angus Leeming  <leeming@lyx.org>
5524
5525         * FloatList.h: move out #include "Floating.h".
5526         * LaTeX.h: move out #include "DepTable.h".
5527         * LyXAction.h: move out #include "funcrequest.h".
5528         * buffer.h: move out #include "author.h", "iterators.h".
5529         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5530         * lyx_main.h: move out #include "errorlist.h".
5531         * lyxfunc.h: move out #include "FuncStatus.h".
5532         * lyxtext: move out #include "lyxcursor.h".
5533         * paragraph_pimpl.h: move out #include "counters.h".
5534
5535 2003-09-03  Angus Leeming  <leeming@lyx.org>
5536
5537         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5538         preamble_snippets list, enabling us to add snippets to the preamble
5539         only if the snippet was not there already.
5540
5541 2003-09-04  Angus Leeming  <leeming@lyx.org>
5542
5543         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5544
5545 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5546
5547         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5548         update
5549
5550 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5551
5552         * BranchList.C: point fix, earlier forgotten
5553
5554 2003-09-02  Angus Leeming  <leeming@lyx.org>
5555
5556         * box.C (contains): renamed from 'contained' after a fantastic
5557         amount of hot air.
5558
5559 2003-09-02  John Levon  <levon@movementarian.org>
5560
5561         * BufferView.C:
5562         * lyxcursor.h:
5563         * lyxcursor.C:
5564         * lyxfunc.C:
5565         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5566
5567 2003-09-02  John Levon  <levon@movementarian.org>
5568
5569         * text2.C: simplification of cursorEnd(), including partial
5570         fix for bug 1376
5571
5572 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5573
5574         * buffer.C (readFile): add a space
5575
5576 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5577
5578         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5579
5580 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5581
5582         * buffer.C (readFile): new function, take a filename and a
5583         ParagraphList::iterator
5584         (readFile): adjust
5585         (readFile): adjust, make it private. don't use setStream, make
5586         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5587         always contain the filename.
5588
5589         * BufferView.C (insertLyXFile): simplify and make it work for
5590         gzipped files.
5591
5592 2003-08-30  John Levon  <levon@movementarian.org>
5593
5594         * Makefile.am: fix dist (from Kayvan)
5595
5596 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5597
5598         * most files: change to use const Buffer refs
5599
5600 2003-08-27  André Pönitz  <poenitz@gmx.net>
5601
5602         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5603         on top of ownerPar().
5604
5605 2003-08-27  John Levon  <levon@movementarian.org>
5606
5607         * funcrequest.C: properly initialise POD members
5608
5609 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5610
5611         * lyxtext.h (top_y): move top_y from here
5612         * text.C:
5613         * text2.C:
5614         * text3.C:
5615         * BufferView.[Ch]:
5616         * BufferView_pimpl.[Ch]: to here
5617         * frontends/screen.C:
5618         * insets/insettabular.C:
5619         * insets/insettext.C: adjust
5620         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5621
5622 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5623
5624         * BufferView.[Ch]:
5625         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5626
5627 2003-08-26  André Pönitz  <poenitz@gmx.net>
5628
5629         * paragraph_func.[Ch] (outerPar): new function
5630
5631         * paragraph.C:
5632         * paragraph_funcs.C:
5633         * paragraph_funcs.h:
5634         * paragraph_pimpl.C:
5635         * text2.C: remove Inset::par_owner
5636
5637 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5638
5639         * lyxrow_funcs.C:
5640         * lyxtext.h:
5641         * text.C:
5642         * text2.C: eliminates the needFullRow/display() stuff
5643         altogether, putting the logic in metrics/draw in the insets.
5644
5645 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5646
5647         * text2.C (redoParagraphInternal, redoParagraphs):
5648         * text.C (redoParagraph): add a call to updateRowPositions at the
5649         end of each 'metrics-like' call. Remove all others.
5650         (getRow): remove the 'y-computing' version.
5651         (getRowNearY): do not compute nor return the real y. Solve the
5652         'y < 0' problem and simplify.
5653
5654 2003-08-22  Angus Leeming  <leeming@lyx.org>
5655
5656         * *.[Ch]: clean-up of licence and author blurbs.
5657         Also move config.h out of a few .h files and into a few .C files.
5658
5659 2003-08-22  André Pönitz  <poenitz@gmx.net>
5660
5661         * lyxrow.[Ch]: add x_ and *fill_ members
5662
5663         * lyxtext.h:
5664         * text.C:
5665         * rowpainter.C:
5666         * text2.C: adjust/remove prepareToPrint() calls
5667
5668 2003-08-22  André Pönitz  <poenitz@gmx.net>
5669
5670         * lyxrow.[Ch]: add  end_ member
5671
5672         * lyxrow_funcs.C: use LyXRow::end_
5673
5674         * lyxtext.h (singleWidth): add LyXFont parameter
5675
5676         * rowpainter.C:
5677         * text2.C: adjust LyXText::singleWidth() calls
5678
5679         * text.C (redoParagraph): simplify row breaking logic
5680
5681
5682 2003-08-19  André Pönitz  <poenitz@gmx.net>
5683
5684         * funcrequest.C: initialize button_ member
5685
5686         * text3.C:
5687         * rowpainter.[Ch]: interface consolidation
5688
5689 2003-08-18  André Pönitz  <poenitz@gmx.net>
5690
5691         * BufferView.C:
5692         * BufferView_pimpl.C:
5693         * lyxfind.C:
5694         * paragraph_funcs.C:
5695         * rowpainter.C:
5696         * text3.C: remove LyXScreen::draw() and fitCursor calls
5697
5698         * BranchList.h: remove spurious semicolons
5699
5700         * MenuBackend.C: fix branchlist related crash
5701
5702 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5703
5704         * BranchList.[Ch]:
5705         * InsetList.[Ch]:
5706         * LColor.[Ch]:
5707         * LyXAction.C:
5708         * Makefile.am:
5709         * MenuBackend.[Ch]:
5710         * bufferparams.[Ch]:
5711         * factory.C:
5712         * lfuns.h:
5713         * lyxfunc.C:
5714         * text3.C: implements the 'branch inset'
5715         idea. This allows the output of various versions of a document
5716         from a single source version, selectively outputing or suppressing
5717         output of parts of the text.
5718         This implementation contains a 'branch list editor' in a separate
5719         tab of the document settings dialog. Branches are user definable
5720         and have a "display colour" to distinguish them on-screen.
5721
5722         ColorHandler was somewhat cleaned up.
5723         (1) make possible a dynamically growing LColor list by allowing
5724         the graphic context cache to grow along (vector);
5725         (2) eliminate an IMHO unnecessary step in colour allocation.
5726
5727 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5728
5729         * BufferView_pimpl.C: compile fix
5730
5731 2003-08-15  André Pönitz  <poenitz@gmx.net>
5732
5733         * rowpainter.C: remove extra metrics calls
5734
5735         * lyxtext.h: merge the two constructors into a single one,
5736           pass reference to owner's par list
5737
5738         * BufferView_pimpl.C:
5739         * text.C:
5740         * text2.C: adjust
5741
5742 2003-08-15  André Pönitz  <poenitz@gmx.net>
5743
5744         * lyxrow_funcs.[Ch]:
5745         * lyxtext.h:
5746         * paragraph.h:
5747         * paragraph_funcs.C:
5748         * rowpainter.C:
5749         * text.C:
5750         * text2.C:
5751         * text3.C:
5752         * text_funcs.C: split LyXText::rowlist_ into individual
5753         Paragraph::rows_ chunks
5754
5755         * BufferView.[Ch]:
5756         * BufferView_pimpl.[Ch]:
5757         * lyxfind.C:
5758         * lyxtext.h:
5759         * text3.C: remove toggleSelection()
5760
5761 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5762
5763         * bufferlist.C: beautify two alerts (shorter text of buttons)
5764         * buffer.C: Remove redundant ' ' from message
5765         * tabular.h:
5766         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5767         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5768         rename VALIGN_CENTER to VALIGN_MIDDLE
5769
5770 2003-08-11  André Pönitz  <poenitz@gmx.net>
5771
5772         * lyxtext.h (getPar):
5773         * text.C: new function
5774
5775 2003-08-11  André Pönitz  <poenitz@gmx.net>
5776
5777         * Makefile.am:
5778         * tracer.[Ch]: remove unneeded files
5779
5780         * InsetList.[Ch]: remove resizeInsetsLyXText()
5781
5782         * lyxtext.h:
5783         * text.C:
5784         * text2.C:
5785         * text3.C: merge insertParagraphs() and appendParagraph()
5786         remove breakAgain(), update()
5787
5788         * BufferView_pimpl.[Ch]:
5789         * bufferview_funcs.[Ch]:
5790         * lyxfunc.C:
5791         * paragraph.[Ch]:
5792         * rowpainter.C:
5793         * tabular.C: adjust after text & InsetList changes.
5794
5795 2003-08-08  André Pönitz  <poenitz@gmx.net>
5796
5797         * text.C (insertChar, backspace): replace rowlist fiddling
5798         with rebreak of full par
5799
5800         * lyxtext.h:
5801         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5802         checkParagraph, updateInset): removed
5803
5804 2003-08-07  André Pönitz  <poenitz@gmx.net>
5805
5806         * paragraph.C:
5807         * text3.C: merge some LFUN handlers, remove dead code
5808
5809 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5810
5811         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5812
5813 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5814
5815         * text2.C (DEPM): fix part of bug 1255 and 1256
5816
5817 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5818
5819         * BufferView_pimpl.C (workAreaDispatch): change to use
5820         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5821         that are no mouse related.
5822
5823 2003-08-05  André Pönitz  <poenitz@gmx.net>
5824
5825         * BufferView.[Ch]:
5826         * BufferView_pimpl.[Ch]:
5827         * bufferview_funcs.C:
5828         * text2.C:
5829         * text3.C: rip out "deep update"
5830
5831         * textcursor.[Ch] (last_sel_cursor): remove unused member
5832
5833 2003-08-04  André Pönitz  <poenitz@gmx.net>
5834
5835         * BufferView.[Ch]:
5836         * BufferView_pimpl.[Ch]:
5837         * ParagraphParameters.C:
5838         * bufferview_funcs.C:
5839         * lyx_cb.C:
5840         * lyxfind.C:
5841         * lyxfunc.C:
5842         * text.C:
5843         * text2.C:
5844         * text3.C: replace "complicated" BufferView::update(...) calls with
5845         simpler ones.
5846
5847         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5848
5849 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5850
5851         * Makefile.am (lyx_SOURCES): add paper.h
5852
5853 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5854
5855         * Makefile.am: move things around so that both lyx-qt and
5856         lyx-xforms can be built (according to --with-frontend). Then lyx
5857         is a symbolic link to lyx-[firstfrontend]
5858
5859 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5860
5861         * Always use std::endl with lyxerr
5862
5863 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5864
5865         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5866
5867 2003-08-01  André Pönitz  <poenitz@gmx.net>
5868
5869         * BufferView.[Ch]:
5870         * BufferView_pimpl.[Ch]:
5871         * lyxfunc.C:
5872         * text3.C: merge BufferView::repaint() and BufferView::update()
5873
5874 2003-08-01  José Matos  <jamatos@lyx.org>
5875
5876         * buffer.[Ch]: file_format is no longer a buffer data element.
5877
5878 2003-08-01  André Pönitz  <poenitz@gmx.net>
5879
5880         * BufferView.C:
5881         * lyxtext.h:
5882         * text.C:
5883         * text2.C: make redoParagraph more independent of current cursor
5884
5885         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5886         * text.C:
5887         * text2.C: remove unneeded members
5888
5889 2003-07-30  André Pönitz  <poenitz@gmx.net>
5890
5891         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5892
5893         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5894           create a single function...
5895
5896         * paragraph_funcs.C (moveItem): ... here.
5897
5898         * text.C:
5899           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5900
5901 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5902
5903         * LColor.[Ch]: Add comment and greyedout logical colors.
5904
5905 2003-07-30  André Pönitz  <poenitz@gmx.net>
5906
5907         * tabular.C: don't use Assert too heavily. This crashes where it
5908           shouldn't
5909
5910 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5911
5912         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5913         is disabled (bug 1232)
5914
5915 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5916
5917         * factory.C: limited 'arg' scope
5918
5919 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5920
5921         * factory.C: fixed Note submenu issues
5922
5923 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5924
5925         * factory.C: submenu for Note/Comment/Greyedout
5926
5927 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5928
5929         * lyx_main.C (LyX):
5930         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5931
5932 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5933
5934         * LaTeXFeatures.C:
5935         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5936         greyedout. Patch provided by Jürgen Spitzmüller.
5937
5938 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5939
5940         * kbmap.C (read): fix error message when reading bind files
5941
5942 2003-07-29  Angus Leeming  <leeming@lyx.org>
5943
5944         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5945         certainly does not do what it purports to do. I am doing it, and
5946         us, a favour by killing it.
5947
5948 2003-07-28  José Matos  <jamatos@lyx.org>
5949
5950         * buffer.C (readBody, do_writeFile):
5951         * paragraph.C(readParagraph): \end_document replaces \the_end.
5952
5953 2003-07-29  André Pönitz  <poenitz@gmx.net>
5954
5955         * BufferView.[Ch]:
5956         * BufferView_pimpl.[Ch]:
5957         * lyxfunc.C:
5958         * text2.C:
5959         * text3.C:
5960         * textcursor.[Ch]: remove toggleToggle & Co
5961
5962 2003-07-28  José Matos  <jamatos@fep.up.pt>
5963
5964         * buffer.C (readParagraph):
5965         * params_func (readParToken, readParagraph):
5966         * paragraph.C (write): \layout -> \begin_layout.
5967
5968 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5969
5970         * lyxlex_pimpl.C (setFile): clean up slightly.
5971
5972         * bufferparams.h: add compressed var
5973
5974         * buffer_funcs.C (readFile): adjust for LyXLex change
5975         (newFile): ditto + simplify
5976
5977         * buffer.C (writeFile): handle writing of compressed files
5978
5979         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5980         Check if the file is compressed and set a bufferparm if so.
5981
5982         * Makefile.am (lyx_LDADD): remove explicit -lz
5983
5984 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5985
5986         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5987         makeDocBookFile): put the real LyX version in the first line of
5988         the file
5989
5990         * version.h:
5991         * version.C.in: remove lyx_docversion
5992
5993         * tabular.C (write_attribute): add a template-based version to
5994         write enums properly
5995
5996 2003-07-28  André Pönitz  <poenitz@gmx.net>
5997
5998         * lyxtext.h:
5999         * text.C:
6000         * text2.C:
6001         * text3.C: use doubles again for x-coordinates. They are needed.
6002
6003 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6004
6005         * messages.C (getLocaleDir): use lyx_localedir()
6006
6007         * lyxlex_pimpl.C (setFile): compress stuff
6008
6009         * buffer.C (writeFile): add some compression stuff
6010         (do_writeFile): new func, dont call expliti close... will this
6011         breake anything?
6012
6013         * Makefile.am (lyx_LDADD): add -lz
6014
6015 2003-07-28  José Matos  <jamatos@fep.up.pt>
6016
6017         * buffer.C: increment file format.
6018         * paragraph_funcs (readParagraph, readParToken):
6019         * paragraph.C (readParagraph): add \end_layout.
6020
6021 2003-07-27  Angus Leeming  <leeming@lyx.org>
6022
6023         * Makefile.am: remove special casing for configure-time setting of
6024         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6025
6026         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6027         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6028
6029 2003-07-26  André Pönitz  <poenitz@gmx.net>
6030
6031         * paragraph_func.[Ch]:
6032         * paragraph.C (realizeFont): inline it whereever it is used
6033
6034         * rowpainter.C:
6035         * text.C:
6036         * text2.C:
6037         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6038
6039
6040 2003-07-26  André Pönitz  <poenitz@gmx.net>
6041
6042         *       lyxtext.h:
6043         * text.C:
6044         * text2.C: get rid of LyXText::need_break_row
6045
6046 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6047
6048         * toc.[Ch]: put namespace toc inside namespace lyx
6049
6050         * MenuBackend.C (expandToc2): adjust for lyx::toc
6051         (expandToc): ditto
6052
6053         * lyxfunc.C (dispatch): adjust for lyx::find
6054
6055         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6056         lyx::find instead. Reorganize a bit.
6057         (LyXReplace): rename to replace
6058         (LyXFind): rename to find
6059
6060         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6061         (dispatch): ditto
6062
6063 2003-07-26  André Pönitz  <poenitz@gmx.net>
6064
6065         * text.C (setHeightOfRow): restrict scope of temporary variable
6066
6067         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6068           code (never has been used?)
6069
6070 2003-07-27  Asger Alstrup  <alstrup@local>
6071
6072         * text.C (fill): Optimise algorithm to exploit that we can reuse
6073         the LyXFont for many characters.
6074         (setHeightOfRow): Same thing.
6075         (rowBreakPoint): Same thing.
6076
6077 2003-07-26  Asger Alstrup  <alstrup@local>
6078
6079         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6080
6081         * text.C (singleWidth): Spurious font copying in hot-spot
6082         singleWidth avoided. Reorder tests for arabic for efficiency.
6083
6084         * text.C (fill): handle empty paragraphs better.
6085
6086 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6087
6088         * ispell.C:
6089         * encoding.h: add includes
6090
6091         * lyxrc.C: remove reading of bind files
6092
6093         * lyx_main.C (init): setup bindings and menus only if we have a
6094         gui.
6095
6096         * kbmap.C (read): new method. Do the actual reading of bind
6097         files.
6098
6099         * converter.C (dvipdfm_options):
6100         * bufferparams.C:
6101         * lyxrc.C (read):
6102         (output): adapt PAPER_* enums.
6103
6104         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6105
6106         * bufferparams.h: remove paper-related enums from there
6107
6108         * paper.h: New file. A trivial header file to hold paper-related
6109         enums. It should later expand to contain many paper-related
6110         horrors access.
6111
6112         * lyxrc.C: declare extern displayTranslator
6113
6114 2003-07-27  José Matos  <jamatos@fep.up.pt>
6115
6116         * tabular.[Ch] (linuxdoc): add support for tables and figures
6117         (linuxdoc).
6118
6119 2003-07-27  José Matos  <jamatos@fep.up.pt>
6120
6121         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6122         consistency in both functions.
6123         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6124
6125 2003-07-26  Asger Alstrup  <alstrup@local>
6126
6127         * rowpainter.C (paintRows): Change algorithm to work directly on
6128         the insets rather than asking every character in the document
6129         whether its an inset.
6130
6131 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6132
6133         * buffer.C (openFileWrite): factorize some code
6134
6135 2003-07-26  Angus Leeming  <leeming@lyx.org>
6136
6137         * lyx_cb.C:
6138         * lyx_main.[Ch]: replace occurances of system_tempdir with
6139         os::getTmpDir().
6140
6141 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6142
6143         * rename Inset to InsetOld
6144
6145 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6146
6147         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6148         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6149         which I think is a bit clearer. EDIT is gone, since it was
6150         premature optimisation, and broken for mathed anyway.
6151         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6152         with cursor positioning in insets as well (math insets still do not
6153         work, but that's a different story anyway.) It mysteriously
6154         crashes sometimes with undo in the first paragraph, but I'm fairly
6155         confident that this is a compiler bug.
6156
6157 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6158
6159         * paragraph.C (Paragraph): adjust for new clone return type
6160         (operator==): ditto
6161         (copyIntoMinibuffer): ditto
6162
6163 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6164
6165         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6166         by not having a special case, and always doing a full rebreak of
6167         the document after undo.
6168
6169 2003-07-23  Angus Leeming  <leeming@lyx.org>
6170
6171         * factory.C (createInset): InsetExternal::setParams now takes a
6172         Buffer const * arg.
6173
6174 2003-07-23  Angus Leeming  <leeming@lyx.org>
6175
6176         * factory.C (createInset): changed interface to the external and
6177         graphics mailers' string2params functions.
6178
6179 2003-07-23  Angus Leeming  <leeming@lyx.org>
6180
6181         * factory.C (createInset): pass a
6182         Buffer const * parameter to InsetExternalMailer's string2params.
6183
6184 2003-07-22  John Levon  <levon@movementarian.org>
6185
6186         * Thesaurus.h: include the right aiksaurus header
6187
6188 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6189
6190         * MenuBackend.C (expand): check menu shortcuts unconditionally
6191
6192 2003-07-21  Angus Leeming  <leeming@lyx.org>
6193
6194         * factory.C (createInset): pass a
6195         buffer_path parameter to InsetGraphicsMailer's string2params.
6196
6197 2003-07-21  Angus Leeming  <leeming@lyx.org>
6198
6199         * BufferView_pimpl.C (buffer):
6200         * buffer.C (d-tor):
6201         * lyx_main.C (LyX):
6202         * lyxfunc.C (dispatch):
6203         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6204         rather than the grfx shortcut.
6205
6206 2003-07-21  André Pönitz  <poenitz@gmx.net>
6207
6208         * rowpainter.C: remove unused variables
6209
6210         * tabular_funcs.C:
6211         * tabular_funcs.h: move to tabular.C
6212         * Makefile.am: adjust
6213
6214         * tabular.[Ch]: basic optical cleaning
6215
6216         * author.h: pass references, not values
6217
6218 2003-07-18  André Pönitz  <poenitz@gmx.net>
6219
6220         * lyxtext.h:
6221         * metricsinfo.C:
6222         * metricsinfo.h:
6223         * rowpainter.C:
6224         * text.C:
6225         * text2.C:
6226         * text3.C: two-phase drawing for InsetText and InsetTabular
6227         some float -> int changes.
6228
6229 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6230
6231         * lyx_main.C: fix the fix
6232
6233 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6234
6235         * lyx_main.C: fix a crash in batch mode if no files specified
6236         * converter.C: ws
6237
6238 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6239
6240         * format.[Ch] (papersize): moved to BufferParams
6241         * converter.[Ch] (dvips_options): moved to BufferParams
6242         (dvipdfm_options): moved to anon namespace
6243         * bufferparams.[Ch]: added above functions.
6244
6245 2003-07-17  André Pönitz  <poenitz@gmx.net>
6246
6247         * lyxtext.h:
6248         * rowpainter.C:
6249         * text2.C: don't call inset->update() anymore
6250
6251         * metricsinfo.[Ch]: add convenience constructor
6252
6253 2003-07-16  André Pönitz  <poenitz@gmx.net>
6254
6255         * lyxcursor.[Ch]:
6256         * lyxfunc.[Ch]:
6257         * text.C:
6258         * text2.C: replace the LyXCursor::irow_ member with
6259          on-demand computation of the value
6260
6261 2003-07-16  John Levon  <levon@movementarian.org>
6262
6263         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6264
6265 2003-07-15  André Pönitz  <poenitz@gmx.net>
6266
6267         * text.C:
6268         * text2.C: remove no more needed refresh_row
6269
6270 2003-07-15  André Pönitz  <poenitz@gmx.net>
6271
6272         * lyxtext.h:
6273         * rowpainter.C:
6274         * text2.C:
6275         * text3.C: refresh_status tristate -> need_update bool
6276
6277 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6278
6279         * lyxtext.h (init): remove reinit argument (act as if always true)
6280         * text2.C: adjust to that
6281
6282 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6283
6284         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6285         * text3.C: use it to delete selections in some cases
6286         (bugs 441, 673, 702, 954).
6287
6288 2003-07-14  André Pönitz  <poenitz@gmx.net>
6289
6290         * rowpainter.[Ch]: reduce interface
6291
6292 2003-07-14  André Pönitz  <poenitz@gmx.net>
6293
6294         * BufferView_pimpl.C:
6295         * text2.C: adjust after removing unused BufferView * argument
6296
6297 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6298
6299         * text2.C (init): fix a crash fired on resize
6300
6301 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6302
6303         * buffer.[Ch]: added new closing signal
6304         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6305         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6306         BufferView::Pimpl via the closing the signal
6307
6308 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6309
6310         * buffer.[Ch]: take out all bv-related from buffer
6311         * BufferView.C:
6312         * BufferView_pimpl.[Ch]: connect to new signals
6313         * CutAndPaste.C: removed useless asserts
6314         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6315         * lyxvc.[Ch]:
6316         * vc-backend.[Ch]:
6317         * lyxfunc.C: moved view-related funciontality from vc here
6318         * paragraph.C: removed outdated comments
6319         * text.C: ws
6320
6321 2003-07-10  André Pönitz  <poenitz@gmx.net>
6322
6323         * BufferView_pimpl.C:
6324         * tabular.h:
6325         * tabular_funcs.C:
6326         * text.C:
6327         * text2.C: remove InsetText::InnerCache, clean up consequences
6328
6329 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6330
6331         * ispell.C: fix two typos in error messages
6332
6333 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6334
6335         * Extend Note inset to other forms of annotation like Comment
6336         and Greyedout. Right button click gives dialog.
6337
6338         Files modified or added (+):
6339
6340         * insetnote.[Ch]
6341         * FormNote.[Ch]      +
6342         * ControlNote.[Ch]   +
6343         * form_note.fd       +
6344         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6345         frontends/controllers
6346         * xforms/Dialogs.C
6347         * factory.C
6348
6349 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6350
6351         * aspell.C: add missing namespace lyx::support
6352
6353 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6354
6355         * BufferView.[Ch] (newFile): Add
6356         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6357         * LaTeX.[Ch] (message): added this signal and use it
6358         * buffer.[Ch] (busy, message): added these signals and use them
6359         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6360         * converter.C:
6361         * exporter.C:
6362         * format.C:
6363         * importer.C: use buffer signals instead of direct bv calling
6364         * lyx_cb.[Ch] (ShowMessage): removed
6365         * lyx_main.C:
6366         * lyxfunc.C:
6367         * paragraph_funcs.C:
6368         * text2.C: use buffer signals
6369
6370 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6371
6372         * introduce namespace lyx::graphics
6373
6374 2003-07-02  André Pönitz  <poenitz@gmx.net>
6375
6376         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6377
6378 2003-07-01  André Pönitz  <poenitz@gmx.net>
6379
6380         * text.C:
6381         * text2.C:
6382         * text3.C:
6383         * text_funcs.[Ch]:
6384         * textcursor.h:
6385         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6386           text*.C to text_func.C
6387
6388 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6389
6390         * introduce namespace lyx::support
6391
6392 2003-06-30  André Pönitz  <poenitz@gmx.net>
6393
6394         * Chktex.C:
6395         * funcrequest.C:
6396         * lyxtext.h:
6397         * text.C: re-enable --with-included-string
6398
6399 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6400
6401         * textcursor.C: add <config.h>
6402
6403         * text.C (getWord): remove const from word_location arg
6404
6405         * lyxvc.C (getLogFile): fix const type order
6406
6407         * lyxtext.h: remove const from word_location arg, add arg name
6408
6409         * lyxlayout.h: currect type on labeltype.
6410
6411         * importer.C: correct \file
6412
6413         * converter.C (intToFormat): use std:: on ret val, ws changes
6414
6415         * bufferlist.h: correct \file
6416
6417         * buffer.C (makeLinuxDocFile): fix const type order
6418         (makeDocBookFile): ditto
6419         (fillWithBibKeys): use std:: on stdlib args.
6420
6421         * CutAndPaste.C: fix authors.
6422         (availableSelections): use std:: on return vector
6423
6424 2003-06-27  André Pönitz  <poenitz@gmx.net>
6425
6426         * BufferView_pimpl.C:
6427         * bufferview_funcs.C:
6428         * lyxcursor.C:
6429         * lyxcursor.h:
6430         * lyxfunc.C:
6431         * lyxtext.h:
6432         * rowpainter.C:
6433         * text.C:
6434         * text2.C:
6435         * text3.C: remove LyXCursor::row_ member
6436
6437         * lyxtext.h:
6438         * text.C: rename fullRebreak() to partialRebreak() and implement
6439           a fullRebreak() that really bereks fully
6440
6441         * textcursor.h: new struct for cursor-related data
6442
6443 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6444
6445         * lyx_main.C (LyX): get full path of document loaded on the
6446         command line
6447
6448 2003-06-26  André Pönitz  <poenitz@gmx.net>
6449
6450         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6451           remove unused/broken operator>,<,>=.
6452
6453         *       text.C: remove only use of broken operator<= in an Assert().
6454
6455 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6456
6457         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6458         moved errorlist_.clear to showErrorList
6459
6460 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6461
6462         * converter.C (scanLog, runLaTeX):
6463         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6464         move the bv->showErrorList call to the callers
6465         * lyxfunc.C: i.e. here...
6466         * text2.C: and here
6467         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6468         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6469         namespace, the second to...
6470         * buffer_funcs (BufferFormat, parseErrors): added
6471         * errorlist.C (ErrorList(TeXErrors const &)): removed
6472
6473 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6474
6475         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6476
6477 2003-06-24  "Garst R. Reese" <reese@isn.net>
6478
6479         * debug.C: fix typo
6480
6481 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6482
6483         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6484
6485         * version.C.in: change docversion to 1.4
6486
6487 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6488
6489         * buffer.C: fix a bug just introduced
6490
6491 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6492
6493         * buffer.[Ch]: added the parseError signal and use it, removed
6494         sgmlError
6495         * BufferView.[Ch] (addError): moved to ...
6496         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6497         to the Buffer::parseError signal to catch (guess what) parse errors
6498         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6499
6500 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6501
6502         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6503         ability to create a buffer and to return an existing one from
6504         the list. Moved these functions to...
6505         * buffer_funcs.[Ch]: added
6506         * BufferView.[Ch] (loadLyXFile): added
6507         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6508         job removed from bufferlist::loadLyXFile.
6509         * buffer.C (setReadOnly): make it work without view
6510         (i.e added an if (users))
6511
6512 2003-06-19  Angus Leeming  <leeming@lyx.org>
6513
6514         * lfuns.h:
6515         * LyXAction.C (init):
6516         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6517         with LFUN_DIALOG_SHOW <name> <data>.
6518
6519 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6520
6521         * CutAndPaste.C (availableSelections): small compilation fix for
6522         ancient (gcc 2.9x) compilers
6523
6524 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6525
6526         * text3.C (cursorNext): add tmp var
6527
6528         * text2.C (updateCounters): for function calling out of for clause
6529         (replaceSelectionWithString): ditto
6530         (insertStringAsParagraphs): ditto
6531         (getColumnNearX): add tmp var
6532         (setCursorFromCoordinates): add tmp var
6533         (cursorDownParagraph): add tmp var
6534         (deleteEmptyParagraphMechanism): add tmp var
6535
6536         * text.C (insertChar): add tmp var
6537
6538         * rowpainter.C (paintDepthBar): add tmp var
6539
6540         * CutAndPaste.C (availableSelections): potentially check all
6541         paragraphs in a cut to fill the shown strings.
6542
6543 2003-06-18  André Pönitz  <poenitz@gmx.net>
6544
6545         * kbmap.[Ch]: use vector<> instead of list<>
6546
6547 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6548
6549         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6550         pasteSelection with index
6551
6552         * text2.C (pasteSelection): modify, call pasteSelection with index
6553
6554         * paragraph.C (asString): reimplement version with no interval to
6555         call the one with interval.
6556
6557         * lyxtext.h: add index arg to pasteSelection
6558
6559         * MenuBackend.C (MenuItem): handle PasteRecent
6560         (Menu::read::Menutags): add md_pasterecent
6561         (read): handle it
6562         (expandPasteRecent): new function
6563         (expand): use it
6564
6565         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6566
6567         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6568         the limited stack
6569         (availableSelections): new function
6570
6571 2003-06-17  Angus Leeming  <leeming@lyx.org>
6572
6573         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6574
6575 2003-06-17  Angus Leeming  <leeming@lyx.org>
6576
6577         * lfuns.h:
6578         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6579
6580         * lyxfunc.C (dispatch): invoke it.
6581
6582 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6583
6584         * iterators.C (operator++, ParPosition): reintroduce some
6585         const_cast for the benefit of older compilers.
6586
6587 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6588
6589         * text3.C (dispatch): do not modify clipboard when doing
6590         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6591         LFUN_DELETE_SKIP on a selection selection
6592
6593 2003-06-16  André Pönitz  <poenitz@gmx.net>
6594
6595         * BufferView.C:
6596         * buffer.C:
6597         * buffer.h:
6598         * paragraph.C:
6599         * tabular.[Ch]: IU of clone() and getLabelList();
6600
6601 2003-06-13  André Pönitz  <poenitz@gmx.net>
6602
6603         * tabular.h: compactification
6604
6605 2003-06-12  André Pönitz  <poenitz@gmx.net>
6606
6607         * tabular.C:
6608         * tabular.h:
6609         * tabular_funcs.h: some renaming plus whitespace
6610
6611 2003-06-12  André Pönitz  <poenitz@gmx.net>
6612
6613         * BufferView.C:
6614         * BufferView_pimpl.C:
6615         * CutAndPaste.C:
6616         * buffer.C:
6617         * iterators.[Ch]:
6618         * lyxfunc.C:
6619         * text.C:
6620         * toc.C: Return a Paragraph & for ParIterator::operator*()
6621
6622 2003-06-11  John Levon  <levon@movementarian.org>
6623
6624         * lyx_main.C:
6625         * ToolbarBackend.h:
6626         * ToolbarBackend.C: add "Toolbars" section and
6627         put the flags there
6628
6629 2003-06-10  Angus Leeming  <leeming@lyx.org>
6630
6631         * lfuns.h:
6632         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6633
6634         * lyxfunc.C (dispatch): invoke it.
6635
6636 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6637
6638         * main.C: protect <ios> with HAVE_IOS
6639         (main): protect sync_with_stdio with HAVE_IOS
6640
6641 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6642
6643         * text2.C (cutSelection): adjust
6644         (pasteSelection): adjust
6645
6646         * messages.C: handle get of empty string
6647
6648         * main.C (main): use sync_with_stdio(false)
6649
6650         * lyxfunc.C (dispatch): adjust
6651
6652         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6653         (WriteAs): remove unneeded BufferView arg.
6654
6655         * bufferparams.h: use correct types on papersize, papersize2 and
6656         paperpackage.
6657
6658         * bufferparams.C (readToken): adjust for type
6659         (writeLaTeX): add missing cases to switch.
6660
6661         * bufferlist.C (quitWriteBuffer): adjust
6662         (close): adjust
6663
6664         * buffer.C (asciiParagraph): remove some commented code.
6665
6666         * CutAndPaste.C: remove current_view extern variable.
6667         (cutSelection): add BufferParams arg.
6668         (eraseSelection): add BufferParams arg.
6669         (pasteSelection): add Buffer const & arg
6670
6671 2003-06-07  John Levon  <levon@movementarian.org>
6672
6673         * buffer.C:
6674         * paragraph_funcs.C:
6675         * paragraph_pimpl.C:
6676         * text.C:
6677         * text2.C:
6678         * paragraph.h:
6679         * paragraph.C: allow InsetERT to freely space lines,
6680         and some consolidation of code
6681
6682 2003-06-06  José Matos  <jamatos@fep.up.pt>
6683
6684         * buffer.C (makeDocBookFile): fix bug #821
6685
6686 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6687
6688         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6689
6690 2003-06-04  Angus Leeming  <leeming@lyx.org>
6691
6692         * buffer.C: bump format to 224.
6693
6694 2003-06-05  André Pönitz  <poenitz@gmx.net>
6695
6696         * text2.C (redoParagraphs): remove two const_cast<>
6697
6698 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6699
6700         * ParagraphList.h: remove last remnants of NO_STD_LIST
6701
6702 2003-06-03  Angus Leeming  <leeming@lyx.org>
6703
6704         * factory.C (createInset): small change to the way InsetExternal's params
6705         are set.
6706
6707 2003-06-04  André Pönitz  <poenitz@gmx.net>
6708
6709         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6710
6711         * paragraph_pimpl.h:
6712         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6713
6714         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6715
6716         * undo_funcs.C: make some simple cases of undo work again
6717
6718 2003-06-03  John Levon  <levon@movementarian.org>
6719
6720         * ispell.C: HPUX doesn't have sys/select.h
6721         (from Albert Chin)
6722
6723 2003-06-03  John Levon  <levon@movementarian.org>
6724
6725         * CutAndPaste.C: update tabular and include inset
6726         buffer references
6727
6728         * buffer.h:
6729         * paragraph.h:
6730         * paragraph.C: remove owningBuffer(), don't pass Buffer
6731         to clone()
6732
6733         * factory.C: insetGraphicsParams changed
6734
6735 2003-06-02  John Levon  <levon@movementarian.org>
6736
6737         * LyXAction.C:
6738         * factory.C:
6739         * lfuns.h:
6740         * lyxfunc.C:
6741         * text3.C: remove insetparent
6742
6743 2003-06-02  John Levon  <levon@movementarian.org>
6744
6745         * buffer.h:
6746         * buffer.C: fix inset_iterator.end(), move out of line
6747         (bug 1149)
6748
6749 2003-06-01  John Levon  <levon@movementarian.org>
6750
6751         * text3.C: use a proper cut/paste when doing inset
6752         insert (from Jürgen Spitzmüller)
6753
6754 2003-06-01  John Levon  <levon@movementarian.org>
6755
6756         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6757
6758 2003-05-30  André Pönitz  <poenitz@gmx.net>
6759
6760         * rowpainter.C: unify second drawing phase
6761
6762 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6763
6764         * trans_mgr.C: remove one case of current_view
6765
6766         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6767
6768         * paragraph_funcs.h: remove paragraph.h include
6769
6770         * paragraph.h: delete NO_STD_LIST stuff
6771
6772         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6773
6774         * buffer.h: remove paragraph.h include
6775
6776         * ParagraphList.C: delete file
6777
6778         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6779
6780         * toc.C (getTocList): adjust
6781
6782         * paragraph_pimpl.C (validate): adjust
6783
6784         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6785
6786         * paragraph.C (Paragraph): adjust
6787         (getPositionOfInset): use const_iterator, adjust
6788         (bibitem): use const_iterator, adjust
6789         (setInsetOwner): adjust
6790
6791         * iterators.C (operator++): adjust
6792
6793         * InsetList.[Ch]: Replace selfmade iterator with standard
6794         vector::iterator also introduce const_iterator. Remove getPos,
6795         getInset and setInset from InsetTable. Adjust accordingly.
6796
6797         * BufferView.C (lockInset): adjust
6798         (ChangeInsets): adjust
6799
6800         * tabular.[Ch]: delete commented same_id functions
6801
6802 2003-05-28  John Levon  <levon@movementarian.org>
6803
6804         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6805
6806 2003-05-28  André Pönitz  <poenitz@gmx.net>
6807
6808         * metricsinfo.[Ch]: remove 'fullredraw' member
6809
6810 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6811
6812         * lyxtextclass.C (operator): remove caching.
6813
6814 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6815
6816         * text3.C: adjust
6817
6818         * text2.C (cursorBottom): adjust
6819         (setCounter): use ParagraphList::find, adjust
6820
6821         * text.C (workWidth): use ParagraphList::find, adjust
6822
6823         * lyxcursor.C (LyXCursor): adjust
6824
6825         * buffer.C (inset_iterator): adjust
6826
6827         * ParagraphList.h: make iterator(value_type) private, make
6828         ParagraphList a friend of iterator.
6829
6830         * ParagraphList.C (find): new function
6831
6832         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6833
6834 2003-05-27  André Pönitz  <poenitz@gmx.net>
6835
6836         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6837
6838 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6839
6840         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6841
6842 2003-05-26  John Levon  <levon@movementarian.org>
6843
6844         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6845
6846 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6847
6848         * remove same_id from function signatures, adjust.
6849
6850 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6851
6852         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6853
6854         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6855
6856         * paragraph.C (Paragraph): get rid of same_ids parameter
6857
6858         * ParagraphList.C (insert): adjust
6859         (push_back): adjust
6860
6861 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6862
6863         * paragraph_funcs.C (breakParagraph): adjust
6864         (breakParagraphConservative): adjust
6865
6866         * buffer.C (readParagraph): adjust
6867
6868         * ParagraphList.C (insert): take a reference instead of a pointer
6869         (insert): adjust
6870
6871         * paragraph.[Ch] (id): new function
6872
6873         * bufferlist.C (newFile): adjust
6874
6875         * ParagraphList.C (ParagraphList): adjust
6876         (assign): adjust
6877         (push_back): take a reference instead of a pointer.
6878
6879         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6880
6881         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6882         instead.
6883
6884         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6885         set else use old code.
6886
6887         * ParagraphList.C: remove all NO_NEXT code and only compile this
6888         code of NO_STD_LIST is set.
6889
6890 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6891
6892         * BufferView_pimpl.C:
6893         * TextCache.C:
6894         * TextCache.h:
6895         * bufferlist.C:
6896         * errorlist.h:
6897         * format.C:
6898         * format.h:
6899         * graph.C:
6900         * lyxfunc.C:
6901         * lyxrc.C:
6902         * graphics/GraphicsConverter.C:
6903         * graphics/PreviewLoader.C: header adjustment
6904
6905 2003-05-23  Angus Leeming  <leeming@lyx.org>
6906
6907         * LaTeXFeatures.[Ch] (useBabel): new method.
6908         * bufferparams.C (writeLaTeX): use it.
6909
6910 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6911
6912         * ParagraphList.h (set): remove unused function.
6913
6914 2003-05-23  André Pönitz  <poenitz@gmx.net>
6915
6916         * BufferView.C:
6917         * BufferView_pimpl.C:
6918         * buffer.C:
6919         * buffer.h:
6920         * lyxfunc.C:
6921         * undo_funcs.C: setUndo reworked
6922
6923         * iterators.[Ch]: add access to topmost ParagraphList
6924
6925         * lyxtext.[Ch] (workWidth): add a const
6926
6927 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6928
6929         * texrow.[Ch] (increasePos): remove function
6930         * exporter.C (export): removed unused var and outdated comment
6931
6932 2003-05-23  Angus Leeming  <leeming@lyx.org>
6933
6934         * latexrunparams.h: rename fragile as moving_arg.
6935         * paragraph.C (simpleTeXOnePar): ditto.
6936         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6937
6938 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6939
6940         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6941         (createUndo): ditto
6942         (textUndoOrRedo): comment out a currently unused var.
6943
6944         * paragraph.h (NO_NEXT): enable NO_NEXT
6945
6946         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6947
6948         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6949
6950         * exporter.C (Export): adjust for removeAutoInsets removal.
6951
6952         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6953
6954         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6955
6956         * BufferView.[Ch] (removeAutoInsets): delete function
6957
6958 2003-05-22  Angus Leeming  <leeming@lyx.org>
6959
6960         * latexrunparams.h: add a free_spacing variable.
6961
6962         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6963         to pass moving_arg, as the data is stored in runparams.fragile.
6964
6965         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6966         to Inset::latexOptional or to simpleTeXOnePar.
6967
6968         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6969         free_spacing arg to Inset::latexOptional.
6970
6971         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6972         free_spacing arg.
6973
6974 2003-05-22  Angus Leeming  <leeming@lyx.org>
6975
6976         * latexrunparams.h: add fragile and use_babel variables.
6977
6978         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6979         * buffer.C (makeLaTeXFile): store this returned value in
6980         runparams.use_babel, thus passing it to the inset::latex methods.
6981
6982         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6983         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6984
6985         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6986         longer has a fragile arg, as it is stored in runparams.fragile.
6987
6988         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6989         moving_arg parameter as the data is stored in runparams.fragile.
6990
6991         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6992         a fragile parameter as the data is stored in runparams.fragile.
6993
6994 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6995
6996         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6997
6998 2003-05-22  Angus Leeming  <leeming@lyx.org>
6999
7000         * latexrunparams.h: add a 'bool nice' which defaults to false.
7001
7002         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7003         now encapsulated within runparams.
7004
7005         * bufferlist.C (updateIncludedTeXfiles):
7006         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7007
7008 2003-05-22  Angus Leeming  <leeming@lyx.org>
7009
7010         * latexrunparams.h: new file containing struct LatexRunParams.
7011         * Makefile.am: add new file.
7012
7013         * LaTeX.[Ch] (c-tor, run):
7014         * buffer.[Ch] (makeLaTeXFile):
7015         * bufferlist.[Ch] (updateIncludedTeXfiles):
7016         * converter.C (convert, scanLog):
7017         * converter.[Ch] (runLaTeX):
7018         * exporter.C (Export):
7019         * paragraph.[Ch] (simpleTeXOnePar):
7020         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7021         * paragraph_funcs.[Ch] (latexParagraphs):
7022         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7023         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7024         pass around a LatexRunParams parameter.
7025
7026 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7027
7028         * paragraph.[Ch]: remove unused constructor
7029
7030         * ParagraphList.C (erase): new function, taking two iterators
7031
7032 2003-05-22  André Pönitz  <poenitz@gmx.net>
7033
7034         * undo_funcs.C: remove duplicated code
7035
7036         * iterator.[Ch]: operator=
7037
7038 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7039
7040         * tabular.C (SetMultiColumn): ws changes
7041
7042         * rowpainter.C (paintFirst): get rid of a ->previous
7043
7044         * lyx_cb.C (getPossibleLabel): parlist simplification
7045
7046         * BufferView.C (ChangeInsets): simplify slightly.
7047
7048 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7049
7050         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7051         * lfuns.h: new LFUN_SPACE
7052         * lyxfunc.C: protected space has a new lfun
7053         * paragraph_funcs.C: read new space insets
7054         * text3.C:
7055         * factory.C: handle new space insets
7056
7057 2003-05-22  André Pönitz  <poenitz@gmx.net>
7058
7059         * BufferView.C:
7060         * BufferView_pimpl.C:
7061         * buffer.[Ch]:
7062         * lyxfunc.C:
7063         * undo_funcs.C: return a ParIterator from getParFromID.
7064
7065         * iterators.[Ch]: add two const's
7066
7067 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7068
7069         * toc.C (getTocList): adjust
7070
7071         * iterators.[Ch]: rework for parlist
7072
7073         * buffer.C (par_iterator_begin): adjust
7074         (par_iterator_end): adjust
7075
7076         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7077
7078         * BufferView.C (removeAutoInsets): adjust
7079         (ChangeInsets): adjust
7080
7081 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7082
7083         * text.C (top_y): fix bug 1110
7084
7085 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7086
7087         * errorlist.[Ch]: added
7088         * buffer.C:
7089         * BufferView.[Ch]:
7090         * BufferView_pimpl.C:
7091         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7092         instead
7093
7094 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7095
7096         * Makefile.am: ensure that lyx is relinked upon changes to the
7097         various "convenience" libs.
7098
7099 2003-05-20  Angus Leeming  <leeming@lyx.org>
7100
7101         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7102         files are compiled in alphabetical order again.
7103
7104         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7105
7106 2003-05-19  Angus Leeming  <leeming@lyx.org>
7107
7108         * gettext.[Ch]: remove "char const * _(char const *)".
7109
7110 2003-05-19  André Pönitz  <poenitz@gmx.net>
7111
7112         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7113
7114         * Makefile.am:
7115         * BufferView.C:
7116         * DepTable.h:
7117         * LaTeXFeatures.C:
7118         * buffer.C:
7119         * lyxfont.C:
7120         * lyxlex.h:
7121         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7122
7123 2003-05-19  André Pönitz  <poenitz@gmx.net>
7124
7125         * buffer.C:
7126         * lyxlayout.[Ch]:
7127         * lyxtextclass.[Ch]:
7128         * paragraph.C:
7129         * paragraph_funcs.[Ch]:
7130         * text2.C:
7131         * text3.C: more insetenv work
7132
7133 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7134
7135         * ParagraphParameters.C (params2string): small bug fixed
7136
7137 2003-05-16  André Pönitz  <poenitz@gmx.net>
7138
7139         * debug.C:
7140         * bufferview_funcs.C: patch from Kornel Benko to prevent
7141           crash when _(...) is called twice in a statement
7142
7143 2003-05-16  André Pönitz  <poenitz@gmx.net>
7144
7145         * BufferView.C:
7146         * lyxfunc.C:
7147         * text.C:
7148         * text2.C:
7149         * text3.C:
7150         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7151
7152 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7153
7154         * lyx_main.C (init): remove spurious static_cast
7155
7156 2003-05-14  André Pönitz  <poenitz@gmx.net>
7157
7158         * BufferView.C: fix format string
7159
7160 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7161
7162         * BufferView.[Ch] (insertErrors): removed
7163         * BufferView.[Ch] (showErrorList): added
7164         * buffer.C (runChkTeX):
7165         * converter.C (scanLog): call showErrorList instead of inserterrors
7166
7167 2003-05-13  André Pönitz  <poenitz@gmx.net>
7168
7169         * BufferView_pimpl.C:
7170         * buffer.C:
7171         * bufferview_func.C:
7172         * MenuBackend.C:
7173         * lyxfunc.C:
7174         * lyxrc.C:
7175         * tex-accent.C:
7176         * text3.C:
7177         * toc.C:
7178         * tabular_funcs.h: tostr() from its own header
7179
7180         * ParagraphParameters.C:
7181         * ToolbarBackend.C:
7182         * bufferparams.C:
7183         * format.C:
7184         * lyxlex_pimpl.C:
7185         * text3.C: STRCONV()
7186
7187 2003-05-12  André Pönitz  <poenitz@gmx.net>
7188
7189         * BufferView.C:
7190         * BufferView_pimpl.C:
7191         * CutAndPaste.C:
7192         * LaTeX.C:
7193         * LaTeXFeatures.C:
7194         * ParagraphParameters.C:
7195         * buffer.C:
7196         * bufferlist.C:
7197         * bufferparams.C:
7198         * bufferview_funcs.C:
7199         * converter.C:
7200         * counters.C:
7201         * debug.C:
7202         * exporter.C:
7203         * format.C:
7204         * importer.C:
7205         * lyx_cb.C:
7206         * lyx_main.C:
7207         * lyxfont.C:
7208         * lyxfunc.C:
7209         * lyxvc.C:
7210         * paragraph.C:
7211         * paragraph_funcs.C:
7212         * tabular.C:
7213         * tabular_funcs.C:
7214         * text2.C:
7215         * text3.C:  boost::format -> bformat  all over the place
7216
7217
7218 2003-05-09  André Pönitz  <poenitz@gmx.net>
7219
7220         * LColor.[Ch]: Pimpl the #include <map> away
7221
7222 2003-05-09  John Levon  <levon@movementarian.org>
7223
7224         * bufferlist.C: never remove emergency saves
7225
7226 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7227
7228         * Makefile.am: better lib building
7229
7230 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7231
7232         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7233         instead.
7234         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7235         (simpleTeXSpecialChars): adjust
7236         (simpleTeXSpecialChars): adjust
7237         * paragraph.C (simpleTeXOnePar): adjust
7238         * buffer.C (makeLaTeXFile): adjust
7239
7240         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7241
7242         * text2.C (changeDepth): parlist cleanup
7243         (getColumnNearX): ditto
7244
7245         * rowpainter.C (getLabelFont): parlist cleanup
7246
7247         * bufferlist.C (newFile): parlist cleanup
7248
7249         * CutAndPaste.C (eraseSelection): parlist cleanup
7250
7251         * BufferView_pimpl.C (trackChanges): parlist cleanup
7252         (dispatch): ditto
7253
7254         * BufferView.C (lockInset): parlist cleanup.
7255         (ChangeInsets): ditto
7256
7257 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7258
7259         * CutAndPaste.h: Update file header.
7260
7261         * CutAndPaste.C: Update file header.
7262         Store the parts cut out of the Document in a limited_stack.
7263         (copySelection): adjust
7264         (pasteSelection): new function, takes the index in the limited stack.
7265         (nrOfParagraphs): adjust
7266         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7267         simplify error inset insertion.
7268         (checkPastePossible): adjust
7269
7270 2003-05-06  John Levon  <levon@movementarian.org>
7271
7272         * text2.C: don't cast wrap inset to float
7273
7274 2003-05-05  André Pönitz  <poenitz@gmx.net>
7275
7276         * iterator.C:
7277         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7278
7279         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7280           few naked Paragraph *.
7281
7282 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7283
7284         * bufferparams.C: Output warning if a document with missing
7285         TeX document class is loaded
7286         * exporter.C: Disable TeX exports if the document class is missing
7287         * lyxtextclass.C:
7288         * lyxtextclass.h:
7289         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7290         isTeXClassAvailable()
7291
7292 2003-05-03  John Levon  <levon@movementarian.org>
7293
7294         * BufferView.h:
7295         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7296         explicit cursor show/hide
7297
7298         * BufferView_pimpl.h:
7299         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7300         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7301
7302         * lyxfunc.C: hide cursor before dispatching.
7303
7304         * lyx_cb.C:
7305         * lyxfind.C:
7306         * text.C:
7307         * text3.C: remove explicit cursor hides
7308
7309 2003-05-02  André Pönitz  <poenitz@gmx.net>
7310
7311         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7312
7313         * undo_funcs.C:
7314         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7315           linked lists
7316
7317         * text2.C: tiny whitespace
7318
7319 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7320
7321         * undo_funcs.C: almost only ws changes.
7322
7323         * ParagraphList.C (splice): just return if pl is empty.
7324
7325 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7326
7327         * ParagraphList.C (splice): new function.
7328
7329         * CutAndPaste.C (pasteSelection): use it
7330
7331 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7332
7333         * CutAndPaste.C (pasteSelection): remove the last next and
7334         previous from this file.
7335
7336 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7337
7338         * CutAndPaste.C (pasteSelection): more clean up, user proper
7339         ParagraphList functions for pasteing.
7340
7341         * ParagraphList.C (insert): new function, three arg insert
7342
7343 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7344
7345         * ParagraphList.C (insert): new function, three arg insert
7346
7347         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7348         not on paragraphs.
7349
7350 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7351
7352         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7353
7354 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7355
7356         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7357
7358 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7359
7360         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7361         (copySelection): clean up a bit.
7362         (pasteSelection): use make_pair
7363
7364         * ParagraphList.C (ParagraphList): implement copy constructor
7365         (operator=): implement, base on copy constructor.
7366         (assign): new func
7367
7368         * paragraph.C (erase): return a bool
7369
7370         * paragraph_pimpl.C (erasePos): remove function, move contents...
7371         (erase): ... here. Return a bool.
7372         (erase): call erase instead of erasePos.
7373
7374 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7375
7376         * ParagraphList.h: define PitPosPair
7377         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7378         ParagraphList, fix a bug on pasting multiple pars
7379         * text2.C: change interface to C&P
7380
7381 2003-04-30  André Pönitz  <poenitz@gmx.net>
7382
7383         * undo_func.C: revert part of yesterday's patch 2
7384
7385 2003-04-30  John Levon  <levon@movementarian.org>
7386
7387         * LColor.C: s/tabular/table/
7388
7389 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7390
7391         * text3.C (dispatch): do not convert iterator -> pointer
7392         * undo_funcs.C (setCursorParUndo): ditto
7393         * text_funcs.C (transposeChars): ditto
7394
7395         * text2.C (setLayout): ws changes only
7396
7397         * text.C (breakParagraph): do not convert iterator -> pointer
7398         (insertChar): ditto
7399         (acceptChange): ditto
7400         (rejectChange): ditto
7401         (changeCase): ditto
7402         (Delete): ditto
7403         (backspace): ditto
7404
7405         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7406         pointer
7407
7408 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7409
7410         * text3.C (gotoInset): YABG (yet another bad getChar)
7411
7412 2003-04-29  André Pönitz  <poenitz@gmx.net>
7413
7414         * paragraph.h: make operator= private unimplemented as long as
7415           it is unusable
7416
7417         * ParagraphList.C: whitespace
7418
7419         * paragraph.[Ch]:
7420         * paragraph_pimpl.[Ch]:
7421         * paragraph_funcs.C:
7422         * CutAndPaste.C:
7423         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7424
7425         * text2.C:
7426           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7427
7428 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7429
7430         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7431         * paragraph.[Ch] (erase):
7432         * paragraph_pimpl.[Ch] (erase): change return type and value
7433         * text2.C (cutSelection): some rework
7434
7435 2003-04-28  John Levon  <levon@movementarian.org>
7436
7437         * bufferlist.C: changes for unsaved changes dialog
7438
7439 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7440
7441         * bufferlist.C (newFile): set language (messages_) for new
7442         documents also.
7443
7444         * buffer.C (readFile): ws changes only.
7445
7446 2003-04-28  André Pönitz  <poenitz@gmx.net>
7447
7448         * undo_funcs.C:
7449         * lyxfunc.C:
7450         * buffer.[Ch]:
7451         * BufferView_pimpl.C:
7452         * BufferView.C: getParFromID related ParagraphList::iterator changes
7453
7454 2003-04-28  André Pönitz  <poenitz@gmx.net>
7455
7456         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7457           Changes
7458
7459 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7460
7461         * messages.C: remove one more localedir class variable.
7462
7463 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7464
7465         * messages.C (getLocaleDir): singleton generation function
7466         (Pimpl): use it.
7467         (Messages): add a default constructor.
7468
7469         * main.C (main): do not setup localedir here, do not call
7470         gettext_init.
7471
7472         * gettext.C (_): use it.
7473         (gettext_init): delete funciton
7474
7475 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7476
7477         * gettext.C (getLyXMessages): new singleton generating function.
7478
7479         * buffer.C (updateDocLang): adjust
7480
7481         * Makefile.am (messages.o): add target
7482         (main.o): remove target
7483
7484 2003-04-27  John Levon  <levon@movementarian.org>
7485
7486         * bufferlist.C:
7487         * lyx_cb.C:
7488         * lyxfunc.C:
7489         * lyxvc.C: specify cancel button in Alert::prompt
7490
7491 2003-04-26  John Levon  <levon@movementarian.org>
7492
7493         * text3.C:
7494         * lyxfunc.C:
7495         * lfuns.h:
7496         * LyXAction.C: add LFUN_INSET_SETTINGS
7497
7498         * lyxfunc.C: don't enable tabular-feature when there's
7499         just any locking inset
7500
7501 2003-04-26  John Levon  <levon@movementarian.org>
7502
7503         * bufferlist.C: re-add Cancel to buffer close question
7504
7505         * lyxfunc.C: fix import UI a bit
7506
7507 2003-04-25  John Levon  <levon@movementarian.org>
7508
7509         * gettext.C: remove the broken asserts for now
7510
7511 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7512
7513         * messages.C: make case where setlocale cannot comply work better.
7514
7515         * buffer.C (updateDocLang): new function
7516         (changeLanguage): use it
7517         (readFile): use it
7518
7519         * text2.C (setCounter): use B_ a bit.
7520
7521         * lyxlayout.C (Read): be sure to trim the label strings.
7522
7523         * messages.C (Messages): fix typo in comment
7524
7525         * buffer.C (readFile): set message_ after file is loaded.
7526         (makeDocBookFile): remove double return
7527         (changeLanguage): reset message_ upon language change.
7528         (B_): new func, use this to get translated buffer strings.
7529
7530         * main.C: add myself and Jean Marc as authors.
7531
7532 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7533
7534         * messages.[hC]: pimplify Messages, and three different pimpls to be
7535         used in different circumstances.
7536
7537         * gettext.[Ch]: change for use with new message code.
7538
7539 2003-04-24 André Pönitz <poenitz@gmx.net>
7540
7541         * factory.C: support for eqref
7542
7543 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7544
7545         * messages.[Ch]: add missing char
7546
7547         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7548
7549         * messages.[Ch]: New files
7550
7551 2003-04-18  John Levon  <levon@movementarian.org>
7552
7553         * BufferView.h:
7554         * BufferView.C:
7555         * BufferView_pimpl.C:
7556         * lfuns.h:
7557         * LyXAction.C:
7558         * lyxtext.h:
7559         * text2.C: remove layout-copy/paste (bug 778)
7560
7561 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7562
7563         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7564
7565 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7566
7567         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7568         if they succeed. Act accordingly.
7569
7570 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7571
7572         * text2.C (setCharFont): adjust
7573         (setCounter): adjust
7574         (insertStringAsLines): adjust
7575
7576         * text.C (leftMargin): adjust
7577         (setHeightOfRow): adjust
7578
7579         * rowpainter.C (paintFirst): adjust
7580         (paintLast): adjust
7581
7582         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7583         (outerHook): ditto
7584         (isFirstInSequence): ditto
7585         (getEndLabel): ditto
7586         (outerFont): adjust
7587
7588         * paragraph.C (getParLanguage): comment out some hard stuff.
7589
7590         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7591         (sgmlError): ditto
7592         (simpleDocBookOnePar): ditto
7593         (makeDocBookFile): use ParagraphList::iterator
7594
7595         * CutAndPaste.C (pasteSelection): adjust
7596
7597 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7598
7599         * text2.C (getFont): adjust
7600         (getLayoutFont): adjust
7601         (getLabelFont): adjust
7602
7603         * paragraph_funcs.C (TeXOnePar): adjust
7604
7605         * buffer.C (simpleLinuxDocOnePar): adjust
7606         (simpleDocBookOnePar): adjust
7607
7608         * CutAndPaste.C (pasteSelection): adjust
7609
7610         * BufferView.C (getEncoding): adjust
7611
7612         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7613
7614 2003-04-16  John Levon  <levon@movementarian.org>
7615
7616         * lyxfind.C: use parlist stuff for search/changes
7617
7618 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7619
7620         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7621
7622         * text2.C (deleteEmptyParagraphMechanism): adjust
7623
7624         * text2.[Ch] (ownerParagraph): delete func (both of them
7625
7626 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7627
7628         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7629
7630 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7631
7632         * ParagraphList.C: prepare for NO_NEXT
7633
7634 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7635
7636         * text2.C (getFont): adjust
7637         (getLayoutFont): adjust
7638         (getLabelFont): adjust
7639
7640         * paragraph.C (getFont): adjust
7641         (getLabelFont): adjust
7642         (getLayoutFont): adjust
7643
7644         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7645
7646 2003-04-15  John Levon  <levon@movementarian.org>
7647
7648         From Angus Leeming
7649
7650         * lyx_main.C: handle Include in .ui files
7651
7652 2003-04-15  John Levon  <levon@movementarian.org>
7653
7654         * MenuBackend.C: make the doc files length shorter
7655
7656         * ToolbarBackend.h:
7657         * ToolbarBackend.C: handle toolbar placement flags,
7658         Minibuffer
7659
7660 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7661
7662         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7663         adjust
7664
7665         * paragraph_funcs.C (TeXOnePar): adjust
7666
7667         * paragraph.C (getLabelFont): add outerfont arg, adjust
7668         (getLayoutFont): ditto
7669         (simpleTeXOnePar): adjust
7670
7671         * paragraph_pimpl.C (realizeFont): delete func
7672
7673 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7674
7675         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7676         row argument, constify cur argument.
7677
7678 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7679
7680         * text2.C (getFont): adjust
7681         (getLayoutFont): adjust
7682         (getLabelFont): adjust
7683
7684         * paragraph_funcs.C (TeXOnePar): adjust
7685         (outerFont): new func...
7686         (realizeFont): ...moved out from here, changed this to facilitate
7687         transition
7688
7689         * paragraph.C (getFont): take outerfont as arg, adjust
7690         (simpleTeXOnePar): add outerfont arg, adjust
7691
7692         * buffer.C (simpleLinuxDocOnePar): adjust
7693         (simpleDocBookOnePar): adjust
7694
7695         * CutAndPaste.C (pasteSelection): adjust
7696
7697         * BufferView.C (getEncoding): adjust
7698
7699 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7700
7701         * text2.C (setCharFont): adjust
7702         (setCounter): adjust
7703
7704         * text.C (leftMargin): adjust
7705         (setHeightOfRow): adjust
7706
7707         * rowpainter.C (paintFirst): adjust
7708         (paintLast): adjust
7709
7710         * paragraph_pimpl.C (realizeFont): adjust
7711
7712         * paragraph.C (isFirstInSequence): move from here...
7713         * paragraph_funcs.C (isFirstInSequence): ...to here
7714
7715         * paragraph.C (outerHook): move from here...
7716         * paragraph_funcs.C (outerHook): ...to here
7717
7718         * paragraph.C (depthHook): move from here...
7719         * paragraph_funcs.C (depthHook): ...to here
7720
7721         * paragraph.C (getEndLabel): move from here...
7722         * paragraph_funcs.C (getEndLabel): ...to here
7723
7724         * text2.C (realizeFont): move from here...
7725         * paragraph_funcs.C (realizeFont): ...to here
7726
7727 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7728
7729         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7730
7731 2003-04-14  Angus Leeming  <leeming@lyx.org>
7732
7733         * LColor.[Ch]: scrap LColor mathcursor.
7734
7735 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7736
7737         * lyxlex.[Ch] (text): delete function
7738         * trans.C (Load): adjust
7739         * paragraph_funcs.C (readParToken): adjust
7740
7741 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7742
7743         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7744         vector<char> instead of a char[].
7745
7746         * lyxlex_pimpl.C (getString): adjust
7747         (next): adjust
7748         (lex): use getString
7749         (eatLine): adjust
7750         (nextToken): adjust
7751
7752         * lyxlex.C (text): use pimpl_->getString()
7753         (getBool): ditto
7754         (findToken): ditto
7755
7756 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7757
7758         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7759         (makeFontEntriesLayoutSpecific): temp var for par.size()
7760         (setLayout): temp var for ownerParagraphs().end()
7761         (fullRebreak): temp var for rows().end()
7762         (selectionAsString): temp var for boost::next(startpit), realize
7763         that the while really is a regular for loop.
7764         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7765         setCursor in one place.
7766         (setParagraph): temp vr for ownerParagraphs().end()
7767         (updateCounters): make the while loop a for loop
7768         (cutSelection): temp var for ownerParagraphs().end()
7769         (updateInset): make the do {} while() a regular for loop
7770         (getCursorX): use temp vars
7771         (setCurrentFont): use temp vars
7772         (getColumnNearX): use temp vars
7773
7774 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7775
7776         * text.C (transformChar): use temp var for getChar
7777         (computeBidiTables): use temp var for row->par()
7778         (fill): move temp vars for row->par() and pit->layout() earlier in
7779         the function.
7780         (labelFill): use temp var for row->par()
7781         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7782         asc and desc, realize that pit never changes and that firstpit is
7783         just a duplicate and not needed. Exchange rit->par() with pit in a
7784         lot of places.
7785         (breakAgain): use a temp var for boost::next(rit)
7786         (breakAgainOneRow): ditto
7787         (breakParagraph): use a temp var for rows().begin()
7788         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7789         (cursorRightOneWord): use temp var for cursor.par() and
7790         cursor.pos(), remove usage of tmpcursor.
7791         (cursorLeftOneWord): use temp var for cursor.par() and
7792         cursor.pos() only set cur at end of function.
7793
7794 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7795
7796         * text.C, text2.C: exchange all usage of Paragraph::next with
7797         boost::next(ParagraphList::iterator)
7798
7799         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7800
7801         * text2.C (cursorTop): simplify implementation
7802         (cursorBottom): ditto
7803         (setParagraph): use ParagraphList::iterator
7804         (setCurrentFont): adjust
7805         (getColumnNearX): adjust
7806         (cursorRight): adjust
7807         (cursorLeft): remove usage of Paragraph::previous
7808         (cursorUpParagraph): ditto
7809         (deleteEmptyParagraphMechanism): slight cleanup
7810
7811         * text.C (isBoundary): take a Paragraph const & instead of a
7812         pointer as arg.
7813         (addressBreakPoint): ditto
7814         (leftMargin): remove usage of Paragraph::previous.
7815         (setHeightOfRow): ditto
7816         (cursorLeftOneWord): ditto
7817         (selectNextWordToSpellcheck): ditto
7818         (Delete): ditto
7819         (backspace): ditto
7820         (breakParagraph): remove one usage of Paragraph::next
7821         (redoParagraph): ditto
7822         (acceptChange): ditto
7823         (insertChar): adjust
7824         (rowBreakPoint): adjust
7825
7826         * bufferview_funcs.C (toggleAndShow): adjust
7827
7828 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7829
7830         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7831         methods to access it.
7832         * lyxtext.h:
7833         * text.C: Added updateRowPositions to compute all row positions.
7834         Make top_y and getRowNearY() to use the cached y position
7835
7836 2003-04-11  John Levon  <levon@movementarian.org>
7837
7838         * text.C (rowBreakPoint): reintroduce the labelEnd
7839         checks, code copied from the row fill stuff. Deep voodoo.
7840
7841         * text.C (fill): add a comment and debugging for the
7842         next poor soul.
7843
7844 2003-04-11  John Levon  <levon@movementarian.org>
7845
7846         * text.C: make sure fullrow insets get wrapped to the next line,
7847         even when they're in a manual label
7848
7849 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7850
7851         * text2.C (insertParagraph): make it take ParagraphList::iterator
7852         as arg.
7853         (setLayout): make it return ParagraphList::iterator
7854         (redoParagraphs): ditto
7855         (setCounter): ditto
7856         (checkParagraph): ditto
7857
7858         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7859
7860         * text2.C: adjust several funcs.
7861         (realizeFont): take a ParagraphList::iterator as arg.
7862         (getLayoutFont): ditto
7863         (getLabelFont): ditto
7864         (setCharFont): ditto
7865
7866         * text.C: adjust several funcs.
7867
7868 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7869
7870         * text.C (selectNextWordToSpellcheck): don't accidentally
7871         skip insets
7872
7873 2003-04-10  John Levon  <levon@movementarian.org>
7874
7875         * ToolbarBackend.C (getIcon): special handling for
7876         LFUN_MATH_DELIM
7877
7878 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7879
7880         * text2.C (cursorRight): a getChar assert fixed
7881
7882 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7883
7884         * text2.C (getFont): change to take a ParagraphList::iterator
7885         instead of Paragraph*
7886         Adjust several functions.
7887
7888         * text.C (transformChar): change to take a ParagraphList::iterator
7889         instead of Paragraph*
7890         (singleWidth): ditto
7891         Adjust several functions.
7892
7893         * rowpainter.C: adjust several functions
7894         * rowpainter.h:store a ParagraphList::iterator and not a
7895         Paragraph&.
7896
7897
7898 2003-04-09  John Levon  <levon@movementarian.org>
7899
7900         * lyxfunc.C:
7901         * lfuns.h:
7902         * LyXAction.h:
7903         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7904         and the "help" bits as well
7905
7906 2003-04-09  John Levon  <levon@movementarian.org>
7907
7908         * ToolbarBackend.h:
7909         * ToolbarBackend.C: allow multiple toolbars
7910
7911 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7912
7913         * undo_funcs.C (setCursorParUndo): adjust
7914
7915         * text_funcs.C (transposeChars): adjust
7916
7917         * text3.C (gotoNextInset): adjust
7918         (dispatch): adjust
7919
7920         * text2.C (setLayout): adjust
7921         (changeDepth): adjust
7922         (setFont): adjust
7923         (redoParagraphs): adjust
7924         (selectionAsString): adjust
7925         (setParagraph): adjust
7926         (insertInset): adjust
7927         (cutSelection): adjust
7928         (copySelection): adjust
7929         (pasteSelection): adjust
7930         (insertStringAsLines): adjust
7931         (updateInset): adjust
7932         (setCursor): change to take a ParagraphList::iterator parameter
7933         (setCursorIntern): change to take a ParagraphList::iterator parameter
7934         (setCurrentFont): adjust
7935         (cursorLeft): adjust
7936         (cursorRight): adjust
7937         (deleteEmptyParagraphMechanism): adjust
7938
7939         * text.C (breakParagraph): adjust
7940         (insertChar): adjust
7941         (acceptChange): adjust
7942         (rejectChange): adjust
7943         (selectNextWordToSpellcheck): adjust
7944         (changeCase): adjust
7945         (Delete): adjust
7946         (backspace): adjust
7947
7948         * lyxfind.C (SearchForward): adjust
7949         (SearchBackward): adjust
7950         (nextChange): adjust
7951
7952         * lyxcursor.C (par): adjust
7953
7954         * lyxcursor.h: store a ParagraphList::iterator instead of a
7955         Paragraph*
7956
7957         * lyx_cb.C (getPossibleLabel): adjust
7958
7959         * bufferview_funcs.C (toggleAndShow): adjust
7960
7961         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7962         (dispatch): adjust
7963
7964         * BufferView.C (removeAutoInsets): adjust
7965         (lockedInsetStoreUndo): adjust
7966
7967 2003-04-09  John Levon  <levon@movementarian.org>
7968
7969         * ToolbarBackend.C: try icon without argument
7970         if with argument fails
7971
7972 2003-04-08  John Levon  <levon@movementarian.org>
7973
7974         * ToolbarBackend.h:
7975         * ToolbarBackend.C: add getIcon(), handle tooltip,
7976         and change from "Icon" to "Item".
7977
7978 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7979
7980         * BufferView.C (lockInset): another bad getchar crunched
7981
7982 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7983
7984         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7985         again)
7986
7987 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7988
7989         * lyxfind.C (searchForward, searchBackwards): bug 782
7990
7991 2003-04-07  John Levon  <levon@movementarian.org>
7992
7993         * paragraph.C: remove dead comment
7994
7995         * text.C: remove troublesome depth-fiddling code
7996         in leftMargin() and rightMargin() (bug 1017)
7997
7998         * text.C: fix breaking of rows in nested lists
7999         (bug 1004)
8000
8001         * text2.C (updateCounters): fix up depth values
8002         (bug 1013)
8003
8004 2003-04-07  John Levon  <levon@movementarian.org>
8005
8006         * BufferView_pimpl.C: clear message when doc finishes resizing,
8007         and after a mouse event
8008
8009         * lyxfunc.C: clear message after exiting inset
8010
8011 2003-04-07  John Levon  <levon@movementarian.org>
8012
8013         * bufferview_funcs.C: show math status not outside
8014         status in the statusbar
8015
8016 2003-04-07  John Levon  <levon@movementarian.org>
8017
8018         * lyxfunc.C: note status changed after a depth change
8019
8020 2003-04-04  Angus Leeming  <leeming@lyx.org>
8021
8022         * LaTeX.h: move AuxInfo operator==, != out of line.
8023         Remove LaTeX virtual destructor; nothing derives from it.
8024         Move operator()() out of public area and rename it startscript().
8025         Change protected for private.
8026
8027 2003-04-04  Angus Leeming  <leeming@lyx.org>
8028
8029         * lyxfunc.C:
8030         * text2.C: remove unneeded #includes.
8031
8032 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8033
8034         * text2.C (dEPM): fix the heigth of the next row
8035
8036 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8037
8038         * text.C: squashed an invalid getChar requester + some ws changes
8039
8040 2003-04-03  John Levon  <levon@movementarian.org>
8041
8042         * bufferview_funcs.h:
8043         * bufferview_funcs.C:
8044         * lyxfunc.C:
8045         * lyxtext.h:
8046         * text2.C: make getStatus work for the env depth lfuns
8047
8048 2003-04-03  John Levon  <levon@movementarian.org>
8049
8050         * bufferview_funcs.h:
8051         * bufferview_funcs.C:
8052         * lyxfunc.C:
8053         * lyxtext.h:
8054         * text2.C: parlistize decDepth(), by merging it with incDepth()
8055
8056 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8057
8058         * lyxrow.h: store a ParagraphList::iterator instead of a
8059         Paragraph* and adjust other class functions to suit.
8060
8061         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8062         above.
8063
8064 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8065
8066         * text2.C (setCursor): do not anchor to cursor row for the time being
8067
8068 2003-04-02  John Levon  <levon@movementarian.org>
8069
8070         * LyXAction.C:
8071         * lfuns.h:
8072         * lyx_main.C:
8073         * lyxtext.h:
8074         * text.C:
8075         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8076
8077 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8078
8079         * paragraph.h: make ParagraphList and ParagraphList::iterator
8080         friends of Paragraph.
8081
8082         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8083
8084         * ParagraphList.C: Use the private next_ and previous_ from
8085         Paragraph.
8086
8087 2003-04-01  John Levon  <levon@movementarian.org>
8088
8089         * ToolbarBackend.h:
8090         * ToolbarBackend.C:
8091         * Makefile.am: rename, remove defaults gunk
8092
8093         * MenuBackend.h:
8094         * MenuBackend.C: remove defaults gunk
8095
8096         * Languages.h:
8097         * Languages.C: remove defaults gunk
8098
8099         * lyx_main.h:
8100         * lyx_main.C: error out if files couldn't be found.
8101
8102 2003-04-02  John Levon  <levon@movementarian.org>
8103
8104         * text2.C: make incDepth() use parlist
8105
8106 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8107
8108         * undo_funcs.C (firstUndoParagraph): adjust
8109
8110         * text3.C (gotoInset): adjust
8111         (dispatch): adjust, and rewrite loop.
8112
8113         * text2.C (init): adjust, and rewrite loop.
8114         (redoParagraphs): adjust
8115         (updateInset): adjust, and rewrite loop.
8116         (deleteEmptyParagraphMechanism): adjust
8117
8118         * tabular.C (LyXTabular): adjust
8119         (SetMultiColumn): adjust
8120         (TeXRow): adjust
8121
8122         * lyxtext.[Ch] (ownerParagraph): delete function
8123         (ownerParagraphs): new function returns a ParagraphList.
8124
8125         * BufferView.C (removeAutoInsets): adjust
8126         (insertErrors): adjust
8127         (setCursorFromRow): adjust
8128
8129 2003-04-01  Angus Leeming  <leeming@lyx.org>
8130
8131         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8132         in the frontends.
8133
8134 2003-04-02  John Levon  <levon@movementarian.org>
8135
8136         * lyxtext.h:
8137         * text.C:
8138         * Makefile.am:
8139         * text_funcs.h:
8140         * text_funcs.C: make transposeChars a free function
8141
8142         * lyxrow_funcs.C: remove wrong comment
8143
8144 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8145
8146         * lyxtext.h: adjust
8147         * rowpainter.C: adjust
8148         * text.C: adjust
8149         * text2.C: adjust
8150         * text3.C: adjust
8151
8152         * lyxrow_funcs. [Ch]: new files
8153
8154         * lyxrow.[Ch]: remove next and previous pointers
8155         (next,previous): remove accessor functions
8156         (isParEnd): move to lyxrow_funcs
8157         (lastPos): move to lyxrow_funcs
8158         (nextRowIsAllInset): move to lyxrow_funcs
8159         (lastPrintablePos): move to lyxrow_funcs
8160         (numberOfSeparators): move to lyxrow_funcs
8161         (numberOfHfills): move to lyxrow_funcs
8162         (numberOfLabelHfills): move to lyxrow_funcs
8163         (hfillExpansion): move to lyxrow_funcs
8164
8165         * lyxfunc.C: adjust
8166
8167         * bufferview_funcs.C (toggleAndShow): adjust
8168
8169         * RowList.h: Remove class RowList from file leave just a
8170         std::list<Row>.
8171
8172         * RowList.C: delete file
8173
8174         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8175         and lyxrow_funcs.h
8176
8177 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8178
8179         * text3.C (cursorPrevious): adjust
8180         (cursorNext): adjust
8181         (dispatch): adjust
8182
8183         * text2.C (redoHeightOfParagraph): adjust
8184         (redoDrawingOfParagraph): adjust
8185         (setCursor): adjust
8186
8187         * text.C (breakParagraph): adjust
8188         (insertChar): adjust
8189         (backspace): adjust
8190
8191         * rowpainter.C (RowPainter): adjust
8192         (leftMargin): simplify and adjust
8193         (most rowpainter functions): adjust.
8194
8195         * rowpainter.h: store the row as RowList::iterator not as Row*
8196
8197         * lyxcursor.C (row): taka RowList::iterator as arg
8198         (irow): ditto
8199
8200         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8201         of Row*.
8202
8203 2003-04-01  Angus Leeming  <leeming@lyx.org>
8204
8205         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8206         stuff like bool Bool.
8207
8208 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8209
8210         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8211         rewrite a loop
8212
8213 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8214
8215         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8216         RowList::iterator.
8217
8218         * lyxtext.h (rows): drop one version and leve a const variant that
8219         returns a RowList::iterator.
8220
8221 2003-03-31  Angus Leeming  <leeming@lyx.org>
8222
8223         * text.C (fill): ensure that the signature is the same as that in the
8224         header file.
8225
8226 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8227
8228         * text2.C (redoParagraphs): adjust
8229         (updateCounters): adjust
8230         (checkParagraph): adjust
8231         (getColumnNearX): adjust and reformat a bit.
8232
8233         * text.C (top_y): adjust
8234         (workWidth): adjust
8235         (leftMargin): adjust
8236         (prepareToPrint): adjust
8237         (getRow): adjust
8238         (getRowNearY): adjust
8239
8240         * lyxtext.h: make rowlist_ mutable.
8241
8242         * RowList.h: add const_iterator
8243         * RowList.C: adjust for RowList::const_iterator.
8244
8245         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8246         adjust.
8247
8248 2003-03-31  John Levon  <levon@movementarian.org>
8249
8250         * lyxrc.h:
8251         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8252
8253         * lyx_main.C: set default fonts from using lyx_gui funcs
8254
8255         * exporter.C: pdf_mode moved from lyxrc
8256
8257         * lyx_cb.C:
8258         * lyxfunc.C: changes from above
8259
8260 2003-03-31  John Levon  <levon@movementarian.org>
8261
8262         * lyx_main.C: fix to the last fix
8263
8264 2003-03-31  John Levon  <levon@movementarian.org>
8265
8266         * bufferlist.C: "Load original" -> "Load Original"
8267
8268         * converter.C:
8269         * exporter.C:
8270         * importer.C:
8271         * lyx_main.C:
8272         * format.C: more Alert cleanups
8273
8274 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8275
8276         * text2.C (removeParagraph): make it take a RowList::iterator as
8277         arg, adjust.
8278         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8279         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8280
8281         * text.C (anchor_row): make it take a RowList::iterator as arg,
8282         adjust.
8283         (computeBidiTables): make it take a const reference to Row instead
8284         of Row pointer, adjust.
8285         (leftMargin): make it take a RowList::iterator as arg, adjust.
8286         (rowBreakPoint): adjust
8287         (breakAgainOneRow): make it take a RowList::iterator as arg,
8288         adjust.
8289         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8290
8291         * bufferview_funcs.C (toggleAndShow): adjust
8292
8293 2003-03-30  John Levon  <levon@movementarian.org>
8294
8295         * Makefile.am:
8296         * BoostFormat.h:
8297         * boost-inst.C: moved to support
8298
8299         * several files: changes as a result
8300
8301 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8302
8303         * text2.C (LyXText): adjust.
8304         (init): adjust
8305         (removeRow): make it take a RowList::iterator as arg, adjust.
8306         (fullRebreak): adjust
8307         (deleteEmptyParagraphMechanism): adjust
8308         (clearPaint): adjust
8309         (postPaint): adjust
8310
8311         * text.C (top_y): adjust
8312         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8313         (breakAgain): make it take a RowList::iterator as arg, adjust.
8314         (breakParagraph): adjust
8315         (insertChar): adjust
8316         (backspace): adjust
8317
8318         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8319         need_break_row, and refresh_row.
8320
8321         * text3.C (dispatch): adjust
8322
8323         * text2.C (checkParagraph): adjust
8324         (setCursor): adjust
8325         (setCursorFromCoordinates): adjust
8326
8327         * text.C (top_y): adjust
8328         (workWidth): adjust
8329         (getRow): make it return a RowList::iterator, adjust
8330         (getRowNearY): make it return a RowList::iterator, adjust
8331
8332         * text2.C (init): adjust
8333         (insertRow): remove function
8334         (insertParagraph): adjust
8335         (redoParagraphs): adjust
8336         (fullRebreak): adjust
8337         (updateCounters): adjust
8338
8339         * text.C (top_y): rewrite to use RowList iterators.
8340         (top_y): adjust
8341         (setHeightOfRow): rewrite to sue RowList iterators.
8342         (appendParagraph): adjust
8343         (breakAgain): adjust
8344         (breakAgainOneRow): adjust
8345         (breakParagraph): adjust
8346         (getRow): adjust
8347         (getRowNearY): adjust, and remove commented code.
8348
8349         * lyxtext.h (firstRow): delete function
8350         (lastRow): delete function
8351         (rows): new function (const and non-const versions.)
8352         (insertRow): delete function
8353
8354         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8355
8356 2003-03-29  John Levon  <levon@movementarian.org>
8357
8358         * BufferView_pimpl.C: always update scrollbar top
8359         because pasting text when we're anchored could mean we
8360         miss an update altogether
8361
8362 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8363
8364         * text2.C (init): use rowlist_.end() and not 0.
8365         (insertRow): change to take a RowList::iterator as arg, adjust
8366         for this.
8367         (insertParagraph): change to take a RowList::iterator as arg,
8368         adjust for this.
8369         (redoParagraphs): remove some debug msgs.
8370
8371         * text.C (appendParagraph): change to take a RowList::iterator
8372         arg, adjust for this.
8373         (breakAgain): add an assert
8374         (breakAgainOneRow): ditto
8375
8376 2003-03-29  John Levon  <levon@movementarian.org>
8377
8378         * text2.C: do not clear selection after inc/decDepth
8379         (bug 550)
8380
8381 2003-03-29  John Levon  <levon@movementarian.org>
8382
8383         * BufferView.C:
8384         * buffer.C: fix broken strerrors according to Lars
8385
8386 2003-03-29  John Levon  <levon@movementarian.org>
8387
8388         * converters.C: more Alert cleanups
8389
8390 2003-03-29  John Levon  <levon@movementarian.org>
8391
8392         * bufferview_funcs.C: remove pointless Alert
8393
8394         * buffer.C: fix confusing error message when
8395         a template is chmoded 000
8396
8397 2003-03-29  John Levon  <levon@movementarian.org>
8398
8399         * BufferView.C:
8400         * BufferView.h:
8401         * BufferView_pimpl.C: Alert fixes
8402
8403         * Makefile.am:
8404         * tabular.C:
8405         * tabular-old.C: remove unused table compat reading
8406
8407 2003-03-29  John Levon  <levon@movementarian.org>
8408
8409         * BufferView.C:
8410         * buffer.C:
8411         * lyx_cb.h:
8412         * lyx_cb.C: more Alert cleanups
8413
8414         * lyxfunc.C: don't allow chktex if not latex document
8415
8416 2003-03-29  John Levon  <levon@movementarian.org>
8417
8418         * lyx_cb.C:
8419         * BufferView.C:
8420         * buffer.C: warnings pushed down from support/,
8421         kill err_alert
8422
8423 2003-03-29  John Levon  <levon@movementarian.org>
8424
8425         * lyxfunc.C: safety check for C-r (revert)
8426
8427 2003-03-29  John Levon  <levon@movementarian.org>
8428
8429         * bufferlist.h:
8430         * bufferlist.C: several UI fixes using Alert::prompt.
8431         Fix the pointless looping quit code. Fix stupid revert
8432         behaviour (bug 938)
8433
8434         * lyxvc.h:
8435         * lyxvc.C:
8436         * lyx_cb.C: use Alert::prompt
8437
8438         * lyx_main.C: remove a silly question
8439
8440         * lyxfunc.C: remove a couple of silly questions,
8441         use Alert::prompt
8442
8443 2003-03-28  John Levon  <levon@movementarian.org>
8444
8445         * text2.C: fix bug 974 (End on empty par)
8446
8447 2003-03-28  John Levon  <levon@movementarian.org>
8448
8449         * BufferView_pimpl.C:
8450         * LyXAction.C:
8451         * lfuns.h: remove do-nothing math greek lfuns
8452
8453 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8454
8455         * lyxgluelength.h (isValidGlueLength): add default arg on
8456         parameter 2. Remove default arg from friend in class.
8457
8458         * lyxlength.h (isValidLength): add default arg on parameter 2.
8459         Remove default arg from friend in class.
8460
8461         * text2.C (LyXText): adjust, initialize refresh_row.
8462         (init): adjust
8463         (removeRow): adjust
8464         (insertRow): adjust
8465         (insertParagraph): adjst
8466         (redoParagraphs): adjust
8467         (fullRebreak): adjust
8468         (updateCounters): adjust
8469         (deleteEmptyParagraphMechanism): first attempt at fixing a
8470         crashing bug.
8471
8472         * text.C (top_y): adjust
8473         (setHeightOfRow): adjust
8474         (getRow): adjust
8475         (getRowNearY): adjust
8476
8477         * lyxtext.h: include RowList.h
8478         (~LyXText): not needed anymore, deleted.
8479         (firstRow): modify for RowList
8480         (lastRow): new function
8481         Delete firstrow and lastrow class variables, add a Rowlist
8482         rowlist_ class variable.
8483
8484         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8485         paragraph is empty.
8486
8487         * RowList.C (insert): fix case where it == begin().
8488
8489 2003-03-26  Angus Leeming  <leeming@lyx.org>
8490
8491         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8492         the thesaurus dialog.
8493
8494 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8495
8496         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8497
8498         * RowList.[Ch]: new files
8499
8500         * ParagraphList.C (erase): handle the case where it == begin
8501         correctly.
8502
8503 2003-03-25  John Levon  <levon@movementarian.org>
8504
8505         * Makefile.am:
8506         * aspell_local.h:
8507         * aspell.C: add new aspell support
8508
8509         * lyxrc.h:
8510         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8511         have it accessible.
8512
8513 2003-03-25  Angus Leeming  <leeming@lyx.org>
8514
8515         * lfuns.h:
8516         * LyXAction.C (init): new LFUN_INSET_INSERT.
8517
8518         * BufferView_pimpl.C (dispatch): split out part of the
8519         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8520
8521         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8522         LFUN_INSET_APPLY.
8523
8524 2003-03-25  Angus Leeming  <leeming@lyx.org>
8525
8526         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8527
8528 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8529
8530         * text2.C:
8531         * text3.C: remove useless row->height(0)
8532
8533 2003-03-25  John Levon  <levon@movementarian.org>
8534
8535         * lyxtext.h:
8536         * text2.C:
8537         * text3.C: rename the refreshing stuff to better names
8538
8539 2003-03-24  John Levon  <levon@movementarian.org>
8540
8541         * BufferView_pimpl.h:
8542         * BufferView_pimpl.C: update layout choice on a mouse
8543         press/release
8544
8545 2003-03-23  John Levon  <levon@movementarian.org>
8546
8547         * Makefile.am: fix commandtags.h reference
8548
8549 2003-03-22  John Levon  <levon@movementarian.org>
8550
8551         * BufferView_pimpl.C:
8552         * lyxtext.h:
8553         * rowpainter.C:
8554         * rowpainter.h:
8555         * text.C:
8556         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8557
8558 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8559
8560         * lyxtext.h:
8561         * text.C: take the rtl methods out of line
8562
8563 2003-03-21 André Pönitz <poenitz@gmx.net>
8564
8565         * metricsinfo.[Ch]: new files containing structures to be passed around
8566         during the two-phase-drawing...
8567
8568 2003-03-21 André Pönitz <poenitz@gmx.net>
8569
8570         * lyxtextclass.C: read 'environment' tag.
8571
8572 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8573
8574         * text2.C (removeRow): fix bug 964
8575
8576 2003-03-20  John Levon  <levon@movementarian.org>
8577
8578         * rowpainter.C:
8579         * text.C:
8580         * text2.C: paint cleanups. Inset::update() dropped font
8581         parameter
8582
8583 2003-03-19  John Levon  <levon@movementarian.org>
8584
8585         * lyxfunc.C: only fitcursor/markDirty if available()
8586
8587 2003-03-19  John Levon  <levon@movementarian.org>
8588
8589         * commandtags.h: rename to ...
8590
8591         * lfuns.h: ... this, and renumber / cleanup
8592
8593 2003-03-19  John Levon  <levon@movementarian.org>
8594
8595         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8596         fit the cursor after an lfun
8597
8598         * BufferView.h:
8599         * BufferView.C:
8600         * BufferView_pimpl.h:
8601         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8602
8603         * LyXAction.C: layout-character should have ReadOnly
8604
8605         * ParagraphParameters.C:
8606         * buffer.C:
8607         * bufferview_funcs.C:
8608         * lyx_cb.C:
8609         * lyxfind.C:
8610         * lyxtext.h:
8611         * text.C:
8612         * text2.C:
8613         * text3.C:
8614         * undo_funcs.C: changes from above
8615
8616 2003-03-18  John Levon  <levon@movementarian.org>
8617
8618         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8619         remove it from update()
8620
8621         * lyxfunc.C: update layout choice after an lfun
8622
8623         * text3.C: remove extra updateLayoutChoice()s
8624
8625 2003-03-18  John Levon  <levon@movementarian.org>
8626
8627         * text.C: top_y change means full repaint, fix
8628         a drawing bug with cursor movement
8629
8630 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8631
8632         * lyxtext.h:
8633         * text.C:
8634         * text2.C: anchor row on setCursor
8635
8636 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8637
8638         * lyxtext.h: remove almost all mutable keywords
8639         * text.C:
8640         * text2.C:
8641         * text3.C: remove const keywords accordingly
8642
8643 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8644
8645         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8646         anon namespace
8647         (TeXEnvironment): ditto
8648         (TeXOnePar): ditto
8649
8650 2003-03-17  John Levon  <levon@movementarian.org>
8651
8652         * text.C (rowBreakPoint): remove attempt to fix displayed
8653         math insets inside a manual label
8654
8655 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8656
8657         * lyxtext.h: remove BufferView* as first arg from almost all class
8658         functions.
8659         * other files: adjust.
8660
8661 2003-03-17  John Levon  <levon@movementarian.org>
8662
8663         * lyxtext.h:
8664         * undo_funcs.C:
8665         * text2.C: more paint cleanups
8666
8667         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8668
8669         * rowpainter.h:
8670         * rowpainter.C: remove "smart" background painting code
8671
8672 2003-03-16  John Levon  <levon@movementarian.org>
8673
8674         * lyxtext.h:
8675         * text.C:
8676         * text2.C:
8677         * text3.C: add helper functions for setting refresh_row/y
8678
8679 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8680
8681         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8682         newline inset which *can* get inserted in the pass_thru layouts.
8683         This is primarily for literate documents.
8684
8685 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8686
8687         * buffer.C: increment LYX_FORMAT to 223
8688
8689 2003-03-14 André Pönitz <poenitz@gmx.net>
8690
8691         * textclass.h: prepare for environment handling, ws changes
8692         * lyxlayout.C: read latexheader and latexfooter tags
8693
8694 2003-03-14  John Levon  <levon@movementarian.org>
8695
8696         * text2.C: rewrite ::status() a bit
8697
8698 2003-03-13  John Levon  <levon@movementarian.org>
8699
8700         * lyxtext.h: add some docs
8701
8702 2003-03-13  John Levon  <levon@movementarian.org>
8703
8704         * lyxtext.h:
8705         * text.C:
8706         * text2.C:
8707         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8708
8709 2003-03-13  John Levon  <levon@movementarian.org>
8710
8711         * text3.C: fix appendix redrawing
8712
8713 2003-03-13  John Levon  <levon@movementarian.org>
8714
8715         * text.C (setHeightOfRow):
8716         * rowpainter.h:
8717         * rowpainter.C: make appendix mark have the text
8718           "Appendix" so the user knows what it is
8719
8720         * LColor.h:
8721         * LColor.C: s/appendixline/appendix/ from above
8722
8723 2003-03-13  John Levon  <levon@movementarian.org>
8724
8725         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8726
8727         * text.C: fix a getChar(pos) bug properly
8728
8729 2003-03-13  Angus Leeming  <leeming@lyx.org>
8730
8731         * commandtags.h:
8732         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8733         Probably only temporary. Let's see how things pan out.
8734
8735         * BufferView.C (unlockInset):
8736         * BufferView_pimpl.C (fitCursor):
8737         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8738
8739         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8740         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8741
8742         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8743         new functions that convert ParagraphParameters to and from a string.
8744
8745         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8746         BufferView::Pimpl's dispatch.
8747         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8748
8749 2003-03-13 André Pönitz <poenitz@gmx.net>
8750
8751         * lyxfunc.C:
8752         * text3.C:
8753         * factory.C: make it aware of InsetEnv
8754
8755 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8756
8757         * text2.C (setCursor): never ask for one past last
8758         (setCursor): add some debugging messages.
8759
8760         * text.C (singleWidth): never ask for one past last
8761         (singleWidth): ditto
8762         (leftMargin): ditto
8763         (rightMargin): ditto
8764         (rowBreakPoint): ditto
8765         (setHeightOfRow): ditto
8766         (prepareToPrint): ditto
8767
8768         * rowpainter.C (paintBackground): never ask for one past last
8769         (paintText): never ask for one past last
8770
8771         * paragraph_pimpl.C (getChar): make the assert stricter, never
8772         allow the one past last pos to be taken
8773
8774         * paragraph.C (getChar): ws changes only
8775
8776         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8777         (numberOfSeparators): ditto
8778         (numberOfHfills): ditto
8779
8780 2003-03-12  John Levon  <levon@movementarian.org>
8781
8782         * author.h:
8783         * author.C:
8784         * bufferparams.h:
8785         * bufferparams.C:
8786         * paragraph_funcs.C: fix per-buffer authorlists
8787
8788 2003-03-12  John Levon  <levon@movementarian.org>
8789
8790         * text.C: fix newline in right address
8791
8792 2003-03-12  Angus Leeming  <leeming@lyx.org>
8793
8794         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8795         duplicate those in LyXFunc::dispatch.
8796
8797         * commandtags.h:
8798         * LyXAction.C:
8799         * ToolbarDefaults.C:
8800         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8801         Add LFUN_FONTFREE_UPDATE.
8802
8803         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8804         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8805
8806         * bufferview_func.[Ch]: several new functions to facilliate
8807         transfer of data to and from the character dialog.
8808
8809 2003-03-12  John Levon  <levon@movementarian.org>
8810
8811         * buffer.C:
8812         * paragraph.h:
8813         * paragraph.C:
8814         * paragraph_funcs.C:
8815         * paragraph_pimpl.C:
8816         * sgml.C:
8817         * tabular.C:
8818         * text.C:
8819         * text3.C: remove META_NEWLINE in favour of an inset
8820
8821         * rowpainter.h:
8822         * rowpainter.C: remove paintNewline (done by inset)
8823
8824 2003-03-12  John Levon  <levon@movementarian.org>
8825
8826         * paragraph_pimpl.C: complain about bad getChar()s
8827         for a while at least
8828
8829 2003-03-12  John Levon  <levon@movementarian.org>
8830
8831         * buffer.h:
8832         * buffer.C: move paragraph read into a separate function,
8833         a little renaming to reflect that.
8834
8835         * bufferparams.h:
8836         * bufferparams.C: remove the author_ids map, not necessary now
8837
8838         * factory.h:
8839         * factory.C: moved Buffer::readInset to here
8840
8841         * paragraph_funcs.h:
8842         * paragraph_funcs.C: readParagraph free function moved from
8843         buffer.C
8844
8845         * tabular.C: name change
8846
8847 2003-03-12  John Levon  <levon@movementarian.org>
8848
8849         * buffer.C:
8850         * ParagraphParameters.C: move par params input to
8851         a read() method
8852
8853         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8854         behave like a normal read from the stream wrt reading
8855         a line vs. a \\token
8856
8857 2003-03-12  John Levon  <levon@movementarian.org>
8858
8859         * paragraph.C:
8860         * ParagraphParameters.h:
8861         * ParagraphParameters.C: move output code to a
8862         ::write() method
8863
8864 2003-03-12  John Levon  <levon@movementarian.org>
8865
8866         * BufferView.C (insertLyXFile):
8867         * buffer.h:
8868         * buffer.C:
8869         * tabular.C: use a parlist iterator for creating the
8870           document.
8871
8872 2003-03-12  John Levon  <levon@movementarian.org>
8873
8874         * buffer.C: make current_change static local not
8875           static file-scope
8876
8877 2003-03-12  John Levon  <levon@movementarian.org>
8878
8879         * buffer.C: fix insertStringAsLines for change tracking
8880
8881 2003-03-12  John Levon  <levon@movementarian.org>
8882
8883         * BufferView.C:
8884         * tabular.C:
8885         * buffer.h:
8886         * buffer.C:
8887         * bufferparams.h:
8888         * bufferparams.C: move author list into params. Rename some
8889           functions. Move the header reading into a separate token
8890           loop. Move the header token reading into BufferParams.
8891
8892 2003-03-12  John Levon  <levon@movementarian.org>
8893
8894         * changes.C: put debug inside lyxerr.debugging() checks
8895
8896 2003-03-11 André Pönitz <poenitz@gmx.net>
8897
8898         * factory.C: make it aware of InsetHFill
8899
8900 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8901
8902         * buffer.C (latexParagraphs): move function from here...
8903         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8904         args.
8905
8906 2003-03-10  Angus Leeming  <leeming@lyx.org>
8907
8908         * LyXAction.C (init): fix bug in poplating array with multiple entries
8909         with the same LFUN (spotted by JMarc).
8910
8911 2003-03-10  John Levon  <levon@movementarian.org>
8912
8913         * text.C:
8914         * text2.C: move getColumnNearX() near its
8915         only call site
8916
8917 2003-03-10  John Levon  <levon@movementarian.org>
8918
8919         * text.C: fix break before a minipage
8920
8921 2003-03-10  John Levon  <levon@movementarian.org>
8922
8923         * text.C: fix the last commit
8924
8925 2003-03-09  John Levon  <levon@movementarian.org>
8926
8927         * lyxtext.h:
8928         * text.C:
8929         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8930         bug 365 (don't break before insets unless needed). Don't
8931         return a value > last under any circumstances.
8932
8933 2003-03-09  Angus Leeming  <leeming@lyx.org>
8934
8935         * BufferView_pimpl.C (trackChanges, dispatch): call
8936         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8937
8938 2003-03-09  Angus Leeming  <leeming@lyx.org>
8939
8940         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8941         than Dialogs::showAboutlyx().
8942
8943 2003-03-09  Angus Leeming  <leeming@lyx.org>
8944
8945         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8946         than Dialogs::showTabularCreate().
8947
8948 2003-03-09  John Levon  <levon@movementarian.org>
8949
8950         * lyxtext.h:
8951         * text.C:
8952         * text2.C: 3rd arg to nextBreakPoint was always the same.
8953           Use references.
8954
8955 2003-03-08  John Levon  <levon@movementarian.org>
8956
8957         * lyxrow.C:
8958         * paragraph.C:
8959         * paragraph.h:
8960         * rowpainter.C:
8961         * text.C:
8962         * text2.C: Remove the "main" bit from the "main body"
8963           notion.
8964
8965 2003-03-08  John Levon  <levon@movementarian.org>
8966
8967         * text.C (leftMargin): The left margin of an empty
8968         manual label paragraph should not include the label width
8969         string length.
8970
8971         * text.C (prepareToPrint): don't attempt to measure hfills
8972         for empty manual label paragraphs - the answer should be 0
8973
8974 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8975
8976         * CutAndPaste.C: remove commented code and reindent.
8977
8978 2003-03-08  John Levon  <levon@movementarian.org>
8979
8980         * lyxfunc.h:
8981         * lyxfunc.C: move reloadBuffer()
8982
8983         * BufferView.h:
8984         * BufferView.C: to here
8985
8986         * lyxvc.C: add comment
8987
8988         * vc-backend.h:
8989         * vc-backend.C: call bv->reload() to avoid
8990           getStatus() check on MENURELOAD
8991
8992 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8993
8994         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8995         to an old format .dep file.
8996
8997 2003-03-07  Angus Leeming  <leeming@lyx.org>
8998
8999         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9000         when the LFUN_MOUSE_RELEASE should have been handled by
9001         inset->localDispatch.
9002
9003 2003-03-07  Angus Leeming  <leeming@lyx.org>
9004
9005         * BufferView_pimpl.C (dispatch):
9006         * LyXAction.C (init):
9007         * ToolbarDefaults.C (init):
9008         * commandtags.h:
9009         * lyxfunc.C (getStatus):
9010         remove LFUN_INSET_GRAPHICS.
9011
9012         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9013
9014 2003-03-07  Angus Leeming  <leeming@lyx.org>
9015
9016         * commandtags.h:
9017         * LyXAction.C (init):
9018         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9019
9020         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9021
9022         * commandtags.h:
9023         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9024
9025         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9026         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9027
9028 2003-03-07  Angus Leeming  <leeming@lyx.org>
9029
9030         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9031         remove "ert".
9032
9033 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9034
9035         * ParagraphList.C (front): new function
9036         (back): implement
9037
9038 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9039
9040         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9041         and top_row_offset_. removed var first_y.
9042         * text.C (top_y):
9043         * text2.C (LyXText, removeRow):
9044         * text3.C:
9045         * BufferView_pimpl.C:
9046         use these methods instead of using first_y
9047
9048 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9049
9050         * text2.C (pasteSelection): adjust for checkPastePossible
9051
9052         * CutAndPaste.C: remove Paragraph * buf and replace with
9053         ParagraphList paragraphs.
9054         (DeleteBuffer): delete
9055         (cutSelection): change the tc type to textclass_type
9056         (copySelection): change the tc type to textclass_type
9057         (copySelection): adjust for ParagraphList
9058         (pasteSelection): change the tc type to textclass_type
9059         (pasteSelection): adjust for Paragraphlist
9060         (nrOfParagraphs): simplify for ParagraphList
9061         (checkPastePossible): simplify for ParagraphList
9062         (checkPastePossible): remove unused arg
9063
9064         * ParagraphList.C (insert): handle the case where there are no
9065         paragraphs yet.
9066
9067         * CutAndPaste.h: make CutAndPaste a namespace.
9068
9069         * text3.C (dispatch): adjust
9070
9071         * text.C (breakParagraph): add a ParagraphList as arg
9072
9073         * paragraph_funcs.C (breakParagraph): change to take a
9074         BufferParams and a ParagraphList as args.
9075         (breakParagraphConservative): ditto
9076         (mergeParagraph): ditto
9077         (TeXDeeper): add a ParagraphList arg
9078         (TeXEnvironment): ditto
9079         (TeXOnePar): ditto
9080
9081         * buffer.C (readLyXformat2): adjust
9082         (insertStringAsLines): adjust
9083         (latexParagraphs): adjust
9084
9085         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9086         (cutSelection): adjust
9087         (pasteSelection): adjust
9088
9089         * BufferView_pimpl.C (insertInset): adjust
9090
9091 2003-03-05  Angus Leeming  <leeming@lyx.org>
9092
9093         * commandtags.h:
9094         * LyXAction.C (init):
9095         * BufferView_pimpl.C (dispatch):
9096         * lyxfunc.C (getStatus):
9097         remove LFUN_CHILD_INSERT.
9098
9099         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9100
9101 2003-03-05  Angus Leeming  <leeming@lyx.org>
9102
9103         * commandtags.h:
9104         * LyXAction.C (init):
9105         * src/factory.C (createInset):
9106         * lyxfunc.C (getStatus):
9107         * text3.C (dispatch):
9108         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9109
9110         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9111
9112 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9113
9114         * ParagraphList.C (insert): handle insert right before end()
9115         (erase): fix cases where it can be first or last paragraph.
9116
9117 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9118
9119         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9120         Paragraph::next and Paragraph::previous
9121         (TeXOnePar): ditto
9122
9123         * text.C (breakParagraph): adjust
9124
9125         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9126         BufferParams& as arg.
9127         (breakParagraph): use ParagraphList::insert
9128         (breakParagraphConservative): take a Buffer* instead of a
9129         BufferParams& as arg.
9130         (breakParagraphConservative): use ParagraphList::insert.
9131
9132         * buffer.C (insertStringAsLines): un-const it
9133         (insertStringAsLines): adjust
9134
9135         * ParagraphList.C (insert): new function
9136
9137         * CutAndPaste.C (pasteSelection): adjust
9138
9139         * text.C (backspace): adjust
9140
9141         * tabular.C (SetMultiColumn): adjust
9142
9143         * CutAndPaste.C (cutSelection): adjust
9144         (pasteSelection): adjust
9145
9146         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9147         Buffer const * as arg
9148
9149         * ParagraphList.C (erase): new function
9150         * paragraph_funcs.C (mergeParagraph): use it
9151         (mergeParagraph): make it take a Buffer* instead of a
9152         BufferParams* as arg
9153
9154         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9155         as arg
9156         (breakParagraphConservative): ditto
9157
9158         * paragraph.h: remove the breakParagraph friend
9159
9160         * paragraph.C (eraseIntern): new function
9161         (setChange): new function
9162
9163         * paragraph_funcs.C (mergeParagraph): make it take a
9164         ParagraphList::iterator instead of a Paragraph *, adjust
9165         accordingly.
9166
9167         * paragraph.h: move an #endif so that the change tracking stuff
9168         also works in the NO_NEXT case.
9169
9170 2003-03-04  Angus Leeming  <leeming@lyx.org>
9171
9172         * commandtags.h:
9173         * LyXAction.C: new LFUN_INSET_MODIFY.
9174
9175         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9176         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9177
9178 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9179
9180         * several files: ws changes only
9181
9182         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9183         (TeXEnvironment): ditto
9184         (TeXDeeper): ditto
9185
9186         * buffer.C (makeLaTeXFile): adjust
9187         (latexParagraphs): make it take ParagraphList::iterator as args
9188
9189 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9190
9191         * buffer.C (latexParagraphs): adjust
9192
9193         * paragraph.C (TeXOnePar): move function...
9194         (optArgInset): move function...
9195         (TeXEnvironment): move function...
9196         * paragraph_pimpl.C (TeXDeeper): move function...
9197         * paragraph_funcs.C: ...here
9198
9199         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9200
9201 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9202
9203         * buffer.C (readInset): remove compability code for old Figure and
9204         InsetInfo insets
9205
9206 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9207
9208         * buffer.C: ws changes
9209         (readInset):
9210
9211         * BufferView_pimpl.C: ditto
9212         * author.C: ditto
9213         * buffer.h: ditto
9214         * bufferlist.h: ditto
9215         * changes.h: ditto
9216         * lyxfunc.C: ditto
9217
9218 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9219
9220         * converter.[Ch]: split into itself +
9221         * graph.[Ch]
9222         * format.[Ch]
9223         * Makefile.am: += graph.[Ch] + format.[Ch]
9224         * MenuBackend.C
9225         * buffer.C
9226         * exporter.C
9227         * importer.C
9228         * lyx_main.C
9229         * lyxfunc.C
9230         * lyxrc.C: added #include "format.h"
9231
9232 2003-02-27  Angus Leeming  <leeming@lyx.org>
9233
9234         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9235           a label.
9236
9237         * factory.C (createInset): add "label" to the factory.
9238
9239         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9240           string and do no more.
9241
9242 2003-02-27  Angus Leeming  <leeming@lyx.org>
9243
9244         * commandtags.h:
9245         * LyXAction.C (init):
9246         * factory.C (createInset):
9247         * BufferView_pimpl.C (dispatch):
9248           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9249
9250         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9251
9252         * lyxfunc.C (dispatch):
9253         * text3.C (dispatch): pass name to params2string.
9254
9255 2003-02-26  Angus Leeming  <leeming@lyx.org>
9256
9257         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9258           blocks together.
9259           Rearrange the ~includes. Strip out the unnecessary ones.
9260
9261         * factory.C (createInset): reformat.
9262           create new insets for the various LFUN_XYZ_APPLY lfuns.
9263
9264 2003-02-26  John Levon  <levon@movementarian.org>
9265
9266         * lyxrow.h:
9267         * lyxrow.C: add isParStart,isParEnd helpers
9268
9269         * paragraph.h: make isInserted/DeletedText take refs
9270
9271         * paragraph_funcs.h:
9272         * paragraph_funcs.C: remove #if 0'd code
9273
9274         * lyxtext.h:
9275         * text3.C:
9276         * text2.C:
9277         * text.C: use lyxrow helpers above.
9278           Move draw and paint routines to RowPainter.
9279           Make several methods use refs not pointers.
9280           Make backgroundColor() const.
9281           Add markChangeInDraw(), isInInset().
9282           Merge changeRegionCase into changeCase.
9283           Make workWidth() shouldn't-happen code into an Assert.
9284
9285         * rowpainter.h:
9286         * rowpainter.C: new class for painting a row.
9287
9288         * vspace.h:
9289         * vspace.C: make inPixels take a ref
9290
9291 2003-02-26  Angus Leeming  <leeming@lyx.org>
9292
9293         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9294         LFUN_REF_APPLY.
9295
9296 2003-02-25  John Levon  <levon@movementarian.org>
9297
9298         * ispell.C: give the forked command a more accurate name
9299
9300 2003-02-22  John Levon  <levon@movementarian.org>
9301
9302         * toc.h:
9303         * toc.C: make TocItem store an id not a Paragraph *
9304           (bug #913)
9305
9306 2003-02-21  Angus Leeming  <leeming@lyx.org>
9307
9308         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9309           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9310           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9311           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9312           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9313           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9314
9315         * BufferView_pimpl.C (dispatch):
9316         * LyXAction.C (init):
9317         * factory.C (createInset):
9318         * lyxfunc.C (getStatus, dispatch):
9319         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9320
9321 2003-02-21  Angus Leeming  <leeming@lyx.org>
9322
9323         * BufferView_pimpl.C (MenuInsertLyXFile):
9324         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9325         * lyxfunc.C (menuNew, open, doImport):
9326           no longer pass a LyXView & to fileDlg.
9327
9328 2003-02-21  Angus Leeming  <leeming@lyx.org>
9329
9330         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9331         * LyXAction.C: change, BIBKEY to BIBITEM.
9332         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9333         Change InsetBibKey to InsetBibitem.
9334         Change BIBKEY_CODE to BIBITEM_CODE.
9335         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9336         * factory.C: replace insetbib.h with insetbibitem.h.
9337         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9338         * paragraph.C: replace insetbib.h with insetbibitem.h.
9339         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9340         Change bibkey() to bibitem().
9341         * text.C: remove insetbib.h.
9342         * text2.C: replace insetbib.h with insetbibitem.h.
9343         change bibkey() to bibitem().
9344         * text3.C: remove insetbib.h.
9345         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9346
9347 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9348
9349         * lyxrc.C (output): enclose user email in quotes (in case there are
9350         several words)
9351
9352 2003-02-18  John Levon  <levon@movementarian.org>
9353
9354         * buffer.h: add std::
9355
9356 2003-02-17  John Levon  <levon@movementarian.org>
9357
9358         * SpellBase.h:
9359         * ispell.h:
9360         * ispell.C:
9361         * pspell.h:
9362         * pspell.C: reworking. Especially in ispell, a large
9363           number of clean ups and bug fixes.
9364
9365         * lyxfunc.C: fix revert to behave sensibly
9366
9367 2003-02-17 André Pönitz <poenitz@gmx.net>
9368
9369         * LyXAction.C:
9370         * commandtags.h: new LFUN_INSERT_BIBKEY
9371
9372         * layout.h:
9373         * lyxlayout.C:
9374         * buffer.C:
9375         * factory.C:
9376         * text.C:
9377         * text2.C:
9378         * text3.C:
9379         * paragraph.[Ch]:
9380         * paragraph_func.C: remove special bibkey handling
9381
9382 2003-02-17  John Levon  <levon@movementarian.org>
9383
9384         * text.C (Delete): fix case where delete at the end of
9385           the very first paragraph would not merge the pars
9386
9387 2003-02-17  John Levon  <levon@movementarian.org>
9388
9389         * lyxrow.C: fix lastPrintablePos()
9390
9391 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9392
9393         * bufferparams.C (writeLaTeX): add a std:here
9394
9395         * buffer.C: and remove a using directive there
9396
9397 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9398
9399         * buffer.C (makeLaTeXFile): move the code that generates the
9400           preamble...
9401
9402         * bufferparams.C (writeLaTeX): ... in this new method
9403
9404         * LaTeXFeatures.C (getEncodingSet): make const
9405           (getLanguages): make const
9406
9407         * MenuBackend.C (binding): returns the binding associated to this
9408           action
9409           (add): sets the status of each item by calling getStatus. Adds
9410           some intelligence.
9411           (read): add support for OptSubMenu
9412           (expand): remove extra separator at the end of expanded menu
9413
9414 2003-02-15  John Levon  <levon@movementarian.org>
9415
9416         * BufferView.C:
9417         * BufferView_pimpl.C:
9418         * bufferlist.h:
9419         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9420           inset code that had no actual effect. Remove unneeded status
9421           code.
9422
9423 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9424
9425         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9426           in preamble
9427
9428 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9429
9430         * text.C (drawLengthMarker): also draw an arrow marker for
9431           symbolic lengths (medskip...)
9432
9433 2003-02-14  John Levon  <levon@movementarian.org>
9434
9435         * tabular.h:
9436         * tabular.C: better method names
9437
9438 2003-02-14  John Levon  <levon@movementarian.org>
9439
9440         * BufferView_pimpl.C:
9441         * bufferlist.C:
9442         * buffer.C:
9443         * converter.C:
9444         * lyx_cb.C:
9445         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9446           it's a more accurate name. Remove some pointless uses.
9447
9448 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9449
9450         * text2.C (LyXText): change order of initilizers to shut off
9451           warnings
9452
9453 2003-02-14  John Levon  <levon@movementarian.org>
9454
9455         * buffer.C: use ParIterator for getParFromID()
9456
9457         * paragraph.h:
9458         * paragraph.C:
9459         * paragraph_pimpl.h:
9460         * paragraph_pimpl.C: remove unused getParFromID()
9461
9462 2003-02-14  John Levon  <levon@movementarian.org>
9463
9464         * buffer.C: remove some very old #if 0'd parse code
9465
9466 2003-02-13  John Levon  <levon@movementarian.org>
9467
9468         * text.h:
9469         * text.C:
9470         * text2.C: move hfillExpansion(), numberOfSeparators(),
9471           rowLast(), rowLastPrintable(), numberofHfills(),
9472           numberOfLabelHfills() ...
9473
9474         * lyxrow.h:
9475         * lyxrow.C: ... to member functions here.
9476
9477         * paragraph.h:
9478         * paragraph.C:
9479         * lyxtext.h:
9480         * text.C: remove LyXText::beginningOfMainBody(), and call
9481           p->beginningOfMainBody() directly. Move the check for
9482           LABEL_MANUAL into the latter.
9483
9484         * text.h:
9485         * text.C:
9486         * text2.C:
9487         * vspace.C:
9488         * BufferView.h:
9489         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9490
9491         * text.h:
9492         * text.C:
9493         * text2.C:
9494         * text3.C:
9495         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9496           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9497
9498 2003-02-13  John Levon  <levon@movementarian.org>
9499
9500         * CutAndPaste.C: remove debug
9501
9502 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9503
9504         * paragraph.C (asString): remove two unused variables
9505
9506         * lyxtextclass.C (readTitleType):
9507           (Read):
9508           (LyXTextClass): handle new members titletype_ and titlename_
9509
9510         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9511
9512 2003-02-09  John Levon  <levon@movementarian.org>
9513
9514         * buffer.h:
9515         * buffer.C: replace hand-coded list with a map for the dep clean
9516
9517 2003-02-08  John Levon  <levon@movementarian.org>
9518
9519         * LaTeX.C: consolidate code into showRunMessage() helper
9520
9521 2003-02-08  John Levon  <levon@movementarian.org>
9522
9523         * lyxfind.C:
9524         * lyxtext.h:
9525         * text2.C:
9526         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9527           and pass the size in explicitly
9528
9529         * BufferView_pimpl.h:
9530         * BufferView_pimpl.C:
9531         * BufferView.h:
9532         * BufferView.C: add getCurrentChange()
9533
9534         * BufferView_pimpl.h:
9535         * BufferView_pimpl.C: handle change lfuns
9536
9537         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9538           for changes. Mark pasted paragraphs as new.
9539
9540         * support/lyxtime.h:
9541         * support/lyxtime.C:
9542         * DepTable.C: abstract time_t as lyx::time_type
9543
9544         * LColor.h:
9545         * LColor.C: add colours for new text, deleted text, changebars
9546
9547         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9548           package use "usenames" option.
9549
9550         * commandtags.h:
9551         * lyxfunc.C:
9552         * LyXAction.C: add change lfuns
9553
9554         * Makefile.am:
9555         * author.h:
9556         * author.C: author handling
9557
9558         * buffer.h:
9559         * buffer.C: add a per-buffer author list, with first entry as
9560           current author. Handle new .lyx tokens for change tracking. Output
9561           author list to .lyx file. Output dvipost stuff to .tex preamble.
9562           Bump lyx format to 222.
9563
9564         * bufferlist.h:
9565         * bufferlist.C: add setCurrentAuthor() to reset current author details
9566           in all buffers.
9567
9568         * bufferparams.h:
9569         * bufferparams.C: add param for tracking
9570
9571         * bufferview_funcs.C: output change info in minibuffer
9572
9573         * Makefile.am:
9574         * changes.h:
9575         * changes.C: add change-tracking structure
9576
9577         * debug.h:
9578         * debug.C: add CHANGES debug flag
9579
9580         * lyxfind.h:
9581         * lyxfind.C: add code for finding the next change piece
9582
9583         * lyxrc.h:
9584         * lyxrc.C: add user_name and user_email
9585
9586         * lyxrow.h:
9587         * lyxrow.C: add a metric for the top of the text line
9588
9589         * lyxtext.h:
9590         * text.C: implement accept/rejectChange()
9591
9592         * lyxtext.h:
9593         * text.C: paint changebars. Paint new/deleted text in the chosen
9594         colours. Strike through deleted text.
9595
9596         * paragraph.h:
9597         * paragraph.C:
9598         * paragraph_pimpl.h:
9599         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9600           in the current change to the insert functions. Rework erase to
9601           mark text as deleted, adding an eraseIntern() and a range-based
9602           erase(). Implement per-paragraph change lookup and
9603           accept/reject.
9604
9605         * paragraph_funcs.C: Fixup paste for change tracking.
9606
9607         * tabular.C: mark added row/columns as new.
9608
9609         * text.C: fix rowLast() to never return -1. Don't allow
9610           spellchecking of deleted text. Track transpose changes. Don't
9611           allow paragraph break or merge where appropriate.
9612
9613         * text2.C: leave cursor at end of selection after a cut.
9614
9615 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9616
9617         * text.C (getLengthMarkerHeight):
9618         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9619         visible on screen too.
9620
9621 2003-02-07  John Levon  <levon@movementarian.org>
9622
9623         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9624
9625 2003-02-05  Angus Leeming  <leeming@lyx.org>
9626
9627         * lyxserver.C (read_ready): revert my patch of 11 September last year
9628         as it sends PC cpu through the roof. Presumably this means that
9629         the lyxserver will no longer run on an Alpha...
9630
9631 2003-01-30  Angus Leeming  <leeming@lyx.org>
9632
9633         * factory.C (createInset): create an InsetCommandParam of type "index"
9634         and use it to 'do the right thing'.
9635
9636         * text2.C (getStringToIndex): ensure that cursor position is always
9637         reset to the reset_cursor position.
9638
9639 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9640
9641         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9642         disabled.
9643
9644 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9645
9646         * bufferview.C:
9647         * lyxcb.C:
9648         * lyxfunc.C: Output messages with identical spelling, punctuation,
9649         and spaces
9650
9651 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9652
9653         * MenuBackend.C (expandFormats): List only viewable export formats
9654         in "View" menu
9655
9656         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9657         message
9658
9659         * lyxfunc.C (getStatus): Make sure that formats other than
9660         "fax" can also be disabled
9661
9662 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9663
9664         * text3.C (dispatch): put the lfuns that insert insets in 3
9665         groups, and call doInsertInset with appropriate arguments.
9666         (doInsertInset): new function, that creates an inset and inserts
9667         it according to some boolean parameters.
9668
9669 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9670
9671         * buffer.C (readFile): remember to pass on 'par' when calling
9672         readFile recursively.
9673
9674 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9675
9676         * MenuBackend.C (expandFormats): add "..." to import formats.
9677
9678 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9679
9680         * paragraph.C (asString): Remove XForms RTL hacks.
9681
9682 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9683         * buffer.C: fix typo
9684
9685 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9686
9687         * Makefile.am (LIBS): delete var
9688         (lyx_LDADD): add @LIBS@ here instead.
9689
9690 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9691
9692         * Clarify the meaning of "wheel mouse jump"
9693
9694 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9695
9696         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9697         tabular in a float
9698
9699 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9700
9701         * importer.C (Loaders): do not preallocate 3 elements in the
9702         vector, since one ends up with 6 elements otherwise
9703
9704 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9705
9706         * DepTable.C (write): write the file name as last element of the
9707         .dep file (because it may contain spaces)
9708         (read): read info in the right order
9709
9710 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9711
9712         * paragraph_pimpl.C (simpleTeXBlanks):
9713         (simpleTeXSpecialChars):
9714         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9715
9716         * tabular.C (latex): add some missing case statements. Reindent.
9717
9718         * MenuBackend.C (expandToc): remove unused variable.
9719
9720 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9721
9722         * LColor.C:
9723         * LaTeX.C:
9724         * LyXAction.C:
9725         * MenuBackend.C:
9726         * buffer.C:
9727         * exporter.C:
9728         * lyxfunc.C:
9729         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9730         and the like.
9731
9732 2003-01-05  John Levon  <levon@movementarian.org>
9733
9734         * BufferView.h:
9735         * BufferView.C: add getEncoding()
9736
9737         * kbsequence.h:
9738         * kbsequence.C: do not store last keypress
9739
9740         * lyxfunc.h:
9741         * lyxfunc.C: store last keypress here instead. Pass encoding
9742           to getISOEncoded()
9743
9744 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9745
9746         * lyx_main.C (init): remove annoying error message when following
9747         symbolic links (bug #780)
9748
9749 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9750
9751         * text.C (insertChar):
9752         * lyxrc.C (getDescription): remove extra spaces
9753
9754 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9755
9756         * lyxrc.C (getDescription): remove extra spaces
9757
9758 2002-12-20  John Levon  <levon@movementarian.org>
9759
9760         * text3.C: hack fix for page up/down across tall rows
9761
9762 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9763
9764         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9765         not been invoked
9766
9767 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9768
9769         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9770         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9771         thesaurus is not compiled in
9772
9773 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9774
9775         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9776
9777 2002-12-16  Angus Leeming  <leeming@lyx.org>
9778
9779         * lyxrc.[Ch]:
9780         * lyx_main.C (init): remove override_x_deadkeys stuff.
9781
9782 2002-12-12  John Levon  <levon@movementarian.org>
9783
9784         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9785           insert. Only remove shift modifier under strict
9786           circumstances.
9787
9788 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9789
9790         * MenuBackend.C (expandToc): fix crash.
9791
9792 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9793
9794         * MenuBackend.C (expandToc): gettext on float names.
9795
9796 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9797
9798         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9799         implement bool empty() [bug 490]
9800
9801 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9802
9803         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9804
9805 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9806
9807         * several files: ws changes
9808
9809 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9810
9811         * text2.C (setCounter): clean up a bit, use boost.format.
9812         (updateCounters): initialize par upon declaration.
9813
9814         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9815         if the layout exists. We do not just store the layout any more.
9816         (SwitchLayoutsBetweenClasses): use boost.format
9817
9818 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9819
9820         * converter.C (convert): if from and to files are the same, use a
9821         temporary files as intermediary
9822
9823 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9824
9825         * commandtags.h:
9826         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9827
9828 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9829
9830         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9831
9832 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9833
9834         * tabular.C (asciiPrintCell): use string(size, char) instead of
9835         explicit loop.
9836
9837         * sgml.C (openTag): fix order of arguments to string constructor
9838         (closeTag): ditto
9839
9840         * lyxfunc.C (dispatch): use boost.format
9841
9842         * lots of files: change "c" -> 'c'
9843
9844 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9845
9846         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9847
9848 2002-11-25  Angus Leeming  <leeming@lyx.org>
9849
9850         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9851
9852         * lyx_main.C (init): compile fix.
9853
9854 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9855
9856         * lyx_cb.C (start): boost.formatify
9857         do not include <iostream>
9858
9859         * lengthcommon.C: ws only
9860
9861         * boost-inst.C,BoostFormat.h: add more explict instantations
9862
9863 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9864
9865         * lots of files: handle USE_BOOST_FORMAT
9866
9867 2002-11-21  John Levon  <levon@movementarian.org>
9868
9869         * pspell.C: fix compile
9870
9871 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9872
9873         * lyxfunc.C (dispatch): use boost::format
9874         (open): ditto
9875         (doImport): ditto
9876
9877         * lyxfont.C (stateText): use boost::format
9878
9879         * lyx_main.C (LyX): use boost::format
9880         (init): ditto
9881         (queryUserLyXDir): ditto
9882         (readRcFile): ditto
9883         (parse_dbg): ditto
9884         (typedef boost::function): use the recommened syntax.
9885
9886         * importer.C (Import): use boost::format
9887
9888         * debug.C (showLevel): use boost::format
9889
9890         * converter.C (view): use boost::format
9891         (convert): ditto
9892         (move): ditto
9893         (scanLog): ditto
9894
9895         * bufferview_funcs.C (currentState): use boost::format
9896
9897         * bufferlist.C (emergencyWrite): use boost::format
9898
9899         * buffer.C (readLyXformat2): use boost::format
9900         (parseSingleLyXformat2Token): ditto
9901
9902         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9903
9904         * LaTeX.C (run): use boost::format
9905
9906         * Chktex.C (scanLogFile): use boost::format
9907
9908         * BufferView_pimpl.C (savePosition): use boost::format
9909         (restorePosition): ditto
9910         (MenuInsertLyXFile): ditto
9911
9912         * BoostFormat.h: help file for explicit instation.
9913
9914 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9915
9916         * tabular.C (latex): Support for block alignment in fixed width
9917         columns.
9918
9919 2002-11-17  John Levon  <levon@movementarian.org>
9920
9921         * BufferView_pimpl.C:
9922         * lyx_cb.C:
9923         * lyxfunc.C: split filedialog into open/save
9924
9925 2002-11-08  Juergen Vigna  <jug@sad.it>
9926
9927         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9928         by my last patch (hopefully).
9929
9930 2002-11-08  John Levon  <levon@movementarian.org>
9931
9932         * iterators.h:
9933         * iterators.C:
9934         * buffer.h:
9935         * buffer.C:
9936         * paragraph.h:
9937         * paragraph.C:
9938         * toc.h:
9939         * toc.C: ParConstIterator, and use it (from Lars)
9940
9941 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9942
9943         * lyxtextclass.[Ch]: revise and add doxygen comments
9944
9945 2002-11-07  John Levon  <levon@movementarian.org>
9946
9947         * text.C: fix progress value for spellchecker
9948
9949         * toc.C: fix navigate menu for insetwrap inside minipage
9950
9951         * paragraph_funcs.C: added FIXME for suspect code
9952
9953 2002-11-07  John Levon  <levon@movementarian.org>
9954
9955         * BufferView_pimpl.C: fix redrawing of insets
9956           on buffer switch
9957
9958 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9959
9960         * text2.C (updateCounters): fix bug 668
9961
9962 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9963
9964         * text3.C (dispatch): Do not make the buffer dirty when moving the
9965         cursor.
9966
9967 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9968
9969         * vc-backend.C: STRCONV
9970         (scanMaster): ditto
9971
9972         * text2.C (setCounter): STRCONV
9973
9974         * paragraph.C (asString): STRCONV
9975
9976         * lyxlength.C (asString): STRCONV
9977         (asLatexString): ditto
9978
9979         * lyxgluelength.C (asString): STRCONV
9980         (asLatexString): ditto
9981
9982         * lyxfunc.C (dispatch): STRCONV
9983         (open): ditto
9984
9985         * lyxfont.C (stateText): STRCONV
9986
9987         * importer.C (Import): STRCONV
9988
9989         * counters.C (labelItem): STRCONV
9990         (numberLabel): ditto
9991         (numberLabel): remove unused ostringstream o
9992
9993         * chset.C: STRCONV
9994         (loadFile): ditto
9995
9996         * bufferview_funcs.C (currentState): STRCONV
9997
9998         * buffer.C (readFile): STRCONV
9999         (asciiParagraph): ditto
10000         (makeLaTeXFile): ditto
10001
10002         * Spacing.C (writeEnvirBegin): STRCONV
10003
10004         * LaTeXFeatures.C (getLanguages): STRCONV
10005         (getPackages): ditto
10006         (getMacros): ditto
10007         (getBabelOptions): ditto
10008         (getTClassPreamble): ditto
10009         (getLyXSGMLEntities): ditto
10010         (getIncludedFiles): ditto
10011
10012         * LaTeX.C: STRCONV
10013         (run): ditto
10014         (scanAuxFile): ditto
10015         (deplog): ditto
10016
10017         * LString.h: add the STRCONV macros
10018
10019         * BufferView_pimpl.C (savePosition): STRCONV
10020         (restorePosition): ditto
10021         (MenuInsertLyXFile): ditto
10022
10023         * vc-backend.C (scanMaster): change from submatch[...] to
10024         submatch.str(...)
10025
10026         * funcrequest.C: include config.h
10027
10028         * factory.C: include config.h
10029
10030         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10031
10032         * box.C: include config.h
10033
10034         * LaTeX.C (scanAuxFile): change from submatch[...] to
10035         submatch.str(...)
10036         (deplog): ditto
10037
10038 2002-10-25  Angus Leeming  <leeming@lyx.org>
10039
10040         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10041
10042         * ispell.[Ch] (setError): new method.
10043         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10044         Use setError() insetead of goto END.
10045
10046         * lyx_cb.C (AutoSave): move out child process into new class
10047         AutoSaveBuffer.
10048
10049 2002-10-30  John Levon  <levon@movementarian.org>
10050
10051         * text3.C: make start appendix undoable
10052
10053 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10054
10055         * lyxlength.C (inPixels): Fix returned value.
10056
10057         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10058         environment.
10059
10060 2002-10-24  Angus Leeming  <leeming@lyx.org>
10061
10062         * lyxgluelength.h: no need to forward declare BufferParams
10063         or BufferView, so don't.
10064
10065 2002-10-21  John Levon  <levon@movementarian.org>
10066
10067         * BufferView.C: menuUndo ->undo, redo
10068
10069         * BufferView.h: document, remove dead, make some methods private
10070
10071         * paragraph_funcs.h:
10072         * paragraph_funcs.C:
10073         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10074
10075         * buffer.h:
10076         * buffer.C:
10077         * sgml.h:
10078         * sgml.C: move sgml open/close tag into sgml.C
10079
10080         * bufferview_funcs.h: unused prototype
10081
10082         * lyxfunc.h:
10083         * lyxfunc.C: remove unused
10084
10085         * lyxtext.h:
10086         * text.C: remove unused
10087
10088 2002-10-21  John Levon  <levon@movementarian.org>
10089
10090         * BufferView.h:
10091         * BufferView.C:
10092         * BufferView_pimpl.h:
10093         * BufferView_pimpl.C: fix mouse wheel handling based on
10094           patch from Darren Freeman
10095
10096 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10097
10098         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10099
10100 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10101
10102         * lyxlength.C (inPixels): Fix hanfling of negative length.
10103         Fix LyXLength::MU case.
10104
10105 2002-10-16  John Levon  <levon@movementarian.org>
10106
10107         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10108
10109 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10110
10111         * converter.C (view): add support for $$i (file name) and $$p
10112         (file path) for the viewer command. If $$i is not specified, then
10113         it is appended to the command (for compatibility with old syntax)
10114
10115 2002-10-14  Juergen Vigna  <jug@sad.it>
10116
10117         * undo_funcs.C (textHandleUndo): alter the order in which the
10118         new undopar is added to the LyXText, as we have to set first
10119         the right prev/next and then add it as otherwise the rebuild of
10120         LyXText is not correct. Also reset the cursor to the right paragraph,
10121         with this IMO we could remove the hack in "redoParagraphs()".
10122
10123 2002-10-09  Angus Leeming  <leeming@lyx.org>
10124
10125         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10126         to turn off an optimisation if a new inset is to be inserted.
10127
10128 2002-10-11 André Pönitz <poenitz@gmx.net>
10129
10130         * lyxtext.h: make some functions public to allow access
10131         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10132
10133 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10134
10135         * text3.C (dispatch): when changing layout, avoid an infinite loop
10136         [bug #652]
10137
10138 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10139
10140         * lyxrc.C (read): treat a viewer or converter command of "none" as
10141         if it were empty.
10142
10143         * MenuBackend.C (expandFormats): for an update, also allow the
10144         formats that are not viewable
10145
10146         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10147         script if it is newer than the lyxrc.defaults in user directory
10148
10149 2002-10-07 André Pönitz <poenitz@gmx.net>
10150
10151         * text.C: Vitaly Lipatov's small i18n fix
10152
10153 2002-09-25  Angus Leeming  <leeming@lyx.org>
10154
10155         * ispell.h: doxygen fix.
10156
10157 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10158
10159         * buffer.h (readFile): Add a new argument to the method, to allow
10160         reading of old-format templates.
10161
10162 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10163
10164         * toc.C (getTocList): Get TOC from InsetWrap.
10165
10166 2002-09-16  John Levon  <levon@movementarian.org>
10167
10168         * lyxfunc.C: check tabular for cut/copy too
10169
10170 2002-09-12  John Levon  <levon@movementarian.org>
10171
10172         * LyXAction.C: tidy
10173
10174         * factory.h:
10175         * factory.C: add header
10176
10177         * paragraph_funcs.h:
10178         * paragraph_funcs.C: cleanup
10179
10180 2002-09-11  John Levon  <levon@movementarian.org>
10181
10182         * PrinterParams.h: odd/even default to true
10183
10184 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10185
10186         * PrinterParams.h: update printer parameters for new xforms dialog
10187
10188 2002-09-11  Angus Leeming  <leeming@lyx.org>
10189
10190         * lyxserver.C (read_ready): re-write to make it more transparent
10191         and to make it work in coherent fashion under Tru64 Unix.
10192
10193 2002-09-11  André Pönitz <poenitz@gmx.net>
10194
10195         * commandtags.h:
10196         * LyXAction.C:
10197         * text3.C: implement LFUN_WORDSEL
10198
10199 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10200
10201         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10202         make floatlist_ a boost::shared_ptr<FloatList>
10203
10204         * lyxtextclass.C: include FloatList.h
10205         (LyXTextClass): initialize floatlist_
10206         (TextClassTags): add TC_NOFLOAT
10207         (Read): match "nofloat" to TC_NOFLOAT and use it.
10208         (readFloat): modify call to floatlist_
10209         (floats): ditto
10210         (floats): ditto
10211
10212         * FloatList.[Ch] (FloatList): remove commented out float
10213         initialization.
10214         (erase): new function
10215
10216 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10217
10218         * MenuBackend.C (expandToc): fix crash when there is no document
10219         open
10220
10221 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10222
10223         * many files: Add insetwrap.
10224
10225 2002-09-09  John Levon  <levon@movementarian.org>
10226
10227         * text2.C: remove confusing and awkward depth wraparound
10228
10229 2002-09-09  John Levon  <levon@movementarian.org>
10230
10231         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10232
10233         * buffer.h:
10234         * buffer.C: remove getIncludeonlyList()
10235
10236         * paragraph.C:
10237         * lyxfunc.C: remove headers
10238
10239 2002-09-09  Juergen Vigna  <jug@sad.it>
10240
10241         * text.C (getColumnNearX): fix form Michael this is most
10242         probably a cut&paste bug.
10243
10244 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10245
10246         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10247
10248         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10249         references, ws changes.
10250
10251         * text2.C (init): update counters after init
10252         (insertParagraph): no need to set counter on idividual paragraphs.
10253         (setCounter): access the counters object in the textclass object
10254         on in the buffer object.
10255         (updateCounters): ditto
10256
10257         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10258         shared_ptr<Counters> to avoid loading counters.h in all
10259         compilation units.
10260         (LyXTextClass): initialize ctrs_
10261         (TextClassTags): add TC_COUNTER, and ...
10262         (Read): use it here.
10263         (CounterTags): new tags
10264         (readCounter): new function
10265         (counters): new funtion
10266         (defaultLayoutName): return a const reference
10267
10268         * counters.C (Counters): remove contructor
10269         (newCounter): remove a couple of unneeded statements.
10270         (newCounter): simplify a bit.
10271         (numberLabel): some small formatting changes.
10272
10273         * buffer.[Ch]: remove all traces of counters, move the Counters
10274         object to the LyXTextClass.
10275
10276 2002-09-06  Alain Castera  <castera@in2p3.fr>
10277
10278         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10279         package to set the horizontal alignment on fixed width columns.
10280
10281         * lyx_sty.C:
10282         * lyx_sty.h: added tabularnewline macro def.
10283
10284         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10285
10286 2002-09-06  John Levon  <levon@movementarian.org>
10287
10288         * LyXAction.C: tooltips for sub/superscript
10289
10290         * MenuBackend.C: a bit more verbose
10291
10292         * lyxfunc.C: tiny clean
10293
10294         * undo_funcs.C: document undo_frozen
10295
10296 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10297
10298         * counters.C (Counters): add missing algorithm counter.
10299
10300         * text2.C (setCounter): lookup the counter with layouts latexname
10301         instead of by section number.
10302         (setCounter): use a hackish way to lookup the correct enum
10303         counter.
10304         a float name->type change
10305         reset enum couners with counter name directly instead of depth value.
10306
10307         * counters.C (Counters): remove the push_backs, change to use the
10308         float type not the float name.
10309         (labelItem): remove unused string, float name->type change
10310
10311         * counters.h: don't include vector, loose the enums and sects vectors
10312
10313 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10314
10315         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10316         (Read): add float->TC_FLOAT to textclassTags
10317         (Read): and handle it in the switch
10318         (readFloat): new function
10319
10320         * FloatList.C (FloatList): comment out the hardcoded float
10321         definitions.
10322
10323         * lyxlayout.h: ws change.
10324
10325 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10326
10327         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10328
10329 2002-09-03  Angus Leeming  <leeming@lyx.org>
10330
10331         * BufferView_pimpl.h: qualified name is not allowed in member
10332         declaration: WorkArea & Pimpl::workarea() const;
10333
10334         * factory.C: added using std::endl directive.
10335
10336         * text3.C: added using std::find and std::vector directives.
10337
10338 2002-08-29  André Pönitz <poenitz@gmx.net>
10339
10340         * lyxtext.h:
10341         * text2.C: remove unused member number_of_rows
10342
10343         * Makefile.am:
10344         * BufferView2.C: remove file, move contents to...
10345         * BufferView.C: ... here
10346
10347         * BufferView_pimpl.C:
10348         * factory.C: move more inset creation to factory
10349
10350         * vspace.C: avoid direct usage of LyXText, ws changes
10351
10352         * BufferView.[Ch]:
10353                 don't provide direct access to WorkArea, use two simple
10354                 acessors haveSelction() and workHeight() instead
10355
10356
10357 2002-08-29  John Levon  <levon@movementarian.org>
10358
10359         * BufferView_pimpl.C (dispatch): do not continue when
10360           no buffer
10361
10362 2002-08-28  André Pönitz <poenitz@gmx.net>
10363
10364         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10365
10366         * BufferView.h:
10367         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10368
10369 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10370
10371         * buffer.C: increment LYX_FORMAT to 221
10372
10373         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10374         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10375
10376         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10377
10378         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10379
10380 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10381
10382         * factory.C (createInset): use LyXTextClass::floats
10383
10384         * MenuBackend.C (expandFloatListInsert):
10385         (expandFloatInsert):
10386         (expandToc):
10387
10388         * text2.C (setCounter):
10389
10390         * LaTeXFeatures.C (useFloat):
10391         (getFloatDefinitions):
10392
10393         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10394
10395         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10396         floatlist_, with accessor floats().
10397
10398         * FloatList.h: remove global FloatList
10399
10400 2002-08-26  André Pönitz <poenitz@gmx.net>
10401
10402         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10403
10404         * BufferView.h:
10405         * BufferView2.C:
10406         * BufferView_pimpl.C:
10407         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10408
10409 2002-08-25  John Levon  <levon@movementarian.org>
10410
10411         * LyXAction.C: fix margin note description
10412
10413 2002-08-24  John Levon  <levon@movementarian.org>
10414
10415         * buffer.C:
10416         * bufferlist.C:
10417         * bufferview_funcs.C:
10418         * lyxfont.C:
10419         * undo_funcs.C: cleanups
10420
10421         * lyxfunc.C: disable CUT/COPY when no selection
10422
10423 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10424
10425         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10426         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10427
10428         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10429         Add backward compatibility to "mono", "gray" and "no".
10430
10431 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10432
10433         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10434         (and file_format >= 200).
10435
10436 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10437
10438         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10439
10440 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10441
10442         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10443
10444 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10445
10446         * BufferView_pimpl.C:
10447         * LyXAction.C:
10448         * buffer.C:
10449         * commandtags.h:
10450         * lyxfunc.C:
10451         * paragraph.[Ch]:
10452         * text2.C:
10453         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10454         inset and code to make it  work with the paragraph code. The inset
10455         can be anywhere in the paragraph, but will only do the expected
10456         thing in LaTeX if the layout file contains the parameter line
10457                         OptionalArgs    1
10458         (or more generally, a nonzero value) for that layout.
10459
10460 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10461
10462         * paragraph.h: remove the declaration of undefined counters class
10463         function.
10464
10465 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10466
10467         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10468         Dr. Richard Hawkins.
10469
10470 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10471
10472         * paragraph_funcs.h: remove some unneeded includes
10473
10474         * text.C (backspace): pasteParagraph now in global scipe
10475
10476         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10477         (pasteSelection): ditto
10478
10479         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10480         * paragraph_funcs.C (pasteParagraph): ... here
10481
10482 2002-08-20  André Pönitz <poenitz@gmx.net>
10483
10484         * commandtags.h: new LFUNs for swapping/copying table row/colums
10485
10486         * LyXAction.C:
10487         * lyxfunc.C: support for new lfuns
10488
10489 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10490
10491         * tabular.C:
10492         * buffer.[Ch]: remove NO_COMPABILITY stuff
10493
10494 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10495
10496         * boost.C (throw_exception): new file, with helper function for
10497         boost compiled without exceptions.
10498
10499         * paragraph.h:
10500         * lyxlength.C:
10501         * buffer.C:
10502         * ParameterStruct.h:
10503         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10504
10505         * bufferlist.C (emergencyWriteAll): use boost bind
10506
10507         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10508
10509         * text.C: include paragraph_funcs.h
10510         (breakParagraph): breakParagraph is now in global scope
10511
10512         * paragraph_funcs.[Ch]: new files
10513
10514         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10515         global scope
10516
10517         * buffer.C: include paragraph_funcs.h
10518         (insertStringAsLines): breakParagraph is now in global scope
10519
10520         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10521         paragraph_funcs.C
10522
10523         * CutAndPaste.C: include paragraph_funcs.h
10524         (cutSelection): breakParagraphConservative is now in global scope
10525         (pasteSelection): ditto
10526
10527         * buffer.h: declare oprator== and operator!= for
10528         Buffer::inset_iterator
10529
10530         * bufferlist.C (emergencyWrite): don't use fmt(...)
10531
10532         * text3.C: add using std::endl
10533
10534         * BufferView.C (moveCursorUpdate): remove default arg
10535
10536 2002-08-20  André Pönitz <poenitz@gmx.net>
10537
10538         * buffer.[Ch]: move inline functions to .C
10539
10540         * BufferView2.C:
10541         * BufferView_pimpl.C:
10542         * text.C:
10543         * buffer.[Ch]: use improved inset_iterator
10544
10545         * buffer.C:
10546         * paragraph.[Ch]: write one paragraph at a time
10547
10548 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10549
10550         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10551         style if style is not specified.
10552
10553 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10554
10555         * text2.C (setCounter): when searching for right label for a
10556         caption, make sure to recurse to parent insets (so that a caption
10557         in a minipage in a figure float works) (bug #568)
10558
10559 2002-08-20  André Pönitz <poenitz@gmx.net>
10560
10561         * text3.C: new file for LyXText::dispatch() and helpers
10562
10563         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10564
10565         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10566
10567 2002-08-19  André Pönitz <poenitz@gmx.net>
10568
10569         * lyxtext.h:
10570         * text.C: new LyXText::dispatch()
10571
10572         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10573
10574 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10575
10576         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10577
10578         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10579         Hebrew text.
10580
10581 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10582
10583         * Makefile.am: use $(variables) instead of @substitutions@
10584
10585 2002-08-15  André Pönitz <poenitz@gmx.net>
10586
10587         * lyxfunc.C:
10588         * BufferView_pimpl.C: streamlining mathed <-> outer world
10589         interaction
10590
10591         * commandtags.h:
10592         * LyXAction.C: remove unused LFUN_MATH
10593
10594 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10595
10596         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10597
10598 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10599
10600         * paragraph.C (Paragraph): reformat a bit
10601         (cutIntoMinibuffer): use builtin InsetList function instad of
10602         doing it manually.
10603         (getInset): ditto
10604
10605         * buffer.C: include boost/bind.hpp, add using std::for_each
10606         (writeFileAscii): use ParagraphList iterators
10607         (validate): use for_each for validate traversal of paragraphs
10608         (getBibkeyList): use ParagraphList iterators
10609         (resizeInsets): use for_each to resizeInsetsLyXText for all
10610         paragraphs.
10611         (getParFromID): use ParagraphList iterators
10612
10613         * BufferView2.C (lockInset): use paragraph list and iterators
10614
10615 2002-08-14  John Levon  <levon@movementarian.org>
10616
10617         * lyxserver.C: remove spurious xforms include
10618
10619 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10620
10621         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10622
10623 2002-08-13  André Pönitz <poenitz@gmx.net>
10624
10625         * LyXAction.[Ch]:
10626         * lyxfunc.C: further cleaning
10627
10628 2002-08-13  André Pönitz <poenitz@gmx.net>
10629
10630         * funcrequest.h: new constructor
10631
10632         * funcrequest.C: move stuff here from .h
10633
10634         * Makefile.am:
10635         * BufferView_pimpl.C:
10636         * LyXAction.C:
10637         * toc.C:
10638         * lyxfunc.C: subsequent changes
10639
10640         * lyxfunc.h: new view() member function
10641
10642         * lyxfunc.C: subsequent changes
10643
10644 2002-08-13  Angus Leeming  <leeming@lyx.org>
10645
10646         * BufferView2.C:
10647         * BufferView_pimpl.C:
10648         * buffer.C:
10649         * converter.C:
10650         * importer.C:
10651         * lyxfunc.C:
10652         * lyxvc.C:
10653         * toc.C:
10654         * vc-backend.C:
10655         changes due to the changed LyXView interface that now returns references
10656         to member variables not pointers.
10657
10658 2002-08-13  Angus Leeming  <leeming@lyx.org>
10659
10660         * WordLangTuple (word, lang_code): return references to strings,
10661         not strings.
10662
10663         * BufferView.h:
10664         * SpellBase.h:
10665         * lyxtext.h: forward-declare WordLangTuple.
10666
10667         * BufferView2.C:
10668         * ispell.C:
10669         * pspell.C:
10670         * text.C: #include "WordLangTuple.h".
10671
10672         * lyxtext.h:
10673         * text.C: (selectNextWordToSpellcheck): constify return type.
10674
10675 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10676
10677         * buffer.C:
10678         * buffer.h:
10679         * lyxtext.h:
10680         * paragraph.C:
10681         * paragraph_pimpl.h:
10682         * text.C:
10683         * text2.C:
10684         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10685         suggested by Angus.
10686         Made updateCounter always count from start of buffer, and removed
10687         second argument (par).
10688         Reverted floats number display to '#'. Perhaps I'll try again when the
10689         code base is sanitized a bit.
10690
10691 2002-08-12  Angus Leeming  <leeming@lyx.org>
10692
10693         * buffer.[Ch] (getLabelList): constify.
10694
10695 2002-08-07  André Pönitz <poenitz@gmx.net>
10696
10697         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10698
10699         * funcrequest.h: extension to keep mouse (x,y) position
10700
10701 2002-08-12  Juergen Vigna  <jug@sad.it>
10702
10703         * BufferView2.C (insertErrors): forbid undo when inserting error
10704         insets.
10705
10706         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10707
10708 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10709
10710         * ParagraphList.[Ch]: new files
10711
10712         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10713
10714         * BufferView2.C (lockInset): ParagraphList changes
10715         * toc.C: ditto
10716         * text2.C: ditto
10717         * bufferlist.C: ditto
10718         * buffer.h: ditto
10719         * buffer.C: ditto
10720
10721 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10722
10723         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10724         unused class variable counter_,
10725
10726         * paragraph.[Ch] (getFirstCounter): delete unused function
10727
10728         * counters.C: include LAssert.h
10729         (reset): add a new function with no arg, change other version to
10730         not have def. arg and to not allow empty arg.
10731
10732         * text2.C (setCounter): remove empty arg from call to Counters::reset
10733
10734 2002-08-11  John Levon  <levon@movementarian.org>
10735
10736         * Makefile.am: add WordLangTuple.h
10737
10738 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10739
10740         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10741         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10742
10743         * insets/insettext.C: InsetList changes
10744
10745         * graphics/GraphicsSupport.C (operator()): InsetList changes
10746
10747         * toc.C (getTocList): InsetList changes
10748
10749         * paragraph_pimpl.[Ch]: InsetList changes
10750
10751         * paragraph.[Ch]: InsetList changes
10752
10753         * buffer.C (inset_iterator): InsetList changes
10754         (setParagraph): ditto
10755         * buffer.h (inset_iterator): ditto
10756         * iterators.C (operator++): ditto
10757         * iterators.h: ditto
10758
10759         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10760
10761         * InsetList.[Ch]: new files, most InsetList handling moved out of
10762         paragraph.C.
10763
10764         * BufferView2.C (removeAutoInsets): InsetList changes
10765         (lockInset): ditto
10766         (ChangeInsets): ditto
10767
10768 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10769
10770         * paragraph_pimpl.h (empty): new function
10771
10772         * paragraph.[Ch] (empty): new function
10773
10774         * other files: use the new Paragraph::empty function
10775
10776 2002-08-09  John Levon  <levon@movementarian.org>
10777
10778         * lyxtext.h: remove unused refresh_height
10779
10780 2002-08-09  John Levon  <levon@movementarian.org>
10781
10782         * Makefile.am:
10783         * sgml.h:
10784         * sgml.C:
10785         * buffer.C:
10786         * paragraph.h:
10787         * paragraph.C: move sgml char escaping out of paragraph
10788
10789         * paragraph.h:
10790         * paragraph.C: remove id setter
10791
10792         * buffer.C:
10793         * paragraph.C:
10794         * paragraph_pimpl.C: remove dead tex_code_break_column
10795
10796         * bufferview_funcs.C: small cleanup
10797
10798         * lyxfunc.C: remove dead proto
10799
10800         * lyxtext.h: make some stuff private. Remove some dead stuff.
10801
10802         * lyxgluelength.C: make as[LyX]String() readable
10803
10804 2002-08-08  John Levon  <levon@movementarian.org>
10805
10806         * LyXAction.h:
10807         * LyXAction.C:
10808         * MenuBackend.C:
10809         * ToolbarDefaults.C:
10810         * lyxfunc.C:
10811         * lyxrc.C:
10812         * toc.C: lyxaction cleanup
10813
10814 2002-08-08  John Levon  <levon@movementarian.org>
10815
10816         * BufferView2.C: small cleanup
10817
10818         * lyxfind.h:
10819         * lyxfind.C: move unnecessary header into the .C
10820
10821 2002-08-08  John Levon  <levon@movementarian.org>
10822
10823         * funcrequest.h: just tedious nonsense
10824
10825         * lyx_main.h:
10826         * lyx_main.C: cleanups
10827
10828         * buffer.C:
10829         * vspace.C: remove dead header lyx_main.h
10830
10831 2002-08-07  Angus Leeming  <leeming@lyx.org>
10832
10833         * Paragraph.[Ch]:
10834         * paragraph_pimpl.h:
10835         Forward declare class Counters in paragraph.h by moving the ctrs member
10836         variable into Paragraph::Pimpl.
10837         (counters): new method, returning a reference to pimpl_->ctrs.
10838
10839         * text2.C: ensuing changes.
10840
10841 2002-08-07  John Levon  <levon@movementarian.org>
10842
10843         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10844
10845         * BufferView_pimpl.C: announce X selection on double/triple
10846           click
10847
10848         * lyx_main.C: use correct bool in batch dispatch
10849
10850         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10851
10852 2002-08-07  André Pönitz <poenitz@gmx.net>
10853
10854         * funcrequest.h: new class to wrap a kb_action and its argument
10855
10856         * BufferView.[Ch]:
10857         * BufferView_pimpl[Ch]:
10858         * LaTeX.C:
10859         * LyXAction.[Ch]:
10860         * lyxfunc.[Ch]:
10861         * lyxrc.C: subsequent changes
10862
10863
10864 2002-08-07  John Levon  <levon@movementarian.org>
10865
10866         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10867           document options change.
10868
10869 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10870
10871         * counters.[Ch]
10872         * text2.C
10873         * paragraph.[Ch]
10874         * makefile.am: move counters functionality over from
10875         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10876
10877 2002-08-06  John Levon  <levon@movementarian.org>
10878
10879         * WordLangTuple.h: new file for word + language code tuple
10880
10881         * SpellBase.h:
10882         * pspell.h:
10883         * pspell.C:
10884         * ispell.h:
10885         * ispell.C:
10886         * lyxtext.h:
10887         * text.C:
10888         * text2.C:
10889         * BufferView.h:
10890         * BufferView2.C: use WordLangTuple
10891
10892         * layout.h:
10893         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10894
10895 2002-08-06  John Levon  <levon@movementarian.org>
10896
10897         * lyx_main.C: fix cmdline batch handling
10898
10899 2002-08-06  André Pönitz <poenitz@gmx.net>
10900
10901         * lyxrc.C: set default for show_banner to true
10902
10903 2002-08-06  John Levon  <levon@movementarian.org>
10904
10905         * pspell.C: fix a crash, and allow new aspell to work
10906
10907 2002-08-06  John Levon  <levon@movementarian.org>
10908
10909         * lyxfunc.C:
10910         * kbmap.C: small cleanup
10911
10912         * vspace.h:
10913         * vspace.C: add const
10914
10915 2002-08-05  John Levon  <levon@movementarian.org>
10916
10917         * LyXAction.C: back to tabular-insert
10918
10919 2002-08-04  John Levon  <levon@movementarian.org>
10920
10921         * BufferView.h:
10922         * BufferView.C: cosmetic change
10923
10924         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10925
10926         * bufferlist.C:
10927         * buffer.h:
10928         * buffer.C:
10929         * lyxcb.h:
10930         * lyxcb.C:
10931         * lyxserver.C:
10932         * lyxvc.C:
10933         * vc-backend.C:
10934         * BufferView2.C: purge all "Lyx" not "LyX" strings
10935
10936         * lyxcursor.h:
10937         * lyxcursor.C: attempt to add some documentation
10938
10939         * lyxfunc.C:
10940         * commandtags.h:
10941         * LyXAction.C:
10942         * ToolbarDefaults.C:
10943         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10944           merge with LFUN_TABULAR_INSERT
10945
10946         * Makefile.am:
10947         * SpellBase.h:
10948         * ispell.h:
10949         * ispell.C:
10950         * pspell.h:
10951         * pspell.C: split up i/pspell implementations into separate
10952           files, many cleanups
10953
10954         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10955
10956         * text2.C: some cleanup
10957
10958         * lyxfunc.C: don't check for isp_command == "none" any more, it
10959           didn't make any sense
10960
10961 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10962
10963         * counters.[Ch]
10964         * text2.C
10965         * paragraph.[Ch]
10966         * makefile.am: move counters functionality over
10967         from text2.C/paragraph.[Ch] to counters.[Ch], and
10968         make proper C++.
10969 2002-08-02  John Levon  <levon@movementarian.org>
10970
10971         * buffer.C: s/lyxconvert/lyx2lyx/
10972
10973 2002-08-02  Angus Leeming  <leeming@lyx.org>
10974
10975         * lyxlex.C: revert John's change as it breaks reading of the user
10976         preamble.
10977
10978 2002-08-02  Angus Leeming  <leeming@lyx.org>
10979
10980         * importer.C (Import):
10981         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10982         changes due to LyXView::view() now returning a boost::shared_ptr.
10983
10984 2002-08-02  John Levon  <levon@movementarian.org>
10985
10986         * lyxlex.C: small cleanup
10987
10988 2002-08-02  John Levon  <levon@movementarian.org>
10989
10990         * text2.C (status): small cleanup, no logic change
10991
10992 2002-08-01  John Levon  <levon@movementarian.org>
10993
10994         * buffer.h:
10995         * buffer.C (writeFile): don't output alerts, caller
10996           handles this
10997
10998         * bufferlist.C:
10999         * lyx_cb.C: from above
11000
11001         * lyxfunc.C: allow to open non-existent files
11002
11003 2002-07-31  John Levon  <levon@movementarian.org>
11004
11005         * lyxserver.C: don't let incidental errors get
11006           in the way (errno)
11007
11008 2002-07-30  John Levon  <levon@movementarian.org>
11009
11010         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11011
11012 2002-07-30  John Levon  <levon@movementarian.org>
11013
11014         * lyxserver.h:
11015         * lyxserver.C: remove I/O callback too
11016
11017 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11018
11019         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11020         log.
11021
11022 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11023
11024         * many files: strip,frontStrip -> trim,ltrim,rtrim
11025
11026 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11027
11028         * PrinterParams.h: remove extern containsOnly, and include
11029         support/lstrings.h instead.
11030
11031         * LaTeX.C (scanAuxFile): modify because of strip changes
11032         (deplog): ditto
11033         * buffer.C (makeLaTeXFile): ditto
11034         * bufferparams.C (writeFile): ditt
11035         * lyxfont.C (stateText): ditto
11036         * lyxserver.C (read_ready): ditto
11037         * vc-backend.C (scanMaster): ditto
11038
11039         * BufferView_pimpl.h: ws changes
11040
11041         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11042
11043 2002-07-26  André Pönitz <poenitz@gmx.net>
11044
11045         * kb_sequence.C: remove unnedred usings
11046
11047 2002-07-26  Juergen Vigna  <jug@sad.it>
11048
11049         * lyxfind.C (LyXReplace): we have to check better if the returned
11050         text is not of theLockingInset()->getLockingInset().
11051
11052 2002-07-25  Juergen Vigna  <jug@sad.it>
11053
11054         * lyxfind.C (LyXReplace): don't replace if we don't get the
11055         right LyXText.
11056
11057         * undo_funcs.C (createUndo): remove debugging code.
11058
11059 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11060
11061         * buffer.C (parseSingleLyXformat2Token): Use default placement
11062         when reading old floats.
11063
11064         * FloatList.C (FloatList): Change the default placement of figure
11065         and tables to "tbp".
11066
11067 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11068
11069         * MenuBackend.C: using std::max
11070
11071 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11072
11073         * MenuBackend.C (expandToc):
11074         (expandToc2): code moved from xforms menu frontend. It is now
11075         generic and TOCs are transparent to menu frontends.
11076
11077 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11078
11079         * toc.C (getTocList): protect against buf=0
11080
11081         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11082         Menu as first parameter. Now, this calls itself recursively to
11083         expand a whole tree (this will be useful for TOC handling)
11084         (expandFloatInsert): remove 'wide' version of floats
11085
11086         * MenuBackend.h (submenuname): returns the name of the submenu.
11087         (submenu): returns the submenu itself, provided it has been
11088         created by MenuBackend::expand
11089
11090 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11091
11092         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11093         insets which have noFontChange == true. (bug #172)
11094
11095 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11096
11097         * BufferView_pimpl.C: add connection objects and use them...
11098         (Pimpl): here.
11099
11100 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11101
11102         * MenuBackend.C (expandLastfiles):
11103         (expandDocuments):
11104         (expandFormats):
11105         (expandFloatListInsert):
11106         (expandFloatInsert):
11107         (expand): split expand in parts
11108
11109 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11110
11111         * lyx_gui.C: use lyx_gui::exit()
11112
11113 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11114
11115         * LyXAction.C: show the failing pseudo action
11116
11117 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11118
11119         * buffer.C (readFile): Run the lyxconvert script in order to read
11120         old files.
11121
11122 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11123
11124         * LyXAction.C:
11125         * commandtags.h:
11126         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11127
11128 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11129
11130         * LyXAction.C:
11131         * commandtags.h:
11132         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11133
11134 2002-07-22  Herbert Voss  <voss@lyx.org>
11135
11136         * lengthcommon.C:
11137         * lyxlength.[Ch]: add support for the vertical lengths
11138
11139 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11140
11141         * toc.[Ch]: std:: fixes
11142
11143 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11144
11145         * lyxrc.C: do not include lyx_main.h
11146
11147         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11148         for layouts
11149
11150         * lyxrc.C:
11151         * encoding.C:
11152         * bufferlist.C:
11153         * BufferView2.C: include "lyxlex.h"
11154
11155         * tabular.h:
11156         * bufferparams.h: do not #include "lyxlex.h"
11157
11158         * lyxtextclasslist.C (Add): remove method
11159         (classlist): renamed to classlist_
11160
11161         * paragraph_pimpl.C:
11162         * paragraph.C:
11163         * text2.C:
11164         * CutAndPaste.C:
11165         * bufferview_funcs.C:
11166         * bufferlist.C:
11167         * text.C:
11168         * LaTeXFeatures.C:
11169         * buffer.C:
11170         * toc.C (getTocList): use BufferParams::getLyXTextClass
11171
11172         * toc.C (getTocList): use InsetFloat::addToToc
11173
11174         * toc.[Ch]: new files, containing helper functions to handle table
11175         of contents
11176
11177         * lyxfunc.C (dispatch): no need to remove spaces around command
11178         given as a string
11179         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11180         first command of the sequence; it is not very clever, but I do not
11181         have a better idea, actually
11182
11183         * LyXAction.C (LookupFunc): make sure to remove space at the
11184         beginning and end of the command
11185
11186 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11187
11188         * MenuBackend.C (getMenubar): new method: return the menubar of
11189         this menu set
11190         (read): treat differently reading of menu and menubar (in
11191         particular, the menubar has no name now)
11192         (Menu::menubar): remove
11193
11194         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11195         saving is finished
11196
11197 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11198
11199         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11200         a bibitem inset in a RTL paragraph.
11201
11202 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11203
11204         * paragraph_pimpl.C: constify
11205
11206         * BufferView_pimpl.C:
11207         * LaTeX.C:
11208         * lyxfunc.C: fix dispatch in a nicer way
11209
11210 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11211
11212         * lyxfunc.C (dispatch):
11213         * BufferView_pimpl.C:
11214         * BufferView_pimpl.h:
11215         * BufferView.C:
11216         * BufferView.h: rename Dispatch() to dispatch()
11217
11218         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11219
11220         * lyxlayout.C (Read): honor DependsOn tag
11221
11222         * lyxlayout.[Ch] (depends_on): new method
11223
11224         * version.C.in: update lyx_docversion
11225
11226         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11227
11228         * paragraph.C (validate): remove from here...
11229         * paragraph_pimpl.C (validate): ... and move here
11230         (isTextAt): make it const
11231
11232         * buffer.C (getLists): ws cleanup
11233
11234 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11235
11236         * language.C (read): Use iso8859-1 encoding in latex_lang
11237         (this prevents LyX from crashing when using iso10646-1 encoding).
11238
11239 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11240
11241         * text2.C (toggleInset): if cursor is inside an inset, close the
11242         inset and leave cursor _after_ it
11243
11244 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11245
11246         * lyxfunc.C: move minibuffer completion handling out of here
11247
11248 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11249
11250         * BufferView_pimpl.C:
11251         * LaTeX.C: fix dispatch calls
11252
11253 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11254
11255         * text.C (drawChars): Fix Arabic text rendering.
11256
11257 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11258
11259         * LyXAction.C:
11260         * commandtags.h:
11261         * lyxfunc.C: remove message-push/pop
11262
11263         * lyxserver.C:
11264         * lyxfunc.h:
11265         * lyxfunc.C: rationalise some code by removing verboseDispatch
11266           in favour of a bool argument to dispatch()
11267
11268 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11269
11270         * lyx_main.C (init): make sure to read symlinks as absolute paths
11271
11272 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11273
11274         * lyxfunc.h:
11275         * lyxfunc.C: no need for commandshortcut to be a member
11276
11277 2002-07-15  André Pönitz <poenitz@gmx.net>
11278
11279         * converter.C: add support for $$s (scripts from lib/scripts dir)
11280         * lyx_main.C: white space
11281
11282 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11283
11284         * bufferlist.C:
11285         * lyxrc.h:
11286         * lyxrc.C: remove second exit confirmation
11287
11288 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11289
11290         * BufferView.h:
11291         * BufferView.C:
11292         * BufferView2.C:
11293         * BufferView_pimpl.h:
11294         * BufferView_pimpl.C:
11295         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11296
11297 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11298
11299         * MenuBackend.C (expand): add numeric shortcuts to document menu
11300
11301         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11302
11303 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11304
11305         * lyxfont.C (setLyXFamily):
11306         (setLyXSeries):
11307         (setLyXShape):
11308         (setLyXSize):
11309         (setLyXMisc):
11310         (lyxRead):
11311         * debug.C (value):
11312         * buffer.C (asciiParagraph): use ascii_lowercase
11313
11314 2002-07-15  Mike Fabian  <mfabian@suse.de>
11315
11316         * lyxlex_pimpl.C (search_kw):
11317         * lyxlex.C (getLongString):
11318         * converter.h (operator<):
11319         * converter.C (operator<):
11320         * buffer.C (parseSingleLyXformat2Token):
11321         (asciiParagraph):
11322         * ToolbarDefaults.C (read):
11323         * MenuBackend.C (checkShortcuts):
11324         (read):
11325         * LColor.C (getFromGUIName):
11326         (getFromLyXName): use the compare_ascii_no_case instead of
11327         compare_no_case, because in turkish, 'i' is not the lowercase
11328         version of 'I', and thus turkish locale breaks parsing of tags.
11329
11330 2002-07-16  Angus Leeming  <leeming@lyx.org>
11331
11332         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11333         now takes a Buffer const & argument.
11334
11335 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11336
11337         * BufferView.C (resize): check there's a buffer to resize
11338
11339 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11340
11341         * lyxfunc.C: remove dead code
11342
11343         * lyxserver.h:
11344         * lyxserver.C: use lyx_guii::set_read_callback
11345
11346 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11347
11348         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11349         an inset in a RTL paragraph.
11350
11351 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11352
11353         * lyxfunc.C: repaint after a font size update
11354
11355 2002-07-15  André Pönitz <poenitz@gmx.net>
11356
11357         * lyxlength.C: inBP should be able to return negative values
11358
11359 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11360
11361         * lyxfunc.C: use lyx_gui::update_fonts()
11362
11363 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11364
11365         * lyxfunc.C: use lyx_gui::update_color()
11366
11367 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11368
11369         * bufferlist.C:
11370         * lyxfunc.h:
11371         * lyxfunc.C:
11372         * lyxrc.h:
11373         * lyxrc.C: remove file->new asks for name option, and let
11374           buffer-new take an argument
11375
11376 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11377
11378         * BufferView_pimpl.C: remove unneeded extra repaint()
11379
11380 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11381
11382         * LyXAction.C: allow command-sequence with NoBuffer
11383
11384         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11385
11386 2002-07-10  Angus Leeming  <leeming@lyx.org>
11387
11388         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11389
11390 2002-07-09  Angus Leeming  <leeming@lyx.org>
11391
11392         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11393
11394 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11395
11396         * lengthcommon.h: whitespace
11397
11398         * lyxfunc.C: update scrollbar after goto paragraph
11399
11400         * lyxtext.h: factor out page break drawing, and fix it so
11401           page break/added space paints as selected nicely
11402
11403 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11404
11405         * BufferView_pimpl.C: add FIXMEs, clean up a little
11406
11407 2002-07-09  André Pönitz <poenitz@gmx.net>
11408
11409         * lyxfont.[Ch]: support for wasy symbols
11410
11411 2002-07-08  André Pönitz <poenitz@gmx.net>
11412
11413         * BufferView_pimpl.C: apply John's patch for #93.
11414
11415 2002-07-05  Angus Leeming  <leeming@lyx.org>
11416
11417         * BufferView_pimpl.C (buffer): generate previews if desired.
11418
11419         * LColor.h: add "preview" to the color enum.
11420
11421         * LColor.C (LColor): add a corresponding entry to the items array.
11422
11423         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11424         with this buffer.
11425
11426 2002-07-05  Angus Leeming  <leeming@lyx.org>
11427
11428         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11429         The body of the code is now in the method that is passed an ostream &
11430         rather than a file name.
11431         Pass an additional only_preamble parameter, useful for the forthcoming
11432         preview stuff.
11433
11434 2002-07-03  André Pönitz <poenitz@gmx.net>
11435
11436         * lyxfunc.C: simplify getStatus() a bit for math stuff
11437
11438 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11439
11440         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11441
11442 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11443
11444         * text.C (changeRegionCase): do not change case of all the
11445         document when region ends at paragraph end (bug #461)
11446
11447 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11448
11449         * paragraph.C (startTeXParParams):
11450         (endTeXParParams): add \protect when necessary
11451
11452 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11453
11454         * BufferView_pimpl.C (workAreaExpose): remove warning
11455
11456 2002-06-27  Angus Leeming  <leeming@lyx.org>
11457
11458         * Makefile.am: add lyxlayout_ptr_fwd.h.
11459
11460 2002-06-26  André Pönitz <poenitz@gmx.net>
11461
11462         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11463
11464 2002-06-25  Angus Leeming  <leeming@lyx.org>
11465
11466         * lyxfunc.C (dispatch): Comment out the call to
11467         grfx::GCache::changeDisplay. The method no longer exists now that the
11468         pixmap generation part of the graphics loader has been moved into
11469         InsetGraphics.
11470
11471 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11472
11473         * text2.C: layout as layout
11474
11475         * text.C: layout as layout
11476
11477         * tabular.C (OldFormatRead): layout as layout
11478
11479         * paragraph_pimpl.C (TeXDeeper): layout as layout
11480         (realizeFont): layout as layout
11481
11482         * paragraph.C (writeFile): layout as layout
11483         (validate): layout as layout
11484         (getFont): layout as layout
11485         (getLabelFont): layout as layout
11486         (getLayoutFont): layout as layout
11487         (breakParagraph): layout as layout
11488         (stripLeadingSpaces): layout as layout
11489         (getEndLabel): layout as layout
11490         (getMaxDepthAfter): layout as layout
11491         (applyLayout): layout as layout
11492         (TeXOnePar): layout as layout
11493         (simpleTeXOnePar): layout as layout
11494         (TeXEnvironment): layout as layout
11495         (layout): layout as layout
11496         (layout): layout as layout
11497
11498         * lyxtextclass.C (compare_name): new functor to work with
11499         shared_ptr, layout as layout
11500         (Read): layout as layout
11501         (hasLayout): layout as layout
11502         (operator): layout as layout
11503         (delete_layout): layout as layout
11504         (defaultLayout): layout as layout
11505
11506         * lyxlayout_ptr_fwd.h: new file
11507
11508         * lyxlayout.C (Read): layout as layout
11509
11510         * lyx_cb.C (MenuInsertLabel): layout as layout
11511
11512         * bufferlist.C (newFile): layout as layout
11513
11514         * buffer.C (readLyXformat2): layout as layout
11515         (parseSingleLyXformat2Token): layout as layout
11516         (insertStringAsLines): layout as layout
11517         (asciiParagraph): layout as layout
11518         (latexParagraphs): layout as layout
11519         (makeLinuxDocFile): layout as layout
11520         (simpleLinuxDocOnePar): layout as layout
11521         (makeDocBookFile): layout as layout
11522         (simpleDocBookOnePar): layout as layout
11523         (getLists): layout as layout
11524
11525         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11526
11527         * CutAndPaste.C (cutSelection): layout as layout
11528         (pasteSelection): layout as layout
11529         (SwitchLayoutsBetweenClasses): layout as layout
11530
11531         * BufferView_pimpl.C (Dispatch): layout as layout
11532         (smartQuote): layout as layout
11533
11534         * BufferView2.C (unlockInset): layout as layout
11535
11536 2002-06-24  André Pönitz <poenitz@gmx.net>
11537
11538         * lyxfunc.C: fix #487
11539
11540 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11541
11542         * lyxrc.h:
11543         * lyxrc.C:
11544         * lyxfunc.C: remove display_shortcuts, show_banner
11545
11546 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11547
11548         * Buffer_pimpl.C: oops, update on resize
11549
11550 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11551
11552         * buffer.C:
11553         * converter.C:
11554         * exporter.C:
11555         * lyxfunc.C:
11556         * BufferView.h:
11557         * BufferView.C: use repaint()
11558
11559         * BufferView_pimpl.h:
11560         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11561           as it's a clearer description. Remove superfluous
11562           redraws.
11563
11564 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11565
11566         * text.C: fix bug 488. Not ideal, but getting
11567           getWord() to work properly for the insets that
11568           matter is more difficult ...
11569
11570 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11571
11572         * BufferView_pimpl.C:
11573         * LyXAction.C:
11574         * commandtags.h:
11575         * lyxfunc.C: remove the six million index lyxfuncs to just
11576           one, and DTRT (bug 458)
11577
11578 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11579
11580         * BufferView.h:
11581         * BufferView.C:
11582         * BufferView_pimpl.h:
11583         * BufferView_pimpl.C: clean up resize() stuff,
11584           and unnecessary updateScreen()s
11585
11586 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11587
11588         * BufferView.h:
11589         * BufferView.C:
11590         * BufferView_pimpl.h:
11591         * BufferView_pimpl.C:
11592         * lyxfind.h:
11593         * lyxfind.C:
11594         * minibuffer.C: remove focus management of workarea,
11595           not needed. Use screen's greyOut()
11596
11597 2002-06-17  Herbert Voss  <voss@lyx.org>
11598
11599         * converter.C: (convert) do not post a message, when converting
11600         fails, let the calling function decide what to do in this case
11601
11602 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11603
11604         * lyxfunc.C: tidy up a little
11605
11606 2002-06-16    <alstrup@diku.dk>
11607
11608         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11609         Got rid of FORMS_H_LOCATION include. Now we are
11610         GUII.
11611
11612 2002-06-15  LyX Development team  <lyx@rilke>
11613
11614         * buffer.[Ch] (sgmlOpenTag):
11615         (sgmlCloseTag): Added support for avoiding pernicious mixed
11616         content. Return number of lines written.
11617
11618         (makeLinuxDocFile):
11619         (makeDocBookFile): Fixed calls to sgml*Tag.
11620         Simple white space clean.
11621
11622         (simpleDocBookOnePar): Simple white space clean.
11623
11624         * tabular.[Ch] (docBook): Renamed to docbook and got another
11625         argument to related with the pernicious mixed content.
11626
11627         (docbookRow): Fixed calls for docbook inset method.
11628
11629 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11630
11631         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11632         so it's X11 independent.
11633
11634         * kb*.[Ch]: ditto.
11635
11636         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11637
11638 2002-06-15  Lyx Development team  <lyx@electronia>
11639
11640         * intl.h: Renamed getTrans to getTransManager.
11641
11642 2002-06-14  Angus Leeming  <leeming@lyx.org>
11643
11644         * Makefile.am: nuke forgotten stl_string_fwd.h.
11645
11646 2002-06-12  Angus Leeming  <leeming@lyx.org>
11647
11648         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11649
11650 2002-06-13  Angus Leeming  <leeming@lyx.org>
11651
11652         * LaTeX.C:
11653         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11654
11655 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11656
11657         * kbmap.C (getiso): add support for cyrillic and greek
11658
11659 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11660
11661         * BufferView.h:
11662         * BufferView.C:
11663         * BufferView_pimpl.h:
11664         * BufferView_pimpl.C: move bogus scrolling logic
11665           to xforms
11666
11667 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11668
11669         * lyxfunc.C:
11670         * BufferView_pimpl.C: view->resize() change
11671
11672 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11673
11674         * BufferView_pimpl.C: topCursorVisible
11675           prototype change
11676
11677 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11678
11679         * Makefile.am:
11680         * lyx_gui.h:
11681         * lyx_gui.C: move to frontends/
11682
11683         * main.C:
11684         * lyx_main.h:
11685         * lyx_main.C: changes from above
11686
11687 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11688
11689         * intl.C:
11690         * intl.h:
11691         * kbmap.C:
11692         * kbsequence.C:
11693         * lyx_cb.C:
11694         * lyx_main.C: minor tidy
11695
11696 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11697
11698         * BufferView_pimpl.h:
11699         * BufferView_pimpl.C:
11700         * BufferView.h:
11701         * BufferView.C: make painter() const,
11702           remove dead code
11703
11704         * BufferView2.C: use screen() accessor
11705
11706         * lyx_main.h:
11707         * lyx_main.C: some minor cleanup
11708
11709 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11710
11711         * BufferView_pimpl.h:
11712         * BufferView_pimpl.C: remove enter/leaveView,
11713           use workHeight()
11714
11715 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11716
11717         * BufferView.h:
11718         * BufferView.C:
11719         * BufferView2.C:
11720         * BufferView_pimpl.h:
11721         * BufferView_pimpl.C: only construct screen once,
11722           rename
11723
11724         * lyxrc.C: remove pointless comment
11725
11726 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11727
11728         * BufferView.h:
11729         * BufferView.C: remove active() and belowMouse()
11730
11731         * BufferView_pimpl.h:
11732         * BufferView_pimpl.C: use workarea() not workarea_,
11733           and make it use a scoped_ptr instead
11734
11735 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11736
11737         * lyx_gui.C: add debug message on BadWindow
11738
11739 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11740
11741         * sp_spell.C: fdopen is not part of the C++ standard.
11742
11743         * paragraph.C (InsetIterator): use >= instead of ==
11744
11745 2002-06-07  Angus Leeming  <leeming@lyx.org>
11746
11747         Fixes needed to compile with Compaq cxx 6.5.
11748         * BufferView_pimpl.C:
11749         * DepTable.C:
11750         * buffer.C:
11751         * converter.C:
11752         * encoding.C:
11753         * lyx_gui.C:
11754         * lyx_main.C:
11755         * lyxtextclasslist.C:
11756         * minibuffer.C:
11757         * sp_spell.C:
11758         * tabular_funcs.C:
11759         * vc-backend.C:
11760         all c-library variables have been moved into namespace std. Wrap
11761         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11762
11763         * lyxlength.C:
11764         * tabular-old.C:
11765         * tabular.C:
11766         Add a using std::abs declaration.
11767
11768         * kbmap.h (modifier_pair):
11769         * paragraph.h (InsetTable, InsetList):
11770         * lyxfont.h (FontBits):
11771         type definition made public.
11772
11773         * bufferlist.C (emergencyWriteAll): the compiler complains that
11774         there is more than one possible lyx::class_fun template to choose from.
11775         I re-named the void specialisation as lyx::void_class_fun.
11776
11777         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11778
11779         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11780         the compiler is is unable to find tostr in write_attribute.
11781
11782 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11783
11784         * buffer.C (sgmlError): hide #warning
11785
11786 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11787
11788         * xtl/*: get rid of xtl, which is not in use anyway
11789
11790         * LyXAction.C (init):
11791         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11792         were unimplemented xtl experimentation
11793
11794 2002-06-04  André Pönitz <poenitz@gmx.net>
11795
11796         * lyxfunc.C: disable array operation on simple formulae
11797
11798 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11799
11800         * converter.C: constify a bit
11801
11802 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11803
11804         * lyx_gui.C: check xforms version correctly
11805
11806 2002-04-30  Herbert Voss  <voss@lyx.org>
11807
11808         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11809         "keep" option
11810
11811 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11812
11813         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11814           attempt to register it with a VCS)
11815
11816 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11817
11818         * lyx_main.C (init): honor variables LYX_DIR_13x and
11819         LYX_USERDIR_13x
11820
11821 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11822
11823         * buffer.h:
11824         * buffer.C:
11825         * lyx_main.C: fix a crash on bad command line,
11826           and give a useful exit status on error
11827
11828         * lyxfunc.C (doImport): allow -i lyx to work
11829
11830 2002-03-30  André Pönitz <poenitz@gmx.net>
11831
11832         * lyxfunc.C: mathed font changes
11833
11834 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11835
11836         * LaTeX.C:
11837         * importer.h:
11838         * importer.C:
11839         * lyx_sty.h:
11840         * lyx_sty.C:
11841         * lyxlex.C:
11842         * lyxrow.h:
11843         * lyxtext.h:
11844         * paragraph.h:
11845         * paragraph.C:
11846         * texrow.h:
11847         * texrow.C:
11848         * text.C:
11849         * trans_mgr.h: srcdocs, and some minor cleanups
11850
11851 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11852
11853         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11854         call getFont all the time)
11855
11856 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11857
11858         * switch from SigC signals to boost::signals
11859
11860 2002-05-29  André Pönitz <poenitz@gmx.net>
11861
11862         * paragraph_pimpl.C (getChar): don't call size() too often...
11863
11864 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11865
11866         * paragraph_pimpl.C (insertChar): do not try to update tables when
11867         appending (pos == size())
11868
11869         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11870         in order to reduce drastically the number of comparisons needed to
11871         parse a large document
11872
11873 2002-05-29  André Pönitz <poenitz@gmx.net>
11874
11875         * text.C:
11876         * text2.C:
11877         * lyxtextclass.C:
11878         * sp_pspell.h:
11879         * textclasslist.[Ch]:
11880         * sp_ispell.h: whitespace change
11881
11882 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11883
11884         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11885         lyxaction directly now.
11886
11887 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11888
11889         * trans.C:
11890         * lyxfont.C:
11891         * lyxvc.C: remove unused headers
11892
11893 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11894
11895         * Makefile.am:
11896         * buffer.h:
11897         * undostack.h:
11898         * undostack.C:
11899         * undo_funcs.h:
11900         * undo_funcs.C: some cleanups. Use shared_ptr
11901           and a template for the undo stacks.
11902
11903 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11904
11905         * BufferView_pimpl.h:
11906         * BufferView_pimpl.C:
11907         * kbmap.h:
11908         * kbmap.C:
11909         * kbsequence.h:
11910         * kbsequence.C:
11911         * lyxfunc.h:
11912         * lyxfunc.C:
11913         * text2.C: use key_state/mouse_state
11914
11915 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11916
11917         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11918         and LSubstring
11919
11920         * chset.C: change include order
11921         (loadFile): use boost regex and get rid of LRegex and LSubstring
11922
11923         * Makefile.am (BOOST_LIBS): new variable
11924         (lyx_LDADD): use it
11925
11926         * LaTeX.C: change include order.
11927         (scanAuxFile): use boost regex and get rid of LRegex and
11928         LSubstring
11929         (deplog): ditto
11930
11931 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11932
11933         * ColorHandler.h:
11934         * ColorHandler.C:
11935         * FontInfo.h:
11936         * FontInfo.C: moved to frontends/xforms/
11937
11938         * FontLoader.h:
11939         * FontLoader.C: moved into frontends for GUIIzation
11940
11941         * Makefile.am:
11942         * lyx_gui.C:
11943         * lyxfont.C:
11944         * lyxfunc.C: changes from above
11945
11946 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11947
11948         * LColor.C: remove spurious X include
11949
11950         * BufferView_pimpl.C:
11951         * Makefile.am:
11952         * font.h:
11953         * font.C:
11954         * text.C:
11955         * text2.C: move font metrics to frontends/
11956
11957 2002-05-24  Juergen Vigna  <jug@sad.it>
11958
11959         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11960         setting the undo_cursor.
11961
11962         * ParagraphParameters.h: include local includes first.
11963
11964 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11965
11966         * BufferView_pimpl.C:
11967         * BufferView_pimpl.h:
11968         * Makefile.am:
11969         * WorkArea.h:
11970         * WorkArea.C:
11971         * screen.C: move WorkArea into frontends/
11972
11973         * lyxscreen.h:
11974         * screen.C:
11975         * text.C:
11976         * BufferView.C:
11977         * BufferView2.C: move LyXScreen into frontends/
11978
11979         * lyxlookup.h:
11980         * lyxlookup.C:
11981         * lyx_gui.C: move lyxlookup into frontends/xforms/
11982
11983 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11984
11985         * BufferView2.C:
11986         * BufferView_pimpl.C:
11987         * FontLoader.C:
11988         * LyXView.h:
11989         * LyXView.C:
11990         * Makefile.am:
11991         * WorkArea.C:
11992         * XFormsView.h:
11993         * XFormsView.C:
11994         * buffer.C:
11995         * bufferlist.C:
11996         * bufferview_funcs.C:
11997         * converter.C:
11998         * importer.C:
11999         * lyx_cb.C:
12000         * lyx_gui.C:
12001         * lyx_main.C:
12002         * lyx_find.C:
12003         * lyxfunc.C:
12004         * lyxvc.C:
12005         * minibuffer.C:
12006         * text.C:
12007         * text2.C:
12008         * trans.C:
12009         * vc-backend.C: move LyX/XFormsView into frontends/
12010
12011 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12012
12013         * Makefile.am:
12014         * PainterBase.C:
12015         * PainterBase.h:
12016         * Painter.C:
12017         * Painter.h:
12018         * WorkArea.C:
12019         * WorkArea.h:
12020         * screen.C:
12021         * tabular.C:
12022         * text.C:
12023         * text2.C: move Painter to frontends/
12024
12025 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12026
12027         * buffer.C: comment out some some code that depend upon lyx_format
12028         < 220
12029
12030         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12031         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12032
12033         * buffer.h (NO_COMPABILITY): turn off compability
12034
12035         * ColorHandler.C: include scoped_array.hpp
12036
12037         * font.C: Use more specific smart_ptr header.
12038         * Painter.C: ditto
12039         * gettext.C: ditto
12040         * ShareContainer.h: ditto
12041         * lyx_main.h: ditto
12042         * kbmap.h: ditto
12043         * FontInfo.h: ditto
12044         * BufferView_pimpl.h: ditto
12045         * ColorHandler.h: ditto
12046
12047         * kbmap.C (defkey): change call to shared_ptr::reset
12048
12049 2002-05-21  Juergen Vigna  <jug@sad.it>
12050
12051         * buffer.C (insertErtContents): fix to insert ert asis if it is
12052         non empty. Skip it completely if it contains only whitespaces.
12053
12054 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12055
12056         * BufferView_pimpl.C:
12057         * BufferView2.C: clear selection on paste (bug 393)
12058
12059 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12060
12061         * DepTable.C: include ctime
12062
12063 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12064
12065         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12066
12067 2002-05-14  Juergen Vigna  <jug@sad.it>
12068
12069         * text.C (breakParagraph): fixed function to honor the keepempty
12070         layout in the right maner and also to permit the right breaking
12071         algorithm on empty or non empyt keepempty paragraphs.
12072
12073         * paragraph.C (breakParagraph): we have to check also if the par
12074         is really empty (!size()) for isempty otherwise we do the wrong
12075         paragraph break.
12076
12077 2002-05-10  Juergen Vigna  <jug@sad.it>
12078
12079         * buffer.[Ch] : The following are only changes to the ert
12080         compatibility read reading old LaTeX layout and font stuff and
12081         convert it to ERTInsets.
12082
12083         * buffer.h: added isErtInset().
12084
12085         * buffer.C (struct ErtComp): add a fromlayout bool to check
12086         if we're inside a LaTeX layout.
12087         (isErtInset): new helper function.
12088         (insertErtContents): look for other ert insets before this one
12089         and insert the contents there, so that we don't have subsequent
12090         ERT insets with nothing between them. This way we create only one
12091         inset with multiple paragraphs. Also check if we don't insert only
12092         spaces ' ' as they are ignored anyway afterwards in the .tex file
12093         so if we have only spaces we will ignore this latex part in the
12094         new file.
12095         (parseSingleLyXformat2Token \\layout): better compatibility when
12096         reading layout-latex stuff.
12097         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12098         language tag.
12099         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12100         stuff after reading the inset only get the information back from
12101         the stack.
12102
12103 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12104
12105         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12106
12107         * LaTeXFeatures.C (getBabelOptions): New method.
12108
12109 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12110
12111         * BufferView_pimpl.C (Dispatch): work around missing argument for
12112         'layout'
12113
12114 2002-05-08  Juergen Vigna  <jug@sad.it>
12115
12116         * text.C (leftMargin): handle paragraph leftindent.
12117
12118         * paragraph.C (writeFile): write the new \\leftindent tag.
12119         (validate): handle leftindent code.
12120         (TeXEnvironment): handle paragraphleftindent code again.
12121
12122         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12123
12124         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12125         for paragrap_extra indent code and new token \\leftindent.
12126         (latexParagraphs): handle the leftindent as environment.
12127
12128         * ParameterStruct.h: added leftindent support.
12129
12130         * ParagraphParameters.C (leftIndent): added support functions for
12131         the paragraph left indent.
12132
12133         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12134         more appropriate.
12135
12136 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12137
12138         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12139         inside insetERT.
12140
12141         * text.C (computeBidiTables): No bidi in insetERT.
12142
12143         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12144         in RTL documents.
12145
12146 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12147
12148         * version.C.in: pre 5
12149
12150 2002-05-02  José Matos  <jamatos@fep.up.pt>
12151         * buffer.C (makeDocBookFile): white space changes, add newline to
12152         command styles.
12153         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12154
12155         * tabular.C (docBook): fix typo.
12156
12157 2002-05-03  Juergen Vigna  <jug@sad.it>
12158
12159         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12160         change in LyXText as we can not be sure it was not freed.
12161         (drawOneRow): remove unused code.
12162
12163         * text.C (drawInset): redo the calculation of the need_break_row as
12164         it could have a row which was already freed.
12165         (draw): look at the return value of drawInset and return false if
12166         it also returned false.
12167         (paintRowText): look at the return value of draw and return false if
12168         it also returned false.
12169
12170         * lyxtext.h: added bool return type to drawInset() and draw() so that
12171         if we have a change in the row so that the rowbreak has to be redone
12172         we abort drawing as it will be called again.
12173
12174 2002-05-02  Juergen Vigna  <jug@sad.it>
12175
12176         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12177         a change in the maintext also if we're inside an inset.
12178         (Dispatch): set the cursor again after a break line and after the
12179         screen has been updated as it could be we're in a different row.
12180
12181         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12182         to set the cursor behind the pargraph with > size().
12183         (setCursor): check also for the same paragraph when checking where
12184         to put the cursor if we have a NFR inset.
12185
12186         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12187         parts of layout read further up as it still was in the wrong
12188         position.
12189
12190 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12191
12192         * screen.C (drawFromTo): change sine fullRebreak always return
12193         true.
12194
12195         * buffer.C (parseSingleLyXformat2Token): reindent some
12196
12197         * BufferView_pimpl.C (update): change since fullRebreak always
12198         return true.
12199         (Dispatch): git rid of the last hardcoded "Standard"s.
12200
12201 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12202
12203         * text2.[Ch] (fullRebreak): make it return void now that we always
12204         returned true.
12205
12206 2002-04-30  Juergen Vigna  <jug@sad.it>
12207
12208         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12209         ert compatibility check for "latex" layout.
12210
12211 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12212
12213         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12214         minipages: use col% instead of p%, and also use the current font.
12215         (makeLaTeXFile): Fix use babel condition.
12216         (parseSingleLyXformat2Token): Correct font when reading old floats.
12217
12218 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12219
12220         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12221         inserting list of floats.
12222
12223 2002-04-25  Herbert Voss  <voss@lyx.org>
12224
12225         * MenuBackend.C (expand): don't add the graphics extensions to the
12226         export menu
12227
12228 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12229
12230         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12231         non-existing layout, do not complain if it was the default layout
12232         of the original class (bug #342)
12233
12234 2002-04-24  Juergen Vigna  <jug@sad.it>
12235
12236         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12237         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12238
12239 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12240
12241         * buffer.C (getBibkeyList): If using \bibliography, return the
12242         option field with the reference itself. Enables us to provide natbib
12243         support when using \bibliography.
12244
12245 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12246
12247         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12248
12249         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12250         natbib is provided by the LaTeX class.
12251
12252 2002-04-23  Juergen Vigna  <jug@sad.it>
12253
12254         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12255         Wakeup functions.
12256
12257         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12258
12259 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12260
12261         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12262
12263         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12264         ensuremath around textordmasculine, textordfeminine and
12265         textdegree.
12266
12267 2002-04-19  Juergen Vigna  <jug@sad.it>
12268
12269         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12270         reinitializing the buffer otherwise row-dimensions may be wrong.
12271         (update): reset also the selection cursors if they do exits otherwise
12272         their x/y positions may be wrong.
12273
12274         * text2.C (cursorDown): don't enter the inset if we came from a row
12275         above and are one row over the inset.
12276
12277         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12278         really leaving an inset.
12279
12280 2002-04-18  Juergen Vigna  <jug@sad.it>
12281
12282         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12283         of the selected paragraph does not have the selected layout also if
12284         the last one had!
12285
12286         * text2.C (setLayout): fixed bug which did not change last selected
12287         paragraph.
12288
12289         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12290         changed the read and substituted \\end_float with \\end_inset!
12291
12292         * BufferView_pimpl.C (cursorPrevious):
12293         (cursorNext): fixed to make it work with rows heigher than the work
12294         area without moving the cursor only the draw of the row.
12295         (workAreaMotionNotify): fix jumping over high rows.
12296
12297 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12298
12299         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12300         Ressler.
12301
12302 2002-04-16  Juergen Vigna  <jug@sad.it>
12303
12304         * text2.C (setCursor): set also the irow().
12305         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12306         (cursorUp):
12307         (cursorDown): support for locking an inset if the x_fix value goes
12308         inside it. That way I can transverse insets too with cursor up/down.
12309
12310         * lyxrow.h: added irow helper function same as other (i) functions.
12311
12312         * BufferView_pimpl.C (cursorPrevious):
12313         (cursorNext): fixed for insets!
12314
12315 2002-04-15  Juergen Vigna  <jug@sad.it>
12316
12317         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12318         position otherwise it is wrong in some cases.
12319
12320         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12321         inside the inset before the call.
12322
12323 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12324
12325         * buffer.[Ch] (getBibkeyList): make it const.
12326
12327 2002-04-12  Juergen Vigna  <jug@sad.it>
12328
12329         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12330
12331         * text2.C (getCursorX): new helper function
12332         (setCursor): compute also ix_
12333         (setCursorFromCoordinates): set also ix.
12334
12335         * lyxcursor.h: added ix_ and helper functions.
12336
12337         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12338
12339         * buffer.C (insertStringAsLines): dont break paragraph if the this
12340         paragraph is inside an inset which does not permit it!
12341
12342         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12343         also with no chars on this paragraph.
12344         (paintRowText): only paint stuff if it's inside the workarea!
12345
12346         * paragraph.C (breakParagraph): honor keepempty flag and break the
12347         paragraph always below not above.
12348
12349         * BufferView2.C (unlockInset): update the paragraph layout on inset
12350         unlock as we changed paragraph in such a case.
12351
12352         * lyxfind.C (LyXFind): clear the former selection if not found!
12353
12354         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12355         again called in insertChar().
12356
12357         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12358         an inset which uses the whole row!
12359         (rightMargin): ditto.
12360         (insertChar): force a rebreak if we inserted an inset!
12361
12362 2002-03-28  Herbert Voss  <voss@lyx.org>
12363
12364         * lyxlength.[Ch]: add inBP() to get the right PS-point
12365         units (BigPoint). With inPixels we have rounding errors
12366
12367 2002-04-11  Juergen Vigna  <jug@sad.it>
12368
12369         * text2.C (setCursorFromCoordinates): set iy to the right value.
12370         (setCursor): add check if row->previous exists!
12371
12372         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12373         an old float_type as this was the case in the old code!
12374
12375         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12376
12377         * BufferView2.C (showLockedInsetCursor): use iy
12378         (fitLockedInsetCursor): ditto
12379
12380         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12381         locked insets as there we have the right value now.
12382
12383         * lyxcursor.C: added iy_ variable and iy functions to set to the
12384         baseline of cursor-y of the locked inset.
12385
12386         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12387         (setCursor): fixed for insets which need a full row.
12388
12389         * text.C (rowLastPrintable): don't ignore the last space when before
12390         an inset which needs a full row.
12391         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12392         as last character of a row when before a inset which needs a full row.
12393
12394 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12395
12396         * version.C.in: update date
12397
12398         * text2.C (fullRebreak): try to always return true and see what
12399         happens...
12400
12401 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12402
12403         * MenuBackend.C (expand): use Floating::listName
12404
12405         * FloatList.C (FloatList): add listName argument to the built-in
12406         floats
12407
12408         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12409         text associated with the float.
12410
12411 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12412
12413         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12414
12415 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12416
12417         * ShareContainer.h: add a couple of missing typenames.
12418
12419 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12420
12421         * lyxrc.C (getDescription): use _() correctly rather than N_().
12422
12423 2002-03-28  Herbert Voss  <voss@lyx.org>
12424
12425         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12426         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12427
12428 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12429
12430         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12431         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12432
12433 2002-03-29  Juergen Vigna  <jug@sad.it>
12434
12435         * lyxfunc.C (dispatch): add a missing fitCursor call.
12436
12437         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12438         it was scrolled by a cursor move, so return the bool status.
12439
12440         * BufferView.C (fitCursor): return the bool flag also to the outside
12441         world as this is needed.
12442
12443         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12444
12445         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12446         call the edit() as it is not needed (and wrong) IMO.
12447         (workAreaButtonPress): set the screen_first variable before evt.
12448         unlock the inset as this may change screen_first and then we have
12449         a wrong y position for the click!
12450
12451 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12452
12453         * MenuBackend.C (expand): another translation that I missed
12454
12455 2002-03-28  Juergen Vigna  <jug@sad.it>
12456
12457         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12458
12459         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12460
12461 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12462
12463         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12464
12465         * MenuBackend.C (expand): fix export/view/update when there is no
12466         document open.
12467
12468 2002-03-27  Herbert Voss  <voss@lyx.org>
12469
12470         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12471         and text%
12472
12473 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12474
12475         * bufferview_funcs.C (currentState): only show paragraph number
12476         for is DEVEL_VERSION is set.
12477
12478         * lyxfunc.C (dispatch): put warning in INFO channel
12479
12480         * MenuBackend.C (expand): translate the name of floats
12481
12482         * FloatList.C (FloatList): mark the float names for translation
12483
12484         * converter.C (convert): use LibScriptSearch
12485
12486 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12487
12488         * MenuBackend.C (defaults): fix default menu (we might as well get
12489         rid of it...)
12490
12491 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12492
12493         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12494         directory.
12495
12496 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12497
12498         * lyxvc.C: reorder includes.
12499
12500 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12501
12502         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12503           properly
12504
12505 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12506
12507         * CutAndPaste.C: change layouts earlier on paste
12508           to avoid crashing when calling getFont()
12509
12510 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12511
12512         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12513         irritating #error.
12514
12515 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12516
12517         * WorkArea.C: remove 'Pending' debug message.
12518
12519         * most files: ws cleanup
12520
12521         * buffer.[Ch]: ws changes
12522
12523         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12524
12525 2002-03-21  Juergen Vigna  <jug@sad.it>
12526
12527         * tabular.C (SetMultiColumn): collapse also the contents of the
12528         cells and set the last border right. Added a Buffer const * param.
12529
12530 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12531
12532         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12533         linking or not.
12534
12535 2002-03-19  Juergen Vigna  <jug@sad.it>
12536
12537         * text2.C (clearSelection): reset also xsel_cache.
12538
12539         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12540         where it needs to be called (John tells us to do so too :)
12541         (selectionLost): reset sel_cache.
12542
12543         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12544
12545 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12546
12547         * text2.C (setCursorIntern): put debuging code in INSETS channel
12548
12549 2002-03-19  André Pönitz <poenitz@gmx.net>
12550
12551         * lyxfunc.C: tiny whitespace change
12552
12553 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12554
12555         * ToolbarDefaults.C (init):
12556         * LyXAction.C (init):
12557         * commandtags.h:
12558         * BufferView_pimpl.C (Dispatch):
12559         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12560
12561 2002-03-19  Allan Rae  <rae@lyx.org>
12562
12563         * exporter.C (Export): removeAutoInsets before doing anything else.
12564         While I've just introduced a dependency on BufferView this really is
12565         the best place to clean the buffer otherwise you need to cleanup in
12566         a dozen places before calling export or cleanup in a dozen functions
12567         that export calls.
12568
12569         * converter.C (runLaTeX):
12570         (scanLog): Better handling of removeAutoInsets and screen updates.
12571
12572         * lyxfunc.C (dispatch): small whitespace changes
12573
12574 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12575
12576         * WorkArea.C (C_WorkAreaEvent): return a value.
12577         (event_cb): return 1 if we handled the event, 0 otherwise.
12578
12579         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12580
12581 2002-03-18  Juergen Vigna  <jug@sad.it>
12582
12583         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12584         (GetAdditionalWidth): ditto.
12585         (RightLine): ditto.
12586         (LeftLine): ditto.
12587
12588         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12589         inset if we're there actually (probably not used right now but this
12590         is the direction to go for unifying code).
12591         (paste): disable code to clear the selection.
12592
12593         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12594         inside an InsetText and move the check further up as it is in the
12595         wrong place.
12596
12597         * text2.C (pasteSelection): set a selection over the pasted text.
12598
12599 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12600
12601         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12602         and libgraphics to build on Cygwin.
12603
12604 2002-03-15  Juergen Vigna  <jug@sad.it>
12605
12606         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12607         inserting an Inset into the paragraph. I know this is not the best
12608         fix but we already use current_view in CutAndPaste so we will remove
12609         all of it's using at the same time.
12610
12611         * buffer.C (sgmlError): deactivated function till it is rewritten in
12612         the right mode, now it can create problems.
12613
12614         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12615         before accessing it.
12616
12617 2002-03-14  Juergen Vigna  <jug@sad.it>
12618
12619         * undo_funcs.C (textHandleUndo): do the right thing when updating
12620         the inset after the undo/redo.
12621
12622         * text2.C (setCursor): just some testcode for #44 not ready yet.
12623
12624         * undo_funcs.C (textHandleUndo): set the next() and previous()
12625         pointers of the paragraph to 0 before deleting otherwise we have
12626         problems with the Paragraph::[destructor].
12627
12628         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12629         on a paragraph insertion.
12630
12631 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12632
12633         * buffer.C (asciiParagraph): use += operator for char append to
12634         string.
12635
12636         * paragraph.C (getFontSettings): compare >= not just >
12637         (highestFontInRange): ditto
12638         (setFont): ditto
12639
12640 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12641
12642         * paragraph.C: change several algorithm to be more appripriate for
12643         the problem domain. This is lookip in FontList and in the InsetList.
12644
12645 2002-03-13  André Pönitz <poenitz@gmx.net>
12646
12647         * commandtags.h:
12648         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12649
12650 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12651
12652         * commandtags.h:
12653         * LyXAction.C:
12654         * lyxfunc.C:
12655         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12656
12657 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12658
12659         * Painter.C (display): anon helper function, adjust code for this
12660         change.
12661         (pixmap): remove function.
12662
12663         * Painter.h: remove private display variable.
12664
12665         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12666
12667 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12668
12669         * WorkArea.[Ch]: remove figinset_canvas cruft.
12670
12671 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12672
12673         * lyxtextclass.C (operator): add one item cache optimization.
12674
12675         * bufferlist.h: doxy changes
12676
12677         * bufferlist.C: ws changes
12678
12679         * DepTable.[Ch] (ext_exist): place const in the right spot.
12680
12681         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12682         call resizeInsets.
12683         (workAreaExpose): call resizeInsets when the with BufferView changes.
12684         (Dispatch): adjust for protectedBlank removal
12685         (specialChar): call updateInset if the insert went ok.
12686
12687         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12688         specialChar instead.
12689
12690         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12691
12692         * BufferView.h: doxy change
12693
12694         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12695
12696         * lyxtextclass.C (operator[]): remove non-const version
12697         (defaultLayout): remove non-const version
12698
12699 2002-03-12  Juergen Vigna  <jug@sad.it>
12700
12701         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12702         did resize the LyXText too.
12703
12704         * buffer.C (readLyXformat2): set layout information on newly allocated
12705         paragraphs.
12706
12707         * tabular.C (OldFormatRead): set layout information on the paragraph.
12708
12709 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12710
12711         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12712
12713 2002-03-11  Juergen Vigna  <jug@sad.it>
12714
12715         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12716         plainly wrong.
12717         (resizeCurrentBuffer): force also the insets to resize themselfes.
12718         (moveCursorUpdate): fixed up for InsetText.
12719
12720 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12721
12722         * commandtags.h:
12723         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12724         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12725         value of Dialogs::tooltipsEnabled().
12726         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12727
12728 2002-03-08  Juergen Vigna  <jug@sad.it>
12729
12730         * BufferView_pimpl.C (updateInset): update inset inside inset also
12731         if it isn't inside theLockingInset().
12732
12733 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12734
12735         * buffer.C (asciiParagraph): redo some of the word and line length
12736         handling.
12737         (getLists): look for Caption instead of caption.
12738
12739 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12740
12741         * buffer.C (Buffer): initialize niceFile to true
12742         (makeLaTeXFile):
12743         (makeLinuxDocFile):
12744         (makeDocBookFile): make sure niceFile is true on exit
12745
12746 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12747
12748         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12749
12750 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12751
12752         * LyXSendto.C: remove.
12753         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12754         * lyx_gui.C: remove now-redundant comment.
12755         * ColorHandler.h: remove forward declaration of class WorkArea.
12756         * lyxfunc.C: remove #include "WorkArea.h".
12757
12758 2002-03-07  Juergen Vigna  <jug@sad.it>
12759
12760         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12761         got moved away with the DEPM and also set the inset_owner always
12762         right which before could have been omitted.
12763
12764 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12765
12766         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12767         wanted layout is not found.
12768
12769 2002-03-07  Juergen Vigna  <jug@sad.it>
12770
12771         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12772
12773 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12774
12775         * paragraph.C (breakParagraph): use default layout not layout of
12776         prev paragraph.
12777         (Paragraph): clear ParagraphParameters.
12778
12779 2002-03-06  Juergen Vigna  <jug@sad.it>
12780
12781         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12782         otherwise it would not be a valid lenght. Fixed a special case in
12783         the minipage compatibility read where we end the document with a
12784         minipage.
12785
12786         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12787         was set as it could be 0 for InsetTexts first entry.
12788
12789 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12790
12791         * paragraph.C (writeFile): if layout is empty write out
12792         defaultLayoutName().
12793
12794         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12795         file without named layout we set layout to defaultLayoutName().
12796
12797 2002-03-06  Juergen Vigna  <jug@sad.it>
12798
12799         * CutAndPaste.C (copySelection): set layout for new paragraph.
12800
12801         * text.C (prepareToPrint): leave ERT inset left aligned
12802         (leftMargin): don't indent paragraphs inside ERT insets
12803
12804 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12805
12806         * paragraph.C (breakParagraph): dont call clear do the work manually
12807
12808         * paragraph.[Ch] (clear): remove function
12809
12810 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12811
12812         * paragraph.C (Paragraph): dont call clear, the work has already
12813         been done.
12814
12815         * lyxtextclass.C (operator): assert if n is empty
12816
12817         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12818         work manually instead.
12819
12820 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12821
12822         * BufferView_pimpl.C: protect selectionLost against text == 0
12823
12824 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12825
12826         * text.C (breakParagraph): fix a setting layout to '0' problem.
12827
12828 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12829
12830         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12831         final location of file, for the included files, and graphics.
12832
12833 2002-03-05  Juergen Vigna  <jug@sad.it>
12834
12835         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12836
12837 2002-03-04  Juergen Vigna  <jug@sad.it>
12838
12839         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12840
12841         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12842         last column of multicolumn cells.
12843         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12844
12845 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12846
12847         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12848         file if it doesn't go to a temporary file.
12849
12850         * buffer.C (sgmlOpenTag):
12851         (sgmlCloseTag):  remove extra newline insertion.
12852
12853 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12854
12855         * text.C (getRowNearY): comment out debug msg
12856
12857 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12858
12859         * text2.C: first -> first_y
12860
12861         * text.C (getRowNearY): add some attemts at a possible
12862         optimization, not working.
12863
12864         * tabular.[Ch]: add BufferParams to several function so that newly
12865         created paragraph can be initialized to he default layotu for the
12866         buffers textclass.
12867
12868         * tabular-old.C (ReadOld): add buf->params to call of Init
12869
12870         * screen.C: rename text->first to text->first_y
12871
12872         * paragraph.C (breakParagraph): always set layout in the broken
12873         paragraph
12874
12875         * lyxtextclass.C (Read): remove lowercase
12876         (hasLayout): ditto
12877         (operator): ditto
12878         (delete_layout): ditto
12879
12880         * lyxtext.h: rename first -> first_y
12881
12882         * lyxlayout.C (Read): remove lowercase
12883         (name): ditto
12884         (setName): ditto
12885         (obsoleted_by): ditto
12886
12887         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12888
12889         * buffer.C (insertErtContents): add params are to InsetERT
12890         (parseSingleLyXformat2Token): add code to check if a paragraphs
12891         layout really exist.
12892         (parseSingleLyXformat2Token): add params to several inset
12893         constructors
12894         (asciiParagraph): remove lowercase, do the layout comparisons with
12895         no_case
12896
12897         * BufferView_pimpl.C (cursorNext): first -> first_y
12898         (resizeCurrentBuffer): first -> first_y
12899         (updateScrollbar): first -> first_y
12900         (scrollCB): first -> first_y
12901         (workAreaMotionNotify): first -> first_y
12902         (workAreaButtonPress): first -> first_y
12903         (checkInsetHit): first -> first_y
12904         (cursorPrevious): first -> first_y
12905         (cursorNext): first -> first_y
12906         (Dispatch): add buffer_->params to severl inset contructors
12907
12908 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12909
12910         * lyxlayout.C (Read): remove some debug info that I forgot.
12911
12912         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12913         clean up the code slightly.
12914         (makeLinuxDocFile): ditto
12915         (makeDocBookFile): ditto
12916
12917         * text2.C: layout as string
12918
12919         * text.C: layout as string
12920
12921         * paragraph_pimpl.C: layout as string
12922
12923         * paragraph.[Ch]: layout as string
12924
12925         * lyxtextclasslist.[Ch]: layout as string
12926
12927         * lyxtextclass.[Ch]: layout as string
12928
12929         * lyxtext.h: layout as string
12930
12931         * lyxlayout.[Ch]: layout as string
12932
12933         * lyx_cb.C: layout as string
12934
12935         * bufferview_funcs.C: layout as string
12936
12937         * bufferparams.C: layout as string
12938
12939         * buffer.C: layout as string
12940
12941         * LyXView.[Ch]: layout as string
12942
12943         * LaTeXFeatures.[Ch]: layout as string
12944
12945         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12946
12947         * BufferView_pimpl.C: change current_layout to string, remove
12948         lyx::layout_type.
12949         (Dispatch):
12950         (smartQuote):
12951         (insertInset):
12952         (workAreaButtonRelease): layout as string
12953
12954         * BufferView2.C (unlockInset): adjust
12955
12956         * vspace.C (asLatexCommand): use an explict temp variable.
12957
12958 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12959
12960         * Makefile.am: use FRONTEND_*
12961
12962 2002-03-01  Juergen Vigna  <jug@sad.it>
12963
12964         * tabular.C (SetWidthOfMulticolCell): changed to something better
12965         I hope but still work in progress.
12966         (recalculateMulticolumnsOfColumn): renamed function from
12967         recalculateMulticolCells as it is more appropriate now.
12968         (SetWidthOfCell): calculate multicols better.
12969
12970 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12971
12972         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12973
12974         * lyxfunc.C (processKeySym): print sequence also if it is
12975         `deleted' (complete)
12976
12977         * kbsequence.C (print): print sequence even if it is deleted
12978         (complete would be a better word, actually).
12979
12980         * lyxfunc.C (dispatch): print complete options after a prefix key
12981
12982         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12983
12984 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12985
12986         * text2.C (setCharFont): eliminate setCharFont code duplication.
12987
12988 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12989
12990         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12991         LFUN_TABULAR_FEATURE (bug #177)
12992
12993 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12994
12995         * Makefile.am: remove figure.h
12996
12997 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12998
12999         * Bufferview_pimpl.C:
13000         * CutAndPasteC:
13001         * LaTeX.C:
13002         * LyXSendto.C:
13003         * buffer.C:
13004         * bufferlist.C:
13005         * converter.C:
13006         * language.C:
13007         * lyxfunc.C:
13008         * lyxvc.C:
13009         * paragraph.C:
13010         * text.C:
13011         * text2.C: remove #include "lyx_gui_misc.h".
13012
13013         * LaTeX.C: added #include <cstdio>
13014
13015 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13016
13017         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13018         that the paragraph following this one can have.
13019
13020         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13021
13022         * vspace.C (asLatexCommand): fix bogus gcc warning
13023
13024         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13025
13026 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13027
13028         * text2.C (setLayout): get rid of redundant code
13029
13030 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13031
13032         * text2.C (incDepth): make sure depth cannot be increased beyond
13033         reasonable values.
13034
13035 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13036
13037         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13038         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13039
13040         * PainterBase.h (image):
13041         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13042         a LyXImage const *.
13043
13044 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13045
13046         * BufferView.C:
13047         * BufferView.h:
13048         * BufferView_pimpl.C:
13049         * BufferView_pimpl.h:
13050         * LaTeXFeatures.C:
13051         * LyXAction.C:
13052         * LyXView.C:
13053         * Makefile.am:
13054         * UpdateList.h:
13055         * UpdateList.C:
13056         * buffer.C:
13057         * figure.h:
13058         * figureForm.C:
13059         * figureForm.h:
13060         * figure_form.C:
13061         * figure_form.h:
13062         * lyx_cb.C:
13063         * lyx_gui.C:
13064         * lyx_gui_misc.C:
13065         * lyxfunc.C:
13066         * sp_base.h:
13067         * sp_ispell.h:
13068         * sp_pspell.h:
13069         * sp_spell.C: remove fig inset, and the crap house of
13070           cards that follows it
13071
13072 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13073
13074         * Makefile.am:
13075         * lyxserver.C:
13076         * os2_defines.h:
13077         * os2_errortable.h:
13078         * nt_defines.h: move .h into support/
13079
13080         * vms_defines.h: remove
13081
13082         * WorkArea.C: add space in debug output
13083
13084         * text2.C:
13085         * paragraph.C:
13086         * buffer.C: add WITH_WARNINGS
13087
13088         * vc-backend.h:
13089         * vc-backend.C:
13090         * bufferlist.C: s/retrive/retrieve/, add docs
13091
13092         * vspace.h:
13093         * vspace.C:
13094         * kbmap.h:
13095         * lyxlength.h:
13096         * lyxgluelength.h:
13097         * length_common.h:
13098         * chset.h:
13099         * chset.C: add docs
13100
13101         * lyxgui.C: add ID to X error handler
13102
13103         * lyxtestclass.c: fix typo
13104
13105 2002-02-26  Juergen Vigna  <jug@sad.it>
13106
13107         * tabular_funcs.C (write_attribute): changed so that some default
13108         attributes are not written at all.
13109         (getTokenValue): set default values before trying to read the
13110         value so we have the return value always set as default if we don't
13111         find the token we search for.
13112
13113         * tabular.C (Write): write bools as bools not as strings!
13114
13115 2002-02-22  Juergen Vigna  <jug@sad.it>
13116
13117         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13118         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13119
13120         * text.C (leftMargin): don't add an indent for paragraphs inside
13121         tabular cells (fix #208).
13122
13123 2002-02-21  José Matos  <jamatos@fep.up.pt>
13124
13125         * tabular.C (docBook): fixed support for long tables.
13126
13127 2002-02-20  Juergen Vigna  <jug@sad.it>
13128
13129         * text2.C (getFont): get the drawing font of the Inset if this
13130         paragraph is inside an inset (only important for InsetERT for now).
13131
13132         * buffer.C (insertErtContents): use new lanugage params in ERT
13133         constructor.
13134
13135         * CutAndPaste.C: commenting out seemingly uneeded code.
13136
13137 2002-02-19  Allan Rae  <rae@lyx.org>
13138
13139         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13140         Iterators might be simple to use but they also get invalidated.
13141         (removeAutoInsets): renamed saved cursor tracking variables and added
13142         some comments to clarify what everything does.
13143
13144 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13145
13146         * Chktex.C:
13147         * LaTeX.C:
13148         * LyXSendto.C:
13149         * converter.C:
13150         * lyx_cb.C:
13151         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13152         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13153
13154         * lyxfunc.C:
13155         * vc-backend.h: remove #include "support/syscall.h"
13156
13157         * LaTeX.C:
13158         * LyXSendto.C:
13159         * converter.C: rearrange #includes in Lars' approved fashion.
13160
13161         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13162         forward declare class Timeout in the header file.
13163
13164         * XFormsView.C: changes due to the above.
13165
13166         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13167         similar to LyXView.
13168
13169         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13170         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13171
13172 2002-02-18  José Matos  <jamatos@fep.up.pt>
13173
13174         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13175         insets contents.
13176
13177 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13178
13179         * a lot of small ws changes
13180         * add a lot of using std::XXX
13181         * use std construcs some places where approp.
13182         * use some exisint stuff from lyxfunctional where approp.
13183         * Make file changes to use partial linking (lets test this now...)
13184
13185 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13186
13187         * Chktex.C:
13188         * buffer.C:
13189         remove #include "support/syscontr.h" as it's redundant. Always has been.
13190
13191         * Chktex.C:
13192         * LaTeX.C:
13193         * LyXSendto.C:
13194         * converter.C:
13195         * lyx_cb.C:
13196         * vc-backend.C:
13197         change Systemcalls::System to Systemcalls::Wait and
13198         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13199         No change of functionality, just reflects the stripped down Systemcalls
13200         class.
13201
13202 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13203
13204         * debug.[Ch]: add a GRAPHICS type to the enum.
13205
13206 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13207
13208         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13209
13210         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13211         there is an inset.
13212
13213 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13214
13215         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13216         match the changes below.
13217
13218         * text2.C (toggleInset): if there is not editable inset at cursor
13219         position, try to see if cursor is _inside_ a collapsable inset
13220         and close it.
13221
13222 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13223
13224         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13225         document menu has a nice checkbox
13226
13227 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13228
13229         * lyxlength.C (asLatexString): change PW to output as percent of
13230         \textwidth.
13231
13232         * lengthcommon.C: change '%' to 't%'
13233
13234         * lyxfunc.C (dispatch): a few comments from Martin
13235
13236 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13237
13238         * WorkArea.h:
13239         * WorkArea.C:
13240         * BufferView_pimpl.h:
13241         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13242           the X selection.
13243
13244 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13245
13246         * vspace.C (inPixels): fix compiler warning
13247
13248 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13249
13250         * lyxfunc.C (getStatus): fix status message for disabled commands.
13251
13252 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13253
13254         * BufferView_pimpl.C: fix crash on close buffer
13255         during selection (#227)
13256
13257 2002-01-27  Herbert Voss  <voss@lyx.org>
13258
13259         * buffer.C: link old Figure to new graphic inset
13260
13261 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13262
13263         * FontLoader.C (getFontinfo): Change the latex font names in order
13264         to match the names of type1inst.
13265
13266 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13267
13268         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13269
13270         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13271         (extchanged): ditto
13272         (ext_exist): ditto
13273         (remove_files_with_extension): ditto
13274         (remove_file): ditto
13275         (write): ditto
13276
13277         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13278         document is smaller than the work area height. Do not initialize
13279         static variables to 0.
13280
13281 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13282
13283         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13284
13285         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13286         LFUN_LAYOUT_PARAGRAPHS.
13287
13288         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13289         tabular. It is possible to provide a possible cell, which will
13290         typically be the actcell from the corresponding insettabular
13291
13292         * lyxfunc.C (getStatus): small cleanup; disable
13293         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13294         true
13295
13296 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13297
13298         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13299
13300         * paragraph.C (startTeXParParams):
13301         (endTeXParParams): new methods. The LaTeX code to
13302         start/end paragraph formatting
13303         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13304         empty (fixes bug #200)
13305
13306         * vspace.C (inPixels): adapt to the change below
13307         (inPixels): [later] more cleanups (remove unused variables)
13308
13309         * lyxlength.C (inPixels): change to use a width and a height as
13310         parameter.
13311
13312 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13313
13314         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13315         Replaced with \paperwidth
13316
13317         * DepTable.C (insert): add std:: qualifier
13318
13319 2002-01-18  Allan Rae  <rae@lyx.org>
13320
13321         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13322         updated also?
13323
13324         * text.C (drawInset): Turned out I didn't know enough about how
13325         rebreaking worked.  This fixes most of the redraw problems.  I see
13326         an occasional cursor trail when a line is broken now and the cursor
13327         placement can seem out by a few pixels also after a rebreak.
13328
13329 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13330
13331         * buffer.C (parseSingleLyXformat2Token): update because minipage
13332         width is now a LyXLength
13333
13334         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13335
13336         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13337         math insets
13338
13339 2002-01-17  Juergen Vigna  <jug@sad.it>
13340
13341         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13342
13343         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13344         is set correctly and the inset is updated correctly.
13345
13346 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13347
13348         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13349         the beginning of the loop.
13350
13351 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13352
13353         * lyxrc.C: improve help for use_scalable_fonts
13354
13355 2002-01-17  Allan Rae  <rae@lyx.org>
13356
13357         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13358
13359 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13360
13361         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13362         make sure to set their inset_owner to the right value (bug #171)
13363
13364 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13365
13366         * DepTable.h
13367         * DepTable.C: Implement mtime checking to reduce time spent doing
13368         CRCs.
13369
13370 2002-01-16  Juergen Vigna  <jug@sad.it>
13371
13372         * tabular.C (GetAdditionalHeight): one of error fixed.
13373
13374         * lyxrc.C (output): small fix in writing use_pspell.
13375
13376 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13377
13378         * sp_base.h: #include LString.h
13379
13380 2002-01-16  Allan Rae  <rae@lyx.org>
13381
13382         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13383         Can someone check this please?
13384
13385         * text.C (drawInset): It was possible that p.row would be removed by
13386         breakAgainOneRow upsetting a few other settings.  There may be another
13387         small tweak possible by setting need_break_row = 0 when p.row has been
13388         removed but I don't know enough about the logic here.
13389
13390 2002-01-15  Allan Rae  <rae@lyx.org>
13391
13392         * text.C (insertChar): removed conditional truism.
13393
13394         * BufferView2.C (removeAutoInsets): More tweaks.
13395         cur_par_prev could be a stray pointer.  Check for trailing empty line
13396         in case last line was cur_par and only had an error inset on it.
13397
13398 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13399
13400         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13401         absolute
13402
13403         * vc-backend.C (most methods):
13404         * exporter.C (Export):
13405         * converter.C (convert):
13406         (runLaTeX):
13407         * LyXSendto.C (SendtoApplyCB):
13408         * lyxfunc.C (dispatch):
13409         (menuNew):
13410         (open):
13411         (doImport):
13412         * lyx_cb.C (AutoSave):
13413         (InsertAsciiFile):
13414         * BufferView_pimpl.C (MenuInsertLyXFile):
13415         * buffer.C (runChktex): use Buffer::filePath().
13416
13417         * buffer.h: rename filename to filename_; rename filepath to
13418         filepath_ and make it private
13419         (filePath): new method
13420
13421         * buffer.C (writeFile): use fileName()
13422         (getLatexName):
13423
13424         * lyx_main.C (init): fix starting  of LyX when the binary is a
13425         link from so,ewhere else.
13426
13427         * minibuffer.C: include <cctype> for isprint
13428
13429 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13430
13431         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13432         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13433         name clash with InsetCollapsable's width function.
13434
13435 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13436
13437         * lastfiles.C: include <iterator>
13438
13439 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13440
13441         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13442         std::count.
13443
13444         * buffer.C (makeLaTeXFile): ditto.
13445         Also make loop operation more transparent.
13446
13447 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13448
13449         * ToolbarDefaults.C: remove trailing comma closing namespace.
13450
13451         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13452
13453         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13454         as in WorkArea.
13455
13456         * trans.C (Load): comment out unused variable, allowed.
13457
13458 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13459
13460         * minibuffer.[Ch] (append_char): new method to recieve input from the
13461         drop-down completion browser. If a key was pressed, then recieve this
13462         char and append it to the existing string.
13463         (peek_event): modify the positioning data passed to the completion
13464         browser so that it can be placed above the minibuffer rather than below.
13465 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13466
13467         * LyXAction.C (init): alloe error-next for readonly documents.
13468
13469         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13470         count.
13471
13472 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13473
13474         * bufferlist.C (readFile): create the buffer _after_ checking that
13475         the file exists.
13476
13477         * lyxfunc.C (verboseDispatch): fix handling of arguments
13478
13479         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13480
13481         * lyxrc.C: use string::erase() instead of initializing to "".
13482
13483
13484 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13485
13486         * BufferView_pimpl.h:
13487         * BufferView_pimpl.C:
13488         * WorkArea.h:
13489         * WorkArea.C:
13490         * text2.C: tell X when we have made a selection for copying
13491
13492 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13493
13494         * BufferView_pimpl.C (MenuInsertLyXFile):
13495         * lyxfunc.C (menuNew):
13496         (open):
13497         (doImport): add shortcuts to directory buttons
13498
13499         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13500         open a float)
13501
13502         * lyxfunc.C (setStatusMessage):
13503         (getStatusMessage): new methods
13504         (getStatus):use setStatusMessage instead of setErrorMessage
13505         (dispatch): when function is disabled, set error message here
13506         [instead of in getStatus previously]
13507
13508         * BufferView_pimpl.C (workAreaButtonRelease): update
13509         toolbar/menubar here too.
13510
13511 2002-01-13  Allan Rae  <rae@lyx.org>
13512
13513         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13514         Now seems indestructible.  Remaining task is to audit all other
13515         code affected by deleteEmptyParagraphMechanism.  One small quirk
13516         left is that an empty document with an error in the preamble can
13517         be made to report an error but no error box appears.  I don't know
13518         where it goes.
13519         (removeAutoInsets): Improved comments.
13520
13521 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13522
13523         * Thesaurus.h:
13524         * Thesaurus.C: update for Aiksaurus 0.14
13525
13526 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13527
13528         * text2.C (firstParagraph): removed member function, all uses
13529         replaces with ownerParagraph
13530         (redoParagraphs): here
13531         (updateInset): here
13532         (toggleAppendix): here
13533         * BufferView2.C (insertErrors): here
13534         (setCursorFromRow): here
13535
13536 2002-01-13  Allan Rae  <rae@lyx.org>
13537
13538         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13539         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13540         There is still a way to segfault this although you may have to do this
13541         multiple times: Have an InsetERT with an unknown command in it.
13542         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13543         <down-arrow>, <Enter> again, View->DVI, BANG!
13544
13545         * text2.C (setCursor):
13546         (deleteEmptyParagraphMechanism):
13547         * lyxtext.h (setCursor):
13548         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13549         Making use of the return value may help fix other bugs.
13550
13551 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13552
13553         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13554
13555         * LyXView.C (updateMenubar): call MenuBar::update here
13556         (updateToolbar): but not here
13557         (showState): do not update toolbar/menubar
13558
13559         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13560         should need to care about that.
13561
13562         * lyxfunc.C (verboseDispatch): simplify a bit
13563         (getStatus): have a version which takes a pseudoaction, and
13564         another which requires a (kb_action,string).
13565
13566         * LyXAction.C (retrieveActionArg): make it work also when action
13567         is not a pseudo-action.
13568         (getActionName): simplify a bit
13569         (helpText):
13570
13571 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13572
13573         * lyxfunc.C (verboseDispatch): new families of methods with
13574         several ways to specify a command and a bool to indicate whether
13575         the command name and shortcut should be displayed in minibuffer
13576         (eventually, we could extend that to a finer bitmask like
13577         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13578         (dispatch): the pristine dispatch command which just, well,
13579         dispatchs! Note it still sets its result to minibuffer; I'm not
13580         sure we want that.
13581
13582         * lyxfunc.h: remove setHintMessage
13583
13584         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13585
13586 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13587
13588         * BufferView_pimpl.C (specialChar): delete new inset if we have
13589         not been able to insert it.
13590
13591         * kbmap.C: revert to using int instead of kb_action, since all we
13592         are dealing with is pseudo-actions.
13593
13594         * LyXAction.C (searchActionArg): change to return int instead of
13595         kb_action, since the result is a pseudoaction.
13596
13597 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13598
13599         * buffer.C (insertErtContents): Fix (partially) the font bug.
13600
13601 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13602
13603         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13604         as the other one is broken on my machine!
13605
13606 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13607
13608         * commandtags.h:
13609         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13610
13611 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13612
13613         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13614         reflect their actual use. Provide compatibility code for older lyxrc
13615         files.
13616
13617         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13618         FL_NORMAL_STYLE.
13619         change names of popup font variables in line with the changes to lyxrc.C
13620
13621 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13622
13623         * buffer.C (asciiParagraph): avoid outputing a word twice after
13624         an inset.
13625
13626         * lyxrc.C (getDescription): document that document_path and
13627         template_path can be empty.
13628
13629 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13630
13631         * LaTeXFeatures.C (getMacros):
13632         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13633
13634         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13635
13636         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13637         getPackages.
13638         (getPackages): rename feature "floats" to "float". Use an array to
13639         iterate over 'simple' features (i.e. just a \usepackage). Add
13640         handling of "amsmath" (renamed from "amsstyle").
13641
13642 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13643
13644         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13645         features list.
13646
13647 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13648
13649         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13650         FuncStaus::FuncStatus & FuncStaus::some_method().
13651
13652 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13653
13654         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13655         of the func_satus stuff. Edited and massaged in various ways by
13656         JMarc.
13657
13658         * lyxfunc.C (getStatus): use FuncStatus
13659
13660 2002-01-08  Juergen Vigna  <jug@sad.it>
13661
13662         * text.C (nextBreakPoint): use function Inset::isChar().
13663
13664         * paragraph.C (TeXOnePar): use function
13665         Inset::forceDefaultParagraphs.
13666
13667         * buffer.C (latexParagraphs): use function
13668         Inset::forceDefaultParagraphs.
13669
13670 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13671
13672         * lyx_gui.C (init): set the style of the menu popups to
13673         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13674
13675 2002-01-07  Juergen Vigna  <jug@sad.it>
13676
13677         * text.C (setHeightOfRow): small fix
13678         (prepareToPrint): don't look at alignment if we don't have the place
13679         for doing it.
13680
13681 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13682
13683         * box.C: New file. Move the Box methods and functions out of box.h,
13684         following Lars' suggestion.
13685
13686 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13687
13688         * box.h: #include "support/LOstream.h", needed for inlined function.
13689
13690         * lyxtextclass.C:
13691         * lyxtextclasslist.C: added some using std declarations.
13692
13693 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13694
13695         * box.h: make signed dimensions to allow insets wider than
13696           the screen (bug #162)
13697
13698         * BufferView_pimpl.C: add some insetHit debug
13699
13700 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13701
13702         * vc-backend.C: add FIXME
13703
13704 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13705
13706         * lyxfunc.C (getStatus): enable code for showing math font status
13707         in toolbar/menu.
13708
13709 2002-01-07  Juergen Vigna  <jug@sad.it>
13710
13711         * text.C (nextBreakPoint): removed debug output not needed anymore.
13712
13713 2002-01-06  Juergen Vigna  <jug@sad.it>
13714
13715         * text.C (nextBreakPoint): fixed up this function we had this bug
13716         since ever but now hopefully we break row better.
13717         (insertChar): we have to check if an inset is the next char as it
13718         could now happen that a large inset is causing a break.
13719
13720 2002-01-05  Juergen Vigna  <jug@sad.it>
13721
13722         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13723         if it doesn't like to be drawed.
13724
13725 2002-01-04  Juergen Vigna  <jug@sad.it>
13726
13727         * BufferView2.C (lockInset): forgot to set a cursor.
13728
13729         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13730
13731 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13732
13733         * FormMathsPanel.C:
13734         * FormMathsPanel.h
13735         * MathsSymbols.C:
13736         * form_maths_panel.C:
13737         * form_maths_panel.h:
13738         * form_maths_panel.fd: implemented sub- and super- buttons in math
13739         panel.
13740
13741         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13742         (or ^ space) to be used as in TeX (req'd by André).
13743
13744         * lyxfunc.C: Allow ^ and _ again to be used both as
13745         super/subscript (mathed) and as themselves (in text).
13746
13747 2002-01-03  Allan Rae  <rae@lyx.org>
13748
13749         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13750         "LyX" or the filename of the current buffer if it has one.  This is a
13751         modified form of John Levon's patch.
13752
13753         * XFormsView.C (setWindowTitle): also set icon title.
13754
13755         * LyXView.h (setWindowTitle): signature changed.
13756         * XFormsView.h (setWindowTitle): ditto.
13757
13758 2002-01-02  Juergen Vigna  <jug@sad.it>
13759
13760         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13761
13762 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13763
13764         * screen.C (topCursorVisible): introduce a temp var for
13765         text->cursor.row(), handle the case where this row is null. (kindo
13766         hachish)
13767
13768         * text2.C (setCursor): add a couple of asserts.
13769
13770         * paragraph.h (inset_iterator): add -> operator
13771
13772         * paragraph.[Ch] (autoDeleteInsets): remove member function
13773
13774         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13775         cursor pos correctly and handle inset deletion by itself.
13776         (insertErrors): move iterator declaration out of for expression
13777
13778         * lyxtextclass.C: add <algorithm>
13779
13780         * Makefile.am: added the new files to sources, removed layout.C
13781
13782         * layout.C: removed file
13783
13784         * layout.h: remove LYX_DUMMY_LAYOUT
13785
13786         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13787         layout.
13788
13789         * lyxlayout.[Ch]:
13790         * lyxtextclass.[Ch]:
13791         * lyxtextclasslist.[Ch]: new files
13792
13793         * include order changes to a lot of files, also changes because of
13794         the six new files.
13795
13796 2001-12-27  Juergen Vigna  <jug@sad.it>
13797
13798         * buffer.C (asciiParagraph): more fixes.
13799
13800         * tabular.C (ascii): make ascii export support export of only the
13801         data separated by a column-delimiter.
13802         (ascii): better support for ascii export.
13803
13804         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13805
13806 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13807
13808         * tabular_funcs.C: use a "using std::getline" instead of the
13809         previous fix from Angus (necessary for cxx + lyxstring)
13810
13811 2001-12-24  Juergen Vigna  <jug@sad.it>
13812
13813         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13814
13815         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13816         problems. First check a minipage also if we have some ert-contents
13817         (not only on par->size(), second set the right depth of the paragraph
13818         on the relink to the root-paragraph-list!
13819
13820         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13821         which then did not anymore update the main paragraphs on undo/redo!
13822
13823 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13824
13825         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13826         code. Support all font-changing funcs (even those which are not in
13827         menu currently). Support for reporting font settings in
13828         mathed (disabled until Andre provides a function on mathed's side).
13829
13830         * func_status.h (toggle): small helper function to set toggle
13831         state on a flag.
13832
13833 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13834
13835         * tabular_funcs.C: getline -> std::getline
13836
13837 2001-12-21  Juergen Vigna  <jug@sad.it>
13838
13839         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13840         accessed and could be 0 (I couldn't generate this but it seems
13841         Michael could!).
13842
13843 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13844
13845         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13846         * tabular_funcs.h: here and include iosfwd
13847
13848 2001-12-20  Juergen Vigna  <jug@sad.it>
13849
13850         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13851         inside inset but undo_par was.
13852
13853 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13854
13855         * Thesaurus.C: always include <config.h> in sources.
13856
13857         * Painter.h:
13858         * lyxlookup.h:
13859         * box.h: do not include <config.h> in header files
13860
13861         * text.C (paintLastRow): remove unused variable
13862
13863         * text.C (transformChar):
13864         (insertChar):
13865         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13866
13867         * Painter.C (text):
13868         * font.C (width): rewrite to use uppercase() instead of
13869         islower/toupper.
13870
13871         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13872
13873 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13874
13875         * lyxfind.C: clean up of find failure position change
13876
13877 2001-12-20  Juergen Vigna  <jug@sad.it>
13878
13879         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13880
13881         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13882         (TeXRow): added to LaTeX a single tabular row.
13883         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13884         (Latex): simplified and finally good LT-h/f support.
13885         (various_functions): just small adaptions for LT-h/f support.
13886
13887         * tabular_funcs.[hC]: added and moved here all not classfunctions
13888         of LyXTabular.
13889
13890 2001-12-19  Juergen Vigna  <jug@sad.it>
13891
13892         * tabular.[Ch]: better support for longtabular options (not finished
13893         yet!)
13894
13895 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13896
13897         * text.C (paintLastRow): use the label font instead of the font of
13898         the last character to compute the size of *_BOX. This makes more
13899         sense and avoids a crash with empty paragraphs.
13900         Use Painter::rectangle to draw EMPTY_BOX.
13901
13902 2001-12-19  Juergen Vigna  <jug@sad.it>
13903
13904         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13905         the paragraphs if the replaced paragraph is not the first one!
13906         Tried to delete not used paragraphs but does not work yet so for
13907         now it's inside #ifdef's and by default off!
13908
13909 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13910
13911         * MenuBackend.C: include "lyx_main.h" instead of declaring
13912         lastfiles (actually was declared as LastFiles* instead of a
13913         scoped_ptr).
13914
13915 2001-12-17  Juergen Vigna  <jug@sad.it>
13916
13917         * tabular.C (AppendColumn): applied John's fix
13918
13919 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13920
13921         * BufferView.h:
13922         * BufferView.C:
13923         * BufferView_pimpl.h:
13924         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13925
13926         * Makefile.am:
13927         * box.h: new start of class for above
13928
13929         * lyxfunc.C: ignore space-only minibuffer dispatches.
13930           Show the command name when it doesn't exist
13931
13932         * minibuffer.C: don't add empty lines to the history
13933
13934         * minibuffer.C: add a space on dropdown completion
13935
13936 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13937
13938         * text.C: fix line above/below drawing in insets
13939
13940 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13941
13942         * lyxlength.C (LyXLength): Initialize private variables.
13943
13944 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13945
13946         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13947         when inserting error insets.
13948
13949 2001-12-13  Juergen Vigna  <jug@sad.it>
13950
13951         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13952         actually sometimes the before-paragraph.
13953         (setUndo): don't clear the redostack if we're not actually undoing!
13954
13955 2001-12-06  Juergen Vigna  <jug@sad.it>
13956
13957         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13958         and fixed redoing of main paragraph, so we can use it now ;)
13959
13960         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13961
13962 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13963
13964         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13965         Juergen's request
13966
13967 2001-12-13  André Pönitz <poenitz@gmx.net>
13968
13969         * undostack.[Ch]:
13970         * undo_func.C: minor cleanup
13971
13972 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13973
13974         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13975         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13976         font in urw-fonts package which is marked as -urw-fontspecific and
13977         does not work (incidentally, changing the encoding in the
13978         fonts.dir of this package to -adobe-fontspecific fixes the
13979         problem).
13980
13981         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13982         is a crash when undoing first paragraph (Juergen, please take a
13983         look). THis does not mean the undo fix is wrong, just that it
13984         uncovers problems.
13985
13986         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13987         the (Paragraph*) version when needed instead of duplicating the
13988         code.
13989
13990         * text.C (workWidth): use Inset::parOwner to find out where the
13991         inset has been inserted. This is a huge performance gain for large
13992         documents with lots of insets. If Inset::parOwner is not set, fall
13993         back on the brute force method
13994
13995         * paragraph_pimpl.C (insertInset):
13996         * paragraph.C (Paragraph):
13997         (cutIntoMinibuffer): set parOwner of insets when
13998         inserting/removing them
13999
14000         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14001
14002 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14003
14004         * commandtags.h:
14005         * LyXAction.C:
14006         * lyx_main.C:
14007         * lyxfunc.C:
14008         * mathed/formulabase.C:
14009         * mathed/math_cursor.[Ch]:
14010         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14011
14012
14013 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14014
14015         * lyxlength.[Ch] (operator!=): new function
14016
14017 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14018
14019         * text.C (workWidth): use Inset::parOwner to find out where the
14020         inset has been inserted. This is a huge performance gain for large
14021         documents with lots of insets. If Inset::parOwner is not set, fall
14022         back on the brute force method
14023
14024         * paragraph_pimpl.C (insertInset):
14025         * paragraph.C (Paragraph):
14026         (cutIntoMinibuffer): set parOwner of insets when
14027         inserting/removing them
14028
14029         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14030
14031 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14032
14033         * tabular-old.C (getTokenValue):
14034         * tabular.C (getTokenValue):
14035         (write_attribute): new versions for LyXLength
14036         (everywhere): adjust the use of widths
14037
14038         * tabular.h: change the type of widths from string to LyXLength
14039
14040 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14041
14042         * paragraph.C: fixed missing line number count when exporting
14043         Environments to LaTeX file
14044
14045         * buffer.C: added informational message for checking line numbers.
14046
14047 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14048
14049         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14050         paragraph, do the 'double space' part, but not the 'empty
14051         paragraph' one.
14052
14053         * text.C (workWidth): small optimization
14054         (getLengthMarkerHeight): use minimal size for negative lengths.
14055
14056 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14057
14058         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14059
14060         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14061
14062 2001-12-11  André Pönitz <poenitz@gmx.net>
14063
14064         * FontLoader.C:
14065         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14066
14067 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14068
14069         * text2.C: keep selection on a setFont()
14070
14071 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14072
14073         * lyx_cb.C: another bv->text misuse, from insert label
14074
14075 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14076
14077         * kbsequence.h:
14078         * kbsequence.C: re-instate nmodifier mask
14079
14080 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14081
14082         * lyx_main.h: make lyxGUI private.
14083
14084 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14085
14086         * lyxfind.C: place the cursor correctly on failed search
14087
14088 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14089
14090         * text.C (getLengthMarkerHeight): for small heights, the arrows
14091         are not always on top/bottom of the text
14092         (drawLengthMarker): smaller arrows; take the left margin in
14093         account; draw also vfills.
14094         (paintFirstRow):
14095         (paintLastRow): remove special code for vfill and standard spaces,
14096         since everything is handled in drawLengthMarker now.
14097
14098 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14099
14100         * buffer.C (insertErtContents): try to handle font and language
14101         interaction a bit better.g
14102
14103         * ColorHandler.C (updateColor): change the hash to cover the whole
14104         LColor enum, ws cleanup
14105         (getGCLinepars): ditto
14106         (getGCLinepars): only lookup in the linecache once.
14107
14108 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14109
14110         * iterators.C (operator++): Make the iterator more robust
14111
14112         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14113         (John's patch)
14114         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14115
14116 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14117
14118         * lyxtext.h:
14119         * text.C: better added space drawing
14120
14121 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14122
14123         * LyXView.C:
14124         * BufferView2.C: fix layout combo update on inset unlock
14125
14126 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14127
14128         * Makefile.am: don't compile unused files
14129
14130 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14131
14132         * lyxfunc.C:
14133         * commandtags.h:
14134         * LyXAction.C: remove old LFUN_LAYOUTNO
14135
14136 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14137
14138         * paragraph_pimpl.h:
14139         * paragraph_pimpl.C: isTextAt() doesn't need font param
14140
14141 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14142
14143         * lyxlex.h:
14144         * lyxlex.C: little cleanup
14145
14146 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14147
14148         * BufferView_pimpl.C: fix insertAscii for insets
14149
14150 2001-12-05  Juergen Vigna  <jug@sad.it>
14151
14152         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14153         set the right font on the "multi" paragraph paste!
14154
14155 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14156
14157         * trans_decl.h:
14158         * trans_mgr.[Ch]:
14159         * trans.[Ch]:
14160         * lyxgluelength.C:
14161         * lyxlength.C: remove out-commented code.
14162
14163         * BufferView_pimpl:
14164         * CutAndPaste.C:
14165         * DepTable.C:
14166         * buffer.C:
14167         * chset.C:
14168         * lastfiles.C:
14169         * lyxlex.C:
14170         * lyxlex_pimpl.C:
14171         * lyxserver.C:
14172         * screen.C:
14173         * tabular-old.C:
14174         * tabular.C:
14175         * text.C:
14176         * trans_mgr.C:
14177         * vc-backend.C: change "while(" to "while ("
14178
14179         * lyxlength.[Ch]: add zero function to check if length is zero or
14180         not
14181         * lyxgluelength.C: use it
14182
14183 2001-12-05  Allan Rae  <rae@lyx.org>
14184
14185         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14186         Works for 2.95.3, from what I understand of Garst's reports this should
14187         work for other g++ versions.  We're screwed if the abs(int) definition
14188         changed between bugfix releases of gcc.
14189
14190 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14191
14192         * text.C: fix chapter label offset !
14193
14194 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14195
14196         * lyxtext.h:
14197         * text.C: fix hfill at end of line, clean up
14198
14199 2001-12-04  Juergen Vigna  <jug@sad.it>
14200
14201         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14202         that we force an update of the inset and it's owners if neccessary.
14203
14204 2001-12-03  Juergen Vigna  <jug@sad.it>
14205
14206         * text.C (rowLast): simplified code
14207
14208 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14209
14210         * lyxfunc.C: fix show options on timeout
14211
14212 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14213
14214         * screen.C (topCursorVisible): scroll half a page when the cursor
14215         reached top of bottom of screen
14216
14217 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14218
14219         * minibuffer.C: deactivate on loss of focus
14220
14221 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14222
14223         * vspace.[Ch] (operator!=): add operator.
14224
14225 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14226
14227         * BufferView_pimpl.C: refuse to open an inset when
14228         there's a selection.
14229
14230 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14231
14232         * BufferView_pimpl.C: allow to click on RHS of full row insets
14233
14234 2001-11-30  Juergen Vigna  <jug@sad.it>
14235
14236         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14237         insets for undo reasons.
14238
14239 2001-11-28  André Pönitz <poenitz@gmx.net>
14240
14241         * vspace.[Ch]: cosmetical changes
14242
14243 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14244
14245         * LyXAction.h:
14246         * LyXAction.C:
14247         * lyxfunc.h:
14248         * lyxfunc.C:
14249         * kbmap.h:
14250         * kbmap.C:
14251         * lyxrc.C:
14252         * kbsequence.h:
14253         * kbsequence.C: part re-write of old kb code
14254
14255         * Painter.C:
14256         * WorkArea.C: remove Lgb_bug_find_hack
14257
14258 2001-11-30  José Matos <jamatos@fep.up.pt>
14259
14260         * buffer.C (makeDocBookFile): add a comment to point a hack.
14261         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14262         Fixed a double write of labels.
14263
14264 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14265
14266         * LaTeX.C:
14267         * LaTeX.h Fixed bug in LaTeX class where it would not
14268         re-run latex if no depfiles were changed, but the .dvi was removed.
14269
14270 2001-11-28  André Pönitz <poenitz@gmx.net>
14271
14272         * all the files from the change on 2001/11/26:
14273         use lyx::layout_type instead of LyXTextClass::size_type
14274         use lyx::textclass_type instead of LyXTextClassList::size_type
14275
14276 2001-11-29  Juergen Vigna  <jug@sad.it>
14277
14278         * text.C: added support for paragraph::isFreeSpacing()
14279
14280         * buffer.C: same as above
14281
14282         * paragraph.h: inserted isFreeSpacing() function to enable
14283         FreeSpacing inside InsetERT.
14284
14285         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14286         of the paragraph's in the cut/copy buffer to 0!
14287
14288         * text2.C (removeRow): remove the assert as it can!
14289
14290         * lyxtext.h: added helper function firstRow returning firstrow and
14291         made firstrow private again.
14292
14293         * BufferView2.C (lockInset): don't relock if we're already locked!
14294
14295         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14296         the only paragraph.
14297         (removeRow): added Assert::(firstrow)
14298
14299         * debug.C: forgot to add INSETTEXT here.
14300
14301 2001-11-28  Juergen Vigna  <jug@sad.it>
14302
14303         * sp_spell.C (initialize): changed error text to more general
14304         spellchecker command use (not only ispell!)
14305
14306         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14307
14308         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14309
14310 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14311
14312         * vspace.C: initialise lyxgluelength on failure
14313
14314 2001-11-28  Allan Rae  <rae@lyx.org>
14315
14316         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14317         declaration & definition that looks like a function declaration.
14318
14319 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14320
14321         * BufferView2.C (copy):
14322         (copyEnvironment): do not clear the selection when doing a copy.
14323
14324         * text.C (paintFirstRow): compilation fix
14325
14326 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14327
14328         * tabular.C (Latex): correct line count when writing latex.
14329
14330 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14331
14332         * paragraph_pimpl.h:
14333         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14334           bug a bit
14335
14336 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14337
14338         * text.C:
14339         * LColor.h:
14340         * LColor.C: change vfillline->added_space
14341
14342         * text.C: add markers and text for added space
14343
14344         * vspace.C: fix comment
14345
14346 2001-11-28  André Pönitz <poenitz@gmx.net>
14347
14348         * paragraph.C: whitespace changes
14349         * all the other files from the change on 2001/11/26:
14350         change *::pos_type into lyx::pos_type
14351
14352 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14353
14354         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14355         language of the document when inserting error insets.
14356
14357 2001-11-26  André Pönitz <poenitz@gmx.net>
14358
14359         * BufferView_pimpl.[Ch]:
14360         *       CutAndPaste.C:
14361         * buffer.[Ch]:
14362         * lyxcursor.[Ch]:
14363         * lyxfind.C:
14364         * lyxfunc.C:
14365         * lyxrow.[Ch]:
14366         * paragraph.[Ch]:
14367         * paragraph_pimpl.[Ch]:
14368         * sp_spell.C:
14369         * text.C:
14370         * text2.C: reduce header dependencies, introduce type for positions
14371
14372 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14373
14374         * <various>: change to use Alert.h
14375
14376 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14377
14378         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14379         when encountering an unknown token.
14380         (readLyXformat2): Show an error message if there were unknown tokens.
14381
14382 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14383
14384         * BufferView2.C:
14385         * BufferView_pimpl.C:
14386         * buffer.C:
14387         * paragraph.h:
14388         * text.C:
14389         * text2.C: use par->isInset()
14390
14391 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14392
14393         * paragraph_pimpl.h:
14394         * paragraph_pimpl.C: cleanup
14395
14396 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14397
14398         * text2.C (removeRow):
14399         * text.C (setHeightOfRow): remove useless (and costly) call to
14400         getRow.
14401
14402 2001-11-20  Allan Rae  <rae@lyx.org>
14403
14404         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14405         Now need Inset*::checkInsertChar() to return true for appropriate
14406         cases so that the characters in the minibuffer will actually be
14407         inserted.
14408
14409 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14410
14411         * text.C: change the order of the includes.
14412         (workWidth): initialize it at once.
14413         (workWidth): make maxw unsigned
14414         (setHeightOfRow): remove unused variable (inset)
14415         (selectSelectedWord): remove unused variable (inset)
14416         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14417
14418 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14419
14420         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14421         server is not running.
14422         (openConnection):
14423         (closeConnection): add debug info when server is disabled.
14424
14425         * ColorHandler.C (getGCForeground): send debug message to GUI
14426         channel.
14427
14428         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14429
14430         * kbmap.C (bind): modify because return conventions of
14431         kb_sequence::parse have changed.
14432
14433         * kbsequence.C (parse): only ignore spaces and not any stupid
14434         control character. This avoids tests like s[i] <= ' ', which are
14435         guaranteed to fail with 8bit characters and signed chars.
14436         Change return code to string::npos when there have been no error
14437         (0 was a bad idea when error is at first character)
14438
14439 2001-11-14  José Matos  <jamatos@fep.up.pt>
14440
14441         * buffer.h:
14442         * buffer.C (simpleDocBookOnePar): removed unused argument.
14443
14444 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14445
14446         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14447         insets which are part of a word. Paragraph::isLetter takes care of
14448         that now. Use Paragraph::isInset to identify insets.
14449         (selectSelectedWord): do not test for hyphenation break.
14450
14451         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14452         that protected spaces are considered as spaces.
14453
14454         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14455         Inset::isLetter.
14456
14457 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14458
14459         * lyxserver.h:
14460         * lyxserver.C: fix it. and small cleanup.
14461
14462 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14463
14464         * BufferView_pimpl.C: use inline helpers
14465
14466         * LaTeXFeatures.h:
14467         * LaTeXFeatures.C: fix typos
14468
14469         * Spacing.h:
14470         * Spacing.C: move spacing_string into class
14471
14472         * ToolbarDefaults.C: move stuff into namespace anon
14473
14474         * layout.h: update enum
14475
14476         * lyxfunc.C: use better debug
14477
14478         * minibuffer.h: fix typo
14479
14480         * debug.h:
14481         * debug.C:
14482         * WorkArea.C: add and use Debug::WORKAREA
14483
14484         * lyxtext.h:
14485         * text.C:
14486         * text2.C: code re-organisation, inline helpers
14487
14488 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14489
14490         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14491         std::vector.empty().
14492
14493 2001-11-09  Allan Rae  <rae@lyx.org>
14494
14495         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14496         '\n's after tables.  Tabular and ERT inset work now makes this no
14497         longer necessary.
14498
14499 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14500
14501         * minibuffer.h:
14502         * minibuffer.C: fix crash, improve drop-down completion
14503
14504 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14505
14506         * lyxserver.h:
14507         * lyxserver.C: invalidate fd's when doing endPipe()
14508
14509 2001-11-08  José Matos  <jamatos@fep.up.pt>
14510
14511         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14512         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14513
14514         * paragraph.h:
14515         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14516
14517 2001-11-07  José Matos  <jamatos@fep.up.pt>
14518
14519         * buffer.h:
14520         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14521         const qualifier.
14522
14523         * buffer.C (sgmlOpenTag):
14524         * buffer.C (sgmlCloseTag): removed debug info.
14525
14526         * buffer.h (sgmlOpenTag):
14527         * buffer.h (sgmlCloseTag): made public.
14528
14529 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14530
14531         * buffer.C (saveParamsAsDefaults):
14532         * lyx_cb.C (MenuLayoutSave): remove
14533
14534         * LyXAction.C (init):
14535         * commandtags.h:
14536         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14537
14538 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14539
14540         * buffer.C (setPaperStuff): removed from here...
14541
14542         * bufferparams.C (setPaperStuff): ... and moved there.
14543
14544 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14545
14546         * minibuffer.h:
14547         * minibuffer.C:
14548         * XFormsView.C: add support for drop-down completion
14549
14550 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14551
14552         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14553         commands.
14554
14555 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14556
14557         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14558         disabled.
14559
14560 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14561
14562         * lyx_main.C: change ref to known bugs
14563
14564 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14565
14566         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14567         to work around older babel problems.
14568
14569 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14570
14571         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14572
14573 2001-10-24  Juergen Vigna  <jug@sad.it>
14574
14575         * tabular-old.C (ReadOld): below variable changes reflected.
14576
14577         * tabular.[Ch]: added ltType struct for longtable header/footer
14578         defines and changed all instances where they are used. Added
14579         future support for double top/bottom rows.
14580
14581 2001-10-24  José Matos  <jamatos@fep.up.pt>
14582
14583         * buffer.h (docbookHandleCaption):
14584         * buffer.C (docbookHandleCaption): removed unused function.
14585         (makeDocBookFile): moved docbook supported version to v4.1.
14586
14587 2001-10-24  José Matos  <jamatos@fep.up.pt>
14588
14589         * tabular.h:
14590         * tabular.C (docbookRow): new function to export docbook code of a row.
14591         (DocBook): now honors the longtable flags.
14592
14593 2001-10-23  José Matos  <jamatos@fep.up.pt>
14594
14595         * LaTeXFeatures.h:
14596         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14597         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14598
14599         * buffer.C (makeLinuxDocFile):
14600         (makeDocBookFile): reworked the preamble, more clean, and with
14601         support for lyx defined entities. Changed the document declaration
14602         to be more XML friendly.
14603
14604         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14605         if we need to output XML that should be done with a filter.
14606
14607 2001-10-22  Juergen Vigna  <jug@sad.it>
14608
14609         * sp_pspell.h (class PSpell): add alive function needed in the
14610         controller to see if the spellchecker could be started.
14611
14612 2001-10-22  Juergen Vigna  <jug@sad.it>
14613
14614         * buffer.C (insertStringAsLines): modify the font for inserting
14615         chars in certain conditions by calling checkInsertChar(font).
14616
14617 2001-10-19  Juergen Vigna  <jug@sad.it>
14618
14619         * text.C (workWidth): use getRow instead of wrong algorithm.
14620         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14621
14622 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14623
14624         * lyxserver.h:
14625         * lyxserver.C:
14626         * lyx_main.h:
14627         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14628
14629 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14630
14631         * text.C (workWidth): do not search for the exact row when
14632         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14633         optimization for big documents.
14634
14635 2001-10-18  Juergen Vigna  <jug@sad.it>
14636
14637         * text.C (workWidth): new function with added Inset * parameter.
14638
14639 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14640
14641         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14642
14643         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14644         change return type of getColumnNearX.
14645
14646
14647         * text.C (changeRegionCase): use uppercase/lowercase instead of
14648         toupper/tolower.
14649         (leftMargin):
14650         (rightMargin): simplify code by factoring out the uses of
14651         textclasslist.
14652         (labelFill):
14653         (numberOfHfills):
14654         (setHeightOfRow):
14655         (appendParagraph): use Paragraph::size_type
14656
14657 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14658
14659         * vspace.C (asLatexString): add a missing break
14660
14661 2001-10-15  Herbert Voss  <voss@perce.de>
14662
14663         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14664
14665 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14666
14667         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14668         is not available.
14669
14670 2001-10-10  André Pönitz <poenitz@gmx.net>
14671
14672         * lyxfunc.C: removed greek_kb_flag.
14673
14674 2001-10-10  Herbert Voss  <voss@perce.de>
14675
14676         * lyx_main.C: delete global string help_lyxdir.
14677
14678 2001-10-09  Herbert Voss  <voss@perce.de>
14679
14680         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14681
14682         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14683
14684         * lyx_main.C: added global string help_lyxdir.
14685
14686         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14687
14688 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14689
14690         * lyxrc.C (set_font_norm_type): support iso8859-4
14691
14692 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14693
14694         * LaTeX.C (deplog): add another regex for MikTeX
14695
14696 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14697
14698         * lyxrc.C (set_font_norm_type): support iso8859-3
14699
14700 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14701
14702         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14703
14704         * LaTeXFeatures.C: remove special case of french and index
14705
14706         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14707         before \begin{document}). This solves several incompatibilities.
14708
14709 2001-10-03  Garst Reese  <reese@isn.net>
14710
14711         * lyx_cb.C: change CheckTex error msg.
14712
14713 2001-10-03  José Matos  <jamatos@fep.up.pt>
14714
14715         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14716
14717 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14718
14719         * .cvsignore: update
14720
14721         * lyx_main.C (commandLineVersionInfo): use new style version info.
14722
14723         * buffer.C (writeFile):
14724         (makeLaTeXFile):
14725         (makeLinuxDocFile):
14726         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14727
14728         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14729
14730         * version.h: update to use stuff in version.C
14731
14732         * version.C.in: new file. Contains version information determined
14733         at compile time. This is a merging of version.h and
14734         version_info.h.in.
14735
14736 2001-10-03  Juergen Vigna  <jug@sad.it>
14737
14738         * BufferView_pimpl.C (update): don't change "dirty" status in
14739         updateInset call.
14740
14741 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14742
14743         * WorkArea.C (c-tor): re-position version string slightly.
14744
14745 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14746
14747         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14748         revert to previous code.
14749
14750         WorkArea.[Ch]: (show, destroySplash): methods removed.
14751
14752         WorkArea.C: rework code so that it's an amalgam of the codes before and
14753         after the splash screen was moved to WorkArea.
14754
14755 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14756
14757         * lyxrc.C (read):
14758         * vspace.C (inPixels):
14759         (lyx_advance):
14760         * kbmap.C (bind):
14761         * buffer.C (insertStringAsLines):
14762         (asciiParagraph): fix types to be large enough
14763
14764         * lyxlex_pimpl.h: change member status from short to int
14765
14766         * layout.h: fix type of endlabeltype
14767
14768         * kbmap.C (bind):
14769         * kbsequence.C (parse): change return type to string::size_type
14770
14771         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14772         variable
14773
14774         * Bullet.C (bulletSize):
14775         (bulletEntry): do not use short ints as parameters
14776
14777         * BufferView2.C (insertLyXFile): change a char to an int.
14778
14779         * WorkArea.C (WorkArea): remove unneeded floats in computation
14780
14781 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14782
14783         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14784
14785         * paragraph.C (asString): Do not ignore newline/hfill chars when
14786         copying to the clipboard.
14787
14788 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14789
14790         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14791         after a multi-line inset.
14792
14793 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14794
14795         * paragraph.C (validate): Set NeedLyXFootnoteCode
14796
14797 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14798
14799         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14800         and decrease-error to decrease.
14801
14802 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14803
14804         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14805         it more readable (should be equivalent)
14806
14807 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14808
14809         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14810
14811 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14812
14813         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14814         of a cursor (row, etc.) after a character has been deleted
14815         (deleteEmptyParagraphMechanism): call the method above on _all_
14816         cursors held by the LyXText when a double space has been
14817         detected/deleted.
14818
14819 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14820
14821         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14822         pixmap.
14823         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14824
14825         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14826         background. Use greyOut() and the new show() methods to toggle between
14827         the foreground and background. Add code to remove the splash after
14828         its initial showing.
14829
14830         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14831         (create_forms): no longer call Dialogs::showSplash.
14832
14833 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14834
14835         * .cvsignore: add version_info.h
14836
14837 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14838
14839         * version_info.h.in: new file
14840
14841         * Makefile.am: add version_info.h.in
14842
14843         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14844         version_info.h instead of VERSION_INFO
14845
14846 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14847
14848         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14849         The ERT inset now returns string().
14850
14851 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14852
14853         * lyxtext.h, text.C (selectNextWord): renamed as
14854         selectNextWordToSpellcheck.
14855
14856         * text.C (selectNextWordToSpellcheck): Modified to not select
14857         words inside an ERT inset.
14858
14859 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14860
14861         * lyx_cb.C (MenuLayoutSave): change a bit the question
14862
14863         * sp_base.h: include <sys/types.h>
14864
14865 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14866
14867         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14868
14869 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14870
14871         * several files: fix typos in user-visible strings
14872
14873 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14874
14875         * text2.C (pasteSelection): do not set the selection, since it
14876         will be cleared later. Actually, the intent was to fix the way the
14877         selection was set, but I figured rmoving the code was just as good.
14878
14879 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14880
14881         * FontLoader.C (available): Check if font is available without
14882         loading the font.
14883
14884 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14885
14886         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14887
14888 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14889
14890         * lyxrc.[Ch]: added display_graphics variable and associated code.
14891
14892 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14893
14894         * bufferparams.C (hasClassDefaults): new method. Returns true if
14895         the buffer parameters correspond to known class defaults
14896
14897 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14898
14899         * XFormsView.C (show): set minimum size to the main window.
14900
14901 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14902
14903         * text2.C (copySelection):
14904         (cutSelection):
14905         * lyxfind.C (LyXReplace):
14906         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14907         LyXText::selectionAsString.
14908
14909         * paragraph.C (asString): add "label" argument to the second form
14910
14911         * text2.C (selectionAsString): add "label" argument and pass it to
14912         Paragraph::asString.
14913
14914 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14915
14916         * lyx_main.C (commandLineHelp): remove version information
14917
14918 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14919
14920         * lyx_main.C: add -version commandline option
14921
14922 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14923
14924         * paragraph.h: make the optional constructor arg required instead.
14925         some modifications to other files because of this.
14926
14927         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14928
14929         * lyxserver.C (C_LyXComm_callback): make it static
14930
14931         * lyx_main.C (error_handler): make it static
14932
14933         * lyx_gui.C (LyX_XErrHandler): make it static
14934
14935         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14936
14937         * WorkArea.C: make the extern "C" methods static.
14938
14939         * Makefile.am (lyx_LDADD): simplify
14940
14941 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14942
14943         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14944         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14945
14946         * LyXAction.C (init):
14947         * lyxfunc.C (dispatch): associated code removal.
14948
14949 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14950
14951         * lyxfont.h (isSymbolFont): shut off warning
14952
14953         * text.C (setHeightOfRow):
14954         (getVisibleRow): fix crash with empty paragraphs which have a
14955         bottom line
14956
14957 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14958
14959         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14960         code.
14961
14962 2001-09-04  José Matos  <jamatos@fep.up.pt>
14963         * buffer.C
14964         * buffer.h
14965         * tabular.C (docbook): rename docBook method to docbook.
14966
14967 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14968
14969         * Makefile.am: add dependencies to main.o.
14970
14971 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14972
14973         * FontLoader.C (available): Return false if !lyxrc.use_gui
14974
14975 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14976
14977         * FontInfo.C (query):
14978         * converter.C (view):
14979         * importer.C (Import):
14980         * exporter.C (Export): Can not -> cannot.
14981
14982 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14983
14984         * BufferView_pimpl.C: allow to create index inset even if
14985           string is empty
14986
14987 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14988
14989         * buffer.C (getLists): replace boost::tie code with an explicit pair
14990         as boost::tie can break some compilers.
14991
14992         * iterators.h: Added a std:: declaration to the return type of
14993         ParIterator::size.
14994
14995 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14996
14997         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14998           case.
14999
15000 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15001
15002         * iterators.[Ch]: New files. Provide paragraph iterators.
15003
15004         * buffer.C (changeLanguage): Use paragraph iterators.
15005         (isMultiLingual): ditto
15006
15007         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15008
15009 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15010
15011         * FontLoader.C: Support for cmr font.
15012
15013 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15014
15015         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15016         (available): New method.
15017
15018         * FontInfo.C (getFontname): Use scalable fonts even when
15019         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15020         found.
15021
15022 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15023
15024         * converter.C (Formats::view): reverted! Incorrect fix.
15025
15026 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15027
15028         * converter.C (Formats::view): only output the -paper option
15029         if the dvi viewer is xdvi, thereby fixing bug #233429.
15030
15031 2001-08-23  Herbert Voss  <voss@perce>
15032
15033         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15034
15035 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15036
15037         * Spacing.h (Spacing): Set space to Default on in the default
15038         constructor.
15039
15040 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15041
15042         * vc-backend.h (RCS::versionString): add RCS to version
15043         (CVS::versionString): add CVS to version
15044
15045         * vc-backend.C (scanMaster): do not add CVS to version.
15046         (scanMaster): do not add RCS to version
15047
15048         * lyxvc.C (versionString): new method
15049
15050         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15051
15052 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15053
15054         * Spacing.C (set): initialize fval
15055
15056 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15057
15058         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15059         " or \.
15060
15061 2001-08-16  Juergen Vigna  <jug@sad.it>
15062
15063         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15064
15065 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15066
15067         * BufferView_pimpl.C:
15068         * figureForm.C:
15069         * lyxtext.h:
15070         * text2.C: setParagraph takes linespacing now
15071
15072 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15073
15074         * LyxAction.C: add internal LFUN_CITATION_INSERT
15075
15076         * LyXView.C: actually apply fix
15077
15078         * bufferlist.C: fix open non-existent file
15079
15080         * lyxfind.C: fix indentation
15081
15082         * lyxfunc.C: remove unneeded assert, fix typo
15083
15084 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15085
15086         * MenuBackend.C: use "Floatname List"
15087
15088 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15089
15090         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15091         when converting LaTeX layout to insetERT.
15092         Generate a non-collapsed float when reading old float
15093
15094 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15095
15096         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15097         ERT insets.
15098
15099 2001-08-13  Juergen Vigna  <jug@sad.it>
15100
15101         * text.C (fill): return 0 instead of 20 as this seems to be the more
15102         correct value.
15103
15104 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15105
15106         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15107         lyxrc.font_norm.
15108
15109 2001-08-13  Juergen Vigna  <jug@sad.it>
15110
15111         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15112         casesensitive off.
15113         (SearchBackward): comment out the unlocking of the inset_owner this
15114         should not be needed!
15115
15116 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15117
15118         * Many files: Remove inherit_language, and add latex_language
15119
15120         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15121         collapsible insets.
15122
15123 2001-08-10  Juergen Vigna  <jug@sad.it>
15124
15125         * text.C (prepareToPrint): fixed hfill-width in draw!
15126
15127         * BufferView2.C (selectLastWord): save the selection cursor as this
15128         now is cleared in the function LyXText::clearSelection!
15129
15130 2001-08-08  Juergen Vigna  <jug@sad.it>
15131
15132         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15133         BACKSPACE type functions.
15134
15135         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15136         is only cutted from the document but not put in the cut-buffer, where
15137         still the old stuff should be.
15138
15139         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15140
15141         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15142
15143         * tabular.C (SetWidthOfCell): fixed special case where the width
15144         was not updated!
15145         (LeftLine): handle '|' in align_special.
15146         (RightLine): ditto
15147         (LeftAlreadyDrawed): ditto
15148         (SetWidthOfCell): ditto
15149
15150 2001-08-07  Juergen Vigna  <jug@sad.it>
15151
15152         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15153
15154 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15155
15156         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15157         * lyxlex.[hC]: ditto
15158
15159 2001-08-06  Juergen Vigna  <jug@sad.it>
15160
15161         * text.C (getVisibleRow): fix up row clearing a bit.
15162
15163 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15164
15165         * minibuffer.C: make sure the X server sees the changes in the input.
15166
15167 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15168
15169         * paragraph.C (getFont): split into...
15170         (getLabelFont): this
15171         (getLayoutFont): and this
15172         * paragraph_pimpl.C (realizeFont): calling this
15173
15174         * text2.C (getFont): split into...
15175         (getLayoutFont): this
15176         (getLabelFont): and this
15177         (realizeFont): all three calling this
15178
15179         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15180         files where used.
15181
15182 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15183
15184         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15185
15186 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15187
15188         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15189         layouts from the Quote inset insertion.
15190
15191 2001-08-03  Juergen Vigna  <jug@sad.it>
15192
15193         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15194
15195         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15196         only if status not is already CHANGED_IN_DRAW (second level).
15197
15198         * text.C (draw): don't set the need_break_row when inside an
15199         InsetText LyXText.
15200
15201 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15202
15203         * buffer.C (parseSingleLyXformat2Token): handle more latex
15204         conversion cases.
15205
15206         * bufferview_funcs.[hC]: change function names to
15207         begin with small char, adjust other files.
15208
15209 2001-08-02  André Pönitz <poenitz@gmx.net>
15210
15211         * lyxfunc.C:
15212         BufferView_pimpl.C: remove broken special code for math-greek
15213
15214 2001-08-02  Juergen Vigna  <jug@sad.it>
15215
15216         * BufferView_pimpl.C (update): redone this function so that we
15217         update the text again if there was a CHANGE_IN_DRAW.
15218
15219         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15220         (drawFromTo): added a new internal bool which is used by draw() and
15221         redraw() function.
15222         (general): some cursor drawing problems fixed.
15223
15224 2001-08-01  Juergen Vigna  <jug@sad.it>
15225
15226         * lyxfind.C (LyXFind): fixed
15227         (SearchForward): ditto
15228         (SearchBackward): ditto
15229
15230         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15231         spurius drawing of the cursor in the main area.
15232
15233         * text2.C (status): small fix which could lead to a segfault!
15234         (clearSelection): remove unneeded BufferView param.
15235
15236 2001-08-01  André Pönitz <poenitz@gmx.net>
15237
15238         * lyxfunc.C: small change due to changed mathed interface
15239
15240 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15241
15242         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15243
15244 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15245
15246         * lyxfunc.c: fail gracefully if file doesn't exist
15247
15248         * LyXSendto.C:
15249         * buffer.C:
15250         * lyxfunc.C:
15251         * BufferView_pimpl.C: IsDirWriteable() proto changed
15252
15253         * LyXView.C: fix updateWindowTitle() to store the last title
15254
15255 2001-07-31  Juergen Vigna  <jug@sad.it>
15256
15257         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15258         the font (wrong since using of Paragraph::highestFontInRange).
15259
15260         * paragraph.C (highestFontInRange): added a default_size parameter.
15261
15262         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15263         (setHeightOfRow): reformat
15264
15265 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15266
15267         * converter.[hC] + affected files: move to (inital-char)lowercase
15268         function names.
15269
15270         * ParagraphParameters.C (ParagraphParameters): remove commented code
15271
15272         * PainterBase.[Ch]: remove commented code
15273
15274         * LaTeXFeatures.h: add "bool floats" for float.sty
15275
15276         * LaTeXFeatures.C (LaTeXFeatures): init floats
15277         (require): handle float
15278         (getPackages): do it with floats
15279
15280 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15281
15282         * BufferView_pimpl.C (Dispatch): improve handling of
15283         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15284
15285         * commandtags.h: #include lyxfont.h here temporarily to avoid
15286         keybinding bug.
15287
15288         * bufferlist.h: include LString.h here.
15289
15290 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15291
15292         * text2.C (getStringToIndex): new method.
15293
15294 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15295
15296         * *: Reduced header file dependencies all over.
15297
15298 2001-07-30  Baruch Even  <baruch@lyx.org>
15299
15300         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15301
15302 2001-07-29  Baruch Even  <baruch@lyx.org>
15303
15304         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15305
15306 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15307
15308         * ParameterStruct.h (endif): add a default constructor to make
15309         sure that all variables is initialized.
15310
15311         * ParagraphParameters.C (ParagraphParameters): adjust
15312
15313 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15314
15315         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15316         index; also, check that there is something to index, and that it
15317         does not span over several paragraphs.
15318         (doubleClick): use WHOLE_WORD_STRICT for double click.
15319
15320         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15321
15322         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15323         scheme.
15324
15325 2001-07-26  Baruch Even  <baruch@lyx.org>
15326
15327         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15328         an InsetFig figure, backwards compatible reading of old figure code.
15329
15330 2001-07-27  Juergen Vigna  <jug@sad.it>
15331
15332         * text2.C: font.realize function adaption.
15333
15334         * text.C (draw): add a warnings lyxerr text if needed.
15335
15336         * layout.C: font.realize function adaption.
15337
15338         * language.C: add inherit_language and implement it's handlings
15339
15340         * bufferview_funcs.C (StyleReset): remove language parameter from
15341         font creation (should be language_inherit now).
15342
15343         * bufferparams.C (writeFile): handle ignore_language.
15344
15345         * paragraph.C (getFontSettings): the language has to be resolved
15346         otherwise we have problems in LyXFont!
15347
15348         * lyxfont.C (lyxWriteChanges): added document_language parameter
15349         (update): removed unneeded language parameter
15350
15351         * paragraph.C (validate): fixed wrong output of color-package when
15352         using interface colors for certain fonts in certain environments,
15353         which should not seen as that on the final output.
15354
15355 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15356
15357         * BufferView_pimpl.C:
15358         * Thesaurus.h:
15359         * Thesaurus.C:
15360         * Makefile.am:
15361         * commandtags.h:
15362         * LyXAction.C: add thesaurus support
15363
15364         * lyxfind.h:
15365         * lyxfind.C: add "once" parameter, for thesaurus, to not
15366           move to the next match
15367
15368 2001-07-26  Juergen Vigna  <jug@sad.it>
15369
15370         * lyxfont.C (realize): honor ignore_language too!
15371         (resolved): ditto.
15372
15373         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15374
15375         * text.C (draw): one place more for ignore_language to not draw
15376         itself!
15377
15378 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15379
15380         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15381
15382 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15383
15384         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15385         the minipage conversion problem.
15386
15387 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15388
15389         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15390         insert an inset.
15391
15392 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15393
15394         * BufferView.h: don't forward declare WorkArea
15395
15396         * BufferView.C: don't include WorkArea.h
15397
15398 2001-07-25  André Pönitz <poenitz@gmx.net>
15399
15400         * commandtags.h:
15401         * LyXAction.C:
15402         * lyxfunc.C:  new LFUN 'math-space'
15403
15404         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15405
15406 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15407
15408         * text2.C (toggleInset): call open/close
15409
15410 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15411
15412         * lyxfunc.C (dispatch): add debug for the disabled case
15413
15414         * font.C (buttonText): make similar to rectText
15415
15416         * buffer.C (readInset): comment out parsing of insetlist and
15417         insttheorem
15418
15419         * PainterBase.C (rectText): small correction
15420
15421         * BufferView_pimpl.C: comment out insettheorem and insetlist
15422         * LyXAction.C: ditto
15423         * commandtags.h: ditto
15424
15425 2001-07-24  Juergen Vigna  <jug@sad.it>
15426
15427         * text.C (draw): honor the ignore_language.
15428
15429         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15430
15431 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15432
15433         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15434         char inset.
15435
15436 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15437
15438         * lyxtext.h: remove unused (and unimplemented) methods
15439
15440 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15441
15442         * text.C (getVisibleRow): honor background color
15443
15444         * PainterBase.h:
15445         * Painter.h: remove default color argument for fillRectangle
15446
15447         * text.C (backgroundColor): new method
15448
15449 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15450
15451         * text.C (getVisibleRow): adjust
15452
15453         * font.[Ch] (rectText): new method, metrics
15454         (buttonText): new method, metrics
15455
15456         * PainterBase.[hC]: make rectText and buttonText always draw and take
15457         fewer paramteres.
15458
15459 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15460
15461         * ToolbarDefaults.C (read):
15462         * MenuBackend.C (read): allow escaping in all strings
15463
15464         * BufferView_pimpl.C (insertAndEditInset): new method.
15465         (Dispatch): use insertAndEditInset whenever appropriate.
15466
15467         * BufferView_pimpl.C (insertNote): removed
15468
15469         * BufferView_pimpl.C (smartQuote): new method, moved from
15470         BufferView; if an insetquote cannot be inserted, insert a '"'
15471         character instead.
15472
15473         * BufferView2.C: remove insertCorrectQuote();
15474
15475         * lyxfunc.C (getStatus): Add support for all remaingin
15476         inset-insert lfuns.
15477
15478         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15479
15480         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15481         command (necessary to pass " as parameter of self-insert.
15482
15483         * text.C (selectWordWhenUnderCursor):
15484         (selectWord): add word_location parameter
15485         (selectWordWhenUnderCursor): same + remove special code for word
15486         boundary.
15487         (selectNextWord): use kind() to guess type of insetspecialchar,
15488         not latex().
15489
15490         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15491         (insertErtContents): create ert insets as collapsed.
15492         (readInset): better compatibility code for Info inset.
15493
15494 2001-07-20  Juergen Vigna  <jug@sad.it>
15495
15496         * lyxfunc.C (dispatch): use always LyXFind now!
15497
15498         * text2.C (init): add a reinit flag so that the LyXText can be
15499         reinited instead of deleted and reallocated (used in InsetText).
15500
15501         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15502
15503         * text.C: ditto
15504
15505         * text2.C: ditto
15506
15507 2001-07-18  Juergen Vigna  <jug@sad.it>
15508
15509         * text.C (selectNextWord): handle insets inside inset by calling
15510         always the bv->text functions so that we can go up the_locking_inset!
15511
15512         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15513         in strange locations when inside an inset!
15514
15515         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15516         handling to include insets.
15517
15518         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15519
15520 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15521
15522         * LyXAction.C (init):
15523         * commandtags.h:
15524         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15525         LIGATURE_BREAK, since the name is so stupid.
15526
15527 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15528
15529         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15530         InsetInfos.
15531
15532         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15533
15534         * sp_form.[Ch]: remove.
15535
15536         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15537
15538         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15539         InsetInfo.
15540
15541         * src/buffer.C (readInset): ditto.
15542
15543 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15544
15545         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15546         menuSeparator(), endOfSentenceDot(), ldots() and
15547         hyphenationPoint(), which are therefore removed.
15548         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15549
15550         * LyXAction.C (init):
15551         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15552
15553         * paragraph.C (getWord): removed.
15554
15555         * BufferView_pimpl.C (Dispatch): use last word or selection for
15556         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15557
15558         * lyx_main.C (queryUserLyXDir): do not ask before creating
15559         user_dir, except if it has been named explicitely.
15560
15561 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15562
15563         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15564         a document of zero size.
15565
15566 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15567
15568         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15569         approriately in the c-tor and in require().
15570         (getPackages): output the appropriate LaTeX for natbib support.
15571
15572         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15573         variables "use_natbib" and "use_numerical_citations" when reading the
15574         LyX file.
15575         (readInset): read the various natbib cite commands.
15576         (validate): white-space change.
15577
15578         * bufferparams.[Ch]: new variables "bool use_natbib" and
15579         "bool use_numerical_citations".
15580         (writeFile): output them in the LyX file.
15581
15582 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15583
15584         * lyxfunc.C (getStatus): add support for all the inset insertion
15585         commands.
15586
15587         * text2.C (insertInset):
15588         * paragraph.C (insetAllowed):
15589         * BufferView_pimpl.C (insertInset): update to take in account the
15590         renaming of insertInsetAllowed
15591
15592         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15593
15594         * text2.C (getInset): new method. returns inset at cursor position.
15595
15596         * BufferView_pimpl.C (Dispatch): changes because of this.
15597
15598         * LyXAction.C (init): rename open-stuff to inset-toggle.
15599
15600         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15601
15602         * text2.C (toggleInset): renamed from openStuff; use
15603         Inset::open().
15604
15605 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15606
15607         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15608
15609         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15610
15611 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15612
15613         * buffer.C (readLyXformat2): Add filename to the error dialog
15614
15615 2001-07-18  Juergen Vigna  <jug@sad.it>
15616
15617         * tabular.C (GetCellNumber): put an assert here instead of the check!
15618
15619 2001-07-17  Juergen Vigna  <jug@sad.it>
15620
15621         * BufferView_pimpl.C (toggleSelection): adapted too.
15622
15623         * text.C (selectNextWord): adapted for use with insets.
15624         (selectSelectedWord): ditto
15625
15626 2001-07-17  Juergen Vigna  <jug@sad.it>
15627
15628         * sp_spell.C (PSpell): fix initialitation order.
15629
15630 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15631
15632         * paragraph.C: spacing
15633
15634 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15635
15636         * sp_spell.C: repair language selection for pspell
15637
15638 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15639
15640         * lyxfunc.h: change more methods to begin with lower char.
15641
15642 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15643
15644         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15645         for unknown layouts.
15646
15647 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15648
15649         * buffer.C (readLyXformat2): Generate an error dialog if there are
15650         unknown layouts.
15651
15652 2001-07-16  Juergen Vigna  <jug@sad.it>
15653
15654         * sp_spell.C: always compile ISpell part.
15655
15656         * lyxrc.C: added use_pspell entry and it's handling.
15657
15658 2001-07-13  Juergen Vigna  <jug@sad.it>
15659
15660         * sp_spell.C: removed double includes.
15661
15662 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15663
15664         Consistent use of Lsstream.h:
15665         * Lsstream.h: added using std::stringstream for consistencies sake.
15666
15667         * buffer.C: removed using std::stringstream
15668
15669         * lyxfont.C (stateText):
15670         * paragraph.C (asString):
15671         * text.C (selectNextWord, selectSelectedWord):
15672         * text2.C (setCounter):
15673         * vspace.C (asString, asLatexString):
15674         std::ostringstream -> ostringstream.
15675
15676 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15677
15678         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15679         * commandtags.h: add LFUN_HELP_ABOUTLYX
15680         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15681
15682 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15683
15684         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15685         cursorToggle()
15686         * lyx_gui_misc.C: remove spellchecker
15687         * lyxfunc.C: showSpellchecker
15688         * sp_base.h: added
15689         * sp_ispell.h: added
15690         * sp_pspell.h: added
15691         * sp_spell.C: added
15692         * sp_form.[Ch]: removed
15693         * spellchecker.[Ch]: removed
15694
15695 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15696
15697         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15698         is set.
15699         (simpleTeXSpecialChars): Simply print the input character without
15700         any special translation if pass_thru is set.
15701
15702         * layout.h: Added bool pass_thru to layout class for being able to
15703         implement pass through of a paragraph for Literate Programming.
15704
15705         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15706         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15707         * layout.C (Read): add "passthru" to list of layout tags and add
15708         code to set the pass_thru boolean when it is read.
15709
15710 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15711
15712         * trans_decl.h: remove allowed from KmodInfo
15713
15714         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15715         remove allowed code
15716         (Load): adjust
15717
15718         * paragraph_pimpl.C (erase): use boost::prior
15719
15720         * Painter.C (text): use data() instead of c_str() when length is
15721         also provided.
15722         * WorkArea.C (putClipboard): ditto
15723         * font.h (width): ditto
15724
15725         * BufferView2.C: use it-> instead of (*it). for iterators
15726         * texrow.C: ditto
15727         * paragraph_pimpl.C: ditto
15728         * paragraph.C: ditto
15729         * minibuffer.C: ditto
15730         * language.C: ditto
15731         * kbmap.C: ditto
15732         * encoding.C: ditto
15733         * counters.C: ditto
15734         * converter.C: ditto
15735         * chset.C: ditto
15736         * Variables.C: ditto
15737         * TextCache.C: ditto
15738         * MenuBackend.C: ditto
15739         * LyXAction.C: ditto
15740         * LColor.C: ditto
15741         * FloatList.C: ditto
15742         * DepTable.C: ditto
15743         * ColorHandler.C (LyXColorHandler): ditto
15744
15745 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15746
15747         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15748
15749         * text2.C (openStuff): reintroduce this method (which had been
15750         nuked in NEW_INSETS frenzy).
15751
15752         * lyxfunc.C (Dispatch): when an action has not been handled, use
15753         its name in the error message, not its number.
15754
15755         * paragraph.C (inInset): change method name to begin with lowercase.
15756
15757         * undo_funcs.C:
15758         * text2.C: updates because of this.
15759
15760 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15761
15762         * ToolbarDefaults.C (add): add spaces in error message
15763
15764 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15765
15766         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15767         (readLyXformat2): rename return_par to first_par, use lyxlex's
15768         pushToken and remove the manual push handling.
15769         (parseSingleLyXformat2Token): add another ert comp. variable:
15770         in_tabular, rename return_par to first_par. handle newlines better
15771
15772 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15773
15774         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15775
15776 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15777
15778         * text2.C (getParFromID): removed
15779
15780         * buffer.C (getParFromID): new method moved form lyxtext.
15781         * BufferView2.C (insertErrors): adjust
15782         (setCursorFromRow): adjust
15783         * BufferView_pimpl.C (restorePosition): adjust
15784         * lyxfunc.C (Dispatch): adjust
15785         * undo_funcs.C (textUndo): adjust
15786         (textRedo): adjust
15787         (textHandleUndo): adjust
15788         (textHandleUndo): adjust
15789
15790 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15791
15792         * buffer.C: up' the LYX_FORMAT
15793
15794         * lyxfont.h: turn NO_LATEX on as default
15795
15796         * buffer.C (insertErtContents): new methods of tex style compability.
15797         (parseSingleLyXformat2Token): use it several places.
15798         * tabular.C (OldFormatRead): and here
15799
15800 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15801
15802         * text2.C: remove some commented code.
15803         reindent file.
15804
15805         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15806         * trans.C: changes because of the above.
15807
15808 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15809
15810         * text2.C (setCounter): Fix counters bug with bibliography layout.
15811
15812 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15813
15814         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15815         own member functions
15816         (simpleTeXSpecialChars): ditto
15817
15818 2001-07-06  Juergen Vigna  <jug@sad.it>
15819
15820         * a lot of files: changed the access to LyXText::status and the
15821         call of undo-functions.
15822
15823         * undo.[Ch]: added a inset_id to the undo informations.
15824
15825         * undo_funcs.[Ch]: added and moved here all undo functions.
15826
15827         * lyxtext.h: give the status enum a weight, made status_ a private
15828         variable and made accessor functions for it, removed the whole bunch
15829         of undo-functions as they are now in their own file, make some
15830         functions publically available. Added function ownerParagraph with
15831         int parameter.
15832
15833         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15834         made InInset() a const function, added getParFromID() function.
15835
15836         * buffer.[Ch]: added const version for inset_iterator functions,
15837         added getInsetFromID() function.
15838
15839         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15840         changed undo functions for new version.
15841
15842 2001-07-05  Juergen Vigna  <jug@sad.it>
15843
15844         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15845         unknow mechanism does not call the proper constructor but only this
15846         one also if I request the other!?
15847
15848 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15849
15850         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15851
15852         * text2.C (LyXText): use initialization lists.
15853
15854         * lyxtext.h (Selection): initialize set_ and mark_
15855         (init): remove method
15856
15857 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15858
15859         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15860
15861 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15862
15863         * screen.[Ch]: change method names to begin with lowercase
15864
15865         * BufferView_pimpl.C (updateScrollbar): simplify further and
15866         hopefully make it a bit faster.
15867
15868 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15869
15870         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15871         calling directly xforms functions.
15872
15873         * Painter.C (Painter):
15874         * lyx_cb.C (MenuWrite):
15875         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15876         fl_display.
15877
15878         * lyx_gui.C: remove bogus guiruntime extern declaration.
15879
15880 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15881
15882         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15883         in NEW_INSETS
15884         (redoDrawingOfParagraph): ditto
15885         (redoParagraphs): ditto
15886         (cutSelection): don't create a object for CutAndPaste use the
15887         static method directly
15888         (pasteSelection): ditto
15889
15890         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15891         LyXview (+ rename)
15892
15893 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15894
15895         * modifications to some other files because of this.
15896
15897         * Makefile.am (lyx_SOURCES): add XFormsView
15898
15899         * XFormsView.[Ch]: new files
15900
15901         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15902         the main window. Move the gui dependent stuff to XFormsView
15903
15904 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15905
15906         * tabular.C (GetCellInset): update cur_cell also in the row/col
15907         version of this function.
15908
15909         * lyxfunc.C: no need to include figure_form.h here.
15910
15911         * FontLoader.h:
15912         * lyxfunc.h:
15913         * lyxscreen.h:
15914         * text2.C:
15915         * lyxvc.C: no need to include forms.h here.
15916
15917 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15918
15919         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15920
15921         * lyxfunc.C (Dispatch):
15922         * Spacing.C (set):
15923         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15924         constructor argument.
15925
15926 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15927
15928         * paragraph.C (Paragraph): dont't clear, and just set layout.
15929         (makeSameLayout): use params's copy contructor.
15930
15931         * ParagraphParameters.[Ch] (makeSame): delete method
15932
15933 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15934
15935         * Variables.[Ch]: fix indentation, rename set to isSet
15936
15937 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15938
15939         * lyxfunc.C (Dispatch): fix typo
15940
15941 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15942
15943         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15944         upper_bound.
15945
15946         * bufferlist.C: include assert.h for emergencyWrite().
15947
15948 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15949
15950         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15951           give up at last (bug #425202) !
15952
15953 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15954
15955         * lyx_gui_misc.C:
15956         * sp_form.h:
15957         * sp_form.C:
15958         * spellchecker.h:
15959         * spellchecker.C: strip spellchecker options and bring up
15960           preferences tab instead
15961
15962 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15963
15964         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15965         the istringstream constructor
15966
15967 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15968
15969         * paragraph.C (getLayout): fix return value
15970
15971         * paragraph.h: do not declare getLayout as inline.
15972
15973         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15974
15975 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15976
15977         * lyxcursor.h (operator<): new func
15978         (operator>): new func
15979         (operator>=): new func
15980         (operator<=): new func
15981
15982         * text.C (changeCase): use selection.start and selection.end
15983         (changeRegionCase): require from to be <= to. Require par to be a
15984         valid paragraph.
15985
15986         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15987
15988 2001-06-27  Juergen Vigna  <jug@sad.it>
15989
15990         * text.C (cursorLeftOneWord): changed to return the cursor and added
15991         overlay with BufferView * parameter which calls this one.
15992         (getWord): added
15993         (selectWord): use new getWord function.
15994         (changeCase): renamed from changeWordCase as and extended to work
15995         also on selections.
15996
15997         * lyxtext.h: added enum word_location
15998
15999         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16000         changeCase as this operates now also on selections.
16001
16002 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16003
16004         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16005
16006         * many files: send debug output to Debug::INFO instead of
16007         Debug::ANY.
16008
16009         * converter.C (View):
16010         (Convert):
16011         (Move): send debug output to Debug::FILES instead of console.
16012
16013 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16014
16015         * lyxfunc.C (getStatus): use func_status
16016
16017         * func_status.h: new header, describing the results of
16018         LyXFunc::getStatus;
16019
16020         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16021         LFUN_MATH_HALIGN.
16022
16023 2001-06-25  The LyX Project  <jug@sad.it>
16024
16025         * buffer.C (sgmlOpenTag):
16026         (sgmlCloseTag):
16027         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16028
16029 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16030
16031         * text2.C: remove some dead code
16032
16033         * tabular.C (GetCellInset): store the last cell checked (gotten)
16034
16035         * tabular.h: add the helper for the speedup
16036
16037         * lyxtext.h: remove some dead code
16038
16039 2001-06-26  The LyX Project  <Asger>
16040
16041         * paragraph.C: Change export to LaTeX of alignment to
16042         \begin{center} and family for better roundtrip work with reLyX.
16043
16044         * Tune the math drawing a bit.
16045
16046 2001-06-25  The LyX Project  <Asger>
16047
16048         * LColor.C (LColor): New color for math background. New color
16049         for buttons.
16050
16051 2001-06-25  The LyX Project  <jug@sad.it>
16052
16053         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16054
16055         * lyxfunc.C (Open):
16056         * bufferlist.C (newFile): do not restrict to files ending with
16057         .lyx
16058
16059         * BufferView_pimpl.C (MenuInsertLyXFile):
16060
16061 2001-06-24  The LyX Project  <jug@sad.it>
16062
16063         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16064         of compare_no_case
16065
16066 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16067
16068         * lyxtext.h: rename most methods to begin with a small char.
16069         Lots of changes because of this.
16070
16071         * paragraph.C (Paragraph): do not call fitToSize
16072         (erase): call Pimpl::erase
16073         (insertChar): call Pimpl::insertChar
16074         (insertInset): call Pipl::insertInset
16075         (breakParagraph): do not call fitToSize
16076         (breakParagraphConservative): do not call fitToSize
16077         (fitToSize): remove method
16078
16079         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16080
16081 2001-06-24  The LyX Project  <Asger>
16082
16083         * Fix Qt compilation^2
16084
16085 2001-06-24  The LyX Project  <jug@sad.it>
16086
16087         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16088         depthHook(getDepth()-1).
16089
16090         * paragraph.h:
16091         * ParagraphParameters.h:
16092         * ParameterStruct.h: change type of depth to unsigned int ==
16093         depth_type. Many adaptations to other files before of that.
16094
16095 2001-06-24  The LyX Project  <Asger>
16096
16097         * Fix Qt compilation.
16098
16099 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16100
16101         * paragraph.h: renamed several methods to begin with small letter.
16102         several changes to many parts of the code because of this.
16103
16104 2001-06-23  The LyX Project  <jug@sad.it>
16105
16106         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16107         rewritten to discard all double spaces when KeepEmpty is off
16108         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16109         to only handle newlines but not fiddle with spaces and friends.
16110
16111         * lyxfunc.C (MenuNew): when doing 'new from template', use
16112         template_path as default directory
16113
16114 2001-06-23  The LyX Project  <Asger>
16115
16116         * Clean-up of header file includes all over
16117         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16118
16119 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16120
16121         * paragraph.h: renamed from lyxparagraph.h
16122
16123 2001-06-23  Asger  <lyx@violet.home.sad.it>
16124
16125         * Buffer.h: Removed Buffer::resize
16126         * BufferList.h: Removed BufferList::resize
16127         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16128         the document lazily when we change the width, or the font settings.
16129
16130 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16131
16132         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16133
16134 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16135
16136         * buffer.h: remove out of date comment
16137
16138 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16139
16140         * lyxscreen.h:
16141         * screen.C: fix "theoretical" GC leak
16142
16143 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16144
16145         * LaTeX.C (scanAuxFile):
16146         (deplog): remove trailing \r when reading stream (useful under
16147         win32)
16148
16149 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16150
16151         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16152         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16153         and BufferView::theLockingInset(Inset*), so should use them and not
16154         access bv_->text->the_locking_inset directly.
16155
16156         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16157
16158 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16159
16160         * Makefile.am:
16161         * tex-defs.h: remove old unused file
16162
16163 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16164
16165         * BufferView_pimpl.C: fix typo, remove minibuffer message
16166           when buffer has loaded
16167
16168 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16169
16170         * lyxfunc.C (Dispatch): use stringstream
16171         (MenuNew): use stringstream
16172         (Open): use stringstream
16173
16174         * importer.C (Import): use stringstream
16175
16176         * bufferview_funcs.C (CurrentState): use stringstream
16177
16178         * LaTeX.C (run): use stringstream
16179
16180         * BufferView_pimpl.C (savePosition): use stringstream
16181         (restorePosition): use stringstream
16182         (MenuInsertLyXFile): use stringstream
16183
16184 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16185
16186         * BufferView.C:
16187         * Bullet.C:
16188         * ColorHandler.C:
16189         * FontInfo.C:
16190         * FontLoader.C:
16191         * LColor.C:
16192         * LaTeXFeatures.C:
16193         * Painter.C:
16194         * gettext.C:
16195         * lyx_gui_misc.C:
16196         * lyxserver.C:
16197         * vspace.C: removed // -*- C++ -*- as first line.
16198
16199         * lyxfind.h:
16200         * version.h: added // -*- C++ -*- as first line.
16201
16202 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16203
16204         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16205
16206         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16207         of string
16208
16209 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16210
16211         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16212         of floats.
16213
16214 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16215
16216         * gettext.C: include LString.h even when --disable-nls is on.
16217
16218 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16219
16220         * converter.h (Get): changed argument type from int to
16221         FormatList::size_type to avoid unnecessary conversion.
16222
16223         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16224         before using it.
16225
16226 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16227
16228         * gettext.h: include LString.h even when --disable-nls is on.
16229
16230 2001-06-07  Juergen Vigna  <jug@sad.it>
16231
16232         * text.C (BreakAgain): subst spaces with tabs.
16233
16234         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16235         (resizeInsetsLyXText): set force on resizeLyXText.
16236
16237 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16238
16239         * gettext.h (gettext_init):
16240         (locale_init): use a real definition instead of a macro
16241
16242 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16243
16244         * Bufferview_pimpl.C:
16245         * LColor.h:
16246         * LColor.C: further lcolor tidies
16247
16248 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16249
16250         * BufferView_pimpl.C (updateScrollbar): simplify.
16251
16252         * BufferView2.C: don't include insets/insetinfo.h, change
16253         prototype for insertInset and call the Pimpl version. let
16254         updateInset call Pimpl version.
16255
16256         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16257         gotoInset to BufferView::Pimpl
16258
16259 2001-06-01  Juergen Vigna  <jug@sad.it>
16260
16261         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16262         inside a LockingInset (is the update needed at all?).
16263
16264 2001-05-31  Juergen Vigna  <jug@sad.it>
16265
16266         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16267         here not the old one otherwise how should we compare it afterwards
16268         if it's the same!
16269
16270 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16271
16272         * lyxfont.C:
16273         * tabular.C:
16274         * tabular-old.C:
16275         * FontInfo.C: bring C functions into global namespace when
16276         necessary
16277
16278 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16279
16280         * LString.h: make sure config.h has been loaded before LString.h.
16281
16282         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16283         (one for each char read by EatLine!).
16284
16285         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16286         variables.
16287
16288 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16289
16290         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16291         to the same as the par we break from
16292
16293 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16294
16295         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16296
16297         * MenuBackend.C (expand): also create menu entries for wide
16298         versions of the floats.
16299
16300         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16301
16302         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16303
16304         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16305         frontends/Makefile.am
16306
16307         * text2.C: adjust
16308         * text.C: adjust
16309
16310
16311         * tabular.C (getTokenValue): add std::
16312
16313         * tabular-old.C (getTokenValue): add std::
16314         (getTokenValue): ditto
16315         (getTokenValue): ditto
16316
16317         * screen.C (ToggleSelection): adjust
16318
16319         * lyxtext.h: put selection cursors inside a Selection struct.
16320
16321         * lyxfunc.C (moveCursorUpdate): adjust
16322
16323         * lyxfont.C (latexWriteStartChanges): add std::
16324
16325         * lyxfind.C: adjust
16326
16327         * font.h: delete with(char const *, LyXFont const &)
16328
16329         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16330
16331         * FontInfo.C (getFontname): add std::
16332
16333         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16334         (workAreaButtonPress): adjust
16335         (tripleClick): adjust
16336         (update): adjust
16337         (moveCursorUpdate): adjust
16338         (Dispatch): adjust
16339
16340         * BufferView2.C (gotoInset): adjust
16341
16342 2001-05-30  Juergen Vigna  <jug@sad.it>
16343
16344         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16345         to check pspell I add this as default as I now have new pspell
16346         libraries and they seem to use this.
16347
16348 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16349
16350         * text2.C (CutSelection): make the cursor valid before the call to
16351         ClearSelection.
16352
16353 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16354
16355         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16356         relied on 0 terminated strings and other horrors. Bug found due to
16357         the new assert in lyxstring!
16358
16359         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16360         KP_ keys.
16361
16362 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16363
16364         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16365         to latinkeys.bind.
16366
16367         * lyxfunc.C (processKeySym): change method of getting to the
16368         self-insert char.
16369
16370         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16371         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16372         * BufferView_pimpl.[Ch]: here as private methods.
16373
16374 2001-05-28  Juergen Vigna  <jug@sad.it>
16375
16376         * text.C (SetHeightOfRow): added the update() call again as it is
16377         needed to initialize inset dimensions!
16378
16379 2001-05-16  Juergen Vigna  <jug@sad.it>
16380
16381         * text2.C (SetCharFont): Add new function with BufferView * and
16382         bool toggleall parameters for setting insets internal fonts.
16383         (SetFont): Freeze the undo as we may change fonts in Insets and
16384         all this change should be inside only one Undo!
16385
16386         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16387         setting font's in insets as for them we have the SetFont function!
16388
16389 2001-05-15  Juergen Vigna  <jug@sad.it>
16390
16391         * text2.C (ClearSelection): to be sure we REALLY don't have any
16392         selection anymore!
16393
16394         * tabular.C (TeXCellPreamble): fixed the left border problem for
16395         multicolumn cells.
16396
16397 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16398
16399         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16400         dependancy file
16401
16402 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16403
16404         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16405         LFUN_BREAKPARAGRAPH.
16406
16407         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16408         help test to "internal only", similar for LFUN_INSERT_URL
16409
16410         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16411         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16412         auto_region_delete and deadkeys.
16413
16414 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16415
16416         * LColor.h:
16417         * LColor.C: remove some dead entries, tidy a little
16418
16419 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16420
16421         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16422         commented code.
16423         (Dispatch): implement LFUN_ESCAPE
16424
16425         * commandtags.h: add LFUN_ESCAPE
16426
16427         * LyXAction.C (init): add entry for LFUN_ESCAPE
16428
16429         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16430         Remove commented code.
16431         (insertNote): moved here
16432         (open_new_inset): moved here
16433
16434         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16435         BufferView_pimpl
16436
16437 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16438
16439         * kbmap.C (findbinding): clean it up and make it work correctly.
16440
16441         * lyx_main.C (init): do not pass argc and argv as parameters
16442
16443 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16444
16445         * buffer.C: fix path for OS/2 & Win32
16446
16447         * lyx_gui.C:
16448         * lyx_main:
16449         * lyx_main.C: Added os:: class.
16450
16451         * os2_defines.h: update
16452
16453 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16454
16455         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16456         better by trying again with reduced state.
16457
16458 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16459
16460         * lyxrc.C (read): print error about invalid key sequence only when
16461         debugging (because not all latinX keysyms are known to some X
16462         servers)
16463
16464         * kbsequence.C (getiso): add a few std:: qualifiers
16465         (getiso): comment out extra return statement.
16466
16467 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16468
16469         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16470         handling.
16471         (Dispatch): enhance the accent inset a bit. (not perfect)
16472
16473 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16474
16475         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16476
16477 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16478
16479         * bufferlist.C (emergencyWrite): fix assert() call
16480
16481 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16482
16483         * text.C (InsertChar): Added trivial patch to only send the "you
16484         can not do multiple spaces this way" message once during a
16485         session.
16486
16487 2001-05-08  Baruch Even  <baruch@lyx.org>
16488
16489         * Makefile.am: Changed order of libraries to get LyX to link properly
16490         with the gnome frontend.
16491
16492 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16493
16494         * LaTeXFeatures.h: add a std:: qualifier
16495
16496 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16497
16498         * paragraph.C (String): use stringstream
16499
16500 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16501
16502         * paragraph.C (writeFile): remove footflag arg
16503
16504         * buffer.C (makeLaTeXFile): use stringstream
16505         (latexParagraphs): remove footnot gurba
16506
16507         * LaTeXFeatures.C (getPackages): use stringstream
16508         (getMacros): likewise
16509         (getTClassPreamble): likewise
16510         (getFloatDefinitions): new method
16511
16512         * paragraph.C (writeFile): reindent
16513         (Erase): reindent
16514
16515         * WorkArea.h: revert the xpos + etc changes.
16516
16517         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16518
16519         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16520
16521         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16522         (pasteSelection): likewise
16523         * text2.C (CreateUndo): likewise
16524
16525 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16526
16527         * minibuffer.C (peek_event): temporarily reduce the functionality
16528         of the minibuffer (to allow args on lfuns)
16529
16530         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16531         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16532
16533         * buffer.C (readInset): add compability reading of old float
16534         lists, add reading of new style float list.
16535         (readInset): avoid reevaluation of inscmd.getCmdName()
16536         (getLists): reindent
16537
16538         * MenuBackend.C (MenuItem): implement parsing of
16539         md_floatlistinsert and md_floatinsert.
16540         (expand::LastFiles): move initalizaton of iterators out of loop,
16541         avoid reevaluation.
16542         (expand::Documents): introduce typdedef vector<string> Strings,
16543         and use it.
16544         (expand::ExportFormats): introduce typedef vector<Format const *>
16545         Formats, and use it.
16546         (expand): implement FloatListInsert and FloatInsert.
16547
16548         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16549         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16550         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16551
16552         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16553         handling.
16554         (Dispatch::LFUN_FLOAT_LIST): implement
16555
16556 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16557
16558         * LaTeX.C (run): Fix problem with --export code.
16559
16560 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16561
16562         * BufferView.[Ch] (workarea): removed.
16563         (getClipboard) new method; wrapper for workarea()->getClipboard()
16564
16565         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16566         bug.
16567
16568         * WorkArea.h (width, height, xpos, ypos): These methods all
16569         returned the dimensions of the work_area sub-area of WorkArea,
16570         resulting in a position error if the WorkArea were resized. Now
16571         return the dimensions of the entire WorkArea.
16572
16573         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16574
16575 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16576
16577         * LaTeX.C (deplog): correct the syntax of regex reg1
16578
16579 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16580
16581         * undo.C: remove !NEW_INSETS cruft
16582
16583 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16584
16585         * text2.C: remove !NEW_INSETS cruft
16586
16587         * text.C: remove !NEW_INSETS cruft
16588
16589         * tabular.C: remove !NEW_INSETS cruft
16590
16591         * spellchecker.C: remove !NEW_INSETS cruft
16592
16593         * lyxtext.h: remove !NEW_INSETS cruft
16594
16595         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16596
16597         * lyxfunc.C: remove !NEW_INSETS cruft
16598
16599         * lyxfind.C: remove !NEW_INSETS cruft
16600
16601         * lyx_cb.C: remove !NEW_INSETS cruft
16602
16603         * figureForm.C: remove  !NEW_INSETS cruft
16604
16605         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16606
16607         * buffer.[Ch]: remove !NEW_INSETS cruft
16608
16609         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16610
16611         * CutAndPaste.C: remove !NEW_INSETS cruft
16612
16613         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16614
16615         * BufferView2.C: remove !NEW_INSETS cruft
16616
16617         * BufferView.h: remove !NEW_INSETS cruft
16618
16619 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16620
16621         * Lsstream.h: include LString.h before the sstream headers to
16622         fix problem with gcc 2.95.3 and lyxstring
16623
16624 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16625
16626         * lyx_main.C: add using directives when needed for C functions
16627         declared in std:: namespace.
16628
16629 2001-04-27  Juergen Vigna  <jug@sad.it>
16630
16631         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16632         (SetHeightOfRow): comment out the update call should not be needed!
16633
16634 2001-04-13  Juergen Vigna  <jug@sad.it>
16635
16636         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16637         (LyXTabular): tried to minimize operator= operations (and realized
16638         hopfully Lars wish).
16639
16640 2001-04-27  Juergen Vigna  <jug@sad.it>
16641
16642         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16643
16644 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16645
16646         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16647
16648         * buffer.C (readInset): hack to make listof algorithm work
16649
16650         * BufferView_pimpl.C: hack to make listof algorithm work
16651
16652 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16653
16654         * LyXAction.C: removed all !NEW_INSETS cruft
16655         (init): moved lfun_item in method
16656
16657         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16658
16659 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16660
16661         * BufferView2.C (theLockingInset): white space.
16662
16663 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16664
16665         * minibuffer.C: include <iostream>
16666
16667         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16668
16669         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16670
16671         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16672
16673         * text.[Ch] (TransposeChars): new method
16674
16675 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16676
16677         * call message directly through LyXView instead of through LyXFunc
16678         * BufferView2.C: adjust
16679         * BufferView_pimpl.C: adjust
16680         * FontLoader.C: adjust
16681         * buffer.C: adjust
16682         * bufferview_funcs.C: adjust
16683         * converter.C: adjust
16684         * figureForm.C: adjust
16685         * importer.C: adjust
16686         * lyx_cb.C: adjust
16687         * lyx_gui_misc.C: adjust
16688         * lyxfunc.C: adjust
16689         * lyxvc.C: adjust
16690         * text2.C: adjust
16691         + more files in subdirs
16692
16693         * lyxparagraph.h (size): move up int file
16694         (GetLayout): ditto
16695
16696         * adjust all uses of Assert to lyx::Assert.
16697
16698         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16699         lyxfunctional in namespace lyx
16700         * layout.C (hasLayout): ditto
16701         (GetLayout): ditto
16702         (GetLayout): ditto
16703         (delete_layout): ditto
16704         (NumberOfClass): ditto
16705         * converter.C (GetFormat): ditto
16706         (GetNumber): ditto
16707         (Add): ditto
16708         (Delete): ditto
16709         (SetViewer): ditto
16710         * bufferlist.C (getFileNames): ditto
16711         (emergencyWriteAll): ditto
16712         (exists): ditto
16713         (getBuffer): ditto
16714         * MenuBackend.C (hasSubmenu): ditto
16715         (hasMenu): ditto
16716         (getMenu): ditto
16717         * BufferView_pimpl.C (getInsetByCode): ditto
16718
16719 2001-04-18  Juergen Vigna  <jug@sad.it>
16720
16721         * vspace.C (asLatexString): fixed the 100% problem.
16722
16723 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16724
16725         * lyxfunc.C (Dispatch):
16726         * minibuffer.C:
16727         * minibuffer.h: add a few std:: qualifiers
16728
16729 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16730
16731         * minibuffer.[Ch]: reimplement so that commands is initiated and
16732         run from lyxfunc, simplified som handling, and made the completion
16733         and history code for complete. wip.
16734
16735         * lyxfunc.C (processKeySym): call message
16736         (miniDispatch): new temporary method
16737         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16738         (LFUN_MESSAGE): implement
16739         (LFUN_MESSAGE_PUSH): implement
16740         (LFUN_MESSAGE_POP): implement
16741         (initMiniBuffer): the initial/defualt minibuffer message.
16742
16743         * lyxfont.[Ch]: inline some more getters
16744
16745         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16746
16747         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16748
16749         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16750         (AutoSave): use LFUN_MESSAGE
16751         (Reconfigure): ditto
16752
16753         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16754
16755         * figureForm.C: use LFUN_MESSAGE
16756
16757         * converter.C (runLaTeX): use LFUN_MESSAGE
16758
16759         * bufferview_funcs.C: use LFUN_MESSAGE
16760         (Melt): ditto
16761         (changeDepth): ditto
16762
16763         * bufferparams.h: use boost::
16764
16765         * bufferlist.h: inherit privately from noncopyable
16766
16767         * bufferlist.C (loadLyXFile): remove some commented code.
16768
16769         * buffer.C (runChktex): use LFUN_MESSAGE
16770
16771         * ShareContainer.h: inherit privately from noncopyable
16772
16773         * ParagraphParameters.[hC] (depth): inline it.
16774
16775         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16776         methods.
16777         (message): new method
16778         (messagePush): ditto
16779         (messagePop): ditto
16780         (show): init minibuffer
16781         (showState): direct call
16782
16783         * LaTeX.[Ch]: inherit privately from noncopyable
16784         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16785         instead of WriteStatus.
16786
16787         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16788
16789         * BufferView_pimpl.C (buffer): don't init minibuffer
16790         (workAreaButtonPress): use LFUN_MESSAGE
16791         (workAreaButtonRelease): ditto
16792         (savePosition): ditto
16793         (restorePosition): ditto
16794         (MenuInsertLyXFile): ditto
16795         (workAreaExpose): don't init minibuffer
16796         (update): remove commented code, simplify
16797
16798         * BufferView2.C (openStuff): use LFUN_MESSAGE
16799         (toggleFloat): ditto
16800         (menuUndo): ditto
16801         (menuRedo): ditto
16802         (copyEnvironment): ditto
16803         (pasteEnvironment): ditto
16804         (copy): ditto
16805         (cut): ditto
16806         (paste): ditto
16807         (gotoInset): ditto
16808         (updateInset): remove some commented code
16809
16810         * lastfiles.h: inherit privately from noncopyable
16811         * layout.h: ditto
16812         * lyx_gui.h: ditto
16813         * lyx_main.h: ditto
16814         * lyxlex.h: ditto
16815         * lyxlex_pimpl.h: ditto
16816
16817         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16818         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16819         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16820
16821         * LyXAction.h: inherit privately from noncopyable, add methods
16822         func_begin, func_end, returning iterators to the func map.
16823
16824         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16825         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16826         (func_begin): new method
16827         (func_end): new method
16828
16829         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16830         and not)
16831         (copySelection): ditto
16832         (pasteSelection): ditto
16833
16834         * BufferView.C: whitespace change
16835         * BufferView.h: inherit privately from noncopyable
16836
16837 2001-04-16  Allan Rae  <rae@lyx.org>
16838
16839         * tabular-old.C (l_getline):
16840         * spellchecker.C (sc_check_word):
16841         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16842         an unrecognised preprocessor directive.  So ensure they're wrapped.
16843
16844 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16845
16846         * src/exporter.C (Export): Give an error message when path to file
16847         contains spaces.
16848
16849 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16850
16851         * LaTeX.C (deplog): Always check that foundfile exists.
16852
16853 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16854
16855         * lyx_main.h:
16856         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16857
16858 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16859
16860         * tabular.[Ch] (getLabelList): implement new method
16861
16862         * minibuffer.h: comment ouf setTiimer
16863
16864         * minibuffer.C (ExecutingCB): constify res
16865         (peek_event): constify s
16866         (Set): constify ntext
16867         (Init): constify nicename
16868
16869         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16870
16871         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16872         (savePosition): use two params to Minibuffer::Set
16873         (restorePosition): ditto
16874
16875 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16876
16877         * lyx_main.C: include language.h
16878
16879         * Makefile.am (lyx_main.o): add language.h
16880
16881 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16882
16883         * exporter.C:
16884         * paragraph.C:
16885         * screen.C:
16886         * tabular.C:
16887         * CutAndPaste.C: include gettext.h
16888
16889         * lyxfont.h: remove old hack with ON and OFF.
16890
16891         * lyxparagraph.h:
16892         * lyxfont.h: do not include language.h...
16893
16894         * BufferView2.C:
16895         * LaTeXFeatures.C:
16896         * Painter.C:
16897         * bufferview_funcs.C:
16898         * font.C:
16899         * lyxfont.C:
16900         * text.C:
16901         * text2.C:
16902         * trans_mgr.C:
16903         * paragraph.C: ... but do it here instead
16904
16905 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16906
16907         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16908
16909         * tabular.C: small reformat
16910
16911         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16912         NEW_INSETS version
16913         (GetChar): ditto
16914         (BreakParagraph): ditto
16915         (SetOnlyLayout): ditto
16916         (SetLayout): ditto
16917
16918         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16919         with one arg less.
16920
16921         * lastfiles.C: removed most using decl, add std:: where needed
16922
16923         * buffer.C: ws changes
16924
16925         * MenuBackend.C (class compare_format): put into anon namespace
16926         (expand): constify label, names, action, action2
16927         (expand):
16928
16929         * text.C (SingleWidth): constify font
16930         (IsBoundary): constify rtl2
16931         (GetVisibleRow): constify ww
16932
16933         * LaTeX.C (deplog): constify logfile
16934
16935         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16936         start_x, end_x
16937         (workAreaExpose): constify widthChange, heightChange
16938
16939         * lyxrow.C (par): moved
16940         (height): moved
16941         (next): moved
16942         * lyxrow.h: as inlines here
16943
16944         * lyxfont.h (shape): moved from lyxfont.C
16945         (emph): moved from lyxfont.C
16946
16947         * lyxfont.C (LyXFont): use initialization list for all
16948         constructors
16949         (shape): move to lyxfont.h as inline
16950         (emph): move to lyxfont.h as inline
16951
16952
16953 2001-04-04  Juergen Vigna  <jug@sad.it>
16954
16955         * vspace.C: had to include stdio.h for use of sscanf
16956
16957 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16958
16959         * BufferView.h:
16960         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16961         independent of xforms.
16962
16963 2001-04-02  Juergen Vigna  <jug@sad.it>
16964
16965         * spellchecker.C: fixed namespace placing!
16966
16967 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16968
16969         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16970         the LyXParagraph * is 0.
16971
16972 2001-03-29  Juergen Vigna  <jug@sad.it>
16973
16974         * vspace.C: added support for %, c%, p%, l%.
16975         (stringFromUnit): added helper function.
16976         (asLatexString): changed to give right results for the %-values.
16977
16978         * buffer.C: convert the widthp in a width%.
16979
16980 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16981
16982         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16983         figureForm.[Ch].
16984
16985         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16986         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16987
16988         * lyx_cb.[Ch]: see above.
16989
16990         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16991         form1.[Ch].
16992
16993         * form1.[Ch]:
16994         * lyx.[Ch]: replaced by figure_form.[Ch].
16995
16996         * lyx_gui.C:
16997         * lyx_gui_misc.C:
16998         * lyxfunc.C: changed headers associated with above changes.
16999
17000 2001-03-27  Juergen Vigna  <jug@sad.it>
17001
17002         * BufferView_pimpl.C: set the temporary cursor right!
17003
17004 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17005
17006         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17007
17008 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17009
17010         * LString.h: removed "using std::getline"!
17011
17012         * BufferView_pimpl.C (Dispatch): changes due to changes in
17013         InsetInclude::Params.
17014
17015         * buffer.C (tag_name): removed redundant break statements as they were
17016         producing lots of warnings with my compiler.
17017
17018 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17019
17020         * LString.h: add "using std::getline" when using the real <string>.
17021
17022 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
17023
17024         * buffer.C: removed bitset usage.
17025         PAR_TAG moved to an anonymous name space.
17026         (tag_name): new funtion, also in the anonymous namespace.
17027         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17028         (makeDocBookFile): clean code. Completed transition from string arrays
17029         to string vectors.
17030         (SimpleDocBookOnePar): code clean.
17031
17032 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17033
17034         * tabular.C: add some comments.
17035
17036 2001-03-22  Juergen Vigna  <jug@sad.it>
17037
17038         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17039         compatibility read a bit and fixed bug with minipage in different
17040         depth.
17041
17042 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
17043
17044         * buffer.C (pop_tag): removed.
17045         (push_tag): removed.
17046         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17047         array replaced with vector. Added support for CDATA sections.
17048         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17049         at any nest level.
17050         (makeDocBookFile): XML conformant declaration of CDATA section,
17051         fixed bug related to <emphasis> in the first paragraph char.
17052         (sgmlOpenTag): exclude empty tags.
17053         (sgmlCloseTag): ditto.
17054
17055         * buffer.h (pop_tag): removed.
17056         (push_tag): removed.
17057
17058 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17059
17060         * language.h (Languages): added size_type and size().
17061
17062 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17063
17064         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17065         response on compability reading of minipages. One probliem is that
17066         the old usage of minipages was «flertydig»
17067
17068         * several files here and in subdirs: don't use static at file
17069         scope use anon namespaces instead.
17070
17071 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17072
17073         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17074         LaTeX output. This is necessary for Literate document
17075         processing.
17076
17077 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17078
17079         * buffer.C: insert hfill when needed.
17080
17081         * tabular.C (l_getline): use string::erase, small whitespace change.
17082
17083         * BufferView_pimpl.C: try the anon namespace.
17084         * WorkArea.C: ditto
17085
17086 2001-03-16  Juergen Vigna  <jug@sad.it>
17087
17088         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17089         otherwise it won't open options-dialogs.
17090
17091         * buffer.C: honor pextraWidth(p) on converting minipages.
17092
17093         * tabular.C (l_getline): changed the functions to strip trailing \r.
17094
17095 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17096
17097         * BufferView_pimpl.C:
17098         * minibuffer..C: added "using SigC::slot" declaration.
17099
17100 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17101
17102         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17103
17104         * text2.C: ditto
17105
17106         * text.C: ditto
17107
17108         * paragraph.C: ditto
17109
17110         * lyxtext.h: NO_PEXTRA
17111
17112         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17113
17114         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17115         * ParameterStruct.h: ditto
17116         * ParagraphParameters.h: ditto
17117         * lyxparagraph.h: ditto
17118
17119 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17120
17121         * buffer.C: add compability for minipage alignment.
17122         (latexParagraphs): remove unwanted pextra check.
17123
17124         * several files: remove CXX_WORKING_NAMESPACES
17125
17126         * buffer.C (pop_tag): tie is in namespace boost
17127
17128         * BufferView.h: noncopyable is in namespace boost
17129         * lyxlex.h: ditto
17130         * lyx_main.h: ditto
17131         * lyx_gui.h: ditto
17132         * layout.h: ditto
17133         * lastfiles.h: ditto
17134         * bufferlist.h: ditto
17135         * ShareContainer.h: ditto
17136         * LyXView.h: ditto
17137         * LyXAction.h: ditto
17138         * LaTeX.h: ditto
17139
17140 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17141
17142         * Merging changes from BRANCH_MVC back into HEAD.
17143
17144         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17145
17146 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17147
17148         * BufferView_pimpl.C: change from intl.C
17149
17150         * combox.h:
17151         * combox.C:
17152         * Makefile.am: move combox.*
17153
17154         * form1.h:
17155         * form1.C:
17156         * lyx_gui.C:
17157         * intl.h:
17158         * intl.C: remove dialog (covered by prefs)
17159
17160 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17161
17162         * lyxfunc.C (Dispatch): removed redundant break statement.
17163
17164 2001-03-14  Juergen Vigna  <jug@sad.it>
17165
17166         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17167
17168 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17169
17170         * buffer.C: add hack to fix compability reading of minipages.
17171
17172 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17173
17174         * buffer.C (getLists): Cleanup.
17175
17176 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17177
17178         * lyxfont.C (update): don't honor toggleall on font size.
17179
17180 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17181
17182         * bmtable.c:
17183         * bmtable.h:
17184         * Makefile.am: moved to frontends/xforms/
17185
17186         * lyx_gui_misc.C:
17187         * lyxfunc.C:
17188         * BufferView_pimpl.C: changes for moved mathpanel
17189
17190 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17191
17192         * gettext.h: fix gettext_init() in --disable-nls
17193
17194 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17195
17196         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17197
17198 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17199
17200         * lyx.C:
17201         * lyx.h: strip external form
17202
17203 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17204
17205         * BufferView_pimpl.C: add comment, destroySplash()
17206
17207 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17208
17209         * BufferView_pimpl.C:
17210         * LyXAction.C:
17211         * buffer.C:
17212         * commandtags.h:
17213         * lyxfunc.C: use re-worked insetinclude
17214
17215 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17216
17217         * buffer.C: add using std::stringstream.
17218
17219         * lyx_cb.C: readd using std::ios.
17220
17221         * buffer.C: add using std::map.
17222
17223         * BufferView_pimpl.C: add using std::vector.
17224
17225         * ShareContainer.h: add std:: to swap.
17226
17227         * buffer.h: add some typedefs
17228         * buffer.C (getLists): use them
17229         (getLists): renamed from getTocList.
17230         add a counter for the different float types and use it in the
17231         generated string.
17232         (getLists): use the same counter for the NEW_INSETS and the "non"
17233         NEW_INSETS
17234
17235         * lyx_cb.h: remove unused items, includes, using etc.
17236
17237         * ShareContainer.h: remove some commented code, add more comments
17238         and "documentation".
17239
17240 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17241
17242         * buffer.C (getTocList): make the list also when NEW_INSETS is
17243         defined.
17244
17245         * buffer.h: remove TocType
17246
17247         * buffer.C (getTocList): change to return a map<string,
17248         vector<TocItem> >, implement for dynamic number of list.
17249
17250         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17251         * text2.C (PasteSelection): adjust
17252         * CutAndPaste.C (pasteSelection): adjust
17253
17254         * FloatList.C (FloatList): update from the new_insets branch.
17255         * Floating.[Ch]: ditto
17256         * LaTeXFeatures.C: ditto
17257         * buffer.C: ditto
17258         * lyxlex_pimpl.C: ditto
17259
17260         * paragraph.C (Last): remove when NEW_INSETS is defined.
17261
17262         * other file: changes because of the above.
17263
17264 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17265
17266         * lyxparagraph.h: rename next to next_, previous to previous_,
17267         make them private for NEW_INSETS. Rename Next() to next(),
17268         Previous() to previous().
17269
17270         * other files: changes because of the above.
17271
17272 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17273
17274         * BufferView.h:
17275         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17276         problem.
17277
17278 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17279
17280         * main.C (main): pass lyx_localedir to gettext_init().
17281
17282         * gettext.h: remove locale_init and gettext_init macros
17283
17284         * gettext.C (locale_init): new function
17285         (gettext_init): new function
17286
17287         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17288         setlocale().
17289
17290 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17291
17292         * Moved credits to frontends:
17293         * credits.[Ch]: removed
17294         * credits_form.[Ch]: removed
17295         * lyx_gui_misc.C: remove credits stuff
17296         * Makefile.am:
17297
17298 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17299
17300         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17301
17302         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17303         unneeded destructor.
17304
17305         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17306         a standalone pointer again.
17307
17308         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17309
17310 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17311
17312         * Makefile.am:
17313         * filedlg.h:
17314         * filedlg.C:
17315         * LyXAction.C:
17316         * ToolbarDefaults.C:
17317         * bufferlist.C:
17318         * commandtags.h:
17319         * form1.C:
17320         * form1.h:
17321         * lyx_cb.C:
17322         * lyx_cb.h:
17323         * lyxfunc.h:
17324         * lyxfunc.C:
17325         * BufferView_pimpl.C: use new file dialog in GUII
17326
17327         * lyx_cb.h:
17328         * lyx_cb.C: remove LayoutsCB to Toolbar
17329
17330 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17331
17332         * ShareContainer.h (get): add std:: qualifier
17333
17334 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17335
17336         * ShareContainer.h: define a proper ShareContainer::value_type
17337         type (and use typename to please compaq cxx)
17338
17339 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17340
17341         * lyxparagraph.h: move serveral local vars to
17342         ParameterStruct/ParagraphParameters., use ShareContainer in
17343         FontTable., make vars in FontTable private and add getter and
17344         setter.
17345
17346         * paragraph.C: changes because of the above.
17347
17348         * lyxfont.h: remove copy constructor and copy assignment. (the
17349         default ones is ok), move number inside FontBits. move inlines to
17350         lyxfont.C
17351
17352         * lyxfont.C: add number to initializaton of statics, move several
17353         inlines here. constify several local vars. some whitespace
17354         cleanup. Dont hide outerscope variables.
17355
17356         * Spacing.h: add two new constructors to match the set methods.
17357
17358         * ShareContainer.h: new file, will perhaps be moved to support
17359
17360         * ParameterStruct.h: new file
17361
17362         * ParagraphParameters.h: new file
17363
17364         * ParagraphParameters.C: new file
17365
17366         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17367         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17368
17369         * BufferView_pimpl.C: ParagraphParameter changes.
17370         * buffer.C: Likewise.
17371         * bufferview_funcs.C: Likewise.
17372         * text.C: Likewise.
17373         * text2.C: Likewise.
17374
17375 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17376
17377         * lyxfind.C (LyXReplace): do not redefine default argument in
17378         implementation.
17379         (IsStringInText): ditto
17380         (SearchForward): ditto
17381         (SearchBackward): ditto
17382
17383 2001-03-06  Juergen Vigna  <jug@sad.it>
17384
17385         * lyxfind.C (IsStringInText): put parentes around expressions.
17386
17387 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17388
17389         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17390
17391 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17392
17393         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17394
17395         * stl_string_fwd.h: add comment
17396
17397         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17398
17399         * tabular.h:
17400         * tabular.C: remove unused DocBook methods
17401
17402         * intl.C:
17403         * language.C:
17404         * paragraph.C:
17405         * buffer.C:
17406         killed DO_USE_DEFAULT_LANGUAGE
17407
17408 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17409
17410         * lyx_gui.C: do not include language.h.
17411
17412         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17413         arguments in function implementation.
17414
17415 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17416
17417         * BufferView_pimpl.C: add <ctime>
17418
17419 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17420
17421         * BufferView_pimpl.C: add using std::find_if
17422
17423 2001-02-27  José Matos  <jamatos@fep.up.pt>
17424
17425         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17426         by OnlyPath.
17427
17428 2001-02-11  José Matos  <jamatos@fep.up.pt>
17429
17430         * buffer.C (makeDocBookFile): command styles now have a parameter as
17431         "title" by default.
17432
17433 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17434
17435         * layout_forms.[Ch]: removed
17436         * lyx_cb.[Ch]: out character
17437         * lyx_gui.C: out character
17438         * lyx_gui_misc.C: out character
17439         * bufferview_funcs.C: : out character,
17440         added toggleall as parameter in ToggleAndShow
17441
17442 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17443
17444         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17445
17446         * text2.C (SetCurrentFont): Disable number property at boundary.
17447
17448 2001-02-26  Juergen Vigna  <jug@sad.it>
17449
17450         * lyxfunc.C (getStatus): added a string argument override function so
17451         that this is correctly called from LyXFunc::Dispatch if it contains a
17452         do_not_use_argument which is used!
17453         (Dispatch): added check for "custom" export and call appropriate func.
17454
17455 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17456
17457         * lyxrc.C: Add language_command_local, language_use_babel and
17458         language_global_options.
17459
17460         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17461
17462         * buffer.C (makeLaTeXFile): Use language_use_babel and
17463         language_global_options.
17464
17465 2001-02-23  Juergen Vigna  <jug@sad.it>
17466
17467         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17468         which works with LyXText and putted it inside BufferView. Here now we
17469         only call for that part the BufferView::Dispatch() function.
17470
17471         * BufferView.C (Dispatch): added.
17472
17473         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17474         functions which needs to use a LyXText over from LyXFunc.
17475         (MenuInsertLyXFile): added
17476         (getInsetByCode): added
17477         (moveCursorUpdate): added
17478         (static TEXT): added
17479
17480 2001-02-22  Juergen Vigna  <jug@sad.it>
17481
17482         * BufferView_pimpl.C (update): call a status update to see if LyXText
17483         needs it.
17484
17485 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17486
17487         * vc-backend.C (revert): implement for CVS
17488         (getLog): implement for CVS
17489
17490 2001-02-20  Juergen Vigna  <jug@sad.it>
17491
17492         * text2.C (ClearSelection): added BufferView param for inset_owner call
17493
17494         * lyxfunc.C (TEXT): added this function and use it instead of
17495         directly owner->view()-text of getLyXText().
17496
17497 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17498
17499         * src/layout_forms.C: out preamble
17500         * src/layout_forms.h: out preamble
17501         * src/lyx_cb.C: out preamble
17502         * src/lyx_cb.h: out preamble
17503         * src/lyx_gui.C: out preamble
17504         * src/lyx_gui_misc.C: out preamble
17505         * src/lyxfunc.C: connect with guii preamble
17506
17507 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17508
17509         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17510
17511 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17512
17513         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17514         whether to run bibtex.
17515
17516 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17517
17518         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17519
17520 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17521
17522         * Makefile.am (lyx_SOURCES): removed bibforms.h
17523
17524         * vspace.h: doxygen
17525
17526         * text.C (GetVisibleRow): make several local vars const
17527
17528         * tabular.C: small cleanup.
17529
17530         * lyxserver.C (callback): use compare instead of strncmp
17531
17532         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17533         inlines to after class or to paragraph.C
17534
17535         * lyxfont.h: remove friend operator!=
17536
17537         * converter.h: move friend bool operator< to non friend and after
17538         class def.
17539
17540         * combox.h: small cleanup
17541
17542         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17543         to inlines after class def.
17544
17545         * buffer.C (pop_tag): use string operations instead of strcmp
17546
17547         * bmtable.c: doxygen, small cleanup
17548
17549         * LaTeX.h: remove friend operator==
17550
17551 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17552
17553         * screen.C:
17554         * lyxrc.[Ch]:
17555         * lyxfunc.C:
17556         * lyxfont.[Ch]:
17557         * lyx_cb.C:
17558         * intl.[Ch]:
17559         * commandtags.h:
17560         * buffer.C:
17561         * WorkArea.[Ch]:
17562         * LyXAction.C:
17563         * BufferView_pimpl.C:
17564         * BufferView.[Ch]: remove cruft
17565
17566 2001-02-14  Juergen Vigna  <jug@sad.it>
17567
17568         * lyxfunc.C: removed #if 0 unused code
17569
17570         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17571
17572         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17573
17574         * text2.C (SetSelection): added a BufferView * parameter
17575
17576 2001-02-13  Juergen Vigna  <jug@sad.it>
17577
17578         * lyxfunc.C (Dispatch): fixed protected blank problem.
17579         * BufferView2.C (protectedBlank): added LyxText * parameter.
17580
17581         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17582         (AppendColumn): same as above for column_info.
17583
17584         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17585         (moveCursorUpdate): use a LyXText param for support of InsetText.
17586
17587         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17588         (tripleClick): ditto
17589
17590         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17591
17592         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17593
17594         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17595
17596         * text2.C (SetSelection): set correct update status if inset_owner
17597         (ToggleFree): ditto
17598
17599 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17600
17601         * tabular.C: remove some commented code.
17602
17603 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17604
17605         * BufferView_pimpl.C: call hideSplash()
17606
17607         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17608
17609         * include_form.h:
17610         * bibforms.h: remove
17611
17612         * lyxfunc.C:
17613         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17614           add LFUN_CHILD_CREATE
17615
17616         * counters.h: fix tiny typo
17617
17618         * lyx_cb.C:
17619         * lyx.h:
17620         * lyx_gui.C:
17621         * lyx.C: move splash to frontends/xforms/
17622
17623         * lyx_gui_misc.C: move Include and Bibform to frontends
17624
17625         * lyxvc.h: clarify comment
17626
17627         * vspace.C: tiny housekeeping
17628
17629 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17630
17631         * text.C (PrepareToPrint): RTL Fix.
17632
17633         * paragraph.C (GetUChar): New method.
17634         (String):  Use GetUChar.
17635
17636         * buffer.C (asciiParagraph): Use GetUChar.
17637
17638 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17639
17640         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17641
17642 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17643
17644         * buffer.h:
17645         * buffer.C: rename to getLogName(), handle
17646           build log / latex log nicely
17647
17648 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17649
17650         * MenuBackend.C:
17651         * MenuBackend.h: remove support for reference menuitem type.
17652
17653 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17654
17655         * BufferView_pimpl.C: housekeeping
17656         * BufferView_pimpl.h:
17657         * LyXView.h:
17658         * Makefile.am:
17659         * Timeout.C:
17660         * Timeout.h:
17661         * minibuffer.h: move Timeout GUI-I
17662
17663 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17664
17665         * lyxrc.C (read): Update converters data-structures.
17666
17667 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17668
17669         * LaTeX.h (operator!=): add operator != for Aux_Info
17670
17671 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17672
17673         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17674
17675         * LaTeXLog.C: deleted, useful code moved to Buffer
17676
17677         * buffer.h:
17678         * buffer.C: new function getLatexLogName()
17679
17680         * lyx_gui_misc.C:
17681         * lyx_gui.C:
17682         * lyxvc.C:
17683         * lyxvc.h:
17684         * lyxfunc.C: use frontends for LaTeX and VC logs
17685
17686 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17687
17688         * LaTeX.h: yet another std:: that Allan forgot.
17689
17690         * Variables.C (set): renamed from isset(), because this clashes
17691         with some HP-UX macros (grr).
17692
17693 2001-02-06  Allan Rae  <rae@lyx.org>
17694
17695         * LaTeX.h: Another bug fix.  Missing std:: this time.
17696
17697 2001-02-04  Allan Rae  <rae@lyx.org>
17698
17699         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17700         floats problem. I've left it commented out because it's not quite
17701         correct.  It should also test that the current object is a table or
17702         figure inset.  But I haven't gotten around to figuring out how to do
17703         that.  I *think* it'll be something like: "table" == inset.type()
17704
17705         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17706         bool.
17707
17708 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17709
17710         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17711         all the citation/databases/styles in the auxilary file.
17712         (run): Rerun latex if there was a babel language error.
17713
17714 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17715
17716         * text.C (Backspace): Preserve the font when changing newline char
17717         with a space.
17718         (BreakParagraph): If the cursor is before a space, delete the space.
17719
17720         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17721
17722 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17723
17724         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17725         new argument (code).
17726         (ChangeCitationsIfUnique): New method.
17727
17728         * paragraph.C (GetPositionOfInset): Handle bibkey.
17729
17730 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17731
17732         * BufferView_pimpl.h: change type of Position::par_pos to
17733         LyXParagraph::size_type.
17734
17735 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17736
17737         * BufferView_pimpl.C (savePosition, restorePosition): Write
17738         messages to minibuffer.
17739
17740 2001-01-28  José Matos  <jamatos@fep.up.pt>
17741
17742         * buffer.C (makeDocBookFile): adds support for document language.
17743         A silly restriction on the name of LatexCommand types where removed.
17744         Added support for CDATA sections, allows to chars unescaped, used
17745         among others in code, to avoid escape < and >.
17746
17747 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17748
17749         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17750         saved positions instrad of a stack. Furthermore, a position is
17751         stored using paragraph id/paragraph position.
17752
17753         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17754         Remove LFUN_REF_BACK.
17755
17756 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17757
17758         * converter.C (dvipdfm_options): New method.
17759
17760 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17761
17762         * vspace.C (isValidLength): Fix for empty input string.
17763
17764 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17765
17766         * LyXAction.C (init): change description of LFUN_FIGURE to
17767         "Insert Graphics"
17768
17769 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17770
17771         * LaTeX.C: add using directive
17772
17773 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17774
17775         * MenuBackend.C (expand): Fix the sorting of the formats.
17776
17777 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17778
17779         * lyx_main.C: tiny error message fix
17780
17781 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17782
17783         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17784         calling fl_initialize(). This fixes the problem with ',' as
17785         decimal separator in text files.
17786
17787 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17788
17789         * trans.C (process): Fix the keymap bug.
17790
17791 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17792
17793         * LaTeX.C (scanAuxFiles): New method. Provides support for
17794         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17795         (scanLogFile) Scan for "run BibTeX" messages.
17796
17797         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17798         OT1 font encoding. Also, load the aecompl package if the ae
17799         package is loaded.
17800
17801         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17802
17803 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17804
17805         * texrow.C (increasePos): turn two error messages into debug
17806         messages.
17807
17808 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17809
17810         * LaTeX.C (scanAux): Handle the \@input macro.
17811         (runBibTeX): Use scanAux().
17812
17813         * language.C (latex_options_): New field.
17814
17815         * LaTeXFeatures.C (getMacros): Add language macros.
17816
17817         * buffer.C (makeLaTeXFile): Small fix.
17818
17819 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17820
17821         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17822
17823         * text2.C: add a using directive.
17824
17825 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17826
17827         * BufferView2.C:
17828         * lyx_gui_misc.h:
17829         * lyxfr1.C:
17830         * lyxfunc.C: kill LyXBell.
17831
17832 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17833
17834         * text.C (IsBoundary): Remove the error message
17835
17836         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17837
17838         * lyxrc.C (setDefaults): Correct initialization value for
17839         font_norm_type.
17840
17841 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17842
17843         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17844         gotoError().
17845
17846         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17847         and GotoNextNote().
17848
17849         * src/LyXAction.C: Added reference-next.
17850
17851         * text.C (InsertChar): Use contains instead of strchr.
17852
17853         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17854
17855 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17856
17857         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17858         alignment commands (when needed).
17859
17860         * text.C (InsertChar): Add ':' to number separator chars.