]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
make sure inserting a tabular invokes a dialog
[lyx.git] / src / ChangeLog
1 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * factory.C (createInset): fix bad logic for tabular creation
4
5 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
6
7         * lyx_main.C (init): change some reLyX reference to tex2lyx
8
9 2005-07-16  Juergen Vigna  <jug@lyx.org>
10
11         * dociterator.C (DocIterator): initialize boundary
12
13 2005-07-16  Juergen Vigna  <jug@lyx.org>
14
15         * text2.C (getColumnNearX): Consider rows without trailing blank.  
16
17 2005-07-16  André Pönitz  <poenitz@gmx.net>
18
19         * lyxfont.h: Change order of declarations to give the compiler
20         a better chance to inline things
21
22         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
23         questions on unsaved docs for better scritability
24
25 2005-07-16  André Pönitz  <poenitz@gmx.net>
26
27         * paragraph.h (getChar): remove asserts as the same kind of security
28         can be achieved by using a suitable standard library implementation
29         and the function was in the critical path (25.9% in profiler)
30
31 2005-07-16  Juergen Vigna  <jug@lyx.org>
32
33         * cursor.C (bruteFind2):
34         * bufferview_funcs.C (coordOffset): 
35         * text.C (cursorX,cursorY): Handle cursor position after last char
36         in row before a inset which uses a whole row.
37
38 2005-07-15  José Matos <jamatos@lyx.org>
39
40         * output_plaintext.[Ch] (writeFileAscii): control reference title
41         printing.
42         (asciiParagraph): noparbreak was already deal and was incorrectly
43         used.
44
45 2005-07-15  Juergen Vigna <jug@lyx.org>
46
47         * lyxfunc.C (dispatch): save and restore the cursor after a
48         textclass switch.
49
50 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
51
52         * text.C (backspace): bug 806 for empty keepempty paragraphs we
53         change the layout to default before letting DEPM do its thing.
54
55         * paragraph_funcs.C (breakParagraph): dont reset the layout on
56         keepEmpty paragraphs
57
58         * text.C (setCursorFromCoordinates): add a debug statement
59
60         * text2.C (getColumnNearX): bug 1825 make sure that we don't
61         return a pos that is not on the row
62
63         * output_latex.C (TeXDeeper): get rid of potential dereferencing
64         of past the end iterator
65
66 2005-07-14  André Pönitz  <poenitz@gmx.net>
67
68         * undo.C (recordUndoFullBuffer): implement undo for
69         textclass switches
70
71 2005-07-14  André Pönitz  <poenitz@gmx.net>
72
73         * cursor.C (setSelection): open insets when selection is set there
74         to avoid crashs with cold coord cache
75
76 2005-07-14  André Pönitz  <poenitz@gmx.net>
77
78         * trans_mgr.C (insert): move cursor to the right after inserting
79         a char.
80
81 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
82
83         * BufferView_pimpl.C (update): dampen some of the debug blabbering
84         * factory.C (readInset): ditto
85         * text.C, text2.C: ditto
86
87 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
88
89         * buffer.C: format incremented to 242. There is no file format per
90         se, but the "frenchb" language has been removed from lib/language
91         and has to be translated to "french" by lyx2lyx.
92
93 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
94
95         * cursor_slice.h, dociterator.h: add some documentation
96         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
97
98 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
99
100         * text.C (leftMargin): do not add identation to display() style
101         insets, because they are always centered (bug 1293).
102
103 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
104
105         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
106         formatted_time methods in support/lyxtime.
107
108 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
109
110         * toc.[Ch]: new method getGuiName, which is used by the frontends 
111         to set the toc combo (fixes bug 1870). Make TOC string translatable.
112
113 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
114
115         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
116         StableDocIterator const &)
117         * undo.C (recordUndo): use the above instead of cell.size() comparison
118         (fixes bug 1808; instructed by André).
119
120 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
121
122         * cursor_slice.h: 
123         * dociterator.h: Fix the assert when copying rows/cols in math
124
125 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
126
127         * BufferView_pimpl.C:
128         * LyXAction.C:
129         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
130
131         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
132         (findInset): new functions, refactored from goto Inset that return 
133         the position of a certain inset without setting the buffer's cursor
134         (by Jean-Marc); 
135         (gotoInset): rewrite to call findInset and then set the cursor
136         (by Jean-Marc).
137
138 2005-06-16  Angus Leeming  <leeming@lyx.org>
139
140         * lyxrc.C (output, read): wrap all input and output of paths with
141         calls to os::internal_path and os::external_path, respectively.
142         (output): wrap bind_file inside quotes.
143
144         * format.C (view): enable the viewer to use the '$$s' placeholder.
145
146 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
147
148         * LColor.[Ch] (getFromLaTeXName): new
149
150 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
151
152         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
153
154 2005-06-14  Angus Leeming  <leeming@lyx.org>
155
156         * lyx_main.C (init): ensure that the LyX binary dir is the first
157         element in the PATH on non-POSIX builds.
158
159 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
160
161         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
162
163 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
164
165         * rowpainter.C (paintInset, paintHebrewComposeChar)
166         (paintArabicComposeChar, paintChars): add a LyXFont argument.
167         (paintChars): use getFontSpan to reduce calls to getFont to a
168         minimum; use Paragraph::lookupChange instead of isXXXText.
169         (paintForeignMark): rename LyXFont argument.
170         (paintFromPos): pass a LyXFont object to the various paintXXX
171         methods.
172
173         * FontIterator.C (FontIterator, operator++): use
174         Paragraph::getFontSpan
175
176         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
177         version that returns the font span as a pair.
178
179 2005-06-09  Angus Leeming  <leeming@lyx.org>
180
181         * converter.C (convert): Don't forget "outfile = real_outfile" as
182         the final step in a conversion where the input and output file names
183         are the same. Otherwise, future conversion steps won't work...
184
185 2005-06-09  Angus Leeming  <leeming@lyx.org>
186
187         * lyxsocket.C: remove stub code as it isn't needed by
188         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
189
190 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
191
192         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
193         effectively disabled -x
194
195 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
196
197         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
198         when it actually makes sense.
199
200 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
201
202         * BufferView_pimpl.C: revert to showCursor in connection with
203         Lars's front-end stack
204
205 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
206
207         * text.C (redoParagraph): move cursor right after a bibitem
208         has been inserted.
209
210         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
211
212 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
213
214         * buffer_funcs.C (bufferErrors): fix computation of the end of an
215         error range.
216
217 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
218
219         * BufferView.[Ch] (update):
220         * BufferView_pimpl.[Ch] (update, metrics):
221         * dimension.h (operator==):
222         * lyxfunc.C (dispatch):
223         * metricsinfo.h (ViewMetricsInfo):
224         * rowpainter.C (paintText):
225         * lyxtext.h:
226         * text.C (redoParagraph):
227         * text3.C (dispatch): Make LyX only repaint current paragraph in
228         case of character insert --> speedup. Also fix cursor draw
229         artifacts
230
231 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
232
233         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
234         avoid a crash (bug 1891)
235
236 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
237
238         Fix bug 1892:
239
240         * text2.C (getStringToIndex): constify cur argument.
241
242         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
243         argument has been given
244         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
245         try to invoke LFUN_INSET_APPLY).
246
247         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
248         if no inset was created by doInsertInset
249         (doInsertInset): return true if an inset has been inserted.
250
251 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
252
253         * vspace.C (asGUIName): new method. A version of the space
254         suitable for showing on screen.
255
256 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
257
258         * MenuBackend.C:
259         * lyxrc.C: rename "ASCII" to "Plain Text"
260
261 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
262
263         * buffer_funcs.C (expandLabel): take a Buffer as argument;
264         translate the labelstring.
265         (setCounter): translate labelstring as needed.
266
267         * output_docbook.C (makeCommand): fix expandLabel invokation
268
269 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
270
271         * BufferView.C: fix dialog title
272
273 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
274
275         * lyx_main.C (priv_exec): fix logic error with help from Angus
276         * lyx_main.C (parse_execute): set is_gui = false and remove now
277         obsolete comment about a segfault
278
279 2005-05-18  Angus Leeming  <leeming@lyx.org>
280
281         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
282
283 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
284
285         * tabular.[hC]: added setCellInset to fix tabular paste.
286
287 2005-05-11  Lars Gullik Bjonnes  <larsbj@gullik.net>
288
289         * buffer.C (save): check if destination is writable before trying
290         to copy a file
291
292 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
293
294         * BufferView_pimpl.C (update): fix processEvents -caused update
295         recursion bug
296
297 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
298
299         * buffer_funcs.C (setCounter): fix test for numbering of
300         environments.
301
302         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
303         depth correctly; use optional argument when it exists
304
305         * lyxtextclass.C: remove unused MaxCounterTags enum
306         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
307         (max_toclevel, min_toclevel): new methods.
308
309         * MenuBackend.C (expandToc2): fix case where depth is smaller than
310         the smallest depth in toc.
311
312         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
313         layouts that should not appear in a table of contents.
314
315 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
316
317         * cursor.h (undispatched, noUpdate): add comments from André
318
319 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
320
321         * lfuns.h:
322         * LyXAction.C:
323         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
324
325 2005-05-07  André Pönitz  <poenitz@gmx.net>
326
327         * cursor.[Ch] (leaveInset): new function
328
329 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
330
331         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
332
333 2005-05-04  Angus Leeming  <leeming@lyx.org>
334
335         * lyxfunc.C (getStatus): disable the spell checker dialog if
336         none of USE_[AIP]SPELL are defined.
337
338 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
339
340         * tabular.C (setWidthOfCell): remove obsolete comment
341
342 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
343
344         * paragraph.C (bibitem):
345         * buffer_funcs.C (setCounter):
346         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
347
348 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
349
350         * text3.C (getStatus): immediately return after setOnOff
351
352         * rowpainter.C: fix drawing of appendix start
353
354 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
355
356         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
357         SwitchBetweenClasses and remove the unused return value.
358         Handle character styles, too
359
360 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
361
362         * factory.C (createInset): handle undefined character styles
363
364 2005-05-02  Angus Leeming  <leeming@lyx.org>
365
366         * buffer.C: protect the #include of utime.h with a preprocessor
367         guard.
368
369 2005-05-02  Angus Leeming  <leeming@lyx.org>
370
371         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
372         function so that auto-saving works, albeit in a blocking manner.
373
374         * Makefile.am: make compilation of the client sub directory, of
375         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
376         on conditionals set at configure time.
377
378         * SpellBase.[Ch]: no longer an abstract base class. Instead,
379         it can be compiled in its own right but has no-op functionality.
380
381         * aspell.C, pspell.C: remove preprocessor guards. The files should
382         be compiled only if the necessary functionality exists.
383
384         * lyxserver.C, lyxsocket.C: disable on Windows.
385
386 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
387
388         * text.C (leftMargin): Fix the parindent use bug (1764)
389         by dirty trick
390
391 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
392
393         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
394         argument.
395
396 2005-04-25  Angus Leeming  <leeming@lyx.org>
397
398         * Bidi.[Ch]:
399         * coordcache.[Ch]:
400         * ispell.C:
401         * lyxserver.C:
402         * mover.C:
403         * pch.h:
404         include <config.h> in .C files, not .h ones.
405         add licence blurb.
406         protect headers inside preprocessor guards.
407
408 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
409
410         * FuncStatus.h (StatusCodes): document
411
412 2005-04-21  André Pönitz  <poenitz@gmx.net>
413
414         * FuncStatus.h (enabled, onoff): document
415
416 2005-04-19  Angus Leeming  <leeming@lyx.org>
417
418         * BufferView_pimpl.C (cursorToggle): no longer test whether
419         any child processes have been reaped before calling
420         handleCompletedProcesses().
421
422 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
423
424         * text3.C (dispatch): fix, finally fix, the language problem in
425         new lyxtexts, without disabling on-the-fly font changes (Helge's
426         bug report)
427
428 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
429
430         * text3.C (dispatch): set cursor on double/triple click events
431         (bug 1811)
432
433 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
434
435         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
436         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
437
438         * rowpainter.C (paintFirst): simplify the code a little bit. In
439         particular, remove the test for secnumdepth.
440         * text.C (setHeightOfRow): only allocate space for chapter number
441         when updateCounters provided an actual label, instead of looking
442         at secnumdepth directly.
443
444         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
445
446         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
447         paragraphs when secnumdepth is large enough or, for environments,
448         when they are not the first in a sequence.
449
450 2005-04-17  Angus Leeming  <leeming@lyx.org>
451
452         * buffer.C (makeLaTeXFile): replace code to manipulate a path
453         containing space and '~' characters with a call to latex_path().
454
455 2005-04-17  Angus Leeming  <leeming@lyx.org>
456
457         * converter.C (convert): protect all args of convertDefault.sh
458         script with quotes.
459
460 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
461
462         * text3.C (dispatch): change the layout to "Caption" after inserting
463         a float.
464
465 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
466
467         * text3.C (dispatch): fix language problem in newly created
468         textinsets (and main text) in non-english docs
469
470 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
471
472         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
473         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
474         * text3.C (getStatus): disable LFUN_INSET_MODIFY
475
476 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
477
478         * lyxtext.h:
479         * text.C (metrics):
480         * text2.C (getFont):
481         * rowpainter.C (getFont): Fix metrics bug introduced by inset
482         fonts fix
483
484 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
485
486         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
487         output of \item arguments without trailing text.
488
489 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
490
491         * FontIterator.C (operator*): avoid a copy of the font.
492
493 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
494
495         * rowpainter.C (getFont): fix language bug from previous fix
496
497 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
498
499         * rowpainter.C (RowPainter, getFont): fix font inside inset
500         (bugs 1766, 1809)
501
502 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
503
504         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
505         preventing inserted font, deco, delim insets jumping to start of
506         surrounding inset.
507
508 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
509
510         * lyxfunc.C (dispatch): translate message before sending it to the
511         minibuffer.
512
513 2005-03-29  Angus Leeming  <leeming@lyx.org>
514
515         * lyx_main.C (priv_exec): call os::internal_path on each file passed
516         to LyX on the command line.
517
518 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
519
520         * vc-backend.C: use QuoteName to protect file names wherever
521         necessary.
522
523 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
524
525         * buffer.[Ch]:
526         * BranchList.h: fix bugs 1844,1845: document settings don't
527         stick
528
529 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
530
531         * lyxrc.C (setDefaults, read, output, getDescription): add support
532         for tex_allows_spaces.
533
534         * exporter.C (Export): allows files in directory containing spaces
535         if tex_allows_spaces is true.
536
537         * buffer.C (makeLaTeXFile): if the document path contains spaces,
538         output it in double quotes.
539
540 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
541
542         * rowpainter.C: use default text height for drawing change tracker
543         strikeout lines.
544
545 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
546
547         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
548
549 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
550
551         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
552         directory is missing.
553
554 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
555
556         * text2.C: fixed the fix, extended to other case.
557
558 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
559
560         * text2.C: fix for cursor up/down stuck in math [bug 1792]
561
562 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
563
564         * text2.C (cursorUp): get rid of a crash
565         * text.C (x2pos): add an assert
566
567 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
568
569         * lyxfunc.C (getStatus): fix warning when assertions are disabled
570
571         * text3.C:
572         * lyxfunc.C:
573         * dociterator.C: include <boost/current_function.hpp>, which is
574         needed when assertions are disabled.
575
576 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
577
578         * text2.C: fix for stuck cursor when traversing two
579         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
580
581 2005-02-25  Andreas Vox  <avox@arcor.de>
582
583         * output_docbook.C (makeParagraph): suppress trailing newline
584         after a run of paragraphs
585
586 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
587
588         * paragraph.C: fix for confused change tracker when pasting
589         text that begins with a lineseparator. [bug 1827]
590         (setChange(0, Change::INSERTED);)
591
592         * paragraph_funcs.C: fix for lost changes on triple-paste
593         in change tracking mode [bug 1827] (par.setChange()).
594
595 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
596
597         * text2.C (updateCounters, setCounter, expandLabel): move to
598         buffer_funcs.
599
600         * buffer_funcs.C (updateCounters): turn into a free standing
601         function and add a buffer parameter. Remove dead code for tracking
602         labelstring change.
603         (setCounter): change into a free-standing function which gets a
604         dociterator as argument. Use this iterator to fix captions in a
605         simple way. When no float is found above the caption, use the
606         labelstring of the caption layout as default.
607
608         * text.C (breakParagraph, backspace):
609         * text2.C (init, setLayout, changeDepth):
610         * text3.C (dispatch):
611         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
612         updateCounters.
613
614         * dociterator.C (forwardPar): make it much faster by calling
615         forwardPos() only when really necessary.
616
617         * output_docbook.C (makeCommand): adapt to expandLabel move.
618
619         * cursor.C: remove unused variable
620
621 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
622
623         * paragraph_funcs.C: fix crash when pasting insets in change
624         tracking mode [bug 1277] (honour change type in moveItem).
625
626 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
627
628         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
629
630 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
631
632         * BufferView.C (setCursor): change to use a DocIterator.
633         (gotoLabel): use BufferView::setCursor (other part of bug 781).
634         (putSelectionAt): adapt to BufferView::setCursor change.
635
636         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
637         moved here from LyXText and rewritten to use proper cursor
638         methods. Fixes bug 1787, 616 and 835.
639
640         * BufferView_pimpl.C (restorePosition): set the cursor correctly
641         when inside an inset (part of bug 781).
642         (dispatch): adapt to change of BufferView::setCursor.
643         (getStatus, dispatch): handle LFUN_GOTOERROR,
644         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
645
646         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
647         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
648         * text3.C (gotoNextInset, gotoInset): removed.
649
650 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
651
652         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
653
654 2005-02-15  Angus Leeming  <leeming@lyx.org>
655
656         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
657         can be used meaningfully in a comparison.
658
659 2005-02-13  André Pönitz  <poenitz@gmx.net>
660
661         * bufferview_funcs.C (coordOffset): improve cursor drawing
662
663 2005-02-13  André Pönitz  <poenitz@gmx.net>
664
665         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
666         * Cursor.C (dispatch): use fixIfBroken
667         * lyxfunc.C (getStatus): use fixIfBroken
668
669 2005-02-15  Angus Leeming  <leeming@lyx.org>
670
671         * lyx_main.C (error_handler):
672         * lyxfunc.C:
673         * lyxrc.C (setDefaults):
674         s/GetEnv/getEnv/.
675         #include "environment.h".
676
677         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
678
679 2005-02-15  Angus Leeming  <leeming@lyx.org>
680
681         * lyxserver.C (startPipe): squash MSVC warning "local variable
682         'fd' used without having been initialized".
683
684 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
685
686         * BufferView_pimpl.C: revert accidental commit.
687
688 2005-02-14  André Pönitz  <poenitz@gmx.net>
689
690         * dociterator.[Ch]: new member forwardPosNoDescent(),
691         which doesn't enter nested insets.
692         * text2.C (setFont): use forwardPosNoDescent() instead
693         of ForwardPos() (fixes crash on font change).
694
695 2005-02-13  Angus Leeming  <leeming@lyx.org>
696
697         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
698         only if lyxrc.path_prefix is not empty.
699
700 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
701
702         * bufferparams.C (readGraphicsDriver): prevent crash
703
704 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
705
706         * text2.C (setCounter): check for inInset() == 0
707
708 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
709
710         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
711         but use update() to get correct screen display; use convert
712         instead of istringstream.
713         (getStatus): handle LFUN_GOTO_PARAGRAPH
714
715         * lyxfunc.C (dispatch, getStatus): do not handle
716         LFUN_GOTO_PARAGRAPH here.
717
718 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
719
720         * text3.C (dispatch): size() -> depth()
721
722         * text2.C: remove some debug output
723
724         * paragraph.C: ws changes only
725
726         * lyxfunc.C (getStatus): size() -> depth()
727
728         * dociterator.h (clear, push_back, pop_back, internalData,
729         operator[], resize, empty): new functions
730         Make StableDocIterator and operator== be friends. Don't inherit
731         from std::vector use a privat class variable slices_ instead.
732         Modify to fit.
733
734         * dociterator.C: update because of not inheriting from std::vector
735         anymore. Call explictly to slices_ instead. Use depth() instead of
736         size() and top() instead of back()
737
738         * cursor.C: chagne size() -> depth and back() -> top(). Also
739         remove some direct operator[](i) calls in favour of foo[i]
740         (getFont): remove some dead code
741
742         * bufferview_funcs.C (coordOffset): size() -> depth()
743
744         * buffer.C: ws changes only
745
746         * CutAndPaste.C (eraseSelection): back() -> top()
747
748         * BufferView_pimpl.C (selectionRequested): back() -> top()
749
750         * BufferView.C (setCursor): size() -> depth()
751
752 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
753
754         * text3.C (cursorPrevious): return true if depm changed something
755         (cursorNext): ditto
756         (dispatch): rename sl to oldTopSlice, remove moving use the new
757         NoUpdate func attrib instead. Make sure that needsUpdate is set
758         for function that have NoUpdate, but where depm might have changed
759         the buffer anyway.
760
761         * text2.C (cursorLeft): make us return true if depm changed
762         something
763         (cursorRight): ditto
764         (cursorUpParagraph): ditto
765         (curosrDownParagraph): ditto
766         (cursorUp, cursorDown): ditto, make sure to read comments in code
767         (deleteEmptyParagraphMechanism): remove an assert, also return
768         true if just a single char was deleted.
769
770         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
771         cursor that we modify, to avoid modifying an active cursor before
772         we call setCursor. This allows depm to run. Also return true if
773         depm deleted something.
774
775         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
776         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
777         cursorDownParagraph, cursorPrevious and cursorNext, return true if
778         something was changed in the buffer because of them (ie. depm run)
779
780         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
781         debug messages. Make update by default be false. Make sure that
782         the result of update is retained throught several calls down to
783         dispatch.
784
785         * LyXAction.h: add a new func_attrib: NoUpdate
786
787         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
788         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
789         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
790         and LFUN_WORDLEFT
791         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
792
793 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
794
795         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
796         bv_->owner(), bv_->buffer() by direct references to the private
797         members.
798         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
799         (getStatus): isSavedPosition() is in BufferView::Pimpl.
800         (fitCursor): center() is in BufferView::Pimpl.
801         (getStatus, trackChanges, dispatch): no need for a temporary buf
802         variable
803         (fitCursor, workAreaDispatch): use workarea().workheight()
804
805 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
806
807         * CutAndPaste.C (pasteSelectionHelper): fix a crash
808
809 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
810
811         * buffer.C: format up to 241.
812         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
813         break if pasting into ERT
814         * lyxfunc.C (getStatus): suppress mathpanel and
815         LFUN_DIALOG_SHOW_NEW_INSET in ERT
816
817 2005-02-01  Angus Leeming  <leeming@lyx.org>
818
819         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
820
821 2005-02-01  Angus Leeming  <leeming@lyx.org>
822
823         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
824         calling fs::is_directory().
825
826 2005-01-31  Angus Leeming  <leeming@lyx.org>
827
828         * lyx_main.C (priv_exec): specify explicitly the relative location
829         of the top level build directory when run in-place.
830
831 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
832
833         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
834         LyXText containing the cursor, not the top-level one.
835
836         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
837         true.
838         (insertStringAsLines): rename par to pit; use temporary variable
839         par to hold a Paragraph; do not store par.layout() in a variable,
840         since the pointer may die when breaking paragraphs; pass pars to
841         breakParagraph() instead of Buffer::paragraphs().
842
843 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
844
845         * lyxlex_pimpl.h: #include <fstream>.
846
847         * BufferView.[Ch] (getLyXText): add a const version.
848
849         * BufferView_pimpl.C: add debug aids.
850
851         * RowList_fwd.h:
852         * buffer.h:
853         * lyxrow.h:
854         * paragraph_funcs.h: add commentary explaining what the class does.
855
856
857         * coordcache.[Ch]: add lots of commentary.
858         (startUpdating, doneUpdating): debug aids.
859         (arrays, insets, parPos, getParPos): accessors to private data.
860
861         * cursor_slice.[Ch] (text): add a const version.
862         * dociterator.[Ch] (text, innerText): add const versions.
863
864         * lyxtext.h (breakParagraph): change the keep_layout arg to a
865         bool.
866
867         * paragraph.C (getRow, pos2ros): add asserts.
868
869         * paragraph.h: add commentary. Lots of.
870
871         * paragraph.[Ch] (metrucs, draw): removed.
872
873         * cursor.C:
874         * rowpainter.[Ch]: const-correct changes.
875
876         * text.C: various obvious clean-ups. Removal of ancient cruft.
877         Bug fixes, even.
878
879 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
880
881         * vc-backend.C (find_file): rewrite to use boost.filesystem
882         (scanMaster): ditto
883
884         * main.C (main): set default name check for boost.filesystem to
885         no check
886
887         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
888         (open): ditto
889         (doImport): ditto
890         (actOnUpdatedPrefs): ditto
891
892         * lyx_main.C (init): rewrite to use boost.filesystem
893         (queryUserLyXDir): ditto
894
895         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
896         (getContentsOfAsciiFile): ditto
897
898         * lastfiles.C (readFile): rewrite to use boost.filesystem
899
900         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
901
902         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
903         (loadLyXFile): ditto
904
905         * buffer.C (Buffer): adjust for destroydir
906         (getLogName): rewrite to use boost.filesystem
907         (setFileName): ditto
908         (save): use fs::copy_file (from fs_extras)
909
910         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
911
912         * LaTeX.C (run): rewrite to use boost.filesystem
913         (scanAuxFiles): ditto
914         (handleFoundFile): ditto
915
916 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
917
918         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
919
920         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
921
922 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
923
924         * lyxlayout.[Ch]: change some vars from float to double
925
926         * buffer.C (readFile): make a local var const
927
928         * Several files: use convert<> instead of atoi,strToXXX and friends
929
930 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
931
932         * LaTeXFeatures.[Ch]: Add a static list packages_ that
933         holds the contents of packages.lst. New functions getAvailable
934         and isAvailable to parse and check that list, resp.
935
936         * LyXAction.C:
937         * lfuns.h:
938         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
939
940         * bufferparams.[Ch]: new param output_changes.
941
942         * Buffer.C: increase file format to 240.
943         Use output_changes and isVailable.
944
945         * changes.[Ch]:
946         * paragraph.C:
947         * paragraph_pimpl.C: Use output_changes and isVailable.
948
949 2005-01-23  Angus Leeming  <leeming@lyx.org>
950
951         * output_latex.C: #include "insetbibitem.h", rather than
952         forward declare function bibitemWidest.
953
954 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
955
956         * lyx_main.C (init): make it compile on the Mac.
957
958 2005-01-20  Angus Leeming  <leeming@lyx.org>
959
960         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
961         (setLyXMisc): (char string literal) != (char string literal) is
962         performing a comparison on the addresses. Convert one operand
963         explicitly to string to guarantee expected behaviour.
964         From MSVC warning.
965
966 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
967
968         * buffer.C:
969         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
970
971         * output_plaintext.C: remove unneeded #include gzstream.h.
972
973 2005-01-20  Angus Leeming  <leeming@lyx.org>
974
975         * SpellBase.h: rename some of the elements of the Result enum.
976
977         * aspell_local.h:
978         * ispell.h:
979         * pspell.h:
980         * aspell.C (check):
981         * ispell.C (check):
982         * pspell.C (check): ditto
983
984 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
985
986         * buffer.C: add #include <fstream>.
987
988         * lyx_main.C (init): Compile fix.
989
990         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
991
992 2005-01-20  Angus Leeming  <leeming@lyx.org>
993
994         * mover.h: change commentary to reflect the changed meaning of
995         the $$s placeholder.
996
997 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
998
999         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1000
1001         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1002
1003 2005-01-20  Angus Leeming  <leeming@lyx.org>
1004
1005         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1006         printing diagnostic data by not dereferecing an iterator past the
1007         end.
1008
1009 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1010
1011         * buffer.C (readHeader): use "&&" rather than "and".
1012
1013         * lyxserver.h (inPipeName, outPipeName): make these const.
1014
1015 2005-01-19  Angus Leeming  <leeming@lyx.org>
1016
1017         * lyx_main.C (error_handler, init): protect SIGHUP with
1018         #ifdef SIGHUP guards.
1019
1020 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1021
1022         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1023
1024 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1025
1026         * text.C (setHeightOfRow): add a margin at the top and bottom of
1027         the document (bug 1761)
1028
1029 2005-01-17  Angus Leeming  <leeming@lyx.org>
1030
1031         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1032         with "python ". Workaround for a brain-dead Windows.
1033
1034 2005-01-16  Angus Leeming  <leeming@lyx.org>
1035
1036         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1037         for MacOSX and Windows to use prependEnvPath.
1038         Strip out the hard-coded block to add elements to the PATH for
1039         MacOSX and replace it with a call to prependEnvPath using the
1040         contents of LyXRC::path_prefix.
1041         (queryUserLyXDir): strip out the code to run reconfigure, instead
1042         returning a boolean indicating the necessity to do so.
1043         (reconfigureUserLyXDir): contains the code to reconfigure the
1044         user support directory. Is now called after the various LyXRC data
1045         files have been read.
1046
1047         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1048
1049 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1050
1051         * converter.[Ch] (convert): take a new parameter try_default. Use
1052         a default converter (imagemagick) if try_default is true.
1053
1054 2005-01-13  Angus Leeming  <leeming@lyx.org>
1055
1056         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1057         os::cygwin_path_fix.
1058         (write): output LyXRC::cygwin_path_fix as necessary.
1059
1060 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1061
1062         * lyxrc.h:
1063         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1064
1065 2005-01-12  Angus Leeming  <leeming@lyx.org>
1066
1067         * lyx_main.C (init): set the PATH variable to include the
1068         directory containing the LyX binary when running on Mac or Windows.
1069
1070 2005-01-12  Angus Leeming  <leeming@lyx.org>
1071
1072         * lyx_main.C (init): remove cruft that purports to set the locale
1073         dir. It doesn't and is not needed anyway.
1074
1075 2005-01-10  Angus Leeming  <leeming@lyx.org>
1076
1077         * Makefile.am: remove the lyx_main.C special casing.
1078
1079         * BufferView_pimpl.C:
1080         * bufferlist.C:
1081         * exporter.C:
1082         * lyx_cb.C:
1083         * lyx_main.C:
1084         * lyxfunc.C:
1085         * messages.C: use support/package.h to provide the paths to the
1086         various directories used by LyX.
1087
1088 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1089
1090         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1091         layout if pasting into an empty paragraph)
1092
1093 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1094
1095         * tex-accent.C: add <string>
1096
1097 2005-01-06  José Matos  <jamatos@lyx.org>
1098
1099         * ParagraphParameters.C (write): put every parameter in its own line.
1100         * paragraph.C (write): reduce number of consecutive empty lines exported.
1101         * buffer.C (LYX_FORMAT): increase file format to 239.
1102
1103 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1104
1105         * everywhere: change support/tostr.h -> support/convert.h
1106
1107         * tabular.C: make all write_attributes templates, tostr -> convert
1108
1109         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1110         (emptyTag): and -> &&, and fix type for ret from getChar
1111         (getFirstWord): fix type for ret from getChar
1112         (onlyText): and -> &&
1113         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1114         getChar
1115
1116         * toc.C (goTo, action):
1117         * text3.C (dispatch):
1118         * text.C (currentState):
1119         * tex-accent.C (DoAccent):
1120         * sgml.C:
1121         * lyxrc.C:
1122         * lyxfunc.C (menuNew):
1123         * lyxfinc.C (replace):
1124         * counters.C (laberItem):
1125         * bufferview_funcs.C (font2string):
1126         * bufferparams.C (writeFile):
1127         * buffer.C (readFile):
1128         * Spacing.C (set):
1129         * MenuBackend.C: tostr -> convert
1130
1131         * LaTeX.C (runMessage): fix format
1132         (scanAuxFiles): tostr -> convert
1133
1134         * BufferView_pimpl.C (savePosition): fix format
1135         (restorePosition): ditto
1136         (dispatch): ditto
1137
1138 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1139
1140         * Spacing.[Ch]: New method getValueAsString().
1141
1142         * Spacing.[Ch]:
1143         * bufferparams.C:
1144         * ParagraphParameters.C:
1145         * lyxlayout.C:
1146         * text.C:
1147         * text3.C: store/read spacing value as string.
1148
1149         * rowpainter.C: change float value (spacing_val) to double.
1150
1151         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1152         broken custom document spacing).
1153
1154 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1155
1156         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1157         namespace, also more use of temp references and const
1158
1159         * cursor.[Ch] (getStatus): move to lyxfunc.C
1160
1161         * bufferparams.C: reformat slightly
1162
1163         * bufferview_funcs.C (font2string): constify arg
1164
1165         * changes.C:
1166         * converter.C:
1167         * counters.C:
1168         * bufferlist.C:
1169         * buffer_funcs.C: (many funcs): constify arg on function
1170         definitions, also make more local vars const, also add ASSERTS on
1171         pointer args.
1172
1173         * buffer.C (LYX_FORMAT): put const in correct place
1174         (many funcs): constify arg on function definitions, also make
1175         more local vars const
1176
1177         * aspell_local.h: remove "struct" from typdef setup
1178
1179         * aspell.C (check): make word_ok const
1180         (nextMiss): simplify slightly
1181         (error): ditto
1182
1183 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1184
1185         * lyxrc.[Ch]: store all float values as strings.
1186         use int (not float) for lyxrc.dpi.
1187
1188 2005-01-04  Angus Leeming  <leeming@lyx.org>
1189
1190         * lyx_cb.C (Reconfigure):
1191         * lyx_main.C (queryUserLyXDir):
1192         to run the <system_lyxdir>/configure correctly on Windows, prefix
1193         the path to the script with "sh " when generating the string that
1194         is passed to system().
1195
1196 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1197
1198         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1199
1200 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1201
1202         * lyxlength.C (asLatexString): get rid of setprecision
1203
1204 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1205
1206         * text2.C (setLayout): remove unused variable endpit.
1207         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1208
1209         * paragraph.C (onlyText): remove unused variable style.
1210
1211         * cursor.C (bruteFind): remove unused variables beg and end.
1212
1213         * Makefile.am (dist_noinset_DATA): not needed anymore
1214
1215         * cheaders/*: remove.
1216
1217 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1218
1219         * text3.C: fix LFUN_MATH_MODE.
1220
1221 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1222
1223         * buffer_funcs.C (countWords): new function. Counts words between
1224         two iterators.
1225
1226         * BufferView_pimpl.C (getStatus, dispatch): handle
1227         LFUN_WORDS_COUNT.
1228
1229         * LyXAction.C (init):
1230         * lfuns.h: add LFUN_WORDS_COUNT.
1231
1232 2004-12-19  Angus Leeming  <leeming@lyx.org>
1233
1234         * buffer.C (save): s/slashify_path/internal_path/.
1235
1236 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1237
1238         * lyxfind.C (findChange): do not search for end of pars, because
1239         the change tracker cannot handle this (fixes bug 1719).
1240
1241 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1242
1243         * paragraph.[Ch] (autoBreakRows): remove
1244
1245         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1246
1247         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1248         avoid using the paragraph one
1249
1250         * text2.C (LyXText, insertStringAsLines): adjust
1251
1252 2004-12-16  Angus Leeming  <leeming@lyx.org>
1253
1254         * bufferlist.C:
1255         * lyx_main.C:
1256         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1257
1258 2004-12-14  Angus Leeming  <leeming@lyx.org>
1259
1260         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1261
1262         * bufferlist.C (emergencyWrite):
1263         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1264         GetEnvPath("HOME").
1265
1266 2004-12-14  Angus Leeming  <leeming@lyx.org>
1267
1268         * main.C: (main): no longer pass pointers to os::init.
1269
1270 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1271
1272         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1273         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1274
1275 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1276
1277         * lyxfunc.C:
1278         * text3.C: remove selection_possible global flag
1279
1280 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1281
1282         * text2.C (getSelectionSpan): remove
1283         (changeDepth, changeDepthAllowed): adjust
1284
1285 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1286
1287         * Makefile.am (BOOST_LIBS): use boost variables
1288
1289 2004-12-03  José Matos  <jamatos@lyx.org>
1290
1291         * buffer.C: format up to 238.
1292
1293 2004-12-03  José Matos  <jamatos@lyx.org>
1294
1295         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1296
1297 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
1298
1299         * cursor.C (goUpDown): remove call to idxUpDown2
1300
1301 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1302
1303         * tabular.[Ch]: use size_t-like types for cell, row and column
1304         indices
1305
1306 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1307
1308         * lyxfunc.C (getStatus): do not lose previous information when
1309         calling BufferView::getStatus; do not set a default "Command
1310         disabled" message at the beginning, but just before returning.
1311
1312 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1313
1314         * cursor.h (getStatus): add better comment from src/cursor.C
1315
1316 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1317
1318         * text3.C (getStatus): return false when the lfun is not handled
1319
1320 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1321
1322         * broken_headers.h: remove
1323
1324         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1325
1326 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1327
1328         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1329         offset_ref accessors
1330
1331         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1332         top_y_, merge fitcursor with update
1333         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1334         coord scheme
1335         (metrics): introduce
1336         (workAreaDispatch): adapt to new coord scheme
1337         (redoCurrentBuffer): remove
1338
1339         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1340
1341         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1342         CurStatus enum.
1343
1344         * coordcache.[Ch]: add paragraph cache and helpers
1345
1346         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1347         adjust everywhere
1348
1349         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1350         (targetX, setTargetX): introduce
1351
1352         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1353         baseline -> ascent, as the rest of lyx
1354
1355         * lyxtext.h: remove redoParagraphs, updateParPositions,
1356         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1357         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1358         have ascent/descent (ascent is ascent of first par)
1359
1360         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1361         step of BufferView
1362
1363         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1364
1365         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1366
1367         * pariterator.C: fix infinite loop introduced in par->pit renaming
1368
1369         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1370         in insets and LyXText, draw two off-screen paragraphs using
1371         NullPainter, and adapt to new coord scheme
1372
1373         * text.C:
1374         * text2.C:
1375         * text3.C: adapt lfun handlers to the new coord scheme, which
1376         means: there's only guaranteed coord information for onscreen pars
1377         plus one above and one below. This implies that one can do search
1378         from y coordinates in the range [-1,workHeight]
1379
1380 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1381
1382         * rename a lot of InsetOld to InsetBase
1383
1384 2004-11-25  Angus Leeming  <leeming@lyx.org>
1385
1386         * BufferView_pimpl.C:
1387         * lyx_cb.C:
1388         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1389
1390 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1391
1392         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1393         call BufferView::getStatus if LCursor::getStatus did nothing
1394         (setStatusMessage, getStatusMessage): removed.
1395
1396         * FuncStatus.C (message): new methods. Used to provide an error
1397         message indicating why a command is disabled.
1398         (clear, |=, FuncStatus): update for message.
1399
1400 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1401
1402         * lyxfunc.C (dispatch): always call sendDispatchMessage
1403
1404 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1405
1406         * BufferView.C:
1407         * BufferView_pimpl.C:
1408         * CutAndPaste.C:
1409         * FontIterator.C:
1410         * buffer.C:
1411         * cursor.C:
1412         * cursor_slice.[Ch]:
1413         * dociterator.[Ch]:
1414         * lyxfind.C:
1415         * paragraph_funcs.C:
1416         * pariterator.C:
1417         * rowpainter.C:
1418         * text.C:
1419         * text2.C:
1420         * text3.C:
1421         * undo.C: par->pit renaming
1422
1423 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1424
1425         * tabular.C (cellstruct): use initialization, store a shared_ptr
1426         to insettext instead of the insettext directly, adjust to fit.
1427         (operator=):  new function
1428         (swap): new function
1429         (rowstruct): use initialization
1430         (columnstruct): use initialization
1431         (ltType): use initialization
1432
1433
1434         * lyxlength.h (swap): new function
1435
1436         * LColor.[Ch] (operator=): use the common semantics
1437
1438 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1439
1440         * lyxfind.C (findNextChange): update the bufferview after setting
1441         the selection.
1442
1443 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1444
1445         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1446         number of InsetOptArgs has already been inserted.
1447
1448         * output_latex.C (latexOptArgInsets): new method. This outputs all
1449         the optarg insets, up to the limit defined in the layout file.
1450         (optArgInset): removed
1451         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1452
1453 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1454
1455         * paragraph.C (isLetter): remove special spellchecker-related
1456         code; return true also for digits
1457         (isWord, isKomma): remove
1458
1459         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1460         * lyxfind.C (MatchString()): use isLetter instead of isWord
1461
1462 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1463
1464         * pariterator.h (operatir=): comment out un-implemented member
1465         function.
1466
1467         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1468         static cast.
1469
1470 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1471
1472         * lyxfont.h: include LColor.h to satisfy concept checks.
1473
1474 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1475
1476         * pariterator.h: add typdefs for value_type, difference_type,
1477         pointer and reference to satisfy concept checks. Also add default
1478         constructor for same reason.
1479
1480         * pariterator.C (operator++): add post-increment operator to
1481         satisfy concept checks.
1482
1483         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1484         checks.
1485
1486         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1487
1488         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1489         checks. Also rename base_type to BaseType to follow naming
1490         standard better.
1491
1492         * FloatList.h: include Floating.h to satisfy concept checks.
1493
1494 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1495
1496         * lyxfunc.C (getStatus): when the origin of the request is menu or
1497         toolbar, and the LyXView does not have focus, do as if there was
1498         no buffer (bug 1720)
1499
1500         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1501         FuncRequest to individual entries of LFUN_SEQUENCE
1502
1503 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1504
1505         * output_latex.C (TeXOnePar): override runparams.moving_arg
1506         according to the needprotect value of the current paragraph (bug
1507         1739)
1508
1509         * paragraph.C (simpleTeXOnePar): no need to override
1510         runparams.moving_args here
1511
1512 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1513
1514         * vspace.C: fix off-by-one-error, related to fix #1682
1515
1516 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1517
1518         * lengthcommon.C: a more general fix for bug 1682
1519
1520 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1521
1522         * text.C (backspace): fix crash
1523
1524 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1525
1526         * format.[Ch] (getFormatFromFile): new method
1527         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1528
1529 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1530
1531         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1532
1533 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1534
1535         * lyxfunc.C (dispatch): remove the verbose argument
1536         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1537         instead
1538
1539         * kbmap.C (defkey): set the origin of func to KEYBOARD
1540
1541         * MenuBackend.C (MenuItem):
1542         * ToolbarBackend.C (add): set the origin of func to UI
1543
1544         * funcrequest.[Ch]: add origin member, which indicates which part
1545         of LyX requests an action
1546
1547 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1548
1549         * converter.C (move): don't lie in the error message
1550         * converter.h (isReachable, move): document
1551
1552 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1553
1554         * buffer.C: remove unused using lyx::support::atoi
1555         * paragraph_funcs.C: ditto
1556
1557 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1558
1559         * bufferlist.C (exists): use bind and equal_to instead of
1560         compare_memfun
1561         (getBuffer): ditto
1562         * lyxtextclasslist.C (NumberOfClass): ditto
1563
1564         * cursor.C (insert): use for_each instead of explicit for loop
1565
1566         * bufferlist.C (getFileNames): use std::transform and
1567         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1568
1569         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1570         for loop
1571
1572         * buffer.C (changeLanguage): use for_each instead of explicit for
1573         loop
1574         (hasParWithID): implement using getParFromID
1575
1576         * LaTeXFeatures.C: ws change only
1577
1578         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1579         to cleanup a bit.
1580
1581         * BufferView_pimpl.C (trackChanges): use for_each instead of
1582         expilicit for loop
1583
1584 2004-11-04  André Pönitz  <poenitz@gmx.net>
1585
1586         * undo.h:
1587         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1588
1589         * dociterator.C (asDocIterator): use hard assert again.
1590
1591 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1592
1593         * lyxlength.C (asLatexString): rewrite so that it does not use
1594         snprintf anymore
1595
1596 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1597
1598         * text3.C (specialChar, dispatch): make sure cursor moves to the
1599         right after inserting an inset
1600
1601 2004-11-02  José Matos  <jamatos@lyx.org>
1602
1603         * output_docbook.C (docbook):
1604         * paragraph.C (getID):
1605         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1606         garantee that the output is always legal.
1607
1608         * tabular.C (docbook):
1609         * outputprams.[Ch]: remove mixed contents.
1610
1611 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1612
1613         * text2.C (setCounter): prevent endless loop
1614
1615 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1616
1617         * exporter.C (copyFile): use the mover instead of support::copy()
1618         * exporter.C (Export): pass format and latex name to copyFile()
1619         * exporter.h (addExternalFile): document
1620         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1621
1622 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1623
1624         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1625
1626 2004-10-30  José Matos  <jamatos@lyx.org>
1627
1628         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1629         text and no inset or font change. This allows to use CDATA
1630         sections just for the whole paragraph.
1631
1632 2004-10-30  José Matos  <jamatos@lyx.org>
1633
1634         * paragraph.C (getFirstWord): remove unused variable.
1635
1636 2004-10-30  José Matos  <jamatos@lyx.org>
1637
1638         * paragraph.C (getFirstWord): the content should always be escaped
1639         there.
1640         (simpleDocBookOnePar):
1641         * output_docbook.C (makeEnvironment): replace reference to CDATA
1642         to style pass_thru.
1643
1644 2004-10-30  José Matos  <jamatos@lyx.org>
1645
1646         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1647
1648 2004-10-30  José Matos  <jamatos@lyx.org>
1649
1650         * output_docbook.C (makeParagraphs):
1651         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1652         standard paragraph has only a given type of content drop the wrapper.
1653
1654 2004-10-29  José Matos  <jamatos@lyx.org>
1655
1656         * output_docbook.C (makeEnvironment):
1657         * sgml.C (openTag):
1658         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1659
1660 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1661
1662         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1663         (cleanID): sanitize any id.
1664
1665 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1666
1667         * buffer.C, lyxlex_pimpl.C:
1668         * lyxlex_pimpl.C (setFile):
1669         s/getExtFromContents/getFormatFromContents/
1670
1671 2004-10-28  José Matos  <jamatos@lyx.org>
1672
1673         * output_docbook.C (makeEnvironment): move id to broadest possible
1674         scope.
1675
1676         * sgml.C (openTag): apply substitution of <> for all attributes.
1677
1678 2004-10-28  José Matos  <jamatos@lyx.org>
1679
1680         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1681         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1682         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1683
1684         * sgml.[Ch]: new version for open and closeTag for paragraph and
1685         for strings. Now they handle the ids of paragraphs.
1686
1687 2004-10-26  Angus Leeming  <leeming@lyx.org>
1688
1689         * Makefile.am: add mover.[Ch].
1690
1691         * converter.C (convert, move): use the new Movers to move external
1692         files to the temp directory.
1693
1694         * lyx_main.C (init): ensure that the global system_movers data
1695         is initialised.
1696
1697         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1698         preferences file.
1699
1700         * mover.[Ch]: new files, defining a Mover as a utility to move an
1701         external file between directories and, if necessary, manipulate this
1702         file using a helper script.
1703
1704 2004-10-25  José Matos  <jamatos@lyx.org>
1705
1706         * output_docbook.C (makeCommand): merge two if's that tested the
1707         same condition.
1708
1709 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1710
1711         * sgml.C (escapeString): fix warning in a better way
1712
1713 2004-10-25  José Matos  <jamatos@lyx.org>
1714
1715         * sgml.C (escapeString): import the require boosts header file for
1716         tie, and avoid a signed unsigned comparison.
1717
1718 2004-10-25  José Matos  <jamatos@lyx.org>
1719
1720         * sgml.h: add #include <string>
1721
1722 2004-10-25  José Matos  <jamatos@lyx.org>
1723
1724         * sgml.[Ch] (escapeString): new function to escape all the string.
1725
1726 2004-10-24  José Matos  <jamatos@lyx.org>
1727
1728         * paragraph.[Ch] (getFirstWord): new function to get the first
1729         word. Useful for description.
1730         (simpleDocBookOnePar): remove depth argument, add another that
1731         says where to start the paragraph.
1732
1733         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1734         use the new functions to fix cleanly the support for descriptions.
1735
1736 2004-10-24  José Matos  <jamatos@lyx.org>
1737
1738         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1739         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1740         * output_linuxdoc.C (linuxdocParagraphs):
1741         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1742         add buffer as argument.
1743
1744 2004-10-24  José Matos  <jamatos@lyx.org>
1745
1746         * output_docbook.C (makeEnvironment, searchEnvironment): place
1747         CDATA inside paragraphs and fix scope for listitems.
1748
1749 2004-10-24  José Matos  <jamatos@lyx.org>
1750
1751         * output_docbook.C: remove using statement for stack.
1752
1753 2004-10-23  José Matos  <jamatos@lyx.org>
1754
1755         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1756         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1757         docbook. The new scheme is recursive and makes use of iterators, the
1758         same as latex export works.
1759         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1760         directly with the paragraph contents. This code was moved up to
1761         output_docbook.C (docbookParagraphs).
1762         * sgml.C (openTag, closeTag): removed unneeded newlines.
1763         (closeEnvTags) removed.
1764
1765 2004-10-23  André Pönitz  <poenitz@gmx.net>
1766
1767         * undo.C (textUndoOrRedo):
1768         * dociterator.C (asDocIterator): work around crash
1769
1770         * cursor.C (getStatus): replace ASSERT by more verbose error message
1771           and manual correction of the problem. Should increase stability
1772           while providing more sensible information.
1773
1774 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1775
1776         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1777
1778         * bufferlist.C (previous, next): new methods
1779
1780         * lfuns.h:
1781         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1782
1783 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1784
1785         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1786         entities to preamble.
1787
1788 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1789
1790         * messages.C (Pimpl): strip off translation context information
1791
1792 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1793
1794         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1795         the cursor is correct (bug 1694)
1796
1797 2004-10-13  José Matos  <jamatos@lyx.org>
1798
1799         * output_docbook.C (docbookParagraphs): fix closing tags in the
1800         end of the document.
1801
1802 2004-10-09  José Matos  <jamatos@lyx.org>
1803
1804         * buffer.C: format up to 237.
1805         * bufferparams.C (write): use tostr to convert booleans to strings.
1806
1807 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1808
1809         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1810
1811 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1812
1813         * LaTeX.C: implement use of babel language in xindy.
1814
1815 2004-10-05  José Matos  <jamatos@lyx.org>
1816
1817         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1818         Add new translators to help reading and writing the lyx file.
1819
1820 2004-10-05  José Matos  <jamatos@lyx.org>
1821
1822         * ParagraphParameters.C (read):
1823         * text.C (readParToken): replace nexToken by more appropriate lex
1824         methods.
1825
1826 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1827
1828         * LaTeX.C (runMakeIndex):
1829         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1830         (usually 'makeindex') configurable.
1831
1832         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1833         with a variable rather than with a number.
1834
1835 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1836
1837         * output_latex.C (TeXOnePar): make sure font setting is the first
1838         thing that gets output (and the last at the end). Should fix bug
1839         1404.
1840
1841 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1842
1843         * pch.h: use proper signal include
1844
1845         * LaTeX.h: Use preferred calling of Boost.Signal
1846         * buffer.h: ditto
1847
1848 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1849
1850         * pch.h: dont include <boost/function/function0.hpp>
1851
1852         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1853
1854         * paragraph_pimpl.h: remove usage of ShareContainer
1855
1856         * paragraph_pimpl.C: remove initialization of ShareContainer.
1857
1858 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1859
1860         Fix bug #1666
1861
1862         * BufferView.C (putSelectionAt): change the semantics when
1863         backwards == true: now, this just swaps cursor and anchor wrt the
1864         forward case
1865
1866         * BufferView.h (putSelectionAt): add some documentation
1867
1868         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1869         make sure backwardChar is done at least once (to avoid getting
1870         stuck)
1871         (findNextChange): use putSelectionAt in the forward direction
1872         (operator()): use Paragraph::isWord
1873
1874 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1875
1876         * Spacing.C (set): c_str fix
1877
1878 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1879
1880         * lyx_cb.C (Reconfigure): quote the name of configure script in
1881         case it contains spaces
1882
1883 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1884
1885         * client: new dir
1886
1887         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1888         (BOOST_LIBS): use top_buildir when looking for the file
1889
1890 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1891
1892         * pch.h: do not use include boost/format.hpp, multiple symbols
1893                 will result (gcc bug)
1894
1895
1896 2004-08-23  José Matos  <jamatos@lyx.org>
1897
1898         * bufferparams.C (readToken): fix reading of the author field.
1899
1900 2004-08-20  José Matos  <jamatos@lyx.org>
1901
1902         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1903
1904 2004-08-20  José Matos  <jamatos@lyx.org>
1905
1906         * lyxlex.[Ch] (findToken): remove function.
1907
1908         * ParagraphParameters.C (findToken):
1909         * bufferparams.C (findToken): replace call for previous function
1910         with local copy. This local function has one more argument, the
1911         read string argument.
1912
1913 2004-08-16  José Matos  <jamatos@lyx.org>
1914
1915         * ParagraphParameters.C (write):
1916         * Spacing.C (writeFile):
1917         * bufferparams.C (writeLaTeX):
1918         * lyx_cb.C (Reconfigure):
1919         * paragraph.C (write):
1920         * tabular.C (write): remove unnecessary space at end of line.
1921
1922
1923 2004-08-16  José Matos  <jamatos@lyx.org>
1924
1925         * text.C (readParagraph): remove debug message.
1926
1927 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1928
1929         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1930         crash
1931
1932         * output_plaintext.C (asciiParagraph): set depth correctly
1933
1934         * outputparams.h: add member depth
1935
1936         * paragraph_funcs.C (ownerPar): remove.
1937
1938         * text2.C (setCounter): remove first_pit; comment out some
1939         non-working code that uses ownerPar
1940
1941         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1942         uses ownerPar
1943
1944 2004-08-16  José Matos  <jamatos@lyx.org>
1945
1946         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1947         For the same level of importance use the same chanel to report problems.
1948         (read): add code to deal with \begin_body and \end_body.
1949
1950
1951 2004-08-15  José Matos  <jamatos@lyx.org>
1952
1953         * lyxlex.C (getString): fix comment, buffer::readBody is now
1954         buffer:readDocument.
1955
1956         * tex-strings.C (string_papersize): Default -> default,
1957         Custom -> custom, for consistency with other options.
1958
1959 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1960
1961         * pch.h: new file
1962
1963         * Makefile.am: support pch
1964
1965 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1966
1967         * text.C (readParToken): remove the static LyXFont variable and
1968         pass it as a parameter instead. This fixes a nasty bug where an
1969         inset will be inserted with a bad font in some situations
1970         (readParagraph): adapt
1971
1972         * text2.C (setCounter): reduce number of calls to pars_[pit]
1973
1974         * text.C (singleWidth): add an assert, fix a test
1975
1976         * rowpainter.C (paintText): reduce number of calls to singleWidth
1977
1978         * paragraph.C (isHfill):
1979         (isNewline): ws only
1980
1981 2004-08-14  André Pönitz  <poenitz@gmx.net>
1982
1983         * text.C:
1984         * text2.C:
1985         * rowpainter.C:
1986         * lyxtext.h (several functions): use a Paragraph & argument
1987         instead of par_type
1988
1989 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1990
1991         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1992
1993         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1994
1995         * text.C (singleWidth): remove useless test
1996
1997 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1998
1999         * tabular.h: remove bogus comments
2000
2001         * tabular.C (getDescentOfRow):
2002         (isPartOfMultiColumn): add assertions
2003
2004         * lyxlength.C (inPixels): remove #warning
2005
2006 2004-08-14  André Pönitz  <poenitz@gmx.net>
2007
2008         * paragraph.h: inline getChar()
2009
2010         * BufferView.h: remove unused declarations
2011
2012 2004-08-14  José Matos  <jamatos@lyx.org>
2013
2014         * Buffer.[Ch] (readDocument): new name for old readBody.
2015         * Buffer.C: new file format, new keywords: \begin_document,
2016         \begin_header, \begin_body, \end_body.
2017
2018         * bufferparams.C (readToken): replace all calls to lex.nextToken
2019         by lex.next(). Do the same to eatLine except where really needed.
2020
2021         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2022         line when writing to the lyx file.
2023
2024         * output_plaintext.C (asciiParagraph): fix Bibliography style
2025         handling.
2026
2027         * text.C (read): fix end of file handling.
2028
2029 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2030
2031         * MenuBackend.C (Menu::operator[]): new method to access
2032         individual menu items
2033         (Menu::hasFunc): new method. search for an item that corresponds
2034         to a given func
2035         (MenuBackend::specialMenu): new method
2036         (MenuBackend::expand): if a special menu has been set, skip
2037         entries whose func() appears in this menu
2038
2039 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
2040
2041         * text3.C: use Debug::DEBUG a bit more
2042
2043         * text.C (leftMargin): try to simplify a tiny bit change var x to
2044         l_margin. Dont output the wide margins always.
2045         (rightMargin): no margin in inner texts
2046
2047         * rowpainter.h (nestMargin): new func
2048         (changebarMargin): new func
2049         (rightMargin): new func
2050
2051         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2052         now functions.
2053         (paintLast): ditto
2054
2055         * factory.C (createInset): modify setDrawFrame
2056
2057         * cursor.C: use Debug::DEBUG a bit more
2058
2059 2004-08-14  André Pönitz  <poenitz@gmx.net>
2060
2061         * coordcache.[Ch]:
2062         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2063         cache for all insets in (at least partially) visible (top-level)
2064         paragraphs.
2065
2066         * BufferView_pimpl.C: reset external coord cache before every update.
2067         This means the coord cache only contains valid entries.
2068
2069 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
2070
2071         bug 1096
2072         * BufferView_pimpl.C (getInsetByCode): move function out of class
2073         and change in to a template in anon namespace. Also fix to do what
2074         suits us better.
2075
2076 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
2077
2078         bug 1305
2079         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2080         of char
2081         (breakParagraph): rename par to par_offset and use a local
2082         reference. Add code to keep the language over a rebreak.
2083         (breakParagraphConservative): rename par to par_offset, use a
2084         local reference
2085         (mergeParagraph): ditto
2086         (outerHook): ditto
2087         (isFirstInSequence): ditto
2088         (outerFont): rename pit to par_offset
2089
2090         * paragraph.C: ws change
2091         * paragraph.h: ditto
2092         * text3.C: ditto
2093         * text.C: ditto
2094
2095 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2096
2097         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2098         treatment for ']'
2099
2100         * paragraph.C (simpleTeXOnePar): when we have a \item with
2101         optional argument, enclose the argument with curly brackets (in
2102         case it contains a closing square bracket)
2103
2104         * text2.C (editXY):
2105         * text2.C (editXY):
2106         * text3.C (checkInsetHit): constify
2107
2108 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2109
2110         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2111         documents (bug 1629)
2112
2113 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2114
2115         Fix toggling of collapsable insets with the mouse (bug 1558)
2116
2117         * lyxfunc.C (dispatch): adapt to LCursor changes
2118
2119         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2120         make sure that dispatch is not invoked twice
2121
2122         * cursor.C (needsUpdate): new method
2123         (dispatch): return void
2124         (result): new method, to access the DispatchResult of the cursor.
2125
2126 2004-08-13  José Matos  <jamatos@lyx.org>
2127
2128         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2129
2130 2004-08-13  André Pönitz  <poenitz@gmx.net>
2131
2132         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2133
2134         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2135           multiple cells
2136
2137 2004-08-12  André Pönitz  <poenitz@gmx.net>
2138
2139         * text3.C: take out the 'cursor right' form insertInset and only
2140         do it in those places when it is really needed. Fixes crash on
2141         C-m...
2142
2143 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2144
2145         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2146
2147         * BufferView_pimpl.C (setBuffer): initialize the current font of
2148         the underlying LyXText
2149
2150 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2151
2152         * kbsequence.C (print): use UI native formatting for menu
2153         shortcuts
2154
2155         * text.C (insertChar): call Paragraph::insertChar with a font
2156         argument (cosmetic)
2157
2158         * paragraph.C (insertInset, insertChar): the version that takes a
2159         LyXFont argument is now a wrapper around the other one (the
2160         opposite used to be true).
2161
2162         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2163         argument. Font setting is done in Paragraph now.
2164
2165 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2166
2167         * outputparams.h: add new members intitle and lang.
2168
2169         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2170         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2171
2172 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2173
2174         * text3.C (dispatch): remove special handling of button 4 and 5,
2175         it is now taken care of in the frontend code.
2176
2177 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2178
2179         * Spacing.h: add <string> (STLPort compile fix)
2180
2181 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2182
2183         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2184
2185 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
2186
2187         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2188         to bool.
2189
2190         * converter.C (showMessage): inherit from unary_function, make
2191         operator() const.
2192
2193         * buffer.C (writeFile): initialize retval
2194
2195         * InsetList.h: rename private variable list to list_
2196         * InsetList.[Ch]: adjust accordingly.
2197
2198 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
2199
2200         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2201         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2202         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2203         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2204         * ParagraphParameters.C, LaTeXFeatures.C: replace
2205         "support/std_sstream.h" with <sstream>
2206
2207 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
2208
2209         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2210         * lyxsocket.C (LyXServerSocket): ditto
2211         (serverCallback): ditto
2212
2213 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2214
2215         * LaTeXFeatures.C: check release date when loading jurabib.
2216
2217 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2218
2219         * lyxserver.C (startPipe): call register_socket_callback
2220         (endPipe): call unregister_socket_callback
2221
2222 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
2223
2224         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2225         (LyXServerSocket): register the callback
2226         (LyXServerSocket): unregister the callback
2227         (fd): delete function
2228         (serverCallback): improve error checking and setup the callbacks.
2229         (dataCallback): change arg to fd.
2230         (writeln): new func (copied fro the client socket) used for server
2231         write to client.
2232         (LyXDataSocket): simplify
2233         (~LyXDataSocket): close ann unregiser callback
2234         (server): delete function
2235         (fd): delete function
2236         (readln): small changes, improve some std::string usage
2237         (writeln): constify a bit
2238
2239 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2240
2241         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2242         Qt frontend
2243
2244 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2245
2246         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2247         after it has been populated
2248
2249 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2250
2251         * text2.C (insertInset): move cursor when inserting inset.
2252
2253 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2254
2255         * kbmap.C (findbindings): a couple of new methods. returns a
2256         container of kb_sequence objects. The real work is done by the
2257         private recursive version
2258         (printbindings): uses findbindings to print out a bracketed list
2259         of bindings (renamed from findbinding).
2260
2261         * MenuBackend.C (binding): use kb_keymap::findbindings
2262
2263         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2264
2265 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2266
2267         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2268
2269 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2270
2271         * paragraph.C (isWord): return true on insets that report
2272         isLetter().
2273
2274         * text.C (getWord): use Paragraph::isWord to decide what is in a
2275         word and what is not; fix bug 1609.
2276
2277 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2278
2279         * tex-strings.C: add "none" to string_paperpackages[], fixes
2280         off-by-one-error in the paperpackage selection.
2281
2282         * lyxlex.[Ch]:
2283         * tex-strings.[Ch]: char const * string[n]
2284         -> char const * const string[]
2285
2286 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2287
2288         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2289         command, return early.
2290
2291 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
2292
2293         * debug.h: add DEBUG to enum and fix size of ANY.
2294
2295         * debug.C: add support for Debug::DEBUG
2296         (showTags): cast errorTags.level to unsigned int
2297
2298         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2299         (redoCurrentBuffer): ditto
2300         (updateScrollbar): ditto
2301         * cursor.C (dispatch): ditto
2302         * text2.C (setLayout): ditto
2303         (setFont): ditto
2304         (updateCounters): ditto
2305         (editXY): ditto
2306         (deleteEmptyParagraphMechanism): ditto
2307
2308 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
2309
2310         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2311         annotations to cleanup the Makefile slightly.
2312
2313 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2314
2315         * lyxrc.C: do not set user_email to a default value but use empty
2316         instead. The entry used to be translated, which does not work
2317         since at the point where lyxrc is constructed there is no
2318         translation service available
2319
2320         * messages.C (getLocaleDir): remove and use directly
2321         lyx_localedir() instead
2322
2323 2004-06-02  Angus Leeming  <leeming@lyx.org>
2324
2325         Fix crash caused by dereferencing null pointer 'exportdata' in
2326         OutputParams by creating a new ExportData variable on the heap,
2327         storing it in a boost::shared_ptr.
2328         The crash was triggered when generating an Instant Preview
2329         of an external inset.
2330
2331         * Makefile.am: add outputparams.C
2332
2333         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2334         (c-tor): allocate memory to it.
2335
2336         * exporter.C (c-tor): associated changes.
2337
2338 2004-06-01  Angus Leeming  <leeming@lyx.org>
2339
2340         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2341         contains data before calling isInset(0). (Bug 1513.)
2342
2343 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2344
2345         * exporter.C (checkOverwrite): new method
2346         * exporter.C (copyFile): new method
2347         * exporter.C (Export): copy referenced files to the document dir
2348         * exporter.[Ch]: new class ExportedFile
2349         * exporter.[Ch]: new class ExportData. Contains currently the
2350         names of referenced external files
2351         * outputparams.h: add exportdata member.
2352
2353 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2354
2355         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2356         version.C-tmp
2357
2358 2004-05-19  Angus Leeming  <leeming@lyx.org>
2359
2360         * LaTeXFeatures.C:
2361         * ToolbarBackend.C:
2362         * bufferparams.C:
2363         * lyxfunc.C: small changes due to the introduction of namespace
2364         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2365
2366 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2367
2368         * text3.C (dispatch): supress update when only moving the cursor
2369         * cursor.C (selHandle): remove commented code
2370
2371 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2372
2373         * paragraph.C (startTeXParParams): correct column count
2374         * CutAndPaste.C (pasteSelection): remove const_cast
2375         * output_docbook.C (docbookParagraphs): remove const_cast
2376         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2377         const_cast and return ParagraphList::const_iterator
2378         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2379         * output_plaintext.C (writeFileAscii): remove const_cast
2380         * paragraph.[Ch] (simpleTeXOnePar): make const
2381         * paragraph_funcs.C (outerPar): use const iterators
2382         * paragraph_pimpl.C (validate): use const iterators
2383         * text.C (setHeightOfRow): use const iterators
2384
2385 2004-05-17  Angus Leeming  <leeming@lyx.org>
2386
2387         * lfuns.h:
2388         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2389
2390         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2391         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2392         if the citation engine has changed.
2393
2394 2004-05-14  José Matos  <jamatos@lyx.org>
2395
2396         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2397         if the textclass does not provide it. Have it different for sgml and
2398         xml.
2399         support the language of document.
2400         * output_docbook.C (docbookParagraphs):
2401         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2402         first anchor as the id of the paragraph, remove special case code.
2403         * sgml.C (escapeChar): escape only < & >.
2404
2405 2004-05-14  Angus Leeming  <leeming@lyx.org>
2406
2407         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2408         dependencies on src/frontends/controllers/biblio.h. Define a
2409         CiteEngine_enum wrapper class to enable the enum to be forward
2410         declared.
2411
2412 2004-05-12  Angus Leeming  <leeming@lyx.org>
2413
2414         * buffer.C: up LYX_FORMAT to 234.
2415         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2416         use_numerical_citations with a single biblio::CiteEngine cite_engine
2417         variable.
2418         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2419
2420 2004-05-13  José Matos  <jamatos@lyx.org>
2421
2422         * converter.h:
2423         * converter.C (Converter, readFlags): add xml member.
2424         * outputparams.h: add XML flavor.
2425         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2426
2427 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2428
2429         * lyxfunc.C (dispatch):
2430         (getStatus): fix handling of LFUN_SEQUENCE
2431
2432 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2433
2434         * debug.C (showLevel): do not forget the end-of-line marker
2435
2436 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2437
2438         * kbmap.C (read): do not stop parsing a bind file when an error
2439         occurs (bug 1575)
2440
2441 2004-04-29  Angus Leeming  <leeming@lyx.org>
2442
2443         * cursor.C:
2444         * factory.C:
2445         * pariterator.C:
2446         * text2.C: wrap a bunch of #warning statements
2447         inside #ifdef WITH_WARNINGS blocks.
2448
2449 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2450
2451         * buffer.C: increment format to 233.
2452
2453 2004-04-28  Angus Leeming  <leeming@lyx.org>
2454
2455         * BufferView_pimpl.C:
2456         * lyxfunc.C:
2457         * text3.C:
2458         s/updateToolbar()/updateToolbars()/
2459         s/Toolbar.h/Toolbars.h/
2460
2461 2004-04-28  Angus Leeming  <leeming@lyx.org>
2462
2463         * BufferView.[Ch] (c-tor):
2464         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2465         No longer passes these data to the WorkArea generator.
2466
2467 2004-04-28  Angus Leeming  <leeming@lyx.org>
2468
2469         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2470
2471 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2472
2473         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2474
2475 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2476
2477         * output_latex.C (TeXEnvironment): make sure that there is a line
2478         break before \end{foo} for the last paragraph of a document
2479         (TeXOnePar): if the paragraph is at the end of the document (or
2480         inset) and the language has to be reset, then make sure that the
2481         line break is _before_ the language command, not after (fixes bug
2482         1225); also make sure that the language reset command is the first
2483         thing after the paragraph (to ensure proper nesting of
2484         environments and thus fix bug 1404)
2485
2486 2004-04-21  John Levon  <levon@movementarian.org>
2487
2488         * ToolbarBackend.h:
2489         * ToolbarBackend.C: make "name" be a programmatic name
2490         and a gui_name field.
2491
2492         * lyxfunc.C: display the minibuffer on M-x
2493
2494 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2495
2496         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2497         (bug 1526)
2498
2499 2004-04-19  Angus Leeming  <leeming@lyx.org>
2500
2501         * BufferView_pimpl.C (setBuffer): changed preview interface.
2502
2503         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2504         possible values.
2505
2506 2004-04-19  John Levon  <levon@movementarian.org>
2507
2508         * BufferView_pimpl.C:
2509         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2510
2511 2004-04-05  Angus Leeming  <leeming@lyx.org>
2512
2513         * text.C (redoParagraphs): add call to updateCounters(), thereby
2514         fixing the missing "Figure #:" label from the caption of a
2515         figure float.
2516
2517 2004-04-13  Angus Leeming  <leeming@lyx.org>
2518
2519         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2520         cursor is clicked out of an inset.
2521
2522 2004-04-13  Angus Leeming  <leeming@lyx.org>
2523
2524         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2525         than an InsetOld one.
2526
2527 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2528
2529         * format.[Ch]: add editor to Format
2530         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2531         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2532
2533 2004-04-08  André Pönitz  <poenitz@gmx.net>
2534
2535         * metricsinfo.h: remove PainterInfo::width member
2536
2537 2004-04-08  Angus Leeming  <leeming@lyx.org>
2538
2539         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2540         "\providecommand" rather than "\newcommand", thereby preventing
2541         clashes with packages that define "\boldsymbol" themselves.
2542         Eg, beamer.
2543
2544 2004-04-08  Angus Leeming  <leeming@lyx.org>
2545
2546         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2547         thereby squashing an unnecessary warning.
2548
2549 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2550
2551         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2552         setBuffer()
2553
2554 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2555
2556         * BufferView.C (setCursor): call redoParagraph (some insets could
2557         have been opened)
2558         (putSelectionAt): remove the 'double update' trick
2559
2560         * BufferView_pimpl.C (fitCursor): call refreshPar
2561         (workAreaDispatch): remove an uneeded update call
2562         (dispatch): remove some manual update calls
2563
2564         * cursor.[Ch]: remove cached_y_, updatePos
2565         (selHandle): set noUpdate when appropriate
2566
2567         * lyxfunc.C (dispatch): track if we need an update
2568
2569         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2570
2571         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2572         (paintSelection): cheap optimization, do not call cursorX when not
2573         needed
2574         (paintPars): change signature
2575         (refreshPar): add
2576         (paintText): adjust
2577         (paintTextInset): adjust
2578
2579         * text.C: adjust
2580
2581 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2582
2583         * lengthcommon.C: compilation fix: remove explicit array size from
2584         unit_name[] and friends
2585
2586 2004-04-05  Angus Leeming  <leeming@lyx.org>
2587
2588         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2589
2590         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2591         present only for the preferences dialog.
2592         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2593
2594 2004-04-05  Angus Leeming  <leeming@lyx.org>
2595
2596         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2597         to enable the frontends to export changes to lyxrc correctly.
2598
2599         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2600
2601 2004-04-07  André Pönitz  <poenitz@gmx.net>
2602
2603         * cursor.[Ch] (selClear, adjust): remove math
2604
2605         * cursor_slice.C: more agressive assert
2606
2607         * lyxfunc.C:
2608         * BufferView_pimpl.C: rework mouse event dispatch
2609
2610         * dociterator.C:
2611         * paragraph.C:
2612         * text2.C:
2613         * text3.C: adjust
2614
2615 2004-04-05  André Pönitz  <poenitz@gmx.net>
2616
2617         * cursor.[Ch] (valign, halign...): remove unneeded functions
2618
2619 2004-04-05  Angus Leeming  <leeming@lyx.org>
2620
2621         * lyxlength.[Ch] (unit_name et al.): const-correct.
2622
2623 2004-04-05  Angus Leeming  <leeming@lyx.org>
2624
2625         * BufferView_pimpl.C:
2626         * buffer.C:
2627         * counters.C:
2628         * cursor.C:
2629         * lyxfunc.C
2630         * paragraph.C:
2631         * pariterator.C:
2632         * text.C:
2633         * text2.C:
2634         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2635
2636 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2637
2638         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2639
2640 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2641
2642         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2643         * BufferView_pimpl.[Ch] (getStatus)
2644         * BufferView.[Ch] (getStatus): add
2645         * lyxfunc.C (getStatus): move lfuns handled in
2646         BufferView::dispatch to te function above
2647         * Cursor.C (setSelection): set selection() = true
2648
2649 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2650
2651         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2652
2653 2004-03-31  Angus Leeming  <leeming@lyx.org>
2654
2655         * lyxfunc.C (dispatch): Fall through to the generic
2656         Dialogs::show("preamble").
2657
2658 2004-03-31  Angus Leeming  <leeming@lyx.org>
2659
2660         * lyxfunc.C (dispatch): Fall through to the generic
2661         Dialogs::show("spellchecker").
2662
2663 2004-03-31  Angus Leeming  <leeming@lyx.org>
2664
2665         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2666         preferences dialog.
2667
2668 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2669
2670         * BufferView.C
2671         * cursor.[Ch]
2672         * dociterator.[Ch]:
2673         * insetiterator.[Ch]:
2674         * lyxfind.C:
2675         * lyxfunc.C:
2676         * pariterator.[Ch]:
2677         * text2.C:
2678         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2679
2680 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2681
2682         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2683         insets where we are putting the cursor.
2684
2685 2004-03-31  Angus Leeming  <leeming@lyx.org>
2686
2687         * lfuns.h:
2688         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2689
2690         * lyxrc.[Ch] (read, write): overloaded member functions taking
2691         a std::[io]stream arguments.
2692
2693         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2694
2695 2004-03-31  Angus Leeming  <leeming@lyx.org>
2696
2697         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2698         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2699
2700         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2701         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2702
2703 2004-03-31  Angus Leeming  <leeming@lyx.org>
2704
2705         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2706         the LFUN_ALL_INSETS_TOGGLE code.
2707
2708 2004-03-30  Angus Leeming  <leeming@lyx.org>
2709
2710         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2711         has died. Fall through to the generic Dialogs::show("document").
2712
2713 2004-03-30  Angus Leeming  <leeming@lyx.org>
2714
2715         * lfuns.h:
2716         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2717         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2718
2719         * lyxfunc.C (getStatus, dispatch): define the actions for these
2720         lfuns. Little more than a cut and pste job from ControlDocument.C
2721
2722         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2723
2724 2004-03-30  Angus Leeming  <leeming@lyx.org>
2725
2726         * lfuns.h:
2727         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2728         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2729
2730         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2731         open/closed state of ollapsable insets. Usage:
2732
2733         all-inset-toggle <state> <name>, where
2734         <state> == "open" || "closed" || "toggle" and
2735         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2736
2737         * lyxtext.h, text2.C (toggleInset): removed.
2738
2739         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2740         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2741         now passes LFUN_INSET_TOGGLE to the found inset.
2742
2743         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2744         is now invoked as "all-insets-toggle toggle branch".
2745
2746 2004-03-30  Angus Leeming  <leeming@lyx.org>
2747
2748         * dociterator.C:
2749         * insetiterator.C:
2750         * pariterator.[Ch]: added/corrected header blurb.
2751
2752 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2753
2754         * dociterator.[Ch]: add an inset_ member
2755         (backwardPos): implemented
2756         (backwardPos, forwardPos): use inset_ when the stack is empty.
2757         (doc_iterator_begin, doc_iterator_end): implemented
2758         * pariterator.[Ch]: adjust, add begin, end
2759         * insetiterator.[Ch]: adjust, add begin, end
2760         * cursor.C:
2761         * document.C:
2762         * BufferView.C:
2763         * BufferView_pimpl.C:
2764         * CutAndPaste.C: adjust
2765
2766 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2767
2768         * buffer.C: increment file format to 232.
2769         * LaTeXFeatures.C: add bibtopic package.
2770         * bufferparams.[Ch]: param \use_bibtopic.
2771
2772         * lyxrc.[Ch]: add lyxrc bibtex_command
2773         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2774
2775         * buffer.C: increment file format to 231.
2776
2777 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2778
2779         * dociterator.C: implement forwardPar
2780         * iterators.[Ch]: remove, replaced by
2781         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2782         * BufferView.C:
2783         * BufferView_pimpl.C:
2784         * CutAndPaste.C:
2785         * buffer.C:
2786         * bufferview_funcs.C:
2787         * cursor.C:
2788         * lyxfind.C
2789         * lyxfunc.C
2790         * paragraph_funcs.C
2791         * toc.C:
2792         * Makefile.am: adjust
2793
2794 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2795
2796         * CutAndPaste.C (pasteSelection): fix 2 crashes
2797         (eraseSelection): fix a crash
2798         * paragraph_funcs.C: remove a warning
2799
2800 2004-03-28  Angus Leeming  <leeming@lyx.org>
2801
2802         * lfuns.h:
2803         * LyXAction.C (init): new LFUN_PRINT.
2804
2805         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2806
2807 2004-03-27  Angus Leeming  <leeming@lyx.org>
2808
2809         * lfuns.h:
2810         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2811
2812         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2813
2814 2004-03-27  Angus Leeming  <leeming@lyx.org>
2815
2816         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2817         insetlist always contains non-null pointers to insets.
2818
2819 2004-03-26  Angus Leeming  <leeming@lyx.org>
2820
2821         * src/BufferView_pimpl.C:
2822         * src/CutAndPaste.C:
2823         * src/buffer.C:
2824         * src/iterators.C:
2825         * src/output_plaintext.C:
2826         * src/outputparams.h:
2827         * src/paragraph_funcs.C:
2828         * src/rowpainter.C:
2829         * src/text.C:
2830         * src/text2.C:
2831         * src/frontends/controllers/ControlErrorList.C:
2832         * src/frontends/gtk/FileDialogPrivate.C:
2833         * src/frontends/gtk/GPainter.C:
2834         * src/frontends/gtk/GToolbar.C:
2835         * src/frontends/qt2/QRef.C:
2836         * src/mathed/math_scriptinset.C: squash compiler warnings.
2837
2838 2004-03-26  Angus Leeming  <leeming@lyx.org>
2839
2840         * ispell.C (LaunchIspell::start):
2841         * lyx_cb.C (AutoSaveBuffer::start):
2842         invoke run(DontWait) rather than runNonBlocking().
2843
2844 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2845
2846         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2847
2848 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2849
2850         * kbsequence.C (print): adjust
2851
2852         * kbmap.C (printKeySym): rename and change signature
2853         (printKey): use LyXKeySym::print()
2854
2855 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2856
2857         * undo.C: add using std::advance to compile for stlport
2858
2859 2004-03-24  Angus Leeming  <leeming@lyx.org>
2860
2861         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2862         it leads to a crash when no buffer is present.
2863
2864 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2865             Martin Vermeer  <martin.vermeer@hut.fi>
2866
2867         * lyxfunc.C (dispatch):
2868         * bufferparams.C (readToken): use the new LColor::setColor
2869
2870         * LColor.[Ch] (setColor): new version that takes two strings as
2871         argument and creates a new color entry if necessary
2872
2873 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2874
2875         * buffer.C (makeLaTeXFile): if the main latex file that is
2876         processed is usually a subdocument of some master, then pretend
2877         for a while that it is actually the master
2878
2879 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2880
2881         * buffer.C (getLabelList):
2882         (getBibkeyList): use getMasterBuffer()
2883         (getMasterBuffer): new method. Returns the main document in the
2884         case where one is using included documents.
2885
2886 2004-03-25  André Pönitz  <poenitz@gmx.net>
2887
2888         * Makefile.am:
2889         * iterators.[Ch]:
2890         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2891
2892         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2893
2894         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2895         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2896
2897         * ParameterStruct.h: merge with ParagraphParameters
2898
2899         * lyxtext.h: remove LyXText::parOffset() and getPar()
2900
2901         * text3.C: Remove all 'manual' update calls. We do now one per user
2902         interaction which is completely sufficient.
2903
2904         * Bidi.C:
2905         * BufferView.[Ch]:
2906         * BufferView_pimpl.C:
2907         * FontIterator.[Ch]:
2908         * MenuBackend.C:
2909         * ParagraphParameters.[Ch]:
2910         * buffer.C:
2911         * buffer.h:
2912         * bufferlist.C:
2913         * cursor.[Ch]:
2914         * cursor_slice.[Ch]:
2915         * dociterator.[Ch]:
2916         * errorlist.[Ch]:
2917         * factory.C:
2918         * lfuns.h:
2919         * lyxfind.C:
2920         * lyxfunc.C:
2921         * output_docbook.[Ch]:
2922         * output_latex.[Ch]:
2923         * output_linuxdoc.[Ch]:
2924         * output_plaintext.[Ch]:
2925         * paragraph.[Ch]:
2926         * paragraph_funcs.[Ch]:
2927         * paragraph_pimpl.[Ch]:
2928         * rowpainter.C:
2929         * tabular.[Ch]:
2930         * text.C:
2931         * text2.C:
2932         * toc.C:
2933         * undo.[Ch]: adjust
2934
2935         * frontends/controllers/ControlDocument.C:
2936         * frontends/controllers/ControlErrorList.C:
2937         * frontends/controllers/ControlSpellchecker.C:
2938         * insets/inset.C:
2939         * insets/inset.h:
2940         * insets/insetbase.h:
2941         * insets/insetbibitem.C:
2942         * insets/insetbox.C:
2943         * insets/insetbranch.C:
2944         * insets/insetcaption.C:
2945         * insets/insetcharstyle.C:
2946         * insets/insetcharstyle.h:
2947         * insets/insetcollapsable.C:
2948         * insets/insetcollapsable.h:
2949         * insets/insetert.C:
2950         * insets/insetfloat.C:
2951         * insets/insetfoot.C:
2952         * insets/insetmarginal.C:
2953         * insets/insetnote.C:
2954         * insets/insetoptarg.C:
2955         * insets/insettabular.C:
2956         * insets/insettext.C:
2957         * insets/insettext.h:
2958         * insets/insetwrap.C:
2959         * mathed/math_mboxinset.C:
2960         * mathed/math_nestinset.C:
2961         * mathed/math_scriptinset.C:
2962         * mathed/math_scriptinset.h:
2963         * support/types.h:
2964
2965 2004-03-24  Angus Leeming  <leeming@lyx.org>
2966
2967         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2968         deal with any child processes that have finished but are waiting to
2969         communicate this fact to the rest of LyX.
2970
2971 2004-03-24  Angus Leeming  <leeming@lyx.org>
2972
2973         64-bit compile fixes.
2974
2975         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2976         (c-tor): pass lyx::pos_types rather than ints.
2977
2978         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2979         lyx::pos_type.
2980
2981         * text.C (Delete): compile fix.
2982         (getPar): ensure that function declaration is the same as that in
2983         the header file.
2984
2985 2004-03-23  Angus Leeming  <leeming@lyx.org>
2986
2987         * ispell.C (LaunchIspell):
2988         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2989         a boost::shred_ptr rather than a std::auto_ptr.
2990
2991 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2992
2993         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2994         handle LFUN_FILE_INSERT_*
2995
2996         * lyxrc.C (setDefaults, getDescription, output, read):
2997         * lyxrc.h: remove ps_command
2998
2999 2004-03-22  Angus Leeming  <leeming@lyx.org>
3000
3001         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3002         Ensure that error_handler is processed once only and that all data
3003         is saved before attempting to output any warning messages.
3004
3005         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3006
3007 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3008
3009         * tabular.C (TeXRow): crash fix (from Kayvan and André)
3010
3011 2004-03-19  André Pönitz  <poenitz@gmx.net>
3012
3013         * cursor.[Ch] (reset): take main text inset as argument
3014
3015         * BufferView: adjust
3016         * BufferView_pimpl.C: adjust
3017
3018         * paragraph.[Ch]: fix completely broken operator=()
3019
3020 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3021
3022         * LColor.C (getFromLyXName): make sure that the color name is used
3023         as lowercase.
3024
3025 2004-03-17  Angus Leeming  <leeming@lyx.org>
3026
3027         * lfuns.h:
3028         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3029
3030         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3031         dialog and to kill a forked process.
3032
3033 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3034
3035         * text2.C (setCursorFromCoordinates): fix font problem
3036
3037 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3038
3039         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3040         bogus "rebuild cursor" code
3041
3042 2004-03-11  André Pönitz  <poenitz@gmx.net>
3043
3044         * buffer.[Ch]: use InsetText instead of LyXText as container for
3045         the main lyx text.
3046
3047         * dociterator.[Ch]: drop the BufferView * member which is not needed
3048         anymore after the change to buffer.C
3049
3050         * paragraph_funcs.C:
3051         * text.C:
3052         * text2.C:
3053         * BufferView.[Ch]:
3054         * BufferView_pimpl.[Ch]:
3055         * cursor.[Ch]:
3056         * cursor_slice.[Ch]: adjust
3057
3058         * text3.C: fix bug in mathDispatch
3059
3060 2004-03-08  André Pönitz  <poenitz@gmx.net>
3061
3062         * undo.[Ch]: use 'StableDocumentIterator' as base for
3063         the Undo struct.
3064
3065 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3066
3067         * LaTeXFeatures.C:
3068         * bufferparams.[Ch]: add jurabib support and param.
3069
3070         * LaTeX.C: add FIXME/comment.
3071
3072 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3073
3074         * buffer.C: increment file format to 230.
3075
3076 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3077
3078         * cursor.C (dispatch): avoid infinite loops
3079
3080 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3081
3082         * rowpainter.C (paintSelection): fix x coordinates
3083
3084 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3085
3086         * text.C (rowBreakPoint): fix breaking before displayed insets
3087
3088 2004-03-01  André Pönitz  <poenitz@gmx.net>
3089
3090         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3091
3092         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3093
3094         * Makefile.am:
3095         * BufferView.C:
3096         * BufferView_pimpl.C:
3097         * buffer.C:
3098         * lyxfind.C:
3099         * lyxfunc.C:
3100         * text.C:
3101         * text2.C:
3102         * text3.C: adjust
3103
3104 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3105
3106         * lyxtext.h:
3107         * text.C:
3108         * text2.C:
3109         * rowpainter.C:
3110         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3111         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3112
3113 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3114
3115         * Bidi.[Ch] (computeTables): const correctness
3116         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3117         fill_hfill, fill_label_hfill and x from Row
3118         * lyxtext.h: prepareToPrint returns a RowMetrics
3119         * rowPainter.C: adjust
3120         * text.C (prepareToPrint): use width, not textWidth. adjust
3121         (redoParagraphInternal, cursorX): adjust
3122         * text2.C (getColumnNearX): adjust
3123         (init): put a default value to the top LyXText::width
3124
3125 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3126
3127         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3128
3129 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3130
3131         * lyxtext.h: add FontIterator class
3132
3133         * text.C (FontIterator, operator*, operator->, operator++): add
3134         (rowBreakPoint, setRowWidth): adjust (fixing a
3135         rebreaking bug)
3136
3137 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3138
3139         * BufferView_pimpl.C (workAreaDispatch): allow also
3140         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3141
3142 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3143
3144         * text.C (rowBreakPoint): fix a bug showing with very large insets
3145
3146 2004-02-25  André Pönitz  <poenitz@gmx.net>
3147
3148         * text3.C:
3149         * cursor.[Ch]: move some mathed specific code to mathed
3150
3151 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3152
3153         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3154         use_tempdir in preferences
3155         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3156         tempfile creation
3157         * lyx_main.C: ensure that tempdir is valid
3158         * lyxlex.h: correct typo
3159         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3160         * paragraph.[Ch] (isMultiLingual): make const
3161         * cursor.[Ch] (openable): make const
3162
3163 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3164
3165         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3166
3167 2004-02-20  André Pönitz  <poenitz@gmx.net>
3168
3169         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3170
3171         * cursor.[Ch]: prepare for localized getStatus()
3172
3173         * lyxtext.h:
3174         * tabular.C:
3175         * text.C:
3176         * text2.C:
3177         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3178
3179 2004-02-20  André Pönitz  <poenitz@gmx.net>
3180
3181         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3182
3183 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3184
3185         * text2.C (setCursorFromCoordinates): switch to absolute coords
3186         (cursorUp): adjust
3187         (cursorDown): adjust
3188         * text3.C (dispatch): adjust
3189
3190 2004-02-16  André Pönitz  <poenitz@gmx.net>
3191
3192         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3193           insets/ChangeLog)
3194
3195         * cursor_slice.[Ch]: remove unneeded acessor function
3196
3197         * lyxtext.h: rename rtl() to isRTL()
3198
3199         * rowpainter.C:
3200         * tabular.C:
3201         * text.C:
3202         * text2.C:
3203         * text3.C: adjust
3204
3205 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3206
3207         * rowpainter.C (paintSelection): coord fix
3208
3209 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3210
3211         * Spacing.C: compile fix
3212
3213 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3214
3215         * cursor.C (dispatch): restore current_ before returning
3216
3217 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3218
3219         * text2.C (cursorUp, cursorDown): fix coords
3220         (moveUp): fix crash
3221
3222 2004-02-12  André Pönitz  <poenitz@gmx.net>
3223
3224         * lyxtext.h:
3225         * text.C:
3226         * text2.C:
3227         * text3.C: add LCursor & parameter to most cursor movement functions
3228           remove usage of LyXText::cursorRow() and cursorPar()
3229
3230         * cursor.[Ch]: add textRow() needed members
3231
3232         * BufferView.C:
3233         * BufferView_pimpl.C:
3234         * paragraph.[Ch]:
3235         * BufferView.C:
3236         * BufferView_pimpl.C: adjust
3237
3238 2004-02-11  André Pönitz  <poenitz@gmx.net>
3239
3240         * lyxfunc.C:
3241         * BufferView.[Ch]:
3242         * BufferView_pimpl.C: shift undo/redo handling
3243
3244         * cursor.[Ch]: fix mathed crash
3245
3246         * lyxfind.C:
3247         * lyxtext.h: move selectionAsText to LCursor
3248
3249         * output_latex.C:
3250         * paragraph.C:
3251         * text.C:
3252         * text2.C:
3253         * text3.C: adjust
3254
3255         * rowpainter.C: fix excessive drawing
3256
3257 2004-02-06  André Pönitz  <poenitz@gmx.net>
3258
3259         * BufferView.[Ch]:
3260         * BufferView_pimpl.[Ch]:
3261         * text3.C: move some text specific LFUN handling
3262
3263 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3264
3265         * text3.C (checkInsetHit): adjust coords
3266         * text2.C (getColumnNearX): adjust coords
3267         (edit): adjust coords
3268         * text.C (getRowNearY): add two asserts
3269
3270 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3271
3272         * converter.C:
3273         * format.C: add using std::distance to compile on gcc 2.95/stlport
3274
3275 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3276
3277         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3278
3279 2004-02-04  André Pönitz  <poenitz@gmx.net>
3280
3281         * BufferView.[Ch] (insertInset):
3282         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3283
3284         * text2.C:
3285         * text3.C: adjust
3286
3287 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3288
3289         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3290         on the default clause of the switch
3291         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3292         wasn't catched by LCursor::dispatch
3293
3294 2004-02-03  André Pönitz  <poenitz@gmx.net>
3295
3296         * BufferView.C:
3297         * cursor.[Ch]: some additional asserts
3298
3299         * undo.[Ch]: remove LyXText dependency in interface
3300
3301         * lyxfunc.C: adjust
3302
3303         * lyxtext.h (firstPar, lastPar): remove dead functions
3304
3305         * text.C:
3306         * text2.C:
3307         * text3.C:
3308         * paragraph.[Ch]: adjust
3309
3310 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3311
3312         * lyxfind.C (find): fix argument order in call to ::find
3313
3314 2004-02-02  André Pönitz  <poenitz@gmx.net>
3315
3316         * cursor.[Ch]: remove direct access to anchor
3317
3318         * text.C: remove findText() hack
3319
3320 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3321
3322         * iterators.[Ch] (lockPath): remove in favour of...
3323         * BufferView.[Ch] (setCursor): this addition
3324         * BufferView.C (putSelectionAt): adjust
3325         * undo.C (performUndoOrRedo): adjust
3326         * lyxfunc.C (dispatch): adjust
3327
3328 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3329
3330         * iterators.C (lockPath): add a missing slice
3331         * undo.C (performUndoOrRedo): remove redundant positioning code
3332
3333 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
3334
3335         * vc-backend.C (scanMaster): ";" -> ';'
3336
3337 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
3338
3339         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3340         std::binary_function
3341
3342         * lyxtextclass.C (compare_name): rename to...
3343         (LayoutNamesEqual): ...this
3344
3345         * lyxlex_pimpl.C (compare_tags): inherit from
3346         std::binary_function, put back into anon namespace
3347
3348         * lyxfind.C (MatchString): inherig from std::binary_function
3349         (findChange): use empty() istead of !size()
3350
3351         * format.C (FormatNamesEqual): new functor
3352         (getFormat): use it
3353         (getNumber): use it
3354         (add): use it
3355         (erase): use it
3356         (setViewer): use it
3357
3358         * converter.C (compare_Converter): rename to...
3359         (ConverterEqual): ...this, and fixup a bit.
3360         (getConverter): use it, and make function const
3361         (getNumber): use it, and make function const
3362         (add): use it
3363         (erase): use it:
3364
3365         * bufferlist.C: add using boost::bind
3366
3367         * MenuBackend.C (MenuNamesEqual): new functor
3368         (hasMenu): use it, and make function const
3369         (hasSubmenu): use nested bind to get rid of compare_memfun.
3370
3371 2004-01-30  André Pönitz  <poenitz@gmx.net>
3372
3373         * BufferView_pimpl.C:
3374         * cursor.C:
3375         * cursor.h:
3376         * cursor_slice.[Ch]:
3377         * lyxfunc.C:
3378         * lyxtext.h:
3379         * paragraph_funcs.C:
3380         * paragraph_funcs.h:
3381         * rowpainter.C:
3382         * text.C:
3383         * text2.C:
3384         * text3.C: move some of the edit(x,y) handling to the insets
3385         some coordinate changes.
3386
3387 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
3388
3389         * text.C: add using statements for std::advance and std::distance
3390
3391         * paragraph.C: add using statement for std::distance
3392
3393         * lyxfind.C: add using statement for std::advance
3394
3395         * cursor.C (region): remove std:: from swap
3396         (openable): use nucleus in stead of operator->
3397
3398         * BufferView.C: add using statements for std::distance and std::swap
3399
3400 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
3401
3402         * iterators.C: Remove the pimple, move the needed structures to
3403         the header file. Create accessor for the positions stack.
3404         (asPosIterator): remove function
3405
3406         * PosIterator.C (PosIterator): move constructors to top of file
3407         (PosIterator): reimplement the constructor taking a ParIterator in
3408         terms of setFrom.
3409         (setFrom): new function
3410         (operator!=): inline it
3411
3412 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
3413
3414         * lyxfind.C (replaceAll): use std::advance
3415
3416         * iterators.h: inherit from std::iterator.
3417
3418         * PosIterator.C (advance, distance): remove
3419         * PosIterator.h: interit from std::iterator.
3420
3421 2004-01-26  André Pönitz  <poenitz@gmx.net>
3422
3423         * BufferView.[Ch]:
3424         * BufferView_pimpl.[Ch]:
3425         * InsetList.[Ch]:
3426         * PosIterator.[Ch]:
3427         * buffer.h:
3428         * bufferview_funcs.C:
3429         * cursor.[Ch]:
3430         * cursor_slice.h:
3431         * factory.[Ch]:
3432         * iterators.[Ch]:
3433         * lyxfind.C:
3434         * lyxfunc.C:
3435         * lyxtext.h:
3436         * output_docbook.C:
3437         * output_latex.C:
3438         * output_linuxdoc.C:
3439         * output_plaintext.C:
3440         * paragraph.[Ch]:
3441         * paragraph_funcs.[Ch]:
3442         * paragraph_pimpl.[Ch]:
3443         * rowpainter.C:
3444         * tabular.C:
3445         * tabular.h:
3446         * text.C:
3447         * text2.C:
3448         * text3.C: more IU:  dumps most of the rest of the mathcursor
3449     implementation into cursor.[Ch]; "globalize" a bit of it.
3450
3451 2004-01-25  Angus Leeming  <leeming@lyx.org>
3452
3453         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3454
3455 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3456
3457         * LaTeXFeatures.h: add nice_ and nice() const
3458         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3459
3460 2004-01-20  André Pönitz  <poenitz@gmx.net>
3461
3462         * BufferView.[Ch]:
3463         * BufferView_pimpl.C:
3464         * PosIterator.C:
3465         * bufferview_funcs.C:
3466         * cursor.[Ch]:
3467         * cursor_slice.[Ch]:
3468         * factory.C:
3469         * iterators.C:
3470         * lyx_cb.C:
3471         * lyxfind.C:
3472         * lyxfunc.C:
3473         * lyxtext.h:
3474         * rowpainter.C:
3475         * text.C:
3476         * text2.C:
3477         * text3.C:
3478         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3479           LCursor and mathcursor parts to LCursor and InsetBase.
3480
3481 2004-01-15  André Pönitz  <poenitz@gmx.net>
3482
3483         * cursor_slice.[Ch]: add a few covienience functions
3484
3485         * funcrequest.[Ch]: remove BufferView * member
3486
3487         * BufferView_pimpl.C:
3488         * cursor.C:
3489         * factory.[Ch]:
3490         * lyxfind.[Ch]:
3491         * lyxfunc.C:
3492         * lyxtext.h:
3493         * text3.C:
3494         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3495
3496 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3497
3498         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3499         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3500
3501 2004-01-13  André Pönitz  <poenitz@gmx.net>
3502
3503         * textcursor.[Ch]:
3504         * lyxtext.h: hide cursor and selection anchor behind accessor function
3505
3506         * BufferView.C:
3507         * BufferView_pimpl.[Ch]:
3508         * PosIterator.C:
3509         * bufferview_funcs.C:
3510         * cursor.h:
3511         * lyxfind.C:
3512         * lyxfunc.C:
3513         * text.C:
3514         * text2.C:
3515         * text3.C:
3516         * undo.C: adjust
3517
3518         * cursor.h:
3519         * cursor_slice.[Ch]: some integer type changes for inset unification
3520
3521         * lyxcursor.[hC]: remove, it's CursorSlice now.
3522
3523         * Makefile.am:
3524         * BufferView_pimpl.[Ch]:
3525         * bufferview_funcs.C:
3526         * cursor_slice.C:
3527         * lyxtext.h:
3528         * text.C:
3529         * text2.C:
3530         * text3.C:
3531         * textcursor.[Ch]: adjust
3532
3533 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3534
3535         * text2.C (undoSpan): add and use
3536         * text.C (breakParagraph): use undoSpan (fix bug 578)
3537         * lyxtext.h: adjust
3538
3539 2004-01-08  Angus Leeming  <leeming@lyx.org>
3540
3541         * BufferView_pimpl.C (MenuInsertLyXFile):
3542         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3543         * lyxfunc.C (menuNew, open, doImport):
3544         FileFilterList change to the FileDialog open and save functions.
3545
3546 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
3547
3548         * ShareContainer.h: make isEqual and isUnique adaptable
3549
3550         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3551
3552 2004-01-07  Angus Leeming  <leeming@lyx.org>
3553
3554         * LyXAction.C:
3555         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3556
3557         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3558
3559         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3560         functions replacing find, replace and replaceAll.
3561
3562         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3563         LFUN_WORDFIND(FORWARD|BACKWARD).
3564
3565 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3566
3567         * text.C (breakParagraph): remove an outdated #warning
3568
3569 2004-01-07  André Pönitz  <poenitz@gmx.net>
3570
3571         * lyxfind.C: somewhat clearer logic
3572
3573         * text.C: prevent crash in cursorX on unitialized row cache
3574
3575 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3576
3577         * lyxcursor.[Ch] (operator>): add
3578         * textcursor.C (selStart, selEnd): use std::min and std::max
3579
3580 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
3581
3582         * Chktex.C: include boost/format.hpp
3583
3584 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
3585
3586         * InsetList.C: replace functor MathcIt with adaptable functor
3587         InsetTablePosLess
3588         (insetIterator): modify accordingly
3589
3590         * BranchList.h: move the BranchNamesEqual functor here from...
3591         * BranchList.C: ... to here
3592
3593         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3594         SameName and match.
3595         (add): replace a finding loop with std::find_if.
3596
3597 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3598
3599         * output_docbook.C: moving LatexParam functionality into
3600         .layout files
3601
3602 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3603
3604         * buffer.C: increment format to 229.
3605
3606 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3607
3608         * LaTeXFeatures.C:
3609         * lyx_sty.[Ch]: remove minipageindent_def
3610
3611         * LyXAction.C:
3612         * factory.C:
3613         * lfuns.h:
3614         * lyxfunc.C:
3615         * text3.C: remove LFUN_INSET_MINIPAGE
3616
3617 2003-12-28  Angus Leeming  <leeming@lyx.org>
3618
3619         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3620
3621 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3622
3623         * text2.C (setParagraph): fix off-by-one crash
3624
3625 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3626
3627         * output_docbook.C: header stuff for AGU
3628
3629 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3630
3631         * text2.C (redoCursor): remove
3632         * text.C:
3633         * text3.C:
3634         * BufferView_pimpl.C: remove calls to redoCursor and
3635         setCursor(cursor.par(), cursor.pos()) all around
3636
3637 2003-12-15  Angus Leeming  <leeming@lyx.org>
3638
3639         * buffer.C: up the format to 228.
3640
3641 2003-12-15  André Pönitz  <poenitz@gmx.net>
3642
3643         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3644         slices
3645
3646         * Makefile.am:
3647
3648         * BufferView_pimpl.C:
3649         * cursor.[Ch]:
3650         * lyxcursor.[Ch]:
3651         * rowpainter.[Ch]:
3652         * lyxtext.h:
3653         * text.C:
3654         * text2.C:
3655         * text3.C: adjust
3656
3657 2003-12-15  Angus Leeming  <leeming@lyx.org>
3658
3659         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3660         than getFromGUIName to manipulate the color.
3661
3662 2003-12-14  Angus Leeming  <leeming@lyx.org>
3663
3664         * BranchList.[Ch]: minimize the API.
3665         (Branch::getBranch, getColor): now return a 'const &'.
3666         (Branch::setSelected) now returns a bool set to true if the
3667         selection status changes.
3668         (BranchList::clear, size, getColor, setColor, setSelected,
3669         allBranches, allSelected, separator): removed.
3670         (BranchList::find): new functions, returning the Branch with
3671         the given name.
3672         (BranchList::add, remove): return a bool indicating that
3673         the operation was successful.
3674
3675         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3676         new InsetBranch::isBranchSlected member function.
3677
3678         * LColor.[Ch]: mimimize the API.
3679         (fill): renamed as addColor and made private.
3680         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3681         versions of these functions taking a string arg have been removed.
3682
3683         * bufferparams.C (readToken):
3684         * lyxfunc.C (dispatch):
3685         * lyxrc.C (read): changes due to the altered BranchList and
3686         LColor APIs.
3687
3688         * factory.C (createInset, readInset): changes due to altered
3689         InsetBranch c-tor.
3690
3691 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3692
3693         * factory.C:
3694         * lyxfunc.C: remove insetminipage. "minipage-insert"
3695         now produces a frameless minipage box inset.
3696
3697 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3698
3699         * textcursor.[Ch] (selStart,selEnd): add new methods
3700         remove selection::start, end, use LyXCursor::operator<
3701         * lyxcursor.[Ch] (operator<): add
3702         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3703         * BufferView.[Ch] (unsetXSel): add
3704         * text2.C (clearSelection): use unsetXSel,adjust
3705         * text.C: adjust
3706         * text3.C: adjust
3707         * rowpainter.C: adjust
3708         * bufferview_funcs.C (put_selection_at): adjust
3709
3710 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3711
3712         * BufferView_pimpl.C: small coord. correction
3713
3714 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3715
3716         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3717         dragging over the splash screen.
3718
3719 2003-12-11  Angus Leeming  <leeming@lyx.org>
3720
3721         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3722         as it is now handled in LyXText::dispatch.
3723
3724         * text3.C (doInsertInset): remove a level of nesting.
3725
3726 2003-12-11  Angus Leeming  <leeming@lyx.org>
3727
3728         * factory.C (createInset): changes due to the changed interface to
3729         InsetCommandMailer::string2params.
3730
3731 2003-12-10  Angus Leeming  <leeming@lyx.org>
3732
3733         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3734         'dialog-show-new-inset <inset name>'
3735
3736 2003-12-10  Angus Leeming  <leeming@lyx.org>
3737
3738         * buffer.C: up the format to 227.
3739
3740         * factory.C: the box inset is now identified simply by 'Box'.
3741
3742 2003-12-10  Angus Leeming  <leeming@lyx.org>
3743
3744         * buffer.C: up the format to 226.
3745
3746         * factory.C: the note inset is now identified simply by 'Note'.
3747
3748 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3749
3750         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3751         when a pit is enough. Standarize a couple of loops.
3752
3753 2003-12-05  Angus Leeming  <leeming@lyx.org>
3754
3755         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3756         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3757         data to the re-worked "log" dialog.
3758
3759 2003-12-03  André Pönitz  <poenitz@gmx.net>
3760
3761         * PosIterator.C:
3762         * iterators.C:
3763         * lyxtext.h:
3764         * output_latex.C:
3765         * paragraph_funcs.C:
3766         * text.C:
3767         * text2.C: use Inset::getText instead of Inset::getParagraph
3768
3769 2003-12-03  André Pönitz  <poenitz@gmx.net>
3770
3771         * buffer.[Ch]:
3772         * lyxtext.h:
3773         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3774         InsetText::read() as LyXText::read()
3775
3776 2003-12-02  Angus Leeming  <leeming@lyx.org>
3777
3778         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3779         type. Add a comment in the implementation that the function uses
3780         the stream's bad() function rather than fail() as the std::streams
3781         would do.
3782
3783 2003-12-02  André Pönitz  <poenitz@gmx.net>
3784
3785         * lyxlex.[Ch]: make interface more similar to std::stream
3786
3787         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3788
3789 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3790
3791         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3792
3793 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3794
3795         * vspace.[Ch]: remove VSpace::NONE
3796
3797 2003-12-01  André Pönitz  <poenitz@gmx.net>
3798
3799         * buffer.[Ch]:
3800         * lyxtext.h: move ParagraphList member to LyXText
3801         rename LyXText::ownerParagraphs to LyXText::paragraph
3802
3803         * CutAndPaste.C:
3804         * bufferview_funcs.C:
3805         * iterators.[Ch]:
3806         * lyx_cb.C:
3807         * paragraph.C:
3808         * rowpainter.C:
3809         * tabular.C:
3810         * text.C:
3811         * text2.C:
3812         * text3.C: adjust
3813
3814         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3815
3816         * undo.C: fix cursor positioning
3817
3818 2003-12-01  John Levon  <levon@movementarian.org>
3819
3820         * BufferView_pimpl.C: fix a crash on exit with
3821         a buffer open
3822
3823 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3824
3825         * BranchList.C: fix setSelected() method.
3826
3827 2003-11-28  André Pönitz  <poenitz@gmx.net>
3828
3829         * ParagraphParameters.[Ch]:
3830         * ParameterStruct.h: remove space above/below from Paragraph to
3831          InsetVSpace
3832
3833         * BufferView_pimpl.C:
3834         * factory.C:
3835         * lyxfunc.C:
3836         * lyxtext.h:
3837         * output_latex.C:
3838         * paragraph.C:
3839         * paragraph_funcs.C:
3840         * rowpainter.[Ch]:
3841         * text.C:
3842         * text2.C:
3843         * text3.C: adjust
3844
3845 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3846
3847         * factory.C: Syntax change for CharStyles
3848
3849 2003-11-28  André Pönitz  <poenitz@gmx.net>
3850
3851         * BufferView.[Ch]:
3852         * BufferView.[Ch]:
3853         * buffer.[Ch]:
3854         * buffer.[Ch]: move LyXText member
3855
3856 2003-11-28  André Pönitz  <poenitz@gmx.net>
3857
3858         * BufferView.[Ch]: make LyXText * text a private member
3859
3860         * BufferView_pimpl.C:
3861         * cursor.C:
3862         * iterators.C:
3863         * lyx_cb.C:
3864         * lyxfind.C:
3865         * lyxtext.h:
3866         * rowpainter.[Ch]:
3867         * text.C:
3868         * text2.C:
3869         * undo.C: adjust
3870
3871         * output_plaintext.C: cleanup
3872
3873 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3874
3875         * buffer.C:
3876         * lyxtextclass.[Ch]: parametrize SGML document header
3877
3878 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3879
3880         * converter.[Ch]:
3881         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3882         getFlavor().
3883
3884 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3885
3886         * text2.C (setFont): rework using PosIterator (no more recursive)
3887         (setCharFont): no more needed
3888         (setLayout): no more selection cursors fiddling (done by redoCursor)
3889         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3890         destroy remaining ones)
3891
3892 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3893
3894         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3895         * lyxtext.h: ditto
3896         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3897         selection cursors
3898         * lyxfunc.C: adjust
3899         * text3.C: adjust + re-allow multi par depth changes
3900         * textcursor.C: simplify a bit
3901
3902 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3903
3904         * src/buffer.C:
3905         * src/lyxlayout.C:
3906         * src/lyxlayout.h:
3907         * src/lyxtext.h:
3908         * src/output_docbook.C:
3909         * src/output_latex.C:
3910         * src/paragraph.C:
3911         * src/paragraph.h:
3912         * src/sgml.C:
3913         * src/sgml.h:
3914         * src/text2.C: Introducing a number of tags parametrizing various
3915         XML formats that we may want to support
3916
3917 2003-11-25  André Pönitz  <poenitz@gmx.net>
3918
3919         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3920
3921         * lyxtext.h (leftMargin/rightMargin): simplify interface
3922
3923         * rowpainter.C:
3924         * text.C:
3925         * text2.C:
3926         * text3.C: adjust
3927
3928 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3929
3930         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3931         master file to any child files. Fixes bug 546.
3932
3933 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3934
3935         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3936
3937 2003-11-24  André Pönitz  <poenitz@gmx.net>
3938
3939         * rowpainter.C: simplification
3940
3941         * text2.C (updateCounters): remove call to redoParagraph on
3942         changed labels as this is far too expensive.
3943
3944 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3945
3946         * converter.C (convert): fix a crash: this function gets
3947         called with buffer == 0 from importer code.
3948
3949 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3950
3951         * text3.C (cursorPrevious): make sure that we do not compare
3952         iterators form different containers.
3953         (cursorNext): ditto
3954
3955         * rowpainter.C (paintSelection): make sure that we do not compare
3956         iterators from different containers.
3957
3958         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3959         iterators from different ParagraphList containers.
3960         [NEXT] ditto
3961
3962         * text2.C (LyXText): change order of initialization slightly
3963         (operator=): new function. copy all variables except cache_par_
3964         (moveUp): make sure that we do not compare iterators from
3965         different ParagraphList constainers.
3966         (moveDown): ditto
3967
3968         * text.C (firstPar): new function
3969         (lastPar): new function
3970         (endPar): new function
3971
3972         * lyxtext.h: move things around and group public functions, public
3973         variables, private functions, private variables
3974
3975 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3976
3977         * factory.C: change call to InsetERT constructor to avoid
3978         additional invocation of method status
3979         * text2.C (toggleInset): remove redundant update() call
3980         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3981         instead of a Bufferview pointer
3982
3983 2003-11-21  André Pönitz  <poenitz@gmx.net>
3984
3985         * rowpainter.C: simplification
3986
3987 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3988
3989         * text3.C (dispatch): make possible to extend a word/row selection
3990         with the mouse
3991
3992 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3993
3994         * lyxtext.h: x0_,y0_ -> xo_,yo_
3995         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3996         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3997         * rowpainter.C (paintRows): paint full paragraphs
3998
3999 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4000
4001         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4002         screen coordinates)
4003
4004 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4005
4006         * lyxtext.h: add x0_, y0_
4007         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4008         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4009
4010 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4011
4012         * text2.C (setCursorIntern): move the x_target update here *
4013         * text3.C: change some bv() to true/false in calls to
4014         cursorUp/Down/Right/Left
4015         * cursor.C: use helper function.
4016
4017 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4018
4019         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4020         * paragraph_funcs.[Ch]: correct comment
4021         * rowpainter.C: do not paint selections away from bv->cursor()
4022         Fix a long standing selection painting bug.
4023         * text3.C: generalize mouse-selection code to LyXTexts other that
4024         top one
4025         * textcursor.C: do not use y coords if we can use par offsets
4026
4027 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4028
4029         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4030         cursor position after e.g. inset insert)
4031
4032 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4033
4034         * lyxfind.C (replace): adjust to locking removal + some
4035         code simplification
4036
4037 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4038
4039         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4040         of the path
4041
4042 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4043
4044         * lyxlayout.[Ch]:
4045         * output_docbook.C: XML sanitation: new layout
4046         parameters InnerTag and CommandDepth
4047
4048 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4049
4050         * BufferView_pimpl.C:
4051         * factory.C:
4052         * text3.C: Fix the insertion and modification of button-style
4053         insets
4054
4055 2003-11-13  André Pönitz  <poenitz@gmx.net>
4056
4057         * InsetList.[Ch]: remove deleteLyXText
4058
4059         * paragraph.[Ch]: cache beginOfBody position
4060
4061         * Bidi.C:
4062         * text.C:
4063         * text2.C:
4064         * text3.C: remove superfluous update() calls
4065
4066         * vspace.C: cleanup
4067
4068 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4069
4070         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4071         * BufferView.C (fitLockedInsetCursor): remove
4072         * cursor.[Ch] (getDim): add
4073         * text.C (getRowNearY): add faster version
4074         * text3.C: remove some update calls
4075
4076 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4077
4078         * LaTeXFeatures.C:
4079         * LyXAction.C:
4080         * MenuBackend.C:
4081         * MenuBackend.h:
4082         * dispatchresult.h:
4083         * factory.C:
4084         * lfuns.h:
4085         * lyxfunc.C:
4086         * lyxtextclass.C:
4087         * lyxtextclass.h:
4088         * text3.C: The Character Style /XML short element patch.
4089
4090 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4091
4092         * text3.C:
4093         * factory.C: Small step to solving 'unable to insert some insets'
4094         problem
4095
4096 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4097
4098         * cursor.[Ch] (updatePos): new function for updating the y
4099         position of the tip inset
4100         * bufferview_funcs.C (put_selection_at):
4101         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4102
4103 2003-11-11  André Pönitz  <poenitz@gmx.net>
4104
4105         * text.C: remove big comment on invalid Paragraph pointers as it is
4106         not valid anymore
4107
4108 2003-11-11  André Pönitz  <poenitz@gmx.net>
4109
4110         * text_funcs.[Ch]: merge with ...
4111
4112         * text.C: ... this
4113
4114         * lyxtext.h:
4115         * text2.C:
4116         * text3.C: adjust
4117
4118         * Makefile.am: remove text_funcs.[Ch]
4119
4120 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4121
4122         * cursor.C (getPos): return absolute cached y coord
4123
4124         * BufferView_pimpl.C (fitCursor): new simplistic code
4125         (workAreaDispatch): add a fitCursor call
4126
4127 2003-11-10  André Pönitz  <poenitz@gmx.net>
4128
4129         * BufferView.[Ch]:
4130         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4131
4132 2003-11-10  André Pönitz  <poenitz@gmx.net>
4133
4134         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4135         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4136         indicate that the cursor needs to leave an inset
4137
4138         * lyxtext.h: remove inset locking
4139
4140         * cursor.[Ch]: re-implement functionality provided by inset locking
4141
4142         * BufferView.[Ch]:
4143         * BufferView_pimpl.[Ch]:
4144         * LyXAction.C:
4145         * bufferview_funcs.[Ch]:
4146         * factory.C:
4147         * funcrequest.[Ch]:
4148         * iterators.C:
4149         * lyx_cb.C:
4150         * lyxfind.C:
4151         * lyxfunc.C:
4152         * text.C:
4153         * text2.C:
4154         * text3.C:
4155         * undo.C: adjust
4156
4157 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4158
4159         * PosIterator.[Ch]: replace the stack with a vector, add inset
4160         accesor
4161         * iterators.[C]: adjust
4162
4163 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4164
4165         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4166         replaced
4167         * paragraph_funcs.C (readParToken): put the correct id in the
4168         error item, not the id of the top paragraph
4169
4170 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4171
4172         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4173         * bufferview_funcs.C (put_selection_at): use the above
4174
4175 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4176
4177         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4178
4179 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4180
4181         * output_linuxdoc.h:
4182         * output_plaintext.h:
4183         * output.h:
4184         * output_docbook.h: add #include statements
4185
4186 2003-11-05  José Matos  <jamatos@lyx.org>
4187
4188         * output_docbook.[Ch]:
4189         * output_latex.[Ch]:
4190         * output_linuxdoc.[Ch]:
4191         * output_plaintext.[Ch]: New files for output formats.
4192         * output.[Ch]: New file for helper functions.
4193
4194         * buffer.[Ch]:
4195         * paragraph_funcs.[Ch]: output functions moved to new files.
4196
4197         * outputparams.h: rename of latexrunparams.h
4198
4199         * LaTeX.[Ch]:
4200         * buffer.[Ch]:
4201         * bufferlist.[Ch]:
4202         * converter.[Ch]:
4203         * exporter.C:
4204         * paragraph.[Ch]:
4205         * paragraph_funcs.[Ch]:
4206         * paragraph_pimpl.[Ch]:
4207         * tabular.[Ch]: rename ascii to plaintext
4208         and LatexRunParams to OutputParams.
4209
4210 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4211
4212         * iterators.[Ch] (text): require bv argument
4213         * undo.C (recordUndo):
4214         * lyxfunc.C (dispatch):
4215         * bufferview_funcs.C (put_selection_at): adjust
4216
4217 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
4218
4219         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4220
4221 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4222
4223         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4224         nestings
4225
4226 2003-11-04  André Pönitz  <poenitz@gmx.net>
4227
4228         * cursor.[Ch]: restructure
4229
4230         * BufferView.[Ch]:
4231         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4232
4233         * iterators.[Ch] (asCursor): remove
4234
4235         * lfuns.h: remove LFUN_INSET_EDIT
4236
4237         * lyxfunc.C:
4238         * tabular.C:
4239         * text.C:
4240         * text2.C:
4241         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4242
4243 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4244
4245         * lyxfind.[Ch]: complete overhaul
4246         * BufferView_pimpl.C:
4247         * lyxfunc.C: adjust
4248         * paragraph.[Ch] (insert): add
4249
4250 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4251
4252         * BufferView.[Ch]:
4253         * lyxtext.h:
4254         * text.C: remove dead spellcheck code
4255
4256 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4257
4258         * dispatchresult.h: add a val setter
4259
4260         * cursor.C (dispatch): use a tempvar for data_[i]
4261
4262 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4263
4264         * PosIterator.[Ch]: compile fix
4265
4266 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4267
4268         * text.C (cursorPar): deactivate the cursor cache
4269
4270 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4271
4272         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4273
4274 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4275
4276         * text3.C (dispatch): adjust for new DisptchResult semantics.
4277
4278         * lyxfunc.C (dispatch): handle update when return from
4279         Cursor::dispatch, adjust for new DispatchResult semantics.
4280
4281         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4282         DispatchResult(true) mean to not update. Add class functions for
4283         setting dispatched and update, as well as reading.
4284
4285         * cursor.C (dispatch): don't handle update here
4286
4287 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4288
4289         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4290         * trans_mgr.C: adjust
4291
4292         * paragraph_funcs.C (readParToken): exception safety
4293
4294         * lyxvc.h: store the vcs pointer in a scoped_ptr
4295         * lyxvc.C: adjust
4296
4297         * lyxsocket.C (serverCallback): exception safety
4298
4299         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4300
4301         * ispell.C (clone): make it return a auto_ptr
4302
4303         * factory.C (createInset): exception safety
4304         (readInset): exception safety
4305
4306         * bufferlist.C (newBuffer): exception safety
4307
4308         * Thesaurus.C (Thesaurus): use initialization for aik_
4309
4310         * MenuBackend.C (expandToc): exception safety.
4311
4312 2003-11-03  André Pönitz  <poenitz@gmx.net>
4313
4314         * buffer.C:
4315         * buffer.h:
4316         * bufferview_funcs.C: remove getInsetFromId()
4317
4318         * lyxcursor.[Ch]:
4319         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4320
4321         * lyxfunc.C:
4322         * text2.C:
4323         * text3.C: adjust
4324
4325 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4326
4327         * PosIterator.C (distance, advance): new
4328         * bufferview_funcs.[Ch] (put_selection_at): new
4329         * iterators.[Ch] (lockPath): new
4330
4331 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4332
4333         * iterators.[Ch] (asPosIterator): added
4334         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4335         * PosIterator.[Ch]: added
4336
4337 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4338
4339         * text3.C:
4340         * lyxfunc.C:
4341         * cursor.C (dispatch):
4342         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4343
4344         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4345         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4346         contructor, add a class function dispatched. Remove operator>=
4347
4348 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4349
4350         * debug.C: only use the default constructor for debugstream
4351         (lyxerr) here.
4352
4353         * main.C (main): include debug.h and setup the lyxerr streambuf
4354         here.
4355
4356 2003-10-31  José Matos  <jamatos@lyx.org>
4357
4358         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4359
4360         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4361         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4362         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4363         * paragraph_pimpl.C (simpleTeXSpecialC):
4364         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4365         add LatexRunParams argument.
4366
4367         * exporter.C (Export): change call accordingly.
4368
4369         * latexrunparams.h: add new member to take care of the other backends.
4370 2003-10-30  José Matos  <jamatos@lyx.org>
4371
4372         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4373         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4374         factorise code for paragraph output.
4375         * buffer.[Ch]:
4376         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4377         move functions.
4378
4379 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4380
4381         * text3.C (dispatch):
4382         * lyxfunc.C (dispatch):
4383         * cursor.C (dispatch):
4384         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4385
4386         * dispatchresult.h: make the dispatch_result_t ctor explicit
4387
4388 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4389
4390         * sgml.[Ch]:
4391         * buffer.C: small refactoring of docbook stuff
4392
4393 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4394
4395         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4396         meaning.
4397
4398 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4399
4400         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4401         operator dispatch_result_t, and operators for == != and >=
4402
4403         * cursor.C (dispatch): adjust for operator dispatch_result_t
4404         removal. comment out call to update
4405
4406         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4407
4408 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4409
4410         * text3.C:
4411         * text2.C:
4412         * text.C:
4413         * lyxtext.h:
4414         * lyxfunc.C:
4415         * cursor.C:
4416         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4417         (dispatch):
4418
4419         * dispatchresult.h: new file, DispatchResult broken out of
4420         insets/insetbase.h
4421
4422         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4423
4424 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4425
4426         * text.C (rowBreakPoint): put a hack inside #if 0
4427
4428 2003-10-28  André Pönitz  <poenitz@gmx.net>
4429
4430         * lyxtext.h:
4431         * metricsinfo.C:
4432         * paragraph_funcs.C:
4433         * rowpainter.C:
4434         * text.C:
4435         * text2.C: general cleanup (lots of small stuff)
4436
4437 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4438
4439         * text2.C (cursorEnd): simple fix to the "end key goes to one
4440         before the end on last row" bug
4441
4442 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4443
4444         * text.C (backspace): fix the "zombie characters"
4445
4446 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4447
4448         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4449
4450 2003-10-27  André Pönitz  <poenitz@gmx.net>
4451
4452         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4453
4454         * factory.C: handle new InsetPagebreak, InsetLine
4455
4456         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4457         and move handling into new InsetPagebreak, InsetLine
4458
4459         * BufferView_pimpl.C:
4460         * LyXAction.C:
4461         * ParagraphParameters.C:
4462         * ParameterStruct.h:
4463         * lyxfunc.C:
4464         * lyxtext.h:
4465         * paragraph.C:
4466         * paragraph.h:
4467         * paragraph_funcs.C:
4468         * paragraph_pimpl.C:
4469         * rowpainter.C:
4470         * text.C:
4471         * text2.C:
4472         * text3.C: adjust
4473
4474 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4475
4476         * text.C:
4477         * lyxrow_funcs.[Ch]:
4478         * Bidi.C:
4479         * paragraph.C:
4480         * lyxtext.h:
4481         * rowpainter.C:
4482         * text2.C:
4483         * text3.C: remove lastPos uses in favour of Row::endpos
4484
4485 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4486
4487         * undo.C (performUndoOrRedo): fix two crashes by setting a
4488         cursor by hand and reordering some calls. Use bv->lockInset instead
4489         of inset->edit because the latter loses cursor information
4490
4491 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4492
4493         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4494         by Martin
4495         (rowBreakPoint): fix width. change point to point + 1.
4496         Add a missing check.
4497
4498 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4499
4500         * MenuBackend.C:
4501         * lyxfunc.C: fix (at least partly) the problems
4502         with the Nav menu and headers inside branch insets
4503         reported by Kayvan
4504
4505 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4506
4507         * paragraph.C (getChar): add strong asserts
4508
4509         * lyxrow_funcs.C (lastPos): remove hideous hack
4510
4511         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4512         (fill): adjust to that (avoid an infinite loop)
4513
4514 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4515
4516         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4517
4518 2003-10-23  André Pönitz  <poenitz@gmx.net>
4519
4520         * RowList_fwd.h: change list<> to vector<> to gain speed
4521         after suggestion from Alfredo
4522
4523 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4524
4525         * lyxtext.h: move the bidi stuff from here...
4526         * text.C: and here
4527         * text2.C: and here
4528         * Bidi.[Ch]: ... to here
4529
4530 2003-10-23  André Pönitz  <poenitz@gmx.net>
4531
4532         * lyxtext.h:
4533         * text.C (isLastRow, isFirstRow): new functions
4534
4535         * paragraph.h: new width cache member
4536
4537         * rowpainter.C: replace RowList::iterator with Row & where possible
4538
4539         * lyxfunc.C: replace several view()->text with a single call
4540
4541         * toc.C: fix 'unused' warning
4542
4543 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4544
4545         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4546         when woring with stream::pos_type
4547         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4548
4549 2003-10-22  André Pönitz  <poenitz@gmx.net>
4550
4551         * lyxtext.h:
4552         * text.C: use Row & instead of RowList::iterator
4553
4554         * lyxrow.h: rename end() to endpos()
4555
4556         * rowpainter.C:
4557         * text.C:
4558         * text2.C: adjust
4559
4560 2003-10-22  Angus Leeming  <leeming@lyx.org>
4561
4562         * buffer.[Ch] (fully_loaded): new member function, returning true
4563         only when the file has been loaded fully.
4564         Used to prevent the premature generation of previews and by the
4565         citation inset to prevent computation of the natbib-style label.
4566
4567         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4568         templates are all set up.
4569
4570         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4571
4572 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4573
4574         * text.C: fixed an "oops" in the "is a bit silly"
4575         bug fix
4576
4577 2003-10-21  André Pönitz  <poenitz@gmx.net>
4578
4579         * FuncStatus.[Ch]: small stuff, whitespace
4580
4581         * lyxfont.[Ch]: operator<<() for debug reasons
4582
4583         * lyxfunc.C:
4584         * lyxrow_funcs.C:
4585         * lyxtext.h: whitespace, spelling
4586
4587         * paragraph.C: naming of variables
4588
4589         * text.C:
4590         * text2.C: small stuff
4591
4592
4593 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4594
4595         * text.C: (1) finish off the inset display() work;
4596         (2) fix the "is a bit silly" bug (accessing char
4597         past end of par).
4598
4599 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4600
4601         * text.C: re-introduce display() for insets, fixing the
4602         various bugs (stretch of line above, math inset
4603         positioning, ...)
4604
4605 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4606
4607         * text.C (rightMargin): remove spurious semicolon
4608
4609         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4610         1415)
4611
4612 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4613
4614         * text3.C: fix one crash due to wrong cursor def
4615
4616 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4617
4618         * vc-backend.C (scanMaster): make the regex static
4619
4620         * LaTeX.C (scanAuxFile): make the regexs static
4621
4622         * text3.C (doInsertInset, dispatch, dispatch):
4623         * text2.C (cursorUp, cursorDown):
4624         * text.C (selectNextWordToSpellcheck):
4625         * BufferView_pimpl.C (dispatch):
4626         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4627
4628 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4629
4630         * lyxsocket.C: include <cerrno>
4631
4632 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4633
4634         * lyxfunc.C (dispatch): remove textcache stuff
4635
4636         * bufferlist.C (release): remove textcache stuff
4637         (closeAll): ditto
4638
4639         * TextCache.C: delete file
4640         * TextCache.h: delete file
4641
4642         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4643
4644         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4645         delete of the bv_->text.
4646         (resizeCurrentBuffer): remove texcache stuff
4647         (workAreaResize): ditto
4648
4649 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4650
4651         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4652         action.
4653
4654 2003-10-16  André Pönitz  <poenitz@gmx.net>
4655
4656         * lyxrow.[Ch]:
4657         * paragraph.h:
4658         * rowpainter.C:
4659         * text.C:
4660         * text2.C:
4661         * text3.C: speed up by storing y positions per paragraph plus per-row
4662         offset instead of having a 'full' y position in the row.
4663
4664 2003-10-15  André Pönitz  <poenitz@gmx.net>
4665
4666         * iterators.[Ch]:
4667         * iterators.[Ch]:
4668         * undo.[Ch]: make undo aware of inner insets
4669
4670 2003-10-14  Angus Leeming  <leeming@lyx.org>
4671
4672         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4673         static member functions LyX::ref() and LyX::cref.
4674         (lastfiles): new accessor functions for the new lastfiles_ member var.
4675         (addLyXView, views_): add a new LyXView to the list of views_.
4676         (updateInset): loop over all LyXViews to call their own updateInset
4677         member function, returning a pointer to the Buffer owning the inset.
4678
4679         * BufferView_pimpl.C (loadLyXFile):
4680         * MenuBackend.C (expandLastfiles):
4681         * bufferlist.C (MenuWrite, QuitLyX):
4682         lastfiles is no longer a global variable.
4683         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4684
4685         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4686         static function. Access through LyX::cref().emergencyCleanup().
4687
4688 2003-10-14  André Pönitz  <poenitz@gmx.net>
4689
4690         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4691
4692         * undo.[Ch]: restoring part of 'undo in insets'
4693
4694         * Makefile.am:
4695         * undo_funcs.[Ch]: merge with undo.[Ch]
4696
4697         * tabular.C: small cleansing stuff
4698
4699 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4700
4701         * paragraph_funcs.C (readParToken): report unknown insets as error
4702         boxes. Use the outer paragraph as location (also for unknown
4703         tokens).
4704
4705         * factory.C (readInset): do not abort on reading an unknown inset.
4706         Eat it and return 0.
4707
4708 2003-10-13  Angus Leeming  <leeming@lyx.org>
4709
4710         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4711
4712         * lyxrc.C: displayTranslator is now a function,
4713         declared in GraphicsTypes.h.
4714
4715 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4716
4717         * format.C: new placeholder $$a to pass the socket address.
4718
4719         * bufferlist.[Ch]: new function getBufferFromTmp.
4720
4721         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4722           files in the temporary dir.
4723
4724 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4725
4726         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4727
4728         * Makefile.am: add lyxsocket.[Ch].
4729
4730         * lyx_main.C (error_handler): handle SIGPIPE.
4731
4732 2003-10-13  André Pönitz  <poenitz@gmx.net>
4733
4734         * BufferView_pimpl.C:
4735         * lyxtext.h:
4736         * text.C:
4737         * text2.C:
4738         * text3.C:
4739         * undo_funcs.[Ch]: use paroffset_type instead of
4740           ParagraphList::iterators to prevent multiple conversion
4741           (and get a more robust interface)
4742
4743 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4744
4745         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4746         * lyxtext.h: ditto
4747         * text3.C (dispatch): ditto
4748
4749 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4750
4751         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4752         move the onlyfile, use onlyfile instead of foundfile in a couple
4753         of places.
4754
4755         * DepTable.C (update): flush the error stream a bit more
4756
4757 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4758
4759         * lyxserver.C (callback): adjust
4760
4761         * lyxfunc.C (getStatus): add a missing brace in commented code
4762         (ensureBufferClean): reindent
4763         (dispatch): delete version taking a string
4764
4765 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4766
4767         * LaTeX.C (deplog): move found file handlig from here...
4768         (handleFoundFile): .. to new function here.
4769         (deplog): make sure to discover several files mentioned on the
4770         same log line.
4771
4772 2003-10-10  André Pönitz  <poenitz@gmx.net>
4773
4774         * lyxfunc.C:
4775         * lyxtext.h:
4776         * tabular.C:
4777         * text.C:
4778         * text2.C:
4779         * text3.C: fix some of the tabular crashes
4780
4781 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4782
4783         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4784
4785         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4786
4787 2003-10-09  André Pönitz  <poenitz@gmx.net>
4788
4789         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4790
4791         * BufferView.C:
4792         * BufferView_pimpl.C:
4793         * bufferview_funcs.C:
4794         * lyx_cb.C:
4795         * lyxcursor.C:
4796         * lyxfind.C:
4797         * lyxfunc.C:
4798         * lyxtext.h:
4799         * text.C:
4800         * text2.C:
4801         * text3.C:
4802         * text_funcs.[Ch]:
4803         * textcursor.[Ch]:
4804         * undo_funcs.C: adjust
4805
4806 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4807
4808         * text2.C (incrementItemDepth): new function, use a backtracking
4809         algorithm to discover the correct item depth.
4810         (resetEnumCounterIfNeeded): new function, use a backtracking
4811         algorithm to discover if counter reset is needed.
4812         (setCounter): use them. Simplify a bit. Add different labels for
4813         different item depths for itemize.
4814
4815         * paragraph.C (Paragraph): remove initialization of enumdepth
4816         (operator=): ditto
4817
4818         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4819         enumerate and itemize. Change the type of itemdepth to signed char.
4820
4821 2003-10-08  André Pönitz  <poenitz@gmx.net>
4822
4823         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4824           thing assignable.
4825         * text.C:
4826         * text2.C: adjust
4827
4828         * tabular.[Ch]: fix crash after 'row-insert'
4829
4830 2003-10-08  Angus Leeming  <leeming@lyx.org>
4831
4832         Fix doxygen warnings.
4833
4834         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4835         Remove CutAndPaste:: prefix from header file declaration.
4836
4837         * LColor.h (fill): remove LColor:: prefix from declaration.
4838
4839         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4840         use lyx::depth_type rather than Paragraph::depth_type so that
4841         header file and .C file match.
4842
4843         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4844
4845         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4846         * aspell.C: \file aspell_local.C -> \file aspell.C
4847         * gettext.C: \file gettext.C -> \file src/gettext.C
4848         * gettext.h: \file gettext.h -> \file src/gettext.h
4849         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4850         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4851         * text.C: \file text.C -> \file src/text.C
4852
4853         * toc.C: move comment so that doxygen is not confused.
4854
4855 2003-10-07  Angus Leeming  <leeming@lyx.org>
4856
4857         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4858
4859 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4860
4861         * aspell.C:
4862         * aspell_local.h: add forgotten std::string's.
4863
4864 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4865
4866         * LaTeXFeatures.C:
4867         * LyXAction.C:
4868         * factory.C:
4869         * lfuns.h:
4870         * lyxfunc.C:
4871         * text3.C: The Box patch. Fancybox support, minipage, parbox
4872
4873 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4874
4875         * CutAndPaste.h:
4876         * DepTable.h:
4877         * FloatList.h:
4878         * LaTeXFeatures.h:
4879         * ParagraphParameters.h:
4880         * TextCache.h:
4881         * Thesaurus.h:
4882         * bufferlist.h:
4883         * exporter.h:
4884         * importer.h:
4885         * lastfiles.h:
4886         * lyxfind.h:
4887         * lyxfont.h:
4888         * lyxlex.h:
4889         * lyxtextclasslist.h:
4890         * messages.h:
4891         * paragraph.h:
4892         * paragraph_pimpl.C:
4893         * textcursor.h: add <string> and other small fixes to make Lars'
4894         std::string patch compile with STLport.
4895
4896 2003-10-06  Angus Leeming  <leeming@lyx.org>
4897
4898         * LColor.h: Add missing #include <string>.
4899
4900 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4901
4902         * All most all file in all subdirs: Make <string> be the prefered
4903         way of getting to std::string, add using declarations.
4904
4905 2003-10-06  André Pönitz  <poenitz@gmx.net>
4906
4907         * metricsinfo.C: initialize LyXFont before changing attribute.
4908         (fixes the 'math in \emph is upright' bug)
4909
4910 2003-10-06  André Pönitz  <poenitz@gmx.net>
4911
4912         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4913
4914 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4915
4916         * graph.C:
4917         * paragraph_pimpl.C: Small fixes to build using STLport
4918
4919 2003-10-02  André Pönitz  <poenitz@gmx.net>
4920
4921         * lyxfunc.C:
4922         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4923
4924 2003-10-01  André Pönitz  <poenitz@gmx.net>
4925
4926         * factory.C: assert early
4927
4928 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4929
4930         * lyx_main.C: remove the global debug object
4931
4932         * debug.h: adjust for new debugstream
4933
4934         * debug.C: adjust for new debugstream and keep the global debug
4935         object here.
4936
4937 2003-09-22  Angus Leeming  <leeming@lyx.org>
4938
4939         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4940         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4941         an incomplete class LyXFont.
4942
4943 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4944
4945         * factory.C: bug fix in branches
4946
4947 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4948
4949         * lyxfunc.C (processKeySym): adjust
4950         (dispatch): adjust
4951         (dispatch): change arg name from ev to func, adjust
4952         (sendDispatchMessage): ditto
4953
4954         * lyx_main.C (defaultKeyBindings): adjust keybindings
4955         (deadKeyBindings): ditto
4956
4957         * kbsequence.C (addkey): return a FuncRequest
4958
4959         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4960
4961         * kbmap.C (bind): take a FuncRequest as arg, adjust
4962         (read): adjust
4963         (lookup): adjust
4964         (defkey): change to take a FuncRequest as arg, adjust
4965         (findbinding): take a FuncRequest as arg, adjust.
4966
4967         * funcrequest.h (operator=): added
4968
4969         * funcrequest.C (FuncRequest): default kb_action changed from
4970         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4971
4972         * buffer.C (dispatch): simplify
4973         (dispatch): adjust to take a FuncRequest as arg, adjust
4974
4975         * boost.C (assertion_failed): change assertion message slightly
4976
4977         * ToolbarBackend.C (read): simplify
4978
4979         * MenuBackend.C (binding): adjust call to findbinding, add a
4980         message if no binding is found.
4981         (read): simplify
4982         (expandToc): correct by adding a empty FuncRequest
4983
4984         * LyXAction.C: include <boost/assert.hpp>
4985         (isPseudoAction): delete function
4986         (LookupFunc): change name to...
4987         (lookupFunc): this. change return type to FuncRequest.
4988         (getActionName): take kb_action as arg, simplify
4989         (funcHasFlag): add an assert, simplify.
4990
4991 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4992
4993         * toc.C (action): return a FuncRequest, simplify
4994
4995         * lyxfunc.C (processKeySym): adjust
4996         (getStatus): delete version that takes an int.
4997         (getStatus): adjust
4998         (dispatch): delete version that takes action as int
4999         (dispatch): adjust
5000         (sendDispatchMessage): simplify and adjust
5001
5002         * funcrequest.C (getArg): take unsigned int as arg
5003
5004         * ToolbarBackend.C (read): adjust
5005         (add): delete version that takes func as a string.
5006         (getIton): take a FuncRequest as arg
5007
5008         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5009         action.
5010
5011         * MenuBackend.C (MenuItem): add a new construct that only takes a
5012         Kind, simplify the constructor use for submenus.
5013         (add): adjust
5014         (expandLastfiles): adjust
5015         (expandDocuments): adjust
5016         (expandFormats): adjust
5017         (expandFloatListInsert): adjust
5018         (expandFloatInsert): adjust
5019         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5020
5021         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5022         Remove class variables lyx_pseudo_map and lyx_arg_map
5023
5024         * LyXAction.C (searchActionArg): delete function
5025         (getPseudoAction): delete function
5026         (retrieveActionArg): delete function
5027         (LookupFunc): make it return kb_action, simplify.
5028         (getActionName): simplify
5029
5030         * factory.C (createInset): fix new bug
5031
5032 2003-09-19  Angus Leeming  <leeming@lyx.org>
5033
5034         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5035         masterFilename_ parameter in the include inset.
5036
5037         * factory.C (createInset): changes due to the changes to InsetInclude.
5038
5039 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5040
5041         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5042
5043 2003-09-18  Angus Leeming  <leeming@lyx.org>
5044
5045         * buffer.C:
5046         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5047         Inset::fillWithBibKeys.
5048         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5049
5050 2003-09-18  Angus Leeming  <leeming@lyx.org>
5051
5052         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5053         variables.
5054         (ctor): pass and store a 'Buffer const &'
5055         (buffer): new member function.
5056
5057         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5058         '*this' to the LaTeXFeatures ctor.
5059
5060 2003-09-18  Angus Leeming  <leeming@lyx.org>
5061
5062         * LColor.h:
5063         * lyxfont.C:
5064         * lyxfont.h:
5065         * lyxtext.h:
5066         * text.C: rename EnumLColor as LColor_color.
5067
5068 2003-09-18  Angus Leeming  <leeming@lyx.org>
5069
5070         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5071         remove #include "insets/insetbase.h" from cursor.h.
5072
5073 2003-09-18  Angus Leeming  <leeming@lyx.org>
5074
5075         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5076         InsetOld_code to remove #include "inset.h".
5077
5078         * iterators.C: add #include "insets/inset.h"
5079
5080 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5081
5082         * BufferView.C: remove more locking stuff that apparently doesn't
5083         do anything sensible.
5084
5085 2003-09-16  André Pönitz  <poenitz@gmx.net>
5086
5087         * paragraph.[Ch]:
5088         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5089           performance boost.
5090
5091 2003-09-16  Angus Leeming  <leeming@lyx.org>
5092
5093         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5094
5095         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5096         arg/return type.
5097
5098         * paragraph.h: remove #include "lyxfont.h". Forward declare
5099         LyXFont_size.
5100
5101 2003-09-16  Angus Leeming  <leeming@lyx.org>
5102
5103         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5104         of support/textutils.h.
5105         (isWord): move the contents of support/textutils.h's IsWordChar here.
5106
5107         * buffer.C:
5108         * lyxfind.C:
5109         * rowpainter.C:
5110         * text.C:
5111         * text2.C: add #include "paragraph.h".
5112
5113         * rowpainter.C:
5114         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5115
5116 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5117
5118         * main.C:
5119         * lyx_main.C:
5120         * lyx_cb.C:
5121         * buffer.C:
5122         * LaTeX.C: use namespace alias for lyx::support::os
5123
5124 2003-09-16  Angus Leeming  <leeming@lyx.org>
5125
5126         * bufferparams.C:
5127         * bufferview_funcs.C:
5128         * factory.C:
5129         * lyxfunc.C:
5130         * paragraph_pimpl.C:
5131         * rowpainter.C:
5132         * text.C: add #include "LColor.h".
5133
5134 2003-09-16  Angus Leeming  <leeming@lyx.org>
5135
5136         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5137         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5138         return LyXFont &.
5139         Store the FontBits::color variable as an int rather than as an
5140         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5141         file.
5142
5143         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5144         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5145         string calls together.
5146
5147         * lyxrc.C: add #include "LColor.h".
5148
5149 2003-09-15  Angus Leeming  <leeming@lyx.org>
5150
5151         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5152         a cow_ptr.
5153
5154 2003-09-15  Angus Leeming  <leeming@lyx.org>
5155
5156         * LColor.h: add an EnumLColor wrapper for LColor::color.
5157
5158         * lyxfont.[Ch] (color, setColor, realColor):
5159         * lyxtext.h, text.C (backgroundColor):
5160         pass EnumLColor args to/from the functions, rather than LColor::color
5161         ones.
5162
5163         * lyxfont.h:
5164         * lyxtext.h: forward declare EnumLColor.
5165
5166         * lyx_main.C: add #include "LColor.h".
5167
5168 2003-09-15  Angus Leeming  <leeming@lyx.org>
5169
5170         * .cvsignore: add lyx-gtk.
5171
5172 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5173
5174         * Chktex.C
5175         * LaTeX.C
5176         * LaTeXFeatures.C
5177         * ParagraphParameters.C
5178         * Spacing.C
5179         * buffer.C
5180         * bufferparams.C
5181         * bufferview_funcs.C
5182         * chset.C
5183         * counters.C
5184         * funcrequest.C
5185         * lyxfont.C
5186         * lyxgluelength.C
5187         * lyxlength.C
5188         * paragraph.C
5189         * paragraph_funcs.C
5190         * text3.C
5191         * vc-backend.C: remove usage of STRCONV
5192
5193 2003-09-15  Angus Leeming  <leeming@lyx.org>
5194
5195         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5196         explicitly define the color passed to the painter.
5197
5198 2003-09-15  Angus Leeming  <leeming@lyx.org>
5199
5200         * bufferparams.C (BufferParams): reorder member initializers to avoid
5201         compiler warning.
5202
5203 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5204
5205         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5206         * text.C (updateRowPositions): remove an unusual nop
5207
5208 2003-09-12  André Pönitz  <poenitz@gmx.net>
5209
5210         * BufferView_pimpl.C:
5211         * Bullet.C:
5212         * layout.h:
5213         * lyxfunc.C:
5214         * lyxlayout.[Ch]:
5215         * lyxtextclass.C:
5216         * rowpainter.C:
5217         * text.C:
5218         * text2.C:
5219         * Counters.[Ch]: finish the 'automatic counters' job
5220
5221 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5222
5223         * aspell.C: include <boost/assert.cpp> (compile fix)
5224
5225 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5226
5227         * boost.C (assertion_failed): use lyx::support::abort instead of
5228         assert.
5229
5230 2003-09-10  Angus Leeming  <leeming@lyx.org>
5231
5232         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5233         with their _fwd progeny.
5234
5235 2003-09-09  Angus Leeming  <leeming@lyx.org>
5236
5237         134 files throughtout the source tree: replace 'using namespace abc;'
5238         directives with the appropriate 'using abc::xyz;' declarations.
5239
5240 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5241
5242         * boost.C (emergencyCleanup): moved here from LAssert.c
5243         (assertion_failed): new function, called by BOOST_ASSERT
5244
5245         * several files: change Assert to BOOST_ASSERT
5246
5247 2003-09-09  Angus Leeming  <leeming@lyx.org>
5248
5249         * buffer.[Ch]: Add an Impl class and move Buffer's member
5250         variables into it. As a result move several header files out of
5251         buffer.h.
5252
5253         Add header files to lots of .C files all over the tree as a result.
5254
5255 2003-09-09  Angus Leeming  <leeming@lyx.org>
5256
5257         * buffer.[Ch]: make Buffer's member variables private. Add
5258         accessor functions.
5259
5260         Lots of changes all over the tree as a result.
5261
5262 2003-09-08  Angus Leeming  <leeming@lyx.org>
5263
5264         * graph.C: #include <config.h>.
5265
5266 2003-09-08  Angus Leeming  <leeming@lyx.org>
5267
5268         * BranchList.C:
5269         * BufferView.C:
5270         * BufferView_pimpl.C:
5271         * CutAndPaste.C:
5272         * DepTable.C:
5273         * LaTeX.C:
5274         * LaTeXFeatures.C:
5275         * LyXAction.C:
5276         * MenuBackend.C:
5277         * TextCache.C:
5278         * aspell.C:
5279         * buffer.C:
5280         * bufferlist.C:
5281         * changes.C:
5282         * chset.C:
5283         * converter.C:
5284         * counters.C:
5285         * debug.C:
5286         * graph.C:
5287         * ispell.C:
5288         * lyx_cb.C:
5289         * lyxfind.C:
5290         * lyxfunc.C:
5291         * lyxlex_pimpl.C:
5292         * lyxrc.C:
5293         * lyxrow.C:
5294         * paragraph.C:
5295         * rowpainter.C:
5296         * texrow.C:
5297         * text.C:
5298         * text2.C:
5299         * toc.C: remove redundant using directives.
5300
5301 2003-09-07  Angus Leeming  <leeming@lyx.org>
5302
5303         * LaTeXFeatures.h: remove #include "support/types.h".
5304         * ToolbarBackend.h: remove #include <algorithm>.
5305         * changes.h: remove #include <ctime>.
5306         * debug.h: remove #include <iosfwd>.
5307         * graph.h: remove #include "support/std_string.h".
5308         * lyx_main.h: remove #include <csignal>.
5309         * lyxlex_pimpl.h: remove #include <fstream>.
5310         * sgml.h: remove #include <algorithm>, <utility>.
5311         * toc.h: remove #include "support/std_ostream.h".
5312         Add #include <iosfwd>.
5313
5314 2003-09-07  Angus Leeming  <leeming@lyx.org>
5315
5316         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5317
5318         * converter.h: forward declare LatexRunParams.
5319         * encoding.h: remove #include "lyxrc.h".
5320         * lyxtext.h: remove #include "LColor.h".
5321         * lyxtextclass.h: remove #include "support/types.h".
5322         * trans.h: remove #include "tex-accent.h".
5323         * trans_mgr.h: remove #include "tex-accent.h".
5324         * insets/inset.h: remove #include "support/types.h", <vector>.
5325         * insets/insetcollapsable.h: remove #include "LColor.h".
5326         * insets/insetinclude.h: remove #include "dimension.h".
5327         * insets/insetlatexaccent.h: remove #include "dimension.h".
5328         * insets/insetoptarg.h:: remove #include "insettext.h".
5329         * insets/insettext.h: remove #include "dimension.h",
5330         <boost/shared_ptr.hpp>
5331
5332         * insets/renderers.h: add #include "dimension.h".
5333         * insets/updatableinset.h: add #include "support/types.h".
5334
5335         * many .C files: Associated changes.
5336
5337 2003-09-06  Angus Leeming  <leeming@lyx.org>
5338
5339         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5340         one, inside testInvariant.
5341
5342         * PrinterParams.C: new file.
5343         * PrinterParams.[Ch]: move the function bodies out of line.
5344
5345 2003-09-06  Angus Leeming  <leeming@lyx.org>
5346
5347         * ParagraphParameters.h: forward declare ParameterStruct rather than
5348         including its header file.
5349         (depth): moved out-of-line.
5350
5351 2003-09-06  Angus Leeming  <leeming@lyx.org>
5352
5353         * BufferView_pimpl.h:
5354         * kbmap.h:
5355         * kbsequence.h:
5356         * lyxfunc.h: forward declare LyXKeySym rather than
5357         #include "frontends/LyXKeySym.h".
5358
5359         * BufferView_pimpl.C:
5360         * kbmap.C:
5361         * kbsequence.C:
5362         * lyxfunc.C: associated changes.
5363
5364 2003-09-06  Angus Leeming  <leeming@lyx.org>
5365
5366         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5367         As a result, can remove the #include "insets/inset.h" from BufferView.h
5368
5369 2003-09-06  Angus Leeming  <leeming@lyx.org>
5370
5371         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5372         As a result, can remove the #include "insets/inset.h" from BufferView.h
5373
5374 2003-09-06  Angus Leeming  <leeming@lyx.org>
5375
5376         * buffer_funcs.C:
5377         * buffer.h:
5378         * bufferlist.C:
5379         * BufferView.C:
5380         * bufferview_funcs.C:
5381         * BufferView_pimpl.C:
5382         * CutAndPaste.C:
5383         * lyx_cb.C:
5384         * lyxfunc.C:
5385         * paragraph.h:
5386         * ParagraphParameters.C:
5387         * tabular.C:
5388         * text3.C:
5389         * toc.C:
5390         * undo_funcs.C:
5391         * frontends/controllers/ControlDocument.C:
5392         * insets/insetcaption.C: rearrange the #includes into some sort of
5393         coherent order.
5394
5395         * buffer.h: remove #includes ErrorList.h, undo.h
5396
5397 2003-09-06  Angus Leeming  <leeming@lyx.org>
5398
5399         * support/types.h: add a 'depth_type' typedef, used to store the
5400         nesting depth of a paragraph.
5401
5402         * paragraph.h:
5403         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5404         defining explicitly.
5405
5406         * buffer.h:
5407         * paragraph_funcs.h:
5408         * ParagraphParameters.h:
5409         * sgml.h: use lyx::depth_type rather than Paragraph or
5410         ParameterStruct's depth_type.
5411
5412         * buffer.h
5413         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5414
5415         * BufferView.C:
5416         * BufferView_pimpl.C:
5417         * CutAndPaste.C:
5418         * ParagraphParameters.C:
5419         * buffer_funcs.C:
5420         * bufferlist.C:
5421         * bufferview_funcs.C:
5422         * lyx_cb.C:
5423         * lyxfunc.C:
5424         * tabular.C:
5425         * text3.C:
5426         * toc.C:
5427         * undo_funcs.C:
5428         * frontends/LyXView.C:
5429         * frontends/controllers/ControlDocument.C:
5430         * frontends/controllers/ControlErrorList.C:
5431         * insets/insetbibitem.C:
5432         * insets/insetbranch.C:
5433         * insets/insetcaption.C:
5434         * insets/insetcollapsable.C:
5435         * insets/insetenv.C:
5436         * insets/insetert.C:
5437         * insets/insetfloat.C:
5438         * insets/insetfoot.C:
5439         * insets/insetfootlike.C:
5440         * insets/insetnewline.C:
5441         * insets/insetquotes.C:
5442         * insets/insettabular.C:
5443         * insets/insettext.C:
5444         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5445
5446         * frontends/controllers/ControlChanges.C: #include "changes.h".
5447
5448 2003-09-06  Angus Leeming  <leeming@lyx.org>
5449
5450         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5451         than #including paragraph.h.
5452
5453         * ParagraphList.h:
5454         * RowList.h: deleted. Superfluous.
5455
5456         * CutAndPaste.h:
5457         * iterators.h:
5458         * lyxcursor.h:
5459         * lyxtext.h:
5460         * text_funcs.h:
5461         * undo.h:
5462         * undo_funcs.h:
5463         * insets/inset.h:
5464         * insets/insettext.h: use ParagraphList_fwd.h rather than
5465         ParagraphList.h.
5466
5467         * paragraph.h: don't forward declare ParagraphList.
5468
5469         * buffer.h:
5470         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5471         rather than ParagraphList.h. paragraph.h is still needed for the
5472         Paragraph::depth_type parameters.
5473
5474         * textcursor.h: enable it to compile stand-alone in light of the
5475         above changes.
5476
5477         * bufferview_funcs.C:
5478         * iterators.C:
5479         * lyxfunc.C:
5480         * lyxrow_funcs.C:
5481         * paragraph.C:
5482         * rowpainter.C:
5483         * text.C:
5484         * text2.C:
5485         * text3.C:
5486         * text_funcs.C:
5487         * textcursor.C:
5488         * undo.C:
5489         * frontends/controllers/ControlParagraph.C:
5490         * frontends/controllers/ControlTabular.C:
5491         * insets/insetmarginal.C:
5492         * insets/insetminipage.C:
5493         * insets/insetnote.C:
5494         * insets/insetoptarg.C: add header files needed to compile again.
5495
5496 2003-09-06  Angus Leeming  <leeming@lyx.org>
5497
5498         * RowList_fwd.h: new file, forward-declaring Row rather than
5499         #including lyxrow.h.
5500
5501         * lyxrow_funcs.h:
5502         * lyxtext.h:
5503         * paragraph.h:
5504         * insets/insettext.h: use it instead of RowList.h
5505
5506         * bufferview_funcs.C:
5507         * lyxfunc.C:
5508         * lyxrow_funcs.C:
5509         * paragraph.C:
5510         * rowpainter.C:
5511         * text.C:
5512         * text2.C:
5513         * text3.C: #include "RowList.h".
5514
5515 2003-09-05  Angus Leeming  <leeming@lyx.org>
5516
5517         * factory.C (createInset):
5518         * vspace.C (c-tor): replace sscanf call with an istringstream.
5519         * ispell.C: re-add missing HP/UX headers.
5520         * lyxserver.C: re-add missing  os2 headers.
5521
5522 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5523
5524         * BranchList.C:
5525         * graph.C:
5526         * ispell.C:
5527         * lastfiles.C:
5528         * lyx_cb.C:
5529         * lyxserver.C:
5530         * texrow.C:
5531         * text3.C: re-add missing system headers, needed for 2.95.2.
5532
5533 2003-09-05  Angus Leeming  <leeming@lyx.org>
5534
5535         Changes most place everywhere due to the removal of using directives
5536         from support/std_sstream.h.
5537
5538 2003-09-05  Angus Leeming  <leeming@lyx.org>
5539
5540         Replace LString.h with support/std_string.h,
5541         Lsstream.h with support/std_sstream.h,
5542         support/LIstream.h with support/std_istream.h,
5543         support/LOstream.h with support/std_ostream.h.
5544
5545         Changes resulting throughout the tree.
5546
5547 2003-09-05  Angus Leeming  <leeming@lyx.org>
5548
5549         * sgml.h: ensure that the header file can be compiled stand-alone.
5550         * *.C: strip out redundant #includes. (320 in total.)
5551
5552 2003-09-04  Angus Leeming  <leeming@lyx.org>
5553
5554         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5555         here (from getPackages).
5556
5557         * debug.[Ch]: add a new EXTERNAL tag.
5558
5559 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5560
5561         * text2.C (cursorEnd): simplify
5562         (setCursor): adjust
5563         (getColumnNearX): adjust
5564
5565         * text.C (computeBidiTables): adjust
5566         (fill): adjust
5567
5568         * rowpainter.C (paintChars): adjust
5569         (paintSelection): adjust
5570         (paintChangeBar): adjust
5571         (paintText): adjust
5572
5573         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5574         lastPos instead.
5575         (numberOfSeparators): adjust
5576
5577 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5578
5579         * LyXAction.C:
5580         * box.[Ch]:
5581         * lfuns.h:
5582         * lyxfunc.C:
5583         * text3.C: Restricts the mouse click functionality
5584         of insets like bibtex, include, toc and floatlist to the visible
5585         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5586         up the dialogs. Cursor has to be in front of the inset (i.e.
5587         start of row) for this to function.
5588
5589 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5590
5591         * bufferview_funcs.C (currentState): output row information
5592
5593 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5594
5595         * bufferview_funcs.C (currentState): output paragraph position
5596
5597 2003-09-04  Angus Leeming  <leeming@lyx.org>
5598
5599         * FloatList.h: move out #include "Floating.h".
5600         * LaTeX.h: move out #include "DepTable.h".
5601         * LyXAction.h: move out #include "funcrequest.h".
5602         * buffer.h: move out #include "author.h", "iterators.h".
5603         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5604         * lyx_main.h: move out #include "errorlist.h".
5605         * lyxfunc.h: move out #include "FuncStatus.h".
5606         * lyxtext: move out #include "lyxcursor.h".
5607         * paragraph_pimpl.h: move out #include "counters.h".
5608
5609 2003-09-03  Angus Leeming  <leeming@lyx.org>
5610
5611         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5612         preamble_snippets list, enabling us to add snippets to the preamble
5613         only if the snippet was not there already.
5614
5615 2003-09-04  Angus Leeming  <leeming@lyx.org>
5616
5617         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5618
5619 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5620
5621         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5622         update
5623
5624 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5625
5626         * BranchList.C: point fix, earlier forgotten
5627
5628 2003-09-02  Angus Leeming  <leeming@lyx.org>
5629
5630         * box.C (contains): renamed from 'contained' after a fantastic
5631         amount of hot air.
5632
5633 2003-09-02  John Levon  <levon@movementarian.org>
5634
5635         * BufferView.C:
5636         * lyxcursor.h:
5637         * lyxcursor.C:
5638         * lyxfunc.C:
5639         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5640
5641 2003-09-02  John Levon  <levon@movementarian.org>
5642
5643         * text2.C: simplification of cursorEnd(), including partial
5644         fix for bug 1376
5645
5646 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5647
5648         * buffer.C (readFile): add a space
5649
5650 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5651
5652         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5653
5654 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5655
5656         * buffer.C (readFile): new function, take a filename and a
5657         ParagraphList::iterator
5658         (readFile): adjust
5659         (readFile): adjust, make it private. don't use setStream, make
5660         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5661         always contain the filename.
5662
5663         * BufferView.C (insertLyXFile): simplify and make it work for
5664         gzipped files.
5665
5666 2003-08-30  John Levon  <levon@movementarian.org>
5667
5668         * Makefile.am: fix dist (from Kayvan)
5669
5670 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5671
5672         * most files: change to use const Buffer refs
5673
5674 2003-08-27  André Pönitz  <poenitz@gmx.net>
5675
5676         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5677         on top of ownerPar().
5678
5679 2003-08-27  John Levon  <levon@movementarian.org>
5680
5681         * funcrequest.C: properly initialise POD members
5682
5683 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5684
5685         * lyxtext.h (top_y): move top_y from here
5686         * text.C:
5687         * text2.C:
5688         * text3.C:
5689         * BufferView.[Ch]:
5690         * BufferView_pimpl.[Ch]: to here
5691         * frontends/screen.C:
5692         * insets/insettabular.C:
5693         * insets/insettext.C: adjust
5694         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5695
5696 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5697
5698         * BufferView.[Ch]:
5699         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5700
5701 2003-08-26  André Pönitz  <poenitz@gmx.net>
5702
5703         * paragraph_func.[Ch] (outerPar): new function
5704
5705         * paragraph.C:
5706         * paragraph_funcs.C:
5707         * paragraph_funcs.h:
5708         * paragraph_pimpl.C:
5709         * text2.C: remove Inset::par_owner
5710
5711 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5712
5713         * lyxrow_funcs.C:
5714         * lyxtext.h:
5715         * text.C:
5716         * text2.C: eliminates the needFullRow/display() stuff
5717         altogether, putting the logic in metrics/draw in the insets.
5718
5719 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5720
5721         * text2.C (redoParagraphInternal, redoParagraphs):
5722         * text.C (redoParagraph): add a call to updateRowPositions at the
5723         end of each 'metrics-like' call. Remove all others.
5724         (getRow): remove the 'y-computing' version.
5725         (getRowNearY): do not compute nor return the real y. Solve the
5726         'y < 0' problem and simplify.
5727
5728 2003-08-22  Angus Leeming  <leeming@lyx.org>
5729
5730         * *.[Ch]: clean-up of licence and author blurbs.
5731         Also move config.h out of a few .h files and into a few .C files.
5732
5733 2003-08-22  André Pönitz  <poenitz@gmx.net>
5734
5735         * lyxrow.[Ch]: add x_ and *fill_ members
5736
5737         * lyxtext.h:
5738         * text.C:
5739         * rowpainter.C:
5740         * text2.C: adjust/remove prepareToPrint() calls
5741
5742 2003-08-22  André Pönitz  <poenitz@gmx.net>
5743
5744         * lyxrow.[Ch]: add  end_ member
5745
5746         * lyxrow_funcs.C: use LyXRow::end_
5747
5748         * lyxtext.h (singleWidth): add LyXFont parameter
5749
5750         * rowpainter.C:
5751         * text2.C: adjust LyXText::singleWidth() calls
5752
5753         * text.C (redoParagraph): simplify row breaking logic
5754
5755
5756 2003-08-19  André Pönitz  <poenitz@gmx.net>
5757
5758         * funcrequest.C: initialize button_ member
5759
5760         * text3.C:
5761         * rowpainter.[Ch]: interface consolidation
5762
5763 2003-08-18  André Pönitz  <poenitz@gmx.net>
5764
5765         * BufferView.C:
5766         * BufferView_pimpl.C:
5767         * lyxfind.C:
5768         * paragraph_funcs.C:
5769         * rowpainter.C:
5770         * text3.C: remove LyXScreen::draw() and fitCursor calls
5771
5772         * BranchList.h: remove spurious semicolons
5773
5774         * MenuBackend.C: fix branchlist related crash
5775
5776 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5777
5778         * BranchList.[Ch]:
5779         * InsetList.[Ch]:
5780         * LColor.[Ch]:
5781         * LyXAction.C:
5782         * Makefile.am:
5783         * MenuBackend.[Ch]:
5784         * bufferparams.[Ch]:
5785         * factory.C:
5786         * lfuns.h:
5787         * lyxfunc.C:
5788         * text3.C: implements the 'branch inset'
5789         idea. This allows the output of various versions of a document
5790         from a single source version, selectively outputing or suppressing
5791         output of parts of the text.
5792         This implementation contains a 'branch list editor' in a separate
5793         tab of the document settings dialog. Branches are user definable
5794         and have a "display colour" to distinguish them on-screen.
5795
5796         ColorHandler was somewhat cleaned up.
5797         (1) make possible a dynamically growing LColor list by allowing
5798         the graphic context cache to grow along (vector);
5799         (2) eliminate an IMHO unnecessary step in colour allocation.
5800
5801 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5802
5803         * BufferView_pimpl.C: compile fix
5804
5805 2003-08-15  André Pönitz  <poenitz@gmx.net>
5806
5807         * rowpainter.C: remove extra metrics calls
5808
5809         * lyxtext.h: merge the two constructors into a single one,
5810           pass reference to owner's par list
5811
5812         * BufferView_pimpl.C:
5813         * text.C:
5814         * text2.C: adjust
5815
5816 2003-08-15  André Pönitz  <poenitz@gmx.net>
5817
5818         * lyxrow_funcs.[Ch]:
5819         * lyxtext.h:
5820         * paragraph.h:
5821         * paragraph_funcs.C:
5822         * rowpainter.C:
5823         * text.C:
5824         * text2.C:
5825         * text3.C:
5826         * text_funcs.C: split LyXText::rowlist_ into individual
5827         Paragraph::rows_ chunks
5828
5829         * BufferView.[Ch]:
5830         * BufferView_pimpl.[Ch]:
5831         * lyxfind.C:
5832         * lyxtext.h:
5833         * text3.C: remove toggleSelection()
5834
5835 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5836
5837         * bufferlist.C: beautify two alerts (shorter text of buttons)
5838         * buffer.C: Remove redundant ' ' from message
5839         * tabular.h:
5840         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5841         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5842         rename VALIGN_CENTER to VALIGN_MIDDLE
5843
5844 2003-08-11  André Pönitz  <poenitz@gmx.net>
5845
5846         * lyxtext.h (getPar):
5847         * text.C: new function
5848
5849 2003-08-11  André Pönitz  <poenitz@gmx.net>
5850
5851         * Makefile.am:
5852         * tracer.[Ch]: remove unneeded files
5853
5854         * InsetList.[Ch]: remove resizeInsetsLyXText()
5855
5856         * lyxtext.h:
5857         * text.C:
5858         * text2.C:
5859         * text3.C: merge insertParagraphs() and appendParagraph()
5860         remove breakAgain(), update()
5861
5862         * BufferView_pimpl.[Ch]:
5863         * bufferview_funcs.[Ch]:
5864         * lyxfunc.C:
5865         * paragraph.[Ch]:
5866         * rowpainter.C:
5867         * tabular.C: adjust after text & InsetList changes.
5868
5869 2003-08-08  André Pönitz  <poenitz@gmx.net>
5870
5871         * text.C (insertChar, backspace): replace rowlist fiddling
5872         with rebreak of full par
5873
5874         * lyxtext.h:
5875         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5876         checkParagraph, updateInset): removed
5877
5878 2003-08-07  André Pönitz  <poenitz@gmx.net>
5879
5880         * paragraph.C:
5881         * text3.C: merge some LFUN handlers, remove dead code
5882
5883 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5884
5885         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5886
5887 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5888
5889         * text2.C (DEPM): fix part of bug 1255 and 1256
5890
5891 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5892
5893         * BufferView_pimpl.C (workAreaDispatch): change to use
5894         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5895         that are no mouse related.
5896
5897 2003-08-05  André Pönitz  <poenitz@gmx.net>
5898
5899         * BufferView.[Ch]:
5900         * BufferView_pimpl.[Ch]:
5901         * bufferview_funcs.C:
5902         * text2.C:
5903         * text3.C: rip out "deep update"
5904
5905         * textcursor.[Ch] (last_sel_cursor): remove unused member
5906
5907 2003-08-04  André Pönitz  <poenitz@gmx.net>
5908
5909         * BufferView.[Ch]:
5910         * BufferView_pimpl.[Ch]:
5911         * ParagraphParameters.C:
5912         * bufferview_funcs.C:
5913         * lyx_cb.C:
5914         * lyxfind.C:
5915         * lyxfunc.C:
5916         * text.C:
5917         * text2.C:
5918         * text3.C: replace "complicated" BufferView::update(...) calls with
5919         simpler ones.
5920
5921         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5922
5923 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5924
5925         * Makefile.am (lyx_SOURCES): add paper.h
5926
5927 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5928
5929         * Makefile.am: move things around so that both lyx-qt and
5930         lyx-xforms can be built (according to --with-frontend). Then lyx
5931         is a symbolic link to lyx-[firstfrontend]
5932
5933 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5934
5935         * Always use std::endl with lyxerr
5936
5937 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5938
5939         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5940
5941 2003-08-01  André Pönitz  <poenitz@gmx.net>
5942
5943         * BufferView.[Ch]:
5944         * BufferView_pimpl.[Ch]:
5945         * lyxfunc.C:
5946         * text3.C: merge BufferView::repaint() and BufferView::update()
5947
5948 2003-08-01  José Matos  <jamatos@lyx.org>
5949
5950         * buffer.[Ch]: file_format is no longer a buffer data element.
5951
5952 2003-08-01  André Pönitz  <poenitz@gmx.net>
5953
5954         * BufferView.C:
5955         * lyxtext.h:
5956         * text.C:
5957         * text2.C: make redoParagraph more independent of current cursor
5958
5959         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5960         * text.C:
5961         * text2.C: remove unneeded members
5962
5963 2003-07-30  André Pönitz  <poenitz@gmx.net>
5964
5965         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5966
5967         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5968           create a single function...
5969
5970         * paragraph_funcs.C (moveItem): ... here.
5971
5972         * text.C:
5973           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5974
5975 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5976
5977         * LColor.[Ch]: Add comment and greyedout logical colors.
5978
5979 2003-07-30  André Pönitz  <poenitz@gmx.net>
5980
5981         * tabular.C: don't use Assert too heavily. This crashes where it
5982           shouldn't
5983
5984 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5985
5986         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5987         is disabled (bug 1232)
5988
5989 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5990
5991         * factory.C: limited 'arg' scope
5992
5993 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5994
5995         * factory.C: fixed Note submenu issues
5996
5997 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5998
5999         * factory.C: submenu for Note/Comment/Greyedout
6000
6001 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6002
6003         * lyx_main.C (LyX):
6004         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6005
6006 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6007
6008         * LaTeXFeatures.C:
6009         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6010         greyedout. Patch provided by Jürgen Spitzmüller.
6011
6012 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6013
6014         * kbmap.C (read): fix error message when reading bind files
6015
6016 2003-07-29  Angus Leeming  <leeming@lyx.org>
6017
6018         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6019         certainly does not do what it purports to do. I am doing it, and
6020         us, a favour by killing it.
6021
6022 2003-07-28  José Matos  <jamatos@lyx.org>
6023
6024         * buffer.C (readBody, do_writeFile):
6025         * paragraph.C(readParagraph): \end_document replaces \the_end.
6026
6027 2003-07-29  André Pönitz  <poenitz@gmx.net>
6028
6029         * BufferView.[Ch]:
6030         * BufferView_pimpl.[Ch]:
6031         * lyxfunc.C:
6032         * text2.C:
6033         * text3.C:
6034         * textcursor.[Ch]: remove toggleToggle & Co
6035
6036 2003-07-28  José Matos  <jamatos@fep.up.pt>
6037
6038         * buffer.C (readParagraph):
6039         * params_func (readParToken, readParagraph):
6040         * paragraph.C (write): \layout -> \begin_layout.
6041
6042 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6043
6044         * lyxlex_pimpl.C (setFile): clean up slightly.
6045
6046         * bufferparams.h: add compressed var
6047
6048         * buffer_funcs.C (readFile): adjust for LyXLex change
6049         (newFile): ditto + simplify
6050
6051         * buffer.C (writeFile): handle writing of compressed files
6052
6053         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6054         Check if the file is compressed and set a bufferparm if so.
6055
6056         * Makefile.am (lyx_LDADD): remove explicit -lz
6057
6058 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6059
6060         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6061         makeDocBookFile): put the real LyX version in the first line of
6062         the file
6063
6064         * version.h:
6065         * version.C.in: remove lyx_docversion
6066
6067         * tabular.C (write_attribute): add a template-based version to
6068         write enums properly
6069
6070 2003-07-28  André Pönitz  <poenitz@gmx.net>
6071
6072         * lyxtext.h:
6073         * text.C:
6074         * text2.C:
6075         * text3.C: use doubles again for x-coordinates. They are needed.
6076
6077 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6078
6079         * messages.C (getLocaleDir): use lyx_localedir()
6080
6081         * lyxlex_pimpl.C (setFile): compress stuff
6082
6083         * buffer.C (writeFile): add some compression stuff
6084         (do_writeFile): new func, dont call expliti close... will this
6085         breake anything?
6086
6087         * Makefile.am (lyx_LDADD): add -lz
6088
6089 2003-07-28  José Matos  <jamatos@fep.up.pt>
6090
6091         * buffer.C: increment file format.
6092         * paragraph_funcs (readParagraph, readParToken):
6093         * paragraph.C (readParagraph): add \end_layout.
6094
6095 2003-07-27  Angus Leeming  <leeming@lyx.org>
6096
6097         * Makefile.am: remove special casing for configure-time setting of
6098         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6099
6100         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6101         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6102
6103 2003-07-26  André Pönitz  <poenitz@gmx.net>
6104
6105         * paragraph_func.[Ch]:
6106         * paragraph.C (realizeFont): inline it whereever it is used
6107
6108         * rowpainter.C:
6109         * text.C:
6110         * text2.C:
6111         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6112
6113
6114 2003-07-26  André Pönitz  <poenitz@gmx.net>
6115
6116         *       lyxtext.h:
6117         * text.C:
6118         * text2.C: get rid of LyXText::need_break_row
6119
6120 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6121
6122         * toc.[Ch]: put namespace toc inside namespace lyx
6123
6124         * MenuBackend.C (expandToc2): adjust for lyx::toc
6125         (expandToc): ditto
6126
6127         * lyxfunc.C (dispatch): adjust for lyx::find
6128
6129         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6130         lyx::find instead. Reorganize a bit.
6131         (LyXReplace): rename to replace
6132         (LyXFind): rename to find
6133
6134         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6135         (dispatch): ditto
6136
6137 2003-07-26  André Pönitz  <poenitz@gmx.net>
6138
6139         * text.C (setHeightOfRow): restrict scope of temporary variable
6140
6141         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6142           code (never has been used?)
6143
6144 2003-07-27  Asger Alstrup  <alstrup@local>
6145
6146         * text.C (fill): Optimise algorithm to exploit that we can reuse
6147         the LyXFont for many characters.
6148         (setHeightOfRow): Same thing.
6149         (rowBreakPoint): Same thing.
6150
6151 2003-07-26  Asger Alstrup  <alstrup@local>
6152
6153         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6154
6155         * text.C (singleWidth): Spurious font copying in hot-spot
6156         singleWidth avoided. Reorder tests for arabic for efficiency.
6157
6158         * text.C (fill): handle empty paragraphs better.
6159
6160 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6161
6162         * ispell.C:
6163         * encoding.h: add includes
6164
6165         * lyxrc.C: remove reading of bind files
6166
6167         * lyx_main.C (init): setup bindings and menus only if we have a
6168         gui.
6169
6170         * kbmap.C (read): new method. Do the actual reading of bind
6171         files.
6172
6173         * converter.C (dvipdfm_options):
6174         * bufferparams.C:
6175         * lyxrc.C (read):
6176         (output): adapt PAPER_* enums.
6177
6178         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6179
6180         * bufferparams.h: remove paper-related enums from there
6181
6182         * paper.h: New file. A trivial header file to hold paper-related
6183         enums. It should later expand to contain many paper-related
6184         horrors access.
6185
6186         * lyxrc.C: declare extern displayTranslator
6187
6188 2003-07-27  José Matos  <jamatos@fep.up.pt>
6189
6190         * tabular.[Ch] (linuxdoc): add support for tables and figures
6191         (linuxdoc).
6192
6193 2003-07-27  José Matos  <jamatos@fep.up.pt>
6194
6195         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6196         consistency in both functions.
6197         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6198
6199 2003-07-26  Asger Alstrup  <alstrup@local>
6200
6201         * rowpainter.C (paintRows): Change algorithm to work directly on
6202         the insets rather than asking every character in the document
6203         whether its an inset.
6204
6205 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6206
6207         * buffer.C (openFileWrite): factorize some code
6208
6209 2003-07-26  Angus Leeming  <leeming@lyx.org>
6210
6211         * lyx_cb.C:
6212         * lyx_main.[Ch]: replace occurances of system_tempdir with
6213         os::getTmpDir().
6214
6215 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6216
6217         * rename Inset to InsetOld
6218
6219 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6220
6221         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6222         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6223         which I think is a bit clearer. EDIT is gone, since it was
6224         premature optimisation, and broken for mathed anyway.
6225         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6226         with cursor positioning in insets as well (math insets still do not
6227         work, but that's a different story anyway.) It mysteriously
6228         crashes sometimes with undo in the first paragraph, but I'm fairly
6229         confident that this is a compiler bug.
6230
6231 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6232
6233         * paragraph.C (Paragraph): adjust for new clone return type
6234         (operator==): ditto
6235         (copyIntoMinibuffer): ditto
6236
6237 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6238
6239         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6240         by not having a special case, and always doing a full rebreak of
6241         the document after undo.
6242
6243 2003-07-23  Angus Leeming  <leeming@lyx.org>
6244
6245         * factory.C (createInset): InsetExternal::setParams now takes a
6246         Buffer const * arg.
6247
6248 2003-07-23  Angus Leeming  <leeming@lyx.org>
6249
6250         * factory.C (createInset): changed interface to the external and
6251         graphics mailers' string2params functions.
6252
6253 2003-07-23  Angus Leeming  <leeming@lyx.org>
6254
6255         * factory.C (createInset): pass a
6256         Buffer const * parameter to InsetExternalMailer's string2params.
6257
6258 2003-07-22  John Levon  <levon@movementarian.org>
6259
6260         * Thesaurus.h: include the right aiksaurus header
6261
6262 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6263
6264         * MenuBackend.C (expand): check menu shortcuts unconditionally
6265
6266 2003-07-21  Angus Leeming  <leeming@lyx.org>
6267
6268         * factory.C (createInset): pass a
6269         buffer_path parameter to InsetGraphicsMailer's string2params.
6270
6271 2003-07-21  Angus Leeming  <leeming@lyx.org>
6272
6273         * BufferView_pimpl.C (buffer):
6274         * buffer.C (d-tor):
6275         * lyx_main.C (LyX):
6276         * lyxfunc.C (dispatch):
6277         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6278         rather than the grfx shortcut.
6279
6280 2003-07-21  André Pönitz  <poenitz@gmx.net>
6281
6282         * rowpainter.C: remove unused variables
6283
6284         * tabular_funcs.C:
6285         * tabular_funcs.h: move to tabular.C
6286         * Makefile.am: adjust
6287
6288         * tabular.[Ch]: basic optical cleaning
6289
6290         * author.h: pass references, not values
6291
6292 2003-07-18  André Pönitz  <poenitz@gmx.net>
6293
6294         * lyxtext.h:
6295         * metricsinfo.C:
6296         * metricsinfo.h:
6297         * rowpainter.C:
6298         * text.C:
6299         * text2.C:
6300         * text3.C: two-phase drawing for InsetText and InsetTabular
6301         some float -> int changes.
6302
6303 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6304
6305         * lyx_main.C: fix the fix
6306
6307 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6308
6309         * lyx_main.C: fix a crash in batch mode if no files specified
6310         * converter.C: ws
6311
6312 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6313
6314         * format.[Ch] (papersize): moved to BufferParams
6315         * converter.[Ch] (dvips_options): moved to BufferParams
6316         (dvipdfm_options): moved to anon namespace
6317         * bufferparams.[Ch]: added above functions.
6318
6319 2003-07-17  André Pönitz  <poenitz@gmx.net>
6320
6321         * lyxtext.h:
6322         * rowpainter.C:
6323         * text2.C: don't call inset->update() anymore
6324
6325         * metricsinfo.[Ch]: add convenience constructor
6326
6327 2003-07-16  André Pönitz  <poenitz@gmx.net>
6328
6329         * lyxcursor.[Ch]:
6330         * lyxfunc.[Ch]:
6331         * text.C:
6332         * text2.C: replace the LyXCursor::irow_ member with
6333          on-demand computation of the value
6334
6335 2003-07-16  John Levon  <levon@movementarian.org>
6336
6337         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6338
6339 2003-07-15  André Pönitz  <poenitz@gmx.net>
6340
6341         * text.C:
6342         * text2.C: remove no more needed refresh_row
6343
6344 2003-07-15  André Pönitz  <poenitz@gmx.net>
6345
6346         * lyxtext.h:
6347         * rowpainter.C:
6348         * text2.C:
6349         * text3.C: refresh_status tristate -> need_update bool
6350
6351 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6352
6353         * lyxtext.h (init): remove reinit argument (act as if always true)
6354         * text2.C: adjust to that
6355
6356 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6357
6358         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6359         * text3.C: use it to delete selections in some cases
6360         (bugs 441, 673, 702, 954).
6361
6362 2003-07-14  André Pönitz  <poenitz@gmx.net>
6363
6364         * rowpainter.[Ch]: reduce interface
6365
6366 2003-07-14  André Pönitz  <poenitz@gmx.net>
6367
6368         * BufferView_pimpl.C:
6369         * text2.C: adjust after removing unused BufferView * argument
6370
6371 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6372
6373         * text2.C (init): fix a crash fired on resize
6374
6375 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6376
6377         * buffer.[Ch]: added new closing signal
6378         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6379         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6380         BufferView::Pimpl via the closing the signal
6381
6382 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6383
6384         * buffer.[Ch]: take out all bv-related from buffer
6385         * BufferView.C:
6386         * BufferView_pimpl.[Ch]: connect to new signals
6387         * CutAndPaste.C: removed useless asserts
6388         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6389         * lyxvc.[Ch]:
6390         * vc-backend.[Ch]:
6391         * lyxfunc.C: moved view-related funciontality from vc here
6392         * paragraph.C: removed outdated comments
6393         * text.C: ws
6394
6395 2003-07-10  André Pönitz  <poenitz@gmx.net>
6396
6397         * BufferView_pimpl.C:
6398         * tabular.h:
6399         * tabular_funcs.C:
6400         * text.C:
6401         * text2.C: remove InsetText::InnerCache, clean up consequences
6402
6403 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6404
6405         * ispell.C: fix two typos in error messages
6406
6407 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6408
6409         * Extend Note inset to other forms of annotation like Comment
6410         and Greyedout. Right button click gives dialog.
6411
6412         Files modified or added (+):
6413
6414         * insetnote.[Ch]
6415         * FormNote.[Ch]      +
6416         * ControlNote.[Ch]   +
6417         * form_note.fd       +
6418         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6419         frontends/controllers
6420         * xforms/Dialogs.C
6421         * factory.C
6422
6423 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6424
6425         * aspell.C: add missing namespace lyx::support
6426
6427 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6428
6429         * BufferView.[Ch] (newFile): Add
6430         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6431         * LaTeX.[Ch] (message): added this signal and use it
6432         * buffer.[Ch] (busy, message): added these signals and use them
6433         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6434         * converter.C:
6435         * exporter.C:
6436         * format.C:
6437         * importer.C: use buffer signals instead of direct bv calling
6438         * lyx_cb.[Ch] (ShowMessage): removed
6439         * lyx_main.C:
6440         * lyxfunc.C:
6441         * paragraph_funcs.C:
6442         * text2.C: use buffer signals
6443
6444 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6445
6446         * introduce namespace lyx::graphics
6447
6448 2003-07-02  André Pönitz  <poenitz@gmx.net>
6449
6450         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6451
6452 2003-07-01  André Pönitz  <poenitz@gmx.net>
6453
6454         * text.C:
6455         * text2.C:
6456         * text3.C:
6457         * text_funcs.[Ch]:
6458         * textcursor.h:
6459         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6460           text*.C to text_func.C
6461
6462 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6463
6464         * introduce namespace lyx::support
6465
6466 2003-06-30  André Pönitz  <poenitz@gmx.net>
6467
6468         * Chktex.C:
6469         * funcrequest.C:
6470         * lyxtext.h:
6471         * text.C: re-enable --with-included-string
6472
6473 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6474
6475         * textcursor.C: add <config.h>
6476
6477         * text.C (getWord): remove const from word_location arg
6478
6479         * lyxvc.C (getLogFile): fix const type order
6480
6481         * lyxtext.h: remove const from word_location arg, add arg name
6482
6483         * lyxlayout.h: currect type on labeltype.
6484
6485         * importer.C: correct \file
6486
6487         * converter.C (intToFormat): use std:: on ret val, ws changes
6488
6489         * bufferlist.h: correct \file
6490
6491         * buffer.C (makeLinuxDocFile): fix const type order
6492         (makeDocBookFile): ditto
6493         (fillWithBibKeys): use std:: on stdlib args.
6494
6495         * CutAndPaste.C: fix authors.
6496         (availableSelections): use std:: on return vector
6497
6498 2003-06-27  André Pönitz  <poenitz@gmx.net>
6499
6500         * BufferView_pimpl.C:
6501         * bufferview_funcs.C:
6502         * lyxcursor.C:
6503         * lyxcursor.h:
6504         * lyxfunc.C:
6505         * lyxtext.h:
6506         * rowpainter.C:
6507         * text.C:
6508         * text2.C:
6509         * text3.C: remove LyXCursor::row_ member
6510
6511         * lyxtext.h:
6512         * text.C: rename fullRebreak() to partialRebreak() and implement
6513           a fullRebreak() that really bereks fully
6514
6515         * textcursor.h: new struct for cursor-related data
6516
6517 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6518
6519         * lyx_main.C (LyX): get full path of document loaded on the
6520         command line
6521
6522 2003-06-26  André Pönitz  <poenitz@gmx.net>
6523
6524         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6525           remove unused/broken operator>,<,>=.
6526
6527         *       text.C: remove only use of broken operator<= in an Assert().
6528
6529 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6530
6531         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6532         moved errorlist_.clear to showErrorList
6533
6534 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6535
6536         * converter.C (scanLog, runLaTeX):
6537         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6538         move the bv->showErrorList call to the callers
6539         * lyxfunc.C: i.e. here...
6540         * text2.C: and here
6541         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6542         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6543         namespace, the second to...
6544         * buffer_funcs (BufferFormat, parseErrors): added
6545         * errorlist.C (ErrorList(TeXErrors const &)): removed
6546
6547 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6548
6549         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6550
6551 2003-06-24  "Garst R. Reese" <reese@isn.net>
6552
6553         * debug.C: fix typo
6554
6555 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6556
6557         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6558
6559         * version.C.in: change docversion to 1.4
6560
6561 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6562
6563         * buffer.C: fix a bug just introduced
6564
6565 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6566
6567         * buffer.[Ch]: added the parseError signal and use it, removed
6568         sgmlError
6569         * BufferView.[Ch] (addError): moved to ...
6570         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6571         to the Buffer::parseError signal to catch (guess what) parse errors
6572         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6573
6574 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6575
6576         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6577         ability to create a buffer and to return an existing one from
6578         the list. Moved these functions to...
6579         * buffer_funcs.[Ch]: added
6580         * BufferView.[Ch] (loadLyXFile): added
6581         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6582         job removed from bufferlist::loadLyXFile.
6583         * buffer.C (setReadOnly): make it work without view
6584         (i.e added an if (users))
6585
6586 2003-06-19  Angus Leeming  <leeming@lyx.org>
6587
6588         * lfuns.h:
6589         * LyXAction.C (init):
6590         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6591         with LFUN_DIALOG_SHOW <name> <data>.
6592
6593 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6594
6595         * CutAndPaste.C (availableSelections): small compilation fix for
6596         ancient (gcc 2.9x) compilers
6597
6598 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6599
6600         * text3.C (cursorNext): add tmp var
6601
6602         * text2.C (updateCounters): for function calling out of for clause
6603         (replaceSelectionWithString): ditto
6604         (insertStringAsParagraphs): ditto
6605         (getColumnNearX): add tmp var
6606         (setCursorFromCoordinates): add tmp var
6607         (cursorDownParagraph): add tmp var
6608         (deleteEmptyParagraphMechanism): add tmp var
6609
6610         * text.C (insertChar): add tmp var
6611
6612         * rowpainter.C (paintDepthBar): add tmp var
6613
6614         * CutAndPaste.C (availableSelections): potentially check all
6615         paragraphs in a cut to fill the shown strings.
6616
6617 2003-06-18  André Pönitz  <poenitz@gmx.net>
6618
6619         * kbmap.[Ch]: use vector<> instead of list<>
6620
6621 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6622
6623         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6624         pasteSelection with index
6625
6626         * text2.C (pasteSelection): modify, call pasteSelection with index
6627
6628         * paragraph.C (asString): reimplement version with no interval to
6629         call the one with interval.
6630
6631         * lyxtext.h: add index arg to pasteSelection
6632
6633         * MenuBackend.C (MenuItem): handle PasteRecent
6634         (Menu::read::Menutags): add md_pasterecent
6635         (read): handle it
6636         (expandPasteRecent): new function
6637         (expand): use it
6638
6639         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6640
6641         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6642         the limited stack
6643         (availableSelections): new function
6644
6645 2003-06-17  Angus Leeming  <leeming@lyx.org>
6646
6647         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6648
6649 2003-06-17  Angus Leeming  <leeming@lyx.org>
6650
6651         * lfuns.h:
6652         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6653
6654         * lyxfunc.C (dispatch): invoke it.
6655
6656 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6657
6658         * iterators.C (operator++, ParPosition): reintroduce some
6659         const_cast for the benefit of older compilers.
6660
6661 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6662
6663         * text3.C (dispatch): do not modify clipboard when doing
6664         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6665         LFUN_DELETE_SKIP on a selection selection
6666
6667 2003-06-16  André Pönitz  <poenitz@gmx.net>
6668
6669         * BufferView.C:
6670         * buffer.C:
6671         * buffer.h:
6672         * paragraph.C:
6673         * tabular.[Ch]: IU of clone() and getLabelList();
6674
6675 2003-06-13  André Pönitz  <poenitz@gmx.net>
6676
6677         * tabular.h: compactification
6678
6679 2003-06-12  André Pönitz  <poenitz@gmx.net>
6680
6681         * tabular.C:
6682         * tabular.h:
6683         * tabular_funcs.h: some renaming plus whitespace
6684
6685 2003-06-12  André Pönitz  <poenitz@gmx.net>
6686
6687         * BufferView.C:
6688         * BufferView_pimpl.C:
6689         * CutAndPaste.C:
6690         * buffer.C:
6691         * iterators.[Ch]:
6692         * lyxfunc.C:
6693         * text.C:
6694         * toc.C: Return a Paragraph & for ParIterator::operator*()
6695
6696 2003-06-11  John Levon  <levon@movementarian.org>
6697
6698         * lyx_main.C:
6699         * ToolbarBackend.h:
6700         * ToolbarBackend.C: add "Toolbars" section and
6701         put the flags there
6702
6703 2003-06-10  Angus Leeming  <leeming@lyx.org>
6704
6705         * lfuns.h:
6706         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6707
6708         * lyxfunc.C (dispatch): invoke it.
6709
6710 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6711
6712         * main.C: protect <ios> with HAVE_IOS
6713         (main): protect sync_with_stdio with HAVE_IOS
6714
6715 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6716
6717         * text2.C (cutSelection): adjust
6718         (pasteSelection): adjust
6719
6720         * messages.C: handle get of empty string
6721
6722         * main.C (main): use sync_with_stdio(false)
6723
6724         * lyxfunc.C (dispatch): adjust
6725
6726         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6727         (WriteAs): remove unneeded BufferView arg.
6728
6729         * bufferparams.h: use correct types on papersize, papersize2 and
6730         paperpackage.
6731
6732         * bufferparams.C (readToken): adjust for type
6733         (writeLaTeX): add missing cases to switch.
6734
6735         * bufferlist.C (quitWriteBuffer): adjust
6736         (close): adjust
6737
6738         * buffer.C (asciiParagraph): remove some commented code.
6739
6740         * CutAndPaste.C: remove current_view extern variable.
6741         (cutSelection): add BufferParams arg.
6742         (eraseSelection): add BufferParams arg.
6743         (pasteSelection): add Buffer const & arg
6744
6745 2003-06-07  John Levon  <levon@movementarian.org>
6746
6747         * buffer.C:
6748         * paragraph_funcs.C:
6749         * paragraph_pimpl.C:
6750         * text.C:
6751         * text2.C:
6752         * paragraph.h:
6753         * paragraph.C: allow InsetERT to freely space lines,
6754         and some consolidation of code
6755
6756 2003-06-06  José Matos  <jamatos@fep.up.pt>
6757
6758         * buffer.C (makeDocBookFile): fix bug #821
6759
6760 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6761
6762         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6763
6764 2003-06-04  Angus Leeming  <leeming@lyx.org>
6765
6766         * buffer.C: bump format to 224.
6767
6768 2003-06-05  André Pönitz  <poenitz@gmx.net>
6769
6770         * text2.C (redoParagraphs): remove two const_cast<>
6771
6772 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6773
6774         * ParagraphList.h: remove last remnants of NO_STD_LIST
6775
6776 2003-06-03  Angus Leeming  <leeming@lyx.org>
6777
6778         * factory.C (createInset): small change to the way InsetExternal's params
6779         are set.
6780
6781 2003-06-04  André Pönitz  <poenitz@gmx.net>
6782
6783         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6784
6785         * paragraph_pimpl.h:
6786         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6787
6788         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6789
6790         * undo_funcs.C: make some simple cases of undo work again
6791
6792 2003-06-03  John Levon  <levon@movementarian.org>
6793
6794         * ispell.C: HPUX doesn't have sys/select.h
6795         (from Albert Chin)
6796
6797 2003-06-03  John Levon  <levon@movementarian.org>
6798
6799         * CutAndPaste.C: update tabular and include inset
6800         buffer references
6801
6802         * buffer.h:
6803         * paragraph.h:
6804         * paragraph.C: remove owningBuffer(), don't pass Buffer
6805         to clone()
6806
6807         * factory.C: insetGraphicsParams changed
6808
6809 2003-06-02  John Levon  <levon@movementarian.org>
6810
6811         * LyXAction.C:
6812         * factory.C:
6813         * lfuns.h:
6814         * lyxfunc.C:
6815         * text3.C: remove insetparent
6816
6817 2003-06-02  John Levon  <levon@movementarian.org>
6818
6819         * buffer.h:
6820         * buffer.C: fix inset_iterator.end(), move out of line
6821         (bug 1149)
6822
6823 2003-06-01  John Levon  <levon@movementarian.org>
6824
6825         * text3.C: use a proper cut/paste when doing inset
6826         insert (from Jürgen Spitzmüller)
6827
6828 2003-06-01  John Levon  <levon@movementarian.org>
6829
6830         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6831
6832 2003-05-30  André Pönitz  <poenitz@gmx.net>
6833
6834         * rowpainter.C: unify second drawing phase
6835
6836 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6837
6838         * trans_mgr.C: remove one case of current_view
6839
6840         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6841
6842         * paragraph_funcs.h: remove paragraph.h include
6843
6844         * paragraph.h: delete NO_STD_LIST stuff
6845
6846         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6847
6848         * buffer.h: remove paragraph.h include
6849
6850         * ParagraphList.C: delete file
6851
6852         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6853
6854         * toc.C (getTocList): adjust
6855
6856         * paragraph_pimpl.C (validate): adjust
6857
6858         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6859
6860         * paragraph.C (Paragraph): adjust
6861         (getPositionOfInset): use const_iterator, adjust
6862         (bibitem): use const_iterator, adjust
6863         (setInsetOwner): adjust
6864
6865         * iterators.C (operator++): adjust
6866
6867         * InsetList.[Ch]: Replace selfmade iterator with standard
6868         vector::iterator also introduce const_iterator. Remove getPos,
6869         getInset and setInset from InsetTable. Adjust accordingly.
6870
6871         * BufferView.C (lockInset): adjust
6872         (ChangeInsets): adjust
6873
6874         * tabular.[Ch]: delete commented same_id functions
6875
6876 2003-05-28  John Levon  <levon@movementarian.org>
6877
6878         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6879
6880 2003-05-28  André Pönitz  <poenitz@gmx.net>
6881
6882         * metricsinfo.[Ch]: remove 'fullredraw' member
6883
6884 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6885
6886         * lyxtextclass.C (operator): remove caching.
6887
6888 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6889
6890         * text3.C: adjust
6891
6892         * text2.C (cursorBottom): adjust
6893         (setCounter): use ParagraphList::find, adjust
6894
6895         * text.C (workWidth): use ParagraphList::find, adjust
6896
6897         * lyxcursor.C (LyXCursor): adjust
6898
6899         * buffer.C (inset_iterator): adjust
6900
6901         * ParagraphList.h: make iterator(value_type) private, make
6902         ParagraphList a friend of iterator.
6903
6904         * ParagraphList.C (find): new function
6905
6906         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6907
6908 2003-05-27  André Pönitz  <poenitz@gmx.net>
6909
6910         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6911
6912 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6913
6914         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6915
6916 2003-05-26  John Levon  <levon@movementarian.org>
6917
6918         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6919
6920 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6921
6922         * remove same_id from function signatures, adjust.
6923
6924 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6925
6926         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6927
6928         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6929
6930         * paragraph.C (Paragraph): get rid of same_ids parameter
6931
6932         * ParagraphList.C (insert): adjust
6933         (push_back): adjust
6934
6935 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6936
6937         * paragraph_funcs.C (breakParagraph): adjust
6938         (breakParagraphConservative): adjust
6939
6940         * buffer.C (readParagraph): adjust
6941
6942         * ParagraphList.C (insert): take a reference instead of a pointer
6943         (insert): adjust
6944
6945         * paragraph.[Ch] (id): new function
6946
6947         * bufferlist.C (newFile): adjust
6948
6949         * ParagraphList.C (ParagraphList): adjust
6950         (assign): adjust
6951         (push_back): take a reference instead of a pointer.
6952
6953         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6954
6955         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6956         instead.
6957
6958         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6959         set else use old code.
6960
6961         * ParagraphList.C: remove all NO_NEXT code and only compile this
6962         code of NO_STD_LIST is set.
6963
6964 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6965
6966         * BufferView_pimpl.C:
6967         * TextCache.C:
6968         * TextCache.h:
6969         * bufferlist.C:
6970         * errorlist.h:
6971         * format.C:
6972         * format.h:
6973         * graph.C:
6974         * lyxfunc.C:
6975         * lyxrc.C:
6976         * graphics/GraphicsConverter.C:
6977         * graphics/PreviewLoader.C: header adjustment
6978
6979 2003-05-23  Angus Leeming  <leeming@lyx.org>
6980
6981         * LaTeXFeatures.[Ch] (useBabel): new method.
6982         * bufferparams.C (writeLaTeX): use it.
6983
6984 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6985
6986         * ParagraphList.h (set): remove unused function.
6987
6988 2003-05-23  André Pönitz  <poenitz@gmx.net>
6989
6990         * BufferView.C:
6991         * BufferView_pimpl.C:
6992         * buffer.C:
6993         * buffer.h:
6994         * lyxfunc.C:
6995         * undo_funcs.C: setUndo reworked
6996
6997         * iterators.[Ch]: add access to topmost ParagraphList
6998
6999         * lyxtext.[Ch] (workWidth): add a const
7000
7001 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7002
7003         * texrow.[Ch] (increasePos): remove function
7004         * exporter.C (export): removed unused var and outdated comment
7005
7006 2003-05-23  Angus Leeming  <leeming@lyx.org>
7007
7008         * latexrunparams.h: rename fragile as moving_arg.
7009         * paragraph.C (simpleTeXOnePar): ditto.
7010         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7011
7012 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7013
7014         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7015         (createUndo): ditto
7016         (textUndoOrRedo): comment out a currently unused var.
7017
7018         * paragraph.h (NO_NEXT): enable NO_NEXT
7019
7020         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7021
7022         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7023
7024         * exporter.C (Export): adjust for removeAutoInsets removal.
7025
7026         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7027
7028         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7029
7030         * BufferView.[Ch] (removeAutoInsets): delete function
7031
7032 2003-05-22  Angus Leeming  <leeming@lyx.org>
7033
7034         * latexrunparams.h: add a free_spacing variable.
7035
7036         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7037         to pass moving_arg, as the data is stored in runparams.fragile.
7038
7039         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7040         to Inset::latexOptional or to simpleTeXOnePar.
7041
7042         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7043         free_spacing arg to Inset::latexOptional.
7044
7045         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7046         free_spacing arg.
7047
7048 2003-05-22  Angus Leeming  <leeming@lyx.org>
7049
7050         * latexrunparams.h: add fragile and use_babel variables.
7051
7052         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7053         * buffer.C (makeLaTeXFile): store this returned value in
7054         runparams.use_babel, thus passing it to the inset::latex methods.
7055
7056         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7057         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7058
7059         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7060         longer has a fragile arg, as it is stored in runparams.fragile.
7061
7062         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7063         moving_arg parameter as the data is stored in runparams.fragile.
7064
7065         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7066         a fragile parameter as the data is stored in runparams.fragile.
7067
7068 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7069
7070         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7071
7072 2003-05-22  Angus Leeming  <leeming@lyx.org>
7073
7074         * latexrunparams.h: add a 'bool nice' which defaults to false.
7075
7076         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7077         now encapsulated within runparams.
7078
7079         * bufferlist.C (updateIncludedTeXfiles):
7080         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7081
7082 2003-05-22  Angus Leeming  <leeming@lyx.org>
7083
7084         * latexrunparams.h: new file containing struct LatexRunParams.
7085         * Makefile.am: add new file.
7086
7087         * LaTeX.[Ch] (c-tor, run):
7088         * buffer.[Ch] (makeLaTeXFile):
7089         * bufferlist.[Ch] (updateIncludedTeXfiles):
7090         * converter.C (convert, scanLog):
7091         * converter.[Ch] (runLaTeX):
7092         * exporter.C (Export):
7093         * paragraph.[Ch] (simpleTeXOnePar):
7094         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7095         * paragraph_funcs.[Ch] (latexParagraphs):
7096         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7097         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7098         pass around a LatexRunParams parameter.
7099
7100 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7101
7102         * paragraph.[Ch]: remove unused constructor
7103
7104         * ParagraphList.C (erase): new function, taking two iterators
7105
7106 2003-05-22  André Pönitz  <poenitz@gmx.net>
7107
7108         * undo_funcs.C: remove duplicated code
7109
7110         * iterator.[Ch]: operator=
7111
7112 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7113
7114         * tabular.C (SetMultiColumn): ws changes
7115
7116         * rowpainter.C (paintFirst): get rid of a ->previous
7117
7118         * lyx_cb.C (getPossibleLabel): parlist simplification
7119
7120         * BufferView.C (ChangeInsets): simplify slightly.
7121
7122 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7123
7124         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7125         * lfuns.h: new LFUN_SPACE
7126         * lyxfunc.C: protected space has a new lfun
7127         * paragraph_funcs.C: read new space insets
7128         * text3.C:
7129         * factory.C: handle new space insets
7130
7131 2003-05-22  André Pönitz  <poenitz@gmx.net>
7132
7133         * BufferView.C:
7134         * BufferView_pimpl.C:
7135         * buffer.[Ch]:
7136         * lyxfunc.C:
7137         * undo_funcs.C: return a ParIterator from getParFromID.
7138
7139         * iterators.[Ch]: add two const's
7140
7141 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7142
7143         * toc.C (getTocList): adjust
7144
7145         * iterators.[Ch]: rework for parlist
7146
7147         * buffer.C (par_iterator_begin): adjust
7148         (par_iterator_end): adjust
7149
7150         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7151
7152         * BufferView.C (removeAutoInsets): adjust
7153         (ChangeInsets): adjust
7154
7155 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7156
7157         * text.C (top_y): fix bug 1110
7158
7159 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7160
7161         * errorlist.[Ch]: added
7162         * buffer.C:
7163         * BufferView.[Ch]:
7164         * BufferView_pimpl.C:
7165         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7166         instead
7167
7168 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7169
7170         * Makefile.am: ensure that lyx is relinked upon changes to the
7171         various "convenience" libs.
7172
7173 2003-05-20  Angus Leeming  <leeming@lyx.org>
7174
7175         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7176         files are compiled in alphabetical order again.
7177
7178         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7179
7180 2003-05-19  Angus Leeming  <leeming@lyx.org>
7181
7182         * gettext.[Ch]: remove "char const * _(char const *)".
7183
7184 2003-05-19  André Pönitz  <poenitz@gmx.net>
7185
7186         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7187
7188         * Makefile.am:
7189         * BufferView.C:
7190         * DepTable.h:
7191         * LaTeXFeatures.C:
7192         * buffer.C:
7193         * lyxfont.C:
7194         * lyxlex.h:
7195         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7196
7197 2003-05-19  André Pönitz  <poenitz@gmx.net>
7198
7199         * buffer.C:
7200         * lyxlayout.[Ch]:
7201         * lyxtextclass.[Ch]:
7202         * paragraph.C:
7203         * paragraph_funcs.[Ch]:
7204         * text2.C:
7205         * text3.C: more insetenv work
7206
7207 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7208
7209         * ParagraphParameters.C (params2string): small bug fixed
7210
7211 2003-05-16  André Pönitz  <poenitz@gmx.net>
7212
7213         * debug.C:
7214         * bufferview_funcs.C: patch from Kornel Benko to prevent
7215           crash when _(...) is called twice in a statement
7216
7217 2003-05-16  André Pönitz  <poenitz@gmx.net>
7218
7219         * BufferView.C:
7220         * lyxfunc.C:
7221         * text.C:
7222         * text2.C:
7223         * text3.C:
7224         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7225
7226 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7227
7228         * lyx_main.C (init): remove spurious static_cast
7229
7230 2003-05-14  André Pönitz  <poenitz@gmx.net>
7231
7232         * BufferView.C: fix format string
7233
7234 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7235
7236         * BufferView.[Ch] (insertErrors): removed
7237         * BufferView.[Ch] (showErrorList): added
7238         * buffer.C (runChkTeX):
7239         * converter.C (scanLog): call showErrorList instead of inserterrors
7240
7241 2003-05-13  André Pönitz  <poenitz@gmx.net>
7242
7243         * BufferView_pimpl.C:
7244         * buffer.C:
7245         * bufferview_func.C:
7246         * MenuBackend.C:
7247         * lyxfunc.C:
7248         * lyxrc.C:
7249         * tex-accent.C:
7250         * text3.C:
7251         * toc.C:
7252         * tabular_funcs.h: tostr() from its own header
7253
7254         * ParagraphParameters.C:
7255         * ToolbarBackend.C:
7256         * bufferparams.C:
7257         * format.C:
7258         * lyxlex_pimpl.C:
7259         * text3.C: STRCONV()
7260
7261 2003-05-12  André Pönitz  <poenitz@gmx.net>
7262
7263         * BufferView.C:
7264         * BufferView_pimpl.C:
7265         * CutAndPaste.C:
7266         * LaTeX.C:
7267         * LaTeXFeatures.C:
7268         * ParagraphParameters.C:
7269         * buffer.C:
7270         * bufferlist.C:
7271         * bufferparams.C:
7272         * bufferview_funcs.C:
7273         * converter.C:
7274         * counters.C:
7275         * debug.C:
7276         * exporter.C:
7277         * format.C:
7278         * importer.C:
7279         * lyx_cb.C:
7280         * lyx_main.C:
7281         * lyxfont.C:
7282         * lyxfunc.C:
7283         * lyxvc.C:
7284         * paragraph.C:
7285         * paragraph_funcs.C:
7286         * tabular.C:
7287         * tabular_funcs.C:
7288         * text2.C:
7289         * text3.C:  boost::format -> bformat  all over the place
7290
7291
7292 2003-05-09  André Pönitz  <poenitz@gmx.net>
7293
7294         * LColor.[Ch]: Pimpl the #include <map> away
7295
7296 2003-05-09  John Levon  <levon@movementarian.org>
7297
7298         * bufferlist.C: never remove emergency saves
7299
7300 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7301
7302         * Makefile.am: better lib building
7303
7304 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7305
7306         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7307         instead.
7308         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7309         (simpleTeXSpecialChars): adjust
7310         (simpleTeXSpecialChars): adjust
7311         * paragraph.C (simpleTeXOnePar): adjust
7312         * buffer.C (makeLaTeXFile): adjust
7313
7314         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7315
7316         * text2.C (changeDepth): parlist cleanup
7317         (getColumnNearX): ditto
7318
7319         * rowpainter.C (getLabelFont): parlist cleanup
7320
7321         * bufferlist.C (newFile): parlist cleanup
7322
7323         * CutAndPaste.C (eraseSelection): parlist cleanup
7324
7325         * BufferView_pimpl.C (trackChanges): parlist cleanup
7326         (dispatch): ditto
7327
7328         * BufferView.C (lockInset): parlist cleanup.
7329         (ChangeInsets): ditto
7330
7331 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7332
7333         * CutAndPaste.h: Update file header.
7334
7335         * CutAndPaste.C: Update file header.
7336         Store the parts cut out of the Document in a limited_stack.
7337         (copySelection): adjust
7338         (pasteSelection): new function, takes the index in the limited stack.
7339         (nrOfParagraphs): adjust
7340         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7341         simplify error inset insertion.
7342         (checkPastePossible): adjust
7343
7344 2003-05-06  John Levon  <levon@movementarian.org>
7345
7346         * text2.C: don't cast wrap inset to float
7347
7348 2003-05-05  André Pönitz  <poenitz@gmx.net>
7349
7350         * iterator.C:
7351         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7352
7353         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7354           few naked Paragraph *.
7355
7356 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7357
7358         * bufferparams.C: Output warning if a document with missing
7359         TeX document class is loaded
7360         * exporter.C: Disable TeX exports if the document class is missing
7361         * lyxtextclass.C:
7362         * lyxtextclass.h:
7363         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7364         isTeXClassAvailable()
7365
7366 2003-05-03  John Levon  <levon@movementarian.org>
7367
7368         * BufferView.h:
7369         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7370         explicit cursor show/hide
7371
7372         * BufferView_pimpl.h:
7373         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7374         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7375
7376         * lyxfunc.C: hide cursor before dispatching.
7377
7378         * lyx_cb.C:
7379         * lyxfind.C:
7380         * text.C:
7381         * text3.C: remove explicit cursor hides
7382
7383 2003-05-02  André Pönitz  <poenitz@gmx.net>
7384
7385         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7386
7387         * undo_funcs.C:
7388         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7389           linked lists
7390
7391         * text2.C: tiny whitespace
7392
7393 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7394
7395         * undo_funcs.C: almost only ws changes.
7396
7397         * ParagraphList.C (splice): just return if pl is empty.
7398
7399 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7400
7401         * ParagraphList.C (splice): new function.
7402
7403         * CutAndPaste.C (pasteSelection): use it
7404
7405 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7406
7407         * CutAndPaste.C (pasteSelection): remove the last next and
7408         previous from this file.
7409
7410 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7411
7412         * CutAndPaste.C (pasteSelection): more clean up, user proper
7413         ParagraphList functions for pasteing.
7414
7415         * ParagraphList.C (insert): new function, three arg insert
7416
7417 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7418
7419         * ParagraphList.C (insert): new function, three arg insert
7420
7421         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7422         not on paragraphs.
7423
7424 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7425
7426         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7427
7428 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7429
7430         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7431
7432 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7433
7434         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7435         (copySelection): clean up a bit.
7436         (pasteSelection): use make_pair
7437
7438         * ParagraphList.C (ParagraphList): implement copy constructor
7439         (operator=): implement, base on copy constructor.
7440         (assign): new func
7441
7442         * paragraph.C (erase): return a bool
7443
7444         * paragraph_pimpl.C (erasePos): remove function, move contents...
7445         (erase): ... here. Return a bool.
7446         (erase): call erase instead of erasePos.
7447
7448 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7449
7450         * ParagraphList.h: define PitPosPair
7451         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7452         ParagraphList, fix a bug on pasting multiple pars
7453         * text2.C: change interface to C&P
7454
7455 2003-04-30  André Pönitz  <poenitz@gmx.net>
7456
7457         * undo_func.C: revert part of yesterday's patch 2
7458
7459 2003-04-30  John Levon  <levon@movementarian.org>
7460
7461         * LColor.C: s/tabular/table/
7462
7463 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7464
7465         * text3.C (dispatch): do not convert iterator -> pointer
7466         * undo_funcs.C (setCursorParUndo): ditto
7467         * text_funcs.C (transposeChars): ditto
7468
7469         * text2.C (setLayout): ws changes only
7470
7471         * text.C (breakParagraph): do not convert iterator -> pointer
7472         (insertChar): ditto
7473         (acceptChange): ditto
7474         (rejectChange): ditto
7475         (changeCase): ditto
7476         (Delete): ditto
7477         (backspace): ditto
7478
7479         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7480         pointer
7481
7482 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7483
7484         * text3.C (gotoInset): YABG (yet another bad getChar)
7485
7486 2003-04-29  André Pönitz  <poenitz@gmx.net>
7487
7488         * paragraph.h: make operator= private unimplemented as long as
7489           it is unusable
7490
7491         * ParagraphList.C: whitespace
7492
7493         * paragraph.[Ch]:
7494         * paragraph_pimpl.[Ch]:
7495         * paragraph_funcs.C:
7496         * CutAndPaste.C:
7497         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7498
7499         * text2.C:
7500           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7501
7502 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7503
7504         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7505         * paragraph.[Ch] (erase):
7506         * paragraph_pimpl.[Ch] (erase): change return type and value
7507         * text2.C (cutSelection): some rework
7508
7509 2003-04-28  John Levon  <levon@movementarian.org>
7510
7511         * bufferlist.C: changes for unsaved changes dialog
7512
7513 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7514
7515         * bufferlist.C (newFile): set language (messages_) for new
7516         documents also.
7517
7518         * buffer.C (readFile): ws changes only.
7519
7520 2003-04-28  André Pönitz  <poenitz@gmx.net>
7521
7522         * undo_funcs.C:
7523         * lyxfunc.C:
7524         * buffer.[Ch]:
7525         * BufferView_pimpl.C:
7526         * BufferView.C: getParFromID related ParagraphList::iterator changes
7527
7528 2003-04-28  André Pönitz  <poenitz@gmx.net>
7529
7530         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7531           Changes
7532
7533 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7534
7535         * messages.C: remove one more localedir class variable.
7536
7537 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7538
7539         * messages.C (getLocaleDir): singleton generation function
7540         (Pimpl): use it.
7541         (Messages): add a default constructor.
7542
7543         * main.C (main): do not setup localedir here, do not call
7544         gettext_init.
7545
7546         * gettext.C (_): use it.
7547         (gettext_init): delete funciton
7548
7549 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7550
7551         * gettext.C (getLyXMessages): new singleton generating function.
7552
7553         * buffer.C (updateDocLang): adjust
7554
7555         * Makefile.am (messages.o): add target
7556         (main.o): remove target
7557
7558 2003-04-27  John Levon  <levon@movementarian.org>
7559
7560         * bufferlist.C:
7561         * lyx_cb.C:
7562         * lyxfunc.C:
7563         * lyxvc.C: specify cancel button in Alert::prompt
7564
7565 2003-04-26  John Levon  <levon@movementarian.org>
7566
7567         * text3.C:
7568         * lyxfunc.C:
7569         * lfuns.h:
7570         * LyXAction.C: add LFUN_INSET_SETTINGS
7571
7572         * lyxfunc.C: don't enable tabular-feature when there's
7573         just any locking inset
7574
7575 2003-04-26  John Levon  <levon@movementarian.org>
7576
7577         * bufferlist.C: re-add Cancel to buffer close question
7578
7579         * lyxfunc.C: fix import UI a bit
7580
7581 2003-04-25  John Levon  <levon@movementarian.org>
7582
7583         * gettext.C: remove the broken asserts for now
7584
7585 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7586
7587         * messages.C: make case where setlocale cannot comply work better.
7588
7589         * buffer.C (updateDocLang): new function
7590         (changeLanguage): use it
7591         (readFile): use it
7592
7593         * text2.C (setCounter): use B_ a bit.
7594
7595         * lyxlayout.C (Read): be sure to trim the label strings.
7596
7597         * messages.C (Messages): fix typo in comment
7598
7599         * buffer.C (readFile): set message_ after file is loaded.
7600         (makeDocBookFile): remove double return
7601         (changeLanguage): reset message_ upon language change.
7602         (B_): new func, use this to get translated buffer strings.
7603
7604         * main.C: add myself and Jean Marc as authors.
7605
7606 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7607
7608         * messages.[hC]: pimplify Messages, and three different pimpls to be
7609         used in different circumstances.
7610
7611         * gettext.[Ch]: change for use with new message code.
7612
7613 2003-04-24 André Pönitz <poenitz@gmx.net>
7614
7615         * factory.C: support for eqref
7616
7617 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7618
7619         * messages.[Ch]: add missing char
7620
7621         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7622
7623         * messages.[Ch]: New files
7624
7625 2003-04-18  John Levon  <levon@movementarian.org>
7626
7627         * BufferView.h:
7628         * BufferView.C:
7629         * BufferView_pimpl.C:
7630         * lfuns.h:
7631         * LyXAction.C:
7632         * lyxtext.h:
7633         * text2.C: remove layout-copy/paste (bug 778)
7634
7635 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7636
7637         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7638
7639 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7640
7641         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7642         if they succeed. Act accordingly.
7643
7644 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7645
7646         * text2.C (setCharFont): adjust
7647         (setCounter): adjust
7648         (insertStringAsLines): adjust
7649
7650         * text.C (leftMargin): adjust
7651         (setHeightOfRow): adjust
7652
7653         * rowpainter.C (paintFirst): adjust
7654         (paintLast): adjust
7655
7656         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7657         (outerHook): ditto
7658         (isFirstInSequence): ditto
7659         (getEndLabel): ditto
7660         (outerFont): adjust
7661
7662         * paragraph.C (getParLanguage): comment out some hard stuff.
7663
7664         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7665         (sgmlError): ditto
7666         (simpleDocBookOnePar): ditto
7667         (makeDocBookFile): use ParagraphList::iterator
7668
7669         * CutAndPaste.C (pasteSelection): adjust
7670
7671 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7672
7673         * text2.C (getFont): adjust
7674         (getLayoutFont): adjust
7675         (getLabelFont): adjust
7676
7677         * paragraph_funcs.C (TeXOnePar): adjust
7678
7679         * buffer.C (simpleLinuxDocOnePar): adjust
7680         (simpleDocBookOnePar): adjust
7681
7682         * CutAndPaste.C (pasteSelection): adjust
7683
7684         * BufferView.C (getEncoding): adjust
7685
7686         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7687
7688 2003-04-16  John Levon  <levon@movementarian.org>
7689
7690         * lyxfind.C: use parlist stuff for search/changes
7691
7692 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7693
7694         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7695
7696         * text2.C (deleteEmptyParagraphMechanism): adjust
7697
7698         * text2.[Ch] (ownerParagraph): delete func (both of them
7699
7700 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7701
7702         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7703
7704 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7705
7706         * ParagraphList.C: prepare for NO_NEXT
7707
7708 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7709
7710         * text2.C (getFont): adjust
7711         (getLayoutFont): adjust
7712         (getLabelFont): adjust
7713
7714         * paragraph.C (getFont): adjust
7715         (getLabelFont): adjust
7716         (getLayoutFont): adjust
7717
7718         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7719
7720 2003-04-15  John Levon  <levon@movementarian.org>
7721
7722         From Angus Leeming
7723
7724         * lyx_main.C: handle Include in .ui files
7725
7726 2003-04-15  John Levon  <levon@movementarian.org>
7727
7728         * MenuBackend.C: make the doc files length shorter
7729
7730         * ToolbarBackend.h:
7731         * ToolbarBackend.C: handle toolbar placement flags,
7732         Minibuffer
7733
7734 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7735
7736         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7737         adjust
7738
7739         * paragraph_funcs.C (TeXOnePar): adjust
7740
7741         * paragraph.C (getLabelFont): add outerfont arg, adjust
7742         (getLayoutFont): ditto
7743         (simpleTeXOnePar): adjust
7744
7745         * paragraph_pimpl.C (realizeFont): delete func
7746
7747 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7748
7749         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7750         row argument, constify cur argument.
7751
7752 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7753
7754         * text2.C (getFont): adjust
7755         (getLayoutFont): adjust
7756         (getLabelFont): adjust
7757
7758         * paragraph_funcs.C (TeXOnePar): adjust
7759         (outerFont): new func...
7760         (realizeFont): ...moved out from here, changed this to facilitate
7761         transition
7762
7763         * paragraph.C (getFont): take outerfont as arg, adjust
7764         (simpleTeXOnePar): add outerfont arg, adjust
7765
7766         * buffer.C (simpleLinuxDocOnePar): adjust
7767         (simpleDocBookOnePar): adjust
7768
7769         * CutAndPaste.C (pasteSelection): adjust
7770
7771         * BufferView.C (getEncoding): adjust
7772
7773 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7774
7775         * text2.C (setCharFont): adjust
7776         (setCounter): adjust
7777
7778         * text.C (leftMargin): adjust
7779         (setHeightOfRow): adjust
7780
7781         * rowpainter.C (paintFirst): adjust
7782         (paintLast): adjust
7783
7784         * paragraph_pimpl.C (realizeFont): adjust
7785
7786         * paragraph.C (isFirstInSequence): move from here...
7787         * paragraph_funcs.C (isFirstInSequence): ...to here
7788
7789         * paragraph.C (outerHook): move from here...
7790         * paragraph_funcs.C (outerHook): ...to here
7791
7792         * paragraph.C (depthHook): move from here...
7793         * paragraph_funcs.C (depthHook): ...to here
7794
7795         * paragraph.C (getEndLabel): move from here...
7796         * paragraph_funcs.C (getEndLabel): ...to here
7797
7798         * text2.C (realizeFont): move from here...
7799         * paragraph_funcs.C (realizeFont): ...to here
7800
7801 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7802
7803         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7804
7805 2003-04-14  Angus Leeming  <leeming@lyx.org>
7806
7807         * LColor.[Ch]: scrap LColor mathcursor.
7808
7809 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7810
7811         * lyxlex.[Ch] (text): delete function
7812         * trans.C (Load): adjust
7813         * paragraph_funcs.C (readParToken): adjust
7814
7815 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7816
7817         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7818         vector<char> instead of a char[].
7819
7820         * lyxlex_pimpl.C (getString): adjust
7821         (next): adjust
7822         (lex): use getString
7823         (eatLine): adjust
7824         (nextToken): adjust
7825
7826         * lyxlex.C (text): use pimpl_->getString()
7827         (getBool): ditto
7828         (findToken): ditto
7829
7830 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7831
7832         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7833         (makeFontEntriesLayoutSpecific): temp var for par.size()
7834         (setLayout): temp var for ownerParagraphs().end()
7835         (fullRebreak): temp var for rows().end()
7836         (selectionAsString): temp var for boost::next(startpit), realize
7837         that the while really is a regular for loop.
7838         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7839         setCursor in one place.
7840         (setParagraph): temp vr for ownerParagraphs().end()
7841         (updateCounters): make the while loop a for loop
7842         (cutSelection): temp var for ownerParagraphs().end()
7843         (updateInset): make the do {} while() a regular for loop
7844         (getCursorX): use temp vars
7845         (setCurrentFont): use temp vars
7846         (getColumnNearX): use temp vars
7847
7848 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7849
7850         * text.C (transformChar): use temp var for getChar
7851         (computeBidiTables): use temp var for row->par()
7852         (fill): move temp vars for row->par() and pit->layout() earlier in
7853         the function.
7854         (labelFill): use temp var for row->par()
7855         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7856         asc and desc, realize that pit never changes and that firstpit is
7857         just a duplicate and not needed. Exchange rit->par() with pit in a
7858         lot of places.
7859         (breakAgain): use a temp var for boost::next(rit)
7860         (breakAgainOneRow): ditto
7861         (breakParagraph): use a temp var for rows().begin()
7862         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7863         (cursorRightOneWord): use temp var for cursor.par() and
7864         cursor.pos(), remove usage of tmpcursor.
7865         (cursorLeftOneWord): use temp var for cursor.par() and
7866         cursor.pos() only set cur at end of function.
7867
7868 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7869
7870         * text.C, text2.C: exchange all usage of Paragraph::next with
7871         boost::next(ParagraphList::iterator)
7872
7873         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7874
7875         * text2.C (cursorTop): simplify implementation
7876         (cursorBottom): ditto
7877         (setParagraph): use ParagraphList::iterator
7878         (setCurrentFont): adjust
7879         (getColumnNearX): adjust
7880         (cursorRight): adjust
7881         (cursorLeft): remove usage of Paragraph::previous
7882         (cursorUpParagraph): ditto
7883         (deleteEmptyParagraphMechanism): slight cleanup
7884
7885         * text.C (isBoundary): take a Paragraph const & instead of a
7886         pointer as arg.
7887         (addressBreakPoint): ditto
7888         (leftMargin): remove usage of Paragraph::previous.
7889         (setHeightOfRow): ditto
7890         (cursorLeftOneWord): ditto
7891         (selectNextWordToSpellcheck): ditto
7892         (Delete): ditto
7893         (backspace): ditto
7894         (breakParagraph): remove one usage of Paragraph::next
7895         (redoParagraph): ditto
7896         (acceptChange): ditto
7897         (insertChar): adjust
7898         (rowBreakPoint): adjust
7899
7900         * bufferview_funcs.C (toggleAndShow): adjust
7901
7902 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7903
7904         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7905         methods to access it.
7906         * lyxtext.h:
7907         * text.C: Added updateRowPositions to compute all row positions.
7908         Make top_y and getRowNearY() to use the cached y position
7909
7910 2003-04-11  John Levon  <levon@movementarian.org>
7911
7912         * text.C (rowBreakPoint): reintroduce the labelEnd
7913         checks, code copied from the row fill stuff. Deep voodoo.
7914
7915         * text.C (fill): add a comment and debugging for the
7916         next poor soul.
7917
7918 2003-04-11  John Levon  <levon@movementarian.org>
7919
7920         * text.C: make sure fullrow insets get wrapped to the next line,
7921         even when they're in a manual label
7922
7923 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7924
7925         * text2.C (insertParagraph): make it take ParagraphList::iterator
7926         as arg.
7927         (setLayout): make it return ParagraphList::iterator
7928         (redoParagraphs): ditto
7929         (setCounter): ditto
7930         (checkParagraph): ditto
7931
7932         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7933
7934         * text2.C: adjust several funcs.
7935         (realizeFont): take a ParagraphList::iterator as arg.
7936         (getLayoutFont): ditto
7937         (getLabelFont): ditto
7938         (setCharFont): ditto
7939
7940         * text.C: adjust several funcs.
7941
7942 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7943
7944         * text.C (selectNextWordToSpellcheck): don't accidentally
7945         skip insets
7946
7947 2003-04-10  John Levon  <levon@movementarian.org>
7948
7949         * ToolbarBackend.C (getIcon): special handling for
7950         LFUN_MATH_DELIM
7951
7952 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7953
7954         * text2.C (cursorRight): a getChar assert fixed
7955
7956 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7957
7958         * text2.C (getFont): change to take a ParagraphList::iterator
7959         instead of Paragraph*
7960         Adjust several functions.
7961
7962         * text.C (transformChar): change to take a ParagraphList::iterator
7963         instead of Paragraph*
7964         (singleWidth): ditto
7965         Adjust several functions.
7966
7967         * rowpainter.C: adjust several functions
7968         * rowpainter.h:store a ParagraphList::iterator and not a
7969         Paragraph&.
7970
7971
7972 2003-04-09  John Levon  <levon@movementarian.org>
7973
7974         * lyxfunc.C:
7975         * lfuns.h:
7976         * LyXAction.h:
7977         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7978         and the "help" bits as well
7979
7980 2003-04-09  John Levon  <levon@movementarian.org>
7981
7982         * ToolbarBackend.h:
7983         * ToolbarBackend.C: allow multiple toolbars
7984
7985 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7986
7987         * undo_funcs.C (setCursorParUndo): adjust
7988
7989         * text_funcs.C (transposeChars): adjust
7990
7991         * text3.C (gotoNextInset): adjust
7992         (dispatch): adjust
7993
7994         * text2.C (setLayout): adjust
7995         (changeDepth): adjust
7996         (setFont): adjust
7997         (redoParagraphs): adjust
7998         (selectionAsString): adjust
7999         (setParagraph): adjust
8000         (insertInset): adjust
8001         (cutSelection): adjust
8002         (copySelection): adjust
8003         (pasteSelection): adjust
8004         (insertStringAsLines): adjust
8005         (updateInset): adjust
8006         (setCursor): change to take a ParagraphList::iterator parameter
8007         (setCursorIntern): change to take a ParagraphList::iterator parameter
8008         (setCurrentFont): adjust
8009         (cursorLeft): adjust
8010         (cursorRight): adjust
8011         (deleteEmptyParagraphMechanism): adjust
8012
8013         * text.C (breakParagraph): adjust
8014         (insertChar): adjust
8015         (acceptChange): adjust
8016         (rejectChange): adjust
8017         (selectNextWordToSpellcheck): adjust
8018         (changeCase): adjust
8019         (Delete): adjust
8020         (backspace): adjust
8021
8022         * lyxfind.C (SearchForward): adjust
8023         (SearchBackward): adjust
8024         (nextChange): adjust
8025
8026         * lyxcursor.C (par): adjust
8027
8028         * lyxcursor.h: store a ParagraphList::iterator instead of a
8029         Paragraph*
8030
8031         * lyx_cb.C (getPossibleLabel): adjust
8032
8033         * bufferview_funcs.C (toggleAndShow): adjust
8034
8035         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8036         (dispatch): adjust
8037
8038         * BufferView.C (removeAutoInsets): adjust
8039         (lockedInsetStoreUndo): adjust
8040
8041 2003-04-09  John Levon  <levon@movementarian.org>
8042
8043         * ToolbarBackend.C: try icon without argument
8044         if with argument fails
8045
8046 2003-04-08  John Levon  <levon@movementarian.org>
8047
8048         * ToolbarBackend.h:
8049         * ToolbarBackend.C: add getIcon(), handle tooltip,
8050         and change from "Icon" to "Item".
8051
8052 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8053
8054         * BufferView.C (lockInset): another bad getchar crunched
8055
8056 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8057
8058         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8059         again)
8060
8061 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8062
8063         * lyxfind.C (searchForward, searchBackwards): bug 782
8064
8065 2003-04-07  John Levon  <levon@movementarian.org>
8066
8067         * paragraph.C: remove dead comment
8068
8069         * text.C: remove troublesome depth-fiddling code
8070         in leftMargin() and rightMargin() (bug 1017)
8071
8072         * text.C: fix breaking of rows in nested lists
8073         (bug 1004)
8074
8075         * text2.C (updateCounters): fix up depth values
8076         (bug 1013)
8077
8078 2003-04-07  John Levon  <levon@movementarian.org>
8079
8080         * BufferView_pimpl.C: clear message when doc finishes resizing,
8081         and after a mouse event
8082
8083         * lyxfunc.C: clear message after exiting inset
8084
8085 2003-04-07  John Levon  <levon@movementarian.org>
8086
8087         * bufferview_funcs.C: show math status not outside
8088         status in the statusbar
8089
8090 2003-04-07  John Levon  <levon@movementarian.org>
8091
8092         * lyxfunc.C: note status changed after a depth change
8093
8094 2003-04-04  Angus Leeming  <leeming@lyx.org>
8095
8096         * LaTeX.h: move AuxInfo operator==, != out of line.
8097         Remove LaTeX virtual destructor; nothing derives from it.
8098         Move operator()() out of public area and rename it startscript().
8099         Change protected for private.
8100
8101 2003-04-04  Angus Leeming  <leeming@lyx.org>
8102
8103         * lyxfunc.C:
8104         * text2.C: remove unneeded #includes.
8105
8106 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8107
8108         * text2.C (dEPM): fix the heigth of the next row
8109
8110 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8111
8112         * text.C: squashed an invalid getChar requester + some ws changes
8113
8114 2003-04-03  John Levon  <levon@movementarian.org>
8115
8116         * bufferview_funcs.h:
8117         * bufferview_funcs.C:
8118         * lyxfunc.C:
8119         * lyxtext.h:
8120         * text2.C: make getStatus work for the env depth lfuns
8121
8122 2003-04-03  John Levon  <levon@movementarian.org>
8123
8124         * bufferview_funcs.h:
8125         * bufferview_funcs.C:
8126         * lyxfunc.C:
8127         * lyxtext.h:
8128         * text2.C: parlistize decDepth(), by merging it with incDepth()
8129
8130 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8131
8132         * lyxrow.h: store a ParagraphList::iterator instead of a
8133         Paragraph* and adjust other class functions to suit.
8134
8135         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8136         above.
8137
8138 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8139
8140         * text2.C (setCursor): do not anchor to cursor row for the time being
8141
8142 2003-04-02  John Levon  <levon@movementarian.org>
8143
8144         * LyXAction.C:
8145         * lfuns.h:
8146         * lyx_main.C:
8147         * lyxtext.h:
8148         * text.C:
8149         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8150
8151 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8152
8153         * paragraph.h: make ParagraphList and ParagraphList::iterator
8154         friends of Paragraph.
8155
8156         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8157
8158         * ParagraphList.C: Use the private next_ and previous_ from
8159         Paragraph.
8160
8161 2003-04-01  John Levon  <levon@movementarian.org>
8162
8163         * ToolbarBackend.h:
8164         * ToolbarBackend.C:
8165         * Makefile.am: rename, remove defaults gunk
8166
8167         * MenuBackend.h:
8168         * MenuBackend.C: remove defaults gunk
8169
8170         * Languages.h:
8171         * Languages.C: remove defaults gunk
8172
8173         * lyx_main.h:
8174         * lyx_main.C: error out if files couldn't be found.
8175
8176 2003-04-02  John Levon  <levon@movementarian.org>
8177
8178         * text2.C: make incDepth() use parlist
8179
8180 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8181
8182         * undo_funcs.C (firstUndoParagraph): adjust
8183
8184         * text3.C (gotoInset): adjust
8185         (dispatch): adjust, and rewrite loop.
8186
8187         * text2.C (init): adjust, and rewrite loop.
8188         (redoParagraphs): adjust
8189         (updateInset): adjust, and rewrite loop.
8190         (deleteEmptyParagraphMechanism): adjust
8191
8192         * tabular.C (LyXTabular): adjust
8193         (SetMultiColumn): adjust
8194         (TeXRow): adjust
8195
8196         * lyxtext.[Ch] (ownerParagraph): delete function
8197         (ownerParagraphs): new function returns a ParagraphList.
8198
8199         * BufferView.C (removeAutoInsets): adjust
8200         (insertErrors): adjust
8201         (setCursorFromRow): adjust
8202
8203 2003-04-01  Angus Leeming  <leeming@lyx.org>
8204
8205         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8206         in the frontends.
8207
8208 2003-04-02  John Levon  <levon@movementarian.org>
8209
8210         * lyxtext.h:
8211         * text.C:
8212         * Makefile.am:
8213         * text_funcs.h:
8214         * text_funcs.C: make transposeChars a free function
8215
8216         * lyxrow_funcs.C: remove wrong comment
8217
8218 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8219
8220         * lyxtext.h: adjust
8221         * rowpainter.C: adjust
8222         * text.C: adjust
8223         * text2.C: adjust
8224         * text3.C: adjust
8225
8226         * lyxrow_funcs. [Ch]: new files
8227
8228         * lyxrow.[Ch]: remove next and previous pointers
8229         (next,previous): remove accessor functions
8230         (isParEnd): move to lyxrow_funcs
8231         (lastPos): move to lyxrow_funcs
8232         (nextRowIsAllInset): move to lyxrow_funcs
8233         (lastPrintablePos): move to lyxrow_funcs
8234         (numberOfSeparators): move to lyxrow_funcs
8235         (numberOfHfills): move to lyxrow_funcs
8236         (numberOfLabelHfills): move to lyxrow_funcs
8237         (hfillExpansion): move to lyxrow_funcs
8238
8239         * lyxfunc.C: adjust
8240
8241         * bufferview_funcs.C (toggleAndShow): adjust
8242
8243         * RowList.h: Remove class RowList from file leave just a
8244         std::list<Row>.
8245
8246         * RowList.C: delete file
8247
8248         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8249         and lyxrow_funcs.h
8250
8251 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8252
8253         * text3.C (cursorPrevious): adjust
8254         (cursorNext): adjust
8255         (dispatch): adjust
8256
8257         * text2.C (redoHeightOfParagraph): adjust
8258         (redoDrawingOfParagraph): adjust
8259         (setCursor): adjust
8260
8261         * text.C (breakParagraph): adjust
8262         (insertChar): adjust
8263         (backspace): adjust
8264
8265         * rowpainter.C (RowPainter): adjust
8266         (leftMargin): simplify and adjust
8267         (most rowpainter functions): adjust.
8268
8269         * rowpainter.h: store the row as RowList::iterator not as Row*
8270
8271         * lyxcursor.C (row): taka RowList::iterator as arg
8272         (irow): ditto
8273
8274         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8275         of Row*.
8276
8277 2003-04-01  Angus Leeming  <leeming@lyx.org>
8278
8279         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8280         stuff like bool Bool.
8281
8282 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8283
8284         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8285         rewrite a loop
8286
8287 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8288
8289         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8290         RowList::iterator.
8291
8292         * lyxtext.h (rows): drop one version and leve a const variant that
8293         returns a RowList::iterator.
8294
8295 2003-03-31  Angus Leeming  <leeming@lyx.org>
8296
8297         * text.C (fill): ensure that the signature is the same as that in the
8298         header file.
8299
8300 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8301
8302         * text2.C (redoParagraphs): adjust
8303         (updateCounters): adjust
8304         (checkParagraph): adjust
8305         (getColumnNearX): adjust and reformat a bit.
8306
8307         * text.C (top_y): adjust
8308         (workWidth): adjust
8309         (leftMargin): adjust
8310         (prepareToPrint): adjust
8311         (getRow): adjust
8312         (getRowNearY): adjust
8313
8314         * lyxtext.h: make rowlist_ mutable.
8315
8316         * RowList.h: add const_iterator
8317         * RowList.C: adjust for RowList::const_iterator.
8318
8319         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8320         adjust.
8321
8322 2003-03-31  John Levon  <levon@movementarian.org>
8323
8324         * lyxrc.h:
8325         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8326
8327         * lyx_main.C: set default fonts from using lyx_gui funcs
8328
8329         * exporter.C: pdf_mode moved from lyxrc
8330
8331         * lyx_cb.C:
8332         * lyxfunc.C: changes from above
8333
8334 2003-03-31  John Levon  <levon@movementarian.org>
8335
8336         * lyx_main.C: fix to the last fix
8337
8338 2003-03-31  John Levon  <levon@movementarian.org>
8339
8340         * bufferlist.C: "Load original" -> "Load Original"
8341
8342         * converter.C:
8343         * exporter.C:
8344         * importer.C:
8345         * lyx_main.C:
8346         * format.C: more Alert cleanups
8347
8348 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8349
8350         * text2.C (removeParagraph): make it take a RowList::iterator as
8351         arg, adjust.
8352         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8353         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8354
8355         * text.C (anchor_row): make it take a RowList::iterator as arg,
8356         adjust.
8357         (computeBidiTables): make it take a const reference to Row instead
8358         of Row pointer, adjust.
8359         (leftMargin): make it take a RowList::iterator as arg, adjust.
8360         (rowBreakPoint): adjust
8361         (breakAgainOneRow): make it take a RowList::iterator as arg,
8362         adjust.
8363         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8364
8365         * bufferview_funcs.C (toggleAndShow): adjust
8366
8367 2003-03-30  John Levon  <levon@movementarian.org>
8368
8369         * Makefile.am:
8370         * BoostFormat.h:
8371         * boost-inst.C: moved to support
8372
8373         * several files: changes as a result
8374
8375 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8376
8377         * text2.C (LyXText): adjust.
8378         (init): adjust
8379         (removeRow): make it take a RowList::iterator as arg, adjust.
8380         (fullRebreak): adjust
8381         (deleteEmptyParagraphMechanism): adjust
8382         (clearPaint): adjust
8383         (postPaint): adjust
8384
8385         * text.C (top_y): adjust
8386         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8387         (breakAgain): make it take a RowList::iterator as arg, adjust.
8388         (breakParagraph): adjust
8389         (insertChar): adjust
8390         (backspace): adjust
8391
8392         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8393         need_break_row, and refresh_row.
8394
8395         * text3.C (dispatch): adjust
8396
8397         * text2.C (checkParagraph): adjust
8398         (setCursor): adjust
8399         (setCursorFromCoordinates): adjust
8400
8401         * text.C (top_y): adjust
8402         (workWidth): adjust
8403         (getRow): make it return a RowList::iterator, adjust
8404         (getRowNearY): make it return a RowList::iterator, adjust
8405
8406         * text2.C (init): adjust
8407         (insertRow): remove function
8408         (insertParagraph): adjust
8409         (redoParagraphs): adjust
8410         (fullRebreak): adjust
8411         (updateCounters): adjust
8412
8413         * text.C (top_y): rewrite to use RowList iterators.
8414         (top_y): adjust
8415         (setHeightOfRow): rewrite to sue RowList iterators.
8416         (appendParagraph): adjust
8417         (breakAgain): adjust
8418         (breakAgainOneRow): adjust
8419         (breakParagraph): adjust
8420         (getRow): adjust
8421         (getRowNearY): adjust, and remove commented code.
8422
8423         * lyxtext.h (firstRow): delete function
8424         (lastRow): delete function
8425         (rows): new function (const and non-const versions.)
8426         (insertRow): delete function
8427
8428         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8429
8430 2003-03-29  John Levon  <levon@movementarian.org>
8431
8432         * BufferView_pimpl.C: always update scrollbar top
8433         because pasting text when we're anchored could mean we
8434         miss an update altogether
8435
8436 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8437
8438         * text2.C (init): use rowlist_.end() and not 0.
8439         (insertRow): change to take a RowList::iterator as arg, adjust
8440         for this.
8441         (insertParagraph): change to take a RowList::iterator as arg,
8442         adjust for this.
8443         (redoParagraphs): remove some debug msgs.
8444
8445         * text.C (appendParagraph): change to take a RowList::iterator
8446         arg, adjust for this.
8447         (breakAgain): add an assert
8448         (breakAgainOneRow): ditto
8449
8450 2003-03-29  John Levon  <levon@movementarian.org>
8451
8452         * text2.C: do not clear selection after inc/decDepth
8453         (bug 550)
8454
8455 2003-03-29  John Levon  <levon@movementarian.org>
8456
8457         * BufferView.C:
8458         * buffer.C: fix broken strerrors according to Lars
8459
8460 2003-03-29  John Levon  <levon@movementarian.org>
8461
8462         * converters.C: more Alert cleanups
8463
8464 2003-03-29  John Levon  <levon@movementarian.org>
8465
8466         * bufferview_funcs.C: remove pointless Alert
8467
8468         * buffer.C: fix confusing error message when
8469         a template is chmoded 000
8470
8471 2003-03-29  John Levon  <levon@movementarian.org>
8472
8473         * BufferView.C:
8474         * BufferView.h:
8475         * BufferView_pimpl.C: Alert fixes
8476
8477         * Makefile.am:
8478         * tabular.C:
8479         * tabular-old.C: remove unused table compat reading
8480
8481 2003-03-29  John Levon  <levon@movementarian.org>
8482
8483         * BufferView.C:
8484         * buffer.C:
8485         * lyx_cb.h:
8486         * lyx_cb.C: more Alert cleanups
8487
8488         * lyxfunc.C: don't allow chktex if not latex document
8489
8490 2003-03-29  John Levon  <levon@movementarian.org>
8491
8492         * lyx_cb.C:
8493         * BufferView.C:
8494         * buffer.C: warnings pushed down from support/,
8495         kill err_alert
8496
8497 2003-03-29  John Levon  <levon@movementarian.org>
8498
8499         * lyxfunc.C: safety check for C-r (revert)
8500
8501 2003-03-29  John Levon  <levon@movementarian.org>
8502
8503         * bufferlist.h:
8504         * bufferlist.C: several UI fixes using Alert::prompt.
8505         Fix the pointless looping quit code. Fix stupid revert
8506         behaviour (bug 938)
8507
8508         * lyxvc.h:
8509         * lyxvc.C:
8510         * lyx_cb.C: use Alert::prompt
8511
8512         * lyx_main.C: remove a silly question
8513
8514         * lyxfunc.C: remove a couple of silly questions,
8515         use Alert::prompt
8516
8517 2003-03-28  John Levon  <levon@movementarian.org>
8518
8519         * text2.C: fix bug 974 (End on empty par)
8520
8521 2003-03-28  John Levon  <levon@movementarian.org>
8522
8523         * BufferView_pimpl.C:
8524         * LyXAction.C:
8525         * lfuns.h: remove do-nothing math greek lfuns
8526
8527 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8528
8529         * lyxgluelength.h (isValidGlueLength): add default arg on
8530         parameter 2. Remove default arg from friend in class.
8531
8532         * lyxlength.h (isValidLength): add default arg on parameter 2.
8533         Remove default arg from friend in class.
8534
8535         * text2.C (LyXText): adjust, initialize refresh_row.
8536         (init): adjust
8537         (removeRow): adjust
8538         (insertRow): adjust
8539         (insertParagraph): adjst
8540         (redoParagraphs): adjust
8541         (fullRebreak): adjust
8542         (updateCounters): adjust
8543         (deleteEmptyParagraphMechanism): first attempt at fixing a
8544         crashing bug.
8545
8546         * text.C (top_y): adjust
8547         (setHeightOfRow): adjust
8548         (getRow): adjust
8549         (getRowNearY): adjust
8550
8551         * lyxtext.h: include RowList.h
8552         (~LyXText): not needed anymore, deleted.
8553         (firstRow): modify for RowList
8554         (lastRow): new function
8555         Delete firstrow and lastrow class variables, add a Rowlist
8556         rowlist_ class variable.
8557
8558         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8559         paragraph is empty.
8560
8561         * RowList.C (insert): fix case where it == begin().
8562
8563 2003-03-26  Angus Leeming  <leeming@lyx.org>
8564
8565         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8566         the thesaurus dialog.
8567
8568 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8569
8570         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8571
8572         * RowList.[Ch]: new files
8573
8574         * ParagraphList.C (erase): handle the case where it == begin
8575         correctly.
8576
8577 2003-03-25  John Levon  <levon@movementarian.org>
8578
8579         * Makefile.am:
8580         * aspell_local.h:
8581         * aspell.C: add new aspell support
8582
8583         * lyxrc.h:
8584         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8585         have it accessible.
8586
8587 2003-03-25  Angus Leeming  <leeming@lyx.org>
8588
8589         * lfuns.h:
8590         * LyXAction.C (init): new LFUN_INSET_INSERT.
8591
8592         * BufferView_pimpl.C (dispatch): split out part of the
8593         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8594
8595         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8596         LFUN_INSET_APPLY.
8597
8598 2003-03-25  Angus Leeming  <leeming@lyx.org>
8599
8600         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8601
8602 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8603
8604         * text2.C:
8605         * text3.C: remove useless row->height(0)
8606
8607 2003-03-25  John Levon  <levon@movementarian.org>
8608
8609         * lyxtext.h:
8610         * text2.C:
8611         * text3.C: rename the refreshing stuff to better names
8612
8613 2003-03-24  John Levon  <levon@movementarian.org>
8614
8615         * BufferView_pimpl.h:
8616         * BufferView_pimpl.C: update layout choice on a mouse
8617         press/release
8618
8619 2003-03-23  John Levon  <levon@movementarian.org>
8620
8621         * Makefile.am: fix commandtags.h reference
8622
8623 2003-03-22  John Levon  <levon@movementarian.org>
8624
8625         * BufferView_pimpl.C:
8626         * lyxtext.h:
8627         * rowpainter.C:
8628         * rowpainter.h:
8629         * text.C:
8630         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8631
8632 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8633
8634         * lyxtext.h:
8635         * text.C: take the rtl methods out of line
8636
8637 2003-03-21 André Pönitz <poenitz@gmx.net>
8638
8639         * metricsinfo.[Ch]: new files containing structures to be passed around
8640         during the two-phase-drawing...
8641
8642 2003-03-21 André Pönitz <poenitz@gmx.net>
8643
8644         * lyxtextclass.C: read 'environment' tag.
8645
8646 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8647
8648         * text2.C (removeRow): fix bug 964
8649
8650 2003-03-20  John Levon  <levon@movementarian.org>
8651
8652         * rowpainter.C:
8653         * text.C:
8654         * text2.C: paint cleanups. Inset::update() dropped font
8655         parameter
8656
8657 2003-03-19  John Levon  <levon@movementarian.org>
8658
8659         * lyxfunc.C: only fitcursor/markDirty if available()
8660
8661 2003-03-19  John Levon  <levon@movementarian.org>
8662
8663         * commandtags.h: rename to ...
8664
8665         * lfuns.h: ... this, and renumber / cleanup
8666
8667 2003-03-19  John Levon  <levon@movementarian.org>
8668
8669         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8670         fit the cursor after an lfun
8671
8672         * BufferView.h:
8673         * BufferView.C:
8674         * BufferView_pimpl.h:
8675         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8676
8677         * LyXAction.C: layout-character should have ReadOnly
8678
8679         * ParagraphParameters.C:
8680         * buffer.C:
8681         * bufferview_funcs.C:
8682         * lyx_cb.C:
8683         * lyxfind.C:
8684         * lyxtext.h:
8685         * text.C:
8686         * text2.C:
8687         * text3.C:
8688         * undo_funcs.C: changes from above
8689
8690 2003-03-18  John Levon  <levon@movementarian.org>
8691
8692         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8693         remove it from update()
8694
8695         * lyxfunc.C: update layout choice after an lfun
8696
8697         * text3.C: remove extra updateLayoutChoice()s
8698
8699 2003-03-18  John Levon  <levon@movementarian.org>
8700
8701         * text.C: top_y change means full repaint, fix
8702         a drawing bug with cursor movement
8703
8704 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8705
8706         * lyxtext.h:
8707         * text.C:
8708         * text2.C: anchor row on setCursor
8709
8710 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8711
8712         * lyxtext.h: remove almost all mutable keywords
8713         * text.C:
8714         * text2.C:
8715         * text3.C: remove const keywords accordingly
8716
8717 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8718
8719         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8720         anon namespace
8721         (TeXEnvironment): ditto
8722         (TeXOnePar): ditto
8723
8724 2003-03-17  John Levon  <levon@movementarian.org>
8725
8726         * text.C (rowBreakPoint): remove attempt to fix displayed
8727         math insets inside a manual label
8728
8729 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8730
8731         * lyxtext.h: remove BufferView* as first arg from almost all class
8732         functions.
8733         * other files: adjust.
8734
8735 2003-03-17  John Levon  <levon@movementarian.org>
8736
8737         * lyxtext.h:
8738         * undo_funcs.C:
8739         * text2.C: more paint cleanups
8740
8741         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8742
8743         * rowpainter.h:
8744         * rowpainter.C: remove "smart" background painting code
8745
8746 2003-03-16  John Levon  <levon@movementarian.org>
8747
8748         * lyxtext.h:
8749         * text.C:
8750         * text2.C:
8751         * text3.C: add helper functions for setting refresh_row/y
8752
8753 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8754
8755         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8756         newline inset which *can* get inserted in the pass_thru layouts.
8757         This is primarily for literate documents.
8758
8759 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8760
8761         * buffer.C: increment LYX_FORMAT to 223
8762
8763 2003-03-14 André Pönitz <poenitz@gmx.net>
8764
8765         * textclass.h: prepare for environment handling, ws changes
8766         * lyxlayout.C: read latexheader and latexfooter tags
8767
8768 2003-03-14  John Levon  <levon@movementarian.org>
8769
8770         * text2.C: rewrite ::status() a bit
8771
8772 2003-03-13  John Levon  <levon@movementarian.org>
8773
8774         * lyxtext.h: add some docs
8775
8776 2003-03-13  John Levon  <levon@movementarian.org>
8777
8778         * lyxtext.h:
8779         * text.C:
8780         * text2.C:
8781         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8782
8783 2003-03-13  John Levon  <levon@movementarian.org>
8784
8785         * text3.C: fix appendix redrawing
8786
8787 2003-03-13  John Levon  <levon@movementarian.org>
8788
8789         * text.C (setHeightOfRow):
8790         * rowpainter.h:
8791         * rowpainter.C: make appendix mark have the text
8792           "Appendix" so the user knows what it is
8793
8794         * LColor.h:
8795         * LColor.C: s/appendixline/appendix/ from above
8796
8797 2003-03-13  John Levon  <levon@movementarian.org>
8798
8799         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8800
8801         * text.C: fix a getChar(pos) bug properly
8802
8803 2003-03-13  Angus Leeming  <leeming@lyx.org>
8804
8805         * commandtags.h:
8806         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8807         Probably only temporary. Let's see how things pan out.
8808
8809         * BufferView.C (unlockInset):
8810         * BufferView_pimpl.C (fitCursor):
8811         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8812
8813         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8814         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8815
8816         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8817         new functions that convert ParagraphParameters to and from a string.
8818
8819         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8820         BufferView::Pimpl's dispatch.
8821         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8822
8823 2003-03-13 André Pönitz <poenitz@gmx.net>
8824
8825         * lyxfunc.C:
8826         * text3.C:
8827         * factory.C: make it aware of InsetEnv
8828
8829 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8830
8831         * text2.C (setCursor): never ask for one past last
8832         (setCursor): add some debugging messages.
8833
8834         * text.C (singleWidth): never ask for one past last
8835         (singleWidth): ditto
8836         (leftMargin): ditto
8837         (rightMargin): ditto
8838         (rowBreakPoint): ditto
8839         (setHeightOfRow): ditto
8840         (prepareToPrint): ditto
8841
8842         * rowpainter.C (paintBackground): never ask for one past last
8843         (paintText): never ask for one past last
8844
8845         * paragraph_pimpl.C (getChar): make the assert stricter, never
8846         allow the one past last pos to be taken
8847
8848         * paragraph.C (getChar): ws changes only
8849
8850         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8851         (numberOfSeparators): ditto
8852         (numberOfHfills): ditto
8853
8854 2003-03-12  John Levon  <levon@movementarian.org>
8855
8856         * author.h:
8857         * author.C:
8858         * bufferparams.h:
8859         * bufferparams.C:
8860         * paragraph_funcs.C: fix per-buffer authorlists
8861
8862 2003-03-12  John Levon  <levon@movementarian.org>
8863
8864         * text.C: fix newline in right address
8865
8866 2003-03-12  Angus Leeming  <leeming@lyx.org>
8867
8868         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8869         duplicate those in LyXFunc::dispatch.
8870
8871         * commandtags.h:
8872         * LyXAction.C:
8873         * ToolbarDefaults.C:
8874         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8875         Add LFUN_FONTFREE_UPDATE.
8876
8877         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8878         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8879
8880         * bufferview_func.[Ch]: several new functions to facilliate
8881         transfer of data to and from the character dialog.
8882
8883 2003-03-12  John Levon  <levon@movementarian.org>
8884
8885         * buffer.C:
8886         * paragraph.h:
8887         * paragraph.C:
8888         * paragraph_funcs.C:
8889         * paragraph_pimpl.C:
8890         * sgml.C:
8891         * tabular.C:
8892         * text.C:
8893         * text3.C: remove META_NEWLINE in favour of an inset
8894
8895         * rowpainter.h:
8896         * rowpainter.C: remove paintNewline (done by inset)
8897
8898 2003-03-12  John Levon  <levon@movementarian.org>
8899
8900         * paragraph_pimpl.C: complain about bad getChar()s
8901         for a while at least
8902
8903 2003-03-12  John Levon  <levon@movementarian.org>
8904
8905         * buffer.h:
8906         * buffer.C: move paragraph read into a separate function,
8907         a little renaming to reflect that.
8908
8909         * bufferparams.h:
8910         * bufferparams.C: remove the author_ids map, not necessary now
8911
8912         * factory.h:
8913         * factory.C: moved Buffer::readInset to here
8914
8915         * paragraph_funcs.h:
8916         * paragraph_funcs.C: readParagraph free function moved from
8917         buffer.C
8918
8919         * tabular.C: name change
8920
8921 2003-03-12  John Levon  <levon@movementarian.org>
8922
8923         * buffer.C:
8924         * ParagraphParameters.C: move par params input to
8925         a read() method
8926
8927         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8928         behave like a normal read from the stream wrt reading
8929         a line vs. a \\token
8930
8931 2003-03-12  John Levon  <levon@movementarian.org>
8932
8933         * paragraph.C:
8934         * ParagraphParameters.h:
8935         * ParagraphParameters.C: move output code to a
8936         ::write() method
8937
8938 2003-03-12  John Levon  <levon@movementarian.org>
8939
8940         * BufferView.C (insertLyXFile):
8941         * buffer.h:
8942         * buffer.C:
8943         * tabular.C: use a parlist iterator for creating the
8944           document.
8945
8946 2003-03-12  John Levon  <levon@movementarian.org>
8947
8948         * buffer.C: make current_change static local not
8949           static file-scope
8950
8951 2003-03-12  John Levon  <levon@movementarian.org>
8952
8953         * buffer.C: fix insertStringAsLines for change tracking
8954
8955 2003-03-12  John Levon  <levon@movementarian.org>
8956
8957         * BufferView.C:
8958         * tabular.C:
8959         * buffer.h:
8960         * buffer.C:
8961         * bufferparams.h:
8962         * bufferparams.C: move author list into params. Rename some
8963           functions. Move the header reading into a separate token
8964           loop. Move the header token reading into BufferParams.
8965
8966 2003-03-12  John Levon  <levon@movementarian.org>
8967
8968         * changes.C: put debug inside lyxerr.debugging() checks
8969
8970 2003-03-11 André Pönitz <poenitz@gmx.net>
8971
8972         * factory.C: make it aware of InsetHFill
8973
8974 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8975
8976         * buffer.C (latexParagraphs): move function from here...
8977         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8978         args.
8979
8980 2003-03-10  Angus Leeming  <leeming@lyx.org>
8981
8982         * LyXAction.C (init): fix bug in poplating array with multiple entries
8983         with the same LFUN (spotted by JMarc).
8984
8985 2003-03-10  John Levon  <levon@movementarian.org>
8986
8987         * text.C:
8988         * text2.C: move getColumnNearX() near its
8989         only call site
8990
8991 2003-03-10  John Levon  <levon@movementarian.org>
8992
8993         * text.C: fix break before a minipage
8994
8995 2003-03-10  John Levon  <levon@movementarian.org>
8996
8997         * text.C: fix the last commit
8998
8999 2003-03-09  John Levon  <levon@movementarian.org>
9000
9001         * lyxtext.h:
9002         * text.C:
9003         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9004         bug 365 (don't break before insets unless needed). Don't
9005         return a value > last under any circumstances.
9006
9007 2003-03-09  Angus Leeming  <leeming@lyx.org>
9008
9009         * BufferView_pimpl.C (trackChanges, dispatch): call
9010         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9011
9012 2003-03-09  Angus Leeming  <leeming@lyx.org>
9013
9014         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9015         than Dialogs::showAboutlyx().
9016
9017 2003-03-09  Angus Leeming  <leeming@lyx.org>
9018
9019         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9020         than Dialogs::showTabularCreate().
9021
9022 2003-03-09  John Levon  <levon@movementarian.org>
9023
9024         * lyxtext.h:
9025         * text.C:
9026         * text2.C: 3rd arg to nextBreakPoint was always the same.
9027           Use references.
9028
9029 2003-03-08  John Levon  <levon@movementarian.org>
9030
9031         * lyxrow.C:
9032         * paragraph.C:
9033         * paragraph.h:
9034         * rowpainter.C:
9035         * text.C:
9036         * text2.C: Remove the "main" bit from the "main body"
9037           notion.
9038
9039 2003-03-08  John Levon  <levon@movementarian.org>
9040
9041         * text.C (leftMargin): The left margin of an empty
9042         manual label paragraph should not include the label width
9043         string length.
9044
9045         * text.C (prepareToPrint): don't attempt to measure hfills
9046         for empty manual label paragraphs - the answer should be 0
9047
9048 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9049
9050         * CutAndPaste.C: remove commented code and reindent.
9051
9052 2003-03-08  John Levon  <levon@movementarian.org>
9053
9054         * lyxfunc.h:
9055         * lyxfunc.C: move reloadBuffer()
9056
9057         * BufferView.h:
9058         * BufferView.C: to here
9059
9060         * lyxvc.C: add comment
9061
9062         * vc-backend.h:
9063         * vc-backend.C: call bv->reload() to avoid
9064           getStatus() check on MENURELOAD
9065
9066 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9067
9068         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9069         to an old format .dep file.
9070
9071 2003-03-07  Angus Leeming  <leeming@lyx.org>
9072
9073         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9074         when the LFUN_MOUSE_RELEASE should have been handled by
9075         inset->localDispatch.
9076
9077 2003-03-07  Angus Leeming  <leeming@lyx.org>
9078
9079         * BufferView_pimpl.C (dispatch):
9080         * LyXAction.C (init):
9081         * ToolbarDefaults.C (init):
9082         * commandtags.h:
9083         * lyxfunc.C (getStatus):
9084         remove LFUN_INSET_GRAPHICS.
9085
9086         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9087
9088 2003-03-07  Angus Leeming  <leeming@lyx.org>
9089
9090         * commandtags.h:
9091         * LyXAction.C (init):
9092         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9093
9094         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9095
9096         * commandtags.h:
9097         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9098
9099         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9100         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9101
9102 2003-03-07  Angus Leeming  <leeming@lyx.org>
9103
9104         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9105         remove "ert".
9106
9107 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9108
9109         * ParagraphList.C (front): new function
9110         (back): implement
9111
9112 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9113
9114         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9115         and top_row_offset_. removed var first_y.
9116         * text.C (top_y):
9117         * text2.C (LyXText, removeRow):
9118         * text3.C:
9119         * BufferView_pimpl.C:
9120         use these methods instead of using first_y
9121
9122 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9123
9124         * text2.C (pasteSelection): adjust for checkPastePossible
9125
9126         * CutAndPaste.C: remove Paragraph * buf and replace with
9127         ParagraphList paragraphs.
9128         (DeleteBuffer): delete
9129         (cutSelection): change the tc type to textclass_type
9130         (copySelection): change the tc type to textclass_type
9131         (copySelection): adjust for ParagraphList
9132         (pasteSelection): change the tc type to textclass_type
9133         (pasteSelection): adjust for Paragraphlist
9134         (nrOfParagraphs): simplify for ParagraphList
9135         (checkPastePossible): simplify for ParagraphList
9136         (checkPastePossible): remove unused arg
9137
9138         * ParagraphList.C (insert): handle the case where there are no
9139         paragraphs yet.
9140
9141         * CutAndPaste.h: make CutAndPaste a namespace.
9142
9143         * text3.C (dispatch): adjust
9144
9145         * text.C (breakParagraph): add a ParagraphList as arg
9146
9147         * paragraph_funcs.C (breakParagraph): change to take a
9148         BufferParams and a ParagraphList as args.
9149         (breakParagraphConservative): ditto
9150         (mergeParagraph): ditto
9151         (TeXDeeper): add a ParagraphList arg
9152         (TeXEnvironment): ditto
9153         (TeXOnePar): ditto
9154
9155         * buffer.C (readLyXformat2): adjust
9156         (insertStringAsLines): adjust
9157         (latexParagraphs): adjust
9158
9159         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9160         (cutSelection): adjust
9161         (pasteSelection): adjust
9162
9163         * BufferView_pimpl.C (insertInset): adjust
9164
9165 2003-03-05  Angus Leeming  <leeming@lyx.org>
9166
9167         * commandtags.h:
9168         * LyXAction.C (init):
9169         * BufferView_pimpl.C (dispatch):
9170         * lyxfunc.C (getStatus):
9171         remove LFUN_CHILD_INSERT.
9172
9173         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9174
9175 2003-03-05  Angus Leeming  <leeming@lyx.org>
9176
9177         * commandtags.h:
9178         * LyXAction.C (init):
9179         * src/factory.C (createInset):
9180         * lyxfunc.C (getStatus):
9181         * text3.C (dispatch):
9182         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9183
9184         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9185
9186 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9187
9188         * ParagraphList.C (insert): handle insert right before end()
9189         (erase): fix cases where it can be first or last paragraph.
9190
9191 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9192
9193         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9194         Paragraph::next and Paragraph::previous
9195         (TeXOnePar): ditto
9196
9197         * text.C (breakParagraph): adjust
9198
9199         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9200         BufferParams& as arg.
9201         (breakParagraph): use ParagraphList::insert
9202         (breakParagraphConservative): take a Buffer* instead of a
9203         BufferParams& as arg.
9204         (breakParagraphConservative): use ParagraphList::insert.
9205
9206         * buffer.C (insertStringAsLines): un-const it
9207         (insertStringAsLines): adjust
9208
9209         * ParagraphList.C (insert): new function
9210
9211         * CutAndPaste.C (pasteSelection): adjust
9212
9213         * text.C (backspace): adjust
9214
9215         * tabular.C (SetMultiColumn): adjust
9216
9217         * CutAndPaste.C (cutSelection): adjust
9218         (pasteSelection): adjust
9219
9220         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9221         Buffer const * as arg
9222
9223         * ParagraphList.C (erase): new function
9224         * paragraph_funcs.C (mergeParagraph): use it
9225         (mergeParagraph): make it take a Buffer* instead of a
9226         BufferParams* as arg
9227
9228         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9229         as arg
9230         (breakParagraphConservative): ditto
9231
9232         * paragraph.h: remove the breakParagraph friend
9233
9234         * paragraph.C (eraseIntern): new function
9235         (setChange): new function
9236
9237         * paragraph_funcs.C (mergeParagraph): make it take a
9238         ParagraphList::iterator instead of a Paragraph *, adjust
9239         accordingly.
9240
9241         * paragraph.h: move an #endif so that the change tracking stuff
9242         also works in the NO_NEXT case.
9243
9244 2003-03-04  Angus Leeming  <leeming@lyx.org>
9245
9246         * commandtags.h:
9247         * LyXAction.C: new LFUN_INSET_MODIFY.
9248
9249         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9250         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9251
9252 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9253
9254         * several files: ws changes only
9255
9256         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9257         (TeXEnvironment): ditto
9258         (TeXDeeper): ditto
9259
9260         * buffer.C (makeLaTeXFile): adjust
9261         (latexParagraphs): make it take ParagraphList::iterator as args
9262
9263 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9264
9265         * buffer.C (latexParagraphs): adjust
9266
9267         * paragraph.C (TeXOnePar): move function...
9268         (optArgInset): move function...
9269         (TeXEnvironment): move function...
9270         * paragraph_pimpl.C (TeXDeeper): move function...
9271         * paragraph_funcs.C: ...here
9272
9273         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9274
9275 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9276
9277         * buffer.C (readInset): remove compability code for old Figure and
9278         InsetInfo insets
9279
9280 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9281
9282         * buffer.C: ws changes
9283         (readInset):
9284
9285         * BufferView_pimpl.C: ditto
9286         * author.C: ditto
9287         * buffer.h: ditto
9288         * bufferlist.h: ditto
9289         * changes.h: ditto
9290         * lyxfunc.C: ditto
9291
9292 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9293
9294         * converter.[Ch]: split into itself +
9295         * graph.[Ch]
9296         * format.[Ch]
9297         * Makefile.am: += graph.[Ch] + format.[Ch]
9298         * MenuBackend.C
9299         * buffer.C
9300         * exporter.C
9301         * importer.C
9302         * lyx_main.C
9303         * lyxfunc.C
9304         * lyxrc.C: added #include "format.h"
9305
9306 2003-02-27  Angus Leeming  <leeming@lyx.org>
9307
9308         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9309           a label.
9310
9311         * factory.C (createInset): add "label" to the factory.
9312
9313         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9314           string and do no more.
9315
9316 2003-02-27  Angus Leeming  <leeming@lyx.org>
9317
9318         * commandtags.h:
9319         * LyXAction.C (init):
9320         * factory.C (createInset):
9321         * BufferView_pimpl.C (dispatch):
9322           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9323
9324         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9325
9326         * lyxfunc.C (dispatch):
9327         * text3.C (dispatch): pass name to params2string.
9328
9329 2003-02-26  Angus Leeming  <leeming@lyx.org>
9330
9331         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9332           blocks together.
9333           Rearrange the ~includes. Strip out the unnecessary ones.
9334
9335         * factory.C (createInset): reformat.
9336           create new insets for the various LFUN_XYZ_APPLY lfuns.
9337
9338 2003-02-26  John Levon  <levon@movementarian.org>
9339
9340         * lyxrow.h:
9341         * lyxrow.C: add isParStart,isParEnd helpers
9342
9343         * paragraph.h: make isInserted/DeletedText take refs
9344
9345         * paragraph_funcs.h:
9346         * paragraph_funcs.C: remove #if 0'd code
9347
9348         * lyxtext.h:
9349         * text3.C:
9350         * text2.C:
9351         * text.C: use lyxrow helpers above.
9352           Move draw and paint routines to RowPainter.
9353           Make several methods use refs not pointers.
9354           Make backgroundColor() const.
9355           Add markChangeInDraw(), isInInset().
9356           Merge changeRegionCase into changeCase.
9357           Make workWidth() shouldn't-happen code into an Assert.
9358
9359         * rowpainter.h:
9360         * rowpainter.C: new class for painting a row.
9361
9362         * vspace.h:
9363         * vspace.C: make inPixels take a ref
9364
9365 2003-02-26  Angus Leeming  <leeming@lyx.org>
9366
9367         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9368         LFUN_REF_APPLY.
9369
9370 2003-02-25  John Levon  <levon@movementarian.org>
9371
9372         * ispell.C: give the forked command a more accurate name
9373
9374 2003-02-22  John Levon  <levon@movementarian.org>
9375
9376         * toc.h:
9377         * toc.C: make TocItem store an id not a Paragraph *
9378           (bug #913)
9379
9380 2003-02-21  Angus Leeming  <leeming@lyx.org>
9381
9382         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9383           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9384           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9385           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9386           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9387           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9388
9389         * BufferView_pimpl.C (dispatch):
9390         * LyXAction.C (init):
9391         * factory.C (createInset):
9392         * lyxfunc.C (getStatus, dispatch):
9393         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9394
9395 2003-02-21  Angus Leeming  <leeming@lyx.org>
9396
9397         * BufferView_pimpl.C (MenuInsertLyXFile):
9398         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9399         * lyxfunc.C (menuNew, open, doImport):
9400           no longer pass a LyXView & to fileDlg.
9401
9402 2003-02-21  Angus Leeming  <leeming@lyx.org>
9403
9404         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9405         * LyXAction.C: change, BIBKEY to BIBITEM.
9406         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9407         Change InsetBibKey to InsetBibitem.
9408         Change BIBKEY_CODE to BIBITEM_CODE.
9409         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9410         * factory.C: replace insetbib.h with insetbibitem.h.
9411         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9412         * paragraph.C: replace insetbib.h with insetbibitem.h.
9413         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9414         Change bibkey() to bibitem().
9415         * text.C: remove insetbib.h.
9416         * text2.C: replace insetbib.h with insetbibitem.h.
9417         change bibkey() to bibitem().
9418         * text3.C: remove insetbib.h.
9419         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9420
9421 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9422
9423         * lyxrc.C (output): enclose user email in quotes (in case there are
9424         several words)
9425
9426 2003-02-18  John Levon  <levon@movementarian.org>
9427
9428         * buffer.h: add std::
9429
9430 2003-02-17  John Levon  <levon@movementarian.org>
9431
9432         * SpellBase.h:
9433         * ispell.h:
9434         * ispell.C:
9435         * pspell.h:
9436         * pspell.C: reworking. Especially in ispell, a large
9437           number of clean ups and bug fixes.
9438
9439         * lyxfunc.C: fix revert to behave sensibly
9440
9441 2003-02-17 André Pönitz <poenitz@gmx.net>
9442
9443         * LyXAction.C:
9444         * commandtags.h: new LFUN_INSERT_BIBKEY
9445
9446         * layout.h:
9447         * lyxlayout.C:
9448         * buffer.C:
9449         * factory.C:
9450         * text.C:
9451         * text2.C:
9452         * text3.C:
9453         * paragraph.[Ch]:
9454         * paragraph_func.C: remove special bibkey handling
9455
9456 2003-02-17  John Levon  <levon@movementarian.org>
9457
9458         * text.C (Delete): fix case where delete at the end of
9459           the very first paragraph would not merge the pars
9460
9461 2003-02-17  John Levon  <levon@movementarian.org>
9462
9463         * lyxrow.C: fix lastPrintablePos()
9464
9465 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9466
9467         * bufferparams.C (writeLaTeX): add a std:here
9468
9469         * buffer.C: and remove a using directive there
9470
9471 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9472
9473         * buffer.C (makeLaTeXFile): move the code that generates the
9474           preamble...
9475
9476         * bufferparams.C (writeLaTeX): ... in this new method
9477
9478         * LaTeXFeatures.C (getEncodingSet): make const
9479           (getLanguages): make const
9480
9481         * MenuBackend.C (binding): returns the binding associated to this
9482           action
9483           (add): sets the status of each item by calling getStatus. Adds
9484           some intelligence.
9485           (read): add support for OptSubMenu
9486           (expand): remove extra separator at the end of expanded menu
9487
9488 2003-02-15  John Levon  <levon@movementarian.org>
9489
9490         * BufferView.C:
9491         * BufferView_pimpl.C:
9492         * bufferlist.h:
9493         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9494           inset code that had no actual effect. Remove unneeded status
9495           code.
9496
9497 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9498
9499         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9500           in preamble
9501
9502 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9503
9504         * text.C (drawLengthMarker): also draw an arrow marker for
9505           symbolic lengths (medskip...)
9506
9507 2003-02-14  John Levon  <levon@movementarian.org>
9508
9509         * tabular.h:
9510         * tabular.C: better method names
9511
9512 2003-02-14  John Levon  <levon@movementarian.org>
9513
9514         * BufferView_pimpl.C:
9515         * bufferlist.C:
9516         * buffer.C:
9517         * converter.C:
9518         * lyx_cb.C:
9519         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9520           it's a more accurate name. Remove some pointless uses.
9521
9522 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9523
9524         * text2.C (LyXText): change order of initilizers to shut off
9525           warnings
9526
9527 2003-02-14  John Levon  <levon@movementarian.org>
9528
9529         * buffer.C: use ParIterator for getParFromID()
9530
9531         * paragraph.h:
9532         * paragraph.C:
9533         * paragraph_pimpl.h:
9534         * paragraph_pimpl.C: remove unused getParFromID()
9535
9536 2003-02-14  John Levon  <levon@movementarian.org>
9537
9538         * buffer.C: remove some very old #if 0'd parse code
9539
9540 2003-02-13  John Levon  <levon@movementarian.org>
9541
9542         * text.h:
9543         * text.C:
9544         * text2.C: move hfillExpansion(), numberOfSeparators(),
9545           rowLast(), rowLastPrintable(), numberofHfills(),
9546           numberOfLabelHfills() ...
9547
9548         * lyxrow.h:
9549         * lyxrow.C: ... to member functions here.
9550
9551         * paragraph.h:
9552         * paragraph.C:
9553         * lyxtext.h:
9554         * text.C: remove LyXText::beginningOfMainBody(), and call
9555           p->beginningOfMainBody() directly. Move the check for
9556           LABEL_MANUAL into the latter.
9557
9558         * text.h:
9559         * text.C:
9560         * text2.C:
9561         * vspace.C:
9562         * BufferView.h:
9563         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9564
9565         * text.h:
9566         * text.C:
9567         * text2.C:
9568         * text3.C:
9569         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9570           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9571
9572 2003-02-13  John Levon  <levon@movementarian.org>
9573
9574         * CutAndPaste.C: remove debug
9575
9576 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9577
9578         * paragraph.C (asString): remove two unused variables
9579
9580         * lyxtextclass.C (readTitleType):
9581           (Read):
9582           (LyXTextClass): handle new members titletype_ and titlename_
9583
9584         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9585
9586 2003-02-09  John Levon  <levon@movementarian.org>
9587
9588         * buffer.h:
9589         * buffer.C: replace hand-coded list with a map for the dep clean
9590
9591 2003-02-08  John Levon  <levon@movementarian.org>
9592
9593         * LaTeX.C: consolidate code into showRunMessage() helper
9594
9595 2003-02-08  John Levon  <levon@movementarian.org>
9596
9597         * lyxfind.C:
9598         * lyxtext.h:
9599         * text2.C:
9600         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9601           and pass the size in explicitly
9602
9603         * BufferView_pimpl.h:
9604         * BufferView_pimpl.C:
9605         * BufferView.h:
9606         * BufferView.C: add getCurrentChange()
9607
9608         * BufferView_pimpl.h:
9609         * BufferView_pimpl.C: handle change lfuns
9610
9611         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9612           for changes. Mark pasted paragraphs as new.
9613
9614         * support/lyxtime.h:
9615         * support/lyxtime.C:
9616         * DepTable.C: abstract time_t as lyx::time_type
9617
9618         * LColor.h:
9619         * LColor.C: add colours for new text, deleted text, changebars
9620
9621         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9622           package use "usenames" option.
9623
9624         * commandtags.h:
9625         * lyxfunc.C:
9626         * LyXAction.C: add change lfuns
9627
9628         * Makefile.am:
9629         * author.h:
9630         * author.C: author handling
9631
9632         * buffer.h:
9633         * buffer.C: add a per-buffer author list, with first entry as
9634           current author. Handle new .lyx tokens for change tracking. Output
9635           author list to .lyx file. Output dvipost stuff to .tex preamble.
9636           Bump lyx format to 222.
9637
9638         * bufferlist.h:
9639         * bufferlist.C: add setCurrentAuthor() to reset current author details
9640           in all buffers.
9641
9642         * bufferparams.h:
9643         * bufferparams.C: add param for tracking
9644
9645         * bufferview_funcs.C: output change info in minibuffer
9646
9647         * Makefile.am:
9648         * changes.h:
9649         * changes.C: add change-tracking structure
9650
9651         * debug.h:
9652         * debug.C: add CHANGES debug flag
9653
9654         * lyxfind.h:
9655         * lyxfind.C: add code for finding the next change piece
9656
9657         * lyxrc.h:
9658         * lyxrc.C: add user_name and user_email
9659
9660         * lyxrow.h:
9661         * lyxrow.C: add a metric for the top of the text line
9662
9663         * lyxtext.h:
9664         * text.C: implement accept/rejectChange()
9665
9666         * lyxtext.h:
9667         * text.C: paint changebars. Paint new/deleted text in the chosen
9668         colours. Strike through deleted text.
9669
9670         * paragraph.h:
9671         * paragraph.C:
9672         * paragraph_pimpl.h:
9673         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9674           in the current change to the insert functions. Rework erase to
9675           mark text as deleted, adding an eraseIntern() and a range-based
9676           erase(). Implement per-paragraph change lookup and
9677           accept/reject.
9678
9679         * paragraph_funcs.C: Fixup paste for change tracking.
9680
9681         * tabular.C: mark added row/columns as new.
9682
9683         * text.C: fix rowLast() to never return -1. Don't allow
9684           spellchecking of deleted text. Track transpose changes. Don't
9685           allow paragraph break or merge where appropriate.
9686
9687         * text2.C: leave cursor at end of selection after a cut.
9688
9689 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9690
9691         * text.C (getLengthMarkerHeight):
9692         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9693         visible on screen too.
9694
9695 2003-02-07  John Levon  <levon@movementarian.org>
9696
9697         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9698
9699 2003-02-05  Angus Leeming  <leeming@lyx.org>
9700
9701         * lyxserver.C (read_ready): revert my patch of 11 September last year
9702         as it sends PC cpu through the roof. Presumably this means that
9703         the lyxserver will no longer run on an Alpha...
9704
9705 2003-01-30  Angus Leeming  <leeming@lyx.org>
9706
9707         * factory.C (createInset): create an InsetCommandParam of type "index"
9708         and use it to 'do the right thing'.
9709
9710         * text2.C (getStringToIndex): ensure that cursor position is always
9711         reset to the reset_cursor position.
9712
9713 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9714
9715         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9716         disabled.
9717
9718 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9719
9720         * bufferview.C:
9721         * lyxcb.C:
9722         * lyxfunc.C: Output messages with identical spelling, punctuation,
9723         and spaces
9724
9725 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9726
9727         * MenuBackend.C (expandFormats): List only viewable export formats
9728         in "View" menu
9729
9730         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9731         message
9732
9733         * lyxfunc.C (getStatus): Make sure that formats other than
9734         "fax" can also be disabled
9735
9736 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9737
9738         * text3.C (dispatch): put the lfuns that insert insets in 3
9739         groups, and call doInsertInset with appropriate arguments.
9740         (doInsertInset): new function, that creates an inset and inserts
9741         it according to some boolean parameters.
9742
9743 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9744
9745         * buffer.C (readFile): remember to pass on 'par' when calling
9746         readFile recursively.
9747
9748 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9749
9750         * MenuBackend.C (expandFormats): add "..." to import formats.
9751
9752 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9753
9754         * paragraph.C (asString): Remove XForms RTL hacks.
9755
9756 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9757         * buffer.C: fix typo
9758
9759 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9760
9761         * Makefile.am (LIBS): delete var
9762         (lyx_LDADD): add @LIBS@ here instead.
9763
9764 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9765
9766         * Clarify the meaning of "wheel mouse jump"
9767
9768 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9769
9770         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9771         tabular in a float
9772
9773 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9774
9775         * importer.C (Loaders): do not preallocate 3 elements in the
9776         vector, since one ends up with 6 elements otherwise
9777
9778 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9779
9780         * DepTable.C (write): write the file name as last element of the
9781         .dep file (because it may contain spaces)
9782         (read): read info in the right order
9783
9784 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9785
9786         * paragraph_pimpl.C (simpleTeXBlanks):
9787         (simpleTeXSpecialChars):
9788         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9789
9790         * tabular.C (latex): add some missing case statements. Reindent.
9791
9792         * MenuBackend.C (expandToc): remove unused variable.
9793
9794 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9795
9796         * LColor.C:
9797         * LaTeX.C:
9798         * LyXAction.C:
9799         * MenuBackend.C:
9800         * buffer.C:
9801         * exporter.C:
9802         * lyxfunc.C:
9803         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9804         and the like.
9805
9806 2003-01-05  John Levon  <levon@movementarian.org>
9807
9808         * BufferView.h:
9809         * BufferView.C: add getEncoding()
9810
9811         * kbsequence.h:
9812         * kbsequence.C: do not store last keypress
9813
9814         * lyxfunc.h:
9815         * lyxfunc.C: store last keypress here instead. Pass encoding
9816           to getISOEncoded()
9817
9818 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9819
9820         * lyx_main.C (init): remove annoying error message when following
9821         symbolic links (bug #780)
9822
9823 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9824
9825         * text.C (insertChar):
9826         * lyxrc.C (getDescription): remove extra spaces
9827
9828 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9829
9830         * lyxrc.C (getDescription): remove extra spaces
9831
9832 2002-12-20  John Levon  <levon@movementarian.org>
9833
9834         * text3.C: hack fix for page up/down across tall rows
9835
9836 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9837
9838         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9839         not been invoked
9840
9841 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9842
9843         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9844         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9845         thesaurus is not compiled in
9846
9847 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9848
9849         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9850
9851 2002-12-16  Angus Leeming  <leeming@lyx.org>
9852
9853         * lyxrc.[Ch]:
9854         * lyx_main.C (init): remove override_x_deadkeys stuff.
9855
9856 2002-12-12  John Levon  <levon@movementarian.org>
9857
9858         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9859           insert. Only remove shift modifier under strict
9860           circumstances.
9861
9862 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9863
9864         * MenuBackend.C (expandToc): fix crash.
9865
9866 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9867
9868         * MenuBackend.C (expandToc): gettext on float names.
9869
9870 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9871
9872         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9873         implement bool empty() [bug 490]
9874
9875 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9876
9877         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9878
9879 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9880
9881         * several files: ws changes
9882
9883 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9884
9885         * text2.C (setCounter): clean up a bit, use boost.format.
9886         (updateCounters): initialize par upon declaration.
9887
9888         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9889         if the layout exists. We do not just store the layout any more.
9890         (SwitchLayoutsBetweenClasses): use boost.format
9891
9892 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9893
9894         * converter.C (convert): if from and to files are the same, use a
9895         temporary files as intermediary
9896
9897 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9898
9899         * commandtags.h:
9900         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9901
9902 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9903
9904         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9905
9906 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9907
9908         * tabular.C (asciiPrintCell): use string(size, char) instead of
9909         explicit loop.
9910
9911         * sgml.C (openTag): fix order of arguments to string constructor
9912         (closeTag): ditto
9913
9914         * lyxfunc.C (dispatch): use boost.format
9915
9916         * lots of files: change "c" -> 'c'
9917
9918 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9919
9920         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9921
9922 2002-11-25  Angus Leeming  <leeming@lyx.org>
9923
9924         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9925
9926         * lyx_main.C (init): compile fix.
9927
9928 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9929
9930         * lyx_cb.C (start): boost.formatify
9931         do not include <iostream>
9932
9933         * lengthcommon.C: ws only
9934
9935         * boost-inst.C,BoostFormat.h: add more explict instantations
9936
9937 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9938
9939         * lots of files: handle USE_BOOST_FORMAT
9940
9941 2002-11-21  John Levon  <levon@movementarian.org>
9942
9943         * pspell.C: fix compile
9944
9945 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9946
9947         * lyxfunc.C (dispatch): use boost::format
9948         (open): ditto
9949         (doImport): ditto
9950
9951         * lyxfont.C (stateText): use boost::format
9952
9953         * lyx_main.C (LyX): use boost::format
9954         (init): ditto
9955         (queryUserLyXDir): ditto
9956         (readRcFile): ditto
9957         (parse_dbg): ditto
9958         (typedef boost::function): use the recommened syntax.
9959
9960         * importer.C (Import): use boost::format
9961
9962         * debug.C (showLevel): use boost::format
9963
9964         * converter.C (view): use boost::format
9965         (convert): ditto
9966         (move): ditto
9967         (scanLog): ditto
9968
9969         * bufferview_funcs.C (currentState): use boost::format
9970
9971         * bufferlist.C (emergencyWrite): use boost::format
9972
9973         * buffer.C (readLyXformat2): use boost::format
9974         (parseSingleLyXformat2Token): ditto
9975
9976         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9977
9978         * LaTeX.C (run): use boost::format
9979
9980         * Chktex.C (scanLogFile): use boost::format
9981
9982         * BufferView_pimpl.C (savePosition): use boost::format
9983         (restorePosition): ditto
9984         (MenuInsertLyXFile): ditto
9985
9986         * BoostFormat.h: help file for explicit instation.
9987
9988 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9989
9990         * tabular.C (latex): Support for block alignment in fixed width
9991         columns.
9992
9993 2002-11-17  John Levon  <levon@movementarian.org>
9994
9995         * BufferView_pimpl.C:
9996         * lyx_cb.C:
9997         * lyxfunc.C: split filedialog into open/save
9998
9999 2002-11-08  Juergen Vigna  <jug@sad.it>
10000
10001         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10002         by my last patch (hopefully).
10003
10004 2002-11-08  John Levon  <levon@movementarian.org>
10005
10006         * iterators.h:
10007         * iterators.C:
10008         * buffer.h:
10009         * buffer.C:
10010         * paragraph.h:
10011         * paragraph.C:
10012         * toc.h:
10013         * toc.C: ParConstIterator, and use it (from Lars)
10014
10015 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10016
10017         * lyxtextclass.[Ch]: revise and add doxygen comments
10018
10019 2002-11-07  John Levon  <levon@movementarian.org>
10020
10021         * text.C: fix progress value for spellchecker
10022
10023         * toc.C: fix navigate menu for insetwrap inside minipage
10024
10025         * paragraph_funcs.C: added FIXME for suspect code
10026
10027 2002-11-07  John Levon  <levon@movementarian.org>
10028
10029         * BufferView_pimpl.C: fix redrawing of insets
10030           on buffer switch
10031
10032 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10033
10034         * text2.C (updateCounters): fix bug 668
10035
10036 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10037
10038         * text3.C (dispatch): Do not make the buffer dirty when moving the
10039         cursor.
10040
10041 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10042
10043         * vc-backend.C: STRCONV
10044         (scanMaster): ditto
10045
10046         * text2.C (setCounter): STRCONV
10047
10048         * paragraph.C (asString): STRCONV
10049
10050         * lyxlength.C (asString): STRCONV
10051         (asLatexString): ditto
10052
10053         * lyxgluelength.C (asString): STRCONV
10054         (asLatexString): ditto
10055
10056         * lyxfunc.C (dispatch): STRCONV
10057         (open): ditto
10058
10059         * lyxfont.C (stateText): STRCONV
10060
10061         * importer.C (Import): STRCONV
10062
10063         * counters.C (labelItem): STRCONV
10064         (numberLabel): ditto
10065         (numberLabel): remove unused ostringstream o
10066
10067         * chset.C: STRCONV
10068         (loadFile): ditto
10069
10070         * bufferview_funcs.C (currentState): STRCONV
10071
10072         * buffer.C (readFile): STRCONV
10073         (asciiParagraph): ditto
10074         (makeLaTeXFile): ditto
10075
10076         * Spacing.C (writeEnvirBegin): STRCONV
10077
10078         * LaTeXFeatures.C (getLanguages): STRCONV
10079         (getPackages): ditto
10080         (getMacros): ditto
10081         (getBabelOptions): ditto
10082         (getTClassPreamble): ditto
10083         (getLyXSGMLEntities): ditto
10084         (getIncludedFiles): ditto
10085
10086         * LaTeX.C: STRCONV
10087         (run): ditto
10088         (scanAuxFile): ditto
10089         (deplog): ditto
10090
10091         * LString.h: add the STRCONV macros
10092
10093         * BufferView_pimpl.C (savePosition): STRCONV
10094         (restorePosition): ditto
10095         (MenuInsertLyXFile): ditto
10096
10097         * vc-backend.C (scanMaster): change from submatch[...] to
10098         submatch.str(...)
10099
10100         * funcrequest.C: include config.h
10101
10102         * factory.C: include config.h
10103
10104         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10105
10106         * box.C: include config.h
10107
10108         * LaTeX.C (scanAuxFile): change from submatch[...] to
10109         submatch.str(...)
10110         (deplog): ditto
10111
10112 2002-10-25  Angus Leeming  <leeming@lyx.org>
10113
10114         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10115
10116         * ispell.[Ch] (setError): new method.
10117         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10118         Use setError() insetead of goto END.
10119
10120         * lyx_cb.C (AutoSave): move out child process into new class
10121         AutoSaveBuffer.
10122
10123 2002-10-30  John Levon  <levon@movementarian.org>
10124
10125         * text3.C: make start appendix undoable
10126
10127 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10128
10129         * lyxlength.C (inPixels): Fix returned value.
10130
10131         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10132         environment.
10133
10134 2002-10-24  Angus Leeming  <leeming@lyx.org>
10135
10136         * lyxgluelength.h: no need to forward declare BufferParams
10137         or BufferView, so don't.
10138
10139 2002-10-21  John Levon  <levon@movementarian.org>
10140
10141         * BufferView.C: menuUndo ->undo, redo
10142
10143         * BufferView.h: document, remove dead, make some methods private
10144
10145         * paragraph_funcs.h:
10146         * paragraph_funcs.C:
10147         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10148
10149         * buffer.h:
10150         * buffer.C:
10151         * sgml.h:
10152         * sgml.C: move sgml open/close tag into sgml.C
10153
10154         * bufferview_funcs.h: unused prototype
10155
10156         * lyxfunc.h:
10157         * lyxfunc.C: remove unused
10158
10159         * lyxtext.h:
10160         * text.C: remove unused
10161
10162 2002-10-21  John Levon  <levon@movementarian.org>
10163
10164         * BufferView.h:
10165         * BufferView.C:
10166         * BufferView_pimpl.h:
10167         * BufferView_pimpl.C: fix mouse wheel handling based on
10168           patch from Darren Freeman
10169
10170 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10171
10172         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10173
10174 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10175
10176         * lyxlength.C (inPixels): Fix hanfling of negative length.
10177         Fix LyXLength::MU case.
10178
10179 2002-10-16  John Levon  <levon@movementarian.org>
10180
10181         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10182
10183 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10184
10185         * converter.C (view): add support for $$i (file name) and $$p
10186         (file path) for the viewer command. If $$i is not specified, then
10187         it is appended to the command (for compatibility with old syntax)
10188
10189 2002-10-14  Juergen Vigna  <jug@sad.it>
10190
10191         * undo_funcs.C (textHandleUndo): alter the order in which the
10192         new undopar is added to the LyXText, as we have to set first
10193         the right prev/next and then add it as otherwise the rebuild of
10194         LyXText is not correct. Also reset the cursor to the right paragraph,
10195         with this IMO we could remove the hack in "redoParagraphs()".
10196
10197 2002-10-09  Angus Leeming  <leeming@lyx.org>
10198
10199         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10200         to turn off an optimisation if a new inset is to be inserted.
10201
10202 2002-10-11 André Pönitz <poenitz@gmx.net>
10203
10204         * lyxtext.h: make some functions public to allow access
10205         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10206
10207 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10208
10209         * text3.C (dispatch): when changing layout, avoid an infinite loop
10210         [bug #652]
10211
10212 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10213
10214         * lyxrc.C (read): treat a viewer or converter command of "none" as
10215         if it were empty.
10216
10217         * MenuBackend.C (expandFormats): for an update, also allow the
10218         formats that are not viewable
10219
10220         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10221         script if it is newer than the lyxrc.defaults in user directory
10222
10223 2002-10-07 André Pönitz <poenitz@gmx.net>
10224
10225         * text.C: Vitaly Lipatov's small i18n fix
10226
10227 2002-09-25  Angus Leeming  <leeming@lyx.org>
10228
10229         * ispell.h: doxygen fix.
10230
10231 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10232
10233         * buffer.h (readFile): Add a new argument to the method, to allow
10234         reading of old-format templates.
10235
10236 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10237
10238         * toc.C (getTocList): Get TOC from InsetWrap.
10239
10240 2002-09-16  John Levon  <levon@movementarian.org>
10241
10242         * lyxfunc.C: check tabular for cut/copy too
10243
10244 2002-09-12  John Levon  <levon@movementarian.org>
10245
10246         * LyXAction.C: tidy
10247
10248         * factory.h:
10249         * factory.C: add header
10250
10251         * paragraph_funcs.h:
10252         * paragraph_funcs.C: cleanup
10253
10254 2002-09-11  John Levon  <levon@movementarian.org>
10255
10256         * PrinterParams.h: odd/even default to true
10257
10258 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10259
10260         * PrinterParams.h: update printer parameters for new xforms dialog
10261
10262 2002-09-11  Angus Leeming  <leeming@lyx.org>
10263
10264         * lyxserver.C (read_ready): re-write to make it more transparent
10265         and to make it work in coherent fashion under Tru64 Unix.
10266
10267 2002-09-11  André Pönitz <poenitz@gmx.net>
10268
10269         * commandtags.h:
10270         * LyXAction.C:
10271         * text3.C: implement LFUN_WORDSEL
10272
10273 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10274
10275         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10276         make floatlist_ a boost::shared_ptr<FloatList>
10277
10278         * lyxtextclass.C: include FloatList.h
10279         (LyXTextClass): initialize floatlist_
10280         (TextClassTags): add TC_NOFLOAT
10281         (Read): match "nofloat" to TC_NOFLOAT and use it.
10282         (readFloat): modify call to floatlist_
10283         (floats): ditto
10284         (floats): ditto
10285
10286         * FloatList.[Ch] (FloatList): remove commented out float
10287         initialization.
10288         (erase): new function
10289
10290 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10291
10292         * MenuBackend.C (expandToc): fix crash when there is no document
10293         open
10294
10295 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10296
10297         * many files: Add insetwrap.
10298
10299 2002-09-09  John Levon  <levon@movementarian.org>
10300
10301         * text2.C: remove confusing and awkward depth wraparound
10302
10303 2002-09-09  John Levon  <levon@movementarian.org>
10304
10305         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10306
10307         * buffer.h:
10308         * buffer.C: remove getIncludeonlyList()
10309
10310         * paragraph.C:
10311         * lyxfunc.C: remove headers
10312
10313 2002-09-09  Juergen Vigna  <jug@sad.it>
10314
10315         * text.C (getColumnNearX): fix form Michael this is most
10316         probably a cut&paste bug.
10317
10318 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10319
10320         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10321
10322         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10323         references, ws changes.
10324
10325         * text2.C (init): update counters after init
10326         (insertParagraph): no need to set counter on idividual paragraphs.
10327         (setCounter): access the counters object in the textclass object
10328         on in the buffer object.
10329         (updateCounters): ditto
10330
10331         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10332         shared_ptr<Counters> to avoid loading counters.h in all
10333         compilation units.
10334         (LyXTextClass): initialize ctrs_
10335         (TextClassTags): add TC_COUNTER, and ...
10336         (Read): use it here.
10337         (CounterTags): new tags
10338         (readCounter): new function
10339         (counters): new funtion
10340         (defaultLayoutName): return a const reference
10341
10342         * counters.C (Counters): remove contructor
10343         (newCounter): remove a couple of unneeded statements.
10344         (newCounter): simplify a bit.
10345         (numberLabel): some small formatting changes.
10346
10347         * buffer.[Ch]: remove all traces of counters, move the Counters
10348         object to the LyXTextClass.
10349
10350 2002-09-06  Alain Castera  <castera@in2p3.fr>
10351
10352         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10353         package to set the horizontal alignment on fixed width columns.
10354
10355         * lyx_sty.C:
10356         * lyx_sty.h: added tabularnewline macro def.
10357
10358         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10359
10360 2002-09-06  John Levon  <levon@movementarian.org>
10361
10362         * LyXAction.C: tooltips for sub/superscript
10363
10364         * MenuBackend.C: a bit more verbose
10365
10366         * lyxfunc.C: tiny clean
10367
10368         * undo_funcs.C: document undo_frozen
10369
10370 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10371
10372         * counters.C (Counters): add missing algorithm counter.
10373
10374         * text2.C (setCounter): lookup the counter with layouts latexname
10375         instead of by section number.
10376         (setCounter): use a hackish way to lookup the correct enum
10377         counter.
10378         a float name->type change
10379         reset enum couners with counter name directly instead of depth value.
10380
10381         * counters.C (Counters): remove the push_backs, change to use the
10382         float type not the float name.
10383         (labelItem): remove unused string, float name->type change
10384
10385         * counters.h: don't include vector, loose the enums and sects vectors
10386
10387 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10388
10389         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10390         (Read): add float->TC_FLOAT to textclassTags
10391         (Read): and handle it in the switch
10392         (readFloat): new function
10393
10394         * FloatList.C (FloatList): comment out the hardcoded float
10395         definitions.
10396
10397         * lyxlayout.h: ws change.
10398
10399 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10400
10401         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10402
10403 2002-09-03  Angus Leeming  <leeming@lyx.org>
10404
10405         * BufferView_pimpl.h: qualified name is not allowed in member
10406         declaration: WorkArea & Pimpl::workarea() const;
10407
10408         * factory.C: added using std::endl directive.
10409
10410         * text3.C: added using std::find and std::vector directives.
10411
10412 2002-08-29  André Pönitz <poenitz@gmx.net>
10413
10414         * lyxtext.h:
10415         * text2.C: remove unused member number_of_rows
10416
10417         * Makefile.am:
10418         * BufferView2.C: remove file, move contents to...
10419         * BufferView.C: ... here
10420
10421         * BufferView_pimpl.C:
10422         * factory.C: move more inset creation to factory
10423
10424         * vspace.C: avoid direct usage of LyXText, ws changes
10425
10426         * BufferView.[Ch]:
10427                 don't provide direct access to WorkArea, use two simple
10428                 acessors haveSelction() and workHeight() instead
10429
10430
10431 2002-08-29  John Levon  <levon@movementarian.org>
10432
10433         * BufferView_pimpl.C (dispatch): do not continue when
10434           no buffer
10435
10436 2002-08-28  André Pönitz <poenitz@gmx.net>
10437
10438         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10439
10440         * BufferView.h:
10441         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10442
10443 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10444
10445         * buffer.C: increment LYX_FORMAT to 221
10446
10447         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10448         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10449
10450         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10451
10452         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10453
10454 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10455
10456         * factory.C (createInset): use LyXTextClass::floats
10457
10458         * MenuBackend.C (expandFloatListInsert):
10459         (expandFloatInsert):
10460         (expandToc):
10461
10462         * text2.C (setCounter):
10463
10464         * LaTeXFeatures.C (useFloat):
10465         (getFloatDefinitions):
10466
10467         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10468
10469         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10470         floatlist_, with accessor floats().
10471
10472         * FloatList.h: remove global FloatList
10473
10474 2002-08-26  André Pönitz <poenitz@gmx.net>
10475
10476         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10477
10478         * BufferView.h:
10479         * BufferView2.C:
10480         * BufferView_pimpl.C:
10481         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10482
10483 2002-08-25  John Levon  <levon@movementarian.org>
10484
10485         * LyXAction.C: fix margin note description
10486
10487 2002-08-24  John Levon  <levon@movementarian.org>
10488
10489         * buffer.C:
10490         * bufferlist.C:
10491         * bufferview_funcs.C:
10492         * lyxfont.C:
10493         * undo_funcs.C: cleanups
10494
10495         * lyxfunc.C: disable CUT/COPY when no selection
10496
10497 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10498
10499         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10500         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10501
10502         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10503         Add backward compatibility to "mono", "gray" and "no".
10504
10505 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10506
10507         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10508         (and file_format >= 200).
10509
10510 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10511
10512         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10513
10514 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10515
10516         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10517
10518 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10519
10520         * BufferView_pimpl.C:
10521         * LyXAction.C:
10522         * buffer.C:
10523         * commandtags.h:
10524         * lyxfunc.C:
10525         * paragraph.[Ch]:
10526         * text2.C:
10527         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10528         inset and code to make it  work with the paragraph code. The inset
10529         can be anywhere in the paragraph, but will only do the expected
10530         thing in LaTeX if the layout file contains the parameter line
10531                         OptionalArgs    1
10532         (or more generally, a nonzero value) for that layout.
10533
10534 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10535
10536         * paragraph.h: remove the declaration of undefined counters class
10537         function.
10538
10539 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10540
10541         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10542         Dr. Richard Hawkins.
10543
10544 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10545
10546         * paragraph_funcs.h: remove some unneeded includes
10547
10548         * text.C (backspace): pasteParagraph now in global scipe
10549
10550         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10551         (pasteSelection): ditto
10552
10553         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10554         * paragraph_funcs.C (pasteParagraph): ... here
10555
10556 2002-08-20  André Pönitz <poenitz@gmx.net>
10557
10558         * commandtags.h: new LFUNs for swapping/copying table row/colums
10559
10560         * LyXAction.C:
10561         * lyxfunc.C: support for new lfuns
10562
10563 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10564
10565         * tabular.C:
10566         * buffer.[Ch]: remove NO_COMPABILITY stuff
10567
10568 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10569
10570         * boost.C (throw_exception): new file, with helper function for
10571         boost compiled without exceptions.
10572
10573         * paragraph.h:
10574         * lyxlength.C:
10575         * buffer.C:
10576         * ParameterStruct.h:
10577         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10578
10579         * bufferlist.C (emergencyWriteAll): use boost bind
10580
10581         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10582
10583         * text.C: include paragraph_funcs.h
10584         (breakParagraph): breakParagraph is now in global scope
10585
10586         * paragraph_funcs.[Ch]: new files
10587
10588         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10589         global scope
10590
10591         * buffer.C: include paragraph_funcs.h
10592         (insertStringAsLines): breakParagraph is now in global scope
10593
10594         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10595         paragraph_funcs.C
10596
10597         * CutAndPaste.C: include paragraph_funcs.h
10598         (cutSelection): breakParagraphConservative is now in global scope
10599         (pasteSelection): ditto
10600
10601         * buffer.h: declare oprator== and operator!= for
10602         Buffer::inset_iterator
10603
10604         * bufferlist.C (emergencyWrite): don't use fmt(...)
10605
10606         * text3.C: add using std::endl
10607
10608         * BufferView.C (moveCursorUpdate): remove default arg
10609
10610 2002-08-20  André Pönitz <poenitz@gmx.net>
10611
10612         * buffer.[Ch]: move inline functions to .C
10613
10614         * BufferView2.C:
10615         * BufferView_pimpl.C:
10616         * text.C:
10617         * buffer.[Ch]: use improved inset_iterator
10618
10619         * buffer.C:
10620         * paragraph.[Ch]: write one paragraph at a time
10621
10622 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10623
10624         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10625         style if style is not specified.
10626
10627 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10628
10629         * text2.C (setCounter): when searching for right label for a
10630         caption, make sure to recurse to parent insets (so that a caption
10631         in a minipage in a figure float works) (bug #568)
10632
10633 2002-08-20  André Pönitz <poenitz@gmx.net>
10634
10635         * text3.C: new file for LyXText::dispatch() and helpers
10636
10637         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10638
10639         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10640
10641 2002-08-19  André Pönitz <poenitz@gmx.net>
10642
10643         * lyxtext.h:
10644         * text.C: new LyXText::dispatch()
10645
10646         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10647
10648 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10649
10650         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10651
10652         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10653         Hebrew text.
10654
10655 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10656
10657         * Makefile.am: use $(variables) instead of @substitutions@
10658
10659 2002-08-15  André Pönitz <poenitz@gmx.net>
10660
10661         * lyxfunc.C:
10662         * BufferView_pimpl.C: streamlining mathed <-> outer world
10663         interaction
10664
10665         * commandtags.h:
10666         * LyXAction.C: remove unused LFUN_MATH
10667
10668 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10669
10670         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10671
10672 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10673
10674         * paragraph.C (Paragraph): reformat a bit
10675         (cutIntoMinibuffer): use builtin InsetList function instad of
10676         doing it manually.
10677         (getInset): ditto
10678
10679         * buffer.C: include boost/bind.hpp, add using std::for_each
10680         (writeFileAscii): use ParagraphList iterators
10681         (validate): use for_each for validate traversal of paragraphs
10682         (getBibkeyList): use ParagraphList iterators
10683         (resizeInsets): use for_each to resizeInsetsLyXText for all
10684         paragraphs.
10685         (getParFromID): use ParagraphList iterators
10686
10687         * BufferView2.C (lockInset): use paragraph list and iterators
10688
10689 2002-08-14  John Levon  <levon@movementarian.org>
10690
10691         * lyxserver.C: remove spurious xforms include
10692
10693 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10694
10695         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10696
10697 2002-08-13  André Pönitz <poenitz@gmx.net>
10698
10699         * LyXAction.[Ch]:
10700         * lyxfunc.C: further cleaning
10701
10702 2002-08-13  André Pönitz <poenitz@gmx.net>
10703
10704         * funcrequest.h: new constructor
10705
10706         * funcrequest.C: move stuff here from .h
10707
10708         * Makefile.am:
10709         * BufferView_pimpl.C:
10710         * LyXAction.C:
10711         * toc.C:
10712         * lyxfunc.C: subsequent changes
10713
10714         * lyxfunc.h: new view() member function
10715
10716         * lyxfunc.C: subsequent changes
10717
10718 2002-08-13  Angus Leeming  <leeming@lyx.org>
10719
10720         * BufferView2.C:
10721         * BufferView_pimpl.C:
10722         * buffer.C:
10723         * converter.C:
10724         * importer.C:
10725         * lyxfunc.C:
10726         * lyxvc.C:
10727         * toc.C:
10728         * vc-backend.C:
10729         changes due to the changed LyXView interface that now returns references
10730         to member variables not pointers.
10731
10732 2002-08-13  Angus Leeming  <leeming@lyx.org>
10733
10734         * WordLangTuple (word, lang_code): return references to strings,
10735         not strings.
10736
10737         * BufferView.h:
10738         * SpellBase.h:
10739         * lyxtext.h: forward-declare WordLangTuple.
10740
10741         * BufferView2.C:
10742         * ispell.C:
10743         * pspell.C:
10744         * text.C: #include "WordLangTuple.h".
10745
10746         * lyxtext.h:
10747         * text.C: (selectNextWordToSpellcheck): constify return type.
10748
10749 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10750
10751         * buffer.C:
10752         * buffer.h:
10753         * lyxtext.h:
10754         * paragraph.C:
10755         * paragraph_pimpl.h:
10756         * text.C:
10757         * text2.C:
10758         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10759         suggested by Angus.
10760         Made updateCounter always count from start of buffer, and removed
10761         second argument (par).
10762         Reverted floats number display to '#'. Perhaps I'll try again when the
10763         code base is sanitized a bit.
10764
10765 2002-08-12  Angus Leeming  <leeming@lyx.org>
10766
10767         * buffer.[Ch] (getLabelList): constify.
10768
10769 2002-08-07  André Pönitz <poenitz@gmx.net>
10770
10771         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10772
10773         * funcrequest.h: extension to keep mouse (x,y) position
10774
10775 2002-08-12  Juergen Vigna  <jug@sad.it>
10776
10777         * BufferView2.C (insertErrors): forbid undo when inserting error
10778         insets.
10779
10780         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10781
10782 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10783
10784         * ParagraphList.[Ch]: new files
10785
10786         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10787
10788         * BufferView2.C (lockInset): ParagraphList changes
10789         * toc.C: ditto
10790         * text2.C: ditto
10791         * bufferlist.C: ditto
10792         * buffer.h: ditto
10793         * buffer.C: ditto
10794
10795 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10796
10797         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10798         unused class variable counter_,
10799
10800         * paragraph.[Ch] (getFirstCounter): delete unused function
10801
10802         * counters.C: include LAssert.h
10803         (reset): add a new function with no arg, change other version to
10804         not have def. arg and to not allow empty arg.
10805
10806         * text2.C (setCounter): remove empty arg from call to Counters::reset
10807
10808 2002-08-11  John Levon  <levon@movementarian.org>
10809
10810         * Makefile.am: add WordLangTuple.h
10811
10812 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10813
10814         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10815         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10816
10817         * insets/insettext.C: InsetList changes
10818
10819         * graphics/GraphicsSupport.C (operator()): InsetList changes
10820
10821         * toc.C (getTocList): InsetList changes
10822
10823         * paragraph_pimpl.[Ch]: InsetList changes
10824
10825         * paragraph.[Ch]: InsetList changes
10826
10827         * buffer.C (inset_iterator): InsetList changes
10828         (setParagraph): ditto
10829         * buffer.h (inset_iterator): ditto
10830         * iterators.C (operator++): ditto
10831         * iterators.h: ditto
10832
10833         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10834
10835         * InsetList.[Ch]: new files, most InsetList handling moved out of
10836         paragraph.C.
10837
10838         * BufferView2.C (removeAutoInsets): InsetList changes
10839         (lockInset): ditto
10840         (ChangeInsets): ditto
10841
10842 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10843
10844         * paragraph_pimpl.h (empty): new function
10845
10846         * paragraph.[Ch] (empty): new function
10847
10848         * other files: use the new Paragraph::empty function
10849
10850 2002-08-09  John Levon  <levon@movementarian.org>
10851
10852         * lyxtext.h: remove unused refresh_height
10853
10854 2002-08-09  John Levon  <levon@movementarian.org>
10855
10856         * Makefile.am:
10857         * sgml.h:
10858         * sgml.C:
10859         * buffer.C:
10860         * paragraph.h:
10861         * paragraph.C: move sgml char escaping out of paragraph
10862
10863         * paragraph.h:
10864         * paragraph.C: remove id setter
10865
10866         * buffer.C:
10867         * paragraph.C:
10868         * paragraph_pimpl.C: remove dead tex_code_break_column
10869
10870         * bufferview_funcs.C: small cleanup
10871
10872         * lyxfunc.C: remove dead proto
10873
10874         * lyxtext.h: make some stuff private. Remove some dead stuff.
10875
10876         * lyxgluelength.C: make as[LyX]String() readable
10877
10878 2002-08-08  John Levon  <levon@movementarian.org>
10879
10880         * LyXAction.h:
10881         * LyXAction.C:
10882         * MenuBackend.C:
10883         * ToolbarDefaults.C:
10884         * lyxfunc.C:
10885         * lyxrc.C:
10886         * toc.C: lyxaction cleanup
10887
10888 2002-08-08  John Levon  <levon@movementarian.org>
10889
10890         * BufferView2.C: small cleanup
10891
10892         * lyxfind.h:
10893         * lyxfind.C: move unnecessary header into the .C
10894
10895 2002-08-08  John Levon  <levon@movementarian.org>
10896
10897         * funcrequest.h: just tedious nonsense
10898
10899         * lyx_main.h:
10900         * lyx_main.C: cleanups
10901
10902         * buffer.C:
10903         * vspace.C: remove dead header lyx_main.h
10904
10905 2002-08-07  Angus Leeming  <leeming@lyx.org>
10906
10907         * Paragraph.[Ch]:
10908         * paragraph_pimpl.h:
10909         Forward declare class Counters in paragraph.h by moving the ctrs member
10910         variable into Paragraph::Pimpl.
10911         (counters): new method, returning a reference to pimpl_->ctrs.
10912
10913         * text2.C: ensuing changes.
10914
10915 2002-08-07  John Levon  <levon@movementarian.org>
10916
10917         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10918
10919         * BufferView_pimpl.C: announce X selection on double/triple
10920           click
10921
10922         * lyx_main.C: use correct bool in batch dispatch
10923
10924         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10925
10926 2002-08-07  André Pönitz <poenitz@gmx.net>
10927
10928         * funcrequest.h: new class to wrap a kb_action and its argument
10929
10930         * BufferView.[Ch]:
10931         * BufferView_pimpl[Ch]:
10932         * LaTeX.C:
10933         * LyXAction.[Ch]:
10934         * lyxfunc.[Ch]:
10935         * lyxrc.C: subsequent changes
10936
10937
10938 2002-08-07  John Levon  <levon@movementarian.org>
10939
10940         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10941           document options change.
10942
10943 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10944
10945         * counters.[Ch]
10946         * text2.C
10947         * paragraph.[Ch]
10948         * makefile.am: move counters functionality over from
10949         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10950
10951 2002-08-06  John Levon  <levon@movementarian.org>
10952
10953         * WordLangTuple.h: new file for word + language code tuple
10954
10955         * SpellBase.h:
10956         * pspell.h:
10957         * pspell.C:
10958         * ispell.h:
10959         * ispell.C:
10960         * lyxtext.h:
10961         * text.C:
10962         * text2.C:
10963         * BufferView.h:
10964         * BufferView2.C: use WordLangTuple
10965
10966         * layout.h:
10967         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10968
10969 2002-08-06  John Levon  <levon@movementarian.org>
10970
10971         * lyx_main.C: fix cmdline batch handling
10972
10973 2002-08-06  André Pönitz <poenitz@gmx.net>
10974
10975         * lyxrc.C: set default for show_banner to true
10976
10977 2002-08-06  John Levon  <levon@movementarian.org>
10978
10979         * pspell.C: fix a crash, and allow new aspell to work
10980
10981 2002-08-06  John Levon  <levon@movementarian.org>
10982
10983         * lyxfunc.C:
10984         * kbmap.C: small cleanup
10985
10986         * vspace.h:
10987         * vspace.C: add const
10988
10989 2002-08-05  John Levon  <levon@movementarian.org>
10990
10991         * LyXAction.C: back to tabular-insert
10992
10993 2002-08-04  John Levon  <levon@movementarian.org>
10994
10995         * BufferView.h:
10996         * BufferView.C: cosmetic change
10997
10998         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10999
11000         * bufferlist.C:
11001         * buffer.h:
11002         * buffer.C:
11003         * lyxcb.h:
11004         * lyxcb.C:
11005         * lyxserver.C:
11006         * lyxvc.C:
11007         * vc-backend.C:
11008         * BufferView2.C: purge all "Lyx" not "LyX" strings
11009
11010         * lyxcursor.h:
11011         * lyxcursor.C: attempt to add some documentation
11012
11013         * lyxfunc.C:
11014         * commandtags.h:
11015         * LyXAction.C:
11016         * ToolbarDefaults.C:
11017         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11018           merge with LFUN_TABULAR_INSERT
11019
11020         * Makefile.am:
11021         * SpellBase.h:
11022         * ispell.h:
11023         * ispell.C:
11024         * pspell.h:
11025         * pspell.C: split up i/pspell implementations into separate
11026           files, many cleanups
11027
11028         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11029
11030         * text2.C: some cleanup
11031
11032         * lyxfunc.C: don't check for isp_command == "none" any more, it
11033           didn't make any sense
11034
11035 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11036
11037         * counters.[Ch]
11038         * text2.C
11039         * paragraph.[Ch]
11040         * makefile.am: move counters functionality over
11041         from text2.C/paragraph.[Ch] to counters.[Ch], and
11042         make proper C++.
11043 2002-08-02  John Levon  <levon@movementarian.org>
11044
11045         * buffer.C: s/lyxconvert/lyx2lyx/
11046
11047 2002-08-02  Angus Leeming  <leeming@lyx.org>
11048
11049         * lyxlex.C: revert John's change as it breaks reading of the user
11050         preamble.
11051
11052 2002-08-02  Angus Leeming  <leeming@lyx.org>
11053
11054         * importer.C (Import):
11055         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11056         changes due to LyXView::view() now returning a boost::shared_ptr.
11057
11058 2002-08-02  John Levon  <levon@movementarian.org>
11059
11060         * lyxlex.C: small cleanup
11061
11062 2002-08-02  John Levon  <levon@movementarian.org>
11063
11064         * text2.C (status): small cleanup, no logic change
11065
11066 2002-08-01  John Levon  <levon@movementarian.org>
11067
11068         * buffer.h:
11069         * buffer.C (writeFile): don't output alerts, caller
11070           handles this
11071
11072         * bufferlist.C:
11073         * lyx_cb.C: from above
11074
11075         * lyxfunc.C: allow to open non-existent files
11076
11077 2002-07-31  John Levon  <levon@movementarian.org>
11078
11079         * lyxserver.C: don't let incidental errors get
11080           in the way (errno)
11081
11082 2002-07-30  John Levon  <levon@movementarian.org>
11083
11084         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11085
11086 2002-07-30  John Levon  <levon@movementarian.org>
11087
11088         * lyxserver.h:
11089         * lyxserver.C: remove I/O callback too
11090
11091 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11092
11093         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11094         log.
11095
11096 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11097
11098         * many files: strip,frontStrip -> trim,ltrim,rtrim
11099
11100 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11101
11102         * PrinterParams.h: remove extern containsOnly, and include
11103         support/lstrings.h instead.
11104
11105         * LaTeX.C (scanAuxFile): modify because of strip changes
11106         (deplog): ditto
11107         * buffer.C (makeLaTeXFile): ditto
11108         * bufferparams.C (writeFile): ditt
11109         * lyxfont.C (stateText): ditto
11110         * lyxserver.C (read_ready): ditto
11111         * vc-backend.C (scanMaster): ditto
11112
11113         * BufferView_pimpl.h: ws changes
11114
11115         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11116
11117 2002-07-26  André Pönitz <poenitz@gmx.net>
11118
11119         * kb_sequence.C: remove unnedred usings
11120
11121 2002-07-26  Juergen Vigna  <jug@sad.it>
11122
11123         * lyxfind.C (LyXReplace): we have to check better if the returned
11124         text is not of theLockingInset()->getLockingInset().
11125
11126 2002-07-25  Juergen Vigna  <jug@sad.it>
11127
11128         * lyxfind.C (LyXReplace): don't replace if we don't get the
11129         right LyXText.
11130
11131         * undo_funcs.C (createUndo): remove debugging code.
11132
11133 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11134
11135         * buffer.C (parseSingleLyXformat2Token): Use default placement
11136         when reading old floats.
11137
11138         * FloatList.C (FloatList): Change the default placement of figure
11139         and tables to "tbp".
11140
11141 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11142
11143         * MenuBackend.C: using std::max
11144
11145 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11146
11147         * MenuBackend.C (expandToc):
11148         (expandToc2): code moved from xforms menu frontend. It is now
11149         generic and TOCs are transparent to menu frontends.
11150
11151 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11152
11153         * toc.C (getTocList): protect against buf=0
11154
11155         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11156         Menu as first parameter. Now, this calls itself recursively to
11157         expand a whole tree (this will be useful for TOC handling)
11158         (expandFloatInsert): remove 'wide' version of floats
11159
11160         * MenuBackend.h (submenuname): returns the name of the submenu.
11161         (submenu): returns the submenu itself, provided it has been
11162         created by MenuBackend::expand
11163
11164 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11165
11166         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11167         insets which have noFontChange == true. (bug #172)
11168
11169 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11170
11171         * BufferView_pimpl.C: add connection objects and use them...
11172         (Pimpl): here.
11173
11174 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11175
11176         * MenuBackend.C (expandLastfiles):
11177         (expandDocuments):
11178         (expandFormats):
11179         (expandFloatListInsert):
11180         (expandFloatInsert):
11181         (expand): split expand in parts
11182
11183 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11184
11185         * lyx_gui.C: use lyx_gui::exit()
11186
11187 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11188
11189         * LyXAction.C: show the failing pseudo action
11190
11191 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11192
11193         * buffer.C (readFile): Run the lyxconvert script in order to read
11194         old files.
11195
11196 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11197
11198         * LyXAction.C:
11199         * commandtags.h:
11200         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11201
11202 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11203
11204         * LyXAction.C:
11205         * commandtags.h:
11206         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11207
11208 2002-07-22  Herbert Voss  <voss@lyx.org>
11209
11210         * lengthcommon.C:
11211         * lyxlength.[Ch]: add support for the vertical lengths
11212
11213 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11214
11215         * toc.[Ch]: std:: fixes
11216
11217 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11218
11219         * lyxrc.C: do not include lyx_main.h
11220
11221         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11222         for layouts
11223
11224         * lyxrc.C:
11225         * encoding.C:
11226         * bufferlist.C:
11227         * BufferView2.C: include "lyxlex.h"
11228
11229         * tabular.h:
11230         * bufferparams.h: do not #include "lyxlex.h"
11231
11232         * lyxtextclasslist.C (Add): remove method
11233         (classlist): renamed to classlist_
11234
11235         * paragraph_pimpl.C:
11236         * paragraph.C:
11237         * text2.C:
11238         * CutAndPaste.C:
11239         * bufferview_funcs.C:
11240         * bufferlist.C:
11241         * text.C:
11242         * LaTeXFeatures.C:
11243         * buffer.C:
11244         * toc.C (getTocList): use BufferParams::getLyXTextClass
11245
11246         * toc.C (getTocList): use InsetFloat::addToToc
11247
11248         * toc.[Ch]: new files, containing helper functions to handle table
11249         of contents
11250
11251         * lyxfunc.C (dispatch): no need to remove spaces around command
11252         given as a string
11253         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11254         first command of the sequence; it is not very clever, but I do not
11255         have a better idea, actually
11256
11257         * LyXAction.C (LookupFunc): make sure to remove space at the
11258         beginning and end of the command
11259
11260 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11261
11262         * MenuBackend.C (getMenubar): new method: return the menubar of
11263         this menu set
11264         (read): treat differently reading of menu and menubar (in
11265         particular, the menubar has no name now)
11266         (Menu::menubar): remove
11267
11268         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11269         saving is finished
11270
11271 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11272
11273         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11274         a bibitem inset in a RTL paragraph.
11275
11276 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11277
11278         * paragraph_pimpl.C: constify
11279
11280         * BufferView_pimpl.C:
11281         * LaTeX.C:
11282         * lyxfunc.C: fix dispatch in a nicer way
11283
11284 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11285
11286         * lyxfunc.C (dispatch):
11287         * BufferView_pimpl.C:
11288         * BufferView_pimpl.h:
11289         * BufferView.C:
11290         * BufferView.h: rename Dispatch() to dispatch()
11291
11292         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11293
11294         * lyxlayout.C (Read): honor DependsOn tag
11295
11296         * lyxlayout.[Ch] (depends_on): new method
11297
11298         * version.C.in: update lyx_docversion
11299
11300         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11301
11302         * paragraph.C (validate): remove from here...
11303         * paragraph_pimpl.C (validate): ... and move here
11304         (isTextAt): make it const
11305
11306         * buffer.C (getLists): ws cleanup
11307
11308 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11309
11310         * language.C (read): Use iso8859-1 encoding in latex_lang
11311         (this prevents LyX from crashing when using iso10646-1 encoding).
11312
11313 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11314
11315         * text2.C (toggleInset): if cursor is inside an inset, close the
11316         inset and leave cursor _after_ it
11317
11318 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11319
11320         * lyxfunc.C: move minibuffer completion handling out of here
11321
11322 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11323
11324         * BufferView_pimpl.C:
11325         * LaTeX.C: fix dispatch calls
11326
11327 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11328
11329         * text.C (drawChars): Fix Arabic text rendering.
11330
11331 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11332
11333         * LyXAction.C:
11334         * commandtags.h:
11335         * lyxfunc.C: remove message-push/pop
11336
11337         * lyxserver.C:
11338         * lyxfunc.h:
11339         * lyxfunc.C: rationalise some code by removing verboseDispatch
11340           in favour of a bool argument to dispatch()
11341
11342 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11343
11344         * lyx_main.C (init): make sure to read symlinks as absolute paths
11345
11346 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11347
11348         * lyxfunc.h:
11349         * lyxfunc.C: no need for commandshortcut to be a member
11350
11351 2002-07-15  André Pönitz <poenitz@gmx.net>
11352
11353         * converter.C: add support for $$s (scripts from lib/scripts dir)
11354         * lyx_main.C: white space
11355
11356 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11357
11358         * bufferlist.C:
11359         * lyxrc.h:
11360         * lyxrc.C: remove second exit confirmation
11361
11362 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11363
11364         * BufferView.h:
11365         * BufferView.C:
11366         * BufferView2.C:
11367         * BufferView_pimpl.h:
11368         * BufferView_pimpl.C:
11369         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11370
11371 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11372
11373         * MenuBackend.C (expand): add numeric shortcuts to document menu
11374
11375         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11376
11377 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11378
11379         * lyxfont.C (setLyXFamily):
11380         (setLyXSeries):
11381         (setLyXShape):
11382         (setLyXSize):
11383         (setLyXMisc):
11384         (lyxRead):
11385         * debug.C (value):
11386         * buffer.C (asciiParagraph): use ascii_lowercase
11387
11388 2002-07-15  Mike Fabian  <mfabian@suse.de>
11389
11390         * lyxlex_pimpl.C (search_kw):
11391         * lyxlex.C (getLongString):
11392         * converter.h (operator<):
11393         * converter.C (operator<):
11394         * buffer.C (parseSingleLyXformat2Token):
11395         (asciiParagraph):
11396         * ToolbarDefaults.C (read):
11397         * MenuBackend.C (checkShortcuts):
11398         (read):
11399         * LColor.C (getFromGUIName):
11400         (getFromLyXName): use the compare_ascii_no_case instead of
11401         compare_no_case, because in turkish, 'i' is not the lowercase
11402         version of 'I', and thus turkish locale breaks parsing of tags.
11403
11404 2002-07-16  Angus Leeming  <leeming@lyx.org>
11405
11406         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11407         now takes a Buffer const & argument.
11408
11409 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11410
11411         * BufferView.C (resize): check there's a buffer to resize
11412
11413 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11414
11415         * lyxfunc.C: remove dead code
11416
11417         * lyxserver.h:
11418         * lyxserver.C: use lyx_guii::set_read_callback
11419
11420 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11421
11422         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11423         an inset in a RTL paragraph.
11424
11425 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11426
11427         * lyxfunc.C: repaint after a font size update
11428
11429 2002-07-15  André Pönitz <poenitz@gmx.net>
11430
11431         * lyxlength.C: inBP should be able to return negative values
11432
11433 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11434
11435         * lyxfunc.C: use lyx_gui::update_fonts()
11436
11437 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11438
11439         * lyxfunc.C: use lyx_gui::update_color()
11440
11441 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11442
11443         * bufferlist.C:
11444         * lyxfunc.h:
11445         * lyxfunc.C:
11446         * lyxrc.h:
11447         * lyxrc.C: remove file->new asks for name option, and let
11448           buffer-new take an argument
11449
11450 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11451
11452         * BufferView_pimpl.C: remove unneeded extra repaint()
11453
11454 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11455
11456         * LyXAction.C: allow command-sequence with NoBuffer
11457
11458         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11459
11460 2002-07-10  Angus Leeming  <leeming@lyx.org>
11461
11462         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11463
11464 2002-07-09  Angus Leeming  <leeming@lyx.org>
11465
11466         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11467
11468 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11469
11470         * lengthcommon.h: whitespace
11471
11472         * lyxfunc.C: update scrollbar after goto paragraph
11473
11474         * lyxtext.h: factor out page break drawing, and fix it so
11475           page break/added space paints as selected nicely
11476
11477 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11478
11479         * BufferView_pimpl.C: add FIXMEs, clean up a little
11480
11481 2002-07-09  André Pönitz <poenitz@gmx.net>
11482
11483         * lyxfont.[Ch]: support for wasy symbols
11484
11485 2002-07-08  André Pönitz <poenitz@gmx.net>
11486
11487         * BufferView_pimpl.C: apply John's patch for #93.
11488
11489 2002-07-05  Angus Leeming  <leeming@lyx.org>
11490
11491         * BufferView_pimpl.C (buffer): generate previews if desired.
11492
11493         * LColor.h: add "preview" to the color enum.
11494
11495         * LColor.C (LColor): add a corresponding entry to the items array.
11496
11497         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11498         with this buffer.
11499
11500 2002-07-05  Angus Leeming  <leeming@lyx.org>
11501
11502         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11503         The body of the code is now in the method that is passed an ostream &
11504         rather than a file name.
11505         Pass an additional only_preamble parameter, useful for the forthcoming
11506         preview stuff.
11507
11508 2002-07-03  André Pönitz <poenitz@gmx.net>
11509
11510         * lyxfunc.C: simplify getStatus() a bit for math stuff
11511
11512 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11513
11514         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11515
11516 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11517
11518         * text.C (changeRegionCase): do not change case of all the
11519         document when region ends at paragraph end (bug #461)
11520
11521 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11522
11523         * paragraph.C (startTeXParParams):
11524         (endTeXParParams): add \protect when necessary
11525
11526 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11527
11528         * BufferView_pimpl.C (workAreaExpose): remove warning
11529
11530 2002-06-27  Angus Leeming  <leeming@lyx.org>
11531
11532         * Makefile.am: add lyxlayout_ptr_fwd.h.
11533
11534 2002-06-26  André Pönitz <poenitz@gmx.net>
11535
11536         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11537
11538 2002-06-25  Angus Leeming  <leeming@lyx.org>
11539
11540         * lyxfunc.C (dispatch): Comment out the call to
11541         grfx::GCache::changeDisplay. The method no longer exists now that the
11542         pixmap generation part of the graphics loader has been moved into
11543         InsetGraphics.
11544
11545 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11546
11547         * text2.C: layout as layout
11548
11549         * text.C: layout as layout
11550
11551         * tabular.C (OldFormatRead): layout as layout
11552
11553         * paragraph_pimpl.C (TeXDeeper): layout as layout
11554         (realizeFont): layout as layout
11555
11556         * paragraph.C (writeFile): layout as layout
11557         (validate): layout as layout
11558         (getFont): layout as layout
11559         (getLabelFont): layout as layout
11560         (getLayoutFont): layout as layout
11561         (breakParagraph): layout as layout
11562         (stripLeadingSpaces): layout as layout
11563         (getEndLabel): layout as layout
11564         (getMaxDepthAfter): layout as layout
11565         (applyLayout): layout as layout
11566         (TeXOnePar): layout as layout
11567         (simpleTeXOnePar): layout as layout
11568         (TeXEnvironment): layout as layout
11569         (layout): layout as layout
11570         (layout): layout as layout
11571
11572         * lyxtextclass.C (compare_name): new functor to work with
11573         shared_ptr, layout as layout
11574         (Read): layout as layout
11575         (hasLayout): layout as layout
11576         (operator): layout as layout
11577         (delete_layout): layout as layout
11578         (defaultLayout): layout as layout
11579
11580         * lyxlayout_ptr_fwd.h: new file
11581
11582         * lyxlayout.C (Read): layout as layout
11583
11584         * lyx_cb.C (MenuInsertLabel): layout as layout
11585
11586         * bufferlist.C (newFile): layout as layout
11587
11588         * buffer.C (readLyXformat2): layout as layout
11589         (parseSingleLyXformat2Token): layout as layout
11590         (insertStringAsLines): layout as layout
11591         (asciiParagraph): layout as layout
11592         (latexParagraphs): layout as layout
11593         (makeLinuxDocFile): layout as layout
11594         (simpleLinuxDocOnePar): layout as layout
11595         (makeDocBookFile): layout as layout
11596         (simpleDocBookOnePar): layout as layout
11597         (getLists): layout as layout
11598
11599         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11600
11601         * CutAndPaste.C (cutSelection): layout as layout
11602         (pasteSelection): layout as layout
11603         (SwitchLayoutsBetweenClasses): layout as layout
11604
11605         * BufferView_pimpl.C (Dispatch): layout as layout
11606         (smartQuote): layout as layout
11607
11608         * BufferView2.C (unlockInset): layout as layout
11609
11610 2002-06-24  André Pönitz <poenitz@gmx.net>
11611
11612         * lyxfunc.C: fix #487
11613
11614 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11615
11616         * lyxrc.h:
11617         * lyxrc.C:
11618         * lyxfunc.C: remove display_shortcuts, show_banner
11619
11620 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11621
11622         * Buffer_pimpl.C: oops, update on resize
11623
11624 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11625
11626         * buffer.C:
11627         * converter.C:
11628         * exporter.C:
11629         * lyxfunc.C:
11630         * BufferView.h:
11631         * BufferView.C: use repaint()
11632
11633         * BufferView_pimpl.h:
11634         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11635           as it's a clearer description. Remove superfluous
11636           redraws.
11637
11638 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11639
11640         * text.C: fix bug 488. Not ideal, but getting
11641           getWord() to work properly for the insets that
11642           matter is more difficult ...
11643
11644 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11645
11646         * BufferView_pimpl.C:
11647         * LyXAction.C:
11648         * commandtags.h:
11649         * lyxfunc.C: remove the six million index lyxfuncs to just
11650           one, and DTRT (bug 458)
11651
11652 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11653
11654         * BufferView.h:
11655         * BufferView.C:
11656         * BufferView_pimpl.h:
11657         * BufferView_pimpl.C: clean up resize() stuff,
11658           and unnecessary updateScreen()s
11659
11660 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11661
11662         * BufferView.h:
11663         * BufferView.C:
11664         * BufferView_pimpl.h:
11665         * BufferView_pimpl.C:
11666         * lyxfind.h:
11667         * lyxfind.C:
11668         * minibuffer.C: remove focus management of workarea,
11669           not needed. Use screen's greyOut()
11670
11671 2002-06-17  Herbert Voss  <voss@lyx.org>
11672
11673         * converter.C: (convert) do not post a message, when converting
11674         fails, let the calling function decide what to do in this case
11675
11676 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11677
11678         * lyxfunc.C: tidy up a little
11679
11680 2002-06-16    <alstrup@diku.dk>
11681
11682         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11683         Got rid of FORMS_H_LOCATION include. Now we are
11684         GUII.
11685
11686 2002-06-15  LyX Development team  <lyx@rilke>
11687
11688         * buffer.[Ch] (sgmlOpenTag):
11689         (sgmlCloseTag): Added support for avoiding pernicious mixed
11690         content. Return number of lines written.
11691
11692         (makeLinuxDocFile):
11693         (makeDocBookFile): Fixed calls to sgml*Tag.
11694         Simple white space clean.
11695
11696         (simpleDocBookOnePar): Simple white space clean.
11697
11698         * tabular.[Ch] (docBook): Renamed to docbook and got another
11699         argument to related with the pernicious mixed content.
11700
11701         (docbookRow): Fixed calls for docbook inset method.
11702
11703 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11704
11705         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11706         so it's X11 independent.
11707
11708         * kb*.[Ch]: ditto.
11709
11710         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11711
11712 2002-06-15  Lyx Development team  <lyx@electronia>
11713
11714         * intl.h: Renamed getTrans to getTransManager.
11715
11716 2002-06-14  Angus Leeming  <leeming@lyx.org>
11717
11718         * Makefile.am: nuke forgotten stl_string_fwd.h.
11719
11720 2002-06-12  Angus Leeming  <leeming@lyx.org>
11721
11722         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11723
11724 2002-06-13  Angus Leeming  <leeming@lyx.org>
11725
11726         * LaTeX.C:
11727         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11728
11729 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11730
11731         * kbmap.C (getiso): add support for cyrillic and greek
11732
11733 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11734
11735         * BufferView.h:
11736         * BufferView.C:
11737         * BufferView_pimpl.h:
11738         * BufferView_pimpl.C: move bogus scrolling logic
11739           to xforms
11740
11741 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11742
11743         * lyxfunc.C:
11744         * BufferView_pimpl.C: view->resize() change
11745
11746 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11747
11748         * BufferView_pimpl.C: topCursorVisible
11749           prototype change
11750
11751 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11752
11753         * Makefile.am:
11754         * lyx_gui.h:
11755         * lyx_gui.C: move to frontends/
11756
11757         * main.C:
11758         * lyx_main.h:
11759         * lyx_main.C: changes from above
11760
11761 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11762
11763         * intl.C:
11764         * intl.h:
11765         * kbmap.C:
11766         * kbsequence.C:
11767         * lyx_cb.C:
11768         * lyx_main.C: minor tidy
11769
11770 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11771
11772         * BufferView_pimpl.h:
11773         * BufferView_pimpl.C:
11774         * BufferView.h:
11775         * BufferView.C: make painter() const,
11776           remove dead code
11777
11778         * BufferView2.C: use screen() accessor
11779
11780         * lyx_main.h:
11781         * lyx_main.C: some minor cleanup
11782
11783 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11784
11785         * BufferView_pimpl.h:
11786         * BufferView_pimpl.C: remove enter/leaveView,
11787           use workHeight()
11788
11789 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11790
11791         * BufferView.h:
11792         * BufferView.C:
11793         * BufferView2.C:
11794         * BufferView_pimpl.h:
11795         * BufferView_pimpl.C: only construct screen once,
11796           rename
11797
11798         * lyxrc.C: remove pointless comment
11799
11800 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11801
11802         * BufferView.h:
11803         * BufferView.C: remove active() and belowMouse()
11804
11805         * BufferView_pimpl.h:
11806         * BufferView_pimpl.C: use workarea() not workarea_,
11807           and make it use a scoped_ptr instead
11808
11809 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11810
11811         * lyx_gui.C: add debug message on BadWindow
11812
11813 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11814
11815         * sp_spell.C: fdopen is not part of the C++ standard.
11816
11817         * paragraph.C (InsetIterator): use >= instead of ==
11818
11819 2002-06-07  Angus Leeming  <leeming@lyx.org>
11820
11821         Fixes needed to compile with Compaq cxx 6.5.
11822         * BufferView_pimpl.C:
11823         * DepTable.C:
11824         * buffer.C:
11825         * converter.C:
11826         * encoding.C:
11827         * lyx_gui.C:
11828         * lyx_main.C:
11829         * lyxtextclasslist.C:
11830         * minibuffer.C:
11831         * sp_spell.C:
11832         * tabular_funcs.C:
11833         * vc-backend.C:
11834         all c-library variables have been moved into namespace std. Wrap
11835         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11836
11837         * lyxlength.C:
11838         * tabular-old.C:
11839         * tabular.C:
11840         Add a using std::abs declaration.
11841
11842         * kbmap.h (modifier_pair):
11843         * paragraph.h (InsetTable, InsetList):
11844         * lyxfont.h (FontBits):
11845         type definition made public.
11846
11847         * bufferlist.C (emergencyWriteAll): the compiler complains that
11848         there is more than one possible lyx::class_fun template to choose from.
11849         I re-named the void specialisation as lyx::void_class_fun.
11850
11851         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11852
11853         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11854         the compiler is is unable to find tostr in write_attribute.
11855
11856 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11857
11858         * buffer.C (sgmlError): hide #warning
11859
11860 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11861
11862         * xtl/*: get rid of xtl, which is not in use anyway
11863
11864         * LyXAction.C (init):
11865         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11866         were unimplemented xtl experimentation
11867
11868 2002-06-04  André Pönitz <poenitz@gmx.net>
11869
11870         * lyxfunc.C: disable array operation on simple formulae
11871
11872 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11873
11874         * converter.C: constify a bit
11875
11876 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11877
11878         * lyx_gui.C: check xforms version correctly
11879
11880 2002-04-30  Herbert Voss  <voss@lyx.org>
11881
11882         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11883         "keep" option
11884
11885 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11886
11887         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11888           attempt to register it with a VCS)
11889
11890 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11891
11892         * lyx_main.C (init): honor variables LYX_DIR_13x and
11893         LYX_USERDIR_13x
11894
11895 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11896
11897         * buffer.h:
11898         * buffer.C:
11899         * lyx_main.C: fix a crash on bad command line,
11900           and give a useful exit status on error
11901
11902         * lyxfunc.C (doImport): allow -i lyx to work
11903
11904 2002-03-30  André Pönitz <poenitz@gmx.net>
11905
11906         * lyxfunc.C: mathed font changes
11907
11908 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11909
11910         * LaTeX.C:
11911         * importer.h:
11912         * importer.C:
11913         * lyx_sty.h:
11914         * lyx_sty.C:
11915         * lyxlex.C:
11916         * lyxrow.h:
11917         * lyxtext.h:
11918         * paragraph.h:
11919         * paragraph.C:
11920         * texrow.h:
11921         * texrow.C:
11922         * text.C:
11923         * trans_mgr.h: srcdocs, and some minor cleanups
11924
11925 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11926
11927         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11928         call getFont all the time)
11929
11930 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11931
11932         * switch from SigC signals to boost::signals
11933
11934 2002-05-29  André Pönitz <poenitz@gmx.net>
11935
11936         * paragraph_pimpl.C (getChar): don't call size() too often...
11937
11938 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11939
11940         * paragraph_pimpl.C (insertChar): do not try to update tables when
11941         appending (pos == size())
11942
11943         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11944         in order to reduce drastically the number of comparisons needed to
11945         parse a large document
11946
11947 2002-05-29  André Pönitz <poenitz@gmx.net>
11948
11949         * text.C:
11950         * text2.C:
11951         * lyxtextclass.C:
11952         * sp_pspell.h:
11953         * textclasslist.[Ch]:
11954         * sp_ispell.h: whitespace change
11955
11956 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11957
11958         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11959         lyxaction directly now.
11960
11961 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11962
11963         * trans.C:
11964         * lyxfont.C:
11965         * lyxvc.C: remove unused headers
11966
11967 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11968
11969         * Makefile.am:
11970         * buffer.h:
11971         * undostack.h:
11972         * undostack.C:
11973         * undo_funcs.h:
11974         * undo_funcs.C: some cleanups. Use shared_ptr
11975           and a template for the undo stacks.
11976
11977 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11978
11979         * BufferView_pimpl.h:
11980         * BufferView_pimpl.C:
11981         * kbmap.h:
11982         * kbmap.C:
11983         * kbsequence.h:
11984         * kbsequence.C:
11985         * lyxfunc.h:
11986         * lyxfunc.C:
11987         * text2.C: use key_state/mouse_state
11988
11989 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11990
11991         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11992         and LSubstring
11993
11994         * chset.C: change include order
11995         (loadFile): use boost regex and get rid of LRegex and LSubstring
11996
11997         * Makefile.am (BOOST_LIBS): new variable
11998         (lyx_LDADD): use it
11999
12000         * LaTeX.C: change include order.
12001         (scanAuxFile): use boost regex and get rid of LRegex and
12002         LSubstring
12003         (deplog): ditto
12004
12005 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12006
12007         * ColorHandler.h:
12008         * ColorHandler.C:
12009         * FontInfo.h:
12010         * FontInfo.C: moved to frontends/xforms/
12011
12012         * FontLoader.h:
12013         * FontLoader.C: moved into frontends for GUIIzation
12014
12015         * Makefile.am:
12016         * lyx_gui.C:
12017         * lyxfont.C:
12018         * lyxfunc.C: changes from above
12019
12020 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12021
12022         * LColor.C: remove spurious X include
12023
12024         * BufferView_pimpl.C:
12025         * Makefile.am:
12026         * font.h:
12027         * font.C:
12028         * text.C:
12029         * text2.C: move font metrics to frontends/
12030
12031 2002-05-24  Juergen Vigna  <jug@sad.it>
12032
12033         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12034         setting the undo_cursor.
12035
12036         * ParagraphParameters.h: include local includes first.
12037
12038 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12039
12040         * BufferView_pimpl.C:
12041         * BufferView_pimpl.h:
12042         * Makefile.am:
12043         * WorkArea.h:
12044         * WorkArea.C:
12045         * screen.C: move WorkArea into frontends/
12046
12047         * lyxscreen.h:
12048         * screen.C:
12049         * text.C:
12050         * BufferView.C:
12051         * BufferView2.C: move LyXScreen into frontends/
12052
12053         * lyxlookup.h:
12054         * lyxlookup.C:
12055         * lyx_gui.C: move lyxlookup into frontends/xforms/
12056
12057 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12058
12059         * BufferView2.C:
12060         * BufferView_pimpl.C:
12061         * FontLoader.C:
12062         * LyXView.h:
12063         * LyXView.C:
12064         * Makefile.am:
12065         * WorkArea.C:
12066         * XFormsView.h:
12067         * XFormsView.C:
12068         * buffer.C:
12069         * bufferlist.C:
12070         * bufferview_funcs.C:
12071         * converter.C:
12072         * importer.C:
12073         * lyx_cb.C:
12074         * lyx_gui.C:
12075         * lyx_main.C:
12076         * lyx_find.C:
12077         * lyxfunc.C:
12078         * lyxvc.C:
12079         * minibuffer.C:
12080         * text.C:
12081         * text2.C:
12082         * trans.C:
12083         * vc-backend.C: move LyX/XFormsView into frontends/
12084
12085 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12086
12087         * Makefile.am:
12088         * PainterBase.C:
12089         * PainterBase.h:
12090         * Painter.C:
12091         * Painter.h:
12092         * WorkArea.C:
12093         * WorkArea.h:
12094         * screen.C:
12095         * tabular.C:
12096         * text.C:
12097         * text2.C: move Painter to frontends/
12098
12099 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12100
12101         * buffer.C: comment out some some code that depend upon lyx_format
12102         < 220
12103
12104         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12105         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12106
12107         * buffer.h (NO_COMPABILITY): turn off compability
12108
12109         * ColorHandler.C: include scoped_array.hpp
12110
12111         * font.C: Use more specific smart_ptr header.
12112         * Painter.C: ditto
12113         * gettext.C: ditto
12114         * ShareContainer.h: ditto
12115         * lyx_main.h: ditto
12116         * kbmap.h: ditto
12117         * FontInfo.h: ditto
12118         * BufferView_pimpl.h: ditto
12119         * ColorHandler.h: ditto
12120
12121         * kbmap.C (defkey): change call to shared_ptr::reset
12122
12123 2002-05-21  Juergen Vigna  <jug@sad.it>
12124
12125         * buffer.C (insertErtContents): fix to insert ert asis if it is
12126         non empty. Skip it completely if it contains only whitespaces.
12127
12128 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12129
12130         * BufferView_pimpl.C:
12131         * BufferView2.C: clear selection on paste (bug 393)
12132
12133 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12134
12135         * DepTable.C: include ctime
12136
12137 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12138
12139         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12140
12141 2002-05-14  Juergen Vigna  <jug@sad.it>
12142
12143         * text.C (breakParagraph): fixed function to honor the keepempty
12144         layout in the right maner and also to permit the right breaking
12145         algorithm on empty or non empyt keepempty paragraphs.
12146
12147         * paragraph.C (breakParagraph): we have to check also if the par
12148         is really empty (!size()) for isempty otherwise we do the wrong
12149         paragraph break.
12150
12151 2002-05-10  Juergen Vigna  <jug@sad.it>
12152
12153         * buffer.[Ch] : The following are only changes to the ert
12154         compatibility read reading old LaTeX layout and font stuff and
12155         convert it to ERTInsets.
12156
12157         * buffer.h: added isErtInset().
12158
12159         * buffer.C (struct ErtComp): add a fromlayout bool to check
12160         if we're inside a LaTeX layout.
12161         (isErtInset): new helper function.
12162         (insertErtContents): look for other ert insets before this one
12163         and insert the contents there, so that we don't have subsequent
12164         ERT insets with nothing between them. This way we create only one
12165         inset with multiple paragraphs. Also check if we don't insert only
12166         spaces ' ' as they are ignored anyway afterwards in the .tex file
12167         so if we have only spaces we will ignore this latex part in the
12168         new file.
12169         (parseSingleLyXformat2Token \\layout): better compatibility when
12170         reading layout-latex stuff.
12171         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12172         language tag.
12173         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12174         stuff after reading the inset only get the information back from
12175         the stack.
12176
12177 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12178
12179         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12180
12181         * LaTeXFeatures.C (getBabelOptions): New method.
12182
12183 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12184
12185         * BufferView_pimpl.C (Dispatch): work around missing argument for
12186         'layout'
12187
12188 2002-05-08  Juergen Vigna  <jug@sad.it>
12189
12190         * text.C (leftMargin): handle paragraph leftindent.
12191
12192         * paragraph.C (writeFile): write the new \\leftindent tag.
12193         (validate): handle leftindent code.
12194         (TeXEnvironment): handle paragraphleftindent code again.
12195
12196         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12197
12198         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12199         for paragrap_extra indent code and new token \\leftindent.
12200         (latexParagraphs): handle the leftindent as environment.
12201
12202         * ParameterStruct.h: added leftindent support.
12203
12204         * ParagraphParameters.C (leftIndent): added support functions for
12205         the paragraph left indent.
12206
12207         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12208         more appropriate.
12209
12210 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12211
12212         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12213         inside insetERT.
12214
12215         * text.C (computeBidiTables): No bidi in insetERT.
12216
12217         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12218         in RTL documents.
12219
12220 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12221
12222         * version.C.in: pre 5
12223
12224 2002-05-02  José Matos  <jamatos@fep.up.pt>
12225         * buffer.C (makeDocBookFile): white space changes, add newline to
12226         command styles.
12227         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12228
12229         * tabular.C (docBook): fix typo.
12230
12231 2002-05-03  Juergen Vigna  <jug@sad.it>
12232
12233         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12234         change in LyXText as we can not be sure it was not freed.
12235         (drawOneRow): remove unused code.
12236
12237         * text.C (drawInset): redo the calculation of the need_break_row as
12238         it could have a row which was already freed.
12239         (draw): look at the return value of drawInset and return false if
12240         it also returned false.
12241         (paintRowText): look at the return value of draw and return false if
12242         it also returned false.
12243
12244         * lyxtext.h: added bool return type to drawInset() and draw() so that
12245         if we have a change in the row so that the rowbreak has to be redone
12246         we abort drawing as it will be called again.
12247
12248 2002-05-02  Juergen Vigna  <jug@sad.it>
12249
12250         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12251         a change in the maintext also if we're inside an inset.
12252         (Dispatch): set the cursor again after a break line and after the
12253         screen has been updated as it could be we're in a different row.
12254
12255         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12256         to set the cursor behind the pargraph with > size().
12257         (setCursor): check also for the same paragraph when checking where
12258         to put the cursor if we have a NFR inset.
12259
12260         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12261         parts of layout read further up as it still was in the wrong
12262         position.
12263
12264 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12265
12266         * screen.C (drawFromTo): change sine fullRebreak always return
12267         true.
12268
12269         * buffer.C (parseSingleLyXformat2Token): reindent some
12270
12271         * BufferView_pimpl.C (update): change since fullRebreak always
12272         return true.
12273         (Dispatch): git rid of the last hardcoded "Standard"s.
12274
12275 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12276
12277         * text2.[Ch] (fullRebreak): make it return void now that we always
12278         returned true.
12279
12280 2002-04-30  Juergen Vigna  <jug@sad.it>
12281
12282         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12283         ert compatibility check for "latex" layout.
12284
12285 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12286
12287         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12288         minipages: use col% instead of p%, and also use the current font.
12289         (makeLaTeXFile): Fix use babel condition.
12290         (parseSingleLyXformat2Token): Correct font when reading old floats.
12291
12292 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12293
12294         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12295         inserting list of floats.
12296
12297 2002-04-25  Herbert Voss  <voss@lyx.org>
12298
12299         * MenuBackend.C (expand): don't add the graphics extensions to the
12300         export menu
12301
12302 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12303
12304         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12305         non-existing layout, do not complain if it was the default layout
12306         of the original class (bug #342)
12307
12308 2002-04-24  Juergen Vigna  <jug@sad.it>
12309
12310         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12311         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12312
12313 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12314
12315         * buffer.C (getBibkeyList): If using \bibliography, return the
12316         option field with the reference itself. Enables us to provide natbib
12317         support when using \bibliography.
12318
12319 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12320
12321         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12322
12323         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12324         natbib is provided by the LaTeX class.
12325
12326 2002-04-23  Juergen Vigna  <jug@sad.it>
12327
12328         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12329         Wakeup functions.
12330
12331         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12332
12333 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12334
12335         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12336
12337         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12338         ensuremath around textordmasculine, textordfeminine and
12339         textdegree.
12340
12341 2002-04-19  Juergen Vigna  <jug@sad.it>
12342
12343         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12344         reinitializing the buffer otherwise row-dimensions may be wrong.
12345         (update): reset also the selection cursors if they do exits otherwise
12346         their x/y positions may be wrong.
12347
12348         * text2.C (cursorDown): don't enter the inset if we came from a row
12349         above and are one row over the inset.
12350
12351         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12352         really leaving an inset.
12353
12354 2002-04-18  Juergen Vigna  <jug@sad.it>
12355
12356         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12357         of the selected paragraph does not have the selected layout also if
12358         the last one had!
12359
12360         * text2.C (setLayout): fixed bug which did not change last selected
12361         paragraph.
12362
12363         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12364         changed the read and substituted \\end_float with \\end_inset!
12365
12366         * BufferView_pimpl.C (cursorPrevious):
12367         (cursorNext): fixed to make it work with rows heigher than the work
12368         area without moving the cursor only the draw of the row.
12369         (workAreaMotionNotify): fix jumping over high rows.
12370
12371 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12372
12373         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12374         Ressler.
12375
12376 2002-04-16  Juergen Vigna  <jug@sad.it>
12377
12378         * text2.C (setCursor): set also the irow().
12379         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12380         (cursorUp):
12381         (cursorDown): support for locking an inset if the x_fix value goes
12382         inside it. That way I can transverse insets too with cursor up/down.
12383
12384         * lyxrow.h: added irow helper function same as other (i) functions.
12385
12386         * BufferView_pimpl.C (cursorPrevious):
12387         (cursorNext): fixed for insets!
12388
12389 2002-04-15  Juergen Vigna  <jug@sad.it>
12390
12391         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12392         position otherwise it is wrong in some cases.
12393
12394         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12395         inside the inset before the call.
12396
12397 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12398
12399         * buffer.[Ch] (getBibkeyList): make it const.
12400
12401 2002-04-12  Juergen Vigna  <jug@sad.it>
12402
12403         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12404
12405         * text2.C (getCursorX): new helper function
12406         (setCursor): compute also ix_
12407         (setCursorFromCoordinates): set also ix.
12408
12409         * lyxcursor.h: added ix_ and helper functions.
12410
12411         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12412
12413         * buffer.C (insertStringAsLines): dont break paragraph if the this
12414         paragraph is inside an inset which does not permit it!
12415
12416         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12417         also with no chars on this paragraph.
12418         (paintRowText): only paint stuff if it's inside the workarea!
12419
12420         * paragraph.C (breakParagraph): honor keepempty flag and break the
12421         paragraph always below not above.
12422
12423         * BufferView2.C (unlockInset): update the paragraph layout on inset
12424         unlock as we changed paragraph in such a case.
12425
12426         * lyxfind.C (LyXFind): clear the former selection if not found!
12427
12428         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12429         again called in insertChar().
12430
12431         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12432         an inset which uses the whole row!
12433         (rightMargin): ditto.
12434         (insertChar): force a rebreak if we inserted an inset!
12435
12436 2002-03-28  Herbert Voss  <voss@lyx.org>
12437
12438         * lyxlength.[Ch]: add inBP() to get the right PS-point
12439         units (BigPoint). With inPixels we have rounding errors
12440
12441 2002-04-11  Juergen Vigna  <jug@sad.it>
12442
12443         * text2.C (setCursorFromCoordinates): set iy to the right value.
12444         (setCursor): add check if row->previous exists!
12445
12446         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12447         an old float_type as this was the case in the old code!
12448
12449         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12450
12451         * BufferView2.C (showLockedInsetCursor): use iy
12452         (fitLockedInsetCursor): ditto
12453
12454         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12455         locked insets as there we have the right value now.
12456
12457         * lyxcursor.C: added iy_ variable and iy functions to set to the
12458         baseline of cursor-y of the locked inset.
12459
12460         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12461         (setCursor): fixed for insets which need a full row.
12462
12463         * text.C (rowLastPrintable): don't ignore the last space when before
12464         an inset which needs a full row.
12465         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12466         as last character of a row when before a inset which needs a full row.
12467
12468 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12469
12470         * version.C.in: update date
12471
12472         * text2.C (fullRebreak): try to always return true and see what
12473         happens...
12474
12475 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12476
12477         * MenuBackend.C (expand): use Floating::listName
12478
12479         * FloatList.C (FloatList): add listName argument to the built-in
12480         floats
12481
12482         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12483         text associated with the float.
12484
12485 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12486
12487         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12488
12489 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12490
12491         * ShareContainer.h: add a couple of missing typenames.
12492
12493 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12494
12495         * lyxrc.C (getDescription): use _() correctly rather than N_().
12496
12497 2002-03-28  Herbert Voss  <voss@lyx.org>
12498
12499         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12500         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12501
12502 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12503
12504         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12505         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12506
12507 2002-03-29  Juergen Vigna  <jug@sad.it>
12508
12509         * lyxfunc.C (dispatch): add a missing fitCursor call.
12510
12511         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12512         it was scrolled by a cursor move, so return the bool status.
12513
12514         * BufferView.C (fitCursor): return the bool flag also to the outside
12515         world as this is needed.
12516
12517         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12518
12519         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12520         call the edit() as it is not needed (and wrong) IMO.
12521         (workAreaButtonPress): set the screen_first variable before evt.
12522         unlock the inset as this may change screen_first and then we have
12523         a wrong y position for the click!
12524
12525 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12526
12527         * MenuBackend.C (expand): another translation that I missed
12528
12529 2002-03-28  Juergen Vigna  <jug@sad.it>
12530
12531         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12532
12533         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12534
12535 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12536
12537         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12538
12539         * MenuBackend.C (expand): fix export/view/update when there is no
12540         document open.
12541
12542 2002-03-27  Herbert Voss  <voss@lyx.org>
12543
12544         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12545         and text%
12546
12547 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12548
12549         * bufferview_funcs.C (currentState): only show paragraph number
12550         for is DEVEL_VERSION is set.
12551
12552         * lyxfunc.C (dispatch): put warning in INFO channel
12553
12554         * MenuBackend.C (expand): translate the name of floats
12555
12556         * FloatList.C (FloatList): mark the float names for translation
12557
12558         * converter.C (convert): use LibScriptSearch
12559
12560 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12561
12562         * MenuBackend.C (defaults): fix default menu (we might as well get
12563         rid of it...)
12564
12565 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12566
12567         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12568         directory.
12569
12570 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12571
12572         * lyxvc.C: reorder includes.
12573
12574 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12575
12576         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12577           properly
12578
12579 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12580
12581         * CutAndPaste.C: change layouts earlier on paste
12582           to avoid crashing when calling getFont()
12583
12584 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12585
12586         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12587         irritating #error.
12588
12589 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12590
12591         * WorkArea.C: remove 'Pending' debug message.
12592
12593         * most files: ws cleanup
12594
12595         * buffer.[Ch]: ws changes
12596
12597         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12598
12599 2002-03-21  Juergen Vigna  <jug@sad.it>
12600
12601         * tabular.C (SetMultiColumn): collapse also the contents of the
12602         cells and set the last border right. Added a Buffer const * param.
12603
12604 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12605
12606         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12607         linking or not.
12608
12609 2002-03-19  Juergen Vigna  <jug@sad.it>
12610
12611         * text2.C (clearSelection): reset also xsel_cache.
12612
12613         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12614         where it needs to be called (John tells us to do so too :)
12615         (selectionLost): reset sel_cache.
12616
12617         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12618
12619 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12620
12621         * text2.C (setCursorIntern): put debuging code in INSETS channel
12622
12623 2002-03-19  André Pönitz <poenitz@gmx.net>
12624
12625         * lyxfunc.C: tiny whitespace change
12626
12627 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12628
12629         * ToolbarDefaults.C (init):
12630         * LyXAction.C (init):
12631         * commandtags.h:
12632         * BufferView_pimpl.C (Dispatch):
12633         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12634
12635 2002-03-19  Allan Rae  <rae@lyx.org>
12636
12637         * exporter.C (Export): removeAutoInsets before doing anything else.
12638         While I've just introduced a dependency on BufferView this really is
12639         the best place to clean the buffer otherwise you need to cleanup in
12640         a dozen places before calling export or cleanup in a dozen functions
12641         that export calls.
12642
12643         * converter.C (runLaTeX):
12644         (scanLog): Better handling of removeAutoInsets and screen updates.
12645
12646         * lyxfunc.C (dispatch): small whitespace changes
12647
12648 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12649
12650         * WorkArea.C (C_WorkAreaEvent): return a value.
12651         (event_cb): return 1 if we handled the event, 0 otherwise.
12652
12653         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12654
12655 2002-03-18  Juergen Vigna  <jug@sad.it>
12656
12657         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12658         (GetAdditionalWidth): ditto.
12659         (RightLine): ditto.
12660         (LeftLine): ditto.
12661
12662         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12663         inset if we're there actually (probably not used right now but this
12664         is the direction to go for unifying code).
12665         (paste): disable code to clear the selection.
12666
12667         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12668         inside an InsetText and move the check further up as it is in the
12669         wrong place.
12670
12671         * text2.C (pasteSelection): set a selection over the pasted text.
12672
12673 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12674
12675         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12676         and libgraphics to build on Cygwin.
12677
12678 2002-03-15  Juergen Vigna  <jug@sad.it>
12679
12680         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12681         inserting an Inset into the paragraph. I know this is not the best
12682         fix but we already use current_view in CutAndPaste so we will remove
12683         all of it's using at the same time.
12684
12685         * buffer.C (sgmlError): deactivated function till it is rewritten in
12686         the right mode, now it can create problems.
12687
12688         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12689         before accessing it.
12690
12691 2002-03-14  Juergen Vigna  <jug@sad.it>
12692
12693         * undo_funcs.C (textHandleUndo): do the right thing when updating
12694         the inset after the undo/redo.
12695
12696         * text2.C (setCursor): just some testcode for #44 not ready yet.
12697
12698         * undo_funcs.C (textHandleUndo): set the next() and previous()
12699         pointers of the paragraph to 0 before deleting otherwise we have
12700         problems with the Paragraph::[destructor].
12701
12702         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12703         on a paragraph insertion.
12704
12705 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12706
12707         * buffer.C (asciiParagraph): use += operator for char append to
12708         string.
12709
12710         * paragraph.C (getFontSettings): compare >= not just >
12711         (highestFontInRange): ditto
12712         (setFont): ditto
12713
12714 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12715
12716         * paragraph.C: change several algorithm to be more appripriate for
12717         the problem domain. This is lookip in FontList and in the InsetList.
12718
12719 2002-03-13  André Pönitz <poenitz@gmx.net>
12720
12721         * commandtags.h:
12722         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12723
12724 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12725
12726         * commandtags.h:
12727         * LyXAction.C:
12728         * lyxfunc.C:
12729         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12730
12731 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12732
12733         * Painter.C (display): anon helper function, adjust code for this
12734         change.
12735         (pixmap): remove function.
12736
12737         * Painter.h: remove private display variable.
12738
12739         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12740
12741 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12742
12743         * WorkArea.[Ch]: remove figinset_canvas cruft.
12744
12745 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12746
12747         * lyxtextclass.C (operator): add one item cache optimization.
12748
12749         * bufferlist.h: doxy changes
12750
12751         * bufferlist.C: ws changes
12752
12753         * DepTable.[Ch] (ext_exist): place const in the right spot.
12754
12755         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12756         call resizeInsets.
12757         (workAreaExpose): call resizeInsets when the with BufferView changes.
12758         (Dispatch): adjust for protectedBlank removal
12759         (specialChar): call updateInset if the insert went ok.
12760
12761         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12762         specialChar instead.
12763
12764         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12765
12766         * BufferView.h: doxy change
12767
12768         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12769
12770         * lyxtextclass.C (operator[]): remove non-const version
12771         (defaultLayout): remove non-const version
12772
12773 2002-03-12  Juergen Vigna  <jug@sad.it>
12774
12775         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12776         did resize the LyXText too.
12777
12778         * buffer.C (readLyXformat2): set layout information on newly allocated
12779         paragraphs.
12780
12781         * tabular.C (OldFormatRead): set layout information on the paragraph.
12782
12783 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12784
12785         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12786
12787 2002-03-11  Juergen Vigna  <jug@sad.it>
12788
12789         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12790         plainly wrong.
12791         (resizeCurrentBuffer): force also the insets to resize themselfes.
12792         (moveCursorUpdate): fixed up for InsetText.
12793
12794 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12795
12796         * commandtags.h:
12797         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12798         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12799         value of Dialogs::tooltipsEnabled().
12800         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12801
12802 2002-03-08  Juergen Vigna  <jug@sad.it>
12803
12804         * BufferView_pimpl.C (updateInset): update inset inside inset also
12805         if it isn't inside theLockingInset().
12806
12807 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12808
12809         * buffer.C (asciiParagraph): redo some of the word and line length
12810         handling.
12811         (getLists): look for Caption instead of caption.
12812
12813 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12814
12815         * buffer.C (Buffer): initialize niceFile to true
12816         (makeLaTeXFile):
12817         (makeLinuxDocFile):
12818         (makeDocBookFile): make sure niceFile is true on exit
12819
12820 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12821
12822         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12823
12824 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12825
12826         * LyXSendto.C: remove.
12827         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12828         * lyx_gui.C: remove now-redundant comment.
12829         * ColorHandler.h: remove forward declaration of class WorkArea.
12830         * lyxfunc.C: remove #include "WorkArea.h".
12831
12832 2002-03-07  Juergen Vigna  <jug@sad.it>
12833
12834         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12835         got moved away with the DEPM and also set the inset_owner always
12836         right which before could have been omitted.
12837
12838 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12839
12840         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12841         wanted layout is not found.
12842
12843 2002-03-07  Juergen Vigna  <jug@sad.it>
12844
12845         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12846
12847 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12848
12849         * paragraph.C (breakParagraph): use default layout not layout of
12850         prev paragraph.
12851         (Paragraph): clear ParagraphParameters.
12852
12853 2002-03-06  Juergen Vigna  <jug@sad.it>
12854
12855         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12856         otherwise it would not be a valid lenght. Fixed a special case in
12857         the minipage compatibility read where we end the document with a
12858         minipage.
12859
12860         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12861         was set as it could be 0 for InsetTexts first entry.
12862
12863 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12864
12865         * paragraph.C (writeFile): if layout is empty write out
12866         defaultLayoutName().
12867
12868         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12869         file without named layout we set layout to defaultLayoutName().
12870
12871 2002-03-06  Juergen Vigna  <jug@sad.it>
12872
12873         * CutAndPaste.C (copySelection): set layout for new paragraph.
12874
12875         * text.C (prepareToPrint): leave ERT inset left aligned
12876         (leftMargin): don't indent paragraphs inside ERT insets
12877
12878 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12879
12880         * paragraph.C (breakParagraph): dont call clear do the work manually
12881
12882         * paragraph.[Ch] (clear): remove function
12883
12884 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12885
12886         * paragraph.C (Paragraph): dont call clear, the work has already
12887         been done.
12888
12889         * lyxtextclass.C (operator): assert if n is empty
12890
12891         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12892         work manually instead.
12893
12894 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12895
12896         * BufferView_pimpl.C: protect selectionLost against text == 0
12897
12898 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12899
12900         * text.C (breakParagraph): fix a setting layout to '0' problem.
12901
12902 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12903
12904         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12905         final location of file, for the included files, and graphics.
12906
12907 2002-03-05  Juergen Vigna  <jug@sad.it>
12908
12909         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12910
12911 2002-03-04  Juergen Vigna  <jug@sad.it>
12912
12913         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12914
12915         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12916         last column of multicolumn cells.
12917         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12918
12919 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12920
12921         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12922         file if it doesn't go to a temporary file.
12923
12924         * buffer.C (sgmlOpenTag):
12925         (sgmlCloseTag):  remove extra newline insertion.
12926
12927 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12928
12929         * text.C (getRowNearY): comment out debug msg
12930
12931 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12932
12933         * text2.C: first -> first_y
12934
12935         * text.C (getRowNearY): add some attemts at a possible
12936         optimization, not working.
12937
12938         * tabular.[Ch]: add BufferParams to several function so that newly
12939         created paragraph can be initialized to he default layotu for the
12940         buffers textclass.
12941
12942         * tabular-old.C (ReadOld): add buf->params to call of Init
12943
12944         * screen.C: rename text->first to text->first_y
12945
12946         * paragraph.C (breakParagraph): always set layout in the broken
12947         paragraph
12948
12949         * lyxtextclass.C (Read): remove lowercase
12950         (hasLayout): ditto
12951         (operator): ditto
12952         (delete_layout): ditto
12953
12954         * lyxtext.h: rename first -> first_y
12955
12956         * lyxlayout.C (Read): remove lowercase
12957         (name): ditto
12958         (setName): ditto
12959         (obsoleted_by): ditto
12960
12961         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12962
12963         * buffer.C (insertErtContents): add params are to InsetERT
12964         (parseSingleLyXformat2Token): add code to check if a paragraphs
12965         layout really exist.
12966         (parseSingleLyXformat2Token): add params to several inset
12967         constructors
12968         (asciiParagraph): remove lowercase, do the layout comparisons with
12969         no_case
12970
12971         * BufferView_pimpl.C (cursorNext): first -> first_y
12972         (resizeCurrentBuffer): first -> first_y
12973         (updateScrollbar): first -> first_y
12974         (scrollCB): first -> first_y
12975         (workAreaMotionNotify): first -> first_y
12976         (workAreaButtonPress): first -> first_y
12977         (checkInsetHit): first -> first_y
12978         (cursorPrevious): first -> first_y
12979         (cursorNext): first -> first_y
12980         (Dispatch): add buffer_->params to severl inset contructors
12981
12982 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12983
12984         * lyxlayout.C (Read): remove some debug info that I forgot.
12985
12986         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12987         clean up the code slightly.
12988         (makeLinuxDocFile): ditto
12989         (makeDocBookFile): ditto
12990
12991         * text2.C: layout as string
12992
12993         * text.C: layout as string
12994
12995         * paragraph_pimpl.C: layout as string
12996
12997         * paragraph.[Ch]: layout as string
12998
12999         * lyxtextclasslist.[Ch]: layout as string
13000
13001         * lyxtextclass.[Ch]: layout as string
13002
13003         * lyxtext.h: layout as string
13004
13005         * lyxlayout.[Ch]: layout as string
13006
13007         * lyx_cb.C: layout as string
13008
13009         * bufferview_funcs.C: layout as string
13010
13011         * bufferparams.C: layout as string
13012
13013         * buffer.C: layout as string
13014
13015         * LyXView.[Ch]: layout as string
13016
13017         * LaTeXFeatures.[Ch]: layout as string
13018
13019         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13020
13021         * BufferView_pimpl.C: change current_layout to string, remove
13022         lyx::layout_type.
13023         (Dispatch):
13024         (smartQuote):
13025         (insertInset):
13026         (workAreaButtonRelease): layout as string
13027
13028         * BufferView2.C (unlockInset): adjust
13029
13030         * vspace.C (asLatexCommand): use an explict temp variable.
13031
13032 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13033
13034         * Makefile.am: use FRONTEND_*
13035
13036 2002-03-01  Juergen Vigna  <jug@sad.it>
13037
13038         * tabular.C (SetWidthOfMulticolCell): changed to something better
13039         I hope but still work in progress.
13040         (recalculateMulticolumnsOfColumn): renamed function from
13041         recalculateMulticolCells as it is more appropriate now.
13042         (SetWidthOfCell): calculate multicols better.
13043
13044 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13045
13046         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13047
13048         * lyxfunc.C (processKeySym): print sequence also if it is
13049         `deleted' (complete)
13050
13051         * kbsequence.C (print): print sequence even if it is deleted
13052         (complete would be a better word, actually).
13053
13054         * lyxfunc.C (dispatch): print complete options after a prefix key
13055
13056         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13057
13058 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13059
13060         * text2.C (setCharFont): eliminate setCharFont code duplication.
13061
13062 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13063
13064         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13065         LFUN_TABULAR_FEATURE (bug #177)
13066
13067 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13068
13069         * Makefile.am: remove figure.h
13070
13071 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13072
13073         * Bufferview_pimpl.C:
13074         * CutAndPasteC:
13075         * LaTeX.C:
13076         * LyXSendto.C:
13077         * buffer.C:
13078         * bufferlist.C:
13079         * converter.C:
13080         * language.C:
13081         * lyxfunc.C:
13082         * lyxvc.C:
13083         * paragraph.C:
13084         * text.C:
13085         * text2.C: remove #include "lyx_gui_misc.h".
13086
13087         * LaTeX.C: added #include <cstdio>
13088
13089 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13090
13091         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13092         that the paragraph following this one can have.
13093
13094         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13095
13096         * vspace.C (asLatexCommand): fix bogus gcc warning
13097
13098         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13099
13100 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13101
13102         * text2.C (setLayout): get rid of redundant code
13103
13104 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13105
13106         * text2.C (incDepth): make sure depth cannot be increased beyond
13107         reasonable values.
13108
13109 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13110
13111         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13112         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13113
13114         * PainterBase.h (image):
13115         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13116         a LyXImage const *.
13117
13118 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13119
13120         * BufferView.C:
13121         * BufferView.h:
13122         * BufferView_pimpl.C:
13123         * BufferView_pimpl.h:
13124         * LaTeXFeatures.C:
13125         * LyXAction.C:
13126         * LyXView.C:
13127         * Makefile.am:
13128         * UpdateList.h:
13129         * UpdateList.C:
13130         * buffer.C:
13131         * figure.h:
13132         * figureForm.C:
13133         * figureForm.h:
13134         * figure_form.C:
13135         * figure_form.h:
13136         * lyx_cb.C:
13137         * lyx_gui.C:
13138         * lyx_gui_misc.C:
13139         * lyxfunc.C:
13140         * sp_base.h:
13141         * sp_ispell.h:
13142         * sp_pspell.h:
13143         * sp_spell.C: remove fig inset, and the crap house of
13144           cards that follows it
13145
13146 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13147
13148         * Makefile.am:
13149         * lyxserver.C:
13150         * os2_defines.h:
13151         * os2_errortable.h:
13152         * nt_defines.h: move .h into support/
13153
13154         * vms_defines.h: remove
13155
13156         * WorkArea.C: add space in debug output
13157
13158         * text2.C:
13159         * paragraph.C:
13160         * buffer.C: add WITH_WARNINGS
13161
13162         * vc-backend.h:
13163         * vc-backend.C:
13164         * bufferlist.C: s/retrive/retrieve/, add docs
13165
13166         * vspace.h:
13167         * vspace.C:
13168         * kbmap.h:
13169         * lyxlength.h:
13170         * lyxgluelength.h:
13171         * length_common.h:
13172         * chset.h:
13173         * chset.C: add docs
13174
13175         * lyxgui.C: add ID to X error handler
13176
13177         * lyxtestclass.c: fix typo
13178
13179 2002-02-26  Juergen Vigna  <jug@sad.it>
13180
13181         * tabular_funcs.C (write_attribute): changed so that some default
13182         attributes are not written at all.
13183         (getTokenValue): set default values before trying to read the
13184         value so we have the return value always set as default if we don't
13185         find the token we search for.
13186
13187         * tabular.C (Write): write bools as bools not as strings!
13188
13189 2002-02-22  Juergen Vigna  <jug@sad.it>
13190
13191         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13192         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13193
13194         * text.C (leftMargin): don't add an indent for paragraphs inside
13195         tabular cells (fix #208).
13196
13197 2002-02-21  José Matos  <jamatos@fep.up.pt>
13198
13199         * tabular.C (docBook): fixed support for long tables.
13200
13201 2002-02-20  Juergen Vigna  <jug@sad.it>
13202
13203         * text2.C (getFont): get the drawing font of the Inset if this
13204         paragraph is inside an inset (only important for InsetERT for now).
13205
13206         * buffer.C (insertErtContents): use new lanugage params in ERT
13207         constructor.
13208
13209         * CutAndPaste.C: commenting out seemingly uneeded code.
13210
13211 2002-02-19  Allan Rae  <rae@lyx.org>
13212
13213         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13214         Iterators might be simple to use but they also get invalidated.
13215         (removeAutoInsets): renamed saved cursor tracking variables and added
13216         some comments to clarify what everything does.
13217
13218 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13219
13220         * Chktex.C:
13221         * LaTeX.C:
13222         * LyXSendto.C:
13223         * converter.C:
13224         * lyx_cb.C:
13225         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13226         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13227
13228         * lyxfunc.C:
13229         * vc-backend.h: remove #include "support/syscall.h"
13230
13231         * LaTeX.C:
13232         * LyXSendto.C:
13233         * converter.C: rearrange #includes in Lars' approved fashion.
13234
13235         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13236         forward declare class Timeout in the header file.
13237
13238         * XFormsView.C: changes due to the above.
13239
13240         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13241         similar to LyXView.
13242
13243         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13244         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13245
13246 2002-02-18  José Matos  <jamatos@fep.up.pt>
13247
13248         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13249         insets contents.
13250
13251 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13252
13253         * a lot of small ws changes
13254         * add a lot of using std::XXX
13255         * use std construcs some places where approp.
13256         * use some exisint stuff from lyxfunctional where approp.
13257         * Make file changes to use partial linking (lets test this now...)
13258
13259 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13260
13261         * Chktex.C:
13262         * buffer.C:
13263         remove #include "support/syscontr.h" as it's redundant. Always has been.
13264
13265         * Chktex.C:
13266         * LaTeX.C:
13267         * LyXSendto.C:
13268         * converter.C:
13269         * lyx_cb.C:
13270         * vc-backend.C:
13271         change Systemcalls::System to Systemcalls::Wait and
13272         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13273         No change of functionality, just reflects the stripped down Systemcalls
13274         class.
13275
13276 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13277
13278         * debug.[Ch]: add a GRAPHICS type to the enum.
13279
13280 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13281
13282         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13283
13284         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13285         there is an inset.
13286
13287 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13288
13289         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13290         match the changes below.
13291
13292         * text2.C (toggleInset): if there is not editable inset at cursor
13293         position, try to see if cursor is _inside_ a collapsable inset
13294         and close it.
13295
13296 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13297
13298         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13299         document menu has a nice checkbox
13300
13301 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13302
13303         * lyxlength.C (asLatexString): change PW to output as percent of
13304         \textwidth.
13305
13306         * lengthcommon.C: change '%' to 't%'
13307
13308         * lyxfunc.C (dispatch): a few comments from Martin
13309
13310 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13311
13312         * WorkArea.h:
13313         * WorkArea.C:
13314         * BufferView_pimpl.h:
13315         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13316           the X selection.
13317
13318 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13319
13320         * vspace.C (inPixels): fix compiler warning
13321
13322 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13323
13324         * lyxfunc.C (getStatus): fix status message for disabled commands.
13325
13326 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13327
13328         * BufferView_pimpl.C: fix crash on close buffer
13329         during selection (#227)
13330
13331 2002-01-27  Herbert Voss  <voss@lyx.org>
13332
13333         * buffer.C: link old Figure to new graphic inset
13334
13335 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13336
13337         * FontLoader.C (getFontinfo): Change the latex font names in order
13338         to match the names of type1inst.
13339
13340 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13341
13342         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13343
13344         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13345         (extchanged): ditto
13346         (ext_exist): ditto
13347         (remove_files_with_extension): ditto
13348         (remove_file): ditto
13349         (write): ditto
13350
13351         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13352         document is smaller than the work area height. Do not initialize
13353         static variables to 0.
13354
13355 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13356
13357         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13358
13359         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13360         LFUN_LAYOUT_PARAGRAPHS.
13361
13362         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13363         tabular. It is possible to provide a possible cell, which will
13364         typically be the actcell from the corresponding insettabular
13365
13366         * lyxfunc.C (getStatus): small cleanup; disable
13367         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13368         true
13369
13370 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13371
13372         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13373
13374         * paragraph.C (startTeXParParams):
13375         (endTeXParParams): new methods. The LaTeX code to
13376         start/end paragraph formatting
13377         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13378         empty (fixes bug #200)
13379
13380         * vspace.C (inPixels): adapt to the change below
13381         (inPixels): [later] more cleanups (remove unused variables)
13382
13383         * lyxlength.C (inPixels): change to use a width and a height as
13384         parameter.
13385
13386 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13387
13388         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13389         Replaced with \paperwidth
13390
13391         * DepTable.C (insert): add std:: qualifier
13392
13393 2002-01-18  Allan Rae  <rae@lyx.org>
13394
13395         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13396         updated also?
13397
13398         * text.C (drawInset): Turned out I didn't know enough about how
13399         rebreaking worked.  This fixes most of the redraw problems.  I see
13400         an occasional cursor trail when a line is broken now and the cursor
13401         placement can seem out by a few pixels also after a rebreak.
13402
13403 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13404
13405         * buffer.C (parseSingleLyXformat2Token): update because minipage
13406         width is now a LyXLength
13407
13408         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13409
13410         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13411         math insets
13412
13413 2002-01-17  Juergen Vigna  <jug@sad.it>
13414
13415         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13416
13417         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13418         is set correctly and the inset is updated correctly.
13419
13420 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13421
13422         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13423         the beginning of the loop.
13424
13425 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13426
13427         * lyxrc.C: improve help for use_scalable_fonts
13428
13429 2002-01-17  Allan Rae  <rae@lyx.org>
13430
13431         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13432
13433 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13434
13435         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13436         make sure to set their inset_owner to the right value (bug #171)
13437
13438 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13439
13440         * DepTable.h
13441         * DepTable.C: Implement mtime checking to reduce time spent doing
13442         CRCs.
13443
13444 2002-01-16  Juergen Vigna  <jug@sad.it>
13445
13446         * tabular.C (GetAdditionalHeight): one of error fixed.
13447
13448         * lyxrc.C (output): small fix in writing use_pspell.
13449
13450 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13451
13452         * sp_base.h: #include LString.h
13453
13454 2002-01-16  Allan Rae  <rae@lyx.org>
13455
13456         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13457         Can someone check this please?
13458
13459         * text.C (drawInset): It was possible that p.row would be removed by
13460         breakAgainOneRow upsetting a few other settings.  There may be another
13461         small tweak possible by setting need_break_row = 0 when p.row has been
13462         removed but I don't know enough about the logic here.
13463
13464 2002-01-15  Allan Rae  <rae@lyx.org>
13465
13466         * text.C (insertChar): removed conditional truism.
13467
13468         * BufferView2.C (removeAutoInsets): More tweaks.
13469         cur_par_prev could be a stray pointer.  Check for trailing empty line
13470         in case last line was cur_par and only had an error inset on it.
13471
13472 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13473
13474         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13475         absolute
13476
13477         * vc-backend.C (most methods):
13478         * exporter.C (Export):
13479         * converter.C (convert):
13480         (runLaTeX):
13481         * LyXSendto.C (SendtoApplyCB):
13482         * lyxfunc.C (dispatch):
13483         (menuNew):
13484         (open):
13485         (doImport):
13486         * lyx_cb.C (AutoSave):
13487         (InsertAsciiFile):
13488         * BufferView_pimpl.C (MenuInsertLyXFile):
13489         * buffer.C (runChktex): use Buffer::filePath().
13490
13491         * buffer.h: rename filename to filename_; rename filepath to
13492         filepath_ and make it private
13493         (filePath): new method
13494
13495         * buffer.C (writeFile): use fileName()
13496         (getLatexName):
13497
13498         * lyx_main.C (init): fix starting  of LyX when the binary is a
13499         link from so,ewhere else.
13500
13501         * minibuffer.C: include <cctype> for isprint
13502
13503 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13504
13505         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13506         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13507         name clash with InsetCollapsable's width function.
13508
13509 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13510
13511         * lastfiles.C: include <iterator>
13512
13513 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13514
13515         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13516         std::count.
13517
13518         * buffer.C (makeLaTeXFile): ditto.
13519         Also make loop operation more transparent.
13520
13521 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13522
13523         * ToolbarDefaults.C: remove trailing comma closing namespace.
13524
13525         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13526
13527         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13528         as in WorkArea.
13529
13530         * trans.C (Load): comment out unused variable, allowed.
13531
13532 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13533
13534         * minibuffer.[Ch] (append_char): new method to recieve input from the
13535         drop-down completion browser. If a key was pressed, then recieve this
13536         char and append it to the existing string.
13537         (peek_event): modify the positioning data passed to the completion
13538         browser so that it can be placed above the minibuffer rather than below.
13539 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13540
13541         * LyXAction.C (init): alloe error-next for readonly documents.
13542
13543         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13544         count.
13545
13546 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13547
13548         * bufferlist.C (readFile): create the buffer _after_ checking that
13549         the file exists.
13550
13551         * lyxfunc.C (verboseDispatch): fix handling of arguments
13552
13553         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13554
13555         * lyxrc.C: use string::erase() instead of initializing to "".
13556
13557
13558 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13559
13560         * BufferView_pimpl.h:
13561         * BufferView_pimpl.C:
13562         * WorkArea.h:
13563         * WorkArea.C:
13564         * text2.C: tell X when we have made a selection for copying
13565
13566 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13567
13568         * BufferView_pimpl.C (MenuInsertLyXFile):
13569         * lyxfunc.C (menuNew):
13570         (open):
13571         (doImport): add shortcuts to directory buttons
13572
13573         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13574         open a float)
13575
13576         * lyxfunc.C (setStatusMessage):
13577         (getStatusMessage): new methods
13578         (getStatus):use setStatusMessage instead of setErrorMessage
13579         (dispatch): when function is disabled, set error message here
13580         [instead of in getStatus previously]
13581
13582         * BufferView_pimpl.C (workAreaButtonRelease): update
13583         toolbar/menubar here too.
13584
13585 2002-01-13  Allan Rae  <rae@lyx.org>
13586
13587         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13588         Now seems indestructible.  Remaining task is to audit all other
13589         code affected by deleteEmptyParagraphMechanism.  One small quirk
13590         left is that an empty document with an error in the preamble can
13591         be made to report an error but no error box appears.  I don't know
13592         where it goes.
13593         (removeAutoInsets): Improved comments.
13594
13595 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13596
13597         * Thesaurus.h:
13598         * Thesaurus.C: update for Aiksaurus 0.14
13599
13600 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13601
13602         * text2.C (firstParagraph): removed member function, all uses
13603         replaces with ownerParagraph
13604         (redoParagraphs): here
13605         (updateInset): here
13606         (toggleAppendix): here
13607         * BufferView2.C (insertErrors): here
13608         (setCursorFromRow): here
13609
13610 2002-01-13  Allan Rae  <rae@lyx.org>
13611
13612         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13613         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13614         There is still a way to segfault this although you may have to do this
13615         multiple times: Have an InsetERT with an unknown command in it.
13616         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13617         <down-arrow>, <Enter> again, View->DVI, BANG!
13618
13619         * text2.C (setCursor):
13620         (deleteEmptyParagraphMechanism):
13621         * lyxtext.h (setCursor):
13622         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13623         Making use of the return value may help fix other bugs.
13624
13625 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13626
13627         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13628
13629         * LyXView.C (updateMenubar): call MenuBar::update here
13630         (updateToolbar): but not here
13631         (showState): do not update toolbar/menubar
13632
13633         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13634         should need to care about that.
13635
13636         * lyxfunc.C (verboseDispatch): simplify a bit
13637         (getStatus): have a version which takes a pseudoaction, and
13638         another which requires a (kb_action,string).
13639
13640         * LyXAction.C (retrieveActionArg): make it work also when action
13641         is not a pseudo-action.
13642         (getActionName): simplify a bit
13643         (helpText):
13644
13645 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13646
13647         * lyxfunc.C (verboseDispatch): new families of methods with
13648         several ways to specify a command and a bool to indicate whether
13649         the command name and shortcut should be displayed in minibuffer
13650         (eventually, we could extend that to a finer bitmask like
13651         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13652         (dispatch): the pristine dispatch command which just, well,
13653         dispatchs! Note it still sets its result to minibuffer; I'm not
13654         sure we want that.
13655
13656         * lyxfunc.h: remove setHintMessage
13657
13658         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13659
13660 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13661
13662         * BufferView_pimpl.C (specialChar): delete new inset if we have
13663         not been able to insert it.
13664
13665         * kbmap.C: revert to using int instead of kb_action, since all we
13666         are dealing with is pseudo-actions.
13667
13668         * LyXAction.C (searchActionArg): change to return int instead of
13669         kb_action, since the result is a pseudoaction.
13670
13671 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13672
13673         * buffer.C (insertErtContents): Fix (partially) the font bug.
13674
13675 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13676
13677         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13678         as the other one is broken on my machine!
13679
13680 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13681
13682         * commandtags.h:
13683         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13684
13685 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13686
13687         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13688         reflect their actual use. Provide compatibility code for older lyxrc
13689         files.
13690
13691         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13692         FL_NORMAL_STYLE.
13693         change names of popup font variables in line with the changes to lyxrc.C
13694
13695 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13696
13697         * buffer.C (asciiParagraph): avoid outputing a word twice after
13698         an inset.
13699
13700         * lyxrc.C (getDescription): document that document_path and
13701         template_path can be empty.
13702
13703 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13704
13705         * LaTeXFeatures.C (getMacros):
13706         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13707
13708         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13709
13710         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13711         getPackages.
13712         (getPackages): rename feature "floats" to "float". Use an array to
13713         iterate over 'simple' features (i.e. just a \usepackage). Add
13714         handling of "amsmath" (renamed from "amsstyle").
13715
13716 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13717
13718         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13719         features list.
13720
13721 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13722
13723         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13724         FuncStaus::FuncStatus & FuncStaus::some_method().
13725
13726 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13727
13728         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13729         of the func_satus stuff. Edited and massaged in various ways by
13730         JMarc.
13731
13732         * lyxfunc.C (getStatus): use FuncStatus
13733
13734 2002-01-08  Juergen Vigna  <jug@sad.it>
13735
13736         * text.C (nextBreakPoint): use function Inset::isChar().
13737
13738         * paragraph.C (TeXOnePar): use function
13739         Inset::forceDefaultParagraphs.
13740
13741         * buffer.C (latexParagraphs): use function
13742         Inset::forceDefaultParagraphs.
13743
13744 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13745
13746         * lyx_gui.C (init): set the style of the menu popups to
13747         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13748
13749 2002-01-07  Juergen Vigna  <jug@sad.it>
13750
13751         * text.C (setHeightOfRow): small fix
13752         (prepareToPrint): don't look at alignment if we don't have the place
13753         for doing it.
13754
13755 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13756
13757         * box.C: New file. Move the Box methods and functions out of box.h,
13758         following Lars' suggestion.
13759
13760 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13761
13762         * box.h: #include "support/LOstream.h", needed for inlined function.
13763
13764         * lyxtextclass.C:
13765         * lyxtextclasslist.C: added some using std declarations.
13766
13767 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13768
13769         * box.h: make signed dimensions to allow insets wider than
13770           the screen (bug #162)
13771
13772         * BufferView_pimpl.C: add some insetHit debug
13773
13774 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13775
13776         * vc-backend.C: add FIXME
13777
13778 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13779
13780         * lyxfunc.C (getStatus): enable code for showing math font status
13781         in toolbar/menu.
13782
13783 2002-01-07  Juergen Vigna  <jug@sad.it>
13784
13785         * text.C (nextBreakPoint): removed debug output not needed anymore.
13786
13787 2002-01-06  Juergen Vigna  <jug@sad.it>
13788
13789         * text.C (nextBreakPoint): fixed up this function we had this bug
13790         since ever but now hopefully we break row better.
13791         (insertChar): we have to check if an inset is the next char as it
13792         could now happen that a large inset is causing a break.
13793
13794 2002-01-05  Juergen Vigna  <jug@sad.it>
13795
13796         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13797         if it doesn't like to be drawed.
13798
13799 2002-01-04  Juergen Vigna  <jug@sad.it>
13800
13801         * BufferView2.C (lockInset): forgot to set a cursor.
13802
13803         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13804
13805 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13806
13807         * FormMathsPanel.C:
13808         * FormMathsPanel.h
13809         * MathsSymbols.C:
13810         * form_maths_panel.C:
13811         * form_maths_panel.h:
13812         * form_maths_panel.fd: implemented sub- and super- buttons in math
13813         panel.
13814
13815         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13816         (or ^ space) to be used as in TeX (req'd by André).
13817
13818         * lyxfunc.C: Allow ^ and _ again to be used both as
13819         super/subscript (mathed) and as themselves (in text).
13820
13821 2002-01-03  Allan Rae  <rae@lyx.org>
13822
13823         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13824         "LyX" or the filename of the current buffer if it has one.  This is a
13825         modified form of John Levon's patch.
13826
13827         * XFormsView.C (setWindowTitle): also set icon title.
13828
13829         * LyXView.h (setWindowTitle): signature changed.
13830         * XFormsView.h (setWindowTitle): ditto.
13831
13832 2002-01-02  Juergen Vigna  <jug@sad.it>
13833
13834         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13835
13836 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13837
13838         * screen.C (topCursorVisible): introduce a temp var for
13839         text->cursor.row(), handle the case where this row is null. (kindo
13840         hachish)
13841
13842         * text2.C (setCursor): add a couple of asserts.
13843
13844         * paragraph.h (inset_iterator): add -> operator
13845
13846         * paragraph.[Ch] (autoDeleteInsets): remove member function
13847
13848         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13849         cursor pos correctly and handle inset deletion by itself.
13850         (insertErrors): move iterator declaration out of for expression
13851
13852         * lyxtextclass.C: add <algorithm>
13853
13854         * Makefile.am: added the new files to sources, removed layout.C
13855
13856         * layout.C: removed file
13857
13858         * layout.h: remove LYX_DUMMY_LAYOUT
13859
13860         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13861         layout.
13862
13863         * lyxlayout.[Ch]:
13864         * lyxtextclass.[Ch]:
13865         * lyxtextclasslist.[Ch]: new files
13866
13867         * include order changes to a lot of files, also changes because of
13868         the six new files.
13869
13870 2001-12-27  Juergen Vigna  <jug@sad.it>
13871
13872         * buffer.C (asciiParagraph): more fixes.
13873
13874         * tabular.C (ascii): make ascii export support export of only the
13875         data separated by a column-delimiter.
13876         (ascii): better support for ascii export.
13877
13878         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13879
13880 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13881
13882         * tabular_funcs.C: use a "using std::getline" instead of the
13883         previous fix from Angus (necessary for cxx + lyxstring)
13884
13885 2001-12-24  Juergen Vigna  <jug@sad.it>
13886
13887         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13888
13889         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13890         problems. First check a minipage also if we have some ert-contents
13891         (not only on par->size(), second set the right depth of the paragraph
13892         on the relink to the root-paragraph-list!
13893
13894         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13895         which then did not anymore update the main paragraphs on undo/redo!
13896
13897 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13898
13899         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13900         code. Support all font-changing funcs (even those which are not in
13901         menu currently). Support for reporting font settings in
13902         mathed (disabled until Andre provides a function on mathed's side).
13903
13904         * func_status.h (toggle): small helper function to set toggle
13905         state on a flag.
13906
13907 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13908
13909         * tabular_funcs.C: getline -> std::getline
13910
13911 2001-12-21  Juergen Vigna  <jug@sad.it>
13912
13913         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13914         accessed and could be 0 (I couldn't generate this but it seems
13915         Michael could!).
13916
13917 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13918
13919         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13920         * tabular_funcs.h: here and include iosfwd
13921
13922 2001-12-20  Juergen Vigna  <jug@sad.it>
13923
13924         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13925         inside inset but undo_par was.
13926
13927 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13928
13929         * Thesaurus.C: always include <config.h> in sources.
13930
13931         * Painter.h:
13932         * lyxlookup.h:
13933         * box.h: do not include <config.h> in header files
13934
13935         * text.C (paintLastRow): remove unused variable
13936
13937         * text.C (transformChar):
13938         (insertChar):
13939         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13940
13941         * Painter.C (text):
13942         * font.C (width): rewrite to use uppercase() instead of
13943         islower/toupper.
13944
13945         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13946
13947 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13948
13949         * lyxfind.C: clean up of find failure position change
13950
13951 2001-12-20  Juergen Vigna  <jug@sad.it>
13952
13953         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13954
13955         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13956         (TeXRow): added to LaTeX a single tabular row.
13957         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13958         (Latex): simplified and finally good LT-h/f support.
13959         (various_functions): just small adaptions for LT-h/f support.
13960
13961         * tabular_funcs.[hC]: added and moved here all not classfunctions
13962         of LyXTabular.
13963
13964 2001-12-19  Juergen Vigna  <jug@sad.it>
13965
13966         * tabular.[Ch]: better support for longtabular options (not finished
13967         yet!)
13968
13969 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13970
13971         * text.C (paintLastRow): use the label font instead of the font of
13972         the last character to compute the size of *_BOX. This makes more
13973         sense and avoids a crash with empty paragraphs.
13974         Use Painter::rectangle to draw EMPTY_BOX.
13975
13976 2001-12-19  Juergen Vigna  <jug@sad.it>
13977
13978         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13979         the paragraphs if the replaced paragraph is not the first one!
13980         Tried to delete not used paragraphs but does not work yet so for
13981         now it's inside #ifdef's and by default off!
13982
13983 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13984
13985         * MenuBackend.C: include "lyx_main.h" instead of declaring
13986         lastfiles (actually was declared as LastFiles* instead of a
13987         scoped_ptr).
13988
13989 2001-12-17  Juergen Vigna  <jug@sad.it>
13990
13991         * tabular.C (AppendColumn): applied John's fix
13992
13993 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13994
13995         * BufferView.h:
13996         * BufferView.C:
13997         * BufferView_pimpl.h:
13998         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13999
14000         * Makefile.am:
14001         * box.h: new start of class for above
14002
14003         * lyxfunc.C: ignore space-only minibuffer dispatches.
14004           Show the command name when it doesn't exist
14005
14006         * minibuffer.C: don't add empty lines to the history
14007
14008         * minibuffer.C: add a space on dropdown completion
14009
14010 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14011
14012         * text.C: fix line above/below drawing in insets
14013
14014 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14015
14016         * lyxlength.C (LyXLength): Initialize private variables.
14017
14018 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14019
14020         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14021         when inserting error insets.
14022
14023 2001-12-13  Juergen Vigna  <jug@sad.it>
14024
14025         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14026         actually sometimes the before-paragraph.
14027         (setUndo): don't clear the redostack if we're not actually undoing!
14028
14029 2001-12-06  Juergen Vigna  <jug@sad.it>
14030
14031         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14032         and fixed redoing of main paragraph, so we can use it now ;)
14033
14034         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14035
14036 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14037
14038         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14039         Juergen's request
14040
14041 2001-12-13  André Pönitz <poenitz@gmx.net>
14042
14043         * undostack.[Ch]:
14044         * undo_func.C: minor cleanup
14045
14046 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14047
14048         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14049         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14050         font in urw-fonts package which is marked as -urw-fontspecific and
14051         does not work (incidentally, changing the encoding in the
14052         fonts.dir of this package to -adobe-fontspecific fixes the
14053         problem).
14054
14055         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14056         is a crash when undoing first paragraph (Juergen, please take a
14057         look). THis does not mean the undo fix is wrong, just that it
14058         uncovers problems.
14059
14060         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14061         the (Paragraph*) version when needed instead of duplicating the
14062         code.
14063
14064         * text.C (workWidth): use Inset::parOwner to find out where the
14065         inset has been inserted. This is a huge performance gain for large
14066         documents with lots of insets. If Inset::parOwner is not set, fall
14067         back on the brute force method
14068
14069         * paragraph_pimpl.C (insertInset):
14070         * paragraph.C (Paragraph):
14071         (cutIntoMinibuffer): set parOwner of insets when
14072         inserting/removing them
14073
14074         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14075
14076 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14077
14078         * commandtags.h:
14079         * LyXAction.C:
14080         * lyx_main.C:
14081         * lyxfunc.C:
14082         * mathed/formulabase.C:
14083         * mathed/math_cursor.[Ch]:
14084         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14085
14086
14087 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14088
14089         * lyxlength.[Ch] (operator!=): new function
14090
14091 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14092
14093         * text.C (workWidth): use Inset::parOwner to find out where the
14094         inset has been inserted. This is a huge performance gain for large
14095         documents with lots of insets. If Inset::parOwner is not set, fall
14096         back on the brute force method
14097
14098         * paragraph_pimpl.C (insertInset):
14099         * paragraph.C (Paragraph):
14100         (cutIntoMinibuffer): set parOwner of insets when
14101         inserting/removing them
14102
14103         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14104
14105 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14106
14107         * tabular-old.C (getTokenValue):
14108         * tabular.C (getTokenValue):
14109         (write_attribute): new versions for LyXLength
14110         (everywhere): adjust the use of widths
14111
14112         * tabular.h: change the type of widths from string to LyXLength
14113
14114 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14115
14116         * paragraph.C: fixed missing line number count when exporting
14117         Environments to LaTeX file
14118
14119         * buffer.C: added informational message for checking line numbers.
14120
14121 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14122
14123         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14124         paragraph, do the 'double space' part, but not the 'empty
14125         paragraph' one.
14126
14127         * text.C (workWidth): small optimization
14128         (getLengthMarkerHeight): use minimal size for negative lengths.
14129
14130 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14131
14132         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14133
14134         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14135
14136 2001-12-11  André Pönitz <poenitz@gmx.net>
14137
14138         * FontLoader.C:
14139         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14140
14141 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14142
14143         * text2.C: keep selection on a setFont()
14144
14145 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14146
14147         * lyx_cb.C: another bv->text misuse, from insert label
14148
14149 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14150
14151         * kbsequence.h:
14152         * kbsequence.C: re-instate nmodifier mask
14153
14154 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14155
14156         * lyx_main.h: make lyxGUI private.
14157
14158 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14159
14160         * lyxfind.C: place the cursor correctly on failed search
14161
14162 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14163
14164         * text.C (getLengthMarkerHeight): for small heights, the arrows
14165         are not always on top/bottom of the text
14166         (drawLengthMarker): smaller arrows; take the left margin in
14167         account; draw also vfills.
14168         (paintFirstRow):
14169         (paintLastRow): remove special code for vfill and standard spaces,
14170         since everything is handled in drawLengthMarker now.
14171
14172 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14173
14174         * buffer.C (insertErtContents): try to handle font and language
14175         interaction a bit better.g
14176
14177         * ColorHandler.C (updateColor): change the hash to cover the whole
14178         LColor enum, ws cleanup
14179         (getGCLinepars): ditto
14180         (getGCLinepars): only lookup in the linecache once.
14181
14182 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14183
14184         * iterators.C (operator++): Make the iterator more robust
14185
14186         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14187         (John's patch)
14188         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14189
14190 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14191
14192         * lyxtext.h:
14193         * text.C: better added space drawing
14194
14195 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14196
14197         * LyXView.C:
14198         * BufferView2.C: fix layout combo update on inset unlock
14199
14200 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14201
14202         * Makefile.am: don't compile unused files
14203
14204 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14205
14206         * lyxfunc.C:
14207         * commandtags.h:
14208         * LyXAction.C: remove old LFUN_LAYOUTNO
14209
14210 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14211
14212         * paragraph_pimpl.h:
14213         * paragraph_pimpl.C: isTextAt() doesn't need font param
14214
14215 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14216
14217         * lyxlex.h:
14218         * lyxlex.C: little cleanup
14219
14220 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14221
14222         * BufferView_pimpl.C: fix insertAscii for insets
14223
14224 2001-12-05  Juergen Vigna  <jug@sad.it>
14225
14226         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14227         set the right font on the "multi" paragraph paste!
14228
14229 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14230
14231         * trans_decl.h:
14232         * trans_mgr.[Ch]:
14233         * trans.[Ch]:
14234         * lyxgluelength.C:
14235         * lyxlength.C: remove out-commented code.
14236
14237         * BufferView_pimpl:
14238         * CutAndPaste.C:
14239         * DepTable.C:
14240         * buffer.C:
14241         * chset.C:
14242         * lastfiles.C:
14243         * lyxlex.C:
14244         * lyxlex_pimpl.C:
14245         * lyxserver.C:
14246         * screen.C:
14247         * tabular-old.C:
14248         * tabular.C:
14249         * text.C:
14250         * trans_mgr.C:
14251         * vc-backend.C: change "while(" to "while ("
14252
14253         * lyxlength.[Ch]: add zero function to check if length is zero or
14254         not
14255         * lyxgluelength.C: use it
14256
14257 2001-12-05  Allan Rae  <rae@lyx.org>
14258
14259         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14260         Works for 2.95.3, from what I understand of Garst's reports this should
14261         work for other g++ versions.  We're screwed if the abs(int) definition
14262         changed between bugfix releases of gcc.
14263
14264 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14265
14266         * text.C: fix chapter label offset !
14267
14268 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14269
14270         * lyxtext.h:
14271         * text.C: fix hfill at end of line, clean up
14272
14273 2001-12-04  Juergen Vigna  <jug@sad.it>
14274
14275         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14276         that we force an update of the inset and it's owners if neccessary.
14277
14278 2001-12-03  Juergen Vigna  <jug@sad.it>
14279
14280         * text.C (rowLast): simplified code
14281
14282 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14283
14284         * lyxfunc.C: fix show options on timeout
14285
14286 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14287
14288         * screen.C (topCursorVisible): scroll half a page when the cursor
14289         reached top of bottom of screen
14290
14291 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14292
14293         * minibuffer.C: deactivate on loss of focus
14294
14295 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14296
14297         * vspace.[Ch] (operator!=): add operator.
14298
14299 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14300
14301         * BufferView_pimpl.C: refuse to open an inset when
14302         there's a selection.
14303
14304 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14305
14306         * BufferView_pimpl.C: allow to click on RHS of full row insets
14307
14308 2001-11-30  Juergen Vigna  <jug@sad.it>
14309
14310         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14311         insets for undo reasons.
14312
14313 2001-11-28  André Pönitz <poenitz@gmx.net>
14314
14315         * vspace.[Ch]: cosmetical changes
14316
14317 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14318
14319         * LyXAction.h:
14320         * LyXAction.C:
14321         * lyxfunc.h:
14322         * lyxfunc.C:
14323         * kbmap.h:
14324         * kbmap.C:
14325         * lyxrc.C:
14326         * kbsequence.h:
14327         * kbsequence.C: part re-write of old kb code
14328
14329         * Painter.C:
14330         * WorkArea.C: remove Lgb_bug_find_hack
14331
14332 2001-11-30  José Matos <jamatos@fep.up.pt>
14333
14334         * buffer.C (makeDocBookFile): add a comment to point a hack.
14335         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14336         Fixed a double write of labels.
14337
14338 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14339
14340         * LaTeX.C:
14341         * LaTeX.h Fixed bug in LaTeX class where it would not
14342         re-run latex if no depfiles were changed, but the .dvi was removed.
14343
14344 2001-11-28  André Pönitz <poenitz@gmx.net>
14345
14346         * all the files from the change on 2001/11/26:
14347         use lyx::layout_type instead of LyXTextClass::size_type
14348         use lyx::textclass_type instead of LyXTextClassList::size_type
14349
14350 2001-11-29  Juergen Vigna  <jug@sad.it>
14351
14352         * text.C: added support for paragraph::isFreeSpacing()
14353
14354         * buffer.C: same as above
14355
14356         * paragraph.h: inserted isFreeSpacing() function to enable
14357         FreeSpacing inside InsetERT.
14358
14359         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14360         of the paragraph's in the cut/copy buffer to 0!
14361
14362         * text2.C (removeRow): remove the assert as it can!
14363
14364         * lyxtext.h: added helper function firstRow returning firstrow and
14365         made firstrow private again.
14366
14367         * BufferView2.C (lockInset): don't relock if we're already locked!
14368
14369         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14370         the only paragraph.
14371         (removeRow): added Assert::(firstrow)
14372
14373         * debug.C: forgot to add INSETTEXT here.
14374
14375 2001-11-28  Juergen Vigna  <jug@sad.it>
14376
14377         * sp_spell.C (initialize): changed error text to more general
14378         spellchecker command use (not only ispell!)
14379
14380         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14381
14382         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14383
14384 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14385
14386         * vspace.C: initialise lyxgluelength on failure
14387
14388 2001-11-28  Allan Rae  <rae@lyx.org>
14389
14390         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14391         declaration & definition that looks like a function declaration.
14392
14393 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14394
14395         * BufferView2.C (copy):
14396         (copyEnvironment): do not clear the selection when doing a copy.
14397
14398         * text.C (paintFirstRow): compilation fix
14399
14400 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14401
14402         * tabular.C (Latex): correct line count when writing latex.
14403
14404 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14405
14406         * paragraph_pimpl.h:
14407         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14408           bug a bit
14409
14410 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14411
14412         * text.C:
14413         * LColor.h:
14414         * LColor.C: change vfillline->added_space
14415
14416         * text.C: add markers and text for added space
14417
14418         * vspace.C: fix comment
14419
14420 2001-11-28  André Pönitz <poenitz@gmx.net>
14421
14422         * paragraph.C: whitespace changes
14423         * all the other files from the change on 2001/11/26:
14424         change *::pos_type into lyx::pos_type
14425
14426 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14427
14428         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14429         language of the document when inserting error insets.
14430
14431 2001-11-26  André Pönitz <poenitz@gmx.net>
14432
14433         * BufferView_pimpl.[Ch]:
14434         *       CutAndPaste.C:
14435         * buffer.[Ch]:
14436         * lyxcursor.[Ch]:
14437         * lyxfind.C:
14438         * lyxfunc.C:
14439         * lyxrow.[Ch]:
14440         * paragraph.[Ch]:
14441         * paragraph_pimpl.[Ch]:
14442         * sp_spell.C:
14443         * text.C:
14444         * text2.C: reduce header dependencies, introduce type for positions
14445
14446 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14447
14448         * <various>: change to use Alert.h
14449
14450 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14451
14452         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14453         when encountering an unknown token.
14454         (readLyXformat2): Show an error message if there were unknown tokens.
14455
14456 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14457
14458         * BufferView2.C:
14459         * BufferView_pimpl.C:
14460         * buffer.C:
14461         * paragraph.h:
14462         * text.C:
14463         * text2.C: use par->isInset()
14464
14465 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14466
14467         * paragraph_pimpl.h:
14468         * paragraph_pimpl.C: cleanup
14469
14470 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14471
14472         * text2.C (removeRow):
14473         * text.C (setHeightOfRow): remove useless (and costly) call to
14474         getRow.
14475
14476 2001-11-20  Allan Rae  <rae@lyx.org>
14477
14478         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14479         Now need Inset*::checkInsertChar() to return true for appropriate
14480         cases so that the characters in the minibuffer will actually be
14481         inserted.
14482
14483 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14484
14485         * text.C: change the order of the includes.
14486         (workWidth): initialize it at once.
14487         (workWidth): make maxw unsigned
14488         (setHeightOfRow): remove unused variable (inset)
14489         (selectSelectedWord): remove unused variable (inset)
14490         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14491
14492 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14493
14494         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14495         server is not running.
14496         (openConnection):
14497         (closeConnection): add debug info when server is disabled.
14498
14499         * ColorHandler.C (getGCForeground): send debug message to GUI
14500         channel.
14501
14502         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14503
14504         * kbmap.C (bind): modify because return conventions of
14505         kb_sequence::parse have changed.
14506
14507         * kbsequence.C (parse): only ignore spaces and not any stupid
14508         control character. This avoids tests like s[i] <= ' ', which are
14509         guaranteed to fail with 8bit characters and signed chars.
14510         Change return code to string::npos when there have been no error
14511         (0 was a bad idea when error is at first character)
14512
14513 2001-11-14  José Matos  <jamatos@fep.up.pt>
14514
14515         * buffer.h:
14516         * buffer.C (simpleDocBookOnePar): removed unused argument.
14517
14518 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14519
14520         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14521         insets which are part of a word. Paragraph::isLetter takes care of
14522         that now. Use Paragraph::isInset to identify insets.
14523         (selectSelectedWord): do not test for hyphenation break.
14524
14525         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14526         that protected spaces are considered as spaces.
14527
14528         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14529         Inset::isLetter.
14530
14531 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14532
14533         * lyxserver.h:
14534         * lyxserver.C: fix it. and small cleanup.
14535
14536 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14537
14538         * BufferView_pimpl.C: use inline helpers
14539
14540         * LaTeXFeatures.h:
14541         * LaTeXFeatures.C: fix typos
14542
14543         * Spacing.h:
14544         * Spacing.C: move spacing_string into class
14545
14546         * ToolbarDefaults.C: move stuff into namespace anon
14547
14548         * layout.h: update enum
14549
14550         * lyxfunc.C: use better debug
14551
14552         * minibuffer.h: fix typo
14553
14554         * debug.h:
14555         * debug.C:
14556         * WorkArea.C: add and use Debug::WORKAREA
14557
14558         * lyxtext.h:
14559         * text.C:
14560         * text2.C: code re-organisation, inline helpers
14561
14562 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14563
14564         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14565         std::vector.empty().
14566
14567 2001-11-09  Allan Rae  <rae@lyx.org>
14568
14569         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14570         '\n's after tables.  Tabular and ERT inset work now makes this no
14571         longer necessary.
14572
14573 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14574
14575         * minibuffer.h:
14576         * minibuffer.C: fix crash, improve drop-down completion
14577
14578 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14579
14580         * lyxserver.h:
14581         * lyxserver.C: invalidate fd's when doing endPipe()
14582
14583 2001-11-08  José Matos  <jamatos@fep.up.pt>
14584
14585         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14586         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14587
14588         * paragraph.h:
14589         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14590
14591 2001-11-07  José Matos  <jamatos@fep.up.pt>
14592
14593         * buffer.h:
14594         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14595         const qualifier.
14596
14597         * buffer.C (sgmlOpenTag):
14598         * buffer.C (sgmlCloseTag): removed debug info.
14599
14600         * buffer.h (sgmlOpenTag):
14601         * buffer.h (sgmlCloseTag): made public.
14602
14603 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14604
14605         * buffer.C (saveParamsAsDefaults):
14606         * lyx_cb.C (MenuLayoutSave): remove
14607
14608         * LyXAction.C (init):
14609         * commandtags.h:
14610         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14611
14612 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14613
14614         * buffer.C (setPaperStuff): removed from here...
14615
14616         * bufferparams.C (setPaperStuff): ... and moved there.
14617
14618 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14619
14620         * minibuffer.h:
14621         * minibuffer.C:
14622         * XFormsView.C: add support for drop-down completion
14623
14624 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14625
14626         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14627         commands.
14628
14629 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14630
14631         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14632         disabled.
14633
14634 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14635
14636         * lyx_main.C: change ref to known bugs
14637
14638 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14639
14640         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14641         to work around older babel problems.
14642
14643 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14644
14645         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14646
14647 2001-10-24  Juergen Vigna  <jug@sad.it>
14648
14649         * tabular-old.C (ReadOld): below variable changes reflected.
14650
14651         * tabular.[Ch]: added ltType struct for longtable header/footer
14652         defines and changed all instances where they are used. Added
14653         future support for double top/bottom rows.
14654
14655 2001-10-24  José Matos  <jamatos@fep.up.pt>
14656
14657         * buffer.h (docbookHandleCaption):
14658         * buffer.C (docbookHandleCaption): removed unused function.
14659         (makeDocBookFile): moved docbook supported version to v4.1.
14660
14661 2001-10-24  José Matos  <jamatos@fep.up.pt>
14662
14663         * tabular.h:
14664         * tabular.C (docbookRow): new function to export docbook code of a row.
14665         (DocBook): now honors the longtable flags.
14666
14667 2001-10-23  José Matos  <jamatos@fep.up.pt>
14668
14669         * LaTeXFeatures.h:
14670         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14671         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14672
14673         * buffer.C (makeLinuxDocFile):
14674         (makeDocBookFile): reworked the preamble, more clean, and with
14675         support for lyx defined entities. Changed the document declaration
14676         to be more XML friendly.
14677
14678         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14679         if we need to output XML that should be done with a filter.
14680
14681 2001-10-22  Juergen Vigna  <jug@sad.it>
14682
14683         * sp_pspell.h (class PSpell): add alive function needed in the
14684         controller to see if the spellchecker could be started.
14685
14686 2001-10-22  Juergen Vigna  <jug@sad.it>
14687
14688         * buffer.C (insertStringAsLines): modify the font for inserting
14689         chars in certain conditions by calling checkInsertChar(font).
14690
14691 2001-10-19  Juergen Vigna  <jug@sad.it>
14692
14693         * text.C (workWidth): use getRow instead of wrong algorithm.
14694         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14695
14696 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14697
14698         * lyxserver.h:
14699         * lyxserver.C:
14700         * lyx_main.h:
14701         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14702
14703 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14704
14705         * text.C (workWidth): do not search for the exact row when
14706         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14707         optimization for big documents.
14708
14709 2001-10-18  Juergen Vigna  <jug@sad.it>
14710
14711         * text.C (workWidth): new function with added Inset * parameter.
14712
14713 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14714
14715         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14716
14717         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14718         change return type of getColumnNearX.
14719
14720
14721         * text.C (changeRegionCase): use uppercase/lowercase instead of
14722         toupper/tolower.
14723         (leftMargin):
14724         (rightMargin): simplify code by factoring out the uses of
14725         textclasslist.
14726         (labelFill):
14727         (numberOfHfills):
14728         (setHeightOfRow):
14729         (appendParagraph): use Paragraph::size_type
14730
14731 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14732
14733         * vspace.C (asLatexString): add a missing break
14734
14735 2001-10-15  Herbert Voss  <voss@perce.de>
14736
14737         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14738
14739 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14740
14741         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14742         is not available.
14743
14744 2001-10-10  André Pönitz <poenitz@gmx.net>
14745
14746         * lyxfunc.C: removed greek_kb_flag.
14747
14748 2001-10-10  Herbert Voss  <voss@perce.de>
14749
14750         * lyx_main.C: delete global string help_lyxdir.
14751
14752 2001-10-09  Herbert Voss  <voss@perce.de>
14753
14754         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14755
14756         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14757
14758         * lyx_main.C: added global string help_lyxdir.
14759
14760         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14761
14762 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14763
14764         * lyxrc.C (set_font_norm_type): support iso8859-4
14765
14766 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14767
14768         * LaTeX.C (deplog): add another regex for MikTeX
14769
14770 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14771
14772         * lyxrc.C (set_font_norm_type): support iso8859-3
14773
14774 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14775
14776         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14777
14778         * LaTeXFeatures.C: remove special case of french and index
14779
14780         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14781         before \begin{document}). This solves several incompatibilities.
14782
14783 2001-10-03  Garst Reese  <reese@isn.net>
14784
14785         * lyx_cb.C: change CheckTex error msg.
14786
14787 2001-10-03  José Matos  <jamatos@fep.up.pt>
14788
14789         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14790
14791 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14792
14793         * .cvsignore: update
14794
14795         * lyx_main.C (commandLineVersionInfo): use new style version info.
14796
14797         * buffer.C (writeFile):
14798         (makeLaTeXFile):
14799         (makeLinuxDocFile):
14800         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14801
14802         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14803
14804         * version.h: update to use stuff in version.C
14805
14806         * version.C.in: new file. Contains version information determined
14807         at compile time. This is a merging of version.h and
14808         version_info.h.in.
14809
14810 2001-10-03  Juergen Vigna  <jug@sad.it>
14811
14812         * BufferView_pimpl.C (update): don't change "dirty" status in
14813         updateInset call.
14814
14815 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14816
14817         * WorkArea.C (c-tor): re-position version string slightly.
14818
14819 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14820
14821         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14822         revert to previous code.
14823
14824         WorkArea.[Ch]: (show, destroySplash): methods removed.
14825
14826         WorkArea.C: rework code so that it's an amalgam of the codes before and
14827         after the splash screen was moved to WorkArea.
14828
14829 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14830
14831         * lyxrc.C (read):
14832         * vspace.C (inPixels):
14833         (lyx_advance):
14834         * kbmap.C (bind):
14835         * buffer.C (insertStringAsLines):
14836         (asciiParagraph): fix types to be large enough
14837
14838         * lyxlex_pimpl.h: change member status from short to int
14839
14840         * layout.h: fix type of endlabeltype
14841
14842         * kbmap.C (bind):
14843         * kbsequence.C (parse): change return type to string::size_type
14844
14845         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14846         variable
14847
14848         * Bullet.C (bulletSize):
14849         (bulletEntry): do not use short ints as parameters
14850
14851         * BufferView2.C (insertLyXFile): change a char to an int.
14852
14853         * WorkArea.C (WorkArea): remove unneeded floats in computation
14854
14855 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14856
14857         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14858
14859         * paragraph.C (asString): Do not ignore newline/hfill chars when
14860         copying to the clipboard.
14861
14862 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14863
14864         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14865         after a multi-line inset.
14866
14867 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14868
14869         * paragraph.C (validate): Set NeedLyXFootnoteCode
14870
14871 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14872
14873         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14874         and decrease-error to decrease.
14875
14876 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14877
14878         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14879         it more readable (should be equivalent)
14880
14881 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14882
14883         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14884
14885 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14886
14887         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14888         of a cursor (row, etc.) after a character has been deleted
14889         (deleteEmptyParagraphMechanism): call the method above on _all_
14890         cursors held by the LyXText when a double space has been
14891         detected/deleted.
14892
14893 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14894
14895         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14896         pixmap.
14897         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14898
14899         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14900         background. Use greyOut() and the new show() methods to toggle between
14901         the foreground and background. Add code to remove the splash after
14902         its initial showing.
14903
14904         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14905         (create_forms): no longer call Dialogs::showSplash.
14906
14907 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14908
14909         * .cvsignore: add version_info.h
14910
14911 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14912
14913         * version_info.h.in: new file
14914
14915         * Makefile.am: add version_info.h.in
14916
14917         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14918         version_info.h instead of VERSION_INFO
14919
14920 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14921
14922         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14923         The ERT inset now returns string().
14924
14925 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14926
14927         * lyxtext.h, text.C (selectNextWord): renamed as
14928         selectNextWordToSpellcheck.
14929
14930         * text.C (selectNextWordToSpellcheck): Modified to not select
14931         words inside an ERT inset.
14932
14933 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14934
14935         * lyx_cb.C (MenuLayoutSave): change a bit the question
14936
14937         * sp_base.h: include <sys/types.h>
14938
14939 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14940
14941         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14942
14943 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14944
14945         * several files: fix typos in user-visible strings
14946
14947 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14948
14949         * text2.C (pasteSelection): do not set the selection, since it
14950         will be cleared later. Actually, the intent was to fix the way the
14951         selection was set, but I figured rmoving the code was just as good.
14952
14953 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14954
14955         * FontLoader.C (available): Check if font is available without
14956         loading the font.
14957
14958 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14959
14960         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14961
14962 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14963
14964         * lyxrc.[Ch]: added display_graphics variable and associated code.
14965
14966 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14967
14968         * bufferparams.C (hasClassDefaults): new method. Returns true if
14969         the buffer parameters correspond to known class defaults
14970
14971 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14972
14973         * XFormsView.C (show): set minimum size to the main window.
14974
14975 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14976
14977         * text2.C (copySelection):
14978         (cutSelection):
14979         * lyxfind.C (LyXReplace):
14980         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14981         LyXText::selectionAsString.
14982
14983         * paragraph.C (asString): add "label" argument to the second form
14984
14985         * text2.C (selectionAsString): add "label" argument and pass it to
14986         Paragraph::asString.
14987
14988 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14989
14990         * lyx_main.C (commandLineHelp): remove version information
14991
14992 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14993
14994         * lyx_main.C: add -version commandline option
14995
14996 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14997
14998         * paragraph.h: make the optional constructor arg required instead.
14999         some modifications to other files because of this.
15000
15001         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15002
15003         * lyxserver.C (C_LyXComm_callback): make it static
15004
15005         * lyx_main.C (error_handler): make it static
15006
15007         * lyx_gui.C (LyX_XErrHandler): make it static
15008
15009         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15010
15011         * WorkArea.C: make the extern "C" methods static.
15012
15013         * Makefile.am (lyx_LDADD): simplify
15014
15015 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15016
15017         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15018         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15019
15020         * LyXAction.C (init):
15021         * lyxfunc.C (dispatch): associated code removal.
15022
15023 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15024
15025         * lyxfont.h (isSymbolFont): shut off warning
15026
15027         * text.C (setHeightOfRow):
15028         (getVisibleRow): fix crash with empty paragraphs which have a
15029         bottom line
15030
15031 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15032
15033         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15034         code.
15035
15036 2001-09-04  José Matos  <jamatos@fep.up.pt>
15037         * buffer.C
15038         * buffer.h
15039         * tabular.C (docbook): rename docBook method to docbook.
15040
15041 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15042
15043         * Makefile.am: add dependencies to main.o.
15044
15045 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15046
15047         * FontLoader.C (available): Return false if !lyxrc.use_gui
15048
15049 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15050
15051         * FontInfo.C (query):
15052         * converter.C (view):
15053         * importer.C (Import):
15054         * exporter.C (Export): Can not -> cannot.
15055
15056 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15057
15058         * BufferView_pimpl.C: allow to create index inset even if
15059           string is empty
15060
15061 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15062
15063         * buffer.C (getLists): replace boost::tie code with an explicit pair
15064         as boost::tie can break some compilers.
15065
15066         * iterators.h: Added a std:: declaration to the return type of
15067         ParIterator::size.
15068
15069 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15070
15071         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15072           case.
15073
15074 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15075
15076         * iterators.[Ch]: New files. Provide paragraph iterators.
15077
15078         * buffer.C (changeLanguage): Use paragraph iterators.
15079         (isMultiLingual): ditto
15080
15081         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15082
15083 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15084
15085         * FontLoader.C: Support for cmr font.
15086
15087 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15088
15089         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15090         (available): New method.
15091
15092         * FontInfo.C (getFontname): Use scalable fonts even when
15093         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15094         found.
15095
15096 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15097
15098         * converter.C (Formats::view): reverted! Incorrect fix.
15099
15100 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15101
15102         * converter.C (Formats::view): only output the -paper option
15103         if the dvi viewer is xdvi, thereby fixing bug #233429.
15104
15105 2001-08-23  Herbert Voss  <voss@perce>
15106
15107         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15108
15109 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15110
15111         * Spacing.h (Spacing): Set space to Default on in the default
15112         constructor.
15113
15114 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15115
15116         * vc-backend.h (RCS::versionString): add RCS to version
15117         (CVS::versionString): add CVS to version
15118
15119         * vc-backend.C (scanMaster): do not add CVS to version.
15120         (scanMaster): do not add RCS to version
15121
15122         * lyxvc.C (versionString): new method
15123
15124         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15125
15126 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15127
15128         * Spacing.C (set): initialize fval
15129
15130 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15131
15132         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15133         " or \.
15134
15135 2001-08-16  Juergen Vigna  <jug@sad.it>
15136
15137         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15138
15139 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15140
15141         * BufferView_pimpl.C:
15142         * figureForm.C:
15143         * lyxtext.h:
15144         * text2.C: setParagraph takes linespacing now
15145
15146 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15147
15148         * LyxAction.C: add internal LFUN_CITATION_INSERT
15149
15150         * LyXView.C: actually apply fix
15151
15152         * bufferlist.C: fix open non-existent file
15153
15154         * lyxfind.C: fix indentation
15155
15156         * lyxfunc.C: remove unneeded assert, fix typo
15157
15158 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15159
15160         * MenuBackend.C: use "Floatname List"
15161
15162 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15163
15164         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15165         when converting LaTeX layout to insetERT.
15166         Generate a non-collapsed float when reading old float
15167
15168 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15169
15170         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15171         ERT insets.
15172
15173 2001-08-13  Juergen Vigna  <jug@sad.it>
15174
15175         * text.C (fill): return 0 instead of 20 as this seems to be the more
15176         correct value.
15177
15178 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15179
15180         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15181         lyxrc.font_norm.
15182
15183 2001-08-13  Juergen Vigna  <jug@sad.it>
15184
15185         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15186         casesensitive off.
15187         (SearchBackward): comment out the unlocking of the inset_owner this
15188         should not be needed!
15189
15190 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15191
15192         * Many files: Remove inherit_language, and add latex_language
15193
15194         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15195         collapsible insets.
15196
15197 2001-08-10  Juergen Vigna  <jug@sad.it>
15198
15199         * text.C (prepareToPrint): fixed hfill-width in draw!
15200
15201         * BufferView2.C (selectLastWord): save the selection cursor as this
15202         now is cleared in the function LyXText::clearSelection!
15203
15204 2001-08-08  Juergen Vigna  <jug@sad.it>
15205
15206         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15207         BACKSPACE type functions.
15208
15209         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15210         is only cutted from the document but not put in the cut-buffer, where
15211         still the old stuff should be.
15212
15213         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15214
15215         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15216
15217         * tabular.C (SetWidthOfCell): fixed special case where the width
15218         was not updated!
15219         (LeftLine): handle '|' in align_special.
15220         (RightLine): ditto
15221         (LeftAlreadyDrawed): ditto
15222         (SetWidthOfCell): ditto
15223
15224 2001-08-07  Juergen Vigna  <jug@sad.it>
15225
15226         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15227
15228 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15229
15230         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15231         * lyxlex.[hC]: ditto
15232
15233 2001-08-06  Juergen Vigna  <jug@sad.it>
15234
15235         * text.C (getVisibleRow): fix up row clearing a bit.
15236
15237 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15238
15239         * minibuffer.C: make sure the X server sees the changes in the input.
15240
15241 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15242
15243         * paragraph.C (getFont): split into...
15244         (getLabelFont): this
15245         (getLayoutFont): and this
15246         * paragraph_pimpl.C (realizeFont): calling this
15247
15248         * text2.C (getFont): split into...
15249         (getLayoutFont): this
15250         (getLabelFont): and this
15251         (realizeFont): all three calling this
15252
15253         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15254         files where used.
15255
15256 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15257
15258         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15259
15260 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15261
15262         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15263         layouts from the Quote inset insertion.
15264
15265 2001-08-03  Juergen Vigna  <jug@sad.it>
15266
15267         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15268
15269         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15270         only if status not is already CHANGED_IN_DRAW (second level).
15271
15272         * text.C (draw): don't set the need_break_row when inside an
15273         InsetText LyXText.
15274
15275 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15276
15277         * buffer.C (parseSingleLyXformat2Token): handle more latex
15278         conversion cases.
15279
15280         * bufferview_funcs.[hC]: change function names to
15281         begin with small char, adjust other files.
15282
15283 2001-08-02  André Pönitz <poenitz@gmx.net>
15284
15285         * lyxfunc.C:
15286         BufferView_pimpl.C: remove broken special code for math-greek
15287
15288 2001-08-02  Juergen Vigna  <jug@sad.it>
15289
15290         * BufferView_pimpl.C (update): redone this function so that we
15291         update the text again if there was a CHANGE_IN_DRAW.
15292
15293         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15294         (drawFromTo): added a new internal bool which is used by draw() and
15295         redraw() function.
15296         (general): some cursor drawing problems fixed.
15297
15298 2001-08-01  Juergen Vigna  <jug@sad.it>
15299
15300         * lyxfind.C (LyXFind): fixed
15301         (SearchForward): ditto
15302         (SearchBackward): ditto
15303
15304         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15305         spurius drawing of the cursor in the main area.
15306
15307         * text2.C (status): small fix which could lead to a segfault!
15308         (clearSelection): remove unneeded BufferView param.
15309
15310 2001-08-01  André Pönitz <poenitz@gmx.net>
15311
15312         * lyxfunc.C: small change due to changed mathed interface
15313
15314 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15315
15316         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15317
15318 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15319
15320         * lyxfunc.c: fail gracefully if file doesn't exist
15321
15322         * LyXSendto.C:
15323         * buffer.C:
15324         * lyxfunc.C:
15325         * BufferView_pimpl.C: IsDirWriteable() proto changed
15326
15327         * LyXView.C: fix updateWindowTitle() to store the last title
15328
15329 2001-07-31  Juergen Vigna  <jug@sad.it>
15330
15331         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15332         the font (wrong since using of Paragraph::highestFontInRange).
15333
15334         * paragraph.C (highestFontInRange): added a default_size parameter.
15335
15336         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15337         (setHeightOfRow): reformat
15338
15339 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15340
15341         * converter.[hC] + affected files: move to (inital-char)lowercase
15342         function names.
15343
15344         * ParagraphParameters.C (ParagraphParameters): remove commented code
15345
15346         * PainterBase.[Ch]: remove commented code
15347
15348         * LaTeXFeatures.h: add "bool floats" for float.sty
15349
15350         * LaTeXFeatures.C (LaTeXFeatures): init floats
15351         (require): handle float
15352         (getPackages): do it with floats
15353
15354 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15355
15356         * BufferView_pimpl.C (Dispatch): improve handling of
15357         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15358
15359         * commandtags.h: #include lyxfont.h here temporarily to avoid
15360         keybinding bug.
15361
15362         * bufferlist.h: include LString.h here.
15363
15364 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15365
15366         * text2.C (getStringToIndex): new method.
15367
15368 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15369
15370         * *: Reduced header file dependencies all over.
15371
15372 2001-07-30  Baruch Even  <baruch@lyx.org>
15373
15374         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15375
15376 2001-07-29  Baruch Even  <baruch@lyx.org>
15377
15378         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15379
15380 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15381
15382         * ParameterStruct.h (endif): add a default constructor to make
15383         sure that all variables is initialized.
15384
15385         * ParagraphParameters.C (ParagraphParameters): adjust
15386
15387 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15388
15389         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15390         index; also, check that there is something to index, and that it
15391         does not span over several paragraphs.
15392         (doubleClick): use WHOLE_WORD_STRICT for double click.
15393
15394         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15395
15396         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15397         scheme.
15398
15399 2001-07-26  Baruch Even  <baruch@lyx.org>
15400
15401         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15402         an InsetFig figure, backwards compatible reading of old figure code.
15403
15404 2001-07-27  Juergen Vigna  <jug@sad.it>
15405
15406         * text2.C: font.realize function adaption.
15407
15408         * text.C (draw): add a warnings lyxerr text if needed.
15409
15410         * layout.C: font.realize function adaption.
15411
15412         * language.C: add inherit_language and implement it's handlings
15413
15414         * bufferview_funcs.C (StyleReset): remove language parameter from
15415         font creation (should be language_inherit now).
15416
15417         * bufferparams.C (writeFile): handle ignore_language.
15418
15419         * paragraph.C (getFontSettings): the language has to be resolved
15420         otherwise we have problems in LyXFont!
15421
15422         * lyxfont.C (lyxWriteChanges): added document_language parameter
15423         (update): removed unneeded language parameter
15424
15425         * paragraph.C (validate): fixed wrong output of color-package when
15426         using interface colors for certain fonts in certain environments,
15427         which should not seen as that on the final output.
15428
15429 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15430
15431         * BufferView_pimpl.C:
15432         * Thesaurus.h:
15433         * Thesaurus.C:
15434         * Makefile.am:
15435         * commandtags.h:
15436         * LyXAction.C: add thesaurus support
15437
15438         * lyxfind.h:
15439         * lyxfind.C: add "once" parameter, for thesaurus, to not
15440           move to the next match
15441
15442 2001-07-26  Juergen Vigna  <jug@sad.it>
15443
15444         * lyxfont.C (realize): honor ignore_language too!
15445         (resolved): ditto.
15446
15447         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15448
15449         * text.C (draw): one place more for ignore_language to not draw
15450         itself!
15451
15452 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15453
15454         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15455
15456 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15457
15458         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15459         the minipage conversion problem.
15460
15461 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15462
15463         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15464         insert an inset.
15465
15466 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15467
15468         * BufferView.h: don't forward declare WorkArea
15469
15470         * BufferView.C: don't include WorkArea.h
15471
15472 2001-07-25  André Pönitz <poenitz@gmx.net>
15473
15474         * commandtags.h:
15475         * LyXAction.C:
15476         * lyxfunc.C:  new LFUN 'math-space'
15477
15478         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15479
15480 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15481
15482         * text2.C (toggleInset): call open/close
15483
15484 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15485
15486         * lyxfunc.C (dispatch): add debug for the disabled case
15487
15488         * font.C (buttonText): make similar to rectText
15489
15490         * buffer.C (readInset): comment out parsing of insetlist and
15491         insttheorem
15492
15493         * PainterBase.C (rectText): small correction
15494
15495         * BufferView_pimpl.C: comment out insettheorem and insetlist
15496         * LyXAction.C: ditto
15497         * commandtags.h: ditto
15498
15499 2001-07-24  Juergen Vigna  <jug@sad.it>
15500
15501         * text.C (draw): honor the ignore_language.
15502
15503         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15504
15505 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15506
15507         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15508         char inset.
15509
15510 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15511
15512         * lyxtext.h: remove unused (and unimplemented) methods
15513
15514 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15515
15516         * text.C (getVisibleRow): honor background color
15517
15518         * PainterBase.h:
15519         * Painter.h: remove default color argument for fillRectangle
15520
15521         * text.C (backgroundColor): new method
15522
15523 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15524
15525         * text.C (getVisibleRow): adjust
15526
15527         * font.[Ch] (rectText): new method, metrics
15528         (buttonText): new method, metrics
15529
15530         * PainterBase.[hC]: make rectText and buttonText always draw and take
15531         fewer paramteres.
15532
15533 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15534
15535         * ToolbarDefaults.C (read):
15536         * MenuBackend.C (read): allow escaping in all strings
15537
15538         * BufferView_pimpl.C (insertAndEditInset): new method.
15539         (Dispatch): use insertAndEditInset whenever appropriate.
15540
15541         * BufferView_pimpl.C (insertNote): removed
15542
15543         * BufferView_pimpl.C (smartQuote): new method, moved from
15544         BufferView; if an insetquote cannot be inserted, insert a '"'
15545         character instead.
15546
15547         * BufferView2.C: remove insertCorrectQuote();
15548
15549         * lyxfunc.C (getStatus): Add support for all remaingin
15550         inset-insert lfuns.
15551
15552         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15553
15554         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15555         command (necessary to pass " as parameter of self-insert.
15556
15557         * text.C (selectWordWhenUnderCursor):
15558         (selectWord): add word_location parameter
15559         (selectWordWhenUnderCursor): same + remove special code for word
15560         boundary.
15561         (selectNextWord): use kind() to guess type of insetspecialchar,
15562         not latex().
15563
15564         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15565         (insertErtContents): create ert insets as collapsed.
15566         (readInset): better compatibility code for Info inset.
15567
15568 2001-07-20  Juergen Vigna  <jug@sad.it>
15569
15570         * lyxfunc.C (dispatch): use always LyXFind now!
15571
15572         * text2.C (init): add a reinit flag so that the LyXText can be
15573         reinited instead of deleted and reallocated (used in InsetText).
15574
15575         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15576
15577         * text.C: ditto
15578
15579         * text2.C: ditto
15580
15581 2001-07-18  Juergen Vigna  <jug@sad.it>
15582
15583         * text.C (selectNextWord): handle insets inside inset by calling
15584         always the bv->text functions so that we can go up the_locking_inset!
15585
15586         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15587         in strange locations when inside an inset!
15588
15589         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15590         handling to include insets.
15591
15592         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15593
15594 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15595
15596         * LyXAction.C (init):
15597         * commandtags.h:
15598         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15599         LIGATURE_BREAK, since the name is so stupid.
15600
15601 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15602
15603         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15604         InsetInfos.
15605
15606         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15607
15608         * sp_form.[Ch]: remove.
15609
15610         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15611
15612         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15613         InsetInfo.
15614
15615         * src/buffer.C (readInset): ditto.
15616
15617 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15618
15619         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15620         menuSeparator(), endOfSentenceDot(), ldots() and
15621         hyphenationPoint(), which are therefore removed.
15622         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15623
15624         * LyXAction.C (init):
15625         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15626
15627         * paragraph.C (getWord): removed.
15628
15629         * BufferView_pimpl.C (Dispatch): use last word or selection for
15630         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15631
15632         * lyx_main.C (queryUserLyXDir): do not ask before creating
15633         user_dir, except if it has been named explicitely.
15634
15635 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15636
15637         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15638         a document of zero size.
15639
15640 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15641
15642         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15643         approriately in the c-tor and in require().
15644         (getPackages): output the appropriate LaTeX for natbib support.
15645
15646         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15647         variables "use_natbib" and "use_numerical_citations" when reading the
15648         LyX file.
15649         (readInset): read the various natbib cite commands.
15650         (validate): white-space change.
15651
15652         * bufferparams.[Ch]: new variables "bool use_natbib" and
15653         "bool use_numerical_citations".
15654         (writeFile): output them in the LyX file.
15655
15656 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15657
15658         * lyxfunc.C (getStatus): add support for all the inset insertion
15659         commands.
15660
15661         * text2.C (insertInset):
15662         * paragraph.C (insetAllowed):
15663         * BufferView_pimpl.C (insertInset): update to take in account the
15664         renaming of insertInsetAllowed
15665
15666         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15667
15668         * text2.C (getInset): new method. returns inset at cursor position.
15669
15670         * BufferView_pimpl.C (Dispatch): changes because of this.
15671
15672         * LyXAction.C (init): rename open-stuff to inset-toggle.
15673
15674         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15675
15676         * text2.C (toggleInset): renamed from openStuff; use
15677         Inset::open().
15678
15679 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15680
15681         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15682
15683         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15684
15685 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15686
15687         * buffer.C (readLyXformat2): Add filename to the error dialog
15688
15689 2001-07-18  Juergen Vigna  <jug@sad.it>
15690
15691         * tabular.C (GetCellNumber): put an assert here instead of the check!
15692
15693 2001-07-17  Juergen Vigna  <jug@sad.it>
15694
15695         * BufferView_pimpl.C (toggleSelection): adapted too.
15696
15697         * text.C (selectNextWord): adapted for use with insets.
15698         (selectSelectedWord): ditto
15699
15700 2001-07-17  Juergen Vigna  <jug@sad.it>
15701
15702         * sp_spell.C (PSpell): fix initialitation order.
15703
15704 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15705
15706         * paragraph.C: spacing
15707
15708 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15709
15710         * sp_spell.C: repair language selection for pspell
15711
15712 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15713
15714         * lyxfunc.h: change more methods to begin with lower char.
15715
15716 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15717
15718         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15719         for unknown layouts.
15720
15721 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15722
15723         * buffer.C (readLyXformat2): Generate an error dialog if there are
15724         unknown layouts.
15725
15726 2001-07-16  Juergen Vigna  <jug@sad.it>
15727
15728         * sp_spell.C: always compile ISpell part.
15729
15730         * lyxrc.C: added use_pspell entry and it's handling.
15731
15732 2001-07-13  Juergen Vigna  <jug@sad.it>
15733
15734         * sp_spell.C: removed double includes.
15735
15736 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15737
15738         Consistent use of Lsstream.h:
15739         * Lsstream.h: added using std::stringstream for consistencies sake.
15740
15741         * buffer.C: removed using std::stringstream
15742
15743         * lyxfont.C (stateText):
15744         * paragraph.C (asString):
15745         * text.C (selectNextWord, selectSelectedWord):
15746         * text2.C (setCounter):
15747         * vspace.C (asString, asLatexString):
15748         std::ostringstream -> ostringstream.
15749
15750 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15751
15752         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15753         * commandtags.h: add LFUN_HELP_ABOUTLYX
15754         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15755
15756 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15757
15758         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15759         cursorToggle()
15760         * lyx_gui_misc.C: remove spellchecker
15761         * lyxfunc.C: showSpellchecker
15762         * sp_base.h: added
15763         * sp_ispell.h: added
15764         * sp_pspell.h: added
15765         * sp_spell.C: added
15766         * sp_form.[Ch]: removed
15767         * spellchecker.[Ch]: removed
15768
15769 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15770
15771         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15772         is set.
15773         (simpleTeXSpecialChars): Simply print the input character without
15774         any special translation if pass_thru is set.
15775
15776         * layout.h: Added bool pass_thru to layout class for being able to
15777         implement pass through of a paragraph for Literate Programming.
15778
15779         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15780         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15781         * layout.C (Read): add "passthru" to list of layout tags and add
15782         code to set the pass_thru boolean when it is read.
15783
15784 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15785
15786         * trans_decl.h: remove allowed from KmodInfo
15787
15788         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15789         remove allowed code
15790         (Load): adjust
15791
15792         * paragraph_pimpl.C (erase): use boost::prior
15793
15794         * Painter.C (text): use data() instead of c_str() when length is
15795         also provided.
15796         * WorkArea.C (putClipboard): ditto
15797         * font.h (width): ditto
15798
15799         * BufferView2.C: use it-> instead of (*it). for iterators
15800         * texrow.C: ditto
15801         * paragraph_pimpl.C: ditto
15802         * paragraph.C: ditto
15803         * minibuffer.C: ditto
15804         * language.C: ditto
15805         * kbmap.C: ditto
15806         * encoding.C: ditto
15807         * counters.C: ditto
15808         * converter.C: ditto
15809         * chset.C: ditto
15810         * Variables.C: ditto
15811         * TextCache.C: ditto
15812         * MenuBackend.C: ditto
15813         * LyXAction.C: ditto
15814         * LColor.C: ditto
15815         * FloatList.C: ditto
15816         * DepTable.C: ditto
15817         * ColorHandler.C (LyXColorHandler): ditto
15818
15819 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15820
15821         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15822
15823         * text2.C (openStuff): reintroduce this method (which had been
15824         nuked in NEW_INSETS frenzy).
15825
15826         * lyxfunc.C (Dispatch): when an action has not been handled, use
15827         its name in the error message, not its number.
15828
15829         * paragraph.C (inInset): change method name to begin with lowercase.
15830
15831         * undo_funcs.C:
15832         * text2.C: updates because of this.
15833
15834 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15835
15836         * ToolbarDefaults.C (add): add spaces in error message
15837
15838 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15839
15840         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15841         (readLyXformat2): rename return_par to first_par, use lyxlex's
15842         pushToken and remove the manual push handling.
15843         (parseSingleLyXformat2Token): add another ert comp. variable:
15844         in_tabular, rename return_par to first_par. handle newlines better
15845
15846 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15847
15848         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15849
15850 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15851
15852         * text2.C (getParFromID): removed
15853
15854         * buffer.C (getParFromID): new method moved form lyxtext.
15855         * BufferView2.C (insertErrors): adjust
15856         (setCursorFromRow): adjust
15857         * BufferView_pimpl.C (restorePosition): adjust
15858         * lyxfunc.C (Dispatch): adjust
15859         * undo_funcs.C (textUndo): adjust
15860         (textRedo): adjust
15861         (textHandleUndo): adjust
15862         (textHandleUndo): adjust
15863
15864 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15865
15866         * buffer.C: up' the LYX_FORMAT
15867
15868         * lyxfont.h: turn NO_LATEX on as default
15869
15870         * buffer.C (insertErtContents): new methods of tex style compability.
15871         (parseSingleLyXformat2Token): use it several places.
15872         * tabular.C (OldFormatRead): and here
15873
15874 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15875
15876         * text2.C: remove some commented code.
15877         reindent file.
15878
15879         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15880         * trans.C: changes because of the above.
15881
15882 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15883
15884         * text2.C (setCounter): Fix counters bug with bibliography layout.
15885
15886 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15887
15888         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15889         own member functions
15890         (simpleTeXSpecialChars): ditto
15891
15892 2001-07-06  Juergen Vigna  <jug@sad.it>
15893
15894         * a lot of files: changed the access to LyXText::status and the
15895         call of undo-functions.
15896
15897         * undo.[Ch]: added a inset_id to the undo informations.
15898
15899         * undo_funcs.[Ch]: added and moved here all undo functions.
15900
15901         * lyxtext.h: give the status enum a weight, made status_ a private
15902         variable and made accessor functions for it, removed the whole bunch
15903         of undo-functions as they are now in their own file, make some
15904         functions publically available. Added function ownerParagraph with
15905         int parameter.
15906
15907         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15908         made InInset() a const function, added getParFromID() function.
15909
15910         * buffer.[Ch]: added const version for inset_iterator functions,
15911         added getInsetFromID() function.
15912
15913         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15914         changed undo functions for new version.
15915
15916 2001-07-05  Juergen Vigna  <jug@sad.it>
15917
15918         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15919         unknow mechanism does not call the proper constructor but only this
15920         one also if I request the other!?
15921
15922 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15923
15924         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15925
15926         * text2.C (LyXText): use initialization lists.
15927
15928         * lyxtext.h (Selection): initialize set_ and mark_
15929         (init): remove method
15930
15931 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15932
15933         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15934
15935 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15936
15937         * screen.[Ch]: change method names to begin with lowercase
15938
15939         * BufferView_pimpl.C (updateScrollbar): simplify further and
15940         hopefully make it a bit faster.
15941
15942 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15943
15944         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15945         calling directly xforms functions.
15946
15947         * Painter.C (Painter):
15948         * lyx_cb.C (MenuWrite):
15949         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15950         fl_display.
15951
15952         * lyx_gui.C: remove bogus guiruntime extern declaration.
15953
15954 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15955
15956         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15957         in NEW_INSETS
15958         (redoDrawingOfParagraph): ditto
15959         (redoParagraphs): ditto
15960         (cutSelection): don't create a object for CutAndPaste use the
15961         static method directly
15962         (pasteSelection): ditto
15963
15964         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15965         LyXview (+ rename)
15966
15967 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15968
15969         * modifications to some other files because of this.
15970
15971         * Makefile.am (lyx_SOURCES): add XFormsView
15972
15973         * XFormsView.[Ch]: new files
15974
15975         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15976         the main window. Move the gui dependent stuff to XFormsView
15977
15978 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15979
15980         * tabular.C (GetCellInset): update cur_cell also in the row/col
15981         version of this function.
15982
15983         * lyxfunc.C: no need to include figure_form.h here.
15984
15985         * FontLoader.h:
15986         * lyxfunc.h:
15987         * lyxscreen.h:
15988         * text2.C:
15989         * lyxvc.C: no need to include forms.h here.
15990
15991 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15992
15993         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15994
15995         * lyxfunc.C (Dispatch):
15996         * Spacing.C (set):
15997         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15998         constructor argument.
15999
16000 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16001
16002         * paragraph.C (Paragraph): dont't clear, and just set layout.
16003         (makeSameLayout): use params's copy contructor.
16004
16005         * ParagraphParameters.[Ch] (makeSame): delete method
16006
16007 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16008
16009         * Variables.[Ch]: fix indentation, rename set to isSet
16010
16011 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16012
16013         * lyxfunc.C (Dispatch): fix typo
16014
16015 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16016
16017         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16018         upper_bound.
16019
16020         * bufferlist.C: include assert.h for emergencyWrite().
16021
16022 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16023
16024         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16025           give up at last (bug #425202) !
16026
16027 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16028
16029         * lyx_gui_misc.C:
16030         * sp_form.h:
16031         * sp_form.C:
16032         * spellchecker.h:
16033         * spellchecker.C: strip spellchecker options and bring up
16034           preferences tab instead
16035
16036 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16037
16038         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16039         the istringstream constructor
16040
16041 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16042
16043         * paragraph.C (getLayout): fix return value
16044
16045         * paragraph.h: do not declare getLayout as inline.
16046
16047         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16048
16049 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16050
16051         * lyxcursor.h (operator<): new func
16052         (operator>): new func
16053         (operator>=): new func
16054         (operator<=): new func
16055
16056         * text.C (changeCase): use selection.start and selection.end
16057         (changeRegionCase): require from to be <= to. Require par to be a
16058         valid paragraph.
16059
16060         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16061
16062 2001-06-27  Juergen Vigna  <jug@sad.it>
16063
16064         * text.C (cursorLeftOneWord): changed to return the cursor and added
16065         overlay with BufferView * parameter which calls this one.
16066         (getWord): added
16067         (selectWord): use new getWord function.
16068         (changeCase): renamed from changeWordCase as and extended to work
16069         also on selections.
16070
16071         * lyxtext.h: added enum word_location
16072
16073         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16074         changeCase as this operates now also on selections.
16075
16076 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16077
16078         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16079
16080         * many files: send debug output to Debug::INFO instead of
16081         Debug::ANY.
16082
16083         * converter.C (View):
16084         (Convert):
16085         (Move): send debug output to Debug::FILES instead of console.
16086
16087 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16088
16089         * lyxfunc.C (getStatus): use func_status
16090
16091         * func_status.h: new header, describing the results of
16092         LyXFunc::getStatus;
16093
16094         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16095         LFUN_MATH_HALIGN.
16096
16097 2001-06-25  The LyX Project  <jug@sad.it>
16098
16099         * buffer.C (sgmlOpenTag):
16100         (sgmlCloseTag):
16101         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16102
16103 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16104
16105         * text2.C: remove some dead code
16106
16107         * tabular.C (GetCellInset): store the last cell checked (gotten)
16108
16109         * tabular.h: add the helper for the speedup
16110
16111         * lyxtext.h: remove some dead code
16112
16113 2001-06-26  The LyX Project  <Asger>
16114
16115         * paragraph.C: Change export to LaTeX of alignment to
16116         \begin{center} and family for better roundtrip work with reLyX.
16117
16118         * Tune the math drawing a bit.
16119
16120 2001-06-25  The LyX Project  <Asger>
16121
16122         * LColor.C (LColor): New color for math background. New color
16123         for buttons.
16124
16125 2001-06-25  The LyX Project  <jug@sad.it>
16126
16127         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16128
16129         * lyxfunc.C (Open):
16130         * bufferlist.C (newFile): do not restrict to files ending with
16131         .lyx
16132
16133         * BufferView_pimpl.C (MenuInsertLyXFile):
16134
16135 2001-06-24  The LyX Project  <jug@sad.it>
16136
16137         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16138         of compare_no_case
16139
16140 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16141
16142         * lyxtext.h: rename most methods to begin with a small char.
16143         Lots of changes because of this.
16144
16145         * paragraph.C (Paragraph): do not call fitToSize
16146         (erase): call Pimpl::erase
16147         (insertChar): call Pimpl::insertChar
16148         (insertInset): call Pipl::insertInset
16149         (breakParagraph): do not call fitToSize
16150         (breakParagraphConservative): do not call fitToSize
16151         (fitToSize): remove method
16152
16153         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16154
16155 2001-06-24  The LyX Project  <Asger>
16156
16157         * Fix Qt compilation^2
16158
16159 2001-06-24  The LyX Project  <jug@sad.it>
16160
16161         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16162         depthHook(getDepth()-1).
16163
16164         * paragraph.h:
16165         * ParagraphParameters.h:
16166         * ParameterStruct.h: change type of depth to unsigned int ==
16167         depth_type. Many adaptations to other files before of that.
16168
16169 2001-06-24  The LyX Project  <Asger>
16170
16171         * Fix Qt compilation.
16172
16173 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16174
16175         * paragraph.h: renamed several methods to begin with small letter.
16176         several changes to many parts of the code because of this.
16177
16178 2001-06-23  The LyX Project  <jug@sad.it>
16179
16180         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16181         rewritten to discard all double spaces when KeepEmpty is off
16182         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16183         to only handle newlines but not fiddle with spaces and friends.
16184
16185         * lyxfunc.C (MenuNew): when doing 'new from template', use
16186         template_path as default directory
16187
16188 2001-06-23  The LyX Project  <Asger>
16189
16190         * Clean-up of header file includes all over
16191         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16192
16193 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16194
16195         * paragraph.h: renamed from lyxparagraph.h
16196
16197 2001-06-23  Asger  <lyx@violet.home.sad.it>
16198
16199         * Buffer.h: Removed Buffer::resize
16200         * BufferList.h: Removed BufferList::resize
16201         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16202         the document lazily when we change the width, or the font settings.
16203
16204 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16205
16206         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16207
16208 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16209
16210         * buffer.h: remove out of date comment
16211
16212 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16213
16214         * lyxscreen.h:
16215         * screen.C: fix "theoretical" GC leak
16216
16217 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16218
16219         * LaTeX.C (scanAuxFile):
16220         (deplog): remove trailing \r when reading stream (useful under
16221         win32)
16222
16223 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16224
16225         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16226         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16227         and BufferView::theLockingInset(Inset*), so should use them and not
16228         access bv_->text->the_locking_inset directly.
16229
16230         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16231
16232 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16233
16234         * Makefile.am:
16235         * tex-defs.h: remove old unused file
16236
16237 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16238
16239         * BufferView_pimpl.C: fix typo, remove minibuffer message
16240           when buffer has loaded
16241
16242 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16243
16244         * lyxfunc.C (Dispatch): use stringstream
16245         (MenuNew): use stringstream
16246         (Open): use stringstream
16247
16248         * importer.C (Import): use stringstream
16249
16250         * bufferview_funcs.C (CurrentState): use stringstream
16251
16252         * LaTeX.C (run): use stringstream
16253
16254         * BufferView_pimpl.C (savePosition): use stringstream
16255         (restorePosition): use stringstream
16256         (MenuInsertLyXFile): use stringstream
16257
16258 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16259
16260         * BufferView.C:
16261         * Bullet.C:
16262         * ColorHandler.C:
16263         * FontInfo.C:
16264         * FontLoader.C:
16265         * LColor.C:
16266         * LaTeXFeatures.C:
16267         * Painter.C:
16268         * gettext.C:
16269         * lyx_gui_misc.C:
16270         * lyxserver.C:
16271         * vspace.C: removed // -*- C++ -*- as first line.
16272
16273         * lyxfind.h:
16274         * version.h: added // -*- C++ -*- as first line.
16275
16276 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16277
16278         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16279
16280         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16281         of string
16282
16283 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16284
16285         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16286         of floats.
16287
16288 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16289
16290         * gettext.C: include LString.h even when --disable-nls is on.
16291
16292 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16293
16294         * converter.h (Get): changed argument type from int to
16295         FormatList::size_type to avoid unnecessary conversion.
16296
16297         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16298         before using it.
16299
16300 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16301
16302         * gettext.h: include LString.h even when --disable-nls is on.
16303
16304 2001-06-07  Juergen Vigna  <jug@sad.it>
16305
16306         * text.C (BreakAgain): subst spaces with tabs.
16307
16308         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16309         (resizeInsetsLyXText): set force on resizeLyXText.
16310
16311 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16312
16313         * gettext.h (gettext_init):
16314         (locale_init): use a real definition instead of a macro
16315
16316 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16317
16318         * Bufferview_pimpl.C:
16319         * LColor.h:
16320         * LColor.C: further lcolor tidies
16321
16322 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16323
16324         * BufferView_pimpl.C (updateScrollbar): simplify.
16325
16326         * BufferView2.C: don't include insets/insetinfo.h, change
16327         prototype for insertInset and call the Pimpl version. let
16328         updateInset call Pimpl version.
16329
16330         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16331         gotoInset to BufferView::Pimpl
16332
16333 2001-06-01  Juergen Vigna  <jug@sad.it>
16334
16335         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16336         inside a LockingInset (is the update needed at all?).
16337
16338 2001-05-31  Juergen Vigna  <jug@sad.it>
16339
16340         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16341         here not the old one otherwise how should we compare it afterwards
16342         if it's the same!
16343
16344 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16345
16346         * lyxfont.C:
16347         * tabular.C:
16348         * tabular-old.C:
16349         * FontInfo.C: bring C functions into global namespace when
16350         necessary
16351
16352 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16353
16354         * LString.h: make sure config.h has been loaded before LString.h.
16355
16356         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16357         (one for each char read by EatLine!).
16358
16359         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16360         variables.
16361
16362 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16363
16364         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16365         to the same as the par we break from
16366
16367 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16368
16369         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16370
16371         * MenuBackend.C (expand): also create menu entries for wide
16372         versions of the floats.
16373
16374         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16375
16376         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16377
16378         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16379         frontends/Makefile.am
16380
16381         * text2.C: adjust
16382         * text.C: adjust
16383
16384
16385         * tabular.C (getTokenValue): add std::
16386
16387         * tabular-old.C (getTokenValue): add std::
16388         (getTokenValue): ditto
16389         (getTokenValue): ditto
16390
16391         * screen.C (ToggleSelection): adjust
16392
16393         * lyxtext.h: put selection cursors inside a Selection struct.
16394
16395         * lyxfunc.C (moveCursorUpdate): adjust
16396
16397         * lyxfont.C (latexWriteStartChanges): add std::
16398
16399         * lyxfind.C: adjust
16400
16401         * font.h: delete with(char const *, LyXFont const &)
16402
16403         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16404
16405         * FontInfo.C (getFontname): add std::
16406
16407         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16408         (workAreaButtonPress): adjust
16409         (tripleClick): adjust
16410         (update): adjust
16411         (moveCursorUpdate): adjust
16412         (Dispatch): adjust
16413
16414         * BufferView2.C (gotoInset): adjust
16415
16416 2001-05-30  Juergen Vigna  <jug@sad.it>
16417
16418         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16419         to check pspell I add this as default as I now have new pspell
16420         libraries and they seem to use this.
16421
16422 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16423
16424         * text2.C (CutSelection): make the cursor valid before the call to
16425         ClearSelection.
16426
16427 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16428
16429         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16430         relied on 0 terminated strings and other horrors. Bug found due to
16431         the new assert in lyxstring!
16432
16433         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16434         KP_ keys.
16435
16436 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16437
16438         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16439         to latinkeys.bind.
16440
16441         * lyxfunc.C (processKeySym): change method of getting to the
16442         self-insert char.
16443
16444         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16445         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16446         * BufferView_pimpl.[Ch]: here as private methods.
16447
16448 2001-05-28  Juergen Vigna  <jug@sad.it>
16449
16450         * text.C (SetHeightOfRow): added the update() call again as it is
16451         needed to initialize inset dimensions!
16452
16453 2001-05-16  Juergen Vigna  <jug@sad.it>
16454
16455         * text2.C (SetCharFont): Add new function with BufferView * and
16456         bool toggleall parameters for setting insets internal fonts.
16457         (SetFont): Freeze the undo as we may change fonts in Insets and
16458         all this change should be inside only one Undo!
16459
16460         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16461         setting font's in insets as for them we have the SetFont function!
16462
16463 2001-05-15  Juergen Vigna  <jug@sad.it>
16464
16465         * text2.C (ClearSelection): to be sure we REALLY don't have any
16466         selection anymore!
16467
16468         * tabular.C (TeXCellPreamble): fixed the left border problem for
16469         multicolumn cells.
16470
16471 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16472
16473         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16474         dependancy file
16475
16476 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16477
16478         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16479         LFUN_BREAKPARAGRAPH.
16480
16481         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16482         help test to "internal only", similar for LFUN_INSERT_URL
16483
16484         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16485         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16486         auto_region_delete and deadkeys.
16487
16488 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16489
16490         * LColor.h:
16491         * LColor.C: remove some dead entries, tidy a little
16492
16493 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16494
16495         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16496         commented code.
16497         (Dispatch): implement LFUN_ESCAPE
16498
16499         * commandtags.h: add LFUN_ESCAPE
16500
16501         * LyXAction.C (init): add entry for LFUN_ESCAPE
16502
16503         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16504         Remove commented code.
16505         (insertNote): moved here
16506         (open_new_inset): moved here
16507
16508         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16509         BufferView_pimpl
16510
16511 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16512
16513         * kbmap.C (findbinding): clean it up and make it work correctly.
16514
16515         * lyx_main.C (init): do not pass argc and argv as parameters
16516
16517 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16518
16519         * buffer.C: fix path for OS/2 & Win32
16520
16521         * lyx_gui.C:
16522         * lyx_main:
16523         * lyx_main.C: Added os:: class.
16524
16525         * os2_defines.h: update
16526
16527 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16528
16529         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16530         better by trying again with reduced state.
16531
16532 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16533
16534         * lyxrc.C (read): print error about invalid key sequence only when
16535         debugging (because not all latinX keysyms are known to some X
16536         servers)
16537
16538         * kbsequence.C (getiso): add a few std:: qualifiers
16539         (getiso): comment out extra return statement.
16540
16541 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16542
16543         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16544         handling.
16545         (Dispatch): enhance the accent inset a bit. (not perfect)
16546
16547 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16548
16549         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16550
16551 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16552
16553         * bufferlist.C (emergencyWrite): fix assert() call
16554
16555 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16556
16557         * text.C (InsertChar): Added trivial patch to only send the "you
16558         can not do multiple spaces this way" message once during a
16559         session.
16560
16561 2001-05-08  Baruch Even  <baruch@lyx.org>
16562
16563         * Makefile.am: Changed order of libraries to get LyX to link properly
16564         with the gnome frontend.
16565
16566 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16567
16568         * LaTeXFeatures.h: add a std:: qualifier
16569
16570 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16571
16572         * paragraph.C (String): use stringstream
16573
16574 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16575
16576         * paragraph.C (writeFile): remove footflag arg
16577
16578         * buffer.C (makeLaTeXFile): use stringstream
16579         (latexParagraphs): remove footnot gurba
16580
16581         * LaTeXFeatures.C (getPackages): use stringstream
16582         (getMacros): likewise
16583         (getTClassPreamble): likewise
16584         (getFloatDefinitions): new method
16585
16586         * paragraph.C (writeFile): reindent
16587         (Erase): reindent
16588
16589         * WorkArea.h: revert the xpos + etc changes.
16590
16591         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16592
16593         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16594
16595         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16596         (pasteSelection): likewise
16597         * text2.C (CreateUndo): likewise
16598
16599 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16600
16601         * minibuffer.C (peek_event): temporarily reduce the functionality
16602         of the minibuffer (to allow args on lfuns)
16603
16604         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16605         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16606
16607         * buffer.C (readInset): add compability reading of old float
16608         lists, add reading of new style float list.
16609         (readInset): avoid reevaluation of inscmd.getCmdName()
16610         (getLists): reindent
16611
16612         * MenuBackend.C (MenuItem): implement parsing of
16613         md_floatlistinsert and md_floatinsert.
16614         (expand::LastFiles): move initalizaton of iterators out of loop,
16615         avoid reevaluation.
16616         (expand::Documents): introduce typdedef vector<string> Strings,
16617         and use it.
16618         (expand::ExportFormats): introduce typedef vector<Format const *>
16619         Formats, and use it.
16620         (expand): implement FloatListInsert and FloatInsert.
16621
16622         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16623         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16624         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16625
16626         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16627         handling.
16628         (Dispatch::LFUN_FLOAT_LIST): implement
16629
16630 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16631
16632         * LaTeX.C (run): Fix problem with --export code.
16633
16634 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16635
16636         * BufferView.[Ch] (workarea): removed.
16637         (getClipboard) new method; wrapper for workarea()->getClipboard()
16638
16639         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16640         bug.
16641
16642         * WorkArea.h (width, height, xpos, ypos): These methods all
16643         returned the dimensions of the work_area sub-area of WorkArea,
16644         resulting in a position error if the WorkArea were resized. Now
16645         return the dimensions of the entire WorkArea.
16646
16647         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16648
16649 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16650
16651         * LaTeX.C (deplog): correct the syntax of regex reg1
16652
16653 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16654
16655         * undo.C: remove !NEW_INSETS cruft
16656
16657 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16658
16659         * text2.C: remove !NEW_INSETS cruft
16660
16661         * text.C: remove !NEW_INSETS cruft
16662
16663         * tabular.C: remove !NEW_INSETS cruft
16664
16665         * spellchecker.C: remove !NEW_INSETS cruft
16666
16667         * lyxtext.h: remove !NEW_INSETS cruft
16668
16669         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16670
16671         * lyxfunc.C: remove !NEW_INSETS cruft
16672
16673         * lyxfind.C: remove !NEW_INSETS cruft
16674
16675         * lyx_cb.C: remove !NEW_INSETS cruft
16676
16677         * figureForm.C: remove  !NEW_INSETS cruft
16678
16679         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16680
16681         * buffer.[Ch]: remove !NEW_INSETS cruft
16682
16683         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16684
16685         * CutAndPaste.C: remove !NEW_INSETS cruft
16686
16687         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16688
16689         * BufferView2.C: remove !NEW_INSETS cruft
16690
16691         * BufferView.h: remove !NEW_INSETS cruft
16692
16693 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16694
16695         * Lsstream.h: include LString.h before the sstream headers to
16696         fix problem with gcc 2.95.3 and lyxstring
16697
16698 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16699
16700         * lyx_main.C: add using directives when needed for C functions
16701         declared in std:: namespace.
16702
16703 2001-04-27  Juergen Vigna  <jug@sad.it>
16704
16705         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16706         (SetHeightOfRow): comment out the update call should not be needed!
16707
16708 2001-04-13  Juergen Vigna  <jug@sad.it>
16709
16710         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16711         (LyXTabular): tried to minimize operator= operations (and realized
16712         hopfully Lars wish).
16713
16714 2001-04-27  Juergen Vigna  <jug@sad.it>
16715
16716         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16717
16718 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16719
16720         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16721
16722         * buffer.C (readInset): hack to make listof algorithm work
16723
16724         * BufferView_pimpl.C: hack to make listof algorithm work
16725
16726 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16727
16728         * LyXAction.C: removed all !NEW_INSETS cruft
16729         (init): moved lfun_item in method
16730
16731         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16732
16733 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16734
16735         * BufferView2.C (theLockingInset): white space.
16736
16737 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16738
16739         * minibuffer.C: include <iostream>
16740
16741         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16742
16743         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16744
16745         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16746
16747         * text.[Ch] (TransposeChars): new method
16748
16749 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16750
16751         * call message directly through LyXView instead of through LyXFunc
16752         * BufferView2.C: adjust
16753         * BufferView_pimpl.C: adjust
16754         * FontLoader.C: adjust
16755         * buffer.C: adjust
16756         * bufferview_funcs.C: adjust
16757         * converter.C: adjust
16758         * figureForm.C: adjust
16759         * importer.C: adjust
16760         * lyx_cb.C: adjust
16761         * lyx_gui_misc.C: adjust
16762         * lyxfunc.C: adjust
16763         * lyxvc.C: adjust
16764         * text2.C: adjust
16765         + more files in subdirs
16766
16767         * lyxparagraph.h (size): move up int file
16768         (GetLayout): ditto
16769
16770         * adjust all uses of Assert to lyx::Assert.
16771
16772         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16773         lyxfunctional in namespace lyx
16774         * layout.C (hasLayout): ditto
16775         (GetLayout): ditto
16776         (GetLayout): ditto
16777         (delete_layout): ditto
16778         (NumberOfClass): ditto
16779         * converter.C (GetFormat): ditto
16780         (GetNumber): ditto
16781         (Add): ditto
16782         (Delete): ditto
16783         (SetViewer): ditto
16784         * bufferlist.C (getFileNames): ditto
16785         (emergencyWriteAll): ditto
16786         (exists): ditto
16787         (getBuffer): ditto
16788         * MenuBackend.C (hasSubmenu): ditto
16789         (hasMenu): ditto
16790         (getMenu): ditto
16791         * BufferView_pimpl.C (getInsetByCode): ditto
16792
16793 2001-04-18  Juergen Vigna  <jug@sad.it>
16794
16795         * vspace.C (asLatexString): fixed the 100% problem.
16796
16797 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16798
16799         * lyxfunc.C (Dispatch):
16800         * minibuffer.C:
16801         * minibuffer.h: add a few std:: qualifiers
16802
16803 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16804
16805         * minibuffer.[Ch]: reimplement so that commands is initiated and
16806         run from lyxfunc, simplified som handling, and made the completion
16807         and history code for complete. wip.
16808
16809         * lyxfunc.C (processKeySym): call message
16810         (miniDispatch): new temporary method
16811         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16812         (LFUN_MESSAGE): implement
16813         (LFUN_MESSAGE_PUSH): implement
16814         (LFUN_MESSAGE_POP): implement
16815         (initMiniBuffer): the initial/defualt minibuffer message.
16816
16817         * lyxfont.[Ch]: inline some more getters
16818
16819         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16820
16821         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16822
16823         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16824         (AutoSave): use LFUN_MESSAGE
16825         (Reconfigure): ditto
16826
16827         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16828
16829         * figureForm.C: use LFUN_MESSAGE
16830
16831         * converter.C (runLaTeX): use LFUN_MESSAGE
16832
16833         * bufferview_funcs.C: use LFUN_MESSAGE
16834         (Melt): ditto
16835         (changeDepth): ditto
16836
16837         * bufferparams.h: use boost::
16838
16839         * bufferlist.h: inherit privately from noncopyable
16840
16841         * bufferlist.C (loadLyXFile): remove some commented code.
16842
16843         * buffer.C (runChktex): use LFUN_MESSAGE
16844
16845         * ShareContainer.h: inherit privately from noncopyable
16846
16847         * ParagraphParameters.[hC] (depth): inline it.
16848
16849         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16850         methods.
16851         (message): new method
16852         (messagePush): ditto
16853         (messagePop): ditto
16854         (show): init minibuffer
16855         (showState): direct call
16856
16857         * LaTeX.[Ch]: inherit privately from noncopyable
16858         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16859         instead of WriteStatus.
16860
16861         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16862
16863         * BufferView_pimpl.C (buffer): don't init minibuffer
16864         (workAreaButtonPress): use LFUN_MESSAGE
16865         (workAreaButtonRelease): ditto
16866         (savePosition): ditto
16867         (restorePosition): ditto
16868         (MenuInsertLyXFile): ditto
16869         (workAreaExpose): don't init minibuffer
16870         (update): remove commented code, simplify
16871
16872         * BufferView2.C (openStuff): use LFUN_MESSAGE
16873         (toggleFloat): ditto
16874         (menuUndo): ditto
16875         (menuRedo): ditto
16876         (copyEnvironment): ditto
16877         (pasteEnvironment): ditto
16878         (copy): ditto
16879         (cut): ditto
16880         (paste): ditto
16881         (gotoInset): ditto
16882         (updateInset): remove some commented code
16883
16884         * lastfiles.h: inherit privately from noncopyable
16885         * layout.h: ditto
16886         * lyx_gui.h: ditto
16887         * lyx_main.h: ditto
16888         * lyxlex.h: ditto
16889         * lyxlex_pimpl.h: ditto
16890
16891         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16892         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16893         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16894
16895         * LyXAction.h: inherit privately from noncopyable, add methods
16896         func_begin, func_end, returning iterators to the func map.
16897
16898         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16899         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16900         (func_begin): new method
16901         (func_end): new method
16902
16903         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16904         and not)
16905         (copySelection): ditto
16906         (pasteSelection): ditto
16907
16908         * BufferView.C: whitespace change
16909         * BufferView.h: inherit privately from noncopyable
16910
16911 2001-04-16  Allan Rae  <rae@lyx.org>
16912
16913         * tabular-old.C (l_getline):
16914         * spellchecker.C (sc_check_word):
16915         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16916         an unrecognised preprocessor directive.  So ensure they're wrapped.
16917
16918 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16919
16920         * src/exporter.C (Export): Give an error message when path to file
16921         contains spaces.
16922
16923 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16924
16925         * LaTeX.C (deplog): Always check that foundfile exists.
16926
16927 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16928
16929         * lyx_main.h:
16930         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16931
16932 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16933
16934         * tabular.[Ch] (getLabelList): implement new method
16935
16936         * minibuffer.h: comment ouf setTiimer
16937
16938         * minibuffer.C (ExecutingCB): constify res
16939         (peek_event): constify s
16940         (Set): constify ntext
16941         (Init): constify nicename
16942
16943         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16944
16945         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16946         (savePosition): use two params to Minibuffer::Set
16947         (restorePosition): ditto
16948
16949 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16950
16951         * lyx_main.C: include language.h
16952
16953         * Makefile.am (lyx_main.o): add language.h
16954
16955 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16956
16957         * exporter.C:
16958         * paragraph.C:
16959         * screen.C:
16960         * tabular.C:
16961         * CutAndPaste.C: include gettext.h
16962
16963         * lyxfont.h: remove old hack with ON and OFF.
16964
16965         * lyxparagraph.h:
16966         * lyxfont.h: do not include language.h...
16967
16968         * BufferView2.C:
16969         * LaTeXFeatures.C:
16970         * Painter.C:
16971         * bufferview_funcs.C:
16972         * font.C:
16973         * lyxfont.C:
16974         * text.C:
16975         * text2.C:
16976         * trans_mgr.C:
16977         * paragraph.C: ... but do it here instead
16978
16979 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16980
16981         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16982
16983         * tabular.C: small reformat
16984
16985         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16986         NEW_INSETS version
16987         (GetChar): ditto
16988         (BreakParagraph): ditto
16989         (SetOnlyLayout): ditto
16990         (SetLayout): ditto
16991
16992         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16993         with one arg less.
16994
16995         * lastfiles.C: removed most using decl, add std:: where needed
16996
16997         * buffer.C: ws changes
16998
16999         * MenuBackend.C (class compare_format): put into anon namespace
17000         (expand): constify label, names, action, action2
17001         (expand):
17002
17003         * text.C (SingleWidth): constify font
17004         (IsBoundary): constify rtl2
17005         (GetVisibleRow): constify ww
17006
17007         * LaTeX.C (deplog): constify logfile
17008
17009         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17010         start_x, end_x
17011         (workAreaExpose): constify widthChange, heightChange
17012
17013         * lyxrow.C (par): moved
17014         (height): moved
17015         (next): moved
17016         * lyxrow.h: as inlines here
17017
17018         * lyxfont.h (shape): moved from lyxfont.C
17019         (emph): moved from lyxfont.C
17020
17021         * lyxfont.C (LyXFont): use initialization list for all
17022         constructors
17023         (shape): move to lyxfont.h as inline
17024         (emph): move to lyxfont.h as inline
17025
17026
17027 2001-04-04  Juergen Vigna  <jug@sad.it>
17028
17029         * vspace.C: had to include stdio.h for use of sscanf
17030
17031 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17032
17033         * BufferView.h:
17034         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17035         independent of xforms.
17036
17037 2001-04-02  Juergen Vigna  <jug@sad.it>
17038
17039         * spellchecker.C: fixed namespace placing!
17040
17041 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17042
17043         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17044         the LyXParagraph * is 0.
17045
17046 2001-03-29  Juergen Vigna  <jug@sad.it>
17047
17048         * vspace.C: added support for %, c%, p%, l%.
17049         (stringFromUnit): added helper function.
17050         (asLatexString): changed to give right results for the %-values.
17051
17052         * buffer.C: convert the widthp in a width%.
17053
17054 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17055
17056         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17057         figureForm.[Ch].
17058
17059         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17060         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17061
17062         * lyx_cb.[Ch]: see above.
17063
17064         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17065         form1.[Ch].
17066
17067         * form1.[Ch]:
17068         * lyx.[Ch]: replaced by figure_form.[Ch].
17069
17070         * lyx_gui.C:
17071         * lyx_gui_misc.C:
17072         * lyxfunc.C: changed headers associated with above changes.
17073
17074 2001-03-27  Juergen Vigna  <jug@sad.it>
17075
17076         * BufferView_pimpl.C: set the temporary cursor right!
17077
17078 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17079
17080         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17081
17082 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17083
17084         * LString.h: removed "using std::getline"!
17085
17086         * BufferView_pimpl.C (Dispatch): changes due to changes in
17087         InsetInclude::Params.
17088
17089         * buffer.C (tag_name): removed redundant break statements as they were
17090         producing lots of warnings with my compiler.
17091
17092 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17093
17094         * LString.h: add "using std::getline" when using the real <string>.
17095
17096 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
17097
17098         * buffer.C: removed bitset usage.
17099         PAR_TAG moved to an anonymous name space.
17100         (tag_name): new funtion, also in the anonymous namespace.
17101         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17102         (makeDocBookFile): clean code. Completed transition from string arrays
17103         to string vectors.
17104         (SimpleDocBookOnePar): code clean.
17105
17106 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17107
17108         * tabular.C: add some comments.
17109
17110 2001-03-22  Juergen Vigna  <jug@sad.it>
17111
17112         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17113         compatibility read a bit and fixed bug with minipage in different
17114         depth.
17115
17116 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
17117
17118         * buffer.C (pop_tag): removed.
17119         (push_tag): removed.
17120         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17121         array replaced with vector. Added support for CDATA sections.
17122         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17123         at any nest level.
17124         (makeDocBookFile): XML conformant declaration of CDATA section,
17125         fixed bug related to <emphasis> in the first paragraph char.
17126         (sgmlOpenTag): exclude empty tags.
17127         (sgmlCloseTag): ditto.
17128
17129         * buffer.h (pop_tag): removed.
17130         (push_tag): removed.
17131
17132 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17133
17134         * language.h (Languages): added size_type and size().
17135
17136 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17137
17138         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17139         response on compability reading of minipages. One probliem is that
17140         the old usage of minipages was «flertydig»
17141
17142         * several files here and in subdirs: don't use static at file
17143         scope use anon namespaces instead.
17144
17145 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17146
17147         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17148         LaTeX output. This is necessary for Literate document
17149         processing.
17150
17151 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17152
17153         * buffer.C: insert hfill when needed.
17154
17155         * tabular.C (l_getline): use string::erase, small whitespace change.
17156
17157         * BufferView_pimpl.C: try the anon namespace.
17158         * WorkArea.C: ditto
17159
17160 2001-03-16  Juergen Vigna  <jug@sad.it>
17161
17162         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17163         otherwise it won't open options-dialogs.
17164
17165         * buffer.C: honor pextraWidth(p) on converting minipages.
17166
17167         * tabular.C (l_getline): changed the functions to strip trailing \r.
17168
17169 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17170
17171         * BufferView_pimpl.C:
17172         * minibuffer..C: added "using SigC::slot" declaration.
17173
17174 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17175
17176         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17177
17178         * text2.C: ditto
17179
17180         * text.C: ditto
17181
17182         * paragraph.C: ditto
17183
17184         * lyxtext.h: NO_PEXTRA
17185
17186         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17187
17188         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17189         * ParameterStruct.h: ditto
17190         * ParagraphParameters.h: ditto
17191         * lyxparagraph.h: ditto
17192
17193 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17194
17195         * buffer.C: add compability for minipage alignment.
17196         (latexParagraphs): remove unwanted pextra check.
17197
17198         * several files: remove CXX_WORKING_NAMESPACES
17199
17200         * buffer.C (pop_tag): tie is in namespace boost
17201
17202         * BufferView.h: noncopyable is in namespace boost
17203         * lyxlex.h: ditto
17204         * lyx_main.h: ditto
17205         * lyx_gui.h: ditto
17206         * layout.h: ditto
17207         * lastfiles.h: ditto
17208         * bufferlist.h: ditto
17209         * ShareContainer.h: ditto
17210         * LyXView.h: ditto
17211         * LyXAction.h: ditto
17212         * LaTeX.h: ditto
17213
17214 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17215
17216         * Merging changes from BRANCH_MVC back into HEAD.
17217
17218         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17219
17220 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17221
17222         * BufferView_pimpl.C: change from intl.C
17223
17224         * combox.h:
17225         * combox.C:
17226         * Makefile.am: move combox.*
17227
17228         * form1.h:
17229         * form1.C:
17230         * lyx_gui.C:
17231         * intl.h:
17232         * intl.C: remove dialog (covered by prefs)
17233
17234 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17235
17236         * lyxfunc.C (Dispatch): removed redundant break statement.
17237
17238 2001-03-14  Juergen Vigna  <jug@sad.it>
17239
17240         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17241
17242 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17243
17244         * buffer.C: add hack to fix compability reading of minipages.
17245
17246 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17247
17248         * buffer.C (getLists): Cleanup.
17249
17250 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17251
17252         * lyxfont.C (update): don't honor toggleall on font size.
17253
17254 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17255
17256         * bmtable.c:
17257         * bmtable.h:
17258         * Makefile.am: moved to frontends/xforms/
17259
17260         * lyx_gui_misc.C:
17261         * lyxfunc.C:
17262         * BufferView_pimpl.C: changes for moved mathpanel
17263
17264 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17265
17266         * gettext.h: fix gettext_init() in --disable-nls
17267
17268 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17269
17270         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17271
17272 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17273
17274         * lyx.C:
17275         * lyx.h: strip external form
17276
17277 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17278
17279         * BufferView_pimpl.C: add comment, destroySplash()
17280
17281 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17282
17283         * BufferView_pimpl.C:
17284         * LyXAction.C:
17285         * buffer.C:
17286         * commandtags.h:
17287         * lyxfunc.C: use re-worked insetinclude
17288
17289 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17290
17291         * buffer.C: add using std::stringstream.
17292
17293         * lyx_cb.C: readd using std::ios.
17294
17295         * buffer.C: add using std::map.
17296
17297         * BufferView_pimpl.C: add using std::vector.
17298
17299         * ShareContainer.h: add std:: to swap.
17300
17301         * buffer.h: add some typedefs
17302         * buffer.C (getLists): use them
17303         (getLists): renamed from getTocList.
17304         add a counter for the different float types and use it in the
17305         generated string.
17306         (getLists): use the same counter for the NEW_INSETS and the "non"
17307         NEW_INSETS
17308
17309         * lyx_cb.h: remove unused items, includes, using etc.
17310
17311         * ShareContainer.h: remove some commented code, add more comments
17312         and "documentation".
17313
17314 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17315
17316         * buffer.C (getTocList): make the list also when NEW_INSETS is
17317         defined.
17318
17319         * buffer.h: remove TocType
17320
17321         * buffer.C (getTocList): change to return a map<string,
17322         vector<TocItem> >, implement for dynamic number of list.
17323
17324         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17325         * text2.C (PasteSelection): adjust
17326         * CutAndPaste.C (pasteSelection): adjust
17327
17328         * FloatList.C (FloatList): update from the new_insets branch.
17329         * Floating.[Ch]: ditto
17330         * LaTeXFeatures.C: ditto
17331         * buffer.C: ditto
17332         * lyxlex_pimpl.C: ditto
17333
17334         * paragraph.C (Last): remove when NEW_INSETS is defined.
17335
17336         * other file: changes because of the above.
17337
17338 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17339
17340         * lyxparagraph.h: rename next to next_, previous to previous_,
17341         make them private for NEW_INSETS. Rename Next() to next(),
17342         Previous() to previous().
17343
17344         * other files: changes because of the above.
17345
17346 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17347
17348         * BufferView.h:
17349         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17350         problem.
17351
17352 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17353
17354         * main.C (main): pass lyx_localedir to gettext_init().
17355
17356         * gettext.h: remove locale_init and gettext_init macros
17357
17358         * gettext.C (locale_init): new function
17359         (gettext_init): new function
17360
17361         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17362         setlocale().
17363
17364 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17365
17366         * Moved credits to frontends:
17367         * credits.[Ch]: removed
17368         * credits_form.[Ch]: removed
17369         * lyx_gui_misc.C: remove credits stuff
17370         * Makefile.am:
17371
17372 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17373
17374         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17375
17376         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17377         unneeded destructor.
17378
17379         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17380         a standalone pointer again.
17381
17382         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17383
17384 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17385
17386         * Makefile.am:
17387         * filedlg.h:
17388         * filedlg.C:
17389         * LyXAction.C:
17390         * ToolbarDefaults.C:
17391         * bufferlist.C:
17392         * commandtags.h:
17393         * form1.C:
17394         * form1.h:
17395         * lyx_cb.C:
17396         * lyx_cb.h:
17397         * lyxfunc.h:
17398         * lyxfunc.C:
17399         * BufferView_pimpl.C: use new file dialog in GUII
17400
17401         * lyx_cb.h:
17402         * lyx_cb.C: remove LayoutsCB to Toolbar
17403
17404 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17405
17406         * ShareContainer.h (get): add std:: qualifier
17407
17408 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17409
17410         * ShareContainer.h: define a proper ShareContainer::value_type
17411         type (and use typename to please compaq cxx)
17412
17413 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17414
17415         * lyxparagraph.h: move serveral local vars to
17416         ParameterStruct/ParagraphParameters., use ShareContainer in
17417         FontTable., make vars in FontTable private and add getter and
17418         setter.
17419
17420         * paragraph.C: changes because of the above.
17421
17422         * lyxfont.h: remove copy constructor and copy assignment. (the
17423         default ones is ok), move number inside FontBits. move inlines to
17424         lyxfont.C
17425
17426         * lyxfont.C: add number to initializaton of statics, move several
17427         inlines here. constify several local vars. some whitespace
17428         cleanup. Dont hide outerscope variables.
17429
17430         * Spacing.h: add two new constructors to match the set methods.
17431
17432         * ShareContainer.h: new file, will perhaps be moved to support
17433
17434         * ParameterStruct.h: new file
17435
17436         * ParagraphParameters.h: new file
17437
17438         * ParagraphParameters.C: new file
17439
17440         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17441         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17442
17443         * BufferView_pimpl.C: ParagraphParameter changes.
17444         * buffer.C: Likewise.
17445         * bufferview_funcs.C: Likewise.
17446         * text.C: Likewise.
17447         * text2.C: Likewise.
17448
17449 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17450
17451         * lyxfind.C (LyXReplace): do not redefine default argument in
17452         implementation.
17453         (IsStringInText): ditto
17454         (SearchForward): ditto
17455         (SearchBackward): ditto
17456
17457 2001-03-06  Juergen Vigna  <jug@sad.it>
17458
17459         * lyxfind.C (IsStringInText): put parentes around expressions.
17460
17461 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17462
17463         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17464
17465 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17466
17467         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17468
17469         * stl_string_fwd.h: add comment
17470
17471         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17472
17473         * tabular.h:
17474         * tabular.C: remove unused DocBook methods
17475
17476         * intl.C:
17477         * language.C:
17478         * paragraph.C:
17479         * buffer.C:
17480         killed DO_USE_DEFAULT_LANGUAGE
17481
17482 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17483
17484         * lyx_gui.C: do not include language.h.
17485
17486         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17487         arguments in function implementation.
17488
17489 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17490
17491         * BufferView_pimpl.C: add <ctime>
17492
17493 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17494
17495         * BufferView_pimpl.C: add using std::find_if
17496
17497 2001-02-27  José Matos  <jamatos@fep.up.pt>
17498
17499         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17500         by OnlyPath.
17501
17502 2001-02-11  José Matos  <jamatos@fep.up.pt>
17503
17504         * buffer.C (makeDocBookFile): command styles now have a parameter as
17505         "title" by default.
17506
17507 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17508
17509         * layout_forms.[Ch]: removed
17510         * lyx_cb.[Ch]: out character
17511         * lyx_gui.C: out character
17512         * lyx_gui_misc.C: out character
17513         * bufferview_funcs.C: : out character,
17514         added toggleall as parameter in ToggleAndShow
17515
17516 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17517
17518         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17519
17520         * text2.C (SetCurrentFont): Disable number property at boundary.
17521
17522 2001-02-26  Juergen Vigna  <jug@sad.it>
17523
17524         * lyxfunc.C (getStatus): added a string argument override function so
17525         that this is correctly called from LyXFunc::Dispatch if it contains a
17526         do_not_use_argument which is used!
17527         (Dispatch): added check for "custom" export and call appropriate func.
17528
17529 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17530
17531         * lyxrc.C: Add language_command_local, language_use_babel and
17532         language_global_options.
17533
17534         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17535
17536         * buffer.C (makeLaTeXFile): Use language_use_babel and
17537         language_global_options.
17538
17539 2001-02-23  Juergen Vigna  <jug@sad.it>
17540
17541         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17542         which works with LyXText and putted it inside BufferView. Here now we
17543         only call for that part the BufferView::Dispatch() function.
17544
17545         * BufferView.C (Dispatch): added.
17546
17547         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17548         functions which needs to use a LyXText over from LyXFunc.
17549         (MenuInsertLyXFile): added
17550         (getInsetByCode): added
17551         (moveCursorUpdate): added
17552         (static TEXT): added
17553
17554 2001-02-22  Juergen Vigna  <jug@sad.it>
17555
17556         * BufferView_pimpl.C (update): call a status update to see if LyXText
17557         needs it.
17558
17559 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17560
17561         * vc-backend.C (revert): implement for CVS
17562         (getLog): implement for CVS
17563
17564 2001-02-20  Juergen Vigna  <jug@sad.it>
17565
17566         * text2.C (ClearSelection): added BufferView param for inset_owner call
17567
17568         * lyxfunc.C (TEXT): added this function and use it instead of
17569         directly owner->view()-text of getLyXText().
17570
17571 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17572
17573         * src/layout_forms.C: out preamble
17574         * src/layout_forms.h: out preamble
17575         * src/lyx_cb.C: out preamble
17576         * src/lyx_cb.h: out preamble
17577         * src/lyx_gui.C: out preamble
17578         * src/lyx_gui_misc.C: out preamble
17579         * src/lyxfunc.C: connect with guii preamble
17580
17581 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17582
17583         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17584
17585 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17586
17587         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17588         whether to run bibtex.
17589
17590 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17591
17592         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17593
17594 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17595
17596         * Makefile.am (lyx_SOURCES): removed bibforms.h
17597
17598         * vspace.h: doxygen
17599
17600         * text.C (GetVisibleRow): make several local vars const
17601
17602         * tabular.C: small cleanup.
17603
17604         * lyxserver.C (callback): use compare instead of strncmp
17605
17606         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17607         inlines to after class or to paragraph.C
17608
17609         * lyxfont.h: remove friend operator!=
17610
17611         * converter.h: move friend bool operator< to non friend and after
17612         class def.
17613
17614         * combox.h: small cleanup
17615
17616         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17617         to inlines after class def.
17618
17619         * buffer.C (pop_tag): use string operations instead of strcmp
17620
17621         * bmtable.c: doxygen, small cleanup
17622
17623         * LaTeX.h: remove friend operator==
17624
17625 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17626
17627         * screen.C:
17628         * lyxrc.[Ch]:
17629         * lyxfunc.C:
17630         * lyxfont.[Ch]:
17631         * lyx_cb.C:
17632         * intl.[Ch]:
17633         * commandtags.h:
17634         * buffer.C:
17635         * WorkArea.[Ch]:
17636         * LyXAction.C:
17637         * BufferView_pimpl.C:
17638         * BufferView.[Ch]: remove cruft
17639
17640 2001-02-14  Juergen Vigna  <jug@sad.it>
17641
17642         * lyxfunc.C: removed #if 0 unused code
17643
17644         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17645
17646         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17647
17648         * text2.C (SetSelection): added a BufferView * parameter
17649
17650 2001-02-13  Juergen Vigna  <jug@sad.it>
17651
17652         * lyxfunc.C (Dispatch): fixed protected blank problem.
17653         * BufferView2.C (protectedBlank): added LyxText * parameter.
17654
17655         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17656         (AppendColumn): same as above for column_info.
17657
17658         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17659         (moveCursorUpdate): use a LyXText param for support of InsetText.
17660
17661         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17662         (tripleClick): ditto
17663
17664         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17665
17666         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17667
17668         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17669
17670         * text2.C (SetSelection): set correct update status if inset_owner
17671         (ToggleFree): ditto
17672
17673 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17674
17675         * tabular.C: remove some commented code.
17676
17677 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17678
17679         * BufferView_pimpl.C: call hideSplash()
17680
17681         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17682
17683         * include_form.h:
17684         * bibforms.h: remove
17685
17686         * lyxfunc.C:
17687         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17688           add LFUN_CHILD_CREATE
17689
17690         * counters.h: fix tiny typo
17691
17692         * lyx_cb.C:
17693         * lyx.h:
17694         * lyx_gui.C:
17695         * lyx.C: move splash to frontends/xforms/
17696
17697         * lyx_gui_misc.C: move Include and Bibform to frontends
17698
17699         * lyxvc.h: clarify comment
17700
17701         * vspace.C: tiny housekeeping
17702
17703 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17704
17705         * text.C (PrepareToPrint): RTL Fix.
17706
17707         * paragraph.C (GetUChar): New method.
17708         (String):  Use GetUChar.
17709
17710         * buffer.C (asciiParagraph): Use GetUChar.
17711
17712 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17713
17714         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17715
17716 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17717
17718         * buffer.h:
17719         * buffer.C: rename to getLogName(), handle
17720           build log / latex log nicely
17721
17722 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17723
17724         * MenuBackend.C:
17725         * MenuBackend.h: remove support for reference menuitem type.
17726
17727 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17728
17729         * BufferView_pimpl.C: housekeeping
17730         * BufferView_pimpl.h:
17731         * LyXView.h:
17732         * Makefile.am:
17733         * Timeout.C:
17734         * Timeout.h:
17735         * minibuffer.h: move Timeout GUI-I
17736
17737 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17738
17739         * lyxrc.C (read): Update converters data-structures.
17740
17741 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17742
17743         * LaTeX.h (operator!=): add operator != for Aux_Info
17744
17745 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17746
17747         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17748
17749         * LaTeXLog.C: deleted, useful code moved to Buffer
17750
17751         * buffer.h:
17752         * buffer.C: new function getLatexLogName()
17753
17754         * lyx_gui_misc.C:
17755         * lyx_gui.C:
17756         * lyxvc.C:
17757         * lyxvc.h:
17758         * lyxfunc.C: use frontends for LaTeX and VC logs
17759
17760 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17761
17762         * LaTeX.h: yet another std:: that Allan forgot.
17763
17764         * Variables.C (set): renamed from isset(), because this clashes
17765         with some HP-UX macros (grr).
17766
17767 2001-02-06  Allan Rae  <rae@lyx.org>
17768
17769         * LaTeX.h: Another bug fix.  Missing std:: this time.
17770
17771 2001-02-04  Allan Rae  <rae@lyx.org>
17772
17773         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17774         floats problem. I've left it commented out because it's not quite
17775         correct.  It should also test that the current object is a table or
17776         figure inset.  But I haven't gotten around to figuring out how to do
17777         that.  I *think* it'll be something like: "table" == inset.type()
17778
17779         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17780         bool.
17781
17782 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17783
17784         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17785         all the citation/databases/styles in the auxilary file.
17786         (run): Rerun latex if there was a babel language error.
17787
17788 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17789
17790         * text.C (Backspace): Preserve the font when changing newline char
17791         with a space.
17792         (BreakParagraph): If the cursor is before a space, delete the space.
17793
17794         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17795
17796 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17797
17798         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17799         new argument (code).
17800         (ChangeCitationsIfUnique): New method.
17801
17802         * paragraph.C (GetPositionOfInset): Handle bibkey.
17803
17804 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17805
17806         * BufferView_pimpl.h: change type of Position::par_pos to
17807         LyXParagraph::size_type.
17808
17809 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17810
17811         * BufferView_pimpl.C (savePosition, restorePosition): Write
17812         messages to minibuffer.
17813
17814 2001-01-28  José Matos  <jamatos@fep.up.pt>
17815
17816         * buffer.C (makeDocBookFile): adds support for document language.
17817         A silly restriction on the name of LatexCommand types where removed.
17818         Added support for CDATA sections, allows to chars unescaped, used
17819         among others in code, to avoid escape < and >.
17820
17821 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17822
17823         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17824         saved positions instrad of a stack. Furthermore, a position is
17825         stored using paragraph id/paragraph position.
17826
17827         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17828         Remove LFUN_REF_BACK.
17829
17830 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17831
17832         * converter.C (dvipdfm_options): New method.
17833
17834 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17835
17836         * vspace.C (isValidLength): Fix for empty input string.
17837
17838 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17839
17840         * LyXAction.C (init): change description of LFUN_FIGURE to
17841         "Insert Graphics"
17842
17843 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17844
17845         * LaTeX.C: add using directive
17846
17847 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17848
17849         * MenuBackend.C (expand): Fix the sorting of the formats.
17850
17851 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17852
17853         * lyx_main.C: tiny error message fix
17854
17855 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17856
17857         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17858         calling fl_initialize(). This fixes the problem with ',' as
17859         decimal separator in text files.
17860
17861 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17862
17863         * trans.C (process): Fix the keymap bug.
17864
17865 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17866
17867         * LaTeX.C (scanAuxFiles): New method. Provides support for
17868         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17869         (scanLogFile) Scan for "run BibTeX" messages.
17870
17871         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17872         OT1 font encoding. Also, load the aecompl package if the ae
17873         package is loaded.
17874
17875         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17876
17877 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17878
17879         * texrow.C (increasePos): turn two error messages into debug
17880         messages.
17881
17882 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17883
17884         * LaTeX.C (scanAux): Handle the \@input macro.
17885         (runBibTeX): Use scanAux().
17886
17887         * language.C (latex_options_): New field.
17888
17889         * LaTeXFeatures.C (getMacros): Add language macros.
17890
17891         * buffer.C (makeLaTeXFile): Small fix.
17892
17893 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17894
17895         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17896
17897         * text2.C: add a using directive.
17898
17899 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17900
17901         * BufferView2.C:
17902         * lyx_gui_misc.h:
17903         * lyxfr1.C:
17904         * lyxfunc.C: kill LyXBell.
17905
17906 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17907
17908         * text.C (IsBoundary): Remove the error message
17909
17910         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17911
17912         * lyxrc.C (setDefaults): Correct initialization value for
17913         font_norm_type.
17914
17915 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17916
17917         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17918         gotoError().
17919
17920         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17921         and GotoNextNote().
17922
17923         * src/LyXAction.C: Added reference-next.
17924
17925         * text.C (InsertChar): Use contains instead of strchr.
17926
17927         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17928
17929 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17930
17931         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17932         alignment commands (when needed).
17933
17934         * text.C (InsertChar): Add ':' to number separator chars.